summaryrefslogtreecommitdiffstats
path: root/src/style.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge in patch for Jabiertxo Arraiza Cenoz in bug lp:1127103Martin Owens2013-09-181-1/+4
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1127103 (bzr r12530)
* merge from trunk (r12487)su_v2013-08-291-19/+92
|\ | | | | (bzr r11668.1.75)
| * Merge Google Summer of Code unit refactor.Matthew Petroff2013-08-061-16/+16
| |\ | | | | | | (bzr r12471)
| | * Eliminate "unit-constants.h".Matthew Petroff2013-07-311-16/+16
| | | | | | | | | (bzr r12380.1.54)
| * | init SPStyle better: fixes a bunch of bugs resulting from improper re-init ↵Johan B. C. Engelen2013-08-061-5/+71
| | | | | | | | | | | | | | | of SPStyle struct. (after r12452) (bzr r12470)
| * | disable really bad memset on a huge struct that contains member objects ↵Johan B. C. Engelen2013-08-031-2/+8
| |/ | | | | | | | | besides just integers and enums (bzr r12452)
* / changes_2013_05_22a.patch:David Mathog2013-06-191-86/+294
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Resolves issue of bug #988601 message 170 (Support of 'Unset' styles in EMF export). 2. Implements CSS 3 (and CSS 2) text-decoration support. Note that it does not yet provide any method of adding these features - at present it just shows whatever is in the SVG. This new code is also used to display EMF/WMF strike-through and underline text decorations when these files are read in. Those decorations may also be written out to EMF/WMF. Other text decoration features, like overline, or dotted lines, are dropped. For SVG text-decoration -line, -style, -color are all implemented. CSS3 provides two ways to represent the same state, this code uses the compound text-decoration method rather than the 3 fields method. Also it leaves out keywords that are not needed and would break backwards compatibility. For instance: text-decoration: underline solid is valid, but would break CSS2. Solid is the default, so that sort of case is written as: text-decoration: underline If the state is CSS3 specific all of the needed fields are of course include, like text-decoration: underline wavy red 3. It incorporates the fix for bug 1181326 (Text edit mishandles span of just colored spaces) 4. It incorporates further changes to text editing so that style can be changed on spans consisting of only spaces when text decorations are present in the span. 5. It incorporates code to disable text decorations when text so marked is mapped onto a path. 6. Fixed more bugs in Hebrew language support than I can remember. Hebrew language export/import to EMF now works quite well. (See the examples in libTERE v 0.7.) WMF does not support unicode and for all intents and purposes Inkscape has no way to read or write Hebrew to it. Some of more important things that now work that didn't (or didn't always): Hebrew diacritical marks, R/L/center justification, and bidirectional text. The Hebrew fonts "Ezra SIL" and "EZRA SIL SR" should be installed before viewing the libTERE examples, otherwise font substitutions will cause some text shifts. 7. Implemented font failover in Text Reassemble, which makes the process more robust. (Again, see the examples in libTERE. ) (bzr r11668.1.71)
* define booleans as booleans (prevent future errors in comparisons)Kris De Gussem2013-04-221-1/+1
| | | (bzr r12297)
* Implement read/write of image-rendering property. To be used to control scaling.Tavmjong Bah2013-04-081-29/+69
| | | (bzr r12272)
* Fix even more forward declaration tagsAlex Valavanis2013-03-151-1/+1
| | | (bzr r12206)
* Bug fix for color-interpolation, color-interpolation-filters. Get rid of ↵Tavmjong Bah2012-12-221-6/+2
| | | | | annoying warning. (bzr r11970)
* code cleanup: add own includes to cpp files or make the functions static if ↵Campbell Barton2012-10-041-3/+3
| | | | | they are not used elsewhere. (bzr r11735)
* some memleak fixes (Bug #1043571)Kris De Gussem2012-09-201-7/+5
| | | (bzr r11686)
* Static code checking (Bug #614232)Kris De Gussem2012-09-131-3/+4
| | | (bzr r11668)
* Fix for 168164 : Default text output to pxJohn Smith2012-08-251-1/+1
| | | (bzr r11621)
* Fix for 168164 : Font size, always output px optionJohn Smith2012-08-211-2/+18
| | | (bzr r11616)
* Fix for 168164 : Font sizes in points optionJohn Smith2012-08-161-4/+57
| | | (bzr r11608)
* Change default font to a CSS valid default font (Sans -> sans-serif).Tavmjong Bah2012-05-211-3/+3
| | | (bzr r11393)
* Adding checks to prevent null pointer dereferencesKris De Gussem2012-05-041-31/+60
| | | (bzr r11325)
* cppcheck: null pointer dereference fixKris De Gussem2012-02-211-1/+1
| | | (bzr r11007)
* fix crash on non-finite stroke widthsJohan B. C. Engelen2012-02-191-0/+5
| | | | | | Fixed bugs: - https://launchpad.net/bugs/935157 (bzr r10995)
* Janitorial tasks: get rid of deprecated repr wrapper functionsKris De Gussem2012-01-031-2/+2
| | | (bzr r10830)
* Another minor pass of Doxygen cleanup.Jon A. Cruz2011-10-031-2/+3
| | | (bzr r10659)
* Add minimal support for reading color-interpolation and ↵Tavmjong Bah2011-08-291-4/+43
| | | | | | | | | | | | | | color-interpolation-filters properties (however, Inkscape assumes sRGB everywhere at the moment). Change color-interpolation-filters from attribute to style property in sp-filter.cpp as it is not allowed as an attribute in a <filter> (it is only allowed as an attribute in filter primitives). Added color-interpolation-filters:sRGB to style when new filter is created in filter-chemistry.cpp. (bzr r10591)
* Merge from trunk to pull in fix for LP #806105Krzysztof Kosi??ski2011-07-131-58/+207
|\ | | | | (bzr r10347.1.13)
| * Properly handle CSS font shorthand property. Work done with Abhishek Sharma ↵Tavmjong Bah2011-07-131-11/+143
| | | | | | | | | | for GSOC. (bzr r10448)
| * Allow em and ex as units on font-size.Tavmjong Bah2011-07-101-58/+75
| | | | | | (bzr r10437.1.1)
* | Implement handling of the clip-rule property. Partially based onKrzysztof Kosi??ski2011-07-101-2/+28
| | | | | | | | | | | | | | | | a patch by Andrew Lutomirski. Fixed bugs: - https://launchpad.net/bugs/171243 (bzr r10347.1.8)
* | Update 2Geom to pull in integer rectangle classKrzysztof Kosi??ski2011-06-231-1/+0
|/ | | (bzr r10347.1.1)
* Finished cleanup of outated SP_OBJECT_DOCUMENT C macro.Jon A. Cruz2011-02-211-25/+31
| | | (bzr r10060)
* Merge and cleanup of GSoC C++-ification project.Jon A. Cruz2010-12-121-3/+10
|\ | | | | (bzr r9945.1.1)
| * C++ification of SPObject continued along with the onset of XML ↵Abhishek Sharma Public2010-07-061-3/+9
| | | | | | | | | | Privatisation. Users may checkout [grep -Ir XML Tree *] in the source code and all the places where the XML node/Tree is being used shall be reflected. (bzr r9546.1.5)
* | 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)
* | Correct behavior of gradient stops to extract color from swatch when color ↵Jon A. Cruz2010-07-181-30/+37
| | | | | | | | | | is drag-n-drop'ed or selected. (bzr r9620)
* | Revert device-color for now.Jon A. Cruz2010-07-071-12/+0
|/ | | | | "commit the awesomesauce" (bzr r9587)
* "Fix" for bug #583593 (Default tool styles are not loaded for new users).Tavmjong Bah2010-06-071-4/+4
| | | | | | (Call sp_desktop_set_style() with write_current = false.) Tweak superscript/subscript shifts/sizes. (bzr r9489)
* Compute baseline-shift relative to parent baseline-shift.Tavmjong Bah2010-06-061-0/+2
| | | (bzr r9487)
* Adding a character to a superscript or subscript no longer resetsTavmjong Bah2010-06-051-24/+14
| | | | | baseline-shift. (bzr r9481)
* Add support for baseline-shift attribute (all possible values).Tavmjong Bah2010-06-041-5/+198
| | | | | | | | Add superscript and subscript support to Text toolbar. Missing icons for superscript and subscript. Known bug: adding a character to a superscript or subscript text string resets baseline-shift attribute. (bzr r9475)
* Changed default font from Bitstream Vera Sans to Sans. NotTavmjong Bah2010-04-141-3/+3
| | | | | | everyone has Bitstream Vera Sans and having a non-existant default font can cause problems. (bzr r9328)
* inherit value as well as computed for linespacing and other spacing ↵buliabyak2010-03-271-0/+3
| | | | | properties; fixes the linespacing display in text and font dialog (bzr r9243)
* Cleanup on id access.Jon A. Cruz2010-03-021-18/+18
| | | (bzr r9127)
* * infrastructure to store device colors as described in ↵Felipe Corr??a da Silva Sanches2009-12-061-0/+12
| | | | | | | http://www.w3.org/TR/2009/WD-SVGColor12-20091001/#device * related to https://bugs.launchpad.net/inkscape/+bug/444021 (bzr r8871)
* fix 272408 and address fixmes: fix inheriting of dasharray and dashoffset, ↵bulia byak2009-08-221-16/+29
| | | | | make them correctly handle inherit values; test case for the bug is added to the testsuite (bzr r8519)
* Revert recent refactoring changes by johnce because they break the build, ↵Maximilian Albert2009-08-061-13/+13
| | | | | which cannot be fixed easily. (bzr r8422)
* SPDocument->Documentjohnce2009-08-051-13/+13
| | | (bzr r8404)
* workaround for 'clip-path' and 'mask' given as style properties (bug #324849)Thomas Holder2009-04-301-2/+13
| | | (bzr r7798)
* fix crash when ungrouping a group with set-then-unset filterbulia byak2009-01-011-1/+1
| | | (bzr r7050)
* allow sp_style_set_property_url to unset the property as well, if the linked ↵bulia byak2008-11-291-6/+8
| | | | | object is NULL (bzr r6917)
* From trunkTed Gould2008-10-271-8/+28
| | | (bzr r6885)