Article #1183: FLTK 1.3.x Weekly Snapshot, r9405

   
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Articles | Show Comments | Submit Comment ]

Article #1183: FLTK 1.3.x Weekly Snapshot, r9405

Created at 04:01 Apr 27, 2012 by mike

A new weekly snapshot of FLTK 1.3.x (r9405) is now available on the download page:

    http://www.fltk.org/software.php?VERSION=fltk-1.3.x-r9405

Commit Log:

------------------------------------------------------------------------
r9405 | greg.ercolano | 2012-04-26 19:11:37 -0700 (Thu, 26 Apr 2012) | 6
lines

Added a new example to demonstrate complex widgets as children
of a tree with custom resizing behavior, selectable contents, etc.

Also demonstrates the need for the new FL_TREE_ITEM_HEIGHT_FROM_WIDGET
feature.


------------------------------------------------------------------------
r9404 | greg.ercolano | 2012-04-26 19:03:48 -0700 (Thu, 26 Apr 2012) | 20
lines

o Added FL_TREE_ITEM_HEIGHT_FROM_WIDGET option to item_draw_mode()
  to allow widgets to control the size of items in the tree
  (instead of vice versa).

o Added item_draw_mode(int) to allow for easier bitflag maintenance,
  since enums don't seem to be typesafe yet.

o Tree demo modified to demonstrate this feature.
  An important feature for adding large widgets to tree items.
  Will probably add an example, 'tree-of-tables' to demo this usage.

o Small doc fixes.

o Had to rename FL_TREE_ITEM_DRAW_WIDGET_ONLY to
FL_TREE_ITEM_DRAW_DEFAULT.
  Its meaning for the bit fields changed when new bit fields were added.
  (The prev name just didn't make sense in the new context. Since it was
  just a few svn commits old and an unreleased ABI feature, it shouldn't
  affect anyone not in R&D)


------------------------------------------------------------------------
r9403 | fabien | 2012-04-23 21:58:28 -0700 (Mon, 23 Apr 2012) | 1 line

Optimized final string ending sorting test
------------------------------------------------------------------------
r9402 | fabien | 2012-04-23 21:50:56 -0700 (Mon, 23 Apr 2012) | 1 line

Optimized unnecessary use of strlen()
------------------------------------------------------------------------
r9401 | greg.ercolano | 2012-04-23 21:47:49 -0700 (Mon, 23 Apr 2012) | 2
lines

allow 'open all' button to include root.

------------------------------------------------------------------------
r9400 | greg.ercolano | 2012-04-23 21:45:03 -0700 (Mon, 23 Apr 2012) | 3
lines

Fixes STR #2796
Prevent situations where user finds themselves scrolled past bottom of
tree.

------------------------------------------------------------------------
r9399 | fabien | 2012-04-23 21:42:46 -0700 (Mon, 23 Apr 2012) | 1 line

Fixed comments
------------------------------------------------------------------------
r9398 | fabien | 2012-04-23 21:40:50 -0700 (Mon, 23 Apr 2012) | 1 line

Fixed indentation as specified by the CMP
------------------------------------------------------------------------
r9397 | fabien | 2012-04-23 21:32:51 -0700 (Mon, 23 Apr 2012) | 1 line

Fixed a sorting issue w/ different sizes
------------------------------------------------------------------------
r9396 | fabien | 2012-04-23 20:52:00 -0700 (Mon, 23 Apr 2012) | 1 line

improved ascii strcasecmp, and use it in font sort instead of strcasecmp
------------------------------------------------------------------------
r9395 | fabien | 2012-04-23 20:34:26 -0700 (Mon, 23 Apr 2012) | 1 line

Fixed more warnings in VC2010 32+64 bits builds
------------------------------------------------------------------------
r9394 | fabien | 2012-04-23 19:44:21 -0700 (Mon, 23 Apr 2012) | 1 line

Fixed even more warnings in Fl_x.cxx & utf8Wrap.c
------------------------------------------------------------------------
r9393 | fabien | 2012-04-23 19:28:51 -0700 (Mon, 23 Apr 2012) | 1 line

Fixed a warning in utf8Wrap.c
------------------------------------------------------------------------
r9392 | fabien | 2012-04-23 19:06:52 -0700 (Mon, 23 Apr 2012) | 1 line

removed more 64 bits warning in curve/arc demos
------------------------------------------------------------------------
r9391 | fabien | 2012-04-23 19:03:10 -0700 (Mon, 23 Apr 2012) | 1 line

removed 64 bits warning in arc demo
------------------------------------------------------------------------
r9390 | fabien | 2012-04-23 18:12:54 -0700 (Mon, 23 Apr 2012) | 1 line

Added range test in new fl_ascii_strcasecmp to avoid potential false
positives.
------------------------------------------------------------------------
r9388 | matt | 2012-04-23 13:12:06 -0700 (Mon, 23 Apr 2012) | 1 line

Reverted flags in Fl_Widget to protected.
------------------------------------------------------------------------
r9385 | greg.ercolano | 2012-04-23 09:31:51 -0700 (Mon, 23 Apr 2012) | 10
lines

Various Fl_Tree enhancements:
    o Added keyboard navigation table
    o Added Shift-Click to extend selection, Ctrl-Space to toggle
selection, Enter key toggle
    o Added protected extend_selection(from_item,to_item)
    o Cleanup of Fl_Tree::handle()
    o Limit ^A to multi-select mode only
    o Disable focus box in SELECT_NONE mode
    o test/tree: changed default mode to 'multiselect' (most often needs
testing)


------------------------------------------------------------------------
r9382 | AlbrechtS | 2012-04-23 02:47:04 -0700 (Mon, 23 Apr 2012) | 2 lines

Fix STR #2819 (include dirent.h on Windows/MinGW).

------------------------------------------------------------------------
r9381 | greg.ercolano | 2012-04-22 10:42:18 -0700 (Sun, 22 Apr 2012) | 2
lines

Fixed problem with linespacing(): should not affect widget() size

------------------------------------------------------------------------
r9380 | greg.ercolano | 2012-04-22 07:21:08 -0700 (Sun, 22 Apr 2012) | 5
lines

o doc fixes
o new calc_item_height() -> const
o Added a needed ABI ifdef


------------------------------------------------------------------------
r9379 | greg.ercolano | 2012-04-22 06:55:17 -0700 (Sun, 22 Apr 2012) | 2
lines

Forgot tree.fl (should have been in r9377)

------------------------------------------------------------------------
r9377 | greg.ercolano | 2012-04-22 06:40:02 -0700 (Sun, 22 Apr 2012) | 24
lines

Various mods for Fl_Tree
    o Fix STR#2828 (E): {Vertical|Widget} Gap
    o Moved Fabien's reselected methods to Fl_Tree_Prefs,
      return method made const, doxygen, removed underbars from methods
      (to follow general API)
    o Widgets can now appear to the right of labels.
      This can be controlled with
item_draw_mode(FL_TREE_ITEM_DRAW_LABEL_AND_WIDGET)
    o Cleaned up Fl_Tree_Item::draw(), Fl_Tree::draw()
    o New methods:
            marginbottom()       -- [ABI feature] extra space below last
tree element when scrolling
            widgetmarginleft()   -- [ABI feature] space to left of widget
            usericonmarginleft() -- space to left of usericon
            labelmarginleft()    -- space to left of label
            item_draw_mode()     -- control how items, widget() are drawn
    o Updated Fl_Tree docs, tree-elements.png
    o test/tree: added sliders to test the above new features,
      added "open all" and "close all" buttons
    o Probably other stuff..


TODO: Fix "scroll-beyond-bottom" (STR#2796)
TODO: Fix other items in STR#2828


------------------------------------------------------------------------
r9375 | fabien | 2012-04-21 20:09:31 -0700 (Sat, 21 Apr 2012) | 1 line

fixed missing win32 preprocessor clause
------------------------------------------------------------------------
r9374 | fabien | 2012-04-21 19:59:27 -0700 (Sat, 21 Apr 2012) | 1 line

restore transparent_c use for win32...
------------------------------------------------------------------------
r9373 | fabien | 2012-04-21 19:45:09 -0700 (Sat, 21 Apr 2012) | 1 line

Fixed linux 64 gcc 4.6.1 compilation problems
------------------------------------------------------------------------
r9370 | matt | 2012-04-21 17:06:25 -0700 (Sat, 21 Apr 2012) | 1 line

Updated PNG library to current version 1.5.10
------------------------------------------------------------------------
r9369 | fabien | 2012-04-21 10:40:07 -0700 (Sat, 21 Apr 2012) | 1 line

STR 2771 fix cont'd used the new api in scheme(const char*)
------------------------------------------------------------------------
r9368 | fabien | 2012-04-21 10:21:11 -0700 (Sat, 21 Apr 2012) | 1 line

STR 2771 fix: introduce a new ascii strcasecmp that does not rely on
locale sensitive toupper tolower.
------------------------------------------------------------------------
r9366 | fabien | 2012-04-21 08:05:00 -0700 (Sat, 21 Apr 2012) | 1 line

STR2783: make potential null string substituted to an empty string, still
achieve internal cleanup in Fl_Text_Buffer::text(s)
------------------------------------------------------------------------
r9365 | matt | 2012-04-21 04:13:10 -0700 (Sat, 21 Apr 2012) | 1 line

Fl::arg now removes a command line argument that is added by Xcode. This
will help "Demo" to run again
------------------------------------------------------------------------
r9363 | fabien | 2012-04-20 20:17:40 -0700 (Fri, 20 Apr 2012) | 1 line

STR2726 fix. proper cast should be int as specified in isspace
documentation, not unsigned char
------------------------------------------------------------------------
r9362 | fabien | 2012-04-20 20:02:25 -0700 (Fri, 20 Apr 2012) | 1 line

STR2731 fixing: potential use of unassigned (Y) value
------------------------------------------------------------------------
Download | Home Page | Listing ]

Comments

Submit Comment ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2012 by Bill Spitzak and others. This project is hosted by Seriss Corporation. Please report site problems to 'erco@seriss.com'.