GreenPad Changelog

What's new in GreenPad 1.21

Dec 18, 2023
  • NEW:
  • Ability to insert Unicode code-point with Ctrl+I shortcut.
  • Default format is hexa, you can use decimal with a dot '.' prefix
  • or octal with the 'o' or 'O' prefix. Example: C9 = xC9 = .201 = o311
  • and will input the LATIN CAPITAL LETTER E WITH ACUTE.
  • Loosen even more the code-page selection if a string is directly typed.
  • Selection width (if single line) or selection height will be now
  • displayed in the Unicode code-point section of the status-bar.
  • Jump dialog now can handle relative movements and can also handle column
  • selection, use '+10' to go down 10 lines, 3,8 goes to line 3 col 8 etc.
  • Edit menu was re-organized with a Modify sub-menu.
  • Ctrl+B will go to next quote if a quote is at the left of the cursor.
  • Added WM_UNICHAR handler.
  • FIXED:
  • Crash when using long path file name and trying to open the save dialog.
  • Crash on Windows 95 when a file contains U+FFFF. #178
  • Fix multi-line comment when start and end strings are the same (Python).
  • Fixed quick ASCII auto detection
  • Fixed internal UTF7 writer to comply with RFC 2152 + rule 3 (1997).
  • Fixed the ASCII character width for builds targeting NT3.1/Win32s.

New in GreenPad 1.20 (Nov 12, 2023)

  • NEW:
  • Added UTF-EBCDIC, Unicode IBM encoding, both save and read.
  • Added F1 for contextual help, command line can be configured with the
  • HelpExe string in the ini file (similar to GrepExe).
  • Added the %S parameter to command line (Ctrl+G or F1) that expands to
  • the current selection.
  • Added the F7 command to open the selection in GreenPad, handles
  • relative or full path names. Also opens URLs in default browser.
  • Added the Reduce To ASCII option (Alt+R). Non-ASCII characters will
  • be replaced by '?' in the current selection.
  • Added a statusbar display for the codepoint of the character under
  • the cursor in the Unicode form U+HEX
  • Added F8 to display current selection length in UTF-16 characters.
  • Statusbar is used if present, a message box is used otherwise.
  • Warn if the currently opened file was modified outside of GreenPad.
  • A message will open on focusing. To disable set WarnOnModified=0
  • in the ini file.
  • FIXED:
  • Optimized Find/Replace so that it does not take for ever to replace
  • a word in a big file, (MacroCommand optimization)
  • Otimized loading time for long lines. Up to a 250MB line is fine now.
  • Allow saving all UTF encoding with or without BOM excep for UTF7.
  • Missing Auto-detection based on BOM for GB18030 and UTF7.
  • Short or long name of character encoding can now be directly
  • typed in the combo box (ie. Open/Save/ReOpen dialogs).
  • Edit menu entries get properly grayed out when selection is empty.
  • Reduce memory overhead for a line (4 bytes in 32bit mode).
  • Avoids most crashes when memory allocation fails.
  • WIP: Line and WLine classes remain problematic.
  • Fixed very slow drawing at the end of a long wrapping line.
  • Use a percent-escape encoding scheme for Unicode characters when saving
  • filename in the ini file (MRU). This makes them much more readable.
  • Fixed bad detection of local codepage compatible string, making MRU
  • files impossible to open in some cases.
  • Fixed cursor position change when using Quote/UnQuote selection option.

New in GreenPad 1.19 (Jul 7, 2023)

  • NEW:
  • Added the ability to go to matching brace with Ctrl+B.
  • FIXED:
  • Fixed Unicode reader for UTF-1, UTF-9, FSS-UTF and writer for SCSU.
  • Warn when trying to load a huge file (larger than 2GB), and propose to retry loading only the first 64KB.
  • Sometime a setting would not be written to ini file properly.
  • Find dialog settings will be saved even on cancel.
  • Fixed a potential crash in rightOf() function.
  • Minor refactoring: ensure some variables are always initialized,
  • Remove redundant checks, be more careful with some lifetimes.
  • Use const and explicit when possible...

New in GreenPad 1.18 (Jun 23, 2023)

  • New:
  • Display codepage number in the status bar.
  • Allow to directly type codepage number in Save/Open/ReOpen dialogs
  • Added Help->About dialog that displays GreenPad version and build
  • details as well as the Currently running Windows version.
  • Optimize memmove for gcc build (significantly faster).
  • Minor refactoring, reduces mem usage a few percents.
  • Increase Win32s scrolling range from 8 million up to 24 million lines
  • Various optimizations for file reading/writing code.
  • Fixed:
  • Crash when opening the Save dialog if the current codepage is outside
  • the default cs list.
  • Avoid false UTF-16/32 detection for some files.
  • The Tab key can now be used to navigate through the Open/Save dialog.
  • Fixed Crash when reading invalid Iso2022 or UtfOFSS files.
  • Directly use current local codepage when detecting a pure ASCII file.
  • Minor code refactoring, reducing exe size.
  • Use more stack buffers when possible instead of new/delete.
  • Avoid excessive memory allocation when saving a file, also avoid
  • useless memmove between two intermediate buffers and improve perf.

New in GreenPad 1.17 (Mar 11, 2023)

  • NEW:
  • OLE2 style drag and drop support was added in most builds
  • To use it you will need to use the right click (easier to code)
  • Also Win32s 1.25+ or NT3.50+ are needed.
  • The Help->About menu and Dialog were added to GreenPad.
  • FIXED:
  • Loading is now significantly faster for large files.
  • Out of bound read in the internal memory manager.
  • Various refactoring and bugfixes.
  • Now the CS_OWNDC class style is no longer used so GreenPad is
  • Compatible with ReactOS and does not mess up with DC cache.
  • Now the GPad32sl.exe version is compatible with the early chicago
  • builds and with Win32s beta 61.
  • Now the GPadNT3b.exe version is compatible with the NT3.10.340 beta.
  • Now the main GreenPad Window can be resized on Win32s 1.15a
  • Now GPad32s.exe run on Win32s 1.1 (1993), fully functional.
  • Fixed Visual glitches with Windows 95 beta (chicago) thanks to @roytam1
  • Elevation dialog for write permission will not pop up on network drives
  • nor CD-ROM drives (Windows 2000 + only)

New in GreenPad 1.16 (Mar 6, 2023)

  • NEW:
  • Wrapping now occurs at word boundaries this helps readability.
  • set ws=1/0 in the layout file to enable/disable. Character that can
  • split include all control characters and all characters beyond U+2500
  • Now control characters will be displayed as colored ASCII characters
  • if the display for ideographic spaces is enabled (U+3000).
  • This is helpful when looking up at binary files.
  • Win32s build now will display full Unicode if it runs on Win9x/NT.
  • Win32s build now support different key-maps on Win9x/NT
  • Add support for UAC, now if a file cannot be opened by the current user
  • GreenPad will prompt the user with the UAC pannel.
  • Also the Open elevated (Ctrl+L) option was added to the file menu.
  • Note: Elevating a process requires a new instance.
  • FIXED:
  • Fixed crash on Ctrl+N on Win9x using unicows build.
  • Fixed 64bit build.
  • more 64bit index are now used on 64 bit builds.
  • Fixed Win32s build not starting on real Win32s.
  • Fixed: scroll range on Win32s is limited to 32k not 65k like NT.
  • Now you will be able to scroll up to 8.3 million lines on Win32s.
  • Removed unused functions decreasing exe size slightly.
  • Now when copying a selection, nul chars will be converted to spaces
  • so that the selection ca be fully pasted.
  • Fixed: if CP1252 is not installed, ISO8859-1 will be used instead.
  • IMM32.DLL and Global IME are now enabled even on Win32s build.
  • Fixed: hidden/system files will now be editable.
  • Fixed: Status bar window will only be created if it is enabled.
  • Fixed: Now COMCTL32.DLL will be dynamically loaded so that GreenPad
  • can work on old versions of Win32s. Status bar will not work if you
  • do not have COMCTL32.DLL.