bookreader.git
14 years agoMerge branch 'master' of git://github.com/openlibrary/bookreader
scollett [Wed, 8 Jul 2009 19:01:07 +0000 (12:01 -0700)]
Merge branch 'master' of git://github.com/openlibrary/bookreader

14 years agoMerge branch 'master' of git://github.com/openlibrary/bookreader
scollett [Thu, 2 Jul 2009 17:03:39 +0000 (10:03 -0700)]
Merge branch 'master' of git://github.com/openlibrary/bookreader

14 years agoDeclare variable for cleanliness
Michael Ang [Tue, 30 Jun 2009 23:46:55 +0000 (23:46 +0000)]
Declare variable for cleanliness

14 years agoWherein we demonstrate the utility of QA testing.
Michael Ang [Tue, 30 Jun 2009 23:41:47 +0000 (23:41 +0000)]
Wherein we demonstrate the utility of QA testing.

14 years agoSmushed version. The file was previously a jpg!
Michael Ang [Tue, 30 Jun 2009 23:41:14 +0000 (23:41 +0000)]
Smushed version.  The file was previously a jpg!

14 years agoFix typo
Michael Ang [Tue, 30 Jun 2009 22:24:08 +0000 (22:24 +0000)]
Fix typo

14 years agoNew function getPageName(index) which returns user-visible page name. Map search...
Michael Ang [Tue, 30 Jun 2009 22:05:08 +0000 (22:05 +0000)]
New function getPageName(index) which returns user-visible page name.  Map search results to page name.  Show "Searching..." while search is in progress.

14 years agoRound and clamp jump index values coming from book edge.
Michael Ang [Tue, 30 Jun 2009 21:44:48 +0000 (21:44 +0000)]
Round and clamp jump index values coming from book edge.

14 years agoMerge branches 'ambiguouspage', 'fixembed', 'jquery13' and 'smushit' into merge
Michael Ang [Mon, 29 Jun 2009 23:28:36 +0000 (23:28 +0000)]
Merge branches 'ambiguouspage', 'fixembed', 'jquery13' and 'smushit' into merge

14 years agoBump version number.
Michael Ang [Mon, 29 Jun 2009 23:01:54 +0000 (23:01 +0000)]
Bump version number.

14 years agoOnly attempt to convert title leaf to index if titleLeaf is set.
Michael Ang [Mon, 29 Jun 2009 22:26:02 +0000 (22:26 +0000)]
Only attempt to convert title leaf to index if titleLeaf is set.

14 years agoUse CSS-relative paths for images. Fixes embed case.
Michael Ang [Mon, 29 Jun 2009 22:21:08 +0000 (22:21 +0000)]
Use CSS-relative paths for images.  Fixes embed case.

14 years agoUpgrade to jQuery 1.3. Fix problem where .show() was changing toolbar display attrib...
Michael Ang [Fri, 26 Jun 2009 22:51:45 +0000 (22:51 +0000)]
Upgrade to jQuery 1.3.  Fix problem where .show() was changing toolbar display attribute to block.

14 years agoSmushed images
Michael Ang [Fri, 26 Jun 2009 22:05:42 +0000 (22:05 +0000)]
Smushed images

14 years agoFix wrong function call
Michael Ang [Tue, 23 Jun 2009 22:34:44 +0000 (22:34 +0000)]
Fix wrong function call

14 years agoClean up metadata to remove duplicate page number assertions. Last page to make...
Michael Ang [Tue, 23 Jun 2009 22:27:37 +0000 (22:27 +0000)]
Clean up metadata to remove duplicate page number assertions.  Last page to make the assertion wins.

14 years agoReturn page numbers as "n{index}" if no page number is defined for that index. Show...
Michael Ang [Tue, 23 Jun 2009 18:18:16 +0000 (18:18 +0000)]
Return page numbers as "n{index}" if no page number is defined for that index.  Show "View Page {pagenum}" for leaf edge mouseover tooltip.

14 years agoMake naming of various wrt "leaf" or "index" more consistent
Michael Ang [Tue, 23 Jun 2009 18:06:41 +0000 (18:06 +0000)]
Make naming of various wrt "leaf" or "index" more consistent

14 years agoSynchronize with Archive CVS at release 0.9.9. See changes at https://bugs.launchpad...
Michael Ang [Mon, 22 Jun 2009 23:47:20 +0000 (23:47 +0000)]
Synchronize with Archive CVS at release 0.9.9.  See changes at https://bugs.launchpad.net/gnubook/+milestone/0.9.9

14 years agoReplaced hardcoded Zoom percentage in the toolbar with dynamic percentage based on...
scollett [Fri, 19 Jun 2009 20:37:21 +0000 (13:37 -0700)]
Replaced hardcoded Zoom percentage in the toolbar with dynamic percentage based on gb.reduce.

14 years agoSync with Archive CVS
Michael Ang [Wed, 17 Jun 2009 23:51:59 +0000 (23:51 +0000)]
Sync with Archive CVS

14 years agoChanges from Archive release 0.9.7. See https://bugs.launchpad.net/gnubook/+mileston...
Michael Ang [Fri, 12 Jun 2009 21:50:00 +0000 (21:50 +0000)]
Changes from Archive release 0.9.7.  See https://bugs.launchpad.net/gnubook/+milestone/0.9.7 for full list of changes.

14 years agoMove Archive-specific files into different directories.
Michael Ang [Fri, 12 Jun 2009 21:36:24 +0000 (21:36 +0000)]
Move Archive-specific files into different directories.

15 years agoMore changes to support first page and last page buttons [mang].
rajbot [Fri, 8 May 2009 01:18:57 +0000 (18:18 -0700)]
More changes to support first page and last page buttons [mang].

15 years agoArchive.org release 0.9.3
Michael Ang [Mon, 20 Apr 2009 22:19:51 +0000 (15:19 -0700)]
Archive.org release 0.9.3
https://bugs.edge.launchpad.net/gnubook/+milestone/0.9.3

First/last page navigation buttons
https://bugs.edge.launchpad.net/gnubook/+bug/294409

15 years agoAdd missing getSpreadIndices. Fixes https://bugs.edge.launchpad.net/gnubook/+bug...
Michael Ang [Mon, 20 Apr 2009 21:51:02 +0000 (14:51 -0700)]
Add missing getSpreadIndices.  Fixes https://bugs.edge.launchpad.net/gnubook/+bug/364313

15 years agoMake nav links show in black. Fixes https://bugs.edge.launchpad.net/gnubook/+bug...
Michael Ang [Mon, 20 Apr 2009 21:50:03 +0000 (14:50 -0700)]
Make nav links show in black.  Fixes https://bugs.edge.launchpad.net/gnubook/+bug/364314

15 years agoUpdate version number to 0.9.2
Michael Ang [Wed, 8 Apr 2009 00:21:21 +0000 (17:21 -0700)]
Update version number to 0.9.2

15 years agoFix for icons being cut off in embed version.
Michael Ang [Tue, 7 Apr 2009 23:14:44 +0000 (16:14 -0700)]
Fix for icons being cut off in embed version.
https://bugs.edge.launchpad.net/gnubook/+bug/356650

15 years agoPage images can not be highlighted (making them unreadable) by dragging mouse in
Michael Ang [Fri, 3 Apr 2009 02:57:24 +0000 (02:57 +0000)]
Page images can not be highlighted (making them unreadable) by dragging mouse in
1up page view div.  Fixes bug 354239

15 years agoImplementation of drag to pan that works in IE, FF and Safari. Show move icon when...
Michael Ang [Fri, 3 Apr 2009 01:51:18 +0000 (01:51 +0000)]
Implementation of drag to pan that works in IE, FF and Safari.  Show move icon when over page.
See https://bugs.edge.launchpad.net/gnubook/+bug/294397

15 years agoMerge branch 'drag2pan' of git@github.com:openlibrary/bookreader
Michael Ang [Fri, 3 Apr 2009 00:23:40 +0000 (00:23 +0000)]
Merge branch 'drag2pan' of git@github.com:openlibrary/bookreader

15 years agoIE7 doesn't like it when a dictionary literal ends with ,}
Michael Ang [Thu, 2 Apr 2009 00:51:28 +0000 (00:51 +0000)]
IE7 doesn't like it when a dictionary literal ends with ,}

15 years agoNew icons
Michael Ang [Wed, 1 Apr 2009 22:25:51 +0000 (22:25 +0000)]
New icons

15 years agoUpdate version number
Michael Ang [Wed, 1 Apr 2009 22:11:48 +0000 (22:11 +0000)]
Update version number

15 years agoPull logo url from a member variable
Michael Ang [Wed, 1 Apr 2009 21:59:08 +0000 (21:59 +0000)]
Pull logo url from a member variable

15 years agoFix typo in css.
Michael Ang [Wed, 1 Apr 2009 21:42:05 +0000 (21:42 +0000)]
Fix typo in css.

15 years agoRename left/right edge icons using _ for better consistency.
Michael Ang [Wed, 1 Apr 2009 21:30:53 +0000 (21:30 +0000)]
Rename left/right edge icons using _ for better consistency.

15 years agoMake logo a link, since it is. Add tooltips to icons. Cleanup.
Michael Ang [Wed, 1 Apr 2009 01:08:28 +0000 (01:08 +0000)]
Make logo a link, since it is.  Add tooltips to icons.  Cleanup.

15 years agoChange rollovers to use background position offset technique similar to http://www...
Michael Ang [Wed, 1 Apr 2009 00:02:18 +0000 (00:02 +0000)]
Change rollovers to use background position offset technique similar to webvamp.co.uk/blog/coding/css-image-rollovers/

15 years agoColours
Michael Ang [Fri, 27 Mar 2009 22:08:03 +0000 (22:08 +0000)]
Colours

15 years agoTweak greys. Very important!
Michael Ang [Fri, 27 Mar 2009 18:59:18 +0000 (18:59 +0000)]
Tweak greys.  Very important!

15 years agoMake logo rollover
Michael Ang [Fri, 27 Mar 2009 17:46:52 +0000 (17:46 +0000)]
Make logo rollover

15 years agoSwitch play/pause icons at autotoggle. Hook logo up to URL action.
Michael Ang [Fri, 27 Mar 2009 17:40:31 +0000 (17:40 +0000)]
Switch play/pause icons at autotoggle.  Hook logo up to URL action.

15 years agoClean up toolbar code a bit
Michael Ang [Fri, 27 Mar 2009 01:46:11 +0000 (01:46 +0000)]
Clean up toolbar code a bit

15 years agoAdd label class for toolbar.
Michael Ang [Fri, 27 Mar 2009 01:30:43 +0000 (01:30 +0000)]
Add label class for toolbar.

15 years agoShow and hide separte icon elements instead of changing class.
Michael Ang [Thu, 26 Mar 2009 23:39:06 +0000 (23:39 +0000)]
Show and hide separte icon elements instead of changing class.

15 years agoUpdate bookreader to Internet Archive theme
Michael Ang [Thu, 26 Mar 2009 23:13:01 +0000 (23:13 +0000)]
Update bookreader to Internet Archive theme

15 years agoSynchronize with archive CVS
Michael Ang [Thu, 5 Mar 2009 23:05:36 +0000 (23:05 +0000)]
Synchronize with archive CVS

15 years agoSynchronize with archive.org
Michael Ang [Thu, 5 Mar 2009 01:18:28 +0000 (01:18 +0000)]
Synchronize with archive.org

15 years agofirst attempt at drag-to-pan. does not work in IE.
rajbot [Sat, 14 Feb 2009 13:13:33 +0000 (13:13 +0000)]
first attempt at drag-to-pan. does not work in IE.

15 years agoAdd GnuBookDemo directory which contains a simple example of how to use the bookreader.
Michael Ang [Wed, 25 Feb 2009 23:36:41 +0000 (23:36 +0000)]
Add GnuBookDemo directory which contains a simple example of how to use the bookreader.
The demo pulls images from archive.org and requires an Internet connection.

15 years agoUse location.replace for URL changes to fix back-button problems.
Alex Osborne [Sat, 14 Feb 2009 10:59:50 +0000 (21:59 +1100)]
Use location.replace for URL changes to fix back-button problems.

By using location.replace instead of location.hash to update the URL a
new history entry is not created, so the back button will now behave
as the user expects an return to the page before the bookreader.

This should work for IE and Firefox, but apparantly may not for WebKit
based browsers, as location.replace behaves differently for them.  See
these reported WebKit bugs:

https://bugs.webkit.org/show_bug.cgi?id=20355
https://bugs.webkit.org/show_bug.cgi?id=20425
https://bugs.webkit.org/show_bug.cgi?id=22224

This fix (at least partially) addresses these GnuBook bugs:

https://bugs.launchpad.net/gnubook/+bug/300521
https://bugs.launchpad.net/gnubook/+bug/294281
https://bugs.launchpad.net/gnubook/+bug/272022

15 years agoFixes for these bugs:
Michael Ang [Mon, 2 Feb 2009 18:52:28 +0000 (18:52 +0000)]
Fixes for these bugs:
https://bugs.launchpad.net/gnubook/+bug/321714
https://bugs.launchpad.net/gnubook/+bug/318937
https://bugs.launchpad.net/gnubook/+bug/318927

15 years agoSynchronize with archive.org CVS.
Michael Ang [Mon, 26 Jan 2009 23:30:15 +0000 (23:30 +0000)]
Synchronize with archive.org CVS.

Fixes for these bugs:
searching in Cornell books – highlight shows up on wrong leaf
https://bugs.launchpad.net/gnubook/+bug/318927

make RTL books default to 1-page view
https://bugs.launchpad.net/gnubook/+bug/318937

add link to tiff image stack books
https://bugs.launchpad.net/gnubook/+bug/318050

15 years agoUse book title as (dynamically generated) page title. Improved keyboard handling.
Michael Ang [Tue, 6 Jan 2009 20:25:37 +0000 (20:25 +0000)]
Use book title as (dynamically generated) page title.  Improved keyboard handling.

15 years agoSync with Archive CVS. Allow use of backup servers for item content. Logic
Michael Ang [Tue, 30 Dec 2008 01:17:51 +0000 (01:17 +0000)]
Sync with Archive CVS.  Allow use of backup servers for item content.  Logic
to direct to mang's testing server.

15 years agoMerge recent changes from Archive CVS
Michael Ang [Wed, 24 Dec 2008 02:18:17 +0000 (02:18 +0000)]
Merge recent changes from Archive CVS

15 years agoAdded link to github cvs
Michael Ang [Wed, 26 Nov 2008 22:02:18 +0000 (22:02 +0000)]
Added link to github cvs

15 years agoresized all 16x16 images to 24x24.
Anand Chitipothu [Fri, 14 Nov 2008 11:10:07 +0000 (16:40 +0530)]
resized all 16x16 images to 24x24.

15 years agoMerge branch 'master' of git://github.com/openlibrary/bookreader
Anand Chitipothu [Fri, 14 Nov 2008 11:01:13 +0000 (16:31 +0530)]
Merge branch 'master' of git://github.com/openlibrary/bookreader

Conflicts:

GnuBook/GnuBook.js

15 years agouse relative URLs for images
Anand Chitipothu [Fri, 14 Nov 2008 10:57:32 +0000 (16:27 +0530)]
use relative URLs for images

15 years agoerr, missed breaks in switch statement.
Anand Chitipothu [Fri, 14 Nov 2008 10:19:08 +0000 (15:49 +0530)]
err, missed breaks in switch statement.

15 years agosetup key listeners
Anand Chitipothu [Fri, 14 Nov 2008 09:31:01 +0000 (15:01 +0530)]
setup key listeners

15 years agosetup key listeners
Anand Chitipothu [Fri, 14 Nov 2008 09:31:01 +0000 (15:01 +0530)]
setup key listeners

15 years agoarchive.org cvs r1.7: Use client-side scaling for two-page mode.
rajbot [Fri, 7 Nov 2008 06:36:00 +0000 (06:36 +0000)]
archive.org cvs r1.7: Use client-side scaling for two-page mode.
archive.org cvs r1.8: Make pageNums an array of strings instead of ints to handle roman pagenums.

15 years agomake IE JS parser happy by removing trailing comma in object literal.
rajbot [Fri, 7 Nov 2008 06:08:21 +0000 (06:08 +0000)]
make IE JS parser happy by removing trailing comma in object literal.

15 years agoAdd autoPlay feature, simple.js, and more icons.
rkumar@home.us.archive.org [Mon, 27 Oct 2008 06:06:20 +0000 (06:06 +0000)]
Add autoPlay feature, simple.js, and more icons.

15 years agofirst checkin. Copy from archive.org CVS to openlibrary.org hg.
Raj Kumar [Fri, 24 Oct 2008 21:11:32 +0000 (21:11 +0000)]
first checkin. Copy from archive.org CVS to openlibrary.org hg.

15 years agofirst checkin
Raj Kumar [Thu, 6 Nov 2008 06:41:55 +0000 (12:11 +0530)]
first checkin