mossroy
3018f9e162
Scan for archive files anywhere on the sdcard (not only in a /evopedia directory)
2013-06-03 13:22:39 +02:00
mossroy
69256e089c
Let the user choose the archive he wants to use, among the ones found on
...
the sdcard
2013-06-02 10:04:42 +02:00
mossroy
9eb9e9c01a
Implement scanning of sdcard content, in order to find the archives on
...
it
2013-06-01 20:45:26 +02:00
mossroy
203735b931
Small fix for archives that have more then 10 dump files
2013-05-30 13:12:18 +02:00
mossroy
d3a30a40de
Merge branch 'master' of https://github.com/mossroy/evopedia-html5
...
Conflicts:
www/index.html
www/js/app.js
2013-05-28 11:13:00 +02:00
mossroy
b35482fa1b
Hide the explanations on the main page. They can be shown with an
...
"About" button
2013-05-28 10:54:12 +02:00
mossroy
2954f06c95
Implement the browser history handling, with HTML5 pushState
2013-05-26 19:27:12 +02:00
mossroy
3618f9bcd3
Slightly improved the error handling, so that to :
...
- avoid some infinite loops
- display the error message when an unexpected error occurs
2013-05-26 16:24:34 +02:00
mossroy
59ba7bf1cc
Optimization of the algorithm that reads an article, so that it does not
...
read the entire dump for a single article.
It was causing crashes on devices (probably because they don't have
enough memory), and was very slow, even on a computer.
Now, the algorithm reads the file by chunks of 128 KB. Usually, 128 KB
seems to be enough to read the entire article
2013-05-20 16:16:16 +02:00
mossroy
f643192a9b
Fix some handling of non-ASCII letters and spaces
2013-05-10 18:04:48 +02:00
mossroy
9463eb41a1
Remove unused debug zone
...
Slightly improve the case when a redirected article is not found (which
seems to happen in some dumps)
2013-05-10 17:05:44 +02:00
mossroy
fb8408e878
Small fixes for links inside an article
2013-05-10 16:45:25 +02:00
mossroy
ecf48a0d41
Some more fixes in the search algorithm
2013-05-10 16:18:31 +02:00
mossroy
5457ab0f51
Fixes in the search algorithm
2013-05-10 15:18:34 +02:00
mossroy
12f2b7187b
Add a slightly more generic way to read title and data files on a real device
2013-05-06 15:37:35 +02:00
mossroy
707d45fb2a
Small fix to make it work on an actual device (it does not seem to accept reading files from input type=file)
2013-05-06 13:12:18 +02:00
mossroy
03b33afc63
Some minor improvements in the unit tests
2013-04-01 17:33:31 +02:00
mossroy
7eadf1c921
Add some unit tests with QUnit
2013-04-01 16:29:30 +02:00
mossroy
d1457fc2bf
Small changes in the title search algorithm
2013-03-15 16:46:05 +01:00
mossroy
7802cbf3b8
Big refactoring of the code, in a more object-oriented way.
...
But I could not push it as much as I would like : the FileReader API is asynchronous, which prevents some implementations (ex : a constructor in a class cannot read files)
The title searching is not very accurate for now, which is why the links do not work very well for now
2013-03-15 13:03:48 +01:00
mossroy
6c5020b42a
Filter article names that really start with the prefix (has to be improved with a normalizer before comparing strings)
2013-03-14 18:16:32 +01:00
mossroy
66e42247ff
Started refactoring the code in a more object-oriented way
...
Fixed the algorithm on the English dump
2013-03-14 17:35:45 +01:00
mossroy
5260b75587
fix typo
2013-03-12 17:48:37 +01:00
mossroy
8ba68c4259
Add very minimal implementation to be able to follow links inside articles
...
For now, it does not work very well, and simply tries to populate the
article list with the title as a search string
2013-03-12 16:53:44 +01:00
mossroy
d4df088b7e
Fix to make evopedia work inside Firefox OS simulator, when installed as an application
2013-03-11 20:25:54 +01:00
mossroy
469659f573
Fix minimal manifest.webapp
2013-03-11 16:43:15 +01:00
mossroy
daa69a3225
Refactor source tree and code, in order to use Volo,
...
and to start from Mortar template
2013-03-11 16:21:15 +01:00
mossroy
13660b1b63
Disclaimer in the HTML page : it is now broken on Firefox OS
...
because of more strict security policies
2013-01-25 19:08:34 +01:00
mossroy
7e4d9aa64a
Slightly improve error handling when reading files
2013-01-25 18:58:03 +01:00
mossroy
23bbb3fa88
Fix for data file number recognition when read through DeviceStorage
2013-01-02 16:01:37 +01:00
mossroy
c62b653b53
Fix for data file reading on DeviceStorage
2013-01-02 15:44:03 +01:00
mossroy
7f0abd81f2
Fix for DeviceStorage detection
2013-01-02 15:38:22 +01:00
mossroy
31b65c67af
Merge branch 'master' of ssh://github.com/mossroy/evopedia-html5
...
Conflicts:
evopedia-html5/evopedia.js
2013-01-02 15:23:11 +01:00
mossroy
50bbb7574e
Attempt to fix DeviceStorage usage in Firefox OS
2013-01-02 15:20:54 +01:00
mossroy
cc0dfe75b1
Attempt to fix DeviceStorage usage in Firefox OS
2013-01-02 15:18:02 +01:00
mossroy
5578935720
Add textual explanations in the HTML page
2013-01-02 15:06:27 +01:00
mossroy
1383f74640
Add debug information inside the HTML page, with a button to switch it
...
on/off
2013-01-02 12:59:07 +01:00
mossroy
4425806fe0
Slight improvement to DeviceStorage detection
2013-01-02 11:02:07 +01:00
mossroy
26c783edcb
Implement redirects
...
Format/Indent HTML and JS code
2013-01-02 10:46:58 +01:00
mossroy
56ad575920
Add index.html file that redirects to the current version of evopedia-html5
2013-01-02 09:34:39 +01:00
mossroy
2d5ca803fe
Remove WebContent folder and move all files one directory up
2013-01-02 09:28:23 +01:00
mossroy
5be775b556
Rename bzip javascript library, and remove unused version
2013-01-02 09:24:37 +01:00
mossroy
5a6e44d25d
Cosmetic corrections
2013-01-02 08:24:12 +01:00
mossroy
638d2f8815
First usable version of article searching
...
Removed possibility to list all articles (much too slow)
Added the removal of diacritics (accents etc) in the user-typed prefix
2012-12-28 21:48:46 +01:00
mossroy
c598de1ac5
Preliminary implementation of a binary search in the titles file.
...
It currently only finds the closest index of the search string, and is probably still buggy
2012-12-28 20:31:14 +01:00
mossroy
c3c677a66f
Improve comments, and remove dead code
2012-12-25 19:32:39 +01:00
mossroy
59b3c9916e
Move HTML header so that the encoding is in the first 1024 bytes
2012-12-25 19:21:09 +01:00
mossroy
48ce203088
Implement multiple archive files
...
Add GPL v3 License header
2012-12-25 19:03:50 +01:00
mossroy
2701f47a87
Fix UTF-8 encoding of article titles
2012-12-25 14:13:25 +01:00
mossroy
68a2f6a5f3
Add .gitignore
2012-12-25 13:27:14 +01:00