Sam Hocevar
c807fbb878
Clean up Visual Studio build files
3 年之前
Sam Hocevar
9b14aa4d05
Move many build files to the build subdirectory.
8 年之前
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.
8 年之前
Sam Hocevar
d3c5bce620
misc: fix unit test failures.
9 年之前
Sam Hocevar
32f430e69d
examples: remove cross-directory build dependencies.
9 年之前
Sam Hocevar
44317430a1
misc: some source code cleanup.
10 年之前
Pascal Terjan
2ec11a8d96
Test limits before accessing the array (coverity)
11 年之前
Sam Hocevar
f32c24a10d
build: fix the WTFPL homepage and copyright information.
12 年之前
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>.
12 年之前
Sam Hocevar
d761415833
Convert stuff to Visual Studio 2010. It has <stdint.h>!
14 年之前
Sam Hocevar
a09f027727
Add the copyright unit test and update copyright information everywhere.
15 年之前
Sam Hocevar
107ff4b815
Large source code cleanup, getting rid of spaces, tabs, and svn keywords.
15 年之前
Sam Hocevar
2a4cccbf34
Clean up .gitignore and documentation build rules.
15 年之前
Sam Hocevar
1362d8e24f
Update my e-mail address everywhere.
15 年之前
Sam Hocevar
68bdb1b06e
Preload the example input buffer with Unicode stuff for testing.
15 年之前
Sam Hocevar
827c233769
Deduce X11 font size from a relevant sample to avoid oversized font
cells. Fixes bug #21 (X11 Unicode support).
15 年之前
Sam Hocevar
6b199b4951
Fix a compilation warning in conio-snake.cpp.
15 年之前
Sam Hocevar
68ed0f951c
More warning fixes in conio.c.
15 年之前
Sam Hocevar
54f96e88a9
Fix various cosmetic errors (Jylam: tiens un highlight gratuit dans ta gueule pour les trailing spaces !)
15 年之前
Jean-Yves Lamoureux
9b60c942b4
* Added mouse events example
15 年之前
Sam Hocevar
bf3d41309c
Update source checking test and remove CRLF crap from makefiles.
15 年之前
Jean-Yves Lamoureux
0b2675c74d
* Removed trailing spaces (fsking GNU Ident) (GNU, COINCIDENCE ? I THINK NOT!) and lonely tab
15 年之前
Sam Hocevar
e304d5a314
Add a sanity check for coding style errors.
15 年之前
Jean-Yves Lamoureux
2b3fce124b
* Indentation fixes
15 年之前
Jean-Yves Lamoureux
c54a1ff131
* Fix examples/trifiller's color boundaries
15 年之前
Jean-Yves Lamoureux
2adebb531b
* Make caca_fill_triangle_textured use less arguments, examples/trifiller modified accordingly
15 年之前
Pascal Terjan
cb5107b070
* Fix build of trifiller with imlib2
15 年之前
Jean-Yves Lamoureux
4156afb43e
* Add -lm to examples/trifiller. Oops.
15 年之前
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
15 年之前
Sam Hocevar
8954cd4695
Only build conio-snake if the C++ compiler is functional.
15 年之前
Sam Hocevar
1255e91165
Add the conio examples to the Visual Studio solution.
15 年之前
Sam Hocevar
9d2e5ef6d0
Add a simple snake program using the <conio.h> interface.
15 年之前
Sam Hocevar
104c5a0c5b
Start implementing a full <conio.h> replacement with a libcaca backend.
15 年之前
Sam Hocevar
644ee4a78a
Coding style: remove tabs and trailing spaces.
15 年之前
Sam Hocevar
33d2bc2092
Update the Win32 and Win64 ports.
15 年之前
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().
15 年之前
Sam Hocevar
969e870fe4
Fix the old demo examples so that they don't refresh the screen twice
every frame, causing the mouse to flicker.
15 年之前
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).
15 年之前
Sam Hocevar
17b840d8bc
Improve dirty rectangle handling in examples/input.c.
15 年之前
Sam Hocevar
143b3c925b
Fix the text input example now that the box drawing functions take a size
as argument.
15 年之前
Sam Hocevar
b61b93ddd2
Added MSVC project files for most example programs.
15 年之前
Sam Hocevar
b7ba0adba0
Remove occurrences of DATADIR, it conflicts with MinGW's <objidl.h>.
Fixes ticket #51 .
15 年之前
Sam Hocevar
34297fcdf9
Fix separate directory build failure caused by caca_types.h.
16 年之前
Sam Hocevar
4cda200b03
Continuing the libcucul-libcaca merge.
16 年之前
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 年之前
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.
16 年之前
Sam Hocevar
4ea785f818
* Remove all unsigned ints from exported functions. Signed arithmetic is
far better for error checking.
16 年之前
Sam Hocevar
ec68a634cf
* Get rid of the last long types in the API.
* Use size_t and ssize_t where appropriate.
16 年之前
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 年之前
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 年之前