commit 0b5a10a735bea6489bb55180e06c3439766072c8 Author: Carlos Garcia Campos Date: 2013-07-08 Bump poppler requirements to 0.23.3 Poppler 0.23.3 contains important fixes for the caret navigation and the new find sidebar to work properly. M backend/pdf/ev-poppler.cc M configure.ac commit 259022495e7fbc944cdfe49e9556d84ac2397673 Author: Antia Puentes Date: 2013-07-03 libview: Emit the AtkText 'text-caret-moved' and 'text-selection-changed' signals https://bugzilla.gnome.org/show_bug.cgi?id=701732 M libview/ev-view-accessible.c commit 9c3816b6824f47a12659e7c368fdc0fa0a39edf3 Author: Carlos Garcia Campos Date: 2013-07-07 libview: clear the selection when cursor is moved If the cursor is moved with left/right arrow keys the cursor moves the beginning/end of the selection. M libview/ev-view.c commit cc6445fb8fca7f59c9da308315cdf82562a0eb38 Author: Trần Ngọc Quân Date: 2013-07-06 Updated Vietnamese translation M po/vi.po commit 5b3fceb4f44f9f509d3d21b5caf1a91e95cd8af6 Author: Kjartan Maraas Date: 2013-07-04 Updated Norwegian bokmål translation M po/nb.po commit 604cd6d9de26dcb7ce56551d27de803896df630d Author: Carlos Garcia Campos Date: 2013-07-03 libview: Do not show the caret cursor when there are active selections https://bugzilla.gnome.org/show_bug.cgi?id=702761 M libview/ev-view.c commit bf18b5450a1791e33d0d82442cd493211e194785 Author: Carlos Garcia Campos Date: 2013-07-03 libview: Return NULL instead of empty regions from the pixbuf cache This way we just need to check the pointer returned. M libview/ev-pixbuf-cache.c M libview/ev-view.c commit 0db906a4e7b807e240708897c569bbf5ccd25a08 Author: Carlos Garcia Campos Date: 2013-07-03 libview: Remove unused variable M libview/ev-pixbuf-cache.c commit 1691b14832f155a16ecfe95d8446c845ae846f84 Author: Carlos Garcia Campos Date: 2013-07-03 libview: Don't draw the caret cursor when the view is not focused M libview/ev-view.c commit 415ab079ea4baf2e406c43a30cb90c06d6793c88 Author: Carlos Garcia Campos Date: 2013-07-02 libview: Fix moving the caret cursor between lines in multicolumn documents And also the caret cursor location when positioned with the mouse when clicking on areas with no text, like margins or even the space between columns. M libview/ev-view.c commit 65d3169e8da85371b755e3d0c6a76b2b89ce0982 Author: Carlos Garcia Campos Date: 2013-07-02 ev-toolbar: Move the zoom selector to the left of the toolbar Between the find and view buttons, so that it's close to the other view options. https://bugzilla.gnome.org/show_bug.cgi?id=701696 M shell/ev-toolbar.c commit ac3800a5a77648f047d630f28c93dcaa04f7264a Author: Antia Puentes Date: 2013-06-28 libview: Pre-cache some prev/next pages to the current page range. https://bugzilla.gnome.org/show_bug.cgi?id=702767 M libview/ev-page-cache.c commit b6f27b6890ead6b190147c321aad206c8a4c4422 Author: Carlos Garcia Campos Date: 2013-07-01 ev-pixbuf-cache: schedule prev or next jobs first depending on the scroll direction If we are scrolling down schedule next pages first, otherwise schedule the previous pages first. M libview/ev-pixbuf-cache.c commit ceacd4eafd4ca4a52da11a9d12620b20f936ee49 Author: Carlos Garcia Campos Date: 2013-07-01 ev-pixbuf-cache: Schedule jobs to render previous pages in inverse order M libview/ev-pixbuf-cache.c commit 641dc96ed11ee7e046d315f036f13ccb3b0d8abb Author: Carlos Garcia Campos Date: 2013-06-30 ev-find-sidebar: Show all results in sidebar for multicolumn documents Search results are sorted in physical order while text layout is in reading order, so when a match is not found after the offset of previous one, continue iterating the text layout from the beginning. Add a warning when we fail to find the offset for a match because it should never happen. M shell/ev-find-sidebar.c commit 4a8ccb4234e8f20232852f59a16dd5309a86d092 Author: Carlos Garcia Campos Date: 2013-06-30 ev-find-sidebar: fix a crash due to an infinite loop resolving hyphenations Do not try to resolve the hyphenation if the hyphen is the last character of the chunk processed. https://bugzilla.gnome.org/show_bug.cgi?id=703275 M shell/ev-find-sidebar.c commit 602d7148ef176631f3ae213b3a9a87f0be2ca577 Author: Jonas Danielsson Date: 2013-06-29 djvu: implement text interface https://bugzilla.gnome.org/show_bug.cgi?id=703108 M backend/djvu/djvu-document.c commit fde935f65e59439febbc21a235ae5e89dfdc9b06 Author: Jonas Danielsson Date: 2013-06-29 djvu: Rename djvu_text_page_prepare_search as djvu_text_page_index_text M backend/djvu/djvu-document.c M backend/djvu/djvu-text-page.c M backend/djvu/djvu-text-page.h commit 32232115a832b3d4f0bd73d82894b75f1cc7e9aa Author: Jonas Danielsson Date: 2013-05-23 djvu: enable selection highlighting https://bugzilla.gnome.org/show_bug.cgi?id=448739 M backend/djvu/djvu-document.c M backend/djvu/djvu-text-page.c M backend/djvu/djvu-text-page.h commit 4e2bf3ff212aa0948a6bec4c25dd94a43ea6363b Author: Carlos Garcia Campos Date: 2013-06-28 Focus the findbar when it's requested to be shown and it's already visible M shell/ev-window.c commit 0109afa3719a2b06ccbb49f32fd17bdcbd279bd0 Author: Carlos Garcia Campos Date: 2013-06-28 Check if find bar is visible when ESC is pressed to hide it We were checking if the focused widget was a children of the find bar. Now that there's a find sidebar and findbar is not closed when it loses the focus, other widgets might have the focus while a search is active. So, simply check if the findbar is visible instead. M shell/ev-window.c commit c4215f99a3116088b956065983fade857bd71d24 Author: Carlos Garcia Campos Date: 2013-06-25 ev-find-sidebar: Use text layout and pango instead of GtkTextBuffer We already have the coordinates of the matches, we don't need to search all them again using GtkTextBuffer. It also removes the line breaks, resolves the hyphenations and adds more context. M shell/ev-find-sidebar.c commit 930ad17aac664010f8b346b1414cd05b97dc2275 Author: Carlos Garcia Campos Date: 2013-06-23 shell: show a sidebar with search results when find is active https://bugzilla.gnome.org/show_bug.cgi?id=566827 M shell/ev-window.c commit 940ce8048e4fc6503dca03c1ce090ff4a11dface Author: Carlos Garcia Campos Date: 2013-06-23 shell: Add EvFindSidebar widget to show search results This is based on a patch by Sergey Pushkin. http://bugzilla.gnome.org/show_bug.cgi?id=566827 M shell/Makefile.am A shell/ev-find-sidebar.c A shell/ev-find-sidebar.h commit b00a32f9d092d39f6251aed70a563b4aec3297c2 Author: Carlos Garcia Campos Date: 2013-06-23 shell: Add the findbar to the main box instead of the view box M shell/ev-window.c commit a2d781fb124bd19861035fd41dacc976e00d19ef Author: Carlos Garcia Campos Date: 2013-06-23 eggfindbar: don't close the findbar when it loses the focus Now that there's a toggle button in the toolbar, the find bar can be closed just by toggling the button. M shell/eggfindbar.c commit 93bdc371f2f9a6d3cd6be1f2c1366f0b7a52fe1d Author: Carlos Garcia Campos Date: 2013-06-23 libview: Add ev_view_find_set_result To be able set a random result in addition to next/prev results. M libview/ev-view.c M libview/ev-view.h commit 4eecb334f4b79b7848c6d235779e16766cd61f1f Author: Antia Puentes Date: 2013-06-26 libview: Added 'cursor-moved' signal to notify when the caret cursor has been moved. https://bugzilla.gnome.org/show_bug.cgi?id=702078 M libview/ev-view.c commit 7a7ebb8f2a56b4f8ec604c07886948c6bcec3b16 Author: Carlos Garcia Campos Date: 2013-06-27 libview: Avoid unnecessary region copies when selecting text Now that we always build a new damage region, we don't need to copy the selection covered region. M libview/ev-view.c commit a497fb42613536292a883d7fdd7f5b484566c37d Author: Carlos Garcia Campos Date: 2013-06-27 libview: Use a larger damage area to redraw selections Depending on the zoom level the area actually drawn by cairo can be a bit larger than the selected region due to rounding errors or pixel alignment. We use the selected region to build the damage area to invalidate when drawing selections which in many cases is not large enough. This causes that sometimes when removing a selections some small rectangles keep drawn because they are not redrawn. To avoid this we grow the damage area computed from selected regions. M libview/ev-view.c commit 4093541cef545ac30cfe64eb0f4fb7bd7a11fb34 Author: Carlos Garcia Campos Date: 2013-06-27 libview: Don't queue a redraw when damaged region hasn't changed When the region covered by old and new selection is the same, don't schedule a new redraw for the union. M libview/ev-view.c commit 9fd3d7d9182ecd820b699da232930a23e57ca3c7 Author: Jason Crain Date: 2013-06-24 libview: Invalidate union of old and new selection Instead of using xor, use the union of old_sel and new_sel to find what needs redrawing. https://bugzilla.gnome.org/show_bug.cgi?id=703024 M libview/ev-view.c commit 9a5e9df9d2c38c561c49fa10824832610d485133 Author: Carlos Garcia Campos Date: 2013-06-26 libview: Move the caret cursor when clicking outside a selection M libview/ev-view.c commit 5503827d54ed47b5d4f26e8dadae0c96c3ebb921 Author: Carlos Garcia Campos Date: 2013-06-26 libview: Remove unused in_selection member from SelectionInfo struct This is currently unused and redundant, to know whether there are selections we use selection_info.selections. M libview/ev-view-private.h M libview/ev-view.c commit 255b9778880f4aa9520fee7a0a8f6d997559033b Author: Antia Puentes Date: 2013-06-26 libview: Keep the offset inside a line when moving the caret between lines. https://bugzilla.gnome.org/show_bug.cgi?id=702075 M libview/ev-view-private.h M libview/ev-view.c commit 040a42db65ee9acb2df31476f40a6257c84f0d1b Author: Carlos Garcia Campos Date: 2013-06-26 libview: Position the caret cursor at beginning/end of the line when clicking outside the line Position the caret cursor also when not clicking over text if the line contains text. M libview/ev-view.c commit 4a889046215efc8826e75127c083c986b3fb096d Author: Carlos Garcia Campos Date: 2013-06-26 libview: Make sure we never use negative coordinates in selection rectangle https://bugzilla.gnome.org/show_bug.cgi?id=702874 M libview/ev-view.c commit e6fd3ffbef88e242111978c051565a245be08b4c Author: Carlos Garcia Campos Date: 2013-06-24 libview: Fix a crash when selecting more than one page https://bugzilla.gnome.org/show_bug.cgi?id=702874 M libview/ev-view.c commit 2daa541d0b44e9e280eeda907d5ee29c1b3f57cd Author: Baurzhan Muftakhidinov Date: 2013-06-22 Updated Kazakh translation M po/kk.po commit 1e3486e6611489f5845bfe7a60a670f705a23ede Author: Carlos Garcia Campos Date: 2013-06-21 libview: Do not schedule a redraw when selecting all text merge_selection_region already invalidates the damaged region. M libview/ev-view.c commit c30e9b193d0106058d8edce75d76cb849f918de0 Author: Carlos Garcia Campos Date: 2013-06-21 libview: Use prepend + reverse instead of append to create selections list M libview/ev-pixbuf-cache.c M libview/ev-view.c commit dc1e75b7be87a85859173c7f7f4560a44dc24855 Author: Carlos Garcia Campos Date: 2013-06-21 libview: Use GSlice to allocate EvViewSelection These structs are allocated and deallocated a lot while selecting text and merging selection regions. M libview/ev-pixbuf-cache.c M libview/ev-view.c commit a6e383493923c36efafc1f38de563ca9efd8b108 Author: Antia Puentes Date: 2013-06-20 libview: Text selection using the caret cursor. https://bugzilla.gnome.org/show_bug.cgi?id=702073 M libview/ev-view-marshal.list M libview/ev-view-private.h M libview/ev-view.c commit 619c1001b380566616e760317454c5e380dfbacf Author: Carlos Garcia Campos Date: 2013-06-21 libview: Update the caret cursor after selecting text with the mouse If there's an active selection move the caret cursor to the location where the mouse is released. M libview/ev-view.c commit b9c32bc1c1f5971c080bcc4753c6df90732f5a5e Author: Carlos Garcia Campos Date: 2013-06-21 libview: Take page border into account when computing selections M libview/ev-view.c commit 1435ace8bd44a953b59192b40d0d10ec69edb075 Author: Carlos Garcia Campos Date: 2013-06-21 libview: Make sure the cursor blinks after moving it by a click The cursor blink is reset when the cursor is moved with the keyboard, but not when positioned with the mouse. M libview/ev-view.c commit 13a59788ae291caafa93f4628988edb307da1b9b Author: Carlos Garcia Campos Date: 2013-06-21 libview: merge get_caret_cursor_rect_from_offset and get_caret_cursor_area Into a single function and use get_caret_cursor_area everywhere. get_caret_cursor_rect_from_offset() was a bit confusing, because it didn't return the cursor_rect, but the bbox of the character where the cursor should be at. The method that actually returns the cursor_rect is get_caret_cursor_area. M libview/ev-view.c commit 5619ef63ff178e98a72f102d2aae3de59b38eeb2 Author: Kjartan Maraas Date: 2013-06-20 Updated Norwegian bokmål translation M po/nb.po commit d0f449d3b41a89c31d5cdb418c9b91d21ffd7a62 Author: Antia Puentes Date: 2013-06-19 libview: Notify about caret navigation errors using the error bell. https://bugzilla.gnome.org/show_bug.cgi?id=702650 M libview/ev-view.c commit 05250e382d2a79ec735fa25f5981ae07670d0b49 Author: Yosef Or Boczko Date: 2013-06-19 ev-toolbar: Set history button arrow icons according to locale's text direction https://bugzilla.gnome.org/show_bug.cgi?id=702585 M shell/ev-history-action-widget.c commit e11816546f79bd241c3e17f4e5a8ffa517acb245 Author: Carlos Garcia Campos Date: 2013-06-19 libview: Do not redraw after a click if cursor position hasn't changed M libview/ev-view.c commit 1206ff1777d97f626853c0bbb3011259f43eeac2 Author: Carlos Garcia Campos Date: 2013-06-19 libview: Use GtkBindings for caret navigation This allows themes to override the key bindings and API users to move the caret cursor programmatically using g_signal_emit_by_name. M libview/ev-view-marshal.list M libview/ev-view-private.h M libview/ev-view.c commit b70e413d00bf145a29bd200ba4340286cbda65c6 Author: Carlos Garcia Campos Date: 2013-06-19 libview: Rename EvView::binding-activated signal as EvView::scroll EvView::binding-activated is too generic name for scroll key bindings. Renamed as EvView::scroll and changed to use GtkOrientable instead of a gboolean. M libview/ev-view-marshal.list M libview/ev-view-private.h M libview/ev-view.c commit 17d5c4fa58c1843ef8396400e1c07f2687e20563 Author: Carlos Garcia Campos Date: 2013-06-18 release: 3.9.3 M NEWS M configure.ac