Skip to content
Snippets Groups Projects
  1. Nov 18, 2017
  2. Nov 17, 2017
  3. Nov 12, 2017
    • Dav999's avatar
      Added tracking of unsaved changes · d71d7f17
      Dav999 authored
      The "Are you sure you want to quit?" dialog is now replaced by a dialog
      that only shows up if there are unsaved changes. You can choose to save
      the changes, discard them, or cancel. (If you save, you can still change
      the filename to save as)
      
      This uses the undo and redo stacks to know whether or not unsaved changes
      were undone or redone.
      
      I also added an asterisk indicator in the window title to indicate unsaved
      changes.
      d71d7f17
  4. Nov 11, 2017
  5. Nov 10, 2017
    • Dav999's avatar
      Vastly improved the undo system · 54ee3393
      Dav999 authored
      It can now keep track of all entity changes, and undo/redo them properly.
      Also, when undoing/redoing tile placement, gravity lines will now adapt to
      the changes.
      54ee3393
  6. Oct 29, 2017
  7. Oct 28, 2017
    • Dav999's avatar
      Started with shortcut revealing feature · 81879e1d
      Dav999 authored
      You can now see keyboard shortcuts for most buttons by holding F9
      anywhere within Ved.
      
      Also added a testing state to test the tiny font, and added a
      highlighting box to the hidden state 7 (sprite listing)
      81879e1d
  8. Oct 27, 2017
    • Dav999's avatar
      Added X formatting code to decode XML/HTML entities on that line · 77c2bfef
      Dav999 authored
      Lines with the X formatting code will automatically convert any XML/HTML
      entities to regular characters. That way, it would be possible to add
      arbitrary (possibly unsafe HTML) content to the update notes (by
      htmlspecialchars()ing it), without risking XSS if anyone visits (or is
      persuaded to visit) the update checking page in their browser.
      77c2bfef
  9. Oct 14, 2017
  10. Oct 13, 2017
  11. Oct 12, 2017
  12. Oct 06, 2017
  13. Oct 03, 2017
    • Dav999's avatar
      Implemented support for links in help/level notes · f3a04958
      Dav999 authored
      Links can link to:
      - Other articles/notes
      - Anchors (any line with the # formatting code) in either the same
        article/note or other articles/notes
      - Websites
      
      The displayed text for the link can be customized and colored, but when
      hovering over it, the destination is shown.
      
      This allows for complete index tables (I added an index table to the
      "Lists reference" help article for all the different lists) and of course,
      links to websites.
      
      https://i.imgur.com/V7Glt2s.png
      
      I'll type all the details and the ways of using it later
      f3a04958
  14. Sep 29, 2017
    • Dav999's avatar
      Added more plugins info to crash logs · 6b4afe8a
      Dav999 authored
      The info includes full plugin names and authors as given in the info file,
      whether it's actually supported (by minimum version number), how many
      failed file edits there were, the hooks the plugins use, and the files
      edited by plugins. This can help in case a certain plugin caused a crash.
      6b4afe8a
    • Dav999's avatar
      Added support for update notes and automatic saving of crash logs · 57d17cdd
      Dav999 authored
      Update notes are basically help pages that come along with the update
      check, so it'll be possible to show things like the current changelog in
      Ved. (And it'd be possible to show what has changed in versions newer than
      yours, which would be really nice)
      
      Automatic saving of crash logs saves information about crashes to file,
      including and limited to the information that is displayed on the crash
      screen, the time, whether debug mode is enabled, whether it was saved
      because it was enabled or because the settings haven't been loaded yet,
      and a traceback. This can be useful in case the crash screen crashes, the
      traceback is needed, the info is needed after closing the Ved with the
      crash screen, or for sending more info about a crash to me. Maybe I'll
      implement a button to allow people to send a crash report to me if they
      press it. Automatically saving crash logs to files can be disabled in the
      settings.
      
      Also, the crash screen now also displays the time since Ved was started,
      which could be useful to get a quick impression of whether the error
      occurred while starting up or later.
      57d17cdd
  15. Sep 27, 2017
  16. Sep 23, 2017
  17. Sep 16, 2017
    • Dav999's avatar
      Command to get "originally last overwritten" timestamp now uses %appdata% · 23328a2b
      Dav999 authored
      It used to use the full path. As described in commit
      38dd9c9c, quoting the entire path to
      prevent issues with spaces in the path is, bizarrely, invalid syntax via
      io.popen, but if you leave them out, you're gonna have problems if your
      username contains spaces, or if you happen to still be using Windows XP
      (hello again, "Documents and Settings").
      
      Using %appdata% solves this problem.
      23328a2b
    • Dav999's avatar
      Made backups work properly for levels in subdirectories · 35c27884
      Dav999 authored
      The name in the backup file was made to contain __ as a substitute for
      directory separators, but I forgot to do that with the names of the
      containing folders.
      35c27884
    • Dav999's avatar
      Added optimization for many colors on one line in help/level notes · ea94a09a
      Dav999 authored
      There's now a cache for the different colored parts of each line, so the
      possibly intensive task of splitting now no longer happens every time the
      line is drawn.
      
      This also very much optimizes the Tiles note in a version of open2v2 for
      me, which uses more than a dozen different colored parts on several lines.
      It used to be rendered at about 20 FPS for me, now it also does it at a
      solid 60 FPS.
      
      (Oh, and that's with vsync, if I turn vsync off then Changelog renders at
      250-485 FPS, and Tiles renders at more than 300)
      ea94a09a
    • Dav999's avatar
      Added optimization for long articles in the help system (thus level notes) · 23c2fe8f
      Dav999 authored
      Offscreen lines are not rendered anymore (except up to 1024 pixels above
      the top of the screen, to allow for high images to not suddenly disappear
      as you scroll down).
      
      This makes the changelog note in a version of open2v2, which has more than
      1600 lines and uses ¤ on most of them, render at 60 FPS for me, up from
      about 32.
      
      Next, I'll try to optimize the parsing of lines which have many different
      colors on that one line, which also really needs to be done.
      23c2fe8f
  18. Sep 15, 2017
  19. Sep 14, 2017
    • Dav999's avatar
      The levels list is now scrollable · bf767142
      Dav999 authored
      That was pretty necessary.
      bf767142
    • Dav999's avatar
      Added partially transparent background to menus in main editor · 06b1b653
      Dav999 authored
      That is, the menu on the right, and the small 32px wide bar on the left IF
      in smaller screen mode. The normal menu on the left side (when not in
      smaller screen mode, or when expanded in smaller screen mode) already had
      this background, which normally (outside of smaller screen mode) wasn't
      visible, because it's transparent black on black, except when using a
      larger cursor. The aforementioned areas now have that background as well,
      so that when using larger cursors (especially in manual mode, or when
      stamping) it's better visible which tiles are outside of the room.
      
      Also, apparently I accidentally added carriage returns to specifically the
      license, which I haven't touched. ¯\_(ツ)_/¯
      06b1b653
  20. Sep 10, 2017
Loading