Sam Hocevar
f61816ceb7
Starting refactoring to get rid of libcucul. The initial reason for the
split is rendered moot by the plugin system: when enabled, binaries do
not link directly with libX11 or libGL. I hope this is a step towards
more consisteny and clarity.
16 vuotta sitten
Sam Hocevar
99d7e53aee
* Remove htons() and htonl() from kernel mode: we use our custom hton16()
and hton32() implementations everywhere instead, except in cacaserver
which requires <arpa/inet.h> stuff anyway.
16 vuotta sitten
Sam Hocevar
f44b5e11fa
* Changed most "unsigned char" variables into "uint8_t", including in
prototypes. As they are equivalent, this does not break the ABI.
16 vuotta sitten
Sam Hocevar
99b5396e8e
* Remove #include <stdint.h> etc. from "common.h". Instead, make sure that
<cucul.h> will provide the C99 types, even if libcaca has been installed.
* Rename what's left of "common.h" to "stubs.h".
* Remove all references to erroneous <inttypes.h> from source files.
16 vuotta sitten
Sam Hocevar
e895e01ee6
* Disable file operations in kernel mode.
* Implement strchr() in kernel.c.
* Check for snprintf() at configure time.
17 vuotta sitten
Sam Hocevar
9597783308
* Bwarf, typo in the no warranty clause.
18 vuotta sitten
Sam Hocevar
33058757da
* Add a no warranty clause to the code.
18 vuotta sitten
Sam Hocevar
bc11640fdf
* Implemented strcmp() and strdup() and added an fflush() stub to the
kernel code.
18 vuotta sitten
Sam Hocevar
368eaeb708
* Added an fprintf stub to the kernel.
18 vuotta sitten
Sam Hocevar
fa2ca5f46e
* Fixed memcmp() prototype and implementation.
18 vuotta sitten
Sam Hocevar
9fca19ecc3
* Added errno support to the kernel.
18 vuotta sitten
Sam Hocevar
c58db87df1
* A few coding style fixes.
18 vuotta sitten
Jean-Yves Lamoureux
1b821e2588
* Updated kernel 'driver', still not working, but most of the work is done
18 vuotta sitten
Sam Hocevar
4e55d282d2
* Removed a useless cast in the kernel code.
18 vuotta sitten
Sam Hocevar
5cb4d4dedf
* Removed duplicate uint*_t defines from *_internal.h and included common.h
in all .c files that needed it.
18 vuotta sitten
Sam Hocevar
018fda76e8
* Removed \file directives from all files except caca.h and cucul.h, to
remove redundencies in the Doxygen documentation.
18 vuotta sitten
Sam Hocevar
77f995023d
* Slightly changed header comments.
18 vuotta sitten
Sam Hocevar
9b548949f6
* Handle malloc(0), realloc(NULL,...) and realloc(...,0) in kernel mode.
18 vuotta sitten
Sam Hocevar
bc3e0f7fe6
* Use the asm versions of sin and cos when available.
18 vuotta sitten
Jean-Yves Lamoureux
d056504184
* Removed false comment
18 vuotta sitten
Jean-Yves Lamoureux
a963825cdb
* Fixed UPPER() for strcasecmp
19 vuotta sitten
Sam Hocevar
37278e2682
* Rewrote strncasecmp. Totally untested, of course.
19 vuotta sitten
Jean-Yves Lamoureux
d62b86bbae
* wrote strcasecmp for fun
19 vuotta sitten
Sam Hocevar
d73e4337bf
* Implemented a few math functions in our kernel: cos(), sin(), sqrt().
19 vuotta sitten
Sam Hocevar
c063b0a54d
* Added assembly code for inb() and outb().
* Print a small message at kernel boot time just to check that the kernel
was properly loaded.
19 vuotta sitten
Sam Hocevar
15ac34a918
* Added glue code to compile libcaca without a libc and build applications
as multiboot kernels.
19 vuotta sitten