Commit graph

4000 commits

Author SHA1 Message Date
rolux
4ef16ef92d when computing sort values, only strip non-word characters from the beginning of the value if the result is not an empty string 2012-10-26 18:16:44 +02:00
rolux
23bd717a8a When caching sort values, make the type of the value part of the cache key (so that 9 and '9' don't collide) 2012-10-26 18:09:37 +02:00
rolux
2223fcfd2b In Ox.api, add support for values that are arrays 2012-10-26 17:27:15 +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
rolux
cc4b2824e0 fix geo data 2012-10-19 14:01:39 +02:00
rolux
971d94019b add geo/map example 2012-10-19 13:36:35 +02:00
rolux
28d60f9576 update geo flags 2012-10-19 13:19:53 +02:00
rolux
a364b6436c update geo data 2012-10-19 12:54:58 +02:00
rolux
4da93006fc update geo module 2012-10-19 12:53:09 +02:00
j
790e0c4500 dont add ?rand to empty string in Ox.VideoElement 2012-10-12 13:00:22 +02:00
rolux
9916fce1f6 update css for text in icon lists 2012-10-09 10:04:39 +02:00
rolux
86a3e50ed6 add Ox.Theme.formatColorPercent 2012-10-05 14:14:58 +02:00
rlx
dc03bb506a Ox.Chart: add 'limit' option 2012-10-05 11:19:22 +00:00
rolux
83413674a5 fix for chrome 22 menu table cell truncation bug 2012-10-02 16:46:31 +02:00
j
1c02b95f82 dont reset video.src on stop, this happens in GC on dom removal now, fixes #1003 2012-09-22 22:02:00 +02:00
rlx
609d1355fe Map Editor: correctly set self.options.selected when adding or removing a place (fixes #990) 2012-09-21 09:53:05 +00:00
rlx
a392cad0bc use 'sort' property, not 'map' property, for custom sort in table lists (fixes #993) 2012-09-19 06:46:44 +00:00
rlx
03520f6b2e remove unused CalendarDate.js 2012-09-19 06:34:57 +00:00
j
2a7a6da95d sort text bins by create instead of value as 3rd sort value, fixes #995 2012-09-18 21:26:53 +02:00
j
7d4d543ee3 set created/modified adding an event, fixes #989 2012-09-18 12:21:52 +02:00
rlx
926410d663 cleanup Resizebar; make tooltips in VideoEditor, VideoPanel and VideoTimelinePanel configurable 2012-09-17 08:36:21 +00:00
rolux
6433c31002 bugfix in map editor 2012-09-10 14:36:43 +02:00
rolux
7ca44d1ada bugfix in map editor 2012-09-10 14:28:12 +02:00
rolux
20aeb914eb minor change 2012-09-10 14:25:04 +02:00
rolux
91bd0e3684 typo 2012-09-10 14:24:14 +02:00
rolux
93d511f728 minor change 2012-09-10 14:14:40 +02:00
rolux
58706d1f99 fix a potential JS error in Ox.Map 2012-09-10 14:05:11 +02:00
j
7230606a6d fix Ox.sort, was broken in changeset:oxjs,2363 2012-09-08 00:19:13 +02:00
j
17bb6fb036 use current python-ox api 2012-09-07 03:55:22 +02:00
j
d2859f10ef set src of videos to '' before removing from dom to work around chome bug #31014 2012-09-07 03:54:18 +02:00
rolux
075aac449c minor timeout voodoo 2012-09-05 12:05:01 +02:00
rlx
4105f79106 Ox.Map bugfixes & cleanup: make setting 'places' and 'selected' options at the same time work, fix meta key handler, remove misnamed 'addPlaces', fix potential JS error in 'addPlaceToPlaces', make sure self.places contains only the visible places 2012-09-05 10:04:23 +00:00
rlx
d5da93f59e fix label widths in map editor ('geoname' truncated in recent versions of Chrome on OS X) 2012-09-05 09:46:00 +00:00
rlx
e52ac44a1b On maps, only allow for creating combined places via shift-click or meta-click if the map is editable 2012-09-05 09:29:06 +00:00
rolux
db9c55ff5e in cached getSortValue function, use a cheaper args to key function 2012-09-04 00:46:55 +02:00
rolux
bed08786a1 fix dependencies 2012-09-04 00:45:43 +02:00
rolux
8bfe9f5335 fix an issue where selected 16px wide column heads of table lists would not have the correct gradient (as the invisible triangle would increase the element's height) 2012-09-03 22:49:07 +02:00
rolux
e569af5369 build.py: update dependencies, and make sure the list of lists of scripts can have an arbitrary length 2012-09-03 22:28:37 +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
8407a88af1 remove trailing whitespace 2012-09-03 22:14:53 +02:00
rolux
0d0926cbf5 In Ox.cache (which is now called onload in Array.js to cache getSortValue), remove dependency on Ox.extend (which would depend on Ox.forEach) 2012-09-03 22:14:08 +02:00
rolux
f5c320187e In Ox.api, add a map option {key: fn(value, object)}, value being object[key], so that the sort value can depend on other keys; Ox.sortBy is updated to use getSortValue (cached sort value of mapped value) instead of getSortValues (precomputed mapped sort value per value, which is no longer unique) 2012-09-03 22:11:25 +02:00
rolux
baf29d068b remove an onload dependency 2012-09-03 21:59:53 +02:00
rolux
863ddfeafa remove an onload dependency 2012-09-03 21:11:57 +02:00
rolux
f4cdfb3349 Ox.Map: add public methods getCenter and setCenter 2012-09-01 13:15:47 +02:00
rolux
dfffe99a04 Ox.Map: trigger select event if, after updating the items option, the previously selected item is no longer present 2012-09-01 11:52:26 +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
d16f76f0da add constant Ox.EARTH_SURFACE 2012-09-01 05:51:35 +02:00