Updating Scintilla lib

Everything else that doesn't fall into one of the other PB categories.
User avatar
kenmo
Addict
Addict
Posts: 2070
Joined: Tue Dec 23, 2003 3:54 am

Updating Scintilla lib

Post 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??
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3943
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: Updating Scintilla lib

Post 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
Windows (x64)
Raspberry Pi OS (Arm64)
User avatar
kenmo
Addict
Addict
Posts: 2070
Joined: Tue Dec 23, 2003 3:54 am

Re: Updating Scintilla lib

Post 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).
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Re: Updating Scintilla lib

Post 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.
Post Reply