summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-04-07Modified Fl_Quartz_Graphics_Driver::width(unsigned int wc) so it handles ↵Manolo Gouy
properly cases with wc > 0xFFFF. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8569 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-06Further work to fix win32 handling of surrogate pairs for "high" Unicode ↵Ian MacArthur
points... Now fixed handling of rotated text version of win32 draw method. Fixes to the various ::width() methods for win32 and OSX still TBD. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8568 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-06Initial work to fix handling of surrogate pairs on win32 - draw() was not ↵Ian MacArthur
handling any Unicode char above U+FFFF as we did not handle the case where more than one UTF16 cell was required to hold the full glyph. This change works, but is incomplete, other sections of the win32 code (and possibly OSX code) are making the same invalid assumptions about UTF16 chars. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-06Fixed problem with void function trying to return a value.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-06Added Fl_Printer::driver(void) function that can be useful.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8565 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-06Window title bars are now printed with their rounded angles.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8564 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-06Added function Fl_Printer::set_current() that may be useful.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-05Mac OS: Fl_Window::resize() shd not modify the maximum window size if it is 0.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8562 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-05Removed an NSAutoreleasePool allocation/release.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8561 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-05Mac OS: the "Print Front Window" item of the application menu now prints ↵Manolo Gouy
also the title bar. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8560 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-05Removed usage of NSMainMenuWindowLevel to use only 3 window levels.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8559 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-04Fix error that can happen with some 3rd party fonts lacking certain size ↵Manolo Gouy
information. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8558 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-03Mac OS: removed duplicate FL_KEYBOARDS events with function and modifier keys.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8557 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-01about STR #2599: - fix the synchro between key presses and key eventsManolo Gouy
- implement character palette input by FL_PASTE events git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8555 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-01Updated dependencies.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8554 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-01Fixed dependencies of bundled libs, corrected a typo.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8553 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-01Fix STR #2598 with OP patch.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-04-01Mac OS: fixes in STR #2588 the warning message "_createMenuRef called with ↵Manolo Gouy
existing principal MenuRef already associated with menu". git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-30Mac OS: Make the Fl::event_key() function distinguish between left and right ↵Manolo Gouy
modifier keys. Also, don't rebuild the application menu if one is already there. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-30Documentation updates and typos.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-30Removed global variable appleMenu.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-29Fix STR #2588. FLTK was subclassing a very important system-defined class ↵Manolo Gouy
NSApplication. This created conflict with other libraries that do the same. This STR reports that Tcl/Tk is one such library. The fix removes any NSApplication subclass usage in FLTK, and requires to initialize the NSApplication-subclassing library before calling fl_open_display(). In this condition an FLTK application can also use an NSApplication-subclassing library such as Tk. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8546 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-29Added info about where to find Mac OS virtual keycodes.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-29Set svn properties.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-29Minor change.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8543 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-28Mac OS: simplified the handling of text input:Manolo Gouy
use the FLTextView subclass of NSTextView only for Mac OS < 10.5 because it's not necessary for Mac OS >= 10.5 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8542 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-28Mac OS: added field subwindow to Fl_X class that is true if this is a subwindow.Manolo Gouy
Useful when deleting a window because subwindows share their xid with their parent window (unlike under MSWIn or Xlib), so subwindows should not delete their xid. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8540 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-27Enhanced documentation of Fl::event_inside() to mention the restrictionsAlbrecht Schlosser
WRT subwindows and when using the window itself as the widget argument. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8538 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-26Mac OS: added gl_texture_reset() function to be called when deleting an ↵Manolo Gouy
Fl_Gl_Window git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8537 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-26Mac OS: Fixed bug where gl_draw() would fail after deletion of an Fl_GL_Window.Manolo Gouy
The fix invalidates the pile of string textures after each Fl_Gl_Window deletion. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-25Fix STR #2595. Mac OS. When deleting a subwindow, don't delete the Cocoa window Manolo Gouy
(xid) attached to it because it is in fact the Cocoa window of its parent window. I check that by making sure that none of the windows in the window list uses this Cocoa window. Is there a better algorithm ? git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8534 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-25Fix 2nd issue of STR #2594: Fl::focus() now informs Mac OS when the focus Manolo Gouy
changes window. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8533 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-25Fl::focus(): allows the focus to be set to an Fl_Window widget.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8532 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-25Mac OS: implement the Cocoa equivalent of Carbon's kEventWindowHidden handler.Manolo Gouy
Positive effect visible with the clock demo. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8531 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-24Fix STR #2594: the focus after creating a new window was not set correctlyManolo Gouy
because some code present in Fl_mac.cxx was not reflected in Fl_cocoa.mm. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-22PostScript support: simplified the Fl_PostScript_Graphics_Driver class by ↵Manolo Gouy
removing the draw_scaled_image(_mono)() member functions. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8528 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-22Mac OS: correct handling of fl_draw_image() call with L > W*D when printing.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8527 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-21Fix STR #2587: under Xlib, the X input method must be reset by the ↵Manolo Gouy
Fl::compose_reset() function. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8522 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-20Fix STR #2589: incorrect cohabitation of modal and non-modal windows.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8521 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-12Fix STR #2575: use the screen that intersects most of the window when made ↵Manolo Gouy
fullscreen. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-04Mac OS: modified the definition of the fl_mac_os_version global variable to ↵Manolo Gouy
allow v 10.10.10 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8504 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-02Changed copyright year to 2011Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8499 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-01STR 2580: the first Fl::add_timeout() call now calls fl_open_display() ↵Manolo Gouy
because that is necessary for timeout events to be recovered by the event loop. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8489 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-03-01STR 2580: Fl::add_fd() now calls fl_open_display() because that is necessary ↵Manolo Gouy
for the fd event to be recovered by the event loop. Before main() is called, only fl_mac_os_version is initialized. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8488 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-28The got_events global variable is now updated when an event is processed by ↵Manolo Gouy
do_queued_events git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8486 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-26Suppress warnings in fl_init_xim. Only the very first warning messageAlbrecht Schlosser
will be issued (STR #2578). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8478 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-25Removed extraneous '\n' from Fl::warning() calls in src/Fl_x.cxx.Albrecht Schlosser
Note: '\n' is added in the default Fl::warning() handler function and should not be in the format string. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8473 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-25Un-inlined Fl_Window::icon() methods to make them easier to extend w/oAlbrecht Schlosser
breaking the ABI. See discussion in STR #2563. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8472 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-24Made struct matrix a subclass of Fl_Graphics_Device class to avoid collisionManolo Gouy
with application-defined names. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8471 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-02-24Mac OS only: allows to print a menu window.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8470 ea41ed52-d2ee-0310-a9c1-e6b18d33e121