Commit graph

97 commits

Author SHA1 Message Date
Gwenhael Le Moine
7b4039d65c
Big scary shuffling of code to helpfully ease comprehension 2023-05-04 15:53:39 +02:00
Gwenhael Le Moine
91e7ddbee0
deduplicate draw_nibble() 2023-05-04 13:30:58 +02:00
Gwenhael Le Moine
22ea5373b5
use ctype.h {is,to}{lower,upper} functions 2023-05-04 13:28:44 +02:00
Gwenhael Le Moine
5322be982b
we want timezone (and less ifdef branches) 2023-05-03 16:34:17 +02:00
Gwenhael Le Moine
3cfb24f88b
deduplication 2023-05-03 16:32:40 +02:00
Gwenhael Le Moine
83f8c93ef1
deduplication 2023-05-03 16:22:05 +02:00
Gwenhael Le Moine
915f1d1386
drop unused HAVE_XSHM flag from Makefile 2023-05-03 16:11:36 +02:00
Gwenhael Le Moine
c69b172736
everybody HAVE_XSHM; deduplicate colors_sx/gx 2023-05-03 16:09:50 +02:00
Gwenhael Le Moine
af52793518
don't duplicate colors 2023-05-03 15:08:24 +02:00
Gwenhael Le Moine
fbe9b228b9
group includes 2023-05-03 15:08:14 +02:00
Gwenhael Le Moine
977396db4b
inline constants.h where it belongs 2023-05-03 14:48:06 +02:00
Gwenhael Le Moine
5586071a0a
code formatting 2023-05-03 14:34:27 +02:00
Gwenhael Le Moine
c519e10418
no need for config.h here 2023-05-03 14:34:15 +02:00
Gwenhael Le Moine
946629fcff
unnecessary block ; comment in a meaningful place 2023-05-03 14:33:35 +02:00
Gwenhael Le Moine
2379567ded
same emulate() for x11 and sdl1; more () ⇒ ( void ) 2023-05-03 14:23:09 +02:00
Gwenhael Le Moine
5fe813f4d0
config.h is only needed in few places now 2023-05-03 14:10:33 +02:00
Gwenhael Le Moine
7f4c9bb191
clean-up config.h, use pkg-config and gcc -DXXX=1 2023-05-03 13:59:26 +02:00
Gwenhael Le Moine
8eeadc40eb
be extra pedantic with FULL_WARNINGS
https://lobste.rs/s/9bl88u/my_favorite_c_compiler_flags_during
2023-05-03 13:31:51 +02:00
Gwenhael Le Moine
1fdf3526bd
rename x48_gui to x48 like droid48 does 2023-05-03 13:22:58 +02:00
Gwenhael Le Moine
724e4c3e25
inline X48NG.ad.h, not really seeing the point of havong it out 2023-05-03 13:17:41 +02:00
Gwenhael Le Moine
4e7a80986e
factorize ShowConnections() 2023-05-03 13:13:32 +02:00
Gwenhael Le Moine
660689b7c6
make "linter" happy 2023-05-03 13:13:11 +02:00
Gwenhael Le Moine
6397d8e9cd
remove commented code; add newlines 2023-05-03 13:12:29 +02:00
Gwenhael Le Moine
91f33012d9
remove unnecessary empty return; in void functions 2023-05-03 13:08:53 +02:00
Gwenhael Le Moine
5f18956212
back to ( void ), I have seen the errors in my ways
https://stackoverflow.com/questions/29326149/is-it-mandatory-to-use-return-and-void-in-the-functions-in-c
2023-05-03 12:51:32 +02:00
Gwenhael Le Moine
bf9af92b91
read_rom actually read from its fname param instead of global variable romFileName 2023-05-03 11:06:47 +02:00
Gwenhael Le Moine
1b70cc798b
endif if ⇒ elif 2023-05-03 11:06:35 +02:00
Gwenhael Le Moine
2b78fb7b28
reduce divergence between x11 and sdl1 in emulate.c 2023-05-03 10:54:36 +02:00
Gwenhael Le Moine
bfd5ef7703
I've never seen this file from sdl version 2023-05-03 10:51:15 +02:00
Gwenhael Le Moine
e5dc1638f9
clang-format'ted 2023-05-03 10:50:45 +02:00
Gwenhael Le Moine
cbfa041afc
prefer commenting code rather that disbling it with #if 0 2023-05-03 10:40:15 +02:00
Gwenhael Le Moine
af965c4775
remove debug prints 2023-05-03 10:39:58 +02:00
Gwenhael Le Moine
1d48f25f75
prefer () to (void) in functions' signatures 2023-05-03 10:35:15 +02:00
Gwenhael Le Moine
9202d2bd3f
remove all DEBUG code 2023-05-03 10:10:53 +02:00
Gwenhael Le Moine
ba5a83e730
merge GetEvent() and SDLGetEvent() into get_ui_event() 2023-05-03 09:40:52 +02:00
gwenhael
4e357f1cb1
Merge pull request #1 from MatMoul/patch-1
Update x48ng.desktop
2023-05-03 07:37:56 +02:00
MatMoul
04cd143eca
Update x48ng.desktop
Update some paths and names from 'x48' to 'x48ng'.
Added a line for the Utility category, which typically includes calculators.
2023-05-02 23:27:26 +02:00
Gwenhael Le Moine
1bdffaf18c
remove literal dead file of code 2023-05-02 17:00:38 +02:00
Gwenhael Le Moine
8613a52817
s/ifdef GUI_IS_*/if defined( GUI_IS_* )/g 2023-05-02 16:57:24 +02:00
Gwenhael Le Moine
36df3336fd
remove what looks like dead (useless) code 2023-05-02 16:42:14 +02:00
Gwenhael Le Moine
4b1c6067f0
removed never-finished SDL2 port; clean and format code 2023-05-02 14:40:02 +02:00
Gwenhael Le Moine
8cd7e30a5b
[dump2rom] fix warnings by adjusting and casting types 2023-05-02 14:18:12 +02:00
Gwenhael Le Moine
f8195e29be
[mkcard] fix warnings by changing type of size to a consistent size_t 2023-05-02 14:07:19 +02:00
Gwenhael Le Moine
53144b87f9
removed some printf and commented code 2023-05-02 13:42:58 +02:00
Gwenhael Le Moine
4894cc9075
drop docker support 2023-05-01 11:17:23 +02:00
Gwenhael Le Moine
9461971dd3
updated README 2023-04-30 19:16:49 +02:00
Gwenhael Le Moine
805090477e
0.9.10 2023-04-30 19:10:23 +02:00
Gwenhael Le Moine
d5d7f22240
better first-run script 2023-04-30 19:08:53 +02:00
Gwenhael Le Moine
51090dc093
fix path in setup-x48ng-home.sh 2023-04-30 18:50:24 +02:00
Gwenhael Le Moine
97da416cbd
x48ng 0.9.9 2023-04-30 18:16:13 +02:00