Michael Ang [Fri, 18 Dec 2009 21:51:43 +0000 (21:51 +0000)]
JSLocate and image processing WIP
Michael Ang [Tue, 15 Dec 2009 23:18:33 +0000 (23:18 +0000)]
Add support for multiple books within an item to locator
scollett [Tue, 15 Dec 2009 22:14:13 +0000 (14:14 -0800)]
Changed thumbnail sizing default to be fixed width (this.thumbWidth)
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
scollett [Mon, 14 Dec 2009 19:00:45 +0000 (11:00 -0800)]
Remove unused thumbnail prev/next icons from CSS
scollett [Fri, 11 Dec 2009 23:18:00 +0000 (15:18 -0800)]
Removed unused thumbnail next/prev icons from image folder
scollett [Fri, 11 Dec 2009 01:01:11 +0000 (17:01 -0800)]
Added Right-to-Left book support to thumbnail view
scollett [Thu, 10 Dec 2009 22:54:05 +0000 (14:54 -0800)]
Removed navigation for thumbnail view. Usefulness limited.
scollett [Thu, 10 Dec 2009 20:44:40 +0000 (12:44 -0800)]
Cleanup tabs in thumbnail feature for code guidelines
Michael Ang [Wed, 25 Nov 2009 22:40:00 +0000 (22:40 +0000)]
Use basic bug reporting -- searches for similar bug reports before submit
Michael Ang [Wed, 25 Nov 2009 22:36:59 +0000 (22:36 +0000)]
BookReader bug report link goes to BookReader Launchpad
Michael Ang [Wed, 25 Nov 2009 19:35:28 +0000 (19:35 +0000)]
Better user feedback when JS is turned off. See https://bugs.edge.launchpad.net/gnubook/+bug/488365/
Michael Ang [Wed, 25 Nov 2009 18:59:43 +0000 (18:59 +0000)]
Bump version number
Michael Ang [Wed, 25 Nov 2009 18:39:19 +0000 (18:39 +0000)]
Change click handlers to use self instead of hardcoded instance name
Michael Ang [Mon, 23 Nov 2009 23:43:57 +0000 (23:43 +0000)]
Update demo to renamed BookReader
Michael Ang [Mon, 23 Nov 2009 23:26:39 +0000 (23:26 +0000)]
Rename GnuBook to BookReader
scollett [Tue, 17 Nov 2009 00:10:41 +0000 (16:10 -0800)]
Created a setting for the number of out-of-view rows buffered for thumbnails
scollett [Mon, 16 Nov 2009 22:42:47 +0000 (14:42 -0800)]
Fixed location of thumbnail icon and added thumbnail view toolbar mode
scollett [Mon, 16 Nov 2009 18:27:53 +0000 (10:27 -0800)]
Resolve conflicts with upstream repository
scollett [Fri, 13 Nov 2009 23:51:13 +0000 (15:51 -0800)]
Merge branch 'master' of git://github.com/openlibrary/bookreader
scollett [Fri, 13 Nov 2009 23:42:43 +0000 (15:42 -0800)]
Add the functionality of a thumbnail view
Michael Ang [Fri, 13 Nov 2009 18:58:11 +0000 (18:58 +0000)]
Bump version number
Michael Ang [Thu, 12 Nov 2009 18:54:44 +0000 (18:54 +0000)]
Move code for synethesizing blank pages out of integration specific code
Michael Ang [Thu, 12 Nov 2009 00:50:46 +0000 (00:50 +0000)]
Center to search result after clicking on it in 1up. See https://bugs.edge.launchpad.net/gnubook/+bug/394533
Michael Ang [Wed, 11 Nov 2009 23:49:09 +0000 (23:49 +0000)]
Recalc search hilites on 1up resize in anticipation of 1up fit mode
Michael Ang [Wed, 11 Nov 2009 23:43:15 +0000 (23:43 +0000)]
Recalculate search hilites after zoom
Michael Ang [Wed, 11 Nov 2009 22:58:52 +0000 (22:58 +0000)]
Update currentIndex() to return only indices actually in book. Page number box uses currentIndex()
Michael Ang [Wed, 11 Nov 2009 22:52:24 +0000 (22:52 +0000)]
Reuse page background colour logic in drawLeafsTwoPage
Michael Ang [Wed, 11 Nov 2009 22:41:55 +0000 (22:41 +0000)]
Debugging removal
Michael Ang [Wed, 11 Nov 2009 22:39:51 +0000 (22:39 +0000)]
Check if in 2up mode when calculating last displayable index. Cruft removal.
Michael Ang [Wed, 11 Nov 2009 22:13:34 +0000 (22:13 +0000)]
Proper calculation of first/last displayable index taking into account page progression
Michael Ang [Wed, 11 Nov 2009 21:56:17 +0000 (21:56 +0000)]
Display of first/last page in 2up. WIP.
Michael Ang [Mon, 9 Nov 2009 19:02:54 +0000 (19:02 +0000)]
Bump version number
Michael Ang [Fri, 6 Nov 2009 22:24:15 +0000 (22:24 +0000)]
Hate hate IE7
Michael Ang [Thu, 5 Nov 2009 00:04:00 +0000 (00:04 +0000)]
Avoid unnecessary call to build search page map, especially since it doesn't work for books in subdirs. Resolves https://bugs.edge.launchpad.net/gnubook/+bug/397219
Michael Ang [Wed, 4 Nov 2009 23:42:01 +0000 (23:42 +0000)]
Hack to update search terms box for case where search is triggered by loading fresh GB in new browser window.
Michael Ang [Wed, 4 Nov 2009 22:50:49 +0000 (22:50 +0000)]
On trigger search from url fragment if fragment search differs from current search.
Michael Ang [Wed, 4 Nov 2009 22:47:54 +0000 (22:47 +0000)]
Pass through arrow/page key events when keyboard nav is disabled
Michael Ang [Wed, 4 Nov 2009 22:34:05 +0000 (22:34 +0000)]
Remove slashes in search terms
Michael Ang [Wed, 4 Nov 2009 19:58:01 +0000 (19:58 +0000)]
Update URL fragment with search term if search term is active in the current view.
Michael Ang [Mon, 2 Nov 2009 23:30:23 +0000 (23:30 +0000)]
Trigger search from terms passed in by URL. See https://bugs.launchpad.net/gnubook/+bug/126611
scollett [Mon, 12 Oct 2009 20:15:52 +0000 (13:15 -0700)]
Added icon toggle button for thumbnail mode
scollett [Mon, 12 Oct 2009 18:13:16 +0000 (11:13 -0700)]
Added basic thumbnail view (single row) based one page view
Michael Ang [Sat, 26 Sep 2009 00:27:15 +0000 (00:27 +0000)]
Use encodeURIComponent instead of escape, since escape doesn't handle all characters properly.
Michael Ang [Fri, 25 Sep 2009 20:49:07 +0000 (20:49 +0000)]
Process escaped unicode characters in title
Michael Ang [Fri, 25 Sep 2009 20:26:13 +0000 (20:26 +0000)]
Specify file path instead of just index so that images for multi-items are found correctly.
Michael Ang [Wed, 23 Sep 2009 18:21:52 +0000 (18:21 +0000)]
Bump version number
Michael Ang [Wed, 23 Sep 2009 18:15:15 +0000 (18:15 +0000)]
Cruft quarantine
Michael Ang [Wed, 23 Sep 2009 02:49:41 +0000 (02:49 +0000)]
Clean up rotation logic.
Michael Ang [Wed, 23 Sep 2009 02:29:19 +0000 (02:29 +0000)]
Escape input params. Tweak conditional print.
Michael Ang [Wed, 23 Sep 2009 02:19:36 +0000 (02:19 +0000)]
Pass in book title and page names to use as title
Michael Ang [Wed, 23 Sep 2009 01:53:19 +0000 (01:53 +0000)]
Don't immediately print on Safari -- give the user a chance to resize the window
Michael Ang [Wed, 23 Sep 2009 01:47:05 +0000 (01:47 +0000)]
Print icon and link. These are not themselves printed.
Michael Ang [Wed, 23 Sep 2009 01:21:57 +0000 (01:21 +0000)]
Implementation with new window and server based content. Prints better in Safari.
Michael Ang [Tue, 22 Sep 2009 22:19:11 +0000 (22:19 +0000)]
Use CSS to break title at word boundaries if not enough space to display full title
Michael Ang [Mon, 21 Sep 2009 23:21:00 +0000 (23:21 +0000)]
Prints on single page in Safari
Michael Ang [Mon, 21 Sep 2009 22:50:16 +0000 (22:50 +0000)]
Improved print UI
Michael Ang [Mon, 21 Sep 2009 22:09:38 +0000 (22:09 +0000)]
Show page preview with assumed aspect ratio. Text links for Prev Next
Michael Ang [Mon, 21 Sep 2009 21:43:37 +0000 (21:43 +0000)]
Better print layout
Michael Ang [Mon, 21 Sep 2009 21:39:40 +0000 (21:39 +0000)]
Use rotate/scale if passed in
Michael Ang [Mon, 21 Sep 2009 21:00:49 +0000 (21:00 +0000)]
Add ability to go to previous or next pages when printing.
Michael Ang [Mon, 21 Sep 2009 21:00:05 +0000 (21:00 +0000)]
Remove php backend version. Now using dynamically populated iframe
Michael Ang [Mon, 21 Sep 2009 20:55:54 +0000 (20:55 +0000)]
Hide print icon when embedded
Michael Ang [Mon, 21 Sep 2009 19:21:36 +0000 (19:21 +0000)]
Refactor generation of html for print iframe to own function
Michael Ang [Mon, 21 Sep 2009 19:14:09 +0000 (19:14 +0000)]
Bind load event before iframe is added to document DOM.
Michael Ang [Mon, 21 Sep 2009 18:00:31 +0000 (18:00 +0000)]
Print icon
Michael Ang [Fri, 18 Sep 2009 02:57:19 +0000 (02:57 +0000)]
Dynamic iframe implementation
Michael Ang [Fri, 18 Sep 2009 01:29:29 +0000 (01:29 +0000)]
Include subPrefix in embed code if needed (for multi or user item). See https://bugs.edge.launchpad.net/gnubook/+bug/429768
Michael Ang [Fri, 18 Sep 2009 01:23:08 +0000 (01:23 +0000)]
Use subPrefix in embed code. Needed for multi/user-uploaded items.
Michael Ang [Fri, 18 Sep 2009 00:52:32 +0000 (00:52 +0000)]
Fix bug preventing pages with number assertions from being accessed by index. See https://bugs.edge.launchpad.net/gnubook/+bug/432204
Michael Ang [Fri, 18 Sep 2009 00:38:04 +0000 (00:38 +0000)]
Pass image aspect ratio to page printer. Rotate image for better fit (assume portrait orientation) if possible. Fit based on assumed paper size.
Michael Ang [Thu, 17 Sep 2009 18:21:49 +0000 (18:21 +0000)]
Add jp2 image rotation to image processor
Michael Ang [Tue, 15 Sep 2009 23:00:15 +0000 (23:00 +0000)]
Focus print iframe before printing so that IE prints the frame instead of the document window
Michael Ang [Tue, 15 Sep 2009 21:38:00 +0000 (21:38 +0000)]
Merge commit 'origin/master' into mangprint
Update print code with latest from mainline development
Conflicts:
GnuBook/GnuBook.js
GnuBook/GnuBookEmbed.css
scollett [Tue, 15 Sep 2009 19:35:26 +0000 (12:35 -0700)]
Merge branch 'master' of git://github.com/openlibrary/bookreader
Michael Ang [Thu, 10 Sep 2009 19:48:47 +0000 (19:48 +0000)]
Revert "Remove unused special page number code"
May be needed for named pages to access them by index. Reverting for now.
This reverts commit
d009b21bbcbfee26566cf694f52376ab92c6e336.
Michael Ang [Thu, 10 Sep 2009 18:57:49 +0000 (18:57 +0000)]
Bump version number
Michael Ang [Thu, 10 Sep 2009 18:50:44 +0000 (18:50 +0000)]
Rename functions for closer to consistency
Michael Ang [Thu, 10 Sep 2009 18:46:19 +0000 (18:46 +0000)]
Remove unused special page number code
Michael Ang [Thu, 10 Sep 2009 18:45:50 +0000 (18:45 +0000)]
Implement click to flip and drag (with minimum distance) to pan
Michael Ang [Thu, 10 Sep 2009 18:33:19 +0000 (18:33 +0000)]
Increase image quality to reduce noise at edges of letters
Michael Ang [Tue, 8 Sep 2009 23:35:44 +0000 (23:35 +0000)]
Bump version number
Michael Ang [Tue, 8 Sep 2009 23:34:22 +0000 (23:34 +0000)]
Put transparent background image in flip areas so that mouse events are captured on IE.
Michael Ang [Tue, 8 Sep 2009 22:55:11 +0000 (22:55 +0000)]
Ideal height should be based on container height
Michael Ang [Tue, 8 Sep 2009 22:29:06 +0000 (22:29 +0000)]
Prevent default at start of handler, so it's actually prevented
Michael Ang [Thu, 3 Sep 2009 00:19:26 +0000 (00:19 +0000)]
Update width of flip areas
Michael Ang [Wed, 2 Sep 2009 23:53:42 +0000 (23:53 +0000)]
Update gutter value before placing flip areas
Michael Ang [Wed, 2 Sep 2009 23:35:58 +0000 (23:35 +0000)]
Prefetch after scaling has been calculated
Michael Ang [Wed, 2 Sep 2009 23:27:31 +0000 (23:27 +0000)]
Prefetch images starting with current indices and moving outward
Michael Ang [Wed, 2 Sep 2009 23:02:38 +0000 (23:02 +0000)]
Don't reload images when preparing two page view (as happens at resize) unless image URI (scaling) has changed.
Michael Ang [Wed, 2 Sep 2009 21:12:59 +0000 (21:12 +0000)]
If scale matches exactly we should give that image size, not a larger one.
Michael Ang [Wed, 2 Sep 2009 21:00:16 +0000 (21:00 +0000)]
WIP on 0.9.14:
606aa36... On 0.9.14: keyweird
Michael Ang [Wed, 2 Sep 2009 21:00:16 +0000 (21:00 +0000)]
index on 0.9.14:
606aa36... On 0.9.14: keyweird
Michael Ang [Tue, 1 Sep 2009 22:04:41 +0000 (22:04 +0000)]
On 0.9.14: keyweird
Michael Ang [Tue, 1 Sep 2009 22:04:41 +0000 (22:04 +0000)]
index on 0.9.14:
55f7b7f... Invisible divs at edges of spread for single-click flip.
Michael Ang [Thu, 27 Aug 2009 00:56:14 +0000 (00:56 +0000)]
Invisible divs at edges of spread for single-click flip.
Michael Ang [Wed, 26 Aug 2009 23:27:19 +0000 (23:27 +0000)]
Allow mouseup to propagate, for consistency
Michael Ang [Wed, 26 Aug 2009 23:04:48 +0000 (23:04 +0000)]
Use jQuery event.preventDefault() in mouse event handling
Michael Ang [Wed, 26 Aug 2009 22:45:50 +0000 (22:45 +0000)]
Unbind previous mouse handler when binding.
Michael Ang [Thu, 20 Aug 2009 22:24:22 +0000 (22:24 +0000)]
Fix display of zoom level in 1up. Preserve zoom level when switching modes. See https://bugs.edge.launchpad.net/gnubook/+bug/341863