summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-10-18STR #unfiled: when using Fl_Menu_::add, the 'flags' field of the last entry ↵Matthias Melcher
in a newly allocated local buffer would not be cleared. If the flag happened to be FL_SUBMENU, this would lead to crash in 'find_item'. The new code clears the entire field. And yes, this has cost me a few hours :-P git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4594 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-13Remove unnecessary includes ("flstring.h" is included by the parentMichael R Sweet
file and includes <string.h> and <ctype.h>...) Add changelog entry. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4593 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-13STR #1012 (Xft): added provided Xft code and cleaned itMatthias Melcher
up a little. Event though the author mentions a few flaws, this is far better than what we had in here before and makes the Xft support actually usable. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4592 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-12Fl_Value_Input now uses the screen-absolute position instead ofMichael R Sweet
the window-relative position when dragging the value; this avoids some jumping conditions (STR #1037) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4591 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-12Fix JPEG jconfig.h header to not include <config.h>.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4590 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-12Rework event loop handling on all platforms for better timer and idleMichael R Sweet
processing (STR #861) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4589 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-10STR #1047 (Mac only): This is an additional fix to the event conversionMatthias Melcher
that I did to the Mac version a while ago. It makes the menus work as expected again. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4588 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-09STR #1044 (Mac only): The font number 12 and 15, usually assigned toMatthias Melcher
the fonts 'Symbol' and 'Webdings', are not translated from ISO to MacRoman anymore. This fixes the problem of not having the correct bullet in the Fl_Help Widget. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4587 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-25Ported FLTK 2 changes to event system on OS X back to FLTK 1Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4585 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-25STR #973: popup menus now pop up fully visible in the current screen if ↵Matthias Melcher
possible and useful. In detail, menus in a menubar will pop up above the title if they would cut into the screen bottom. Submenus will show the *last* item to the right of the parent instead of the first. Finally, Pulldowns with title will simply apppera over the title instead of under the title. There are two exceptions: Menus that have a selected item will not be modified, so the selected item is visible. Hence an Fl_Choice will never have a 'fixed' menu. If putting the menu high would intersect the top frame of the screen, we leave the menu at the bottom. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-25Added Help_Dialog::value() to the help page.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4583 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-25STR #1035: Fl_Help_View now accepts direct buffer loading and reading via ↵Matthias Melcher
'value()' functions. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4582 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-24Don't try to generate a preview image of a directory.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4581 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-24STR #1028" set size ranges for filechooser 'favorites' dialog and for help ↵Matthias Melcher
dialog git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4580 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-24STR #1027: FLUID size_range controls would not set the 'modified' flagMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4579 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-19STR 1026: Text input filed had NO_BOX as its background, so the moving ↵Matthias Melcher
cursor would not be erased. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4577 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-19STR 1025: fixed illeagal acces to delted object. It was meant to set the ↵Matthias Melcher
dirty flag in the parent of course. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4576 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-19Fix char * issues with constant strings.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4575 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-18Remove libsupc++ stuff, since it doesn't work on OSX 10.4 or withMichael R Sweet
other (broken) GCC installs. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4572 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-15STR #1023: some more test programs did not load the OS default colorsMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4570 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-15STR #1007: removed one superfluous ReleaseDC. All demos are running nicely ↵Matthias Melcher
again. I did not see any rendering mistakes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4569 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-14Fonts test program now starts using the correct color schemeMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4568 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-14WIN32, STR #1007: Added some code that looks a lot, but is actually very ↵Matthias Melcher
littl, that keeps track of all window classes that were registered to avoid registering the same class twice. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-13Fixed x-offset problem in Help_Widget (STR #998)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-12Clipboard will persist if owner window is hidden (STR #1019)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4565 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-12How did 79 get into the comment? I don't know.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4564 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-12STR #1007: Applied second patch by hand. OP: could you please check if all ↵Matthias Melcher
changes were made correctly? Thanks! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-09Fix to ambigous function call in my previous FLUID changesMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4562 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-09STR #985: This is a medium size change in the way that FLUID manages widget ↵Matthias Melcher
label sizes. I moved the 'preset' functionality from the 'widget size' menu into the grid setting window. The menu now only changes selected widgets while the setting panel modifies newly created widgets. Settings are stored in the preferences. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4561 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-09Remove unused ptr variable.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4560 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-09This change will make sure that top-level windows will fit inside the screen ↵Matthias Melcher
that contains the original x and y. The previous version would reposition windows in the screen that currently contains the mouse. That feature made it impossible to position tool windows on a second monitor, etc. . This change does not affect popup windows which will still pop up in the screen that has the mouse pointer. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4559 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-08STR #1013: yet another attempt at fixing the precision count in Fl_Valuator. ↵Matthias Melcher
Does this work for everyone? git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4558 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-08STR #1016 : Matthias Melcher
Fixed some more missing modification flag cases in FLUID git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4557 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-05STR #1010: if a widget callback is generated inside a widget class, the ↵Matthias Melcher
static callback uses the parent() function to find the 'this' pointer, instead of the 'user_data()' member, which would be NULL anyways git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4556 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-05STR #1014: FLTK's CR/LF conversion would crash if the clipboard was emptyMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4555 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-30FLUD: This fixes the problem that the children of a Widget_Class_Type are ↵Matthias Melcher
positioned with absolute coordintes. The patch adds another button to the FLUID interface named 'Relative' to the right of the widget position. It is only visible if a Widget_Class_Type is selected. If checked, code will be added that creates an Fl_Group at 0, 0 and later repositions it and all its children into the final position. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4554 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-30FLUID: Grouping and ungrouping would not work inside an Fl_Widget_Class_TypeMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4553 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29Re-Fixed STR 884. I did put the change into the FLUID file, but accidentally ↵Matthias Melcher
into the wrong line, where it got lost. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4552 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29Various Pixel bugs:Matthias Melcher
STR #993, STR #990, and a few others git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29Fixed snapping for interactive resizing of right and bottom border.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29F2 and F3 (move up/down) would not set the "changed" flagMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29Fixed C++ style comments in plain C files (STR #997)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29Fixed signedness of argument to sscanfMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29Slight changes to Fl_Sys_Menu_Bar making it more transparent for multi ↵Matthias Melcher
platform developers. Again, thanks Natevw for the patch. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4546 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29The newly introduce Fl_Widget_Class_Type in Fluid would cause a null pointer ↵Matthias Melcher
when a Menu Item was trying to find the top parent widget. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29This is the text for the previous commit.Matthias Melcher
Fixed reading of corrupt Jpegs. The previous fix would work somewhat on VC6, but should not have worked... . The new fix looks unfamiliar, but seems to work fine. Thanks for the patch to Natevw git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4543 ↵Matthias Melcher
ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-27Update of "CHANGES" file with information about STR#995 .Dejan Lekic
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4542 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-27Fix of cross-compiling (host: *-linux-* , target: *-mingw32) problem. Dejan Lekic
Patch provided by Amir Shalem <amir@boom.org.il> in STR#995 . git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4541 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-26Fixed dirent list by making room for the additional '/' character on ↵Matthias Melcher
directory names. FLTK does not care about the internals of the dirent structure. We only support the member d_name. All other members are non-standard anyways on not available on Win32. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4540 ea41ed52-d2ee-0310-a9c1-e6b18d33e121