Commit Graph

3024 Commits

Author SHA1 Message Date
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 413d9295ac #1706: on WIN32, the attempt to map a subwindow when the parent window was not mapped yet would result in the subwindow never being mapped. This change will defer mapping until the parent window is shown.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5914 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-18 13:08:57 +00:00
Matthias Melcher 933ce8bf07 Fixed wrong array size.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5913 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-18 13:03:39 +00:00
Matthias Melcher 3c62765e3a #1706: changed test/tile to expose issues with reversed order of 'show'. Changed Fluid to disallow a widget class inside a widget class, because Fluid has no subwindow support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5912 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-18 09:35:42 +00:00
Matthias Melcher 18dbfc8a57 STR #1706: mapping a subwindow with an unmapped parent window would crash under X11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5911 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-18 08:43:37 +00:00
Matthias Melcher dc296ba4c0 Second take at retrieving the correct 'hanged()' value for the Fl_Input_Choice. Fl_Widget::changed() clears our flag where it should not, so we have to some trickery and set a second 'changed' flag that will not be cleared by Fl_Widget::do_callback. I did not see any side effects in doing this, but it is definetley a Kludge.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5891 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-07 21:40:36 +00:00
Matthias Melcher 5d7d16cc8c Making sure that the 'changed' flag is set on every menu pulldown. (STR #1693)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5890 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-07 17:38:49 +00:00
Matthias Melcher 5ba77af1ec Removed comment about limitations in Glut that were fixed by Mike a while ago (STR #1700)>
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5889 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-07 17:28:43 +00:00
Matthias Melcher 38cc8c2f4d Fixed rendering of grayscale images with alpha channel on unaccelerated machines. Thanks, Sanel (STR #1703)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5888 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-06-07 17:23:41 +00:00
Matthias Melcher a914d9c27f STR #1688: added missing /UL in documentation
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5857 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-23 19:39:55 +00:00
Matthias Melcher cbfbef8f20 Documentation typo
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5852 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-21 18:27:37 +00:00
Matthias Melcher 9c7640d047 Added link to documentation
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5851 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-21 18:01:28 +00:00
Matthias Melcher 688c47020f Typo HAVE_LONg_LONG instead of HAVE_LONG_LONG
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5850 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-21 15:56:17 +00:00
Matthias Melcher abde88e220 On OS X: disable all 'deprecated' warnings to be able to see the really important warnings. Nevertheless, we will have to replace all Carbon calls as soon as possible. Also re-fixed (i hope) the 'return' from an endless loop in 'threads.cxx'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 16:32:37 +00:00
Michael R Sweet d8c288df3e Fix compiler warnings/errors.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5848 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 16:18:31 +00:00
Michael R Sweet 56a50b9f0e Rats, Sun's compilers error out if there is no return statement in the
thread function, so we'll have to just live with the "statement unreachable"
warning...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5847 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 16:03:55 +00:00
Matthias Melcher 7697347fd4 Missing underscore in previous commit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5846 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 15:26:09 +00:00
Michael R Sweet 73d01dd659 Fix all compiler warnings from various build systems.
Fix vsnprintf() implementation to properly handle long and long long ints.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-20 00:01:06 +00:00
Matthias Melcher 9ca173a702 Updated Cygwin/Mingw makefiles and documentation (STR #1683)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-18 19:04:14 +00:00
Matthias Melcher a5c7b92f37 Documentation fix (STR #1686)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5843 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-18 18:57:40 +00:00
Matthias Melcher 73016d4919 Documentation fix (STR #1687)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5842 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-18 18:52:53 +00:00
Matthias Melcher 65e4576d40 Updated version of README.win32 by Ian (STR #1683)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5840 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-17 16:02:09 +00:00
Matthias Melcher dba81e6fca Removed obslete .cvsignore files (STR #1683)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5839 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-17 15:56:57 +00:00
Matthias Melcher ac18bf7609 Replaced '>' with '>' in the documentation where appropriate (STR# 1682, 1684, 1685)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5838 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-17 15:52:15 +00:00
Matthias Melcher 04ced5396e STR #1681: On WIN32 WM_PAINT messages, FLTK would first render the damaged area and then set the area as valid again. While this is mostly fine on single CPU machines, multi-CPU machines may re-invalidate areas that are currently drawn, resulting in unrendered strips when another window was moved quickly across an FLTK window during its redraw phase.
The new implementation validates the damaged area as quickly as possible, allowing new damage requests to be handled correctly, even while we are still redrawing the same damaged area.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-16 12:47:49 +00:00
Matthias Melcher 849efb47ae STR #1625: yet another slight change in the "fl_contrast" cut-off value that hopefully now delivers best results for all color schemes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5835 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-16 11:46:07 +00:00
Matthias Melcher 2c7bea98fe STR #1678: improved fl_down, fl_frame, added fl_box, updated documentation. Fixed indent in Fl_Input_Choice.H
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5834 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-16 08:30:48 +00:00
Matthias Melcher 1feb3ed69c More documentation for creating a custom box type. I am sure this could be written more elegantly, but my English seems to get worse every day ;-/
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-16 08:17:45 +00:00
Matthias Melcher 6312531457 Some very minor documentation updates. More to come.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5832 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-15 10:08:49 +00:00
Matthias Melcher d7a34f0061 Fixed possible selection of submenu items in FL_INput_Choice (STR 1676)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5831 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-15 07:42:53 +00:00
Michael R Sweet e37b4526fc Solaris sh (POSIX shell) does not support the Bash substitution syntax.
Add a different workaround for this Cygwin shell bug (however note that
we are NOT going to go out of our way to work around Cygwin bugs - you
need to report those upstream folks!)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5830 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-14 19:35:32 +00:00
Matthias Melcher cd0defc000 Removed warning about unused variable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5829 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-14 15:51:00 +00:00
Matthias Melcher 08c5fb6ff4 - Fixed calculation of stride for image scaling and color manipulation (STR #1673)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-14 13:18:44 +00:00
Matthias Melcher 62d66c6422 Str #1656: changed default optimization on Cygwin/Mingw to -O3 because -O3 causes verifably and repeatably bad code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-14 12:21:42 +00:00
Matthias Melcher 2df9fcb3aa OSF/Tru64 now uses 'install-sh' instead of 'install' to accomodate for a missing '-d' option (STR #1632)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-14 12:00:06 +00:00
Matthias Melcher e42fac099f Annoyed by the limitation in Fluid to generate keyboard shortucts for either Mac or Win32/Linux, I added a Project option. If checked, all keyboard shortcuts containing the modifier FL_CTRL or FL_META will instead be writte as FL_COMMAND|shortcut. This will generate FL_META shortcuts on the Mac and FL_CTRL shortcuts on the PC.
This is compatible to old Fluid files. The .fl file will not change (except for the project wide setting itself) and no information is lost. As the only limitation, it is not possible to write any combination of FL_META and FL_CTRL while "use FL_COMMAND" is set.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5808 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-10 12:06:31 +00:00
Matthias Melcher ee1d3823a0 Modified 'configure.in' to overcome the Cygwin bug of adding a ^M to the output of the 'sizeof' test code. From all I read, the notation seems to be shell scripting standard and should be available everywhere.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5807 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-09 19:40:04 +00:00
Matthias Melcher 8ff61aeef7 STR #1571: Added direct access to changed() in Fl_Input_choice
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5806 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-09 12:50:32 +00:00
Matthias Melcher 8f8882a084 Reverted my changes in the message dialog boxes. Reapplied the static size icon, fixing it to 50x50 pixels and avoiding the superlarge bang on long texts.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-09 12:42:39 +00:00
Matthias Melcher 337579d2e2 STR #1668: Added missing 'include' statement to Fl_Inpt_Choice.h
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-06 15:57:40 +00:00
Matthias Melcher 01d6c3b3fc STR #1670: Fixed gcc warning in Mac source code.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5803 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-06 15:54:07 +00:00
Matthias Melcher 22c55a3ca3 STR #1667: fixed wrong link in fl_ask documentation
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5801 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-04 09:07:21 +00:00
Matthias Melcher a1d7593761 STR #1632: restored files to the original settings. I a no expert with build files, so I will leave this to someone who can fix this right. Matthias.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5800 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-03 15:49:59 +00:00
Matthias Melcher d84e2832f7 Second aproach at solving the 'install -d' issue. I added a public domain script that supposedly solves the issue on every box. I also looke at 'install-sh', but found a bazillion of versions, doing so much more than we actually need. But I am open to sugestions, and happy to reverse my changes if something better comes along.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5799 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-03 12:33:20 +00:00
Matthias Melcher 40be03495d Remove the 'verbose' flag for directory creation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5798 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-02 15:12:09 +00:00
Matthias Melcher ba562f87b9 STR #1632: replaced 'install -d' with 'mkdir -p', falling back to 'install' in case 'mkdir' could not be found (which I can't imagine happening. Now I hope that every implementation of 'mkdir' supports the '-p' flag.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5797 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-02 15:01:37 +00:00
Matthias Melcher 2559710cac Fl_Help_View was documented as being derived from Fl_Group in teh docs and FL_Widget in the hierarchy view. I updated the documentation to reflect that it isn't derive from any other widget at all.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5796 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-02 14:38:58 +00:00
Matthias Melcher b2ca1b9918 Fixed for Linux, based on my previous checkins
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5795 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-02 08:50:21 +00:00
Matthias Melcher b4b6776d8f Added static icon, text selection, and HTML formatting to fl_message etc. (STR #1626)
Fixed selection of first word in Fl_Help_View


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5794 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 23:20:39 +00:00
Matthias Melcher 47e802218d Fixed endless loop in Fl_Text_Display (STR #1655)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5793 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-05-01 21:09:39 +00:00