summaryrefslogtreecommitdiff
path: root/glib
AgeCommit message (Collapse)AuthorFilesLines
2013-07-30glib-demo: Remove GTK_DISABLE_DEPRECATED compilation flagCarlos Garcia Campos1-1/+0
Deprecations are now compile warnings, there's no reason to make them fatal.
2013-06-25glib: Use TextPage::getSelectionWords to build text layout and attributesCarlos Garcia Campos1-78/+90
This way we can make sure that the list of words used in poppler_page_get_text_layout and poppler_page_get_text_attributes is the same that the one used in poppler_page_get_text. This fixes the mismatch between the number of characters in the text returned by poppler_page_get_text and the number of characters returned by poppler_page_get_text_layout in some documents.
2013-05-21Do not use deprecated gtk_scrolled_window_add_with_viewport()Hib Eris5-0/+20
https://bugs.freedesktop.org/show_bug.cgi?id=64683
2013-04-06Make our mutexes recursiveAlbert Astals Cid1-0/+3
Fixes a deadlock problem found with a pdf i can't share (411klaralv.pdf) Reviewed by Thomas and Adam on the mailing list
2013-03-24glib: Always start from the beginning when starting a new search on a pageCarlos Garcia Campos1-1/+4
And start from previous match when searching the next one on the same page. This allows to search for the same string multiple times on the same page. https://bugs.freedesktop.org/show_bug.cgi?id=59972
2013-01-28A few more missing GoffsetsAdrian Johnson1-1/+1
2013-01-25Large file supportAdrian Johnson2-13/+13
Create a Goffset type and use this type for all file offsets and file sizes. Bug 44085
2013-01-19Make rendering thread-safeThomas Freitag2-0/+5
Bug #50992
2012-12-150.21.4 soversion increasespoppler-0.21.4Albert Astals Cid2-2/+2
2012-12-08glib-demo: Update the demo to modify flags of annotationsJosé Aliste1-0/+65
https://bugs.freedesktop.org/show_bug.cgi?id=58015
2012-12-08glib: Add poppler_annot_set_flagsJosé Aliste2-0/+24
https://bugs.freedesktop.org/show_bug.cgi?id=58015
2012-12-02glib-demo: Do not use deprecated gtk_color_button_{get,set}_rgba()Hib Eris1-0/+16
Since Gtk 3.4, gtk_color_button_get_rgba() and gtk_color_button_set_rgba() have been deprecated. https://bugs.freedesktop.org/show_bug.cgi?id=57798
2012-12-01Fix compile warning on unused variable filename_gHib Eris1-1/+1
2012-11-28glib-demo: Fix warning on signednessHib Eris1-1/+1
Fixes: CC attachments.o ../../../poppler/glib/demo/attachments.c: In function ‘attachment_save_callback’: ../../../poppler/glib/demo/attachments.c:190:2: warning: pointer targets in passing argument 2 of ‘g_checksum_update’ differ in signedness [-Wpointer-sign] /usr/include/glib-2.0/glib/gchecksum.h:69:23: note: expected ‘const guchar *’ but argument is of type ‘const gchar *’ https://bugs.freedesktop.org/show_bug.cgi?id=57620
2012-11-28glib-demo: Fix set but unused warningHib Eris1-3/+6
Fixes: CC print.o ../../../poppler/glib/demo/print.c: In function ‘pgd_print_draw_page’: ../../../poppler/glib/demo/print.c:68:27: warning: variable ‘settings’ set but not used [-Wunused-but-set-variable] https://bugs.freedesktop.org/show_bug.cgi?id=57620
2012-11-28glib-demo: pgd_text_view_query_tooltip(): return a gbooleanHib Eris1-1/+3
https://bugs.freedesktop.org/show_bug.cgi?id=57620
2012-11-28glib-demo: Remove set but unused variable textinfoHib Eris1-2/+0
https://bugs.freedesktop.org/show_bug.cgi?id=57620
2012-11-28glib-demo: Fix warning "operation on 'page' may be undefined [-Wsequence-point]"Hib Eris1-1/+1
https://bugs.freedesktop.org/show_bug.cgi?id=57620
2012-11-28glib-demo: Remove unused variable slice_selectorHib Eris1-1/+1
https://bugs.freedesktop.org/show_bug.cgi?id=57620
2012-11-28glib-demo: Remove unused variable regionHib Eris1-1/+0
https://bugs.freedesktop.org/show_bug.cgi?id=57620
2012-11-28glib-demo: Do not use 'text' uninitializedHib Eris1-1/+1
https://bugs.freedesktop.org/show_bug.cgi?id=57620
2012-11-28glib-demo: Fix warning on unused variable selectionHib Eris1-1/+0
https://bugs.freedesktop.org/show_bug.cgi?id=57620
2012-11-28glib-demo: Fix warnings on unused variablesHib Eris1-3/+1
https://bugs.freedesktop.org/show_bug.cgi?id=57620
2012-11-26glib/cmake: Include Gio-2.0 for introspectionPino Toscano1-1/+1
Fixes g-ir-scanner warnings: poppler-document.cc:257: Warning: Poppler: poppler_document_new_from_stream: argument stream: Unresolved type: 'GInputStream*' poppler-document.cc:257: Warning: Poppler: poppler_document_new_from_stream: argument cancellable: Unresolved type: 'GCancellable*' poppler-document.cc:315: Warning: Poppler: poppler_document_new_from_gfile: argument file: Unresolved type: 'GFile*' poppler-document.cc:315: Warning: Poppler: poppler_document_new_from_gfile: argument cancellable: Unresolved type: 'GCancellable*' https://bugs.freedesktop.org/show_bug.cgi?id=56218 folloup of c84753e12029fcc6113f80dedc9a943ce1deb214
2012-11-26glib/cmake: Show all suppressed introspection scanner warningsPino Toscano1-1/+1
https://bugs.freedesktop.org/show_bug.cgi?id=56218 followup of 11a1f6f512a7d7b86defeb5963fa16bc08e3ba1c
2012-11-25glib: Fix returns tag in PopplerAttachmentSaveFunc api docCarlos Garcia Campos1-1/+1
2012-11-25glib: Add missing ":" at the end of some functions documentationJosé Aliste3-12/+12
New versions of gir-scanner emit a warning when the : at the end of the function documentation is not found. https://bugs.freedesktop.org/show_bug.cgi?id=56218
2012-11-25glib: Exclude poppler-input-stream.h from introspection filesHib Eris1-1/+1
Fixes warning: poppler-input-stream.h:28: Warning: Poppler: symbol='inputStreamBufSize': Unknown namespace for symbol 'inputStreamBufSize' https://bugs.freedesktop.org/show_bug.cgi?id=56218
2012-11-25glib: Include Gio-2.0 for introspectionHib Eris1-1/+1
Fixes g-ir-scanner warnings: poppler-document.cc:257: Warning: Poppler: poppler_document_new_from_stream: argument stream: Unresolved type: 'GInputStream*' poppler-document.cc:257: Warning: Poppler: poppler_document_new_from_stream: argument cancellable: Unresolved type: 'GCancellable*' poppler-document.cc:315: Warning: Poppler: poppler_document_new_from_gfile: argument file: Unresolved type: 'GFile*' poppler-document.cc:315: Warning: Poppler: poppler_document_new_from_gfile: argument cancellable: Unresolved type: 'GCancellable*' https://bugs.freedesktop.org/show_bug.cgi?id=56218
2012-11-25glib: Show all suppressed introspection scanner warningsHib Eris1-1/+1
https://bugs.freedesktop.org/show_bug.cgi?id=56218
2012-11-24Update fill and stroke color in CairoOutputDev::startPageJason Crain1-1/+1
Keep fill_color and stroke_color from falling out of sync with fill_pattern and stroke_pattern. https://bugs.freedesktop.org/show_bug.cgi?id=54526
2012-11-24glib: Ensure text is only computed on first renderJosé Aliste1-5/+4
Getting the text on a page could be quite slow on complex pages without structured text. Before this patch, poppler_page_render would reprocess the text each time is called.
2012-11-24glib: check if words end with spacesJason Crain1-27/+35
poppler_page_get_text_layout and poppler_page_get_text_attributes assume that each word ends with a space or newline, causing them to become mismatched from the text. This adds a check to TextWord::getSpaceAfter. https://bugs.freedesktop.org/show_bug.cgi?id=54504
2012-10-06glib: chain up finalize to the parent classCarlos Garcia Campos2-0/+8
This was missing in some of the classes. https://bugs.freedesktop.org/show_bug.cgi?id=55521
2012-09-21Increase sonamespoppler-0.21.0Albert Astals Cid2-2/+2
2012-09-11Allow multiple fonts in a TextWordJason Crain1-20/+29
Bug #6923
2012-08-15build: remove extra fontconfig CFLAGS and LIBSPino Toscano1-3/+1
fontconfig is used only in .cpp sources inside the 'poppler' subdirectory, so there is no need to add the include paths for it in other directories; likewise, do not to link to it if not needed
2012-06-02glib-demo: Add find options to find demoCarlos Garcia Campos1-1/+60
2012-06-02glib-demo: Show search matches in a document viewCarlos Garcia Campos1-35/+218
2012-06-02glib: Add poppler_page_find_text_with_optionsThomas Schenker4-13/+62
To be able to search text with options like case sensitive, search backwards and whole words only. https://bugs.freedesktop.org/show_bug.cgi?id=2951
2012-05-24glib docs: fix typoAdrian Johnson1-2/+2
2012-05-21Compile++Albert Astals Cid1-3/+3
2012-05-21CompileAlbert Astals Cid1-0/+2
2012-05-20glib-demo: Make text characters list fill and expand in text demoCarlos Garcia Campos1-1/+1
2012-05-20glib-demo: Add a button to remove annots from the annot viewCarlos Garcia Campos1-7/+41
2012-05-20glib: Add poppler_page_remove_annot()Carlos Garcia Campos3-0/+22
https://bugs.freedesktop.org/show_bug.cgi?id=40473
2012-05-20glib: Take a reference of the core annotation when creating a PopplerAnnotCarlos Garcia Campos1-31/+22
This way if the annotation is removed from the page, the core annotation object is not destroyed. Also, a new PopplerAnnot that is never added to a page doesn't leak the core annotation anymore.
2012-05-19glib-demo: Fix runtime warningCarlos Garcia Campos1-1/+1
2012-05-19gtk-tests: Port to GTK+ 3.0Carlos Garcia Campos19-489/+320
2012-05-13glib-demo: Use poppler_document_new_from_gfile to load the given uriCarlos Garcia Campos1-7/+2