Commit Graph

85 Commits

Author SHA1 Message Date
Matthias Melcher
32716d6b1e Updated the Fluid IDE support for the current source file structure. Changed the Fl_Tree rendering code around a bit to make the tree more like MSWindows on Windows and more like Apple on Apple machines. I hope you guys like it. I also moved the function to load Fl_Preferences into an Fl_Tree into the Fl_Tree class where it belongs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-07-10 09:44:45 +00:00
Manolo Gouy
0d32b63ea3 Fixed databse typo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7415 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-03 13:03:43 +00:00
Matthias Melcher
941901e273 OS X: removed all Carbon and Quickdraw references. Starting with 1.3, we only support Cocoa and Quartz.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7351 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-29 10:35:00 +00:00
Ian MacArthur
660667760e Remove a spurious #warning I'd left in the win32 builds...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7338 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-25 16:29:13 +00:00
Albrecht Schlosser
a8c583a49e removed "#undef FL_PLUGIN_VERBOSE" since this would prevent
compiling with "-DFL_PLUGIN_VERBOSE"


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7309 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-20 12:54:14 +00:00
Matthias Melcher
26bdd29be8 Fl_Plugin: using bas 'A' encoded BCD to write the pointer. This is pure and fast C. However, the pointer is not human readable (hexadecimal would just be a waste of time ;-). The size of the string adapts to the length of the pointer and ignores big/little endian. All calls have room for a maximum of 128bit per pointer. I also removed the verbose comments to keep them out of the snapshot tonight.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-19 12:15:52 +00:00
Matthias Melcher
f5cd7fa9fb Changed reading and writing of pointers in Fl_Plugin. This will hopefully fix issues with MinGW.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7302 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-19 01:20:21 +00:00
Matthias Melcher
bde92b83f3 Fixed the IDE's for Xcode3, Xcode3.1, and VisualC (last one untested).
Added some code for verbose plugin manager output. This is what you should get when loading "cube" and then calling the regular "print" function.

Fl_Plugin: creating a plugin, class "fltk:device", name "opengl.device.fltk.org"
Fl_Plugin: creating a plugin manager for class "fltk:device"
Fl_Plugin: adding plugin named "opengl.device.fltk.org" at 0x0x175314
Fl_Plugin: deleting a plugin manager
Fl_Plugin: creating a plugin manager for class "fltk:device"
Fl_Plugin: returning plugin named "opengl.device.fltk.org": 0x0x175314
Fl_Plugin: deleting a plugin manager
Fl_Plugin: deleting a plugin



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7291 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-17 21:11:06 +00:00
Matthias Melcher
c35463fdbe Starting to add a GUI to manage the IDE database.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-27 22:38:25 +00:00
Matthias Melcher
2f82fd0663 Mixed bag. Please see CHANGES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20 21:14:47 +00:00
Matthias Melcher
f59cd1f4aa Fixed Fl_Preferences Cygwin wide character bug (STR #2164)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7104 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19 20:40:15 +00:00
Matthias Melcher
8af182fe51 Without knowing Cygwin, this seems to make more sense to me?!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-24 11:45:36 +00:00
Matthias Melcher
416f5b0dcd Still not having added Fl_Tree and Fl_Table to Fluid, I remembered the plugin concept we had early on. It occured to me that writing plugins must not be difficult, and that FLTK already has everything needed. So here it is, a plugin implementation for FLTK. The MSWindows/Cygwin implementation is untested due to lack of a machine. The dynamic loading still needs a test implementation. Comments welcome.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7023 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-24 00:16:33 +00:00
yuri
ff29502d04 fix x86_64 linux build
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7020 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-21 19:59:24 +00:00
Matthias Melcher
139c88c618 Another bug in Fl_Preferences
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6996 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-13 22:13:50 +00:00
Matthias Melcher
68219958d0 Fl_Preferences now have an API to delete all nodes or entries at once.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6995 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-12 08:48:55 +00:00
Matthias Melcher
2e87701192 Fl_Preferences::copyTo() would fail if there is no tree root
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6994 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-11 19:43:27 +00:00
Matthias Melcher
12fecf6c4d Minor bugs in Fl_Preferences::copyTo(). Note to self: increase warning level!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-11 11:16:52 +00:00
Matthias Melcher
3d5d2b54f2 Added a function to copy an entire Fl_Preferences database into an Fl_Tree view. This will break IDEs that do not have Fl_Tree and Fl_Table added yet!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6992 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-10 22:37:56 +00:00
Ian MacArthur
a0eb792209 This is my test implementation of the UUID code for Fl_Preferences.cxx on win32.
Tested on XP and Vista and seems to be OK, but needs to be checked by others for confirmation.
Any issues and we should just back this out, I think, but I trust that all will be well. 
The actual implementation is probably "sub-optimal" however, so if someone would like to make it better...

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6991 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-09 13:54:37 +00:00
Matthias Melcher
bb34489826 Fixed stupid crash bug in Fl_Preferences.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6990 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-07 16:02:44 +00:00
Albrecht Schlosser
339c8e972e Fixed previous commit (s/gethostbyname/gethostname/) and added
#if defined (__GNUC__) to remove #warnings from other (Windows) compilers.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6988 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-04 10:30:37 +00:00
Albrecht Schlosser
1a9b7d72d2 Temporary fix for Fl_Preferences on Windows, because gethostbyname would need
winsock (ws2_32.dll) - the final fix would have to load it dynamically or
use another function...

Also fixed the missing return statement (all platforms).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6987 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-04 09:40:25 +00:00
Matthias Melcher
2164880821 Fixed previous commit
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6985 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-28 23:10:11 +00:00
Matthias Melcher
ae9b3365aa Added an ID type to preferences which can be retrieved to then re-use the same dataset. IDs can be used in callbacks as user_data(). No need to keep an Fl_Preference around that would later require deleting.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6984 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-28 22:26:48 +00:00
Matthias Melcher
9048b4b895 Improved Preferences database. Branches can now be accessed by index. Added UUID generation (better versions needed for Unix and MSWin!). Added access to group name and path
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6983 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-27 20:14:04 +00:00
Matthias Melcher
b34b7a8d2b Some fixes for the Cocoa port
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6952 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-07 19:15:37 +00:00
Fabien Costantini
15489bda1b Major documentation update including: now html doc API is sorted, navigation problems/side effects fixed, html tags replaced by proper doxygen commands, parameters command switched from a to p. Includes a pdf update.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6716 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-24 01:40:44 +00:00
Albrecht Schlosser
039a9be3f5 Fl_Preferences.H now doesn't include windows.h any more
(Windows only, STR #2173).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6682 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-03-14 10:23:05 +00:00
Matthias Melcher
5251b64d57 Changed Copyright in 'src' directory
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01 21:28:26 +00:00
Albrecht Schlosser
21b8d6aa1a more doxygen updates
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6583 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-13 19:40:26 +00:00
Albrecht Schlosser
6ed54124bb Fixed typos and doxygen documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6582 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-13 18:31:54 +00:00
Fabien Costantini
73a2fa5b99 Doxygen documentation:
- Fixed recent documentation update problems in fl_draw.cxx : \ and @ char must be doubled otherwise interpreted as doxygen keywords
- Fixed some doxygenized parameters problems in Fl_Preferences.cxx
- Added the treeview mode, now featuring a vertical left tree browser in html doc
- Splitted html configuration file from pdf configuration file, now a new Doxybook config file permits to customize independtly both html and pdf modes without risking side effects and also without assuming an fltk user will have the Tex tools installed to generate the html doc. Now only pdf generation will need LaTex tools.
- Updated the doxygen based documentation to revison 9 and added new significant contributors to index.dox in alphabetical order.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6539 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-03 01:02:10 +00:00
Matthias Melcher
2ecabfa676 Moved Fl_Preferences documentation to the correct places.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6490 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-31 16:30:07 +00:00
Matthias Melcher
baa5549c00 Moving some doxygen dox around (Fl_Preferences).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6464 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-19 09:37:21 +00:00
Matthias Melcher
fc28028954 Updated some documentation for Fl_Preferences::getUserdataPath()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6460 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-18 20:35:13 +00:00
Fabien Costantini
355223b558 STR#2056 Fixed all compilation problems and tested that fluid, utf8 demo works the utf8 code is harmonized with the unix impl. instead of the win32 impl in case Cygwin lib is used.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6376 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-04 17:26:07 +00:00
Fabien Costantini
fdeb60898e #STR2056 partial fixes : wsock API now compiles ok, but there are still all utf8 stuff that won't compile: fl_utf8.cxx, fl_set_fonts_win32.cxx won't compile yet and Fl_Preferences recent utf8 addon should be checked for Cygwin.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6375 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-04 16:35:58 +00:00
Matthias Melcher
e8f467b9e3 Updating fl_utf8.h references. Fixing copyright date in .fl files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-19 17:40:20 +00:00
Fabien Costantini
2be88792b3 Doxygen documentation: fixed all ambiguous methods signatures, fixed erroneous path test into ../test since the doxyfile move, fixed all intro dl,dt,dd related tags warnings in intro.dox .
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6289 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-17 22:25:45 +00:00
Fabien Costantini
6645d3cb6a Doxygen Documentation WP6 Done, Also completed the documentation of Help_View, Help_Dialog and cleaned up Preferences from ugly stars in comments and also removed redundant get/set text from methods doc. In this increment, we don't bother with the old dox format (comments in header). We have better things to do with our time (like about 40 mores files to doxyfy :-).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6243 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-14 20:00:03 +00:00
Matthias Melcher
b6bde2e456 Merging the UTF8 patch, consisting of O'ksi'd s original 1.1.6 patch and additions by Ian. PLEASE BE AWARE that the patch in its current incarnation is a regression in many aspects and further work is required before we can announce Unicode support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-10 23:56:49 +00:00
Matthias Melcher
5e3d4fc7db STR #1853: fixed potntial buffer overrun un Fl_Preferences
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6015 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-01-09 21:23:51 +00:00
Matthias Melcher
4261960ba4 STR #1714: fixed bad deallocation (NULL pointer issue) in Fl_Preferences.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5917 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-20 13:07:23 +00:00
Matthias Melcher
7696c64a46 Setting pointers in Fl_Preferences-destructor to zero. This should not be needed, but may help Cygwin figure it out correctly. I re-tested in Valgrind, and no members of deleted groups are ever accessed, just as I said. There is a slight p[ossibility of such false access if a C++ compiler does not conform to the standard and calls destructors in the fasle order.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5710 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-23 15:37:53 +00:00
Matthias Melcher
7ae0ff0240 Updated OSX subwindow simulation code to better add and remove from the clipping list
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5379 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-29 11:03:05 +00:00
Matthias Melcher
d5a6cf798c I forgot
a dot.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5332 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-18 10:56:37 +00:00
Matthias Melcher
972624d613 STR #1381: added optional "precision" argument when writing floats or doubles to a Preferences file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5330 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-08-18 07:29:09 +00:00
Matthias Melcher
bc03e9b1a9 Avoiding crash when passing NULL as a string in Fl_Preferences::set(key, char *string_value);
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5198 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-06-14 08:03:16 +00:00
Matthias Melcher
0b98e816d8 Fixed crash in Fl_Preferences if 2nd or 3rd argument in the 'path' constructor were NULL
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-04-20 04:34:18 +00:00