Commit Graph

65 Commits

Author SHA1 Message Date
Lucas De Marchi f2638e50f3 Revert and re-apply badnull patch
Revert previous patch generated by badnull.cocci script, and apply the new one.
The main difference is that assert and assert-like functions are not touched
anymore.




SVN revision: 51650
2010-08-26 01:34:13 +00:00
Lucas De Marchi 2959caf18c Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Lucas De Marchi 3b31ee50e7 Apply badzero.cocci, badnull.cocci and badnull2.cocci
Since badzero.cocci depends on coccinelle knowledge about a variable being a pointer
and about a function returning a pointer, maybe there are false negatives.



SVN revision: 51092
2010-08-13 17:04:13 +00:00
Massimo Maiurana 2844d8fdeb forgot to add the file in the last commit
SVN revision: 51035
2010-08-12 13:05:46 +00:00
Massimo Maiurana e0f2131a5d adding portuguese localization
SVN revision: 51034
2010-08-12 13:05:08 +00:00
Aron Xu 3f19da7292 Sync translations of e16menuedit from e svn.
SVN revision: 48700
2010-05-09 02:00:13 +00:00
Mike Frysinger 3b2279b158 eat trailing whitespace
SVN revision: 45271
2010-01-17 20:56:24 +00:00
Mike Frysinger 2fafcd7f74 include glib/gstdio.h for g_vprintf prototype
SVN revision: 45270
2010-01-17 20:55:25 +00:00
Mike Frysinger 8e1e756f2c delete unused buffer
SVN revision: 45269
2010-01-17 20:28:59 +00:00
Massimo Maiurana dd5e48e0ed updating italian translation
SVN revision: 43997
2009-11-26 11:55:26 +00:00
Aron Xu ed42f9053f Sync translations from launchpad for e16menuedit, merged new pot file with original po files.
SVN revision: 42043
2009-08-27 13:10:51 +00:00
Aron Xu d8732fcf12 Update translations for e16menuedit from launchpad
SVN revision: 41360
2009-07-16 16:51:31 +00:00
Aron Xu ba9ad9c5b0 Updated translations from launchpad
SVN revision: 41272
2009-07-08 11:31:50 +00:00
Kim Woelders 28e301f61c Actually include zh_CN and eo translations.
SVN revision: 40704
2009-05-17 14:42:35 +00:00
Kim Woelders b26cd11ac6 Add esperanto translation (Olivier).
SVN revision: 40703
2009-05-17 14:42:33 +00:00
Kim Woelders 08ca0c7a13 Fix build, but disable unless --enable-build is specified. Autofoo cleanups.
SVN revision: 40702
2009-05-17 14:42:31 +00:00
Kim Woelders 2864a65063 Oops.
SVN revision: 40697
2009-05-17 13:17:15 +00:00
Kim Woelders b6b2ebe52b Ignore++.
SVN revision: 40696
2009-05-17 13:13:00 +00:00
Aron Xu 128292c5ab Added Simplified Chinese translations
SVN revision: 39157
2009-02-23 08:35:05 +00:00
Peter Wehrfritz 8fce259364 configure.in -> configure.ac
SVN revision: 36367
2008-09-30 23:54:31 +00:00
Kim Woelders b2a1d10fed Remove .cvsignore.
SVN revision: 35637
2008-08-23 23:29:40 +00:00
Kim Woelders 614ce8bd72 tools/e16menuedit2 -> e16menuedit.
SVN revision: 35618
2008-08-23 08:09:04 +00:00
Kim Woelders f9f44861bf Old e16menuedit is obsolete.
SVN revision: 35617
2008-08-23 08:07:09 +00:00
Michael Jennings 9bebd41338 Tue Jul 20 16:33:13 2004 Michael Jennings (mej)
Bye bye evil mandrake Makefile, hello evil autoFUCK files and spec.
----------------------------------------------------------------------


SVN revision: 10946
2004-07-20 20:46:17 +00:00
Carsten Haitzler a1eaa7b72d remove useless linkage
SVN revision: 7473
2003-09-22 22:43:08 +00:00
Tom Gilbert 204f7ddbde Sun May 21 02:02:08 2000 Tom Gilbert <gilbertt@btinternet.com>
* Sort rows on column click. Requested.


SVN revision: 2679
2000-05-21 00:44:40 +00:00
Mandrake cea40c3409 added authors file
SVN revision: 2500
2000-04-19 00:51:08 +00:00
Mandrake af9d74b4e2 forgot the ChangeLog
SVN revision: 2499
2000-04-19 00:49:50 +00:00
Mandrake 3d0e3e27fd Tue Apr 18 17:59:56 PDT 2000
(Mandrake)

Patch from mazeone (mazeone@widgetworks.com) adds a browse button for the exec
option, and fixes a bug where the browse button on the icon was broken.


SVN revision: 2498
2000-04-19 00:49:35 +00:00
Tom Gilbert c45ec382a7 no more comments
SVN revision: 2405
2000-04-01 20:46:17 +00:00
Tom Gilbert ffd0232d8f Fix from Ben Marsh for a segv when you delete all items from a submenu.
SVN revision: 2404
2000-04-01 11:24:32 +00:00
Tom Gilbert a53b46c9d9 Better insertion and deletion of entries. Buglet fixes. Killed the annoying
message box.


SVN revision: 2399
2000-03-31 18:32:39 +00:00
Tom Gilbert 3bce8ee503 Hrm. Changed some things. Dunno.
SVN revision: 2388
2000-03-30 22:34:01 +00:00
Tom Gilbert 24e0223f68 Pointless twiddling to keep my mind off the fact that ALL WOMEN ARE EVIL.
SVN revision: 2387
2000-03-30 22:01:00 +00:00
Tom Gilbert 6fd0be6c52 Hahahaha. Top line of my file.menu:
# Automatically generated by e16keyedit...

Anyone spot the deliberate mistake here?


SVN revision: 2382
2000-03-29 22:21:27 +00:00
Tom Gilbert f7f8c2e183 Things. And stuff.
SVN revision: 2381
2000-03-29 22:16:07 +00:00
Tom Gilbert 1b336b89e7 The browse button now does things.
SVN revision: 2380
2000-03-29 21:41:33 +00:00
Tom Gilbert 939891a4d4 A cosmetic fix for startup ctree visibility, and now the File menu items do
stuff.


SVN revision: 2379
2000-03-29 20:57:08 +00:00
Mandrake fa87ff587b ignore .icons
SVN revision: 2378
2000-03-29 20:44:55 +00:00
Mandrake 47cdca5f02 added README file
SVN revision: 2377
2000-03-29 20:44:41 +00:00
Tom Gilbert 6646e38833 Hahaha. Ooops.
SVN revision: 2376
2000-03-29 20:44:05 +00:00
Tom Gilbert 23ff680c28 Eeeek! Warnings.
SVN revision: 2375
2000-03-29 20:40:00 +00:00
Tom Gilbert 2a1fcf6f91 Okay. I found and fixed some memory allocation bugs I caused last night =)
Shouldn't crash now, and should even tell you off for invalid entries =)


SVN revision: 2374
2000-03-29 20:33:11 +00:00
Tom Gilbert 4533836c5c Fixed memory handling bug.
SVN revision: 2373
2000-03-29 19:48:41 +00:00
Tom Gilbert 7f3e0a6d16 Cosmetic cleanups.
SVN revision: 2372
2000-03-29 19:31:26 +00:00
Tom Gilbert a50bcb553b So there I am. The lights are off. I'm in bed.
I'm staring at the ceiling, and something is niggling at me.

What could it be? It's not my g/f...

Gah! I never fclose()'d my damn fp!

Now I'm going back to bed.


SVN revision: 2368
2000-03-28 22:49:02 +00:00
Tom Gilbert 5873a3685f Couple more cleanups, free temporary tree created during save.
SVN revision: 2366
2000-03-28 22:07:54 +00:00
Tom Gilbert 5caf067e05 tidied up slightly
SVN revision: 2365
2000-03-28 21:29:20 +00:00
Tom Gilbert 8b909c5859 Oh yeah. You can actually edit the entries now ;-)
The insert and delete entry buttons should work now too.


SVN revision: 2364
2000-03-28 20:58:02 +00:00
Tom Gilbert eb1029e5c0 Oh yuck, warnings.
SVN revision: 2362
2000-03-28 20:19:10 +00:00