mirror of https://github.com/GNOME/gimp.git
0457d6914a
* plug-ins/makefile.msc: New file. * plug-ins/*/*.c (Well, not really all files, but many): Portability fixes. Include config.h, and guard inclusion of POSIX and Unix headers like <unistd.h>, <dirent.h> and <sys/time.h>. Include <string.h> if functions from it are used. Use g_ntohl() and g_htonl() insteead of ntohl() and htonl(), thus no need to include <netinet/in.h>. Include <io.h> on Win32 when using open/read/write (which actually are defined as _open/_read/_write by glib.h). Define S_* macros if necessary on Win32. Define rint() and M_PI if necessary (these definitions should be factored out somewhere, no sense repeating them in lots of files). Open files in binary mode when needed. * plug-ins/FractalExplorer/FractalExplorer.c: Use g_malloc()/g_free(). Use g_strdup_printf(). * plug-ins/dbbrowser/dbbrowser.c: No need to include <X11/Xlib.h>. * plug-ins/destripe/destripe.c: Guard use of SIGBUS. * plug-ins/{flame/flame,hrz/hrz,pnm/pnm}.c: No need to check for NULL returns from g_malloc() and g_new() as they abort on failure. Use g_strdup_printf(). * plug-ins/gz/gz.c: Win32 version of running the subprocess. * plug-ins/hrz/hrz.c: Win32 version. Use more generic tests for non-Unix (OS/2 and Win32), for instance HAVE_MMAP. * plug-ins/script-fu/interp_slib.c: Win32 version of myruntime(). * plug-ins/script-fu/interp_sliba.c: Handle \\ (escaped backslahsh). * plug-ins/script-fu/script-fu-console.c: Bypass on Win32. * plug-ins/script-fu/script-fu-scripts.c: Portability fixes. Use g_strdup_printf() instead of separate malloc() and sprintf(). Use g_strescape() for strings being passed to Scheme. Some Win32-only stuff. |
||
---|---|---|
.. | ||
doc | ||
.cvsignore | ||
INSTALL | ||
Makefile.am | ||
README | ||
dbbrowser.c | ||
dbbrowser.h | ||
dbbrowser_utils.c | ||
dbbrowser_utils.h | ||
gimpprocbrowser.c | ||
gimpprocbrowser.h | ||
gimpprocview.c | ||
plugin-browser.c | ||
procedure-browser.c |
README
dbbrowser: a development tool for the GIMP version 0.08 - 26th sept 1997 Programming by Thomas Noel <thomas@minet.net> (mail to him only, please) Documentation and insane comments by Olivier Tharan <olive@minet.net> Wise Comments And Good Laughs (TM) by Olivier Fontenelle <fonto@minet.net> INSTALL, BUGS, TODO, CHANGELOG : see below The actual and original README (c) Olivier Tharan (he's a friend of mine, yep) Let me introduce myself... -------------------------- My name is dbbrowser, but I have been known in my youth as dblist, almost as of version 0.05! I am an extension for the Gimp and my purpose is to display a list of all the procedures that have registered themselves in the procedure database. The main thing I do is a gimp_query_procedure and a pair of gimp_query_database. What can this marvel do ? ------------------------- The dbbrowser window is divided into two parts. On the left, you have a scrolling list containing the names of all the procedures registered within Gimp. When you click on one of them, its name, description and author(s) are displayed on the right side, altogether with the types and parameters the procedure takes and what it returns. All this is rather brilliantly completed by two search buttons, one for a by-name search, the other one for a by-blurb search. Just enter any regexp you have in mind in the text widget beneath the list and click on the appropriate button; the results of the search are automagically displayed in the scrolling list. Even fancier: script-fu-console integration ------------------------------------------- dbbrowser comes handy with a patch for script-fu-console.c which adds a button named ``Browse'' to the right of the console text widget. Clicking on the button launches dbbrowser from which you still can choose any procedure. But in the dbbrowser window, a fourth button has appeared, appropriately named ``Apply'', for its goal is to take the selected procedure and its arguments, and insert them into the script-fu console command line. It would save developers a great deal of pain to debug their scripts (or even to develop some!) More information : http://www.minet.net/~thomas/dbbrowser/ ---------------- (the following had been written by me, so, it's not *really* in english :) INSTALL These files go to gimp-xx.xx.xx/plug-ins/dbbrowser. That does not erase the files "Makefile*", so the plug-in is easy to re-compile : just do a "make" in this directory. Then, "make install" (as root) to install the plug-in. If it breaks, wait for GIMP 1.0 :) (or mail to <thomas@minet.net>) BUGS/TODO - refresh problem for the scrolled list (as in gtkfileselection) - add the "help" field (I wait for a "usable" gtk_text) - arg... well... my english is too bad to explain my others ideas :) CHANGELOG 26 Sept : 0.08 * delete all "gtk_widget_hide/destroy" sequences. * change the internal list structure (use gtk_objet_get/set_user_data) * try to optimize the first drawing (is it a success ?) 25 June : 0.07 * first public release (0.07) -- Bon c'est pas tout ca les gars, mais j'ai mal a la tete, personne n'a une aspirine ? Non ? Bon.