bookreader.git
13 years agoMerge branch 'newui' of git@github.com:openlibrary/bookreader into newui
rajbot [Thu, 11 Nov 2010 07:09:09 +0000 (07:09 +0000)]
Merge branch 'newui' of git@github.com:openlibrary/bookreader into newui

13 years agoMerge branch 'newui' of https://github.com/rajbot/bookreader into raj-merge
Michael Ang [Wed, 10 Nov 2010 20:51:58 +0000 (20:51 +0000)]
Merge branch 'newui' of https://github.com/rajbot/bookreader into raj-merge

13 years agoMerge branch 'newui' of git@github.com:openlibrary/bookreader into newui
rajbot [Wed, 10 Nov 2010 20:49:03 +0000 (20:49 +0000)]
Merge branch 'newui' of git@github.com:openlibrary/bookreader into newui

13 years agoAdd random parameter for olAuth to avoid stale cache issues.
rajbot [Wed, 10 Nov 2010 20:45:34 +0000 (20:45 +0000)]
Add random parameter for olAuth to avoid stale cache issues.
Show warning if olAuth can't connect to Open Library.

13 years agoAdd contributed patch from https://github.com/yankl to set BRcontainer direction...
Michael Ang [Wed, 10 Nov 2010 19:59:25 +0000 (19:59 +0000)]
Add contributed patch from https://github.com/yankl to set BRcontainer direction to ltr - allows setting other elements to rtl without disrupting book layout.

Merge commit 'yankl/master' into newui

Conflicts:
BookReader/BookReader.js

13 years agoMerge branch 'master' into newui
Michael Ang [Wed, 10 Nov 2010 19:54:44 +0000 (19:54 +0000)]
Merge branch 'master' into newui

Conflicts:
BookReaderIA/inc/BookReader.inc

13 years agoImplement getInfoDiv for archive.org/openlibrary.org books
Michael Ang [Wed, 10 Nov 2010 01:01:54 +0000 (01:01 +0000)]
Implement getInfoDiv for archive.org/openlibrary.org books

13 years agoRemove resize at document ready that was causing tiny pages in 2up mode on IE7. ...
Michael Ang [Tue, 9 Nov 2010 01:31:40 +0000 (01:31 +0000)]
Remove resize at document ready that was causing tiny pages in 2up mode on IE7.  Note in BookReader.inc about disabling cache defeat code when debugging on IE.

13 years agoSet display to none for share and info popovers when they are first added
Michael Ang [Tue, 9 Nov 2010 00:43:38 +0000 (00:43 +0000)]
Set display to none for share and info popovers when they are first added

13 years agoAdd support for rtl interfaces
yankl [Fri, 5 Nov 2010 07:03:43 +0000 (00:03 -0700)]
Add support for rtl interfaces

13 years agoInfo and share popups with placeholder text
Michael Ang [Fri, 5 Nov 2010 00:04:01 +0000 (00:04 +0000)]
Info and share popups with placeholder text

13 years agoAllow periods in subPrefix
Michael Ang [Fri, 29 Oct 2010 00:54:46 +0000 (00:54 +0000)]
Allow periods in subPrefix

13 years agoAdd comment in generated BookReader main html showing how to use JSLocate for stable...
Michael Ang [Mon, 25 Oct 2010 19:48:18 +0000 (19:48 +0000)]
Add comment in generated BookReader main html showing how to use JSLocate for stable metadata access instead of referencing datanode directly.

13 years agoMerge branch 'master' into newui
Michael Ang [Mon, 25 Oct 2010 19:30:55 +0000 (19:30 +0000)]
Merge branch 'master' into newui

13 years agoAllow &subPrefix= in JSLocate, to match param name in Images
Michael Ang [Mon, 25 Oct 2010 19:28:42 +0000 (19:28 +0000)]
Allow &subPrefix= in JSLocate, to match param name in Images

13 years agoGet autofit reduce for 2up
Michael Ang [Thu, 21 Oct 2010 10:41:10 +0000 (10:41 +0000)]
Get autofit reduce for 2up

13 years agoChange zoom levels -- can't zoom as far out. Implement drag to pan (hold for short...
Michael Ang [Thu, 21 Oct 2010 10:29:57 +0000 (10:29 +0000)]
Change zoom levels -- can't zoom as far out.  Implement drag to pan (hold for short delay, then drag) for 2up.  Change feel of swipe.

13 years agoRemove not-yet-implemented fit button
Michael Ang [Thu, 21 Oct 2010 09:55:43 +0000 (09:55 +0000)]
Remove not-yet-implemented fit button

13 years agoFix glitchiness clicking through from thumbnail view. Remove thumbnail highlight.
Michael Ang [Thu, 21 Oct 2010 09:50:41 +0000 (09:50 +0000)]
Fix glitchiness clicking through from thumbnail view.  Remove thumbnail highlight.

13 years agoMax out book cover shadow with triggering scroll bars on FF.
Michael Ang [Thu, 21 Oct 2010 09:39:58 +0000 (09:39 +0000)]
Max out book cover shadow with triggering scroll bars on FF.

13 years agoImprove swiping - swallow event when swipe detected so click handler doesn't trigger
Michael Ang [Thu, 21 Oct 2010 09:25:07 +0000 (09:25 +0000)]
Improve swiping - swallow event when swipe detected so click handler doesn't trigger

13 years agoBRcontainer should go all the way to the edge -- with nav hidden use every pixel!
Michael Ang [Thu, 21 Oct 2010 09:02:59 +0000 (09:02 +0000)]
BRcontainer should go all the way to the edge -- with nav hidden use every pixel!

13 years agoMake background ever so slightly brigher. Drop shadow for nav -- Safari only since...
Michael Ang [Thu, 21 Oct 2010 09:01:11 +0000 (09:01 +0000)]
Make background ever so slightly brigher. Drop shadow for nav -- Safari only since on Firefox it triggers scroll bars.

13 years agoAdd noselect class to 1up page images
Michael Ang [Thu, 21 Oct 2010 08:31:46 +0000 (08:31 +0000)]
Add noselect class to 1up page images

13 years agoAdd shadow to 1up. Tweak thumb shadow.
Michael Ang [Thu, 21 Oct 2010 08:27:24 +0000 (08:27 +0000)]
Add shadow to 1up.  Tweak thumb shadow.

13 years agoStronger shadow for 2up
Michael Ang [Thu, 21 Oct 2010 07:57:27 +0000 (07:57 +0000)]
Stronger shadow for 2up

13 years agoSlight shadow for thumbnails
Michael Ang [Thu, 21 Oct 2010 07:53:12 +0000 (07:53 +0000)]
Slight shadow for thumbnails

13 years agoFix typo
Michael Ang [Thu, 21 Oct 2010 07:47:10 +0000 (07:47 +0000)]
Fix typo

13 years agoSet background colour of thumb and 1up images
Michael Ang [Thu, 21 Oct 2010 07:45:29 +0000 (07:45 +0000)]
Set background colour of thumb and 1up images

13 years agoSet background of 2up pages images to Bird
Michael Ang [Thu, 21 Oct 2010 07:32:46 +0000 (07:32 +0000)]
Set background of 2up pages images to Bird

13 years agoFix more merge damage.
Michael Ang [Thu, 21 Oct 2010 01:03:49 +0000 (01:03 +0000)]
Fix more merge damage.

13 years agoTurn off top nav pullout tab.
Michael Ang [Thu, 21 Oct 2010 00:14:45 +0000 (00:14 +0000)]
Turn off top nav pullout tab.

13 years agoFix merge issue. Fix the unfix my fix.
Michael Ang [Thu, 21 Oct 2010 00:08:12 +0000 (00:08 +0000)]
Fix merge issue.  Fix the unfix my fix.

13 years agoMerge branch 'newui' of http://github.com/lancearthur/bookreader into lancemerge
Michael Ang [Wed, 20 Oct 2010 23:57:04 +0000 (23:57 +0000)]
Merge branch 'newui' of github.com/lancearthur/bookreader into lancemerge

13 years agodeal with olauth case when browserlending is not the first collection
rajbot [Wed, 20 Oct 2010 23:06:45 +0000 (23:06 +0000)]
deal with olauth case when browserlending is not the first collection

13 years agoUpdate to add top tab, remove auto-slide
Lance Arthur [Wed, 20 Oct 2010 22:46:37 +0000 (15:46 -0700)]
Update to add top tab, remove auto-slide

13 years agoMerge branch 'newui' of git@github.com:openlibrary/bookreader into newui
rajbot [Wed, 20 Oct 2010 20:25:08 +0000 (20:25 +0000)]
Merge branch 'newui' of git@github.com:openlibrary/bookreader into newui

13 years agostarting autoPlay stops TTS, and starting TTS stops autoPlay
rajbot [Wed, 20 Oct 2010 20:23:08 +0000 (20:23 +0000)]
starting autoPlay stops TTS, and starting TTS stops autoPlay

13 years agounfixing my fix
Lance Arthur [Wed, 20 Oct 2010 20:04:43 +0000 (13:04 -0700)]
unfixing my fix

13 years agoUpdate
Lance Arthur [Wed, 20 Oct 2010 19:56:29 +0000 (12:56 -0700)]
Update

13 years agoFix hover effect on nav markers getting stuck on iPad. Remove trailing , in property...
Michael Ang [Wed, 20 Oct 2010 19:46:27 +0000 (19:46 +0000)]
Fix hover effect on nav markers getting stuck on iPad.  Remove trailing , in property list that is supported everywhere except for IE!

13 years agoupdate
Lance Arthur [Wed, 20 Oct 2010 19:43:43 +0000 (12:43 -0700)]
update

13 years agoMerge commit 'openlibrary/newui' into newui
Lance Arthur [Wed, 20 Oct 2010 19:43:27 +0000 (12:43 -0700)]
Merge commit 'openlibrary/newui' into newui

13 years agoupdate
Lance Arthur [Wed, 20 Oct 2010 19:43:16 +0000 (12:43 -0700)]
update

13 years agofor full-text search, use the page number in the par object, not the
rajbot [Wed, 20 Oct 2010 05:28:05 +0000 (05:28 +0000)]
for full-text search, use the page number in the par object, not the
box object, since it is sometimes missing.

13 years agomove fulltext search api to production url
rajbot [Wed, 20 Oct 2010 05:06:15 +0000 (05:06 +0000)]
move fulltext search api to production url

13 years agoMerge branch 'newui' of git@github.com:openlibrary/bookreader into newui
rajbot [Wed, 20 Oct 2010 03:25:06 +0000 (03:25 +0000)]
Merge branch 'newui' of git@github.com:openlibrary/bookreader into newui

13 years agofix search on mobile safari
rajbot [Wed, 20 Oct 2010 03:14:27 +0000 (03:14 +0000)]
fix search on mobile safari

13 years agoUpdate OL loan authorization to point to production service!
Michael Ang [Wed, 20 Oct 2010 02:27:40 +0000 (02:27 +0000)]
Update OL loan authorization to point to production service!

13 years agoMerge commit 'openlibrary/newui' into newui
Lance Arthur [Tue, 19 Oct 2010 23:36:41 +0000 (16:36 -0700)]
Merge commit 'openlibrary/newui' into newui

13 years agoMerge commit 'openlibrary/newui' into newui
Lance Arthur [Tue, 19 Oct 2010 23:32:22 +0000 (16:32 -0700)]
Merge commit 'openlibrary/newui' into newui

Conflicts:
BookReader/BookReader.css

13 years agoIncrease minimum search box width. Enable auto-play mode. Change read-aloud icon...
Michael Ang [Tue, 19 Oct 2010 23:11:54 +0000 (23:11 +0000)]
Increase minimum search box width.  Enable auto-play mode.  Change read-aloud icon hint.

13 years agoDon't hide mode buttons
Michael Ang [Tue, 19 Oct 2010 22:19:27 +0000 (22:19 +0000)]
Don't hide mode buttons

13 years agoSlight changes
Lance Arthur [Tue, 19 Oct 2010 22:13:37 +0000 (15:13 -0700)]
Slight changes

13 years agoMerge branch 'newui' of http://github.com/rajbot/bookreader into swipe
Michael Ang [Tue, 19 Oct 2010 20:47:19 +0000 (20:47 +0000)]
Merge branch 'newui' of github.com/rajbot/bookreader into swipe

13 years agocall ttsStop in zoom_in or zoom_out click handlers
rajbot [Tue, 19 Oct 2010 20:45:40 +0000 (20:45 +0000)]
call ttsStop in zoom_in or zoom_out click handlers

13 years agoMerge branch 'newui' of http://github.com/rajbot/bookreader into swipe
Michael Ang [Tue, 19 Oct 2010 20:40:35 +0000 (20:40 +0000)]
Merge branch 'newui' of github.com/rajbot/bookreader into swipe

13 years agocall ttsStop() when jumpToPageIndex or left/right click handlers are called.
rajbot [Tue, 19 Oct 2010 20:38:18 +0000 (20:38 +0000)]
call ttsStop() when jumpToPageIndex or left/right click handlers are called.

13 years agoDon't disable mouseup event for simulated right-click touches on iOS
Michael Ang [Tue, 19 Oct 2010 15:42:38 +0000 (15:42 +0000)]
Don't disable mouseup event for simulated right-click touches on iOS

13 years agoshow error when no search results are returned.
rajbot [Tue, 19 Oct 2010 15:34:34 +0000 (15:34 +0000)]
show error when no search results are returned.

13 years agoCleanup!
Michael Ang [Tue, 19 Oct 2010 15:33:11 +0000 (15:33 +0000)]
Cleanup!

13 years agoNew class BRnoselect to disable e.g. page image drag
Michael Ang [Tue, 19 Oct 2010 15:27:17 +0000 (15:27 +0000)]
New class BRnoselect to disable e.g. page image drag

13 years agoRemove dragscrollable from 2up view. Swipe is working for 2up. Disable page image...
Michael Ang [Tue, 19 Oct 2010 15:19:20 +0000 (15:19 +0000)]
Remove dragscrollable from 2up view.  Swipe is working for 2up.  Disable page image drag in 2up.  Fix right-click!

13 years agoPut cap on swipe length
Michael Ang [Tue, 19 Oct 2010 14:34:03 +0000 (14:34 +0000)]
Put cap on swipe length

13 years agoFirst pass at swipe
Michael Ang [Tue, 19 Oct 2010 14:29:53 +0000 (14:29 +0000)]
First pass at swipe

13 years agoupdate progress bar
rajbot [Tue, 19 Oct 2010 05:46:42 +0000 (05:46 +0000)]
update progress bar

13 years agoThe css for .BookReaderSearchHilite had been removed...
rajbot [Tue, 19 Oct 2010 04:23:37 +0000 (04:23 +0000)]
The css for .BookReaderSearchHilite had been removed...

13 years agoMerge branch 'newui' of git@github.com:openlibrary/bookreader into sigh_someone_broke...
rajbot [Tue, 19 Oct 2010 04:17:18 +0000 (04:17 +0000)]
Merge branch 'newui' of git@github.com:openlibrary/bookreader into sigh_someone_broke_search

13 years agoUpdated with book info pop-up code and images
Lance Arthur [Mon, 18 Oct 2010 23:59:02 +0000 (16:59 -0700)]
Updated with book info pop-up code and images

13 years agoanimate search markers
rajbot [Mon, 18 Oct 2010 23:38:43 +0000 (23:38 +0000)]
animate search markers

13 years agoFix chapter marker problem
Lance Arthur [Mon, 18 Oct 2010 23:17:35 +0000 (16:17 -0700)]
Fix chapter marker problem

13 years agoMerge commit 'openlibrary/newui' into newui
Lance Arthur [Mon, 18 Oct 2010 22:47:47 +0000 (15:47 -0700)]
Merge commit 'openlibrary/newui' into newui

13 years agoSlight change
Lance Arthur [Mon, 18 Oct 2010 22:47:30 +0000 (15:47 -0700)]
Slight change

13 years agoHook up handlers to tool/nav bar icons
Michael Ang [Mon, 18 Oct 2010 22:45:20 +0000 (22:45 +0000)]
Hook up handlers to tool/nav bar icons

13 years agoMerge commit 'lance/newui' into newui
Michael Ang [Mon, 18 Oct 2010 22:21:34 +0000 (22:21 +0000)]
Merge commit 'lance/newui' into newui

13 years agoPull excanvas from /includes
Michael Ang [Mon, 18 Oct 2010 22:21:07 +0000 (22:21 +0000)]
Pull excanvas from /includes

13 years agoUpdates!
Lance Arthur [Mon, 18 Oct 2010 22:13:14 +0000 (15:13 -0700)]
Updates!

13 years agoSet auth to test instance
Michael Ang [Mon, 18 Oct 2010 22:02:15 +0000 (22:02 +0000)]
Set auth to test instance

13 years agoMerge branch 'newui' of git@github.com:openlibrary/bookreader into newui
rajbot [Mon, 18 Oct 2010 20:29:40 +0000 (20:29 +0000)]
Merge branch 'newui' of git@github.com:openlibrary/bookreader into newui

13 years agofix searchHighlightVisible() for 1up mode
rajbot [Mon, 18 Oct 2010 18:05:26 +0000 (18:05 +0000)]
fix searchHighlightVisible() for 1up mode

13 years agosearchNew() -> search()
rajbot [Mon, 18 Oct 2010 17:53:20 +0000 (17:53 +0000)]
searchNew() -> search()

13 years agoupdate searchHighlightVisible and searchTerm to deal with new search api.
rajbot [Mon, 18 Oct 2010 17:45:42 +0000 (17:45 +0000)]
update searchHighlightVisible and searchTerm to deal with new search api.

13 years agoremove search results before performing new search.
rajbot [Mon, 18 Oct 2010 17:11:08 +0000 (17:11 +0000)]
remove search results before performing new search.

13 years agoChanges for new interface
Lance Arthur [Mon, 18 Oct 2010 06:51:11 +0000 (23:51 -0700)]
Changes for new interface

13 years agoshow search highlights when querying new full-text search api.
rajbot [Mon, 18 Oct 2010 06:19:58 +0000 (06:19 +0000)]
show search highlights when querying new full-text search api.

13 years agorename ttsPopup to progressPopup, so we can reuse it for search progress
rajbot [Sun, 17 Oct 2010 19:55:07 +0000 (19:55 +0000)]
rename ttsPopup to progressPopup, so we can reuse it for search progress

13 years agoNote to self
Michael Ang [Sun, 17 Oct 2010 07:55:20 +0000 (07:55 +0000)]
Note to self

13 years agoMerge branch 'browserlending' into newui
rajbot [Sat, 16 Oct 2010 00:36:06 +0000 (00:36 +0000)]
Merge branch 'browserlending' into newui

13 years agoMerge branch 'newui' of git@github.com:openlibrary/bookreader into newui
rajbot [Sat, 16 Oct 2010 00:33:57 +0000 (00:33 +0000)]
Merge branch 'newui' of git@github.com:openlibrary/bookreader into newui

Conflicts:
BookReader/BookReader.js

13 years agomap leaf num to pageIndex before adding a page to the search results
rajbot [Sat, 16 Oct 2010 00:22:25 +0000 (00:22 +0000)]
map leaf num to pageIndex before adding a page to the search results

13 years agoMerge commit 'openlibrary/newui' into newui
Lance Arthur [Fri, 15 Oct 2010 19:17:33 +0000 (12:17 -0700)]
Merge commit 'openlibrary/newui' into newui

13 years agoMerge commit 'lance/newui' into newui
Michael Ang [Fri, 15 Oct 2010 19:07:21 +0000 (19:07 +0000)]
Merge commit 'lance/newui' into newui

13 years agoAdding in play/pause icons
Lance Arthur [Fri, 15 Oct 2010 18:55:08 +0000 (11:55 -0700)]
Adding in play/pause icons

13 years agohook up new full-text search api
rajbot [Fri, 15 Oct 2010 05:50:01 +0000 (05:50 +0000)]
hook up new full-text search api

13 years agoUpdate nav bar while scrolling in thumbnail view
Michael Ang [Fri, 15 Oct 2010 01:39:57 +0000 (01:39 +0000)]
Update nav bar while scrolling in thumbnail view

13 years agoIncrease fudge factor when setting scroll position that determines which page is...
Michael Ang [Fri, 15 Oct 2010 01:29:43 +0000 (01:29 +0000)]
Increase fudge factor when setting scroll position that determines which page is considered current when drawing the one page view.  Probably drawLeafsOnePage should take a target index instead.

13 years agoWhen preparing 1up view, start with view scrolled to the current page. Fixes visual...
Michael Ang [Fri, 15 Oct 2010 01:19:18 +0000 (01:19 +0000)]
When preparing 1up view, start with view scrolled to the current page.  Fixes visual jumping switching from thumb to 1up.

13 years agoConnector image for chapter marker in nav bar
Michael Ang [Thu, 14 Oct 2010 23:00:30 +0000 (23:00 +0000)]
Connector image for chapter marker in nav bar

13 years agoremove debugging statement
rajbot [Thu, 14 Oct 2010 21:49:56 +0000 (21:49 +0000)]
remove debugging statement

13 years agopull out soundmanager and read-aloud code for mobile user agents
rajbot [Thu, 14 Oct 2010 21:43:12 +0000 (21:43 +0000)]
pull out soundmanager and read-aloud code for mobile user agents