Commit Graph

4145 Commits

Author SHA1 Message Date
engelsman
6d2f0273f3 corrected fluid.desktop (STR #2328)
removed "cd %D" as the %D is deprecated anyway.
updated README and README.Unix to describe install-desktop



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7830 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 16:37:34 +00:00
Matthias Melcher
b43c11939e Added a little bit of docs for Fl::option()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7829 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 16:07:20 +00:00
Matthias Melcher
917e5991db Removed UTF-8 codes that would make the SGI compiler crash. STR 2439.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7828 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 15:57:49 +00:00
Matthias Melcher
1725a85468 Rename variable in Fluid to make more sense
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7827 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 15:03:57 +00:00
Matthias Melcher
e7c93053b6 Added visual indication for buttons activated by a keyboard shortcut (STR 2372
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7826 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 11:02:18 +00:00
engelsman
e729fccaf9 added --prefix and --includedir flags to fltk-config (STR #2137)
also fixed typo in fltk-config.cmake.in (STR #2443)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-13 16:47:47 +00:00
engelsman
ce6043d160 fixed const correctness in fluid/Fl_Function_Type.cxx (STR #2441)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-13 09:01:45 +00:00
Matthias Melcher
2e3037f895 Applied Domingo's suggestion for formatted Fluid output
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-12 15:55:09 +00:00
Matthias Melcher
32f48c3033 Fixed missing internationalisation of menus generate by Fluid (STR #2246)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-12 11:55:10 +00:00
Albrecht Schlosser
643e98156f removed obsolete compiler-specific #if... part after dropping gcc 2.x support
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7821 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-12 10:30:50 +00:00
Matthias Melcher
cd94a33e13 Forgot a file
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7820 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-11 19:09:34 +00:00
Matthias Melcher
35c8c77e5e This should fix all remaining issues with Fl_Text_*. Wrapping is no pixel aligned. Pressing up and down will be pixle bound. A few crashes removed (we still crash with faulty UTF-8svn diff | grep Index:). Fixed blinking selection when outside the widget. Added dnd sending and receiving.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-11 19:08:52 +00:00
engelsman
473d8af1a4 Added mouse!=0 check in Fl_Glut_Window::handle (STR #2381)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7818 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-11 18:22:43 +00:00
Albrecht Schlosser
1b8c550f40 Fixed compiler warning (Windows):
"`class FLEnum' has virtual functions but non-virtual destructor"


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7817 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-11 11:15:18 +00:00
Albrecht Schlosser
2105f203f1 Fixed menu and shortcut handling (STR #2243). This partly reverts the
fix for STR #2199 - for details see STR #2243.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7816 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-11 09:12:05 +00:00
Albrecht Schlosser
832c8787ab fixed erroneous removal of three lines from fltk-config.cmake.in
(STR #2408)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7815 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-11 08:54:33 +00:00
Albrecht Schlosser
3cf2305b5c removed support for gcc 2.x (or older), as discussed in fltk.development
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7814 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-11 08:38:36 +00:00
engelsman
db8d9893eb Fixed fltk-config to give --use on one line (STR #2408)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7813 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-10 21:18:17 +00:00
Matthias Melcher
d9be6bbddf Found a few more bugs in Fl_Text_* when using wrapping. Vertical slider is still off.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7812 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-09 23:32:36 +00:00
Greg Ercolano
bc3437bb15 Small documentation fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7811 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-08 17:21:02 +00:00
Matthias Melcher
6fbc3f3556 Added smarter Macro to check for utf-8 violations in Fl_Text_*
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7810 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-08 14:19:47 +00:00
Manolo Gouy
d2f4577fc3 Fixed crash under Mac OS X 10.3
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7809 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-08 08:10:48 +00:00
Matthias Melcher
accf34f276 Implemented search backwards for utf-8. Tested on MSWindows - OK. Tested on Linux (Ubuntu) - K.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7808 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-07 20:13:50 +00:00
Matthias Melcher
f099311481 Better alignment testing
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7807 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-06 23:58:57 +00:00
Matthias Melcher
213318ccb3 Removed some unused stuff and duplicates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7806 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-06 23:16:07 +00:00
Matthias Melcher
b1c062ebd1 Minor changes of Fl_Text_Editor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-06 17:51:00 +00:00
Matthias Melcher
1d9781a7ae A bunch more UTF-8 fixes for Fl_Text_Display.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-06 17:20:32 +00:00
Matthias Melcher
4758e39d28 Fixed accidental deletion of 'del'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7803 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-06 15:23:50 +00:00
Manolo Gouy
ae9da5cff9 Simpler and cleaner handling of cocoa keyboard events.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7802 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-06 15:06:25 +00:00
Matthias Melcher
17259bcbfc One more fix
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7801 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-06 14:32:55 +00:00
Matthias Melcher
8ae745f5b3 UTF8 Text Display and Editor: added tons of tests for utf8 alignment, fixed a bunch of methods that did not understand utf8. Still lots of places to visit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7800 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-06 14:29:12 +00:00
Albrecht Schlosser
d1a09ad73c Fixed documentation (ws2_32.lib linked dynamically)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7799 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-06 13:14:47 +00:00
Albrecht Schlosser
3e1a8e17af fixed missing header file for UTF-8 test (assert.h)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7798 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-06 13:13:28 +00:00
Matthias Melcher
0fb4feb11a Working on correct line wrapping in Fl_Text_Display: starting to replace all byte based charracter calculations with utf8 functions. Current version wraps, but scroll bars are wrong. Non-wrapping text display starts to work better.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7797 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-06 00:29:58 +00:00
Matthias Melcher
5027ca90d3 Mark all funcitons in Fl_Text_Display as not yet Unicode safe.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7796 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-05 22:01:02 +00:00
Matthias Melcher
7ab2acfbff Reformatted and completed (where possible) all comments on FL_Text_Display - maybe a rewrite from scratch *would* have been easier - sigh ;-)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7795 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-05 21:54:47 +00:00
Matthias Melcher
38dcb5a463 Starting to rework Fl_Text_Display from scratch to make wrapping work correctly. Fixed a few issues that made wrapping crash. Using ASCII range only with fixed character sizes should still wrap as expected?!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7794 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-04 21:53:56 +00:00
Matthias Melcher
644fe62283 Uninitialized variable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7793 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-03 22:11:20 +00:00
Matthias Melcher
cac40a9b02 STR 2158: partially solved. This commit is huge, I admit. I recoded most of Fl_Text_Buffer and large chunks of Fl_Text_Display to make it UTF-8 safe. Rendering of all left-to-right scripts works well on OS X for all tested fonts. International input works AFAIK. Copy and paste of UTF-8 data works. ----> what's not working yet though is line wrapping. Also, text search for internationsl characters is not working yet.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7792 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-03 22:01:43 +00:00
engelsman
ddd4bbff1b minor formatting changes to Fl_Text_Display.cxx
fixed some out-dented text (but not exaggerated indents)
split some doxygen comments and added blank lines
added indenting to complex if statement in draw_vline()



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7791 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-02 20:30:42 +00:00
Greg Ercolano
8dac539491 Fixed docs for fl_color_chooser() function's optional 'm' flag (renamed 'cmode' for clarity).
to prevent doxygen errors. Solves engelsman's comments at bottom of STR#2226.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7790 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-01 00:29:08 +00:00
Matthias Melcher
5560a4f0f1 Fixed a few pedantic warnings. Added Fl::option as discussed in STR #2368, but I am not too happy with it yet. Please see discussion in that STR.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7789 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-31 22:39:40 +00:00
Matthias Melcher
1e26ada2c5 Fixed tab key navigation to inactive widgets (STR #2420), fixed a few pedantic warnings
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-31 20:47:50 +00:00
Matthias Melcher
48f107775d Fixed outside label redraw damage areas (STR #2436)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7787 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-31 19:35:23 +00:00
Greg Ercolano
e811ef7138 Doc for arg to Fl_Window::icon(arg) changed to match actual prototype.
(char* -> const void*)

Noticed this because docs for this method under OS issues 
wasn't showing up with html highlights.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-31 18:58:58 +00:00
Greg Ercolano
f52f1c603c Doxygen mods so fl_show_colormap() shows up in the "Color & Font functions" chapter.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7785 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-31 18:00:37 +00:00
Greg Ercolano
5a461b0ff4 Some widgets reordered for consistent keyboard navigation in tree test program.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7784 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-31 16:54:00 +00:00
Matthias Melcher
8ad7e5ccc0 Added callback when double-clicking file in a file chooser (STR#2346)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 21:52:38 +00:00
Matthias Melcher
b5a73c78e6 Fixed label alignment (STR #2436)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7782 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 21:32:15 +00:00
Matthias Melcher
9b6f68dd7c Added interface to set color chooser mode (STR #2407)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 20:16:43 +00:00