Index: TODO =================================================================== --- TODO (revision 36612) +++ TODO (revision 36613) @@ -3,7 +3,6 @@ 1. For the upcoming release =============================================================================== - BUG: font save bug: FontSave() doesn't handle space (ascii 32) properly [report: Erich] - FEATURE: packager's doc: list external deps for packages (vaguely) [report: fuz] -- BUG: doc: lihata format doc: menu, menu_patch got rnd- prefix - io_lihata: modify default board ext to .rp - FEATURE: dip() should have a pitch parameter, defaulting to 100mil so non-100-mil can be done too [report: barjac] - BUG: doc/developer: Index: developer/lihata_format/root_menu.lht =================================================================== --- developer/lihata_format/root_menu.lht (revision 36612) +++ developer/lihata_format/root_menu.lht (revision 36613) @@ -1,7 +1,7 @@ ha:lht_tree_doc { ha:roots { - ha:menu { + ha:rnd-menu-v* { type=ha name={rnd-menu-v1} desc={Menu file} @@ -104,7 +104,7 @@ } } - ha:menu_patch { + ha:rnd-menu-patch-v* { type=ha name={rnd-menu-patch-v1} desc={Menu patch instructions} Index: developer/lihata_format/tree.html =================================================================== --- developer/lihata_format/tree.html (revision 36612) +++ developer/lihata_format/tree.html (revision 36613) @@ -162,13 +162,13 @@    seen integer   1 if the message got displayed    str string   log message -

ha:menu

+

ha:rnd-menu-v*

type:name value ver description -
ha:rnd-menu-v1     Menu file -
 li:mouse     mouse bindings -
  li:left     actions to execute on left button click +
ha:rnd-menu-v1     Menu file +
 li:mouse     mouse bindings +
  li:left     actions to execute on left button click
   li:press     actions to execute on mouse button press when no modifier is pressed
   li:press-shift     actions to execute on mouse button press when shift is pressed
   li:press-ctrl     actions to execute on mouse button press when control is pressed @@ -175,7 +175,7 @@
   li:release     actions to execute on mouse button release when no modifier is pressed
   li:release-shift     actions to execute on mouse button release when shift is pressed
   li:release-ctrl     actions to execute on mouse button release when control is pressed -
  li:middle     actions to execute on middle button click +
  li:middle     actions to execute on middle button click
   li:press     actions to execute on mouse button press when no modifier is pressed
   li:press-shift     actions to execute on mouse button press when shift is pressed
   li:press-ctrl     actions to execute on mouse button press when control is pressed @@ -182,7 +182,7 @@
   li:release     actions to execute on mouse button release when no modifier is pressed
   li:release-shift     actions to execute on mouse button release when shift is pressed
   li:release-ctrl     actions to execute on mouse button release when control is pressed -
  li:right     actions to execute on right button click +
  li:right     actions to execute on right button click
   li:press     actions to execute on mouse button press when no modifier is pressed
   li:press-shift     actions to execute on mouse button press when shift is pressed
   li:press-ctrl     actions to execute on mouse button press when control is pressed @@ -189,46 +189,46 @@
   li:release     actions to execute on mouse button release when no modifier is pressed
   li:release-shift     actions to execute on mouse button release when shift is pressed
   li:release-ctrl     actions to execute on mouse button release when control is pressed -
  li:scroll-up     actions to execute on scroll wheel scolling up event +
  li:scroll-up     actions to execute on scroll wheel scolling up event
   li:press     actions to execute on mouse button press when no modifier is pressed
   li:press-shift     actions to execute on mouse button press when shift is pressed
   li:press-ctrl     actions to execute on mouse button press when control is pressed -
  li:scroll-down     actions to execute on scroll wheel scolling down event +
  li:scroll-down     actions to execute on scroll wheel scolling down event
   li:press     actions to execute on mouse button press when no modifier is pressed
   li:press-shift     actions to execute on mouse button press when shift is pressed
   li:press-ctrl     actions to execute on mouse button press when control is pressed -
 li:main_menu     root of the main pull-down menu system; ordered list of main menus -
  ha:MENUNAME     main menu name, e.g. "File" +
 li:main_menu     root of the main pull-down menu system; ordered list of main menus +
  ha:MENUNAME     main menu name, e.g. "File"
   m string   mnemonic: single character that should be underlined and used as a hot key in the menu name -
   li:submenu     ordered list of menu items for a submenu -> -
 li:popups     collection of popup menus -
  ha:POPUPNAME     popup menu name, e.g. "layer" for layer context menu +
   li:submenu     ordered list of menu items for a submenu -> +
 li:popups     collection of popup menus +
  ha:POPUPNAME     popup menu name, e.g. "layer" for layer context menu
   m string   mnemonic: single character that should be underlined and used as a hot key in the menu name -
   li:submenu     ordered list of menu items for a submenu -> -
 li:toolbar_static     ordered list (from left to right) of toolbar icons -
  ha:TOOLNAME     tool menu name, e.g. "polyhole" for the polygon hole draw tool -
   te:tip     tooltip for the icon button -
 li:anchored     list of submenus; child of submenu would be copied and appended after ever occurance of the ANCHORNAME -
  ha:@ANCHORNAME     list menu items/subtrees to be copied after each @ANCHORNAME in the menu system -
   li:submenu     ordered list of menu items for a submenu -> -
 ha:scripts     a collection of named action scripts that can be symnlinked from elsewhere in the menu file -
  li:SCRIPTNAME     action script +
   li:submenu     ordered list of menu items for a submenu -> +
 li:toolbar_static     ordered list (from left to right) of toolbar icons +
  ha:TOOLNAME     tool menu name, e.g. "polyhole" for the polygon hole draw tool +
   te:tip     tooltip for the icon button +
 li:anchored     list of submenus; child of submenu would be copied and appended after ever occurance of the ANCHORNAME +
  ha:@ANCHORNAME     list menu items/subtrees to be copied after each @ANCHORNAME in the menu system +
   li:submenu     ordered list of menu items for a submenu -> +
 ha:scripts     a collection of named action scripts that can be symnlinked from elsewhere in the menu file +
  li:SCRIPTNAME     action script
-

ha:menu_patch

+

ha:rnd-menu-patch-v*

type:name value ver description -
ha:rnd-menu-patch-v1     Menu patch instructions -
 te:prio     optional; integer priority value used in ordering the menu files/patches before merging -
 li:patch     ordered list of patch instructions -
  ha:append_menu     append (or overwrite) a submenu tree at a given path -
   te:path     path to a menu item, starting from the menu tree root; e.g. /main_menu/File/Revert -> -
   li:submenu     ordered list of menu items for a submenu -> -
  ha:remove_menu     remove a submenu or menu item at a given path -
   te:path     path to a menu item, starting from the menu tree root; e.g. /main_menu/File/Revert -> -
  ha:overwrite_menu_props     overwrite properties of an existing menu -
   te:path     path to a menu item, starting from the menu tree root; e.g. /main_menu/File/Revert -> -
   ha:props     same as menu properties documented at LEAFSUBMENUNAME +
ha:rnd-menu-patch-v1     Menu patch instructions +
 te:prio     optional; integer priority value used in ordering the menu files/patches before merging +
 li:patch     ordered list of patch instructions +
  ha:append_menu     append (or overwrite) a submenu tree at a given path +
   te:path     path to a menu item, starting from the menu tree root; e.g. /main_menu/File/Revert -> +
   li:submenu     ordered list of menu items for a submenu -> +
  ha:remove_menu     remove a submenu or menu item at a given path +
   te:path     path to a menu item, starting from the menu tree root; e.g. /main_menu/File/Revert -> +
  ha:overwrite_menu_props     overwrite properties of an existing menu +
   te:path     path to a menu item, starting from the menu tree root; e.g. /main_menu/File/Revert -> +
   ha:props     same as menu properties documented at LEAFSUBMENUNAME

li:pcb-rnd-padstack-v*

Index: developer/lihata_format/tree.txt =================================================================== --- developer/lihata_format/tree.txt (revision 36612) +++ developer/lihata_format/tree.txt (revision 36613) @@ -152,7 +152,7 @@ seen integer 1 if the message got displayed str string log message -ha:menu +ha:rnd-menu-v* type:name value ver description ha:rnd-menu-v1 Menu file @@ -203,7 +203,7 @@ ha:scripts a collection of named action scripts that can be symnlinked from elsewhere in the menu file li:SCRIPTNAME action script -ha:menu_patch +ha:rnd-menu-patch-v* type:name value ver description ha:rnd-menu-patch-v1 Menu patch instructions