Граф коммитов

365 Коммитов

Автор SHA1 Сообщение Дата
Myk Melez b145fc3a76 add missing FileSaver module 2014-12-19 14:36:50 -08:00
Myk Melez 4688e9c58f add ability to export fs 2014-12-19 14:05:36 -08:00
Myk Melez bd0ff96f8a rename and refactor conflicting 'load' function 2014-12-18 16:56:15 -08:00
Marco Castelluccio 68d2adfb7a Merge branch 'master' of https://github.com/andreasgal/j2me.js into drawString_emoji
Conflicts:
	libs/emoji.js
	midp/text_editor.js
2014-12-19 01:15:09 +01:00
Marco Castelluccio b19c5bfdf1 Fix review comments 2014-12-19 00:49:06 +01:00
Marco Castelluccio 6dd05252c1 Support emoji in Graphics::drawString 2014-12-19 00:21:27 +01:00
Marco Castelluccio 958c78cec0 Always create a new RegExp object 2014-12-18 20:31:37 +01:00
Marco Castelluccio d455167be3 Merge branch 'master' of https://github.com/andreasgal/j2me.js into text_editor_emoticons 2014-12-18 02:47:22 +01:00
Marco 4a7cfc73ff Merge pull request #713 from mykmelez/normalize-dir-list
normalize data about files in directory
2014-12-18 02:45:36 +01:00
Myk Melez db396526bd output correct message to web console when logging to multiple consoles 2014-12-17 17:27:31 -08:00
Marcus Cavanaugh 1908e5c700 Merge master. 2014-12-17 17:25:34 -06:00
Marco Castelluccio 36fbd09923 Add other half-emoji and related tests 2014-12-17 23:36:40 +01:00
Brendan Dahl 5196bfdf04 Fix console check. 2014-12-17 14:22:49 -08:00
Marco Castelluccio e7d3e336f2 Support half-emoji like the Nokia Asha 2014-12-17 22:54:10 +01:00
Marco Castelluccio e87d81a6bb Move Emoji regex to a separate file 2014-12-17 17:08:29 +01:00
Myk Melez 19797ab546 complain about non-empty directory renaming being broken 2014-12-17 01:23:03 -08:00
Myk Melez ecc0375fbc only complain about creating existing file if DEBUG_FS 2014-12-17 01:19:38 -08:00
Myk Melez b24c0de7ef factor out dirs/files to initialize 2014-12-16 21:06:24 -08:00
Marco Castelluccio 25f2c4a9b0 Use Int32Array instead of Uint32Array in zipfile.js and gfx.js. Fixes #730 2014-12-16 01:47:03 +01:00
Myk Melez 242a96dc9e make fs initialization tests work for both current and v1 db 2014-12-14 21:24:59 -08:00
Myk Melez 41d335c017 WIP of testing fs initialization 2014-12-14 19:36:54 -08:00
Myk Melez c9c2ba14bb use cursor.update to update records during db upgrade; set root dir parent to null 2014-12-13 14:47:45 -08:00
Michael Bebenita e565e18cbc More tracing cleanup and pretty ANSII colors. 2014-12-12 16:38:22 -08:00
Myk Melez a527d3545d determine dir empty status more efficiently 2014-12-11 17:37:49 -08:00
Michael Bebenita 873ad77ac2 Clean up last commit and add timestamps to log messages. 2014-12-11 16:23:42 -08:00
Michael Bebenita 629bd80f34 Merge. 2014-12-11 16:04:20 -08:00
Myk Melez 2e7e6a7063 create parentDir index when creating latest version directly 2014-12-11 16:04:02 -08:00
Myk Melez 19d46ae203 give function to recreate path a better name 2014-12-11 15:12:19 -08:00
Myk Melez 7f09759133 log errors unconditionally 2014-12-11 15:08:59 -08:00
Myk Melez 302d8e5386 give files an indexed parentDir property 2014-12-11 15:06:25 -08:00
Myk Melez e5e8d027e9 disable logging 2014-12-10 17:25:00 -08:00
Myk Melez 9530f80d3e generate list of files in dir via record keys 2014-12-10 17:12:27 -08:00
Brendan Dahl 9eba8bf935 Fix thread logging. 2014-12-09 15:31:34 -08:00
Marcus Cavanaugh 4ccafacbf0 Merge upstream/master. 2014-12-09 08:57:04 -08:00
Marcus Cavanaugh 695b605a9d Display thread in log messages. 2014-12-09 08:52:16 -08:00
Myk Melez 219d55995b Merge branch 'master' into transient-paths 2014-12-06 12:09:15 -08:00
Myk Melez ffa6844fa5 Merge pull request #690 from yxl/clear-console
Add a button to clear page console.
2014-12-05 17:30:13 -08:00
Marco 9a40487da3 Merge pull request #667 from mykmelez/coalesce-writes
merge data/stat records and coalesce writes
2014-12-05 17:29:36 -08:00
Yuan Xulei 7a6040f2e2 Add a button to clear page console. 2014-12-05 15:40:53 -08:00
Myk Melez 7862010998 support addition of transient paths 2014-12-05 12:16:52 -08:00
Myk Melez c503810e38 Merge pull request #681 from marco-c/increase_font_size
Increase default font size
2014-12-05 11:45:42 -08:00
Myk Melez de84d295d5 Merge branch 'master' into coalesce-writes
Conflicts:
	libs/fs.js
2014-12-05 10:49:14 -08:00
Marco Castelluccio f8e9a09ace Add fontSize to the list of URL parameters 2014-12-05 10:13:07 -08:00
Pin Zhang 7164cd9ab4 Fix multi-thread issue in localmsg API 2014-12-05 10:08:39 -08:00
Myk Melez e125467d21 stop deleting all records we put 2014-12-04 12:10:44 -08:00
Myk Melez 7163a5068d Revert "Merge pull request #677 from andreasgal/revert-647-merge-stat"
This reverts commit f3d9a5e818, reversing
changes made to c64e659f96.
2014-12-04 10:29:58 -08:00
Myk Melez 670b033f8f Merge branch 'master' into coalesce-writes 2014-12-04 10:29:31 -08:00
Marco a4e7309adb Revert "merge the stat and data records" 2014-12-04 12:20:42 -06:00
Myk Melez e702e6c15e Merge branch 'merge-stat' into coalesce-writes 2014-12-01 23:36:16 -08:00
Myk Melez 28581b4bed remove unnecessary checks that record.data is instanceof Blob 2014-12-01 23:04:05 -08:00
Myk Melez 7df9226a20 Merge branch 'master' into merge-stat 2014-12-01 17:11:58 -08:00
Myk Melez e0838e70cc coalesce and schedule syncing to persistent datastore 2014-12-01 14:41:39 -08:00
Myk Melez e9cc8a037b Merge branch 'store-sync' into coalesce-writes 2014-12-01 13:54:44 -08:00
Myk Melez bbcaf1d0da add debug statements for store functions 2014-11-30 17:07:07 -08:00
Myk Melez 8af02ac047 add storeSync function to ensure data synced to IDB store 2014-11-30 15:06:35 -08:00
Myk Melez 6f0305c124 upgrade fs db from v1 to v2 2014-11-29 16:47:32 -08:00
Myk Melez a677add891 Merge branch 'fs-perf' into merge-stat 2014-11-25 23:35:13 -08:00
Myk Melez 1706100a89 Merge branch 'master' into fs-perf 2014-11-25 23:32:26 -08:00
Myk Melez d3fd923d62 combine data and stat records 2014-11-25 17:06:41 -08:00
Myk Melez 54fcadd39c remove redundant fileStats cache 2014-11-25 11:28:29 -08:00
Yuan Xulei c15daa3150 Flush unclosed files actively to work around bug #227. 2014-11-25 18:48:25 +08:00
Myk Melez a2691f121d encapsulate Store constants/initialization 2014-11-24 16:34:30 -08:00
Marco Castelluccio ce14a6bf0b Merge branch 'master' of https://github.com/andreasgal/j2me.js into pipe_postMessage 2014-11-24 12:40:11 +01:00
Myk Melez f3790feb91 rename MemoryStore to Store now that it also stores to IDB 2014-11-24 03:16:05 -08:00
Myk Melez 2fb98157b5 remove player listener so it doesn't receive indeterminate number of updates 2014-11-24 03:09:48 -08:00
Myk Melez 01399432a6 make close and flush synchronous 2014-11-24 01:49:56 -08:00
Myk Melez a24c4df236 make setItem synchronous 2014-11-23 20:25:06 -08:00
Myk Melez 70833ddabd make removeItem synchronous 2014-11-23 19:57:32 -08:00
Myk Melez 49b0b3a304 unrefactor IDB access 2014-11-23 19:52:48 -08:00
Myk Melez e25ac3c22e consolidate all asyncStorage usage in fs 2014-11-23 18:50:08 -08:00
Myk Melez 739e7b3cc7 disable fs logging by default 2014-11-23 18:43:34 -08:00
Myk Melez c9d9b5d7a6 call asyncStorage indirectly 2014-11-23 18:39:45 -08:00
Myk Melez d736b9ae2e rename Store to MemoryStore for clarity 2014-11-23 18:25:26 -08:00
Myk Melez 99c999daef log file fs usage 2014-11-23 18:09:50 -08:00
Marco Castelluccio c8de81bcc3 Ingore messages from the window itself 2014-11-24 02:26:56 +01:00
Marco Castelluccio a875b3ac0f Use postMessage to communicate from parent to child. Fixes #532 2014-11-24 02:19:26 +01:00
Pin Zhang 8de2335770 Add system property com.nokia.mid.batterylevel 2014-11-24 09:16:53 +08:00
Myk Melez 3ceeead645 implement fs memory cache; make FCOutputStream.closeImpl/syncImpl synchronous 2014-11-23 16:59:08 -08:00
Brendan Dahl 4cd0b92758 Fix chrome again. 2014-11-20 14:52:07 -08:00
Yuan Xulei 385b739156 Accept dot as seperator for the full class name components. 2014-11-18 11:40:36 +08:00
Myk Melez c26d3b8c6d start numbering file descriptors from 3 2014-11-14 13:14:59 -08:00
Myk Melez b652f8efac Merge pull request #584 from marco-c/setZeroTimeout_when_possible
Use setZeroTimeout when possible
2014-11-13 17:18:08 -08:00
Myk Melez ce2a71de55 Merge pull request #581 from EricRahm/fs_stat_fixes
Cache file stats to avoid IDB lookups (rev2)
2014-11-13 16:13:18 -08:00
Marco Castelluccio 5045450cfb Use setZeroTimeout instead of setTimeout(..., 0) in libs/fs.js. Fixes #442 2014-11-13 23:02:45 +01:00
Eric Rahm 21ff6bfcbb Add trailing semicolon 2014-11-13 11:40:35 -08:00
Eric Rahm 9d46b16edc Fix unit test stat caching unit test failures
- fs.close is async, use it's callback
- update assumptions on unflushed files
- fix fs.ftruncate impl
2014-11-13 11:35:22 -08:00
Eric Rahm b1b6105c88 Cache file stats to avoid IDB lookups
- Adds |fs.fileStats| that maps paths to their file stat object
- Adds |size| to the file stat object so that |fs.size| can use the cache

Conflicts:
	libs/fs.js
2014-11-13 10:53:26 -08:00
Marco Castelluccio db91c360ad Don't call toBlob twice; return null instead of a Blob if str is empty 2014-11-12 00:17:58 +01:00
Marco Castelluccio 419c1a841e Fix formatting in libs/contact2vcard.js 2014-11-12 00:14:49 +01:00
Marco Castelluccio 7fa33fd6e5 Fix typo in contact2vcard 2014-11-12 00:12:58 +01:00
Marco Castelluccio 0c0c4136e8 Merge branch 'master' of https://github.com/andreasgal/j2me.js into pimproxy_natives 2014-11-11 22:19:46 +01:00
Marco Castelluccio 468d97c9fc Add UID field to the generated vCard 2014-11-10 23:11:49 +01:00
Marco Castelluccio 9b27afd782 Import contact2vcard library from Gaia 2014-11-10 13:26:59 +01:00
Myk Melez a66d43c9d2 Merge pull request #553 from EricRahm/issue_388
Switch to |fs.close| calling |fs.flush|
2014-11-08 13:45:24 -08:00
Eric Rahm 3f8cee9756 Switch to |fs.close| calling |fs.flush|
Issue #388.
- Adds a dirty flag to our FD, updates it on write/truncate/flush
- Only flush if the dirty flag is set
- |fs.close| calls flush
2014-11-06 18:08:12 -08:00
Marco Castelluccio 9f6e0dc645 Implement getFirst and getNext. Fixes #517. 2014-11-06 19:06:57 +01:00
Myk Melez 3a0c9e8ab1 disable gamepad by default 2014-10-27 14:23:23 -07:00
Myk Melez 0022b4b7fd enable instrumentation if specified by 'instrument' URL param 2014-10-23 16:04:23 -07:00
Myk Melez 054d683ced clean up logging and error reporting 2014-10-22 16:32:32 -07:00
Myk Melez 5915d0510f work-in-progress impl of SSL stream test 2014-10-21 17:02:04 -07:00
Myk Melez e15c69722f cache mobile info on startup 2014-10-15 16:11:41 -07:00
Myk Melez 197e2ee859 rewind hash in mozbrowser mode 2014-10-15 15:11:33 -07:00
Myk Melez 77220371d0 fix automated tests 2014-10-15 02:06:25 -07:00
Myk Melez 7e76d45fae Merge branch 'master' into allow-scripts
Conflicts:
	native.js
	tests/automation.js
2014-10-15 01:28:01 -07:00
Myk Melez d6dfc59cca close pipes after we're done using them 2014-10-15 01:12:15 -07:00
Myk Melez 7947ebbaf2 ensure we don't fill up browser history over time 2014-10-15 01:04:32 -07:00
Myk Melez 056beb7e65 improve terminology 2014-10-15 00:10:59 -07:00
Myk Melez 4706d36658 print stack on exception in pipe 2014-10-14 23:09:17 -07:00
Marco Castelluccio 8ccde33c44 Enlarge buffer only if requested size is > than current size 2014-10-14 16:06:48 -07:00
Myk Melez 2ce48cd787 fix tests when run in automation 2014-10-13 00:02:46 -07:00
Myk Melez 43ab05593c make dumb pipe work without mozbrowser 2014-10-12 23:15:01 -07:00
Myk Melez df7e614d9f use mozbrowser to enable privileges, local loading, and code evaluation 2014-10-12 22:36:22 -07:00
Myk Melez dbc93161d2 retrieve mobileInfo in wrapper 2014-10-07 14:20:27 -07:00
Myk Melez 911d67b0a5 move test contacts script to wrapper 2014-10-07 10:11:17 -07:00
Marco Castelluccio 36b7b2b911 Call normalizePath only in public functions 2014-10-01 18:06:07 -07:00
Marco Castelluccio dd35aa32c0 Merge branch 'master' of https://github.com/andreasgal/j2me.js into remove_fs_transition_code
Conflicts:
	libs/fs.js
	tests/automation.js
2014-10-01 17:58:49 -07:00
Marco Castelluccio ed00fabcfa Call callback after zero timeout in stat, rename and remove 2014-10-01 17:46:01 -07:00
Marco Castelluccio 7dcea7198c Don't rename/delete open files 2014-10-01 17:01:03 -07:00
Marco Castelluccio fea2775ef2 Store stat data in memory in ftruncate 2014-10-01 16:59:28 -07:00
Marco Castelluccio 3c57cfc2ee Return in-memory copy of stat data if we have one 2014-10-01 16:59:02 -07:00
Marco Castelluccio 7ffa5167a0 Remove stat data transitioning code. Fixes #386. 2014-10-01 12:59:19 -07:00
Marco Castelluccio b717bfa383 Update stat data on flush and not for each write 2014-10-01 12:17:15 -07:00
Brendan Dahl 8385651ce0 Various fixes for chrome. 2014-09-30 09:17:16 -07:00
Marco a10b4e3c37 Merge pull request #347 from brendandahl/fix-init
Fix JAR/JAD files loading multiple times.
2014-09-29 15:23:21 -07:00
Brendan Dahl 6c722a5b1d Add promises polyfill. 2014-09-29 11:25:33 -07:00
Myk Melez ec2a93bce8 ensure creation succeeds before setting stat.isDir 2014-09-27 02:21:48 -07:00
Myk Melez d70a4e79e7 use stat to ensure file being truncated isn't dir 2014-09-27 02:02:10 -07:00
Myk Melez 5b33e8f953 create files correctly; truncate files that exist but are empty 2014-09-27 01:30:24 -07:00
Myk Melez e0ef34a538 use the mobilenetwork privilege to access subset of Mobile Connection API 2014-09-23 11:59:52 -07:00
Marco Castelluccio af0742e24b Add missing space 2014-09-22 14:16:01 -07:00
Marco Castelluccio 4b12f8fca2 Merge branch 'master' of https://github.com/andreasgal/j2me.js into isDir_stat 2014-09-22 14:15:38 -07:00
Marco Castelluccio d6fcc27d02 Create stat data for files/directories that were created before stat has been introduced 2014-09-22 10:24:13 -07:00
Marco Castelluccio 3e47bcdbe1 Don't use exists in mkdirp 2014-09-22 09:28:23 -07:00
Marco Castelluccio 04cb0d0cb5 Use stat instead of list in mkdirp 2014-09-22 09:19:30 -07:00
Marco Castelluccio 6b78063e8f Call the callback in remove after the stat data has been removed 2014-09-22 09:16:55 -07:00
Marco Castelluccio 2a8ebfe57d Use stat in exists instead of reading the whole file 2014-09-22 09:16:03 -07:00
Marco Castelluccio 5e91cc3861 Add stat data for the / directory in fs.init 2014-09-22 09:12:56 -07:00
Marco Castelluccio 702bb0061a Add isDir to stat 2014-09-22 09:07:23 -07:00
Myk Melez 91d9692413 disable profiling by default; add URL param to enable it 2014-09-22 01:05:03 -07:00
Marco Castelluccio 8cee71b960 Merge branch 'master' of https://github.com/andreasgal/j2me.js into mozContacts 2014-09-19 16:59:34 -07:00
Marco Castelluccio 11d5a9db56 Merge branch 'master' of https://github.com/andreasgal/j2me.js into contacts
Conflicts:
	midp/localmsg.js
	tests/automation.js
2014-09-19 16:43:21 -07:00
Marco Castelluccio 097d193aa2 Use the mozContacts API instead of hardcoding a stub contact 2014-09-19 12:58:56 -07:00
Marcus Cavanaugh 77fbde25f8 Resize canvas to fill screen on mobile-sized devices. 2014-09-19 11:42:28 -07:00
Marco Castelluccio 6939c38b81 Provide a stub implementation of the Contacts API 2014-09-19 11:26:51 -07:00
Marco Castelluccio 4e43eb304f Merge branch 'master' into contacts 2014-09-18 18:19:27 -07:00
Marcus Cavanaugh c919630472 Improve console functionality: live filtering, colorization, layout. 2014-09-18 11:00:10 -07:00
Marco Castelluccio 0ebb654f83 Merge branch 'master' of https://github.com/andreasgal/j2me.js into contacts 2014-09-17 18:07:16 -07:00
Myk Melez c332eff8f6 remove stat when removing file 2014-09-17 11:03:14 -07:00
Myk Melez c5b6687c76 don't truncate to same size 2014-09-16 16:40:10 -07:00
Myk Melez ff8d0a8efc factor out updating mtime 2014-09-16 15:38:43 -07:00
Myk Melez f9232d466d update mtime on truncate/ftruncate; ensure each stat happens after last one 2014-09-16 15:33:23 -07:00
Myk Melez e063f8b254 basic impl of fs.stat 2014-09-16 15:11:39 -07:00
Marco Castelluccio bd4b238ef2 Basic wrapper for the mozContacts API 2014-09-16 14:49:25 -07:00
Marco Castelluccio 3f23425b62 Grow exponentially until 65536 bytes and linearly after 2014-09-11 12:54:39 -07:00
Marco Castelluccio 9479c5e9c3 Rename the Buffer class to FileBuffer 2014-09-11 12:48:02 -07:00
Marco Castelluccio 6e3d7d719d Buffer writes 2014-09-10 17:34:09 -07:00
Myk Melez 246b354dde make 'page' the default console; fix test bustage 2014-09-08 22:37:34 -07:00
Myk Melez 79edd24f3f really don't reassign window.console if it's the only console 2014-09-08 19:23:15 -07:00
Myk Melez 6cec042e5c target -> console 2014-09-08 19:17:08 -07:00
Myk Melez eff0ad8209 dedupe prints 2014-09-08 11:20:03 -07:00
Myk Melez ed277b109c flush output buffer to preserve order in which messages appear 2014-09-08 09:13:08 -07:00
Myk Melez def3c88ab6 use original console object if targeting only Web Console 2014-09-08 08:54:36 -07:00
Myk Melez ff7072dfd3 strip log function's frame from stack trace 2014-09-08 08:43:18 -07:00
Myk Melez d3c160aa43 implement trace correctly 2014-09-08 08:29:04 -07:00
Myk Melez 52ecc7567e support setting a log level 2014-09-08 08:10:25 -07:00
Myk Melez 4ba58e8eef improve commentary 2014-09-08 08:00:15 -07:00
Myk Melez 5d1319af2b abbreviate tags 2014-09-08 07:52:05 -07:00
Myk Melez 0ecb2ef930 replace deprecated console.debug 2014-09-08 07:50:48 -07:00
Myk Melez e568f292a9 basic support for multiple consoles 2014-09-08 02:21:37 -07:00
Myk Melez b133179205 add stub console module 2014-09-08 01:38:14 -07:00
Marco Castelluccio 010f70c0d5 Update Rusha (fixes a asmjs problem) 2014-09-06 18:28:55 -07:00
Myk Melez 5c95489e1a pad MCC/MNC values more lazily 2014-09-05 16:06:44 -07:00
Myk Melez f535d63a04 differentiate between network/ICC values for MCC/MNC; add msisdn 2014-09-05 14:57:32 -07:00
Myk Melez 291a9f6873 add semi-colon 2014-09-05 12:00:36 -07:00
Myk Melez 2b34b73a0b zero-pad mcc and mnc values 2014-09-05 11:55:22 -07:00
Myk Melez 3f47385bb6 add mnc and mcc URL params 2014-09-05 11:34:30 -07:00
Myk Melez 86810eb3d8 prepend MCC value to com.nokia.mid.mnc 2014-09-05 10:56:43 -07:00
Marco Castelluccio 8811c9cc08 Update Rusha (the asm.js heap size issue has been fixed) 2014-09-04 08:56:39 -07:00
Myk Melez ba23ee2dab implement MD5.clone in forge 2014-09-03 00:27:11 -07:00
Myk Melez 23094303bc use minimal forge modules; strip cryptojs 2014-09-02 21:40:57 -07:00
Myk Melez 145001cd40 wip use forge to calculate md5 digests 2014-09-02 15:39:31 -07:00
Myk Melez 1349a976ac remove unused CryptoJS SHA1 impl 2014-09-02 09:46:16 -07:00
Myk Melez 6078dcd115 replace CryptoJS SHA-1 hasher with Rusha 2014-09-02 09:05:26 -07:00
Myk Melez a73db01667 initial impl of RSA.modExp 2014-08-28 16:52:54 -07:00
Donovan Preston bc464848ce Implement md5 2014-08-28 14:05:04 -04:00
Myk Melez 908f27e8ff Merge branch 'test_sha' of github.com:marco-c/j2me.js into marco-c-test_sha
Conflicts:
	tests/automation.js
2014-08-27 16:52:13 -07:00
Myk Melez 62036bb937 use the non-minified CryptoJS code 2014-08-27 13:21:56 -07:00
Myk Melez 2cf204e5e7 implement SHA1 hasher 2014-08-27 13:07:37 -07:00
Marco Castelluccio 88e2782e55 Merge branch 'master' of https://github.com/andreasgal/j2me.js into implement_randomaccessstream
Conflicts:
	tests/automation.js
2014-08-26 09:30:11 -07:00
Marco Castelluccio c3a292b024 Make RandomAccessStream::sizeOf throw an exception if the file isn't open 2014-08-25 14:52:54 -07:00
Marco Castelluccio 4dd4465180 Add method to the fs library to get the size of an opened file 2014-08-25 14:49:01 -07:00
Marco Castelluccio cc86446a8f Return empty buffer in case of out of bounds access 2014-08-25 12:39:28 -07:00
Marco Castelluccio 3f65ff0957 Add fs.rename, add some FileConnection natives, add fs.rename tests 2014-08-14 17:41:38 -07:00
Marco Castelluccio 6b79454835 Looks like com.nokia.mid.networkID has to be a 3 character number followed by a 4 character number 2014-08-12 11:11:52 -07:00
Myk Melez 21076452b6 basic RecordStoreFile natives tests; bug fixes to pass them; and a truncateFile impl 2014-08-10 18:20:09 -07:00
Andreas Gal cd04915fff Merge. 2014-08-08 18:43:05 -07:00
Myk Melez 2ee574732b fix slash coalescence; normalize path in now-public dirname function 2014-08-08 16:51:45 -07:00
Myk Melez 7eca4c63e9 don't change from if it's explicitly 0 2014-08-08 16:24:04 -07:00
Marco Castelluccio 7a5da5f1f1 Add mobileInfo library to get informations about mobile connections using the mozMobileConnections API 2014-08-08 16:17:00 -07:00
Myk Melez a92256266d don't reset from if it's 0; do set position after reading bytes 2014-08-08 16:14:50 -07:00