After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 437584 - Compilation warning in evolution's plugins folder
Compilation warning in evolution's plugins folder
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
2.12.x
Other All
: Normal trivial
: ---
Assigned To: Gilles Dartiguelongue
Evolution QA team
Depends on:
Blocks: 437579
 
 
Reported: 2007-05-10 23:36 UTC by Gilles Dartiguelongue
Modified: 2013-09-13 00:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
plugins-compilation-warning.patch (18.25 KB, patch)
2007-05-10 23:59 UTC, Gilles Dartiguelongue
reviewed Details | Review
plugins-compilation-warning.patch (18.15 KB, patch)
2007-05-11 08:57 UTC, Gilles Dartiguelongue
committed Details | Review
calendar-weather-warnings.patch (4.15 KB, patch)
2007-05-12 09:30 UTC, Gilles Dartiguelongue
committed Details | Review
plugins-itip-formatter-warning.patch (592 bytes, patch)
2007-05-17 13:02 UTC, Gilles Dartiguelongue
committed Details | Review
experimental-plugins.patch (20.58 KB, patch)
2007-06-07 22:04 UTC, Gilles Dartiguelongue
committed Details | Review

Description Gilles Dartiguelongue 2007-05-10 23:36:00 UTC
Please describe the problem:
to follow, a patch to fix some compilations warnings (not all) in evolution/plugins

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Gilles Dartiguelongue 2007-05-10 23:59:48 UTC
Created attachment 87986 [details] [review]
plugins-compilation-warning.patch

Here is the patch (with ChangeLog).

Note that it doesn't fix all warnings but it fixes a good number of the most verbose warning messages which helps in finding really annoying warnings.
Comment 2 Sankar P 2007-05-11 06:03:00 UTC
exchange-operations/exchange-folder.c code-change needs rework. 

Use "folder-no-gc-error" and "no-user-error" error messages that are defined in the errors.xml

Rest of the changes looks good. Commit to both TRUNK and stable branch.
Comment 3 Gilles Dartiguelongue 2007-05-11 08:57:40 UTC
Created attachment 87998 [details] [review]
plugins-compilation-warning.patch

ok, should be fixed wrt comment #2
Comment 4 Sankar P 2007-05-12 05:51:43 UTC
Seems like you hand-edited the patch. It was not applying. In future. check if your patches are applying properly :)

Modified the patch and committed in trunk and branch
Comment 5 Gilles Dartiguelongue 2007-05-12 09:30:30 UTC
Created attachment 88060 [details] [review]
calendar-weather-warnings.patch

this patch fixes warnings from calendar-weather that were left behind.

I now have setup a stable branch to work on so it'll be easier/faster for me to provide patch against stable. Thanks for your time.

Also I've found that some fixes that are in svn head are not in stable resulting in a big difference of volume of compilation warnings. Should I produce patches for stable branche specifically as well or just backporting those from head will do ?
Comment 6 Gilles Dartiguelongue 2007-05-12 09:31:06 UTC
reopening since there is one patch left.
Comment 7 Sankar P 2007-05-14 05:32:54 UTC
(In reply to comment #5)
> Created an attachment (id=88060) [edit]
> calendar-weather-warnings.patch
> 
> this patch fixes warnings from calendar-weather that were left behind.

Patch committed.


> 
> I now have setup a stable branch to work on so it'll be easier/faster for me to
> provide patch against stable. Thanks for your time.
> 
> Also I've found that some fixes that are in svn head are not in stable
> resulting in a big difference of volume of compilation warnings. Should I
> produce patches for stable branche specifically as well or just backporting
> those from head will do ?


Attach the patches in bugzilla, so that the maintainers will review/commit them. Do you see any such discrepancy in plugins ?
Comment 8 Gilles Dartiguelongue 2007-05-14 22:38:47 UTC
(In reply to comment #7)
> Patch committed.
thanks

> Attach the patches in bugzilla, so that the maintainers will review/commit
> them. Do you see any such discrepancy in plugins ?

yes, actually this is where I found out. Example are bbdb and exchange plugin. Don't know how much it has changed and if it should be backported to stable anyway. Should we close this bug and discuss further on the mailing list ?

Comment 9 Sankar P 2007-05-15 05:08:17 UTC
I just now compiled the plugins. 

For bbdb, in stable branch I see only one extra compilation warning than the trunk, which is due to a missing-cast.

For exchange-operations I do not see any discrepancy at all.

If you have any patches for plugins, just attach them in this bug so that we can review and take it in. For warnings in other areas, you can file individual bugs and use 437579 as the tracker.
Comment 10 Gilles Dartiguelongue 2007-05-17 13:02:19 UTC
Created attachment 88332 [details] [review]
plugins-itip-formatter-warning.patch

didn't looked much at diff stable/trunk yet but here is another patch for a warning in itip-formatter. Applys to trunk as well.
Comment 11 Srinivasa Ragavan 2007-05-18 04:25:14 UTC
Looks fine to commit. 
Comment 12 Matthew Barnes 2007-06-03 03:04:43 UTC
Committed to Subversion trunk (revision 33629).

Leaving this bug open because there's still lots more warnings in the publish-location plugin.
Comment 13 Gilles Dartiguelongue 2007-06-07 22:04:40 UTC
Created attachment 89574 [details] [review]
experimental-plugins.patch

More cleanups in plugins. Please pay attention to the ipod-sync plugin. I've removed some stuff in the header that I thought was useless and was causing a warning because of glib-i18n / libintl overlap. Is there a better alternative to replace warn by g_warning in this case or was it just not justified to use a macro in the first place ?
Comment 14 Srinivasa Ragavan 2007-06-09 20:18:40 UTC
Gilles, I merged the ipod plugin code from a bounty. I might have made sense as a separate project, but not as a plugin. I think it is fine, since the gi18n.h is included. Please commit to head.
Comment 15 Srinivasa Ragavan 2007-06-18 05:16:06 UTC
Committed to head.