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 326284 - Code cleanups for Evolution
Code cleanups for Evolution
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
2.6.x
Other Linux
: Normal normal
: ---
Assigned To: Harish Krishnaswamy
Evolution QA team
: 323451 (view as bug list)
Depends on:
Blocks: 327508 327510
 
 
Reported: 2006-01-09 09:44 UTC by Kjartan Maraas
Modified: 2013-09-13 01:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
a11y cleanups (13.20 KB, patch)
2006-01-09 10:55 UTC, Kjartan Maraas
committed Details | Review
addressbook cleanups (24.71 KB, patch)
2006-01-09 10:55 UTC, Kjartan Maraas
committed Details | Review
calendar cleanups (136.89 KB, patch)
2006-01-09 10:55 UTC, Kjartan Maraas
committed Details | Review
composer cleanups (5.61 KB, patch)
2006-01-09 10:56 UTC, Kjartan Maraas
committed Details | Review
e-util cleanups (6.11 KB, patch)
2006-01-09 10:56 UTC, Kjartan Maraas
committed Details | Review
filter cleanups (7.16 KB, patch)
2006-01-09 10:57 UTC, Kjartan Maraas
committed Details | Review
mail cleanups (22.82 KB, patch)
2006-01-09 10:57 UTC, Kjartan Maraas
committed Details | Review
plugins cleanups (34.78 KB, patch)
2006-01-09 10:57 UTC, Kjartan Maraas
committed Details | Review
shell cleanups (7.14 KB, patch)
2006-01-09 10:58 UTC, Kjartan Maraas
committed Details | Review
smime-cleanups (6.31 KB, patch)
2006-01-09 10:58 UTC, Kjartan Maraas
committed Details | Review
tools cleanups (1.67 KB, patch)
2006-01-09 10:59 UTC, Kjartan Maraas
committed Details | Review
widgets cleanups (67.49 KB, patch)
2006-01-09 10:59 UTC, Kjartan Maraas
committed Details | Review

Description Kjartan Maraas 2006-01-09 09:44:01 UTC
Attaching a series of patches with code cleanups of various sorts:

        - remove unused vars
        - remove extraneous semi-colons
        - add some comments where assignments were done without using
          the results later
        - remove break; statements after return foo;
        - add casts in some places to be more type correct
        - rename variables with name clashes
        - s/if/ifdef in some cases
        - mark some code static
        - remove some unused functions
        - use guint for 1-bit bitfields
Comment 1 Kjartan Maraas 2006-01-09 10:55:09 UTC
Created attachment 57014 [details] [review]
a11y cleanups
Comment 2 Kjartan Maraas 2006-01-09 10:55:28 UTC
Created attachment 57015 [details] [review]
addressbook cleanups
Comment 3 Kjartan Maraas 2006-01-09 10:55:46 UTC
Created attachment 57016 [details] [review]
calendar cleanups
Comment 4 Kjartan Maraas 2006-01-09 10:56:19 UTC
Created attachment 57017 [details] [review]
composer cleanups
Comment 5 Kjartan Maraas 2006-01-09 10:56:43 UTC
Created attachment 57018 [details] [review]
e-util cleanups
Comment 6 Kjartan Maraas 2006-01-09 10:57:05 UTC
Created attachment 57019 [details] [review]
filter cleanups
Comment 7 Kjartan Maraas 2006-01-09 10:57:30 UTC
Created attachment 57020 [details] [review]
mail cleanups
Comment 8 Kjartan Maraas 2006-01-09 10:57:55 UTC
Created attachment 57021 [details] [review]
plugins cleanups
Comment 9 Kjartan Maraas 2006-01-09 10:58:24 UTC
Created attachment 57022 [details] [review]
shell cleanups
Comment 10 Kjartan Maraas 2006-01-09 10:58:48 UTC
Created attachment 57023 [details] [review]
smime-cleanups
Comment 11 Kjartan Maraas 2006-01-09 10:59:06 UTC
Created attachment 57024 [details] [review]
tools cleanups
Comment 12 Kjartan Maraas 2006-01-09 10:59:28 UTC
Created attachment 57025 [details] [review]
widgets cleanups
Comment 13 Kjartan Maraas 2006-01-09 11:01:24 UTC
*** Bug 323451 has been marked as a duplicate of this bug. ***
Comment 15 Harish Krishnaswamy 2006-01-25 06:01:59 UTC
Reviewing all these patches and targeting them for 2.14.0 Beta.
Comment 16 Kjartan Maraas 2006-01-25 22:25:08 UTC
I think some of them needs updating because they overlap with fixes that have gone in already. I'll see if I can do that soon
Comment 17 Harish Krishnaswamy 2006-01-27 07:59:34 UTC
Thanks. I hope you would not mind if I make those changes wherever necessary and absorb them - so they get into 2.14.0 Beta. 
Comment 18 Kjartan Maraas 2006-01-27 15:43:17 UTC
Commited the two first ones after fixing some conflicts.
Comment 19 Kjartan Maraas 2006-01-27 17:10:02 UTC
I commited the plugin stuff by accident when cleaning up .cvsignore in that dir. Please tell me if I should revert all of it or parts of it and I'll do that asap.
Comment 20 Harish Krishnaswamy 2006-01-30 06:01:43 UTC
Not all warnings have been fixed by these patches. However, let us get the available fixes in. On plugins, I shall review and undo the changes, if necessary. (by far, I assume most are harmless).
Comment 21 Kjartan Maraas 2006-01-30 12:27:05 UTC
Ok, Commited the ones you've looked at. I reverted some of the changes where it was unclear whether the fix was right or not, but that's a total of two or three minor changes.
Comment 22 André Klapper 2006-02-07 12:21:11 UTC
harish, are you also going to review kjartan's code cleanups for gtkhtml (bug 323450)?
Comment 23 Kjartan Maraas 2006-02-08 13:21:10 UTC
Commiting and closing. Thanks a lot.