RSS/Atom feed Twitter
Site is read-only, email is disabled

sourceforge cvs issue

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

13 of 14 messages available
Toggle history

Please log in to manage your subscriptions.

20030127091943.L5901-100000... 07 Oct 20:21
  sourceforge cvs issue Sven Neumann 27 Jan 16:19
  sourceforge cvs issue Tor Lillqvist 27 Jan 19:54
   sourceforge cvs issue Branko Collin 27 Jan 20:32
    sourceforge cvs issue Tor Lillqvist 28 Jan 02:15
     sourceforge cvs issue Branko Collin 28 Jan 03:32
     sourceforge cvs issue Raphaël Quinet 28 Jan 11:02
      sourceforge cvs issue Tor Lillqvist 28 Jan 17:38
       sourceforge cvs issue Raphaël Quinet 28 Jan 18:34
        sourceforge cvs issue Sven Neumann 29 Jan 22:20
         sourceforge cvs issue Tor Lillqvist 29 Jan 22:46
          sourceforge cvs issue Tor Lillqvist 10 Feb 02:30
       sourceforge cvs issue Patrick McFarland 29 Jan 05:07
        sourceforge cvs issue Tor Lillqvist 01 Feb 22:32
Sven Neumann
2003-01-27 16:19:23 UTC (over 21 years ago)

sourceforge cvs issue

Hi,

Mat Caughron writes:

The goal in putting the windows gimp source into cvs on sourceforge was NOT to fork the project but to make it more available. It seems the only way to see the current windows-gimp 1.2.4 source is to download the zip file from:
www.gimp.org/win32/downloads-20030104.html Even if you want to look up a particular file, you have to download and unzip the whole thing.

I think that having a web-viewable CVS repository of this source would be helpful for various reasons.

cvs.gnome.org is completely web-viewable:

cross-referenced source tree of the current development branch:
http://cvs.gnome.org/lxr/source/gimp

bonsai view (a powerful cvs query tool) of the current development branch:

http://cvs.gnome.org/bonsai/rview.cgi?rev=&dir=gimp&module=default&cvsroot=%2Fcvs%2Fgnome

bonsai view of the gimp-1-2 branch:

http://cvs.gnome.org/bonsai/rview.cgi?rev=gimp-1-2&dir=gimp&module=default&cvsroot=%2Fcvs%2Fgnome

I think this should be sufficient. If you disagree we should try to enhance cvs.gnome.org. Using a separate cvs tree is a very bad idea IMO.

Salut, Sven

Tor Lillqvist
2003-01-27 19:54:48 UTC (over 21 years ago)

sourceforge cvs issue

Mat Caughron writes:
> NOT to fork the project but to make it more available. It seems the only > way to see the current windows-gimp 1.2.4 source is to download the zip > file from: www.gimp.org/win32/downloads-20030104.html > Even if you want to look up a particular file, you have to download and > unzip the whole thing.

I probably should put up a diffs file in addition to my source snapshot. (Earlier I did, but then I got complaints that just providing diffs isn't GPL compliant...) They aren't that many diffs, and much of the difference is not really relevant unless you want exactly the same random number generator behaviour as in my prebuilt binaries, for instance. Or exactly the same (incomplete) handling of non-ASCII file names. Much of the non-committed changes is ugly hacks.

--tml

Branko Collin
2003-01-27 20:32:04 UTC (over 21 years ago)

sourceforge cvs issue

On 27 Jan 2003, at 18:54, Tor Lillqvist wrote:

Mat Caughron writes:

NOT to fork the project but to make it more available. It seems

the only > way to see the current windows-gimp 1.2.4 source is to download the zip > file from:
www.gimp.org/win32/downloads-20030104.html > Even if you want to look up a particular file, you have to download and > unzip the whole thing.

I probably should put up a diffs file in addition to my source snapshot. (Earlier I did, but then I got complaints that just providing diffs isn't GPL compliant...) They aren't that many diffs, and much of the difference is not really relevant unless you want exactly the same random number generator behaviour as in my prebuilt binaries, for instance. Or exactly the same (incomplete) handling of non-ASCII file names. Much of the non-committed changes is ugly hacks.

Is not all your code in the GIMP CVS repository? If so, why not? As Sven pointed it, it is fairly easy to surf through CVS using its web interface.

Tor Lillqvist
2003-01-28 02:15:07 UTC (over 21 years ago)

sourceforge cvs issue

Branko Collin writes:
> Is not all your code in the GIMP CVS repository? If so, why not?

I have told this several times, most recently earlier today:

I have local changes I haven't committed to the (real) GIMP CVS, true. [...] As soon as 1.2.4 has been officially released I'll try to see how many of my local changes I can integrate cleanly into the official sources and commit to CVS, but I don't want to do that until after 1.2.4 has been released. I'm afraid of breaking stuff and delaying the release even further.

My non-committed changes fall into these categories:

- Minor Makefile.am hacks

- Random number generator changes in the plug-ins, to fix #67386.

- System charset to/from UTF-8 conversions as GTK+ 1.3.0 on Windows uses UTF-8, to make non-ASCII file and directory names cause less pain.

- Enable plug-in init functions.

--tml

Branko Collin
2003-01-28 03:32:23 UTC (over 21 years ago)

sourceforge cvs issue

On 28 Jan 2003, at 1:15, Tor Lillqvist wrote:

Branko Collin writes:

Is not all your code in the GIMP CVS repository? If so, why not?

I have told this several times, most recently earlier today:

I have local changes I haven't committed to the (real) GIMP CVS, true. [...] As soon as 1.2.4 has been officially released I'll try to see how many of my local changes I can integrate cleanly into the official sources and commit to CVS, but I don't want to do that until after 1.2.4 has been released. I'm afraid of breaking stuff and delaying the release even further.

My non-committed changes fall into these categories:

- Minor Makefile.am hacks

- Random number generator changes in the plug-ins, to fix #67386.

- System charset to/from UTF-8 conversions as GTK+ 1.3.0 on Windows uses UTF-8, to make non-ASCII file and directory names cause less pain.

- Enable plug-in init functions.

Yes, I read that, but I took those to be minor changes, that you had yet to commit.

Raphaël Quinet
2003-01-28 11:02:42 UTC (about 21 years ago)

sourceforge cvs issue

On Tue, 28 Jan 2003 01:15:07 +0000, Tor Lillqvist wrote:

Branko Collin writes:
> Is not all your code in the GIMP CVS repository? If so, why not?

I have told this several times, most recently earlier today:

I have local changes I haven't committed to the (real) GIMP CVS, true. [...] As soon as 1.2.4 has been officially released I'll try to see how many of my local changes I can integrate cleanly into the official sources and commit to CVS, but I don't want to do that until after 1.2.4 has been released. I'm afraid of breaking stuff and delaying the release even further.

From my point of view, I think that it would be better to integrate

these changes before the 1.2.4 release. This would allow the 1.2.4 release to be the same on all platforms. Otherwise, we would have to have a new release for all platforms (1.2.5) once your changes are merged into the common codebase. I would prefer to avoid that, so that 1.2.4 can be the last stable release on the 1.2.x branch (famous last words - of course there will still be some bugs). It would be nice if everybody could focus on the 1.3.x development once 1.2.4 is relased. Disclaimer: this is only my personal opinion.

-Raphaël

Tor Lillqvist
2003-01-28 17:38:28 UTC (about 21 years ago)

sourceforge cvs issue

Raphaël Quinet writes:
> From my point of view, I think that it would be better to integrate > these changes before the 1.2.4 release.

It's just that maybe half of the changes are really quite ugly hacks to get non-ASCII file and directory names working somewhat better on Windows, where GTK+ 1.3.0 uses UTF-8. Example:

status != PDB_CANCEL) {
+#ifdef GDK_USE_UTF8_MBS
+ gchar *utf8_filename = g_filename_to_utf8 (filename, -1, NULL, NULL, NULL); + g_message (_("Save failed.\n%s"), utf8_filename); + g_free (utf8_filename);
+#else
g_message (_("Save failed.\n%s"), filename); +#endif
}

The random number generator changes aren't that ugly, but still, might conceivably be considered API changes as they might well cause for instance a plug-in to use rand48() instead of a previously hardcoded rand() on some Unix variant. (The plug-ins in my version all use RAND_FUNC, SRAND_FUNC and G_MAXRAND, while previously some hardcoded rand() and whatnot.) This will cause different results from some identical script-fu script invokation. Example:

-#define RANDOM ((gdouble) ((gdouble) rand ()/((gdouble) G_MAXRAND))) +#define RANDOM ((gdouble) ((gdouble) RAND_FUNC ()/((gdouble) G_MAXRAND)))

- srand (VALS.seed); + SRAND_FUNC (VALS.seed);

I don't know. I agree that it would be nice to have a common 1.2.4 release, but OTOH, the UTF-8 conversion stuff is really just hacks to cope with my (in hindsight) misguided decision to use UTF-8 already in GTK+ 1.3.0 on Windows.

> It would be nice if everybody could focus on the 1.3.x development > once 1.2.4 is relased.

Agree. My personal opinion is not to merge those changes in and get on with getting 1.2.4 released. The changes don't affect core GIMP functionality anyway, so we can IMHO still say that GIMP 1.2.4 uses the same codebase on Unix and Windows. If the changes aren't merged in, and somebody builds GIMP on Windows from official sources, they will notice difference in behaviour compared to "my" build only in the handling of non-ASCII filenames, and in some random number generator dependent plug-ins.

A fresh "cvs diff -u2" of my GIMP directory is at www.iki.fi/tml/gimp.my-diffs

--tml

Raphaël Quinet
2003-01-28 18:34:53 UTC (about 21 years ago)

sourceforge cvs issue

On Tue, 28 Jan 2003 16:38:28 +0000, Tor Lillqvist wrote:

Raphaël Quinet writes:
> From my point of view, I think that it would be better to integrate > these changes before the 1.2.4 release.

It's just that maybe half of the changes are really quite ugly hacks to get non-ASCII file and directory names working somewhat better on Windows, where GTK+ 1.3.0 uses UTF-8. Example: [...]

Hmmm... Sure, this is not very clean. On the other hand, there are a couple of quick workarounds that have been introduced in the 1.2.x branch while the proper solutions have only been implemented in the 1.3.x branch. IIRC, there is at least one piece of code in the 1.2.x branch that contains a comment stating that the following code is a temporary hack that is fixed in the 1.3.x branch only.

So I think that some #ifdef's are acceptable in the maintenance branch because this is only a temporary solution for a problem that has been solved differently in the main branch. But I would like to hear the opinions of Yosh, Sven or Mitch about this.

The random number generator changes aren't that ugly, but still, might conceivably be considered API changes as they might well cause for instance a plug-in to use rand48() instead of a previously hardcoded rand() on some Unix variant. (The plug-ins in my version all use RAND_FUNC, SRAND_FUNC and G_MAXRAND, while previously some hardcoded rand() and whatnot.) This will cause different results from some identical script-fu script invokation. [...]

I could also take the opposite point of view and say that the current GIMP is broken because invoking the same script on different platforms gives different results, even if the script is started with the same random seed. If I publish a tutorial explaining how to get a nice effect by using some plug-ins, then some users will get a different result from what was intented. And these differences occur not only between the Windows version and some UNIX versions, but also between several UNIX variants.

I know that this issue has been discussed in bug #67386 and Sven's opinion was that we should not get different results in the stable branch (different from one version to the next). But we already get different results if we use the GIMP on different platforms...

Anyway, there are pros and cons for applying or not applying the changes to the random number generator. Regarding the UTF-8 hacks, I think that it would be nice to have them in the common codebase. But again, I would like to hear the opinions of other developers first.

-Raphaël

Patrick McFarland
2003-01-29 05:07:16 UTC (about 21 years ago)

sourceforge cvs issue

Tor, sf.net wont remove the wingimp project until you, or any other qualified gimp developer tells them to. The project is already breaking atleast one rule, the one about only developers for a project can start a sf.net project about the said project. Please take care of this before it gets out of hand.

Go here and fill a support request: https://sourceforge.net/tracker/?func=add&group_id=1&atid=200001

Sven Neumann
2003-01-29 22:20:31 UTC (about 21 years ago)

sourceforge cvs issue

Hi,

Raphaël Quinet writes:

Hmmm... Sure, this is not very clean. On the other hand, there are a couple of quick workarounds that have been introduced in the 1.2.x branch while the proper solutions have only been implemented in the 1.3.x branch. IIRC, there is at least one piece of code in the 1.2.x branch that contains a comment stating that the following code is a temporary hack that is fixed in the 1.3.x branch only.

So I think that some #ifdef's are acceptable in the maintenance branch because this is only a temporary solution for a problem that has been solved differently in the main branch. But I would like to hear the opinions of Yosh, Sven or Mitch about this.

I agree. As long as it is obvious that the change doesn't affect other code it's perfectly OK to add some platform-specific hacks in the stable branch. IMO Tor should commit his filename-conversion hacks.

GIMP is broken because invoking the same script on different platforms gives different results, even if the script is started with the same random seed. If I publish a tutorial explaining how to get a nice effect by using some plug-ins, then some users will get a different result from what was intented. And these differences occur not only between the Windows version and some UNIX versions, but also between several UNIX variants.

I know that this issue has been discussed in bug #67386 and Sven's opinion was that we should not get different results in the stable branch (different from one version to the next). But we already get different results if we use the GIMP on different platforms...

Although I agree that the current handling of random numbers is considerably broken (that's why we fixed it in the stable branch), I don't think it warrants a change in the behaviour for those platforms that used to work. People will not like if scripts stop working because of a GIMP upgrade in the stable branch.

It should be possible to get the changes needed on Win32 into the code to the 1.2 code by adding some more ifdefs. At least I hope so since I'd like to have all of Tors changes in CVS.

Salut, Sven

Tor Lillqvist
2003-01-29 22:46:54 UTC (about 21 years ago)

sourceforge cvs issue

Sven Neumann writes:
> IMO Tor should commit his filename-conversion hacks.

OK.

> It should be possible to get the changes needed on Win32 into the code > to the 1.2 code by adding some more ifdefs. At least I hope so since > I'd like to have all of Tor's changes in CVS.

OK, I'll merge them in then, with ifdefs as appropriate not to affect behaviour on Unix. I'll probably have time to do it next weekend. Or should I wait until 1.2.4 has been released?

--tml

Tor Lillqvist
2003-02-01 22:32:17 UTC (about 21 years ago)

sourceforge cvs issue

Patrick McFarland writes:
> Go here and fill a support request: https://sourceforge.net/tracker/?func=add&group_id=1&atid=200001

OK, I did that.

--tml

Tor Lillqvist
2003-02-10 02:30:12 UTC (about 21 years ago)

sourceforge cvs issue

Sven Neumann writes:
> IMO Tor should commit his filename-conversion hacks.

I wrote: > OK, I'll merge them in then, with ifdefs as appropriate not to affect > behaviour on Unix. I'll probably have time to do it next weekend.

It took some time before I could do it, but now I have merged in those hacks. I also merged in the #67386 fixes for Win32. For both sets of changes, the code for non-Windows should be unchanged.

I still have uncommitted the plug-in initialisation code from #66859. Will merge that in a couple of days.

--tml