Commit Graph

3033 Commits

Author SHA1 Message Date
ComputerNerd d5b1e625dc Ensure that min is undefined prior to defining our own min macro to prevent any compiler warnings. 2021-02-15 19:19:08 +01:00
ComputerNerd 94611b7429 Fix min not defined compiler error using the same method the Debian maintainers did by moving it down. 2021-02-15 19:19:08 +01:00
ComputerNerd 1603f801a7 Backport fix from the 1.3 branch to resolve issues an issue with _strdup not being defined.
This resolves an issue when trying to compile FLTK 1.1 with MinGW because _strdup doesn't exist but the regular strdup function does.
2021-02-15 19:14:12 +01:00
ComputerNerd 74ecf68e8f Backport friend fix from the 1.3 branch.
The l=0 was removed in the 1.3 branch. Also the Debian maintainers did this for FLTK 1.1.
2021-02-15 19:12:26 +01:00
ComputerNerd 31093328b7 Fix undefined reference to `_imp___TrackMouseEvent@4' error.
Notice for CYGWIN we are not using the comdlg32 library but are using comctl32. Changing comdlg32 to comctl32 fixed the linker error I was receiving why trying to build the library using MinGW.

This change was tested in both Wine and a Windows 95 VM and I didn't receive any errors relating to functions defined in comdlg32 because it's not used.
2021-02-15 19:07:23 +01:00
Albrecht Schlosser b78d3297e2 Updated CHANGES file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@8634 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-04 15:19:39 +00:00
Albrecht Schlosser 377de0d8b8 Removed obsolete -mno-cygwin compiler and linker option from MinGW build.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@8633 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-04 14:58:24 +00:00
Albrecht Schlosser 386db67c73 Fixed keyboard navigation in fl_choice() (STR #2591)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@8617 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20 15:41:09 +00:00
Albrecht Schlosser 0e8f5810b6 Fixed alpha blending under X11 when line data size != 0 (STR #2606)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@8614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20 14:12:14 +00:00
Albrecht Schlosser b60be8c55d Updated dependencies.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@8613 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20 14:05:41 +00:00
Albrecht Schlosser c45fa0f1d8 Backported FLTK 1.3 unit tests to FLTK 1.1 as far as possible.
Missing tests: scrollbar size and text extents.
These tests would require some new features of FLTK 1.3.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@8610 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20 13:45:35 +00:00
Albrecht Schlosser d91c285921 Updated libpng access functions for libpng 1.5 and higher (STR #2542).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@8520 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-20 13:44:20 +00:00
Albrecht Schlosser 15e2f5e76d Fixed linker issue (missing -lfontconfig) when configured with
--enable-xft (STR #2570)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@8468 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-24 10:04:59 +00:00
Albrecht Schlosser 57210e8c78 Fixed fluid desktop file (STR #2328)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@8119 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-27 11:25:09 +00:00
Albrecht Schlosser 3d0fa94bca Fixed typos in CHANGES.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@8103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-22 13:45:30 +00:00
Albrecht Schlosser cace309838 Fixed OpenGL overlay drawing (STR #2437).
Back-ported the corresponding patch for FLTK 1.3.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@8077 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-20 14:48:38 +00:00
Albrecht Schlosser d54fb3f925 Fixed Fl_Tabs selection border drawing, if tabs are at the bottom
of the widget (part of STR #2480)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@8054 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-18 15:57:35 +00:00
Matthias Melcher b962fa8bde Added glutKeyboardUpFunc to the missing functions in 1.1.11
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7920 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-30 11:00:52 +00:00
Albrecht Schlosser eba70247c3 Updated dependencies (makedepend).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7860 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-16 15:31:37 +00:00
Matthias Melcher bce98b2826 Fixed wrong relative path (STR #2384)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7859 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-16 14:40:08 +00:00
Matthias Melcher a4587be93d Removed clutter
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7858 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-16 14:36:56 +00:00
Albrecht Schlosser 5ee73008ee Removed test output and test button (#ifdef TEST_MYBUTTON).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7857 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-16 10:01:08 +00:00
Albrecht Schlosser 6b3472dfed One more version number update.
Also fixed two typos.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7856 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-16 09:44:55 +00:00
Matthias Melcher eefb917c75 Fixed handling of missing fonts in Xft (STR #2355)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7854 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 22:09:46 +00:00
Matthias Melcher 61d741a8a9 Attempt at fixing the XFT problem. Will be testing on Linux shortly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7853 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 21:35:29 +00:00
Matthias Melcher fd7e6e0aa4 More hidden version numbers
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7852 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 21:13:26 +00:00
Matthias Melcher 41dddfed63 Version fix
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7851 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 21:04:17 +00:00
Matthias Melcher 167e329328 Incrmented from 1.1.10 to 1.1.11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7850 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 20:58:11 +00:00
Matthias Melcher dd87dcf2b0 Fixed multiple line output of fltk-config --libs (STR #2408)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 20:34:31 +00:00
Matthias Melcher 4bf4c6d8ed Fixed menu and shortcut handling (STR #2243)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7848 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 20:12:02 +00:00
Matthias Melcher 43447f0f95 Fixed missing architecture flags in OS X build (STR #2303)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7847 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 19:51:28 +00:00
Matthias Melcher 39253b9a20 Fixed mouse wheel related crash in GLUT emulation (STR #2381)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7846 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 19:43:34 +00:00
Matthias Melcher 234e3598c9 1.1.10: Typo in docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 19:08:05 +00:00
Matthias Melcher b6412ed520 Some FLTK 1.1.10 fixes that I did quite a while agon. Mainly documentation on MacOS 9(!) - boy, those were the times.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@7844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-15 19:03:56 +00:00
Albrecht Schlosser c482c27c0d Some minor documentation fixes in Fl_Window.html.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6979 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-24 10:23:33 +00:00
Albrecht Schlosser 2ed171778d Widgets now remove stale entries from the default callback queue
(see Fl::readqueue()) when they are deleted (STR #2302)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6978 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-23 12:54:41 +00:00
Albrecht Schlosser d14693d307 Fixed index for sudoku difficulty menu entry - thanks to Manolo Gouy
for finding this, mentioned "BTW" in STR #2221.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6973 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-12-21 16:35:06 +00:00
Albrecht Schlosser 132d086eab One more typo in examples.html
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6950 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-30 12:27:28 +00:00
Albrecht Schlosser 6c9f274e7b Fixed some typos in examples.html.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6949 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-29 17:27:57 +00:00
Albrecht Schlosser 3344eaffca Fixed typos in documentation, inspired by the list of typos found by
Josef Vitu in FLTK 1.3. Thanks again.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6947 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-29 16:40:09 +00:00
Albrecht Schlosser 8ee53e3538 Fixed forgotten revision number in HTML docx (preface).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6945 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-28 14:42:55 +00:00
Matthias Melcher 337fcd2d2c STR #2292: fixed issue typing a minus in Fl_Int_Input when all text is selected.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6940 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-17 19:39:01 +00:00
Matthias Melcher 3c482f4efa Fixed uninitialized variables in Fl_Timer. STR #2287
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6928 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-07 21:11:16 +00:00
Matthias Melcher 25e41cbc4c Fixed missing initializer in Fl_Scroll. STR #2290
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6927 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-07 21:02:52 +00:00
Matthias Melcher e33955efbf Fixed unintialised member variables. STR #2288
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6926 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-07 21:01:08 +00:00
Matthias Melcher 2d4ec14ce9 Remove unimplemented function from the docs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6925 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-01 21:18:47 +00:00
Matthias Melcher 1e4b5c8370 STR #2282: remove undocumented and unimplemented call to Fl::set_labeltype(Fl_Labeltype, Fl_Labeltye)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6923 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-01 20:25:47 +00:00
Matthias Melcher 91fa51ce85 Fixed character set conversion functions (STR #2268)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6922 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-10-29 20:00:12 +00:00
Albrecht Schlosser 03cf49e895 Fixed image lib configure and fltk-config issues by backporting the image
lib and zlib configure code from FLTK 1.3 (STR #2203)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6892 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-20 17:25:25 +00:00
Matthias Melcher eb9150e0b1 Fixed missing jpeg and z lib when using ldstaticflags. It seems that only two commas were in the wrong line... . Sigh. STR 2203
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6885 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-19 20:27:39 +00:00