Matthew Olsson 
								
							 
						 
						
							
							
							
							
								
							
							
								195572dd2a 
								
							 
						 
						
							
							
								
								PDFViewer: Propagate more errors  
							
							
							
						 
						
							2022-04-04 14:59:37 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Olsson 
								
							 
						 
						
							
							
							
							
								
							
							
								baac720e13 
								
							 
						 
						
							
							
								
								PDFViewer: Respect page navigation features in multi-page mode  
							
							... 
							
							
							
							This includes the text box and the page up/down arrows. 
							
						 
						
							2022-04-04 14:59:37 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Olsson 
								
							 
						 
						
							
							
							
							
								
							
							
								3ecb41b7d9 
								
							 
						 
						
							
							
								
								PDFViewer: Support a continuous page view mode  
							
							
							
						 
						
							2022-04-04 14:59:37 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Olsson 
								
							 
						 
						
							
							
							
							
								
							
							
								091c2cfdca 
								
							 
						 
						
							
							
								
								PDFViewer: Add page mode option  
							
							
							
						 
						
							2022-04-04 14:59:37 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Olsson 
								
							 
						 
						
							
							
							
							
								
							
							
								c39718ca81 
								
							 
						 
						
							
							
								
								PDFViewer: Don't change pages on horizontal scroll  
							
							... 
							
							
							
							This was a bit jarring, and didn't align with the behavior of other PDF
renderers. 
							
						 
						
							2022-04-04 14:59:37 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Olsson 
								
							 
						 
						
							
							
							
							
								
							
							
								b2f79a74d4 
								
							 
						 
						
							
							
								
								PDFViewer: Clear rendered page cache on application resize  
							
							... 
							
							
							
							When resizing the application, the pages are expected to grow or shrink
proportionally. This means that after a resize, we need to rerender
every page. 
							
						 
						
							2022-04-04 14:59:37 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Olsson 
								
							 
						 
						
							
							
							
							
								
							
							
								b240d23a87 
								
							 
						 
						
							
							
								
								LibPDF: Propagate errors in Renderer/PDFViewer  
							
							
							
						 
						
							2022-03-07 10:53:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Olsson 
								
							 
						 
						
							
							
							
							
								
							
							
								73cf8205b4 
								
							 
						 
						
							
							
								
								LibPDF: Propagate errors in Parser and Document  
							
							
							
						 
						
							2022-03-07 10:53:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Lenny Maiorani 
								
							 
						 
						
							
							
							
							
								
							
							
								1dd70a6f49 
								
							 
						 
						
							
							
								
								Applications: Change static constexpr variables to constexpr  
							
							... 
							
							
							
							Function-local `static constexpr` variables can be `constexpr`. This
can reduce memory consumption, binary size, and offer additional
compiler optimizations. 
							
						 
						
							2022-02-28 13:54:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dmitry Petrov 
								
							 
						 
						
							
							
							
							
								
							
							
								1662213737 
								
							 
						 
						
							
							
								
								Userland: Add horizontal mouse scroll support  
							
							
							
						 
						
							2022-01-20 10:37:52 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Marcus Nilsson 
								
							 
						 
						
							
							
							
							
								
							
							
								eb97617ff0 
								
							 
						 
						
							
							
								
								PDFViewer: Add actions to rotate the displayed PDF  
							
							... 
							
							
							
							This implements the rotate cw/ccw actions in PDFViewer.
Since the rendered pages are stored in a HashMap for caching,
the bitmap is wrapped in a struct with the current rotation.
This way the caching works as expected while zooming, and a new bitmap
is rendered when the page is rotated. 
							
						 
						
							2022-01-06 21:25:02 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Marcus Nilsson 
								
							 
						 
						
							
							
							
							
								
							
							
								56bec4968c 
								
							 
						 
						
							
							
								
								PDFViewer: Enable panning with middle mouse button  
							
							... 
							
							
							
							Enable the use of the middle mouse button for panning in PDFViewer. 
							
						 
						
							2022-01-06 21:25:02 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Marcus Nilsson 
								
							 
						 
						
							
							
							
							
								
							
							
								3af71c406d 
								
							 
						 
						
							
							
								
								PDFViewer: Add zoom in/out/reset menu actions  
							
							... 
							
							
							
							Make PDFViewer::zoom_in() & ::zoom_out() public and add menu and toolbar
actions. Also add an action for zoom reset. 
							
						 
						
							2022-01-06 21:25:02 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Elyse 
								
							 
						 
						
							
							
							
							
								
							
							
								086615535f 
								
							 
						 
						
							
							
								
								Everywhere: Use 'decrease_slider_by()' method from AbstractSlider  
							
							... 
							
							
							
							The same idea as 'increase_slider_by()', it helps us to avoid repeating
the pattern 'set_value(value() - delta)'. 
							
						 
						
							2021-12-30 14:31:50 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Elyse 
								
							 
						 
						
							
							
							
							
								
							
							
								d53e1fa1fa 
								
							 
						 
						
							
							
								
								Everywhere: Use 'increase_slider_by()' method from AbstractSlider  
							
							... 
							
							
							
							This method help us to avoid repeating the pattern
'set_value(value() + delta)'. 
							
						 
						
							2021-12-30 14:31:50 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								0de33b3d6c 
								
							 
						 
						
							
							
								
								LibGfx: Use ErrorOr<T> for Bitmap::try_create()  
							
							... 
							
							
							
							Another one that was used in a fajillion places. 
							
						 
						
							2021-11-08 00:35:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								69c4614a94 
								
							 
						 
						
							
							
								
								LibGfx: Use ErrorOr<T> for Bitmap::rotated()  
							
							
							
						 
						
							2021-11-08 00:35:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								c7d891765c 
								
							 
						 
						
							
							
								
								LibGfx: Use "try_" prefix for static factory functions  
							
							... 
							
							
							
							Also mark them as [[nodiscard]]. 
							
						 
						
							2021-07-21 18:02:15 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									FalseHonesty 
								
							 
						 
						
							
							
							
							
								
							
							
								4f0a75224c 
								
							 
						 
						
							
							
								
								PDFViewer: Update the page number when scrolling between pages  
							
							
							
						 
						
							2021-06-22 06:26:44 +04:30 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								076018b74b 
								
							 
						 
						
							
							
								
								PDFViewer: Ignore wheel events when there is no document loaded  
							
							
							
						 
						
							2021-05-18 21:25:35 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Olsson 
								
							 
						 
						
							
							
							
							
								
							
							
								fe2d4d85c4 
								
							 
						 
						
							
							
								
								PDFViewer: Add some padding to the outside of the page  
							
							
							
						 
						
							2021-05-18 16:35:23 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Olsson 
								
							 
						 
						
							
							
							
							
								
							
							
								c3c2121b57 
								
							 
						 
						
							
							
								
								PDFViewer: Allow zooming in and out + scrolling  
							
							... 
							
							
							
							When holding ctrl and scrolling, the page will be zoomed in an out.
When zoomed in on a page, scrolling with move vertically up and down
the page (or horizontally if shift is being held).
In order to speed up zooming, zoomed bitmaps are cached per-page at
each distinct zoom level. This cache is cleared every 30 seconds to
prevent OOM problems. 
							
						 
						
							2021-05-18 16:35:23 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Olsson 
								
							 
						 
						
							
							
							
							
								
							
							
								d5f94aaa7b 
								
							 
						 
						
							
							
								
								LibPDF/PDFViewer: Support rotated pages  
							
							
							
						 
						
							2021-05-18 16:35:23 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Matthew Olsson 
								
							 
						 
						
							
							
							
							
								
							
							
								f7ea1eb610 
								
							 
						 
						
							
							
								
								Applications: Add a very simple PDFViewer  
							
							
							
						 
						
							2021-05-18 16:35:23 +02:00