Sam Hocevar
02bb261647
win32: define a custom sprintf_s() weak symbol. The VS2010 runtime does not
provide the deprecated snprintf(). The mingw32 runtime does not provide the
MS-specific sprintf_s(). Mingw-w64 copes with both. So we switch to sprintf_s
but also provide it as a weak symbol so that mingw32 does not complain.
pirms 12 gadiem
Sam Hocevar
9e8c0b6a46
build: switch to subdir objects and fix copyright information in string.c.
pirms 12 gadiem
Sam Hocevar
55af141873
caca: allow to define the CACA_STATIC macro to deactivate dllimport
specifiers; this is required for proper static link.
pirms 12 gadiem
Sam Hocevar
f56be9bffa
win32: use sprintf_s and vsnprintf_s on Windows, so that our static library
works with the VS2010 runtime, too. Also reduce the stack size requirements
to avoid depending on __chkstk_ms().
pirms 12 gadiem
Sam Hocevar
b2e484ffe0
build: fix Win32 build and allow to build Win64 binaries from Linux, and
ship the static library and includes too.
pirms 12 gadiem
Sam Hocevar
6ad85219e0
build: no longer create symlinks for old libcucul stuff; it's really
gone for good.
pirms 12 gadiem
Sam Hocevar
0a9f59f386
build: fix the Visual Studio compilation, remove old solution
configuration entries, and update bootstrap script.
pirms 12 gadiem
Sam Hocevar
d736507785
build: fix copyright information.
pirms 12 gadiem
Sam Hocevar
00a285b11e
figfont: support setting the canvas width and smushing mode from the
calling application.
pirms 12 gadiem
Sam Hocevar
859804d7af
build: fix "make dist", which was broken because of the vcproj -> vcxproj
migration.
pirms 12 gadiem
Sam Hocevar
89670f0598
figfont: stick the source canvas's width, if specified.
pirms 12 gadiem
Sam Hocevar
8f1c38b695
ncurses: if terminal doesn't support curs_set(2), try curs_set(1).
pirms 13 gadiem
Sam Hocevar
9b513e786c
Fix a bug in our Xutf8LookupString() usage.
pirms 14 gadiem
Sam Hocevar
c822280896
Rename figfont into charfont. We will support far more than figfonts in
the future.
pirms 14 gadiem
Sam Hocevar
4e3e2d95d0
Fix the Win32 build: ssize_t was no longer defined.
pirms 14 gadiem
Sam Hocevar
d761415833
Convert stuff to Visual Studio 2010. It has <stdint.h>!
pirms 14 gadiem
Sam Hocevar
ae274af4a6
Minor tuning to caca_types.h.
pirms 14 gadiem
Sam Hocevar
c783e868da
Get rid of the build time generated caca_types.h. It sucked.
pirms 14 gadiem
Sam Hocevar
55263ed9cd
Link libcaca with -lgnugetopt if necessary.
pirms 14 gadiem
Sam Hocevar
3e3210abc8
Remove spurious tabs from source.
pirms 14 gadiem
Sam Hocevar
a1d0435da5
Move mygetopt() directly into libcaca, for use by other programs.
pirms 14 gadiem
Sam Hocevar
2bf74e6df7
Mark the font data as const. We no longer modify it in place.
pirms 14 gadiem
Sam Hocevar
0c16cc92f0
Comply with cygwin's curses.h implementation.
pirms 14 gadiem
Pascal Terjan
d7477e8a04
* Do not force output to be in UTF-8, some people have not switched yet...
pirms 14 gadiem
Pascal Terjan
7b4b48187e
* Fix using dead keys on my us_intl keyboard
- Ignore key events when XFilterEvent returns true
- Do not set key to 0 when it is over 128
pirms 14 gadiem
Pascal Terjan
d9a814e437
* Improve rotated T, add P Q R ; 3 4
pirms 14 gadiem
Pascal Terjan
2014be66e4
* Add a rotated T
pirms 14 gadiem
Sam Hocevar
0c2a5dfaf4
On Win32 and Win64, define 32-bit C99 types as ints instead of longs, because
a lot of software (wrongly) assumes that int32_t is the same as int.
pirms 14 gadiem
Sam Hocevar
6bdfb77876
Fix a few things in the VS2k8 solution.
pirms 14 gadiem
Sam Hocevar
5136ee57a0
A few C89 compilation fixes.
pirms 14 gadiem
Sam Hocevar
9456dcc2f3
Add new Unicode characters to other transformation routines.
pirms 14 gadiem
Pascal Terjan
919055b686
* Add few unicode charecters to the flip table
pirms 14 gadiem
Sam Hocevar
a09f027727
Add the copyright unit test and update copyright information everywhere.
pirms 15 gadiem
Sam Hocevar
107ff4b815
Large source code cleanup, getting rid of spaces, tabs, and svn keywords.
pirms 15 gadiem
Sam Hocevar
51cf438fb0
Fix dllexport usage, courtesy of Carlo Bramini in #48 .
pirms 15 gadiem
Sam Hocevar
c2997a0d82
Add #undef __extern at the end of caca0.h. Thanks to Carlo Bramini for
fixing this in #48 .
pirms 15 gadiem
Sam Hocevar
6841aca387
Only define CACA_ALIAS with gcc > 3 (instead of >= 3). Patch courtesy of
Carlo Bramini. Addresses #48 .
pirms 15 gadiem
Sam Hocevar
4c23d2b5ed
Add brief documentation to figfont functions.
pirms 15 gadiem
Sam Hocevar
81f9abd203
Document file functions and fix a few issues here and there.
pirms 15 gadiem
Sam Hocevar
e83ae726b8
Activate colour toilet font support.
pirms 15 gadiem
Sam Hocevar
1edad92edc
Simpler and more accurate troff colour selection.
pirms 15 gadiem
Pascal Terjan
c73ff6d51d
* Always draw all background in troff output, on beginning of lines too
pirms 15 gadiem
Sam Hocevar
3584efdf4b
Fix the source code to reduce testsuite errors.
pirms 15 gadiem
Pascal Terjan
a2fff59c1e
* Always draw all background in troff output
pirms 15 gadiem
Pascal Terjan
f8a477f2ab
* Map colors to the ones known by groff, defining mines don't work
pirms 15 gadiem
Pascal Terjan
c7ec6a0e94
* Improve a bit troff export
pirms 15 gadiem
Pascal Terjan
1c669cd86b
* Add experimental troff export
pirms 15 gadiem
Sam Hocevar
2a4cccbf34
Clean up .gitignore and documentation build rules.
pirms 15 gadiem
Sam Hocevar
a1fd592363
Store built-in fonts in a uin8_t[] instead of char[].
pirms 15 gadiem
Sam Hocevar
1362d8e24f
Update my e-mail address everywhere.
pirms 15 gadiem