Commit Graph

1137 Commits

Author SHA1 Message Date
Albrecht Schlosser fce1e80ee3 Fix potential crash in fl_xid() on Linux (STR #2635). This would
crash if called when a window is not shown().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-21 10:05:19 +00:00
Albrecht Schlosser 0f20c065ce Fixed keyboard navigation in fl_choice() (STR #2591)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20 14:54:42 +00:00
Albrecht Schlosser 08b93ec972 Reverted changes done in svn r 7788 for STR #2420 ("Tab-Navigation focuses
non-active_r() widgets"). This must be investigated further, and if necessary,
solved differently. STR #2420 will be reopened...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20 14:34:53 +00:00
Albrecht Schlosser 18628d428b Fixed alpha blending under X11 when line data size != 0 (STR #2606)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20 14:01:04 +00:00
Albrecht Schlosser 8920d92944 Updated the bundled libpng to v1.5.1 (released Feb 3, 2011).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8523 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-22 09:11:57 +00:00
Albrecht Schlosser 3bb11b9993 Common dialogs like fl_message() and fl_ask() can now have a window
title (STR #2562).
Added a test case for disabling the hotspot and using a window title
to test/ask.cxx.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8417 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-12 12:08:52 +00:00
Albrecht Schlosser f8c0dd0110 Hotspot behavior of fl_message() and other common dialogs is now
optional (STR #2561).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8415 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-12 11:31:40 +00:00
Albrecht Schlosser c4be7d9cd7 Changed default for configure option --with-links for common misspellings
on case sensitive file systems like Unix/Linux, as discussed some time ago.
The new default is --without-links.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8141 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-30 15:05:53 +00:00
Matthias Melcher 8a66c06e10 Attmpt to throw away meaningless CHANGES entries, and resort by priority in better categories. The CHANGES file is a clear indicator of packing much too much into a single *minor* release. OTOH: boy, have we been active!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8121 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-27 14:55:53 +00:00
Albrecht Schlosser 64468d4639 CHANGES: Fixed typos and removed trailing spaces.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8102 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22 13:23:53 +00:00
Albrecht Schlosser ada206d8f7 Added Fl_Tabs::client_area() (STR #2480).
Fixed some typos in CHANGES.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8101 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22 13:06:03 +00:00
Matthias Melcher 3b65b1b3bf Sorted CHANGES text a bit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8088 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 21:21:19 +00:00
Matthias Melcher 387c60fab2 Removed Watcom compiler support because it was introduced in 1.1.6 as a partial solution and never completed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8079 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 19:28:23 +00:00
Albrecht Schlosser 403ee0ce23 Fixed Fl_Tabs selection border drawing, if tabs are at the bottom of
the widget (STR #2480). Thanks for the patch.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8053 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-18 15:31:44 +00:00
Albrecht Schlosser ff4cafeb30 This new fl_read_image() function for Windows is *much* faster than
reading individual pixels as before (STR #2387), but there is still
room for improvement...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8048 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-16 20:23:57 +00:00
Matthias Melcher 318b3dea57 Added an 'Options' dialog (replacing test/preferences) that can be used to set system wide or user real options like Visible Focus.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8018 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-12 19:52:26 +00:00
Albrecht Schlosser ceba5030a1 Windows: removed hidden old winsock 1 (wsock32.dll) support, as
discussed in fltk.development. We exclusively use winsock 2
(ws2_32.dll) and winsock2.h now.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7987 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-09 09:03:17 +00:00
Albrecht Schlosser 97b4b0c704 Fixed Compiling with mingw-w64 (STR #2308).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08 14:00:35 +00:00
Matthias Melcher 1bac8a0cca Fixed crashes when Fl_Text_* detects illegal UTF 8 sequences. Widgets will not do any further processing but just jump over the character. Screen representation depends largely on whatever the underlying OS does with those sequences, but I feel that this is out of the scope of this library. (STR 2348)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7965 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-06 18:22:22 +00:00
Matthias Melcher f560b71b0a Fixed Fl_Text_Display Tabulator calculations (STR #2450)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-27 21:15:52 +00:00
Matthias Melcher 1e77c19688 Fixed file access code to use UTF-8 strings (STR #2440)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7874 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-18 20:00:01 +00:00
Matthias Melcher 983a0d8ce4 Fixed ARM Unicode cross compilation issue (STR #2432)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7873 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-18 18:43:41 +00:00
Matthias Melcher bc66ca6264 Improved support for faulty X11 clients (STR #2385)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7866 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-17 11:28:58 +00:00
Matthias Melcher ffbe1b76b1 Fixed xclass support for Fl_Window (STR #2053)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7863 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-16 22:17:40 +00:00
Matthias Melcher e91fe6e6d5 Fixed Caps Lock handling in X11/XIM (STR #2366)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7862 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-16 21:15:27 +00:00
Matthias Melcher bc1928bbc0 Fixed handling of missing fonts in Xft (STR #2355)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7855 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 22:13:13 +00:00
Matthias Melcher e10019c64b Added alternative Xft font names (STR #2215)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 21:50:24 +00:00
Matthias Melcher 160973c876 Update lib png access (STR #2442)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7832 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 21:17:31 +00:00
Matthias Melcher 6e863f844d Fixed OpenGL hide/show issue in OS X (STR #2260)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7831 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-14 17:28:48 +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
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
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 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 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 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
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
Matthias Melcher f1f1d8ed42 STR 2382: Fixed compile errors when HAVE_LIBJPEG was not defined
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7780 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 20:01:16 +00:00
Matthias Melcher 8e30c66a92 Fixed special handling for ISO back-tab keycode (STR #2369)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 19:56:20 +00:00
Matthias Melcher 6017a6fae6 STR 2348: fixed possibly wrong relative path
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7778 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 19:46:05 +00:00
Matthias Melcher e923015b01 STR 2370: fixed static allocation in Fl_Tabs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7777 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30 19:28:17 +00:00
Albrecht Schlosser b010bce1af Fixed unbalanced Windows OleInitialize/OleUnitialize calls
when loading/unloading the FLTK dll (STR #2417)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-09-27 14:57:53 +00:00
Albrecht Schlosser 755f354ebe Fixed X11/XDBE double buffering (STR #2152, #2197). Both bugs could only be
seen if configure was run with --enable-xdbe (default in FLTK 1.3, optional
in FLTK 1.1).

src/Fl_Double_Window.cxx/Fl_Double_Window::resize():

	STR #2152: deallocate back buffer when window is enlarged in any
	dimension to force allocation of a new back buffer. This appears
	to be necessary for some window managers (e.g. Cygwin).

src/Fl_Overlay_Window.cxx/Fl_Overlay_Window::flush() and
src/Fl_Double_Window.cxx/Fl_Double_Window::flush():

	STR #2197: make sure that the entire overlay window will be drawn
	after a window redraw, because Fl_Double_Window::flush(1) erases
	the overlay as documented.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-06-09 08:36:25 +00:00
Greg Ercolano 4fd11eba88 Changed references to fltk-bugs@fltk.org -> STR form.
Todo: LGPL license file references (COPYING, license.dox, etc)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-28 03:15:47 +00:00
Greg Ercolano cba451be45 Doc sync.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7517 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-04-16 17:55:45 +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