summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-02-21Simpler Fl_X::q_begin_image() function without matrix inversion that accepts ↵Manolo Gouy
scaling and rotation. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7130 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20Mixed bag. Please see CHANGES.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7117 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20Added Fl_Widget_Tracker in handle() methods etc. to avoid accessing widgetsAlbrecht Schlosser
after deletion (STR #1306). This is all I could find, but maybe there are more places in the code. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7115 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20Removed unnecessary statement when destroying a window.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7114 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-20Fixed Alt+Shift+letter as shortcutManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19Fixed Fl_Preferences Cygwin wide character bug (STR #2164)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7104 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19Fixed sorting in Fl_Browser - last item would not be sorted (STR #2300)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7103 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-19Fixed window levels in OS X Cocoa (STR #2316)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7102 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-18TypoMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7093 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-18Added jpeg loading from memory. Added jpeg Fl_Widget->image() support for ↵Matthias Melcher
Fluid - but linking to fltk_images is required if this feature is used! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7092 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-16changed events dispatching so command+key generates both FL_KEYBOARD and ↵Manolo Gouy
FL_KEYUP events git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7087 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-15removed unused variablesManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7086 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-15Added new type 'Binary Data' to Fluid. Use this to include an arbitrary file ↵Matthias Melcher
as a byte array into your source code. Changes to load jpegs etc. from program memory will follow. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7084 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-11update event_x_root and event_x earlier is more accurateManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7062 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-10allows compilation with gcc-3.3Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7060 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-10closed memory leakManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7059 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-07Reverting previous change (optimization of Fl_Group::clear),Albrecht Schlosser
because fl_throw_focus and fl_fix_focus would send events that could access deleted widgets. This must be fixed first. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-07Optimized Fl_Group::clear() and Fl_Scroll::clear() as discussed inAlbrecht Schlosser
fltk.development in "Fl_Group::clear SLOW!" on Feb. 06/07, 2010 (no STR) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7038 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-02simplifying clipping algorithm: done once in make_current() instead of ↵Manolo Gouy
repeated at each fl_restore_clip() call git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7037 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-01fixes STR 2309 by updating Fl::e_x, e_y, e_x_root and e_y_root after window ↵Manolo Gouy
moves, resizes and activations. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7036 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-29defined macro FL_CGRECTMAKE_COCOA thatManolo Gouy
contains the correct way to transform x,y,w,h into a CGRect adequate for clipping git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-27makedepend updates for all source directories (except src/xutf8).Albrecht Schlosser
src/Makefile: adjusted WIN32 and Mac dependencies test/Makefile: dto. Todo: src/xutf8/makedepend needs to be checked. There are obviously functions and headers that are included in a platform dependent way. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7032 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-26File chooser in preview mode would hand if user selected a special file in ↵Matthias Melcher
the /dev directory. It now shows a recycle symbol and also displays a folder and an empty file message. Untested on anything but OS X - sorry! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7031 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-24Without knowing Cygwin, this seems to make more sense to me?!Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-24Three Cocoa-related changes:Manolo Gouy
- correct window resize in mandelbrot demo - clip to 1-pixel and 0-pixel width now work - modifier key presses are now correctly reported git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-24added explicit cast to remove 64-bit compilation error that sometimes occurManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7028 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-24New texture-based gl_draw implementation now used also in 32-but compilesManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7027 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-24Text color now follows changes in standard colormap,Manolo Gouy
and better OS X version backwards compatibilit of executables. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-24Better OS X version backwards compatibility of executables.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7025 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-24Still not having added Fl_Tree and Fl_Table to Fluid, I remembered the ↵Matthias Melcher
plugin concept we had early on. It occured to me that writing plugins must not be difficult, and that FLTK already has everything needed. So here it is, a plugin implementation for FLTK. The MSWindows/Cygwin implementation is untested due to lack of a machine. The dynamic loading still needs a test implementation. Comments welcome. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7023 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-23Replaced _WIN32 symbols that had crept in with UTF-8 and theAlbrecht Schlosser
new Fl_Table widget with WIN32. Todo: check, if the conditional in test/table.cxx is useful at all git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7022 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-22Fixed a buffer overflow in fl_utf8from_mb() (STR #2279).Albrecht Schlosser
Todo: fix _WIN32 vs. WIN32 compiler macro issues. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7021 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-21fix x86_64 linux buildyuri
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7020 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-17Small indent / whitespace fixups, Manolo's doc modification for Greg Ercolano
Fl_Native_File_Chooser::options. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7015 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-16Checked in Manolo's 'diff.patch' mods from STR #2307Greg Ercolano
for building FLTK with 64bit on Snow Leopard. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7014 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-16Extended Fl_Widget::align_ flag from 8 bits to full (unsigned) size forAlbrecht Schlosser
later extensions (currently all 8 bits are used). Moved the align_ flag to the internal Fl_Label struct (where it should be). There are no API changes, though. I also reordered a few other variables for better alignment, so that there is no size change of Fl_Widget on 32-bit platforms (currently 84 bytes on Windows/32-bit and probably all 32-bit platforms). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7013 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-15Added Fl_Table, Fl_Tree, and Fl_Native_File_Chooser CMake build files.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7010 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-15Fixed a Windows GDI leak when testing alpha blending capabilities,Albrecht Schlosser
simplified code by removing an obsolete if clause. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7009 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-14Checked in on Manolo's behalf; FNFC.patch applied from STR#2298 Greg Ercolano
to include a 'Show Hidden Files' checkbox for linux browser. Small addition to Fl_File_Chooser to support this. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-14Fl_Native_File_Chooser follow up maintenance.Greg Ercolano
* doxygen docs added * Changed all FNFC_XXX macros to full Fl_Native_File_Chooser names for doxygen * Added missing svn $Id tags * Small mods to Manolo's old_dir[] in Fl_Native_File_Chooser_FLTK to use a dynamic string instead of old_dir[300] git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7003 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-14More Native File Chooser stuff.Ian MacArthur
The end of file Id tags aren't expanding correctly - looks like a typo. This is an attempt to fix that! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7001 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-13Added Fl_Native_File_Chooser widget (with manolo's cocoa mods) to FLTK.Greg Ercolano
* Source brought into CMP standards compliance * test program added (test/native-filechooser.cxx) * Tested with linux (Ubuntu8) and with OSX (cocoa and non-cocoa builds) TODO: * Needs doxygen docs from Greg's original HTML documentation * Needs mods to Windows build files * Needs mods to cmake, and other build files * Needs Manolo's latest mods (from STR #2298) mentioned on and after "02:05 Jan 13, 2010" git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6997 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-13Another bug in Fl_PreferencesMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6996 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-12Fl_Preferences now have an API to delete all nodes or entries at once.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6995 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-11Fl_Preferences::copyTo() would fail if there is no tree rootMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6994 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-11Minor bugs in Fl_Preferences::copyTo(). Note to self: increase warning level!Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6993 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-10Added a function to copy an entire Fl_Preferences database into an Fl_Tree ↵Matthias Melcher
view. This will break IDEs that do not have Fl_Tree and Fl_Table added yet! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6992 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-09This is my test implementation of the UUID code for Fl_Preferences.cxx on win32.Ian MacArthur
Tested on XP and Vista and seems to be OK, but needs to be checked by others for confirmation. Any issues and we should just back this out, I think, but I trust that all will be well. The actual implementation is probably "sub-optimal" however, so if someone would like to make it better... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6991 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-07Fixed stupid crash bug in Fl_Preferences.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6990 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-01-04Another update by Manolo.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121