Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: PsYhLo on April 13, 2006, 08:27:17 pm
-
I'm sure that this is the right place to ask for
I suggest to write function that automatic saves project and/or file in some interval of time
(like 1 hour, 10 minutes, 30 minutes, 2 hours or someting like that)
sorry for my poor english if you didn't uderstand me
-
You can implement that (almost trivially) with a plugin.
-
I can't because i'm not a pro like you
I didn't know the wxWidgets and Code::Blocks SDK so i can't write such plugin
This is the reason i suggest this function
-
I've written that plugin, but someone will have to do the Makefile.am for Linux (I can't be bothered late at night :lol:).
-
thanks alot now i compile the new SVN revision and will try it
-
I've written that plugin, but someone will have to do the Makefile.am for Linux (I can't be bothered late at night :lol:).
question : the makefile.am is still not done ??
-
The plugin works fine for now
10x again for it
And 10x for all that work you(i mean everyone who work on this project :wink:) doing for this great IDE the BEST of the BEST
-
I've written that plugin, but someone will have to do the Makefile.am for Linux (I can't be bothered late at night :lol:).
question : the makefile.am is still not done ??
I haven't done it, since I am a complete Makefile noob. I am fine with adding a file or two to an existing, working makefile, but building one from scratch is beyond my powers ;)
I'd have to find some docs first...
-
I'd have to find some docs first...
Some help :):
http://sources.redhat.com/autobook/index.html
http://www.phptr.com/content/images/0130091154/downloads/0130091154.zip
Best wishes,
Michael
-
Hello,
I have found two "bugs" in the Autosave plugin. See here:
-------------- Build: Autosave plugin in Code::Blocks ---------------
mingw32-g++.exe -Wall -g -pipe -mthreads -fmessage-length=0 -fexceptions -Winvalid-pch -DHAVE_W32API_H -D__WXMSW__ -DWXUSINGDLL -DcbDEBUG -DTIXML_USE_STL -DCB_PRECOMP -DWX_PRECOMP -DwxUSE_UNICODE -DWINVER=0x0501 -DBUILDING_PLUGIN -IC:\temp\wxWidgets-2.6.3\include -IC:\temp\wxWidgets-2.6.3\lib\gcc_dll\mswu -IC:\temp\wxWidgets-2.6.3\lib\gcc_dll\mswu -IC:\temp\wxWidgets-2.6.3\contrib\include -Isdk\wxscintilla\include -Isdk\propgrid\include -Isdk -IC:\MinGW\include -Iplugins\autosave -c plugins\autosave\autosave.cpp -o .objs\2.6\plugins\autosave\autosave.o
plugins\autosave\/autosave.h:41: error: extra qualification 'Autosave::' on member 'GetConfigurationPanel'
plugins\autosave\/autosave.h:42: error: extra qualification 'Autosave::' on member 'OnTimer'
Process terminated with status 1 (5 minutes, 35 seconds)
2 errors, 1721 warnings
The problem is that GCC 4.1.0 does not appreciate extra qualification(s) in the header file(s). To solve these errors, just remove the Autosave:: from the functions GetConfigurationPanel and OnTimer.
Best wishes,
Michael
-
I've written that plugin, but someone will have to do the Makefile.am for Linux (I can't be bothered late at night :lol:).
question : the makefile.am is still not done ??
I haven't done it, since I am a complete Makefile noob. I am fine with adding a file or two to an existing, working makefile, but building one from scratch is beyond my powers ;)
Hello,
Would it be possible to have the Autosave plugin added to the CodeBlocks-unix.cbp or ContribPlugins-unix.workspace?
Thank you.
Best wishes,
Michael
-
Try CodeBlocks-unix.cbp now :)
-
Try CodeBlocks-unix.cbp now :)
Cool 8). Thank you.
[EDIT]: I have tested it on Ubuntu 5.10 and after a small fight with CodeBlocks-unix.cbp, it seems to works fine :).
Best wishes,
Michael