summaryrefslogtreecommitdiffstats
path: root/src/io/resource.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add improvements to color handlingJabiertxof2019-07-081-1/+1
|
* Initial code to fixJabiertxof2019-07-081-1/+1
|
* Fix various minor typosYuri Chornoivan2019-07-011-1/+1
|
* Remove _argv0 from Inkscape::ApplicationPatrick Storz2019-06-071-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
* Remove unused INKSCAPE_APPICONDIR and INKSCAPE_BINDDIRPatrick Storz2019-03-311-1/+0
|
* Inkscape::IO::Resource: Drop "DATA_DIR" from Type enumPatrick Storz2019-03-301-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"
* Misc. typos and whitespace fixesluz.paz2019-03-211-1/+1
| | | Found via `codespell -q 3 -I ../inkscape-whitelist.txt -S *.svg,*.po,./src/3rdparty`
* Remove INKSCAPE_PORTABLE_PROFILE_DIRPatrick Storz2019-03-101-7/+1
| | | | | | | Please use the (functionally identical) INKSCAPE_PROFILE_DIR instead. See also https://gitlab.com/inkscape/inkscape/issues/114
* Adjust load order of get_filename() functionPatrick Storz2019-03-101-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
* Move logic to build localized filenames into io/ressource.cppPatrick Storz2019-02-171-20/+28
| | | | | Now all that's needed to prefer a localized version of the file (if available) is a Boolean.
* fix get_filename with locale!=NULLThomas Holder2018-12-231-2/+2
|
* Switch DATADIR to DATA_DIR to not conflict with #defineTed Gould2018-11-251-2/+2
|
* Clarify licensesMax Gaukler2018-11-081-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
* 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
* Working on iconsJabiertxo Arraiza Cenoz2018-07-271-1/+1
|
* Fixing paths to allow themes and icons inside main inkscape instalation not ↵Jabier Arraiza2018-07-261-1/+7
| | | | only at home
* Fix a win compiling bug and coding styleJabiertxo Arraiza Cenoz2018-07-251-3/+4
|
* Working on open folders on WINJabiertxo Arraiza Cenoz2018-07-251-2/+5
|
* Fixing coding styleJabier Arraiza2018-07-211-6/+7
|
* Working on themesJabier Arraiza2018-07-211-2/+67
|
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-8/+8
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin2018-05-041-3/+3
| | | | This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
* Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin2018-04-291-3/+3
|
* Misc. typosluzpaz2017-12-041-1/+1
| | | | | | Please confirm typos in the following `doc/nr-filter-interface.txt` `share/symbols/BalloonSymbols.svg` .
* 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 ```
* Define INKSCAPE_FONTSDIR and add USER/SYSTEM resource paths for fontsEduard Braun2017-10-201-0/+2
| | | | | (Note we always had an empty /share/fonts directory that didn't seem to have any purpose yet)
* Refactor Util::ptr_sharedJan Lingscheid2017-10-181-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.
* Expand io api for tav, resolve filename to local directoryMartin Owens2017-07-311-0/+26
|
* Replace deprecated SHGetSpecialFolderLocation with SHGetFolderLocationEduard Braun2017-07-081-2/+2
|
* Hackfest Regression: Fix profile_path() not returning the correct directoryEduard Braun2017-07-081-3/+8
| | | | Also drop some unnecessary defines from the pre-XP era
* Make path scanning recursive, add ustring get_filenames and clean upMartin Owens2017-07-051-16/+12
|
* Move directory scanners to new get_filenames(...) callsMartin Owens2017-07-021-3/+11
|
* Hackfest: Tidy and test for file exists in output.Martin Owens2017-07-011-3/+6
|
* Introduce get_filenames which scans paths for all filenames.Martin Owens2017-07-011-3/+61
|
* Add caching to io resources path constructionMartin Owens2017-06-291-1/+5
|
* Improved warning in io/resource.cppMartin Owens2017-06-291-1/+1
|
* Refactor profile directory use and promote IO::Resource get_path and ↵Martin Owens2017-06-281-9/+176
| | | | get_filename methods
* Use user interface files for the user interfaceMartin Owens2017-06-151-2/+34
|
* Convert accidental member accesses into static function accessesLiam P. White2014-06-261-1/+1
| | | (bzr r13341.5.7)
* 1. make it compileLiam P. White2014-06-251-1/+1
| | | (bzr r13341.5.1)
* Switch to top-level glib headers. Thanks to DimStar for patchAlex Valavanis2011-12-081-3/+0
| | | | | | Fixed bugs: - https://launchpad.net/bugs/898538 (bzr r10762)
* Fixing more broken and split doc comments.Jon A. Cruz2011-10-271-1/+1
| | | (bzr r10697)
* Super duper mega (fun!) commit: replaced encoding=utf-8 with ↵Chris Morgan2010-11-171-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)
* Remove last remnants of ancient plugin support. Tidy up acinclude.m4.Krzysztof Kosi??ski2009-02-131-2/+0
| | | (bzr r7278)
* glib/gtestutils.h is not available on gutsy, so switching to include ofBryce Harrington2008-01-051-1/+1
| | | | | | glib.h, which will include that file on hardy, but on gutsy will include gmessage.h. (bzr r4390)
* Fix missing include for g_assert() calls - causes FTBFS on Ubuntu HardyBryce Harrington2008-01-051-0/+1
| | | | | currently. (bzr r4389)
* Added CREATE v0.1 support for gradients/swatches/patternsJoshua L. Blocher2006-04-281-0/+10
| | | (bzr r601)
* Add variable to fix problems with autopackageAaron Spike2006-04-061-14/+15
| | | (bzr r449)
* introduce uniform resource path API to replace copy-and-pasted hacksMenTaLguY2006-04-061-0/+99
(bzr r436)