Commit Graph

3978 Commits

Author SHA1 Message Date
Manolo Gouy
96c392763e gl_draw.cxx (Mac-specific): fixed use of fl_measure with non null-terminated string.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7494 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 17:58:30 +00:00
Manolo Gouy
d36eb9b30f gl_draw.cxx (Mac-specific): account for text color.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7493 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 17:44:52 +00:00
Manolo Gouy
c5352b84cc gl_draw.cxx (Mac-specific): for __ppc__ only, back to old gl_draw algo without texture.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7492 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 16:10:08 +00:00
Manolo Gouy
241b2c746e gl_draw.cxx (Mac-specific): implemented a fifo pile of pre-computed textures for faster GL text rendering.
Also added new function gl_texture_pile_height(int) that sets the height of this pile.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7491 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 14:26:12 +00:00
Matthias Melcher
a9f8b70019 Fixed Copyright.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7490 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 13:37:13 +00:00
Matthias Melcher
8a2049d64c Fluid: IDE. Removed some redundant code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7489 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-13 12:28:46 +00:00
Matthias Melcher
8cbb278769 Removed commented out fields.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7488 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-12 15:21:35 +00:00
Matthias Melcher
9100fc0b51 Solved MSWin type conflict UUID
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7487 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-12 15:15:03 +00:00
Albrecht Schlosser
9604b556b8 Updating dependencies
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7486 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-12 10:24:32 +00:00
Ian MacArthur
1fb3b9ff4b Work around a typedef in ide_support.h that breaks win32 builds.
Does not appear to be used anyway, so nothing is lost be excising it.

NOTE: The dependency files are not up to date for fluid with the latest modifications, so changes to the headers are not triggering a recompile of the source files when they ought to.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7485 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-12 09:55:43 +00:00
Matthias Melcher
e1d22ebba7 Added ide generating code to command line version of Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7484 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-12 05:18:38 +00:00
Matthias Melcher
a73a70a2c7 Fluid IDE tools: added some more human readable annotations to the database
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7483 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-11 20:23:38 +00:00
Matthias Melcher
ed2870637f Fluid IDE support: rewrite all Makefiles. This has no smart parts inside yet.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7482 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-11 20:16:47 +00:00
Albrecht Schlosser
bbda62f267 Updated bundled pdf docs (documentation/fltk.pdf) to svn -r 7480.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7481 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-11 19:34:55 +00:00
Albrecht Schlosser
6359f8be73 Made the printer dialog customization strings platform independent, so that
they can be set on all platforms to avoid platform-specific end user code.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7480 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-11 18:42:35 +00:00
Matthias Melcher
896c6c2766 Apple Cocoa: modal windows would not resize.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7479 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-11 09:52:05 +00:00
Matthias Melcher
2fe7eabb62 Completed the alignment pulldown menus for all new alignment styles. Hope you guys like it.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7478 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-10 22:16:55 +00:00
Matthias Melcher
927fd35165 Added new label alignments for image and text to Fluid.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7476 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-09 22:18:05 +00:00
Ian MacArthur
08e71113e9 Second part of STR #2214 rework.
This is the simplification of GL font selection under X11 made possible
by the earlier patches from ucko.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7475 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-09 17:01:58 +00:00
Ian MacArthur
52470488ce After testing, I have applied ucko's latest patch for providing access
to "core" fonts when XFT is selected. This allows contexts that need
bitmapped fonts (e.g. GL) to access a bitmap core font, even though
XFT2 does not generally provide bitmap font access.

STR #2214 refers.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7474 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-09 16:46:45 +00:00
Ian MacArthur
74dbd5e017 The non-XFT X11 builds fail because they are not updated to use the Fl_Device
patches.

This is an attempt to remedy that. Can someone familiar with the Fl_Device stuff
please verify these changes?

With these changes in place the code now builds and seems to work.

I have NOT tested print support however - should that matter?



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7472 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-08 17:51:28 +00:00
Manolo Gouy
a9b13f973b Added an Fl_Printer destructor that's useful under MSWin when printing is aborted
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7471 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-08 16:58:28 +00:00
Greg Ercolano
63b746fabc Doc fixes/additions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7470 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-08 05:22:13 +00:00
Matthias Melcher
f899c3897d Added new flags for label alignment: FL_LEFT_TOP, FL_RIGHT_TOP, FL_LEFT_BOTTOM, and FL_RIGHT_BOTTOM align outside labels first to the side, then to the top or botton, filling a gap in possible alignment. Also FL_ALIGN_TEXT_NEXT_TO_IMAGE and FL_ALIGN_IMAGE_NEXT_TO_TEXT which do just that, and finally FL_ALIGN_IMAGE_BACKDROP which renders the image in the background and draws the label on top.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7469 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-07 23:17:33 +00:00
Albrecht Schlosser
0fe65e94c9 Fixed typos and added a \todo paragraph about some more events. This probably
needs some more corrections ...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7468 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-07 22:35:48 +00:00
Albrecht Schlosser
f6753ea76a Fixed doxystar argv parameter (compile error with Linux/gcc 4.3.3)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7467 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-07 21:35:21 +00:00
Matthias Melcher
efd09a5a70 Added some more information on event delivery (STR 1983)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7466 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-07 19:24:49 +00:00
Matthias Melcher
34736e17ac Added a tiny program that adds stars (*) in the right column for all multiline Doxygen comments starting with /** or /*./configure The addition of these starts keeps inlining tools from re-indenting our carefully crafted documentation. It would be as easy to remove the stars after the indentation process. Or even better, carefully reformat the Doxygen comments after they have benn indented.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7465 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-07 16:46:02 +00:00
Manolo Gouy
2d92942bfe Removed useless #define's
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7464 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-07 07:45:12 +00:00
Matthias Melcher
29317e7b2d Marked some more issues with Fl_Text_...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7462 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-06 23:00:56 +00:00
Albrecht Schlosser
b24875d8cd One more CMake fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7461 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-06 20:36:34 +00:00
Albrecht Schlosser
7f37821bae Fixed indentation of previous commit and added CHANGES info (STR #2082).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7460 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-06 20:20:18 +00:00
Ian MacArthur
20b508a3b5 Submit Albrecht's minimal fix for str2082 - this "fixes" the erroneous window animations
on menu and tooltip items that were seen on some systems using compiz.

Albrecht or Alvin may have more sophisticated fixes later, providing us with more control
over window types under X11.
 


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7459 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-06 18:07:34 +00:00
Manolo Gouy
24b8386bf1 Fl_Gl_Device_Plugin: more device-independant API
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7458 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-06 17:38:27 +00:00
Albrecht Schlosser
f44190d356 New CMake README files. May need some updates or to be moved elsewhere later.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7452 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 22:39:43 +00:00
Albrecht Schlosser
a0d26b634a Mostly rewritten CMake files by Michael Surette. They are more complete
than what we had previously, but may need some more testing. The latest
changes (removing old APPLE_QD definitions and code) might need another
update.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7451 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 22:33:58 +00:00
Matthias Melcher
2bf6fa6074 A few more comments.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7450 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 22:26:29 +00:00
Matthias Melcher
61cf49ddfc Another update to Fl_Text_Buffer. This is by no means perfect, but at least it currently does not crash (I am so easily satisfied :-P).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7449 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 22:18:14 +00:00
Matthias Melcher
07a4509a63 Validated utf-8 safety of Fl_Text_Selection.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7443 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 21:10:40 +00:00
Matthias Melcher
814da7f392 Little fix that will keep Fl_Text_Display from crashing on German umlauts. This is by no means a fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7440 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 21:02:48 +00:00
Matthias Melcher
fca1c022e7 Holy Gucamole! NEdit was designed with 'C' style strings in mind. Until that is that someone had the great idea to allow <nul> as a valid character in the text editor. The developers jumped through quite some hoops to allow that without rewriting the core. Well, actually they did: they added a parameter to pretty much every internal call that conatined the null-replacement-character. Anyway, since we only handle 'C' strings, I remove all related code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7437 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 20:22:43 +00:00
Matthias Melcher
d5175c0b88 Adde /todo tags to all function which I will remove as soon as I am sure that they are entirely Unicode safe.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7433 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 20:01:10 +00:00
Matthias Melcher
024c4b995b I humbly apologize for this commit, but I just could not bear it anymore. I moved all Doxygen comments from Fl_Text_Buffer.cxx into the header (I kept searching back and forth for the comments) and then did the unthinkable: I reformatted Fl_Text_Buffer.cxx! OMG. It is actually somewhat *readable* now. I shouldn't have done it! It's a mess ;-). Fl_Text_Buffer was modified many times to do things it was never designed to do. And looking at 'svn b;ame', I remember that I tried to quick-fix UTF-8 on top of that. Anyway, I'll dig into this now. I want 1.3.0 out of the door (end of ramble).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7432 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 19:52:52 +00:00
Albrecht Schlosser
4a086a3809 Fixed max. fd calculation, if USE_POLL is enabled (STR #2324).
This could maybe be removed completely, but anyway...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7431 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 19:11:49 +00:00
Matthias Melcher
769ebeeba7 Tearing my hairs out about terminology in utf-8
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7429 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 12:55:14 +00:00
Matthias Melcher
f2fa59fd0f Starting to clean up and document Fl_Text_... to acheive UTF-8 support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7428 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 12:45:03 +00:00
Matthias Melcher
dcdc4439cc STR 2108: added warning to fl_rect documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7425 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 09:10:50 +00:00
Matthias Melcher
e37577eeb8 Removed UTF-8 code from header file because it confuses some command line tools (specifically 'sed').
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7424 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-05 06:46:41 +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
Manolo Gouy
3ea2e46ce6 Fl_Preferences.H: renamed dummy variable id to id_ to allow gcc-3.3
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7414 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-03 09:14:03 +00:00