summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/wpg-input.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clarify licensesMax Gaukler2018-11-081-2/+3
| | | | | | - 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/+4
|
* Use _WIN32 instead of WIN32Eduard Braun2018-10-011-1/+1
| | | | | | | | 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-redundant-void-arg pass.Emmanuel Gil Peyrot2018-06-191-1/+1
|
* Run clang-tidy’s modernize-deprecated-headers pass.Emmanuel Gil Peyrot2018-06-181-1/+1
| | | | This renames most C <*.h> includes into C++ <c*> includes.
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-2/+2
| | | | | 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-4/+4
| | | | This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
* Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin2018-04-291-4/+4
|
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-1/+1
| | | | A lot of header clean-up.
* Misc. typosluz.paz2018-01-081-1/+1
| | | Found via `codespell`
* Fix a memory leak introduced in r15421 and r15501 respectivelyEduard Braun2017-02-111-2/+5
| | | (bzr r15505)
* Partially fix opening of librevenge based input formats (cdr/vsd/wpg) on ↵Eduard Braun2017-01-171-0/+7
| | | | | | | | | | | | | | | | | Windows if the filename contains non-ASCII characters The problem is that "RVNGFileStream" uses "fopen()" internally which only supports ANSI filenames on Windows (i.e. a complete fix would require upstream code changes). By using "g_win32_locale_filename_from_utf8()" the problem can be worked around in most cases, though: * the filename is converted to the current codepage (i.e. all 255 characters that are available in the current character encoding are allowed in the filename) * even if the filename contains a character that's not available in the current character encoding it's attempted to use the alternative short (8.3) file name instead Therefore the input operation will only fail in the unlikely case that the filename contains a character not available in the current ANSI code page while at the same time short file names are disabled on the file system (which is not the case in standard configurations). Fixed bugs: - https://launchpad.net/bugs/1656763 - https://launchpad.net/bugs/1656763 (bzr r15421)
* Change getDefaultUnit() to getDisplayUnit() to better reflect value returned ↵Tavmjong Bah2014-11-261-1/+1
| | | | | by function. (bzr r13774)
* librevenge: update to latest patch from bug #1323592 (support old and new ↵su_v2014-08-261-10/+40
| | | | | | | versions of libwpg, libcdr and libvisio ) (bzr r13398.1.7)
* Port inkscape to librevenge framework for WPG, CDR and VSD importsFridrich Strba2014-05-271-28/+13
| | | (bzr r13398.1.1)
* add some nullptr checking, should fix crash (couldn't test)Johan B. C. Engelen2013-10-271-1/+1
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1243011 (bzr r12733)
* fix bug "some of the locale-based templates cause objects to be resized when ↵Johan B. C. Engelen2013-10-241-1/+1
| | | | | | | | default units are changed" #1236257 Fixed bugs: - https://launchpad.net/bugs/1236257 (bzr r12717)
* Fix adding viewBox to new documents.Matthew Petroff2013-09-221-0/+8
| | | | | | | | Fixed bugs: - https://launchpad.net/bugs/1228660 - https://launchpad.net/bugs/1228693 - https://launchpad.net/bugs/1228852 (bzr r12575)
* cppcheck / fix issue in Dutch translationKris De Gussem2012-04-201-5/+2
| | | (bzr r11270)
* Header tidying, suppress all gdk deprecation errors in gtkmmAlex Valavanis2012-02-291-0/+1
| | | (bzr r11030)
* Warning cleanup.Jon A. Cruz2011-06-221-2/+2
| | | (bzr r10339)
* Update to win32 build defines for libwpg issue.Jon A. Cruz2011-06-111-0/+5
| | | (bzr r10269)
* Modified build to conditionally build against either libwpg 0.1.x or 0.2.x. ↵Jon A. Cruz2011-06-101-1/+16
| | | | | | | | Fixes bug #778951. Fixed bugs: - https://launchpad.net/bugs/778951 (bzr r10266)
* Merge and cleanup of GSoC C++-ification project.Jon A. Cruz2010-12-121-1/+2
|\ | | | | (bzr r9945.1.1)
| * C++fied SPDocument addedAbhishek Sharma Public2010-07-011-1/+1
| | | | | | (bzr r9546.1.2)
| * This is the first c++ification commit from me. It handles sp-line, ↵Abhishek Sharma Public2010-06-291-1/+1
|/ | | | | sp-polyline, sp-item and marks the onset of document c++ification as well. Users can check performace increase with [/usr/bin/time -v inkscape_binary_with_commandline_options]. (bzr r9546.1.1)
* Revert recent refactoring changes by johnce because they break the build, ↵Maximilian Albert2009-08-061-2/+2
| | | | | which cannot be fixed easily. (bzr r8422)
* SPDocument->Documentjohnce2009-08-051-2/+2
| | | (bzr r8408)
* r19076@shi: ted | 2008-04-21 15:42:45 -0700Ted Gould2008-04-211-1/+1
| | | | | | | | | Core of having a real namespace for Inkscape extensions. r19077@shi: ted | 2008-04-21 15:50:12 -0700 First layer of adding NS r19078@shi: ted | 2008-04-21 15:56:03 -0700 Whew, doing the rest of them. (bzr r5483)
* fix linkingJohan B. C. Engelen2007-12-211-0/+1
| | | (bzr r4272)
* compile depending on WITH_LIBWPGtheAdib2007-12-211-0/+4
| | | (bzr r4268)
* r16914@shi: ted | 2007-10-30 21:58:05 -0700Ted Gould2007-10-311-4/+4
| | | | | Switching everything over to a linked in libwpg (bzr r3992)
* r14551@tres: ted | 2007-02-24 15:22:47 -0800Ted Gould2007-02-251-255/+10
| | | | | | Merging in the latest libwpg and some code chages to make it work with everything. (bzr r2433)
* Cleaned up DOS line ends that had snuck in.Jon A. Cruz2007-02-191-365/+365
| | | (bzr r2399)
* r13127@tres: ted | 2006-07-30 22:18:42 -0700Ted Gould2006-07-311-0/+4
| | | | | Updates from the libwpg development CVS (bzr r1528)
* r13109@tres: ted | 2006-07-30 22:11:20 -0700Ted Gould2006-07-311-2/+17
| | | | | Making this all work with the Inkscape world view. (bzr r1526)
* r13108@tres: ted | 2006-07-30 12:27:51 -0700Ted Gould2006-07-311-32/+80
| | | | | Builds and links. Doesn't work, but builds and links. (bzr r1525)
* r13107@tres: ted | 2006-07-30 11:47:41 -0700Ted Gould2006-07-311-20/+20
| | | | | Getting the basic build stuff in. No we're building libwpg (bzr r1524)
* r13106@tres: ted | 2006-07-30 11:10:02 -0700Ted Gould2006-07-311-0/+298
Stealing some example code from the libwpg guys to make this alot easier. (bzr r1523)