commit 1c420d7961befc69a558184cea399d7f4fc8ee8d Author: Federico Mena Quintero Date: Wed Oct 7 12:44:07 2015 -0500 Update NEWS for 2.40.11 NEWS | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 655d8b06ed8129ca2673c1406a1358771d2b24c9 Author: Federico Mena Quintero Date: Wed Oct 7 11:47:34 2015 -0500 rsvg-filter: Use g_new() instead of g_malloc() rsvg-filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2729084d11d52294b2fab04f275e6009de7af3e9 Author: Chun-wei Fan Date: Fri Sep 25 23:54:03 2015 +0800 MSVC Builds: Use DOS/Windows Line Endings for .sln This is required for the .sln files to be detected correctly by Windows. build/win32/vs10/librsvg.sln | 132 +++++++++++++++++------------------ build/win32/vs9/librsvg.sln | 162 +++++++++++++++++++++---------------------- 2 files changed, 147 insertions(+), 147 deletions(-) commit fa3ff32811383770c4f55f7d0bb2844b2383c35f Author: Chun-wei Fan Date: Wed Aug 12 21:48:45 2015 +0800 Build: Add MSVC Project Files Allow librsvg to be built directly with Visual Studio via the use of project files, like what is done now for GTK+ etc. Note that the projects for the main librsvg DLL and rsvg-convert, as well as the property sheets to copy the build results and headers are generated from templates, which is done during 'make dist', to ease future maintenance, which is done via the common autotools module. The other common autotools module is then used to create the 2012/2013/ 2015 projects from the 2010 projects, as they are largely similar in format. https://bugzilla.gnome.org/show_bug.cgi?id=753555 Makefile.am | 27 ++- build/Makefile.am | 1 + build/win32/Makefile.am | 6 + build/win32/vs10/Makefile.am | 32 +++ build/win32/vs10/README.txt | 74 +++++++ build/win32/vs10/libpixbufloader-svg.vcxproj | 179 +++++++++++++++++ .../win32/vs10/libpixbufloader-svg.vcxproj.filters | 20 ++ build/win32/vs10/librsvg.sln | 66 +++++++ build/win32/vs10/rsvg-build-defines.props | 53 +++++ build/win32/vs10/rsvg-convert.vcxproj.filtersin | 20 ++ build/win32/vs10/rsvg-convert.vcxprojin | 174 ++++++++++++++++ build/win32/vs10/rsvg-gen-srcs.props | 25 +++ build/win32/vs10/rsvg-install.propsin | 38 ++++ build/win32/vs10/rsvg-install.vcxproj | 113 +++++++++++ build/win32/vs10/rsvg-version-paths.props | 57 ++++++ build/win32/vs10/rsvg-view-3.vcxproj | 177 +++++++++++++++++ build/win32/vs10/rsvg-view-3.vcxproj.filters | 20 ++ build/win32/vs10/rsvg.vcxproj.filtersin | 24 +++ build/win32/vs10/rsvg.vcxprojin | 219 +++++++++++++++++++++ build/win32/vs11/Makefile.am | 24 +++ build/win32/vs12/Makefile.am | 24 +++ build/win32/vs14/Makefile.am | 24 +++ build/win32/vs9/Makefile.am | 26 +++ build/win32/vs9/README.txt | 74 +++++++ build/win32/vs9/libpixbufloader-svg.vcproj | 170 ++++++++++++++++ build/win32/vs9/librsvg.sln | 81 ++++++++ build/win32/vs9/rsvg-build-defines.vsprops | 50 +++++ build/win32/vs9/rsvg-convert.vcprojin | 167 ++++++++++++++++ build/win32/vs9/rsvg-gen-srcs.vsprops | 19 ++ build/win32/vs9/rsvg-install.vcproj | 74 +++++++ build/win32/vs9/rsvg-install.vspropsin | 32 +++ build/win32/vs9/rsvg-version-paths.vsprops | 53 +++++ build/win32/vs9/rsvg-view-3.vcproj | 170 ++++++++++++++++ build/win32/vs9/rsvg.vcprojin | 198 +++++++++++++++++++ configure.ac | 7 + 35 files changed, 2517 insertions(+), 1 deletion(-) commit 01b4398abc27003aa4ba35e99344d6f14b3a954c Author: Chun-wei Fan Date: Fri Sep 25 16:45:32 2015 +0800 Build: Common Autotools Module for MSVC 2012/2013/2015 This adds a common autotools module that will create the MSVC 2012/2013/ 2015 projects from the 2010 ones, as the project file formats are largely similar. This is run during 'make dist', which will copy the files and change the items in there as necessary. https://bugzilla.gnome.org/show_bug.cgi?id=753555 build/Makefile-newvs.am | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) commit e00205c2f4395496c0eb2089f863b0f0fd091e1e Author: Chun-wei Fan Date: Fri Sep 25 16:41:14 2015 +0800 Add Common Autotools Module for MSVC Projects This adds a common autotools module that can be used by various projects to generate the Visual Studio projects as needed, and if necessary, generate the headers listings to "install" for that project, based on items passed in to this. This is modelled on the Makefile.introspection autotools file that is used by many GNOME projects to generate the introspection files. https://bugzilla.gnome.org/show_bug.cgi?id=753555 build/Makefile.msvcproj | 107 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) commit b9e55dedc78712e3cd25ba1258c338b269baaee1 Author: Chun-wei Fan Date: Wed Aug 12 21:55:38 2015 +0800 Build: Add rsvg.symbols File to Export Public Symbols This adds a rsvg.symbols file that can be preprocessed to create the .def file for exporting the symbols (functions) from the librsvg DLL. I do understand that there is a maintenance overhead with this, and this is the former way that symbol exporting was done in GLib and GTK+, but this is done as we are now in a stable release series, where we can use a __declspec(dllexport) (a.k.a visibility-based export mechanism) if we want in the next dev cycle. https://bugzilla.gnome.org/show_bug.cgi?id=753555 Makefile.am | 3 ++- rsvg.symbols | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 1 deletion(-) commit 8c90a816821061643260adeb9533e41046dc7555 Author: Chun-wei Fan Date: Wed Aug 12 18:36:47 2015 +0800 Windows Builds: Add a Pre-Configured config.h Template This adds a config.h.win32.in template that is processed during autogen/ configure, in which the processed config.h.win32 can be later dist'ed so that Visual Studio project files can make use of this for building librsvg, since Visual Studio builds by themselves do not use autotools. Also add in the autotools build files so that this is processed, and this and the processed config.h.win32 is dist'ed. https://bugzilla.gnome.org/show_bug.cgi?id=753555 Makefile.am | 4 ++- config.h.win32.in | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 1 + 3 files changed, 98 insertions(+), 1 deletion(-) commit 885938629be08e21b6ce3b3fbdf45a288cc6c21f Author: Chun-wei Fan Date: Wed Aug 12 18:07:21 2015 +0800 librsvg-features.h.in: Fix Public Variable Declaration ... on Windows, as public variables need to be decorated for export and import so that they can be linked to and referred to properly, when building librsvg as a DLL. This is the same thing that is done in GLib. https://bugzilla.gnome.org/show_bug.cgi?id=753555 librsvg-features.h.in | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) commit 741b8d9e41520e0d6717ace0a36c4ca4a768b97b Author: Chun-wei Fan Date: Wed Aug 12 18:04:36 2015 +0800 rsvg-filter.c: Avoid VLA Usage In order to support building under Visual Studio and other C89 compilers, we need to avoid using VLAs, especially that VLAs are: -Most probably not going to be supported under any Visual Studio -It is now optional under C11, and there are concerns regarding its implementations in other C99-capable compilers. https://bugzilla.gnome.org/show_bug.cgi?id=753555 rsvg-filter.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 9957956c423d2eeac6b3300cb0fc223a34e70f12 Author: Federico Mena Quintero Date: Tue Aug 11 07:42:22 2015 -0500 rsvg-cairo-draw: Take 'invisible' objects into account for bounding boxes Bounding boxes were computed only for objects that have a fill or a stroke. However, for symbolic icons (e.g. adwaita-icon-theme/src/symbolic/gnome-stencils.svg) we can have fill-less and stroke-less rectangles that are just used to center the actual icons on the area they are allocated. In that case we need to compute the full bounding box for the allocated area, i.e. the fill-less/stroke-less rectangles. This should not affect 'normal' SVGs where all objects have a fill or a stroke. rsvg-cairo-draw.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) commit fecfcce44a959daff80a4e0f9ced83d7cdcb5903 Author: Federico Mena Quintero Date: Mon Aug 10 04:04:01 2015 -0500 bgo#520654 - Support --export-id in rsvg-convert(1) This option lets you pass an SVG object ID to render, instead of the default, which is to render everything in the SVG. The --export-id and -i options intentionally have the same name as in Inkscape. In addition, this get rid of a deprecated call to rsvg_handle_set_size_callback() rsvg-cairo-render.c | 4 ++-- rsvg-convert.c | 64 ++++++++++++++++++++++++++++++++++++++++------------- 2 files changed, 51 insertions(+), 17 deletions(-) commit 424c87ac2ee4cd0417ed89a1a95d7cc79b2f6b44 Author: Federico Mena Quintero Date: Sat Aug 8 03:47:00 2015 -0500 Update librsvg.doap to not have sourceforge references (!) librsvg.doap | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 4a0d0baf8fd0ec9e5236bdca5c1efff6d536bfd8 Author: Federico Mena Quintero Date: Sat Aug 8 03:29:16 2015 -0500 Post release version bump configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)