322 Commits

Author SHA1 Message Date
Javier Abadia
43fdc0ead0 removed unused dependency 2014-02-17 23:45:19 +01:00
Javier Abadia
7bd5335d85 remove unused files 2014-02-17 23:42:32 +01:00
Javier Abadía
27c6df2bc6 Merge pull request #84 from jabadia/jabadia-test-capacity
tool to test localStorage full condition
2014-02-14 14:21:08 +01:00
Javier Abadia
c597111832 tool to test localStorage full condition 2014-02-14 14:11:23 +01:00
Andy
d55aa885bc Merge pull request #82 from jabadia/jabadia-reorganize-samples
jabadia - reorganize samples
2014-02-13 15:55:10 -07:00
Javier Abadia
8ee6584b3c removed old sample files, no longer useful 2014-02-13 23:45:41 +01:00
Javier Abadia
73613ac40c this is not a sample of out lib 2014-02-13 23:38:44 +01:00
Javier Abadia
fef268ef98 moved to samples dir out of samples/tiles dir 2014-02-13 23:30:43 +01:00
Javier Abadia
053f1fcf80 reorganized tiles sample 2014-02-13 23:25:09 +01:00
Andy
6e5dd69e7b Merge pull request #71 from jabadia/jabadia-phantom-layer
jabadia - phantom layer
2014-02-13 12:24:10 -07:00
Javier Abadia
21ed0cfe48 it works, but it's not entirely satisfactory 2014-02-12 23:57:30 +01:00
Javier Abadia
0a214822f4 trying to make the phantom layer transparent to mouse events 2014-02-11 23:43:55 +01:00
Javier Abadia
796f59a5c6 first draft of 'phantom layer' 2014-02-11 23:15:23 +01:00
Andy
0936e6a495 Merge pull request #70 from jabadia/jabadia-quota-error
jabadia - report localstorage quota error to the user
2014-02-11 15:10:51 -07:00
Javier Abadia
535e2c3d06 update unit test 2014-02-11 22:57:06 +01:00
Javier Abadia
d26e1c599d now it works, LocalStorage full condition is correctly reported to the user 2014-02-11 22:54:35 +01:00
Javier Abadia
08a97f2c7b trying to catch quota errors at application level... not that easy! 2014-02-11 22:40:17 +01:00
Andy
1161a603a4 Merge pull request #69 from jabadia/jabadia-devel
jabadia - tile size nightmares
2014-02-11 10:01:07 -07:00
Javier Abadía
0b7d68ff58 Merge pull request #68 from andygup/master
added setup instructions to readme
2014-02-10 22:48:52 +01:00
Javier Abadia
0a23571b78 Merge branch 'jabadia-devel' of github.com:jabadia/offline-editor-js into jabadia-devel 2014-02-10 22:31:53 +01:00
Javier Abadia
99d8843826 this minimizes the problem of the tile count estimation table not updating sometimes
the array of urls is not needed (only one tile url)
2014-02-10 18:13:30 +01:00
Javier Abadia
fa3680d66c change low level size reporting to bytes
the most accurate estimation si simply returning the string length... it matches with the estimated size (tile size * tile count) and with downloaded bytes reported by Chrome console
2014-02-10 18:06:32 +01:00
Javier Abadia
890f531cda additional test 2014-02-10 00:56:52 +01:00
andygup
9544043a71 added setup instructions to readme 2014-02-09 16:10:03 -07:00
Andy
795b8d45cb Merge pull request #67 from jabadia/jabadia-devel
jabadia - go offline/online automatically using the offline detection lib
2014-02-09 16:01:07 -07:00
Javier Abadia
484562b1c5 fixed unit test after changing feedback methods 2014-02-09 23:45:04 +01:00
Javier Abadia
236fec392c tests are not done until the callbacks return 2014-02-09 23:28:11 +01:00
Javier Abadia
0a0d83b184 if we have pending edits from previous executions and we are online, then try to replay them 2014-02-09 19:47:54 +01:00
Javier Abadia
88042d1afd go Offline/Online automatically, using offline detection library 2014-02-09 19:28:36 +01:00
Javier Abadia
94e58f9575 the offline detector lib is not used here 2014-02-09 19:26:25 +01:00
andygup
067423d2b0 more tweaking. Adjusted dbstore.size() functionality. 2014-02-08 19:45:56 -07:00
andygup
9a0168543e swapped out min zoom level == current zoom level. Now tiles numbers per zoom level 'seem' to be matching up better to what is expected. 2014-02-08 19:28:46 -07:00
andygup
0295fc40c0 better, restored max zoom level. Tile counts still aren't correct for the lower number zoom levels. 2014-02-08 19:20:22 -07:00
andygup
2ace73e5c1 current zoom level now sets max extent. We need to investigate this work flow further. 2014-02-08 18:24:16 -07:00
andygup
151ea12612 added /utils subdir. Added debouncer util lib 2014-02-08 17:24:57 -07:00
andygup
03ff996ccb added some code comments for addtl clarification 2014-02-08 16:06:24 -07:00
andygup
3dd0ecb1fc general cleanup of offlineEnabler - remove old code snippets 2014-02-08 16:00:55 -07:00
andygup
f9c9c1e0b2 implemented callback handlers for getLevelEstimation 2014-02-08 15:57:01 -07:00
andygup
38a38aa4e6 first step in fixing tile size estimation. Number of tiles is consistent when div height/width doesn't change across various zoom levels. 2014-02-08 15:13:22 -07:00
Andy
cd89600f7d Merge pull request #64 from jabadia/jabadia-undo-redo
jabadia: undo redo
2014-02-04 15:49:50 -08:00
Javier Abadia
678eb7c506 undo/redo done! 2014-02-05 00:17:38 +01:00
Javier Abadia
79d1d6d00b we execute the post-edit sequence in the next round of javascript events... this is important because some application level code (for instance the undo manager) assumes that events will not be fired immediately 2014-02-05 00:08:25 +01:00
Javier Abadia
d8c69da02a removed check for duplicate edits, they actually make sense in a repeated undo/redo scenario 2014-02-05 00:06:48 +01:00
Javier Abadia
d202078da3 enable undo/redo in editor, need to test further 2014-02-04 23:22:46 +01:00
Javier Abadia
7a0470f152 removed some messages 2014-02-04 23:09:27 +01:00
Javier Abadia
cb6d15baf3 fixed problem when all edits cancel themselves 2014-02-04 23:09:27 +01:00
Javier Abadia
75596e1b39 unit test for problem fix 2014-02-04 23:09:27 +01:00
Javier Abadia
f6f9483e10 problem found 2014-02-04 23:09:27 +01:00
Andy
0f5ebdd51f Merge pull request #63 from jabadia/jabadia-fix-errors
jabadia fix errors
2014-02-04 08:55:48 -08:00
Javier Abadia
ea17b7af46 better handling of pushEdit() errors 2014-02-04 11:54:02 +01:00