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

14 years agoBump version number to Release 23
Michael Ang [Thu, 15 Apr 2010 23:14:09 +0000 (23:14 +0000)]
Bump version number to Release 23

14 years agoAdd personal test host.
Michael Ang [Thu, 15 Apr 2010 22:59:07 +0000 (22:59 +0000)]
Add personal test host.

14 years agoIgnore output of chatty commands
Michael Ang [Mon, 12 Apr 2010 23:41:28 +0000 (23:41 +0000)]
Ignore output of chatty commands

14 years agoUpdate qunit URLs.
Michael Ang [Mon, 12 Apr 2010 23:18:13 +0000 (23:18 +0000)]
Update qunit URLs.

14 years agoAdd seekIndex to drawLeafsThumbnail to allow drawing directly at the page index ...
Michael Ang [Mon, 12 Apr 2010 22:38:18 +0000 (22:38 +0000)]
Add seekIndex to drawLeafsThumbnail to allow drawing directly at the page index (without animated scrolling).  Seek to current index when preparing the thumbnail view.  Fixes weird resizing and mode switch animation glitches.  See https://bugs.edge.launchpad.net/bookreader/+bug/561886

14 years agoSuppress spurious stderr output from pnmscale
Michael Ang [Fri, 9 Apr 2010 23:37:35 +0000 (23:37 +0000)]
Suppress spurious stderr output from pnmscale

14 years agoHide thumbnail mode icon when in embed UI. See https://bugs.edge.launchpad.net/bookr...
Michael Ang [Fri, 9 Apr 2010 23:28:42 +0000 (23:28 +0000)]
Hide thumbnail mode icon when in embed UI.  See https://bugs.edge.launchpad.net/bookreader/+bug/559688

14 years agoPreserve place in book when resizing in thumbnail mode. See https://bugs.edge.launch...
Michael Ang [Fri, 9 Apr 2010 02:15:59 +0000 (02:15 +0000)]
Preserve place in book when resizing in thumbnail mode.  See https://bugs.edge.launchpad.net/bookreader/+bug/552972

14 years agoWhen scrolling in thumbnail mode, update the "current" page to make sure it is one...
Michael Ang [Fri, 9 Apr 2010 01:55:14 +0000 (01:55 +0000)]
When scrolling in thumbnail mode, update the "current" page to make sure it is one that's visible.  See https://bugs.edge.launchpad.net/bookreader/+bug/556895

14 years agoImprove use of jQuery.inArray. It actually returns the position of the item in the...
Michael Ang [Fri, 9 Apr 2010 00:04:04 +0000 (00:04 +0000)]
Improve use of jQuery.inArray.  It actually returns the position of the item in the array, or -1 or undefined.

14 years agoDocumentation
Michael Ang [Thu, 8 Apr 2010 19:31:10 +0000 (19:31 +0000)]
Documentation

14 years agoCall switchMode from thumbnail image links. Documentation.
Michael Ang [Thu, 8 Apr 2010 19:04:40 +0000 (19:04 +0000)]
Call switchMode from thumbnail image links.  Documentation.

14 years agoInclude BookReader.js after the necessary jQuery easing library. See https://bugs...
Michael Ang [Mon, 5 Apr 2010 23:52:26 +0000 (23:52 +0000)]
Include BookReader.js after the necessary jQuery easing library.  See https://bugs.edge.launchpad.net/bookreader/+bug/556109.  Add documentation about our custom metadata/page access script.

14 years agoFix truncated comment.
Michael Ang [Sat, 3 Apr 2010 00:06:13 +0000 (00:06 +0000)]
Fix truncated comment.

14 years agoOnly queue load of thumbMaxLoading thumbnails at a time. Improves latency when
Michael Ang [Sat, 3 Apr 2010 00:01:33 +0000 (00:01 +0000)]
Only queue load of thumbMaxLoading thumbnails at a time.  Improves latency when
scrolling in thumbnail mode or changing modes.  Add CSS classes so thumbnail
page images don't need border set explicitly in the code.

14 years agoDocument leafNumToIndex. See https://bugs.edge.launchpad.net/bookreader/+bug/552991
Michael Ang [Thu, 1 Apr 2010 02:30:46 +0000 (02:30 +0000)]
Document leafNumToIndex.  See https://bugs.edge.launchpad.net/bookreader/+bug/552991

14 years agoCreate page view div before requesting its width. See https://bugs.edge.launchpad...
Michael Ang [Fri, 26 Mar 2010 22:43:13 +0000 (22:43 +0000)]
Create page view div before requesting its width.  See https://bugs.edge.launchpad.net/bookreader/+bug/549170 https://bugs.edge.launchpad.net/bookreader/+bug/549176

14 years agoAllow drag select for now since disabling it breaks keyboard nav in FF 3.6. See...
Michael Ang [Wed, 24 Mar 2010 18:20:32 +0000 (18:20 +0000)]
Allow drag select for now since disabling it breaks keyboard nav in FF 3.6.  See https://bugs.edge.launchpad.net/bookreader/+bug/544666

14 years agoFix broken scrollbar on FF 3.6. Refactor select disable code. See https://bugs...
Michael Ang [Mon, 22 Mar 2010 23:16:50 +0000 (23:16 +0000)]
Fix broken scrollbar on FF 3.6.  Refactor select disable code.  See https://bugs.edge.launchpad.net/bookreader/+bug/536974

14 years agoDefault thumbnail width to fit 6 columns. Zoom in/out changes number of columns...
Michael Ang [Mon, 22 Mar 2010 22:47:21 +0000 (22:47 +0000)]
Default thumbnail width to fit 6 columns.  Zoom in/out changes number of columns displayed.

14 years agoBind mouse handler of #BRpageview as intended instead of #BRcontainer. Fixes scrollb...
Michael Ang [Thu, 18 Mar 2010 23:51:54 +0000 (23:51 +0000)]
Bind mouse handler of #BRpageview as intended instead of #BRcontainer.  Fixes scrollbar stoppage on FF3.6.  See https://bugs.edge.launchpad.net/bookreader/+bug/536974

14 years agoMake up/down buttons smoothly scroll one vertical view in 1up and thumbnail modes.
Michael Ang [Thu, 18 Mar 2010 23:10:15 +0000 (23:10 +0000)]
Make up/down buttons smoothly scroll one vertical view in 1up and thumbnail modes.

14 years agoMake scaling calculation a little cleaner
Michael Ang [Thu, 18 Mar 2010 22:14:15 +0000 (22:14 +0000)]
Make scaling calculation a little cleaner

14 years agoMerge branch 'master' into jp2levels
Michael Ang [Thu, 18 Mar 2010 22:07:02 +0000 (22:07 +0000)]
Merge branch 'master' into jp2levels

14 years agoBump version number for release 22
Michael Ang [Wed, 17 Mar 2010 21:46:27 +0000 (21:46 +0000)]
Bump version number for release 22

14 years agoRefactor search tests and add test for NASA document.
Michael Ang [Wed, 17 Mar 2010 01:00:04 +0000 (01:00 +0000)]
Refactor search tests and add test for NASA document.

14 years agoAdd unit tests for search for books with digits in the name. See https://bugs.edge...
Michael Ang [Wed, 17 Mar 2010 00:49:10 +0000 (00:49 +0000)]
Add unit tests for search for books with digits in the name.  See https://bugs.edge.launchpad.net/bookreader/+bug/530523

14 years agoTighten regex for finding page number in search result XML.
Michael Ang [Wed, 17 Mar 2010 00:47:44 +0000 (00:47 +0000)]
Tighten regex for finding page number in search result XML.

14 years agoFor jp2s where image processing fails, check if too much reduction was requested...
Michael Ang [Tue, 16 Mar 2010 23:13:02 +0000 (23:13 +0000)]
For jp2s where image processing fails, check if too much reduction was requested and retry.

14 years agoPass thru image data if command works, otherwise do some error handling
Michael Ang [Mon, 15 Mar 2010 22:56:19 +0000 (22:56 +0000)]
Pass thru image data if command works, otherwise do some error handling

14 years agoFunction to retrieve jp2 info records
Michael Ang [Mon, 15 Mar 2010 17:21:23 +0000 (17:21 +0000)]
Function to retrieve jp2 info records

14 years agoMake hardcoded path more obvious
Michael Ang [Thu, 11 Mar 2010 23:28:49 +0000 (23:28 +0000)]
Make hardcoded path more obvious

14 years agoRequest thumbnail at next larger integer reduction
Michael Ang [Wed, 10 Mar 2010 00:38:34 +0000 (00:38 +0000)]
Request thumbnail at next larger integer reduction

14 years agoReturn image at next larger power of 2 reduction compared to what was requested.
Michael Ang [Wed, 10 Mar 2010 00:38:00 +0000 (00:38 +0000)]
Return image at next larger power of 2 reduction compared to what was requested.

14 years agoNormalize whitespace
Michael Ang [Tue, 9 Mar 2010 23:57:27 +0000 (23:57 +0000)]
Normalize whitespace

14 years agoMerge thumbnail view feature contributed by scollett
Michael Ang [Tue, 9 Mar 2010 23:55:37 +0000 (23:55 +0000)]
Merge thumbnail view feature contributed by scollett

Merge commit 'scollett/master' into 0.9.22

Conflicts:
BookReader/BookReader.js

14 years agoMerged changes upstream
scollett [Tue, 9 Mar 2010 17:50:23 +0000 (09:50 -0800)]
Merged changes upstream

14 years agoUpdate documentation
Michael Ang [Tue, 9 Mar 2010 01:32:38 +0000 (01:32 +0000)]
Update documentation

14 years agoBump version number
Michael Ang [Tue, 9 Mar 2010 01:26:24 +0000 (01:26 +0000)]
Bump version number

14 years agoUpdate tests
Michael Ang [Tue, 9 Mar 2010 01:24:01 +0000 (01:24 +0000)]
Update tests

14 years agoUpdate copyright
Michael Ang [Fri, 5 Mar 2010 22:39:52 +0000 (22:39 +0000)]
Update copyright

14 years agoNormalize source file spacing
Michael Ang [Fri, 5 Mar 2010 22:33:39 +0000 (22:33 +0000)]
Normalize source file spacing

14 years agoValidate JS callback is valid identifier for jsonp
Michael Ang [Fri, 5 Mar 2010 22:32:08 +0000 (22:32 +0000)]
Validate JS callback is valid identifier for jsonp

14 years agoCode cleanup. Regression tests pass!
Michael Ang [Fri, 5 Mar 2010 22:20:33 +0000 (22:20 +0000)]
Code cleanup. Regression tests pass!

14 years agoUpdate unit test
Michael Ang [Fri, 5 Mar 2010 22:19:46 +0000 (22:19 +0000)]
Update unit test

14 years agoLimit scaling of 1-bit images for more legible text!
Michael Ang [Fri, 5 Mar 2010 22:14:34 +0000 (22:14 +0000)]
Limit scaling of 1-bit images for more legible text!

14 years ago1-bit detection routines for jp2, tiff, jpeg and png
Michael Ang [Fri, 5 Mar 2010 06:12:37 +0000 (06:12 +0000)]
1-bit detection routines for jp2, tiff, jpeg and png

14 years agoOutput bits per channel. WIP.
Michael Ang [Fri, 5 Mar 2010 03:36:42 +0000 (03:36 +0000)]
Output bits per channel.  WIP.

14 years agoAdd JSON(P) output for image information. Unit test.
Michael Ang [Fri, 26 Feb 2010 02:43:10 +0000 (02:43 +0000)]
Add JSON(P) output for image information. Unit test.

14 years agoMinor code cleanup
Michael Ang [Fri, 26 Feb 2010 00:25:30 +0000 (00:25 +0000)]
Minor code cleanup

14 years agoAdd reference to bug report to regression test
Michael Ang [Tue, 23 Feb 2010 00:21:45 +0000 (00:21 +0000)]
Add reference to bug report to regression test

14 years agoAdd test for jpeg from tar file
Michael Ang [Tue, 23 Feb 2010 00:16:52 +0000 (00:16 +0000)]
Add test for jpeg from tar file

14 years agoSimplify image unit tests -- single code path for both load and error
Michael Ang [Tue, 23 Feb 2010 00:03:14 +0000 (00:03 +0000)]
Simplify image unit tests -- single code path for both load and error

14 years agoMore image unit tests
Michael Ang [Mon, 22 Feb 2010 23:53:31 +0000 (23:53 +0000)]
More image unit tests

14 years agoUnit test for BookReaderImages.php
Michael Ang [Sat, 20 Feb 2010 00:34:12 +0000 (00:34 +0000)]
Unit test for BookReaderImages.php

14 years agoUpdate path to testswarm server
Michael Ang [Wed, 17 Feb 2010 19:28:36 +0000 (19:28 +0000)]
Update path to testswarm server

14 years agoAdditional JSLocate unit tests
Michael Ang [Fri, 12 Feb 2010 19:57:56 +0000 (19:57 +0000)]
Additional JSLocate unit tests

14 years agoClean up JSLocate test
Michael Ang [Fri, 12 Feb 2010 03:24:11 +0000 (03:24 +0000)]
Clean up JSLocate test

14 years agoRemove hack for host name. Write results into changeset directory.
Michael Ang [Fri, 12 Feb 2010 03:20:42 +0000 (03:20 +0000)]
Remove hack for host name.  Write results into changeset directory.

14 years agoBump
Michael Ang [Fri, 12 Feb 2010 03:19:26 +0000 (03:19 +0000)]
Bump

14 years agoBump
Michael Ang [Fri, 12 Feb 2010 03:16:34 +0000 (03:16 +0000)]
Bump

14 years agoBump
Michael Ang [Fri, 12 Feb 2010 03:15:20 +0000 (03:15 +0000)]
Bump

14 years agoBump for testing
Michael Ang [Fri, 12 Feb 2010 03:11:24 +0000 (03:11 +0000)]
Bump for testing

14 years agoA real test for https://bugs.edge.launchpad.net/bookreader/+bug/517424
Michael Ang [Fri, 12 Feb 2010 03:09:31 +0000 (03:09 +0000)]
A real test for https://bugs.edge.launchpad.net/bookreader/+bug/517424

14 years agoTweak job name
Michael Ang [Fri, 12 Feb 2010 00:48:51 +0000 (00:48 +0000)]
Tweak job name

14 years agoAdd test host to job name
Michael Ang [Fri, 12 Feb 2010 00:46:32 +0000 (00:46 +0000)]
Add test host to job name

14 years agoScript to send to swarm from test account
Michael Ang [Fri, 12 Feb 2010 00:44:36 +0000 (00:44 +0000)]
Script to send to swarm from test account

14 years agoBump
Michael Ang [Fri, 12 Feb 2010 00:42:30 +0000 (00:42 +0000)]
Bump

14 years agoBump
Michael Ang [Fri, 12 Feb 2010 00:40:46 +0000 (00:40 +0000)]
Bump

14 years agoBump
Michael Ang [Fri, 12 Feb 2010 00:33:28 +0000 (00:33 +0000)]
Bump

14 years agoBump
Michael Ang [Fri, 12 Feb 2010 00:32:04 +0000 (00:32 +0000)]
Bump

14 years agoSo is inject file
Michael Ang [Fri, 12 Feb 2010 00:19:15 +0000 (00:19 +0000)]
So is inject file

14 years agoIA tests are in subdir
Michael Ang [Fri, 12 Feb 2010 00:18:17 +0000 (00:18 +0000)]
IA tests are in subdir

14 years agoBetter path
Michael Ang [Fri, 12 Feb 2010 00:16:08 +0000 (00:16 +0000)]
Better path

14 years agoFirst unit test and testswarm connector
Michael Ang [Fri, 12 Feb 2010 00:08:51 +0000 (00:08 +0000)]
First unit test and testswarm connector

14 years agoRemove stray tabs in source files. Should have no functionality change. See https...
Michael Ang [Thu, 11 Feb 2010 03:41:04 +0000 (03:41 +0000)]
Remove stray tabs in source files.  Should have no functionality change.  See https://bugs.edge.launchpad.net/bookreader/+bug/520248

14 years agoFix bustage in server and base URL calculations. See https://bugs.edge.launchpad...
Michael Ang [Wed, 10 Feb 2010 00:40:10 +0000 (00:40 +0000)]
Fix bustage in server and base URL calculations.  See https://bugs.edge.launchpad.net/bookreader/+bug/517424

14 years agoBump revision number to 0.9.20
Michael Ang [Thu, 28 Jan 2010 01:47:23 +0000 (01:47 +0000)]
Bump revision number to 0.9.20

14 years agoMerge Internet Archive petabox-related changes
Michael Ang [Thu, 28 Jan 2010 01:35:03 +0000 (01:35 +0000)]
Merge Internet Archive petabox-related changes

Merge branch 'traceychanges' into 0.9.20

Conflicts:
BookReaderIA/inc/BookReader.inc
BookReaderIA/www/BookReaderJSLocate.php

14 years agoInternet Archive petabox-related changes
Michael Ang [Thu, 28 Jan 2010 01:31:32 +0000 (01:31 +0000)]
Internet Archive petabox-related changes

14 years agoBump version number
Michael Ang [Wed, 27 Jan 2010 23:38:44 +0000 (23:38 +0000)]
Bump version number

14 years agoBe more exact when finding book image stacks
Michael Ang [Tue, 26 Jan 2010 23:50:11 +0000 (23:50 +0000)]
Be more exact when finding book image stacks

14 years agoPrefer JP2 image stacks to others
Michael Ang [Tue, 26 Jan 2010 01:00:39 +0000 (01:00 +0000)]
Prefer JP2 image stacks to others

14 years agoSupport for jpeg image stacks. See https://bugs.edge.launchpad.net/bookreader/+bug...
Michael Ang [Sat, 23 Jan 2010 01:39:31 +0000 (01:39 +0000)]
Support for jpeg image stacks.  See https://bugs.edge.launchpad.net/bookreader/+bug/323003

14 years agoUse 7z for accessing tar files
Michael Ang [Fri, 22 Jan 2010 03:41:12 +0000 (03:41 +0000)]
Use 7z for accessing tar files

14 years agoMerge commit 'origin/master' into 0.9.19wip
Michael Ang [Thu, 21 Jan 2010 00:00:28 +0000 (00:00 +0000)]
Merge commit 'origin/master' into 0.9.19wip

14 years agoIA internal change. Use default port for dev hosts.
Michael Ang [Wed, 20 Jan 2010 23:59:52 +0000 (23:59 +0000)]
IA internal change.  Use default port for dev hosts.

14 years agoDetermine image stack format and filename by loading _files.xml
Michael Ang [Wed, 20 Jan 2010 23:58:51 +0000 (23:58 +0000)]
Determine image stack format and filename by loading _files.xml

14 years agoOptimize preloading of thumbnail image rows, loading visible rows immediately
scollett [Mon, 21 Dec 2009 19:09:06 +0000 (11:09 -0800)]
Optimize preloading of thumbnail image rows, loading visible rows immediately

14 years agoJSLocate and image processing WIP
Michael Ang [Fri, 18 Dec 2009 21:51:43 +0000 (21:51 +0000)]
JSLocate and image processing WIP

14 years agoAdd support for multiple books within an item to locator
Michael Ang [Tue, 15 Dec 2009 23:18:33 +0000 (23:18 +0000)]
Add support for multiple books within an item to locator

14 years agoChanged thumbnail sizing default to be fixed width (this.thumbWidth)
scollett [Tue, 15 Dec 2009 22:14:13 +0000 (14:14 -0800)]
Changed thumbnail sizing default to be fixed width (this.thumbWidth)

14 years agoMerge branch 'master' of git://github.com/openlibrary/bookreader into thumbnail_feature
scollett [Mon, 14 Dec 2009 23:39:52 +0000 (15:39 -0800)]
Merge branch 'master' of git://github.com/openlibrary/bookreader into thumbnail_feature

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

14 years agoRemove unused thumbnail prev/next icons from CSS
scollett [Mon, 14 Dec 2009 19:00:45 +0000 (11:00 -0800)]
Remove unused thumbnail prev/next icons from CSS

14 years agoRemoved unused thumbnail next/prev icons from image folder
scollett [Fri, 11 Dec 2009 23:18:00 +0000 (15:18 -0800)]
Removed unused thumbnail next/prev icons from image folder

14 years agoAdded Right-to-Left book support to thumbnail view
scollett [Fri, 11 Dec 2009 01:01:11 +0000 (17:01 -0800)]
Added Right-to-Left book support to thumbnail view

14 years agoRemoved navigation for thumbnail view. Usefulness limited.
scollett [Thu, 10 Dec 2009 22:54:05 +0000 (14:54 -0800)]
Removed navigation for thumbnail view. Usefulness limited.

14 years agoCleanup tabs in thumbnail feature for code guidelines
scollett [Thu, 10 Dec 2009 20:44:40 +0000 (12:44 -0800)]
Cleanup tabs in thumbnail feature for code guidelines

14 years agoUse basic bug reporting -- searches for similar bug reports before submit
Michael Ang [Wed, 25 Nov 2009 22:40:00 +0000 (22:40 +0000)]
Use basic bug reporting -- searches for similar bug reports before submit