Commit graph

578 commits

Author SHA1 Message Date
Gwenhael Le Moine
231ca84479
be quiet by default unless -verbose; [x11] dropping -quiet option 2023-05-10 14:40:47 +02:00
Gwenhael Le Moine
a425d3477b
remove global variables errbuf and fixbuf 2023-05-10 14:33:53 +02:00
Gwenhael Le Moine
c56d5d3c81
deduplicate get_resources(); remove SDL1-version rom path fallback 2023-05-10 14:20:46 +02:00
Gwenhael Le Moine
e66130ee82
remove duplicated code 2023-05-10 14:08:09 +02:00
Gwenhael Le Moine
b2db78fff8
comment and formatting 2023-05-10 14:06:07 +02:00
Gwenhael Le Moine
3a277b0308
move res_{name,class} from main to resource where they belong 2023-05-10 14:05:34 +02:00
Gwenhael Le Moine
dfb368762f
arrange includes 2023-05-10 14:05:19 +02:00
Gwenhael Le Moine
95d8da35ca
add "missing" extern keyword in header 2023-05-10 13:57:11 +02:00
Gwenhael Le Moine
aaa90f33d2
pretty-code 2023-05-10 13:57:00 +02:00
Gwenhael Le Moine
f095776ea3
remove orphan functions' prototypes in headers 2023-05-10 13:56:03 +02:00
Gwenhael Le Moine
a1f3d0062e
disasml.{c,h} is part of debugger 2023-05-10 13:44:34 +02:00
Gwenhael Le Moine
9544f424fa
update comment {,hp48_}device.c 2023-05-10 13:37:35 +02:00
Gwenhael Le Moine
b64114d2e1
rpl.{c,h} is part of debugger 2023-05-10 13:37:11 +02:00
Gwenhael Le Moine
04bef1297e
one less ifdef 2023-05-10 13:30:17 +02:00
Gwenhael Le Moine
f935b26d27
merge device.h into hp48.h, rename device.c ⇒ hp48_device.c 2023-05-10 13:28:57 +02:00
Gwenhael Le Moine
1cb17dd969
move dump2rom, checkrom and mkcard into src/tools/ 2023-05-09 16:50:01 +02:00
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