53 Commits

Author SHA1 Message Date
6d6c52db3e Fix up the results saving and restore to be more robust.
Always display passages using DisplayPassage so that UI events get
hooked up correctly.
2013-04-27 18:03:40 -04:00
34de294ed1 Merge in upstream changes. 2013-04-27 17:44:52 -04:00
a8ceb3b194 Add capability guards for the database functionality. 2013-04-27 15:13:20 -04:00
walljm
6fb1879256 - moved event hookups into functions 2013-04-27 15:11:58 -04:00
65736aa278 Api change for the db code SetDebug -> ToggleDebug. 2013-04-20 14:08:18 -05:00
dcd08a2dd1 Add a Tagging module.
* It uses an indexedb datastore.
* Fix the api of the indexeddb wrapper now that I have some real world usage
  examples.
* Implemented API Calls:
   * UpdateTags
   * GetTags
* Exposed but unimplemented API Calls:
   * GetVersesForTag
   * Sync
* Add a tooltip that shows the tags for a reference to the reference link.
2013-04-19 20:13:05 -05:00
walljm
0857a03e47 - removed old code 2013-04-19 17:56:08 -04:00
walljm
243f7a489c - cleanup 2013-04-19 17:08:46 -04:00
walljm
eeb6fdd9d0 - fixed window resize issue cause by loading results 2013-04-19 17:07:04 -04:00
walljm
84b456bf78 - fixed missing images
- fixed jquery.ui issue in dialog (wrong version of jquery.ui in conjunction with changed version of jquery when we moved to requirejs)
2013-04-19 14:28:25 -04:00
walljm
9b3bb378b6 - added permalinks to reference titles
- minor cleanup of unused vars
2013-04-19 10:47:58 -04:00
walljm
2964af32cf - added loading of ref via querystring
- ran build script to copy changes to android app
2013-04-19 10:35:14 -04:00
walljm
8570ca5b36 - minor formatting issue 2013-04-18 22:06:39 -04:00
acefd7d3cd Merge with upstream. 2013-04-18 18:55:20 -05:00
walljm
7332d1bdaa - further checks to prevent throwing null when localStorage isn't defined. 2013-04-18 13:28:18 -04:00
walljm
25d11136b9 - minor bug fix 2013-04-18 11:22:33 -04:00
2c805b95f7 Modularize the javascript with requirejs. 2013-04-17 17:56:22 -05:00
e0ba9712d4 A basic IndexedDb wrapper api.
* Init method for Initializing the Database.
* Basic CRUD methods.
* Session and Transaction Methods
   * for doing operations on an open database
   * and/or in a transaction.
2013-04-16 22:46:16 -05:00
walljm
60e315f6b8 - fixed localStorage errors.
- new android build
2013-04-16 17:09:09 -04:00
walljm
be32335b40 - added support for html localStorage for settings (should work on tablet now)
- added support to save strong dialog option, and results.
2013-04-16 16:41:19 -04:00
walljm
7ade3b70a5 - uncaught null reference was throwing errors. 2013-04-16 12:19:08 -04:00
walljm
1bde5b3f03 - added more tests to cover cases
- fixed bug where single chapters weren't being parsed correctly
2013-04-16 10:36:29 -04:00
walljm
6d74b54db1 - removed console references
- fixed error message handling
 - updated index.html to point to the correct files
2013-04-15 15:10:03 -04:00
walljm
0ad2f1bf41 Merge 2013-04-15 14:31:44 -04:00
89b3a3619b BugFix: End Verse getting corrupted during display in certain cases.
* Give Reference a toString() method.
* Pass a whole reference into DisplayPassage.
* Use the toString() method to display that
  reference in our passage text.
2013-04-14 13:18:58 -05:00
0741b50b4c Cleanup.
* Use the same brace style everywhere.
* Use semicolons everywhere.
* Add myself to the authorship for bible ref parsing.
* Don't use try catch blocks when exceptions are impossible.
* Add some returns for completeness sake when the functions return values
  elsewhere.
2013-04-10 19:39:10 -05:00
walljm
12f9e1194d - minor cleanup of unused vars, formatting 2013-04-09 11:53:04 -04:00
6296781f95 Updated Chapter and Verse parsing to use a proper state machine.
* Functional parsing of the references.
   * Parse out a set of tokens divided into start and end sets
   * Use those tokens to drive a state machine building the final reference.
* Cleaned up formatting. cuddle those curlies!!!
* Fixed test suite to use the dev version of the lib.
2013-04-07 17:56:54 -05:00
walljm
a612a20f78 fixed display bug when there were more than one number. 2013-02-13 18:53:33 -05:00
walljm
ce3ea47438 removed xml text, as no longer needed. 2013-01-02 16:51:20 -05:00
walljm
7d0482cbb1 tweaked json text conversion to make smaller. switched out text parsing from xml to json. 2013-01-02 16:50:24 -05:00
walljm
1af5989ac1 minor fixes, removed sortable verse list, as it wasn't useful yet. finished json full text conversion. 2012-12-27 18:41:04 -05:00
walljm
e31ac3a4ac new changes 2012-12-12 18:41:07 -05:00
walljm@walljm-vae-lt
645e79e2ff minor cleanup, bug fixes, option to put strongs refs in a dialog 2012-10-26 18:57:22 -04:00
walljm@walljm-vae-lt
6fe0054d71 replaced search index with new index using json (smaller files, more thorough index). Also added ability to sort references list. 2012-10-26 18:35:54 -04:00
jwall@VAPPRCSN015.vap.local
382a2e6541 na 2011-12-01 18:30:11 -05:00
jwall@VAPPRCSN015.vap.local
812569d5af moved android app, so all files are in repository. 2011-11-22 12:23:56 -05:00
jwall@VAPPRCSN015.vap.local
2ef94ada3c fixed small ref parsing error. 2011-11-14 10:03:17 -05:00
jwall@VAPPRCSN015.vap.local
756d7b0561 added help section. 2011-11-09 13:41:56 -05:00
jwall@VAPPRCSN015.vap.local
f48552b4d8 updated minified common 2011-11-07 11:32:33 -05:00
jwall@VAPPRCSN015.vap.local
5cbdf7fb61 cookie code 2011-11-07 11:30:40 -05:00
jwall@VAPPRCSN015.vap.local
4df35c9325 added cookie to save settings. 2011-11-07 11:30:21 -05:00
jwall@VAPPRCSN015.vap.local
9a5d5992fa corrected bible parsing errors. 2011-11-07 10:36:35 -05:00
jwall@VAPPRCSN015.vap.local
7fd974741a added improved reference parsing, can now find passages across chapters. 2011-11-04 19:19:29 -04:00
jwall@VAPPRCSN015.vap.local
99dec3f4a6 minified js files, added show/hide for crossrefs and rmac, fixed search results resize issue, various UI tweaks and css cleanup. 2011-11-04 12:36:22 -04:00
jwall@VAPPRCSN015.vap.local
84e801f547 more xml compacting 2011-11-03 16:02:00 -04:00
jwall@VAPPRCSN015.vap.local
26df63120f redid xml, compacted schema 2011-11-03 15:46:07 -04:00
jwall@VAPPRCSN015.vap.local
ad048e2926 added settings code, increase/decrease font size, change font face, and switch panes. 2011-11-03 14:49:40 -04:00
jwall@VAPPRCSN015.vap.local
66bf4a4cf6 switch append to prepend. 2011-11-03 11:32:12 -04:00
jwall@VAPPRCSN015.vap.local
a3b48d7eb4 bug fixes, added error checking, UI tweaks. 2011-11-03 11:22:11 -04:00