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
Michael Ang [Wed, 19 Aug 2009 22:31:33 +0000 (22:31 +0000)]
Update version number
Michael Ang [Wed, 19 Aug 2009 21:49:32 +0000 (21:49 +0000)]
Prettier formatting for zoom percentage displayed in toolbar
Michael Ang [Wed, 19 Aug 2009 21:31:46 +0000 (21:31 +0000)]
Better calculation of ideal spread size. Offset from gutter was being applied in wrong direction.
Michael Ang [Wed, 19 Aug 2009 20:34:21 +0000 (20:34 +0000)]
Assign total leaf edge width before using that value in calculation!
Michael Ang [Wed, 19 Aug 2009 19:13:24 +0000 (19:13 +0000)]
Change page flip action in two up to double click. Show "move" icon when over pages in 2up.
Michael Ang [Mon, 17 Aug 2009 23:59:14 +0000 (23:59 +0000)]
Fix zoom quantization going from 2up to 1up
Michael Ang [Mon, 17 Aug 2009 23:30:22 +0000 (23:30 +0000)]
Fix typo
Michael Ang [Mon, 17 Aug 2009 23:21:19 +0000 (23:21 +0000)]
Cleanup
Michael Ang [Mon, 17 Aug 2009 23:09:13 +0000 (23:09 +0000)]
Cruft removal.
Michael Ang [Mon, 17 Aug 2009 22:37:49 +0000 (22:37 +0000)]
Better sizing for cover in right to left flip. See https://bugs.edge.launchpad.net/gnubook/+bug/413355
Michael Ang [Mon, 17 Aug 2009 22:24:07 +0000 (22:24 +0000)]
Hard stop flip animations when stopping autoplay. Don't reprepare page view if new zoom is the same.
Michael Ang [Mon, 17 Aug 2009 19:39:42 +0000 (19:39 +0000)]
Quantize zoom in 2up going to autofit when its zoom level falls between quantized levels. See https://bugs.edge.launchpad.net/gnubook/+bug/411591 and https://bugs.edge.launchpad.net/gnubook/+bug/413819
Michael Ang [Mon, 17 Aug 2009 18:43:36 +0000 (18:43 +0000)]
Change to autofit mode when starting autoplay. See https://bugs.edge.launchpad.net/gnubook/+bug/414936
Michael Ang [Fri, 14 Aug 2009 23:21:09 +0000 (23:21 +0000)]
Set offset of twopagediv before adding images to reduce visual glitches during zoom. See https://bugs.edge.launchpad.net/gnubook/+bug/413353
Michael Ang [Fri, 14 Aug 2009 22:18:32 +0000 (22:18 +0000)]
Allow reduction factors down to 32. Reduces size of loaded images in 2up when zoomed out far. See https://bugs.edge.launchpad.net/gnubook/+bug/333458
Michael Ang [Fri, 14 Aug 2009 21:38:24 +0000 (21:38 +0000)]
Quantize reduction factor in 2up. See https://bugs.edge.launchpad.net/gnubook/+bug/411591
Michael Ang [Fri, 14 Aug 2009 01:01:15 +0000 (01:01 +0000)]
Recenter if no scrollbars during non-autofit 2up resize
Michael Ang [Fri, 14 Aug 2009 00:48:12 +0000 (00:48 +0000)]
If there won't be scrollbars in a direction when zooming (out) center the book in that axis.
Michael Ang [Fri, 14 Aug 2009 00:44:06 +0000 (00:44 +0000)]
Only recalculate and re-center 2up mode after resize if autofit.
Michael Ang [Fri, 14 Aug 2009 00:07:42 +0000 (00:07 +0000)]
Preserve 2up view center during zoom. WIP
Michael Ang [Thu, 13 Aug 2009 23:32:50 +0000 (23:32 +0000)]
Center two page view at resize. WIP
Michael Ang [Thu, 13 Aug 2009 18:43:11 +0000 (18:43 +0000)]
Better calculation for cover left position in calculateSpreadSize. WIP
Michael Ang [Thu, 13 Aug 2009 18:35:04 +0000 (18:35 +0000)]
Improved center calculation. Comments. WIP
Michael Ang [Thu, 13 Aug 2009 18:10:33 +0000 (18:10 +0000)]
Don't return unused ratio from getIdealSpreadSize
Michael Ang [Thu, 13 Aug 2009 17:52:13 +0000 (17:52 +0000)]
Work on left/right flip. WIP
Michael Ang [Wed, 12 Aug 2009 23:58:38 +0000 (23:58 +0000)]
Doc problem area with link to Launchpad
Michael Ang [Wed, 12 Aug 2009 23:56:15 +0000 (23:56 +0000)]
Book cover div position calculated relative to book center
Michael Ang [Wed, 12 Aug 2009 23:46:55 +0000 (23:46 +0000)]
More refactoring of layout code in 2up. WIP
Michael Ang [Wed, 12 Aug 2009 22:36:52 +0000 (22:36 +0000)]
Cleanup and comments
Michael Ang [Wed, 12 Aug 2009 18:38:25 +0000 (18:38 +0000)]
Consolidate calculation and formatting for zoom percentage in toolbar. Fixes "zoom percentage in toolbar should be pretty formatted" (https://bugs.edge.launchpad.net/gnubook/+bug/411581)
Michael Ang [Mon, 10 Aug 2009 21:33:41 +0000 (21:33 +0000)]
More consistent use of GBtwopageview
Michael Ang [Mon, 10 Aug 2009 21:05:25 +0000 (21:05 +0000)]
Refactoring zoom code
Michael Ang [Mon, 10 Aug 2009 19:17:32 +0000 (19:17 +0000)]
Better zooming in/out in 2up. WIP
Michael Ang [Fri, 7 Aug 2009 22:16:51 +0000 (22:16 +0000)]
More cruft removal
Michael Ang [Fri, 7 Aug 2009 22:16:32 +0000 (22:16 +0000)]
Cruft removal
Michael Ang [Fri, 7 Aug 2009 22:15:33 +0000 (22:15 +0000)]
Two page zoom WIP
Michael Ang [Fri, 7 Aug 2009 18:51:41 +0000 (18:51 +0000)]
Refactor calculation of ideal spread size into its own function, getIdealSpreadSize
Michael Ang [Fri, 7 Aug 2009 18:25:40 +0000 (18:25 +0000)]
Move two page mode specific variables to this.twoPage object.
Michael Ang [Thu, 6 Aug 2009 22:47:31 +0000 (22:47 +0000)]
Note to self about cleaning up in-code CSS
Michael Ang [Thu, 6 Aug 2009 22:41:28 +0000 (22:41 +0000)]
Merge branch '0.9.12' into twopagezoom
Michael Ang [Thu, 6 Aug 2009 22:39:47 +0000 (22:39 +0000)]
Fix typo (min vs max)
Michael Ang [Thu, 6 Aug 2009 22:17:14 +0000 (22:17 +0000)]
Hook up generic zoom function which dispatches to mode-specific function
Michael Ang [Wed, 5 Aug 2009 23:36:04 +0000 (23:36 +0000)]
Update comments noting possible point for improvement in tooltip positioning
Michael Ang [Wed, 5 Aug 2009 23:31:31 +0000 (23:31 +0000)]
Two page popup position accounts for offset of GBcontainer div
Michael Ang [Wed, 5 Aug 2009 23:20:52 +0000 (23:20 +0000)]
Add scrollTop to two page popup since it positioned inside GBcontainer which may be scrolling
Michael Ang [Wed, 5 Aug 2009 23:17:54 +0000 (23:17 +0000)]
Jump index still works since it was using document-relative coordinates
Michael Ang [Wed, 5 Aug 2009 23:13:21 +0000 (23:13 +0000)]
Display two page jump popup relative to GBcontainer
Michael Ang [Wed, 5 Aug 2009 22:38:17 +0000 (22:38 +0000)]
Move two page display into GBtwopageview, similar to GBpageview
Michael Ang [Wed, 5 Aug 2009 22:12:07 +0000 (22:12 +0000)]
Use clientWidth to account for possible presence of scroll bars
Michael Ang [Mon, 3 Aug 2009 20:37:23 +0000 (20:37 +0000)]
Remove note to self
Michael Ang [Wed, 22 Jul 2009 15:29:30 +0000 (15:29 +0000)]
Preserve center of view when zooming in 1up. See https://bugs.edge.launchpad.net/gnubook/+bug/402262
Michael Ang [Tue, 21 Jul 2009 15:05:03 +0000 (15:05 +0000)]
Notes to self
Michael Ang [Mon, 20 Jul 2009 16:04:43 +0000 (16:04 +0000)]
Adjust jpeg image compression (65% quality instead of 90%) to reduce download times. Addresses https://bugs.edge.launchpad.net/gnubook/+bug/394013
Michael Ang [Mon, 20 Jul 2009 13:30:58 +0000 (13:30 +0000)]
Merge Replace hardcoded zoom percentage from scollett. See https://bugs.edge.launchpad.net/gnubook/+bug/394950
Merge commit '
162afb7a06c13547bd7fb15f6a5a8fe3da67c251' into 0.9.12
Michael Ang [Thu, 9 Jul 2009 22:07:12 +0000 (22:07 +0000)]
Hide mode and autoplay buttons if 2up is not available. See https://bugs.edge.launchpad.net/gnubook/+bug/394525
Michael Ang [Thu, 9 Jul 2009 21:52:52 +0000 (21:52 +0000)]
Mode button not present if not applicable
Michael Ang [Thu, 9 Jul 2009 00:13:59 +0000 (00:13 +0000)]
Generate proper URIs for books inside sub-directories. See https://bugs.edge.launchpad.net/gnubook/+bug/397219
Michael Ang [Wed, 8 Jul 2009 23:33:03 +0000 (23:33 +0000)]
Allow sub-books such as /stream/itemid/subbook1 and /stream/itemid/subbook2. See https://bugs.edge.launchpad.net/gnubook/+bug/375056
Michael Ang [Tue, 7 Jul 2009 22:42:55 +0000 (22:42 +0000)]
Merge branch 'multiitem' of /home/testflip/bookreader into multiitem
Michael Ang [Tue, 7 Jul 2009 22:41:40 +0000 (22:41 +0000)]
Use dev code if on dev host
Michael Ang [Thu, 2 Jul 2009 00:27:02 +0000 (00:27 +0000)]
Allow for file names containing '-'
Michael Ang [Thu, 2 Jul 2009 00:22:45 +0000 (00:22 +0000)]
Support for books that do not have file names the same as the item identifier.
Michael Ang [Tue, 30 Jun 2009 23:46:55 +0000 (23:46 +0000)]
Declare variable for cleanliness
Michael Ang [Tue, 30 Jun 2009 23:41:47 +0000 (23:41 +0000)]
Wherein we demonstrate the utility of QA testing.
Michael Ang [Tue, 30 Jun 2009 23:41:14 +0000 (23:41 +0000)]
Smushed version. The file was previously a jpg!
Michael Ang [Tue, 30 Jun 2009 22:24:08 +0000 (22:24 +0000)]
Fix typo
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.
Michael Ang [Tue, 30 Jun 2009 21:44:48 +0000 (21:44 +0000)]
Round and clamp jump index values coming from book edge.
Michael Ang [Mon, 29 Jun 2009 23:28:36 +0000 (23:28 +0000)]
Merge branches 'ambiguouspage', 'fixembed', 'jquery13' and 'smushit' into merge
Michael Ang [Mon, 29 Jun 2009 23:01:54 +0000 (23:01 +0000)]
Bump version number.
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.
Michael Ang [Mon, 29 Jun 2009 22:21:08 +0000 (22:21 +0000)]
Use CSS-relative paths for images. Fixes embed case.
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.
Michael Ang [Fri, 26 Jun 2009 22:05:42 +0000 (22:05 +0000)]
Smushed images
Michael Ang [Tue, 23 Jun 2009 22:34:44 +0000 (22:34 +0000)]
Fix wrong function call
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.
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.
Michael Ang [Tue, 23 Jun 2009 18:06:41 +0000 (18:06 +0000)]
Make naming of various wrt "leaf" or "index" more consistent