Page 1 of 1

Updating Scintilla lib

Posted: Wed Nov 25, 2015 3:07 pm
by kenmo
Some notes about the Scintilla library:

According to the PB version history, the ScintillaGadget lib was last updated in PB 5.30 (July 2014) with Scintilla version 3.4.2 (May 2014).

Version 3.4.2 has been good enough for most purposes. But since then, there have been 10+ updates, the latest is 3.6.2 (November 2015).

I know that on Windows, you can simply load a newer version of Scintilla.dll to use the new features/fixes, but on Mac + Linux the lib is statically linked to your PB build.


So I would like to request an update to the ScintillaGadget lib, BUT this note concerns me (from Scintilla 3.5.2, December 2014):
For OS X Cocoa switch C++ runtime to libc++ to enable use of features that will never be added to libstdc++ including those part of C++11.
Scintilla will now run only on OS X 10.7 or later and only in 64-bit mode.
How does this affect the ScintillaGadget lib?

(a) never update Scintilla past 3.5.1 - then we don't get new features/fixes
(b) update Scintilla to the latest - then we lose 32-bit Mac support?
(c) use 3.5.1 on 32-bit Mac, latest Scintilla on all other OS's - inconsistent, increases complexity
(d) something else??

Re: Updating Scintilla lib

Posted: Wed Nov 25, 2015 3:57 pm
by wilbert
I found this conversation https://groups.google.com/forum/m/#!top ... BItrmN9MlY when I googled the problem.
If it's true, there's either a problem with OSX 10.6 or with 10.11

Re: Updating Scintilla lib

Posted: Wed Nov 25, 2015 4:20 pm
by kenmo
If the team is OK with it, I would like to see option (c) in future PB releases.

Keep the Scintilla lib updated, but stay with Scintilla 3.5.1 for PB 32-bit Mac releases (for pre- OS X 10.7 support).

Re: Updating Scintilla lib

Posted: Thu Nov 26, 2015 12:32 pm
by GPI
kenmo wrote:(c) use 3.5.1 on 32-bit Mac, latest Scintilla on all other OS's
Maybe PB 5.5+ should only support 10.7 (only 64Bit). 10.6 is outdated.