Author Topic: Announcement: wxScintilla is officially abandoned :(  (Read 21000 times)

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Announcement: wxScintilla is officially abandoned :(
« on: March 22, 2008, 09:31:34 pm »
I've just received a mail from wyo - the wxScintilla developer, and he told me that he doesn't support the project anymore. If someone wants to take on the project he's welcome to contact wyo and ask for the rights.

Here's the mail:
Quote
Hi Ricardo,

I've given up on OpenSource and don't support wxScintilla anymore. IF
you still plan to use it, you can have it. Contact Francesco Montorsi,
he can give you the rights.

Otti

So, if we want to adapt Scintilla to our project, then we're on our own...   :(

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #1 on: March 22, 2008, 09:51:17 pm »
thats really bad news :(

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #2 on: March 22, 2008, 10:18:09 pm »
well, I think this should be used as an opportunity to free the codeblocks core of an explicit dependency on any editor. ideally new editors could be swapped in using the plugin framework. perhaps, realistically this is a medium term goal, but at least worth some thought.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #3 on: March 23, 2008, 12:20:14 am »
Well, Code::Blocks uses its own version of wxScintilla already anyway, so I don't see how this is a too big problem.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #4 on: March 23, 2008, 01:44:04 am »
ideally new editors could be swapped in using the plugin framework.

And what editors are better than scintilla out there, that are open source and c++ compatible?

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #5 on: March 23, 2008, 01:54:04 am »
gtksourceview for one.

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #6 on: March 23, 2008, 01:56:31 am »
gtksourceview for one.

But that will add more dependencies to codeblocks (gtk dependencies) Maybe that's a problem, also merging that to work with wxwidgets could be troublesome

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #7 on: March 23, 2008, 02:49:05 am »
Whoa whoa wait...
i said wxScintilla is not supported. But we can still use Scintilla!

wxScintilla and Scintilla are *TWO ENTIRE DIFFERENT PROJECTS*. wxScintilla is a wrapper around Scintilla. In fact I managed to compile cb with the latest version of scintilla (1.76).

(Perhaps this would be a good opportunity to update, too ;-) )

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #8 on: March 23, 2008, 05:08:14 am »
I wasn't trying to imply cb should abandon (wx)scintilla, rather that the cb base should be flexible enough to accomodate more than one source editor control. the news about wxscintilla just highlights the risk of being unnecessarily tethered to upstream projects.

wrt gtksourceview, it would be a natural fit on linux. wxwidgets on linux is wxgtk after all. if it was a plugin, would it matter if it wasn't multi-platform? (still have scintilla). gtksourceview might not be better than scintilla, just an alternative (and who knows what the future may bring).

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #9 on: March 23, 2008, 05:16:41 am »
what would be very cool is to implement a native wxwidgets text editor using the drawing functions  :lol:

Offline troels

  • Multiple posting newcomer
  • *
  • Posts: 71
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #10 on: March 23, 2008, 12:44:31 pm »
So, if we want to adapt Scintilla to our project, then we're on our own...   :(
As of wx2.9, the original Scintilla wrapper wxStyledTextCtrl (wx/contrib/../stc) has become an 'official' wx class (wx/src/stc).
Is it really necessary to fork?
Regards

PS: wxScintilla fork
« Last Edit: March 23, 2008, 01:28:10 pm by troels »

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #11 on: March 23, 2008, 04:18:34 pm »
I recall that in the wx2.4 times, the STC editor wasn't well maintained, and wxScintilla was seen (at least by me) as some kind of blessing. But knowing we can patch it whenever we can without having to depend on a specific wx version, I feel better. It's much more convenient when you can modify the code however you like.

Offline DrewBoo

  • Multiple posting newcomer
  • *
  • Posts: 110
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #12 on: March 25, 2008, 05:31:13 pm »
wxScintilla is a wrapper around Scintilla. In fact I managed to compile cb with the latest version of scintilla (1.76).

Interesting.

Did you have to massage a lot of code/files?

What would the end user see on your build that is different?  Performance differences?  Features?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #13 on: March 28, 2008, 04:53:46 pm »
Ok... I embedded scintilla 1.7.6 into the latest wxScintilla (the one of C::B 08.02) within C::B. On Windows it works, but I had to modify wxScintilla for this (as expected). Now what should I try to see if bugs got fixed / remain?!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline DrewBoo

  • Multiple posting newcomer
  • *
  • Posts: 110
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #14 on: March 28, 2008, 06:10:07 pm »
Ok... I embedded scintilla 1.7.6 into the latest wxScintilla (the one of C::B 08.02) within C::B. On Windows it works, but I had to modify wxScintilla for this (as expected). Now what should I try to see if bugs got fixed / remain?!

Morten, I'm happy to help test it if you want to throw me a patch against the latest svn.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #15 on: April 01, 2008, 09:04:01 am »
Morten, I'm happy to help test it if you want to throw me a patch against the latest svn.
Ok... unfortunately I wasn't able to do it. SVN diff does not consider files that have been added and the diff tool just makes non-workable patches. :?
So... I have added a ZIP file that contains the wxscintilla sources of the SDK folder (the include folder is not affected). So remove the original sdk/wxscintilla folder and copy the one from the ZIP archive into it. BTW: The makefile build system is not yet updated.
« Last Edit: February 17, 2014, 04:19:00 pm by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline DrewBoo

  • Multiple posting newcomer
  • *
  • Posts: 110
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #16 on: April 01, 2008, 11:31:08 pm »
Edit: Ps.: I cannot attach a "patch" (ZIP archive) of such big size, so look here: http://www.martin-halle.de/archive/wxscintilla.zip

Awesome.  I'll have time to look at it in a few hours.

Am I looking for anything in particular?  Broken old features?  Potential new features?  Just hit it with a hammer and see if it still ticks?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #17 on: April 02, 2008, 05:52:04 pm »
Am I looking for anything in particular?  Broken old features?  Potential new features?  Just hit it with a hammer and see if it still ticks?
Well... especially trying under Linux and (most important) fixing the build system for linux so that it works at all would be of much help. I don't like Linux anymore. It has tricked me too often recently. So I am Windows only atm.

BTW: I have forgotten to add the CodeBlocks project file that needs an update, too. So you have to do it manually... just add all sources of sdk\wxscintilla\src\scintilla\include and sdk\wxscintilla\src\scintilla\src. Don't add anything else... we don't need these parts.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #18 on: April 02, 2008, 06:14:26 pm »
Ok... unfortunately I wasn't able to do it. SVN diff does not consider files that have been added and the diff tool just makes non-workable patches. :?

svn diff should work if you svn add the new files first.

Offline DrewBoo

  • Multiple posting newcomer
  • *
  • Posts: 110
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #19 on: April 09, 2008, 05:28:42 pm »
Well... especially trying under Linux and (most important) fixing the build system for linux so that it works at all would be of much help. I don't like Linux anymore. It has tricked me too often recently. So I am Windows only atm.

Hey, Morten.  I haven't forgotten about this.  It's building fine, but I want to kick the tires some more when I have a free hour or two. 

Offline Jeisson

  • Multiple posting newcomer
  • *
  • Posts: 26
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #20 on: October 22, 2009, 12:38:00 am »
Hi CB team.

I need to program an editor into my wx application. wxScintilla seems the best option, but I have some problems with it. Reading this thread one understands the sad estate of that project.

Now I find two choices. [1] Use Scintilla library directly, or [2] Make some fixes to the wxScintilla v1.72 (SVN). But I have noticed you have kept an updated version for your own needs (Wonderful!).

I would like to ask a humble question. Could I use your updated version of wxScintilla? Is it under wxWindows license?

Thanks so much in advance.
Best regards
-Jeisson

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #21 on: October 22, 2009, 07:27:54 am »
I would like to ask a humble question. Could I use your updated version of wxScintilla? Is it under wxWindows license?
It's under GPL3, just as the rest of C::B, too. If that license suits your needs, go ahead. :P

Alternatively there is another IDE that uses an own further improved version of wxScintilla called CodeLite. To be honest I am not sure under what license this goes, but it's surely OpenSource at least. You can ask the author of that IDE (Eran Ifrah) via a PM. He is member of our forum under the nick name "eranif".

As another alternative: Are you aware, that a kind of "wxScintilla" called STC is part of the wxWidgets sources? It's here:
[wxWidgets_sources]\contrib\src\stc
...for wxWidgets 2.8.10; or here:
[wxWidgets_sources]\src\stc
...for wxWidgets 2.9.x.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Jeisson

  • Multiple posting newcomer
  • *
  • Posts: 26
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #22 on: October 22, 2009, 06:32:24 pm »
As another alternative: Are you aware, that a kind of "wxScintilla" called STC is part of the wxWidgets sources? It's here:
[wxWidgets_sources]\contrib\src\stc
...for wxWidgets 2.8.10; or here:
[wxWidgets_sources]\src\stc
...for wxWidgets 2.9.x.

Morten. Your words are light.

I did not know wxStyledTextCtrl is actually a Scintilla control, it is not in the wx-2.8.10 docs (docs-2.9 includes it). This is fantastic. I am going to try STC.

BTW.: wx-2.9-svn seems to be updated to Scintilla 2.01.

Thanks so much, again
Best regards
-Jeisson
« Last Edit: October 22, 2009, 06:43:24 pm by Jeisson »

Offline Alatar

  • Multiple posting newcomer
  • *
  • Posts: 60
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #23 on: October 24, 2009, 09:10:19 am »
By the way, are you plan to merge your own Scintilla binding with wxWidgets3`s stc control after migrating to new wxWidgets version? I think this would useful for both - wxWidgets core and CodeBlocks project.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #24 on: October 24, 2009, 01:38:30 pm »
By the way, are you plan to merge your own Scintilla binding with wxWidgets3`s stc control
I doubt this will happen any time soon. The STC component is still based on scintilla 1.7.x to my knowledge and lacks a lot of features we've added already. As we depend partially on these new features we would either need to adopt STC or stay with (our) wxScintilla. the latter makes more sense to me.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline cgarcia109

  • Multiple posting newcomer
  • *
  • Posts: 24
Re: Announcement: wxScintilla is officially abandoned :(
« Reply #25 on: October 26, 2009, 10:13:51 pm »
CodeBlocks should be wxScintilla mantainers(sp?) they actually do it
See something if you search wxscintilla in google the third result is codeblocks forums.
Who could be interested in getting wxscintilla?
- developers (mostly cpp developers)
- developers using wxWidgets
- developers interested on creating some editor prolly with code highlighting capabilities

If you show them codeblocks and how to build an ide simply extending codeblocks, some of them would be happy dont you think.

You set a web page with a download link and a documentation page and you place some banners. That would be fine :)