Commit Graph

3360 Commits

Author SHA1 Message Date
Fabien Costantini
cbd3151d4f STR#2121: Added old fltk 1.1.x scrap buffer paste detection to Fl::paste().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6627 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12 16:45:55 +00:00
Fabien Costantini
a33d0a6d29 STR#2035 fix : Changed all 1998-200[0-8] dates to 1998-2009 for supported fltk files (this excludes i.e the png subdir).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12 14:52:45 +00:00
Fabien Costantini
e9ef99002f STR#2121 fix: Fixed paste from utf16 content would not work in fltk input widgets,
thanks manolo for the code fragment.
Code inserted into Fl_mac.cxx, tested, regression tested with utf greg japanese example from fltk to fltk, now all test cases work fine in mac os x (10.5.5).



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12 13:55:55 +00:00
Fabien Costantini
84920d7cf1 STR #2104 fix: applied patch from sadysta, modified it to harmonize with existing win32 code like global alloc code, wchar_t type use. Added a wchar.h include for gcc win32 targets, compiled and tested under vc2005, gcc mingw, gcc cygwin.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6624 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-12 12:43:03 +00:00
Albrecht Schlosser
eec7f80e94 Widgets now remove themselves from their parent group (if any), when destroyed
(STR #1894). Fl_Group::clear() removes widget by widget (one at a time) to
allow widgets to remove other related widgets from the same group, when they
are deleted.
Also fixed a bug in Fl_Value_Input (added a destructor), because it used
a non-Fl_Group widget as parent of another widget.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6623 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-08 17:12:34 +00:00
Fabien Costantini
601a0f0d3e + Fixed font set to const string was potentially free in
Fl_x.cxx:fl_set_spot()

+ Fixed fl_ask.h erroneous include replaced by fl_ask.H include in 
colbrowser.cxx


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-04 16:21:42 +00:00
Fabien Costantini
8a53f05688 STR50 fix attemp. Added a new check_redraw_corresponding_parent() function to redraw the corresponding tab of a Fl_Tabs or Fl_Wizard group. tested with single, multiple selection. Compared to the proposed patch this version only add one function similar to redraw_overlays() without modifying the Fl_Type class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-03 15:44:06 +00:00
Fabien Costantini
d7e4bfe777 Doxygen Documentation:
updated more copyright date info to 2009 in html and tex headers/footers


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6620 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-03 10:00:41 +00:00
Fabien Costantini
cdf64d9a84 Doxygen documentation:
Updated fltk pdf reference manual
  Updated copyright date (2008) to 2009


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6619 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-02 10:21:22 +00:00
Matthias Melcher
c15fc3e71a Added flexible gap size for text buffer (STR #2046)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01 21:54:10 +00:00
Matthias Melcher
3c38aa5331 STR 1342: Added somewhat missing Fl_Scrollbar::value(int)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6617 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01 21:35:37 +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
Matthias Melcher
a6e76c29fd Cahngad copyrights in 'test'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01 16:35:13 +00:00
Matthias Melcher
167d767e0f Changed the copyright to 2009 for header files. Still todo: src and test directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01 16:11:32 +00:00
Albrecht Schlosser
04d3d6c0f2 missing header file
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6613 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-30 15:03:13 +00:00
Matthias Melcher
6b3f61e3ff In the configuration setp, LIBNAME (which contains the local path of the library as seen from the src directory) was used wrong. I added LIBBASENAME, the true library name without the path, and replaced LIBNAME wherever it was used wrongly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-29 19:45:46 +00:00
Matthias Melcher
7180c24f3c STR #1962: I tried to fix the configuration scripts so that the image support libraries (fltk_jpeg fltk_png fltk_z) are linked in the same fashion as the fltk_image library. Please verify this fix.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-29 17:10:12 +00:00
Fabien Costantini
a85a33aa87 Core lib:
Cleaned up 3 unused variables warnings in Fl_mac.cxx.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6608 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-28 11:32:54 +00:00
Fabien Costantini
79838655ba Doxygen Documentation:
- Added a new Drawing module, re-ordered it to follow color and fonts
    module by ading a little defgroup hack in Fl.H
  - Completed color and fonts module with global functions found in fl_draw.H
Modules should be quite exhaustive now, please review and add missing modules/ functions if any.
 


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-28 11:21:03 +00:00
Albrecht Schlosser
1cfa95ae79 This is a complete rewrite of the "X Color Browser" demo program
(colbrowser.cxx) without dependencies on (X)Forms compatibility methods.

The previous version can still be retrieved from svn (up to -r 6605) and
from the FLTK 1.1 branch.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6606 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-27 20:27:03 +00:00
Albrecht Schlosser
d34cc411e0 STR 2101: fl_set_spot() could crash on Windows under certain conditions.
The Windows version needs a window to anchor the display window for complex
text editing (IME), e.g. Japanese text. This update adds an additional
Fl_Window argument to fl_set_spot(), but this is only used for Windows.
The implemented version is tested with Japanese text input, including input
in subwindows (test/subwindow.cxx).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6605 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-27 19:22:30 +00:00
Matthias Melcher
a3589a1817 STR 2087: made Fl_Scrollbar::value() 'const' which braks the ABI.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6604 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-26 23:13:17 +00:00
Matthias Melcher
230dbce86d STR #2013: Added missing 'step' getter for Fl_Counter
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6603 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-26 23:04:10 +00:00
Matthias Melcher
376ad500f5 STR #2002: Fl_Chart::clear would not clear all members.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6602 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-26 22:57:15 +00:00
Matthias Melcher
4a56fbc4c8 STR #2114: Fl_Browser::clear() did not clear 'last'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6601 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-26 22:35:39 +00:00
Matthias Melcher
fad309329b STR #2113: added sorting and a few other functions to Fl_Browser_.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6600 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-26 21:20:38 +00:00
Matthias Melcher
459cd78a94 STR 1735: improved documentation on button types.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6599 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-26 19:09:44 +00:00
Albrecht Schlosser
1b788c8c14 Coordinate transformations in test programs to avoid using the old
Fl_Group::forms_end() method, because this _may_ be removed later.
Replaced forms_end() with end().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6598 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-21 15:38:52 +00:00
Albrecht Schlosser
4495388e8d test/line_style: Added shortcut (&Line) for better "line on/off" testing
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6597 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-21 15:01:57 +00:00
Albrecht Schlosser
60b723c00c simplified and removed an extraneous statement.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6596 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-21 14:05:36 +00:00
Albrecht Schlosser
0aacaeb2c2 Improved line_style test program to draw an optional 1-pixel line drawing
over the existing one to be able to see the real coordinates of the lines.
With line width > 1 and different colors it is now possible to see and
compare line offsets to the left/right/top/bottom of lines.

This has been inspired by the discussion in fltk.general, see link:
http://www.fltk.org/newsgroups.php?gfltk.general+v:27131


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6595 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-21 13:48:14 +00:00
Matthias Melcher
ac4edf2aed Adding utf8 support for copy and paste under OS X 10.5 (and hopefully below)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6594 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-21 00:44:55 +00:00
Matthias Melcher
47fbe07afe STR #2098: updated the keyboard handling for 10.5 to better handle composed keys. This now works at least for German and American keyboard mapping (I can finally type German text on my US keyboard again), but is still far from perfect. Also applied Ian's patch which I can't test due to missing OS. Thanks, Ian!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6593 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-20 21:09:59 +00:00
Albrecht Schlosser
3db04d80a1 Updated the bundled libpng to v1.2.33.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6592 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-17 18:57:18 +00:00
Fabien Costantini
63b8523126 Updated CHANGES for STR 2106 fix for 1.3.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6590 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-17 12:23:37 +00:00
Fabien Costantini
2b931a6f77 STR#2106 fix:callback not called if radio button state changed from a shortcut but is called when changed with mouse.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6588 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-17 10:36:46 +00:00
Fabien Costantini
fd959f45ba XCode31 ide project: Fixed missing header include for the jpeg local lib. Harmonized the osx deprecated api warning removal, now like in the unix makefiles.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6587 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-16 20:55:12 +00:00
Fabien Costantini
4047f3dba7 Sorted buttons order as they appear in fluid, changed the 'same shortcuts A1 and A2 as it is more confusing than helping in finding bugs for this test case.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6586 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-16 20:11:04 +00:00
Fabien Costantini
d592a5fe81 Reverting this change that was intented for another branch, not trunk, sorry.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6585 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-16 16:33:21 +00:00
Fabien Costantini
76bcfdd4de patch from STR2026 for testing
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-16 16:30: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
Albrecht Schlosser
d9801ae479 STR 2094: Fixed callback handling for FL_HIDE event for Fl_Input_ and
handling of FL_WHEN_ENTER_KEY_ALWAYS.
This was a regression introduced with svn -r 6212.

History:
svn -r 6031: STR #1719: regression introduced in FLTK 1.1
svn -r 6104: Fixed in FLTK 1.1
svn -r 6108: Applied to FLTK 1.3 (okay)
svn -r 6212: introduced again by "Merging the UTF8 patch ..."


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6581 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-12 00:23:45 +00:00
Fabien Costantini
b1fefe0645 Fixed vc6 fltkdll would not link in test directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6580 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-11 15:45:27 +00:00
Fabien Costantini
8391354f36 Fixed some vc6 targets would not output their binaries to correct directories since last move in ide directory and disparities between slash and backslashes declarations, not all the targets were modified. Should be ok now.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6579 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-11 15:39:24 +00:00
Fabien Costantini
7b49e892b8 Fixing corelib would not compile under vc6 following fl_text_extents() addons. checked on win32/vc6,macosx. Please on other win32 compilers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6578 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-11 14:38:04 +00:00
Albrecht Schlosser
26c6437407 Replaced all occurrences of deprecated Fl::release() by Fl::grab(0).
Changed files:

  src/Fl_Menu.cxx		(2x)
  src/fl_show_colormap.cxx	(1x)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6577 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-11 09:01:04 +00:00
Albrecht Schlosser
5f75c5b754 STR 2027: Fixed documentation errors.
Also fixed typos in Fl.H.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6576 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-10 20:58:10 +00:00
Albrecht Schlosser
8a45f9063c Documented module "Safe widget deletion support functions"
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6575 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-09 23:14:25 +00:00
Albrecht Schlosser
1849b8df5c Removed extraneous html tag.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6574 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-09 08:54:00 +00:00