summaryrefslogtreecommitdiff
path: root/src
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-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-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-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-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-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-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-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-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 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-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-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
2005-08-21Bordersize was calculated wrong for borderless windowsMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4531 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-21Fixed CR to CRLF conversion. Thanks for the patch, Alessandro.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-18Fix new trailing slash usage, and restore correct OSX filesystem listingMichael R Sweet
(added filter to hide /dev and /.vol) src/Fl_File_Browser.cxx: - Fl_File_Browser::load(): use getfsstat() API on OSX, and don't bother adding a trailing slash to directories since we already have them! src/filename_list.cxx: - fl_filename_list(): Add 3 bytes (two possible slashes + nul byte) to temporary buffer, and document why we are using memcpy() instead of strcpy(). src/filename_isdir.cxx: - fl_filename_isdir(): Add check for trailing directory separator before wasting time doing a stat() call. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-17This change is controversial. It changes the behavior of fl_filename_listMatthias Melcher
slightly by adding a forward slash after every directory name on every supported OS. Included in this patch is a change in the code that lists mounted volumes on OS X Mac. Apple users, please check. Open FLUID, open the file dialog and clear the current path. You shoudl see a list of mounted volumes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4525 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-17Silly scope bug. Thanks, gccMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4524 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-17Fixed redraw range in Multiline Input with wordwrapping for space characters ↵Matthias Melcher
and for undo. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4523 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-15fl_filename_list now correctly handles path names like 'c:'Matthias Melcher
or 'c:/windows' by listing it contents instead of the filename itself. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4512 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-15Fixed Fl::event_text() for FL_DND_* events on Windows (STR 968)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4511 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-11Remove unnecessary breaks...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4508 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-11Fix fl_vsnprintf bugs, remove VC++.NET link warningsMichael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4507 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-11OS X drag'n'drop now pastes into the correct widget (STR #974)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-11Add support for * width and precision values, and fix potentialMichael R Sweet
infinite loop bug... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4504 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-10Fl_Text_Display now auto-scrolls in all directions (STR #915). This is ↵Matthias Melcher
implemented using a timer event. The scroll speed is proportional to the distance of the cursor to the text area git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4502 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-09Some more scrollbar tweaks from Alessandro for STR #871...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4495 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08On X11, borderless windows will not show in the taskbar anymore (STR #933)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4492 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08Moved some code around so that FLTK will figure out the Matthias Melcher
event_text for dnd text on the first FL_DND_ENTER event and then keep if in a temporary buffer until FL_PASTE or the next DND event. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4491 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-08Fl_Valuator-derived widgets could show more digits than wereMichael R Sweet
necessary (STR #971) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4487 ea41ed52-d2ee-0310-a9c1-e6b18d33e121