summaryrefslogtreecommitdiffstats
path: root/src/inkview.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite of inkview using InkApplication (Gtk::Application).Tavmjong Bah2018-11-041-187/+0
| | | | | | | | Use Gio::File for accessing files. Use Gio options to handle command line arguments. Use Gio::Action's. Use Gtk::Builder for control window. Only create SPDocument when requested for display and then cache it (should speed up start-up).
* Remove #include "config.h" wherever possibleEduard Braun2018-10-011-1/+1
|
* Use _WIN32 instead of WIN32Eduard Braun2018-10-011-2/+2
| | | | | | | | The former is guaranteed to be set for any compiler targeting win32, the latter is implementation dependent (but works for gcc) See also http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system
* Run clang-tidy’s modernize-use-emplace pass.Emmanuel Gil Peyrot2018-06-181-1/+1
| | | | | This reduces the boilerplate required to add a new element to a container.
* Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin2018-05-041-1/+1
| | | | This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
* Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin2018-04-291-1/+1
|
* inkview: Add a little documentationAlexander Valavanis2018-03-121-3/+21
|
* Inkview: Split options code outAlexander Valavanis2018-03-041-64/+1
|
* Misc. typosUnknown2017-11-071-2/+2
| | | | | | | | | | | | Found using `codespell -q 3 -w --skip="*.svg,*.po,*.ts,./share/tutorials,./src/libavoid,./packaging/win32/languages,./man,./src/2geom" -I ../inkscape-whitelist.txt` whereby whitelist file contained: ``` dum iff glight substract te upto ```
* Inkview: Print warning of no (valid) files are found in inputEduard Braun2017-05-141-1/+2
| | | (bzr r15696)
* Inkview: New option -r or --recursive which make Inkview search recursively ↵Eduard Braun2017-05-141-23/+37
| | | | | for SVG files in the specified directories (bzr r15695)
* Inkview: new option -f or --fullscreen to lauch Inkview in fullscreen modeEduard Braun2017-05-141-7/+15
| | | (bzr r15694)
* Inkview: Don't crash when unknow command line option is specifiedEduard Braun2017-05-141-1/+8
| | | (bzr r15690.1.15)
* Inkview: add option -s or --scale to set a factor by witch to scale the ↵Eduard Braun2017-05-141-12/+23
| | | | | | | | displayed image Fixed bugs: - https://launchpad.net/bugs/1550897 (bzr r15690.1.14)
* Inkview: Add additional information to help output and update option descriptionEduard Braun2017-05-141-4/+9
| | | (bzr r15690.1.13)
* Inkview: refactor InkviewOptionsGroup and other minor refactoringEduard Braun2017-05-141-28/+24
| | | (bzr r15690.1.12)
* Inkview: Finally implement the -t or --timer option after we dragged it ↵Eduard Braun2017-05-141-2/+1
| | | | | around for over 10 years without implementation (bzr r15690.1.10)
* Inkview: Some more refactoringEduard Braun2017-05-141-1/+0
| | | (bzr r15690.1.9)
* Inkview: Refactoring - move SPSlideShow to separate source fileEduard Braun2017-05-141-325/+5
| | | (bzr r15690.1.8)
* Inkview: Title was not updated when using controls in control window.Eduard Braun2017-05-131-1/+1
| | | (bzr r15690.1.7)
* Inkview: Show number of current slide and total number of slides in titleEduard Braun2017-05-131-1/+6
| | | (bzr r15690.1.6)
* Inkview: Print warning if a file failed to load.Eduard Braun2017-05-131-3/+3
| | | (bzr r15690.1.5)
* Inkview: Support folders as input.Eduard Braun2017-05-131-9/+24
| | | | | | | All .svg and .svgz files contained in the specified folder(s) will be opened. Note: Currently this is done non-recursively, but a command line option to make this recursive could be easily added in future (see "recursive" parameter of "get_valid_files()" function). (bzr r15690.1.4)
* Inkview: Put checking for valid files in separate functionEduard Braun2017-05-131-17/+24
| | | (bzr r15690.1.3)
* Inkview: Print error in correct encoding.Eduard Braun2017-05-131-7/+5
| | | (bzr r15690.1.2)
* Inkview: Fix loading files with non-ASCII characters in filenameEduard Braun2017-05-131-5/+4
| | | | | | Fixed bugs: - https://launchpad.net/bugs/488997 (bzr r15690.1.1)
* Fix build warningEduard Braun2017-05-121-1/+1
| | | (bzr r15690)
* Inkview: minor cleanupEduard Braun2017-05-121-9/+1
| | | (bzr r15687.1.3)
* Inkview: Fix encoding of console output on WindowsEduard Braun2017-05-121-1/+15
| | | | | | | To do this we have to "hack" g_print() as the glib people decided Windows consoles should be limited to 255 character code pages forevermore and g_print() converts all strings to the system's ANSI code page without exception. (see http://stackoverflow.com/q/43927373/2514664 for details) (bzr r15687.1.2)
* Inkview: Fix gettext localizationEduard Braun2017-05-121-6/+10
| | | (bzr r15687.1.1)
* Inkview: Fix localizationEduard Braun2017-05-071-15/+12
| | | (bzr r15675.1.5)
* Minor refactor: check setlocale() occurences and make sure we do not ↵Eduard Braun2017-05-071-5/+0
| | | | | | | | setlocale() without resetting it to the initial default) - inkview.cpp : This occurence in fact does *not* seem to be needed anymore (despite what the comment says) - main.cpp : The (commented out) occurence is unnecessary as it is called as part of gtk_init_check() (bzr r15674)
* Inkview: Make ctrlwin privateAlex Valavanis2016-08-251-20/+26
| | | (bzr r15077)
* Inkview: C++ifyAlex Valavanis2016-08-251-49/+54
| | | (bzr r15076)
* Inkview: Remove support for obsolete SVG JAR archivesAlex Valavanis2016-08-251-59/+0
| | | (bzr r15075)
* Inkview: C++ifyAlex Valavanis2016-08-231-64/+81
| | | (bzr r15073)
* Inkview: Use GOptionContextAlex Valavanis2016-08-231-54/+60
| | | (bzr r15072)
* inkview: Convert to ApplicationWindowAlex Valavanis2016-08-141-49/+45
| | | (bzr r15057)
* inkview: C++ifyAlex Valavanis2016-08-131-158/+115
| | | (bzr r15056)
* End GTK+ 2 support and remove GDL forkAlex Valavanis2016-08-041-15/+1
|\ | | | | (bzr r15038)
| * Finish removing GTK+ 2 fallbacksAlex Valavanis2016-07-281-15/+1
| | | | | | (bzr r15023.2.8)
* | Removed unused includes, decreased compilation time. Once againAdrian Boguszewski2016-08-031-3/+0
| | | | | | (bzr r15034)
* | Reverted changes to r15024 after many building problemsAdrian Boguszewski2016-07-281-0/+3
| | | | | | (bzr r15027)
* | Removed unused includes, decrease compilation timeAdrian Boguszewski2016-07-281-3/+0
|/ | | (bzr r15025)
* inkview: Fix cursor API deprecation #Hackfest2016Alex Valavanis2016-04-121-2/+3
| | | (bzr r14786)
* Inkview. Code consistency fixes.Nicolas Dufour2016-02-291-166/+162
| | | (bzr r14674)
* inkview: Drop use of obsolete getoptBryce Harrington2016-02-251-14/+15
| | | | | | | | This lets us drop getopt as a cmake requirement. Patch from rindolf, thanks! http://www.shlomifish.org/Files/files/code/inkscape-cmake-get-rid-of-getopt-check-2.diff (bzr r14668)
* Fix GTK+ fullscreen issueAlex Valavanis2015-12-271-4/+0
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1529521 (bzr r14555)
* fixes a few of jenkins warningsMarc Jeanmougin2015-05-081-1/+1
| | | (bzr r14126)
* Rename libgc/ => inkgc/ to reflect difference from Boehm GCLiam P. White2015-02-261-1/+1
| | | (bzr r13950)