Commit graph

391 commits

Author SHA1 Message Date
rolux
e3e3540ef3 fix icon list 'centered' option and animation 2012-12-13 02:25:32 +01:00
rolux
10d389a9fc update ColumnList 2012-12-11 16:37:48 +01:00
rolux
51bf0498da in TableList and CustomList, expose list api 2012-12-11 16:36:38 +01:00
rolux
68aeaebe3f update CustomList and ColumnList 2012-12-10 17:46:48 +01:00
rolux
c4cf3586df TableList: set Select/Clear CSS according to scrollbar size 2012-12-10 17:44:52 +01:00
rolux
15601552e7 add experimental CustomList and ColumnList 2012-12-10 01:01:29 +01:00
rolux
64085cdc04 add Ox.SortList and Ox.SortDialog 2012-10-28 15:33:29 +01:00
rlx
dfde724a38 Ox.Chart: improve sorting 2012-10-27 18:51:14 +00:00
rolux
41ca92a3d1 off by one in Ox.Chart 2012-10-27 19:46:27 +02:00
rolux
909184fbba add missing 'sums' option to IconList and InfoList 2012-10-26 16:46:14 +02:00
rlx
619f498dae Ox.Chart: make sure bars are at least 1px wide 2012-10-24 12:31:32 +00:00
rlx
dc03bb506a Ox.Chart: add 'limit' option 2012-10-05 11:19:22 +00:00
rolux
075aac449c minor timeout voodoo 2012-09-05 12:05:01 +02:00
rolux
e50d4c22db In Ox.List, pass map option to Ox.api 2012-09-03 22:27:09 +02:00
rolux
a3ddc7c2d4 In Ox.TableList, add a 'sort' property for columns (a function with two arguments, the item's value for this column and the full item object), so that the sort order can now depend on other keys (and we can abandon the pattern of passing the sort value as value and a complicated format function to get the actual value) 2012-09-03 22:26:27 +02:00
rolux
39708edd8b correctly compute list height in Ox.List if horizontal scrolling is disabled in Ox.TableList 2012-09-01 11:46:01 +02:00
rolux
a01ab0ab58 TableList: add clearButton and clearButtonTooltip options, update CSS 2012-08-31 16:57:03 +02:00
rolux
6f545969e4 minor bugfix 2012-08-31 08:54:24 +02:00
rolux
95502a62a1 update enable/disable horizontal scrolling option in table list 2012-08-31 08:51:30 +02:00
rolux
3fcedf2b30 lists: return that from public size method 2012-08-31 00:16:26 +02:00
rolux
2d109d103e TableList: add option disableHorizontalScroll and public methods addColumn, removeColumn, getVisibleColumns, setVisibleColumns and getColumnWidth, and add setColumnWidth as alias for resizeColumn; return that from public size method 2012-08-31 00:16:09 +02:00
rlx
0de55efb96 Menu: parse HTML entities for title property of events 2012-08-13 13:20:07 +00:00
rolux
bda90f6b6b remove Ox.Break 2012-07-05 10:58:08 +02:00
rolux
a0867f0da6 update widget documentation (arguments first) 2012-07-04 13:29:18 +02:00
rolux
0d53dfaf1a fix a bug in tree list 2012-07-02 18:24:30 +02:00
rolux
6cd9472b7c add a fixme 2012-07-02 18:23:50 +02:00
rolux
f5aa547f43 Ox.IconList: don't require 'keys' option if 'items' is a local array 2012-07-02 18:21:09 +02:00
rlx
197f937d86 remove some list voodoo 2012-06-30 19:59:20 +00:00
rlx
f22e5a032d IconList/InfoList: keep self.options.selected in sync 2012-06-30 16:12:05 +00:00
rlx
d57affea4a Ox.List: change 'selected' update handler 2012-06-30 15:05:05 +00:00
rlx
f5901e4a1d Ox.TableList: keep self.options.selected in sync, plus some cleanup 2012-06-30 15:03:43 +00:00
rolux
7df61a8ac9 simplify event passing in Ox.List derivatives 2012-06-30 11:20:37 +02:00
rolux
91275f7171 minor reformatting 2012-06-30 11:18:55 +02:00
rolux
64a182ae1d lists: implement select-as-you-type 2012-06-29 14:19:34 +02:00
rolux
55e2174831 in TableLists, use options.unique, not options.columns[i].unique 2012-06-27 20:38:07 +02:00
rolux
d6dcf33427 fix a bug with computing keys 2012-06-27 20:29:39 +02:00
rolux
8296d3c405 TableList: don't require 'keys' if 'items' is array 2012-06-27 20:28:59 +02:00
rolux
773311d8d7 TableList: add 'unique' option (until now, the unique id had be specified via columns, even if one had no intention to ever display it as a column) 2012-06-27 18:19:24 +02:00
j
9bb6b7bcb9 revert changes undone in #2224 2012-06-27 10:20:11 +02:00
rolux
e38a09cd42 update inline comments 2012-06-27 09:43:28 +02:00
rolux
bdebb03a45 TextList -> TableList 2012-06-27 09:41:10 +02:00
j
75fe62730c Ox.*List do not share updateCallbacks with Ox.List, Ox.clone(self) is passed for event handler 2012-06-26 15:44:22 +00:00
rolux
c301a73e38 TreeList: load in expanded state if options.expanded is true 2012-06-22 09:22:04 +02:00
rolux
5bbce78878 remove unneeded cloning 2012-06-19 19:43:19 +02:00
rolux
e1bd7d0cb3 remove log statement 2012-06-19 19:32:37 +02:00
rolux
3a3354818a List: add query option; fix a bug related to Ox.api returning -1 as position (as opposed to the pandora backend, which doesn't include the id in that case); fix a bug related to determining sizes when items is an array 2012-06-19 14:18:16 +02:00
rolux
68321c7245 IconList/InfoList/TextList: add query option 2012-06-19 14:15:20 +02:00
j
d2e05200da document events 2012-06-18 00:38:26 +02:00
rolux
fe8c97db24 in Ox.List, handle Ox.TreeList items update 2012-06-17 19:13:18 +02:00
rolux
ad368fb819 allow for updating a treelist's data option 2012-06-17 19:12:23 +02:00
rolux
fbeb434e27 remove print statements 2012-06-15 11:47:18 +02:00
j
0b60f45341 fix indent for rows without icon should in treelist 2012-06-15 10:38:32 +02:00
j
3b1fd5c38c fix TreeList rows with no icon, fixes #843 2012-06-15 10:31:38 +02:00
rolux
63d5f04af7 Ox.TreeList: add 'expanded' option 2012-06-13 15:53:20 +02:00
rlx
ba5bea09f0 fix #833 (JS error when collapsing sidebar in timelines view) 2012-06-13 08:37:07 +00:00
rolux
8bc8c57373 use base 10 in parseInt, use Math.floor for numbers 2012-06-13 10:28:21 +02:00
rolux
15264c188f add custom icons to Ox.TreeList 2012-06-12 13:13:23 +02:00
rolux
75665b7d3f remove comments 2012-06-11 13:40:33 +02:00
rolux
c4ad59bdb6 Ox.IconItem: fix a regression related to highlights across linebreaks; add a class to ellipsis 2012-06-04 14:32:58 +02:00
rolux
7582a795ee use new Ox.wordwrap signature 2012-06-04 13:49:39 +02:00
rolux
a5c6747b57 change the signature of Ox.pad to match Ox.truncate 2012-06-04 11:08:38 +02:00
rolux
9ce126263b change the signature of Ox.truncate to allow for passing 'position' without having to pass 'padding', change default padding from '...' to a real ellipsis 2012-06-03 11:07:39 +02:00
rolux
4ba06fde41 use Ox.highlight; minor reformatting 2012-06-03 10:41:18 +02:00
rolux
d9b0cc5f01 update/fix documentation 2012-06-02 15:07:29 +02:00
rolux
8c347d9009 update documentation (classes) 2012-05-31 12:32:54 +02:00
rolux
721989b67b cleanup 2012-05-30 19:22:24 +02:00
j
2f98800715 typo 2012-05-30 02:32:14 +02:00
j
888bf094ad only sort object keys in treelist 2012-05-30 02:29:38 +02:00
rolux
6847102507 fix documentation 2012-05-30 00:28:52 +02:00
j
91e1065aab rename Ox.UI source files, remove Ox. prefix 2012-05-28 19:44:12 +00:00
j
005d50c389 self.setOption ~> that.update 2012-05-28 19:35:41 +00:00
rolux
461a237880 .bind -> .on, .unbind -> .off 2012-05-28 16:06:22 +02:00
rolux
ef15919a3e rename the 'original event data' property of Ox.List drag & drop events from '_event' to 'event' 2012-05-28 15:55:35 +02:00
rolux
fef07dff6f rewrite formatText for clarity, and use new Ox.highlightHTML 2012-05-27 12:38:14 +02:00
j
68d50978ba trailing comma removal, 2012-05-26 15:48:19 +00:00
rolux
147d637b7b typos 2012-05-25 09:46:34 +02:00
rolux
544e117cb3 Ox.break -> Ox.Break 2012-05-24 19:20:29 +02:00
rlx
f033877f41 fix a regression in Ox.TreeList 2012-05-24 12:10:18 +00:00
rolux
a836b285cc typos 2012-05-24 09:46:42 +02:00
rolux
1c40fb007b use [].concat, not Ox.merge 2012-05-24 09:45:33 +02:00
j
1b08732fa7 - add loadAsync and use in Ox.loadFile, Ox.getJSON
- add Ox.getJSONP
- fix Ox.parseHTML
- fix Ox.Doc
- add more documentation
2012-05-23 01:17:17 +02:00
rolux
a8c5dd4d35 typo 2012-05-22 17:15:52 +02:00
rolux
12cf77cef5 less obscure Ox.map 2012-05-22 16:29:37 +02:00
j
33390069b9 fix Ox.JQueryElement fixmes 2012-05-22 16:08:09 +02:00
j
b9e80c9d75 cleanup docs, fix children/find calls 2012-05-22 15:14:40 +02:00
rolux
04784630d3 use Ox.break 2012-05-22 09:11:26 +02:00
rolux
5692195509 swap the meaning of makeArray and toArray: makeArray, like makeObject, is a helper function for arguments processing (that wraps any non-array in an array), toArray, like in other libraries, is an alias for Array.prototype.slice.call 2012-05-19 12:40:59 +04:00
j
520eac7a22 more documentation, more semicolons, some fixmes 2012-05-21 21:23:16 +02:00
j
509745407b add documentation stubs 2012-05-21 12:38:18 +02:00
rlx
b4fd0f01ae minor changes in Ox.Chart 2012-04-24 10:18:39 +00:00
rlx
9790e7d6c6 in derivatives of Ox.List, make sure gainFocus, hasFocus and loseFocus work correctly 2012-04-24 08:21:00 +00:00
rlx
374508a9f1 fix a bug where in info list, the value of the sort key would not be requested when changing the sort order of the list (fixes #747) 2012-04-22 11:50:57 +00:00
rlx
14102508e1 fix bugs in list calendar, related to selecting an event on the calendar, just after load, which is not yet in the scope of the list 2012-04-19 06:44:17 +00:00
rolux
1d53a14cc1 in Ox.TreeList, use OxLight style for length of arrays and objects 2012-04-15 14:19:52 +02:00
rolux
06bb13458b in tree lists with data, add light quotes around string values, fixes #739 2012-04-14 14:15:11 +02:00
rolux
baf0f72912 slightly improved treelist 2012-04-09 10:41:06 +02:00
rolux
abfea74565 misc. minor changes and documentation updates 2012-04-08 20:22:27 +02:00
rolux
e7f132f121 quick fix for treelist layout 2012-04-08 14:38:15 +02:00
rolux
a69970adb6 re-enable synchronous path in Ox.List for Ox.TreeList 2012-04-08 14:17:58 +02:00
rolux
1f8f9ffa7d some quick and ugly fixes to make TreeList work again 2012-04-04 19:09:10 +02:00
rolux
7b7bedb65a use Ox.api in Ox.List and Ox.Map 2012-04-04 09:06:55 +02:00
rolux
5f95fd9da4 allow for list preview to be opened externally 2012-04-04 00:34:41 +02:00
rolux
4871e4b13f allow for list preview to be opened externally 2012-04-04 00:34:31 +02:00
rolux
9bf755a10d TextList: allow for not passing sort by making the unique key, and its operator, the default 2012-04-02 23:07:50 +02:00
rolux
6a39bdd3bd in Ox.List, trigger init after timeout, since otherwise a synchronous items function will trigger the event before one can bind to it 2012-04-01 23:04:07 +02:00
rlx
fb385a5e57 add BSD and UNIX logos 2012-03-27 09:18:01 +00:00
rlx
c5af338d2d update Ox.Chart 2012-03-26 19:26:28 +00:00
rlx
260c513e8e in list with max=0, make sure items are not selectable (fixes #708) 2012-03-23 09:27:31 +00:00
rlx
2dbe98bb98 add chart widget 2012-03-22 20:04:35 +00:00
j
dbbba54c82 dont remove space before match 2012-03-09 23:27:23 +01:00
rlx
68ca199ae3 properly escape user names and list names 2012-02-22 10:14:25 +00:00
rlx
e4b60c83c2 update manage places / manage events 2012-02-20 18:31:45 +00:00
rlx
a66c7c9bdd various fixes related to adding place annotations 2012-02-18 09:56:58 +00:00
rlx
65a3a21d11 resolve an issue with icon list text formatting (fixes #511) 2012-02-18 06:59:34 +00:00
rlx
1ea9524cb1 make lists fire select events when updating the query changes, i.e. removes, its previous selection (fixes #238) 2012-02-16 06:41:19 +00:00
rlx
3007cafcae add 'select' option to editCell method of TextLists (helps fix #445) 2012-02-15 20:59:04 +00:00
rlx
8b9c5a485b fix a bug in Ox.List where a select event would trigger even though the selection had not changed 2012-02-15 20:21:17 +00:00
rlx
2be6052276 List: Add selectbefore and selectafter events (fixes #353) 2012-02-15 11:30:01 +00:00
rlx
76466e7eeb fix video editor bugs 2012-02-04 11:44:19 +00:00
rlx
1ae47b761b support highlighting in icon list text 2012-02-01 11:57:21 +00:00
j
d10deb81aa disable some debug output 2012-01-31 12:07:31 +00:00
rlx
e8b1362309 fix list calendar bugs 2012-01-30 23:27:27 +00:00
rlx
93fe766c7b fix resize bugs in calendar, list calendar etc 2012-01-30 22:11:05 +00:00
j
ed4f7f0c2d various focus/selection fixes 2012-01-27 23:58:44 +05:30
rlx
3acc606fa2 minor changes 2012-01-17 23:04:33 +05:30
rlx
88f31a5ae3 video editor update 2012-01-10 20:19:28 +05:30
j
b4139a7388 fix selectable 2012-01-09 16:15:59 +05:30
j
82744a14ed make leaves selectable in TreeList, fixed: 226 2012-01-09 16:10:51 +05:30
j
093edd57d0 - remove editItem from Ox.List
- use ArrayEditable for text too
2012-01-04 22:57:32 +05:30
rolux
8097cc7812 Ox.getPositionById() -> Ox.getIndexById() 2012-01-04 13:41:05 +05:30
rlx
85652471c6 update VideoEditor/AnnotationPanel/Editable/...; update OxJS array functions 2012-01-04 01:11:50 +05:30
j
39f9e9bb4d implement 'view annotations at position / in selection / all' 2012-01-03 00:36:36 +05:30
j
7831dcd77d expand TreeList selecting an item 2011-12-29 17:54:29 +05:30
j
1a7a5985d9 update listLengh in addItems/removeItems 2011-12-29 16:15:59 +05:30
j
ac4dd51ed7 Only return Ox.Element if exactly one jquery element is return.
Fixes use of find, children
2011-12-29 15:40:08 +05:30
j
771d2be37b workaround to make TreeList work, find should really work here 2011-12-29 15:04:13 +05:30
rlx
84e7e794f7 misc bugfixes 2011-12-23 09:54:20 +00:00
rlx
f062c6001e fix video player bugs 2011-12-23 07:15:40 +00:00
rolux
215f1f6c1b use new form element syntax 2011-12-22 12:54:20 +05:30
rolux
074902d079 form elements rewrite, part 2 2011-12-21 21:03:52 +05:30
rlx
609754fbad fix select all 2011-12-19 17:19:54 +00:00
rolux
c1c4441b10 update uses of focusInput() 2011-12-18 15:14:11 +05:30
rolux
137944a1a7 minor changes 2011-11-30 15:56:01 +01:00
rlx
21b505b4c8 allow for getting 'save list' values from filter 2011-11-11 15:48:54 +00:00
rlx
33ec75122b make sure you can drag a text list item by an editable cell 2011-11-08 11:06:00 +00:00
rlx
243614cee2 when removing an element, unbind global keyboard handler; delay request timeout dialog until after window unload 2011-11-08 10:27:49 +00:00
rlx
12622724ee fix text list so that it doesn't throw errors in its value function 2011-11-07 12:15:10 +00:00
rlx
01306dd5ae fix a regression that would affect adding, moving and removing list columns 2011-11-06 00:24:42 +00:00
rlx
5c7a19ac01 catch another global var 2011-11-06 00:19:27 +00:00
rlx
da7e0b73e0 remove some logging 2011-11-05 22:38:00 +00:00