Skip to content

Releases: RamonUnch/GreenPad

v1.12

05 Jan 15:02
c978167
Compare
Choose a tag to compare

Use GPadNT31.exe for all windows versions since Windows NT 3.1 (No Japanese interface)
Use GreenPad.exe for all windows versions since NT3.50.
And Use GPad64 if you have a 64 bits version of Windows.
Keep chardet.dll in GreenPad's directory for the best automatic encoding detection.
On Windows XP and later chardet.dll is not very useful and can be omitted.
On for x64 build chardet.dll is not used because I can only build an i386 version of chardet for now.
unicows.dll is only useful for Win9x, if you have not already installed it.

  • Fixed huge crash, regression in 1.11 when disabling word wrapping.
  • Fixed crash caused by MRU on some saved paths (1.10 regression).
  • Improved unicode support (thanks to @rotyam1)
  • Added a bunch of codepage to the list (rotyam1)
  • Include latest revision of chardet.dll (rotyam1)
  • Statusbar should work on buil 711 of NT3.5 (rotyam1)

TODO:

  • Add a way to select codepage by number directly.
  • Add UAC support for Windows Vista/7/8.X/10/11.
  • Find/Replace only in the selection (if any).
  • Improve printer configuration.
  • Fix more bugs, handle low memory situations better.
  • Ensure size_t is used over uint where applicable for x64 builds.
  • Optimize memory usage so that larger files can be loaded.

GreenPad 1.11

21 Dec 21:59
7eb2530
Compare
Choose a tag to compare

Christmas release!

Well now it is much better, you even got the statusbar on NT3.1, you no longer
need to upgrade your comctl32 on Win95 and now IMM32 is dynamically imported
at runtime. This means that the NT3.1 build is now the ULTIMATE BUILD.
It runs on all windows version and does not sacrifice any features on newer
windows. The only reason there are two builds is for aesthetic reasons and
for the partial Japanese support possible on NT3.50+

  • If available the IMM32.DLL will be loaded (advanced text services/IME).
  • Thanks to @roytam1, it is now possible to have the statusbar on
    Windows NT3.1, also the "no text display bug" on windows 95 is fixed.
  • Added the /LARGEADDRESSAWARE linker flag to permit up to 4GB ram usage
    when running GreenPad under 64bit edition of Windows.
  • Now the main window is showed before loading the file.
  • Smart indentation supported: keeps indentation level on Return.
  • Added Tab/Shift+Tab to indent/un-indent a multi-line selection.
  • Fix mingw64 builds and provide x64 builds of GreenPad.
  • Fix IID_IMultiLanguage2 definition for encoding auto-detection.
    You no longer need chardet.dll on newer Windows versions.

TODO:

  • Add UAC support for Windows Vista/7/8.X/10/11
  • Find/Replace only in the selection (if any).
  • Improve printer configuration.
  • Fix more bugs, handle low memory situations better
  • Ensure size_t is used over uint where applicable for x64 builds.
  • Optimize memory usage so that larger files can be loaded.

GreenPad 1.10

10 Dec 22:46
230e2da
Compare
Choose a tag to compare

The purpose of this fork is to make the ultimate exe that will work on
all Windows versions NT3.1-->Win11 while still having MAXIMUM functionality
under later Windows versions, for now it is not far but I am not there yet...

For now you have two versions of GreenPad:
GreenPad.exe: English+Japaneese, NT3.5+ compatible version (needs IMM32.DLL)
GPadNT31.exe: English only NT3.1+ compatible version.

Note1: exe are not compressed (do it yourself if you like).
Note2: There is no Win32s builds yet but it may come at some point...
Note3: It seems paths longer than 259 char cannot be used on NT3.1 (no possible \?\ prefix).
Note4: Page setup dialog is not available on NT3.1/3.5 but you can set print margins in thousands of inches in the ini file via PMarginX with X=L,T,R,B (for left top, right, bottom) under your user config.

Changes

  • Support for UNC path, you can edit files with a path longer than 260
    characters, only under Windows NT. Note that the shell is still
    limited to 260 char path so you can drag&drop long file path from
    double-commander or similar software, you can also use the command line.
    but it is not possible to use File->Open to open UNC. Blame Microsoft...
  • Add Upper, Lower and Invert Case options that change the case of selected
    text. Use Alt+U/Alt+L/Alt+I, (like with Metapad).
  • Add Trim trailing spaces option (Alt+W), like with Metapad.
  • Added ESCAPE key to exit GreenPad.
  • Added F12 key to be used for "Save As..", like in MS Office suite.
  • Added F5 to refresh the file (keeps cursor position).
    Use F6 to insert Date&Time.
  • Added new font control option to .lay files.
    • fx to set the width of the font in points (0 = normal)
    • fw to set the weight of the font (0 to 1000), 400=normal, 700=bold...
    • ff to set the 1:italic/2:underlined/4:strikeout font styles.
  • The current font will be used for printing (ttf).
  • File->Page Setup.. Was added so that print Margins can be selected.
  • Fix High DPI issues under Win8.x/10/11 (dpi-aware manifest)
  • Fix crash because of an oob access in ip_parse.c!!!
  • Fix: Use PostMessage instead of SendMessage and avoid to freeze all
    instances of GreenPad when one stops responding.
  • Use CreateWindow instead of CreateStatusWindow, so statubar can be
    included in WinNT3.1 (Needs COMCTL32 v3.5+ though).
  • Dynamically import OLE32.dll so that it is detected at runtime instead
    of compile time (towards ultimate exe).
  • Dynamically import CharNextExA, when using Win95+/NT4+ -> ultimate exe.
  • Re-implement FindWindowEx function using EnumChildWindows for NT3.1.
    So that you can Use Ctrl+Tab there to switch between GreenPad windows.
  • Dynamically import Get/SetScrollInfo for the best scroll support on
    Window NT3.51 and later and fallback to Get/SetScrollPos for NT3.1/3.5.
  • New files can now be created from the Open dialog.
  • Dynamically import GetKeyboardLayout --> ultimate exe.
  • Dynamically import GetShortPathNameW (actually useless...).

TODO

  • Add UAC support for Windows Vista/7/8.X/10/11
  • Dynamically import IMM32.DLL --> Ultimate exe.
  • Find/Replace only in the selection (if any).
  • Smart indentation option
  • Tab/Shift+Tab to indent/un-indent a block of text.
  • Improve printer configuration.

GreenPad 1.09 (source)

25 Nov 13:04
71549a4
Compare
Choose a tag to compare

Original source from roytam1

Last changes from roy

Open/Save dialog, Document Type Menu, MRU Menu fix for NT 3.51
UTF-1, UTF-9(1997) support
enhanced Multiple Language detection
Code page list addition and arrangement
Unicode version(provided binary) works in Windows 95/98/Me if system has Microsoft Layer for Unicode installed.
[100511] add "cs=" .lay font charset value entry support
[100511] Use "System" font for NT 3.51's Open/Save dialog.
[100514] fix UTF-7/8 support in NT 3.51
[100515] NT3.1 and NT 3.5 version merged into GreenPad NT 3.51 repository. Binary for Win32s, NT 3.1, NT 3.5 are included in package.
[100516] Add chardet.dll charset detector support. Place chardet.dll to same place as GreenPad executable to use.
chardet.dll is available in separated packages as license is different(GreenPad is licensed in NYSL Version 0.9982, but chardet.dll is tri-licensed in MPL/GPL/LGPL)
[100517] Add UTF-1/UTF-9(1997) BOM support.
[100517] Use chardet when size > 80 bytes on NT4/Win95 or newer.
[100517] Move EUC/UTF-8 check to last, pervert EUC check on non Japanese Edition Windows which leads to misdetection.
[100517] textfile: keep U+FEFF in Unicode content, remove BOM only.
[100517] Add legacy Chinese Traditional charset support (c_20001.nls - c_20005.nls are in install disc, need manual installing them)
[100517] Add preliminary support of detect BOM-less UTF-16/32 (BE/LE) files. (ideas taken from Footy2)
[100517] chardetAutoDetection: add EUC-TW/CNS detection
[100520] Fix writing surrogate pairs in UTF-1/UTF-9, fix not converting non-BMP code prints to surrogate pair when reading UTF-1/UTF-9
[100520] Add SCSU/BOCU-1 support
[100523] Fix crash when Quit with Global IME installed
[100605] check for valid code page instead of checking OS version for UTF-7/8
[100607] fix new file with UNKN encoding when NewfileCharset don't exist in OS
[100608] fix Config dialog in NT 3.5, fine tune control positions, change full-width katakana to half-width katakana to save space for NT 3.x which doesn't have MS PGothic.
[100706] add "Save and Exit" menu
[100711] add "Discard and Exit" menu
[100712] Add preliminary support of print function.
known issues: Copies are not working in XP, no Page Setup(header/footer/margin/etc.) support (yet?)
untested on Windows other than XP. only tested with PrimoPDF and XPS Writer virtual printers.
[100714] Print: break long lines that cross pages.
[100714] Menu: Add "Reconversion" and "IME On/Off" menu.
[110228] Add GB18030 codepage support.
[110409] Fixed BOCU-1 reader out-of-bound crash when reading invalid BOCU-1 stream
[110420] Fixed > 65535 lines scrolling on NT 3.51 version (It cannot be fixed on NT 3.5/3.1/Win32s version because GetScrollInfo API is not available)
[110429] Fixed chardet UTF-8 detection

Cloned from: https://github.com/roytam1/rtoss/tree/master/GreenPad
Original source from: https://www.kmonos.net/lib/gp.en.html

More details here: https://www.betaarchive.com/forum/viewtopic.php?t=12909