Commit Graph

1366 Commits

Author SHA1 Message Date
Michael R Sweet
7c4010a106 Fix EPM list file shared library handling.
Add shared FLUID support to EPM list file.

Add post install resource assignment when installing on Darwin.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-14 19:24:36 +00:00
Michael R Sweet
aa837b09da More FL_EXPORT stuff for WIN32.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-14 19:08:25 +00:00
Michael R Sweet
1d56e20d19 Fix a bug in the filename completion.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2528 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-14 18:26:54 +00:00
Michael R Sweet
8025bf7251 Fl_File_Chooser::value("foo") now checks if the pathname is a directory
and doesn't strip the trailing one if so.

Fl_File_Chooser::value(n) now returns a directory name without the
trailing slash.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2527 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-14 18:19:00 +00:00
Michael R Sweet
1be87f0798 Ignore fluid-shared and all exe files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-14 17:04:30 +00:00
Michael R Sweet
3346a9fee7 Change the Fl_Group current, add, and remove methods so they are no longer
inline; this should make shared libraries work better on all platforms.

Link FLUID against shared libraries, too, so that the installed fluid is
also using shared libraries (still make a statically linked fluid for the
build)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-14 17:03:31 +00:00
Michael R Sweet
8e2ff29500 Use %{_mandir} instead of /usr/share/man.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2524 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-12 02:06:38 +00:00
Michael R Sweet
75b9c5a68f Reset version numbers to 1.1.0 (no rcN)
Add images library to list file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2523 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-12 02:04:53 +00:00
Matthias Melcher
f63e9a8ab4 Remove CW warning when starting App.
Sorry for all the chaos in adding and removing files. I am
not a 100% secure with CVS and I desperatly hope that I didn't
screw anything up!

At least my checkout works fine... .

Matthias


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2522 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-11 23:20:01 +00:00
Matthias Melcher
319c89ab3c minor changes to make FLTK compile as a DLL in CodeWarrior
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2521 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-11 22:43:53 +00:00
Matthias Melcher
cd9ae1abd5 Added Metrowerks CodeWarrior support for Windows (MacOS soon to come)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2520 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-11 22:40:11 +00:00
Michael R Sweet
9feef1e696 Don't add -lm to link line.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2504 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-11 10:37:49 +00:00
Matthias Melcher
d7fd2d77a0 reenabled and improved support for Fl_Sys_Menu_Bar which is a subclass
of Fl_Menu_Bar and allows restricted access to the Apple typical top
menu bar.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2503 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-11 04:11:41 +00:00
Matthias Melcher
7dc80d17b0 MacOS: wait(0) would not handle all pending events.
The OpenGL demos were showing a significant delay in handling UI events.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-11 01:10:15 +00:00
Michael R Sweet
066fc7805c Only delete the line starts array if it is not NULL.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2501 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-10 15:33:52 +00:00
Michael R Sweet
32fee075fb Support MSYS as well as Cygwin configure stuff...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2500 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-10 02:47:14 +00:00
Michael R Sweet
b125958b07 Add support for MingW with GCC 3.1.x.
Some copyright/comment cleanup in various files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-09 17:41:24 +00:00
Michael R Sweet
0cca48696f Range check input to Fl_Choice::value(n).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2497 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-09 17:18:45 +00:00
Michael R Sweet
81d431ccf5 Update MingW and OS/2 makeinclude files...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2496 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-08 20:14:07 +00:00
Michael R Sweet
e8ccc2cf7c Fix bonehead typo and const issues with new remove_handler() method.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2495 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-08 19:19:07 +00:00
Michael R Sweet
087440e768 Don't forget to scroll the Fl_Text_Display/Editor widget when dragging
text.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2494 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-08 17:15:35 +00:00
Michael R Sweet
619610e471 Remove autoconf cache directory and cvsignore files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2493 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-08 15:27:33 +00:00
Michael R Sweet
f7394e2fb1 Avoid VC++ bug with STL - "list" is a template class, but VC++ doesn't
properly distinguish between type names and variable names...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2492 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-08 15:20:57 +00:00
Michael R Sweet
16046bf4dd Add Fl::remove_handler() method.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2491 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-08 15:14:38 +00:00
Michael R Sweet
46148181bd BC++ changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2490 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-08 14:58:49 +00:00
Michael R Sweet
6733d0a646 Those changes were for 1.1.0rc4, not 1.1.0... :)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2489 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-02 15:11:13 +00:00
Michael R Sweet
031fef8635 File chooser updates - ../ and ./ map properly, now show ".." in the
directory list, added custom filter stuff, added filter_value() methods.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2487 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-01 21:14:20 +00:00
Michael R Sweet
adc02c83a5 Don't remove BCB project files when making the source distro.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2486 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-01 20:26:50 +00:00
Michael R Sweet
dbf471bfbd Add Borland C++ Builder project files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2485 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-01 20:26:07 +00:00
Michael R Sweet
526e94341d Some patches from Ori Berger to plug some resource leaks and use a
different WIN32 message for threading under Windows.
(didn't include the cleanup or release changes)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2336 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-01 20:14:08 +00:00
Matthias Melcher
2d30a9e6fa Small changes to make Metrowerks CodeWarrior for Windows work.
See seperate posting with CodeWarrior project file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2334 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-29 00:10:05 +00:00
Michael R Sweet
fb54e06306 VC++ project file updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2333 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-28 21:29:16 +00:00
Michael R Sweet
686aea65d4 Add missing file.
Update dependencies.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2332 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-28 21:19:42 +00:00
Michael R Sweet
8efe8dcc23 Don't need to manually register image formats in these programs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2330 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-28 21:10:20 +00:00
Michael R Sweet
6a6e4ab66c Separate the extra image functions into fltk_images.
Add new fl_register_images() function to register the extra file formats
with Fl_Shared_Image.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2329 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-28 21:04:37 +00:00
Michael R Sweet
96094e5617 Increase size of header buffer to 64 bytes.
Fix XBM file loader.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2327 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-28 15:23:03 +00:00
Matthias Melcher
cb49cb970e 2 typos
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2326 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-28 00:28:09 +00:00
Matthias Melcher
a4e0a9adb5 Added Greg Ercolanos filedescripter support
Fixed Text Width bug.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-27 23:18:12 +00:00
Michael R Sweet
cdc15f49a6 Fix math header for nocygwin mode.
Revert focus check in fl_fix_focus().

Don't click the click count in Fl_Browser_::select().


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2324 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-27 20:52:44 +00:00
Matthias Melcher
9c29ecde90 MacOS:
Pixmap Draw fix: pixmap would always draw from 0, 0
gl_font implemented
FL_FOCUS fix: would not send FL_FOCUS when window activated
window classes fixed: modal() and non_modal() should work much better
glut fix: uninitialised 'display' callback made glpuzzle crash

Please send bug reports


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2323 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-27 04:29:39 +00:00
Matthias Melcher
0d352d96ea glut_compatibility did not initialize 'display' function pointer and would make OS X implementation crash.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2322 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-26 14:52:33 +00:00
Michael R Sweet
1be610c970 Better MingW handling.
Convert C++ comments to C comments in filename.H, which is included
from some C files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2321 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-26 12:03:28 +00:00
Matthias Melcher
e9f34465e0 Remired CR/LF pairs :-/
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2320 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-26 03:36:57 +00:00
Matthias Melcher
2967d781d7 Added gl_font calls to Cube demo for gl_font implementation on MacOS (later).
Renamed variable 'todo' in preferences.fl to 'tasks' to make global search for Todo items easier.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2319 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-26 02:01:33 +00:00
Michael R Sweet
690f5c5d07 Change POSTBUILD back to : in configure script.
Change POSTBUILD to "rem" in MingW makeinclude file.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2318 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-25 13:36:27 +00:00
Michael R Sweet
12c9e04690 Use true instead of : for POSTBUILD on non-MacOS systems.
Redo library README file...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2317 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-24 19:49:45 +00:00
Michael R Sweet
4a6299fbcc Add FLTK_1_0_COMPAT symbol for 1.0.x compatible names.
Document this in the migration appendix, and add a section on keyboard
focus.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2316 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-24 15:22:57 +00:00
Michael R Sweet
bb056f7805 Update GCC test in configure script.
Add range checking to BMP loader, and fix colormap + 4-bit BMP file
loading.

Copy 2.0 window position fix for XFree86 4.x and others.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2315 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-24 02:04:54 +00:00
Michael R Sweet
04f6fbbe03 Make sure DIRECTORY is undef'd for BC++.
Try to get rid of flickering in CubeView demo...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2310 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-13 19:36:01 +00:00
Michael R Sweet
91aa5847ba Bug fixes from Sebastien.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2309 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-06-13 18:18:33 +00:00