summaryrefslogtreecommitdiffstats
path: root/src/io/resource.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-14Fix a warning issue on theme changeJabier Arraiza1-0/+2
2019-08-19Add paint server dialog. Currently handles patterns and hatches. GSOC 2019.Valentin Ionita1-8/+5
2019-07-08add improvements to color handlingJabiertxof1-1/+1
2019-07-08Initial code to fixJabiertxof1-1/+1
2019-07-01Fix various minor typosYuri Chornoivan1-1/+1
2019-06-07Remove _argv0 from Inkscape::ApplicationPatrick Storz1-4/+0
Currently it was only used as the least preferred (and therefore effectively unused) location where to store the crash backup. However it wasn't set properly since 408cb49b5559a81ea803df64bf58457a5dd4bf16 causing assertion errors while crashing. On top of that argv0 is not a reliable way to determine the path to the currently running executable anyway. Fixes https://gitlab.com/inkscape/inkscape/issues/176
2019-03-31Remove unused INKSCAPE_APPICONDIR and INKSCAPE_BINDDIRPatrick Storz1-1/+0
2019-03-30Inkscape::IO::Resource: Drop "DATA_DIR" from Type enumPatrick Storz1-4/+0
It seems unlikely we ever want to load "arbitrary" data from share/, usually there will be a more suitable "Type" to look for. Also it avoids ambiguity, as there is no user-specific "DATA_DIR"
2019-03-21Misc. typos and whitespace fixesluz.paz1-1/+1
Found via `codespell -q 3 -I ../inkscape-whitelist.txt -S *.svg,*.po,./src/3rdparty`
2019-03-10Remove INKSCAPE_PORTABLE_PROFILE_DIRPatrick Storz1-7/+1
Please use the (functionally identical) INKSCAPE_PROFILE_DIR instead. See also https://gitlab.com/inkscape/inkscape/issues/114
2019-03-10Adjust load order of get_filename() functionPatrick Storz1-27/+35
It now always prefers - files in the users profile over files in the share/inkscape folder - localized files over unlocalized files (per folder) In conclusion: USER (localized) > USER > SYSTEM (localized) > SYSTEM This always allows users to override files shipped with Inkscape by putting a respective file in their profile directory. First part of a fix for https://gitlab.com/inkscape/inkscape/issues/103 Avoids regressing https://bugs.launchpad.net/inkscape/+bug/503712
2019-02-17Move logic to build localized filenames into io/ressource.cppPatrick Storz1-20/+28
Now all that's needed to prefer a localized version of the file (if available) is a Boolean.
2018-12-23fix get_filename with locale!=NULLThomas Holder1-2/+2
2018-11-25Switch DATADIR to DATA_DIR to not conflict with #defineTed Gould1-2/+2
2018-11-08Clarify licensesMax Gaukler1-11/+5
- add license headers to everything - convert a few files from public domain or LGPL2.1+ to GPL2+ - some archaeology to clarify which files are from which library
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-07-27Working on iconsJabiertxo Arraiza Cenoz1-1/+1
2018-07-26Fixing paths to allow themes and icons inside main inkscape instalation not ↵Jabier Arraiza1-1/+7
only at home
2018-07-25Fix a win compiling bug and coding styleJabiertxo Arraiza Cenoz1-3/+4
2018-07-25Working on open folders on WINJabiertxo Arraiza Cenoz1-2/+5
2018-07-21Fixing coding styleJabier Arraiza1-6/+7
2018-07-21Working on themesJabier Arraiza1-2/+67
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-8/+8
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-3/+3
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-3/+3
2017-12-04Misc. typosluzpaz1-1/+1
Please confirm typos in the following `doc/nr-filter-interface.txt` `share/symbols/BalloonSymbols.svg` .
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-10-20Define INKSCAPE_FONTSDIR and add USER/SYSTEM resource paths for fontsEduard Braun1-0/+2
(Note we always had an empty /share/fonts directory that didn't seem to have any purpose yet)
2017-10-18Refactor Util::ptr_sharedJan Lingscheid1-2/+2
Util::ptr_shared<T> was only used in its <char> specialization, so it is now refactored into a non-template class. Using it with arbitary classes was dangerous anyway.
2017-07-31Expand io api for tav, resolve filename to local directoryMartin Owens1-0/+26
2017-07-08Replace deprecated SHGetSpecialFolderLocation with SHGetFolderLocationEduard Braun1-2/+2
2017-07-08Hackfest Regression: Fix profile_path() not returning the correct directoryEduard Braun1-3/+8
Also drop some unnecessary defines from the pre-XP era
2017-07-05Make path scanning recursive, add ustring get_filenames and clean upMartin Owens1-16/+12
2017-07-02Move directory scanners to new get_filenames(...) callsMartin Owens1-3/+11
2017-07-01Hackfest: Tidy and test for file exists in output.Martin Owens1-3/+6
2017-07-01Introduce get_filenames which scans paths for all filenames.Martin Owens1-3/+61
2017-06-29Add caching to io resources path constructionMartin Owens1-1/+5
2017-06-29Improved warning in io/resource.cppMartin Owens1-1/+1
2017-06-28Refactor profile directory use and promote IO::Resource get_path and ↵Martin Owens1-9/+176
get_filename methods
2017-06-16Use user interface files for the user interfaceMartin Owens1-2/+34
2017-06-15Use user interface files for the user interfaceMartin Owens1-2/+34
2014-06-26Convert accidental member accesses into static function accessesLiam P. White1-1/+1
(bzr r13341.5.7)
2014-06-251. make it compileLiam P. White1-1/+1
(bzr r13341.5.1)
2011-12-08Switch to top-level glib headers. Thanks to DimStar for patchAlex Valavanis1-3/+0
Fixed bugs: - https://launchpad.net/bugs/898538 (bzr r10762)
2011-10-27Fixing more broken and split doc comments.Jon A. Cruz1-1/+1
(bzr r10697)
2010-11-17Super duper mega (fun!) commit: replaced encoding=utf-8 with ↵Chris Morgan1-1/+1
fileencoding=utf-8 in all 1074 Vim modelines. The reason for this is that (a) setting the encoding isn't nice, and (b) Vim 7.3 (with modeline enabled) disallows it and pops up an error whenever you open any file with it ("invalid modeline"). Also corrected five deviant modestrings: * src/ui/widget/dock.cpp and src/ui/widget/dock.h: missing colon at the end * src/ui/dialog/tile.cpp: removed gratuitous second colon at the end * src/helper/units-test.h: removed gratuitous space before a colon * share/extensions/export_gimp_palette.py: missing textwidth=99 That's my geekiest commit yet. (bzr r9900)
2009-02-13Remove last remnants of ancient plugin support. Tidy up acinclude.m4.Krzysztof Kosi??ski1-2/+0
(bzr r7278)
2008-01-05glib/gtestutils.h is not available on gutsy, so switching to include ofBryce Harrington1-1/+1
glib.h, which will include that file on hardy, but on gutsy will include gmessage.h. (bzr r4390)
2008-01-05Fix missing include for g_assert() calls - causes FTBFS on Ubuntu HardyBryce Harrington1-0/+1
currently. (bzr r4389)