diff options
Diffstat (limited to 'src')
519 files changed, 1781 insertions, 1785 deletions
diff --git a/src/attribute-rel-css.cpp b/src/attribute-rel-css.cpp index 24e3ca0d9..f8483d538 100644 --- a/src/attribute-rel-css.cpp +++ b/src/attribute-rel-css.cpp @@ -17,8 +17,8 @@ #endif #include <fstream> -#include <iostream> #include <sstream> +#include <iostream> #include "attribute-rel-css.h" diff --git a/src/attribute-rel-util.cpp b/src/attribute-rel-util.cpp index fb2d6d141..42b6bebf2 100644 --- a/src/attribute-rel-util.cpp +++ b/src/attribute-rel-util.cpp @@ -10,8 +10,8 @@ */ #include <fstream> -#include <iostream> #include <sstream> +#include <iostream> #include "preferences.h" diff --git a/src/attribute-sort-util.cpp b/src/attribute-sort-util.cpp index 8c6930ebf..7aa8d8357 100644 --- a/src/attribute-sort-util.cpp +++ b/src/attribute-sort-util.cpp @@ -9,17 +9,17 @@ * Utility functions for sorting attributes by name. */ -#include <algorithm> // std::sort #include <fstream> -#include <iostream> #include <sstream> -#include <utility> // std::pair +#include <iostream> #include <vector> +#include <utility> // std::pair +#include <algorithm> // std::sort #include "attribute-sort-util.h" -#include "xml/attribute-record.h" #include "xml/repr.h" +#include "xml/attribute-record.h" #include "attributes.h" diff --git a/src/attributes.cpp b/src/attributes.cpp index c0af4b3ca..7a3916f6d 100644 --- a/src/attributes.cpp +++ b/src/attributes.cpp @@ -12,8 +12,8 @@ # include "config.h" #endif -#include "attributes.h" #include <glib.h> // g_assert() +#include "attributes.h" typedef struct { gint code; diff --git a/src/axis-manip.cpp b/src/axis-manip.cpp index 59ce49125..2332bc0a3 100644 --- a/src/axis-manip.cpp +++ b/src/axis-manip.cpp @@ -9,8 +9,8 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "axis-manip.h" #include <glib.h> +#include "axis-manip.h" namespace Proj { diff --git a/src/color.cpp b/src/color.cpp index b2be32b8e..d7e8d25dd 100644 --- a/src/color.cpp +++ b/src/color.cpp @@ -19,8 +19,8 @@ #define MAX(X,Y) ((X) > (Y) ? (X) : (Y)) #include "color.h" -#include "svg/svg-color.h" #include "svg/svg-icc-color.h" +#include "svg/svg-color.h" #include "svg/css-ostringstream.h" diff --git a/src/conn-avoid-ref.cpp b/src/conn-avoid-ref.cpp index 297ee1188..c7254a449 100644 --- a/src/conn-avoid-ref.cpp +++ b/src/conn-avoid-ref.cpp @@ -12,8 +12,8 @@ #include <cstring> -#include <iostream> #include <string> +#include <iostream> #include "2geom/convex-hull.h" #include "2geom/line.h" diff --git a/src/debug/demangle.cpp b/src/debug/demangle.cpp index 9c7cf078b..04fe80d9b 100644 --- a/src/debug/demangle.cpp +++ b/src/debug/demangle.cpp @@ -9,12 +9,12 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "debug/demangle.h" -#include "inkgc/gc-alloc.h" -#include "util/format.h" -#include <map> #include <stdio.h> #include <string.h> +#include <map> +#include "debug/demangle.h" +#include "util/format.h" +#include "inkgc/gc-alloc.h" namespace Inkscape { diff --git a/src/debug/heap.cpp b/src/debug/heap.cpp index abc687aaf..0135a9ceb 100644 --- a/src/debug/heap.cpp +++ b/src/debug/heap.cpp @@ -13,9 +13,9 @@ # include "config.h" #endif +#include "inkgc/gc-alloc.h" #include "debug/gc-heap.h" #include "debug/sysv-heap.h" -#include "inkgc/gc-alloc.h" #include <vector> namespace Inkscape { diff --git a/src/debug/log-display-config.cpp b/src/debug/log-display-config.cpp index a70bf10da..1f436a708 100644 --- a/src/debug/log-display-config.cpp +++ b/src/debug/log-display-config.cpp @@ -9,13 +9,13 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <iostream> +#include <gtk/gtk.h> +#include <gdk/gdk.h> #include "debug/event-tracker.h" -#include "debug/log-display-config.h" #include "debug/logger.h" #include "debug/simple-event.h" -#include <gdk/gdk.h> -#include <gtk/gtk.h> -#include <iostream> +#include "debug/log-display-config.h" namespace Inkscape { diff --git a/src/debug/logger.cpp b/src/debug/logger.cpp index 22481254a..d422b8e72 100644 --- a/src/debug/logger.cpp +++ b/src/debug/logger.cpp @@ -9,13 +9,13 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <fstream> +#include <vector> +#include <glib.h> +#include "inkscape-version.h" #include "debug/logger.h" #include "debug/simple-event.h" #include "inkgc/gc-alloc.h" -#include "inkscape-version.h" -#include <fstream> -#include <glib.h> -#include <vector> namespace Inkscape { diff --git a/src/debug/timestamp.cpp b/src/debug/timestamp.cpp index 2681dee51..cdd47e881 100644 --- a/src/debug/timestamp.cpp +++ b/src/debug/timestamp.cpp @@ -10,10 +10,10 @@ */ -#include "debug/simple-event.h" -#include "timestamp.h" #include <glib.h> #include <glibmm/ustring.h> +#include "debug/simple-event.h" +#include "timestamp.h" namespace Inkscape { diff --git a/src/desktop-events.cpp b/src/desktop-events.cpp index 98d79ed8c..c48b06a9c 100644 --- a/src/desktop-events.cpp +++ b/src/desktop-events.cpp @@ -31,8 +31,8 @@ #include <glibmm/i18n.h> -#include <2geom/angle.h> #include <2geom/line.h> +#include <2geom/angle.h> #include "desktop.h" #include "document-undo.h" @@ -58,8 +58,8 @@ #include "object/sp-root.h" #include "ui/dialog-events.h" -#include "ui/dialog/guides.h" #include "ui/tools-switch.h" +#include "ui/dialog/guides.h" #include "ui/tools/tool-base.h" #include "widgets/desktop-widget.h" diff --git a/src/desktop-style.cpp b/src/desktop-style.cpp index 4ffdf54cb..a5cc75d15 100644 --- a/src/desktop-style.cpp +++ b/src/desktop-style.cpp @@ -12,8 +12,8 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <cstring> #include <string> +#include <cstring> #include <glibmm.h> @@ -25,8 +25,6 @@ #include "selection.h" #include "object/box3d-side.h" -#include "object/filters/blend.h" -#include "object/filters/gaussian-blur.h" #include "object/sp-flowdiv.h" #include "object/sp-flowregion.h" #include "object/sp-flowtext.h" @@ -39,6 +37,8 @@ #include "object/sp-tspan.h" #include "object/sp-use.h" #include "style.h" +#include "object/filters/blend.h" +#include "object/filters/gaussian-blur.h" #include "svg/css-ostringstream.h" #include "svg/svg-color.h" diff --git a/src/desktop.cpp b/src/desktop.cpp index b0064c556..262f1339b 100644 --- a/src/desktop.cpp +++ b/src/desktop.cpp @@ -26,8 +26,8 @@ #include <config.h> #endif -#include <2geom/transforms.h> #include <glibmm/i18n.h> +#include <2geom/transforms.h> #include <2geom/rect.h> @@ -72,8 +72,8 @@ #include "widgets/desktop-widget.h" // TODO those includes are only for node tool quick zoom. Remove them after fixing it. -#include "ui/tool/control-point-selection.h" #include "ui/tools/node-tool.h" +#include "ui/tool/control-point-selection.h" namespace Inkscape { namespace XML { class Node; }} diff --git a/src/dir-util.cpp b/src/dir-util.cpp index c355a29f1..64f7ab7e7 100644 --- a/src/dir-util.cpp +++ b/src/dir-util.cpp @@ -3,11 +3,11 @@ * Utility functions for filenames. */ -#include "dir-util.h" -#include <cstring> #include <errno.h> -#include <glib.h> #include <string> +#include <cstring> +#include <glib.h> +#include "dir-util.h" std::string sp_relative_path_from_path( std::string const &path, std::string const &base) { diff --git a/src/display/cairo-utils.cpp b/src/display/cairo-utils.cpp index 1ae16c8a4..82373c27c 100644 --- a/src/display/cairo-utils.cpp +++ b/src/display/cairo-utils.cpp @@ -16,23 +16,23 @@ #include <stdexcept> -#include <gdk-pixbuf/gdk-pixbuf.h> #include <glib/gstdio.h> #include <glibmm/fileutils.h> +#include <gdk-pixbuf/gdk-pixbuf.h> -#include <2geom/affine.h> -#include <2geom/curves.h> -#include <2geom/path.h> #include <2geom/pathvector.h> +#include <2geom/curves.h> +#include <2geom/affine.h> #include <2geom/point.h> -#include <2geom/sbasis-to-bezier.h> +#include <2geom/path.h> #include <2geom/transforms.h> +#include <2geom/sbasis-to-bezier.h> #include <boost/operators.hpp> #include <boost/optional/optional.hpp> -#include "cairo-templates.h" #include "color.h" +#include "cairo-templates.h" /** * Key for cairo_surface_t to keep track of current color interpolation value diff --git a/src/display/canvas-arena.cpp b/src/display/canvas-arena.cpp index 8c989a9b9..366b3c7d1 100644 --- a/src/display/canvas-arena.cpp +++ b/src/display/canvas-arena.cpp @@ -13,14 +13,14 @@ #include <gtkmm.h> -#include "display/cairo-utils.h" +#include "display/sp-canvas-util.h" +#include "helper/sp-marshal.h" #include "display/canvas-arena.h" +#include "display/cairo-utils.h" #include "display/drawing-context.h" -#include "display/drawing-group.h" #include "display/drawing-item.h" +#include "display/drawing-group.h" #include "display/drawing-surface.h" -#include "display/sp-canvas-util.h" -#include "helper/sp-marshal.h" #include "preferences.h" using namespace Inkscape; diff --git a/src/display/canvas-axonomgrid.cpp b/src/display/canvas-axonomgrid.cpp index 455c039c9..82ef69579 100644 --- a/src/display/canvas-axonomgrid.cpp +++ b/src/display/canvas-axonomgrid.cpp @@ -18,30 +18,30 @@ #endif #include <gtkmm/box.h> -#include <gtkmm/grid.h> #include <gtkmm/label.h> +#include <gtkmm/grid.h> #include <glibmm/i18n.h> #include "display/canvas-axonomgrid.h" -#include "desktop.h" #include "ui/widget/registered-widget.h" +#include "desktop.h" -#include "2geom/angle.h" -#include "2geom/line.h" #include "display/cairo-utils.h" #include "display/canvas-grid.h" #include "display/sp-canvas-util.h" #include "display/sp-canvas.h" #include "document.h" -#include "helper/mathfns.h" #include "inkscape.h" +#include "preferences.h" #include "object/sp-namedview.h" #include "object/sp-object.h" #include "object/sp-root.h" -#include "preferences.h" #include "svg/svg-color.h" +#include "2geom/line.h" +#include "2geom/angle.h" +#include "helper/mathfns.h" #include "util/units.h" using Inkscape::Util::unit_table; diff --git a/src/display/canvas-bpath.cpp b/src/display/canvas-bpath.cpp index dbb8ef8b1..fc6b79b43 100644 --- a/src/display/canvas-bpath.cpp +++ b/src/display/canvas-bpath.cpp @@ -11,18 +11,18 @@ * */ -#include "desktop.h" #include <sstream> #include <string.h> +#include "desktop.h" #include "color.h" -#include "display/cairo-utils.h" -#include "display/canvas-bpath.h" -#include "display/curve.h" #include "display/sp-canvas-group.h" #include "display/sp-canvas-util.h" -#include "display/sp-canvas.h" +#include "display/canvas-bpath.h" +#include "display/curve.h" +#include "display/cairo-utils.h" #include "helper/geom.h" +#include "display/sp-canvas.h" static void sp_canvas_bpath_destroy(SPCanvasItem *object); diff --git a/src/display/canvas-debug.cpp b/src/display/canvas-debug.cpp index 35c88c5bd..00a4f3fee 100644 --- a/src/display/canvas-debug.cpp +++ b/src/display/canvas-debug.cpp @@ -10,8 +10,8 @@ */ #include "canvas-debug.h" -#include "cairo-utils.h" #include "sp-canvas.h" +#include "cairo-utils.h" #include "ui/event-debug.h" namespace { diff --git a/src/display/canvas-grid.cpp b/src/display/canvas-grid.cpp index 5a1c0338d..a5cbcdf39 100644 --- a/src/display/canvas-grid.cpp +++ b/src/display/canvas-grid.cpp @@ -19,32 +19,32 @@ #endif #include <gtkmm/box.h> -#include <gtkmm/grid.h> #include <gtkmm/label.h> +#include <gtkmm/grid.h> #include <glibmm/i18n.h> #include "desktop.h" -#include "helper/mathfns.h" #include "sp-canvas-util.h" +#include "helper/mathfns.h" #include "display/cairo-utils.h" #include "display/canvas-axonomgrid.h" #include "display/canvas-grid.h" #include "display/sp-canvas-group.h" -#include "display/sp-canvas.h" #include "document.h" -#include "helper/mathfns.h" +#include "util/units.h" #include "inkscape.h" +#include "preferences.h" #include "object/sp-namedview.h" #include "object/sp-object.h" #include "object/sp-root.h" -#include "preferences.h" -#include "svg/stringstream.h" #include "svg/svg-color.h" -#include "util/units.h" -#include "verbs.h" +#include "svg/stringstream.h" +#include "helper/mathfns.h" #include "xml/node-event-vector.h" +#include "verbs.h" +#include "display/sp-canvas.h" using Inkscape::DocumentUndo; using Inkscape::Util::unit_table; diff --git a/src/display/canvas-rotate.cpp b/src/display/canvas-rotate.cpp index 95e8128e6..1d917a677 100644 --- a/src/display/canvas-rotate.cpp +++ b/src/display/canvas-rotate.cpp @@ -12,9 +12,9 @@ #include "inkscape.h" #include "desktop.h" -#include "cairo-utils.h" #include "canvas-rotate.h" #include "sp-canvas.h" +#include "cairo-utils.h" #include "ui/event-debug.h" #include "2geom/point.h" diff --git a/src/display/canvas-temporary-item.cpp b/src/display/canvas-temporary-item.cpp index d87d89528..cb7145d61 100644 --- a/src/display/canvas-temporary-item.cpp +++ b/src/display/canvas-temporary-item.cpp @@ -16,8 +16,8 @@ #include "display/canvas-temporary-item.h" -#include "display/sp-canvas-item.h" #include <glib.h> +#include "display/sp-canvas-item.h" namespace Inkscape { namespace Display { diff --git a/src/display/canvas-text.cpp b/src/display/canvas-text.cpp index a2bfdb27f..4117825e3 100644 --- a/src/display/canvas-text.cpp +++ b/src/display/canvas-text.cpp @@ -15,11 +15,11 @@ #include <sstream> #include <string.h> +#include "sp-canvas-util.h" #include "canvas-text.h" -#include "desktop.h" #include "display/cairo-utils.h" +#include "desktop.h" #include "display/sp-canvas.h" -#include "sp-canvas-util.h" static void sp_canvastext_destroy(SPCanvasItem *object); diff --git a/src/display/curve.cpp b/src/display/curve.cpp index f41057c36..1115978e9 100644 --- a/src/display/curve.cpp +++ b/src/display/curve.cpp @@ -13,11 +13,11 @@ #include "display/curve.h" +#include <glib.h> #include <2geom/pathvector.h> -#include <2geom/point.h> #include <2geom/sbasis-geometric.h> #include <2geom/sbasis-to-bezier.h> -#include <glib.h> +#include <2geom/point.h> /** * Routines for SPCurve and for its Geom::PathVector diff --git a/src/display/drawing-context.cpp b/src/display/drawing-context.cpp index 138d5589b..ffd60ef9f 100644 --- a/src/display/drawing-context.cpp +++ b/src/display/drawing-context.cpp @@ -10,8 +10,8 @@ */ #include "display/drawing-context.h" -#include "display/cairo-utils.h" #include "display/drawing-surface.h" +#include "display/cairo-utils.h" namespace Inkscape { diff --git a/src/display/drawing-group.cpp b/src/display/drawing-group.cpp index d6ba03b0f..6abce34a2 100644 --- a/src/display/drawing-group.cpp +++ b/src/display/drawing-group.cpp @@ -10,8 +10,8 @@ */ #include "display/drawing.h" -#include "display/drawing-group.h" #include "display/drawing-item.h" +#include "display/drawing-group.h" namespace Inkscape { diff --git a/src/display/drawing-image.cpp b/src/display/drawing-image.cpp index d61e04eb5..4be3099bf 100644 --- a/src/display/drawing-image.cpp +++ b/src/display/drawing-image.cpp @@ -11,9 +11,9 @@ #include <2geom/bezier-curve.h> +#include "display/drawing.h" #include "display/drawing-context.h" #include "display/drawing-image.h" -#include "display/drawing.h" #include "preferences.h" #include "display/cairo-utils.h" diff --git a/src/display/drawing-item.cpp b/src/display/drawing-item.cpp index 94a0e7c8f..cc4673bc8 100644 --- a/src/display/drawing-item.cpp +++ b/src/display/drawing-item.cpp @@ -13,16 +13,16 @@ #include "display/drawing.h" #include "display/drawing-context.h" -#include "display/drawing-group.h" #include "display/drawing-item.h" +#include "display/drawing-group.h" #include "display/drawing-pattern.h" #include "display/drawing-surface.h" #include "nr-filter.h" #include "preferences.h" #include "style.h" -#include "display/cairo-templates.h" #include "display/cairo-utils.h" +#include "display/cairo-templates.h" namespace Inkscape { diff --git a/src/display/drawing-shape.cpp b/src/display/drawing-shape.cpp index ee828cf67..d7329e670 100644 --- a/src/display/drawing-shape.cpp +++ b/src/display/drawing-shape.cpp @@ -9,20 +9,20 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <glibmm.h> #include <2geom/curves.h> -#include <2geom/path-sink.h> #include <2geom/pathvector.h> +#include <2geom/path-sink.h> #include <2geom/svg-path-parser.h> -#include <glibmm.h> #include "display/cairo-utils.h" #include "display/canvas-arena.h" #include "display/canvas-bpath.h" #include "display/curve.h" +#include "display/drawing.h" #include "display/drawing-context.h" #include "display/drawing-group.h" #include "display/drawing-shape.h" -#include "display/drawing.h" #include "helper/geom-curves.h" #include "helper/geom.h" #include "preferences.h" diff --git a/src/display/drawing-surface.cpp b/src/display/drawing-surface.cpp index 6dc8623eb..2752789e2 100644 --- a/src/display/drawing-surface.cpp +++ b/src/display/drawing-surface.cpp @@ -11,8 +11,8 @@ //#include <iostream> #include "display/drawing-surface.h" -#include "display/cairo-utils.h" #include "display/drawing-context.h" +#include "display/cairo-utils.h" namespace Inkscape { diff --git a/src/display/drawing-text.cpp b/src/display/drawing-text.cpp index f32ca9dc9..3f6b5b34a 100644 --- a/src/display/drawing-text.cpp +++ b/src/display/drawing-text.cpp @@ -12,13 +12,13 @@ //#include "display/cairo-utils.h" //#include "display/canvas-bpath.h" // for SPWindRule (WTF!) #include "display/drawing.h" -#include "2geom/pathvector.h" #include "display/drawing-context.h" #include "display/drawing-surface.h" #include "display/drawing-text.h" #include "helper/geom.h" #include "libnrtype/font-instance.h" #include "style.h" +#include "2geom/pathvector.h" #include "display/cairo-utils.h" #include "display/canvas-bpath.h" diff --git a/src/display/drawing.cpp b/src/display/drawing.cpp index 3b0a3a5b4..71fb94be0 100644 --- a/src/display/drawing.cpp +++ b/src/display/drawing.cpp @@ -10,10 +10,10 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <algorithm> #include "display/drawing.h" #include "nr-filter-gaussian.h" #include "nr-filter-types.h" -#include <algorithm> //grayscale colormode: #include "cairo-templates.h" diff --git a/src/display/grayscale.cpp b/src/display/grayscale.cpp index 6edb2f2f3..5978dbf2a 100644 --- a/src/display/grayscale.cpp +++ b/src/display/grayscale.cpp @@ -15,9 +15,9 @@ #include "color.h" // for activeDesktopIsGrayscale: -#include "desktop.h" #include "display/rendermode.h" #include "inkscape.h" +#include "desktop.h" namespace Grayscale { diff --git a/src/display/guideline.cpp b/src/display/guideline.cpp index 6b060f973..cde10f6c2 100644 --- a/src/display/guideline.cpp +++ b/src/display/guideline.cpp @@ -16,14 +16,14 @@ */ #include <2geom/coord.h> -#include <2geom/line.h> #include <2geom/transforms.h> +#include <2geom/line.h> +#include "sp-canvas-util.h" +#include "guideline.h" #include "display/cairo-utils.h" -#include "display/sodipodi-ctrl.h" #include "display/sp-canvas.h" -#include "guideline.h" -#include "sp-canvas-util.h" +#include "display/sodipodi-ctrl.h" static void sp_guideline_destroy(SPCanvasItem *object); diff --git a/src/display/nr-3dutils.cpp b/src/display/nr-3dutils.cpp index 2305ebcb5..d2ac7d82b 100644 --- a/src/display/nr-3dutils.cpp +++ b/src/display/nr-3dutils.cpp @@ -12,9 +12,9 @@ #include <glib.h> #include "display/nr-3dutils.h" -#include <2geom/affine.h> -#include <2geom/point.h> #include <cmath> +#include <2geom/point.h> +#include <2geom/affine.h> namespace NR { diff --git a/src/display/nr-filter-blend.cpp b/src/display/nr-filter-blend.cpp index 8fddeddd4..49dfc7ec4 100644 --- a/src/display/nr-filter-blend.cpp +++ b/src/display/nr-filter-blend.cpp @@ -20,6 +20,7 @@ #include "config.h" #endif +#include <glibmm.h> #include "display/cairo-templates.h" #include "display/cairo-utils.h" #include "display/nr-filter-blend.h" @@ -27,7 +28,6 @@ #include "display/nr-filter-slot.h" #include "display/nr-filter-types.h" #include "preferences.h" -#include <glibmm.h> namespace Inkscape { namespace Filters { diff --git a/src/display/nr-filter-colormatrix.cpp b/src/display/nr-filter-colormatrix.cpp index 6be1d6640..77873d523 100644 --- a/src/display/nr-filter-colormatrix.cpp +++ b/src/display/nr-filter-colormatrix.cpp @@ -10,13 +10,13 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <math.h> +#include <algorithm> #include "display/cairo-templates.h" #include "display/cairo-utils.h" #include "display/nr-filter-colormatrix.h" #include "display/nr-filter-slot.h" #include <2geom/math-utils.h> -#include <algorithm> -#include <math.h> namespace Inkscape { namespace Filters { diff --git a/src/display/nr-filter-component-transfer.cpp b/src/display/nr-filter-component-transfer.cpp index 968f0c75c..b2545b76f 100644 --- a/src/display/nr-filter-component-transfer.cpp +++ b/src/display/nr-filter-component-transfer.cpp @@ -10,11 +10,11 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <math.h> #include "display/cairo-templates.h" #include "display/cairo-utils.h" #include "display/nr-filter-component-transfer.h" #include "display/nr-filter-slot.h" -#include <math.h> namespace Inkscape { namespace Filters { diff --git a/src/display/nr-filter-convolve-matrix.cpp b/src/display/nr-filter-convolve-matrix.cpp index 03cddb9ae..2aad528a6 100644 --- a/src/display/nr-filter-convolve-matrix.cpp +++ b/src/display/nr-filter-convolve-matrix.cpp @@ -10,13 +10,13 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <vector> #include "display/cairo-templates.h" #include "display/cairo-utils.h" #include "display/nr-filter-convolve-matrix.h" #include "display/nr-filter-slot.h" #include "display/nr-filter-units.h" #include "display/nr-filter-utils.h" -#include <vector> namespace Inkscape { namespace Filters { diff --git a/src/display/nr-filter-diffuselighting.cpp b/src/display/nr-filter-diffuselighting.cpp index 8fd8b9784..ed5afa82a 100644 --- a/src/display/nr-filter-diffuselighting.cpp +++ b/src/display/nr-filter-diffuselighting.cpp @@ -21,8 +21,8 @@ #include "display/nr-filter-units.h" #include "display/nr-filter-utils.h" #include "display/nr-light.h" -#include "svg/svg-color.h" #include "svg/svg-icc-color.h" +#include "svg/svg-color.h" namespace Inkscape { namespace Filters { diff --git a/src/display/nr-filter-flood.cpp b/src/display/nr-filter-flood.cpp index da50daf8d..d1fe3e13f 100644 --- a/src/display/nr-filter-flood.cpp +++ b/src/display/nr-filter-flood.cpp @@ -14,12 +14,12 @@ # include "config.h" #endif -#include "color.h" #include "display/cairo-utils.h" #include "display/nr-filter-flood.h" #include "display/nr-filter-slot.h" -#include "svg/svg-color.h" #include "svg/svg-icc-color.h" +#include "svg/svg-color.h" +#include "color.h" namespace Inkscape { namespace Filters { diff --git a/src/display/nr-filter-gaussian.cpp b/src/display/nr-filter-gaussian.cpp index 5e2d28d9a..2227edfef 100644 --- a/src/display/nr-filter-gaussian.cpp +++ b/src/display/nr-filter-gaussian.cpp @@ -24,14 +24,14 @@ #endif //HAVE_OPENMP #include "display/cairo-utils.h" -#include "display/nr-filter-gaussian.h" #include "display/nr-filter-primitive.h" -#include "display/nr-filter-slot.h" +#include "display/nr-filter-gaussian.h" #include "display/nr-filter-types.h" #include "display/nr-filter-units.h" -#include "preferences.h" -#include "util/fixed_point.h" +#include "display/nr-filter-slot.h" #include <2geom/affine.h> +#include "util/fixed_point.h" +#include "preferences.h" #ifndef INK_UNUSED #define INK_UNUSED(x) ((void)(x)) diff --git a/src/display/nr-filter-image.cpp b/src/display/nr-filter-image.cpp index 27ebece8e..551a86cbf 100644 --- a/src/display/nr-filter-image.cpp +++ b/src/display/nr-filter-image.cpp @@ -11,16 +11,16 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ #include "display/nr-filter-image.h" +#include "document.h" +#include "object/sp-item.h" #include "display/cairo-utils.h" #include "display/drawing-context.h" -#include "display/drawing-item.h" #include "display/drawing.h" +#include "display/drawing-item.h" +#include "display/nr-filter.h" #include "display/nr-filter-slot.h" #include "display/nr-filter-units.h" -#include "display/nr-filter.h" -#include "document.h" #include "enums.h" -#include "object/sp-item.h" #include <glibmm/fileutils.h> namespace Inkscape { diff --git a/src/display/nr-filter-merge.cpp b/src/display/nr-filter-merge.cpp index 2862738ce..fc2ce408f 100644 --- a/src/display/nr-filter-merge.cpp +++ b/src/display/nr-filter-merge.cpp @@ -9,11 +9,11 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <vector> #include "display/cairo-utils.h" #include "display/nr-filter-merge.h" #include "display/nr-filter-slot.h" #include "display/nr-filter-utils.h" -#include <vector> namespace Inkscape { namespace Filters { diff --git a/src/display/nr-filter-morphology.cpp b/src/display/nr-filter-morphology.cpp index 4542cc3b2..a06033e80 100644 --- a/src/display/nr-filter-morphology.cpp +++ b/src/display/nr-filter-morphology.cpp @@ -9,15 +9,15 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <cmath> +#include <algorithm> +#include <deque> +#include <functional> #include "display/cairo-templates.h" #include "display/cairo-utils.h" #include "display/nr-filter-morphology.h" #include "display/nr-filter-slot.h" #include "display/nr-filter-units.h" -#include <algorithm> -#include <cmath> -#include <deque> -#include <functional> namespace Inkscape { namespace Filters { diff --git a/src/display/nr-filter-primitive.cpp b/src/display/nr-filter-primitive.cpp index ed09a608c..ec392ea06 100644 --- a/src/display/nr-filter-primitive.cpp +++ b/src/display/nr-filter-primitive.cpp @@ -15,8 +15,8 @@ #include "display/nr-filter-types.h" #include "svg/svg-length.h" -#include "desktop.h" #include "inkscape.h" +#include "desktop.h" #include "document.h" #include "style.h" diff --git a/src/display/nr-filter-slot.cpp b/src/display/nr-filter-slot.cpp index 3dc75e801..9d76462c0 100644 --- a/src/display/nr-filter-slot.cpp +++ b/src/display/nr-filter-slot.cpp @@ -14,13 +14,13 @@ #include <assert.h> #include <string.h> +#include <2geom/transforms.h> #include "display/cairo-utils.h" #include "display/drawing-context.h" +#include "display/nr-filter-types.h" #include "display/nr-filter-gaussian.h" #include "display/nr-filter-slot.h" -#include "display/nr-filter-types.h" #include "display/nr-filter-units.h" -#include <2geom/transforms.h> namespace Inkscape { namespace Filters { diff --git a/src/display/nr-filter-specularlighting.cpp b/src/display/nr-filter-specularlighting.cpp index f51699b24..e8d03d42e 100644 --- a/src/display/nr-filter-specularlighting.cpp +++ b/src/display/nr-filter-specularlighting.cpp @@ -10,19 +10,19 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <cmath> #include <glib.h> +#include <cmath> #include "display/cairo-templates.h" #include "display/cairo-utils.h" #include "display/nr-3dutils.h" -#include "display/nr-filter-slot.h" #include "display/nr-filter-specularlighting.h" +#include "display/nr-filter-slot.h" #include "display/nr-filter-units.h" #include "display/nr-filter-utils.h" #include "display/nr-light.h" -#include "svg/svg-color.h" #include "svg/svg-icc-color.h" +#include "svg/svg-color.h" namespace Inkscape { namespace Filters { diff --git a/src/display/nr-filter-tile.cpp b/src/display/nr-filter-tile.cpp index 80ea91914..ad4e64768 100644 --- a/src/display/nr-filter-tile.cpp +++ b/src/display/nr-filter-tile.cpp @@ -12,8 +12,8 @@ #include <glib.h> #include "display/cairo-utils.h" -#include "display/nr-filter-slot.h" #include "display/nr-filter-tile.h" +#include "display/nr-filter-slot.h" #include "display/nr-filter-units.h" namespace Inkscape { diff --git a/src/display/nr-filter-turbulence.cpp b/src/display/nr-filter-turbulence.cpp index 524557450..349bcc242 100644 --- a/src/display/nr-filter-turbulence.cpp +++ b/src/display/nr-filter-turbulence.cpp @@ -19,10 +19,10 @@ #include "display/cairo-templates.h" #include "display/cairo-utils.h" +#include "display/nr-filter.h" #include "display/nr-filter-turbulence.h" #include "display/nr-filter-units.h" #include "display/nr-filter-utils.h" -#include "display/nr-filter.h" #include <math.h> namespace Inkscape { diff --git a/src/display/nr-filter.cpp b/src/display/nr-filter.cpp index 26961d5b9..4782f3f54 100644 --- a/src/display/nr-filter.cpp +++ b/src/display/nr-filter.cpp @@ -9,28 +9,28 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <cairo.h> +#include <glib.h> #include <cmath> #include <cstring> -#include <glib.h> #include <string> +#include <cairo.h> +#include "display/nr-filter.h" #include "display/nr-filter-primitive.h" #include "display/nr-filter-slot.h" #include "display/nr-filter-types.h" #include "display/nr-filter-units.h" -#include "display/nr-filter.h" #include "display/nr-filter-blend.h" -#include "display/nr-filter-colormatrix.h" -#include "display/nr-filter-component-transfer.h" #include "display/nr-filter-composite.h" #include "display/nr-filter-convolve-matrix.h" +#include "display/nr-filter-colormatrix.h" +#include "display/nr-filter-component-transfer.h" #include "display/nr-filter-diffuselighting.h" #include "display/nr-filter-displacement-map.h" +#include "display/nr-filter-image.h" #include "display/nr-filter-flood.h" #include "display/nr-filter-gaussian.h" -#include "display/nr-filter-image.h" #include "display/nr-filter-merge.h" #include "display/nr-filter-morphology.h" #include "display/nr-filter-offset.h" @@ -39,13 +39,13 @@ #include "display/nr-filter-turbulence.h" #include "display/cairo-utils.h" -#include "display/drawing-context.h" +#include "display/drawing.h" #include "display/drawing-item.h" +#include "display/drawing-context.h" #include "display/drawing-surface.h" -#include "display/drawing.h" -#include "svg/svg-length.h" #include <2geom/affine.h> #include <2geom/rect.h> +#include "svg/svg-length.h" //#include "sp-filter-units.h" #include "preferences.h" diff --git a/src/display/nr-light.cpp b/src/display/nr-light.cpp index e74b94383..47938f00c 100644 --- a/src/display/nr-light.cpp +++ b/src/display/nr-light.cpp @@ -12,11 +12,11 @@ #include <cmath> #include "display/nr-light.h" -#include "color.h" #include "display/nr-3dutils.h" #include "object/filters/distantlight.h" #include "object/filters/pointlight.h" #include "object/filters/spotlight.h" +#include "color.h" namespace Inkscape { namespace Filters { diff --git a/src/display/nr-style.cpp b/src/display/nr-style.cpp index 8038fe16f..31bb27755 100644 --- a/src/display/nr-style.cpp +++ b/src/display/nr-style.cpp @@ -10,11 +10,11 @@ */ #include "display/nr-style.h" +#include "style.h" +#include "object/sp-paint-server.h" #include "display/canvas-bpath.h" // contains SPStrokeJoinType, SPStrokeCapType etc. (WTF!) #include "display/drawing-context.h" #include "display/drawing-pattern.h" -#include "object/sp-paint-server.h" -#include "style.h" void NRStyle::Paint::clear() { diff --git a/src/display/nr-svgfonts.cpp b/src/display/nr-svgfonts.cpp index 4797d3fa0..c3354bc0b 100644 --- a/src/display/nr-svgfonts.cpp +++ b/src/display/nr-svgfonts.cpp @@ -17,23 +17,23 @@ #include <cairo.h> #include <vector> +#include "svg/svg.h" #include "display/cairo-utils.h" -#include "display/curve.h" #include "display/nr-svgfonts.h" #include "display/nr-svgfonts.h" -#include "svg/svg.h" +#include "display/curve.h" #include "xml/repr.h" +#include "object/sp-path.h" +#include "object/sp-object-group.h" +#include "object/sp-use.h" +#include "object/sp-use-reference.h" #include "object/sp-font-face.h" -#include "object/sp-font.h" -#include "object/sp-glyph-kerning.h" #include "object/sp-glyph.h" #include "object/sp-missing-glyph.h" -#include "object/sp-object-group.h" -#include "object/sp-path.h" -#include "object/sp-use-reference.h" -#include "object/sp-use.h" +#include "object/sp-font.h" +#include "object/sp-glyph-kerning.h" // ************************// // UserFont Implementation // diff --git a/src/display/snap-indicator.cpp b/src/display/snap-indicator.cpp index 0c3a79dbf..f2271e0c6 100644 --- a/src/display/snap-indicator.cpp +++ b/src/display/snap-indicator.cpp @@ -15,15 +15,15 @@ #include "desktop.h" -#include "display/canvas-text.h" #include "display/sodipodi-ctrl.h" #include "display/sodipodi-ctrlrect.h" +#include "display/canvas-text.h" #include "display/sp-canvas-util.h" -#include "enums.h" #include "knot.h" #include "preferences.h" -#include "ui/tools-switch.h" #include <glibmm/i18n.h> +#include "ui/tools-switch.h" +#include "enums.h" namespace Inkscape { namespace Display { diff --git a/src/display/sodipodi-ctrl.cpp b/src/display/sodipodi-ctrl.cpp index c01e91786..04ec947f6 100644 --- a/src/display/sodipodi-ctrl.cpp +++ b/src/display/sodipodi-ctrl.cpp @@ -6,12 +6,12 @@ * */ +#include <2geom/transforms.h> +#include <2geom/line.h> +#include "sp-canvas-util.h" +#include "sodipodi-ctrl.h" #include "display/cairo-utils.h" #include "display/sp-canvas.h" -#include "sodipodi-ctrl.h" -#include "sp-canvas-util.h" -#include <2geom/line.h> -#include <2geom/transforms.h> enum { ARG_0, diff --git a/src/display/sodipodi-ctrlrect.cpp b/src/display/sodipodi-ctrlrect.cpp index e37db95ae..a35f07c3d 100644 --- a/src/display/sodipodi-ctrlrect.cpp +++ b/src/display/sodipodi-ctrlrect.cpp @@ -17,9 +17,9 @@ */ #include "sodipodi-ctrlrect.h" +#include "sp-canvas-util.h" #include "display/cairo-utils.h" #include "display/sp-canvas.h" -#include "sp-canvas-util.h" #include <2geom/transforms.h> /* diff --git a/src/display/sp-canvas-util.cpp b/src/display/sp-canvas-util.cpp index bafe354b7..25b70824b 100644 --- a/src/display/sp-canvas-util.cpp +++ b/src/display/sp-canvas-util.cpp @@ -12,10 +12,10 @@ */ -#include "sp-canvas-item.h" +#include <2geom/affine.h> #include "sp-canvas-util.h" +#include "sp-canvas-item.h" #include "sp-canvas.h" -#include <2geom/affine.h> void sp_canvas_update_bbox(SPCanvasItem *item, int x1, int y1, int x2, int y2) { diff --git a/src/display/sp-canvas.cpp b/src/display/sp-canvas.cpp index e930f4b37..c717bc7ae 100644 --- a/src/display/sp-canvas.cpp +++ b/src/display/sp-canvas.cpp @@ -21,25 +21,25 @@ # include <config.h> #endif -#include <cairomm/region.h> #include <gdkmm/devicemanager.h> #include <gdkmm/display.h> #include <gdkmm/rectangle.h> +#include <cairomm/region.h> -#include "cms-system.h" -#include "color.h" -#include "debug/gdk-event-latency-tracker.h" -#include "desktop.h" -#include "display/cairo-utils.h" -#include "display/rendermode.h" -#include "display/sp-canvas-group.h" -#include "display/sp-canvas.h" #include "helper/sp-marshal.h" -#include "inkscape.h" +#include <2geom/rect.h> +#include <2geom/affine.h> +#include "display/sp-canvas.h" +#include "display/sp-canvas-group.h" +#include "display/rendermode.h" +#include "display/cairo-utils.h" #include "preferences.h" +#include "inkscape.h" #include "sodipodi-ctrlrect.h" -#include <2geom/affine.h> -#include <2geom/rect.h> +#include "cms-system.h" +#include "debug/gdk-event-latency-tracker.h" +#include "desktop.h" +#include "color.h" #if GTK_CHECK_VERSION(3,20,0) # include <gdkmm/seat.h> diff --git a/src/display/sp-ctrlcurve.cpp b/src/display/sp-ctrlcurve.cpp index 597484191..79ef20d6c 100644 --- a/src/display/sp-ctrlcurve.cpp +++ b/src/display/sp-ctrlcurve.cpp @@ -15,11 +15,11 @@ # include "config.h" #endif -#include "color.h" -#include "display/cairo-utils.h" +#include "display/sp-ctrlcurve.h" #include "display/sp-canvas-util.h" +#include "display/cairo-utils.h" +#include "color.h" #include "display/sp-canvas.h" -#include "display/sp-ctrlcurve.h" namespace { diff --git a/src/display/sp-ctrlline.cpp b/src/display/sp-ctrlline.cpp index 934b7bae0..c4ced2a33 100644 --- a/src/display/sp-ctrlline.cpp +++ b/src/display/sp-ctrlline.cpp @@ -22,11 +22,11 @@ # include "config.h" #endif -#include "color.h" -#include "display/cairo-utils.h" +#include "display/sp-ctrlline.h" #include "display/sp-canvas-util.h" +#include "display/cairo-utils.h" +#include "color.h" #include "display/sp-canvas.h" -#include "display/sp-ctrlline.h" namespace { diff --git a/src/display/sp-ctrlquadr.cpp b/src/display/sp-ctrlquadr.cpp index d13861c02..760e93a6d 100644 --- a/src/display/sp-ctrlquadr.cpp +++ b/src/display/sp-ctrlquadr.cpp @@ -14,12 +14,12 @@ # include "config.h" #endif -#include "color.h" -#include "display/cairo-utils.h" #include "sp-canvas-item.h" -#include "sp-canvas-util.h" #include "sp-canvas.h" +#include "sp-canvas-util.h" #include "sp-ctrlquadr.h" +#include "display/cairo-utils.h" +#include "color.h" struct SPCtrlQuadr : public SPCanvasItem{ guint32 rgba; diff --git a/src/document-subset.cpp b/src/document-subset.cpp index de785a419..e0ec941f6 100644 --- a/src/document-subset.cpp +++ b/src/document-subset.cpp @@ -10,9 +10,9 @@ #include <map> +#include "gc-finalized.h" #include "document-subset.h" #include "document.h" -#include "gc-finalized.h" #include "object/sp-object.h" diff --git a/src/document-undo.cpp b/src/document-undo.cpp index 1bcb4866e..a66fb0ee8 100644 --- a/src/document-undo.cpp +++ b/src/document-undo.cpp @@ -44,15 +44,15 @@ * (Lauris Kaplinski) */ +#include <string> +#include "xml/repr.h" +#include "document-private.h" +#include "inkscape.h" +#include "document-undo.h" #include "debug/event-tracker.h" #include "debug/simple-event.h" #include "debug/timestamp.h" -#include "document-private.h" -#include "document-undo.h" #include "event.h" -#include "inkscape.h" -#include "xml/repr.h" -#include <string> /* diff --git a/src/document-undo.h b/src/document-undo.h index 1c2b63587..85b44d562 100644 --- a/src/document-undo.h +++ b/src/document-undo.h @@ -1,8 +1,6 @@ #ifndef SEEN_SP_DOCUMENT_UNDO_H #define SEEN_SP_DOCUMENT_UNDO_H -#include <glib.h> - namespace Glib { class ustring; } diff --git a/src/document.cpp b/src/document.cpp index c33905d07..d8b5ee38e 100644 --- a/src/document.cpp +++ b/src/document.cpp @@ -40,8 +40,8 @@ #include <config.h> #endif -#include <cstring> #include <string> +#include <cstring> #include <2geom/transforms.h> @@ -65,10 +65,10 @@ #include "3rdparty/libcroco/cr-selector.h" #include "object/persp3d.h" -#include "object/sp-defs.h" #include "object/sp-factory.h" -#include "object/sp-namedview.h" +#include "object/sp-defs.h" #include "object/sp-root.h" +#include "object/sp-namedview.h" #include "object/sp-symbol.h" #include "widgets/desktop-widget.h" diff --git a/src/ege-color-prof-tracker.cpp b/src/ege-color-prof-tracker.cpp index dd66712d4..8401b2cc3 100644 --- a/src/ege-color-prof-tracker.cpp +++ b/src/ege-color-prof-tracker.cpp @@ -39,9 +39,9 @@ /* Note: this file should be kept compilable as both .cpp and .c */ -#include <algorithm> #include <string.h> #include <vector> +#include <algorithm> #include <gtk/gtk.h> diff --git a/src/event-log.cpp b/src/event-log.cpp index 8e616aec0..41ab2f2d0 100644 --- a/src/event-log.cpp +++ b/src/event-log.cpp @@ -14,9 +14,9 @@ #include <glibmm/i18n.h> #include "desktop.h" -#include "document.h" #include "inkscape.h" #include "util/ucompose.hpp" +#include "document.h" namespace { diff --git a/src/extension/db.cpp b/src/extension/db.cpp index c821cae67..e885d3531 100644 --- a/src/extension/db.cpp +++ b/src/extension/db.cpp @@ -16,9 +16,9 @@ #include <config.h> #endif #include "db.h" -#include "effect.h" #include "input.h" #include "output.h" +#include "effect.h" /* Globals */ diff --git a/src/extension/dependency.cpp b/src/extension/dependency.cpp index d9c270dc9..5e843ee11 100644 --- a/src/extension/dependency.cpp +++ b/src/extension/dependency.cpp @@ -12,13 +12,13 @@ #include <config.h> #endif -#include "db.h" +#include <glibmm/i18n.h> +#include <glibmm/fileutils.h> +#include <glibmm/miscutils.h> #include "dependency.h" +#include "db.h" #include "extension.h" #include "io/resource.h" -#include <glibmm/fileutils.h> -#include <glibmm/i18n.h> -#include <glibmm/miscutils.h> namespace Inkscape { namespace Extension { diff --git a/src/extension/effect.cpp b/src/extension/effect.cpp index d13444296..e475b58a0 100644 --- a/src/extension/effect.cpp +++ b/src/extension/effect.cpp @@ -9,14 +9,14 @@ */ #include "prefdialog.h" -#include "helper/action.h" #include "inkscape.h" +#include "helper/action.h" #include "ui/view/view.h" #include "desktop.h" +#include "implementation/implementation.h" #include "effect.h" #include "execution-env.h" -#include "implementation/implementation.h" #include "timer.h" diff --git a/src/extension/error-file.cpp b/src/extension/error-file.cpp index fb84b6c0b..20dcc0f5f 100644 --- a/src/extension/error-file.cpp +++ b/src/extension/error-file.cpp @@ -14,11 +14,11 @@ #include "ui/dialog/extensions.h" -#include "extension/extension.h" +#include <glibmm/i18n.h> #include "inkscape.h" -#include "io/resource.h" #include "preferences.h" -#include <glibmm/i18n.h> +#include "extension/extension.h" +#include "io/resource.h" #include "error-file.h" diff --git a/src/extension/execution-env.cpp b/src/extension/execution-env.cpp index 5a36da1a9..7e233d215 100644 --- a/src/extension/execution-env.cpp +++ b/src/extension/execution-env.cpp @@ -16,15 +16,15 @@ #include <gtkmm/messagedialog.h> #include "execution-env.h" -#include "implementation/implementation.h" #include "prefdialog.h" +#include "implementation/implementation.h" -#include "desktop.h" -#include "document-undo.h" -#include "document.h" +#include "selection.h" #include "effect.h" +#include "document.h" +#include "document-undo.h" +#include "desktop.h" #include "object/sp-namedview.h" -#include "selection.h" #include "display/sp-canvas.h" diff --git a/src/extension/extension.cpp b/src/extension/extension.cpp index 9d8466233..f07d334af 100644 --- a/src/extension/extension.cpp +++ b/src/extension/extension.cpp @@ -20,20 +20,20 @@ #endif #include <gtkmm/box.h> +#include <gtkmm/label.h> #include <gtkmm/frame.h> #include <gtkmm/grid.h> -#include <gtkmm/label.h> -#include "extension.h" -#include "extension/implementation/implementation.h" -#include "inkscape.h" #include <glibmm/i18n.h> +#include "inkscape.h" +#include "extension/implementation/implementation.h" +#include "extension.h" #include "db.h" #include "dependency.h" -#include "io/resource.h" -#include "param/parameter.h" #include "timer.h" +#include "param/parameter.h" +#include "io/resource.h" namespace Inkscape { namespace Extension { diff --git a/src/extension/implementation/implementation.cpp b/src/extension/implementation/implementation.cpp index 006b45745..6e6100d2b 100644 --- a/src/extension/implementation/implementation.cpp +++ b/src/extension/implementation/implementation.cpp @@ -15,12 +15,12 @@ #endif #include "implementation.h" -#include <extension/effect.h> -#include <extension/input.h> #include <extension/output.h> +#include <extension/input.h> +#include <extension/effect.h> -#include "desktop.h" #include "selection.h" +#include "desktop.h" namespace Inkscape { diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp index f206a535d..f25c8a5d6 100644 --- a/src/extension/implementation/script.cpp +++ b/src/extension/implementation/script.cpp @@ -13,12 +13,12 @@ */ #include <glibmm.h> -#include <glibmm/convert.h> -#include <glibmm/miscutils.h> -#include <gtkmm/main.h> #include <gtkmm/messagedialog.h> +#include <gtkmm/main.h> #include <gtkmm/scrolledwindow.h> #include <gtkmm/textview.h> +#include <glibmm/miscutils.h> +#include <glibmm/convert.h> #include <unistd.h> #include <errno.h> @@ -26,27 +26,27 @@ #include "desktop.h" -#include "extension/db.h" +#include "ui/dialog-events.h" #include "extension/effect.h" #include "extension/execution-env.h" -#include "extension/input.h" #include "extension/output.h" -#include "extension/system.h" +#include "extension/input.h" +#include "extension/db.h" #include "inkscape.h" #include "io/resource.h" -#include "object/sp-namedview.h" -#include "object/sp-path.h" #include "preferences.h" #include "script.h" #include "selection.h" -#include "ui/dialog-events.h" -#include "ui/tool/control-point-selection.h" -#include "ui/tool/multi-path-manipulator.h" -#include "ui/tool/path-manipulator.h" -#include "ui/tools/node-tool.h" +#include "object/sp-namedview.h" +#include "object/sp-path.h" +#include "extension/system.h" #include "ui/view/view.h" -#include "xml/attribute-record.h" #include "xml/node.h" +#include "xml/attribute-record.h" +#include "ui/tools/node-tool.h" +#include "ui/tool/multi-path-manipulator.h" +#include "ui/tool/path-manipulator.h" +#include "ui/tool/control-point-selection.h" #include "path-prefix.h" diff --git a/src/extension/implementation/xslt.cpp b/src/extension/implementation/xslt.cpp index 19ab5db6c..d11283db7 100644 --- a/src/extension/implementation/xslt.cpp +++ b/src/extension/implementation/xslt.cpp @@ -16,17 +16,17 @@ #include <config.h> #endif +#include <glibmm/fileutils.h> +#include "file.h" +#include "xslt.h" #include "../extension.h" #include "../output.h" #include "extension/input.h" -#include "file.h" -#include "xslt.h" -#include <glibmm/fileutils.h> -#include "document.h" #include "io/resource.h" -#include <cstring> #include <unistd.h> +#include <cstring> +#include "document.h" #include <libxslt/transform.h> #include <libxslt/xsltutils.h> diff --git a/src/extension/init.cpp b/src/extension/init.cpp index 2edb8a087..17c07ae1d 100644 --- a/src/extension/init.cpp +++ b/src/extension/init.cpp @@ -28,27 +28,27 @@ #include <glibmm/i18n.h> #include <glibmm/ustring.h> +#include "system.h" #include "db.h" -#include "internal/emf-inout.h" -#include "internal/emf-print.h" -# include "internal/svgz.h" +#include "internal/svgz.h" +# include "internal/emf-inout.h" +# include "internal/emf-print.h" # include "internal/wmf-inout.h" # include "internal/wmf-print.h" -# include "system.h" #ifdef HAVE_CAIRO_PDF +# include "internal/cairo-renderer-pdf-out.h" # include "internal/cairo-png-out.h" # include "internal/cairo-ps-out.h" -# include "internal/cairo-renderer-pdf-out.h" #endif -#include "internal/bluredge.h" -#include "internal/gdkpixbuf-input.h" -#include "internal/gimpgrad.h" -#include "internal/grid.h" +#include "internal/pov-out.h" #include "internal/javafx-out.h" +#include "internal/odf.h" #include "internal/latex-pstricks-out.h" #include "internal/latex-pstricks.h" -#include "internal/odf.h" -#include "internal/pov-out.h" +#include "internal/gdkpixbuf-input.h" +#include "internal/bluredge.h" +#include "internal/gimpgrad.h" +#include "internal/grid.h" #ifdef WITH_LIBWPG #include "internal/wpg-input.h" #endif @@ -58,14 +58,15 @@ #ifdef WITH_LIBCDR #include "internal/cdr-input.h" #endif -#include "io/resource.h" -#include "io/sys.h" #include "preferences.h" +#include "io/sys.h" +#include "io/resource.h" #ifdef WITH_DBUS #include "dbus/dbus-init.h" #endif #ifdef WITH_IMAGE_MAGICK +#include <Magick++.h> #include "internal/bitmap/adaptiveThreshold.h" #include "internal/bitmap/addNoise.h" #include "internal/bitmap/blur.h" @@ -98,7 +99,6 @@ #include "internal/bitmap/solarize.h" #include "internal/bitmap/spread.h" #include "internal/bitmap/swirl.h" -#include <Magick++.h> //#include "internal/bitmap/threshold.h" #include "internal/bitmap/unsharpmask.h" #include "internal/bitmap/wave.h" diff --git a/src/extension/input.cpp b/src/extension/input.cpp index 1d154496d..862d4a4d3 100644 --- a/src/extension/input.cpp +++ b/src/extension/input.cpp @@ -12,8 +12,8 @@ #include "prefdialog.h" #include "implementation/implementation.h" -#include "input.h" #include "timer.h" +#include "input.h" /* Inkscape::Extension::Input */ diff --git a/src/extension/internal/bitmap/colorize.cpp b/src/extension/internal/bitmap/colorize.cpp index e0db0ca71..1c4b8a696 100644 --- a/src/extension/internal/bitmap/colorize.cpp +++ b/src/extension/internal/bitmap/colorize.cpp @@ -15,8 +15,8 @@ #include "color.h" -#include <Magick++.h> #include <iostream> +#include <Magick++.h> namespace Inkscape { namespace Extension { diff --git a/src/extension/internal/bitmap/crop.cpp b/src/extension/internal/bitmap/crop.cpp index dee5f111b..99faef9d3 100644 --- a/src/extension/internal/bitmap/crop.cpp +++ b/src/extension/internal/bitmap/crop.cpp @@ -10,9 +10,9 @@ #include "extension/system.h" #include "crop.h" -#include "object/sp-item-transform.h" -#include "object/sp-item.h" #include "selection-chemistry.h" +#include "object/sp-item.h" +#include "object/sp-item-transform.h" #include <Magick++.h> namespace Inkscape { diff --git a/src/extension/internal/bitmap/imagemagick.cpp b/src/extension/internal/bitmap/imagemagick.cpp index f32afa2e5..636b9d6a4 100644 --- a/src/extension/internal/bitmap/imagemagick.cpp +++ b/src/extension/internal/bitmap/imagemagick.cpp @@ -14,8 +14,8 @@ #include <libintl.h> -#include <gtkmm/adjustment.h> #include <gtkmm/box.h> +#include <gtkmm/adjustment.h> #include <gtkmm/spinbutton.h> #include <glib/gstdio.h> diff --git a/src/extension/internal/bluredge.cpp b/src/extension/internal/bluredge.cpp index f446227cc..f04007d00 100644 --- a/src/extension/internal/bluredge.cpp +++ b/src/extension/internal/bluredge.cpp @@ -12,15 +12,15 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <vector> #include "desktop.h" #include "document.h" -#include "helper/action-context.h" +#include "selection.h" #include "helper/action.h" -#include "object/sp-item.h" -#include "path-chemistry.h" +#include "helper/action-context.h" #include "preferences.h" -#include "selection.h" -#include <vector> +#include "path-chemistry.h" +#include "object/sp-item.h" #include "extension/effect.h" #include "extension/system.h" diff --git a/src/extension/internal/cairo-png-out.cpp b/src/extension/internal/cairo-png-out.cpp index c4d33252d..3cdbee8c1 100644 --- a/src/extension/internal/cairo-png-out.cpp +++ b/src/extension/internal/cairo-png-out.cpp @@ -22,20 +22,20 @@ #include "cairo-png-out.h" #include "cairo-render-context.h" #include "cairo-renderer.h" -#include "display/drawing.h" +#include <print.h> +#include "extension/system.h" +#include "extension/print.h" #include "extension/db.h" #include "extension/output.h" -#include "extension/print.h" -#include "extension/system.h" -#include <print.h> +#include "display/drawing.h" -#include "display/canvas-bpath.h" #include "display/curve.h" +#include "display/canvas-bpath.h" #include "object/sp-item.h" #include "object/sp-root.h" -#include "document.h" #include "io/sys.h" +#include "document.h" namespace Inkscape { namespace Extension { diff --git a/src/extension/internal/cairo-ps-out.cpp b/src/extension/internal/cairo-ps-out.cpp index 08c748175..287cf636f 100644 --- a/src/extension/internal/cairo-ps-out.cpp +++ b/src/extension/internal/cairo-ps-out.cpp @@ -24,21 +24,21 @@ #include "cairo-ps-out.h" #include "cairo-render-context.h" #include "cairo-renderer.h" -#include "display/drawing.h" -#include "extension/db.h" -#include "extension/output.h" -#include "extension/print.h" -#include "extension/system.h" #include "latex-text-renderer.h" #include <print.h> +#include "extension/system.h" +#include "extension/print.h" +#include "extension/db.h" +#include "extension/output.h" +#include "display/drawing.h" -#include "display/canvas-bpath.h" #include "display/curve.h" +#include "display/canvas-bpath.h" #include "object/sp-item.h" #include "object/sp-root.h" -#include "document.h" #include "io/sys.h" +#include "document.h" namespace Inkscape { namespace Extension { diff --git a/src/extension/internal/cairo-render-context.cpp b/src/extension/internal/cairo-render-context.cpp index 8bdf25ee4..1878b2c89 100644 --- a/src/extension/internal/cairo-render-context.cpp +++ b/src/extension/internal/cairo-render-context.cpp @@ -25,26 +25,26 @@ #endif -#include <2geom/pathvector.h> -#include <errno.h> #include <signal.h> +#include <errno.h> +#include <2geom/pathvector.h> #include <glib.h> -#include "display/cairo-utils.h" -#include "display/canvas-bpath.h" -#include "display/curve.h" +#include <glibmm/i18n.h> #include "display/drawing.h" -#include "object/sp-clippath.h" -#include "object/sp-hatch.h" -#include "object/sp-item-group.h" +#include "display/curve.h" +#include "display/canvas-bpath.h" +#include "display/cairo-utils.h" #include "object/sp-item.h" +#include "object/sp-item-group.h" +#include "object/sp-hatch.h" #include "object/sp-linear-gradient.h" -#include "object/sp-mask.h" +#include "object/sp-radial-gradient.h" #include "object/sp-mesh-gradient.h" #include "object/sp-pattern.h" -#include "object/sp-radial-gradient.h" -#include <glibmm/i18n.h> +#include "object/sp-mask.h" +#include "object/sp-clippath.h" #include "util/units.h" #ifdef WIN32 diff --git a/src/extension/internal/cairo-renderer-pdf-out.cpp b/src/extension/internal/cairo-renderer-pdf-out.cpp index 91e152706..5b9759c15 100644 --- a/src/extension/internal/cairo-renderer-pdf-out.cpp +++ b/src/extension/internal/cairo-renderer-pdf-out.cpp @@ -23,21 +23,21 @@ #include "cairo-renderer-pdf-out.h" #include "cairo-render-context.h" #include "cairo-renderer.h" -#include "display/drawing.h" -#include "extension/db.h" -#include "extension/output.h" -#include "extension/print.h" -#include "extension/system.h" #include "latex-text-renderer.h" #include <print.h> +#include "extension/system.h" +#include "extension/print.h" +#include "extension/db.h" +#include "extension/output.h" +#include "display/drawing.h" -#include "display/canvas-bpath.h" #include "display/curve.h" +#include "display/canvas-bpath.h" #include "object/sp-item.h" #include "object/sp-root.h" -#include "document.h" #include <2geom/affine.h> +#include "document.h" #include "util/units.h" diff --git a/src/extension/internal/cairo-renderer.cpp b/src/extension/internal/cairo-renderer.cpp index ecaeeb5d2..b48be2ed7 100644 --- a/src/extension/internal/cairo-renderer.cpp +++ b/src/extension/internal/cairo-renderer.cpp @@ -25,48 +25,48 @@ #endif -#include <errno.h> #include <signal.h> +#include <errno.h> #include "libnrtype/Layout-TNG.h" -#include <2geom/pathvector.h> #include <2geom/transforms.h> +#include <2geom/pathvector.h> #include <glib.h> -#include "display/cairo-utils.h" -#include "display/canvas-bpath.h" +#include <glibmm/i18n.h> #include "display/curve.h" -#include "object/sp-clippath.h" -#include "object/sp-flowtext.h" -#include "object/sp-hatch-path.h" -#include "object/sp-image.h" -#include "object/sp-item-group.h" +#include "display/canvas-bpath.h" +#include "display/cairo-utils.h" #include "object/sp-item.h" -#include "object/sp-linear-gradient.h" +#include "object/sp-item-group.h" #include "object/sp-marker.h" -#include "object/sp-mask.h" -#include "object/sp-pattern.h" +#include "object/sp-linear-gradient.h" #include "object/sp-radial-gradient.h" #include "object/sp-root.h" #include "object/sp-shape.h" -#include "object/sp-symbol.h" -#include "object/sp-text.h" #include "object/sp-use.h" -#include <glibmm/i18n.h> +#include "object/sp-text.h" +#include "object/sp-flowtext.h" +#include "object/sp-hatch-path.h" +#include "object/sp-image.h" +#include "object/sp-symbol.h" +#include "object/sp-pattern.h" +#include "object/sp-mask.h" +#include "object/sp-clippath.h" -#include "helper/pixbuf-ops.h" -#include "helper/png-write.h" #include "util/units.h" +#include "helper/png-write.h" +#include "helper/pixbuf-ops.h" -#include "cairo-render-context.h" #include "cairo-renderer.h" +#include "cairo-render-context.h" #include "extension/system.h" #include "io/sys.h" -#include "document.h" #include <cairo.h> +#include "document.h" // include support for only the compiled-in surface types #ifdef CAIRO_HAS_PDF_SURFACE diff --git a/src/extension/internal/cdr-input.cpp b/src/extension/internal/cdr-input.cpp index 00165032d..bfba67282 100644 --- a/src/extension/internal/cdr-input.cpp +++ b/src/extension/internal/cdr-input.cpp @@ -13,15 +13,15 @@ * */ -#include "config.h" #include <stdio.h> +#include "config.h" #include "cdr-input.h" #ifdef WITH_LIBCDR -#include <cstring> #include <string> +#include <cstring> #include <libcdr/libcdr.h> @@ -43,11 +43,11 @@ #include <gtkmm/grid.h> #include <gtkmm/spinbutton.h> -#include "extension/input.h" #include "extension/system.h" +#include "extension/input.h" -#include "document-private.h" #include "document.h" +#include "document-private.h" #include "inkscape.h" #include "ui/dialog-events.h" diff --git a/src/extension/internal/emf-inout.cpp b/src/extension/internal/emf-inout.cpp index f5335eaf6..54099271b 100644 --- a/src/extension/internal/emf-inout.cpp +++ b/src/extension/internal/emf-inout.cpp @@ -27,29 +27,29 @@ # include "config.h" #endif -#include <3rdparty/libuemf/symbol_convert.h> -#include <stdint.h> #include <stdio.h> #include <stdlib.h> +#include <stdint.h> +#include <3rdparty/libuemf/symbol_convert.h> -#include "clear-n_.h" -#include "display/drawing-item.h" -#include "display/drawing.h" #include "document.h" +#include "object/sp-root.h" +#include "object/sp-path.h" +#include "print.h" +#include "extension/system.h" +#include "extension/print.h" #include "extension/db.h" #include "extension/input.h" #include "extension/output.h" -#include "extension/print.h" -#include "extension/system.h" -#include "inkscape.h" // even though it is included indirectly by emf-inout.h -#include "object/sp-path.h" -#include "object/sp-root.h" -#include "print.h" +#include "display/drawing.h" +#include "display/drawing-item.h" +#include "clear-n_.h" #include "svg/svg.h" #include "util/units.h" // even though it is included indirectly by emf-inout.h +#include "inkscape.h" // even though it is included indirectly by emf-inout.h -#include "emf-inout.h" #include "emf-print.h" +#include "emf-inout.h" #define PRINT_EMF "org.inkscape.print.emf" diff --git a/src/extension/internal/emf-print.cpp b/src/extension/internal/emf-print.cpp index dedd241a5..0b005f8da 100644 --- a/src/extension/internal/emf-print.cpp +++ b/src/extension/internal/emf-print.cpp @@ -26,42 +26,42 @@ # include "config.h" #endif -#include <2geom/curves.h> +#include <string.h> +#include <glibmm/miscutils.h> +#include <3rdparty/libuemf/symbol_convert.h> +#include <2geom/sbasis-to-bezier.h> #include <2geom/path.h> #include <2geom/pathvector.h> #include <2geom/rect.h> -#include <2geom/sbasis-to-bezier.h> -#include <3rdparty/libuemf/symbol_convert.h> -#include <glibmm/miscutils.h> -#include <string.h> +#include <2geom/curves.h> -#include "helper/geom-curves.h" #include "helper/geom.h" +#include "helper/geom-curves.h" #include "util/units.h" #include "inkscape-version.h" -#include "document.h" -#include "extension/print.h" #include "extension/system.h" +#include "extension/print.h" +#include "document.h" #include "path-prefix.h" -#include "display/cairo-utils.h" -#include "object/sp-clippath.h" -#include "object/sp-gradient.h" -#include "object/sp-image.h" -#include "object/sp-item.h" -#include "object/sp-linear-gradient.h" #include "object/sp-pattern.h" +#include "object/sp-image.h" +#include "object/sp-gradient.h" #include "object/sp-radial-gradient.h" +#include "object/sp-linear-gradient.h" +#include "object/sp-item.h" #include "object/sp-root.h" #include "object/sp-shape.h" +#include "object/sp-clippath.h" #include "style.h" +#include "display/cairo-utils.h" +#include "splivarot.h" // pieces for union on shapes #include "2geom/svg-path-parser.h" // to get from SVG text to Geom::Path -#include "display/cairo-utils.h" // for Inkscape::Pixbuf::PF_CAIRO #include "display/canvas-bpath.h" // for SPWindRule -#include "splivarot.h" // pieces for union on shapes +#include "display/cairo-utils.h" // for Inkscape::Pixbuf::PF_CAIRO #include "emf-print.h" diff --git a/src/extension/internal/filter/filter-file.cpp b/src/extension/internal/filter/filter-file.cpp index 962381da6..c18879430 100644 --- a/src/extension/internal/filter/filter-file.cpp +++ b/src/extension/internal/filter/filter-file.cpp @@ -7,21 +7,21 @@ #include "filter.h" -#include "io/inkscapestream.h" -#include "io/resource.h" #include "io/sys.h" +#include "io/resource.h" +#include "io/inkscapestream.h" /* Directory includes */ -#include "inkscape.h" #include "path-prefix.h" +#include "inkscape.h" /* Extension */ #include "extension/extension.h" #include "extension/system.h" /* System includes */ -#include <glibmm/fileutils.h> #include <glibmm/i18n.h> +#include <glibmm/fileutils.h> using namespace Inkscape::IO::Resource; diff --git a/src/extension/internal/filter/filter.cpp b/src/extension/internal/filter/filter.cpp index 99dfffc6c..166e5406f 100644 --- a/src/extension/internal/filter/filter.cpp +++ b/src/extension/internal/filter/filter.cpp @@ -8,15 +8,15 @@ */ #include "desktop.h" +#include "selection.h" #include "document-private.h" -#include "extension/effect.h" #include "extension/extension.h" +#include "extension/effect.h" #include "extension/system.h" -#include "object/sp-defs.h" -#include "selection.h" -#include "xml/attribute-record.h" #include "xml/repr.h" #include "xml/simple-node.h" +#include "xml/attribute-record.h" +#include "object/sp-defs.h" #include "filter.h" diff --git a/src/extension/internal/gdkpixbuf-input.cpp b/src/extension/internal/gdkpixbuf-input.cpp index 7cfaded41..efac1a02e 100644 --- a/src/extension/internal/gdkpixbuf-input.cpp +++ b/src/extension/internal/gdkpixbuf-input.cpp @@ -2,21 +2,21 @@ #include <gdkmm/pixbuf.h> #include <gdkmm/pixbufformat.h> +#include <glib/gprintf.h> +#include <glibmm/i18n.h> #include "dir-util.h" #include "display/cairo-utils.h" #include "document-private.h" #include "document-undo.h" #include "extension/input.h" #include "extension/system.h" -#include "gdkpixbuf-input.h" #include "image-resolution.h" -#include "object/sp-image.h" -#include "object/sp-root.h" +#include "gdkpixbuf-input.h" #include "preferences.h" #include "selection-chemistry.h" +#include "object/sp-image.h" +#include "object/sp-root.h" #include "util/units.h" -#include <glib/gprintf.h> -#include <glibmm/i18n.h> #include <set> namespace Inkscape { diff --git a/src/extension/internal/gimpgrad.cpp b/src/extension/internal/gimpgrad.cpp index fbae04ca5..e6a429d34 100644 --- a/src/extension/internal/gimpgrad.cpp +++ b/src/extension/internal/gimpgrad.cpp @@ -16,17 +16,17 @@ # include <config.h> #endif +#include <color-rgba.h> #include "io/sys.h" #include "extension/system.h" #include "svg/css-ostringstream.h" #include "svg/svg-color.h" -#include <color-rgba.h> -#include "document.h" -#include "extension/extension.h" #include "gimpgrad.h" #include "streq.h" #include "strneq.h" +#include "document.h" +#include "extension/extension.h" namespace Inkscape { namespace Extension { diff --git a/src/extension/internal/grid.cpp b/src/extension/internal/grid.cpp index e77525f1b..c7ebf2494 100644 --- a/src/extension/internal/grid.cpp +++ b/src/extension/internal/grid.cpp @@ -15,15 +15,15 @@ # include <config.h> #endif -#include <gtkmm/adjustment.h> #include <gtkmm/box.h> +#include <gtkmm/adjustment.h> #include <gtkmm/spinbutton.h> #include "desktop.h" -#include "2geom/geom.h" #include "document.h" #include "selection.h" +#include "2geom/geom.h" #include "svg/path-string.h" diff --git a/src/extension/internal/javafx-out.cpp b/src/extension/internal/javafx-out.cpp index 7608454e7..d4666fcee 100644 --- a/src/extension/internal/javafx-out.cpp +++ b/src/extension/internal/javafx-out.cpp @@ -21,31 +21,31 @@ # include <config.h> #endif -#include "helper/geom-curves.h" -#include "helper/geom.h" +#include <glibmm/miscutils.h> #include "javafx-out.h" -#include <2geom/curves.h> -#include <2geom/pathvector.h> -#include <2geom/rect.h> -#include <display/canvas-bpath.h> +#include <inkscape.h> +#include <inkscape-version.h> #include <display/curve.h> +#include <display/canvas-bpath.h> +#include <svg/svg.h> #include <extension/system.h> -#include <glibmm/miscutils.h> -#include <inkscape-version.h> -#include <inkscape.h> +#include <2geom/pathvector.h> +#include <2geom/rect.h> +#include <2geom/curves.h> +#include "helper/geom.h" +#include "helper/geom-curves.h" #include <io/sys.h> -#include <svg/svg.h> -#include "object/sp-linear-gradient.h" +#include "object/sp-root.h" #include "object/sp-path.h" +#include "object/sp-linear-gradient.h" #include "object/sp-radial-gradient.h" -#include "object/sp-root.h" #include "style.h" -#include "extension/extension.h" -#include <stdarg.h> -#include <stdio.h> #include <string> +#include <stdio.h> +#include <stdarg.h> +#include "extension/extension.h" namespace Inkscape diff --git a/src/extension/internal/latex-pstricks-out.cpp b/src/extension/internal/latex-pstricks-out.cpp index 8d2e67c43..0581f8edd 100644 --- a/src/extension/internal/latex-pstricks-out.cpp +++ b/src/extension/internal/latex-pstricks-out.cpp @@ -13,12 +13,12 @@ # include <config.h> #endif #include "latex-pstricks-out.h" -#include "display/drawing.h" -#include "extension/db.h" -#include "extension/print.h" +#include <print.h> #include "extension/system.h" +#include "extension/print.h" +#include "extension/db.h" +#include "display/drawing.h" #include "object/sp-root.h" -#include <print.h> #include "document.h" diff --git a/src/extension/internal/latex-pstricks.cpp b/src/extension/internal/latex-pstricks.cpp index 23dcd002f..83100d11e 100644 --- a/src/extension/internal/latex-pstricks.cpp +++ b/src/extension/internal/latex-pstricks.cpp @@ -15,21 +15,21 @@ #endif -#include "helper/geom-curves.h" -#include "util/units.h" -#include <2geom/curves.h> #include <2geom/pathvector.h> #include <2geom/sbasis-to-bezier.h> +#include <2geom/curves.h> #include <errno.h> #include <signal.h> +#include "util/units.h" +#include "helper/geom-curves.h" -#include "document.h" #include "extension/print.h" #include "extension/system.h" #include "inkscape-version.h" #include "io/sys.h" #include "latex-pstricks.h" #include "style.h" +#include "document.h" #include <cstring> namespace Inkscape { diff --git a/src/extension/internal/latex-text-renderer.cpp b/src/extension/internal/latex-text-renderer.cpp index b16c78826..85426e376 100644 --- a/src/extension/internal/latex-text-renderer.cpp +++ b/src/extension/internal/latex-text-renderer.cpp @@ -21,21 +21,21 @@ #include "latex-text-renderer.h" -#include <errno.h> #include <signal.h> +#include <errno.h> #include "libnrtype/Layout-TNG.h" -#include <2geom/rect.h> #include <2geom/transforms.h> +#include <2geom/rect.h> #include <glibmm/i18n.h> -#include "object/sp-flowtext.h" -#include "object/sp-item-group.h" #include "object/sp-item.h" -#include "object/sp-rect.h" +#include "object/sp-item-group.h" #include "object/sp-root.h" -#include "object/sp-text.h" #include "object/sp-use.h" +#include "object/sp-text.h" +#include "object/sp-flowtext.h" +#include "object/sp-rect.h" #include "style.h" #include "text-editing.h" @@ -45,9 +45,9 @@ #include "extension/output.h" #include "extension/system.h" -#include "document.h" #include "inkscape-version.h" #include "io/sys.h" +#include "document.h" namespace Inkscape { namespace Extension { diff --git a/src/extension/internal/metafile-inout.cpp b/src/extension/internal/metafile-inout.cpp index 2d8d17cfe..ae79c8a8a 100644 --- a/src/extension/internal/metafile-inout.cpp +++ b/src/extension/internal/metafile-inout.cpp @@ -18,18 +18,18 @@ #include <glibmm/miscutils.h> #include "display/curve.h" -#include "document-undo.h" -#include "document.h" #include "extension/internal/metafile-inout.h" // picks up PNG #include "extension/print.h" -#include "inkscape.h" #include "path-prefix.h" -#include "preferences.h" -#include "ui/shape-editor.h" +#include "document.h" #include "util/units.h" +#include "ui/shape-editor.h" +#include "document-undo.h" +#include "inkscape.h" +#include "preferences.h" -#include "object/sp-namedview.h" #include "object/sp-root.h" +#include "object/sp-namedview.h" #include "svg/stringstream.h" namespace Inkscape { diff --git a/src/extension/internal/metafile-print.cpp b/src/extension/internal/metafile-print.cpp index 43e605491..fb44f8499 100644 --- a/src/extension/internal/metafile-print.cpp +++ b/src/extension/internal/metafile-print.cpp @@ -12,22 +12,22 @@ # include "config.h" #endif -#include <2geom/curves.h> -#include <2geom/rect.h> -#include <2geom/svg-path-parser.h> #include <cstring> #include <fstream> #include <glib.h> #include <glibmm/miscutils.h> +#include <2geom/rect.h> +#include <2geom/curves.h> +#include <2geom/svg-path-parser.h> #include "extension/internal/metafile-print.h" #include "extension/print.h" +#include "path-prefix.h" #include "object/sp-gradient.h" #include "object/sp-image.h" #include "object/sp-linear-gradient.h" #include "object/sp-pattern.h" #include "object/sp-radial-gradient.h" -#include "path-prefix.h" #include "style.h" namespace Inkscape { diff --git a/src/extension/internal/odf.cpp b/src/extension/internal/odf.cpp index 689bd0101..42c2bbae3 100644 --- a/src/extension/internal/odf.cpp +++ b/src/extension/internal/odf.cpp @@ -44,48 +44,48 @@ #include "odf.h" //# System includes -#include <math.h> #include <stdio.h> #include <time.h> #include <vector> +#include <math.h> //# Inkscape includes #include "clear-n_.h" -#include "display/curve.h" -#include "extension/system.h" -#include "helper/geom-curves.h" #include "inkscape.h" -#include <2geom/curves.h> +#include "display/curve.h" #include <2geom/pathvector.h> +#include <2geom/curves.h> #include <2geom/transforms.h> #include <helper/geom.h> +#include "helper/geom-curves.h" +#include "extension/system.h" -#include "object/sp-flowtext.h" -#include "object/sp-gradient.h" +#include "xml/repr.h" +#include "xml/attribute-record.h" #include "object/sp-image.h" +#include "object/sp-gradient.h" +#include "object/sp-stop.h" #include "object/sp-linear-gradient.h" -#include "object/sp-path.h" #include "object/sp-radial-gradient.h" -#include "object/sp-stop.h" +#include "object/sp-path.h" #include "object/sp-text.h" +#include "object/sp-flowtext.h" #include "object/uri.h" #include "style.h" -#include "xml/attribute-record.h" -#include "xml/repr.h" #include "svg/svg.h" #include "text-editing.h" #include "util/units.h" +#include "inkscape-version.h" #include "document.h" #include "extension/extension.h" -#include "inkscape-version.h" -#include "io/bufferstream.h" #include "io/inkscapestream.h" -#include <iomanip> +#include "io/bufferstream.h" #include <util/ziptool.h> +#include <iomanip> namespace Inkscape { namespace Extension diff --git a/src/extension/internal/pdfinput/pdf-input.cpp b/src/extension/internal/pdfinput/pdf-input.cpp index 1f37befaa..552051eed 100644 --- a/src/extension/internal/pdfinput/pdf-input.cpp +++ b/src/extension/internal/pdfinput/pdf-input.cpp @@ -18,17 +18,17 @@ #include "pdf-input.h" #ifdef HAVE_POPPLER -#include <poppler/Catalog.h> +#include <poppler/goo/GooString.h> #include <poppler/ErrorCodes.h> #include <poppler/GlobalParams.h> #include <poppler/PDFDoc.h> #include <poppler/Page.h> -#include <poppler/goo/GooString.h> +#include <poppler/Catalog.h> #ifdef HAVE_POPPLER_CAIRO +#include <poppler/glib/poppler.h> #include <poppler/glib/poppler-document.h> #include <poppler/glib/poppler-page.h> -#include <poppler/glib/poppler.h> #endif #include <gtkmm/checkbutton.h> @@ -39,18 +39,18 @@ #include <gtkmm/scale.h> #include <glibmm/convert.h> -#include <glibmm/i18n.h> #include <glibmm/miscutils.h> #include <gtk/gtk.h> +#include <glibmm/i18n.h> #include "ui/dialog-events.h" -#include "ui/widget/frame.h" #include "ui/widget/spinbutton.h" +#include "ui/widget/frame.h" -#include "extension/input.h" #include "extension/system.h" -#include "pdf-parser.h" +#include "extension/input.h" #include "svg-builder.h" +#include "pdf-parser.h" #include "document-private.h" #include "document-undo.h" diff --git a/src/extension/internal/pdfinput/pdf-parser.cpp b/src/extension/internal/pdfinput/pdf-parser.cpp index 2bc7ada12..6c498f981 100644 --- a/src/extension/internal/pdfinput/pdf-parser.cpp +++ b/src/extension/internal/pdfinput/pdf-parser.cpp @@ -23,36 +23,36 @@ extern "C" { -#include <math.h> -#include <stddef.h> -#include <stdio.h> #include <stdlib.h> +#include <stdio.h> +#include <stddef.h> #include <string.h> +#include <math.h> } +#include "svg-builder.h" #include "Gfx.h" #include "pdf-parser.h" -#include "svg-builder.h" #include "util/units.h" -#include "Annot.h" -#include "Array.h" +#include "goo/gmem.h" +#include "goo/GooTimer.h" +#include "goo/GooHash.h" +#include "GlobalParams.h" #include "CharTypes.h" +#include "Object.h" +#include "Array.h" #include "Dict.h" -#include "Error.h" +#include "Stream.h" +#include "Lexer.h" +#include "Parser.h" #include "GfxFont.h" #include "GfxState.h" -#include "GlobalParams.h" -#include "Lexer.h" -#include "Object.h" #include "OutputDev.h" #include "Page.h" -#include "Parser.h" -#include "Stream.h" -#include "goo/GooHash.h" -#include "goo/GooTimer.h" -#include "goo/gmem.h" +#include "Annot.h" +#include "Error.h" // the MSVC math.h doesn't define this #ifndef M_PI diff --git a/src/extension/internal/pdfinput/svg-builder.cpp b/src/extension/internal/pdfinput/svg-builder.cpp index 1f3c76b3a..8e5a5f639 100644 --- a/src/extension/internal/pdfinput/svg-builder.cpp +++ b/src/extension/internal/pdfinput/svg-builder.cpp @@ -19,34 +19,34 @@ #ifdef HAVE_POPPLER -#include "pdf-parser.h" #include "svg-builder.h" +#include "pdf-parser.h" #include <png.h> -#include "color.h" -#include "display/nr-filter-utils.h" #include "document-private.h" -#include "io/base64stream.h" -#include "io/stringstream.h" -#include "libnrtype/font-instance.h" -#include "object/sp-defs.h" -#include "svg/css-ostringstream.h" -#include "svg/path-string.h" -#include "svg/svg-color.h" -#include "svg/svg.h" -#include "util/units.h" #include "xml/document.h" #include "xml/node.h" #include "xml/repr.h" +#include "svg/svg.h" +#include "svg/path-string.h" +#include "svg/css-ostringstream.h" +#include "svg/svg-color.h" +#include "color.h" +#include "util/units.h" +#include "io/stringstream.h" +#include "io/base64stream.h" +#include "display/nr-filter-utils.h" +#include "libnrtype/font-instance.h" +#include "object/sp-defs.h" #include "Function.h" -#include "GfxFont.h" #include "GfxState.h" -#include "GlobalParams.h" -#include "Page.h" +#include "GfxFont.h" #include "Stream.h" +#include "Page.h" #include "UnicodeMap.h" +#include "GlobalParams.h" namespace Inkscape { namespace Extension { diff --git a/src/extension/internal/pov-out.cpp b/src/extension/internal/pov-out.cpp index a53133e8d..15acb97ec 100644 --- a/src/extension/internal/pov-out.cpp +++ b/src/extension/internal/pov-out.cpp @@ -22,26 +22,26 @@ # include <config.h> #endif #include "pov-out.h" -#include "helper/geom-curves.h" -#include "helper/geom.h" -#include <2geom/curves.h> -#include <2geom/pathvector.h> -#include <2geom/rect.h> +#include <inkscape.h> +#include <inkscape-version.h> #include <display/curve.h> #include <extension/system.h> -#include <inkscape-version.h> -#include <inkscape.h> +#include <2geom/pathvector.h> +#include <2geom/rect.h> +#include <2geom/curves.h> +#include "helper/geom.h" +#include "helper/geom-curves.h" #include <io/sys.h> -#include "object/sp-path.h" #include "object/sp-root.h" +#include "object/sp-path.h" #include "style.h" +#include <string> +#include <stdio.h> +#include <stdarg.h> #include "document.h" #include "extension/extension.h" -#include <stdarg.h> -#include <stdio.h> -#include <string> namespace Inkscape diff --git a/src/extension/internal/svg.cpp b/src/extension/internal/svg.cpp index 780f8d6bc..7bf4f34e6 100644 --- a/src/extension/internal/svg.cpp +++ b/src/extension/internal/svg.cpp @@ -18,17 +18,17 @@ # include <config.h> #endif -#include <giomm/file.h> #include <vector> +#include <giomm/file.h> -#include "document.h" -#include "extension/output.h" -#include "extension/system.h" -#include "file.h" #include "svg.h" +#include "file.h" +#include "extension/system.h" +#include "extension/output.h" #include "xml/attribute-record.h" #include "xml/simple-document.h" +#include "document.h" namespace Inkscape { namespace Extension { diff --git a/src/extension/internal/vsd-input.cpp b/src/extension/internal/vsd-input.cpp index 6069fc2af..7c92a895d 100644 --- a/src/extension/internal/vsd-input.cpp +++ b/src/extension/internal/vsd-input.cpp @@ -13,15 +13,15 @@ * */ -#include "config.h" #include <stdio.h> +#include "config.h" #include "vsd-input.h" #ifdef WITH_LIBVISIO -#include <cstring> #include <string> +#include <cstring> #include <libvisio/libvisio.h> @@ -42,11 +42,11 @@ #include <gtkmm/spinbutton.h> -#include "extension/input.h" #include "extension/system.h" +#include "extension/input.h" -#include "document-private.h" #include "document.h" +#include "document-private.h" #include "inkscape.h" #include "ui/dialog-events.h" diff --git a/src/extension/internal/wmf-inout.cpp b/src/extension/internal/wmf-inout.cpp index 7d810b456..45f59ec03 100644 --- a/src/extension/internal/wmf-inout.cpp +++ b/src/extension/internal/wmf-inout.cpp @@ -28,26 +28,26 @@ #endif //#include <png.h> //This must precede text_reassemble.h or it blows up in pngconf.h when compiling -#include <3rdparty/libuemf/symbol_convert.h> -#include <stdint.h> #include <stdio.h> #include <stdlib.h> +#include <stdint.h> +#include <3rdparty/libuemf/symbol_convert.h> -#include "clear-n_.h" -#include "display/drawing-item.h" -#include "display/drawing.h" #include "document.h" +#include "object/sp-root.h" // even though it is included indirectly by wmf-inout.h +#include "object/sp-path.h" +#include "print.h" +#include "extension/system.h" +#include "extension/print.h" #include "extension/db.h" #include "extension/input.h" #include "extension/output.h" -#include "extension/print.h" -#include "extension/system.h" -#include "inkscape.h" // even though it is included indirectly by wmf-inout.h -#include "object/sp-path.h" -#include "object/sp-root.h" // even though it is included indirectly by wmf-inout.h -#include "print.h" +#include "display/drawing.h" +#include "display/drawing-item.h" +#include "clear-n_.h" #include "svg/svg.h" #include "util/units.h" // even though it is included indirectly by wmf-inout.h +#include "inkscape.h" // even though it is included indirectly by wmf-inout.h #include "wmf-inout.h" diff --git a/src/extension/internal/wmf-print.cpp b/src/extension/internal/wmf-print.cpp index feb6e78de..cdc59298b 100644 --- a/src/extension/internal/wmf-print.cpp +++ b/src/extension/internal/wmf-print.cpp @@ -29,42 +29,42 @@ #endif -#include <2geom/elliptical-arc.h> #include <2geom/sbasis-to-bezier.h> +#include <2geom/elliptical-arc.h> -#include "helper/geom-curves.h" -#include "helper/geom.h" -#include <2geom/curves.h> #include <2geom/path.h> #include <2geom/pathvector.h> #include <2geom/rect.h> +#include <2geom/curves.h> +#include "helper/geom.h" +#include "helper/geom-curves.h" #include "inkscape-version.h" #include "util/units.h" -#include "document.h" -#include "extension/print.h" #include "extension/system.h" +#include "extension/print.h" +#include "document.h" #include "path-prefix.h" -#include "object/sp-gradient.h" -#include "object/sp-image.h" -#include "object/sp-item.h" -#include "object/sp-linear-gradient.h" #include "object/sp-pattern.h" +#include "object/sp-image.h" +#include "object/sp-gradient.h" #include "object/sp-radial-gradient.h" +#include "object/sp-linear-gradient.h" #include "object/sp-root.h" +#include "object/sp-item.h" -#include "display/cairo-utils.h" // for Inkscape::Pixbuf::PF_CAIRO -#include "display/canvas-bpath.h" // for SPWindRule #include "splivarot.h" // pieces for union on shapes #include <2geom/svg-path-parser.h> // to get from SVG text to Geom::Path +#include "display/canvas-bpath.h" // for SPWindRule +#include "display/cairo-utils.h" // for Inkscape::Pixbuf::PF_CAIRO #include "wmf-print.h" -#include <3rdparty/libuemf/symbol_convert.h> #include <string.h> +#include <3rdparty/libuemf/symbol_convert.h> namespace Inkscape { namespace Extension { diff --git a/src/extension/internal/wpg-input.cpp b/src/extension/internal/wpg-input.cpp index 8a4f0d24c..2f3bfe27b 100644 --- a/src/extension/internal/wpg-input.cpp +++ b/src/extension/internal/wpg-input.cpp @@ -39,17 +39,17 @@ * Corel Corporation or Corel Corporation Limited." */ -#include "config.h" #include <stdio.h> +#include "config.h" #ifdef WITH_LIBWPG -#include "document.h" -#include "extension/input.h" +#include "wpg-input.h" #include "extension/system.h" +#include "extension/input.h" +#include "document.h" #include "object/sp-root.h" #include "util/units.h" -#include "wpg-input.h" #include <cstring> // Take a guess and fallback to 0.2.x if no configure has run diff --git a/src/extension/loader.cpp b/src/extension/loader.cpp index 0343fe28b..164a5cecf 100644 --- a/src/extension/loader.cpp +++ b/src/extension/loader.cpp @@ -13,10 +13,10 @@ #include <gmodule.h> -#include "dependency.h" -#include "inkscape-version.h" #include "system.h" #include <string.h> +#include "dependency.h" +#include "inkscape-version.h" namespace Inkscape { namespace Extension { diff --git a/src/extension/param/bool.cpp b/src/extension/param/bool.cpp index 1fe5d9eeb..80bc89138 100644 --- a/src/extension/param/bool.cpp +++ b/src/extension/param/bool.cpp @@ -12,13 +12,13 @@ #include <gtkmm/adjustment.h> #include <gtkmm/box.h> -#include <gtkmm/checkbutton.h> #include <gtkmm/spinbutton.h> +#include <gtkmm/checkbutton.h> +#include "xml/node.h" #include "../extension.h" #include "bool.h" #include "preferences.h" -#include "xml/node.h" namespace Inkscape { namespace Extension { diff --git a/src/extension/param/color.cpp b/src/extension/param/color.cpp index 0db3955f3..035c43ba8 100644 --- a/src/extension/param/color.cpp +++ b/src/extension/param/color.cpp @@ -23,9 +23,9 @@ #include "../extension.h" #include "color.h" -#include "preferences.h" -#include "ui/widget/color-notebook.h" #include <color.h> +#include "ui/widget/color-notebook.h" +#include "preferences.h" namespace Inkscape { namespace Extension { diff --git a/src/extension/param/description.cpp b/src/extension/param/description.cpp index ed89baae3..cf94918f7 100644 --- a/src/extension/param/description.cpp +++ b/src/extension/param/description.cpp @@ -13,15 +13,15 @@ # include "config.h" #endif +#include <gtkmm/box.h> +#include <gtkmm/label.h> #include <glibmm/i18n.h> #include <glibmm/markup.h> #include <glibmm/regex.h> -#include <gtkmm/box.h> -#include <gtkmm/label.h> -#include "description.h" -#include "extension/extension.h" #include "xml/node.h" +#include "extension/extension.h" +#include "description.h" namespace Inkscape { namespace Extension { diff --git a/src/extension/param/enum.cpp b/src/extension/param/enum.cpp index 353960746..ddcbb358b 100644 --- a/src/extension/param/enum.cpp +++ b/src/extension/param/enum.cpp @@ -18,15 +18,15 @@ # include "config.h" #endif -#include <glibmm/i18n.h> #include <gtkmm/box.h> #include <gtkmm/comboboxtext.h> +#include <glibmm/i18n.h> +#include "xml/node.h" +#include "extension/extension.h" #include "document-private.h" #include "enum.h" -#include "extension/extension.h" #include "preferences.h" -#include "xml/node.h" namespace Inkscape { namespace Extension { diff --git a/src/extension/param/float.cpp b/src/extension/param/float.cpp index 205c95097..1dd3f073b 100644 --- a/src/extension/param/float.cpp +++ b/src/extension/param/float.cpp @@ -10,16 +10,16 @@ # include "config.h" #endif -#include "ui/widget/spin-scale.h" -#include "ui/widget/spinbutton.h" #include <gtkmm/adjustment.h> #include <gtkmm/box.h> #include <gtkmm/scale.h> +#include "ui/widget/spinbutton.h" +#include "ui/widget/spin-scale.h" +#include "xml/node.h" #include "extension/extension.h" -#include "float.h" #include "preferences.h" -#include "xml/node.h" +#include "float.h" namespace Inkscape { namespace Extension { diff --git a/src/extension/param/int.cpp b/src/extension/param/int.cpp index d762399d0..9ad9b591c 100644 --- a/src/extension/param/int.cpp +++ b/src/extension/param/int.cpp @@ -10,16 +10,16 @@ # include "config.h" #endif -#include "ui/widget/spin-scale.h" -#include "ui/widget/spinbutton.h" #include <gtkmm/adjustment.h> #include <gtkmm/box.h> #include <gtkmm/scale.h> +#include "ui/widget/spinbutton.h" +#include "ui/widget/spin-scale.h" +#include "xml/node.h" #include "extension/extension.h" -#include "int.h" #include "preferences.h" -#include "xml/node.h" +#include "int.h" namespace Inkscape { namespace Extension { diff --git a/src/extension/param/notebook.cpp b/src/extension/param/notebook.cpp index 6b705877a..e47644f45 100644 --- a/src/extension/param/notebook.cpp +++ b/src/extension/param/notebook.cpp @@ -18,16 +18,16 @@ #include <gtkmm/adjustment.h> #include <gtkmm/box.h> -#include <gtkmm/notebook.h> #include <gtkmm/spinbutton.h> +#include <gtkmm/notebook.h> #include <glibmm/i18n.h> #include <xml/node.h> -#include "document-private.h" -#include "preferences.h" #include <extension/extension.h> +#include "preferences.h" +#include "document-private.h" #include "notebook.h" diff --git a/src/extension/param/parameter.cpp b/src/extension/param/parameter.cpp index aba31d1a4..7220045c4 100644 --- a/src/extension/param/parameter.cpp +++ b/src/extension/param/parameter.cpp @@ -24,11 +24,12 @@ #include "ui/widget/color-notebook.h" #include <xml/node.h> +#include <extension/extension.h> #include "document-private.h" #include "object/sp-defs.h" #include <color.h> -#include <extension/extension.h> +#include "parameter.h" #include "bool.h" #include "color.h" #include "description.h" @@ -36,7 +37,6 @@ #include "float.h" #include "int.h" #include "notebook.h" -#include "parameter.h" #include "radiobutton.h" #include "string.h" diff --git a/src/extension/param/radiobutton.cpp b/src/extension/param/radiobutton.cpp index 86fd528dd..890b92219 100644 --- a/src/extension/param/radiobutton.cpp +++ b/src/extension/param/radiobutton.cpp @@ -18,15 +18,15 @@ # include "config.h" #endif -#include <glibmm/i18n.h> #include <gtkmm/box.h> #include <gtkmm/comboboxtext.h> #include <gtkmm/radiobutton.h> +#include <glibmm/i18n.h> -#include "document-private.h" +#include "xml/node.h" #include "extension/extension.h" #include "preferences.h" -#include "xml/node.h" +#include "document-private.h" #include "radiobutton.h" diff --git a/src/extension/param/string.cpp b/src/extension/param/string.cpp index f16d7ccaf..51b5dfdf3 100644 --- a/src/extension/param/string.cpp +++ b/src/extension/param/string.cpp @@ -16,10 +16,10 @@ #include <glibmm/value.h> +#include "xml/node.h" #include "extension/extension.h" -#include "preferences.h" #include "string.h" -#include "xml/node.h" +#include "preferences.h" #include <glibmm/i18n.h> namespace Inkscape { diff --git a/src/extension/patheffect.cpp b/src/extension/patheffect.cpp index 634035043..1e9e093ef 100644 --- a/src/extension/patheffect.cpp +++ b/src/extension/patheffect.cpp @@ -9,8 +9,8 @@ #include "document-private.h" -#include "db.h" #include "patheffect.h" +#include "db.h" #include "object/sp-defs.h" diff --git a/src/extension/prefdialog.cpp b/src/extension/prefdialog.cpp index 3ec08f7c5..0247e18e9 100644 --- a/src/extension/prefdialog.cpp +++ b/src/extension/prefdialog.cpp @@ -8,16 +8,16 @@ */ #include "prefdialog.h" -#include <glibmm/i18n.h> #include <gtkmm/checkbutton.h> #include <gtkmm/separator.h> +#include <glibmm/i18n.h> #include "ui/dialog-events.h" #include "xml/repr.h" // Used to get SP_ACTIVE_DESKTOP -#include "desktop.h" #include "inkscape.h" +#include "desktop.h" #include "effect.h" #include "implementation/implementation.h" diff --git a/src/extension/system.cpp b/src/extension/system.cpp index f35cd559c..f438d84b9 100644 --- a/src/extension/system.cpp +++ b/src/extension/system.cpp @@ -22,22 +22,22 @@ #include "ui/interface.h" -#include "db.h" -#include "document-undo.h" -#include "effect.h" +#include "system.h" +#include "preferences.h" #include "extension.h" -#include "implementation/script.h" -#include "implementation/xslt.h" -#include "inkscape.h" +#include "db.h" #include "input.h" -#include "io/sys.h" -#include "loader.h" #include "output.h" +#include "effect.h" #include "patheffect.h" -#include "preferences.h" #include "print.h" -#include "system.h" +#include "implementation/script.h" +#include "implementation/xslt.h" #include "xml/rebase-hrefs.h" +#include "io/sys.h" +#include "inkscape.h" +#include "document-undo.h" +#include "loader.h" #include <glibmm/miscutils.h> diff --git a/src/extract-uri.cpp b/src/extract-uri.cpp index 50ecfcd6a..a25c8bb70 100644 --- a/src/extract-uri.cpp +++ b/src/extract-uri.cpp @@ -1,5 +1,5 @@ -#include <glib.h> #include <string.h> +#include <glib.h> #include "extract-uri.h" diff --git a/src/file-update.cpp b/src/file-update.cpp index fe78981f9..0585fa875 100644 --- a/src/file-update.cpp +++ b/src/file-update.cpp @@ -30,8 +30,8 @@ #include "display/canvas-grid.h" -#include "extension/db.h" #include "extension/effect.h" +#include "extension/db.h" #include "extension/input.h" #include "extension/output.h" #include "extension/system.h" diff --git a/src/filter-chemistry.cpp b/src/filter-chemistry.cpp index 700aff708..2ab7aff48 100644 --- a/src/filter-chemistry.cpp +++ b/src/filter-chemistry.cpp @@ -17,17 +17,17 @@ #include <cstring> #include <glibmm.h> -#include "desktop-style.h" #include "document-private.h" +#include "desktop-style.h" #include "filter-chemistry.h" #include "filter-enums.h" -#include "object/filters/blend.h" -#include "object/filters/gaussian-blur.h" #include "object/sp-defs.h" #include "object/sp-item.h" #include "style.h" +#include "object/filters/blend.h" +#include "object/filters/gaussian-blur.h" /** * Count how many times the filter is used by the styles of o and its diff --git a/src/gc-anchored.cpp b/src/gc-anchored.cpp index aa7acd1a0..3ce6eff7b 100644 --- a/src/gc-anchored.cpp +++ b/src/gc-anchored.cpp @@ -9,12 +9,12 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <typeinfo> #include "gc-anchored.h" -#include "debug/demangle.h" #include "debug/event-tracker.h" #include "debug/simple-event.h" +#include "debug/demangle.h" #include "util/format.h" -#include <typeinfo> namespace Inkscape { diff --git a/src/gc-finalized.cpp b/src/gc-finalized.cpp index fdbc2bd1a..1deadcb1f 100644 --- a/src/gc-finalized.cpp +++ b/src/gc-finalized.cpp @@ -13,11 +13,11 @@ * */ +#include <typeinfo> #include "debug/simple-event.h" #include "debug/event-tracker.h" -#include "gc-finalized.h" #include "util/format.h" -#include <typeinfo> +#include "gc-finalized.h" namespace Inkscape { diff --git a/src/gradient-chemistry.cpp b/src/gradient-chemistry.cpp index cfea9fed8..110aa8b38 100644 --- a/src/gradient-chemistry.cpp +++ b/src/gradient-chemistry.cpp @@ -20,10 +20,10 @@ #include <glibmm/i18n.h> +#include <2geom/transforms.h> #include <2geom/bezier-curve.h> #include <2geom/crossing.h> #include <2geom/line.h> -#include <2geom/transforms.h> #include "desktop-style.h" #include "desktop.h" @@ -44,9 +44,9 @@ #include "object/sp-tspan.h" #include "style.h" -#include "svg/css-ostringstream.h" -#include "svg/svg-color.h" #include "svg/svg.h" +#include "svg/svg-color.h" +#include "svg/css-ostringstream.h" #include "ui/tools/tool-base.h" diff --git a/src/gradient-drag.cpp b/src/gradient-drag.cpp index f1ee7037a..a67d18e9f 100644 --- a/src/gradient-drag.cpp +++ b/src/gradient-drag.cpp @@ -2117,10 +2117,10 @@ void GrDrag::addCurve(SPItem *item, Geom::Point p0, Geom::Point p1, Geom::Point GrDragger* dragger1 = getDraggerFor(item, POINT_MG_CORNER, corner1, fill_or_stroke); GrDragger* dragger2 = getDraggerFor(item, POINT_MG_HANDLE, handle0, fill_or_stroke); GrDragger* dragger3 = getDraggerFor(item, POINT_MG_HANDLE, handle1, fill_or_stroke); - if ((dragger0->knot && (dragger0->knot->flags & SP_KNOT_MOUSEOVER)) || - (dragger1->knot && (dragger1->knot->flags & SP_KNOT_MOUSEOVER)) || - (dragger2->knot && (dragger2->knot->flags & SP_KNOT_MOUSEOVER)) || - (dragger3->knot && (dragger3->knot->flags & SP_KNOT_MOUSEOVER)) ) { + if (dragger0->knot && (dragger0->knot->flags & SP_KNOT_MOUSEOVER) || + dragger1->knot && (dragger1->knot->flags & SP_KNOT_MOUSEOVER) || + dragger2->knot && (dragger2->knot->flags & SP_KNOT_MOUSEOVER) || + dragger3->knot && (dragger3->knot->flags & SP_KNOT_MOUSEOVER) ) { highlight = true; } @@ -2215,9 +2215,9 @@ void GrDrag::addDraggersMesh(SPMeshGradient *mg, SPItem *item, Inkscape::PaintTa // Show/hide mesh on fill/stroke. This doesn't work at the moment... and prevents node color updating. Inkscape::Preferences *prefs = Inkscape::Preferences::get(); - bool show_handles = (prefs->getBool("/tools/mesh/show_handles", true)); - bool edit_fill = (prefs->getBool("/tools/mesh/edit_fill", true)); - bool edit_stroke = (prefs->getBool("/tools/mesh/edit_stroke", true)); + bool show_handles = abs(prefs->getBool("/tools/mesh/show_handles", true)); + bool edit_fill = abs(prefs->getBool("/tools/mesh/edit_fill", true)); + bool edit_stroke = abs(prefs->getBool("/tools/mesh/edit_stroke", true)); // Make sure we have at least one patch defined. if( mg->array.patch_rows() == 0 || mg->array.patch_columns() == 0 ) { @@ -2301,7 +2301,7 @@ void GrDrag::refreshDraggersMesh(SPMeshGradient *mg, SPItem *item, Inkscape::Pai std::vector< std::vector< SPMeshNode* > > nodes = mg->array.nodes; Inkscape::Preferences *prefs = Inkscape::Preferences::get(); - bool show_handles = (prefs->getBool("/tools/mesh/show_handles", true)); + bool show_handles = abs(prefs->getBool("/tools/mesh/show_handles", true)); // Make sure we have at least one patch defined. if( mg->array.patch_rows() == 0 || mg->array.patch_columns() == 0 ) { @@ -2539,7 +2539,7 @@ void GrDrag::updateLines() } else if ( SP_IS_MESHGRADIENT(server) ) { Inkscape::Preferences *prefs = Inkscape::Preferences::get(); - bool edit_fill = (prefs->getBool("/tools/mesh/edit_fill", true)); + bool edit_fill = abs(prefs->getBool("/tools/mesh/edit_fill", true)); SPMeshGradient *mg = SP_MESHGRADIENT(server); @@ -2621,7 +2621,7 @@ void GrDrag::updateLines() } else if ( SP_IS_MESHGRADIENT(server) ) { Inkscape::Preferences *prefs = Inkscape::Preferences::get(); - bool edit_stroke = (prefs->getBool("/tools/mesh/edit_stroke", true)); + bool edit_stroke = abs(prefs->getBool("/tools/mesh/edit_stroke", true)); if (edit_stroke) { diff --git a/src/helper/action-context.cpp b/src/helper/action-context.cpp index b8430902b..1ea12776b 100644 --- a/src/helper/action-context.cpp +++ b/src/helper/action-context.cpp @@ -11,9 +11,9 @@ #include "desktop.h" #include "document.h" -#include "helper/action-context.h" #include "layer-model.h" #include "selection.h" +#include "helper/action-context.h" namespace Inkscape { diff --git a/src/helper/action.cpp b/src/helper/action.cpp index 18e6433bf..e37575a9c 100644 --- a/src/helper/action.cpp +++ b/src/helper/action.cpp @@ -10,13 +10,13 @@ */ #include "debug/logger.h" -#include "debug/event-tracker.h" -#include "debug/simple-event.h" #include "debug/timestamp.h" +#include "debug/simple-event.h" +#include "debug/event-tracker.h" +#include "ui/view/view.h" #include "desktop.h" #include "document.h" #include "helper/action.h" -#include "ui/view/view.h" static void sp_action_finalize (GObject *object); diff --git a/src/helper/geom-pathstroke.cpp b/src/helper/geom-pathstroke.cpp index 55014323d..c3e4f8213 100644 --- a/src/helper/geom-pathstroke.cpp +++ b/src/helper/geom-pathstroke.cpp @@ -8,11 +8,11 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <2geom/circle.h> -#include <2geom/path-intersection.h> +#include <iomanip> #include <2geom/path-sink.h> #include <2geom/sbasis-to-bezier.h> // cubicbezierpath_from_sbasis -#include <iomanip> +#include <2geom/path-intersection.h> +#include <2geom/circle.h> #include "helper/geom-pathstroke.h" diff --git a/src/helper/geom-pathvectorsatellites.cpp b/src/helper/geom-pathvectorsatellites.cpp index 1ecd2e24c..85192bd75 100644 --- a/src/helper/geom-pathvectorsatellites.cpp +++ b/src/helper/geom-pathvectorsatellites.cpp @@ -14,8 +14,8 @@ * This code is in public domain */ -#include "util/units.h" #include <helper/geom-pathvectorsatellites.h> +#include "util/units.h" Geom::PathVector PathVectorSatellites::getPathVector() const { diff --git a/src/helper/geom-satellite.cpp b/src/helper/geom-satellite.cpp index f01b6c6e1..b54738a38 100644 --- a/src/helper/geom-satellite.cpp +++ b/src/helper/geom-satellite.cpp @@ -8,19 +8,19 @@ * This code is in public domain */ +#include <helper/geom-satellite.h> #include <2geom/curve.h> #include <2geom/nearest-time.h> #include <2geom/path-intersection.h> -#include <2geom/ray.h> #include <2geom/sbasis-to-bezier.h> +#include <2geom/ray.h> #include <boost/optional.hpp> -#include <helper/geom-satellite.h> //log cache #ifdef _WIN32 #include <Windows.h> #else -#include <ctime> #include <sys/time.h> +#include <ctime> #endif ///@brief Satellite a per node holder of data. diff --git a/src/helper/geom.cpp b/src/helper/geom.cpp index 8ac6236b8..e1f05c3ce 100644 --- a/src/helper/geom.cpp +++ b/src/helper/geom.cpp @@ -9,11 +9,11 @@ * Released under GNU GPL */ -#include "helper/geom-curves.h" +#include <algorithm> #include "helper/geom.h" +#include "helper/geom-curves.h" #include <2geom/curves.h> #include <2geom/sbasis-to-bezier.h> -#include <algorithm> using Geom::X; using Geom::Y; diff --git a/src/helper/gettext.cpp b/src/helper/gettext.cpp index 2be5df035..1942b373c 100644 --- a/src/helper/gettext.cpp +++ b/src/helper/gettext.cpp @@ -35,9 +35,9 @@ #include "prefix.h" #endif +#include <string> #include <glibmm.h> #include <glibmm/i18n.h> -#include <string> namespace Inkscape { diff --git a/src/helper/pixbuf-ops.cpp b/src/helper/pixbuf-ops.cpp index 3fe022b2f..3b43735ad 100644 --- a/src/helper/pixbuf-ops.cpp +++ b/src/helper/pixbuf-ops.cpp @@ -17,15 +17,15 @@ #include <2geom/transforms.h> +#include "ui/interface.h" +#include "helper/png-write.h" #include "display/cairo-utils.h" -#include "display/drawing-context.h" #include "display/drawing.h" +#include "display/drawing-context.h" #include "document.h" -#include "helper/png-write.h" -#include "object/sp-defs.h" #include "object/sp-root.h" +#include "object/sp-defs.h" #include "object/sp-use.h" -#include "ui/interface.h" #include "util/units.h" #include "helper/pixbuf-ops.h" diff --git a/src/helper/png-write.cpp b/src/helper/png-write.cpp index 4b9fd9fae..93b07d410 100644 --- a/src/helper/png-write.cpp +++ b/src/helper/png-write.cpp @@ -17,23 +17,23 @@ #include <config.h> #endif -#include "display/cairo-utils.h" -#include "display/drawing-context.h" +#include <png.h> +#include "ui/interface.h" +#include <2geom/rect.h> +#include <2geom/transforms.h> +#include "png-write.h" +#include "io/sys.h" #include "display/drawing.h" +#include "display/drawing-context.h" +#include "display/cairo-utils.h" #include "document.h" -#include "io/sys.h" -#include "png-write.h" #include "preferences.h" #include "rdf.h" -#include "ui/interface.h" #include "util/units.h" -#include <2geom/rect.h> -#include <2geom/transforms.h> -#include <png.h> -#include "object/sp-defs.h" #include "object/sp-item.h" #include "object/sp-root.h" +#include "object/sp-defs.h" /* This is an example of how to use libpng to read and write PNG files. * The file libpng.txt is much more verbose then this. If you have not diff --git a/src/helper/stock-items.cpp b/src/helper/stock-items.cpp index c985d716a..d33186344 100644 --- a/src/helper/stock-items.cpp +++ b/src/helper/stock-items.cpp @@ -24,18 +24,18 @@ #include "path-prefix.h" -#include "desktop.h" +#include <xml/repr.h> #include "document-private.h" +#include "desktop.h" #include "inkscape.h" -#include <xml/repr.h> #include "io/sys.h" #include "stock-items.h" -#include "object/sp-defs.h" #include "object/sp-gradient.h" -#include "object/sp-marker.h" #include "object/sp-pattern.h" +#include "object/sp-marker.h" +#include "object/sp-defs.h" static SPObject *sp_gradient_load_from_svg(gchar const *name, SPDocument *current_doc); static SPObject *sp_marker_load_from_svg(gchar const *name, SPDocument *current_doc); diff --git a/src/inkgc/gc.cpp b/src/inkgc/gc.cpp index e8b2642c3..b1bd07af6 100644 --- a/src/inkgc/gc.cpp +++ b/src/inkgc/gc.cpp @@ -10,13 +10,13 @@ */ #include "inkgc/gc-core.h" -#include <cstddef> +#include <stdexcept> #include <cstring> +#include <string> #include <glib.h> -#include <glibmm/main.h> #include <sigc++/functors/ptr_fun.h> -#include <stdexcept> -#include <string> +#include <glibmm/main.h> +#include <cstddef> namespace Inkscape { namespace GC { diff --git a/src/inkscape.cpp b/src/inkscape.cpp index 0882b1147..52072de0b 100644 --- a/src/inkscape.cpp +++ b/src/inkscape.cpp @@ -25,16 +25,16 @@ #include <glibmm/fileutils.h> #include <glibmm/regex.h> -#include "debug/event-tracker.h" -#include "debug/simple-event.h" #include <gtkmm/cssprovider.h> #include <gtkmm/icontheme.h> #include <gtkmm/messagedialog.h> +#include "debug/simple-event.h" +#include "debug/event-tracker.h" #include <glib/gstdio.h> -#include <glibmm/convert.h> #include <glibmm/i18n.h> #include <glibmm/miscutils.h> +#include <glibmm/convert.h> #include "desktop.h" @@ -46,14 +46,14 @@ #include "extension/system.h" #include "helper/action-context.h" #include "inkscape.h" -#include "io/resource.h" #include "io/sys.h" +#include "io/resource.h" #include "libnrtype/FontFactory.h" #include "message-stack.h" #include "path-prefix.h" #include "resource-manager.h" -#include "ui/dialog/debug.h" #include "ui/tools/tool-base.h" +#include "ui/dialog/debug.h" /* Backbones of configuration xml data */ #include "menus-skeleton.h" diff --git a/src/inkview.cpp b/src/inkview.cpp index 804ab8bdb..ce75f72f8 100644 --- a/src/inkview.cpp +++ b/src/inkview.cpp @@ -42,9 +42,9 @@ #include "helper/gettext.h" #endif #include "inkgc/gc-core.h" -#include "inkview-options-group.h" #include "io/sys.h" #include "svg-view-slideshow.h" +#include "inkview-options-group.h" /** * @brief Get a list of valid SVG files from a list of strings diff --git a/src/io/http.cpp b/src/io/http.cpp index bb734ca44..883f6f56c 100644 --- a/src/io/http.cpp +++ b/src/io/http.cpp @@ -37,9 +37,9 @@ #include <string> #include <time.h> +#include "io/sys.h" #include "io/http.h" #include "io/resource.h" -#include "io/sys.h" typedef std::function<void(Glib::ustring)> callback; diff --git a/src/io/inkscapestream.cpp b/src/io/inkscapestream.cpp index daa514dc9..dcfc662ca 100644 --- a/src/io/inkscapestream.cpp +++ b/src/io/inkscapestream.cpp @@ -11,8 +11,8 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "inkscapestream.h" #include <cstdlib> +#include "inkscapestream.h" namespace Inkscape { diff --git a/src/io/resource.cpp b/src/io/resource.cpp index a2ba39a8c..0b242cc31 100644 --- a/src/io/resource.cpp +++ b/src/io/resource.cpp @@ -24,13 +24,13 @@ #include <shlobj.h> // for SHGetSpecialFolderLocation #endif -#include <glibmm/fileutils.h> #include <glibmm/miscutils.h> #include <glibmm/stringutils.h> +#include <glibmm/fileutils.h> -#include "io/resource.h" -#include "io/sys.h" #include "path-prefix.h" +#include "io/sys.h" +#include "io/resource.h" using Inkscape::IO::file_test; diff --git a/src/io/uristream.cpp b/src/io/uristream.cpp index 9b7f37828..5d2eb59ee 100644 --- a/src/io/uristream.cpp +++ b/src/io/uristream.cpp @@ -13,8 +13,8 @@ #include "uristream.h" #include "sys.h" -#include <cstring> #include <string> +#include <cstring> namespace Inkscape diff --git a/src/knot-ptr.cpp b/src/knot-ptr.cpp index 2ff37af0c..de8118ba7 100644 --- a/src/knot-ptr.cpp +++ b/src/knot-ptr.cpp @@ -1,7 +1,7 @@ -#include "knot-ptr.h" #include <algorithm> #include <glib.h> #include <list> +#include "knot-ptr.h" static std::list<void*> deleted_knots; diff --git a/src/knot.cpp b/src/knot.cpp index b4b9db750..8296891f4 100644 --- a/src/knot.cpp +++ b/src/knot.cpp @@ -14,17 +14,17 @@ #ifdef HAVE_CONFIG_H #endif -#include "desktop.h" -#include "display/sodipodi-ctrl.h" #include <gdk/gdkkeysyms.h> #include <glibmm/i18n.h> +#include "display/sodipodi-ctrl.h" +#include "desktop.h" -#include "document-undo.h" -#include "document.h" -#include "knot-ptr.h" #include "knot.h" -#include "message-context.h" +#include "knot-ptr.h" +#include "document.h" +#include "document-undo.h" #include "message-stack.h" +#include "message-context.h" #include "ui/tools/node-tool.h" #include <gtk/gtk.h> diff --git a/src/layer-manager.cpp b/src/layer-manager.cpp index a2c2b7d78..a42f0d4cc 100644 --- a/src/layer-manager.cpp +++ b/src/layer-manager.cpp @@ -10,8 +10,8 @@ #include <set> -#include <sigc++/adaptors/hide.h> #include <sigc++/functors/mem_fun.h> +#include <sigc++/adaptors/hide.h> #include "desktop.h" diff --git a/src/layer-model.cpp b/src/layer-model.cpp index 90478665e..62f47966f 100644 --- a/src/layer-model.cpp +++ b/src/layer-model.cpp @@ -32,8 +32,8 @@ #include "object-hierarchy.h" #include "object/sp-defs.h" -#include "object/sp-item-group.h" #include "object/sp-item.h" +#include "object/sp-item-group.h" #include "object/sp-root.h" // Callbacks diff --git a/src/libnrtype/FontFactory.cpp b/src/libnrtype/FontFactory.cpp index 011cc94db..f09bd3df3 100644 --- a/src/libnrtype/FontFactory.cpp +++ b/src/libnrtype/FontFactory.cpp @@ -20,16 +20,16 @@ #include <fontconfig/fontconfig.h> -#include <pango/pango-ot.h> #include <pango/pangofc-fontmap.h> #include <pango/pangoft2.h> +#include <pango/pango-ot.h> #include "io/sys.h" #include "util/unordered-containers.h" #include "libnrtype/FontFactory.h" -#include "libnrtype/OpenTypeUtil.h" #include "libnrtype/font-instance.h" +#include "libnrtype/OpenTypeUtil.h" typedef INK_UNORDERED_MAP<PangoFontDescription*, font_instance*, font_descr_hash, font_descr_equal> FaceMapType; diff --git a/src/libnrtype/FontInstance.cpp b/src/libnrtype/FontInstance.cpp index 49d90e60a..47d4baa51 100644 --- a/src/libnrtype/FontInstance.cpp +++ b/src/libnrtype/FontInstance.cpp @@ -28,11 +28,11 @@ #include <glibmm/regex.h> +#include <2geom/pathvector.h> +#include <2geom/path-sink.h> #include "libnrtype/font-glyph.h" #include "libnrtype/font-instance.h" #include "util/unordered-containers.h" -#include <2geom/path-sink.h> -#include <2geom/pathvector.h> #ifndef USE_PANGO_WIN32 diff --git a/src/libnrtype/Layout-TNG-Compute.cpp b/src/libnrtype/Layout-TNG-Compute.cpp index d3b49436e..20b07d84b 100644 --- a/src/libnrtype/Layout-TNG-Compute.cpp +++ b/src/libnrtype/Layout-TNG-Compute.cpp @@ -9,11 +9,11 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ #include "Layout-TNG.h" -#include "Layout-TNG-Scanline-Maker.h" -#include "font-instance.h" -#include "object/sp-object.h" #include "style.h" +#include "font-instance.h" #include "svg/svg-length.h" +#include "object/sp-object.h" +#include "Layout-TNG-Scanline-Maker.h" #include <limits> namespace Inkscape { diff --git a/src/libnrtype/Layout-TNG-Input.cpp b/src/libnrtype/Layout-TNG-Input.cpp index 724fc2b17..6100fa262 100644 --- a/src/libnrtype/Layout-TNG-Input.cpp +++ b/src/libnrtype/Layout-TNG-Input.cpp @@ -17,11 +17,11 @@ #define PANGO_ENABLE_ENGINE #endif -#include "FontFactory.h" +#include <gtk/gtk.h> #include "Layout-TNG.h" #include "style.h" #include "svg/svg-length.h" -#include <gtk/gtk.h> +#include "FontFactory.h" namespace Inkscape { diff --git a/src/libnrtype/Layout-TNG-OutIter.cpp b/src/libnrtype/Layout-TNG-OutIter.cpp index f649e5ddc..8c29b7dbc 100644 --- a/src/libnrtype/Layout-TNG-OutIter.cpp +++ b/src/libnrtype/Layout-TNG-OutIter.cpp @@ -9,12 +9,12 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ #include "Layout-TNG.h" -#include "font-instance.h" #include "livarot/Path.h" -#include "style.h" +#include "font-instance.h" #include "svg/svg-length.h" -#include <2geom/line.h> #include <2geom/transforms.h> +#include <2geom/line.h> +#include "style.h" namespace Inkscape { namespace Text { diff --git a/src/libnrtype/Layout-TNG-Output.cpp b/src/libnrtype/Layout-TNG-Output.cpp index 717876317..884c1a319 100644 --- a/src/libnrtype/Layout-TNG-Output.cpp +++ b/src/libnrtype/Layout-TNG-Output.cpp @@ -8,19 +8,19 @@ * * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <glib.h> #include "Layout-TNG.h" -#include "display/curve.h" #include "display/drawing-text.h" -#include "extension/internal/cairo-render-context.h" +#include "style.h" +#include "print.h" #include "extension/print.h" -#include "font-instance.h" #include "livarot/Path.h" -#include "print.h" -#include "style.h" +#include "font-instance.h" #include "svg/svg-length.h" +#include "extension/internal/cairo-render-context.h" +#include "display/curve.h" #include <2geom/pathvector.h> #include <3rdparty/libuemf/symbol_convert.h> -#include <glib.h> namespace Inkscape { diff --git a/src/libnrtype/font-lister.cpp b/src/libnrtype/font-lister.cpp index acef7318e..47a260714 100644 --- a/src/libnrtype/font-lister.cpp +++ b/src/libnrtype/font-lister.cpp @@ -8,18 +8,18 @@ #include <libnrtype/font-instance.h> -#include "FontFactory.h" #include "font-lister.h" +#include "FontFactory.h" -#include "desktop-style.h" #include "desktop.h" +#include "desktop-style.h" #include "document.h" #include "inkscape.h" #include "preferences.h" -#include "object/sp-namedview.h" #include "object/sp-object.h" #include "object/sp-root.h" +#include "object/sp-namedview.h" #include "xml/repr.h" diff --git a/src/line-geometry.cpp b/src/line-geometry.cpp index 5f54aff3d..6e0f82d45 100644 --- a/src/line-geometry.cpp +++ b/src/line-geometry.cpp @@ -10,12 +10,12 @@ */ #include "line-geometry.h" -#include "desktop-style.h" #include "desktop.h" +#include "desktop-style.h" -#include "display/sodipodi-ctrl.h" #include "display/sp-canvas.h" #include "display/sp-ctrlline.h" +#include "display/sodipodi-ctrl.h" #include "ui/control-manager.h" using Inkscape::ControlManager; diff --git a/src/livarot/AlphaLigne.cpp b/src/livarot/AlphaLigne.cpp index d37ea5e38..5b8321b72 100644 --- a/src/livarot/AlphaLigne.cpp +++ b/src/livarot/AlphaLigne.cpp @@ -9,10 +9,10 @@ #include "AlphaLigne.h" -#include <glib.h> #include <math.h> #include <stdio.h> #include <stdlib.h> +#include <glib.h> AlphaLigne::AlphaLigne(int iMin,int iMax) { diff --git a/src/livarot/BitLigne.cpp b/src/livarot/BitLigne.cpp index 2cc1d75a0..d7cce26eb 100644 --- a/src/livarot/BitLigne.cpp +++ b/src/livarot/BitLigne.cpp @@ -9,13 +9,13 @@ #include "BitLigne.h" +#include <math.h> +#include <cstring> +#include <cstdlib> +#include <string> #include <cmath> #include <cstdio> -#include <cstdlib> -#include <cstring> #include <glib.h> -#include <math.h> -#include <string> BitLigne::BitLigne(int ist,int ien,float iScale) { diff --git a/src/livarot/Path.cpp b/src/livarot/Path.cpp index 0146ce670..5fa418968 100644 --- a/src/livarot/Path.cpp +++ b/src/livarot/Path.cpp @@ -6,9 +6,9 @@ * */ +#include <glib.h> #include "Path.h" #include "livarot/path-description.h" -#include <glib.h> /* * manipulation of the path data: path description and polyline diff --git a/src/livarot/PathConversion.cpp b/src/livarot/PathConversion.cpp index b1ca5706a..30e21d546 100644 --- a/src/livarot/PathConversion.cpp +++ b/src/livarot/PathConversion.cpp @@ -6,11 +6,11 @@ * */ +#include <glib.h> +#include <2geom/transforms.h> #include "Path.h" #include "Shape.h" #include "livarot/path-description.h" -#include <2geom/transforms.h> -#include <glib.h> /* * path description -> polyline diff --git a/src/livarot/PathCutting.cpp b/src/livarot/PathCutting.cpp index a4a283c73..086b30557 100644 --- a/src/livarot/PathCutting.cpp +++ b/src/livarot/PathCutting.cpp @@ -13,20 +13,20 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <cstring> +#include <string> +#include <cstdio> +#include <typeinfo> #include "Path.h" -#include "helper/geom-curves.h" -#include "helper/geom.h" -#include "livarot/path-description.h" #include "style.h" -#include <2geom/affine.h> -#include <2geom/curves.h> +#include "livarot/path-description.h" #include <2geom/pathvector.h> #include <2geom/point.h> +#include <2geom/affine.h> #include <2geom/sbasis-to-bezier.h> -#include <cstdio> -#include <cstring> -#include <string> -#include <typeinfo> +#include <2geom/curves.h> +#include "helper/geom-curves.h" +#include "helper/geom.h" #include "svg/svg.h" diff --git a/src/livarot/PathSimplify.cpp b/src/livarot/PathSimplify.cpp index 19e6708e7..81ddcd049 100644 --- a/src/livarot/PathSimplify.cpp +++ b/src/livarot/PathSimplify.cpp @@ -6,10 +6,10 @@ * */ +#include <glib.h> +#include <2geom/affine.h> #include "livarot/Path.h" #include "livarot/path-description.h" -#include <2geom/affine.h> -#include <glib.h> /* * Reassembling polyline segments into cubic bezier patches diff --git a/src/livarot/Shape.cpp b/src/livarot/Shape.cpp index d235ecf20..33b383947 100644 --- a/src/livarot/Shape.cpp +++ b/src/livarot/Shape.cpp @@ -6,12 +6,12 @@ * */ -#include "Shape.h" -#include "livarot/sweep-event-queue.h" -#include "livarot/sweep-tree-list.h" #include <cstdio> #include <cstdlib> #include <glib.h> +#include "Shape.h" +#include "livarot/sweep-event-queue.h" +#include "livarot/sweep-tree-list.h" /* * Shape instances handling. diff --git a/src/livarot/ShapeDraw.cpp b/src/livarot/ShapeDraw.cpp index e95abcd61..d222cc49c 100644 --- a/src/livarot/ShapeDraw.cpp +++ b/src/livarot/ShapeDraw.cpp @@ -6,10 +6,10 @@ * */ -#include "Shape.h" #include <cstdio> #include <cstdlib> #include <cstring> +#include "Shape.h" //#include <ApplicationServices/ApplicationServices.h> // debug routine for vizualizing the polygons diff --git a/src/livarot/ShapeMisc.cpp b/src/livarot/ShapeMisc.cpp index dd7beb701..4f63007e7 100644 --- a/src/livarot/ShapeMisc.cpp +++ b/src/livarot/ShapeMisc.cpp @@ -9,12 +9,12 @@ #include "livarot/Shape.h" #include "livarot/Path.h" #include "livarot/path-description.h" -#include <2geom/affine.h> -#include <2geom/point.h> +#include <glib.h> #include <cstdio> #include <cstdlib> #include <cstring> -#include <glib.h> +#include <2geom/point.h> +#include <2geom/affine.h> /* * polygon offset and polyline to path reassembling (when using back data) diff --git a/src/livarot/ShapeRaster.cpp b/src/livarot/ShapeRaster.cpp index 10747137e..2b35c9666 100644 --- a/src/livarot/ShapeRaster.cpp +++ b/src/livarot/ShapeRaster.cpp @@ -8,9 +8,9 @@ #include "Shape.h" +#include "livarot/float-line.h" #include "AlphaLigne.h" #include "BitLigne.h" -#include "livarot/float-line.h" #include "livarot/sweep-event-queue.h" #include "livarot/sweep-tree-list.h" diff --git a/src/livarot/ShapeSweep.cpp b/src/livarot/ShapeSweep.cpp index 97f9b94b0..1e6273964 100644 --- a/src/livarot/ShapeSweep.cpp +++ b/src/livarot/ShapeSweep.cpp @@ -6,15 +6,15 @@ * */ -#include "Shape.h" -#include "livarot/sweep-event-queue.h" -#include "livarot/sweep-tree-list.h" -#include "livarot/sweep-tree.h" -#include <2geom/affine.h> #include <cstdio> #include <cstdlib> #include <cstring> #include <glib.h> +#include <2geom/affine.h> +#include "Shape.h" +#include "livarot/sweep-event-queue.h" +#include "livarot/sweep-tree-list.h" +#include "livarot/sweep-tree.h" //int doDebug=0; diff --git a/src/livarot/float-line.cpp b/src/livarot/float-line.cpp index c972018af..e5350edc6 100644 --- a/src/livarot/float-line.cpp +++ b/src/livarot/float-line.cpp @@ -12,10 +12,10 @@ #ifdef faster_flatten # include <cmath> // std::abs(float) #endif +#include <stdio.h> #include "livarot/float-line.h" #include "livarot/int-line.h" #include <cstdio> -#include <stdio.h> FloatLigne::FloatLigne() { diff --git a/src/livarot/int-line.cpp b/src/livarot/int-line.cpp index 72e0451eb..998f638e7 100644 --- a/src/livarot/int-line.cpp +++ b/src/livarot/int-line.cpp @@ -9,15 +9,15 @@ * */ -#include "livarot/BitLigne.h" -#include "livarot/float-line.h" -#include "livarot/int-line.h" +#include <glib.h> #include <cmath> -#include <cstdio> -#include <cstdlib> #include <cstring> -#include <glib.h> #include <string> +#include <cstdlib> +#include <cstdio> +#include "livarot/int-line.h" +#include "livarot/float-line.h" +#include "livarot/BitLigne.h" IntLigne::IntLigne() { diff --git a/src/livarot/sweep-event.cpp b/src/livarot/sweep-event.cpp index c59e3cc2e..48354fc46 100644 --- a/src/livarot/sweep-event.cpp +++ b/src/livarot/sweep-event.cpp @@ -1,8 +1,8 @@ -#include "livarot/Shape.h" +#include <glib.h> #include "livarot/sweep-event-queue.h" -#include "livarot/sweep-event.h" #include "livarot/sweep-tree.h" -#include <glib.h> +#include "livarot/sweep-event.h" +#include "livarot/Shape.h" SweepEventQueue::SweepEventQueue(int s) : nbEvt(0), maxEvt(s) { diff --git a/src/livarot/sweep-tree-list.cpp b/src/livarot/sweep-tree-list.cpp index c359d5a44..ea9e9a5d2 100644 --- a/src/livarot/sweep-tree-list.cpp +++ b/src/livarot/sweep-tree-list.cpp @@ -1,6 +1,6 @@ -#include "livarot/sweep-tree-list.h" -#include "livarot/sweep-tree.h" #include <glib.h> +#include "livarot/sweep-tree.h" +#include "livarot/sweep-tree-list.h" SweepTreeList::SweepTreeList(int s) : diff --git a/src/livarot/sweep-tree.cpp b/src/livarot/sweep-tree.cpp index bc8981e38..1b9868f2e 100644 --- a/src/livarot/sweep-tree.cpp +++ b/src/livarot/sweep-tree.cpp @@ -1,8 +1,8 @@ #include "livarot/sweep-event-queue.h" -#include "livarot/Shape.h" -#include "livarot/sweep-event.h" #include "livarot/sweep-tree-list.h" #include "livarot/sweep-tree.h" +#include "livarot/sweep-event.h" +#include "livarot/Shape.h" /* diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 5333abf54..1e691eb4d 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -16,7 +16,6 @@ #include "live_effects/lpe-angle_bisector.h" #include "live_effects/lpe-attach-path.h" #include "live_effects/lpe-bendpath.h" -#include "live_effects/lpe-bool.h" #include "live_effects/lpe-bounding-box.h" #include "live_effects/lpe-bspline.h" #include "live_effects/lpe-circle_3pts.h" @@ -28,7 +27,6 @@ #include "live_effects/lpe-dash-stroke.h" #include "live_effects/lpe-dynastroke.h" #include "live_effects/lpe-ellipse_5pts.h" -#include "live_effects/lpe-embrodery-stitch.h" #include "live_effects/lpe-envelope.h" #include "live_effects/lpe-extrude.h" #include "live_effects/lpe-fill-between-many.h" @@ -39,8 +37,8 @@ #include "live_effects/lpe-interpolate_points.h" #include "live_effects/lpe-jointype.h" #include "live_effects/lpe-knot.h" -#include "live_effects/lpe-lattice.h" #include "live_effects/lpe-lattice2.h" +#include "live_effects/lpe-lattice.h" #include "live_effects/lpe-line_segment.h" #include "live_effects/lpe-measure-segments.h" #include "live_effects/lpe-mirror_symmetry.h" @@ -53,43 +51,45 @@ #include "live_effects/lpe-powerclip.h" #include "live_effects/lpe-powermask.h" #include "live_effects/lpe-powerstroke.h" -#include "live_effects/lpe-pts2ellipse.h" #include "live_effects/lpe-recursiveskeleton.h" -#include "live_effects/lpe-rough-hatches.h" #include "live_effects/lpe-roughen.h" +#include "live_effects/lpe-rough-hatches.h" #include "live_effects/lpe-ruler.h" #include "live_effects/lpe-show_handles.h" #include "live_effects/lpe-simplify.h" #include "live_effects/lpe-sketch.h" #include "live_effects/lpe-spiro.h" #include "live_effects/lpe-tangent_to_curve.h" +#include "live_effects/lpe-transform_2pts.h" #include "live_effects/lpe-taperstroke.h" #include "live_effects/lpe-test-doEffect-stack.h" #include "live_effects/lpe-text_label.h" -#include "live_effects/lpe-transform_2pts.h" #include "live_effects/lpe-vonkoch.h" +#include "live_effects/lpe-embrodery-stitch.h" +#include "live_effects/lpe-bool.h" +#include "live_effects/lpe-pts2ellipse.h" #include "live_effects/lpeobject.h" #include "xml/node-event-vector.h" #include "xml/sp-css-attr.h" -#include "display/curve.h" +#include "message-stack.h" #include "document-private.h" +#include "ui/tools/pen-tool.h" +#include "ui/tools/node-tool.h" +#include "ui/tools-switch.h" #include "knotholder.h" -#include "message-stack.h" #include "path-chemistry.h" -#include "ui/tools-switch.h" -#include "ui/tools/node-tool.h" -#include "ui/tools/pen-tool.h" +#include "display/curve.h" #include "object/sp-defs.h" #include "object/sp-shape.h" -#include <gtkmm/expander.h> -#include <pangomm/layout.h> #include <stdio.h> #include <string.h> +#include <pangomm/layout.h> +#include <gtkmm/expander.h> namespace Inkscape { diff --git a/src/live_effects/lpe-attach-path.cpp b/src/live_effects/lpe-attach-path.cpp index 0a10c03b9..ea2965c6a 100644 --- a/src/live_effects/lpe-attach-path.cpp +++ b/src/live_effects/lpe-attach-path.cpp @@ -4,10 +4,10 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <math.h> #include "live_effects/lpe-attach-path.h" -#include "2geom/path-sink.h" #include "display/curve.h" -#include <math.h> +#include "2geom/path-sink.h" // TODO due to internal breakage in glibmm headers, this must be last: #include <glibmm/i18n.h> diff --git a/src/live_effects/lpe-bendpath.cpp b/src/live_effects/lpe-bendpath.cpp index af500b1aa..11694249a 100644 --- a/src/live_effects/lpe-bendpath.cpp +++ b/src/live_effects/lpe-bendpath.cpp @@ -6,9 +6,9 @@ */ #include "live_effects/lpe-bendpath.h" -#include "display/curve.h" #include "knot-holder-entity.h" #include "knotholder.h" +#include "display/curve.h" // TODO due to internal breakage in glibmm headers, this must be last: #include <glibmm/i18n.h> diff --git a/src/live_effects/lpe-bool.cpp b/src/live_effects/lpe-bool.cpp index 6cc8b1a1d..01b019cec 100644 --- a/src/live_effects/lpe-bool.cpp +++ b/src/live_effects/lpe-bool.cpp @@ -6,27 +6,27 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <algorithm> #include <glibmm/i18n.h> #include <math.h> #include <string.h> +#include <algorithm> #include "live_effects/lpe-bool.h" #include "display/curve.h" -#include "2geom/affine.h" +#include "2geom/path.h" #include "2geom/bezier-curve.h" #include "2geom/path-sink.h" -#include "2geom/path.h" +#include "2geom/affine.h" #include "2geom/svg-path-parser.h" #include "helper/geom.h" +#include "splivarot.h" #include "livarot/Path.h" #include "livarot/Shape.h" #include "livarot/path-description.h" -#include "splivarot.h" namespace Inkscape { namespace LivePathEffect { diff --git a/src/live_effects/lpe-bspline.cpp b/src/live_effects/lpe-bspline.cpp index a15b992b0..7834ff108 100644 --- a/src/live_effects/lpe-bspline.cpp +++ b/src/live_effects/lpe-bspline.cpp @@ -1,18 +1,17 @@ /* * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <gtkmm.h> +#include "live_effects/lpe-bspline.h" +#include "ui/widget/scalar.h" #include "display/curve.h" -#include "document-undo.h" #include "helper/geom-curves.h" -#include "live_effects/lpe-bspline.h" #include "object/sp-path.h" -#include "preferences.h" #include "svg/svg.h" -#include "ui/widget/scalar.h" -#include "verbs.h" #include "xml/repr.h" -#include <glib.h> -#include <gtkmm.h> +#include "preferences.h" +#include "document-undo.h" +#include "verbs.h" // TODO due to internal breakage in glibmm headers, this must be last: #include <glibmm/i18n.h> diff --git a/src/live_effects/lpe-clone-original.cpp b/src/live_effects/lpe-clone-original.cpp index c4b8a36bb..f384c8bec 100644 --- a/src/live_effects/lpe-clone-original.cpp +++ b/src/live_effects/lpe-clone-original.cpp @@ -5,11 +5,11 @@ */ #include "live_effects/lpe-clone-original.h" -#include "display/curve.h" -#include "live_effects/lpe-bspline.h" #include "live_effects/lpe-spiro.h" -#include "live_effects/lpeobject-reference.h" +#include "live_effects/lpe-bspline.h" #include "live_effects/lpeobject.h" +#include "live_effects/lpeobject-reference.h" +#include "display/curve.h" #include "svg/path-string.h" #include "svg/svg.h" diff --git a/src/live_effects/lpe-copy_rotate.cpp b/src/live_effects/lpe-copy_rotate.cpp index a51a3531e..74ee0cfda 100644 --- a/src/live_effects/lpe-copy_rotate.cpp +++ b/src/live_effects/lpe-copy_rotate.cpp @@ -11,19 +11,19 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "display/curve.h" -#include "helper/geom.h" +#include <gtkmm.h> +#include <gdk/gdk.h> +#include <2geom/path-intersection.h> +#include <2geom/sbasis-to-bezier.h> +#include <2geom/intersection-graph.h> #include "live_effects/lpe-copy_rotate.h" #include "live_effects/lpeobject.h" -#include "path-chemistry.h" +#include "display/curve.h" #include "svg/path-string.h" #include "svg/svg.h" +#include "helper/geom.h" #include "xml/sp-css-attr.h" -#include <2geom/intersection-graph.h> -#include <2geom/path-intersection.h> -#include <2geom/sbasis-to-bezier.h> -#include <gdk/gdk.h> -#include <gtkmm.h> +#include "path-chemistry.h" #include "object/sp-path.h" #include "object/sp-shape.h" diff --git a/src/live_effects/lpe-dash-stroke.cpp b/src/live_effects/lpe-dash-stroke.cpp index 1adce4586..7b1e1b578 100644 --- a/src/live_effects/lpe-dash-stroke.cpp +++ b/src/live_effects/lpe-dash-stroke.cpp @@ -2,8 +2,8 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ #include "live_effects/lpe-dash-stroke.h" -#include "2geom/path.h" #include "2geom/pathvector.h" +#include "2geom/path.h" #include "helper/geom.h" // TODO due to internal breakage in glibmm headers, this must be last: diff --git a/src/live_effects/lpe-ellipse_5pts.cpp b/src/live_effects/lpe-ellipse_5pts.cpp index 294ca884a..28e7058d7 100644 --- a/src/live_effects/lpe-ellipse_5pts.cpp +++ b/src/live_effects/lpe-ellipse_5pts.cpp @@ -12,12 +12,12 @@ */ #include "live_effects/lpe-ellipse_5pts.h" -#include "desktop.h" -#include "inkscape.h" -#include "message-stack.h" #include <2geom/circle.h> #include <2geom/ellipse.h> #include <2geom/path-sink.h> +#include "inkscape.h" +#include "desktop.h" +#include "message-stack.h" // TODO due to internal breakage in glibmm headers, this must be last: #include <glibmm/i18n.h> diff --git a/src/live_effects/lpe-embrodery-stitch.cpp b/src/live_effects/lpe-embrodery-stitch.cpp index bb1bd13d5..972d29b9c 100644 --- a/src/live_effects/lpe-embrodery-stitch.cpp +++ b/src/live_effects/lpe-embrodery-stitch.cpp @@ -9,15 +9,15 @@ #include "ui/widget/scalar.h" #include <glibmm/i18n.h> -#include "live_effects/lpe-embrodery-stitch-ordering.h" #include "live_effects/lpe-embrodery-stitch.h" +#include "live_effects/lpe-embrodery-stitch-ordering.h" -#include <2geom/bezier-to-sbasis.h> #include <2geom/path.h> #include <2geom/piecewise.h> +#include <2geom/sbasis.h> #include <2geom/sbasis-geometric.h> +#include <2geom/bezier-to-sbasis.h> #include <2geom/sbasis-to-bezier.h> -#include <2geom/sbasis.h> namespace Inkscape { namespace LivePathEffect { diff --git a/src/live_effects/lpe-fill-between-many.cpp b/src/live_effects/lpe-fill-between-many.cpp index 32599b4f9..9715d7ff8 100644 --- a/src/live_effects/lpe-fill-between-many.cpp +++ b/src/live_effects/lpe-fill-between-many.cpp @@ -6,11 +6,11 @@ #include "live_effects/lpe-fill-between-many.h" +#include "live_effects/lpeobject.h" +#include "xml/node.h" #include "display/curve.h" #include "inkscape.h" -#include "live_effects/lpeobject.h" #include "selection.h" -#include "xml/node.h" #include "object/sp-defs.h" #include "object/sp-shape.h" diff --git a/src/live_effects/lpe-fillet-chamfer.cpp b/src/live_effects/lpe-fillet-chamfer.cpp index 32667e924..dffd09ec3 100644 --- a/src/live_effects/lpe-fillet-chamfer.cpp +++ b/src/live_effects/lpe-fillet-chamfer.cpp @@ -10,13 +10,13 @@ #include "live_effects/lpe-fillet-chamfer.h" +#include "helper/geom.h" #include "helper/geom-curves.h" #include "helper/geom-satellite.h" -#include "helper/geom.h" -#include "display/curve.h" -#include "knotholder.h" #include <2geom/elliptical-arc.h> +#include "knotholder.h" +#include "display/curve.h" #include <boost/optional.hpp> #include "object/sp-shape.h" diff --git a/src/live_effects/lpe-knot.cpp b/src/live_effects/lpe-knot.cpp index 3c0b1aabc..d62965ca8 100644 --- a/src/live_effects/lpe-knot.cpp +++ b/src/live_effects/lpe-knot.cpp @@ -13,25 +13,25 @@ */ #include "display/curve.h" +#include "live_effects/lpe-knot.h" #include "knot-holder-entity.h" #include "knotholder.h" -#include "live_effects/lpe-knot.h" #include <gdk/gdk.h> -#include "helper/geom.h" -#include <2geom/basic-intersection.h> -#include <2geom/bezier-to-sbasis.h> #include <2geom/sbasis-to-bezier.h> +#include <2geom/bezier-to-sbasis.h> +#include <2geom/basic-intersection.h> +#include "helper/geom.h" -#include "object/sp-path.h" #include "object/sp-shape.h" +#include "object/sp-path.h" #include "style.h" // for change crossing undo -#include "document-undo.h" -#include "document.h" #include "verbs.h" +#include "document.h" +#include "document-undo.h" // TODO due to internal breakage in glibmm headers, this must be last: #include <glibmm/i18n.h> diff --git a/src/live_effects/lpe-lattice.cpp b/src/live_effects/lpe-lattice.cpp index 67b87cb73..df4da4590 100644 --- a/src/live_effects/lpe-lattice.cpp +++ b/src/live_effects/lpe-lattice.cpp @@ -18,8 +18,8 @@ #include "display/curve.h" -#include <2geom/bezier-to-sbasis.h> #include <2geom/sbasis-2d.h> +#include <2geom/bezier-to-sbasis.h> // TODO due to internal breakage in glibmm headers, this must be last: #include <glibmm/i18n.h> using namespace Geom; diff --git a/src/live_effects/lpe-lattice2.cpp b/src/live_effects/lpe-lattice2.cpp index 3699d7660..8c2c3ec31 100644 --- a/src/live_effects/lpe-lattice2.cpp +++ b/src/live_effects/lpe-lattice2.cpp @@ -16,12 +16,12 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <gtkmm.h> +#include "live_effects/lpe-lattice2.h" #include "display/curve.h" #include "helper/geom.h" -#include "live_effects/lpe-lattice2.h" -#include <2geom/bezier-to-sbasis.h> #include <2geom/sbasis-2d.h> -#include <gtkmm.h> +#include <2geom/bezier-to-sbasis.h> // TODO due to internal breakage in glibmm headers, this must be last: #include <glibmm/i18n.h> diff --git a/src/live_effects/lpe-measure-segments.cpp b/src/live_effects/lpe-measure-segments.cpp index 0c911b532..5f62f0281 100644 --- a/src/live_effects/lpe-measure-segments.cpp +++ b/src/live_effects/lpe-measure-segments.cpp @@ -10,36 +10,36 @@ */ #include "live_effects/lpeobject.h" +#include "live_effects/lpeobject-reference.h" +#include "live_effects/lpe-measure-segments.h" #include "2geom/affine.h" #include "2geom/angle.h" #include "2geom/point.h" #include "2geom/ray.h" #include "display/curve.h" -#include "document-undo.h" -#include "document.h" #include "helper/geom.h" -#include "inkscape.h" -#include "libnrtype/Layout-TNG.h" -#include "live_effects/lpe-measure-segments.h" -#include "live_effects/lpeobject-reference.h" +#include "text-editing.h" #include "object/sp-defs.h" +#include "object/sp-text.h" #include "object/sp-flowtext.h" #include "object/sp-item-group.h" #include "object/sp-item.h" #include "object/sp-path.h" #include "object/sp-root.h" #include "object/sp-shape.h" -#include "object/sp-text.h" -#include "path-chemistry.h" -#include "preferences.h" #include "svg/stringstream.h" +#include "svg/svg.h" #include "svg/svg-color.h" #include "svg/svg-length.h" -#include "svg/svg.h" -#include "text-editing.h" #include "util/units.h" #include "xml/node.h" #include "xml/sp-css-attr.h" +#include "libnrtype/Layout-TNG.h" +#include "document.h" +#include "document-undo.h" +#include "inkscape.h" +#include "preferences.h" +#include "path-chemistry.h" #include <cmath> #include <iomanip> @@ -428,7 +428,7 @@ LPEMeasureSegments::createTextLabel(Geom::Point pos, size_t counter, double leng font_size << fontsize << "pt"; setlocale (LC_NUMERIC, locale_base); gchar c[32]; - sprintf(c, "#%06lx", rgb24); + sprintf(c, "#%06x", rgb24); sp_repr_css_set_property (css, "fill",c); Inkscape::SVGOStringStream os; os << SP_RGBA32_A_F(coloropacity.get_value()); @@ -626,7 +626,7 @@ LPEMeasureSegments::createLine(Geom::Point start,Geom::Point end, Glib::ustring style += "stroke-width:"; style += stroke_w.str(); gchar c[32]; - sprintf(c, "#%06lx", rgb24); + sprintf(c, "#%06x", rgb24); style += ";stroke:"; style += Glib::ustring(c); Inkscape::SVGOStringStream os; diff --git a/src/live_effects/lpe-mirror_symmetry.cpp b/src/live_effects/lpe-mirror_symmetry.cpp index b9a51cdee..1e62a98d5 100644 --- a/src/live_effects/lpe-mirror_symmetry.cpp +++ b/src/live_effects/lpe-mirror_symmetry.cpp @@ -14,21 +14,21 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "2geom/affine.h" -#include "2geom/intersection-graph.h" -#include "2geom/path-intersection.h" +#include <gtkmm.h> +#include "live_effects/lpe-mirror_symmetry.h" #include "display/curve.h" +#include "svg/path-string.h" +#include "svg/svg.h" #include "helper/geom.h" +#include "2geom/intersection-graph.h" +#include "2geom/path-intersection.h" +#include "2geom/affine.h" #include "helper/geom.h" -#include "live_effects/lpe-mirror_symmetry.h" #include "path-chemistry.h" -#include "svg/path-string.h" -#include "svg/svg.h" -#include <gtkmm.h> #include "object/sp-defs.h" -#include "object/sp-lpe-item.h" #include "object/sp-path.h" +#include "object/sp-lpe-item.h" #include "style.h" #include "xml/sp-css-attr.h" diff --git a/src/live_effects/lpe-offset.cpp b/src/live_effects/lpe-offset.cpp index 070c333ea..257d02c83 100644 --- a/src/live_effects/lpe-offset.cpp +++ b/src/live_effects/lpe-offset.cpp @@ -14,22 +14,22 @@ */ #include "live_effects/parameter/enum.h" +#include "live_effects/lpe-offset.h" #include "display/curve.h" -#include "helper/geom-pathstroke.h" -#include "helper/geom.h" #include "inkscape.h" -#include "knot-holder-entity.h" -#include "knot.h" -#include "knotholder.h" -#include "live_effects/lpe-offset.h" -#include "object/sp-shape.h" +#include "helper/geom.h" +#include "helper/geom-pathstroke.h" +#include <2geom/sbasis-to-bezier.h> +#include <2geom/piecewise.h> +#include <2geom/path-intersection.h> +#include <2geom/intersection-graph.h> +#include <2geom/elliptical-arc.h> #include <2geom/angle.h> #include <2geom/curve.h> -#include <2geom/elliptical-arc.h> -#include <2geom/intersection-graph.h> -#include <2geom/path-intersection.h> -#include <2geom/piecewise.h> -#include <2geom/sbasis-to-bezier.h> +#include "object/sp-shape.h" +#include "knot-holder-entity.h" +#include "knotholder.h" +#include "knot.h" #include <algorithm> //this is only to flatten nonzero fillrule #include "livarot/Path.h" diff --git a/src/live_effects/lpe-parallel.cpp b/src/live_effects/lpe-parallel.cpp index ace7ff2d0..9c3b714cc 100644 --- a/src/live_effects/lpe-parallel.cpp +++ b/src/live_effects/lpe-parallel.cpp @@ -12,8 +12,8 @@ */ #include "live_effects/lpe-parallel.h" -#include "display/curve.h" #include "object/sp-shape.h" +#include "display/curve.h" #include "knotholder.h" diff --git a/src/live_effects/lpe-patternalongpath.cpp b/src/live_effects/lpe-patternalongpath.cpp index 13d8cd621..115c777d0 100644 --- a/src/live_effects/lpe-patternalongpath.cpp +++ b/src/live_effects/lpe-patternalongpath.cpp @@ -4,14 +4,14 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <algorithm> #include <cmath> +#include <algorithm> #include <2geom/bezier-to-sbasis.h> -#include "display/curve.h" #include "live_effects/lpe-patternalongpath.h" #include "live_effects/lpeobject.h" +#include "display/curve.h" #include "object/sp-shape.h" diff --git a/src/live_effects/lpe-perspective-envelope.cpp b/src/live_effects/lpe-perspective-envelope.cpp index 5ebe5ac54..e95cdfd4b 100644 --- a/src/live_effects/lpe-perspective-envelope.cpp +++ b/src/live_effects/lpe-perspective-envelope.cpp @@ -14,11 +14,11 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "display/curve.h" -#include "helper/geom.h" +#include <gtkmm.h> #include "live_effects/lpe-perspective-envelope.h" +#include "helper/geom.h" +#include "display/curve.h" #include <gsl/gsl_linalg.h> -#include <gtkmm.h> // TODO due to internal breakage in glibmm headers, this must be last: #include <glibmm/i18n.h> diff --git a/src/live_effects/lpe-perspective_path.cpp b/src/live_effects/lpe-perspective_path.cpp index d5cb1ca90..deed40bde 100644 --- a/src/live_effects/lpe-perspective_path.cpp +++ b/src/live_effects/lpe-perspective_path.cpp @@ -14,10 +14,10 @@ //#include "transf_mat_3x4.h" #include "document-private.h" -#include "knot-holder-entity.h" -#include "knotholder.h" #include "live_effects/lpe-perspective_path.h" #include "live_effects/lpeobject.h" +#include "knot-holder-entity.h" +#include "knotholder.h" #include <util/units.h> #include "object/persp3d.h" diff --git a/src/live_effects/lpe-powerclip.cpp b/src/live_effects/lpe-powerclip.cpp index 5f9223d51..b4c342930 100644 --- a/src/live_effects/lpe-powerclip.cpp +++ b/src/live_effects/lpe-powerclip.cpp @@ -2,19 +2,19 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ #include "live_effects/lpe-powerclip.h" +#include <2geom/path-intersection.h> +#include <2geom/intersection-graph.h> #include "display/curve.h" -#include "extract-uri.h" #include "helper/geom.h" -#include "path-chemistry.h" #include "ui/tools-switch.h" -#include <2geom/intersection-graph.h> -#include <2geom/path-intersection.h> +#include "path-chemistry.h" +#include "extract-uri.h" #include <bad-uri-exception.h> #include "object/sp-clippath.h" -#include "object/sp-item-group.h" #include "object/sp-path.h" #include "object/sp-shape.h" +#include "object/sp-item-group.h" #include "object/uri.h" // TODO due to internal breakage in glibmm headers, this must be last: diff --git a/src/live_effects/lpe-powermask.cpp b/src/live_effects/lpe-powermask.cpp index e757b1847..577d8a841 100644 --- a/src/live_effects/lpe-powermask.cpp +++ b/src/live_effects/lpe-powermask.cpp @@ -2,23 +2,23 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ #include "live_effects/lpe-powermask.h" +#include <2geom/path-intersection.h> +#include <2geom/intersection-graph.h> #include "display/curve.h" -#include "extract-uri.h" #include "helper/geom.h" -#include "path-chemistry.h" -#include "svg/stringstream.h" -#include "svg/svg-color.h" #include "svg/svg.h" +#include "svg/svg-color.h" +#include "svg/stringstream.h" #include "ui/tools-switch.h" -#include <2geom/intersection-graph.h> -#include <2geom/path-intersection.h> +#include "path-chemistry.h" +#include "extract-uri.h" #include <bad-uri-exception.h> -#include "object/sp-defs.h" -#include "object/sp-item-group.h" #include "object/sp-mask.h" #include "object/sp-path.h" #include "object/sp-shape.h" +#include "object/sp-defs.h" +#include "object/sp-item-group.h" #include "object/uri.h" diff --git a/src/live_effects/lpe-powerstroke.cpp b/src/live_effects/lpe-powerstroke.cpp index aed63b844..1d64e9042 100644 --- a/src/live_effects/lpe-powerstroke.cpp +++ b/src/live_effects/lpe-powerstroke.cpp @@ -13,16 +13,16 @@ #include "live_effects/lpe-powerstroke.h" #include "live_effects/lpe-powerstroke-interpolators.h" +#include "svg/svg-color.h" #include "desktop-style.h" -#include "display/curve.h" #include "svg/css-ostringstream.h" -#include "svg/svg-color.h" +#include "display/curve.h" -#include "helper/geom.h" -#include <2geom/circle.h> #include <2geom/elliptical-arc.h> -#include <2geom/path-intersection.h> #include <2geom/path-sink.h> +#include <2geom/path-intersection.h> +#include <2geom/circle.h> +#include "helper/geom.h" #include "object/sp-shape.h" #include "style.h" diff --git a/src/live_effects/lpe-pts2ellipse.cpp b/src/live_effects/lpe-pts2ellipse.cpp index d13b77da3..4fd145646 100644 --- a/src/live_effects/lpe-pts2ellipse.cpp +++ b/src/live_effects/lpe-pts2ellipse.cpp @@ -13,18 +13,18 @@ #include "live_effects/lpe-pts2ellipse.h" -#include <display/curve.h> -#include <object/sp-item-group.h> +#include <object/sp-shape.h> #include <object/sp-item.h> #include <object/sp-path.h> -#include <object/sp-shape.h> +#include <object/sp-item-group.h> #include <svg/svg.h> +#include <display/curve.h> +#include <2geom/path.h> #include <2geom/circle.h> #include <2geom/ellipse.h> -#include <2geom/elliptical-arc.h> -#include <2geom/path.h> #include <2geom/pathvector.h> +#include <2geom/elliptical-arc.h> #include <glib/gi18n.h> diff --git a/src/live_effects/lpe-rough-hatches.cpp b/src/live_effects/lpe-rough-hatches.cpp index 43c25eeab..79ce89c9f 100644 --- a/src/live_effects/lpe-rough-hatches.cpp +++ b/src/live_effects/lpe-rough-hatches.cpp @@ -19,8 +19,8 @@ #include "xml/repr.h" -#include <2geom/bezier-to-sbasis.h> #include <2geom/sbasis-math.h> +#include <2geom/bezier-to-sbasis.h> // TODO due to internal breakage in glibmm headers, this must be last: #include <glibmm/i18n.h> diff --git a/src/live_effects/lpe-roughen.cpp b/src/live_effects/lpe-roughen.cpp index 85d78c683..e78ab99fd 100644 --- a/src/live_effects/lpe-roughen.cpp +++ b/src/live_effects/lpe-roughen.cpp @@ -13,11 +13,11 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "display/curve.h" -#include "helper/geom.h" +#include <gtkmm.h> #include "live_effects/lpe-roughen.h" +#include "display/curve.h" #include <boost/functional/hash.hpp> -#include <gtkmm.h> +#include "helper/geom.h" // TODO due to internal breakage in glibmm headers, this must be last: #include <glibmm/i18n.h> diff --git a/src/live_effects/lpe-show_handles.cpp b/src/live_effects/lpe-show_handles.cpp index af8604e58..35da722d0 100644 --- a/src/live_effects/lpe-show_handles.cpp +++ b/src/live_effects/lpe-show_handles.cpp @@ -6,14 +6,14 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "desktop-style.h" -#include "display/curve.h" -#include "helper/geom.h" +#include <gtkmm.h> #include "live_effects/lpe-show_handles.h" -#include "svg/svg.h" #include <2geom/sbasis-to-bezier.h> #include <2geom/svg-path-parser.h> -#include <gtkmm.h> +#include "helper/geom.h" +#include "desktop-style.h" +#include "display/curve.h" +#include "svg/svg.h" #include "object/sp-shape.h" #include "style.h" diff --git a/src/live_effects/lpe-simplify.cpp b/src/live_effects/lpe-simplify.cpp index 2a7c6a1d3..e676f37a0 100644 --- a/src/live_effects/lpe-simplify.cpp +++ b/src/live_effects/lpe-simplify.cpp @@ -2,14 +2,14 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <gtkmm.h> +#include "live_effects/lpe-simplify.h" #include "display/curve.h" #include "helper/geom.h" -#include "live_effects/lpe-simplify.h" +#include <2geom/svg-path-parser.h> #include "svg/svg.h" -#include "ui/icon-names.h" #include "ui/tools/node-tool.h" -#include <2geom/svg-path-parser.h> -#include <gtkmm.h> +#include "ui/icon-names.h" // TODO due to internal breakage in glibmm headers, this must be last: #include <glibmm/i18n.h> diff --git a/src/live_effects/lpe-sketch.cpp b/src/live_effects/lpe-sketch.cpp index 82fd4e4cb..dfb860de8 100644 --- a/src/live_effects/lpe-sketch.cpp +++ b/src/live_effects/lpe-sketch.cpp @@ -14,9 +14,9 @@ #include "live_effects/lpe-sketch.h" // You might need to include other 2geom files. You can add them here: +#include <2geom/sbasis-math.h> #include <2geom/bezier-to-sbasis.h> #include <2geom/path-intersection.h> -#include <2geom/sbasis-math.h> // TODO due to internal breakage in glibmm headers, this must be last: #include <glibmm/i18n.h> diff --git a/src/live_effects/lpe-spiro.cpp b/src/live_effects/lpe-spiro.cpp index 6058bb16e..8ea57bee4 100644 --- a/src/live_effects/lpe-spiro.cpp +++ b/src/live_effects/lpe-spiro.cpp @@ -7,15 +7,15 @@ #include "live_effects/lpe-spiro.h" #include "display/curve.h" -#include "helper/geom-curves.h" -#include "helper/geom-nodetype.h" #include <2geom/curves.h> +#include "helper/geom-nodetype.h" +#include "helper/geom-curves.h" #include "live_effects/spiro.h" // For handling un-continuous paths: -#include "inkscape.h" #include "message-stack.h" +#include "inkscape.h" namespace Inkscape { namespace LivePathEffect { diff --git a/src/live_effects/lpe-tangent_to_curve.cpp b/src/live_effects/lpe-tangent_to_curve.cpp index 8d0c91e92..3a225c0be 100644 --- a/src/live_effects/lpe-tangent_to_curve.cpp +++ b/src/live_effects/lpe-tangent_to_curve.cpp @@ -17,8 +17,8 @@ #include "display/curve.h" #include "knotholder.h" -#include "object/sp-object-group.h" #include "object/sp-shape.h" +#include "object/sp-object-group.h" // TODO due to internal breakage in glibmm headers, this must be last: #include <glibmm/i18n.h> diff --git a/src/live_effects/lpe-taperstroke.cpp b/src/live_effects/lpe-taperstroke.cpp index cc0b602d3..b5e440767 100644 --- a/src/live_effects/lpe-taperstroke.cpp +++ b/src/live_effects/lpe-taperstroke.cpp @@ -18,17 +18,17 @@ #include "desktop-style.h" -#include "display/curve.h" #include "helper/geom-nodetype.h" #include "helper/geom-pathstroke.h" -#include "svg/css-ostringstream.h" +#include "display/curve.h" #include "svg/svg-color.h" +#include "svg/css-ostringstream.h" #include "svg/svg.h" #include "knotholder.h" -#include "object/sp-object-group.h" #include "object/sp-shape.h" +#include "object/sp-object-group.h" #include "style.h" // TODO due to internal breakage in glibmm headers, this must be last: diff --git a/src/live_effects/lpe-transform_2pts.cpp b/src/live_effects/lpe-transform_2pts.cpp index 36e0df24f..47f8864ce 100644 --- a/src/live_effects/lpe-transform_2pts.cpp +++ b/src/live_effects/lpe-transform_2pts.cpp @@ -12,12 +12,12 @@ #include <gtkmm.h> -#include "display/curve.h" #include "live_effects/lpe-transform_2pts.h" -#include "object/sp-path.h" -#include "svg/svg.h" +#include "display/curve.h" #include "ui/icon-names.h" +#include "svg/svg.h" #include "verbs.h" +#include "object/sp-path.h" // TODO due to internal breakage in glibmm headers, this must be last: #include <glibmm/i18n.h> diff --git a/src/live_effects/lpegroupbbox.cpp b/src/live_effects/lpegroupbbox.cpp index 5b339b8bf..6df6278b1 100644 --- a/src/live_effects/lpegroupbbox.cpp +++ b/src/live_effects/lpegroupbbox.cpp @@ -8,11 +8,11 @@ #include "document.h" #include "live_effects/lpegroupbbox.h" #include "object/sp-clippath.h" -#include "object/sp-item-group.h" -#include "object/sp-lpe-item.h" #include "object/sp-mask.h" #include "object/sp-root.h" #include "object/sp-shape.h" +#include "object/sp-item-group.h" +#include "object/sp-lpe-item.h" namespace Inkscape { namespace LivePathEffect { diff --git a/src/live_effects/lpeobject.cpp b/src/live_effects/lpeobject.cpp index 1d478bd48..bc5ff0576 100644 --- a/src/live_effects/lpeobject.cpp +++ b/src/live_effects/lpeobject.cpp @@ -9,11 +9,11 @@ #include "live_effects/effect.h" +#include "xml/repr.h" +#include "xml/node-event-vector.h" #include "attributes.h" -#include "document-private.h" #include "document.h" -#include "xml/node-event-vector.h" -#include "xml/repr.h" +#include "document-private.h" #include "object/sp-defs.h" diff --git a/src/live_effects/parameter/bool.cpp b/src/live_effects/parameter/bool.cpp index fa0195aaa..bfbda2bfd 100644 --- a/src/live_effects/parameter/bool.cpp +++ b/src/live_effects/parameter/bool.cpp @@ -5,13 +5,13 @@ */ #include "ui/widget/registered-widget.h" -#include "helper-fns.h" -#include "inkscape.h" -#include "live_effects/effect.h" #include "live_effects/parameter/bool.h" -#include "svg/stringstream.h" +#include "live_effects/effect.h" #include "svg/svg.h" +#include "svg/stringstream.h" +#include "inkscape.h" #include "verbs.h" +#include "helper-fns.h" #include <glibmm/i18n.h> namespace Inkscape { diff --git a/src/live_effects/parameter/colorpicker.cpp b/src/live_effects/parameter/colorpicker.cpp index 9b5ff67d1..f6521d0c0 100644 --- a/src/live_effects/parameter/colorpicker.cpp +++ b/src/live_effects/parameter/colorpicker.cpp @@ -4,19 +4,19 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <gtkmm.h> +#include "ui/widget/registered-widget.h" +#include "live_effects/parameter/colorpicker.h" +#include "live_effects/effect.h" +#include "ui/widget/color-picker.h" +#include "svg/svg.h" +#include "svg/svg-color.h" #include "color.h" -#include "document-undo.h" -#include "document.h" #include "inkscape.h" -#include "live_effects/effect.h" -#include "live_effects/parameter/colorpicker.h" #include "svg/stringstream.h" -#include "svg/svg-color.h" -#include "svg/svg.h" -#include "ui/widget/color-picker.h" -#include "ui/widget/registered-widget.h" #include "verbs.h" -#include <gtkmm.h> +#include "document.h" +#include "document-undo.h" #include <glibmm/i18n.h> diff --git a/src/live_effects/parameter/fontbutton.cpp b/src/live_effects/parameter/fontbutton.cpp index 337b1d7a4..49edb850a 100644 --- a/src/live_effects/parameter/fontbutton.cpp +++ b/src/live_effects/parameter/fontbutton.cpp @@ -4,14 +4,14 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "live_effects/effect.h" +#include <gtkmm.h> +#include "ui/widget/registered-widget.h" #include "live_effects/parameter/fontbutton.h" -#include "svg/stringstream.h" -#include "svg/svg.h" +#include "live_effects/effect.h" #include "ui/widget/font-button.h" -#include "ui/widget/registered-widget.h" +#include "svg/svg.h" +#include "svg/stringstream.h" #include "verbs.h" -#include <gtkmm.h> #include <glibmm/i18n.h> diff --git a/src/live_effects/parameter/hidden.cpp b/src/live_effects/parameter/hidden.cpp index a68a7229c..5a21f572b 100644 --- a/src/live_effects/parameter/hidden.cpp +++ b/src/live_effects/parameter/hidden.cpp @@ -13,8 +13,8 @@ #include "live_effects/parameter/hidden.h" #include "live_effects/effect.h" -#include "svg/stringstream.h" #include "svg/svg.h" +#include "svg/stringstream.h" namespace Inkscape { diff --git a/src/live_effects/parameter/item-reference.cpp b/src/live_effects/parameter/item-reference.cpp index 407dc3be9..6540245d3 100644 --- a/src/live_effects/parameter/item-reference.cpp +++ b/src/live_effects/parameter/item-reference.cpp @@ -8,9 +8,9 @@ #include "live_effects/parameter/item-reference.h" -#include "object/sp-item-group.h" #include "object/sp-shape.h" #include "object/sp-text.h" +#include "object/sp-item-group.h" namespace Inkscape { namespace LivePathEffect { diff --git a/src/live_effects/parameter/item.cpp b/src/live_effects/parameter/item.cpp index d3bc96f98..2107a5912 100644 --- a/src/live_effects/parameter/item.cpp +++ b/src/live_effects/parameter/item.cpp @@ -18,11 +18,11 @@ #include "live_effects/effect.h" #include "svg/svg.h" +#include "selection-chemistry.h" +#include "xml/repr.h" #include "desktop.h" #include "inkscape.h" #include "message-stack.h" -#include "selection-chemistry.h" -#include "xml/repr.h" // clipboard support #include "ui/clipboard.h" diff --git a/src/live_effects/parameter/message.cpp b/src/live_effects/parameter/message.cpp index 693396ce0..03eb2219f 100644 --- a/src/live_effects/parameter/message.cpp +++ b/src/live_effects/parameter/message.cpp @@ -4,10 +4,10 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "live_effects/effect.h" +#include <gtkmm.h> #include "live_effects/parameter/message.h" +#include "live_effects/effect.h" #include <glibmm/i18n.h> -#include <gtkmm.h> namespace Inkscape { diff --git a/src/live_effects/parameter/originalitem.cpp b/src/live_effects/parameter/originalitem.cpp index 8e4bb0849..52e4c2fd8 100644 --- a/src/live_effects/parameter/originalitem.cpp +++ b/src/live_effects/parameter/originalitem.cpp @@ -8,8 +8,8 @@ # include "config.h" #endif -#include "live_effects/parameter/originalitem.h" #include <gtkmm/box.h> +#include "live_effects/parameter/originalitem.h" #include <glibmm/i18n.h> #include <gtkmm/button.h> @@ -18,8 +18,8 @@ #include "display/curve.h" #include "live_effects/effect.h" -#include "desktop.h" #include "inkscape.h" +#include "desktop.h" #include "selection.h" #include "object/uri.h" diff --git a/src/live_effects/parameter/originalitemarray.cpp b/src/live_effects/parameter/originalitemarray.cpp index f2ead5cea..a801d25f6 100644 --- a/src/live_effects/parameter/originalitemarray.cpp +++ b/src/live_effects/parameter/originalitemarray.cpp @@ -10,27 +10,27 @@ #include "live_effects/parameter/originalitemarray.h" +#include <gtkmm/widget.h> #include <gtkmm/icontheme.h> #include <gtkmm/imagemenuitem.h> -#include <gtkmm/scrolledwindow.h> #include <gtkmm/separatormenuitem.h> -#include <gtkmm/widget.h> +#include <gtkmm/scrolledwindow.h> #include <glibmm/i18n.h> #include "inkscape.h" -#include "originalitem.h" -#include "svg/stringstream.h" -#include "svg/svg.h" #include "ui/clipboard.h" +#include "svg/svg.h" +#include "svg/stringstream.h" +#include "originalitem.h" #include "object/uri.h" #include "live_effects/effect.h" +#include "verbs.h" #include "document-undo.h" #include "document.h" -#include "verbs.h" namespace Inkscape { diff --git a/src/live_effects/parameter/originalpath.cpp b/src/live_effects/parameter/originalpath.cpp index e71df4a54..018e1e69e 100644 --- a/src/live_effects/parameter/originalpath.cpp +++ b/src/live_effects/parameter/originalpath.cpp @@ -8,8 +8,8 @@ # include "config.h" #endif -#include "live_effects/parameter/originalpath.h" #include <gtkmm/box.h> +#include "live_effects/parameter/originalpath.h" #include <glibmm/i18n.h> #include <gtkmm/button.h> @@ -18,12 +18,12 @@ #include "display/curve.h" #include "live_effects/effect.h" +#include "object/uri.h" #include "object/sp-shape.h" #include "object/sp-text.h" -#include "object/uri.h" -#include "desktop.h" #include "inkscape.h" +#include "desktop.h" #include "selection.h" #include "ui/icon-names.h" diff --git a/src/live_effects/parameter/originalpatharray.cpp b/src/live_effects/parameter/originalpatharray.cpp index 309b6c989..70f17ccb8 100644 --- a/src/live_effects/parameter/originalpatharray.cpp +++ b/src/live_effects/parameter/originalpatharray.cpp @@ -8,26 +8,26 @@ # include "config.h" #endif -#include "live_effects/lpe-bspline.h" +#include "live_effects/parameter/originalpatharray.h" #include "live_effects/lpe-spiro.h" -#include "live_effects/lpeobject-reference.h" +#include "live_effects/lpe-bspline.h" #include "live_effects/lpeobject.h" -#include "live_effects/parameter/originalpatharray.h" +#include "live_effects/lpeobject-reference.h" +#include <gtkmm/widget.h> #include <gtkmm/icontheme.h> #include <gtkmm/imagemenuitem.h> -#include <gtkmm/scrolledwindow.h> #include <gtkmm/separatormenuitem.h> -#include <gtkmm/widget.h> +#include <gtkmm/scrolledwindow.h> #include <glibmm/i18n.h> -#include "display/curve.h" #include "inkscape.h" -#include "originalpath.h" -#include "svg/stringstream.h" -#include "svg/svg.h" #include "ui/clipboard.h" +#include "svg/svg.h" +#include "svg/stringstream.h" +#include "originalpath.h" +#include "display/curve.h" #include <2geom/coord.h> #include <2geom/point.h> @@ -38,9 +38,9 @@ #include "live_effects/effect.h" +#include "verbs.h" #include "document-undo.h" #include "document.h" -#include "verbs.h" namespace Inkscape { diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp index 706b6d105..ab385daa6 100644 --- a/src/live_effects/parameter/path.cpp +++ b/src/live_effects/parameter/path.cpp @@ -17,38 +17,38 @@ #include "live_effects/effect.h" #include "svg/svg.h" -#include <2geom/d2.h> -#include <2geom/pathvector.h> -#include <2geom/sbasis-to-bezier.h> #include <2geom/svg-path-parser.h> +#include <2geom/sbasis-to-bezier.h> +#include <2geom/pathvector.h> +#include <2geom/d2.h> +#include "selection-chemistry.h" +#include "xml/repr.h" #include "desktop.h" -#include "document-undo.h" -#include "document.h" #include "inkscape.h" #include "message-stack.h" -#include "selection-chemistry.h" #include "verbs.h" -#include "xml/repr.h" +#include "document.h" +#include "document-undo.h" // needed for on-canvas editing: -#include "ui/shape-editor.h" #include "ui/tools-switch.h" +#include "ui/shape-editor.h" #include "selection.h" // clipboard support #include "ui/clipboard.h" // required for linking to other paths +#include "object/uri.h" #include "object/sp-shape.h" #include "object/sp-text.h" -#include "object/uri.h" #include "display/curve.h" +#include "ui/tools/node-tool.h" #include "ui/tool/multi-path-manipulator.h" #include "ui/tool/shape-record.h" -#include "ui/tools/node-tool.h" #include "ui/icon-names.h" diff --git a/src/live_effects/parameter/point.cpp b/src/live_effects/parameter/point.cpp index 2261ec59a..b811b7f2b 100644 --- a/src/live_effects/parameter/point.cpp +++ b/src/live_effects/parameter/point.cpp @@ -5,13 +5,13 @@ */ #include "live_effects/parameter/point.h" -#include "inkscape.h" -#include "knotholder.h" #include "live_effects/effect.h" -#include "svg/stringstream.h" #include "svg/svg.h" +#include "svg/stringstream.h" #include "ui/widget/point.h" +#include "inkscape.h" #include "verbs.h" +#include "knotholder.h" #include <glibmm/i18n.h> namespace Inkscape { diff --git a/src/live_effects/parameter/powerstrokepointarray.cpp b/src/live_effects/parameter/powerstrokepointarray.cpp index a3739a09f..cf4adc5fd 100644 --- a/src/live_effects/parameter/powerstrokepointarray.cpp +++ b/src/live_effects/parameter/powerstrokepointarray.cpp @@ -7,8 +7,8 @@ #include "ui/dialog/lpe-powerstroke-properties.h" #include "live_effects/parameter/powerstrokepointarray.h" -#include "knotholder.h" #include "live_effects/effect.h" +#include "knotholder.h" #include <2geom/piecewise.h> diff --git a/src/live_effects/parameter/random.cpp b/src/live_effects/parameter/random.cpp index 642a62bb4..23912bedb 100644 --- a/src/live_effects/parameter/random.cpp +++ b/src/live_effects/parameter/random.cpp @@ -5,11 +5,11 @@ */ #include "ui/widget/registered-widget.h" -#include "live_effects/effect.h" #include "live_effects/parameter/random.h" +#include "live_effects/effect.h" +#include <glibmm/i18n.h> #include "svg/svg.h" #include "ui/widget/random.h" -#include <glibmm/i18n.h> #include "svg/stringstream.h" diff --git a/src/live_effects/parameter/satellitesarray.cpp b/src/live_effects/parameter/satellitesarray.cpp index d4254ec19..c6f5492d1 100644 --- a/src/live_effects/parameter/satellitesarray.cpp +++ b/src/live_effects/parameter/satellitesarray.cpp @@ -7,9 +7,9 @@ */ #include "knotholder.h" -#include "live_effects/effect.h" -#include "live_effects/parameter/satellitesarray.h" #include "ui/dialog/lpe-fillet-chamfer-properties.h" +#include "live_effects/parameter/satellitesarray.h" +#include "live_effects/effect.h" #include "inkscape.h" #include <preferences.h> diff --git a/src/live_effects/parameter/text.cpp b/src/live_effects/parameter/text.cpp index 2f48f87d5..37ae3a1d7 100644 --- a/src/live_effects/parameter/text.cpp +++ b/src/live_effects/parameter/text.cpp @@ -11,13 +11,13 @@ #include "ui/widget/registered-widget.h" #include <gtkmm/alignment.h> -#include "display/canvas-text.h" -#include "inkscape.h" -#include "live_effects/effect.h" #include "live_effects/parameter/text.h" -#include "svg/stringstream.h" +#include "live_effects/effect.h" #include "svg/svg.h" +#include "svg/stringstream.h" +#include "inkscape.h" #include "verbs.h" +#include "display/canvas-text.h" #include <2geom/sbasis-geometric.h> #include <glibmm/i18n.h> diff --git a/src/live_effects/parameter/togglebutton.cpp b/src/live_effects/parameter/togglebutton.cpp index 74ceda456..bb9d9a90e 100644 --- a/src/live_effects/parameter/togglebutton.cpp +++ b/src/live_effects/parameter/togglebutton.cpp @@ -8,14 +8,14 @@ #include "ui/widget/registered-widget.h" #include <glibmm/i18n.h> -#include "helper-fns.h" -#include "inkscape.h" -#include "live_effects/effect.h" #include "live_effects/parameter/togglebutton.h" -#include "selection.h" -#include "svg/stringstream.h" +#include "live_effects/effect.h" #include "svg/svg.h" +#include "svg/stringstream.h" +#include "selection.h" +#include "inkscape.h" #include "verbs.h" +#include "helper-fns.h" namespace Inkscape { diff --git a/src/live_effects/parameter/transformedpoint.cpp b/src/live_effects/parameter/transformedpoint.cpp index bbdbc43f8..ab66e7256 100644 --- a/src/live_effects/parameter/transformedpoint.cpp +++ b/src/live_effects/parameter/transformedpoint.cpp @@ -8,11 +8,11 @@ #include "live_effects/parameter/transformedpoint.h" #include "knotholder.h" -#include "svg/stringstream.h" #include "svg/svg.h" +#include "svg/stringstream.h" -#include "desktop.h" #include "live_effects/effect.h" +#include "desktop.h" #include "verbs.h" #include <glibmm/i18n.h> diff --git a/src/live_effects/parameter/unit.cpp b/src/live_effects/parameter/unit.cpp index 9216c06ef..9199e592d 100644 --- a/src/live_effects/parameter/unit.cpp +++ b/src/live_effects/parameter/unit.cpp @@ -7,10 +7,10 @@ #include "ui/widget/registered-widget.h" #include <glibmm/i18n.h> -#include "live_effects/effect.h" #include "live_effects/parameter/unit.h" -#include "util/units.h" +#include "live_effects/effect.h" #include "verbs.h" +#include "util/units.h" using Inkscape::Util::unit_table; diff --git a/src/live_effects/parameter/vector.cpp b/src/live_effects/parameter/vector.cpp index 2bcd6c83f..1207a05da 100644 --- a/src/live_effects/parameter/vector.cpp +++ b/src/live_effects/parameter/vector.cpp @@ -10,8 +10,8 @@ #include "live_effects/parameter/vector.h" #include "knotholder.h" -#include "svg/stringstream.h" #include "svg/svg.h" +#include "svg/stringstream.h" #include "live_effects/effect.h" #include "verbs.h" diff --git a/src/live_effects/spiro-converters.cpp b/src/live_effects/spiro-converters.cpp index 06b9bbf84..ee214704c 100644 --- a/src/live_effects/spiro-converters.cpp +++ b/src/live_effects/spiro-converters.cpp @@ -7,8 +7,8 @@ */
#include "spiro-converters.h"
-#include "display/curve.h"
#include <2geom/path.h>
+#include "display/curve.h"
#include <glib.h>
#define SPIRO_SHOW_INFINITE_COORDINATE_CALLS
diff --git a/src/main.cpp b/src/main.cpp index db165f6aa..4a3b2d4ea 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -55,35 +55,35 @@ #undef AND #endif -#include "color.h" -#include "document.h" #include "file.h" +#include "document.h" #include "layer-model.h" -#include "print.h" -#include "selection-chemistry.h" #include "selection.h" +#include "selection-chemistry.h" #include "ui/interface.h" +#include "print.h" +#include "color.h" -#include "svg/stringstream.h" -#include "svg/svg-color.h" #include "svg/svg.h" +#include "svg/svg-color.h" +#include "svg/stringstream.h" -#include "inkscape-version.h" #include "inkscape.h" +#include "inkscape-version.h" #include "object/object-set.h" -#include "object/sp-flowtext.h" #include "object/sp-guide.h" -#include "object/sp-namedview.h" #include "object/sp-root.h" +#include "object/sp-namedview.h" #include "object/sp-text.h" +#include "object/sp-flowtext.h" #include "xml/repr.h" #include "io/sys.h" -#include "debug/log-display-config.h" #include "debug/logger.h" +#include "debug/log-display-config.h" #include "helper/action-context.h" #include "helper/png-write.h" @@ -91,10 +91,10 @@ #include "helper/gettext.h" #endif -#include <extension/db.h> #include <extension/extension.h> -#include <extension/input.h> +#include <extension/db.h> #include <extension/output.h> +#include <extension/input.h> #ifdef WIN32 #include <windows.h> @@ -108,19 +108,19 @@ #include "extension/dbus/dbus-init.h" #endif // WITH_DBUS +#include <glibmm/i18n.h> #include <glibmm/convert.h> #include <glibmm/fileutils.h> -#include <glibmm/i18n.h> -#include <glibmm/main.h> #include <glibmm/miscutils.h> +#include <glibmm/main.h> #include <gtkmm/main.h> #include <gtkmm/window.h> #include "main-cmdlineact.h" #include "main-cmdlinexact.h" -#include "verbs.h" #include <errno.h> +#include "verbs.h" #include "path-chemistry.h" #include "text-editing.h" diff --git a/src/message-context.cpp b/src/message-context.cpp index 43f127c1b..2c07f4a43 100644 --- a/src/message-context.cpp +++ b/src/message-context.cpp @@ -9,9 +9,9 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <glib.h> #include "message-context.h" #include "message-stack.h" -#include <glib.h> namespace Inkscape { diff --git a/src/message-stack.cpp b/src/message-stack.cpp index e70527e9a..70b2fb42d 100644 --- a/src/message-stack.cpp +++ b/src/message-stack.cpp @@ -9,10 +9,10 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "message-stack.h" -#include <cstring> -#include <glib.h> #include <string.h> +#include <glib.h> +#include <cstring> +#include "message-stack.h" namespace Inkscape { diff --git a/src/object/box3d-side.cpp b/src/object/box3d-side.cpp index cce899305..b6b9bbbf7 100644 --- a/src/object/box3d-side.cpp +++ b/src/object/box3d-side.cpp @@ -12,17 +12,17 @@ */ #include "box3d-side.h" -#include "attributes.h" -#include "desktop-style.h" -#include "display/curve.h" #include "document.h" +#include "xml/document.h" +#include "xml/repr.h" +#include "display/curve.h" +#include "svg/svg.h" +#include "attributes.h" #include "inkscape.h" -#include "persp3d-reference.h" #include "persp3d.h" -#include "svg/svg.h" +#include "persp3d-reference.h" #include "ui/tools/box3d-tool.h" -#include "xml/document.h" -#include "xml/repr.h" +#include "desktop-style.h" static void box3d_side_compute_corner_ids(Box3DSide *side, unsigned int corners[4]); diff --git a/src/object/box3d.cpp b/src/object/box3d.cpp index 6c574e13b..af1d00b0f 100644 --- a/src/object/box3d.cpp +++ b/src/object/box3d.cpp @@ -17,20 +17,20 @@ #include "box3d.h" +#include <glibmm/i18n.h> #include "attributes.h" #include "xml/document.h" #include "xml/repr.h" -#include <glibmm/i18n.h> #include "bad-uri-exception.h" #include "box3d-side.h" -#include "persp3d-reference.h" -#include "perspective-line.h" -#include "sp-guide.h" -#include "sp-namedview.h" #include "ui/tools/box3d-tool.h" +#include "perspective-line.h" +#include "persp3d-reference.h" #include "uri.h" #include <2geom/line.h> +#include "sp-guide.h" +#include "sp-namedview.h" #include "desktop.h" diff --git a/src/object/color-profile.cpp b/src/object/color-profile.cpp index c0ff72752..7bdde9b6d 100644 --- a/src/object/color-profile.cpp +++ b/src/object/color-profile.cpp @@ -6,18 +6,18 @@ #include <gdkmm/rgba.h> +#include <glib/gstdio.h> #include <fcntl.h> #include <glib/gi18n.h> -#include <glib/gstdio.h> #ifdef DEBUG_LCMS #include <gtk/gtk.h> #endif // DEBUG_LCMS +#include <unistd.h> #include <cstring> -#include <io/resource.h> #include <io/sys.h> -#include <unistd.h> +#include <io/resource.h> #ifdef WIN32 #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later. Required for correctly including icm.h @@ -32,18 +32,18 @@ # include <lcms.h> #endif // HAVE_LIBLCMS2 -#include "attributes.h" +#include "xml/repr.h" +#include "color.h" +#include "color-profile.h" #include "cms-system.h" #include "color-profile-cms-fns.h" -#include "color-profile.h" -#include "color.h" -#include "document.h" +#include "attributes.h" #include "inkscape.h" +#include "document.h" #include "preferences.h" -#include "uri.h" -#include "xml/repr.h" #include <glibmm/checksum.h> #include <glibmm/convert.h> +#include "uri.h" #ifdef WIN32 #include <icm.h> diff --git a/src/object/filters/colormatrix.cpp b/src/object/filters/colormatrix.cpp index 85b420049..0e8398ace 100644 --- a/src/object/filters/colormatrix.cpp +++ b/src/object/filters/colormatrix.cpp @@ -17,10 +17,10 @@ #include <string.h> #include "attributes.h" -#include "colormatrix.h" -#include "helper-fns.h" #include "svg/svg.h" +#include "colormatrix.h" #include "xml/repr.h" +#include "helper-fns.h" #include "display/nr-filter.h" diff --git a/src/object/filters/componenttransfer-funcnode.cpp b/src/object/filters/componenttransfer-funcnode.cpp index f17740668..23c8dbd96 100644 --- a/src/object/filters/componenttransfer-funcnode.cpp +++ b/src/object/filters/componenttransfer-funcnode.cpp @@ -16,11 +16,11 @@ #include <glib.h> #include "attributes.h" -#include "componenttransfer-funcnode.h" -#include "componenttransfer.h" #include "document.h" -#include "helper-fns.h" +#include "componenttransfer.h" +#include "componenttransfer-funcnode.h" #include "xml/repr.h" +#include "helper-fns.h" #define SP_MACROS_SILENT diff --git a/src/object/filters/componenttransfer.cpp b/src/object/filters/componenttransfer.cpp index 0a7778f89..dd13d85d1 100644 --- a/src/object/filters/componenttransfer.cpp +++ b/src/object/filters/componenttransfer.cpp @@ -16,8 +16,8 @@ #include "document.h" // In same directory -#include "componenttransfer-funcnode.h" #include "componenttransfer.h" +#include "componenttransfer-funcnode.h" #include "display/nr-filter.h" diff --git a/src/object/filters/composite.cpp b/src/object/filters/composite.cpp index ea2a2b82e..bca67774b 100644 --- a/src/object/filters/composite.cpp +++ b/src/object/filters/composite.cpp @@ -17,8 +17,8 @@ #include "attributes.h" #include "helper-fns.h" -#include "display/nr-filter-composite.h" #include "display/nr-filter.h" +#include "display/nr-filter-composite.h" #include "object/sp-filter.h" diff --git a/src/object/filters/convolvematrix.cpp b/src/object/filters/convolvematrix.cpp index 39965bc56..e856690ff 100644 --- a/src/object/filters/convolvematrix.cpp +++ b/src/object/filters/convolvematrix.cpp @@ -13,8 +13,8 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <math.h> #include <string.h> +#include <math.h> #include <vector> #include "convolvematrix.h" diff --git a/src/object/filters/diffuselighting.cpp b/src/object/filters/diffuselighting.cpp index b5ccb2775..f23817993 100644 --- a/src/object/filters/diffuselighting.cpp +++ b/src/object/filters/diffuselighting.cpp @@ -20,15 +20,15 @@ #include "pointlight.h" #include "spotlight.h" -#include "attributes.h" #include "strneq.h" +#include "attributes.h" -#include "display/nr-filter-diffuselighting.h" #include "display/nr-filter.h" +#include "display/nr-filter-diffuselighting.h" +#include "svg/svg.h" #include "svg/svg-color.h" #include "svg/svg-icc-color.h" -#include "svg/svg.h" #include "xml/repr.h" diff --git a/src/object/filters/distantlight.cpp b/src/object/filters/distantlight.cpp index d53c93b5a..076a7aab5 100644 --- a/src/object/filters/distantlight.cpp +++ b/src/object/filters/distantlight.cpp @@ -16,8 +16,8 @@ #include <glib.h> // In same dirctory -#include "diffuselighting.h" #include "distantlight.h" +#include "diffuselighting.h" #include "specularlighting.h" #include "attributes.h" diff --git a/src/object/filters/flood.cpp b/src/object/filters/flood.cpp index c9919bdff..9132b2028 100644 --- a/src/object/filters/flood.cpp +++ b/src/object/filters/flood.cpp @@ -14,14 +14,14 @@ #include "flood.h" -#include "attributes.h" #include "strneq.h" +#include "attributes.h" -#include "svg/svg-color.h" #include "svg/svg.h" +#include "svg/svg-color.h" -#include "display/nr-filter-flood.h" #include "display/nr-filter.h" +#include "display/nr-filter-flood.h" #include "xml/repr.h" diff --git a/src/object/filters/gaussian-blur.cpp b/src/object/filters/gaussian-blur.cpp index 78b69924d..81addb8e1 100644 --- a/src/object/filters/gaussian-blur.cpp +++ b/src/object/filters/gaussian-blur.cpp @@ -21,8 +21,8 @@ #include "attributes.h" -#include "display/nr-filter-gaussian.h" #include "display/nr-filter.h" +#include "display/nr-filter-gaussian.h" #include "svg/svg.h" diff --git a/src/object/filters/image.cpp b/src/object/filters/image.cpp index 0ab9707ee..1eeb32111 100644 --- a/src/object/filters/image.cpp +++ b/src/object/filters/image.cpp @@ -24,8 +24,8 @@ #include "bad-uri-exception.h" #include "object/sp-image.h" -#include "object/uri-references.h" #include "object/uri.h" +#include "object/uri-references.h" #include "display/nr-filter-image.h" #include "display/nr-filter.h" diff --git a/src/object/filters/merge.cpp b/src/object/filters/merge.cpp index 2d7f74258..8ec40cb46 100644 --- a/src/object/filters/merge.cpp +++ b/src/object/filters/merge.cpp @@ -15,10 +15,10 @@ #include "svg/svg.h" #include "xml/repr.h" -#include "display/nr-filter-merge.h" -#include "display/nr-filter.h" #include "merge.h" #include "mergenode.h" +#include "display/nr-filter.h" +#include "display/nr-filter-merge.h" SPFeMerge::SPFeMerge() : SPFilterPrimitive() { } diff --git a/src/object/filters/morphology.cpp b/src/object/filters/morphology.cpp index e80f0c5e1..b3cfa0697 100644 --- a/src/object/filters/morphology.cpp +++ b/src/object/filters/morphology.cpp @@ -16,10 +16,10 @@ #include <string.h> #include "attributes.h" -#include "display/nr-filter.h" -#include "morphology.h" #include "svg/svg.h" +#include "morphology.h" #include "xml/repr.h" +#include "display/nr-filter.h" SPFeMorphology::SPFeMorphology() : SPFilterPrimitive() { this->Operator = Inkscape::Filters::MORPHOLOGY_OPERATOR_ERODE; diff --git a/src/object/filters/offset.cpp b/src/object/filters/offset.cpp index 7814927ed..a0057d722 100644 --- a/src/object/filters/offset.cpp +++ b/src/object/filters/offset.cpp @@ -18,8 +18,8 @@ #include "attributes.h" #include "helper-fns.h" -#include "display/nr-filter-offset.h" #include "display/nr-filter.h" +#include "display/nr-filter-offset.h" #include "svg/svg.h" diff --git a/src/object/filters/specularlighting.cpp b/src/object/filters/specularlighting.cpp index df92badf7..c46a21080 100644 --- a/src/object/filters/specularlighting.cpp +++ b/src/object/filters/specularlighting.cpp @@ -23,14 +23,14 @@ #include "attributes.h" #include "strneq.h" -#include "display/nr-filter-specularlighting.h" #include "display/nr-filter.h" +#include "display/nr-filter-specularlighting.h" #include "object/sp-object.h" +#include "svg/svg.h" #include "svg/svg-color.h" #include "svg/svg-icc-color.h" -#include "svg/svg.h" #include "xml/repr.h" diff --git a/src/object/filters/tile.cpp b/src/object/filters/tile.cpp index 2a7ea3160..82e63c220 100644 --- a/src/object/filters/tile.cpp +++ b/src/object/filters/tile.cpp @@ -15,8 +15,8 @@ #include "attributes.h" -#include "display/nr-filter-tile.h" #include "display/nr-filter.h" +#include "display/nr-filter-tile.h" #include "svg/svg.h" diff --git a/src/object/filters/turbulence.cpp b/src/object/filters/turbulence.cpp index b9630d53b..9af51892e 100644 --- a/src/object/filters/turbulence.cpp +++ b/src/object/filters/turbulence.cpp @@ -15,9 +15,9 @@ */ #include "attributes.h" -#include "helper-fns.h" #include "svg/svg.h" #include "turbulence.h" +#include "helper-fns.h" #include "xml/repr.h" #include "display/nr-filter.h" diff --git a/src/object/object-set.cpp b/src/object/object-set.cpp index 44c0ded6f..36ddac350 100644 --- a/src/object/object-set.cpp +++ b/src/object/object-set.cpp @@ -9,14 +9,14 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "box3d.h" +#include <sigc++/sigc++.h> +#include <glib.h> #include "object-set.h" +#include "box3d.h" #include "persp3d.h" #include "preferences.h" #include <boost/range/adaptor/filtered.hpp> #include <boost/range/adaptor/transformed.hpp> -#include <glib.h> -#include <sigc++/sigc++.h> namespace Inkscape { diff --git a/src/object/persp3d.cpp b/src/object/persp3d.cpp index 2dcb202e0..ca39447a1 100644 --- a/src/object/persp3d.cpp +++ b/src/object/persp3d.cpp @@ -13,21 +13,21 @@ #include "persp3d.h" #include "perspective-line.h" -#include "sp-defs.h" #include "sp-root.h" +#include "sp-defs.h" #include "attributes.h" -#include "desktop.h" #include "document-private.h" #include "document-undo.h" -#include "svg/stringstream.h" -#include "ui/tools/box3d-tool.h" #include "vanishing-point.h" +#include "ui/tools/box3d-tool.h" +#include "svg/stringstream.h" #include "xml/node-event-vector.h" +#include "desktop.h" -#include "util/units.h" -#include "verbs.h" #include <glibmm/i18n.h> +#include "verbs.h" +#include "util/units.h" using Inkscape::DocumentUndo; diff --git a/src/object/sp-anchor.cpp b/src/object/sp-anchor.cpp index c9fa19d0e..b40f53ee1 100644 --- a/src/object/sp-anchor.cpp +++ b/src/object/sp-anchor.cpp @@ -14,13 +14,13 @@ #define noSP_ANCHOR_VERBOSE +#include <glibmm/i18n.h> +#include "xml/quote.h" +#include "xml/repr.h" #include "attributes.h" -#include "document.h" #include "sp-anchor.h" #include "ui/view/view.h" -#include "xml/quote.h" -#include "xml/repr.h" -#include <glibmm/i18n.h> +#include "document.h" SPAnchor::SPAnchor() : SPGroup() { this->href = NULL; diff --git a/src/object/sp-clippath.cpp b/src/object/sp-clippath.cpp index 79f3371c1..4afbf7e51 100644 --- a/src/object/sp-clippath.cpp +++ b/src/object/sp-clippath.cpp @@ -15,21 +15,21 @@ #include <cstring> #include <string> -#include "display/drawing-group.h" #include "display/drawing.h" +#include "display/drawing-group.h" #include "xml/repr.h" +#include "enums.h" #include "attributes.h" -#include "document-private.h" #include "document.h" -#include "enums.h" +#include "document-private.h" #include "style.h" #include <2geom/transforms.h> #include "sp-clippath.h" -#include "sp-defs.h" #include "sp-item.h" +#include "sp-defs.h" struct SPClipPathView { SPClipPathView *next; diff --git a/src/object/sp-conn-end-pair.cpp b/src/object/sp-conn-end-pair.cpp index 2c45b2858..b810df315 100644 --- a/src/object/sp-conn-end-pair.cpp +++ b/src/object/sp-conn-end-pair.cpp @@ -12,18 +12,18 @@ */ #include <cstring> -#include <glibmm/stringutils.h> #include <string> +#include <glibmm/stringutils.h> -#include "3rdparty/adaptagrams/libavoid/router.h" #include "attributes.h" -#include "display/curve.h" -#include "document.h" #include "sp-conn-end.h" -#include "sp-item-group.h" -#include "sp-path.h" #include "uri.h" +#include "display/curve.h" #include "xml/repr.h" +#include "sp-path.h" +#include "3rdparty/adaptagrams/libavoid/router.h" +#include "document.h" +#include "sp-item-group.h" SPConnEndPair::SPConnEndPair(SPPath *const owner) diff --git a/src/object/sp-conn-end.cpp b/src/object/sp-conn-end.cpp index f6a87d610..996d8499a 100644 --- a/src/object/sp-conn-end.cpp +++ b/src/object/sp-conn-end.cpp @@ -1,17 +1,17 @@ #include "sp-conn-end.h" #include <cstring> -#include <limits> #include <string> +#include <limits> -#include "2geom/path-intersection.h" #include "bad-uri-exception.h" #include "display/curve.h" -#include "document.h" -#include "sp-item-group.h" +#include "xml/repr.h" #include "sp-path.h" #include "uri.h" -#include "xml/repr.h" +#include "document.h" +#include "sp-item-group.h" +#include "2geom/path-intersection.h" static void change_endpts(SPCurve *const curve, double const endPos[2]); diff --git a/src/object/sp-defs.cpp b/src/object/sp-defs.cpp index 05b6ac674..619a27c0f 100644 --- a/src/object/sp-defs.cpp +++ b/src/object/sp-defs.cpp @@ -17,8 +17,8 @@ */ #include "sp-defs.h" -#include "document.h" #include "xml/repr.h" +#include "document.h" SPDefs::SPDefs() : SPObject() { } diff --git a/src/object/sp-ellipse.cpp b/src/object/sp-ellipse.cpp index a6b1123a9..74ade912c 100644 --- a/src/object/sp-ellipse.cpp +++ b/src/object/sp-ellipse.cpp @@ -18,8 +18,8 @@ #include <glibmm/i18n.h> #include "live_effects/effect.h" -#include "live_effects/lpeobject-reference.h" #include "live_effects/lpeobject.h" +#include "live_effects/lpeobject-reference.h" #include <2geom/angle.h> #include <2geom/circle.h> @@ -33,8 +33,8 @@ #include "snap-candidate.h" #include "sp-ellipse.h" #include "style.h" -#include "svg/path-string.h" #include "svg/svg.h" +#include "svg/path-string.h" #define SP_2PI (2 * M_PI) diff --git a/src/object/sp-factory.cpp b/src/object/sp-factory.cpp index a3f52a574..a540399c7 100644 --- a/src/object/sp-factory.cpp +++ b/src/object/sp-factory.cpp @@ -11,10 +11,9 @@ #include "sp-factory.h" // primary -#include "box3d-side.h" #include "box3d.h" +#include "box3d-side.h" #include "color-profile.h" -#include "live_effects/lpeobject.h" #include "persp3d.h" #include "sp-anchor.h" #include "sp-clippath.h" @@ -25,13 +24,13 @@ #include "sp-flowdiv.h" #include "sp-flowregion.h" #include "sp-flowtext.h" -#include "sp-font-face.h" #include "sp-font.h" -#include "sp-glyph-kerning.h" +#include "sp-font-face.h" #include "sp-glyph.h" +#include "sp-glyph-kerning.h" #include "sp-guide.h" -#include "sp-hatch-path.h" #include "sp-hatch.h" +#include "sp-hatch-path.h" #include "sp-image.h" #include "sp-line.h" #include "sp-linear-gradient.h" @@ -59,20 +58,21 @@ #include "sp-style-elem.h" #include "sp-switch.h" #include "sp-symbol.h" -#include "sp-tag-use.h" #include "sp-tag.h" +#include "sp-tag-use.h" #include "sp-text.h" #include "sp-textpath.h" #include "sp-title.h" #include "sp-tref.h" #include "sp-tspan.h" #include "sp-use.h" +#include "live_effects/lpeobject.h" // filters #include "filters/blend.h" #include "filters/colormatrix.h" -#include "filters/componenttransfer-funcnode.h" #include "filters/componenttransfer.h" +#include "filters/componenttransfer-funcnode.h" #include "filters/composite.h" #include "filters/convolvematrix.h" #include "filters/diffuselighting.h" diff --git a/src/object/sp-filter.cpp b/src/object/sp-filter.cpp index 81e9e904b..6cb4f8e5d 100644 --- a/src/object/sp-filter.cpp +++ b/src/object/sp-filter.cpp @@ -24,12 +24,12 @@ #include <glibmm.h> -#include "attributes.h" #include "bad-uri-exception.h" +#include "attributes.h" #include "display/nr-filter.h" #include "document.h" -#include "filters/sp-filter-primitive.h" #include "sp-filter-reference.h" +#include "filters/sp-filter-primitive.h" #include "uri.h" #include "xml/repr.h" diff --git a/src/object/sp-flowdiv.cpp b/src/object/sp-flowdiv.cpp index 4b82dcfbc..002fcff85 100644 --- a/src/object/sp-flowdiv.cpp +++ b/src/object/sp-flowdiv.cpp @@ -2,9 +2,9 @@ */ #include "xml/repr.h" -#include "document.h" #include "sp-flowdiv.h" #include "sp-string.h" +#include "document.h" SPFlowdiv::SPFlowdiv() : SPItem() { } diff --git a/src/object/sp-flowregion.cpp b/src/object/sp-flowregion.cpp index f5855a2d4..6640d93c2 100644 --- a/src/object/sp-flowregion.cpp +++ b/src/object/sp-flowregion.cpp @@ -6,15 +6,15 @@ #endif #include <glibmm/i18n.h> +#include <xml/repr.h> #include "display/curve.h" -#include "document.h" -#include "sp-desc.h" #include "sp-shape.h" #include "sp-text.h" -#include "sp-title.h" #include "sp-use.h" #include "style.h" -#include <xml/repr.h> +#include "document.h" +#include "sp-title.h" +#include "sp-desc.h" #include "sp-flowregion.h" diff --git a/src/object/sp-flowtext.cpp b/src/object/sp-flowtext.cpp index 8eeefe445..28b6b9575 100644 --- a/src/object/sp-flowtext.cpp +++ b/src/object/sp-flowtext.cpp @@ -4,20 +4,20 @@ #ifdef HAVE_CONFIG_H #include <config.h> #endif -#include <cstring> #include <glibmm/i18n.h> +#include <cstring> #include <string> #include "attributes.h" -#include "document.h" -#include "inkscape.h" -#include "style.h" #include "xml/repr.h" +#include "style.h" +#include "inkscape.h" +#include "document.h" #include "desktop.h" -#include "text-editing.h" #include "text-tag-attributes.h" +#include "text-editing.h" #include "sp-flowdiv.h" #include "sp-flowregion.h" diff --git a/src/object/sp-font-face.cpp b/src/object/sp-font-face.cpp index 936b22368..52fc09ddd 100644 --- a/src/object/sp-font-face.cpp +++ b/src/object/sp-font-face.cpp @@ -20,8 +20,8 @@ #include "xml/repr.h" #include "attributes.h" -#include "document.h" #include "sp-font-face.h" +#include "document.h" #include <cstring> diff --git a/src/object/sp-font.cpp b/src/object/sp-font.cpp index 72b4dc77b..a0193224c 100644 --- a/src/object/sp-font.cpp +++ b/src/object/sp-font.cpp @@ -16,8 +16,8 @@ #include "xml/repr.h" #include "attributes.h" -#include "document.h" #include "sp-font.h" +#include "document.h" #include "display/nr-svgfonts.h" diff --git a/src/object/sp-glyph.cpp b/src/object/sp-glyph.cpp index 4cc6e0690..6284cbfa1 100644 --- a/src/object/sp-glyph.cpp +++ b/src/object/sp-glyph.cpp @@ -15,8 +15,8 @@ #include "xml/repr.h" #include "attributes.h" -#include "document.h" #include "sp-glyph.h" +#include "document.h" SPGlyph::SPGlyph() : SPObject() diff --git a/src/object/sp-gradient.cpp b/src/object/sp-gradient.cpp index 477fd8a14..feaa04e0f 100644 --- a/src/object/sp-gradient.cpp +++ b/src/object/sp-gradient.cpp @@ -33,23 +33,23 @@ #include <cairo.h> -#include <sigc++/adaptors/bind.h> #include <sigc++/functors/ptr_fun.h> +#include <sigc++/adaptors/bind.h> -#include "attributes.h" #include "bad-uri-exception.h" #include "display/cairo-utils.h" +#include "svg/svg.h" +#include "svg/css-ostringstream.h" +#include "attributes.h" #include "document-private.h" #include "gradient-chemistry.h" #include "sp-gradient-reference.h" #include "sp-linear-gradient.h" +#include "sp-radial-gradient.h" #include "sp-mesh-gradient.h" -#include "sp-mesh-patch.h" #include "sp-mesh-row.h" -#include "sp-radial-gradient.h" +#include "sp-mesh-patch.h" #include "sp-stop.h" -#include "svg/css-ostringstream.h" -#include "svg/svg.h" /// Has to be power of 2 Seems to be unused. //#define NCOLORS NR_GRADIENT_VECTOR_LENGTH diff --git a/src/object/sp-guide.cpp b/src/object/sp-guide.cpp index 7bfa03798..25bcee92b 100644 --- a/src/object/sp-guide.cpp +++ b/src/object/sp-guide.cpp @@ -23,24 +23,24 @@ #include <cstring> #include <string> -#include "attributes.h" -#include "desktop.h" -#include "display/guideline.h" #include "display/sp-canvas.h" -#include "document-undo.h" -#include "helper-fns.h" -#include "inkscape.h" +#include "display/guideline.h" +#include "svg/svg.h" +#include "svg/svg-color.h" +#include "svg/stringstream.h" +#include "attributes.h" #include "sp-guide.h" #include "sp-item-notify-moveto.h" -#include "sp-namedview.h" -#include "sp-root.h" -#include "svg/stringstream.h" -#include "svg/svg-color.h" -#include "svg/svg.h" -#include "verbs.h" #include <glibmm/i18n.h> -#include <remove-last.h> #include <xml/repr.h> +#include <remove-last.h> +#include "inkscape.h" +#include "desktop.h" +#include "sp-root.h" +#include "sp-namedview.h" +#include "document-undo.h" +#include "helper-fns.h" +#include "verbs.h" using Inkscape::DocumentUndo; using std::vector; diff --git a/src/object/sp-hatch-path.cpp b/src/object/sp-hatch-path.cpp index 7b4d4834d..4497b6911 100644 --- a/src/object/sp-hatch-path.cpp +++ b/src/object/sp-hatch-path.cpp @@ -12,22 +12,22 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <2geom/path.h> #include <string> +#include <2geom/path.h> -#include "attributes.h" +#include "svg/svg.h" #include "display/cairo-utils.h" #include "display/curve.h" #include "display/drawing-context.h" -#include "display/drawing-shape.h" #include "display/drawing-surface.h" #include "display/drawing.h" -#include "document-private.h" +#include "display/drawing-shape.h" #include "helper/geom.h" -#include "sp-hatch-path.h" +#include "attributes.h" +#include "document-private.h" #include "sp-item.h" +#include "sp-hatch-path.h" #include "svg/css-ostringstream.h" -#include "svg/svg.h" SPHatchPath::SPHatchPath() : offset(), diff --git a/src/object/sp-hatch.cpp b/src/object/sp-hatch.cpp index 45d22d74f..f1958a53b 100644 --- a/src/object/sp-hatch.cpp +++ b/src/object/sp-hatch.cpp @@ -20,16 +20,16 @@ #include <2geom/transforms.h> #include <sigc++/functors/mem_fun.h> -#include "attributes.h" #include "bad-uri-exception.h" +#include "svg/svg.h" #include "display/cairo-utils.h" #include "display/drawing-context.h" -#include "display/drawing-pattern.h" #include "display/drawing-surface.h" #include "display/drawing.h" +#include "display/drawing-pattern.h" +#include "attributes.h" #include "document-private.h" #include "sp-hatch-path.h" -#include "svg/svg.h" SPHatch::SPHatch() : SPPaintServer(), diff --git a/src/object/sp-image.cpp b/src/object/sp-image.cpp index 69288d1cd..8d3a15f0b 100644 --- a/src/object/sp-image.cpp +++ b/src/object/sp-image.cpp @@ -17,28 +17,28 @@ # include "config.h" #endif -#include <2geom/rect.h> -#include <2geom/transforms.h> -#include <algorithm> #include <cstring> -#include <glib/gstdio.h> +#include <algorithm> +#include <string> #include <glibmm.h> +#include <glib/gstdio.h> +#include <2geom/rect.h> +#include <2geom/transforms.h> #include <glibmm/i18n.h> -#include <string> +#include "display/drawing-image.h" #include "display/cairo-utils.h" #include "display/curve.h" -#include "display/drawing-image.h" //Added for preserveAspectRatio support -- EAF #include "attributes.h" +#include "print.h" #include "brokenimage.xpm" #include "document.h" -#include "io/sys.h" -#include "preferences.h" -#include "print.h" -#include "sp-clippath.h" #include "sp-image.h" +#include "sp-clippath.h" #include "xml/quote.h" +#include "preferences.h" +#include "io/sys.h" #if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) #include "cms-system.h" diff --git a/src/object/sp-item-group.cpp b/src/object/sp-item-group.cpp index 8ea5ad8e2..602c4558c 100644 --- a/src/object/sp-item-group.cpp +++ b/src/object/sp-item-group.cpp @@ -18,42 +18,42 @@ #include <config.h> #endif -#include <cstring> #include <glibmm/i18n.h> +#include <cstring> #include <string> #include "attributes.h" -#include "document-undo.h" #include "document.h" +#include "document-undo.h" #include "selection-chemistry.h" #include "verbs.h" -#include "display/curve.h" #include "display/drawing-group.h" +#include "display/curve.h" #include "live_effects/effect.h" -#include "live_effects/lpeobject-reference.h" #include "live_effects/lpeobject.h" -#include "svg/css-ostringstream.h" +#include "live_effects/lpeobject-reference.h" #include "svg/svg.h" +#include "svg/css-ostringstream.h" #include "xml/repr.h" #include "xml/sp-css-attr.h" #include "box3d.h" #include "persp3d.h" -#include "sp-clippath.h" #include "sp-defs.h" -#include "sp-desc.h" -#include "sp-flowtext.h" #include "sp-item-transform.h" -#include "sp-mask.h" +#include "sp-root.h" +#include "sp-rect.h" #include "sp-offset.h" +#include "sp-clippath.h" +#include "sp-mask.h" #include "sp-path.h" -#include "sp-rect.h" -#include "sp-root.h" +#include "sp-use.h" +#include "sp-title.h" +#include "sp-desc.h" #include "sp-switch.h" #include "sp-textpath.h" -#include "sp-title.h" -#include "sp-use.h" +#include "sp-flowtext.h" #include "style.h" using Inkscape::DocumentUndo; diff --git a/src/object/sp-item-rm-unsatisfied-cns.cpp b/src/object/sp-item-rm-unsatisfied-cns.cpp index 9549318f2..516c88672 100644 --- a/src/object/sp-item-rm-unsatisfied-cns.cpp +++ b/src/object/sp-item-rm-unsatisfied-cns.cpp @@ -1,6 +1,6 @@ -#include <2geom/coord.h> #include <algorithm> +#include <2geom/coord.h> #include "remove-last.h" #include "sp-guide.h" diff --git a/src/object/sp-item-transform.cpp b/src/object/sp-item-transform.cpp index 9100bdef2..3675323ca 100644 --- a/src/object/sp-item-transform.cpp +++ b/src/object/sp-item-transform.cpp @@ -14,9 +14,9 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "sp-item-transform.h" -#include "sp-item.h" #include <2geom/transforms.h> +#include "sp-item.h" +#include "sp-item-transform.h" #include <glib.h> diff --git a/src/object/sp-item-update-cns.cpp b/src/object/sp-item-update-cns.cpp index b5ccc984f..077931d52 100644 --- a/src/object/sp-item-update-cns.cpp +++ b/src/object/sp-item-update-cns.cpp @@ -2,8 +2,8 @@ #include "satisfied-guide-cns.h" -#include "sp-guide.h" #include "sp-item-update-cns.h" +#include "sp-guide.h" using std::find; using std::vector; diff --git a/src/object/sp-item.cpp b/src/object/sp-item.cpp index 0acbb07be..5ca22cabd 100644 --- a/src/object/sp-item.cpp +++ b/src/object/sp-item.cpp @@ -20,19 +20,19 @@ #include <glibmm/i18n.h> -#include "attributes.h" #include "bad-uri-exception.h" +#include "svg/svg.h" +#include "print.h" #include "display/drawing-item.h" +#include "attributes.h" #include "document.h" -#include "print.h" -#include "svg/svg.h" -#include "conditions.h" -#include "conn-avoid-ref.h" +#include "inkscape.h" #include "desktop.h" -#include "filter-chemistry.h" #include "gradient-chemistry.h" -#include "inkscape.h" +#include "conn-avoid-ref.h" +#include "conditions.h" +#include "filter-chemistry.h" #include "sp-clippath.h" #include "sp-desc.h" @@ -40,8 +40,8 @@ #include "sp-item-rm-unsatisfied-cns.h" #include "sp-mask.h" #include "sp-pattern.h" -#include "sp-rect.h" #include "sp-root.h" +#include "sp-rect.h" #include "sp-switch.h" #include "sp-text.h" #include "sp-textpath.h" @@ -57,9 +57,9 @@ #include "extract-uri.h" +#include "live_effects/lpeobject.h" #include "live_effects/effect.h" #include "live_effects/lpeobject-reference.h" -#include "live_effects/lpeobject.h" #include "util/units.h" diff --git a/src/object/sp-line.cpp b/src/object/sp-line.cpp index 71cd66154..2ba633972 100644 --- a/src/object/sp-line.cpp +++ b/src/object/sp-line.cpp @@ -12,13 +12,13 @@ */ #include "attributes.h" +#include "style.h" +#include "sp-line.h" +#include "sp-guide.h" #include "display/curve.h" +#include <glibmm/i18n.h> #include "document.h" #include "inkscape.h" -#include "sp-guide.h" -#include "sp-line.h" -#include "style.h" -#include <glibmm/i18n.h> SPLine::SPLine() : SPShape() { this->x1.unset(); diff --git a/src/object/sp-lpe-item.cpp b/src/object/sp-lpe-item.cpp index 7f099de5f..c7c925c55 100644 --- a/src/object/sp-lpe-item.cpp +++ b/src/object/sp-lpe-item.cpp @@ -21,29 +21,29 @@ #include "ui/tool/multi-path-manipulator.h" #include "live_effects/effect.h" -#include "live_effects/lpe-copy_rotate.h" -#include "live_effects/lpe-mirror_symmetry.h" #include "live_effects/lpe-path_length.h" -#include "live_effects/lpeobject-reference.h" #include "live_effects/lpeobject.h" +#include "live_effects/lpeobject-reference.h" +#include "live_effects/lpe-mirror_symmetry.h" +#include "live_effects/lpe-copy_rotate.h" +#include "sp-path.h" +#include "sp-item-group.h" #include "attributes.h" -#include "desktop.h" -#include "display/curve.h" -#include "inkscape.h" +#include "uri.h" #include "message-stack.h" +#include "inkscape.h" +#include "desktop.h" +#include "ui/shape-editor.h" #include "path-chemistry.h" -#include "sp-clippath.h" #include "sp-ellipse.h" -#include "sp-item-group.h" +#include "display/curve.h" +#include "svg/svg.h" +#include "sp-clippath.h" #include "sp-mask.h" -#include "sp-path.h" #include "sp-rect.h" -#include "svg/svg.h" -#include "ui/shape-editor.h" #include "ui/tools-switch.h" #include "ui/tools/node-tool.h" -#include "uri.h" /* LPEItem base class */ static void sp_lpe_item_enable_path_effects(SPLPEItem *lpeitem, bool enable); diff --git a/src/object/sp-marker.cpp b/src/object/sp-marker.cpp index 08cda0a5a..e5ddb91b5 100644 --- a/src/object/sp-marker.cpp +++ b/src/object/sp-marker.cpp @@ -17,18 +17,18 @@ #include <cstring> #include <string> -#include "attributes.h" +#include <2geom/affine.h> +#include <2geom/transforms.h> +#include "svg/svg.h" #include "display/drawing-group.h" -#include "document-private.h" +#include "xml/repr.h" +#include "attributes.h" #include "document.h" +#include "document-private.h" #include "preferences.h" -#include "svg/svg.h" -#include "xml/repr.h" -#include <2geom/affine.h> -#include <2geom/transforms.h> -#include "sp-defs.h" #include "sp-marker.h" +#include "sp-defs.h" class SPMarkerView { diff --git a/src/object/sp-mask.cpp b/src/object/sp-mask.cpp index 9db32722b..2e764131c 100644 --- a/src/object/sp-mask.cpp +++ b/src/object/sp-mask.cpp @@ -11,20 +11,20 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <2geom/transforms.h> #include <cstring> #include <string> +#include <2geom/transforms.h> -#include "display/drawing-group.h" #include "display/drawing.h" +#include "display/drawing-group.h" #include "xml/repr.h" +#include "enums.h" #include "attributes.h" -#include "attributes.h" -#include "document-private.h" #include "document.h" -#include "enums.h" +#include "document-private.h" #include "style.h" +#include "attributes.h" #include "sp-defs.h" #include "sp-item.h" diff --git a/src/object/sp-mesh-array.cpp b/src/object/sp-mesh-array.cpp index 40fc75389..d958427f2 100644 --- a/src/object/sp-mesh-array.cpp +++ b/src/object/sp-mesh-array.cpp @@ -41,18 +41,18 @@ #include <set> // For color picking -#include "display/cairo-utils.h" -#include "display/drawing-context.h" #include "display/drawing.h" +#include "display/drawing-context.h" +#include "display/cairo-utils.h" #include "document.h" #include "sp-root.h" -#include "display/curve.h" -#include "sp-mesh-array.h" #include "sp-mesh-gradient.h" -#include "sp-mesh-patch.h" +#include "sp-mesh-array.h" #include "sp-mesh-row.h" +#include "sp-mesh-patch.h" #include "sp-stop.h" +#include "display/curve.h" // For new mesh creation #include "preferences.h" @@ -71,8 +71,8 @@ #include "2geom/line.h" #include "xml/repr.h" -#include <algorithm> #include <cmath> +#include <algorithm> enum { ROW, COL }; diff --git a/src/object/sp-metadata.cpp b/src/object/sp-metadata.cpp index d8c22704c..e7907e4f0 100644 --- a/src/object/sp-metadata.cpp +++ b/src/object/sp-metadata.cpp @@ -14,8 +14,8 @@ #endif #include "sp-metadata.h" -#include "document.h" #include "xml/node-iterators.h" +#include "document.h" #include "sp-item-group.h" #include "sp-root.h" diff --git a/src/object/sp-missing-glyph.cpp b/src/object/sp-missing-glyph.cpp index c80921d9c..f441b66d2 100644 --- a/src/object/sp-missing-glyph.cpp +++ b/src/object/sp-missing-glyph.cpp @@ -16,8 +16,8 @@ #include "xml/repr.h" #include "attributes.h" -#include "document.h" #include "sp-missing-glyph.h" +#include "document.h" SPMissingGlyph::SPMissingGlyph() : SPObject() { //TODO: correct these values: diff --git a/src/object/sp-namedview.cpp b/src/object/sp-namedview.cpp index 8eef39db3..59c7129f6 100644 --- a/src/object/sp-namedview.cpp +++ b/src/object/sp-namedview.cpp @@ -14,28 +14,28 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "event-log.h" -#include <2geom/transforms.h> #include <cstring> #include <string> +#include "event-log.h" +#include <2geom/transforms.h> -#include "attributes.h" -#include "desktop-events.h" #include "display/canvas-grid.h" -#include "document-undo.h" +#include "util/units.h" +#include "svg/svg-color.h" +#include "xml/repr.h" +#include "attributes.h" #include "document.h" +#include "document-undo.h" +#include "desktop-events.h" #include "enums.h" -#include "svg/svg-color.h" #include "ui/monitor.h" -#include "util/units.h" -#include "xml/repr.h" -#include "conn-avoid-ref.h" // for defaultConnSpacing. -#include "desktop.h" -#include "preferences.h" #include "sp-guide.h" #include "sp-item-group.h" #include "sp-namedview.h" +#include "preferences.h" +#include "desktop.h" +#include "conn-avoid-ref.h" // for defaultConnSpacing. #include "sp-root.h" #include <gtkmm/window.h> diff --git a/src/object/sp-object-group.cpp b/src/object/sp-object-group.cpp index 84c90a96f..f8ef855e3 100644 --- a/src/object/sp-object-group.cpp +++ b/src/object/sp-object-group.cpp @@ -13,8 +13,8 @@ */ #include "sp-object-group.h" -#include "document.h" #include "xml/repr.h" +#include "document.h" SPObjectGroup::SPObjectGroup() : SPObject() { } diff --git a/src/object/sp-object.cpp b/src/object/sp-object.cpp index 828c842d3..112a08fb9 100644 --- a/src/object/sp-object.cpp +++ b/src/object/sp-object.cpp @@ -20,28 +20,28 @@ #include <boost/range/adaptor/transformed.hpp> -#include "attribute-rel-util.h" +#include "helper/sp-marshal.h" +#include "xml/node-event-vector.h" #include "attributes.h" +#include "attribute-rel-util.h" #include "color-profile.h" -#include "debug/demangle.h" -#include "debug/event-tracker.h" -#include "debug/simple-event.h" #include "document.h" -#include "helper/sp-marshal.h" -#include "live_effects/lpeobject.h" #include "preferences.h" +#include "style.h" +#include "live_effects/lpeobject.h" #include "sp-factory.h" #include "sp-paint-server.h" #include "sp-root.h" -#include "sp-script.h" #include "sp-style-elem.h" +#include "sp-script.h" #include "streq.h" #include "strneq.h" -#include "style.h" +#include "xml/node-fns.h" +#include "debug/event-tracker.h" +#include "debug/simple-event.h" +#include "debug/demangle.h" #include "util/format.h" #include "util/longest-common-suffix.h" -#include "xml/node-event-vector.h" -#include "xml/node-fns.h" using std::memcpy; using std::strchr; diff --git a/src/object/sp-offset.cpp b/src/object/sp-offset.cpp index d3c881d6e..2864e88cb 100644 --- a/src/object/sp-offset.cpp +++ b/src/object/sp-offset.cpp @@ -25,10 +25,10 @@ #include <glibmm/i18n.h> -#include "attributes.h" #include "bad-uri-exception.h" -#include "display/curve.h" #include "svg/svg.h" +#include "attributes.h" +#include "display/curve.h" #include "livarot/Path.h" #include "livarot/Shape.h" diff --git a/src/object/sp-path.cpp b/src/object/sp-path.cpp index 9dd29eb3b..de31b45e2 100644 --- a/src/object/sp-path.cpp +++ b/src/object/sp-path.cpp @@ -22,28 +22,28 @@ #include <glibmm/i18n.h> #include "live_effects/effect.h" -#include "live_effects/lpeobject-reference.h" #include "live_effects/lpeobject.h" +#include "live_effects/lpeobject-reference.h" #include "sp-lpe-item.h" #include "display/curve.h" -#include "helper/geom-curves.h" #include <2geom/curves.h> +#include "helper/geom-curves.h" -#include "attributes.h" #include "svg/svg.h" #include "xml/repr.h" +#include "attributes.h" -#include "sp-guide.h" #include "sp-path.h" +#include "sp-guide.h" -#include "desktop.h" #include "document.h" +#include "desktop.h" #include "desktop-style.h" +#include "ui/tools/tool-base.h" #include "inkscape.h" #include "style.h" -#include "ui/tools/tool-base.h" #define noPATH_VERBOSE diff --git a/src/object/sp-pattern.cpp b/src/object/sp-pattern.cpp index 5f513871e..ebe78d63c 100644 --- a/src/object/sp-pattern.cpp +++ b/src/object/sp-pattern.cpp @@ -18,20 +18,20 @@ #include "sp-pattern.h" -#include <2geom/transforms.h> #include <cstring> -#include <glibmm.h> #include <string> +#include <glibmm.h> +#include <2geom/transforms.h> -#include "attributes.h" #include "bad-uri-exception.h" +#include "svg/svg.h" #include "display/cairo-utils.h" #include "display/drawing-context.h" -#include "display/drawing-group.h" #include "display/drawing-surface.h" #include "display/drawing.h" +#include "display/drawing-group.h" +#include "attributes.h" #include "document-private.h" -#include "svg/svg.h" #include "sp-factory.h" diff --git a/src/object/sp-polygon.cpp b/src/object/sp-polygon.cpp index 74f51406a..b2a0c1480 100644 --- a/src/object/sp-polygon.cpp +++ b/src/object/sp-polygon.cpp @@ -12,14 +12,14 @@ */ #include "attributes.h" +#include "sp-polygon.h" #include "display/curve.h" -#include "document.h" +#include <glibmm/i18n.h> +#include <2geom/curves.h> #include "helper/geom-curves.h" -#include "sp-polygon.h" #include "svg/stringstream.h" #include "xml/repr.h" -#include <2geom/curves.h> -#include <glibmm/i18n.h> +#include "document.h" SPPolygon::SPPolygon() : SPShape() { } diff --git a/src/object/sp-polyline.cpp b/src/object/sp-polyline.cpp index 7a62099fc..3be4700eb 100644 --- a/src/object/sp-polyline.cpp +++ b/src/object/sp-polyline.cpp @@ -12,11 +12,11 @@ */ #include "attributes.h" -#include "display/curve.h" -#include "document.h" #include "sp-polyline.h" -#include "xml/repr.h" +#include "display/curve.h" #include <glibmm/i18n.h> +#include "xml/repr.h" +#include "document.h" SPPolyLine::SPPolyLine() : SPShape() { } diff --git a/src/object/sp-rect.cpp b/src/object/sp-rect.cpp index 45ea93c54..08c3df4fd 100644 --- a/src/object/sp-rect.cpp +++ b/src/object/sp-rect.cpp @@ -17,14 +17,14 @@ #include "display/curve.h" -#include "attributes.h" -#include "document.h" #include "inkscape.h" -#include "preferences.h" -#include "sp-guide.h" -#include "sp-rect.h" +#include "document.h" +#include "attributes.h" #include "style.h" +#include "sp-rect.h" #include <glibmm/i18n.h> +#include "sp-guide.h" +#include "preferences.h" #define noRECT_VERBOSE diff --git a/src/object/sp-root.cpp b/src/object/sp-root.cpp index 69796ff9f..3f31588cc 100644 --- a/src/object/sp-root.cpp +++ b/src/object/sp-root.cpp @@ -13,20 +13,20 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <2geom/transforms.h> #include <string> +#include <2geom/transforms.h> #include "attributes.h" -#include "display/drawing-group.h" +#include "print.h" #include "document.h" #include "inkscape-version.h" -#include "print.h" #include "sp-defs.h" #include "sp-root.h" +#include "display/drawing-group.h" #include "svg/stringstream.h" #include "svg/svg.h" -#include "util/units.h" #include "xml/repr.h" +#include "util/units.h" SPRoot::SPRoot() : SPGroup(), SPViewBox() { diff --git a/src/object/sp-shape.cpp b/src/object/sp-shape.cpp index 21774abb3..1708ecfb3 100644 --- a/src/object/sp-shape.cpp +++ b/src/object/sp-shape.cpp @@ -18,28 +18,28 @@ #include <config.h> #endif -#include "helper/geom-nodetype.h" -#include "helper/geom.h" -#include <2geom/path-intersection.h> -#include <2geom/pathvector.h> #include <2geom/rect.h> #include <2geom/transforms.h> +#include <2geom/pathvector.h> +#include <2geom/path-intersection.h> +#include "helper/geom.h" +#include "helper/geom-nodetype.h" -#include <sigc++/adaptors/bind.h> #include <sigc++/functors/ptr_fun.h> +#include <sigc++/adaptors/bind.h> -#include "attributes.h" -#include "display/curve.h" #include "display/drawing-shape.h" -#include "document.h" -#include "live_effects/lpeobject.h" -#include "preferences.h" +#include "display/curve.h" #include "print.h" +#include "document.h" +#include "style.h" #include "sp-marker.h" #include "sp-path.h" -#include "style.h" -#include "svg/path-string.h" +#include "preferences.h" +#include "attributes.h" #include "svg/svg.h" +#include "svg/path-string.h" +#include "live_effects/lpeobject.h" #include "helper/mathfns.h" // for triangle_area() diff --git a/src/object/sp-spiral.cpp b/src/object/sp-spiral.cpp index 9ef1f2b2c..e17ddb10d 100644 --- a/src/object/sp-spiral.cpp +++ b/src/object/sp-spiral.cpp @@ -15,14 +15,14 @@ */ #include "live_effects/effect.h" -#include "attributes.h" -#include "display/curve.h" -#include "document.h" #include "svg/svg.h" -#include "xml/repr.h" +#include "attributes.h" #include <2geom/bezier-utils.h> #include <2geom/pathvector.h> +#include "display/curve.h" #include <glibmm/i18n.h> +#include "xml/repr.h" +#include "document.h" #include "sp-spiral.h" diff --git a/src/object/sp-star.cpp b/src/object/sp-star.cpp index 2fcac1b21..da00080a3 100644 --- a/src/object/sp-star.cpp +++ b/src/object/sp-star.cpp @@ -17,16 +17,16 @@ #include <config.h> #endif -#include "live_effects/effect.h" #include <cstring> -#include <glib.h> #include <string> +#include <glib.h> +#include "live_effects/effect.h" +#include "svg/svg.h" #include "attributes.h" #include "display/curve.h" -#include "document.h" -#include "svg/svg.h" #include "xml/repr.h" +#include "document.h" #include "sp-star.h" #include <glibmm/i18n.h> diff --git a/src/object/sp-stop.cpp b/src/object/sp-stop.cpp index e29afc53d..58746c951 100644 --- a/src/object/sp-stop.cpp +++ b/src/object/sp-stop.cpp @@ -19,9 +19,9 @@ #include "attributes.h" #include "streq.h" -#include "svg/css-ostringstream.h" -#include "svg/svg-color.h" #include "svg/svg.h" +#include "svg/svg-color.h" +#include "svg/css-ostringstream.h" SPStop::SPStop() : SPObject() { this->path_string = NULL; diff --git a/src/object/sp-style-elem.cpp b/src/object/sp-style-elem.cpp index 246a01cda..f1e66ae45 100644 --- a/src/object/sp-style-elem.cpp +++ b/src/object/sp-style-elem.cpp @@ -1,16 +1,16 @@ -#include "attributes.h" +#include <3rdparty/libcroco/cr-parser.h> +#include "xml/node-event-vector.h" +#include "xml/repr.h" #include "document.h" -#include "sp-root.h" #include "sp-style-elem.h" +#include "sp-root.h" +#include "attributes.h" #include "style.h" -#include "xml/node-event-vector.h" -#include "xml/repr.h" -#include <3rdparty/libcroco/cr-parser.h> // For external style sheets #include "io/resource.h" -#include <fstream> #include <iostream> +#include <fstream> // For font-rule #include "libnrtype/FontFactory.h" diff --git a/src/object/sp-switch.cpp b/src/object/sp-switch.cpp index 4aa68ec0c..d6ab1e904 100644 --- a/src/object/sp-switch.cpp +++ b/src/object/sp-switch.cpp @@ -14,9 +14,9 @@ #include <glibmm/i18n.h> -#include "conditions.h" -#include "display/drawing-group.h" #include "sp-switch.h" +#include "display/drawing-group.h" +#include "conditions.h" #include <sigc++/adaptors/bind.h> diff --git a/src/object/sp-symbol.cpp b/src/object/sp-symbol.cpp index 80971c080..55b5101af 100644 --- a/src/object/sp-symbol.cpp +++ b/src/object/sp-symbol.cpp @@ -17,13 +17,13 @@ #include <string> -#include "attributes.h" +#include <2geom/transforms.h> #include "display/drawing-group.h" -#include "document.h" +#include "xml/repr.h" +#include "attributes.h" #include "print.h" #include "sp-symbol.h" -#include "xml/repr.h" -#include <2geom/transforms.h> +#include "document.h" SPSymbol::SPSymbol() : SPGroup(), SPViewBox() { } diff --git a/src/object/sp-tag-use.cpp b/src/object/sp-tag-use.cpp index b76701c69..1312b923f 100644 --- a/src/object/sp-tag-use.cpp +++ b/src/object/sp-tag-use.cpp @@ -17,17 +17,17 @@ #include <glibmm/i18n.h> -#include "attributes.h" #include "bad-uri-exception.h" #include "display/drawing-group.h" +#include "attributes.h" #include "document.h" +#include "uri.h" +#include "xml/repr.h" #include "preferences.h" +#include "style.h" #include "sp-factory.h" #include "sp-symbol.h" #include "sp-tag-use-reference.h" -#include "style.h" -#include "uri.h" -#include "xml/repr.h" SPTagUse::SPTagUse() { diff --git a/src/object/sp-text.cpp b/src/object/sp-text.cpp index 4dd8aac7a..93694e844 100644 --- a/src/object/sp-text.cpp +++ b/src/object/sp-text.cpp @@ -27,22 +27,22 @@ #include <libnrtype/FontFactory.h> #include <libnrtype/font-instance.h> -#include "attributes.h" -#include "desktop.h" +#include <glibmm/i18n.h> +#include <glibmm/regex.h> +#include "svg/svg.h" #include "display/drawing-text.h" +#include "attributes.h" #include "document.h" -#include "inkscape.h" -#include "mod360.h" #include "preferences.h" +#include "desktop.h" #include "sp-namedview.h" -#include "svg/svg.h" +#include "inkscape.h" #include "xml/quote.h" -#include <glibmm/i18n.h> -#include <glibmm/regex.h> +#include "mod360.h" +#include "sp-title.h" #include "sp-desc.h" #include "sp-text.h" -#include "sp-title.h" #include "sp-shape.h" #include "sp-textpath.h" @@ -52,8 +52,8 @@ #include "text-editing.h" // For SVG 2 text flow -#include "display/curve.h" #include "livarot/Shape.h" +#include "display/curve.h" /*##################################################### # SPTEXT diff --git a/src/object/sp-tref.cpp b/src/object/sp-tref.cpp index be6777fd7..eae852a89 100644 --- a/src/object/sp-tref.cpp +++ b/src/object/sp-tref.cpp @@ -20,8 +20,8 @@ #include <glibmm/i18n.h> -#include "attributes.h" #include "bad-uri-exception.h" +#include "attributes.h" #include "document.h" #include "sp-factory.h" #include "sp-text.h" diff --git a/src/object/sp-tspan.cpp b/src/object/sp-tspan.cpp index 67219f1a9..d8c655c06 100644 --- a/src/object/sp-tspan.cpp +++ b/src/object/sp-tspan.cpp @@ -28,19 +28,19 @@ #endif #include <cstring> -#include <glibmm/i18n.h> #include <string> +#include <glibmm/i18n.h> +#include <livarot/Path.h> +#include "svg/stringstream.h" #include "attributes.h" -#include "document.h" -#include "sp-textpath.h" -#include "sp-tref.h" -#include "sp-tspan.h" #include "sp-use-reference.h" -#include "style.h" -#include "svg/stringstream.h" +#include "sp-tspan.h" +#include "sp-tref.h" +#include "sp-textpath.h" #include "text-editing.h" -#include <livarot/Path.h> +#include "style.h" +#include "document.h" /*##################################################### # SPTSPAN diff --git a/src/object/sp-use.cpp b/src/object/sp-use.cpp index c02bbade7..af61e392b 100644 --- a/src/object/sp-use.cpp +++ b/src/object/sp-use.cpp @@ -20,28 +20,28 @@ #include <glibmm/i18n.h> #include <glibmm/markup.h> -#include "attributes.h" #include "bad-uri-exception.h" #include "display/drawing-group.h" +#include "attributes.h" #include "document.h" -#include "preferences.h" -#include "print.h" #include "sp-clippath.h" +#include "sp-mask.h" #include "sp-factory.h" #include "sp-flowregion.h" -#include "sp-mask.h" -#include "style.h" -#include "svg/svg.h" #include "uri.h" +#include "print.h" #include "xml/repr.h" +#include "svg/svg.h" +#include "preferences.h" +#include "style.h" -#include "sp-flowtext.h" +#include "sp-use.h" +#include "sp-symbol.h" #include "sp-root.h" +#include "sp-use-reference.h" #include "sp-shape.h" -#include "sp-symbol.h" #include "sp-text.h" -#include "sp-use-reference.h" -#include "sp-use.h" +#include "sp-flowtext.h" SPUse::SPUse() : SPItem(), diff --git a/src/object/uri-references.cpp b/src/object/uri-references.cpp index c46eda5c0..faa3d38d9 100644 --- a/src/object/uri-references.cpp +++ b/src/object/uri-references.cpp @@ -13,17 +13,17 @@ #include "uri-references.h" -#include <cstring> #include <iostream> +#include <cstring> +#include <glibmm/miscutils.h> +#include "live_effects/lpeobject.h" #include "bad-uri-exception.h" #include "document.h" -#include "extract-uri.h" -#include "live_effects/lpeobject.h" #include "sp-object.h" -#include "sp-tag-use.h" #include "uri.h" -#include <glibmm/miscutils.h> +#include "extract-uri.h" +#include "sp-tag-use.h" namespace Inkscape { diff --git a/src/object/uri.cpp b/src/object/uri.cpp index 6d274d99a..881b322b4 100644 --- a/src/object/uri.cpp +++ b/src/object/uri.cpp @@ -10,8 +10,8 @@ #include "uri.h" -#include <glibmm/miscutils.h> #include <glibmm/ustring.h> +#include <glibmm/miscutils.h> #include "bad-uri-exception.h" diff --git a/src/object/viewbox.cpp b/src/object/viewbox.cpp index e48010c02..1b50fe71c 100644 --- a/src/object/viewbox.cpp +++ b/src/object/viewbox.cpp @@ -14,9 +14,9 @@ #include <2geom/transforms.h> +#include "viewbox.h" #include "enums.h" #include "sp-item.h" -#include "viewbox.h" SPViewBox::SPViewBox() : viewBox_set(false) diff --git a/src/path-prefix.cpp b/src/path-prefix.cpp index 8a2da789d..87b756eb4 100644 --- a/src/path-prefix.cpp +++ b/src/path-prefix.cpp @@ -23,8 +23,8 @@ #endif -#include "path-prefix.h" #include <glib.h> +#include "path-prefix.h" /** diff --git a/src/preferences.cpp b/src/preferences.cpp index 7a322f725..958e879f8 100644 --- a/src/preferences.cpp +++ b/src/preferences.cpp @@ -10,22 +10,22 @@ * Released under GNU GPL. Read the file 'COPYING' for more information. */ -#include "attribute-rel-util.h" -#include "inkscape.h" -#include "io/resource.h" -#include "preferences-skeleton.h" -#include "preferences.h" -#include "util/units.h" -#include "xml/attribute-record.h" -#include "xml/node-iterators.h" -#include "xml/node-observer.h" #include <cstring> -#include <glib/gstdio.h> -#include <glibmm/convert.h> +#include <sstream> #include <glibmm/fileutils.h> +#include <glibmm/convert.h> #include <glibmm/i18n.h> +#include <glib/gstdio.h> #include <gtk/gtk.h> -#include <sstream> +#include "preferences.h" +#include "preferences-skeleton.h" +#include "inkscape.h" +#include "xml/node-observer.h" +#include "xml/node-iterators.h" +#include "xml/attribute-record.h" +#include "util/units.h" +#include "attribute-rel-util.h" +#include "io/resource.h" #define PREFERENCES_FILE_NAME "preferences.xml" diff --git a/src/prefix.cpp b/src/prefix.cpp index 72616f857..14fdd04df 100644 --- a/src/prefix.cpp +++ b/src/prefix.cpp @@ -31,11 +31,11 @@ #endif -#include "prefix.h" -#include <cstdio> +#include <glib.h> #include <cstdlib> +#include <cstdio> #include <cstring> -#include <glib.h> +#include "prefix.h" #ifdef __cplusplus diff --git a/src/removeoverlap.cpp b/src/removeoverlap.cpp index f66d9c235..06e7b81e6 100644 --- a/src/removeoverlap.cpp +++ b/src/removeoverlap.cpp @@ -19,8 +19,8 @@ #include "libvpsc/rectangle.h" -#include "object/sp-item-transform.h" #include "object/sp-item.h" +#include "object/sp-item-transform.h" using vpsc::Rectangle; diff --git a/src/resource-manager.cpp b/src/resource-manager.cpp index 3ad53b7eb..0176a4abe 100644 --- a/src/resource-manager.cpp +++ b/src/resource-manager.cpp @@ -6,21 +6,21 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <algorithm> #include <string> #include <vector> +#include <algorithm> -#include <glibmm/convert.h> -#include <glibmm/fileutils.h> +#include <gtkmm/recentmanager.h> #include <glibmm/i18n.h> #include <glibmm/miscutils.h> +#include <glibmm/fileutils.h> #include <glibmm/uriutils.h> -#include <gtkmm/recentmanager.h> +#include <glibmm/convert.h> #include "resource-manager.h" -#include "document-undo.h" #include "document.h" +#include "document-undo.h" #include "verbs.h" #include "object/sp-object.h" diff --git a/src/rubberband.cpp b/src/rubberband.cpp index bfdc4aec2..47fdffb28 100644 --- a/src/rubberband.cpp +++ b/src/rubberband.cpp @@ -13,10 +13,10 @@ #include "display/sodipodi-ctrlrect.h" #include "desktop.h" +#include "rubberband.h" +#include "display/sp-canvas.h" #include "display/canvas-bpath.h" #include "display/curve.h" -#include "display/sp-canvas.h" -#include "rubberband.h" Inkscape::Rubberband *Inkscape::Rubberband::_instance = NULL; diff --git a/src/selection-describer.cpp b/src/selection-describer.cpp index aa42d13ac..caa83fb94 100644 --- a/src/selection-describer.cpp +++ b/src/selection-describer.cpp @@ -21,9 +21,9 @@ #include "selection-describer.h" -#include "desktop.h" #include "layer-model.h" #include "selection.h" +#include "desktop.h" #include "object/sp-flowtext.h" #include "object/sp-image.h" diff --git a/src/selection.cpp b/src/selection.cpp index d332c8323..b8dffb4ae 100644 --- a/src/selection.cpp +++ b/src/selection.cpp @@ -22,12 +22,12 @@ #endif #include "inkscape.h" +#include "preferences.h" #include "desktop.h" #include "document.h" -#include "preferences.h" -#include "object/sp-path.h" #include "object/sp-shape.h" +#include "object/sp-path.h" #include "xml/repr.h" diff --git a/src/shortcuts.cpp b/src/shortcuts.cpp index 1c5ca9215..96008dbeb 100644 --- a/src/shortcuts.cpp +++ b/src/shortcuts.cpp @@ -20,32 +20,32 @@ # include "config.h" #endif +#include <vector> #include <cstring> -#include <map> #include <string> -#include <vector> +#include <map> #include "shortcuts.h" #include <gdk/gdkkeysyms.h> #include <gtk/gtk.h> -#include <glibmm/convert.h> #include <glibmm/i18n.h> +#include <glibmm/convert.h> #include <glibmm/miscutils.h> -#include "desktop.h" -#include "document.h" #include "helper/action.h" -#include "inkscape.h" -#include "io/resource.h" #include "io/sys.h" -#include "path-prefix.h" -#include "preferences.h" -#include "ui/dialog/filedialog.h" -#include "ui/tools/tool-base.h" +#include "io/resource.h" #include "verbs.h" #include "xml/node-iterators.h" #include "xml/repr.h" +#include "document.h" +#include "preferences.h" +#include "ui/tools/tool-base.h" +#include "inkscape.h" +#include "desktop.h" +#include "path-prefix.h" +#include "ui/dialog/filedialog.h" using namespace Inkscape; using namespace Inkscape::IO::Resource; diff --git a/src/snap.cpp b/src/snap.cpp index 0b5de77d0..26d548040 100644 --- a/src/snap.cpp +++ b/src/snap.cpp @@ -30,8 +30,8 @@ #include "helper/mathfns.h" -#include "object/sp-guide.h" #include "object/sp-namedview.h" +#include "object/sp-guide.h" #include "ui/tools/tool-base.h" diff --git a/src/snapped-point.cpp b/src/snapped-point.cpp index b89d0b502..f826211fa 100644 --- a/src/snapped-point.cpp +++ b/src/snapped-point.cpp @@ -9,9 +9,9 @@ * Released under GNU GPL, read the file 'COPYING' for more information. */ -#include "preferences.h" -#include "snapped-point.h" #include <gtk/gtk.h> +#include "snapped-point.h" +#include "preferences.h" // overloaded constructor Inkscape::SnappedPoint::SnappedPoint(Geom::Point const &p, SnapSourceType const &source, long source_num, SnapTargetType const &target, Geom::Coord const &d, Geom::Coord const &t, bool const &a, bool const &constrained_snap, bool const &fully_constrained, Geom::OptRect target_bbox) : diff --git a/src/sp-item-notify-moveto.cpp b/src/sp-item-notify-moveto.cpp index bd0c9b4b4..52a76e55f 100644 --- a/src/sp-item-notify-moveto.cpp +++ b/src/sp-item-notify-moveto.cpp @@ -7,8 +7,8 @@ #include "sp-item-notify-moveto.h" #include "object/sp-guide.h" -#include "object/sp-item-rm-unsatisfied-cns.h" #include "object/sp-item.h" +#include "object/sp-item-rm-unsatisfied-cns.h" using std::vector; diff --git a/src/style-internal.cpp b/src/style-internal.cpp index f834337a6..f8f2042c4 100644 --- a/src/style-internal.cpp +++ b/src/style-internal.cpp @@ -37,9 +37,9 @@ #include "streq.h" #include "strneq.h" -#include "svg/css-ostringstream.h" -#include "svg/svg-color.h" #include "svg/svg.h" +#include "svg/svg-color.h" +#include "svg/css-ostringstream.h" #include "util/units.h" diff --git a/src/style.cpp b/src/style.cpp index c8d838ca3..5d6ba7a15 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -25,9 +25,9 @@ #include "style.h" -#include <algorithm> #include <cstring> #include <string> +#include <algorithm> #include <glibmm/regex.h> diff --git a/src/svg-view-slideshow.cpp b/src/svg-view-slideshow.cpp index fe9ce1fe1..430fd9ce5 100644 --- a/src/svg-view-slideshow.cpp +++ b/src/svg-view-slideshow.cpp @@ -40,9 +40,9 @@ #include "ui/monitor.h" #include "util/units.h" +#include "svg-view.h" #include "svg-view-slideshow.h" #include "svg-view-widget.h" -#include "svg-view.h" SPSlideShow::SPSlideShow(std::vector<Glib::ustring> const &slides, bool full_screen, int timer, double scale) diff --git a/src/svg-view-widget.cpp b/src/svg-view-widget.cpp index 88ae47378..7c72686b4 100644 --- a/src/svg-view-widget.cpp +++ b/src/svg-view-widget.cpp @@ -15,11 +15,11 @@ */ #include "display/sp-canvas.h" -#include "display/canvas-arena.h" #include "display/sp-canvas-group.h" +#include "display/canvas-arena.h" #include "document.h" -#include "svg-view-widget.h" #include "svg-view.h" +#include "svg-view-widget.h" #include "util/units.h" static void sp_svg_view_widget_dispose(GObject *object); diff --git a/src/svg/css-ostringstream.cpp b/src/svg/css-ostringstream.cpp index 51a2ce6ab..ef0413372 100644 --- a/src/svg/css-ostringstream.cpp +++ b/src/svg/css-ostringstream.cpp @@ -1,6 +1,6 @@ #include "svg/css-ostringstream.h" -#include "preferences.h" #include "svg/strip-trailing-zeros.h" +#include "preferences.h" Inkscape::CSSOStringStream::CSSOStringStream() { diff --git a/src/svg/path-string.cpp b/src/svg/path-string.cpp index 5d853b98a..7d0092dfa 100644 --- a/src/svg/path-string.cpp +++ b/src/svg/path-string.cpp @@ -14,9 +14,9 @@ */ #include "svg/path-string.h" -#include "preferences.h" #include "svg/stringstream.h" #include "svg/svg.h" +#include "preferences.h" // 1<=numericprecision<=16, doubles are only accurate upto (slightly less than) 16 digits (and less than one digit doesn't make sense) // Please note that these constants are used to allocate sufficient space to hold serialized numbers diff --git a/src/svg/stringstream.cpp b/src/svg/stringstream.cpp index f83f246de..ef7587154 100644 --- a/src/svg/stringstream.cpp +++ b/src/svg/stringstream.cpp @@ -1,6 +1,6 @@ #include "svg/stringstream.h" -#include "preferences.h" #include "svg/strip-trailing-zeros.h" +#include "preferences.h" #include <2geom/point.h> Inkscape::SVGOStringStream::SVGOStringStream() diff --git a/src/svg/strip-trailing-zeros.cpp b/src/svg/strip-trailing-zeros.cpp index 5b7b0e7b3..47da93249 100644 --- a/src/svg/strip-trailing-zeros.cpp +++ b/src/svg/strip-trailing-zeros.cpp @@ -1,7 +1,7 @@ #include <cstring> -#include <glib.h> #include <string> +#include <glib.h> #include "svg/strip-trailing-zeros.h" diff --git a/src/svg/svg-affine.cpp b/src/svg/svg-affine.cpp index 59ba4947e..76d89579d 100644 --- a/src/svg/svg-affine.cpp +++ b/src/svg/svg-affine.cpp @@ -15,14 +15,14 @@ #include "config.h" #endif -#include "preferences.h" -#include "svg.h" -#include <2geom/transforms.h> -#include <cstdio> -#include <cstdlib> #include <cstring> -#include <glib.h> #include <string> +#include <cstdlib> +#include <cstdio> +#include <glib.h> +#include <2geom/transforms.h> +#include "svg.h" +#include "preferences.h" bool sp_svg_transform_read(gchar const *str, Geom::Affine *transform) diff --git a/src/svg/svg-angle.cpp b/src/svg/svg-angle.cpp index e92893204..9d4435a18 100644 --- a/src/svg/svg-angle.cpp +++ b/src/svg/svg-angle.cpp @@ -17,8 +17,8 @@ #endif #include <cstring> -#include <glib.h> #include <string> +#include <glib.h> #include "svg/svg-angle.h" #include "util/units.h" diff --git a/src/svg/svg-color.cpp b/src/svg/svg-color.cpp index db0c0ab34..d1e91ace1 100644 --- a/src/svg/svg-color.cpp +++ b/src/svg/svg-color.cpp @@ -15,19 +15,19 @@ # include "config.h" #endif -#include <cstdio> // sprintf #include <cstdlib> +#include <cstdio> // sprintf #include <cstring> -#include <errno.h> -#include <glib.h> // g_assert -#include <math.h> #include <string> +#include <math.h> +#include <glib.h> // g_assert +#include <errno.h> #include <map> #include "colorspace.h" -#include "preferences.h" #include "strneq.h" +#include "preferences.h" #include "svg-color.h" #include "svg-icc-color.h" diff --git a/src/svg/svg-length.cpp b/src/svg/svg-length.cpp index 63ca09821..b3468d49c 100644 --- a/src/svg/svg-length.cpp +++ b/src/svg/svg-length.cpp @@ -12,12 +12,12 @@ #include <cmath> #include <cstring> +#include <string> #include <glib.h> #include <iostream> -#include <string> -#include "stringstream.h" #include "svg.h" +#include "stringstream.h" #include "util/units.h" static unsigned sp_svg_length_read_lff(gchar const *str, SVGLength::Unit *unit, float *val, float *computed, char **next); diff --git a/src/svg/svg-path.cpp b/src/svg/svg-path.cpp index dee79075a..13795f2a3 100644 --- a/src/svg/svg-path.cpp +++ b/src/svg/svg-path.cpp @@ -16,17 +16,17 @@ */ #include <cstring> -#include <glib.h> // g_assert() #include <string> +#include <glib.h> // g_assert() -#include <2geom/curves.h> -#include <2geom/path-sink.h> #include <2geom/pathvector.h> +#include <2geom/curves.h> #include <2geom/sbasis-to-bezier.h> +#include <2geom/path-sink.h> #include <2geom/svg-path-parser.h> -#include "svg/path-string.h" #include "svg/svg.h" +#include "svg/path-string.h" /* * Parses the path in str. When an error is found in the pathstring, this method diff --git a/src/text-chemistry.cpp b/src/text-chemistry.cpp index 20e6f931e..b26293801 100644 --- a/src/text-chemistry.cpp +++ b/src/text-chemistry.cpp @@ -16,8 +16,8 @@ #endif #include <cstring> -#include <glibmm/i18n.h> #include <string> +#include <glibmm/i18n.h> #include "desktop.h" diff --git a/src/text-editing.cpp b/src/text-editing.cpp index eaaaafaf7..ec9b82235 100644 --- a/src/text-editing.cpp +++ b/src/text-editing.cpp @@ -16,8 +16,8 @@ #endif #include <cstring> -#include <glibmm/i18n.h> #include <string> +#include <glibmm/i18n.h> #include "desktop.h" #include "document.h" @@ -25,11 +25,11 @@ #include "message-stack.h" #include "text-editing.h" +#include "object/sp-textpath.h" +#include "object/sp-flowtext.h" #include "object/sp-flowdiv.h" #include "object/sp-flowregion.h" -#include "object/sp-flowtext.h" #include "object/sp-item-group.h" -#include "object/sp-textpath.h" #include "object/sp-tref.h" #include "object/sp-tspan.h" #include "style.h" @@ -1240,7 +1240,7 @@ sp_te_adjust_line_height (SPObject *object, double amount, double average, bool // Always set if top level true. // Also set if line_height is set to a non-zero value. if (top_level || - (style->line_height.set && !style->line_height.inherit && (!(style->line_height.computed) == 0))){ + (style->line_height.set && !style->line_height.inherit && !style->line_height.computed == 0)){ // Scale default values if (!style->line_height.set || style->line_height.inherit || style->line_height.normal) { diff --git a/src/trace/potrace/inkscape-potrace.cpp b/src/trace/potrace/inkscape-potrace.cpp index f9c416961..b438be248 100644 --- a/src/trace/potrace/inkscape-potrace.cpp +++ b/src/trace/potrace/inkscape-potrace.cpp @@ -21,17 +21,17 @@ #include <iomanip> #include "trace/filterset.h" -#include "trace/imagemap-gdk.h" #include "trace/quantize.h" +#include "trace/imagemap-gdk.h" +#include <inkscape.h> #include "desktop.h" #include "message-stack.h" -#include <inkscape.h> #include "object/sp-path.h" -#include "bitmap.h" #include <svg/path-string.h> +#include "bitmap.h" using Glib::ustring; diff --git a/src/trace/quantize.cpp b/src/trace/quantize.cpp index 7a085b083..c386c0ee9 100644 --- a/src/trace/quantize.cpp +++ b/src/trace/quantize.cpp @@ -11,11 +11,11 @@ #include <cassert> #include <cstdio> -#include <new> #include <stdlib.h> +#include <new> -#include "imagemap.h" #include "pool.h" +#include "imagemap.h" #include "quantize.h" typedef struct Ocnode_def Ocnode; diff --git a/src/trace/siox.cpp b/src/trace/siox.cpp index 8bd04c0b9..9df4e561c 100644 --- a/src/trace/siox.cpp +++ b/src/trace/siox.cpp @@ -7,11 +7,11 @@ */ #include "siox.h" -#include <algorithm> -#include <cstdlib> -#include <map> #include <math.h> #include <stdarg.h> +#include <map> +#include <algorithm> +#include <cstdlib> namespace org diff --git a/src/trace/trace.cpp b/src/trace/trace.cpp index 94e24dfc2..5595b2544 100644 --- a/src/trace/trace.cpp +++ b/src/trace/trace.cpp @@ -14,30 +14,30 @@ #include "trace/potrace/inkscape-potrace.h" -#include "desktop.h" #include "inkscape.h" +#include "desktop.h" -#include "document-undo.h" #include "document.h" +#include "document-undo.h" #include "message-stack.h" +#include <glibmm/i18n.h> +#include <gtkmm/main.h> #include "selection.h" -#include "verbs.h" -#include "xml/attribute-record.h" #include "xml/repr.h" +#include "xml/attribute-record.h" #include <2geom/transforms.h> -#include <glibmm/i18n.h> -#include <gtkmm/main.h> +#include "verbs.h" #include "display/cairo-utils.h" -#include "display/drawing-shape.h" #include "display/drawing.h" +#include "display/drawing-shape.h" -#include "object/sp-image.h" #include "object/sp-item.h" #include "object/sp-shape.h" +#include "object/sp-image.h" -#include "imagemap-gdk.h" #include "siox.h" +#include "imagemap-gdk.h" namespace Inkscape { namespace Trace { diff --git a/src/transf_mat_3x4.cpp b/src/transf_mat_3x4.cpp index db17e61c6..05d0e9d6d 100644 --- a/src/transf_mat_3x4.cpp +++ b/src/transf_mat_3x4.cpp @@ -12,12 +12,12 @@ */ #include "transf_mat_3x4.h" -#include "document.h" -#include "inkscape.h" +#include <gtk/gtk.h> +#include <2geom/affine.h> #include "svg/stringstream.h" #include "syseq.h" -#include <2geom/affine.h> -#include <gtk/gtk.h> +#include "document.h" +#include "inkscape.h" namespace Proj { diff --git a/src/ui/cache/svg_preview_cache.cpp b/src/ui/cache/svg_preview_cache.cpp index 35a7214a1..829c6b0ef 100644 --- a/src/ui/cache/svg_preview_cache.cpp +++ b/src/ui/cache/svg_preview_cache.cpp @@ -23,9 +23,9 @@ #include <2geom/transforms.h> -#include "document-private.h" -#include "inkscape.h" #include "selection.h" +#include "inkscape.h" +#include "document-private.h" #include "display/cairo-utils.h" #include "display/drawing-context.h" diff --git a/src/ui/clipboard.cpp b/src/ui/clipboard.cpp index a5bd0aee0..4f6adec4f 100644 --- a/src/ui/clipboard.cpp +++ b/src/ui/clipboard.cpp @@ -21,42 +21,42 @@ * See the file COPYING for details. */ -#include "ui/clipboard.h" #include <gtkmm/clipboard.h> +#include "ui/clipboard.h" // TODO: reduce header bloat if possible -#include "desktop.h" #include "file.h" // for file_import, used in _pasteImage +#include <glibmm/i18n.h> +#include <glib/gstdio.h> // for g_file_set_contents etc., used in _onGet and paste #include "inkgc/gc-core.h" +#include "xml/repr.h" #include "inkscape.h" #include "io/stringstream.h" -#include "xml/repr.h" -#include <glib/gstdio.h> // for g_file_set_contents etc., used in _onGet and paste -#include <glibmm/i18n.h> +#include "desktop.h" -#include "context-fns.h" #include "desktop-style.h" // for sp_desktop_set_style, used in _pasteStyle -#include "document-private.h" #include "document.h" +#include "document-private.h" +#include "message-stack.h" +#include "context-fns.h" +#include "ui/tools/dropper-tool.h" // used in copy() #include "extension/db.h" // extension database -#include "extension/find_extension_by_mime.h" #include "extension/input.h" #include "extension/output.h" +#include "selection-chemistry.h" +#include <2geom/transforms.h> #include "gradient-drag.h" -#include "helper/png-write.h" -#include "live_effects/lpeobject-reference.h" #include "live_effects/lpeobject.h" +#include "live_effects/lpeobject-reference.h" #include "live_effects/parameter/path.h" -#include "message-stack.h" -#include "path-chemistry.h" -#include "selection-chemistry.h" +#include "ui/tools/text-tool.h" #include "text-editing.h" #include "ui/tools-switch.h" -#include "ui/tools/dropper-tool.h" // used in copy() -#include "ui/tools/text-tool.h" +#include "path-chemistry.h" #include "util/units.h" -#include <2geom/transforms.h> +#include "helper/png-write.h" +#include "extension/find_extension_by_mime.h" #include "object/box3d.h" #include "object/persp3d.h" @@ -72,13 +72,13 @@ #include "object/sp-rect.h" #include "object/sp-root.h" #include "object/sp-shape.h" -#include "object/sp-textpath.h" #include "object/sp-use.h" +#include "object/sp-textpath.h" #include "style.h" +#include "svg/svg.h" // for sp_svg_transform_write, used in _copySelection #include "svg/css-ostringstream.h" // used in copy #include "svg/svg-color.h" -#include "svg/svg.h" // for sp_svg_transform_write, used in _copySelection /// Made up mimetype to represent Gdk::Pixbuf clipboard contents. #define CLIPBOARD_GDK_PIXBUF_TARGET "image/x-gdk-pixbuf" diff --git a/src/ui/clipboard.h b/src/ui/clipboard.h index 67cbe9e08..e32b5aed2 100644 --- a/src/ui/clipboard.h +++ b/src/ui/clipboard.h @@ -20,7 +20,6 @@ */ #include <glibmm/ustring.h> -#include <vector> // forward declarations class SPDesktop; diff --git a/src/ui/contextmenu.cpp b/src/ui/contextmenu.cpp index 0f0b6fe1b..1a5691c3f 100644 --- a/src/ui/contextmenu.cpp +++ b/src/ui/contextmenu.cpp @@ -29,15 +29,15 @@ #include <gtkmm/separatormenuitem.h> #include "desktop.h" -#include "document-undo.h" #include "document.h" -#include "helper/action-context.h" +#include "document-undo.h" #include "helper/action.h" +#include "helper/action-context.h" #include "inkscape.h" #include "message-context.h" #include "message-stack.h" -#include "selection-chemistry.h" #include "selection.h" +#include "selection-chemistry.h" #include "shortcuts.h" #include "object/sp-anchor.h" diff --git a/src/ui/control-manager.cpp b/src/ui/control-manager.cpp index d1921d893..d0106bfcd 100644 --- a/src/ui/control-manager.cpp +++ b/src/ui/control-manager.cpp @@ -17,8 +17,8 @@ #include <glib-object.h> #include "display/sodipodi-ctrl.h" // for SP_TYPE_CTRL -#include "display/sp-ctrlcurve.h" #include "display/sp-ctrlline.h" +#include "display/sp-ctrlcurve.h" #include "preferences.h" using Inkscape::ControlFlags; diff --git a/src/ui/dialog-events.cpp b/src/ui/dialog-events.cpp index e950288ea..cf11490f3 100644 --- a/src/ui/dialog-events.cpp +++ b/src/ui/dialog-events.cpp @@ -15,12 +15,12 @@ #include <config.h> #endif +#include <gtkmm/entry.h> +#include <gtkmm/window.h> +#include "macros.h" #include "desktop.h" #include "inkscape.h" -#include "macros.h" #include "ui/tools/tool-base.h" -#include <gtkmm/entry.h> -#include <gtkmm/window.h> #include "ui/dialog-events.h" diff --git a/src/ui/dialog/color-item.cpp b/src/ui/dialog/color-item.cpp index a22316f1a..8eda9ae08 100644 --- a/src/ui/dialog/color-item.cpp +++ b/src/ui/dialog/color-item.cpp @@ -17,8 +17,8 @@ #include <errno.h> -#include <glibmm/i18n.h> #include <gtkmm/label.h> +#include <glibmm/i18n.h> #include "color-item.h" @@ -26,8 +26,8 @@ #include "desktop-style.h" #include "display/cairo-utils.h" -#include "document-undo.h" #include "document.h" +#include "document-undo.h" #include "inkscape.h" // for SP_ACTIVE_DESKTOP #include "io/resource.h" #include "io/sys.h" diff --git a/src/ui/dialog/cssdialog.cpp b/src/ui/dialog/cssdialog.cpp index de9328f3c..efceeae11 100644 --- a/src/ui/dialog/cssdialog.cpp +++ b/src/ui/dialog/cssdialog.cpp @@ -13,8 +13,8 @@ #include "cssdialog.h" -#include "selection.h" #include "verbs.h" +#include "selection.h" #include "ui/widget/addtoicon.h" diff --git a/src/ui/dialog/debug.cpp b/src/ui/dialog/debug.cpp index 03a8627ec..d062bf863 100644 --- a/src/ui/dialog/debug.cpp +++ b/src/ui/dialog/debug.cpp @@ -13,12 +13,12 @@ #include "config.h" #endif -#include <glibmm/i18n.h> #include <gtkmm/box.h> #include <gtkmm/dialog.h> +#include <gtkmm/textview.h> #include <gtkmm/menubar.h> #include <gtkmm/scrolledwindow.h> -#include <gtkmm/textview.h> +#include <glibmm/i18n.h> #include "debug.h" diff --git a/src/ui/dialog/desktop-tracker.cpp b/src/ui/dialog/desktop-tracker.cpp index a86b425e2..c18711a55 100644 --- a/src/ui/dialog/desktop-tracker.cpp +++ b/src/ui/dialog/desktop-tracker.cpp @@ -9,8 +9,8 @@ #include "desktop-tracker.h" -#include "desktop.h" #include "inkscape.h" +#include "desktop.h" namespace Inkscape { namespace UI { diff --git a/src/ui/dialog/dialog-manager.cpp b/src/ui/dialog/dialog-manager.cpp index 3d83cd956..0a4a774e6 100644 --- a/src/ui/dialog/dialog-manager.cpp +++ b/src/ui/dialog/dialog-manager.cpp @@ -19,13 +19,14 @@ #include "ui/dialog/dialog-manager.h" +#include "ui/dialog/prototype.h" #include "ui/dialog/align-and-distribute.h" #include "ui/dialog/document-metadata.h" #include "ui/dialog/document-properties.h" #include "ui/dialog/extension-editor.h" #include "ui/dialog/fill-and-stroke.h" -#include "ui/dialog/filter-editor.h" #include "ui/dialog/filter-effects-dialog.h" +#include "ui/dialog/filter-editor.h" #include "ui/dialog/find.h" #include "ui/dialog/glyphs.h" #include "ui/dialog/inkscape-preferences.h" @@ -33,7 +34,6 @@ #include "ui/dialog/livepatheffect-editor.h" #include "ui/dialog/memory.h" #include "ui/dialog/messages.h" -#include "ui/dialog/prototype.h" #include "ui/dialog/symbols.h" #include "ui/dialog/tile.h" @@ -41,26 +41,26 @@ # include "ui/dialog/tracedialog.h" #endif -#include "ui/dialog/icon-preview.h" -#include "ui/dialog/layers.h" -#include "ui/dialog/panel-dialog.h" #include "ui/dialog/pixelartdialog.h" #include "ui/dialog/transformation.h" #include "ui/dialog/undo-history.h" +#include "ui/dialog/panel-dialog.h" +#include "ui/dialog/layers.h" +#include "ui/dialog/icon-preview.h" //#include "ui/dialog/print-colors-preview-dialog.h" -#include "ui/dialog/clonetiler.h" -#include "ui/dialog/cssdialog.h" -#include "ui/dialog/export.h" +#include "util/ege-appear-time-tracker.h" #include "ui/dialog/object-attributes.h" #include "ui/dialog/object-properties.h" -#include "ui/dialog/objects.h" +#include "ui/dialog/text-edit.h" #include "ui/dialog/spellcheck.h" -#include "ui/dialog/styledialog.h" +#include "ui/dialog/export.h" +#include "ui/dialog/xml-tree.h" +#include "ui/dialog/clonetiler.h" #include "ui/dialog/svg-fonts-dialog.h" +#include "ui/dialog/objects.h" #include "ui/dialog/tags.h" -#include "ui/dialog/text-edit.h" -#include "ui/dialog/xml-tree.h" -#include "util/ege-appear-time-tracker.h" +#include "ui/dialog/styledialog.h" +#include "ui/dialog/cssdialog.h" namespace Inkscape { namespace UI { diff --git a/src/ui/dialog/dialog.cpp b/src/ui/dialog/dialog.cpp index f58630825..f7e9a1bed 100644 --- a/src/ui/dialog/dialog.cpp +++ b/src/ui/dialog/dialog.cpp @@ -22,15 +22,15 @@ #include <gdk/gdkkeysyms.h> -#include "desktop.h" #include "inkscape.h" #include "ui/monitor.h" #include "ui/tools/tool-base.h" +#include "desktop.h" #include "shortcuts.h" #include "ui/interface.h" -#include "ui/tool/event-utils.h" #include "verbs.h" +#include "ui/tool/event-utils.h" #define MIN_ONSCREEN_DISTANCE 50 diff --git a/src/ui/dialog/dock-behavior.cpp b/src/ui/dialog/dock-behavior.cpp index c96bff81f..bff2b2b64 100644 --- a/src/ui/dialog/dock-behavior.cpp +++ b/src/ui/dialog/dock-behavior.cpp @@ -15,14 +15,14 @@ #include "config.h" #endif -#include "desktop.h" -#include "dialog.h" #include "dock-behavior.h" #include "inkscape.h" -#include "ui/dialog-events.h" +#include "desktop.h" #include "ui/interface.h" #include "ui/widget/dock.h" #include "verbs.h" +#include "dialog.h" +#include "ui/dialog-events.h" namespace Inkscape { namespace UI { diff --git a/src/ui/dialog/document-metadata.cpp b/src/ui/dialog/document-metadata.cpp index b96b22c48..e46f5ec6c 100644 --- a/src/ui/dialog/document-metadata.cpp +++ b/src/ui/dialog/document-metadata.cpp @@ -18,8 +18,8 @@ #include "config.h" #endif -#include "desktop.h" #include "document-metadata.h" +#include "desktop.h" #include "rdf.h" #include "verbs.h" diff --git a/src/ui/dialog/extension-editor.cpp b/src/ui/dialog/extension-editor.cpp index bf8b263b7..14248cc4b 100644 --- a/src/ui/dialog/extension-editor.cpp +++ b/src/ui/dialog/extension-editor.cpp @@ -21,9 +21,9 @@ #include <gtkmm/frame.h> #include <gtkmm/notebook.h> +#include "verbs.h" #include "preferences.h" #include "ui/interface.h" -#include "verbs.h" #include "extension/db.h" diff --git a/src/ui/dialog/filedialog.cpp b/src/ui/dialog/filedialog.cpp index 0cbc3536f..df3c4a307 100644 --- a/src/ui/dialog/filedialog.cpp +++ b/src/ui/dialog/filedialog.cpp @@ -22,8 +22,8 @@ #include "filedialogimpl-gtkmm.h" -#include "extension/output.h" #include "ui/dialog-events.h" +#include "extension/output.h" #include <glibmm/convert.h> diff --git a/src/ui/dialog/filedialogimpl-gtkmm.cpp b/src/ui/dialog/filedialogimpl-gtkmm.cpp index 4370de94a..c8c508ee3 100644 --- a/src/ui/dialog/filedialogimpl-gtkmm.cpp +++ b/src/ui/dialog/filedialogimpl-gtkmm.cpp @@ -24,12 +24,12 @@ #include <iostream> #include "filedialogimpl-gtkmm.h" -#include "io/resource.h" +#include "ui/dialog-events.h" +#include "ui/interface.h" #include "io/sys.h" +#include "io/resource.h" #include "path-prefix.h" #include "preferences.h" -#include "ui/dialog-events.h" -#include "ui/interface.h" #include <gtkmm/expander.h> @@ -41,11 +41,11 @@ #include <glibmm/regex.h> #include "document.h" -#include "extension/db.h" #include "extension/input.h" #include "extension/output.h" -#include "inkscape.h" +#include "extension/db.h" #include "svg-view-widget.h" +#include "inkscape.h" // Routines from file.cpp #undef INK_DUMP_FILENAME_CONV diff --git a/src/ui/dialog/filter-editor.cpp b/src/ui/dialog/filter-editor.cpp index 202e724d8..ef702aba4 100644 --- a/src/ui/dialog/filter-editor.cpp +++ b/src/ui/dialog/filter-editor.cpp @@ -16,13 +16,13 @@ #include <string> +#include <gtkmm.h> #include <gdkmm/display.h> #include <glibmm/convert.h> #include <glibmm/error.h> #include <glibmm/i18n.h> #include <glibmm/main.h> #include <glibmm/stringutils.h> -#include <gtkmm.h> #if GTK_CHECK_VERSION(3, 20, 0) # include <gdkmm/seat.h> @@ -42,13 +42,13 @@ #include "selection-chemistry.h" #include "verbs.h" -#include "io/resource.h" #include "io/sys.h" +#include "io/resource.h" #include "object/filters/blend.h" #include "object/filters/colormatrix.h" -#include "object/filters/componenttransfer-funcnode.h" #include "object/filters/componenttransfer.h" +#include "object/filters/componenttransfer-funcnode.h" #include "object/filters/convolvematrix.h" #include "object/filters/distantlight.h" #include "object/filters/merge.h" diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp index 4b0584b94..e62d309c5 100644 --- a/src/ui/dialog/filter-effects-dialog.cpp +++ b/src/ui/dialog/filter-effects-dialog.cpp @@ -33,10 +33,10 @@ #endif -#include <glibmm/convert.h> #include <glibmm/i18n.h> -#include <glibmm/main.h> #include <glibmm/stringutils.h> +#include <glibmm/main.h> +#include <glibmm/convert.h> #include "desktop.h" #include "dialog-manager.h" @@ -51,8 +51,8 @@ #include "object/filters/blend.h" #include "object/filters/colormatrix.h" -#include "object/filters/componenttransfer-funcnode.h" #include "object/filters/componenttransfer.h" +#include "object/filters/componenttransfer-funcnode.h" #include "object/filters/convolvematrix.h" #include "object/filters/distantlight.h" #include "object/filters/merge.h" diff --git a/src/ui/dialog/find.cpp b/src/ui/dialog/find.cpp index 6c9193ff5..d172eca57 100644 --- a/src/ui/dialog/find.cpp +++ b/src/ui/dialog/find.cpp @@ -16,9 +16,9 @@ #include "find.h" +#include <gtkmm/entry.h> #include <glibmm/i18n.h> #include <glibmm/regex.h> -#include <gtkmm/entry.h> #include "desktop.h" #include "document-undo.h" diff --git a/src/ui/dialog/floating-behavior.cpp b/src/ui/dialog/floating-behavior.cpp index 04a25a621..9abad3e7b 100644 --- a/src/ui/dialog/floating-behavior.cpp +++ b/src/ui/dialog/floating-behavior.cpp @@ -14,14 +14,14 @@ #include "config.h" #endif -#include <glibmm/main.h> #include <gtkmm/dialog.h> +#include <glibmm/main.h> -#include "dialog.h" #include "floating-behavior.h" +#include "dialog.h" -#include "desktop.h" #include "inkscape.h" +#include "desktop.h" #include "ui/dialog-events.h" #include "ui/interface.h" #include "verbs.h" diff --git a/src/ui/dialog/font-substitution.cpp b/src/ui/dialog/font-substitution.cpp index b13ef8cf0..da7d14d9c 100644 --- a/src/ui/dialog/font-substitution.cpp +++ b/src/ui/dialog/font-substitution.cpp @@ -15,8 +15,8 @@ #include <glibmm/i18n.h> #include <glibmm/regex.h> -#include <gtkmm/checkbutton.h> #include <gtkmm/messagedialog.h> +#include <gtkmm/checkbutton.h> #include <gtkmm/scrolledwindow.h> #include <gtkmm/textview.h> @@ -28,11 +28,11 @@ #include "selection-chemistry.h" #include "text-editing.h" -#include "object/sp-flowdiv.h" -#include "object/sp-flowtext.h" #include "object/sp-root.h" #include "object/sp-text.h" #include "object/sp-textpath.h" +#include "object/sp-flowtext.h" +#include "object/sp-flowdiv.h" #include "object/sp-tspan.h" #include "libnrtype/FontFactory.h" diff --git a/src/ui/dialog/grid-arrange-tab.cpp b/src/ui/dialog/grid-arrange-tab.cpp index 6df64565e..96e6acb3c 100644 --- a/src/ui/dialog/grid-arrange-tab.cpp +++ b/src/ui/dialog/grid-arrange-tab.cpp @@ -22,13 +22,13 @@ #include <2geom/transforms.h> -#include "inkscape.h" -#include "preferences.h" #include "verbs.h" +#include "preferences.h" +#include "inkscape.h" -#include "desktop.h" -#include "document-undo.h" #include "document.h" +#include "document-undo.h" +#include "desktop.h" //#include "sp-item-transform.h" FIXME #include "ui/dialog/tile.h" // for Inkscape::UI::Dialog::ArrangeDialog diff --git a/src/ui/dialog/icon-preview.cpp b/src/ui/dialog/icon-preview.cpp index 99ad84c9b..47f6f3121 100644 --- a/src/ui/dialog/icon-preview.cpp +++ b/src/ui/dialog/icon-preview.cpp @@ -18,8 +18,8 @@ #endif #include <glibmm/i18n.h> -#include <glibmm/main.h> #include <glibmm/timer.h> +#include <glibmm/main.h> #include <gtkmm/buttonbox.h> #include <gtkmm/checkbutton.h> @@ -31,8 +31,8 @@ #include "verbs.h" #include "display/cairo-utils.h" -#include "display/drawing-context.h" #include "display/drawing.h" +#include "display/drawing-context.h" #include "object/sp-namedview.h" #include "object/sp-root.h" diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index 2af77ed42..96c446d0c 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -20,11 +20,11 @@ #include "inkscape-preferences.h" #include <glibmm/i18n.h> -#include <glibmm/markup.h> #include <glibmm/miscutils.h> +#include <glibmm/markup.h> #include <gtkmm/main.h> -#include <gtkmm/recentinfo.h> #include <gtkmm/recentmanager.h> +#include <gtkmm/recentinfo.h> #include "cms-system.h" #include "document.h" diff --git a/src/ui/dialog/input.cpp b/src/ui/dialog/input.cpp index addc01b0a..3fdd2a6cf 100644 --- a/src/ui/dialog/input.cpp +++ b/src/ui/dialog/input.cpp @@ -9,11 +9,11 @@ * Released under GNU GPL. Read the file 'COPYING' for more information. */ -#include "ui/widget/frame.h" -#include "ui/widget/panel.h" -#include <list> #include <map> #include <set> +#include <list> +#include "ui/widget/panel.h" +#include "ui/widget/frame.h" #include <glibmm/i18n.h> @@ -21,7 +21,6 @@ #include <gtkmm/cellrenderercombo.h> #include <gtkmm/checkbutton.h> #include <gtkmm/comboboxtext.h> -#include <gtkmm/eventbox.h> #include <gtkmm/grid.h> #include <gtkmm/liststore.h> #include <gtkmm/menubar.h> @@ -30,6 +29,7 @@ #include <gtkmm/progressbar.h> #include <gtkmm/scrolledwindow.h> #include <gtkmm/treestore.h> +#include <gtkmm/eventbox.h> #include "device-manager.h" #include "preferences.h" diff --git a/src/ui/dialog/knot-properties.cpp b/src/ui/dialog/knot-properties.cpp index 0faff17d4..29e1cb2bb 100644 --- a/src/ui/dialog/knot-properties.cpp +++ b/src/ui/dialog/knot-properties.cpp @@ -19,15 +19,15 @@ #include "ui/dialog/knot-properties.h" -#include "desktop.h" -#include "document-undo.h" -#include "document.h" -#include "inkscape.h" -#include "layer-manager.h" -#include "util/units.h" #include <boost/lexical_cast.hpp> #include <glibmm/i18n.h> #include <glibmm/main.h> +#include "inkscape.h" +#include "util/units.h" +#include "desktop.h" +#include "document.h" +#include "document-undo.h" +#include "layer-manager.h" #include "selection-chemistry.h" diff --git a/src/ui/dialog/layer-properties.cpp b/src/ui/dialog/layer-properties.cpp index f8695c206..4ab6e130e 100644 --- a/src/ui/dialog/layer-properties.cpp +++ b/src/ui/dialog/layer-properties.cpp @@ -17,18 +17,18 @@ #include <glibmm/i18n.h> #include <glibmm/main.h> +#include "inkscape.h" #include "desktop.h" -#include "document-undo.h" #include "document.h" -#include "inkscape.h" +#include "document-undo.h" #include "layer-manager.h" #include "message-stack.h" +#include "verbs.h" #include "selection-chemistry.h" #include "ui/icon-names.h" -#include "ui/tools/tool-base.h" #include "ui/widget/imagetoggler.h" -#include "verbs.h" +#include "ui/tools/tool-base.h" namespace Inkscape { namespace UI { diff --git a/src/ui/dialog/layers.cpp b/src/ui/dialog/layers.cpp index 4e41e889c..6f609736a 100644 --- a/src/ui/dialog/layers.cpp +++ b/src/ui/dialog/layers.cpp @@ -15,9 +15,9 @@ #include "layers.h" -#include <glibmm/main.h> #include <gtkmm/icontheme.h> #include <gtkmm/separatormenuitem.h> +#include <glibmm/main.h> #include "desktop-style.h" #include "desktop.h" diff --git a/src/ui/dialog/livepatheffect-editor.cpp b/src/ui/dialog/livepatheffect-editor.cpp index e833c5ed1..6cf7f807a 100644 --- a/src/ui/dialog/livepatheffect-editor.cpp +++ b/src/ui/dialog/livepatheffect-editor.cpp @@ -38,8 +38,8 @@ #include "object/sp-item-group.h" #include "object/sp-path.h" #include "object/sp-rect.h" -#include "object/sp-text.h" #include "object/sp-use.h" +#include "object/sp-text.h" #include "ui/icon-names.h" #include "ui/tools/node-tool.h" diff --git a/src/ui/dialog/lpe-fillet-chamfer-properties.cpp b/src/ui/dialog/lpe-fillet-chamfer-properties.cpp index d2de61dc9..6d19f9090 100644 --- a/src/ui/dialog/lpe-fillet-chamfer-properties.cpp +++ b/src/ui/dialog/lpe-fillet-chamfer-properties.cpp @@ -8,15 +8,15 @@ #include "config.h" #endif +#include <gtkmm.h> +#include "lpe-fillet-chamfer-properties.h" +#include <boost/lexical_cast.hpp> +#include <glibmm/i18n.h> +#include "inkscape.h" #include "desktop.h" #include "document-undo.h" -#include "inkscape.h" #include "layer-manager.h" -#include "lpe-fillet-chamfer-properties.h" #include "message-stack.h" -#include <boost/lexical_cast.hpp> -#include <glibmm/i18n.h> -#include <gtkmm.h> #include "selection-chemistry.h" diff --git a/src/ui/dialog/lpe-powerstroke-properties.cpp b/src/ui/dialog/lpe-powerstroke-properties.cpp index bfb20cc80..e66229dcd 100644 --- a/src/ui/dialog/lpe-powerstroke-properties.cpp +++ b/src/ui/dialog/lpe-powerstroke-properties.cpp @@ -17,13 +17,13 @@ #include "config.h" #endif -#include "desktop.h" -#include "document-undo.h" -#include "inkscape.h" -#include "layer-manager.h" #include "lpe-powerstroke-properties.h" #include <boost/lexical_cast.hpp> #include <glibmm/i18n.h> +#include "inkscape.h" +#include "desktop.h" +#include "document-undo.h" +#include "layer-manager.h" #include "selection-chemistry.h" //#include "event-context.h" diff --git a/src/ui/dialog/memory.cpp b/src/ui/dialog/memory.cpp index cd6eaa5a1..c9a16225e 100644 --- a/src/ui/dialog/memory.cpp +++ b/src/ui/dialog/memory.cpp @@ -18,12 +18,12 @@ #include <glibmm/i18n.h> #include <glibmm/main.h> -#include <gtkmm/dialog.h> #include <gtkmm/liststore.h> #include <gtkmm/treeview.h> +#include <gtkmm/dialog.h> -#include "debug/heap.h" #include "inkgc/gc-core.h" +#include "debug/heap.h" #include "verbs.h" namespace Inkscape { diff --git a/src/ui/dialog/new-from-template.cpp b/src/ui/dialog/new-from-template.cpp index ad78cae4b..7e0c5b526 100644 --- a/src/ui/dialog/new-from-template.cpp +++ b/src/ui/dialog/new-from-template.cpp @@ -12,8 +12,8 @@ #include "config.h" #endif -#include "file.h" #include "new-from-template.h" +#include "file.h" namespace Inkscape { namespace UI { diff --git a/src/ui/dialog/object-attributes.cpp b/src/ui/dialog/object-attributes.cpp index 915d413bf..f3e93ded8 100644 --- a/src/ui/dialog/object-attributes.cpp +++ b/src/ui/dialog/object-attributes.cpp @@ -29,8 +29,8 @@ #include "object/sp-anchor.h" #include "object/sp-image.h" -#include "ui/dialog/dialog-manager.h" #include "ui/dialog/object-attributes.h" +#include "ui/dialog/dialog-manager.h" #include "widgets/sp-attribute-widget.h" diff --git a/src/ui/dialog/objects.cpp b/src/ui/dialog/objects.cpp index 4bd016684..c2ee66cd7 100644 --- a/src/ui/dialog/objects.cpp +++ b/src/ui/dialog/objects.cpp @@ -17,10 +17,10 @@ #include "objects.h" -#include <glibmm/main.h> #include <gtkmm/icontheme.h> #include <gtkmm/imagemenuitem.h> #include <gtkmm/separatormenuitem.h> +#include <glibmm/main.h> #include "desktop-style.h" #include "desktop.h" diff --git a/src/ui/dialog/ocaldialogs.cpp b/src/ui/dialog/ocaldialogs.cpp index 2959b4037..4302161dc 100644 --- a/src/ui/dialog/ocaldialogs.cpp +++ b/src/ui/dialog/ocaldialogs.cpp @@ -18,24 +18,24 @@ #include "ocaldialogs.h" +#include "path-prefix.h" #include "filedialogimpl-gtkmm.h" +#include "ui/interface.h" #include "inkgc/gc-core.h" #include "io/sys.h" -#include "path-prefix.h" #include "preferences.h" -#include "ui/interface.h" -#include <gdkmm/general.h> #include <gtkmm/notebook.h> #include <gtkmm/spinner.h> +#include <gdkmm/general.h> #include <libxml/tree.h> +#include <glibmm/i18n.h> +#include <glibmm/miscutils.h> +#include <glibmm/markup.h> #include <glibmm/convert.h> #include <glibmm/fileutils.h> -#include <glibmm/i18n.h> #include <glibmm/main.h> -#include <glibmm/markup.h> -#include <glibmm/miscutils.h> #include "ui/icon-names.h" diff --git a/src/ui/dialog/pixelartdialog.cpp b/src/ui/dialog/pixelartdialog.cpp index ebc8cea0d..5b96febb7 100644 --- a/src/ui/dialog/pixelartdialog.cpp +++ b/src/ui/dialog/pixelartdialog.cpp @@ -22,8 +22,8 @@ # include <glibmm/dispatcher.h> # define GLIBMM_DISABLE_DEPRECATED 1 #else // GLIBMM_DISABLE_DEPRECATED -# include <glibmm/dispatcher.h> # include <glibmm/thread.h> +# include <glibmm/dispatcher.h> #endif // GLIBMM_DISABLE_DEPRECATED #include <glibmm/i18n.h> diff --git a/src/ui/dialog/print.cpp b/src/ui/dialog/print.cpp index 68a4991f1..ea99ffa19 100644 --- a/src/ui/dialog/print.cpp +++ b/src/ui/dialog/print.cpp @@ -19,13 +19,13 @@ #include "preferences.h" #include "print.h" -#include "document.h" #include "extension/internal/cairo-render-context.h" #include "extension/internal/cairo-renderer.h" +#include "document.h" +#include "util/units.h" #include "helper/png-write.h" #include "svg/svg-color.h" -#include "util/units.h" #include <glibmm/i18n.h> diff --git a/src/ui/dialog/save-template-dialog.cpp b/src/ui/dialog/save-template-dialog.cpp index 0544a8544..5b7540039 100644 --- a/src/ui/dialog/save-template-dialog.cpp +++ b/src/ui/dialog/save-template-dialog.cpp @@ -2,8 +2,8 @@ #include "config.h" #endif -#include "file.h" #include "save-template-dialog.h" +#include "file.h" #include <glibmm/i18n.h> diff --git a/src/ui/dialog/spellcheck.cpp b/src/ui/dialog/spellcheck.cpp index 627da6874..252782081 100644 --- a/src/ui/dialog/spellcheck.cpp +++ b/src/ui/dialog/spellcheck.cpp @@ -15,18 +15,18 @@ #include "spellcheck.h" #include "message-stack.h" -#include "desktop.h" -#include "document.h" #include "helper/window.h" #include "inkscape.h" +#include "document.h" +#include "desktop.h" -#include "display/curve.h" -#include "document-undo.h" -#include "selection-chemistry.h" -#include "text-editing.h" -#include "ui/interface.h" #include "ui/tools-switch.h" #include "ui/tools/text-tool.h" +#include "ui/interface.h" +#include "text-editing.h" +#include "selection-chemistry.h" +#include "display/curve.h" +#include "document-undo.h" #include "verbs.h" #include "object/sp-defs.h" diff --git a/src/ui/dialog/styledialog.cpp b/src/ui/dialog/styledialog.cpp index 51cbf27d8..17850712f 100644 --- a/src/ui/dialog/styledialog.cpp +++ b/src/ui/dialog/styledialog.cpp @@ -12,11 +12,11 @@ */ #include "styledialog.h" +#include "verbs.h" +#include "selection.h" #include "attribute-rel-svg.h" -#include "document-undo.h" #include "inkscape.h" -#include "selection.h" -#include "verbs.h" +#include "document-undo.h" #include "ui/widget/addtoicon.h" diff --git a/src/ui/dialog/svg-fonts-dialog.cpp b/src/ui/dialog/svg-fonts-dialog.cpp index b13c8b599..19d67916a 100644 --- a/src/ui/dialog/svg-fonts-dialog.cpp +++ b/src/ui/dialog/svg-fonts-dialog.cpp @@ -15,28 +15,28 @@ #include "config.h" #endif -#include "desktop.h" +#include "svg-fonts-dialog.h" #include "document-private.h" #include "document-undo.h" -#include "selection.h" -#include "svg-fonts-dialog.h" -#include "svg/svg.h" -#include "xml/repr.h" -#include <gtkmm/imagemenuitem.h> #include <gtkmm/notebook.h> #include <gtkmm/scale.h> +#include <gtkmm/imagemenuitem.h> #include <message-stack.h> +#include "selection.h" +#include "svg/svg.h" +#include "xml/repr.h" +#include "desktop.h" +#include <sstream> #include "display/nr-svgfonts.h" #include "verbs.h" -#include <sstream> -#include "object/sp-defs.h" #include "object/sp-font-face.h" -#include "object/sp-font.h" -#include "object/sp-glyph-kerning.h" #include "object/sp-glyph.h" #include "object/sp-missing-glyph.h" +#include "object/sp-font.h" +#include "object/sp-glyph-kerning.h" +#include "object/sp-defs.h" #include <glibmm/i18n.h> #include <glibmm/stringutils.h> diff --git a/src/ui/dialog/swatches.cpp b/src/ui/dialog/swatches.cpp index 965ea9952..e57dde639 100644 --- a/src/ui/dialog/swatches.cpp +++ b/src/ui/dialog/swatches.cpp @@ -9,52 +9,52 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <map> #include <algorithm> #include <iomanip> -#include <map> #include <set> #include "swatches.h" #include <gtkmm/radiomenuitem.h> -#include <gtkmm/checkmenuitem.h> #include <gtkmm/menu.h> -#include <gtkmm/menubutton.h> +#include <gtkmm/checkmenuitem.h> #include <gtkmm/radiomenuitem.h> #include <gtkmm/separatormenuitem.h> +#include <gtkmm/menubutton.h> -#include <glibmm/fileutils.h> #include <glibmm/i18n.h> #include <glibmm/main.h> -#include <glibmm/miscutils.h> #include <glibmm/timer.h> +#include <glibmm/fileutils.h> +#include <glibmm/miscutils.h> #include "color-item.h" #include "desktop.h" #include "desktop-style.h" +#include "document.h" #include "document-private.h" #include "document-undo.h" -#include "document.h" #include "extension/db.h" #include "inkscape.h" -#include "io/resource.h" #include "io/sys.h" +#include "io/resource.h" #include "message-context.h" #include "path-prefix.h" -#include "display/cairo-utils.h" #include "ui/previewholder.h" #include "widgets/desktop-widget.h" #include "widgets/gradient-vector.h" +#include "display/cairo-utils.h" #include "object/sp-defs.h" #include "object/sp-gradient-reference.h" #include "dialog-manager.h" +#include "verbs.h" #include "gradient-chemistry.h" #include "helper/action.h" -#include "verbs.h" namespace Inkscape { namespace UI { diff --git a/src/ui/dialog/symbols.cpp b/src/ui/dialog/symbols.cpp index 6edb47efd..0ef631a3a 100644 --- a/src/ui/dialog/symbols.cpp +++ b/src/ui/dialog/symbols.cpp @@ -12,20 +12,20 @@ # include "config.h" #endif -#include <algorithm> -#include <fstream> #include <iostream> +#include <algorithm> #include <locale> -#include <regex> #include <sstream> +#include <fstream> +#include <regex> -#include <glibmm/markup.h> #include <glibmm/regex.h> #include <glibmm/stringutils.h> +#include <glibmm/markup.h> -#include "io/resource.h" -#include "io/sys.h" #include "path-prefix.h" +#include "io/sys.h" +#include "io/resource.h" #include "display/cairo-utils.h" #include "ui/cache/svg_preview_cache.h" @@ -34,16 +34,16 @@ #include "symbols.h" -#include "desktop.h" #include "selection.h" +#include "desktop.h" #include "document.h" #include "inkscape.h" -#include "object/sp-defs.h" #include "object/sp-root.h" -#include "object/sp-symbol.h" #include "object/sp-use.h" +#include "object/sp-defs.h" +#include "object/sp-symbol.h" #ifdef WITH_LIBVISIO #include <libvisio/libvisio.h> @@ -65,8 +65,8 @@ #endif #endif -#include "helper/action.h" #include "verbs.h" +#include "helper/action.h" #include <glibmm/i18n.h> namespace Inkscape { diff --git a/src/ui/dialog/tags.cpp b/src/ui/dialog/tags.cpp index cabb0d679..24f167500 100644 --- a/src/ui/dialog/tags.cpp +++ b/src/ui/dialog/tags.cpp @@ -14,31 +14,31 @@ #endif #include "tags.h" -#include <glibmm/main.h> #include <gtkmm/icontheme.h> #include <gtkmm/imagemenuitem.h> +#include <glibmm/main.h> -#include "desktop-style.h" #include "desktop.h" -#include "document-undo.h" +#include "desktop-style.h" #include "document.h" +#include "document-undo.h" #include "helper/action.h" #include "inkscape.h" #include "layer-fns.h" #include "layer-manager.h" #include "svg/css-ostringstream.h" -#include "ui/tools/tool-base.h" //"event-context.h" -#include "ui/widget/addtoicon.h" #include "ui/widget/layertypeicon.h" +#include "ui/widget/addtoicon.h" #include "verbs.h" #include "xml/node-observer.h" +#include "ui/tools/tool-base.h" //"event-context.h" //#include "dialogs/dialog-events.h" -#include "filter-chemistry.h" #include "ui/widget/color-notebook.h" +#include "filter-chemistry.h" -#include "object/sp-defs.h" #include "object/sp-item.h" +#include "object/sp-defs.h" #include "object/sp-object-group.h" //#define DUMP_LAYERS 1 diff --git a/src/ui/dialog/template-load-tab.cpp b/src/ui/dialog/template-load-tab.cpp index e528e2da8..d39c03709 100644 --- a/src/ui/dialog/template-load-tab.cpp +++ b/src/ui/dialog/template-load-tab.cpp @@ -11,18 +11,18 @@ #include "template-widget.h" #include "new-from-template.h" -#include <glibmm/fileutils.h> #include <glibmm/miscutils.h> #include <glibmm/stringutils.h> +#include <glibmm/fileutils.h> #include <gtkmm/messagedialog.h> #include <gtkmm/scrolledwindow.h> #include <iostream> #include "extension/db.h" -#include "file.h" #include "inkscape.h" -#include "path-prefix.h" #include "ui/interface.h" +#include "file.h" +#include "path-prefix.h" using namespace Inkscape::IO::Resource; diff --git a/src/ui/dialog/template-widget.cpp b/src/ui/dialog/template-widget.cpp index 746cc473c..12c6b0298 100644 --- a/src/ui/dialog/template-widget.cpp +++ b/src/ui/dialog/template-widget.cpp @@ -14,8 +14,8 @@ #include <gtkmm/messagedialog.h> #include "desktop.h" -#include "document-undo.h" #include "document.h" +#include "document-undo.h" #include "file.h" #include "inkscape.h" diff --git a/src/ui/dialog/tracedialog.cpp b/src/ui/dialog/tracedialog.cpp index f142cbcc3..a1d4d88b8 100644 --- a/src/ui/dialog/tracedialog.cpp +++ b/src/ui/dialog/tracedialog.cpp @@ -16,20 +16,20 @@ #endif #include "tracedialog.h" -#include "ui/widget/frame.h" -#include "ui/widget/spinbutton.h" -#include <gtkmm/frame.h> #include <gtkmm/notebook.h> +#include <gtkmm/frame.h> #include <gtkmm/radiobutton.h> +#include "ui/widget/spinbutton.h" +#include "ui/widget/frame.h" #include <glibmm/i18n.h> -#include "desktop-tracker.h" #include "desktop.h" +#include "desktop-tracker.h" #include "selection.h" -#include "inkscape.h" #include "trace/potrace/inkscape-potrace.h" +#include "inkscape.h" namespace Inkscape { diff --git a/src/ui/dialog/undo-history.cpp b/src/ui/dialog/undo-history.cpp index 35522552b..2486e8897 100644 --- a/src/ui/dialog/undo-history.cpp +++ b/src/ui/dialog/undo-history.cpp @@ -17,8 +17,8 @@ #include "undo-history.h" -#include "document-undo.h" #include "document.h" +#include "document-undo.h" #include "inkscape.h" #include "util/signal-blocker.h" diff --git a/src/ui/draw-anchor.cpp b/src/ui/draw-anchor.cpp index a0710040d..c3bc5676d 100644 --- a/src/ui/draw-anchor.cpp +++ b/src/ui/draw-anchor.cpp @@ -15,11 +15,11 @@ #include "ui/draw-anchor.h" #include "desktop.h" -#include "display/curve.h" +#include "ui/tools/tool-base.h" +#include "ui/tools/lpe-tool.h" #include "display/sodipodi-ctrl.h" +#include "display/curve.h" #include "ui/control-manager.h" -#include "ui/tools/lpe-tool.h" -#include "ui/tools/tool-base.h" using Inkscape::ControlManager; diff --git a/src/ui/interface.cpp b/src/ui/interface.cpp index 6d0700fed..4ae0f4a6d 100644 --- a/src/ui/interface.cpp +++ b/src/ui/interface.cpp @@ -23,10 +23,10 @@ #include <config.h> #endif -#include <glibmm/miscutils.h> #include <gtkmm/icontheme.h> #include <gtkmm/radiomenuitem.h> #include <gtkmm/separatormenuitem.h> +#include <glibmm/miscutils.h> #include "desktop-style.h" #include "desktop.h" diff --git a/src/ui/previewholder.cpp b/src/ui/previewholder.cpp index 0537586ff..dfe75c0b7 100644 --- a/src/ui/previewholder.cpp +++ b/src/ui/previewholder.cpp @@ -13,11 +13,11 @@ #include "previewable.h" #include "previewholder.h" -#include <gtkmm/adjustment.h> -#include <gtkmm/grid.h> -#include <gtkmm/scrollbar.h> #include <gtkmm/scrolledwindow.h> #include <gtkmm/sizegroup.h> +#include <gtkmm/scrollbar.h> +#include <gtkmm/adjustment.h> +#include <gtkmm/grid.h> #define COLUMNS_FOR_SMALL 16 #define COLUMNS_FOR_LARGE 8 diff --git a/src/ui/selected-color.cpp b/src/ui/selected-color.cpp index ba5fd565c..08f4bd979 100644 --- a/src/ui/selected-color.cpp +++ b/src/ui/selected-color.cpp @@ -14,8 +14,8 @@ #include <config.h> #endif -#include <cmath> #include <glibmm/ustring.h> +#include <cmath> #include "svg/svg-icc-color.h" #include "ui/selected-color.h" diff --git a/src/ui/shape-editor-knotholders.cpp b/src/ui/shape-editor-knotholders.cpp index c648109ee..1027dea7f 100644 --- a/src/ui/shape-editor-knotholders.cpp +++ b/src/ui/shape-editor-knotholders.cpp @@ -17,10 +17,10 @@ #include <glibmm/i18n.h> +#include "preferences.h" #include "desktop.h" -#include "knot-holder-entity.h" #include "knotholder.h" -#include "preferences.h" +#include "knot-holder-entity.h" #include "live_effects/effect.h" diff --git a/src/ui/shape-editor.cpp b/src/ui/shape-editor.cpp index d0823a69f..b40bec86f 100644 --- a/src/ui/shape-editor.cpp +++ b/src/ui/shape-editor.cpp @@ -11,13 +11,13 @@ #include <config.h> #endif -#include <glibmm/i18n.h> #include <string.h> +#include <glibmm/i18n.h> #include "desktop.h" #include "document.h" -#include "inkscape.h" #include "knotholder.h" +#include "inkscape.h" #include "object/sp-path.h" diff --git a/src/ui/tool/control-point-selection.cpp b/src/ui/tool/control-point-selection.cpp index fade7cf55..a5611addc 100644 --- a/src/ui/tool/control-point-selection.cpp +++ b/src/ui/tool/control-point-selection.cpp @@ -9,14 +9,14 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <boost/none.hpp> +#include "ui/tool/selectable-control-point.h" +#include <2geom/transforms.h> #include "desktop.h" #include "ui/tool/control-point-selection.h" #include "ui/tool/event-utils.h" -#include "ui/tool/node.h" -#include "ui/tool/selectable-control-point.h" #include "ui/tool/transform-handle-set.h" -#include <2geom/transforms.h> -#include <boost/none.hpp> +#include "ui/tool/node.h" diff --git a/src/ui/tool/control-point.cpp b/src/ui/tool/control-point.cpp index aa897f1be..005e60c62 100644 --- a/src/ui/tool/control-point.cpp +++ b/src/ui/tool/control-point.cpp @@ -16,16 +16,16 @@ #include "desktop.h" #include "message-context.h" -#include "display/snap-indicator.h" #include "display/sp-canvas.h" +#include "display/snap-indicator.h" #include "object/sp-namedview.h" +#include "ui/tools/tool-base.h" #include "ui/control-manager.h" #include "ui/tool/control-point.h" #include "ui/tool/event-utils.h" #include "ui/tool/transform-handle-set.h" -#include "ui/tools/tool-base.h" namespace Inkscape { namespace UI { diff --git a/src/ui/tool/curve-drag-point.cpp b/src/ui/tool/curve-drag-point.cpp index 78fdc8aba..685823aaa 100644 --- a/src/ui/tool/curve-drag-point.cpp +++ b/src/ui/tool/curve-drag-point.cpp @@ -7,12 +7,12 @@ */ #include "ui/tool/curve-drag-point.h" +#include <glib/gi18n.h> #include "desktop.h" #include "ui/tool/control-point-selection.h" #include "ui/tool/event-utils.h" #include "ui/tool/multi-path-manipulator.h" #include "ui/tool/path-manipulator.h" -#include <glib/gi18n.h> #include "object/sp-namedview.h" #include "object/sp-path.h" diff --git a/src/ui/tool/event-utils.cpp b/src/ui/tool/event-utils.cpp index de2feb9e5..6b8d5f0dc 100644 --- a/src/ui/tool/event-utils.cpp +++ b/src/ui/tool/event-utils.cpp @@ -8,11 +8,11 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "display/sp-canvas.h" -#include "ui/tool/event-utils.h" #include <cstring> #include <gdk/gdk.h> #include <gdk/gdkkeysyms.h> +#include "display/sp-canvas.h" +#include "ui/tool/event-utils.h" namespace Inkscape { namespace UI { diff --git a/src/ui/tool/modifier-tracker.cpp b/src/ui/tool/modifier-tracker.cpp index 196626006..f502acab2 100644 --- a/src/ui/tool/modifier-tracker.cpp +++ b/src/ui/tool/modifier-tracker.cpp @@ -8,10 +8,10 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "ui/tool/event-utils.h" -#include "ui/tool/modifier-tracker.h" #include <gdk/gdk.h> #include <gdk/gdkkeysyms.h> +#include "ui/tool/event-utils.h" +#include "ui/tool/modifier-tracker.h" namespace Inkscape { namespace UI { diff --git a/src/ui/tool/multi-path-manipulator.cpp b/src/ui/tool/multi-path-manipulator.cpp index 7bb0d58da..b982a622f 100644 --- a/src/ui/tool/multi-path-manipulator.cpp +++ b/src/ui/tool/multi-path-manipulator.cpp @@ -14,8 +14,8 @@ #include <glibmm/i18n.h> #include "desktop.h" -#include "document-undo.h" #include "document.h" +#include "document-undo.h" #include "message-stack.h" #include "node.h" #include "verbs.h" diff --git a/src/ui/tool/node.cpp b/src/ui/tool/node.cpp index ad7c07921..94a80a882 100644 --- a/src/ui/tool/node.cpp +++ b/src/ui/tool/node.cpp @@ -6,12 +6,12 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <boost/utility.hpp> #include <iostream> #include <stdexcept> +#include <boost/utility.hpp> -#include <gdk/gdkkeysyms.h> #include <glib/gi18n.h> +#include <gdk/gdkkeysyms.h> #include <2geom/bezier-utils.h> @@ -19,16 +19,16 @@ #include "multi-path-manipulator.h" #include "snap.h" -#include "display/sp-canvas-util.h" -#include "display/sp-canvas.h" #include "display/sp-ctrlline.h" +#include "display/sp-canvas.h" +#include "display/sp-canvas-util.h" #include "ui/control-manager.h" #include "ui/tool/control-point-selection.h" #include "ui/tool/event-utils.h" #include "ui/tool/path-manipulator.h" -#include "ui/tools-switch.h" #include "ui/tools/node-tool.h" +#include "ui/tools-switch.h" namespace { diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp index 4b253d327..192a02fe2 100644 --- a/src/ui/tool/path-manipulator.cpp +++ b/src/ui/tool/path-manipulator.cpp @@ -13,17 +13,17 @@ #include <2geom/bezier-utils.h> #include <2geom/path-sink.h> -#include "display/canvas-bpath.h" -#include "display/curve.h" -#include "display/sp-canvas-util.h" #include "display/sp-canvas.h" +#include "display/sp-canvas-util.h" +#include "display/curve.h" +#include "display/canvas-bpath.h" #include "helper/geom.h" -#include "live_effects/lpe-bspline.h" -#include "live_effects/lpe-powerstroke.h" -#include "live_effects/lpeobject-reference.h" #include "live_effects/lpeobject.h" +#include "live_effects/lpeobject-reference.h" +#include "live_effects/lpe-powerstroke.h" +#include "live_effects/lpe-bspline.h" #include "live_effects/parameter/path.h" #include "object/sp-path.h" diff --git a/src/ui/tool/selector.cpp b/src/ui/tool/selector.cpp index cf14d8c6c..84e96173d 100644 --- a/src/ui/tool/selector.cpp +++ b/src/ui/tool/selector.cpp @@ -13,9 +13,9 @@ #include "desktop.h" #include "display/sodipodi-ctrlrect.h" +#include "ui/tools/tool-base.h" #include "ui/tool/event-utils.h" #include "ui/tool/selector.h" -#include "ui/tools/tool-base.h" #include <gdk/gdkkeysyms.h> diff --git a/src/ui/tool/transform-handle-set.cpp b/src/ui/tool/transform-handle-set.cpp index 16258a16a..23cd6b79d 100644 --- a/src/ui/tool/transform-handle-set.cpp +++ b/src/ui/tool/transform-handle-set.cpp @@ -9,8 +9,8 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <algorithm> #include <math.h> +#include <algorithm> #include <glib/gi18n.h> diff --git a/src/ui/tools-switch.cpp b/src/ui/tools-switch.cpp index 0194134ba..5953887ce 100644 --- a/src/ui/tools-switch.cpp +++ b/src/ui/tools-switch.cpp @@ -13,20 +13,20 @@ #include <gtkmm.h> // prevents deprecation warnings -#include "desktop.h" #include "inkscape.h" +#include "desktop.h" #include <glibmm/i18n.h> #include "ui/tools-switch.h" +#include "object/sp-rect.h" #include "object/sp-ellipse.h" #include "object/sp-flowtext.h" #include "object/sp-offset.h" #include "object/sp-path.h" -#include "object/sp-rect.h" -#include "object/sp-spiral.h" #include "object/sp-star.h" +#include "object/sp-spiral.h" #include "object/sp-text.h" // TODO: How many of these are actually needed? diff --git a/src/ui/tools/arc-tool.cpp b/src/ui/tools/arc-tool.cpp index d88e2982f..34b29f3bb 100644 --- a/src/ui/tools/arc-tool.cpp +++ b/src/ui/tools/arc-tool.cpp @@ -19,8 +19,8 @@ #ifdef HAVE_CONFIG_H #include <config.h> #endif -#include <gdk/gdkkeysyms.h> #include <glibmm/i18n.h> +#include <gdk/gdkkeysyms.h> #include "context-fns.h" #include "desktop-style.h" @@ -34,20 +34,20 @@ #include "snap.h" #include "verbs.h" -#include "display/sp-canvas-item.h" #include "display/sp-canvas.h" +#include "display/sp-canvas-item.h" #include "object/sp-ellipse.h" #include "object/sp-namedview.h" #include "pixmaps/cursor-ellipse.xpm" -#include "ui/shape-editor.h" #include "ui/tools/arc-tool.h" +#include "ui/shape-editor.h" #include "ui/tools/tool-base.h" -#include "xml/node-event-vector.h" #include "xml/repr.h" +#include "xml/node-event-vector.h" using Inkscape::DocumentUndo; diff --git a/src/ui/tools/calligraphic-tool.cpp b/src/ui/tools/calligraphic-tool.cpp index 3d8784c01..c080571d0 100644 --- a/src/ui/tools/calligraphic-tool.cpp +++ b/src/ui/tools/calligraphic-tool.cpp @@ -23,16 +23,16 @@ #define noDYNA_DRAW_VERBOSE -#include <cstring> +#include <gtk/gtk.h> #include <gdk/gdkkeysyms.h> #include <glibmm/i18n.h> -#include <gtk/gtk.h> -#include <numeric> #include <string> +#include <cstring> +#include <numeric> +#include <2geom/pathvector.h> #include <2geom/bezier-utils.h> #include <2geom/circle.h> -#include <2geom/pathvector.h> #include "context-fns.h" #include "desktop-events.h" diff --git a/src/ui/tools/connector-tool.cpp b/src/ui/tools/connector-tool.cpp index 6ae39431d..c1175f592 100644 --- a/src/ui/tools/connector-tool.cpp +++ b/src/ui/tools/connector-tool.cpp @@ -66,12 +66,12 @@ * */ -#include <cstring> #include <string> +#include <cstring> -#include <gdk/gdkkeysyms.h> #include <glibmm/i18n.h> #include <glibmm/stringutils.h> +#include <gdk/gdkkeysyms.h> #include "context-fns.h" #include "desktop-style.h" diff --git a/src/ui/tools/dropper-tool.cpp b/src/ui/tools/dropper-tool.cpp index d66af2c65..07fc4b719 100644 --- a/src/ui/tools/dropper-tool.cpp +++ b/src/ui/tools/dropper-tool.cpp @@ -15,12 +15,12 @@ #include <config.h> #endif +#include <glibmm/i18n.h> #include <gdk/gdk.h> #include <gdk/gdkkeysyms.h> -#include <glibmm/i18n.h> -#include <2geom/circle.h> #include <2geom/transforms.h> +#include <2geom/circle.h> #include "color-rgba.h" #include "desktop-style.h" @@ -33,10 +33,10 @@ #include "sp-cursor.h" #include "verbs.h" -#include "display/cairo-utils.h" -#include "display/canvas-arena.h" #include "display/canvas-bpath.h" +#include "display/canvas-arena.h" #include "display/curve.h" +#include "display/cairo-utils.h" #include "object/sp-namedview.h" diff --git a/src/ui/tools/dynamic-base.cpp b/src/ui/tools/dynamic-base.cpp index fa913e37b..1026c26c6 100644 --- a/src/ui/tools/dynamic-base.cpp +++ b/src/ui/tools/dynamic-base.cpp @@ -1,10 +1,10 @@ #include "ui/tools/dynamic-base.h" +#include "message-context.h" +#include "display/sp-canvas-item.h" #include "desktop.h" #include "display/curve.h" -#include "display/sp-canvas-item.h" -#include "message-context.h" #define MIN_PRESSURE 0.0 #define MAX_PRESSURE 1.0 diff --git a/src/ui/tools/eraser-tool.cpp b/src/ui/tools/eraser-tool.cpp index 4920de584..6d1c24f07 100644 --- a/src/ui/tools/eraser-tool.cpp +++ b/src/ui/tools/eraser-tool.cpp @@ -24,13 +24,13 @@ #define noERASER_VERBOSE +#include <string> #include <cstring> #include <numeric> -#include <string> +#include <gtk/gtk.h> #include <gdk/gdkkeysyms.h> #include <glibmm/i18n.h> -#include <gtk/gtk.h> #include <2geom/bezier-utils.h> #include <2geom/pathvector.h> @@ -52,10 +52,10 @@ #include "splivarot.h" #include "verbs.h" +#include "display/sp-canvas.h" #include "display/canvas-arena.h" #include "display/canvas-bpath.h" #include "display/curve.h" -#include "display/sp-canvas.h" #include "object/sp-clippath.h" #include "object/sp-item-group.h" diff --git a/src/ui/tools/freehand-base.cpp b/src/ui/tools/freehand-base.cpp index 8a22dfe94..a9b3ff8f5 100644 --- a/src/ui/tools/freehand-base.cpp +++ b/src/ui/tools/freehand-base.cpp @@ -30,8 +30,8 @@ #include "live_effects/lpe-bendpath.h" #include "live_effects/lpe-patternalongpath.h" -#include "live_effects/lpe-powerstroke.h" #include "live_effects/lpe-simplify.h" +#include "live_effects/lpe-powerstroke.h" #include "svg/svg.h" diff --git a/src/ui/tools/gradient-tool.cpp b/src/ui/tools/gradient-tool.cpp index 1e2347769..b0c2a0185 100644 --- a/src/ui/tools/gradient-tool.cpp +++ b/src/ui/tools/gradient-tool.cpp @@ -16,8 +16,8 @@ #include <config.h> #endif -#include <gdk/gdkkeysyms.h> #include <glibmm/i18n.h> +#include <gdk/gdkkeysyms.h> #include "desktop.h" #include "document-undo.h" diff --git a/src/ui/tools/lpe-tool.cpp b/src/ui/tools/lpe-tool.cpp index d52a19121..f62a70c34 100644 --- a/src/ui/tools/lpe-tool.cpp +++ b/src/ui/tools/lpe-tool.cpp @@ -29,9 +29,9 @@ #include "message-stack.h" #include "selection.h" +#include "display/curve.h" #include "display/canvas-bpath.h" #include "display/canvas-text.h" -#include "display/curve.h" #include "object/sp-path.h" @@ -39,8 +39,8 @@ #include "util/units.h" -#include "ui/shape-editor.h" #include "ui/tools/lpe-tool.h" +#include "ui/shape-editor.h" using Inkscape::Util::unit_table; using Inkscape::UI::Tools::PenTool; diff --git a/src/ui/tools/measure-tool.cpp b/src/ui/tools/measure-tool.cpp index e2e55a580..c2bc23d8b 100644 --- a/src/ui/tools/measure-tool.cpp +++ b/src/ui/tools/measure-tool.cpp @@ -14,8 +14,8 @@ #include <config.h> #endif -#include <glibmm/i18n.h> #include <gtkmm.h> +#include <glibmm/i18n.h> #include <boost/none_t.hpp> diff --git a/src/ui/tools/mesh-tool.cpp b/src/ui/tools/mesh-tool.cpp index 5cf7316a7..e94da4813 100644 --- a/src/ui/tools/mesh-tool.cpp +++ b/src/ui/tools/mesh-tool.cpp @@ -29,8 +29,8 @@ #include "desktop.h" #include "document-undo.h" #include "document.h" -#include "gradient-chemistry.h" #include "gradient-drag.h" +#include "gradient-chemistry.h" #include "macros.h" #include "message-context.h" #include "message-stack.h" @@ -39,8 +39,8 @@ #include "snap.h" #include "verbs.h" -#include "display/curve.h" #include "display/sp-ctrlcurve.h" +#include "display/curve.h" #include "object/sp-defs.h" #include "object/sp-mesh-gradient.h" @@ -48,8 +48,8 @@ #include "object/sp-text.h" #include "style.h" -#include "pixmaps/cursor-gradient-add.xpm" #include "pixmaps/cursor-gradient.xpm" +#include "pixmaps/cursor-gradient-add.xpm" #include "ui/control-manager.h" #include "ui/tools/mesh-tool.h" diff --git a/src/ui/tools/node-tool.cpp b/src/ui/tools/node-tool.cpp index 301566f6e..d54adba89 100644 --- a/src/ui/tools/node-tool.cpp +++ b/src/ui/tools/node-tool.cpp @@ -10,8 +10,8 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <gdk/gdkkeysyms.h> #include <glib/gi18n.h> +#include <gdk/gdkkeysyms.h> diff --git a/src/ui/tools/pen-tool.cpp b/src/ui/tools/pen-tool.cpp index 6f98919ef..7dd120077 100644 --- a/src/ui/tools/pen-tool.cpp +++ b/src/ui/tools/pen-tool.cpp @@ -50,8 +50,8 @@ #include "ui/tools/pen-tool.h" // we include the necessary files for BSpline & Spiro -#include "live_effects/lpeobject-reference.h" #include "live_effects/lpeobject.h" +#include "live_effects/lpeobject-reference.h" #include "live_effects/parameter/path.h" #define INKSCAPE_LPE_SPIRO_C diff --git a/src/ui/tools/pencil-tool.cpp b/src/ui/tools/pencil-tool.cpp index ff84ee138..590ef3634 100644 --- a/src/ui/tools/pencil-tool.cpp +++ b/src/ui/tools/pencil-tool.cpp @@ -19,8 +19,8 @@ #include <gdk/gdkkeysyms.h> #include <glibmm/i18n.h> -#include <2geom/bezier-utils.h> #include <2geom/sbasis-to-bezier.h> +#include <2geom/bezier-utils.h> #include "ui/tools/pencil-tool.h" @@ -40,8 +40,8 @@ #include "display/curve.h" #include "display/sp-canvas.h" -#include "live_effects/lpe-powerstroke-interpolators.h" #include "live_effects/lpe-powerstroke.h" +#include "live_effects/lpe-powerstroke-interpolators.h" #include "object/sp-path.h" #include "style.h" diff --git a/src/ui/tools/rect-tool.cpp b/src/ui/tools/rect-tool.cpp index c4d942435..7442c6eca 100644 --- a/src/ui/tools/rect-tool.cpp +++ b/src/ui/tools/rect-tool.cpp @@ -34,8 +34,8 @@ #include "display/sp-canvas-item.h" #include "display/sp-canvas.h" -#include "object/sp-namedview.h" #include "object/sp-rect.h" +#include "object/sp-namedview.h" #include "pixmaps/cursor-rect.xpm" diff --git a/src/ui/tools/select-tool.cpp b/src/ui/tools/select-tool.cpp index a70620be8..ddc6e2881 100644 --- a/src/ui/tools/select-tool.cpp +++ b/src/ui/tools/select-tool.cpp @@ -37,8 +37,8 @@ #include "sp-cursor.h" #include "display/drawing-item.h" -#include "display/sp-canvas-item.h" #include "display/sp-canvas.h" +#include "display/sp-canvas-item.h" #include "object/box3d.h" #include "style.h" diff --git a/src/ui/tools/spray-tool.cpp b/src/ui/tools/spray-tool.cpp index 8f5800f72..603d5e80a 100644 --- a/src/ui/tools/spray-tool.cpp +++ b/src/ui/tools/spray-tool.cpp @@ -57,11 +57,11 @@ #include "pixmaps/cursor-spray.xpm" -#include "svg/svg-color.h" #include "svg/svg.h" +#include "svg/svg-color.h" -#include "ui/dialog/dialog-manager.h" #include "ui/tools/spray-tool.h" +#include "ui/dialog/dialog-manager.h" using Inkscape::DocumentUndo; diff --git a/src/ui/tools/star-tool.cpp b/src/ui/tools/star-tool.cpp index 46412a6ab..3a5615c3b 100644 --- a/src/ui/tools/star-tool.cpp +++ b/src/ui/tools/star-tool.cpp @@ -34,8 +34,8 @@ #include "selection.h" #include "verbs.h" -#include "display/sp-canvas-item.h" #include "display/sp-canvas.h" +#include "display/sp-canvas-item.h" #include "object/sp-namedview.h" #include "object/sp-star.h" diff --git a/src/ui/tools/text-tool.cpp b/src/ui/tools/text-tool.cpp index 41c2f4061..8db6c323c 100644 --- a/src/ui/tools/text-tool.cpp +++ b/src/ui/tools/text-tool.cpp @@ -18,11 +18,11 @@ #endif #include <gdk/gdkkeysyms.h> -#include <glibmm/i18n.h> #include <gtkmm/clipboard.h> +#include <glibmm/i18n.h> -#include <display/sodipodi-ctrlrect.h> #include <display/sp-ctrlline.h> +#include <display/sodipodi-ctrlrect.h> #include <display/sp-ctrlquadr.h> #include "context-fns.h" diff --git a/src/ui/tools/tool-base.cpp b/src/ui/tools/tool-base.cpp index c643f16e1..9f9a155c2 100644 --- a/src/ui/tools/tool-base.cpp +++ b/src/ui/tools/tool-base.cpp @@ -21,8 +21,8 @@ #include <gdk/gdkkeysyms.h> #include <glibmm/i18n.h> -#include "file.h" #include "shortcuts.h" +#include "file.h" @@ -38,24 +38,24 @@ #include "selection.h" #include "sp-cursor.h" -#include "display/canvas-rotate.h" -#include "display/sp-canvas-group.h" #include "display/sp-canvas.h" +#include "display/sp-canvas-group.h" +#include "display/canvas-rotate.h" #include "object/sp-guide.h" #include "ui/contextmenu.h" -#include "ui/event-debug.h" #include "ui/interface.h" -#include "ui/shape-editor.h" -#include "ui/tool/commit-events.h" +#include "ui/event-debug.h" #include "ui/tool/control-point.h" -#include "ui/tool/event-utils.h" -#include "ui/tool/shape-record.h" +#include "ui/shape-editor.h" +#include "ui/tools/tool-base.h" #include "ui/tools-switch.h" #include "ui/tools/lpe-tool.h" +#include "ui/tool/commit-events.h" +#include "ui/tool/event-utils.h" #include "ui/tools/node-tool.h" -#include "ui/tools/tool-base.h" +#include "ui/tool/shape-record.h" #include "widgets/desktop-widget.h" diff --git a/src/ui/tools/tweak-tool.cpp b/src/ui/tools/tweak-tool.cpp index e8bc87ecc..6698316c7 100644 --- a/src/ui/tools/tweak-tool.cpp +++ b/src/ui/tools/tweak-tool.cpp @@ -13,9 +13,9 @@ #include <numeric> +#include <gtk/gtk.h> #include <gdk/gdkkeysyms.h> #include <glibmm/i18n.h> -#include <gtk/gtk.h> #include <2geom/circle.h> diff --git a/src/ui/tools/zoom-tool.cpp b/src/ui/tools/zoom-tool.cpp index 3ebb987c4..6f7fca242 100644 --- a/src/ui/tools/zoom-tool.cpp +++ b/src/ui/tools/zoom-tool.cpp @@ -15,12 +15,12 @@ #include <gdk/gdkkeysyms.h> #include "macros.h" -#include "desktop.h" +#include "rubberband.h" #include "display/sp-canvas-item.h" #include "display/sp-canvas-util.h" -#include "pixmaps/cursor-zoom-out.xpm" +#include "desktop.h" #include "pixmaps/cursor-zoom.xpm" -#include "rubberband.h" +#include "pixmaps/cursor-zoom-out.xpm" #include "selection-chemistry.h" #include "ui/tools/zoom-tool.h" diff --git a/src/ui/uxmanager.cpp b/src/ui/uxmanager.cpp index d81e1afc4..3ec38edf9 100644 --- a/src/ui/uxmanager.cpp +++ b/src/ui/uxmanager.cpp @@ -15,10 +15,10 @@ #include "widgets/desktop-widget.h" +#include "uxmanager.h" #include "desktop.h" #include "ui/monitor.h" #include "util/ege-tags.h" -#include "uxmanager.h" #include "widgets/toolbox.h" diff --git a/src/ui/view/view.cpp b/src/ui/view/view.cpp index 5322c93d7..47e2a1e0d 100644 --- a/src/ui/view/view.cpp +++ b/src/ui/view/view.cpp @@ -14,13 +14,13 @@ # include "config.h" #endif +#include <2geom/point.h> #include "document.h" -#include "inkscape.h" -#include "message-context.h" +#include "view.h" #include "message-stack.h" +#include "message-context.h" #include "verbs.h" -#include "view.h" -#include <2geom/point.h> +#include "inkscape.h" namespace Inkscape { namespace UI { diff --git a/src/ui/widget/addtoicon.cpp b/src/ui/widget/addtoicon.cpp index a8a5b0d9e..e5119fc60 100644 --- a/src/ui/widget/addtoicon.cpp +++ b/src/ui/widget/addtoicon.cpp @@ -16,9 +16,9 @@ #include <gtkmm/icontheme.h> -#include "layertypeicon.h" -#include "ui/icon-names.h" #include "widgets/toolbox.h" +#include "ui/icon-names.h" +#include "layertypeicon.h" namespace Inkscape { namespace UI { diff --git a/src/ui/widget/clipmaskicon.cpp b/src/ui/widget/clipmaskicon.cpp index bd6375f80..eceff13ca 100644 --- a/src/ui/widget/clipmaskicon.cpp +++ b/src/ui/widget/clipmaskicon.cpp @@ -15,9 +15,9 @@ #include <gtkmm/icontheme.h> -#include "layertypeicon.h" -#include "ui/icon-names.h" #include "widgets/toolbox.h" +#include "ui/icon-names.h" +#include "layertypeicon.h" namespace Inkscape { namespace UI { diff --git a/src/ui/widget/color-icc-selector.cpp b/src/ui/widget/color-icc-selector.cpp index a37559323..32f99747a 100644 --- a/src/ui/widget/color-icc-selector.cpp +++ b/src/ui/widget/color-icc-selector.cpp @@ -4,8 +4,8 @@ #include <set> -#include <glibmm/i18n.h> #include <gtkmm/adjustment.h> +#include <glibmm/i18n.h> #include "colorspace.h" #include "document.h" @@ -23,9 +23,9 @@ #define noDEBUG_LCMS #if defined(HAVE_LIBLCMS1) || defined(HAVE_LIBLCMS2) +#include "object/color-profile.h" #include "cms-system.h" #include "color-profile-cms-fns.h" -#include "object/color-profile.h" #ifdef DEBUG_LCMS #include "preferences.h" diff --git a/src/ui/widget/color-picker.cpp b/src/ui/widget/color-picker.cpp index 4b74759f9..5c6820e83 100644 --- a/src/ui/widget/color-picker.cpp +++ b/src/ui/widget/color-picker.cpp @@ -11,10 +11,10 @@ */ #include "color-picker.h" +#include "inkscape.h" #include "desktop.h" -#include "document-undo.h" #include "document.h" -#include "inkscape.h" +#include "document-undo.h" #include "ui/dialog-events.h" #include "ui/widget/color-notebook.h" diff --git a/src/ui/widget/color-scales.cpp b/src/ui/widget/color-scales.cpp index 6d8621027..cb6349c4b 100644 --- a/src/ui/widget/color-scales.cpp +++ b/src/ui/widget/color-scales.cpp @@ -6,8 +6,8 @@ #include <config.h> #endif -#include <glibmm/i18n.h> #include <gtkmm/adjustment.h> +#include <glibmm/i18n.h> #include "ui/dialog-events.h" #include "ui/widget/color-scales.h" diff --git a/src/ui/widget/color-slider.cpp b/src/ui/widget/color-slider.cpp index 3af52e469..ed034598e 100644 --- a/src/ui/widget/color-slider.cpp +++ b/src/ui/widget/color-slider.cpp @@ -20,9 +20,9 @@ #include <gtkmm/adjustment.h> #include <gtkmm/stylecontext.h> -#include "preferences.h" #include "ui/widget/color-scales.h" #include "ui/widget/color-slider.h" +#include "preferences.h" static const gint SLIDER_WIDTH = 96; static const gint SLIDER_HEIGHT = 8; diff --git a/src/ui/widget/color-wheel-selector.cpp b/src/ui/widget/color-wheel-selector.cpp index c8f1f8e30..ffdf173ba 100644 --- a/src/ui/widget/color-wheel-selector.cpp +++ b/src/ui/widget/color-wheel-selector.cpp @@ -4,14 +4,14 @@ #include "color-wheel-selector.h" -#include "ui/dialog-events.h" -#include "ui/widget/color-scales.h" -#include "ui/widget/color-slider.h" -#include "widgets/gimp/gimpcolorwheel.h" #include <glibmm/i18n.h> #include <gtkmm/adjustment.h> #include <gtkmm/label.h> #include <gtkmm/spinbutton.h> +#include "ui/dialog-events.h" +#include "ui/widget/color-scales.h" +#include "ui/widget/color-slider.h" +#include "widgets/gimp/gimpcolorwheel.h" namespace Inkscape { namespace UI { diff --git a/src/ui/widget/dock-item.cpp b/src/ui/widget/dock-item.cpp index 85671e3d9..29f22977a 100644 --- a/src/ui/widget/dock-item.cpp +++ b/src/ui/widget/dock-item.cpp @@ -13,8 +13,8 @@ #include "inkscape.h" #include "ui/icon-names.h" -#include <glibmm/exceptionhandler.h> #include <gtkmm/icontheme.h> +#include <glibmm/exceptionhandler.h> namespace Inkscape { namespace UI { diff --git a/src/ui/widget/dock.cpp b/src/ui/widget/dock.cpp index f72c05836..9c1f0f783 100644 --- a/src/ui/widget/dock.cpp +++ b/src/ui/widget/dock.cpp @@ -11,9 +11,9 @@ */ #include "dock.h" -#include "desktop.h" #include "inkscape.h" #include "preferences.h" +#include "desktop.h" #include <gtkmm/adjustment.h> #include <gtkmm/paned.h> diff --git a/src/ui/widget/entity-entry.cpp b/src/ui/widget/entity-entry.cpp index f15f55911..67412b1e0 100644 --- a/src/ui/widget/entity-entry.cpp +++ b/src/ui/widget/entity-entry.cpp @@ -19,8 +19,8 @@ #include "entity-entry.h" -#include <gtkmm/entry.h> #include <gtkmm/scrolledwindow.h> +#include <gtkmm/entry.h> #include "document-private.h" #include "document-undo.h" diff --git a/src/ui/widget/font-selector-toolbar.cpp b/src/ui/widget/font-selector-toolbar.cpp index fa6cf4c28..c997e0920 100644 --- a/src/ui/widget/font-selector-toolbar.cpp +++ b/src/ui/widget/font-selector-toolbar.cpp @@ -16,14 +16,14 @@ #include "font-selector-toolbar.h" -#include "libnrtype/font-instance.h" #include "libnrtype/font-lister.h" +#include "libnrtype/font-instance.h" #include "ui/icon-names.h" // For updating from selection -#include "desktop.h" #include "inkscape.h" +#include "desktop.h" #include "object/sp-text.h" // TEMP TEMP TEMP diff --git a/src/ui/widget/font-selector.cpp b/src/ui/widget/font-selector.cpp index c83e80350..70f7d55db 100644 --- a/src/ui/widget/font-selector.cpp +++ b/src/ui/widget/font-selector.cpp @@ -15,12 +15,12 @@ #include "font-selector.h" -#include "libnrtype/font-instance.h" #include "libnrtype/font-lister.h" +#include "libnrtype/font-instance.h" // For updating from selection -#include "desktop.h" #include "inkscape.h" +#include "desktop.h" #include "object/sp-text.h" namespace Inkscape { diff --git a/src/ui/widget/font-variants.cpp b/src/ui/widget/font-variants.cpp index bef691260..be5ae255c 100644 --- a/src/ui/widget/font-variants.cpp +++ b/src/ui/widget/font-variants.cpp @@ -11,8 +11,8 @@ #include <config.h> #endif -#include <glibmm/i18n.h> #include <gtkmm.h> +#include <glibmm/i18n.h> #include <libnrtype/font-instance.h> diff --git a/src/ui/widget/font-variations.cpp b/src/ui/widget/font-variations.cpp index 7c7aff018..9a8317a79 100644 --- a/src/ui/widget/font-variations.cpp +++ b/src/ui/widget/font-variations.cpp @@ -12,11 +12,11 @@ #include <config.h> #endif -#include <iomanip> #include <iostream> +#include <iomanip> -#include <glibmm/i18n.h> #include <gtkmm.h> +#include <glibmm/i18n.h> #include <libnrtype/font-instance.h> diff --git a/src/ui/widget/imageicon.cpp b/src/ui/widget/imageicon.cpp index 37223a868..8e7df7a68 100644 --- a/src/ui/widget/imageicon.cpp +++ b/src/ui/widget/imageicon.cpp @@ -12,11 +12,11 @@ */ #include "imageicon.h" +#include "svg-view-widget.h" #include "document.h" #include "inkscape.h" -#include "svg-view-widget.h" -#include <glibmm/convert.h> #include <glibmm/fileutils.h> +#include <glibmm/convert.h> namespace Inkscape { diff --git a/src/ui/widget/imagetoggler.cpp b/src/ui/widget/imagetoggler.cpp index b6844ffb3..38c84ca51 100644 --- a/src/ui/widget/imagetoggler.cpp +++ b/src/ui/widget/imagetoggler.cpp @@ -13,8 +13,8 @@ #include <gtkmm/icontheme.h> -#include "ui/icon-names.h" #include "widgets/toolbox.h" +#include "ui/icon-names.h" #include <iostream> diff --git a/src/ui/widget/ink-select-one-action.cpp b/src/ui/widget/ink-select-one-action.cpp index 9a2c302fb..9ab4a7f45 100644 --- a/src/ui/widget/ink-select-one-action.cpp +++ b/src/ui/widget/ink-select-one-action.cpp @@ -19,16 +19,16 @@ #include "ink-select-one-action.h" -#include <gtkmm/box.h> -#include <gtkmm/combobox.h> -#include <gtkmm/image.h> -#include <gtkmm/label.h> -#include <gtkmm/menu.h> +#include <iostream> +#include <gtkmm/toolitem.h> #include <gtkmm/menuitem.h> #include <gtkmm/radioaction.h> #include <gtkmm/radiomenuitem.h> -#include <gtkmm/toolitem.h> -#include <iostream> +#include <gtkmm/combobox.h> +#include <gtkmm/menu.h> +#include <gtkmm/box.h> +#include <gtkmm/label.h> +#include <gtkmm/image.h> InkSelectOneAction* InkSelectOneAction::create(const Glib::ustring &name, const Glib::ustring &group_label, diff --git a/src/ui/widget/ink-spinscale.cpp b/src/ui/widget/ink-spinscale.cpp index d05c10a41..87a2bd11c 100644 --- a/src/ui/widget/ink-spinscale.cpp +++ b/src/ui/widget/ink-spinscale.cpp @@ -16,9 +16,9 @@ */ #include "ink-spinscale.h" +#include <gdkmm/general.h> #include <gdkmm/cursor.h> #include <gdkmm/event.h> -#include <gdkmm/general.h> #include <gtkmm/spinbutton.h> diff --git a/src/ui/widget/insertordericon.cpp b/src/ui/widget/insertordericon.cpp index 18dd13988..5d1f64a54 100644 --- a/src/ui/widget/insertordericon.cpp +++ b/src/ui/widget/insertordericon.cpp @@ -11,9 +11,9 @@ #include <gtkmm/icontheme.h> -#include "layertypeicon.h" -#include "ui/icon-names.h" #include "widgets/toolbox.h" +#include "ui/icon-names.h" +#include "layertypeicon.h" namespace Inkscape { namespace UI { diff --git a/src/ui/widget/layer-selector.cpp b/src/ui/widget/layer-selector.cpp index 466d5e75e..e0a52a868 100644 --- a/src/ui/widget/layer-selector.cpp +++ b/src/ui/widget/layer-selector.cpp @@ -18,14 +18,14 @@ #include <string> #include "ui/dialog/layer-properties.h" +#include <glibmm/i18n.h> #include <boost/range/adaptor/filtered.hpp> #include <boost/range/adaptor/reversed.hpp> -#include <glibmm/i18n.h> #include "desktop.h" -#include "document-undo.h" #include "document.h" +#include "document-undo.h" #include "layer-manager.h" #include "ui/icon-names.h" #include "ui/util.h" diff --git a/src/ui/widget/layertypeicon.cpp b/src/ui/widget/layertypeicon.cpp index 2e33f2453..3a8ffab44 100644 --- a/src/ui/widget/layertypeicon.cpp +++ b/src/ui/widget/layertypeicon.cpp @@ -15,8 +15,8 @@ #include <gtkmm/icontheme.h> -#include "ui/icon-names.h" #include "widgets/toolbox.h" +#include "ui/icon-names.h" namespace Inkscape { namespace UI { diff --git a/src/ui/widget/licensor.cpp b/src/ui/widget/licensor.cpp index 58fe644b0..1e9ee361d 100644 --- a/src/ui/widget/licensor.cpp +++ b/src/ui/widget/licensor.cpp @@ -21,12 +21,12 @@ #include <gtkmm/entry.h> #include <gtkmm/radiobutton.h> -#include "document-private.h" -#include "document-undo.h" -#include "inkscape.h" -#include "rdf.h" #include "ui/widget/entity-entry.h" #include "ui/widget/registry.h" +#include "rdf.h" +#include "inkscape.h" +#include "document-undo.h" +#include "document-private.h" #include "verbs.h" diff --git a/src/ui/widget/object-composite-settings.cpp b/src/ui/widget/object-composite-settings.cpp index 70086a5f0..3677233bc 100644 --- a/src/ui/widget/object-composite-settings.cpp +++ b/src/ui/widget/object-composite-settings.cpp @@ -17,15 +17,15 @@ #include "desktop.h" #include "desktop-style.h" -#include "display/sp-canvas.h" -#include "document-undo.h" #include "document.h" +#include "document-undo.h" #include "filter-chemistry.h" #include "inkscape.h" #include "style.h" #include "svg/css-ostringstream.h" -#include "ui/widget/style-subject.h" #include "verbs.h" +#include "display/sp-canvas.h" +#include "ui/widget/style-subject.h" namespace Inkscape { namespace UI { diff --git a/src/ui/widget/page-sizer.cpp b/src/ui/widget/page-sizer.cpp index fa83f7e65..805333f8e 100644 --- a/src/ui/widget/page-sizer.cpp +++ b/src/ui/widget/page-sizer.cpp @@ -22,11 +22,11 @@ #endif #include "page-sizer.h" +#include <glibmm/i18n.h> +#include "verbs.h" #include "helper/action.h" #include "object/sp-root.h" #include "ui/widget/button.h" -#include "verbs.h" -#include <glibmm/i18n.h> using std::pair; using Inkscape::Util::unit_table; diff --git a/src/ui/widget/panel.cpp b/src/ui/widget/panel.cpp index 0c4aafd63..281e6e21a 100644 --- a/src/ui/widget/panel.cpp +++ b/src/ui/widget/panel.cpp @@ -19,8 +19,8 @@ #include <glibmm/i18n.h> -#include "desktop.h" #include "panel.h" +#include "desktop.h" #include "inkscape.h" #include "widgets/eek-preview.h" diff --git a/src/ui/widget/preferences-widget.cpp b/src/ui/widget/preferences-widget.cpp index d72f5b9d1..078aba9cf 100644 --- a/src/ui/widget/preferences-widget.cpp +++ b/src/ui/widget/preferences-widget.cpp @@ -14,8 +14,8 @@ #include <config.h> #endif -#include <glibmm/convert.h> #include <glibmm/i18n.h> +#include <glibmm/convert.h> #include <glibmm/regex.h> #include <gtkmm/box.h> diff --git a/src/ui/widget/registered-widget.cpp b/src/ui/widget/registered-widget.cpp index 02bb3cf6d..753b72c2e 100644 --- a/src/ui/widget/registered-widget.cpp +++ b/src/ui/widget/registered-widget.cpp @@ -25,8 +25,8 @@ #include "object/sp-root.h" -#include "svg/stringstream.h" #include "svg/svg-color.h" +#include "svg/stringstream.h" #include "widgets/spinbutton-events.h" diff --git a/src/ui/widget/rotateable.cpp b/src/ui/widget/rotateable.cpp index fef507b88..0e290730d 100644 --- a/src/ui/widget/rotateable.cpp +++ b/src/ui/widget/rotateable.cpp @@ -11,11 +11,11 @@ #include <config.h> #endif -#include "rotateable.h" -#include "ui/tools/tool-base.h" -#include <2geom/point.h> #include <gtkmm/box.h> #include <gtkmm/eventbox.h> +#include <2geom/point.h> +#include "ui/tools/tool-base.h" +#include "rotateable.h" namespace Inkscape { namespace UI { diff --git a/src/ui/widget/spinbutton.cpp b/src/ui/widget/spinbutton.cpp index 53b329293..0c082d3ce 100644 --- a/src/ui/widget/spinbutton.cpp +++ b/src/ui/widget/spinbutton.cpp @@ -13,10 +13,10 @@ #include "spinbutton.h" -#include "ui/tools/tool-base.h" #include "unit-menu.h" #include "unit-tracker.h" #include "util/expression-evaluator.h" +#include "ui/tools/tool-base.h" namespace Inkscape { namespace UI { diff --git a/src/ui/widget/style-subject.cpp b/src/ui/widget/style-subject.cpp index 5680f7ee5..e23627080 100644 --- a/src/ui/widget/style-subject.cpp +++ b/src/ui/widget/style-subject.cpp @@ -7,8 +7,8 @@ #include "style-subject.h" -#include "desktop-style.h" #include "desktop.h" +#include "desktop-style.h" #include "selection.h" #include "xml/sp-css-attr.h" diff --git a/src/ui/widget/tolerance-slider.cpp b/src/ui/widget/tolerance-slider.cpp index 4e326af19..d2c338571 100644 --- a/src/ui/widget/tolerance-slider.cpp +++ b/src/ui/widget/tolerance-slider.cpp @@ -22,10 +22,10 @@ #include <gtkmm/radiobutton.h> #include <gtkmm/scale.h> -#include "desktop.h" -#include "document-undo.h" -#include "document.h" #include "inkscape.h" +#include "document.h" +#include "document-undo.h" +#include "desktop.h" #include "object/sp-namedview.h" diff --git a/src/util/ege-tags.cpp b/src/util/ege-tags.cpp index 636d93b85..dcc28f370 100644 --- a/src/util/ege-tags.cpp +++ b/src/util/ege-tags.cpp @@ -44,9 +44,9 @@ #define _(s) gettext(s) #endif // !defined(_) +#include <set> #include <algorithm> #include <functional> -#include <set> #include "ege-tags.h" diff --git a/src/util/units.cpp b/src/util/units.cpp index e31f78c3b..cf4bfd146 100644 --- a/src/util/units.cpp +++ b/src/util/units.cpp @@ -13,20 +13,20 @@ # include <config.h> #endif -#include <cerrno> #include <cmath> +#include <cerrno> +#include <iomanip> +#include <iostream> #include <glib.h> +#include <glibmm/regex.h> #include <glibmm/fileutils.h> #include <glibmm/markup.h> -#include <glibmm/regex.h> -#include <iomanip> -#include <iostream> #include <2geom/coord.h> +#include "util/units.h" #include "path-prefix.h" #include "streq.h" -#include "util/units.h" using Inkscape::Util::UNIT_TYPE_DIMENSIONLESS; using Inkscape::Util::UNIT_TYPE_LINEAR; diff --git a/src/util/ziptool.cpp b/src/util/ziptool.cpp index d9d769e89..b8253627c 100644 --- a/src/util/ziptool.cpp +++ b/src/util/ziptool.cpp @@ -31,8 +31,8 @@ */ -#include <stdarg.h> #include <stdio.h> +#include <stdarg.h> #include <time.h> #include <string> diff --git a/src/version.cpp b/src/version.cpp index a4d4decb9..7610cd8e7 100644 --- a/src/version.cpp +++ b/src/version.cpp @@ -12,9 +12,9 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include "version.h" #include <glib.h> #include <sstream> +#include "version.h" bool sp_version_from_string(const char *string, Inkscape::Version *version) { diff --git a/src/widgets/box3d-toolbar.cpp b/src/widgets/box3d-toolbar.cpp index e6463547a..4b944314d 100644 --- a/src/widgets/box3d-toolbar.cpp +++ b/src/widgets/box3d-toolbar.cpp @@ -28,8 +28,8 @@ #include <config.h> #endif -#include <glibmm/i18n.h> #include <gtk/gtk.h> +#include <glibmm/i18n.h> #include "box3d-toolbar.h" diff --git a/src/widgets/button.cpp b/src/widgets/button.cpp index 79a52c31d..7dcfc9771 100644 --- a/src/widgets/button.cpp +++ b/src/widgets/button.cpp @@ -15,9 +15,9 @@ #include "button.h" #include "helper/action-context.h" -#include "helper/action.h" -#include "shortcuts.h" #include "ui/interface.h" +#include "shortcuts.h" +#include "helper/action.h" static void sp_button_dispose(GObject *object); static void sp_button_get_preferred_width(GtkWidget *widget, gint *minimal_width, gint *natural_width); diff --git a/src/widgets/calligraphy-toolbar.cpp b/src/widgets/calligraphy-toolbar.cpp index b46ad842a..ed9779f1a 100644 --- a/src/widgets/calligraphy-toolbar.cpp +++ b/src/widgets/calligraphy-toolbar.cpp @@ -29,18 +29,18 @@ #endif #include "ui/dialog/calligraphic-profile-rename.h" -#include "calligraphy-toolbar.h" #include <glibmm/i18n.h> +#include "calligraphy-toolbar.h" #include "desktop.h" #include "document-undo.h" +#include "widgets/ege-adjustment-action.h" +#include "widgets/ink-action.h" +#include "widgets/ink-toggle-action.h" #include "toolbox.h" #include "ui/icon-names.h" #include "ui/uxmanager.h" #include "ui/widget/ink-select-one-action.h" -#include "widgets/ege-adjustment-action.h" -#include "widgets/ink-action.h" -#include "widgets/ink-toggle-action.h" using Inkscape::UI::UXManager; using Inkscape::DocumentUndo; diff --git a/src/widgets/connector-toolbar.cpp b/src/widgets/connector-toolbar.cpp index 64058886f..2030e7acb 100644 --- a/src/widgets/connector-toolbar.cpp +++ b/src/widgets/connector-toolbar.cpp @@ -30,8 +30,8 @@ #include <glibmm/i18n.h> -#include "conn-avoid-ref.h" #include "connector-toolbar.h" +#include "conn-avoid-ref.h" #include "desktop.h" #include "document-undo.h" diff --git a/src/widgets/dropper-toolbar.cpp b/src/widgets/dropper-toolbar.cpp index c3f70ab39..7a9cf1779 100644 --- a/src/widgets/dropper-toolbar.cpp +++ b/src/widgets/dropper-toolbar.cpp @@ -30,11 +30,11 @@ #include <glibmm/i18n.h> -#include "document-undo.h" #include "dropper-toolbar.h" +#include "document-undo.h" +#include "widgets/ege-output-action.h" #include "ink-toggle-action.h" #include "preferences.h" -#include "widgets/ege-output-action.h" #include "widgets/spinbutton-events.h" using Inkscape::DocumentUndo; diff --git a/src/widgets/eek-preview.cpp b/src/widgets/eek-preview.cpp index bf69ad985..38d5173fa 100644 --- a/src/widgets/eek-preview.cpp +++ b/src/widgets/eek-preview.cpp @@ -40,9 +40,9 @@ #include <algorithm> using std::min; +#include <gtk/gtk.h> #include "eek-preview.h" #include "preferences.h" -#include <gtk/gtk.h> #define PRIME_BUTTON_MAGIC_NUMBER 1 diff --git a/src/widgets/ege-adjustment-action.cpp b/src/widgets/ege-adjustment-action.cpp index 3e09c3d78..318e6ced2 100644 --- a/src/widgets/ege-adjustment-action.cpp +++ b/src/widgets/ege-adjustment-action.cpp @@ -39,19 +39,19 @@ /* Note: this file should be kept compilable as both .cpp and .c */ -#include <algorithm> #include <cmath> #include <string.h> #include <vector> +#include <algorithm> -#include <gdk/gdkkeysyms.h> -#include <gtkmm/adjustment.h> #include <gtkmm/container.h> #include <gtkmm/radiomenuitem.h> +#include <gtkmm/adjustment.h> +#include <gdk/gdkkeysyms.h> +#include "widgets/ege-adjustment-action.h" #include "ui/icon-names.h" #include "ui/widget/ink-spinscale.h" -#include "widgets/ege-adjustment-action.h" static void ege_adjustment_action_finalize( GObject* object ); static void ege_adjustment_action_get_property( GObject* obj, guint propId, GValue* value, GParamSpec * pspec ); diff --git a/src/widgets/ege-paint-def.cpp b/src/widgets/ege-paint-def.cpp index a7f65e739..8e0ec9352 100644 --- a/src/widgets/ege-paint-def.cpp +++ b/src/widgets/ege-paint-def.cpp @@ -38,14 +38,14 @@ #include <libintl.h> -#include <glibmm/i18n.h> -#include <glibmm/stringutils.h> -#include <iostream> -#include <sstream> #include <stdint.h> -#include <stdio.h> #include <string> +#include <iostream> +#include <sstream> #include <string.h> +#include <stdio.h> +#include <glibmm/i18n.h> +#include <glibmm/stringutils.h> #if !defined(_) #define _(s) gettext(s) diff --git a/src/widgets/eraser-toolbar.cpp b/src/widgets/eraser-toolbar.cpp index d187f0956..ddda02c59 100644 --- a/src/widgets/eraser-toolbar.cpp +++ b/src/widgets/eraser-toolbar.cpp @@ -36,14 +36,14 @@ #include "desktop.h" #include "document-undo.h" +#include "widgets/ege-adjustment-action.h" #include "ink-action.h" #include "ink-radio-action.h" #include "ink-toggle-action.h" #include "toolbox.h" +#include "ui/widget/ink-select-one-action.h" #include "ui/icon-names.h" #include "ui/tools/eraser-tool.h" -#include "ui/widget/ink-select-one-action.h" -#include "widgets/ege-adjustment-action.h" using Inkscape::DocumentUndo; using Inkscape::UI::ToolboxFactory; diff --git a/src/widgets/fill-style.cpp b/src/widgets/fill-style.cpp index a1865f396..8b3a31516 100644 --- a/src/widgets/fill-style.cpp +++ b/src/widgets/fill-style.cpp @@ -22,8 +22,8 @@ #include <config.h> #endif -#include <glibmm/i18n.h> #include <gtkmm/box.h> +#include <glibmm/i18n.h> #include "desktop-style.h" #include "desktop.h" diff --git a/src/widgets/gimp/ruler.cpp b/src/widgets/gimp/ruler.cpp index da25df3b4..8d73ada3b 100644 --- a/src/widgets/gimp/ruler.cpp +++ b/src/widgets/gimp/ruler.cpp @@ -29,14 +29,14 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <cstring> #include <cmath> #include <cstdio> -#include <cstring> #include <set> #include "ruler.h" -#include "util/units.h" #include <glibmm/i18n.h> +#include "util/units.h" #define ROUND(x) ((int) round(x)) diff --git a/src/widgets/gradient-image.cpp b/src/widgets/gradient-image.cpp index d02c19512..65b1a6733 100644 --- a/src/widgets/gradient-image.cpp +++ b/src/widgets/gradient-image.cpp @@ -12,8 +12,8 @@ #include <sigc++/sigc++.h> -#include <gdkmm/pixbuf.h> #include <glibmm/refptr.h> +#include <gdkmm/pixbuf.h> #include <cairomm/surface.h> diff --git a/src/widgets/gradient-vector.cpp b/src/widgets/gradient-vector.cpp index 7678cb6be..412f0b7e2 100644 --- a/src/widgets/gradient-vector.cpp +++ b/src/widgets/gradient-vector.cpp @@ -31,15 +31,15 @@ -#include "desktop.h" #include "document-private.h" -#include "document-undo.h" #include "gradient-chemistry.h" -#include "gradient-vector.h" #include "inkscape.h" +#include "preferences.h" +#include "desktop.h" +#include "document-undo.h" +#include "gradient-vector.h" #include "layer-manager.h" #include "macros.h" -#include "preferences.h" #include "selection-chemistry.h" #include "verbs.h" @@ -439,9 +439,9 @@ void SPGradientVectorSelector::setSwatched() ### Vector Editing Widget ##################################################################*/ -#include "svg/svg-color.h" #include "widgets/widget-sizes.h" #include "xml/node-event-vector.h" +#include "svg/svg-color.h" #define PAD 4 diff --git a/src/widgets/ink-comboboxentry-action.cpp b/src/widgets/ink-comboboxentry-action.cpp index 10d9e7422..2fecb06a4 100644 --- a/src/widgets/ink-comboboxentry-action.cpp +++ b/src/widgets/ink-comboboxentry-action.cpp @@ -23,15 +23,15 @@ * we must keep track of things like active entry ourselves. */ -#include <glibmm/ustring.h> #include <iostream> #include <string.h> +#include <glibmm/ustring.h> -#include <gdk/gdkkeysyms.h> #include <gtk/gtk.h> +#include <gdk/gdkkeysyms.h> -#include "ui/icon-names.h" #include "widgets/ink-comboboxentry-action.h" +#include "ui/icon-names.h" // Must handle both tool and menu items! static GtkWidget* create_tool_item( GtkAction* action ); diff --git a/src/widgets/paint-selector.cpp b/src/widgets/paint-selector.cpp index de0018115..991d81d4a 100644 --- a/src/widgets/paint-selector.cpp +++ b/src/widgets/paint-selector.cpp @@ -684,7 +684,7 @@ static void sp_paint_selector_set_mode_color(SPPaintSelector *psel, SPPaintSelec sp_paint_selector_set_style_buttons(psel, psel->solid); gtk_widget_set_sensitive(psel->style, TRUE); - if (psel->mode = SPPaintSelector::MODE_SOLID_COLOR) { + if ((psel->mode == SPPaintSelector::MODE_SOLID_COLOR)) { /* Already have color selector */ // Do nothing } else { diff --git a/src/widgets/paintbucket-toolbar.cpp b/src/widgets/paintbucket-toolbar.cpp index e7d69b0cc..280cf0eb1 100644 --- a/src/widgets/paintbucket-toolbar.cpp +++ b/src/widgets/paintbucket-toolbar.cpp @@ -30,9 +30,9 @@ #include <glibmm/i18n.h> +#include "paintbucket-toolbar.h" #include "desktop.h" #include "document-undo.h" -#include "paintbucket-toolbar.h" #include "ui/icon-names.h" #include "ui/tools/flood-tool.h" @@ -40,8 +40,8 @@ #include "ui/widget/ink-select-one-action.h" #include "ui/widget/unit-tracker.h" -#include "widgets/ege-adjustment-action.h" #include "widgets/ink-action.h" +#include "widgets/ege-adjustment-action.h" #include "widgets/toolbox.h" using Inkscape::UI::Widget::UnitTracker; diff --git a/src/widgets/pencil-toolbar.cpp b/src/widgets/pencil-toolbar.cpp index e6f085d8f..d2939c720 100644 --- a/src/widgets/pencil-toolbar.cpp +++ b/src/widgets/pencil-toolbar.cpp @@ -28,8 +28,8 @@ #include <config.h> #endif -#include <glibmm/i18n.h> #include <gtkmm.h> +#include <glibmm/i18n.h> #include "pencil-toolbar.h" diff --git a/src/widgets/rect-toolbar.cpp b/src/widgets/rect-toolbar.cpp index 50fde9ded..afa090ba7 100644 --- a/src/widgets/rect-toolbar.cpp +++ b/src/widgets/rect-toolbar.cpp @@ -28,8 +28,8 @@ #include <config.h> #endif -#include <glibmm/i18n.h> #include <gtk/gtk.h> +#include <glibmm/i18n.h> #include "rect-toolbar.h" diff --git a/src/widgets/sp-attribute-widget.cpp b/src/widgets/sp-attribute-widget.cpp index c296c1136..d89e6296c 100644 --- a/src/widgets/sp-attribute-widget.cpp +++ b/src/widgets/sp-attribute-widget.cpp @@ -18,9 +18,9 @@ #include "sp-attribute-widget.h" -#include "document-undo.h" -#include "document.h" #include "macros.h" +#include "document.h" +#include "document-undo.h" #include "verbs.h" #include "object/sp-object.h" diff --git a/src/widgets/sp-color-selector.cpp b/src/widgets/sp-color-selector.cpp index 222a41b19..8a30b276b 100644 --- a/src/widgets/sp-color-selector.cpp +++ b/src/widgets/sp-color-selector.cpp @@ -7,10 +7,10 @@ #include <config.h> #endif -#include "sp-color-selector.h" -#include <glibmm/i18n.h> -#include <gtk/gtk.h> #include <math.h> +#include <gtk/gtk.h> +#include <glibmm/i18n.h> +#include "sp-color-selector.h" enum { GRABBED, diff --git a/src/widgets/sp-widget.cpp b/src/widgets/sp-widget.cpp index 8295aa017..707e62c12 100644 --- a/src/widgets/sp-widget.cpp +++ b/src/widgets/sp-widget.cpp @@ -14,9 +14,9 @@ */ #include "document.h" -#include "helper/sp-marshal.h" #include "inkscape.h" #include "sp-widget.h" +#include "helper/sp-marshal.h" using Inkscape::SPWidgetImpl; diff --git a/src/widgets/sp-xmlview-attr-list.cpp b/src/widgets/sp-xmlview-attr-list.cpp index 4d38cee8f..e99605b97 100644 --- a/src/widgets/sp-xmlview-attr-list.cpp +++ b/src/widgets/sp-xmlview-attr-list.cpp @@ -16,8 +16,8 @@ #include <cstring> #include <glibmm/i18n.h> -#include "../xml/node-event-vector.h" #include "helper/sp-marshal.h" +#include "../xml/node-event-vector.h" #include "sp-xmlview-attr-list.h" static void sp_xmlview_attr_list_destroy(GtkWidget * object); diff --git a/src/widgets/sp-xmlview-content.cpp b/src/widgets/sp-xmlview-content.cpp index 0da6cdb19..6e59ba3cd 100644 --- a/src/widgets/sp-xmlview-content.cpp +++ b/src/widgets/sp-xmlview-content.cpp @@ -13,13 +13,13 @@ #include <cstring> #include <glibmm/i18n.h> +#include "xml/node-event-vector.h" +#include "sp-xmlview-content.h" #include "desktop.h" #include "document-private.h" #include "document-undo.h" #include "inkscape.h" -#include "sp-xmlview-content.h" #include "verbs.h" -#include "xml/node-event-vector.h" using Inkscape::DocumentUndo; diff --git a/src/widgets/spinbutton-events.cpp b/src/widgets/spinbutton-events.cpp index 2f8eb9147..9666fc636 100644 --- a/src/widgets/spinbutton-events.cpp +++ b/src/widgets/spinbutton-events.cpp @@ -15,8 +15,8 @@ #include <config.h> #endif -#include <gdk/gdkkeysyms.h> #include <gtk/gtk.h> +#include <gdk/gdkkeysyms.h> #include "ui/tools/tool-base.h" diff --git a/src/widgets/spiral-toolbar.cpp b/src/widgets/spiral-toolbar.cpp index 66eaeedc3..79ea30e8e 100644 --- a/src/widgets/spiral-toolbar.cpp +++ b/src/widgets/spiral-toolbar.cpp @@ -28,8 +28,8 @@ #include <config.h> #endif -#include <glibmm/i18n.h> #include <gtk/gtk.h> +#include <glibmm/i18n.h> #include "spiral-toolbar.h" diff --git a/src/widgets/spray-toolbar.cpp b/src/widgets/spray-toolbar.cpp index d930366fa..361364992 100644 --- a/src/widgets/spray-toolbar.cpp +++ b/src/widgets/spray-toolbar.cpp @@ -31,18 +31,18 @@ #include <gtkmm.h> +#include "spray-toolbar.h" #include "desktop.h" +#include "inkscape.h" +#include "widgets/ege-adjustment-action.h" #include "ink-radio-action.h" #include "ink-toggle-action.h" -#include "inkscape.h" -#include "spray-toolbar.h" #include "toolbox.h" #include "ui/dialog/clonetiler.h" #include "ui/dialog/dialog-manager.h" #include "ui/dialog/panel-dialog.h" -#include "ui/icon-names.h" #include "ui/widget/ink-select-one-action.h" -#include "widgets/ege-adjustment-action.h" +#include "ui/icon-names.h" #include <glibmm/i18n.h> diff --git a/src/widgets/spw-utilities.cpp b/src/widgets/spw-utilities.cpp index cf717ae7c..992f1f6b7 100644 --- a/src/widgets/spw-utilities.cpp +++ b/src/widgets/spw-utilities.cpp @@ -18,8 +18,8 @@ #include <string> #include <gtkmm/box.h> -#include <gtkmm/grid.h> #include <gtkmm/label.h> +#include <gtkmm/grid.h> #include "selection.h" diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 907cb5421..5894391ff 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -30,11 +30,11 @@ #include "config.h" #endif -#include <glibmm/i18n.h> +#include <gtkmm/box.h> #include <gtkmm/action.h> #include <gtkmm/actiongroup.h> -#include <gtkmm/box.h> #include <gtkmm/toolitem.h> +#include <glibmm/i18n.h> #include "desktop-style.h" #include "desktop.h" @@ -77,8 +77,8 @@ #include "eraser-toolbar.h" #include "gradient-toolbar.h" #include "lpe-toolbar.h" -#include "measure-toolbar.h" #include "mesh-toolbar.h" +#include "measure-toolbar.h" #include "node-toolbar.h" #include "rect-toolbar.h" @@ -88,11 +88,11 @@ #include "pencil-toolbar.h" #include "select-toolbar.h" -#include "spiral-toolbar.h" #include "spray-toolbar.h" +#include "spiral-toolbar.h" #include "star-toolbar.h" -#include "text-toolbar.h" #include "tweak-toolbar.h" +#include "text-toolbar.h" #include "zoom-toolbar.h" #include "toolbox.h" diff --git a/src/xml/composite-node-observer.cpp b/src/xml/composite-node-observer.cpp index e104d1ef3..581a4c226 100644 --- a/src/xml/composite-node-observer.cpp +++ b/src/xml/composite-node-observer.cpp @@ -15,11 +15,11 @@ #include <cstring> #include <glib.h> -#include "debug/event-tracker.h" -#include "debug/simple-event.h" #include "util/find-if-before.h" #include "xml/composite-node-observer.h" #include "xml/node-event-vector.h" +#include "debug/event-tracker.h" +#include "debug/simple-event.h" namespace Inkscape { diff --git a/src/xml/croco-node-iface.cpp b/src/xml/croco-node-iface.cpp index dd92e93d5..6bd5a6920 100644 --- a/src/xml/croco-node-iface.cpp +++ b/src/xml/croco-node-iface.cpp @@ -1,6 +1,6 @@ #include <cstring> -#include <glib.h> #include <string> +#include <glib.h> #include "xml/croco-node-iface.h" #include "xml/node.h" diff --git a/src/xml/event.cpp b/src/xml/event.cpp index 36ee93199..54f55d5c3 100644 --- a/src/xml/event.cpp +++ b/src/xml/event.cpp @@ -13,16 +13,16 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ -#include <cstdio> #include <glib.h> // g_assert() +#include <cstdio> -#include "debug/event-tracker.h" -#include "debug/simple-event.h" -#include "event-fns.h" #include "event.h" +#include "event-fns.h" #include "util/reverse-list.h" #include "xml/document.h" #include "xml/node-observer.h" +#include "debug/event-tracker.h" +#include "debug/simple-event.h" using Inkscape::Util::List; using Inkscape::Util::reverse_list; diff --git a/src/xml/log-builder.cpp b/src/xml/log-builder.cpp index 34f5bf0e3..12577cf69 100644 --- a/src/xml/log-builder.cpp +++ b/src/xml/log-builder.cpp @@ -14,8 +14,8 @@ */ #include "xml/log-builder.h" -#include "xml/event-fns.h" #include "xml/event.h" +#include "xml/event-fns.h" namespace Inkscape { namespace XML { diff --git a/src/xml/node-fns.cpp b/src/xml/node-fns.cpp index 9ceafc593..e1506e3f2 100644 --- a/src/xml/node-fns.cpp +++ b/src/xml/node-fns.cpp @@ -1,14 +1,14 @@ #ifdef HAVE_CONFIG_H #endif -#include <cstring> -#include <glib.h> // g_assert() #include <map> +#include <cstring> #include <string> +#include <glib.h> // g_assert() -#include "node-fns.h" -#include "util/find-if-before.h" #include "xml/node-iterators.h" +#include "util/find-if-before.h" +#include "node-fns.h" namespace Inkscape { namespace XML { diff --git a/src/xml/repr-css.cpp b/src/xml/repr-css.cpp index 438585f25..63ad05e04 100644 --- a/src/xml/repr-css.cpp +++ b/src/xml/repr-css.cpp @@ -19,8 +19,8 @@ #define SP_REPR_CSS_C #include <cstring> -#include <sstream> #include <string> +#include <sstream> #include <glibmm/ustring.h> diff --git a/src/xml/repr-io.cpp b/src/xml/repr-io.cpp index cbee11848..2ff9d4776 100644 --- a/src/xml/repr-io.cpp +++ b/src/xml/repr-io.cpp @@ -15,21 +15,21 @@ #endif #include <cstring> -#include <stdexcept> #include <string> +#include <stdexcept> #include <libxml/parser.h> +#include "xml/repr.h" #include "xml/attribute-record.h" #include "xml/rebase-hrefs.h" -#include "xml/repr.h" #include "xml/simple-document.h" #include "xml/text-node.h" -#include "io/gzipstream.h" -#include "io/stringstream.h" #include "io/sys.h" #include "io/uristream.h" +#include "io/stringstream.h" +#include "io/gzipstream.h" #include "extension/extension.h" diff --git a/src/xml/repr-sorting.cpp b/src/xml/repr-sorting.cpp index 95094beb7..09a39acb2 100644 --- a/src/xml/repr-sorting.cpp +++ b/src/xml/repr-sorting.cpp @@ -1,8 +1,8 @@ #include "util/longest-common-suffix.h" -#include "repr-sorting.h" -#include "xml/node-iterators.h" #include "xml/repr.h" +#include "xml/node-iterators.h" +#include "repr-sorting.h" static bool same_repr(Inkscape::XML::Node const &a, Inkscape::XML::Node const &b) { diff --git a/src/xml/repr-util.cpp b/src/xml/repr-util.cpp index 187e0a658..6da1233db 100644 --- a/src/xml/repr-util.cpp +++ b/src/xml/repr-util.cpp @@ -22,14 +22,14 @@ # include <cstdlib> -#include "svg/css-ostringstream.h" +#include <glib.h> +#include <2geom/point.h> #include "svg/stringstream.h" +#include "svg/css-ostringstream.h" #include "svg/svg-length.h" -#include <2geom/point.h> -#include <glib.h> -#include "xml/repr-sorting.h" #include "xml/repr.h" +#include "xml/repr-sorting.h" #define OSB_NS_URI "http://www.openswatchbook.org/uri/2009/osb" diff --git a/src/xml/repr.cpp b/src/xml/repr.cpp index 09c3e3bec..8ad1ac06b 100644 --- a/src/xml/repr.cpp +++ b/src/xml/repr.cpp @@ -23,10 +23,10 @@ #include <cstring> #include "xml/repr.h" -#include "xml/comment-node.h" +#include "xml/text-node.h" #include "xml/element-node.h" +#include "xml/comment-node.h" #include "xml/simple-document.h" -#include "xml/text-node.h" using Inkscape::Util::share_string; diff --git a/src/xml/simple-document.cpp b/src/xml/simple-document.cpp index 0e1c7a3ad..cf7851897 100644 --- a/src/xml/simple-document.cpp +++ b/src/xml/simple-document.cpp @@ -13,14 +13,14 @@ * */ -#include "xml/simple-document.h" #include <glib.h> // g_assert() -#include "xml/comment-node.h" -#include "xml/element-node.h" +#include "xml/simple-document.h" #include "xml/event-fns.h" -#include "xml/pi-node.h" +#include "xml/element-node.h" #include "xml/text-node.h" +#include "xml/comment-node.h" +#include "xml/pi-node.h" namespace Inkscape { diff --git a/src/xml/simple-document.h b/src/xml/simple-document.h index 66f6b1381..01933076f 100644 --- a/src/xml/simple-document.h +++ b/src/xml/simple-document.h @@ -16,9 +16,9 @@ #define SEEN_INKSCAPE_XML_SIMPLE_DOCUMENT_H #include "xml/document.h" +#include "xml/simple-node.h" #include "xml/node-observer.h" #include "xml/log-builder.h" -#include "xml/simple-node.h" namespace Inkscape { diff --git a/src/xml/simple-node.cpp b/src/xml/simple-node.cpp index 4d4efc668..78fc52a27 100644 --- a/src/xml/simple-node.cpp +++ b/src/xml/simple-node.cpp @@ -21,12 +21,12 @@ #include "preferences.h" +#include "xml/simple-node.h" +#include "xml/node-event-vector.h" +#include "xml/node-fns.h" #include "debug/event-tracker.h" #include "debug/simple-event.h" #include "util/format.h" -#include "xml/node-event-vector.h" -#include "xml/node-fns.h" -#include "xml/simple-node.h" #include "attribute-rel-util.h" diff --git a/src/xml/subtree.cpp b/src/xml/subtree.cpp index 52237340f..94c1436a9 100644 --- a/src/xml/subtree.cpp +++ b/src/xml/subtree.cpp @@ -13,8 +13,8 @@ */ #include "xml/node.h" -#include "xml/node-iterators.h" #include "xml/subtree.h" +#include "xml/node-iterators.h" namespace Inkscape { namespace XML { |
