Commit Graph

2931 Commits

Author SHA1 Message Date
Matthias Melcher
c1d5dc3b19 Fixed previously damaged 'hello.cxx'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5947 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 10:04:01 +00:00
Matthias Melcher
05cf7832af STR #1792: fixed documentation of FL_HORIZONTAL vs. the correct Fl_Pack::HORIZONTAL
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5946 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 09:58:45 +00:00
Matthias Melcher
072398649c STR #1793: Updated docs to reflect the default for Fl_Pack::resizable() to be NULL.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5945 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-07 09:43:10 +00:00
Matthias Melcher
a9456e49f4 STR #1718: added short documentation to Basics that briefly explains automatic parenting.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5944 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-06 17:54:25 +00:00
Matthias Melcher
f6de9c9692 Updated Fl_Menu_ documentation with a warning to not change the structure of a menu during a callback by itself.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5943 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-06 17:42:05 +00:00
Matthias Melcher
705780a301 Fixed Fl_Chart drawing (STR #1756)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5942 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-10-06 17:33:17 +00:00
Matthias Melcher
ab3eb7e719 Fixed missing slash in documentation.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5933 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-07-19 18:48:15 +00:00
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