DDUMONT / Config-Model-TkUI-1.344 / Changes

1.344 2014-05-20

    * LeafEditor: use Path::Tiny instead of File::Slurp (RT #95691)
    * Removed 'experience' property from interface (which fixes the crash
      occuring with Config;:Model 2.056)

1.343 2014-05-04

	* fixed number of tests issue detected by smoke tests

1.342 2014-05-02

    * List editor:
      * sort button calls list->sort() (requires Config::Model 2.052)
      * replaced push button with insert at selection (for list of leaves)
      * added insort button (for list of leaves)
    * removed asynchronous code
    * removed dependency on AnyEvent

1.341 2014-03-02

    * annotation editor: 
      + add save/del button (requires Config::Model 2.050)
    * TkUI: 
      * removed experimental given/when
      * also show items with warning or error when showing only customized items.

1.340 2013-08-29

    This release fixes some long standing bug where warning and
    online help were not displayed in the GUI.

	In more details:
    * TkUi: reload tree when async store is finished
    * ListEditor: show warnings
    * LeafEditor: forgot to pack help frame
    * AnyViewer: lock pod help widget to 5 lines

1.339 2013-03-23

    * LeafEditor: Th tree on the left side of the window is
      refreshed only once the async store is done.
    * requires Config::Model 2.030.
    * test: avoid AnyEvent and Tk lockup
    * build requires AnyEvent

1.338 2013-03-15

  * LeafEditor: fixed external editor invocation to deal with utf-8

1.337 2012-05-29

  * TkUI: 
    * added 'show only custom values' check button in main panel
    * Bound 'Return' (aka Enter) key to begin search in the find widget
      (the one in 'Edit -> Find' menu)

1.336 2012-05-29

  * replace deprecated get_all_indexes with fetch_all_indexes 
    (requires Config::Model 2.017)
  * view_unsaved_change widget can now be expanded
  * fix dependency on Test::Memory::Cycle 
    (with '::' between Memory and Cycle)

1.335 2012-05-06

    * TkUI: enable quitting even if no data is to be saved
    * removed todo list. Added 'more info' help item
    * renamed show_changes menu into show_unsaved_changes

1.334 2012-05-05

    * main widget (TkUI):
      + added show_change menu entry. Offer the same possibility
      when asked about saving before quitting
    * leaf editor:
      * Fix external editor call so the user can continue edition
	from widget to external editor without loosing modification
	already done in the text widget.
      + added ballon and changed button label to help user
    * require Config::Model 2.014
    * build-depend on Test::MemoryCycle

1.333 2012-03-20

	* Fix error when updating a leaf value through NodeEditor

1.332 2012-03-14

	* Hash editor: enable buttons when mouse button-2 is released
	* wizard: clarify stop button. Added quit button
	* Leaf editor: grab focus when using external editor
	* Depends on Config::Model >= 2.001

1.331 2011-11-30

    * dist.ini (hence Build.PL): Depends on Config::Model 1.263
      (Fixes a bug triggered by new NodeEditor widget)

1.330 2011-11-29

    * dist.ini (hence Build.PL): added Tk::Pod dependency
      (Fix RT# 72229)
    + NodeEditor: Added widget to add element when node has 
      an accept clause 
    * TkUI: trim also default value displayed in tk tree 
    * ListEditor: do not update list widget when modif was 
      refused by Config::Model

1.329 2011-10-10

	* ListEditor: signal TKUI that data needs to be saved when list is
        * LeafEditor: do not clear entry when input is wrong. This is
        * TkUI: updated license wording to keep Debian lintian happy

1.328 2011-09-23

	* ListEditor: enable apply_fix button
	* TkUI: Restrict cut buffer paste to tree widget

1.327 2011-09-16

    * TkUI.pm:
      * Fixed bug where force display did not work with hash
        keys containing non alphanumeric of space
      * Changed logger class to TkUI (instead of

1.326 2011-09-02

    * added check warning button in list viewer and editor

1.325 2011-05-17

    * TkUI.pm: disable double-click because it trigger
      editor when double clicking outside of Hlist
    * NodeEditor.pm: respect order of element when
      completing the pane widget after warp

1.324 2011-05-17

   * Depends on Config::Model 1.244
   * TkUI: added search widget (menu "Edit -> Search" or
     just hit <Ctrl-F>)
   * ListEditor: fix bug that prevented to push a null value

1.323 2011-04-11

    * LeafEditor: show value help widget only when useful
    * TkUI: added help menu entry to show the config class man page.
    * AnyViewer: use Tk::Text::Pod to display on-line help
    * Paste on List items will push content of cut buffer into the list
    * ListEditor: reworked layout for better usability, added sort button
    * HashEditor: reworked layout for better usability

1.322 2011-03-04

        * Changed nb of skipped tests (fix test plan issues
         when Tk cannot be run)

1.321 2011-03-01

        * TkUi.pm: renamed 'check' menu to 'check for errors'. Added 'check for warnings'
        * AnyViewer: renamed warning widget to 'issue'. Display errors with red background
        * NodeEditor: added widget to edit node annotations

1.320 2011-01-11

        * LeafViewer: removed 'apply fix' button. This one is reserved for 

1.319 2011-01-09

        * LeafEditor: added fix button to fix warnings (if model provides a fix)
        * Wizard: clicking on next or previous does save value from wizard. 'stop' button
          will use new bail_out method from WizardHelper.

1.318 2010-12-21

	* ListEditor: changed label of push button (minor)
	* Run-time depends on File::Slurp
	* LeafEditor: added external editor button

1.317 2010-11-05

        * TkUi.pm: in Tk::Error call Show on Dialog to avoid masking errors

1.316 2010-10-19

	* dist.ini/Buil.PL: added missing test dependency
	* LeadEditor: fix check call

1.315 2010-10-19

	* Do no check value when creating widgets. Values will be checked
	  when saving file
	* ListEditor: update 'set selected' entry when a list item is selected"

1.314 2010-10-15

	* removed stuff obsoleted by Config::Model 1.212
	* Depends on Config::Model 1.212
	* added utf8 characters in tests

1.313 2010-10-08

	* Added display of configuration warnings provided by
	Config::Model 1.211 
	* Depends on Config::Model >= 1.211

1.312 2010-10-04

	* lib/Config/Model/TkUI.pm (disp_hash): Fixed the synchronize ordered 
	hash display. It used to close displayed hash elements when modifying a value
	well below the hash :-( .

1.311 2010-09-10

	* lib/Config/Model/Tk/HashEditor.pm (Populate): usability improvement:
	  copy selected entry text into item when keep is set
	* lib/Config/Model/TkUI.pm (disp_hash): Synchronize ordered hash display in
	tree with respect to the hash editor

1.310 2010-09-10

	* lib/Config/Model/Tk/HashEditor.pm (Populate): Fix bug that messed up 
	  effects of 'add' and 'move_down' buttons.

1.309 2010-08-08

	* lib/Config/Model/Tk/AnyViewer.pm (add_help): Fix bug that hid
	summary and help text

1.308 2010-07-22

	* MANIFEST.SKIP: added libconfig to avoid accidental upload of
	Debian test packages

1.307 2010-07-19

	* lib/Config/Model/Tk/Wizard.pm (destroy_wizard): correctly
	destroy wizard widget when quitting. Also main window is hidden
	while wizard is running

	* lib/Config/Model/Tk/ListEditor.pm (move_down): fixed to move
	past element nb 2.

	* lib/Config/Model/Tk/HashEditor.pm (Populate): Following
	Krzystof's usability suggestion (http://tyszecki.org/), buttons
	are disabled when list selection or entry are empty.

	* Added annotations viewer and editor for Leaf, List, CheckList, Node,
	and Hash. This enable to view and edit comments in configuration files when 
	the backend support reading and writing comments into Config::Model annotations

1.306 2010-03-29

	* Build.PL: Depends on Config::Model 1.001

	* lib/Config/Model/Tk/*.pm: Put back VERSION number and bumped
	them all to 1.305 to make CPAN indexer happy

1.305 2010-03-27

	* Build.PL: depends on Pod::POM and on Config::Model >= 1.001

	* lib/Config/Model/TkUI.pm (Populate): bound Ctrl-C and Ctrl-V to
	copy and paste in configuration tree widget.
	(Populate): use Pod::POM to display help from pod documentation

	* lib/Config/Model/Tk/Wizard.pm: Force tree to show item to edit
	when displaying the wizard page for the item.

	* lib/Config/Model/TkUI.pm (on_cut_buffer_dump): When button-2 is
	pressed above a lead, store cut buffer content in the leaf. When
	pressed above a hash, creates a new hash key for each line in the
	cut buffer.

	* lib/Config/Model/Tk/AnyViewer.pm (add_info_frame): display
	config parameter location in the tree on the top of all editor and
	viewer widgets. This will make the wizard easier to use.

	* lib/Config/Model/Tk/NodeEditor.pm (fill_pane): Stored entered
	data when widget looses keyboard focus

1.304 2010-03-12

	* lib/Config/Model/TkUI.pm (disp_hash): Fix bug that messed tk
	tree content after deletion of list elements

1.303 2010-02-26

	* Build.PL: Depends on Config::Model 0.643

	* lib/Config/Model/Tk/HashViewer.pm (): Changed min and max calls
	to min_index and max_index

	* lib/Config/Model/Tk/AnyViewer.pm (add_help): added some padding
	aroung help text. Thanks to Eva Ganglbauer for the usability
	advice. (More advices are left to implement :-p )

1.302 2010-01-21

	* lib/Config/Model/Tk/NodeViewer.pm (reload): Correctly update
	value column when called

	* lib/Config/Model/Tk/HashEditor.pm (Populate): Mark data as
	modified when deleting all items of a hash.

	* examples/model.pl: Simple model and graphical interface
	example. Thanks to Alexander Becker. (RT 49999)

	* lib/Config/Model/Tk/LeafEditor.pm (try): Avoid warnings
	(RT 49999)

	* lib/Config/Model/TkUI.pm (save): trap write_back error.

1.301 2009-09-04

	* lib/Config/Model/Tk/NodeEditor.pm: New widget to edit several
	config items in the same widget.

	* lib/Config/Model/Tk/NodeViewer.pm (Populate): Provide more
	details (type and if possible value) on node elements.

	* lib/Config/Model/TkUI.pm (Populate): Use 'beginner' as default
	experience level

	* lib/Config/Model/Tk/Wizard.pm: New file. Provides generic wizard
	for configuration edition. This wizard can be run at different
	experience (beginner, advanced or master).

1.211 2009-06-28

	* lib/Config/Model/TkUI.pm (save): don't pass undefined dir
	parameter to avoid breaking write back function. (Fixes save
	problem Config::Mode::OpenSsh 1.206)

1.210 2009-06-23

	* lib/Config/Model/Tk/LeafViewer.pm (add_info): use
	upstream_default() method instead of deprecated built_in().

	* lib/Config/Model/TkUI.pm (Populate): added -title option so the
	application can set the title of the TkUI window

1.208 2009-04-07

	* lib/Config/Model/Tk/HashEditor.pm (Populate): Improved widget
	ergonomy. Added some balloon help.

	* lib/Config/Model/Tk/*.pm (): Added display of summary

1.207 2009-03-12

	* lib/Config/Model/Tk/LeafEditor.pm (cleanup): new method (and
	Text editor button) to normalize white space in a string. Useful
	when filling configuration parameter description from a man page
	with cut'n'paste.

1.204 2008-12-22

	* *.pm: replaced Tango icons with Crystal icons (LGPL) to comply
	with Debian DFSG.

	* lib/Config/Model/Tk/HashEditor.pm (add_entry): Fixed bug that
	prevented to insert a new item in the middle of an ordered hash

	* lib/Config/Model/Tk/ListEditor.pm (remove_selection): fixed bug
	that displayed wrong indexes when deleting an element of a list of

1.203 2008-10-13

	* lib/Config/Model/Tk/CheckListEditor.pm: added Notebook tab to
	provide 2 ways to edit an ordered checklist: change the
	content (check or uncheck items) or change the order of the
	items. This feature is necessary to correctly edit the Ciphers
	list of ssh_config model (See Config::Model::OpenSsh)

	* Build.PL: Extract version from Config/Model/TkUI.pm (hence the
	bump to v 1.203) so that the pm file versions matches the
	.tgz distribution version.

	* lib/Config/Model/Tk/ListEditor.pm (Populate): Better handles
	list of enum values

	* lib/Config/Model/TkUI.pm (edit_paste): Cut'n'paste improvements
	for list elements

	* lib/Config/Model/Tk/ListEditor.pm (swap): No more hiccups when
	moving list items past boundaries. Indexes are no longer moved in
	the rightmost box when moving node items in a list. It was
	confusing to have array indexes in the wrong order.

0.202 2008-07-25

	* lib/Config/Model/Tk/ListEditor.pm (Populate): can now move up
	and down node list items. This is handy when order of nodes is

0.201 2008-06-18

	* lib/Config/Model/TkUI.pm (Populate): Replaced "placeholder" with logo
	(edit_copy): Bug fix that prevented copying hash elements.

0.105 2008-05-07

	* lib/Config/Model/TkUI.pm (): Added Edit menu with copy and paste
	entries. (No, there won't be a 'cut' entry).

	* lib/Config/Model/Tk/LeafEditor.pm: Fix bug in value help display

	* lib/Config/Model/Tk/HashEditor.pm (move_selected_to): Fixed move
	within ordered hash

	* lib/Config/Model/Tk/ListEditor.pm (set_all_items): new method to
	set a list with a list of words. They can be separated by commas,
	white spaces or any non-alphanumeric character (e.g. /\W+/)

	* lib/Config/Model/Tk/HashEditor.pm: Select and show new items in

	* lib/Config/Model/TkUI.pm: Add debug menu (rely on
	Tk::ObjScanner).  Bug fix related to configuration check

	* TkUI CheckListEditor and Viewer: Reworked for better edition

0.104 2008-04-03

	* lib/Config/Model/TkUI.pm: added File->check menu entry

	* lib/Config/Model/Tk/HashEditor.pm ():added up and down buttons
	for ordered hashes

	* lib/Config/Model/NodeViewer.pm: Fix bug that prevented
	view of root configuration class

	* lib/Config/Model/Tk/ListEditor.pm: Reworked to provide better
	list editor. Hash and List editor are now handled by separate

	* lib/Config/Model/TkUI.pm (disp_leaf): cut long string in HList
	display (on the left)

0.103 2008-03-12

	* t/config-model-ui.t (inc_d): Fixed test to load TkUI instead of

0.102 2008-03-07

	* Renamed TkUi.pm to TkUI.pm to fit Module list declaration
	* TkUI.pm (Populate): added -store_sub option
	* all: Moved to svn
	* all: Changed keywords substitution to fit svn

Hosting generously
sponsored by Bytemark