Commit Graph

442 Commits

Author SHA1 Message Date
Michael Natterer e00598abed app: remove the legacy gimp-transform-region code 2012-05-02 17:50:41 +02:00
Michael Natterer 95327090c0 app: remove legacy support from gimpdrawable-transform.c 2012-05-02 17:50:41 +02:00
Michael Natterer fd033afe11 app: factor out the creation of GeglOperation config proxy objects 2012-05-02 17:46:15 +02:00
Michael Natterer 950412fbdc configure: bump version to 2.9.1
and change app/Makefile.am to use variables instead of hadcoding the
version.
2012-05-02 17:43:43 +02:00
Michael Natterer c3230a7a2f app: forgot to change the actual binary to 2.8 2012-03-24 19:42:34 +01:00
Michael Natterer 056e09a6cb Remove the makefile.msc build system, it is unmaintained since 2008 2011-12-16 15:53:56 +01:00
Michael Natterer ad83b656a7 app: port the client side of the unique impl to GDBus 2011-10-28 09:34:59 +02:00
Michael Natterer 29a6c71f00 app: don't use GNU-only options when generating git-version.h 2011-10-04 23:36:21 +02:00
Martin Nordholts 8424aafc05 Bug 659084 - git-version.h can't be generated from shallow repositories
Pass --always to git describe so git-version.h can be generated also
from shallow (--depth 1) repositories. Cause found by Kenny Stuart.
2011-09-15 20:47:34 +02:00
Mukund Sivaraman 6080c11161 Revert "Bug #658816 - Add a spellchecker to the comment editor"
This reverts commit 978c96bbc6, which is
probably not such a great idea.
2011-09-13 00:33:33 +05:30
Mukund Sivaraman 978c96bbc6 Bug #658816 - Add a spellchecker to the comment editor
This is an initial version and can be improved. Something is better
than nothing.  :)
2011-09-12 19:36:35 +05:30
Mukund Sivaraman e4204e453a app: Move language specific code into language.[ch] 2011-09-06 23:12:36 +05:30
Martin Nordholts c272a3a038 app: Repair git-version.h generation
We must only generate a git-version.h if we have a .git dir or if we
have no git-version.h at all. Otherwise building from a tarball will
destroy the distributed git-version.h.

Also remove #define GIMP_GIT_LAST_COMMIT_YEAR, we don't use it.
2011-08-26 23:46:32 +02:00
Massimo Valentini ddf09b3a36 Fixes two minor issues when builddir != srcdir 2011-05-26 20:17:21 +02:00
Michael Natterer 43c593bb3c app: remove obsolete linking workarounds, they break the build on OSX 2010-12-09 15:29:57 +01:00
Alexia Death 27c77e6a5e Merge branch 'master' into soc-2010-cage-2 2010-11-04 00:41:45 +02:00
Mukund Sivaraman 5dfb2782dd Use libapp_generated_sources in Makefile.am 2010-09-29 00:39:23 +05:30
Nils Philippsen 6b1aabfa71 add git-version.h to BUILT_SOURCES
This is so that it gets built before automake descends into subdirs.
2010-09-28 18:19:34 +02:00
Nils Philippsen 37d9876742 app: define GIMP_GIT_LAST_COMMIT_{TIMESTAMP,YEAR} macros 2010-09-28 14:25:43 +02:00
Alexia Death 74e5864fa6 Merge branch 'master' into soc-2010-cage-2 2010-09-26 23:08:15 +03:00
Martin Nordholts 1801fc70ab app: Use `git describe` for verbose version
Use `git describe` for verbose version, it provides more info than
just the commit ID, and it feels sane to use an existing command for
this. Note that the commit ID is prefixed with 'g'.
2010-09-02 21:28:42 +02:00
Alexia Death d98bd748e7 Merge branch 'master' into soc-2010-cage-2 2010-09-01 11:21:58 +03:00
Michael Schumacher 90655d8744 Use $(GIMP_APP_VERSION) in resource object file name 2010-08-27 23:13:34 +02:00
Michael Schumacher 9781cf1523 Bug 574018 - Add a manifest to executables
This step moves the %.rc.o pattern rule to a small include file in the
build/windows/ directory. Michael Natterer suggested this approach in
order to minimize the changes done to each executable's Makefile.am.
2010-08-27 21:31:38 +02:00
Michael Schumacher 82dca2ecf4 Bug 574018 - Add a manifest to executables
Eventually all executables will have the manifest and version resources
linked. In this initial step, the current resources are moved from the
app/ directory to a global build/windows directory.
2010-08-26 22:10:07 +02:00
Alexia Death aee148a486 Merge branch 'master' into soc-2010-cage-2 2010-08-26 21:50:55 +03:00
Michael Muré 98b198785a gimpoperationcage: the gegl op now do a transformation, with cage vertices hardcoded 2010-08-08 13:21:41 +02:00
Mukund Sivaraman 25be82a04b Substitute target header filename like the rest of the code 2010-08-02 02:40:08 +05:30
Mukund Sivaraman 10d11abcd5 Fix typo 2010-08-02 02:29:34 +05:30
Nils Philippsen 222ffd2360 app: generate git-version.h regardless of branch
Previously, git-version.h always recorded the latest commit on the
master branch. This change should record the current commit (which is
what gets built) regardless of the branch.

I've checked that it does "the right thing" regarding multi-parent
merges by checking out such a merge commit, generating git-version.h and
comparing it to the commit sha1 in the log.
2010-07-09 16:43:56 +02:00
Martin Nordholts 01113ffeee app: Handle merge commits for git-version.h
Use

  git show-ref --hash refs/heads/master

instead of

  git log HEAD^..HEAD --pretty=format:%H

so we can handle multi-parent (merge) commits.
2010-07-06 16:02:53 +02:00
Michael Natterer b2b1cb135b app: move the instance debug facility to the new file app/gimp-debug.c
Build it unconditionally but enable it via GIMP_DEBUG=instances
2010-06-24 19:11:56 +02:00
Martin Nordholts ff1da59f33 Bug 574018 - Add a manifest to executables
Patch from Jernej Simončič.
2010-06-22 19:35:16 +02:00
Martin Nordholts 8b344fa6ad app: Test for existance of git-version.h.tmp before comparing
Test for existance of git-version.h.tmp before comparing. Otherwise
cmp will complain when building tarballs.
2010-06-21 21:19:15 +02:00
Martin Nordholts df731fecda Make 'make distcheck' pass
Add missing CLEANFILES, make distcheck passes now.
2010-06-20 20:30:24 +02:00
Martin Nordholts d1202096e6 app: Include git commit hash in verbose version output
Note:
* Passes make distcheck
* The git commit hash is shipped with tarballs
* Build handles if git-version.h is removed from a tarball
2010-06-19 23:55:35 +02:00
Martin Nordholts ed2d178da3 app: Get rid of config -> display module dependency
In order to make a clear separation between the core modules and the
UI modules, move the necessary enums from display-enums.h and
widgets-enums.h to config-enums.h and the files
gimpdisplayoptions.[ch] from the display to the config module. This
removes the config -> display dependency.

This change has three main benefits
 * It lets us remove includes of display files from the config module
 * We don't have to link gimp-console and test-config with a subset of
   object files from the display module
 * It is reflected in devel-docs/gimp-module-dependencies.svg that the
   application is made up of core modules and UI modules and that no
   core module depends on any UI module
2010-02-01 21:56:48 +01:00
Michael Schumacher e0ab94d8aa Fixed typo "depenendencies" 2009-10-14 21:42:14 +02:00
Michael Schumacher ac7eee3659 Bug 554748 - Version information for gimp.exe
Add a VERSIONINFO resource to gimp.rc.in, use windres to create object files
for gimp and gimp-console with file-specific information.
Finally, add gimp.rc to .gitignore.

This resource file can potentially be used for all other exectuables and
shared objects, but some adjustments can become necessary.
2009-10-14 21:30:59 +02:00
Michael Schumacher 53984a8486 Bug 554748 - Version information for gimp.exe : generate gimp.rc
In preparation for adding VERSIONINFO resource data to the gimp executable,
the RC file has to be generated from a corresponding gimp.rc.in file.
2009-10-13 00:18:52 +02:00
Michael Natterer 8734c71150 Build "tests" after "." 2009-09-15 21:05:08 +02:00
Martin Nordholts 3e6f6088ee app: Create libapp.a for convenient test case linking
Create libapp.a for convenient test case linking and link the existing
tests against that.
2009-09-07 23:05:11 +02:00
Michael Natterer c552d2f065 (SUBDIRS): gegl and text live on top of core, xcf on top of plug-ins 2009-09-07 11:06:12 +02:00
Martin Nordholts 6fd1e5d50b app: Compile vectors and paint after core
Compile vectors and paint after core since they need the
core-generated core/gimpmarshal.h
2009-09-05 19:11:39 +02:00
Martin Nordholts 071153124a app: Reverse order of SUBDIRS
The SUBDIRS var should be sorted on build-order, not link-order.
2009-09-05 16:08:23 +02:00
Martin Nordholts 14aa5314af app: Add GIMP core unit testing framework and a simple first test
Enable us to have regression testing by introducing a core testing
framework that uses the GLib JUnit-like test library.

Do this by adding a new subdir app/tests that will contain all our
tests (it contains one trivial test already). Also add app/tests.[ch]
with a new function gimp_init_for_testing() so that test cases can
easily setup the core object system.
2009-09-05 16:02:32 +02:00
Martin Nordholts 871e41c062 app: Clean up subsystem linking dependencies
Clean up subsystem linking dependencies by
* Rearranging LDADD entries to better match architectural layers
* Being clear about why we need to pass -u in LDFLAGS some times
* Adding FIXMEs when we have broken dependencies
* Introducing a helper variable so we can share LDADD between
  gimp-console and gimp
2009-09-05 14:33:48 +02:00
Michael Natterer 5a1cf727bf Bug 562427 – Compilation with --as-needed
2008-11-27  Michael Natterer  <mitch@gimp.org>

	Bug 562427 – Compilation with --as-needed

	* app/Makefile.am (gimp_console_2_7_LDADD): add $(GLIB_LIBS) so
	libgthread gets pulled in explicitely.


svn path=/trunk/; revision=27732
2008-11-27 19:21:03 +00:00
Sven Neumann 3c15e5ed19 removed checks for PangoFT2.
2008-10-31  Sven Neumann  <sven@gimp.org>

	* INSTALL: 
	* configure.in: removed checks for PangoFT2.

	* app/config/Makefile.am
	* app/text/Makefile.am
	* app/Makefile.am: removed use of PANGOFT2_CFLAGS and 
PANGOFT2_LIBS.


svn path=/trunk/; revision=27490
2008-10-31 07:53:40 +00:00
Michael Natterer ee414d9e6f Merge on-canvas GSoC project:
2008-10-26  Michael Natterer  <mitch@gimp.org>

	Merge on-canvas GSoC project:

	* configure.in: check for pangocairo.

	* app/Makefile.am
	* app/text/Makefile.am: add its CFLAGS and LIBS.

	* app/text/gimptext-bitmap.[ch]
	* app/text/gimptext-private.h
	* app/text/gimptext-vectors.[ch]
	* app/text/gimptextlayer.c
	* app/text/gimptextlayout-render.c
	* app/text/gimptextlayout.c: port to pangocairo.

	* menus/Makefile.am
	* menus/text-tool-menu.xml
	* app/menus/menus.c
	* app/actions/Makefile.am
	* app/actions/actions.c
	* app/actions/text-tool-actions.[ch]
	* app/actions/text-tool-commands.[ch]: add a context menu for the
	text tool similar to GtkEntry's context menu.

	* app/tools/gimprectangletool.[ch]: add "narrow-mode" property.

	* app/tools/gimptextoptions.[ch]
	* app/widgets/gimptexteditor.[ch]: take a text buffer for the
	standalone text editor window instead of creating one internally.

	* app/tools/gimptexttool.[ch]: all the new wonderful on-canvas
	text editing logic. Wheee!


svn path=/trunk/; revision=27419
2008-10-26 17:39:55 +00:00