Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add orientation api. Currently poppler api is not optimal, we need to setMarco Pesenti Gritti2005-06-1410-63/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document.c: (ev_document_set_orientation): * backend/ev-document.h: * pdf/ev-poppler.cc: Add orientation api. Currently poppler api is not optimal, we need to set orientation every time we _get a page * data/evince-ui.xml: * shell/ev-window.c: (ev_window_cmd_edit_landscape), (ev_window_cmd_edit_portrait), (ev_window_cmd_edit_flip): Add orientation menu items * shell/ev-page-cache.c: (ev_page_cache_clear): * shell/ev-page-cache.h: Add api to clear the cache * shell/ev-view.c: (setup_caches), (clear_caches), (ev_view_set_document), (ev_view_zoom_out), (ev_view_set_orientation): * shell/ev-view.h: Implement orientation changing
* Updated Traditional Chinese translationChao-Hsiung Liao2005-06-142-235/+445
| | | | | | 2005-06-14 Chao-Hsiung Liao <j_h_liau@yahoo.com.tw> * zh_TW.po: Updated Traditional Chinese translation
* Separate scan and fill so that we can incrementally fill from the mainMarco Pesenti Gritti2005-06-138-181/+176
| | | | | | | | | | | | | | | | | | | | | 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document-fonts.c: (ev_document_fonts_get_progress), (ev_document_fonts_scan), (ev_document_fonts_fill_model): * backend/ev-document-fonts.h: Separate scan and fill so that we can incrementally fill from the main thread. Add a progress api. * data/evince-properties.glade: * pdf/ev-poppler.cc: * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run): * shell/ev-jobs.h: * shell/ev-properties.c: (update_progress_label), (job_fonts_finished_cb), (setup_fonts_view): Incrementally feel the list and show the progress percentage in a label like acrobat does.
* Update Norwegian bokmål translation Update Norwegian bokmål translationKjartan Maraas2005-06-123-1076/+453
| | | | | | | 2005-06-12 Kjartan Maraas <kmaraas@gnome.org> * nb.po: Update Norwegian bokmål translation * no.po: Update Norwegian bokmål translation
* Updated Czech translation.Miloslav Trmac2005-06-122-584/+228
| | | | | | 2005-06-12 Miloslav Trmac <mitr@volny.cz> * cs.po: Updated Czech translation.
* Make fonts model fill incrementally.Marco Pesenti Gritti2005-06-1110-65/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document-fonts.c: (ev_document_fonts_fill_model): * backend/ev-document-fonts.h: * pdf/ev-poppler.cc: Make fonts model fill incrementally. * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked), (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue), (ev_job_queue_remove_job): * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init), (ev_job_fonts_new), (ev_job_fonts_run): * shell/ev-jobs.h: New job for fonts scanning * shell/ev-properties.c: (job_fonts_finished_cb), (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new): * shell/ev-properties.h: * shell/ev-window.c: (ev_window_cmd_file_properties): Incrementally feel the treeview using the new job. Show Loading... message until scanning is completed. Hopefully I didnt break the build without the poppler patch.
* Doesn't translate mdvi libNickolay V. Shmyrev2005-06-103-15/+21
|
* POFILES.in: update.Martin Kretzschmar2005-06-102-1/+9
|
* Transfer remote documents to tmp directory to display them laterNickolay V. Shmyrev2005-06-108-86/+168
|
* s/GTime*/GTime. Not sure why we was using a pointer at all there!Marco Pesenti Gritti2005-06-103-4/+12
| | | | | | | | | | 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document-info.h: * shell/ev-properties.c: (ev_properties_new): s/GTime*/GTime. Not sure why we was using a pointer at all there!
* Updated Canadian English translation.Adam Weinberger2005-06-082-139/+139
| | | | | | 2005-06-08 Adam Weinberger <adamw@gnome.org> * en_CA.po: Updated Canadian English translation.
* Use a GtkIconView in certain situations. That situation is that you'reJonathan Blandford2005-06-085-38/+190
| | | | | | | | | | | | | | | | | | | | | | Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain situations. That situation is that you're using GTK+-HEAD with the patch at #306726 is applied, and you have a document with < 1500 pages in it. It's not quite as uniformly nice as the TreeView, but should be better in the long run. I'm pretty sure I guarded against breaking compilation with HAVE_GTK_ICON_VIEW_GET_VISIBLE_RANGE gaurds, though it's possible I missed some. * shell/ev-window.c (ev_window_init): We don't have our tree/list widget yet, so I commented that code out enable_view_actions_for_widget() for now. Need to figure this out. * shell/ev-page-action.c (match_selected_cb): emit the right signals. Our cool C-l completion now works.
* PageCache and EvJobs are moved from backend to shell. Two new jobs toNickolay V. Shmyrev2005-06-0730-203/+964
| | | | | load document in background and a statusbar to display this process. FileChooser now can select multiple uris.
* Use document info from page cache instead of document itself. fix for crashNickolay V. Shmyrev2005-06-074-6/+15
| | | | 306545
* Big cleanup of the ps codeMarco Pesenti Gritti2005-06-073-557/+459
| | | | | | | | | | | | | 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (ps_document_init), (send_ps), (get_page_box), (output), (catchPipe), (input), (stop_interpreter), (file_length), (file_readable), (check_filecompressed), (ps_document_enable_interpreter), (document_load), (ps_async_renderer_render_pixbuf): * ps/ps-document.h: Big cleanup of the ps code
* Add an async renderer interface (method + callback) which is useful forMarco Pesenti Gritti2005-06-078-97/+413
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-07 Marco Pesenti Gritti <mpg@redhat.com> * backend/Makefile.am: * backend/ev-async-renderer.c: (ev_async_renderer_get_type), (ev_async_renderer_class_init), (ev_async_renderer_render_pixbuf): * backend/ev-async-renderer.h: Add an async renderer interface (method + callback) which is useful for backends like ps. * backend/ev-job-queue.c: (remove_job_from_async_queue), (add_job_to_async_queue), (job_finished_cb), (handle_job), (ev_job_queue_run_next), (ev_job_queue_init), (find_queue), (ev_job_queue_add_job), (move_job_async), (move_job), (ev_job_queue_update_job), (ev_job_queue_remove_job): Add queues for async renderer, these are executed on the main thread. * backend/ev-jobs.c: (ev_job_render_new), (render_finished_cb), (ev_job_render_run): * backend/ev-jobs.h: If the backend support async renderer interface use it. * ps/ps-document.c: (ps_document_init), (push_pixbuf), (setup_pixmap), (ps_document_get_type), (ps_async_renderer_render_pixbuf), (ps_document_document_iface_init), (ps_async_renderer_iface_init): Implement async renderer interface.
* Cleanup links job on exitNickolay V. Shmyrev2005-06-062-0/+16
|
* Fix gcc 4.0 warnings. Second partNickolay V. Shmyrev2005-06-065-129/+106
|
* Fix gcc 4.0 warningsNickolay V. Shmyrev2005-06-065-31/+46
|
* Fix warning when loading psMarco Pesenti Gritti2005-06-062-1/+6
| | | | | | | | 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (start_interpreter): Fix warning when loading ps
* Fix crash when priting gs error messages.Marco Pesenti Gritti2005-06-062-1/+7
| | | | | | | | 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (output): Fix crash when priting gs error messages.
* Use a const to return title so that we dont double free it. Small cleanupMarco Pesenti Gritti2005-06-064-11/+18
| | | | | | | | | | | | | | 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-page-cache.c: (_ev_page_cache_new): * backend/ev-page-cache.h: Use a const to return title so that we dont double free it. Small cleanup and fix a leak. * shell/ev-window.c: (update_window_title): strdup value from get_title.
* Cleanup the old job when changing documentMarco Pesenti Gritti2005-06-062-1/+15
| | | | | | | | | 2005-06-06 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-sidebar-links.c: (job_finished_callback), (ev_sidebar_links_set_document): Cleanup the old job when changing document
* Updated Canadian English translation.Adam Weinberger2005-06-062-100/+114
| | | | | | 2005-06-05 Adam Weinberger <adamw@gnome.org> * en_CA.po: Updated Canadian English translation.
* second part of commitNickolay V. Shmyrev2005-06-053-3/+7
|
* Add stock icons for action that can appear in toolbar. Fix forNickolay V. Shmyrev2005-06-051-0/+9
| | | | bug 306566
* More compact EvView layout in documents with different page sizesNickolay V. Shmyrev2005-06-054-156/+192
|
* fix compilation.Jonathan Blandford2005-06-043-1/+7
| | | | | * shell/ev-window.c (ev_window_cmd_file_properties): fix compilation.
* A bit different fix for rounding problem but it has noNickolay V. Shmyrev2005-06-043-6/+16
| | | | problems on startup. Make properties window transient to parent.
* More commenting of font stuffNickolay V. Shmyrev2005-06-042-2/+10
|
* Comment out some more fonts stuff. Should really work without the popplerMarco Pesenti Gritti2005-06-042-0/+11
| | | | | | | | | 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: Comment out some more fonts stuff. Should really work without the poppler patch now.
* Adapt to api changeMarco Pesenti Gritti2005-06-042-2/+7
| | | | | | | | 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: Adapt to api change
* Set the column title. Show the dialog only once everything is setup.Marco Pesenti Gritti2005-06-043-1/+12
| | | | | | | | | | | | | 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com> * data/evince-properties.glade: * pdf/ev-poppler.cc: * shell/ev-properties.c: (setup_fonts_view): Set the column title. Show the dialog only once everything is setup. Getting font info can be very slow... will prolly need to make this threaded too.
* Implement fonts list. Defined out for now, since it depends on a not yetMarco Pesenti Gritti2005-06-049-9/+303
| | | | | | | | | | | | | | | | | 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com> * backend/Makefile.am: * backend/ev-document-fonts.c: (ev_document_fonts_get_type), (ev_document_fonts_get_fonts_model): * backend/ev-document-fonts.h: * data/evince-properties.glade: * pdf/ev-poppler.cc: * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new): * shell/ev-properties.h: * shell/ev-window.c: (ev_window_cmd_file_properties): Implement fonts list. Defined out for now, since it depends on a not yet committed poppler patch.
* other_page isn't necessarily page + 1.Jonathan Blandford2005-06-044-13/+45
| | | | | | | | | | | | | | | Fri Jun 3 21:07:57 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-view.c (get_page_extents): other_page isn't necessarily page + 1. * shell/ev-window.c: Make sure we add the timeout when we get a focus-in event. * shell/ev-view.c (view_set_adjustment_values): Add 0.5 to adjustment->value before calculating the zoom factor to average out all of our rounding errors. The page no longer 'drifts' when resizing.
* Labels don't expand when the dialogue is resizedNickolay V. Shmyrev2005-06-043-92/+73
| | | | strftime result needs to be converted to UTF-8. Thanks to chpe.
* Hide the fonts tabMarco Pesenti Gritti2005-06-042-40/+7
| | | | | | | | 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com> * data/evince-properties.glade: Hide the fonts tab
* Rework properties code to take only EvPropertyInfo in the constructor soMarco Pesenti Gritti2005-06-049-130/+174
| | | | | | | | | | | | | | | | | | | | | 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document-info.h: * backend/ev-document.c: (ev_document_info_free): * data/evince-properties.glade: * pdf/ev-poppler.cc: * ps/ps-document.c: (ps_document_get_info): * shell/ev-properties.c: (ev_properties_format_date), (set_property), (ev_properties_new): * shell/ev-properties.h: * shell/ev-window.c: (ev_window_cmd_file_properties): Rework properties code to take only EvPropertyInfo in the constructor so that it can be useful for nautilus plugin too. Deal with backends that doesnt support some properties. Make set property code generic.
* fix spacings, make resizeable, and make data labels selectable +Christian Persch2005-06-042-23/+44
| | | | | | | | 2005-06-04 Christian Persch <chpe@gnome.org> * data/evince-properties.glade: fix spacings, make resizeable, and make data labels selectable + ellipsised
* Updated Canadian English translation.Adam Weinberger2005-06-042-270/+280
| | | | | | 2005-06-03 Adam Weinberger <adamw@gnome.org> * en_CA.po: Updated Canadian English translation.
* Initial go at file properties. Patch by Emil Soleyman-ZomalanMarco Pesenti Gritti2005-06-0310-8/+1102
| | | | | | | | | | | | | | | | 2005-06-03 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document-info.h: * data/Makefile.am: * data/evince-ui.xml: * pdf/ev-poppler.cc: * shell/Makefile.am: * shell/ev-window.c: (update_action_sensitivity), (ev_window_cmd_file_properties): Initial go at file properties. Patch by Emil Soleyman-Zomalan <emil@soleyman.com>. Needs love see #169583
* Try to render even if psscan fails.Marco Pesenti Gritti2005-06-023-22/+9
| | | | | | | | | 2005-06-02 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (output): * ps/ps.c: (psscan): Try to render even if psscan fails.
* Port buffered reading code from gvMarco Pesenti Gritti2005-06-012-307/+370
| | | | | | | | 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps.c: (psscan), (pscopydoc): Port buffered reading code from gv
* Do not fail on interpreter messagesMarco Pesenti Gritti2005-06-012-1/+14
| | | | | | | | 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (interpreter_message), (output): Do not fail on interpreter messages
* Translation updated by Tino Meinen.Vincent van Adrighem2005-06-012-119/+138
| | | | | | 2005-06-01 Vincent van Adrighem <adrighem@gnome.org> * nl.po: Translation updated by Tino Meinen.
* Pages can be 0 x 0, dont assert on this caseMarco Pesenti Gritti2005-06-012-1/+8
| | | | | | | | | 2005-06-01 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document-misc.c: (ev_document_misc_get_thumbnail_frame): Pages can be 0 x 0, dont assert on this case
* Correctly manage our reference on document. Finally the reload huge leakMarco Pesenti Gritti2005-05-312-34/+27
| | | | | | | | | | 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-sidebar-links.c: (ev_sidebar_links_dispose), (ev_sidebar_links_class_init), (ev_sidebar_links_set_document): Correctly manage our reference on document. Finally the reload huge leak is gone...
* Forgot to chain it to the parent. Thanks chpe.Marco Pesenti Gritti2005-05-312-0/+8
| | | | | | | | 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (ps_document_dispose): Forgot to chain it to the parent. Thanks chpe.
* Cleanup dispose a bit. Dont leak the whole pixmap.Marco Pesenti Gritti2005-05-312-65/+48
| | | | | | | | | 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com> * ps/ps-document.c: (ps_document_dispose), (ps_document_class_init), (stop_interpreter), (document_load): Cleanup dispose a bit. Dont leak the whole pixmap.
* Release the poppler document on disposeMarco Pesenti Gritti2005-05-312-0/+19
| | | | | | | | 2005-05-31 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: Release the poppler document on dispose