- Mar 02, 2025
-
-
Alan Coopersmith authored
Also updates the gitlab CI config to test both build types and compare the generated output/installed files. Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <!16>
-
- Dec 08, 2024
-
-
Alan Coopersmith authored
Clears clang 13 warning of: math.c:433:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] exponent=strlen(dispstr)-1; /* where the '-' goes */ ~~~~~~~~~~~~~~~~^~ Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <!15>
-
Alan Coopersmith authored
Clears 204 clang warnings of the form: xcalc.c:358:31: warning: unused parameter 'w' [-Wunused-parameter] static Boolean convert(Widget w, Atom *selection, Atom *target, Atom *type, ^ Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <!15>
-
Alan Coopersmith authored
Clears clang warning of: xcalc.c:330:1: warning: function 'Syntax' could be declared with attribute 'noreturn' [-Wmissing-noreturn] Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <!15>
-
- Nov 11, 2024
-
-
Alan Coopersmith authored
Wrap XCALC_PRE_OP macro definition in do {...} while (0) to clear up warnings from clang 13 of the form: actions.c:161:23: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] XCALC_PRE_OP(kADD); ^ Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <!14>
-
- May 03, 2024
-
-
Alan Coopersmith authored
math.c: In function ‘negf’: math.c:474:36: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 474 | snprintf(tmp, sizeof(tmp), "-%s", dispstr); | ^ math.c:474:5: note: ‘snprintf’ output between 2 and 33 bytes into a destination of size 32 474 | snprintf(tmp, sizeof(tmp), "-%s", dispstr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <!13>
-
- May 04, 2023
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- Feb 18, 2023
-
-
Alan Coopersmith authored
Adds translations with NumLock modifier active, since removing "None" from the existing translations would make shifted keys enter numbers instead of doing the operations corresponding to the shifted character. Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=173314 Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- Feb 05, 2023
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
This was used with old versions of lint to stop warnings about unused return values. Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- Jan 28, 2023
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- Jan 26, 2023
-
-
Update red keys on right and make the hexadecimal digit keys white too Fixes: 19eb8cef ("TI mode: correct key color highlighting") Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- Jul 16, 2022
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- Apr 03, 2022
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- Apr 02, 2022
-
-
Alan Coopersmith authored
The information previously listed here didn't match what is present in the source code or the COPYING file, and the X(7) man page doesn't list any license information as this had claimed. Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- Dec 04, 2021
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- Nov 28, 2021
-
-
Alan Coopersmith authored
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- Sep 18, 2021
-
-
Alan Coopersmith authored
Decimal number key mapping in XCalc-color was offset after adding the bitwise ops & base conversion keys in commit c4f1bdb1 Fixes: #2 Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- Jun 09, 2019
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- Jun 02, 2019
-
-
Alan Coopersmith authored
Reported by gcc 7.3: actions.c: In function ‘quit’: actions.c:414:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ev->type == ClientMessage && ev->xclient.data.l[0] != wm_delete_window) ^~ Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Reported by gcc 7.3: xcalc.c: In function ‘Syntax’: xcalc.c:322:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0; i < XtNumber(Options); i++) ^ Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Clears up 58 of 62 gcc -Wdiscarded-qualifiers warnings in the xcalc build Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- Feb 18, 2019
-
-
Tim Hentenaar authored
These operations implicitly truncate their parameters, and result to integers: * not * and * or * xor * shl * shr * mod * trunc Base 2 was left out of the base conversion code intentionally as it would require making the UI at least one third wider. Attempts to change base with negative values will simply display "error." Note that with larger numbers, the result may be inaccurate due to rounding. I've also bound the Return key to the equal() action. Signed-off-by:
Tim Hentenaar <tim@hentenaar.com>
-
- Feb 17, 2019
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- Jan 06, 2019
-
-
Signed-off-by:
Stéphane Aulery <lkppo@free.fr> Reviewed-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Signed-off-by:
Stéphane Aulery <lkppo@free.fr> Reviewed-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- Nov 22, 2018
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- Nov 17, 2018
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- May 05, 2018
-
-
Alan Coopersmith authored
Gets rid of these warnings: math.c:707:24: warning: this statement may fall through [-Wimplicit-fallthrough=] case kSQR: flagINV = !flagINV; /* fall through to */ ~~~~~~~~^~~~~~~~~~ math.c:708:3: note: here case kSQRT: if (flagINV) dnum=dnum*dnum; ^~~~ math.c:711:24: warning: this statement may fall through [-Wimplicit-fallthrough=] case k10X: flagINV = !flagINV; /* fall through to */ ~~~~~~~~^~~~~~~~~~ math.c:712:3: note: here case kLOG: if (flagINV) dnum=pow(10.0,dnum); ^~~~ math.c:715:24: warning: this statement may fall through [-Wimplicit-fallthrough=] case kEXP: flagINV = !flagINV; /* fall through to */ ~~~~~~~~^~~~~~~~~~ math.c:716:3: note: here case kLN: if (flagINV) dnum=exp(dnum); ^~~~ Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
math.c: In function ‘numeric’: math.c:267:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentat ion] if ((int) strlen(dispstr) >= MAXDISP) ^~ math.c:270:5: note: ...this statement, but the latter is misleadingly indented a s if it were guarded by the ‘if’ switch (keynum){ ^~~~~~ Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- Jan 26, 2017
-
-
Signed-off-by:
Mihail Konev <k.mvc@ya.ru>
-
Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent fall-outs, when they contain space. Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by:
Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
-
Peter Hutterer authored
Syncs the invocation of configure with the one from the server. Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by:
Emil Velikov <emil.velikov@collabora.com>
-
- Jan 20, 2015
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- Aug 08, 2014
-
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
- Jun 03, 2014
-
-
Alan Coopersmith authored
See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Alan Coopersmith authored
Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-