Commit Graph

3024 Commits

Author SHA1 Message Date
Michael R Sweet 3d11948876 Try a slightly different Xdbe implementation that copies instead of swaps.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5679 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 20:50:01 +00:00
Michael R Sweet e173e7bec0 Add header check for dlfcn.h.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5678 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 20:14:30 +00:00
Michael R Sweet 7d64ba5ec8 Newer autoconf defines "datarootdir", which "datadir" depends on. I still
don't know why they did this...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5677 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 19:17:47 +00:00
Michael R Sweet 7b4d33bbdd Make sure INSTALL command uses absolute path for install-sh...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5676 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 19:14:29 +00:00
Michael R Sweet 3d54048d52 Add "mute sound" option to sudoku game, on request from a user.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5675 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 16:37:03 +00:00
Michael R Sweet 0e76ede449 Make sure install-sh is executable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5674 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 16:23:56 +00:00
Michael R Sweet 4d6faca615 Add support for glutGetProcAddress() on Mac OS X and other platforms
via dlsym() (STR #1582)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5673 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 15:44:28 +00:00
Michael R Sweet a72fa970a7 Fix text alignment (STR #1589)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 12:58:32 +00:00
Matthias Melcher 624e885b24 STR #1584: even smarter mouse pointer hiding. I also fixed two little historic bugs in "ask" (double adding a widget, and not using "label.obj()" instead of "copy_label()" for non-static buffer. Lastly, I changed "boxtype" to use a Double_Window because it has become so big now that it started flickering.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5671 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 07:58:47 +00:00
Michael R Sweet 44fab0180e Fix hoving over links (STR #1588)
Use blue as the default link color, not magenta.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5669 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-08 01:28:50 +00:00
Michael R Sweet 07fd0cc413 Fix default link color.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5668 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-07 03:50:24 +00:00
Michael R Sweet 628210154b Fix install targets for image libraries.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5667 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-07 02:35:44 +00:00
Michael R Sweet dc24949ad5 Update bundled zlib to v1.2.3.
Update bundled libpng to v1.2.16.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5666 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 22:02:28 +00:00
Michael R Sweet 58cfbc6c82 Use INSTALL_BIN instead of CP for Mac OS bundles...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 21:46:02 +00:00
Michael R Sweet 31e948ed4b Update packaging files.
Remove --post code from fltk-config (--post is now ignore on all
platforms)

Remove outdated information from README.mac.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5664 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 19:44:10 +00:00
Michael R Sweet 44b2ff35cf Use install command instead of CHMOD, CP, and MKDIR.
Drop all POSTBUILD stuff as it is no longer used.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5663 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 19:35:28 +00:00
Matthias Melcher e0381638a0 Fixed typo in documentation (STR #1583)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5662 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-06 16:07:29 +00:00
Michael R Sweet 47fb93aa3c Update pthreads configure test to work on more platforms.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5661 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-05 18:39:27 +00:00
Michael R Sweet 1c61b1297d Fix glXGetProcAddressARB() usage and support for POSIX threads on HP-UX 11.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-05 03:20:30 +00:00
Michael R Sweet 502f83219d Fix DLL generation via MingW/Cygwin (STR #1546)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-02 20:23:31 +00:00
Michael R Sweet 3fb13c36d7 Don't open display when generating source code for Fl_Help_View
widget (STR #1318)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5658 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-02 20:09:53 +00:00
Michael R Sweet a4814c41c3 Fix scheme background image bug on X11.
Drop changelog for hidden mouse pointer problems since that change was
not made until after 1.1.7 was released (CHANGES only shows changes/fixes
to the previous release...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5657 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-02 19:37:30 +00:00
Matthias Melcher 2368590ecd Fixed first window behavior in OS X (STR #1548)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5656 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-02 16:10:19 +00:00
Matthias Melcher c005f9956f Added glut files to vc2005 solution.
Fixed popup menus that would not stay popped up when clicke once and the first item was disabled.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5655 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-02 15:14:42 +00:00
Matthias Melcher 3df9bdf5c5 Avoiding a hidden mouse pointer after a window is hidden
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5654 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-02 13:52:37 +00:00
Michael R Sweet 6bc5329935 Don't use ARB function unless available (still need to do the autoconf
test...)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5653 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-01 21:52:11 +00:00
Michael R Sweet 85c2e38825 Update documentation and move glutDeviceGet() into code so we can return
the correct value for GLUT_NUM_MOUSE_BUTTONS.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-01 21:11:20 +00:00
Matthias Melcher eef6353369 Fixed calculation of character widths for OS X Quartz rendering. Fixed OS X mouse click handling (STR #1504).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5651 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-01 20:13:57 +00:00
Michael R Sweet bda374b386 Add GLUT support functions from FreeGLUT (STR #1522)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5650 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-02-01 18:10:07 +00:00
Michael R Sweet 51d7304d8b Fix Fl_Input_Choice targets (STR #1578)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5649 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-31 23:10:14 +00:00
Michael R Sweet 56eb04fc67 Incorporate run-time check and initialization of recursive mutexes.
This adds support for system-supplied recursive mutexes on OS's other
than Linux (not all define the _NP static initializer) while making
sure that the mutex we do use works as we expect (STR #1575)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-29 17:15:41 +00:00
Michael R Sweet b7be6fb47e Drop recursive mutex code since the running kernel may not support it
(STR #1575)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-28 20:26:50 +00:00
Michael R Sweet 2fcd3610d5 Fl::awake() could block on X11 and OSX (STR #1537)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5646 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-28 20:03:31 +00:00
Michael R Sweet ae8675a45f Fix order of idle/check processing compared to events (STR #1535)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5645 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-28 19:48:31 +00:00
Michael R Sweet 48a997d0ad Hide window before doing callback for OK button (STR #1565)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-28 19:41:56 +00:00
Michael R Sweet 84fe87f472 Fix indentation of elements (STR #1549)
Update layout of help dialog to look like other help dialogs.

Drop resource fork stuff from fltk-config (no more --post, it is a no-op)

Use a single table for the header on the documentation page.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-28 19:36:51 +00:00
Matthias Melcher 8cd623c118 Updated Documentation to 1.1.8, updated Copyright year, added myself to the list of authors and called it Revision 9 (humble shmumble ;-)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5642 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-25 19:48:39 +00:00
Matthias Melcher 4980b42829 Improved GTK+ schemed round box (STR #1531)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-25 15:41:13 +00:00
Matthias Melcher bb96a49d1d Updated documentation to explain which events are sent to an inactive window. This is IMHO better than "fixing" this because old code may rely on that feature. We are not losing out on anything here anyways. STR #1513.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-24 20:55:25 +00:00
Matthias Melcher e36d3a07ce - Fluid avoids writing unsopported combinations of the
"when()" flags (STR #1501)
- Fl_Browser_ would allow keyboard callbacks even though
  "when()" was set to "never" (STR #1501)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-24 20:32:54 +00:00
Matthias Melcher ecdd893933 - Added automated little helpers to Sudoku
(Menu Difficulty->add helpers)
- Added example code for Wizard with the
  Tabs demo (STR #1564)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5638 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-24 12:03:36 +00:00
Michael R Sweet f8d84949c4 Refine the weak-binding solution...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-23 21:48:17 +00:00
Michael R Sweet 28b3753946 Don't need path_find() on Mac OS X...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5636 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-23 20:45:28 +00:00
Michael R Sweet c8f1e91448 Rename fl_filename_isdir_quick to _fl_filename_isdir_quick, do not
export it, and add comments to indicate that it is a private API we
do not support outside of FLTK.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-23 15:02:00 +00:00
Matthias Melcher 7401cf37bf Hopefully some improvement to the 'bring to the foreground'-hack. Please folks, test this on every available platform!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5634 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-23 10:27:44 +00:00
Matthias Melcher 5724b00c9a Removed fl_filename_isdir_quick from the documentation. I would make it static to File_Chooser2.cxx, but we also need it in File_Browser.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5633 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-23 09:53:51 +00:00
Matthias Melcher 930d62b9f6 Fixed comment on trailing slashes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5631 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-22 11:18:30 +00:00
Matthias Melcher e4586d1572 Removed 'optimization' for fl_filename_isdir which would break the original purpose of the fuction (testing the *existence* of a directory). But I did not want to lose the performance in the directory chooser where I *know* that a directory exists, just not if it is a file or directory, so I added the function fl_filename_isdir_quick() to do just that. Please verify that the new version works as expected, especially with regard to the directory chooser.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-22 11:14:29 +00:00
Matthias Melcher 9e79fd13d2 I changed the Fl_Tabs drawing routine to only redraw the tabs themsleves on a PUSH event, instead of the whole current group. This also allows for a visual feedback from the clicked tab. (str #1520)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-21 15:54:53 +00:00
Matthias Melcher 30be5f711b Added code to support OS X weak'n;lazy linking.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5628 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2007-01-21 14:57:42 +00:00