Commit Graph

208 Commits

Author SHA1 Message Date
Michael R Sweet
bf7082f16c Fix fl_filename_list() bug (STR #1159) caused by changing of the ABI
(dirent size is different for large file mode)

The default is now --disable-largefile; if you use --enable-largefile,
the large file support definitions are propagated to the fltk-config
script as well.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4779 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-31 15:50:06 +00:00
Michael R Sweet
115d539691 More packaging fun.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4756 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 18:36:16 +00:00
Michael R Sweet
61b86ce0e5 More packaging fun (games package to "advertise" FLTK...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4755 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 18:02:44 +00:00
Michael R Sweet
887a458227 Work on Linux and OSX desktop integration stuff via make install and
packaging via EPM.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4750 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-15 03:16:09 +00:00
Michael R Sweet
72b136d58b Fix MingW threading support.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4731 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2006-01-02 12:47:09 +00:00
Michael R Sweet
e73818789d Add Cygwin/MingW support for winmm library... (STR #1121)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-14 02:27:23 +00:00
Michael R Sweet
7dd1ddbeef FLTK now enables large file support when available (STR #1087)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4702 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-14 00:39:55 +00:00
Matthias Melcher
861944d1cb Removed the "-g" compile option for the optimized version of FLTK. This was probably a leftover from someone debugging the optimized version (and I am too lazy and polit to run "svn blame", especially since that someone could have been myself ;-)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4692 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-10 10:23:44 +00:00
Michael R Sweet
a6e6888a2d Add OSX audio support to Sudoku (THANK YOU IAN!)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4690 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-08 03:51:21 +00:00
Michael R Sweet
2f40b8b80b Start adding support for sound in Sudoku via ALSA.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4684 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-12-05 00:55:01 +00:00
Michael R Sweet
9e8a88e66c Fix mousewheel handler bug (using wrong variable in initial check)
Add sudoku game app (fun for the holidays! :)

Use "-Os -g" as the default optimization settings.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-25 20:40:16 +00:00
Michael R Sweet
6e88ede6a4 Remove libsupc++ stuff, since it doesn't work on OSX 10.4 or with
other (broken) GCC installs.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4572 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-18 04:02:29 +00:00
Michael R Sweet
6585e234ae Added shared library support for Cygwin and MingW (STR #893)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4474 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 00:54:30 +00:00
Michael R Sweet
b8dcdf4c64 Compilation could fail if a previous installation of FLTK was in
the same (non-standard) directory as an image library (STR #926)

configure.in:
    - Add LINKFLTKFORMS definition.
    - Change LINKFLTK* definitions to just reference the static
      libraries themselves.

makeinclude.in:
    - Use LINKFLTKFORMS and drop -L../lib stuff for static linking.

src/Makefile:
    - Move -L. in front of LDLIBS and IMGLIBS when linking shared
      libfltk_images.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4472 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08 00:44:38 +00:00
Matthias Melcher
458d1dc75d Attempt to make 'localeconv()' part of the configuration process. VC6 works, but I'll need feedback for all other platforms... . Trying OS X in a few minutes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4454 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-24 18:41:30 +00:00
Michael R Sweet
671ef36117 Fix MacOS X 10.4 compile issues.
configure.in:
    - 10.4 doesn't include libsupc++.a, so we need to use g++ when compiling.

src/Fl_Help_View.cxx:
    - Fl_Help_View::format_table(): missing initialization of font and fsize.

src/Fl_Text_Buffer.cxx:
    - Fl_Text_Buffer::remove_rectangle(): missing initialization of endOffset.

src/Fl_Gl_Window.cxx:
    - Fl_Gl_Window::flush(): use 0xff instead of ~0 for clear_damage() call.

test/keyboard.cxx:
    - Apparently unnamed structs are not supported by Apple's GCC 4.0...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4301 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-28 17:48:04 +00:00
Michael R Sweet
1c399af444 Update source file headers with STR web page.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-16 00:13:17 +00:00
Michael R Sweet
e4e36d8229 Move -Wconversion option for GCC to extra warning options (not enabled
by default, to eliminate image library errors...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4284 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-15 14:21:59 +00:00
Michael R Sweet
ff60e09c09 Add -Wno-format-y2k option to eliminate Y2k warnings - ignored by some
versions of GCC, but at least the newer versions won't give us that
warning about our use of strftime()...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4280 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-13 19:40:56 +00:00
Michael R Sweet
cc593f6b64 Add Fl::screen_count() and Fl::screen_xywh() APIs to support multi-
screen displays (currently only X11 support with Xinerama)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4223 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-31 16:01:24 +00:00
Michael R Sweet
add37faa25 Copyright updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4052 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-24 21:55:12 +00:00
Michael R Sweet
a50a8b702a Changelog.
Prep for 1.1.7.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3927 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-29 15:01:43 +00:00
Michael R Sweet
fc8d065cd7 The configure script did not support --disable-localfoo to
completely disable image file support (STR #582)

The Visual C++ 6.0 project files still listed the old JPEG, PNG,
and ZLIB library names (STR #577)

Fixed the scandir() conditional code for HP-UX 11i (STR #585)

Fl_Text_Display didn't support CTRL/CMD-A/C (STR #601)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3898 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-20 03:44:18 +00:00
Michael R Sweet
23bb059065 Watcom fixes (STR #584, STR #594, STR #595)
Fixed library include order when building DSOs on MacOS X (STR
#596)

fl_xid() could cause a WIN32 application to crash (STR #560, STR
#576, STR #618)

Fl_Browser::remove_() removed the item from the list before
computing the item height, which caused problems with some
programs (STR #613)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3897 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-11-20 03:19:59 +00:00
Michael R Sweet
e5355c3243 Prep for 1.1.5 release.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3871 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-10-18 21:05:28 +00:00
Michael R Sweet
b2f9a532e7 Shortcuts were incorrectly underlined in multi-line labels (STR
#566)

Remove Winline from GCC options.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3870 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-10-18 20:40:36 +00:00
Michael R Sweet
96801156ad Prep for 1.1.5rc3 release.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-09-24 20:08:29 +00:00
Matthias Melcher
8327822026 Updated config stuff to allow for --enable-quartz ofr Mac OS X which in
turn defined USE_QUARTZ to 1 and defines __APPLE_QUARTZ__. If Quartz
is not disabled, it will define __APPLE_QD__ for Quickdraw.

I also replaced all relevand #ifdef __APPLE__ with #ifdef __APPLE_QD__
#elif defined(__APPLE_QUARTZ__). This does not affect the compile at
this time and both version will generate the same Quickdraw code.

I will start to replace all QD calls with Quartz calls for the
remainder of the week until I can completely remove all QD calls from
the Quartz branch.

Thanks to Robert Smith for a great initial Quartz implementation.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3782 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-08-25 00:20:27 +00:00
Michael R Sweet
b98e54a92f Remove the GCC -Wshadow option.
Use fltk_xyz for the PNG, JPEG, and ZLIB libraries instead of the normal
names, to avoid collisions with existing installs.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3727 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-29 18:13:11 +00:00
Michael R Sweet
dd193b3820 Include libdir in link options.
Add all compiler warnings...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3697 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-26 17:46:36 +00:00
Michael R Sweet
7ee19d1140 Fix local image library build bug.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3688 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-23 19:26:27 +00:00
Michael R Sweet
5f2ae3cf65 Fix PNG tests.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-12 15:50:01 +00:00
Michael R Sweet
388a864ef7 Makefile and configure script support for image libs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-06 00:18:49 +00:00
Michael R Sweet
24fcc5aa29 The fltk-config script did not include the "-mno-cygwin" option
under CygWin (STR #434)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-05 13:20:28 +00:00
Michael R Sweet
849c90e53b The configure script now offers options for JPEG, PNG, and ZLIB
libraries (STR #416)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3454 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-09 12:09:39 +00:00
Michael R Sweet
213be08972 FLTK now builds with the current release of MinGW (STR #325, STR
#401, STR #402)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3432 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-06-01 14:49:51 +00:00
Michael R Sweet
a3d0905c9e Copyright updates and prep for 1.1.5rc1.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11 04:39:01 +00:00
Michael R Sweet
182acd8618 Fix configure script (STR #174)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3108 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-20 18:40:36 +00:00
Michael R Sweet
aed1a91613 Add --with-links configure option.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-14 14:28:22 +00:00
Michael R Sweet
4e6a41e2cd Bump to 1.1.5rc1...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3100 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-09-09 15:15:18 +00:00
Michael R Sweet
6eef9839bb Fix configure.in for autoconf 2.57.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3079 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-08-05 22:40:45 +00:00
Michael R Sweet
afbeea5714 Bump to 1.1.4 and fix changelog.
#ifdef in fluid was wrong - didn't use piping on OSX when not compiling
against Metroworks compiler.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3068 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-08-02 12:38:10 +00:00
Michael R Sweet
520d44ebf6 Fix scheme and image drawing bugs.
Bump to 1.1.4rc2.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3064 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-29 02:12:36 +00:00
Michael R Sweet
1251b42130 Fix Xft2 usage (still need to do a final fix that loads the proper X
font...)

Fix Fl_Window/Fl_Double_Window in FLUID.

Fix background tile coloring for plastic scheme.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3045 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-07-12 04:20:48 +00:00
Michael R Sweet
f9ded8959a Fix shared libraries on OSX (STR #51)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-06-15 05:37:32 +00:00
Michael R Sweet
47426f0b3f Drop undocumented and non-working --prefix and --exec-prefix options to
fltk-config script (STR #56)

Fix configure tests that had bogus whitespace in them (STR #60)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3015 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-29 19:43:06 +00:00
Michael R Sweet
9636dd13c1 Fix OSX shared library command. (STR #51)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3008 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-27 20:22:50 +00:00
Michael R Sweet
83df87d710 Update to 1.1.4rc1 for testing...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2999 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-05-26 01:45:18 +00:00
Michael R Sweet
82a8a171e5 Bump version number for next release.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2943 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-02-13 21:58:03 +00:00
Michael R Sweet
00cb676e11 Copyright update for 1.1.3 release (not quite yet, but soon...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-30 21:46:07 +00:00