summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-05-21Fix STR #2635 for Mac OS: allow fl_xid() even if window is not yet shown.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8708 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-21Fix potential crash in fl_xid() on Linux (STR #2635). This wouldAlbrecht Schlosser
crash if called when a window is not shown(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8706 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-20Added missing FL_EXPORT class declarations.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-19Allows to set the chooser's type at construction time without calling the ↵Manolo Gouy
type(int) function. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8692 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-15Mac OS: implemented the effect of the 2nd arg of Fl_Window::label(label, ↵Manolo Gouy
iconlabel) - continued. Now works also if called before the window is shown(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8665 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-15Mac OS: implemented the effect of the 2nd arg of Fl_Window::label(label, ↵Manolo Gouy
iconlabel) that sets the window name when it is iconized (or minimized). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8664 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-14Added new png header file pnglibconf.hAlbrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8661 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-13Fix for STR #2629: remove beep when typing cmd-<key> under Mac OS.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-13STR 2630: added bounds check for very narrow text editing widgets, wishing ↵Matthias Melcher
that Valgrind was available for OS X git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-12Fix for STR #2628: keep focus within an Fl_Tab after moving to another ↵Manolo Gouy
window and back. This had been partially fixed following STR #2552. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8658 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-12Mac OS: simplified by removing Fl_X::contains_GL_subwindow() function. Manolo Gouy
This operation is now performed within Fl_cocoa.mm git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8657 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-12Fix STR #2625: removed memory leak after reading erroneous PNG data.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8656 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-11On Mac OS, allow creation of a window in a minimized form.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8654 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-11On Mac OS, FL_HIDE is now sent when a window is minimized or the application ↵Manolo Gouy
is hidden. The context removal on Fl_Gl_Window::handle() destroyed the GL colors when the window is remapped. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8653 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-11First attempt to improve the html footer for the new doxygen layout.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-11Fixed "Index" link on documentation pages.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8651 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-11Updated doxygen stylesheet to new version (doxygen 1.7.4). This was reallyAlbrecht Schlosser
needed to fix the layout of the new style docs. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8650 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-11Fix a small documentation issue of a missing link.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8649 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-10Removed wrong links from package file.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-10Attempt to get fltk.*.in ready for 1.3.0 final version. Removed obsolete line.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8647 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-10Attempt to get fltk.*.in ready for 1.3.0 final version.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8646 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-10Fix STR #2597.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8645 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-10Hopefully this fixes the bug Albrecht found in using fl_measure on surrogate ↵Ian MacArthur
pairs whilst we were looking at STR #2622. In summary, if you measured the string *before* the selected font had been used to actually fl_draw() anything, the measurement returned was invalid, as the new font was not "locked in" to the gc. This change makes sure the selected font is set in the gc before making the measurement. In tests, this appears to work correctly now... More opinions welcomed! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-10Pushing this as a possible fix for STR #2622.Ian MacArthur
This might not be correct (though I think it is) but should be no worse than the current mess I made... Please test with as many different win32/64 compilers as possible and let me know! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-07Restoring correct keyboard handling under Mac OS X 10.5.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8642 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-07Fix STR #2619. An extra FL_MOVE event is sent on X11 after the menu item is ↵Manolo Gouy
selected by the keyboard. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-06Fix STR #2620. Obeys the tab distance value set by ↵Manolo Gouy
Fl_Text_Buffer::tab_distance(int). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8640 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-06Fix STR #2613. Allows a menu item to be invisible but with functional shortcutManolo Gouy
as authorized by the doc. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-06Modified tree-simple to demonstrate specifying front+back slashes in tree.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8635 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-04Fl_Tree mods for handling escaped item menu names.Greg Ercolano
Docs clarified. Also, tree-simple example's callback handler brought up to date. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8632 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-01Fix STR #2616. This is a very indirect consequence of the fix made for STR #2594Manolo Gouy
that allowed to set the focus to an Fl_Window. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8631 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-01Fixed drawing artifacts when scrolling round boxes (FL_ROUND_UP_BOX andAlbrecht Schlosser
FL_ROUND_DOWN_BOX) on Linux (STR #2615). This was done by (a) setting the line width in the box drawing function (was undefined, maybe 0) (b) taking care of zero and negative line width in X11 clipping functions. Both solutions would have solved the particular problem individually. Additionally made local helper function fl_arc_i() in src/fl_round_box.cxx static to avoid name clashes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8630 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-05-01Modify the utf8 test demo code to handle surrogate pairs.Ian MacArthur
It was hard coded to cover the range 0 to 0xFFFF, i.e. the Basic multilingual plane, even though the demo code allowed any start index, for any plane, to be entered on the CLI... As a result, attempts to view supplemental planes were always just folded back into the BMP. This change makes the code display the 64K Unicode points starting at the index given on the CLI, so that the supplemental planes *can* now be viewed and tested. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-29Corrected spurious FL_NUMLOCK setting.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8628 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-27Reorganized keyboard input-handling code.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8626 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-27Fix STR #2612: added missing #include <X11/keysym.h>Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8625 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-26Added function keys F13 - F16 and corrected backslash key.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8624 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-24Documentation updates, also fixing STR #2574, trying to make clearAlbrecht Schlosser
which events invisible and inactive widgets can get. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8623 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-24Fix STR #2596: Fluid generated improper callback member functions for Manolo Gouy
Fl_Menu_Item's in widget classes. Fixed with OP's patch. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8622 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-23Documentation fixes and a few indent corrections.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8621 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-23Fixed potential uninitialized pointer usage.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8620 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-22Mac OS: exact implementation of the Fl::screen_dpi() function.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8619 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-22Fix STR #2608: the bug had been introduced by r.8552 to solve STR #2598.Manolo Gouy
The new code makes the STR #2598 changes unix-specific so it does not interact with the WIN32 platform. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8618 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20Fixed keyboard navigation in fl_choice() (STR #2591)Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20Reverted changes done in svn r 7788 for STR #2420 ("Tab-Navigation focusesAlbrecht Schlosser
non-active_r() widgets"). This must be investigated further, and if necessary, solved differently. STR #2420 will be reopened... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20Updated dependencies.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20Fixed alpha blending under X11 when line data size != 0 (STR #2606)Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-20Added some test parameters for fine tuning of image tests. These parametersAlbrecht Schlosser
are implemented as compiler macros and can only be edited manually to test different implementation details. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-19Added fallback mechanism if malformed UTF-8 is used for a window title.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8608 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-19Misc code cleaning.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121