changelog.txt 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. v.0.9.8
  2. fixed context menu icon wobbl in IE
  3. better error handling (no more infinite loading icon - now marks the node as closed again)
  4. added TREE_OBJ as parameter to async_data
  5. can now copy a node inside itself
  6. when called on a node refresh() no longer reselects all selected nodes
  7. onload was called multiple times in some occasions
  8. CSS fixes, container can once more correctly autosize if overflow:hidden and zoom:1;
  9. RTL improvements (Chrome nightly is OK, in RTL dots in IE7 will brake, still no horizontal scrollbar in Opera in RTL)
  10. fixed Opera horizontal scrollbar (right-to-left mode still has problems)
  11. themes redesign
  12. destroy method die() part had to be rewritten
  13. container can once more have position:relative
  14. nested xml theme fix (was set on every ul)
  15. fixed create function not to selected the newly created node if it will not be renamed
  16. fixed create function to be able to pass children too
  17. fixed create function not to modify the object passed to it
  18. implemented next/prev/parent/children methods
  19. can drag nodes onto an empty tree
  20. can now paste root nodes
  21. Opera xml_flat XSL bug workaround
  22. jsTree should now be "immune" to object & array extending (prototype problem)
  23. minor changes in create & paste functions (when before or after passed as position)
  24. onJSONdata added (so that you can process any JSON to the required structure of jsTree)
  25. v.0.9.7
  26. can now create root nodes with 'create' function
  27. create & paste functions rewritten
  28. check stylesheet - fallback
  29. disabled collapse when clicking below the arrow
  30. numerous bugfixes
  31. context menu is now appended to the body
  32. bringing up the context menu does not change selection
  33. tree can be created in a not yet appended node
  34. refresh node bug
  35. apple theme now works with dots (on/off)
  36. added themeroller support - you can pass the classes in every data type (icons too), the active, hover & highlight classes are automatic
  37. function to get a tree reference by ID
  38. ondelete, oncreate, onmove, oncopy, onrename callbacks now receive additional rollback parameter
  39. added getXML function to get the tree as XML (same as getJSON)
  40. fixed default theme being included multiple times when more than 1 tree is used
  41. fixed rename bug when html entities are used
  42. added ability to pass an xml string as data source
  43. added position argument in create function
  44. option to which button initiates drag'n'drop
  45. added 5px threshold for dragging
  46. Chrome clear float
  47. Fixed scrollbars (issue remains in ff - multiple root elements are not connected with dots)
  48. small bug fixes in classic theme & apple theme
  49. v.0.9.6
  50. smarter drop location calculation (now if hovering a node where the before & after drops are not allowed, the whole node becomes a "inside" drop target)
  51. open_all callback
  52. no more hardcoded background - can now specify container background image
  53. added checkbox theme (with optional onchange callback for tri-state checkboxes)
  54. added apple theme with alternating background (!not compatible with dots)
  55. can now disable a specific cookie type by setting settings.cookies._type_here_ : false
  56. rightclick while dragging cancels drag'n'drop (by ali1024)
  57. CSS rewrite for inline-block, instead of float - speed gain and drag&drop fixes
  58. $.tree_focused() replaces tree_component.focusInst()
  59. $.tree_create() replaces new tree_component(). No more leakage to the global name space. (by Johan "Spocke" Sörlin)
  60. leakage of i and j variables fixed. (by Johan "Spocke" Sörlin)
  61. wrapped in anonymous function (by Johan "Spocke" Sörlin)
  62. added onselect, ondeselect callbacks
  63. context menu in FF3 (linux) fixed (by KasperNyboHansen)
  64. if theme_name is false, no CSS file is included, only images are looked up in theme_path (by groogs)
  65. context menu Create & Delete functions fix for multiselect
  66. reselect bug (by JensGabe)
  67. fixed multiselector bug ($(".demo,#demo").tree...)
  68. rewritten drag events (speed improvements, bug fixes)
  69. now uses jQuery's native live instead of listen plugin
  70. beforeopen and beforeclose callbacks added (by starmonkey)
  71. context menu fix when refreshing (by airbedman)
  72. can now use Dean Edward's packer (by Hafeyang)
  73. create bug fixed (by dantan)
  74. drag_copy bug fixed (by dantan)
  75. theme background bug fixed (by JensGabe)
  76. v.0.9.5
  77. context menu items can be hidden or DISABLED (using the visible function)
  78. fixed theme including on Mac OS (FF, Safari) (by alvin.schur)
  79. fixed async JSON bug when server returned empty result (by JensGabe)
  80. loading icon is now part of the theme
  81. native context menu (by damir.secki)
  82. multiple typeO (by JensGabe)
  83. can now specify attributes for the nested <a> nodes (href, etc) - updated json format
  84. event optimization (fixed bug where beforemove/copy/etc where called from the origin tree)
  85. added scroll_spd setting (the speed at which the container scrolls if dragging near the edge)
  86. fixed scoll while drag & drop
  87. Safari & Chrome drag & drop fix
  88. close_all - no animation
  89. xml_flat and async bug fixed (by Alain)
  90. can supply id in create function (by ludo)
  91. more "IE8 compatible" :)
  92. added support for themes (+2 themes) (by j9850s)
  93. - in any data type if icon does not contain a "/" it is loaded form the theme folder
  94. fixed opening leaf nodes (by Limor.Schweitzer)
  95. dragging bug (by ignoranceisbliss0)
  96. added search functionality (opens all parents and adds class "search" to results)
  97. - if async - a request is made to the server with a GET parameter, that should return commaseparated id's of nodes to be opened
  98. jQuery plugin mode - $().tree({opts})
  99. v.0.9.2
  100. async_data function fixed (by Alvin Schur)
  101. remove enhancement and event order fix (by j9850s)
  102. create bug fixed (by j9850s)
  103. borderTopWidth bug in IE fixed (by me.khaled)
  104. !NO MORE settings.dflt - now settings.selected - false, string or array & settings.opened - array
  105. selected cookie is now CSV (if multiple is on)
  106. getJSON attrib bug fixed (by eddie.con.carne)
  107. negation dragrules - begin with "!" (order is respected)
  108. drag various nodes on the tree (settings.rules.droppable)
  109. jQuery compatible mode (all $ are now jQuery)
  110. fixed remove bug when a node appears as selected but isn't (by nomen)
  111. fixed create bug when passing a name for the new node and the parent node is closed (by Oliver)
  112. async_data added in settings.data - a function to return an object that will be passed to the server in async mode
  113. method added in settings.data - set all requests to GET or POST
  114. v.0.9.1
  115. various minor bugs fixed & optimizations
  116. create function now accepts value & icon for the newly created node
  117. v.0.9
  118. multitree drag & drop - now the receiving tree's dragrules are respected
  119. multitree language cleanup
  120. added instance manager & focusInst function - tree_component.inst & tree_component.focusInst()
  121. fixed get_left, get_right in RTL mode
  122. v.0.8.2
  123. get_* functions receive a "force" argument that selects the node even if hover_mode is on
  124. create function enhancement - can pass a node to create in (by anotherhero)
  125. remove function enhancement - can pass a node to delete (by anotherhero)
  126. fixed drag position in IE (by Nuno Mota)
  127. fixed multitree drag rules check against origin tree (by bogdan)
  128. rename function fix (when ESC is used) (by bogdan)
  129. #marker z-index is now higher (by bogdan)
  130. fixed get_json function (an attrib array can now be passed, icon fix) (by bogdan)
  131. get_left, get_right functions fixed to match explorer functions' behavious (by bogdan)
  132. implemented drag-to-copy - changes the default behaviour from drag to copy, to activate:
  133. - set settings.rules.drag_copy to "ctrl" and drop the dragged nodes with the ctrlKey down
  134. - set settings.rules.drag_copy to "on"
  135. v.0.8.1
  136. fixed renaming bug (by anotherhero)
  137. fixed #marker bug (by anotherhero)
  138. v.0.8
  139. onload callback - fired when:
  140. - the tree is loaded for the first time
  141. - the tree or a node is refreshed
  142. * in dragrules
  143. refreshing a single node is possible (in async mode)
  144. passed json can now be an object, not an array of objects (by Marius Bratu)
  145. onchange called in deselect_branch (by jstreeuser)
  146. id is urlencoded (by Arjan Haverkamp)
  147. v.0.7.1
  148. fixed create bug in async mode (by William)
  149. create function returns the created node (by Nuno Mota)
  150. fixed bug when dropped node did not open branch in async mode (by William)
  151. fixed bug when passing empty array as children (by William)
  152. fixed async xml loading (empty array && recursion problem)
  153. fixed leaf bug (by Nuno Mota)
  154. fixed inside moving to respect the createat rule
  155. v.0.7
  156. native async loading
  157. added lock() function to lock/unlock the tree
  158. added language customization for standard strings
  159. hover_mode option added (for changing hover state with keyboard)
  160. options object refactoring
  161. fixed bug with closing parent of selected if parent is selected (multiple - on)
  162. multiple added (can now be always on - no need for holding Ctrl)
  163. onrgtclk callback added (See commented code on how to prevent default)
  164. fixed bug where Ctrl+clicking selected node did not deselect the node
  165. removed optional XML structure for single language
  166. Google Code issues (typos) (by peter.kalvin)
  167. v.0.6.5
  168. tree now allows for some node sizing (see demo)
  169. fixed bug when created nodes did not have the leaf class (by addwin)
  170. optimized rtl position and images
  171. can now change
  172. fixed changing focus when closing focused node (by Karf)
  173. fixed before- callbacks parameters (by Colin)
  174. fixed dragging position (by Karf)
  175. returned optional path parameter (by Karf)
  176. added ondblclk callback, which defaults to toggle and then select node (by Arno)
  177. tree object is passed as final argument in every callback
  178. v.0.6.0.1
  179. removed bug with switched beforemove/beforecreate callbacks (by Colin)
  180. fixed mistake with mov / TYPE (by newuni)
  181. v.0.6
  182. added drag & drop between trees with correct marker placement
  183. optimized jQuery selectors
  184. added cut/copy/paste + oncopy callback
  185. added error callback - attach custom function to errors
  186. added multiple selection with move & delete
  187. added getJSON - return the tree as an object
  188. added before handlers
  189. optimized css, added 'leaf' class
  190. added basic rtl support (user opinions?)
  191. added cookie support with definable prefix and options - default is false
  192. added if selected node is within closed parent - select parent
  193. added CSS solution when dragging large sets - all inner nodes are closed while dragging
  194. added solid background color option (not white) - set background color on "li.last", ".tree"
  195. added animation support (slideUp/slideDown) - specify duration (disabled for msie 6 - slow)
  196. updated listen plugin
  197. updated sarissa
  198. added insertAt option for creating nodes ('top' or 'bottom')
  199. v.0.5
  200. current language is passed when renaming
  201. added onbeforechange callback
  202. 'data' can be JSON and none (only events attached to structure)
  203. Opera comaptible
  204. scroll node into view when node selected
  205. scroll container while dragging and mouse is near the edge
  206. 'remove' function
  207. rules and rule checking reinvented (added inline_rules, max_depth, max_children, valid_children, renameable)
  208. dots are optional ('toggleDots' function, '.no_dots' classname)
  209. various optimizations