summaryrefslogtreecommitdiff
path: root/lisp/svg.el
Commit message (Collapse)AuthorAge
* ; Add 2023 to copyright years.Eli Zaretskii2023-01-01
|
* ; Add 2022 to copyright years.Eli Zaretskii2022-01-01
|
* ; More minor docfixes found by checkdocStefan Kangas2021-09-14
|
* * lisp/svg.el: Fix typo in sample code; add minor optimizationStefan Monnier2021-04-24
| | | | | (svg--elliptical-arc-command, svg--moveto-command) (svg--lineto-command): Use `mapcan`.
* Update copyright year to 2021Paul Eggert2021-01-01
| | | | Run "TZ=UTC0 admin/update-copyright".
* Explicitly specify svg base_uri using `:base-uri' image propertyZajcev Evgeny2020-12-12
| | | | | | | | | * src/image.c (svg_load): Check `:base-uri' image property to explicitly set base_uri for images embedded into SVG (enum svg_keyword_index): (svg_format): Add :base-uri. * lisp/svg.el (svg-embed-base-uri-image): New function to embed images located relative to images `:base-uri'
* * lisp/svg.el: Bump package version to 1.1.Stefan Kangas2020-09-06
|
* Don't add repeated xlmns:xlink declarations in svg-createLars Ingebrigtsen2020-03-24
| | | | | | * lisp/svg.el (svg-create): Fix previous unconditional addition of the xmlns:xlink declaration -- callers may already add one, and having it twice is something most svg libraries doesn't like.
* Make svg images with links validZhu Zihao2020-03-20
| | | | | | | * lisp/svg.el (svg-create): Specify xlink namespace for svg images (bug#40010). Copyright-paperwork-exempt: yes
* Update copyright year to 2020Paul Eggert2020-01-01
| | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
* Revert "Revert "Add support for paths to svg.el""Lars Ingebrigtsen2019-07-31
| | | | | | | This reverts commit 0a2461be9edb218bf9ca56156d8966a2421f13a7. Copyright paperwork is now in place, so the patch mistakenly applied can now be re-applied.
* Revert "Add support for paths to svg.el"Lars Ingebrigtsen2019-07-16
| | | | | | This reverts commit d6bc55ae2dc98c83e58a28e380ce4bcf2ed00bb3. Paperwork not ready for Felix Klee; will reapply once that's in place.
* Add support for paths to svg.elFelix E. Klee2019-07-15
| | | | | | | | | | | | | | | | | | * doc/lispref/display.texi (SVG Images): Document svg-path, svg-clip-path and svg-node (bug#32359). * doc/lispref/display.texi (SVG Path Commands): New node. * lisp/svg.el (svg--plist-delete, svg--path-command-symbol) (svg--elliptical-arc-coordinates, svg--elliptical-arc-command) (svg--moveto-command, svg--closepath-command) (svg--lineto-command, svg--horizontal-lineto-command) (svg--vertical-lineto-command, svg--curveto-command) (svg--smooth-curveto-command) (svg--quadratic-bezier-curveto-command) (svg--smooth-quadratic-bezier-curveto-command) (svg--eval-path-command, svg-path, svg-clip-path, svg-node): New functions.
* * lisp/svg.el: Prepare for distribution via GNU ELPAStefan Monnier2019-06-24
| | | | | | | Add a Version: and Package-Requires:. Don't require subr-x. Bring Commentary: from the GNU ELPA version of the package. (svg-remove): Don't use when-let*.
* Merge from origin/emacs-26Glenn Morris2019-06-11
|\ | | | | | | | | 5ca093d (origin/emacs-26) Fix doc of 'display-buffer-in-previous-wind... add2cac lisp/*.el: Minor docstring fixes
| * lisp/*.el: Minor docstring fixesJuanma Barranquero2019-06-10
| | | | | | | | | | | | | | * lisp/subr.el (definition-prefixes): Reflow docstring. * lisp/svg.el (svg-create): Doc fix to allow arg higlighting. (svg-gradient, svg-rectangle): Improve docstring formatting.
* | Merge from origin/emacs-26Paul Eggert2018-12-31
|\| | | | | | | | | | | 2fcf2df Fix copyright years by hand 26bed8b Update copyright year to 2019 2814292 Fix value of default frame height. (Bug#33921)
| * Update copyright year to 2019Paul Eggert2019-01-01
| | | | | | | | Run 'TZ=UTC0 admin/update-copyright $(git ls-files)'.
* | Merge from origin/emacs-26Paul Eggert2018-01-01
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 63b04c11d5 Fix copyright years by hand 5c7dd8a783 Update copyright year to 2018 220a9ecba1 Merge from Gnulib 312c565566 Don't add empty keyboard macro to macro ring (Bug#24992) 39ca289a7a Allow customization of decoding of "man" command f8240815ea * etc/NEWS: Add security consideration note on passphrase ... 0c78822c70 Fix subtle problem with scroll-down when scroll-margin is ... acd289c5a4 Fix problems with indexing in User manual b240c7846b * lisp/help.el (describe-key): Only (copy-sequence elt) wh... e879a5444a * src/buffer.c (Frestore_buffer_modified_p): Fix bug#29846 81b1028b63 Improve documentation of 'inhibit-modification-hooks' and ... 7175496d7a Fix doc string of 'enable-recursive-minibuffers' 5b38406491 Fix documentation of delsel and of killing text # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex
| * Update copyright year to 2018Paul Eggert2018-01-01
| | | | | | | | Run admin/update-copyright.
* | Fix up svg text encodingLars Ingebrigtsen2017-10-26
| | | | | | | | | | | | * lisp/svg.el (svg--encode-text): The SVG driver doesn't like it if we use ' for apostrophe, so use our own encoding function instead of relying on the xml one.
* | * lisp/svg.el (svg--encode-text): Fix off-by-one error in previous patch.Lars Ingebrigtsen2017-10-19
| |
* | (svg--encode-text): Make strings even more validLars Ingebrigtsen2017-10-19
| | | | | | | | * lisp/svg.el (svg--encode-text): Quote &<>, too.
* | Encode non-ASCII SVG textsLars Ingebrigtsen2017-10-19
|/ | | | * lisp/svg.el (svg--encode-text): Encode non-ASCII texts.
* Prefer HTTPS to FTP and HTTP in documentationPaul Eggert2017-09-13
| | | | | | | | | | | | | Most of this change is to boilerplate commentary such as license URLs. This change was prompted by ftp://ftp.gnu.org's going-away party, planned for November. Change these FTP URLs to https://ftp.gnu.org instead. Make similar changes for URLs to other organizations moving away from FTP. Also, change HTTP to HTTPS for URLs to gnu.org and fsf.org when this works, as this will further help defend against man-in-the-middle attacks (for this part I omitted the MS-DOS and MS-Windows sources and the test tarballs to keep the workload down). HTTPS is not fully working to lists.gnu.org so I left those URLs alone for now.
* Update uses of if-let and when-letMark Oteiza2017-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | * lisp/dom.el (dom-previous-sibling): * lisp/emacs-lisp/package.el (package--with-work-buffer): (package--sort-deps-in-alist, package--sort-by-dependence): (package-install-from-archive, package-install): (package-menu-execute, package-menu--populate-new-package-list): * lisp/filenotify.el (file-notify--rm-descriptor): (file-notify--event-watched-file, file-notify--event-file-name): (file-notify--event-file1-name, file-notify-rm-watch): (file-notify-valid-p): * lisp/gnus/message.el (message-toggle-image-thumbnails): * lisp/gnus/nnimap.el (nnimap-request-move-article): * lisp/ibuf-ext.el (ibuffer-repair-saved-filters): * lisp/mpc.el (mpc-format): * lisp/net/eww.el (eww-tag-meta, eww-process-text-input): (eww-save-history): * lisp/net/shr.el (shr-tag-base, shr-tag-object, shr-make-table-1): * lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook): * lisp/svg.el (svg-remove): * lisp/textmodes/css-mode.el (css--named-color): (css--colon-inside-funcall): * lisp/textmodes/sgml-mode.el (html-current-buffer-classes): (html-current-buffer-ids): Use if-let* and when-let* instead.
* * lisp/svg.el (svg-line): Fix x/y typo. (Bug#26953)Ari Roponen2017-05-20
|
* Allow svg-image to take all create-image PROPSLars Ingebrigtsen2017-04-21
| | | | | * lisp/svg.el (svg-image): Allow passing in PROPS when creating an image for convenience.
* Avoid unnecessary loading of subr-x at run-timeGlenn Morris2017-04-18
| | | | | | | | | | * lisp/doc-view.el, lisp/filenotify.el, lisp/info-look.el: * lisp/svg.el, lisp/emacs-lisp/byte-opt.el, lisp/net/shr.el: * lisp/textmodes/sgml-mode.el, test/lisp/dom-tests.el: No need to load subr-x at run-time. * lisp/gnus/nnheader.el: No need to load subr-x. ; * lisp/emacs-lisp/subr-x.el, lisp/gnus/message.el, lisp/net/nsm.el: ; Comments.
* Update copyright year to 2017 in masterPaul Eggert2017-01-01
| | | | | | Run admin/update-copyright in the master branch. This fixes files that were not already fixed in the emacs-25 branch before it was merged here.
* New functions svg-text and svg-removeLars Magne Ingebrigtsen2016-06-27
| | | | | | | | | * doc/lispref/display.texi (SVG Images): Document svg-remove. * doc/lispref/display.texi (SVG Images): Document svg-text. * lisp/svg.el (svg-remove): New function. (svg-text): New function.
* Add a new function `svg-embed'Lars Magne Ingebrigtsen2016-06-27
| | | | | | | * doc/lispref/display.texi (SVG Images): Document `svg-embed'. * lisp/svg.el (svg-embed): New function. (svg--image-data): Ditto.
* * lisp/svg.el (svg-create): Fix a typo: xmlsn -> xmlns. (Bug#23589)Puneeth Chaganti2016-05-21
|
* Spelling fixesPaul Eggert2016-04-03
|
* Add a library for creating and manipulating SVG imagesLars Ingebrigtsen2016-02-19
* doc/lispref/display.texi (SVG Images): New section. * lisp/svg.el: New file.