Commit graph

1336 commits

Author SHA1 Message Date
rolux
c5b148773f don't Ox.extend with undefined, use empty object 2012-05-21 22:07:06 +02:00
rolux
047cf5813d use 'this', not 'window', as global object; allow for Ox.break in Ox.loop 2012-05-21 22:05:49 +02:00
rolux
75558d4b9d in Ox.extend, use Ox.slice; add includePrototype argument to Ox.methods 2012-05-21 22:04:22 +02:00
rolux
f83d317407 minor changes 2012-05-21 21:24:06 +02:00
rolux
344d7ec40d use Ox.indexOf, not Ox.getObject 2012-05-21 09:41:57 +03:00
rolux
503c2b5978 use [].some, not Ox.getObject 2012-05-21 09:40:40 +03:00
rolux
bb6f6d6471 add Ox.hasOwn 2012-05-19 13:39:25 +04:00
rolux
eab834a643 fix a type check in Ox.sum 2012-05-19 13:38:49 +04:00
rolux
d3ff222a04 Ox.$: return undefined for non-existing attributes (like jQuery); fix a wrong 'this' reference 2012-05-19 13:16:04 +04:00
rolux
f793245e2e Ox.isNumber: update tests 2012-05-19 13:14:38 +04:00
rolux
8479037ab6 fix Ox.checkType 2012-05-19 12:48:01 +04: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
rolux
5cabb679f9 merge misc. minor changes 2012-05-19 12:30:43 +04:00
rolux
6acfd505e6 fix type check in Ox.$ 2012-05-19 12:15:28 +04:00
rolux
49fc8dc8ed base Ox.typeOf on Object.prototype.toString, add Ox.checkType, Ox.isInt and Ox.isPrimitive 2012-05-19 12:15:04 +04:00
rolux
d066501a14 add Ox.STACK_SIZE 2012-05-19 12:10:41 +04:00
rolux
03947b0d7f add Ox.identity 2012-05-19 12:09:48 +04:00
rolux
e8f7f37a8a update Collection.js: for functions, make Ox.len return undefined and Ox.isEmpty return false 2012-05-19 12:06:49 +04:00
rolux
373549a25a remove Ox.isFalsy 2012-05-19 10:36:34 +04:00
rolux
d4954db30d add Ox.escapeRegExp 2012-05-19 10:36:02 +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
j
2198d0b1ec pass options.timeline, there is no options.type 2012-05-19 15:24:00 +02:00
j
ac35d761ac fix AnnotationFolder 2012-05-19 15:14:04 +02:00
rolux
cb9a5fda2d in AnnotationFolder, simplify crossesPoint() 2012-05-10 12:12:34 +02:00
rlx
959a014657 fix Ox.sort so that it handles multiple numbers 2012-04-24 10:47:18 +00:00
rlx
b4fd0f01ae minor changes in Ox.Chart 2012-04-24 10:18:39 +00:00
rlx
4a210718ea in Ox.sort(), handle non-leading numbers and leading articles (fixes #723, fixes #779) 2012-04-24 10:16:58 +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
07b44e20c8 when positioning tooltip, make sure x is an integer 2012-04-24 08:19:05 +00:00
rlx
d7f0464ee6 add missing public togglePaused method to Ox.VideoTimelinePlayer 2012-04-24 08:18:08 +00:00
rlx
aae7ba2485 fix a bug where tooltips would not retain their width near the right edge of the screen, fixes #568 2012-04-23 11:16:46 +00:00
rlx
fa146ebbba Ox.Map: meta+click on selected place now deselects it (fixes #655) 2012-04-23 10:28:42 +00:00
rlx
c0c4031825 in video editor, rename 'posterFrameControls' option to 'enableSetPosterFrame', always include 'Go to Poster Frame' menu entry, and correctly enable/disable 'Set Poster Frame' menu entry 2012-04-23 09:53:29 +00:00
rlx
771b15c25a add (but do not enable) reset-size-on-doubleclick for split panel elements 2012-04-23 09:37:49 +00:00
rlx
43495de239 when expanding or collapsing part of a split panel, do not immediately switch the resizebar's tooltip 2012-04-23 08:29:37 +00:00
rlx
cb1fffa491 add some comments in video timeline player 2012-04-23 08:11:34 +00:00
rlx
3c253a86d5 test for , not for hasZoombar, so that the test won't fail before load 2012-04-22 13:19:08 +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
a56329064d pass info event in player and timeline panels 2012-04-22 11:13:06 +00:00
rlx
a1c82cb262 don't trigger 'censored' event on doubleclick 2012-04-22 10:16:07 +00:00
rlx
f0d4043fd4 make 'censored' icon/link/tooltip configurable (fixes #252) 2012-04-22 09:57:17 +00:00
rlx
bdab9b8a7d in video editor, pass position along with in and out when triggering a point event 2012-04-22 08:54:44 +00:00
j
486e933926 add some more links to about 2012-04-19 16:09:28 +02:00
rlx
018dc69939 set width of timelines player timelines to the correct value after resize 2012-04-19 13:03:16 +00:00
rlx
ae33784cc1 correctly compute if scrollbar is visible 2012-04-19 12:25:39 +00:00
j
e765153f9c dont loop over files twice 2012-04-19 14:19:57 +02:00
j
461cd3d686 only add uid to http urls, this breaks for file:// or blob urls 2012-04-19 13:26:46 +02:00
rlx
17b17707fc minor fix in documentation 2012-04-19 11:25:12 +00:00
rlx
a943d00e20 allow for passing multiple files to Ox.getJSON 2012-04-19 11:23:24 +00:00
rlx
cf943e6466 add Ox.loadFiles 2012-04-19 11:13:43 +00:00
rlx
3db8dd4688 remove reference to pandora, fixes #594 2012-04-19 10:30:39 +00:00
rlx
88d25817c1 fix a bug in timeline player where the video would not be muted when loaded in muted state 2012-04-19 08:00:12 +00:00
rlx
fb64474545 timeline player: fix mute button, add scroll button 2012-04-19 07:54:30 +00:00
rlx
01b4840fd6 in timeline player, only show vertical scrollbar if needed - should fix #759, but can't be tested locally 2012-04-19 07:15:35 +00:00
rlx
821e8d1a4e make sure timeline player has a bottom margin of 8px (not 4px) 2012-04-19 07:00:04 +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
rlx
244312aede in ListCalendar, populate duration form field, fixes #756 2012-04-19 05:48:31 +00:00
rlx
c7d8d68607 implement 'censored' option in timeline player 2012-04-18 11:21:06 +00:00
rlx
c70271573a in timeline view, react to selecting an annotation 2012-04-18 09:30:49 +00:00
rlx
db0a2394d9 append version, not random 2012-04-18 09:01:42 +00:00
rlx
2cbcb9d086 never load Ox.js and Ox.UI json files from cache 2012-04-18 08:56:31 +00:00
rlx
02696ae741 add 'uncheckItem' method to menus and menubuttons, fix toggleSize in video editor 2012-04-18 07:57:59 +00:00
rlx
132e8d2207 rename various options of video widgets to allow for different timeline types 2012-04-18 07:43:32 +00:00
rlx
71d82c87f9 pass playing/position event from video player to timeline panel 2012-04-17 14:53:21 +00:00
rlx
7d3ea51e4b slightly improved line above and below video 2012-04-17 13:52:45 +00:00
rlx
3ecfcd0f3f implement 'follow player while playing' 2012-04-17 13:42:46 +00:00
rlx
0e8bfd1348 update timeline panel and timeline player 2012-04-17 12:01:24 +00:00
rlx
dac420e021 add CSS for timeline player 2012-04-17 11:59:40 +00:00
rlx
c6bfa97c68 rename a variable in video editor 2012-04-17 11:59:08 +00:00
rlx
7e8f5bef32 fix bugs in video player: allow for setting volume from outside, only show volume control if enabled 2012-04-17 11:58:17 +00:00
rlx
8c963339fd add first version of Ox.VideoTimelinePanel, update Ox.VideoTimelinePlayer 2012-04-17 07:52:37 +00:00
rlx
c6f0308a17 in Ox.VideoPanel, use setElement(...), not that. = ... 2012-04-17 07:51:32 +00:00
rolux
606497fbdd update DocPanel and ExamplePanel 2012-04-16 09:13:22 +02:00
rolux
d060a94131 update CSS 2012-04-15 21:56:39 +02:00
rolux
0f4d72c1da in example pages, allow for setting theme from outside the iframe 2012-04-15 21:13:18 +02:00
rolux
0148701372 update Ox.$ tests 2012-04-15 21:12:48 +02:00
rolux
0a999bc4f3 update DocPage and ExamplePage 2012-04-15 20:15:14 +02:00
rolux
f5f1fde6a9 add new symbols 2012-04-15 20:14:33 +02:00
rolux
8a0cc3ee2b remove unneded files in classic theme folder 2012-04-15 14:22:19 +02:00
rolux
1d53a14cc1 in Ox.TreeList, use OxLight style for length of arrays and objects 2012-04-15 14:19:52 +02:00
rolux
c2a7902d0b add 'open in new tab' button to example pages 2012-04-15 14:18:45 +02:00
rolux
53cb716130 in Ox.UI loader, use Ox.$ and .bind() 2012-04-15 14:17:19 +02:00
rolux
5a90520186 add checkerboard background style to themes 2012-04-15 14:16:31 +02:00
rolux
ad56695694 clean up Ox.$ 2012-04-15 14:14:18 +02:00
rolux
c72031bfdf add missing symbols 2012-04-15 14:11:12 +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
f7ed392d0f in source viewer, ignore // comments, fixes #743 2012-04-14 14:03:35 +02:00
rolux
3bfd8be160 Ox.Progressbar: make tooltips optional 2012-04-14 13:54:45 +02:00
rolux
f88c60ae15 fix bugs in progress bar 2012-04-14 13:49:22 +02:00
rolux
581b87baf9 small updates to Ox.Image 2012-04-14 11:46:23 +02:00
rolux
ecba7968c1 add val() method to Ox.$ 2012-04-14 11:45:19 +02:00
rolux
37f3bf8f51 add drawing methods to Ox.Image, allow for asynchronous image manipulation 2012-04-13 23:21:36 +02:00
rolux
b4dc9e15ba add async version of Ox.loop 2012-04-13 23:19:52 +02:00
rolux
49a16328f5 add new methods to Ox.$ (width, height, show, hide) 2012-04-12 21:21:03 +02:00
rolux
1d9bf5aacd remove some unused geo objects 2012-04-11 22:37:20 +02:00
rolux
b28eb7ec51 minor changes in sortBy 2012-04-11 22:36:27 +02:00
rolux
27d37ea601 css update (code in example page comments) 2012-04-11 22:35:33 +02:00
rolux
924a0532c2 upgrade image module (draw methods and others) 2012-04-11 22:34:55 +02:00
rolux
ebc6efffb4 minor fixes and documentation updates 2012-04-09 10:42:00 +02:00
rolux
baf0f72912 slightly improved treelist 2012-04-09 10:41:06 +02:00
rolux
ffa8f1738a faster doc panel: allow for caching of doc items 2012-04-09 10:39:56 +02:00
rolux
1651b3f565 make Ox.doc accept multiple files 2012-04-09 10:39:02 +02:00
rolux
4f63e29082 update syntax highlighter colors in modern theme 2012-04-09 10:37:41 +02:00
rolux
abfea74565 misc. minor changes and documentation updates 2012-04-08 20:22:27 +02:00
rolux
92d4b032da update code/example panels ('selected' option) 2012-04-08 20:20:58 +02:00
rolux
ad75054336 some css fixes (selected buttons) 2012-04-08 20:17:17 +02:00
rolux
e7f132f121 quick fix for treelist layout 2012-04-08 14:38:15 +02:00
rolux
7b13e834a7 add Ox.void() 2012-04-08 14:19:53 +02:00
rolux
7daf1a23a0 erroneous semicolon 2012-04-08 14:19:34 +02:00
rolux
370997c324 Ox.contains = Ox.in 2012-04-08 14:18:43 +02:00
rolux
a69970adb6 re-enable synchronous path in Ox.List for Ox.TreeList 2012-04-08 14:17:58 +02:00
rolux
e53fe8b09a remove print statement 2012-04-07 16:47:02 +02:00
rolux
1e1bd9689b display file and line as 'file:line' 2012-04-07 16:41:35 +02:00
rolux
801bfeb8dd remove deprecation warning 2012-04-07 16:40:41 +02:00
rolux
bd4b5e6880 add the synchronous version of Ox.doc() promised in its documentation 2012-04-07 16:40:07 +02:00
rolux
7474ac9783 make Ox.doc report arrays as '[...]' instead of 'array[...]', and arrays with unspecified types as '[values]' instead of 'array[any]' 2012-04-07 12:47:40 +02:00
rolux
ee5f89ca86 minor doc update 2012-04-07 12:44:53 +02:00
rolux
da8066dc73 typo in documentation 2012-04-07 12:44:12 +02:00
rolux
30f1fb65f2 typo in documentation 2012-04-07 12:43:41 +02:00
rolux
9b69d3d951 update documentation, and fix a few minor issues 2012-04-07 12:42:51 +02:00
rolux
9ad4ec6041 add bindOnce to Ox.$ 2012-04-07 01:45:51 +02:00
rolux
67a0f82266 fix a bug in TabPanel that would make it return a SplitPanel 2012-04-07 01:45:14 +02:00
rolux
37030b5d27 minor changes 2012-04-07 01:44:40 +02:00
rolux
8a447b8640 fix a bug that would make it impossible to progamatically deselect a button in a button group 2012-04-06 20:52:40 +02:00
rolux
e9f6751748 allow for replacement function in DocPanel and DocPage 2012-04-06 14:24:17 +02:00
rolux
3134b55456 remove a debugging relict from SyntaxHighlighter 2012-04-06 14:14:01 +02:00
rolux
03f4f77ce6 make SyntaxHighlighter and SourceViewer more useful by allowing replacements; remove index.json and source/Ox/png; plus some other small and/or cosmetic changes 2012-04-06 14:10:21 +02:00
rolux
24eb4bdc64 improve implementation and documentation of Ox.divideInt 2012-04-06 02:43:41 +02:00
rolux
599da178f1 add icon and logos 2012-04-05 17:42:57 +02:00
rolux
dab0963d2a add icon and logos 2012-04-05 17:42:48 +02:00
rolux
d65fafb0aa off by one in ExamplePanel 2012-04-05 17:33:22 +02:00
rolux
08a64d8695 minor changes to ExamplePage 2012-04-05 17:32:19 +02:00
rolux
5c727a1687 make DocPage more like ExamplePage 2012-04-05 17:31:32 +02:00
rolux
e951578b37 make Ox.$ more useful 2012-04-05 17:30:00 +02:00
rolux
c54574a7b7 change version number to 0.1 2012-04-05 17:29:33 +02:00
rolux
1f8f9ffa7d some quick and ugly fixes to make TreeList work again 2012-04-04 19:09:10 +02:00
rolux
fb8dd98b8a make it possible to parse keywords from documented source 2012-04-04 18:26:17 +02:00
rolux
6c4e520b6d make the map options menu more compact 2012-04-04 17:44:32 +02:00
rolux
ef0e161ab0 add docco-style Ox.SourceViewer, Ox.ExamplePage and Ox.ExamplePanel, and a demo 2012-04-04 16:59:58 +02:00
rolux
7b7bedb65a use Ox.api in Ox.List and Ox.Map 2012-04-04 09:06:55 +02:00
rolux
997b704f8b minor changes 2012-04-04 00:37:42 +02:00
rolux
ecb72f28ea allow for markers on Ox.MapImage 2012-04-04 00:36:45 +02:00
rolux
e6633a2953 allow for dynamically colored and sized map markers 2012-04-04 00:36:22 +02:00
rolux
74099f8642 allow for dynamically colored and sized map markers 2012-04-04 00:35:59 +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
4271598944 don't require size in Ox.GetFlagBy...() 2012-04-04 00:32:39 +02:00
rolux
47976fb6fb make the flag icon an actual control 2012-04-03 16:45:49 +02:00
rolux
9f9c2df862 update Ox.Map, remove non-async code path, deprecate non-standard options and events, change the API to allow for dynamic marker colors and sizes 2012-04-03 15:25:41 +02:00
rolux
1278e39759 add cache option to Ox.api 2012-04-03 15:09:39 +02:00
rolux
4613c96a01 make Ox.cache work for aynchronous functions 2012-04-03 15:09:05 +02:00
rolux
0bf4d5a0f5 update Geo module 2012-04-03 00:20:18 +02:00
rolux
1f7796b0f8 make Ox.reverse() work for arrays 2012-04-02 23:11:56 +02:00
rolux
1576ba4c48 remove dead code 2012-04-02 23:10:41 +02:00
rolux
acb6f94f65 update Geo module 2012-04-02 23:08:17 +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
b9ebb11d48 add geo option to Ox.api (send combined area with totals) 2012-04-02 17:41:28 +02:00
rolux
9a61fdbbab add Ox.containsArea (true if an area contains another one), Ox.intersectAreas (the area/s contained in all areas) and Ox.joinAreas (the smallest area contaning all areas) 2012-04-02 17:40:09 +02:00
rolux
461233e87b in Ox.Map, use '=' and '!=' as operators for 'in between' and 'not in between' 2012-04-02 17:33:54 +02:00
rolux
241f0bc064 in Geo module, actually use image symlinks; add Ox.getFlagByCountryCode method 2012-04-01 23:08:35 +02:00
rolux
fbc15dcadf more useful version of Ox.MapImage 2012-04-01 23:05:53 +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
rolux
803985a160 in Ox.api, only sort if more than two items 2012-04-01 23:02:19 +02:00
rolux
cd6bca7d6b remove a print statement 2012-04-01 00:25:46 +02:00
rolux
b03393bc0c modify Ox.sort so that empty, null or undefined volumes come last, regardless of sort order (fixes # 727) 2012-03-31 23:00:05 +02:00
rolux
4a09d329c8 in Ox.api, add default sort, and allow for values to be arrays 2012-03-31 22:09:55 +02:00
rolux
18ba0d5347 add Ox.formatDegrees 2012-03-31 18:28:48 +02:00
rolux
1d86f10e79 fix a bug that would keep disabled items in a select enabled, and in consequence allow for removal of title and director columns in 0xDB list view 2012-03-31 18:28:32 +02:00
rlx
25c25c76c7 minor changes, mostly documentation 2012-03-30 14:11:29 +00:00
rolux
9032821f14 add first version of readme 2012-03-30 13:04:23 +02:00
rlx
044da383db minor changes, mostly documentation 2012-03-30 01:41:47 +00:00
rlx
9265efe61a minor changes in Collection.js, mostly documentation 2012-03-29 20:01:05 +00:00
rlx
4b59c9a2a9 add callback to Ox.api 2012-03-29 19:32:05 +00:00
rlx
f3ff4b791d add missing functionality to Ox.api (positions requests and enums) 2012-03-29 18:40:03 +00:00
rlx
7b4002b340 add Ox.api, to apify and array 2012-03-29 14:43:05 +00:00
rlx
b807fc81af fix a bug that would throw an error when running tests for Ox.cache 2012-03-29 12:34:13 +00:00
rlx
def7c88639 Hash.js, minor formatting changes 2012-03-29 10:26:02 +00:00
rlx
44ec0d1ecb more concise version of Ox.range 2012-03-29 10:19:42 +00:00
rlx
ab2e5ecda0 minor fixes in documentation 2012-03-29 10:11:45 +00:00
j
c1ec0814dd add Ox.oshash 2012-03-28 11:04:03 +02:00
rolux
22f1cc26c0 geo update: fix missing symlinks 2012-03-27 17:28:51 +02:00
rlx
fde174483d geo update 2012-03-27 15:22:04 +00:00
rlx
561f31004e add WebKit icon 2012-03-27 10:07:24 +00:00
rlx
1ab6a536f7 it's 'Unix', not 'UNIX' 2012-03-27 10:02:54 +00:00
rlx
97810bb472 fix a regression in formatValue, concerning the number of decimals 2012-03-27 09:36:11 +00: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
511c355223 geo module: don't fail for undefined county names 2012-03-26 11:07:57 +00:00
rlx
d25d5f9ced geo module: don't fail for lower-case country codes 2012-03-26 09:58:42 +00:00
rlx
5d1b204e45 when reaching full minute, round position to full minute 2012-03-25 21:49:36 +00:00
rlx
8e6787be97 move full minute check from player into panel and editor, should fix #716 2012-03-25 21:45:39 +00:00
rlx
17aca54e7a temporary fix for video skipping bug (#716); add third parameter (index) to forEach callback; add Geo colors 2012-03-25 21:23:03 +00:00
rlx
8c67bf9462 fix a bug in Ox.FileButton 2012-03-24 11:12:24 +00:00
rlx
826eb5548d allow menu item to trigger native file dialog when pressing enter 2012-03-24 11:04:27 +00:00
rlx
7818d4deb6 improve Ox.formatValue 2012-03-24 10:39:21 +00:00
rlx
df03bf1841 allow menu item to trigger native file dialog (see demo, fixes #691) 2012-03-24 10:13:33 +00:00
rlx
1c3e257bc8 use standard jquery syntax 2012-03-24 08:43:03 +00:00
j
429d5c744b comment out some Ox.print calls 2012-03-23 19:03:56 +01:00
rlx
17d92a3ff7 add Ox.FileButton 2012-03-23 17:57:12 +00:00