bookreader.git
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 agoProper placement of search results on nav line. Improve appearance of chapter and...
Michael Ang [Thu, 14 Oct 2010 19:51:45 +0000 (19:51 +0000)]
Proper placement of search results on nav line. Improve appearance of chapter and search result popups.

13 years agoMove chapter titles closer to markers
Michael Ang [Thu, 14 Oct 2010 17:56:30 +0000 (17:56 +0000)]
Move chapter titles closer to markers

13 years agoRemove unused icons
Michael Ang [Thu, 14 Oct 2010 17:56:13 +0000 (17:56 +0000)]
Remove unused icons

13 years agoChapter markers and the page slider icon are positioned correctly and line up with...
Michael Ang [Thu, 14 Oct 2010 02:40:35 +0000 (02:40 +0000)]
Chapter markers and the page slider icon are positioned correctly and line up with each other!

13 years agoMerge raj's read to me feature.
rajbot [Tue, 12 Oct 2010 21:38:47 +0000 (21:38 +0000)]
Merge raj's read to me feature.

Merge commit 'ol/newui' into newui

Conflicts:
BookReader/BookReader.css
BookReader/BookReader.js

13 years agoManual merge of setHilightCss2UP() from read_aloud branch.
rajbot [Tue, 12 Oct 2010 21:00:04 +0000 (21:00 +0000)]
Manual merge of setHilightCss2UP() from read_aloud branch.
Adjust tts popup layout for newui.

13 years agoMerge branch 'read_aloud' into newui
rajbot [Tue, 12 Oct 2010 20:47:59 +0000 (20:47 +0000)]
Merge branch 'read_aloud' into newui

Conflicts:
BookReader/BookReader.css
BookReader/BookReader.js
BookReader/images/read_aloud.png
BookReaderIA/datanode/BookReaderGetText.py
BookReaderIA/datanode/BookReaderGetTextWrapper.php
BookReaderIA/inc/BookReader.inc

13 years agoUpdate OL link when we find out what it is
Michael Ang [Sat, 9 Oct 2010 01:06:51 +0000 (01:06 +0000)]
Update OL link when we find out what it is

13 years agoOpen Library link
Michael Ang [Sat, 9 Oct 2010 01:04:00 +0000 (01:04 +0000)]
Open Library link

13 years agoHook up more buttons
Michael Ang [Sat, 9 Oct 2010 01:03:03 +0000 (01:03 +0000)]
Hook up more buttons

13 years agoNav bar follows current page (most of the time). Init nav slider to correct initial...
Michael Ang [Sat, 9 Oct 2010 00:43:21 +0000 (00:43 +0000)]
Nav bar follows current page (most of the time).  Init nav slider to correct initial position.

13 years agoUpdate nav bar in response to jumpToIndex
Michael Ang [Sat, 9 Oct 2010 00:28:54 +0000 (00:28 +0000)]
Update nav bar in response to jumpToIndex

13 years agoBetter formatting of page numbers on nav bar
Michael Ang [Fri, 8 Oct 2010 23:56:34 +0000 (23:56 +0000)]
Better formatting of page numbers on nav bar

13 years agoNavbar page number hiding
Michael Ang [Fri, 8 Oct 2010 23:46:17 +0000 (23:46 +0000)]
Navbar page number hiding

13 years agoUse jQuery UI slider for nav slider
Michael Ang [Fri, 8 Oct 2010 23:36:26 +0000 (23:36 +0000)]
Use jQuery UI slider for nav slider

13 years agoDisable auto-hide mode. Make sure nav slider event handlers are bound.
Michael Ang [Fri, 8 Oct 2010 22:22:37 +0000 (22:22 +0000)]
Disable auto-hide mode.  Make sure nav slider event handlers are bound.

13 years agoAdd library jquery-ui-for-ipad-and-iphone that maps touch events to mouse events...
Michael Ang [Fri, 8 Oct 2010 22:21:45 +0000 (22:21 +0000)]
Add library jquery-ui-for-ipad-and-iphone that maps touch events to mouse events for jQuery.  Subject to MIT license.  See code.google.com/p/jquery-ui-for-ipad-and-iphone/

13 years agoUpdate BookReaderTouch.css to match BookReader.css
Michael Ang [Fri, 8 Oct 2010 21:09:45 +0000 (21:09 +0000)]
Update BookReaderTouch.css to match BookReader.css

13 years agoMerge branch 'master' into newui
Michael Ang [Fri, 8 Oct 2010 00:12:34 +0000 (00:12 +0000)]
Merge branch 'master' into newui

Conflicts:
BookReaderIA/inc/BookReader.inc

13 years agoDoc cleanup
Michael Ang [Thu, 7 Oct 2010 23:57:56 +0000 (23:57 +0000)]
Doc cleanup

13 years agoRemove extraneous </script> tag
Michael Ang [Thu, 7 Oct 2010 23:57:20 +0000 (23:57 +0000)]
Remove extraneous </script> tag

13 years agoFull version of jquery ui
Michael Ang [Thu, 7 Oct 2010 23:56:10 +0000 (23:56 +0000)]
Full version of jquery ui

13 years agoTricky CSS to make browser size title properly. Excess text in the title wraps to...
Michael Ang [Wed, 6 Oct 2010 19:25:46 +0000 (19:25 +0000)]
Tricky CSS to make browser size title properly.  Excess text in the title wraps to the line below but is hidden because of overflow: hidden.

13 years agoAllow autohide
Michael Ang [Wed, 6 Oct 2010 01:04:33 +0000 (01:04 +0000)]
Allow autohide

13 years agoMerge commit 'lance/newui' into mergelanceui
Michael Ang [Wed, 6 Oct 2010 00:59:03 +0000 (00:59 +0000)]
Merge commit 'lance/newui' into mergelanceui

Conflicts:
BookReader/BookReader.js

13 years agoDoc cleanup
Michael Ang [Wed, 6 Oct 2010 00:02:12 +0000 (00:02 +0000)]
Doc cleanup

13 years agoOL TOC cleanup
Michael Ang [Wed, 6 Oct 2010 00:01:12 +0000 (00:01 +0000)]
OL TOC cleanup

13 years agoOL TOC cleanup
Michael Ang [Tue, 5 Oct 2010 23:57:52 +0000 (23:57 +0000)]
OL TOC cleanup

13 years agoWork in progress on retrieving table of contents from Open Library
Michael Ang [Tue, 5 Oct 2010 23:14:06 +0000 (23:14 +0000)]
Work in progress on retrieving table of contents from Open Library

13 years agoUpdated!
Lance Arthur [Tue, 5 Oct 2010 20:53:20 +0000 (13:53 -0700)]
Updated!

13 years agoUpdates and new files
Lance Arthur [Tue, 5 Oct 2010 20:37:11 +0000 (13:37 -0700)]
Updates and new files

13 years agoRecent changes
Lance Arthur [Tue, 5 Oct 2010 16:50:03 +0000 (09:50 -0700)]
Recent changes

13 years agoUpdated files
Lance Arthur [Tue, 5 Oct 2010 00:27:01 +0000 (17:27 -0700)]
Updated files

13 years agoCode to add/remove chapter and search result markers
Michael Ang [Mon, 4 Oct 2010 23:21:41 +0000 (23:21 +0000)]
Code to add/remove chapter and search result markers

13 years agoMove nav bar setup out of HTML and into BookReader.js
Michael Ang [Mon, 4 Oct 2010 22:42:35 +0000 (22:42 +0000)]
Move nav bar setup out of HTML and into BookReader.js

13 years agoUpdate padding for 1up and thumbnail modes. Was causing jumpToIndex to not land...
Michael Ang [Mon, 4 Oct 2010 22:10:23 +0000 (22:10 +0000)]
Update padding for 1up and thumbnail modes.  Was causing jumpToIndex to not land on the correct page.

13 years agoMerge branch 'master' into newui
Michael Ang [Mon, 4 Oct 2010 21:35:29 +0000 (21:35 +0000)]
Merge branch 'master' into newui

Conflicts:
BookReaderIA/inc/BookReader.inc

13 years agoRefactor nav bar hide/show
Michael Ang [Sat, 2 Oct 2010 00:05:02 +0000 (00:05 +0000)]
Refactor nav bar hide/show

13 years agoMove nav bar initialization to BookReader.initNavbar
Michael Ang [Fri, 1 Oct 2010 23:11:24 +0000 (23:11 +0000)]
Move nav bar initialization to BookReader.initNavbar

13 years agoAnalytics for archive.org hosted BookReader
Michael Ang [Fri, 1 Oct 2010 21:45:09 +0000 (21:45 +0000)]
Analytics for archive.org hosted BookReader

13 years agoMake "inside" of cover use leaf edge image, as in mockup
Michael Ang [Thu, 30 Sep 2010 21:34:08 +0000 (21:34 +0000)]
Make "inside" of cover use leaf edge image, as in mockup

13 years agoCSS cleanup
Michael Ang [Thu, 30 Sep 2010 21:16:19 +0000 (21:16 +0000)]
CSS cleanup

13 years agoRemove fudge factor in leaf edge heights - the heights no exactly match the page...
Michael Ang [Thu, 30 Sep 2010 21:09:17 +0000 (21:09 +0000)]
Remove fudge factor in leaf edge heights - the heights no exactly match the page images.

13 years agoCSS cleanup
Michael Ang [Thu, 30 Sep 2010 20:40:22 +0000 (20:40 +0000)]
CSS cleanup

13 years agoUpdate background colour
Michael Ang [Thu, 30 Sep 2010 20:29:32 +0000 (20:29 +0000)]
Update background colour

13 years agoMergerific
Michael Ang [Thu, 30 Sep 2010 20:10:45 +0000 (20:10 +0000)]
Mergerific

13 years agoMoved to CSS
Michael Ang [Thu, 30 Sep 2010 20:06:05 +0000 (20:06 +0000)]
Moved to CSS

13 years agoMore tweaks
Michael Ang [Thu, 30 Sep 2010 20:02:11 +0000 (20:02 +0000)]
More tweaks

13 years agoFix typo
Michael Ang [Thu, 30 Sep 2010 19:58:18 +0000 (19:58 +0000)]
Fix typo

13 years agoUpdate jquery-ui
Michael Ang [Thu, 30 Sep 2010 19:56:36 +0000 (19:56 +0000)]
Update jquery-ui

13 years agoAutofit fix
Michael Ang [Thu, 30 Sep 2010 19:55:26 +0000 (19:55 +0000)]
Autofit fix

13 years agoAdd missing ,
Michael Ang [Thu, 30 Sep 2010 19:49:32 +0000 (19:49 +0000)]
Add missing ,

13 years agoMerge branch 'lanceui' into mergeui
Michael Ang [Thu, 30 Sep 2010 19:45:11 +0000 (19:45 +0000)]
Merge branch 'lanceui' into mergeui

Conflicts:
BookReader/BookReader.css
BookReader/BookReader.js

13 years agobugfix for previous commit..
rajbot [Thu, 30 Sep 2010 19:29:03 +0000 (19:29 +0000)]
bugfix for previous commit..

13 years agoVersion from Lance/George
Michael Ang [Thu, 30 Sep 2010 19:26:18 +0000 (19:26 +0000)]
Version from Lance/George

13 years agoIf starting in thumbnail mode, switch to 1up.
rajbot [Thu, 30 Sep 2010 19:21:09 +0000 (19:21 +0000)]
If starting in thumbnail mode, switch to 1up.

13 years agoupdate tts image using Tango icons
rajbot [Thu, 30 Sep 2010 19:20:26 +0000 (19:20 +0000)]
update tts image using Tango icons

13 years agoremoving soundmanager2 from git
rajbot [Thu, 30 Sep 2010 07:30:41 +0000 (07:30 +0000)]
removing soundmanager2 from git

13 years agoMerge branch 'read_aloud' of git@github.com:openlibrary/bookreader into read_aloud
rajbot [Thu, 30 Sep 2010 06:05:33 +0000 (06:05 +0000)]
Merge branch 'read_aloud' of git@github.com:openlibrary/bookreader into read_aloud

Conflicts:
BookReaderIA/datanode/BookReaderGetText.py

13 years agoadd BookReaderGetTTS.php
rajbot [Thu, 30 Sep 2010 05:29:22 +0000 (05:29 +0000)]
add BookReaderGetTTS.php

13 years agoadd progressbar.gif
rajbot [Thu, 30 Sep 2010 05:22:28 +0000 (05:22 +0000)]
add progressbar.gif

13 years agocall ttsStop() if user changes the page
rajbot [Wed, 29 Sep 2010 23:55:26 +0000 (23:55 +0000)]
call ttsStop() if user changes the page

13 years agosanitize inputs
rajbot [Wed, 29 Sep 2010 23:41:16 +0000 (23:41 +0000)]
sanitize inputs

13 years agomove popup style to BookReader.css
rajbot [Wed, 29 Sep 2010 22:41:24 +0000 (22:41 +0000)]
move popup style to BookReader.css

13 years agomore subtle tts popup
rajbot [Wed, 29 Sep 2010 22:40:33 +0000 (22:40 +0000)]
more subtle tts popup

13 years agoget rid of trailing comma in object literal to fix IE7
rajbot [Wed, 29 Sep 2010 21:23:12 +0000 (21:23 +0000)]
get rid of trailing comma in object literal to fix IE7

13 years agoconditionalize TTS debugging on soundManager.debugMode == true
rajbot [Wed, 29 Sep 2010 20:59:27 +0000 (20:59 +0000)]
conditionalize TTS debugging on soundManager.debugMode == true

13 years agoadd safari support for TTS.
rajbot [Wed, 29 Sep 2010 20:44:06 +0000 (20:44 +0000)]
add safari support for TTS.

13 years agoRelease 28
Michael Ang [Mon, 27 Sep 2010 20:05:05 +0000 (20:05 +0000)]
Release 28

13 years agoOnly default to opening at title page if book has more than 2 pages. See https:...
Michael Ang [Fri, 24 Sep 2010 21:18:50 +0000 (21:18 +0000)]
Only default to opening at title page if book has more than 2 pages.  See https://bugs.edge.launchpad.net/bookreader/+bug/647145

13 years agoMerge branch 'master' into r28
Michael Ang [Fri, 24 Sep 2010 21:07:05 +0000 (21:07 +0000)]
Merge branch 'master' into r28

13 years agoMerge commit 'origin/master'
Michael Ang [Fri, 24 Sep 2010 21:06:23 +0000 (21:06 +0000)]
Merge commit 'origin/master'

13 years agoMerge commit 'origin/master' into r28
Michael Ang [Fri, 24 Sep 2010 20:50:31 +0000 (20:50 +0000)]
Merge commit 'origin/master' into r28

13 years agoRevert unintended "Merge branch 'read_aloud' of git@github.com:openlibrary/bookreader"
Michael Ang [Fri, 24 Sep 2010 18:39:02 +0000 (18:39 +0000)]
Revert unintended "Merge branch 'read_aloud' of git@github.com:openlibrary/bookreader"

To merge the read_aloud branch properly in the future, THIS commit must itself first be reverted.

This reverts commit 6c8e2c94b404afdbef46c393f04bd22208c890f0.

13 years agoMerge branch 'read_aloud' of git@github.com:openlibrary/bookreader into read_aloud
Mike McCabe [Thu, 23 Sep 2010 23:00:22 +0000 (23:00 +0000)]
Merge branch 'read_aloud' of git@github.com:openlibrary/bookreader into read_aloud

13 years agoAdd header/footer detection
Mike McCabe [Thu, 23 Sep 2010 22:58:30 +0000 (22:58 +0000)]
Add header/footer detection

13 years agoString matching library, from http://code.google.com/p/google-diff-match-patch/
Mike McCabe [Thu, 23 Sep 2010 22:58:06 +0000 (22:58 +0000)]
String matching library, from code.google.com/p/google-diff-match-patch/

For support of header/footer and pagenumber detection.

13 years ago'windowed' view on an iterator - allows inspecting preceding/following items.
Mike McCabe [Thu, 23 Sep 2010 22:57:09 +0000 (22:57 +0000)]
'windowed' view on an iterator - allows inspecting preceding/following items.

Preserves streaming behavior.  For support of header/footer and pagenumber detection.

13 years agoRequire 2 pages available to enable thumbnail mode. Hide thumbnail button if not...
Michael Ang [Wed, 22 Sep 2010 23:30:47 +0000 (23:30 +0000)]
Require 2 pages available to enable thumbnail mode.  Hide thumbnail button if not functional.  Hide one page button if only 1up is available.

13 years agoadd ttsScrollToChunk()
rajbot [Wed, 22 Sep 2010 23:30:10 +0000 (23:30 +0000)]
add ttsScrollToChunk()

13 years agoMake sure ttsStart() is only called once
rajbot [Wed, 22 Sep 2010 23:06:44 +0000 (23:06 +0000)]
Make sure ttsStart() is only called once

13 years agowait for soundManger.onready before starting TTS
rajbot [Tue, 21 Sep 2010 22:07:11 +0000 (22:07 +0000)]
wait for soundManger.onready before starting TTS

13 years agoimprove 1UP positioning when reading aloud.
rajbot [Tue, 21 Sep 2010 00:51:26 +0000 (00:51 +0000)]
improve 1UP positioning when reading aloud.

13 years agoadd read_aloud hilighting to 1UP mode
rajbot [Tue, 21 Sep 2010 00:27:43 +0000 (00:27 +0000)]
add read_aloud hilighting to 1UP mode

13 years agoadd ttsStop()
rajbot [Mon, 20 Sep 2010 22:08:27 +0000 (22:08 +0000)]
add ttsStop()

13 years agoupdate the temporary read_aloud.png
rajbot [Mon, 20 Sep 2010 19:54:52 +0000 (19:54 +0000)]
update the temporary read_aloud.png

13 years agoMerge branch 'read_aloud' of git@github.com:openlibrary/bookreader
Mike McCabe [Mon, 20 Sep 2010 18:18:38 +0000 (18:18 +0000)]
Merge branch 'read_aloud' of git@github.com:openlibrary/bookreader

13 years agoadd mccabe to test users
rajbot [Mon, 20 Sep 2010 18:12:26 +0000 (18:12 +0000)]
add mccabe to test users

13 years agoadd read_aloud.png and soundmanager files
rajbot [Mon, 20 Sep 2010 18:04:26 +0000 (18:04 +0000)]
add read_aloud.png and soundmanager files

13 years agosplit ttsNextChunk() into two phases, pre and post-flip animation.
rajbot [Mon, 20 Sep 2010 18:02:45 +0000 (18:02 +0000)]
split ttsNextChunk() into two phases, pre and post-flip animation.

13 years agodeal with blank pages..
rajbot [Sat, 18 Sep 2010 00:43:48 +0000 (00:43 +0000)]
deal with blank pages..

13 years agoadd TTS poller..
rajbot [Sat, 18 Sep 2010 00:14:22 +0000 (00:14 +0000)]
add TTS poller..

13 years agoOverride image directory in BookReaderJSSimple.js for the standalone BookReader....
Michael Ang [Fri, 17 Sep 2010 23:10:11 +0000 (23:10 +0000)]
Override image directory in BookReaderJSSimple.js for the standalone BookReader.  Thanks to Michael Howard for the bug report (https://bugs.edge.launchpad.net/bookreader/+bug/641011).  Add demo CSS showing how to override the BookReader CSS.  Hide print and embed buttons in standalone since they aren't functional.

13 years agoAdd documentation to demo
Michael Ang [Fri, 17 Sep 2010 18:58:55 +0000 (18:58 +0000)]
Add documentation to demo

13 years agoAllow books as short as 2 pages to be displayed in 2up mode. See https://bugs.edge...
Michael Ang [Tue, 14 Sep 2010 17:28:17 +0000 (17:28 +0000)]
Allow books as short as 2 pages to be displayed in 2up mode.  See https://bugs.edge.launchpad.net/bookreader/+bug/638262

13 years agoflip to next page while reading aloud.
rajbot [Mon, 13 Sep 2010 23:19:22 +0000 (23:19 +0000)]
flip to next page while reading aloud.