Commit graph

112 commits

Author SHA1 Message Date
Gwenhael Le Moine
4e5678818e
one call to init_emulator 2023-05-09 14:48:24 +02:00
Gwenhael Le Moine
ce8cb2efa5
pretty code 2023-05-09 14:47:19 +02:00
Gwenhael Le Moine
a95337ef81
progname, res_name and res_class are X11-specific 2023-05-09 14:41:17 +02:00
Gwenhael Le Moine
2f52760345
don't use progname in *printf( std* 2023-05-09 14:37:54 +02:00
Gwenhael Le Moine
43ccf59a1f
typo 2023-05-05 09:03:03 +02:00
Gwenhael Le Moine
928cddc775
correct maps makes for version 0.10.1 2023-05-05 08:59:58 +02:00
Gwenhael Le Moine
0c9a849ae8
one less ifdef in main.c 2023-05-05 08:59:14 +02:00
Gwenhael Le Moine
e30555f554
adapt/update manpage 2023-05-05 08:57:45 +02:00
Gwenhael Le Moine
6c63796863
bump version to 0.10.0 2023-05-04 18:15:26 +02:00
Gwenhael Le Moine
48dfffc7a1
drop support of loading pre-0.4.0 state files (~/.x48ng/hp48) 2023-05-04 18:09:48 +02:00
Gwenhael Le Moine
5a16dc9318
cleaning after deduplication 2023-05-04 18:00:51 +02:00
Gwenhael Le Moine
ddc5e88d24
deduplication 2023-05-04 17:48:55 +02:00
Gwenhael Le Moine
073178cd2a
put old docs from 0.6.4 into doc_0.6.4 2023-05-04 16:45:44 +02:00
Gwenhael Le Moine
f743357bca
pretty-code 2023-05-04 16:09:12 +02:00
Gwenhael Le Moine
76e9272d9e
save_options() from main to x48; deduplicate exit_x48() 2023-05-04 16:06:57 +02:00
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