1. 11 Jul, 2018 1 commit
  2. 18 Mar, 2011 2 commits
  3. 25 Feb, 2010 1 commit
  4. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      	* all files with a GPL header and all COPYING files:
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      svn path=/trunk/; revision=27913
  5. 26 Oct, 2008 1 commit
    • Michael Natterer's avatar
      Merge on-canvas GSoC project: · ee414d9e
      Michael Natterer authored
      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
  6. 09 Dec, 2006 1 commit
  7. 28 Aug, 2006 1 commit
  8. 11 Jun, 2005 1 commit
    • Michael Natterer's avatar
      Allow to use the selected font in the text editor (bug #170299): · 699ad10f
      Michael Natterer authored
      2005-06-11  Michael Natterer  <mitch@gimp.org>
      	Allow to use the selected font in the text editor (bug #170299):
      	* app/widgets/gimptexteditor.[ch]: added a "Use selected font"
      	toggle and an API to set/get the selected font name.
      	* app/tools/gimptextoptions.c: update the editor's font when the
      	text option's font changes. Renamed text editor callbacks to
  9. 04 Nov, 2004 1 commit
    • Michael Natterer's avatar
      Don't use deprecated GtkToolbar API in GimpTextEditor: · 5d7b121f
      Michael Natterer authored
      2004-11-04  Michael Natterer  <mitch@gimp.org>
      	Don't use deprecated GtkToolbar API in GimpTextEditor:
      	* app/actions/Makefile.am
      	* app/actions/actions.c
      	* app/actions/text-editor-actions.[ch]
      	* app/actions/text-editor-commands.[ch]: added acions and
      	callbacks for the new "text-editor" action group.
      	* app/menus/menus.c: register a "<TextEditor>" UI manager.
      	* menus/Makefile.am
      	* menus/text-editor-toolbar.xml: new file for the toolbar.
      	* app/widgets/gimptexteditor.[ch]: use the toolbar created by the
      	UI manager instead of constructing it using deprecated API.
      	* app/tools/gimptextoptions.c: changed accordingly.
      	* app/widgets/gimpwidgets-utils.[ch]: added gimp_text_buffer_load()
      	(used by text-editor-commands.c).
  10. 11 Mar, 2004 1 commit
    • Sven Neumann's avatar
      made gimp_config_sync() and gimp_config_connect() also work on objects of · 21f26743
      Sven Neumann authored
      2004-03-11  Sven Neumann  <sven@gimp.org>
      	* app/config/gimpconfig-utils.c: made gimp_config_sync() and
      	gimp_config_connect() also work on objects of different types.
      	Properties with the same name and the same type are synced /
      	* app/core/gimpcontext.[ch]: added convenience functions to get/set
      	the font by name.
      	* app/tools/gimptextoptions.[ch]: don't hold a GimpText object
      	that duplicates properties like font and color which are in
      	GimpContext already. Instead added all text properties that are
      	controlled from the text tool options.  Handling of the foreground
      	color is somewhat broken and needs a GimpContext wizard (Mitch!).
      	* app/text/gimptext.c: blurbs are not any longer needed now that
      	the property widgets are created from the GimpTextOptions.
      	* app/tools/gimptexttool.c: changed accordingly.
      	* app/widgets/gimptexteditor.[ch]: use an internal GtkTextBuffer
      	and emit "text-changed" when it changes.
  11. 26 Feb, 2004 1 commit
    • Michael Natterer's avatar
      added missing cast. · 55686445
      Michael Natterer authored
      2004-02-26  Michael Natterer  <mitch@gimp.org>
      	* app/file/file-open.c (file_open_image): added missing cast.
      	* app/widgets/gimperrorconsole.[ch]
      	* app/widgets/gimptexteditor.[ch]: renamed members so my file
      	chooser patch becomes smaller ;)
  12. 31 Mar, 2003 1 commit
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am · a93e91f3
      Sven Neumann authored
      2003-03-31  Sven Neumann  <sven@gimp.org>
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-text-dir-ltr-24.png
      	* themes/Default/images/stock-text-dir-rtl-24.png: placeholders
      	for new icons.
      	* libgimpwidgets/gimpstock.[ch]: register the new icons.
      	* themes/Default/gtkrc: tweak GtkDialog in "gimp-default-style".
      	* app/text/text-enums.[ch]
      	* app/text/gimptext.[ch]
      	* app/text/gimptextlayout.c: added new enum GimpTextDirection and
      	use it instead of PangoDirection.
      	* app/widgets/widgets-types.h
      	* app/widgets/gimptexteditor.[ch]: made GimpTextEditor a real widget
      	and added buttons to switch the text direction.
      	* app/tools/gimptextoptions.[ch]
      	* app/tools/gimptexttool.c: moved creation of the text editor to the
      	text tool options, take care of GimpText::base-direction here.
  13. 20 Feb, 2003 1 commit
    • Sven Neumann's avatar
      trim the string only if necessary. · df09eb68
      Sven Neumann authored
      2003-02-20  Sven Neumann  <sven@gimp.org>
      	* libgimpbase/gimputils.c (gimp_utf8_strtrim): trim the string
      	only if necessary.
      	* app/text/gimptext.c: changed the default text to NULL.
      	* app/widgets/gimptexteditor.[ch]: replaced Cancel and OK buttons
      	with a single Close button and removed the callback.
      	* app/widgets/gimppropwidgets.c: gtk_text_buffer_set_text()
      	doesn't like NULL pointers, pass it an empty string instead.
      	* app/tools/gimptexttool.c: create a new text layer as soon as the
      	user starts editing.
  14. 01 Feb, 2003 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig.[ch] added a reset method to GimpConfigInterface. · 47f2a7f8
      Sven Neumann authored
      2003-02-01  Sven Neumann  <sven@gimp.org>
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfig-utils.[ch]: added a reset method to
      	GimpConfigInterface. Added the new function gimp_config_reset()
      	* app/text/gimptext.c: added a GimpConfigInterface to GimpText.
      	* app/widgets/Makefile.am
      	* app/widgets/gimptexteditor.[ch]: new files that hold the simple
      	text editor dialog used by the text tool.
      	* app/widgets/gimppropwidgets.[ch]: added new widget constructor
      	* app/tools/gimptexttool.[ch]: replaced old-style ToolOptions with
      	a GimpText object. Connect text layers to the text tool by means
      	of their GimpText objects. Still work in progress ...
  15. 31 Jan, 2003 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig-params.h · 27698a2b
      Sven Neumann authored
      2003-01-31  Sven Neumann  <sven@gimp.org>
      	* app/config/gimpconfig-params.h
      	* app/config/gimpcoreconfig.c: added a pixels parameter to the
      	* app/core/Makefile.am
      	* app/core/gimpimage-text.[ch]: removed these two files.
      	* app/text/Makefile.am
      	* app/text/gimptext-compat.[ch]: new files with compatibility
      	routines that provide the old text API (solely for PDB calls).
      	* app/text/gimptext-render.[ch]: new files with text rendering
      	routines (not much yet).
      	* app/text/text-types.h
      	* app/text/gimptextlayer.[ch]: new object derived from GimpLayer.
      	* app/text/gimptext.[ch]: prepared for future improvements.
      	* app/pdb/text_tool_cmds.c
      	* app/tools/gimptexttool.c
      	* tools/pdbgen/pdb/text_tool.pdb: changed accordingly.
  16. 29 Jan, 2003 1 commit
    • Sven Neumann's avatar
      configure.in app/Makefile.am added new directory text. · 60273b5b
      Sven Neumann authored
      2003-01-29  Sven Neumann  <sven@gimp.org>
      	* configure.in
      	* app/Makefile.am
      	* app/text/Makefile.am: added new directory text.
      	* app/text/text-types.h
      	* app/text/gimptext.[ch]: moved GimpText object here.
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpimage-text.c
      	* app/tools/gimptexttool.c: changed accordingly.
  17. 18 Apr, 2001 1 commit
    • Michael Natterer's avatar
      app/devices.[ch] app/gui/about-dialog.[ch] app/gui/preferences-dialog.[ch] · 91471766
      Michael Natterer authored
      2001-04-18  Michael Natterer  <mitch@gimp.org>
      	* app/devices.[ch]
      	* app/gui/about-dialog.[ch]
      	* app/gui/preferences-dialog.[ch]
      	* app/gui/tips-dialog.[ch]: return a GtkWidget from the constructor.
      	* app/gui/dialogs.c
      	* app/gui/dialogs-constructors.[ch]: register them with the dialog
      	* app/gui/commands.[ch]
      	* app/gui/menus.c: removed their old callbacks.
      	* app/gui/brush-select.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-editor.[ch]: no need to show or raise the shell
      	(that's done by the dialog factory now).
      	* app/widgets/gimpdialogfactory.c: actually do what the
      	"singleton" and "session_managed" flags say.
  18. 29 Dec, 2000 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h · 8d6c335f
      Michael Natterer authored
      2000-12-29  Michael Natterer  <mitch@gimp.org>
      	* app/Makefile.am
      	* app/channel_pvt.h
      	* app/drawable_pvt.h
      	* app/gdisplayF.h
      	* app/gimpdrawableP.h
      	* app/gimpimageP.h
      	* app/layer_pvt.h
      	* app/toolsF.h: removed these files.
      	* app/apptypes.h
      	* tools/pdbgen/enums.pl: added tons of opaque typedefs and enums.
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/tools.pdb
      	* app/*: chainsaw #include cleanup:
      	- Never (never!!) include stuff in header files except where we
      	  need access to structures' contents (like derived objects).
      	- Added prototypes and proper formating in many files.
      	- The #include order in *all* *.c files is as follows:
      	#include "config.h"
      	#include <system stuff>
      	#include <gtk/gtk.h>
      	#include "apptypes.h"
      	#include "gimp stuff"
      	#include "libgimp stuff"
      	#include "libgimp/gimpintl.h"
      	By following this scheme we can easily see a file's dependencies
      	from it's #include's and can grep for the inclusion to find out
      	where a file is used.
      	* tools/pdbgen/app.pl: changed to follow the include scheme above.
      	* libgimp/Makefile.am
      	* libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h
      	and from app/apptypes.h.
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimpprotocol.c
      	* libgimp/gimpquerybox.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimptypes.h
      	* libgimp/gimpui.h
      	* libgimp/gimpunit.h
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: changed accordingly.
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gdyntext/message_window.c
      	* plug-ins/imagemap/imap_default_dialog.c
      	* plug-ins/imagemap/imap_file.c: these files used to include
      	"libgimp/gimpui.h" without including "libgimp/gimp.h". This is
      	no longer possible because the libgimpui headers don't inlcude
      	"libgimp/gimpunit.h" any more.
  19. 27 Jun, 2000 1 commit
    • Sven Neumann's avatar
      we used an array with a hardcoded size here which was too small to hold · c271b413
      Sven Neumann authored
      2000-06-27  Sven Neumann  <sven@gimp.org>
      	* app/about_dialog.c: we used an array with a hardcoded size here
      	which was too small to hold all the authors recently added. Made
      	it a dynamic one. This fixes the "Can't quit The GIMP" bug #15483.
      	* app/about_dialog.h
      	* app/commands.c: removed the timeout parameter from
      	about_dialog_create() since it wasn't used at all.
  20. 22 Jul, 1999 1 commit
    • Michael Natterer's avatar
      new ui for the "Layer Offset" dialog. · a4c1e8a5
      Michael Natterer authored
      1999-07-22  Michael Natterer  <mitschel@cs.tu-berlin.de>
      	* app/channel_ops.[ch]: new ui for the "Layer Offset" dialog.
      	* app/channels_dialog.c
      	* app/layers_dialog.c: major code cleanup: Folded some callbacks
      	into common ones, "widget" instead of "w", indentation, ...
      	* app/commands.c
      	* app/interface.[ch]
      	* app/global_edit.c: the query boxes must be shown by the caller
      	now. There's no need to split up the string for the message box
      	manually as the Gtk 1.2 label widget handles newlines corectly.
      	Added the "edge_lock" toggle to the "Shrink Selection" dialog.
      	Nicer spacings for the query and message boxes.
      	* app/ink.c: tried to grab the pointer in the blob preview but
      	failed. Left the code there as a reminder (commented out).
      	* app/menus.c: reordered <Image>/Select.
      	I was bored and grep-ed the sources for ancient or deprecated stuff:
      	* app/about_dialog.[ch]
      	* app/actionarea.[ch]
      	* app/app_procs.c
      	* app/brush_edit.c
      	* app/brush_select.c
      	* app/color_select.c
      	* app/convert.c
      	* app/devices.c
      	* app/gdisplay.c
      	* app/gdisplay_ops.c
      	* app/histogram_tool.[ch]
      	* app/info_window.c
      	* app/install.c
      	* app/ops_buttons.c
      	* app/palette.c
      	* app/palette_select.c
      	* app/paths_dialog.c
      	* app/pattern_select.c
      	* app/resize.c
      	* app/scale_toolc.c
      	* app/text_tool.c:
      	s/sprintf/g_snprintf/g, replaced some constant string lengths with
      	* app/bezier_select.c
      	* app/blend.c
      	* app/boundary.c
      	* app/errors.[ch]
      	* app/free_select.c
      	* app/gimpbrushlist.c
      	* app/gimprc.c
      	* app/iscissors.c
      	* app/main.c
      	* app/patterns.[ch]
      	* app/text_tool.c: namespace fanaticism: prefixed all gimp error
      	functions with "gimp_" and formated the messages more uniformly.
      	* app/gradient.c
      	* app/gradient_select.c: same stuff as above for the ui
      	code. There are still some sub-dialogs which need cleanup.
      	Did some cleanup in most of these files: prototypes, removed tons
      	of #include's, i18n fixes, s/w/widget/ as above, indentation, ...
  21. 24 Nov, 1997 1 commit