Sam Hocevar
c807fbb878
Clean up Visual Studio build files
il y a 3 ans
Sam Hocevar
9b14aa4d05
Move many build files to the build subdirectory.
il y a 8 ans
Sam Hocevar
2f1ca4a550
Refactor a few things in the makefiles.
This fixes the path to source files in some unit tests and allows
to get rid of a few duplicate lines.
il y a 8 ans
Sam Hocevar
d3c5bce620
misc: fix unit test failures.
il y a 9 ans
Sam Hocevar
32f430e69d
examples: remove cross-directory build dependencies.
il y a 9 ans
Sam Hocevar
44317430a1
misc: some source code cleanup.
il y a 10 ans
Pascal Terjan
2ec11a8d96
Test limits before accessing the array (coverity)
il y a 11 ans
Sam Hocevar
f32c24a10d
build: fix the WTFPL homepage and copyright information.
il y a 12 ans
Sam Hocevar
a9a6d2c6a8
examples: fix a potential buffer overflow in the canvas example, triggered
when BUFSIZ is smaller than 1000. Bug found and patch sent by Bastian
Märkisch <bmaerkisch@web.de>.
il y a 12 ans
Sam Hocevar
d761415833
Convert stuff to Visual Studio 2010. It has <stdint.h>!
il y a 14 ans
Sam Hocevar
a09f027727
Add the copyright unit test and update copyright information everywhere.
il y a 15 ans
Sam Hocevar
107ff4b815
Large source code cleanup, getting rid of spaces, tabs, and svn keywords.
il y a 15 ans
Sam Hocevar
2a4cccbf34
Clean up .gitignore and documentation build rules.
il y a 15 ans
Sam Hocevar
1362d8e24f
Update my e-mail address everywhere.
il y a 15 ans
Sam Hocevar
68bdb1b06e
Preload the example input buffer with Unicode stuff for testing.
il y a 15 ans
Sam Hocevar
827c233769
Deduce X11 font size from a relevant sample to avoid oversized font
cells. Fixes bug #21 (X11 Unicode support).
il y a 15 ans
Sam Hocevar
6b199b4951
Fix a compilation warning in conio-snake.cpp.
il y a 15 ans
Sam Hocevar
68ed0f951c
More warning fixes in conio.c.
il y a 15 ans
Sam Hocevar
54f96e88a9
Fix various cosmetic errors (Jylam: tiens un highlight gratuit dans ta gueule pour les trailing spaces !)
il y a 15 ans
Jean-Yves Lamoureux
9b60c942b4
* Added mouse events example
il y a 15 ans
Sam Hocevar
bf3d41309c
Update source checking test and remove CRLF crap from makefiles.
il y a 15 ans
Jean-Yves Lamoureux
0b2675c74d
* Removed trailing spaces (fsking GNU Ident) (GNU, COINCIDENCE ? I THINK NOT!) and lonely tab
il y a 15 ans
Sam Hocevar
e304d5a314
Add a sanity check for coding style errors.
il y a 15 ans
Jean-Yves Lamoureux
2b3fce124b
* Indentation fixes
il y a 15 ans
Jean-Yves Lamoureux
c54a1ff131
* Fix examples/trifiller's color boundaries
il y a 15 ans
Jean-Yves Lamoureux
2adebb531b
* Make caca_fill_triangle_textured use less arguments, examples/trifiller modified accordingly
il y a 15 ans
Pascal Terjan
cb5107b070
* Fix build of trifiller with imlib2
il y a 15 ans
Jean-Yves Lamoureux
4156afb43e
* Add -lm to examples/trifiller. Oops.
il y a 15 ans
Jean-Yves Lamoureux
67679dc55d
* Added texture mapped triangle routine, float based, arbitrary texture size, to be optimized
* Made compilation under MacOSX 10.6 (Snow Leopard) possible, but breaks 10.4 (Tiger), to be fixed
il y a 15 ans
Sam Hocevar
8954cd4695
Only build conio-snake if the C++ compiler is functional.
il y a 15 ans
Sam Hocevar
1255e91165
Add the conio examples to the Visual Studio solution.
il y a 15 ans
Sam Hocevar
9d2e5ef6d0
Add a simple snake program using the <conio.h> interface.
il y a 15 ans
Sam Hocevar
104c5a0c5b
Start implementing a full <conio.h> replacement with a libcaca backend.
il y a 15 ans
Sam Hocevar
644ee4a78a
Coding style: remove tabs and trailing spaces.
il y a 15 ans
Sam Hocevar
33d2bc2092
Update the Win32 and Win64 ports.
il y a 15 ans
Sam Hocevar
d3ef2bbecd
Add caca_export_area_to_memory() to export only a selected part of the
current canvas. This is useful to export dirty rectangles. Accordingly,
add caca_import_area_from_memory() and caca_import_area_from_file().
il y a 15 ans
Sam Hocevar
969e870fe4
Fix the old demo examples so that they don't refresh the screen twice
every frame, causing the mouse to flicker.
il y a 15 ans
Sam Hocevar
95811ced2d
Manually fix Visual Studio files so that builds do not spew
their crap all over the place. There is still caca-sharp/obj
that it insists on creating (reported as Connect ID 301965).
il y a 15 ans
Sam Hocevar
17b840d8bc
Improve dirty rectangle handling in examples/input.c.
il y a 15 ans
Sam Hocevar
143b3c925b
Fix the text input example now that the box drawing functions take a size
as argument.
il y a 15 ans
Sam Hocevar
b61b93ddd2
Added MSVC project files for most example programs.
il y a 15 ans
Sam Hocevar
b7ba0adba0
Remove occurrences of DATADIR, it conflicts with MinGW's <objidl.h>.
Fixes ticket #51 .
il y a 15 ans
Sam Hocevar
34297fcdf9
Fix separate directory build failure caused by caca_types.h.
il y a 16 ans
Sam Hocevar
4cda200b03
Continuing the libcucul-libcaca merge.
il y a 16 ans
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.
il y a 16 ans
Sam Hocevar
8f832a3b47
* Switch a few unsigned int variables to size_t where appropriate.
* Synchronise parameter types in the C++ bindings with the C API.
il y a 16 ans
Sam Hocevar
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
il y a 16 ans
Sam Hocevar
ec68a634cf
* Get rid of the last long types in the API.
* Use size_t and ssize_t where appropriate.
il y a 16 ans
Sam Hocevar
f44b5e11fa
* Changed most "unsigned char" variables into "uint8_t", including in
prototypes. As they are equivalent, this does not break the ABI.
il y a 16 ans
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.
il y a 16 ans