summaryrefslogtreecommitdiffstats
path: root/src/inkview.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-11-04Rewrite of inkview using InkApplication (Gtk::Application).Tavmjong Bah1-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).
2018-10-01Remove #include "config.h" wherever possibleEduard Braun1-1/+1
2018-10-01Use _WIN32 instead of WIN32Eduard Braun1-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
2018-06-18Run clang-tidy’s modernize-use-emplace pass.Emmanuel Gil Peyrot1-1/+1
This reduces the boilerplate required to add a new element to a container.
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-1/+1
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-1/+1
2018-03-12inkview: Add a little documentationAlexander Valavanis1-3/+21
2018-03-04Inkview: Split options code outAlexander Valavanis1-64/+1
2017-11-07Misc. typosUnknown1-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 ```
2017-05-14Inkview: Print warning of no (valid) files are found in inputEduard Braun1-1/+2
(bzr r15696)
2017-05-14Inkview: New option -r or --recursive which make Inkview search recursively ↵Eduard Braun1-23/+37
for SVG files in the specified directories (bzr r15695)
2017-05-14Inkview: new option -f or --fullscreen to lauch Inkview in fullscreen modeEduard Braun1-7/+15
(bzr r15694)
2017-05-14Inkview: Don't crash when unknow command line option is specifiedEduard Braun1-1/+8
(bzr r15690.1.15)
2017-05-14Inkview: add option -s or --scale to set a factor by witch to scale the ↵Eduard Braun1-12/+23
displayed image Fixed bugs: - https://launchpad.net/bugs/1550897 (bzr r15690.1.14)
2017-05-14Inkview: Add additional information to help output and update option descriptionEduard Braun1-4/+9
(bzr r15690.1.13)
2017-05-14Inkview: refactor InkviewOptionsGroup and other minor refactoringEduard Braun1-28/+24
(bzr r15690.1.12)
2017-05-14Inkview: Finally implement the -t or --timer option after we dragged it ↵Eduard Braun1-2/+1
around for over 10 years without implementation (bzr r15690.1.10)
2017-05-14Inkview: Some more refactoringEduard Braun1-1/+0
(bzr r15690.1.9)
2017-05-14Inkview: Refactoring - move SPSlideShow to separate source fileEduard Braun1-325/+5
(bzr r15690.1.8)
2017-05-13Inkview: Title was not updated when using controls in control window.Eduard Braun1-1/+1
(bzr r15690.1.7)
2017-05-13Inkview: Show number of current slide and total number of slides in titleEduard Braun1-1/+6
(bzr r15690.1.6)
2017-05-13Inkview: Print warning if a file failed to load.Eduard Braun1-3/+3
(bzr r15690.1.5)
2017-05-13Inkview: Support folders as input.Eduard Braun1-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)
2017-05-13Inkview: Put checking for valid files in separate functionEduard Braun1-17/+24
(bzr r15690.1.3)
2017-05-13Inkview: Print error in correct encoding.Eduard Braun1-7/+5
(bzr r15690.1.2)
2017-05-13Inkview: Fix loading files with non-ASCII characters in filenameEduard Braun1-5/+4
Fixed bugs: - https://launchpad.net/bugs/488997 (bzr r15690.1.1)
2017-05-12Fix build warningEduard Braun1-1/+1
(bzr r15690)
2017-05-12Inkview: minor cleanupEduard Braun1-9/+1
(bzr r15687.1.3)
2017-05-12Inkview: Fix encoding of console output on WindowsEduard Braun1-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)
2017-05-12Inkview: Fix gettext localizationEduard Braun1-6/+10
(bzr r15687.1.1)
2017-05-07Inkview: Fix localizationEduard Braun1-15/+12
(bzr r15675.1.5)
2017-05-07Minor refactor: check setlocale() occurences and make sure we do not ↵Eduard Braun1-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)
2016-08-25Inkview: Make ctrlwin privateAlex Valavanis1-20/+26
(bzr r15077)
2016-08-25Inkview: C++ifyAlex Valavanis1-49/+54
(bzr r15076)
2016-08-25Inkview: Remove support for obsolete SVG JAR archivesAlex Valavanis1-59/+0
(bzr r15075)
2016-08-23Inkview: C++ifyAlex Valavanis1-64/+81
(bzr r15073)
2016-08-23Inkview: Use GOptionContextAlex Valavanis1-54/+60
(bzr r15072)
2016-08-14inkview: Convert to ApplicationWindowAlex Valavanis1-49/+45
(bzr r15057)
2016-08-13inkview: C++ifyAlex Valavanis1-158/+115
(bzr r15056)
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-3/+0
(bzr r15034)
2016-07-28Finish removing GTK+ 2 fallbacksAlex Valavanis1-15/+1
(bzr r15023.2.8)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-0/+3
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-3/+0
(bzr r15025)
2016-04-12inkview: Fix cursor API deprecation #Hackfest2016Alex Valavanis1-2/+3
(bzr r14786)
2016-02-29Inkview. Code consistency fixes.Nicolas Dufour1-166/+162
(bzr r14674)
2016-02-25inkview: Drop use of obsolete getoptBryce Harrington1-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)
2015-12-27Fix GTK+ fullscreen issueAlex Valavanis1-4/+0
Fixed bugs: - https://launchpad.net/bugs/1529521 (bzr r14555)
2015-05-08fixes a few of jenkins warningsMarc Jeanmougin1-1/+1
(bzr r14126)
2015-02-26Rename libgc/ => inkgc/ to reflect difference from Boehm GCLiam P. White1-1/+1
(bzr r13950)
2015-02-25Isolate components of libgcLiam P. White1-1/+1
(bzr r13946)