Commit Graph

5237 Commits

Author SHA1 Message Date
Fabien Costantini 822bc272fc Fixed linux 64 gcc 4.6.1 compilation problems
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9373 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-22 02:45:09 +00:00
Matthias Melcher 4f7f902a00 Updated PNG library to current version 1.5.10
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9370 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-22 00:06:25 +00:00
Fabien Costantini 1b01c3a94c STR 2771 fix cont'd used the new api in scheme(const char*)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9369 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-21 17:40:07 +00:00
Fabien Costantini 56a184d529 STR 2771 fix: introduce a new ascii strcasecmp that does not rely on locale sensitive toupper tolower.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9368 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-21 17:21:11 +00:00
Fabien Costantini 157a96aa4b STR2783: make potential null string substituted to an empty string, still achieve internal cleanup in Fl_Text_Buffer::text(s)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9366 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-21 15:05:00 +00:00
Matthias Melcher eb9b58c7cc Fl::arg now removes a command line argument that is added by Xcode. This will help "Demo" to run again
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9365 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-21 11:13:10 +00:00
Fabien Costantini 8ec35982ee STR2726 fix. proper cast should be int as specified in isspace documentation, not unsigned char
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9363 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-21 03:17:40 +00:00
Fabien Costantini 226f425443 STR2731 fixing: potential use of unassigned (Y) value
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9362 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-21 03:02:25 +00:00
Greg Ercolano 526efe8a13 > Added ^A to 'select all' when tree has focus
> A user click on the tree's background does a 'deselect all'



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9359 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-19 08:58:22 +00:00
Greg Ercolano 055a7d47ed STR# 2827 cont'd:
> Prevent 'changed' flag from being set during reselect
> test/tree.fl: added chooser so user can test with item reselect enabled|disabled
  (Chooser deactivated if the ABI option is not enabled)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-19 08:50:04 +00:00
Matthias Melcher 55b3b19bbc Wrong SDK in Xcode4 project
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9357 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-19 00:34:40 +00:00
Greg Ercolano c7044ca009 Optimizations for when Fl_Tree is a container of FLTK widgets.
o Don't draw FLTK widgets outside tree's viewport.
   o Added tree-as-container.cxx example program, demos tree 
     w/50k tree items each with 6 widgets (300k total)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-18 15:20:20 +00:00
Greg Ercolano d741da4317 indent fixes
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9355 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-18 08:23:35 +00:00
Matthias Melcher 934bb14fa1 Added Xcode 4 docs
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9354 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-17 20:14:16 +00:00
Fabien Costantini 1d3f79bc23 Made homogen the scope of the new fl_tree enum with previous Fl_Tree_Reason enum.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9350 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-16 03:29:56 +00:00
Fabien Costantini 0f493a9739 Fixed comment was misplaced in new tree api
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9348 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-15 20:47:02 +00:00
Fabien Costantini b31264e473 STR 2827 implementation. Implemented Reselect code and related API all within ABI controlled preprocessor blocks because of new attribute defintion would break ABI anyway. Because the code is already ABI controlled, I took the opportunity to keep keep the REASON enum sorted. Added test code in Tree.fl adequately.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-15 20:11:36 +00:00
Greg Ercolano efe0b2b939 Removed old TODO items that have been addressed.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9346 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-14 20:37:55 +00:00
Greg Ercolano 3cf006f5c3 Solves STR #2681.
Added ABI-breaking Fl_Table::scrollbar_size() with new ABI #ifdefs.
tests/unittests program modified to test this feature if enabled.



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9345 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-14 20:35:56 +00:00
Greg Ercolano db2cca57f1 Added table-with-keynav.cxx to emphasize keyboard/mouse selection
(as per a question on the newsgroup about how to do this..)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9344 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-14 19:45:50 +00:00
Manolo Gouy e0fca85c74 Added missing initialization in Fl_Paged_Device constructor
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9343 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-13 16:57:14 +00:00
Ian MacArthur 6f4c59079f This change to fluid's CodeEditor ought to make it honour textsize changes
that are applied at text buffer creation.

How effective this will be for etxtsize changes that occur later is
another question, but this corrects a problem identified in the
thread "Re: [fltk.general] FLUID fonts earlier



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9341 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-13 14:45:18 +00:00
Greg Ercolano 418dd143f0 ABI modifications to Fl_Tree: deprecate mouse selection hotfix with proper solution.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9340 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-13 02:51:15 +00:00
Albrecht Schlosser c28adce903 Fix typos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9338 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-10 21:18:35 +00:00
Greg Ercolano 6444e23359 fixes to build on IRIX.
(scoping rules for variables declared within for() loops)



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9337 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-10 19:16:44 +00:00
Albrecht Schlosser dfe7fafd92 Fix compiler warning "variable set but not used".
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9334 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-09 12:36:23 +00:00
Manolo Gouy 60d448d150 Removed Fl_Widget::is_fullscreen() that is just another name for Fl_Window::fullscreen_active()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9331 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-09 09:12:34 +00:00
Albrecht Schlosser 91ce609fc7 simplify MinGW install directory check.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9328 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-07 11:56:09 +00:00
Albrecht Schlosser abbd9839bf Fix MS VC++ (2008/2010) compiler error, as discussed in fltk.general in
thread "Compilation error on windows VS 2010 (r9300)" of Mar 24, 2012.
Only the "static" attribute had to be fixed now, since the enum access
problem had been fixed before (r 9325).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9327 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-05 15:04:43 +00:00
Albrecht Schlosser 8ed93f0065 fix a typo and indenting.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9326 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-05 14:30:19 +00:00
Fabien Costantini 8809c5d65d Fixed build error in msvs because Fl ref to FULLSCREEN enum was not accessible in Fl_Widget. new inline is_fullscreen() getter has been implemented to avoid a build error with (at least) msvc compilers. Fixed a ton of warnings / problems when bilding on windows 64 bits target with ms toolchain. cleaned up about 200 warnings raised when building win74 targets.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-05 05:12:30 +00:00
Manolo Gouy 37ea8ba9e6 Mac OS: canBecomeKeyWindow returns NO also for menu windows
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9324 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-04 19:53:11 +00:00
Manolo Gouy cb32ceaf4d Fix STR#2818: (Mac OS) tooltip window takes focus away from input field.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9321 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-04-04 16:33:09 +00:00
Manolo Gouy c2fa0114dd Mac OS: walk back changes from r.9312 that were not a good idea.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9313 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-30 17:38:19 +00:00
Manolo Gouy bc5731c3b7 Mac OS: use last ABI version when compiling with Xcode
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9312 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-30 17:00:31 +00:00
Ian MacArthur 1e5c19b087 Maybe fix for the Fl_Pixmap issue building 9310 on mingw/WinXP.
PLEASE check this is OK, I don't have access to test systems here...



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-29 13:45:11 +00:00
Manolo Gouy ae4d6338b8 WIN32: Fl_Pixmap printing uses a global variable called win_pixmap_bg_color equal to the color
used for the pixmap background, and treats this color as transparent. FLTK assigns to this variable
a color unused by the processed pixmap. In theory this variable should be specific to each processed
pixmap. In practice, it's very unlikely that several values are needed. A new member variable is
added to the Fl_Pixmap object to hold this value. This member is made static if FLTK_ABI_VERSION
< 10302 for ABI compatibility. The correct thing, though, is for a non-static member.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9308 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-28 13:19:33 +00:00
Manolo Gouy 0b6f546b0f Added support for the additional key of ISO keyboards (aka 102-key keyboards) named FL_Iso_Key.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-26 16:54:54 +00:00
Manolo Gouy 08ce2e07d3 Fix STR#2641: true fullscreen windows that cover all their screen including menu bar, task bar, dock.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-23 16:47:53 +00:00
Manolo Gouy 8cd98f5236 Mac OS: Allow keyboard input with borderless windows
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9294 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-22 13:58:38 +00:00
Manolo Gouy 32d4bc4099 Fix STR#2810: removed all uses of function Fl_Device::class_name().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9293 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-18 18:48:29 +00:00
Manolo Gouy 53ccc78759 Removed duplicated code when printing pixmap on WIN32.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9291 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-17 17:35:02 +00:00
Manolo Gouy c41d3ac3f3 Fixed error in printed color of Fl_Bitmap
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9284 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-14 15:59:02 +00:00
Manolo Gouy da96b83903 Moved a few local variable declarations.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-14 09:51:22 +00:00
Manolo Gouy 7d0b5d05cb Simplified Fl_Paged_Device::print_window() under Mac OS
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-14 08:49:36 +00:00
Manolo Gouy f6cb583e27 Replaced fl_copy_offscreen_with_alpha() by Fl_GDI_Graphics_Driver::copy_offscreen_with_alpha() and
fl_create_offscreen_with_alpha() by Fl_Quartz_Graphics_Driver::create_offscreen_with_alpha()

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9278 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-12 11:55:50 +00:00
Manolo Gouy 4715e1593e Use a new Fl_Quartz_Graphics_Driver or Fl_GDI_Graphics_Driver instance when printing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9276 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-12 09:39:17 +00:00
Manolo Gouy c9303f2c83 Added needed initialization in Fl_Graphics_Driver constructor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9274 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-11 18:58:55 +00:00
Manolo Gouy de254a0070 Fixed error in vktab[] table.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9273 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-10 15:52:44 +00:00
Manolo Gouy 719f72b501 Mac OS: renamed compute_macKeyLookUp() to fl_compute_macKeyLookUp().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9271 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-03-10 08:45:44 +00:00