- 20 Jul, 1999 1 commit
-
-
Michael Natterer authored
1999-07-20 Michael Natterer <mitschel@cs.tu-berlin.de> * app/ink.c (ink_options_new): Changed the default step-width of the "size"-slider to 2 instead of 5.
-
- 14 Jul, 1999 1 commit
-
-
Sven Neumann authored
--Sven
-
- 06 Jul, 1999 1 commit
-
-
Michael Natterer authored
1999-07-06 Michael Natterer <mitschel@cs.tu-berlin.de> * app/airbrush.c * app/blend.c * app/bucket_fill.c * app/clone.c * app/convolve.c * app/dodgeburn.c * app/eraser.c * app/ink.c * app/paintbrush.c * app/pencil.c * app/smudge.c: get opacity/paint mode from the current context (currently always the user context). * app/gimage_mask.c: the "stroke" command uses the paintbrush's settings if the current context is the user context and we are in per-tool paint options mode. * app/context_manager.[ch] * app/paint_options.h * app/preferences_dialog.c * app/tool_options.c * app/tools.c: moved the global/per-tool paint options switching to the context manager. The tool options themselves only contain the widgets for them now. This should fix the segfaults happening in per-tool mode. Removed the disclaimer from the prefs. dlg. as it seems to work now. The impl. in the context manager however is still a hack. * app/brush_select.c * app/brushes_cmds.c * tools/pdbgen/pdb/brushes.pdb: same as above. * app/lc_dialog.c: minimal code reduction. No functionality changed.
-
- 02 Jul, 1999 1 commit
-
-
Michael Natterer authored
1999-07-02 Michael Natterer <mitschel@cs.tu-berlin.de> * app/[all tools]: the Tool structure is now allocated by a common constructor which sets default values and provides default tool action functions. To get rid of much code duplication there should be a object hierarchy of tools. * app/context_manager.c * app/tools.[ch]: create and destroy private contexts for the paint tools on startup and exit. They are not used yet. * app/interface.c * app/menus.c * app/tools.h: num_tools is now exported in tools.h * app/commands.c * app/gdisplay.c * app/menus.c: made "Toggle Selection" a toggleable menu item.
-
- 26 Jun, 1999 1 commit
-
-
Michael Natterer authored
1999-06-26 Michael Natterer <mitschel@cs.tu-berlin.de> * app/[all tool related files] * app/commands.c * app/disp_callbacks.c * app/gdisplay.c * app/gimage.c * app/interface.c: hopefully fixed the bugs that appeared with my last fix. And some more changes... - Slightly changed the conditions which cause the tools to be re-initialized on button_press events and the global initialisation functions. - The dialog tools now explicitly set tool->gdisp_ptr so they can be properly hidden on display deletion. - Create the crop info dialog only once and avoid ugly redraw bugs by blocking the sizeentries' signal when initializing them. - Standardized the tools_new_<tool>() functions. They are scheduled to be moved to a common constructor in tools.c - Various stuff...
-
- 21 Jun, 1999 1 commit
-
-
Michael Natterer authored
1999-06-21 Michael Natterer <mitschel@cs.tu-berlin.de> * app/context_manager.c: namespace cleanups. * app/commands.[ch] * app/menus.c: moved the "Toggle Selection" menu entry to "View", sprinkled some separators and made the layers/channels/paths popup menus consistent with Tigert's last ops buttons change. * app/fileops.c * app/plug_in.c: check for gdisplay_active() returning NULL in some more places. * app/[all tool related files]: - Turned the ToolAction and ToolState #define's into typedef'ed enums, so the compiler can do some more sanity checking. - Removed one more unused global variable "active_tool_layer". - Removed some #include's from tools.c. - Standardized the individual tools' structure names. - Moved showing/hiding the tool options to separate functions. - Stuff... * app/commands.c * app/disp_callbacks.c * app/gdisplay.c * app/tools.c: fixed the segfaults which happened when the image of one of the tools which have dialogs (levels/posterize/...) was deleted. My approach was to do stricter sanity checking and to set some gdisplay pointers correctly where appropriate, so I can't tell exactly where the bug was. The curves tool now(??) updates on every _second_ display change only, which is really obscure. Finding/changing the display to operate on should definitely be done by connecting to the user context's "display_changed" signal. * app/gimpset.c: emit the "remove" signal _after_ removing the pointer from the set. If this was not a bug but a feature, please let me know, we'll need two signals then.
-
- 04 May, 1999 1 commit
-
-
Tor Lillqvist authored
* config.h.win32, README.win32: Small changes. * tools/pdbgen/pdb/*.pdb: Include <string.h>. * app/*_cmds.c: Autogenerated files reflect above changes. * libgimp/makefile.msc app/makefile.msc: Various updates, including new object files. Gtk+ directory now should be called gtk+ (not gtk-plus). Use win32-specific gdk subdir. Glib directory now should be called just glib. * libgimp/gimp.def: Updates. * libgimp/gimpfeatures.h.win32: Made current with gimpfeatures.h.in. * libgimp/gimpfileselection.c: Define S_ISDIR and S_ISREG if necessary. * tools/pdbgen/pdb/fileops.pdb: Must have a statement (even an empty one) after a label. * app/fileops_cmds.c: Autogenerated file reflects above changes. * app/crop.c: Include <string.h>. * app/{app_procs,batch,fileops,datafiles,errorconsole,general, plug_in,temp_buf,tile_swap}.c: Test NATIVE_WIN32, not _MSC_VER. (NATIVE_WIN32 means we are using the Microsoft C runtime, even if we might be compiling with gcc.) * app/fileops.c: Don't include <process.h> here. * app/fileops.h: Do include <process.h> here. * app/gimpparasite.c: Include config.h, guard inclusion of <unistd.h>. (Is the inclusion of unistd.h in source files all over the place really necessary?) * app/ink.c: MSC doesn't handle conversion from unsigned __int64 to double, so cast to signed. * app/lut_funcs.c: Include config.h, and define rint() if necessary. * app/pixel_processor.c: Include config.h without "..", like in all the other places. Include <string.h> * app/text_tool.c: Guard the "POINTS" identifier that clashes with <windows.h>, sigh.
-
- 30 Apr, 1999 1 commit
-
-
Manish Singh authored
* Makefile.am: listed tools first in SUBDIRS, so xgettext can grab the autogenned files * acconfig.h: removed unused HAVE_XSHM_H * tools/pdbgen/app.pl: added proc invoke method, nicer header formatting * tools/pdbgen/pdb/layer.pdb: use layer_mask type for return value for layer_create_mask * tools/pdbgen/pdb/misc.pdb: added quit proc * tools/pdbgen/pdb/tools.pdb: added ink proc, but not added to @procs since it's incomplete * tools/pdbgen/pdb/fileops.pdb: new file * app/Makefile.am: added fileops_cmds.c * app/app_procs.c * app/fileops.c * app/ink.c: removed PDB procs (the one in ink.c was incomplete) * app/fileops.h: exported load_procs, save_procs, and file_proc_find() * app/plug_in.h: exported enum, #include <sys/types.h> * app/brushes_cmds.c * app/fileops_cmds.c * app/layer_cmds.c * app/misc_cmds.c * app/parasite_cmds.c * app/patterns_cmds.c * app/procedural_db_cmds.c * app/text_tool_cmds.c * app/internal_procs.c: pdbgen updates * app/paint_funcs.c: the glibc 2.1 docs say using SVID threadsafe random functions are preferable to rand_r, so use them instead of a mutex -Yosh
-
- 27 Apr, 1999 2 commits
-
-
Sven Neumann authored
--Sven
-
Sven Neumann authored
I hope I haven't broken too much ;-) --Sven
-
- 22 Apr, 1999 1 commit
-
-
Michael Natterer authored
1999-04-22 Michael Natterer <mitschel@cs.tu-berlin.de> First version of per-tool paint options. No PDB interface yet. The tool options dialog got rather big when in per-tool mode, so it will probably have to become a notebook. It's not yet 100% consistent. If switched off, everything should behave exactly like before. * app/Makefile.am * app/paint_options.h: new file * app/tool_options.c: PaintOptions gui. Maintain a list of all paint tools' ToolOptions to enable switching between global and per-tool paint options. * app/brush_select.[ch]: changed packing boxes, tables, ... The paint options in the brush selection can be hidden now. Moved create_paint_mode_menu() to paint_options.h and tool_options.c and renamed it to paint_mode_menu_new(). * app/gimage_mask.c * app/gimpbrush.[ch] * app/gimpbrushlist.[ch] * app/paint_core.c: moved gimp_brush_[set|get]_spacing() from gimpbrushlist.[ch] to gimpbrush.[ch]. Moved gimp_brush_[get|set]_[opacity|paint_mode]() to paint_options.h and tool_options.c and renamed them to paint_options_*_*(). They are "global paint options" now. * app/airbrush.c * app/blend.c * app/bucket_fill.c * app/clone.c * app/convolve.c * app/eraser.c * app/ink.c * app/paintbrush.c * app/pencil.c: all paint tools' options are derived from "PaintOptions" now. Opacity and paint mode are obtained through macros which take into account the current paint options mode. * app/buildmenu.h: #include <gtk/gtk.h> * app/color_picker.c * app/text_tool.c: changed spacings. * app/gimprc.[ch]: new gimprc option "global-paint-options" * app/preferences_dialog.c: Added a "Tool Options" page. Code cleanup. Some work on the convenience constructors test site. * app/tools.c: fixed "unused variable" warning.
-
- 17 Apr, 1999 1 commit
-
-
Michael Natterer authored
1999-04-18 Michael Natterer <mitschel@cs.tu-berlin.de> * app/bucket_fill.c * app/clone.c * app/convolve.c * app/flip_tool.c * app/ink.c * app/paintbrush.c * app/transform_tool.c: remember all radio buttons in the ToolOptions structures. This enables arbitrary default values and gui feedback for the "toggle key" feature.
-
- 12 Apr, 1999 1 commit
-
-
Michael Natterer authored
1999-04-12 Michael Natterer <mitschel@cs.tu-berlin.de> * app/airbrush.c * app/bezier_select.c * app/blend.c * app/brightness_contrast.c * app/bucket_fill.c * app/by_color_select.c * app/clone.c * app/color_balance.c * app/color_picker.c * app/convolve.c * app/crop.c * app/curves.c * app/ellipse_select.c * app/eraser.c * app/flip_tool.c * app/free_select.c * app/fuzzy_select.c * app/histogram_tool.c * app/hue_saturation.c * app/ink.c * app/iscissors.c * app/levels.c * app/magnify.c * app/move.c * app/paintbrush.c * app/pencil.c * app/posterize.c * app/rect_select.[ch] * app/text_tool.c * app/threshold.c * app/transform_tool.c * app/tools.[ch] * app/toolsF.h: again: all tools :( * app/Makefile.am * app/tool_options.[ch] * app/selection_options.h * app/tool_options_ui.h: new files. Ok, this time it's general enough for future extensions: - The tool options structures are organized like the gtk object system to allow derived tool options. - Renamed all create and reset functions to *_options_new() and *_options_reset() to reflect this. - Changed tools_register() again. Now it takes just a pointer to a ToolOptions structure. - Moved almost the entire tool options gui code to tool_options.c. - Visually separated the common selection options from the tool-specific ones. I'd like to do the same with opacity/paint mode in all paint tool options but I think this needs some more discussion. * app/histogram_tool.c: changed packing boxes, label alignments. * app/paintbrush.c: some more sensitive settings. The gradient feature can now be toggled with a button. Hopefully didn't break anything.
-
- 10 Apr, 1999 1 commit
-
-
BST 1999 Adam D. Moss authored
Sat Apr 10 15:48:46 BST 1999 Adam D. Moss <adam@gimp.org> * app/ink.c: Velocity-sensitivity added to ink tool.
-
- 08 Apr, 1999 1 commit
-
-
Michael Natterer authored
1999-04-08 Michael Natterer <mitschel@cs.tu-berlin.de> * app/airbrush.c * app/bezier_select.c * app/blend.c * app/brightness_contrast.c * app/bucket_fill.c * app/by_color_select.c * app/clone.c * app/color_balance.c * app/color_picker.c * app/convolve.c * app/crop.[ch] * app/curves.c * app/ellipse_select.c * app/eraser.c * app/flip_tool.c * app/free_select.c * app/fuzzy_select.c * app/histogram_tool.c * app/hue_saturation.c * app/ink.c * app/iscissors.c * app/levels.c * app/magnify.c * app/move.c * app/paintbrush.c * app/pencil.c * app/posterize.c * app/rect_select.[ch] * app/text_tool.[ch] * app/threshold.c * app/transform_tool.c * app/tools.[ch] * app/toolsF.h: in other words: all tools Implemented the "reset tool options" feature. - All tools register with a title string and a reset function now. - The tool options' variables have two related <var>_d (default) and <var>_w (widget) variables to restore the default values. "Standardized" the tool options UI: - Put the stuff info a frame to give a hint that the dialog's contents will change. - table layout, sensitive setting, spacings, borders, ... As I had them all in my emacs simultaneously, I couldn't resist to standardize the tools' *.c files declaration parts ;) Ansi stuff.
-
- 07 Mar, 1999 1 commit
-
-
Tor Lillqvist authored
-
- 03 Feb, 1999 1 commit
-
-
Owen Taylor authored
1999-02-02 Owen Taylor <otaylor@gtk.org> * app/blob.[ch] app/ink.c: Let the user choose between elliptical, square, and diamond shaped brushes for the ink tool.
-
- 27 Nov, 1998 1 commit
-
-
Owen Taylor authored
Fri Nov 27 17:34:57 1998 Owen Taylor <otaylor@redhat.com> * app/ink.c: Use MAX when combining multiple blobs, instead of previous technique. This gives _much_ better results.
-
- 26 Nov, 1998 1 commit
-
-
Raph Levien authored
-
- 25 Nov, 1998 1 commit
-
-
Raph Levien authored
-
- 23 Nov, 1998 1 commit
-
-
Manish Singh authored
* applied gimp-stric-981116-1, lots o files changes in app. i18n patch. * plug-ins/gfig/gfig.c: applied gimp-tml-981121-0, use proper PDB params -Yosh
-
- 04 Oct, 1998 1 commit
-
-
BST 1998 Adam D. Moss authored
Sun Oct 4 21:07:07 BST 1998 Adam D. Moss <adam@gimp.org> * app/ink.c app/paint_core.c: The paint and ink tools are synchronous.
-
- 15 Sep, 1998 1 commit
-
-
BST 1998 Adam D. Moss authored
Tue Sep 15 21:27:10 BST 1998 Adam D. Moss <adam@gimp.org> * plug-ins/gif.c: The facility to specify the background colour of a transparent/animated GIF for non-transparent viewers now works very much more consistantly. The only situations in which it will fail to work as expected now are those where file size can be reduced (abeit not by much, as the plugin is sometimes more pessimistic than it need be) by re-using an existing unused colour index rather than using another bit per pixel in the encoded file. That will never be an issue with an image which was freshly converted from RGB to INDEXED with the Quantize option, as that option removes any unused colours from the image. Let me know if you find the consistancy/size tradeoff more annoying than helpful and I can adjust it. IMHO it is too arcane a feature to present to any user as a runtime option. * app/ink.c: #include <string.h> for a memset
-
- 16 Aug, 1998 2 commits
-
-
CDT 1998 Larry Ewing authored
Sun Aug 16 18:48:17 CDT 1998 Larry Ewing <lewing@gimp.org> * app/ink.c (ink_paste): Make sure we check that ink_set_paint_area found a valid canvas_buf.
-
scott authored
recompile! :)
-
- 15 Aug, 1998 2 commits
-
-
scott authored
bookkeeping without being used). Made copy_region more intelligent on when to use tile sharing; some changes made to pixel_regions to facilitate this. Fixed a refcount problem with xcf load and probably a few other bugs that I've forgotten about. Added a sanity check in set_undo_tiles to help with a problem larry is reporting with airbrush and xinput. --sg
-
Sven Neumann authored
for the transformations and crop. Changed "Clip perspective" to "Clip result" in the ransform tool options and made it available for all transformations. Minor cosmetic changes to rect_select and ink option dialogs. --Sven
-
- 11 Aug, 1998 1 commit
-
-
scott authored
-
- 18 Jul, 1998 1 commit
-
-
Adam D. Moss authored
* app/gimprc.c * app/gimprc.h * app/ink.c * app/paint_core.c * app/preferences_dialog.c: Now the perfect-mouse-tracking normally enabled by pressing MOD1 is a preferences option, and MOD1 inverts the affect. * app/ink.c: Mildly tweaked the default brush size/range for my own twisted sense of esthetics. Forgive me.
-
- 12 Jul, 1998 1 commit
-
-
Owen Taylor authored
Sat Jul 11 23:57:09 1998 Owen Taylor <otaylor@gtk.org> * app/ink.c (tools_free_ink): Free last_blob when destroying tool. * app/blob.c: Fix off-by-one error when searhing for gaps.
-
- 10 Jul, 1998 1 commit
-
-
scott authored
barely recognizable.
-
- 09 Jul, 1998 1 commit
-
-
jaycox authored
Modified Files: ChangeLog app/Makefile.am app/airbrush.c app/app_procs.c app/brush_select.c app/brush_select.h app/clone.c app/colormaps.c app/commands.c app/convolve.c app/devices.c app/eraser.c app/gimage_mask.c app/gimpobject.h app/ink.c app/internal_procs.c app/paint_core.c app/paint_core.h app/paintbrush.c app/pencil.c app/preferences_dialog.c Minor modifications to support new brush functionality Added Files: app/brush_edit.c app/brush_edit.h app/gimpbrush.c app/gimpbrush.h app/gimpbrushgenerated.c app/gimpbrushgenerated.h app/gimpbrushlist.c app/gimpbrushlist.h new files to support vector generated brushes and reorganization/objectification of the brush class Removed Files: app/brushes.c app/brushes.h Obsoleted by gimpbrush.? and gimpbrushlist.? ----------------------------------------------------------------------
-
- 08 Jul, 1998 1 commit
-
-
scott authored
* Makefile.am blend.c boundary.c by_color_select.c channel.c * color_picker.c drawable_cmds.c fuzzy_select.c gimpimage.c * image_render.c ink.c layer.c main.c paint_core.c paint_funcs.c * pixel_region.c plug_in.c tile.c tile.h tile_cache.c tile_manager.c * tile_swap.c transform_core.c undo.c xcf.c: split off tile_pvt.h from tile.h so changes in the tile implementation don't force a complete recompile. --sg
-
- 29 Jun, 1998 1 commit
-
-
Lauri Alanko authored
At quick glance, nothing seems to be broken, but if things weird out, blame me. Now just the same for layers, channels and displays...
-
- 19 Jun, 1998 1 commit
-
-
Owen Taylor authored
Thu Jun 18 23:11:36 1998 Owen Taylor <otaylor@gtk.org> * app/ink.c: Shift the range to smaller brushes. (1/8 - 25 pixel radius, instead of 1-100 pixels)
-
- 14 Jun, 1998 1 commit
-
-
Owen Taylor authored
Sun Jun 14 18:37:06 1998 Owen Taylor <otaylor@gtk.org> * Makefile.am app/blob.[ch] (blob_bounds): Added new files for handling scan-converted convex polygons. (From gsumi) (these will be moved out to a plug-in tool directory when such a thing exists) * app/ink.[ch]: New tool for drawing with a hard-edged pressure and tilt-sensitive brush. * gimprc.c interface.c paint_core.c pixmaps.h tools.[ch] All the modifications for adding a new tool. We need to fix this.
-