Michael Ang [Wed, 28 Apr 2010 00:35:33 +0000 (00:35 +0000)]
Refactor BookReaderImages and BookReaderMeta. New BookReaderPreview to provide access to preview images.
Michael Ang [Tue, 27 Apr 2010 21:59:10 +0000 (21:59 +0000)]
Better handling of bookId in metadata generation. Add getURL for handling /download/ in BookReader.inc
Michael Ang [Tue, 27 Apr 2010 19:24:31 +0000 (19:24 +0000)]
Cleanup file modes. Comments.
Michael Ang [Tue, 27 Apr 2010 19:23:38 +0000 (19:23 +0000)]
First pass at BookReaderPreview.php -- provides access to preview images
Michael Ang [Tue, 27 Apr 2010 18:54:50 +0000 (18:54 +0000)]
Refactor BookReaderImages into class (.inc.php) and web request (.php) files. Add recommended filename header.
Michael Ang [Tue, 27 Apr 2010 18:32:28 +0000 (18:32 +0000)]
Refactor metadata processing into class
Michael Ang [Tue, 27 Apr 2010 00:59:10 +0000 (00:59 +0000)]
Refactor BookReaderImages into class. Thank goodness for unit tests!
Michael Ang [Mon, 26 Apr 2010 22:51:50 +0000 (22:51 +0000)]
Mild refactoring
Michael Ang [Mon, 26 Apr 2010 21:22:00 +0000 (21:22 +0000)]
Reorder code -- all functions at end
Michael Ang [Sat, 24 Apr 2010 00:50:08 +0000 (00:50 +0000)]
Fix bugs with title page and page heights
Michael Ang [Sat, 24 Apr 2010 00:49:31 +0000 (00:49 +0000)]
Check if file is readable and if not return 403
Michael Ang [Fri, 23 Apr 2010 00:26:58 +0000 (00:26 +0000)]
Add coverIndices and coverImages arrays to JSON output.
Michael Ang [Fri, 23 Apr 2010 00:06:10 +0000 (00:06 +0000)]
Include URL to title image in JSON
Michael Ang [Wed, 21 Apr 2010 23:46:30 +0000 (23:46 +0000)]
Expose book metadata as JSON(p). WIP.
Michael Ang [Thu, 15 Apr 2010 23:14:09 +0000 (23:14 +0000)]
Bump version number to Release 23
Michael Ang [Thu, 15 Apr 2010 22:59:07 +0000 (22:59 +0000)]
Add personal test host.
Michael Ang [Mon, 12 Apr 2010 23:41:28 +0000 (23:41 +0000)]
Ignore output of chatty commands
Michael Ang [Mon, 12 Apr 2010 23:18:13 +0000 (23:18 +0000)]
Update qunit URLs.
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
Michael Ang [Fri, 9 Apr 2010 23:37:35 +0000 (23:37 +0000)]
Suppress spurious stderr output from pnmscale
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
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
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
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.
Michael Ang [Thu, 8 Apr 2010 19:31:10 +0000 (19:31 +0000)]
Documentation
Michael Ang [Thu, 8 Apr 2010 19:04:40 +0000 (19:04 +0000)]
Call switchMode from thumbnail image links. Documentation.
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.
Michael Ang [Sat, 3 Apr 2010 00:06:13 +0000 (00:06 +0000)]
Fix truncated comment.
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.
Michael Ang [Thu, 1 Apr 2010 02:30:46 +0000 (02:30 +0000)]
Document leafNumToIndex. See https://bugs.edge.launchpad.net/bookreader/+bug/552991
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
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
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
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.
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
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.
Michael Ang [Thu, 18 Mar 2010 22:14:15 +0000 (22:14 +0000)]
Make scaling calculation a little cleaner
Michael Ang [Thu, 18 Mar 2010 22:07:02 +0000 (22:07 +0000)]
Merge branch 'master' into jp2levels
Michael Ang [Wed, 17 Mar 2010 21:46:27 +0000 (21:46 +0000)]
Bump version number for release 22
Michael Ang [Wed, 17 Mar 2010 01:00:04 +0000 (01:00 +0000)]
Refactor search tests and add test for NASA document.
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
Michael Ang [Wed, 17 Mar 2010 00:47:44 +0000 (00:47 +0000)]
Tighten regex for finding page number in search result XML.
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.
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
Michael Ang [Mon, 15 Mar 2010 17:21:23 +0000 (17:21 +0000)]
Function to retrieve jp2 info records
Michael Ang [Thu, 11 Mar 2010 23:28:49 +0000 (23:28 +0000)]
Make hardcoded path more obvious
Michael Ang [Wed, 10 Mar 2010 00:38:34 +0000 (00:38 +0000)]
Request thumbnail at next larger integer reduction
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.
Michael Ang [Tue, 9 Mar 2010 23:57:27 +0000 (23:57 +0000)]
Normalize whitespace
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
scollett [Tue, 9 Mar 2010 17:50:23 +0000 (09:50 -0800)]
Merged changes upstream
Michael Ang [Tue, 9 Mar 2010 01:32:38 +0000 (01:32 +0000)]
Update documentation
Michael Ang [Tue, 9 Mar 2010 01:26:24 +0000 (01:26 +0000)]
Bump version number
Michael Ang [Tue, 9 Mar 2010 01:24:01 +0000 (01:24 +0000)]
Update tests
Michael Ang [Fri, 5 Mar 2010 22:39:52 +0000 (22:39 +0000)]
Update copyright
Michael Ang [Fri, 5 Mar 2010 22:33:39 +0000 (22:33 +0000)]
Normalize source file spacing
Michael Ang [Fri, 5 Mar 2010 22:32:08 +0000 (22:32 +0000)]
Validate JS callback is valid identifier for jsonp
Michael Ang [Fri, 5 Mar 2010 22:20:33 +0000 (22:20 +0000)]
Code cleanup. Regression tests pass!
Michael Ang [Fri, 5 Mar 2010 22:19:46 +0000 (22:19 +0000)]
Update unit test
Michael Ang [Fri, 5 Mar 2010 22:14:34 +0000 (22:14 +0000)]
Limit scaling of 1-bit images for more legible text!
Michael Ang [Fri, 5 Mar 2010 06:12:37 +0000 (06:12 +0000)]
1-bit detection routines for jp2, tiff, jpeg and png
Michael Ang [Fri, 5 Mar 2010 03:36:42 +0000 (03:36 +0000)]
Output bits per channel. WIP.
Michael Ang [Fri, 26 Feb 2010 02:43:10 +0000 (02:43 +0000)]
Add JSON(P) output for image information. Unit test.
Michael Ang [Fri, 26 Feb 2010 00:25:30 +0000 (00:25 +0000)]
Minor code cleanup
Michael Ang [Tue, 23 Feb 2010 00:21:45 +0000 (00:21 +0000)]
Add reference to bug report to regression test
Michael Ang [Tue, 23 Feb 2010 00:16:52 +0000 (00:16 +0000)]
Add test for jpeg from tar file
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
Michael Ang [Mon, 22 Feb 2010 23:53:31 +0000 (23:53 +0000)]
More image unit tests
Michael Ang [Sat, 20 Feb 2010 00:34:12 +0000 (00:34 +0000)]
Unit test for BookReaderImages.php
Michael Ang [Wed, 17 Feb 2010 19:28:36 +0000 (19:28 +0000)]
Update path to testswarm server
Michael Ang [Fri, 12 Feb 2010 19:57:56 +0000 (19:57 +0000)]
Additional JSLocate unit tests
Michael Ang [Fri, 12 Feb 2010 03:24:11 +0000 (03:24 +0000)]
Clean up JSLocate test
Michael Ang [Fri, 12 Feb 2010 03:20:42 +0000 (03:20 +0000)]
Remove hack for host name. Write results into changeset directory.
Michael Ang [Fri, 12 Feb 2010 03:19:26 +0000 (03:19 +0000)]
Bump
Michael Ang [Fri, 12 Feb 2010 03:16:34 +0000 (03:16 +0000)]
Bump
Michael Ang [Fri, 12 Feb 2010 03:15:20 +0000 (03:15 +0000)]
Bump
Michael Ang [Fri, 12 Feb 2010 03:11:24 +0000 (03:11 +0000)]
Bump for testing
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
Michael Ang [Fri, 12 Feb 2010 00:48:51 +0000 (00:48 +0000)]
Tweak job name
Michael Ang [Fri, 12 Feb 2010 00:46:32 +0000 (00:46 +0000)]
Add test host to job name
Michael Ang [Fri, 12 Feb 2010 00:44:36 +0000 (00:44 +0000)]
Script to send to swarm from test account
Michael Ang [Fri, 12 Feb 2010 00:42:30 +0000 (00:42 +0000)]
Bump
Michael Ang [Fri, 12 Feb 2010 00:40:46 +0000 (00:40 +0000)]
Bump
Michael Ang [Fri, 12 Feb 2010 00:33:28 +0000 (00:33 +0000)]
Bump
Michael Ang [Fri, 12 Feb 2010 00:32:04 +0000 (00:32 +0000)]
Bump
Michael Ang [Fri, 12 Feb 2010 00:19:15 +0000 (00:19 +0000)]
So is inject file
Michael Ang [Fri, 12 Feb 2010 00:18:17 +0000 (00:18 +0000)]
IA tests are in subdir
Michael Ang [Fri, 12 Feb 2010 00:16:08 +0000 (00:16 +0000)]
Better path
Michael Ang [Fri, 12 Feb 2010 00:08:51 +0000 (00:08 +0000)]
First unit test and testswarm connector
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
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
Michael Ang [Thu, 28 Jan 2010 01:47:23 +0000 (01:47 +0000)]
Bump revision number to 0.9.20
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
Michael Ang [Thu, 28 Jan 2010 01:31:32 +0000 (01:31 +0000)]
Internet Archive petabox-related changes
Michael Ang [Wed, 27 Jan 2010 23:38:44 +0000 (23:38 +0000)]
Bump version number
Michael Ang [Tue, 26 Jan 2010 23:50:11 +0000 (23:50 +0000)]
Be more exact when finding book image stacks
Michael Ang [Tue, 26 Jan 2010 01:00:39 +0000 (01:00 +0000)]
Prefer JP2 image stacks to others
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
Michael Ang [Fri, 22 Jan 2010 03:41:12 +0000 (03:41 +0000)]
Use 7z for accessing tar files
Michael Ang [Thu, 21 Jan 2010 00:00:28 +0000 (00:00 +0000)]
Merge commit 'origin/master' into 0.9.19wip