1. 11 Aug, 2018 1 commit
    • Robert Sprowson's avatar
      Fix NULL pointer assignment, realloc mistake · 71066a48
      Robert Sprowson authored
      dragdrop.c: In dragdrop_scroll, don't write 0 to address 0 when 'removeptr' is NULL, as it often is.
      registry.c: If realloc() fails, don't lose track of 'list' and leak the memory.
      Found by cpp check static analysis.
      dragdrop.c: Squash a couple of C99 prototype warnings.
      
      Version 1.13. Tagged as 'WinEdit-1_13'
      71066a48
  2. 22 Aug, 2017 1 commit
    • Robert Sprowson's avatar
      Fix for NULL pointer dereference opening icon properties · 20bf3810
      Robert Sprowson authored
      WinEdit keeps a track of the previous caret position, so that as windows (within itself) are closed the caret can be put back in the previous window.
      However, when there's no previous caret owner (ie. it's the first properties window opened) lastwindow is NULL, and an attempt to read from a window structure in zero page is made.
      
      props.c: copy the NULL check from a couple of lines higher up in the same function.
      Makefile: put the objects into OBJS so a debug build can be made.
      
      Version 1.12. Tagged as 'WinEdit-1_12'
      20bf3810
  3. 26 Oct, 2015 1 commit
    • Robert Sprowson's avatar
      Fix for 2x NULL pointer dereferences · 305ca7eb
      Robert Sprowson authored
      dragdrop.c:
        The claimantstypes was never being set, so when trying to negotiate the most preferred type, it was just scanning through zero page
      main.c:
        When generating a header, document_create() was being called before DocProto was loaded, so ended up copying a 92 byte block of zero page into the window definition
        Fixed trivial warning for Wimp_CreateMenu args
      
      While there look to be some more bugs relating to the properties dialogues in the GUI, these at least allow ROM builds using the header export facility to work on a ROM with zero page relocation.
      
      Version 1.11. Tagged as 'WinEdit-1_11'
      305ca7eb
  4. 10 Sep, 2015 1 commit
  5. 24 Jul, 2014 1 commit
    • Robert Sprowson's avatar
      Makefile recreated from fragments · 00e649c3
      Robert Sprowson authored
      Get version number from messages file.
      Use NoMem global message to say there isn't enough memory.
      Swap key shortcut to match ResEd.
      
      Version 1.10. Tagged as 'WinEdit-1_10'
      00e649c3
  6. 30 May, 2012 1 commit
    • Robert Sprowson's avatar
      Delete local copy of !Edit icon from this application · a7963441
      Robert Sprowson authored
      Every time I opened a directory containing !WinEdit out of the corner of my eye I thought I saw something on the iconbar change - turns out !WinEdit had a copy of an old !Edit icon and was iconsprites-ing it.
      
      Version 1.09. Tagged as 'WinEdit-1_09'
      a7963441
  7. 26 Nov, 2011 1 commit
    • Robert Sprowson's avatar
      Remove local SWI call code. · f64d7fde
      Robert Sprowson authored
      Mass search and replace of swi() replaced with _swix() or _swi() as appropriate.
      Removed '1.00' version numbers from !Run/!Boot.
      Fix a few compiler warnings, use global filetype definitions.
      
      Version 1.08. Tagged as 'WinEdit-1_08'
      f64d7fde
  8. 17 Mar, 2011 1 commit
  9. 16 Dec, 2003 1 commit
  10. 10 Dec, 2003 1 commit