Patch by Julien BLACHE from Debian:
http://sources.debian.net/src/wmifinfo/0.09-7/debian/patches/wmifinfo-timeval_fix.patch/
For more information, see:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503416
---
wmifinfo/wmifinfo.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff
---
wmifinfo/Changelog | 9 +
wmifinfo/Makefile | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/wmifinfo/Changelog b/wmifinfo/Changelog
index 0184cf3..cae7518 100644
--- a/wmifinfo/Changelog
+++ b/wmifinfo/Changelog
@@ -54,3 +54,12 @@
- the '-i' flag (init
---
wmifinfo/nwn.c | 2 +-
wmifinfo/wmifinfo.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/wmifinfo/nwn.c b/wmifinfo/nwn.c
index 0602b27..281b665 100644
--- a/wmifinfo/nwn.c
+++ b/wmifinfo/nwn.c
@@ -65,7 +65,7 @@ int nwn_get_link(char *ifname)
Adapted from Debian manpage:
http://sources.debian.net/src/wmifinfo/0.09-7/debian/wmifinfo.1/
---
wmifinfo/Makefile | 3 +++
wmifinfo/wmifinfo.1 | 37 +
2 files changed, 40 insertions(+)
create mode 100644 wmifinfo/wmifinfo.1
diff --git a/wmifinfo/Makefile
---
wmifinfo/wmifinfo.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/wmifinfo/wmifinfo.c b/wmifinfo/wmifinfo.c
index cc6ee99..3ddf026 100644
--- a/wmifinfo/wmifinfo.c
+++ b/wmifinfo/wmifinfo.c
@@ -355,7 +355,10 @@ void exec_cmd(char *cmd)
pid=fork();
---
wmifinfo/wmifinfo.c | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/wmifinfo/wmifinfo.c b/wmifinfo/wmifinfo.c
index 3ddf026..adb323d 100644
--- a/wmifinfo/wmifinfo.c
+++ b/wmifinfo/wmifinfo.c
@@ -189,7 +189,7 @@ int main(int argc, char *argv[])
---
wmifinfo/wmifinfo.c | 11 ++-
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/wmifinfo/wmifinfo.c b/wmifinfo/wmifinfo.c
index adb323d..827afec 100644
--- a/wmifinfo/wmifinfo.c
+++ b/wmifinfo/wmifinfo.c
@@ -656,6 +656,12 @@ void getifnames(void)
int pifaces;
---
wmifinfo/wmifinfo.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/wmifinfo/wmifinfo.c b/wmifinfo/wmifinfo.c
index 51e0dc3..cc6ee99 100644
--- a/wmifinfo/wmifinfo.c
+++ b/wmifinfo/wmifinfo.c
@@ -406,7 +406,6 @@ char *strupper(char *str)
int getifinfo(char *ifname,
---
wmifinfo/wmifinfo.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/wmifinfo/wmifinfo.c b/wmifinfo/wmifinfo.c
index c8d7871..51e0dc3 100644
--- a/wmifinfo/wmifinfo.c
+++ b/wmifinfo/wmifinfo.c
@@ -58,7 +58,7 @@
struct ifinfo_t {
char id[16];
In particular, add support for common user-defined variables CFLAGS,
CPPFLAGS, LDFLAGS, DESTDIR, and PREFIX. Also remove reference to
deprecated X11R6 directory and use install instead of cp for install
target.
Inspired by the Debian patches:
http://sources.debian.net/src/wmifinfo/0.09-7/debian/p
Here are a few wmifinfo patches, mostly Debian patches and compiler warning
fixes.
Carlos, could you tag the last patch wmifinfo-0.10?
Thanks!
Doug Torrance (10):
wmifinfo: Update Makefile.
wmifinfo: Add manpage.
wmifinfo: Fix -Wpointer-sign compiler warnings.
wmifinfo: Fix -Wunused-but-
As pointed by gcc, this macro is not used anywhere in the 2 files. Because
the code also suggests that they should be inherited from any other place
anyway, remove them from the file to prevent them from being used in the
future.
Signed-off-by: Christophe CURIS
---
util/getstyle.c | 3 ---
util/
Include a comment to explain what their aim is, and why WindowMaker is not
making use of them. They are not simply removed because it is informative
for future contributors that we know about them and we purposedly decided
to not use them.
Signed-off-by: Christophe CURIS
---
src/wmspec.c | 17 ++
Apparently, there was a time when it was though to add a label below (?)
the icons of the list of panels, but this has never been finished and the
unfinished code to do this was even removed in commit
0e01e6920572b3d3a7a8df2872513144225440a8
So, as it is unlikely that the "feature" will return,
This parameter is given always the same value, so there is not reason to
keep it. The code is updated to take this value into account, and the
related constants are removed.
Signed-off-by: Christophe CURIS
---
src/menu.c | 14 --
1 file changed, 4 insertions(+), 10 deletions(-)
diff
As pointed by gcc, this macro is not used anywhere, that is probably
because the code have been relying on the function "IsDoubleClick" for a
very long time now.
Signed-off-by: Christophe CURIS
---
src/framewin.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/framewin.c b/src/framewin.
As pointed by gcc, this constant is not used anywhere in the code. It seems
to have been prepared for a scroll animation when the switchpanel would be
too big to fit the screen, but the code looks like to never have been
activated, and was cleaned away in commit
6d08aa22d824d6abe5edb4c4892bbf9eae
These 2 constants have been defined at the beginning of the project, but
where never used later. As the use of the associated constants suggests
that they are not bringing anything useful, this patch simply removes them.
Signed-off-by: Christophe CURIS
---
src/moveres.c | 4
1 file changed,
For code maintainability, it is better to have a single definition of the
constant than many ones dispatched in many places. In addition, we try to
count on the constant M_PI that can be defined by the header if
possible because it may have the best accuracy for the platform.
Signed-off-by: Chris
As pointed by gcc, the 4 constant the define the corner positions are not
used anywhere in the code, and it looks like it has always been like this.
As it is a cost for maintainability, get rid of them.
Signed-off-by: Christophe CURIS
---
WINGs/wballoon.c | 5 -
src/balloon.c| 5 -
2
The goal is to explain the reason why we don't do anything about them, so
people looking at the code in the future will know why it is this way. The
expected side effect is also to silent warnings [-Wunused-macros] from gcc.
Signed-off-by: Christophe CURIS
---
src/motif.c | 31 ++
As pointed by gcc, a few constants which contain sizes for buffers are not
used anywhere in the code. This is probably due to code cleanup, where
these buffers have been removed or where size is automatically calculated
by using 'sizeof' instead to reduce risk of bugs.
Signed-off-by: Christophe CU
This macro was define a *very* long time ago, in commit
d98f1fa645be332b35e8f8d1c2b7ce8ab1231be0
but was not used at that time, and have never been used anywhere since
then.
As the macro does not look like a good idea for performance anyway, get rid
of it before anyone could get tempted to use i
There is a header that defines the stucts and constants to support GNUstep
specific things, and it is already used somewhere else in WINGs, so instead
of duplicating locally the stuff we re-use the header, it makes code easier
to maintain.
Signed-off-by: Christophe CURIS
---
WINGs/wwindow.c | 28
The group of XDND_* macro do not bring a lot in term of clarity, so it is
probable that they will get away someday, but at current time as 2 of them
are not used anywhere they get removed to prevent their use in the future.
Signed-off-by: Christophe CURIS
---
WINGs/dragdestination.c | 2 --
1 fi
As pointed by gcc, this constant is not used anywhere, and it looks like
it have always been the case. As there's no reason to specifically add a
border to this widget, remove the constant.
Signed-off-by: Christophe CURIS
---
WINGs/wcolorwell.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/
As pointed by gcc, the height is never used and the code make use of the
SCROLLER_WIDTH constant anyway, so this patch updates the code to directly
use that constant instead of intermediate values that just adds noise for
code maintainability.
Signed-off-by: Christophe CURIS
---
WINGs/wscroller.
It seems the code had the possibility to load a default icon, probably to
be used on the windows if the main program does not provide any.
This code however have never been enabled, probably because it is better to
not provide an icon and let the window manager use its own.
This patch then remove
This flag is always detected as unsupported because every time autoconf is
generating a test program for any feature, it puts at the beginning of the
test source all the '#define' that have been detected so far, which is what
we expect normally.
But for this option, as we cannot reasonably make a
As pointed by gcc, this macro is never used in the code; when no font is
defined by user the 'paintButton' code already falls back to the
'normalFont' of the screen, and this code could not need the macro anyway.
Signed-off-by: Christophe CURIS
---
WINGs/wbutton.c | 1 -
1 file changed, 1 deleti
As pointed by gcc, the macro is not used, that is probably because it is
totally ok to never provide a title from X point of view, so there is now
reason to fall back to that empty constant.
Signed-off-by: Christophe CURIS
---
WINGs/wwindow.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/WI
They concern topics like:
- portability;
- dangerous constructs;
- clearer code for maintainability
Signed-off-by: Christophe CURIS
---
configure.ac | 31 +++
1 file changed, 31 insertions(+)
diff --git a/configure.ac b/configure.ac
index d46923e..8fc3bd0 100644
-
Strict prototype are better for portability and to avoid bugs because it
makes sure the compiler has the information to properly validate the
arguments given when a function is called.
This flag however need special care when checking for it, because the
declaration for 'main' generated by autocon
Because the use of trampolines can be a lot of problems, this patch changes
the use of the flag to:
- make it an error if possible, so coders are forced to not use them;
- always enable them, not just for debug, so we increase the probability
to get them caught.
Signed-off-by: Christophe CURIS
Hello,
This series of patches adds some warnings for gcc and some for clang which
help to make safer code:
- patch 1 fixes the detection for 'unused-macro' which did not work;
- patch 2 and 3 add more flags;
- patch 4 turns the trampoline warning into an error if possible;
- patch 5 to 23 fix
"Carlos R. Mafra" escribió:
On Mon, 8 Dec 2014 at 17:46:25 +, Rodolfo García Peñas (kix) wrote:
"Carlos R. Mafra" escribió:
>On Mon, 8 Dec 2014 at 16:28:14 +0100, Rodolfo García Peñas wrote:
>>On Mon, 08 Dec 2014, Carlos R. Mafra escribió:
>>
>>> On Mon, 8 Dec 2014 at 13:36:25 +0100
On Mon, 8 Dec 2014 at 17:46:25 +, Rodolfo García Peñas (kix) wrote:
>
> "Carlos R. Mafra" escribió:
>
> >On Mon, 8 Dec 2014 at 16:28:14 +0100, Rodolfo García Peñas wrote:
> >>On Mon, 08 Dec 2014, Carlos R. Mafra escribió:
> >>
> >>> On Mon, 8 Dec 2014 at 13:36:25 +0100, Rodolfo García Peñ
"Carlos R. Mafra" escribió:
On Mon, 8 Dec 2014 at 16:28:14 +0100, Rodolfo García Peñas wrote:
On Mon, 08 Dec 2014, Carlos R. Mafra escribió:
> On Mon, 8 Dec 2014 at 13:36:25 +0100, Rodolfo García Peñas wrote:
> > Hi,
> >
> > I have a question about the variable "nopolling". Is used?
Coul
On Mon, 8 Dec 2014 at 16:28:14 +0100, Rodolfo García Peñas wrote:
> On Mon, 08 Dec 2014, Carlos R. Mafra escribió:
>
> > On Mon, 8 Dec 2014 at 13:36:25 +0100, Rodolfo García Peñas wrote:
> > > Hi,
> > >
> > > I have a question about the variable "nopolling". Is used? Could we
> > > remove it?
On Mon, 08 Dec 2014, Carlos R. Mafra escribió:
> On Mon, 8 Dec 2014 at 13:36:25 +0100, Rodolfo García Peñas wrote:
> > Hi,
> >
> > I have a question about the variable "nopolling". Is used? Could we remove
> > it?
> >
> > I found it in src/startup.c, but the variable is never set. I am missing
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project wmaker-crm.git.
The branch, next has been updated
via 1e6740b34467cf9de4f7fb41b939bc3f0316e229 (commit)
from b190ab4b5ea9e3e3c
On Mon, 8 Dec 2014 at 13:36:25 +0100, Rodolfo García Peñas wrote:
> Hi,
>
> I have a question about the variable "nopolling". Is used? Could we remove it?
>
> I found it in src/startup.c, but the variable is never set. I am missing
> something?
>
> Thanks,
> kix
>
> kix@debian:~/src/wmaker/aw
On Fri, Dec 05, 2014 at 10:13:34AM +0800, David Maciejak wrote:
> -WINGS_CURRENT=3
> +WINGS_CURRENT=4
> WINGS_REVISION=0
> WINGS_AGE=0
I should read more docs, before suggesting. WINGS_AGE should
also be increased according to info libtool...
--
Regards,--
Sir Raorn. --- https://plus.goo
On Sun, Dec 07, 2014 at 10:01:17AM +0800, David Maciejak wrote:
> I agree with you Rodolfo that it should be better to increase the minor
> version number instead.
This is not just "numbers after .so.". And was a bit wrong, AGE
should also be increased.
From info libtool:
So, libtool library
Hi,
I have a question about the variable "nopolling". Is used? Could we remove it?
I found it in src/startup.c, but the variable is never set. I am missing
something?
Thanks,
kix
kix@debian:~/src/wmaker/awmaker$ rgrep nopolling *
NEWS:Running Window Maker with one of -nopolling or --no-polling
45 matches
Mail list logo