Commit graph

380 commits

Author SHA1 Message Date
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
rlx
a24d139f9b fix a regression where filling a partially empty text list page after resize would not empty the page before 2011-11-05 22:37:28 +00:00
rlx
4348894ad1 catch one more global var 2011-11-05 18:05:14 +00:00
rlx
1deb616942 catch some global vars 2011-11-05 17:27:11 +00:00
rolux
56370aa0a7 'use strict'; 2011-11-05 17:46:53 +01:00
rlx
5a23d8936b fix for cases where passing an array of tooltips as an option to Ox.Button would cause Ox.Element to actually set the tooltip to that array 2011-11-05 14:29:31 +00:00
rlx
2df5d05980 fix regressions introduced by garbage collection 2011-11-05 11:44:31 +00:00
j
1d09d19423 some redesign for better garbage collection of elements 2011-11-04 22:14:30 +00:00
j
dce2843303 use Ox.Log 2011-11-04 16:54:28 +01:00
rlx
4620461c86 fix page up / page down in Ox.List 2011-11-03 16:05:24 +00:00
rolux
094b1a59ec cleanup, again 2011-11-03 16:42:41 +01:00
rlx
bf9f14cf03 add titleImage option to TextList columns 2011-11-03 12:57:46 +00:00
rlx
0840d0b436 some fixed for text lists with column titles that are images 2011-11-02 19:47:19 +00:00
rlx
d5733c2c5d merge 2011-11-02 15:53:23 +00:00
j
e6f075f88e change Ox.formatDate so that Ox.formatDate('', "%a, %b %e, %Y")
returns '' and not "undefined, undefined Na, NaN"
2011-11-02 16:21:09 +01:00
rlx
14a6b6c148 improve form elements 2011-11-02 10:23:15 +00:00
rlx
1720d2a184 add unified Ox.Layer object for dialogs and menus 2011-11-01 14:16:27 +00:00
rlx
63b61f520b in Ox.Request, allow for 409 Conflict 2011-10-31 16:02:00 +00:00
rlx
b6c872b5a4 in Ox.Calendar tooltips, only display the text representation of an event's range if it's different from the event's name 2011-10-29 17:05:44 +00:00
rlx
6480bddd4f fix a bug with icon lists that have a fixed ratio smaller than 1 2011-10-29 08:37:28 +00:00
rlx
f47547e728 allow for non-default page length of non-orientation-both icon lists 2011-10-28 17:45:51 +00:00
rlx
188656bd99 add themed colored elements 2011-10-26 14:52:03 +00:00
rlx
2bd4156f6c update IconList 2011-10-24 21:50:54 +00:00
rlx
19d5f811d6 strip tags in Ox.Editable 2011-10-24 21:31:53 +00:00
rlx
6eef7c567b when setting a value of a text list cell, pass key, value _and all data_ to the format function 2011-10-22 14:55:13 +00:00
rlx
7ea6938de5 fix reloadList for InfoList 2011-10-20 16:49:42 +00:00
rlx
4c6a6333b2 some changes to enable clips view in pandora; fix video player to allow for paused=false and playInToOut=true 2011-10-19 10:49:19 +00:00
rlx
9ac49b6fcf don't display a blank line if an item doesn't have a title 2011-10-17 15:13:12 +00:00
rlx
83fbe6d366 enable drag&drop for info lists 2011-10-17 11:26:04 +00:00
rlx
5d669f42e3 update infolist 2011-10-17 10:23:16 +00:00
rlx
c6816dc433 update css 2011-10-16 12:46:27 +00:00
rlx
95f3d536ec improve InfoList 2011-10-16 12:32:02 +00:00
rlx
6f1f2a50fb fix a bug with font sizes of list icons 2011-10-13 12:24:55 +00:00
rlx
8d940f5222 fix a bug with setting the items option of a static list to [] 2011-10-13 11:33:19 +00:00
rlx
687db7d957 make ESC work when editing text list cells 2011-10-11 17:27:46 +00:00
rlx
7ac16acbf1 fix a bug with adding/removing columns of synchronous textlists 2011-10-11 16:00:58 +00:00
rlx
db25eec98b fix a bug where edited places would not be updated correctly 2011-10-11 09:48:24 +00:00
rlx
9fb30bf1af make find work in listcalendar; fill first page in static text lists with few items; listen to width/height changes in listmap and listcalendar; fix a bug where maps would load without zoombar 2011-10-11 09:09:20 +00:00
rlx
718ec32e44 in listcalendar, cache formatted duration strings 2011-10-11 07:05:45 +00:00
rlx
527f75b009 slightly faster text list construction for cells that don't have tooltips; make calendar layout deterministic for events that have the same time span 2011-10-11 06:32:20 +00:00
rlx
46ef208be2 fix a bug that would slow down reload of static lists when passing a new items array 2011-10-10 14:09:13 +00:00
rlx
d2972cd526 more functionality for ListCalendar 2011-10-10 12:38:54 +00:00
rlx
efca832c76 some work on ListCalendar 2011-10-09 21:13:16 +00:00
rlx
2698bec700 fix margins of static icon lists 2011-10-08 17:19:18 +00:00
rlx
f4c1f826bf add 'find in list' functionality to 'manage places' dialog 2011-10-03 09:52:30 +00:00
rlx
5f20f84582 remove print statement 2011-10-02 17:06:25 +00:00
rlx
0ca93fcebe fix a bug in listmap, regarding removal of places 2011-10-02 17:05:56 +00:00
rlx
3fa654a815 fix a bug in map where the input element would not change its style when there are no results 2011-10-01 13:51:03 +00:00
rlx
f9143bd62f remove print statements 2011-10-01 13:07:33 +00:00
rlx
b3e7945a96 fix bugs in treelist where the icon would not update, items would not expand, and expanding items would be slow 2011-10-01 13:06:50 +00:00
rlx
c6d67420a8 some fixes for map, range and videopreview 2011-09-30 10:34:33 +00:00
rlx
8ea49fab73 misc fixes 2011-09-29 17:25:50 +00:00
rlx
44a8ff015c in icon lists, support 'info' that is not a string, but an element 2011-09-29 06:17:50 +00:00
rlx
3965eed153 url controller updates, list bugfixes 2011-09-28 17:31:35 +00:00
rlx
fdecafe4d7 fix a bug in text lists where selecting an item by clicking on an editable cell would click through to edit 2011-09-20 04:10:04 +00:00
rlx
7398b1ec14 fix a formatting bug in icon list items 2011-09-17 18:24:42 +00:00
rlx
73fb2e3229 some more bugfixes 2011-09-17 13:05:16 +00:00
rlx
ef1fa5fe84 some bugfixes 2011-09-17 11:49:29 +00:00
rolux
4cc754a28d remove Ox.each, , $.extend, $.map and $.merge 2011-09-17 20:36:09 +02:00
rolux
da9e5dbb29 fix event handlers and split panel resize event 2011-09-17 19:39:38 +02:00
rlx
a29d7e70ea when dragging columns, scroll list if needed 2011-09-09 11:37:14 +00:00
rlx
0ba258281f simpler text list column head elements, better column drag 2011-09-09 10:41:13 +00:00
rlx
816993e1b9 fixing encoding functions (deflate, png) 2011-09-05 23:34:29 +00:00
rlx
c3b59a62fe fixing a bug where in a list, the click target loop would not exit when items are added or removed on click 2011-09-05 05:40:44 +00:00
rlx
c123de8513 add dragangdroppause event 2011-09-04 22:06:40 +00:00
rlx
1333a3ecec tooltips and better cursors for splitpanels 2011-09-04 21:15:16 +00:00
rlx
2aa828c308 add keys option to text list to allow for additional keys to be requested, beyond the keys of the visible columns 2011-09-04 16:43:52 +00:00
rlx
6adacf484f pass on modifier keys in Ox.List add item event 2011-09-04 13:40:07 +00:00
rlx
bd61a2e97e fix a bug where in text lists, no draganddropstart event would fire if the drag originated in a cell that contains another element 2011-09-04 12:49:33 +00:00
rlx
63885b8c1b support drag and drop in text lists 2011-09-04 12:19:36 +00:00
rlx
6b0779fcab add formatColor() 2011-09-04 04:14:58 +00:00
rlx
be3b1d573d use new-style mouse events in Ox.List 2011-09-03 23:04:18 +00:00
rlx
2043dc7a12 fix a bug where in orientation=both icon lists with less than one screen full of icons, clicking below the icons would not cause a deselect 2011-09-03 17:54:17 +00:00
rlx
182225ebc4 merging changes 2011-09-03 02:12:44 +00:00
rlx
2a9053a588 add Ox.Progressbar 2011-09-01 09:35:45 +00:00
rlx
90e795d194 fix a bug where in empty icon lists, an icon grid would appear for a split-second 2011-09-01 09:16:41 +00:00
rlx
6da40d325c adding symbols 2011-09-01 04:46:14 +00:00
rlx
b55ade5687 add tooltips to textlist cells 2011-08-28 19:50:06 +00:00
rlx
5d454f0a80 support for drag and drop 2011-08-28 06:23:15 +00:00
rlx
9dd695b6ca fixing a regression where icons in a list would not display in their loading state 2011-08-23 23:57:03 +00:00
rlx
676cb72101 add InfoList (draft) 2011-08-19 06:41:48 +00:00
rlx
3203556b46 trigger sort event in text list 2011-08-18 07:55:39 +00:00
rlx
19aa9b40e5 make sure list can handle a selected id option that is not in the results 2011-08-17 20:07:53 +00:00
rlx
c4842ca863 make setting sort option of icon list work 2011-08-17 13:22:29 +00:00
rlx
31149d7ecc add icon to application error dialog 2011-08-17 11:39:33 +00:00
rlx
fcdfb03bea updating list 2011-08-17 09:30:27 +00:00
rolux
1083a324dc minor fixes 2011-08-15 16:11:13 +02:00
rlx
f9360db0b4 minor changes 2011-08-07 23:43:37 +00:00
rlx
5095eeed5d list updates 2011-08-07 22:16:06 +00:00
rolux
dd7191e8d4 load svg images inline 2011-08-09 19:00:39 +02:00
rlx
6118eae51a round float px values 2011-08-07 03:05:43 +00:00
rlx
6dfa732636 support fixed-ratio icon lists 2011-08-07 02:33:26 +00:00
rlx
8e468ced0b merging changes 2011-08-06 17:41:01 +00:00
rlx
b05be138cc some changes towards fixed height icon lists 2011-08-06 04:28:38 +00:00
rlx
4642b56a95 properly sort top-level keys in data of treelist 2011-08-05 23:39:15 +00:00
rlx
917608950d merging changes 2011-06-07 03:17:09 +00:00
j
69ec9127fe merge changes 2011-08-04 19:51:07 +02:00
j
0ccad0b973 fix vim line 2011-07-29 20:48:43 +02:00
rolux
ff1714013c minor changes in tree list 2011-07-26 16:36:31 +02:00
rolux
57ae6e5c64 use random ids for data tree list items 2011-07-26 16:33:52 +02:00
j
8906cecd3e item constructor 2011-06-20 16:37:37 +02:00
j
b27ed00356 remove new for all Ox.Elements, dont declare arguments again, add some semicolons 2011-06-19 19:48:32 +02:00
j
218eeaf47a edit annotations 2011-06-15 16:36:01 +02:00
j
c70e23b493 reload lists after setting items 2011-06-15 14:20:14 +02:00
rlx
a57d5c368a changes related to frames and posters view in pandora 2011-06-07 03:16:25 +00:00
rlx
2419ca3a18 make static list honor 'selected' options 2011-06-06 18:34:40 +00:00
j
8acccb5cd1 getCel(id) should also work 2011-06-04 18:18:12 +02:00
rolux
a369d0170d update map 2011-06-01 15:51:35 +02:00
j
c494c3ace6 minor cleanups 2011-06-01 12:59:30 +02:00
j
4ea645b572 ids -> positions 2011-06-01 12:59:12 +02:00
rolux
7eb6f58312 allow for editing lat/lng/s/w/n/e via map 2011-05-30 09:21:11 +02:00
rolux
7b2a0cfef5 reform Ox.List to allow for scroll position staying the same after deleting an item 2011-05-29 18:05:29 +02:00