summaryrefslogtreecommitdiff
path: root/util
AgeCommit message (Collapse)AuthorFilesLines
2008-09-16[util/Makefile.am] CleanupBehdad Esfahbod1-8/+5
2008-09-11[Makefile.am.common] Unify more common rulesBehdad Esfahbod1-1/+1
2008-09-11Makefile.am cleanupBehdad Esfahbod1-4/+4
Use a common build/Makefile.am.common file.
2008-09-04[util] Fix an automake warningBehdad Esfahbod1-1/+1
2008-09-02Revamp the build system.Behdad Esfahbod1-0/+69
Quick summary of changes: - Move list of cairo source files out of src/Makefile.am and into src/Sources.mk, - Generate files src/Config.mk and src/Config.mk.win32 that choose the right set of source files and headers based on configured backends and features. This drastically simplifies building using other build systems. The src/Makefile.win32 file needs to be updated to reflect these changes. - Add README files to various directories, - Add toplevel HACKING file.
2008-05-27[util/backtrace-symbols] Implement backtrace_symbols_fd()Behdad Esfahbod1-0/+18
2007-12-10[util/malloc-stats.c] Add a public function malloc_stats()Behdad Esfahbod1-3/+2
Apparently glibc already provides the function: void malloc_stats (void); So, like we do for backtrace_symbols(), override the public symbol. It still is defined as __destructor__ and runs at program finalization.
2007-07-26Clear executable flag off .c fileBehdad Esfahbod1-0/+0
2007-04-22[util] Change make target from "tools" to "util"Behdad Esfahbod1-1/+1
to match targets like "test", "perf", and "doc", that match their directory names.
2007-04-21[util] Import my malloc wrapper that prints simple statisticsBehdad Esfahbod4-0/+701
To build, do: make malloc-stats.so inside util/, and to use, run: LD_PRELOAD=malloc-stats.so some-program For binaries managed by libtool, eg, cairo-perf, do: ../libtool --mode=execute /bin/true ./cairo-perf LD_PRELOAD="../util/malloc-stats.so" .libs/lt-cairo-perf The code also includes Jeff Muizelaar's libbacktracesymbols that is a much better implementation of backtrace_symbols() than what is provided by glibc. That can be built by: make backtrace-symbols.so
2007-04-21Add util/ to distributionBehdad Esfahbod1-0/+4
We already reference an script in util/ in PORTING_GUIDE, but was not shipping it!
2005-05-17Remove #ifdef munging since we once again support either #if or #ifdef.Carl Worth1-1/+0
2005-05-17Add a few more REPLACED_BY and DEPRECATED_BY definitions.Carl Worth1-0/+8
Add some helpful warnings.
2005-05-06Point to both cairo_set_source_rgba and cairo_paint_with_alpha in ↵Carl Worth1-1/+2
deprecation of cairo_set_alpha.
2005-05-06Make idempotent substitutions that extend old names:Carl Worth1-3/+4
cairo_select_font -> cairo_select_font_face cairo_pattern_add_color_stop -> cairo_pattern_add_color_stop_rgba by only substituting if the old name is not immediately followed by an underscore. Tweak the substitution slightly to allow the script to be run on the cairo source itself, (eg. avoid changing the REPLACED_BY and DEPRECATED_BY macros that must mention the old names).
2005-05-06Change definitions of everything in cairo-features.h to prefer #if over #ifdef.Carl Worth1-0/+1
Track #ifdef -> #if changes. Add support to automatically change all #ifdef CAIRO_HAS to #if CAIRO_HAS.
2005-05-06Eliminate the following deprecated functions from cairo's interface:Carl Worth1-13/+35
cairo_copy cairo_get_path cairo_get_path_flat cairo_matrix_create cairo_matrix_destroy cairo_matrix_copy cairo_matrix_get_affine cairo_surface_set_repeat cairo_surface_set_matrix cairo_surface_get_matrix cairo_surface_set_filter cairo_surface_get_filter Also, eliminate all support for compiling against, or running with old, deprecated names for functions. Deal with all of the removals.
2003-09-04Changed names of all cairo_get_* functions to cairo_current_*. Added magic ↵Carl Worth1-0/+40
DEPRECATE macro so that using the old names will give useful warnings/errors. Bumped version number to 0.1.1
2003-07-26Fixed to not munge some internal cairot names, (such as cairo_traps_*)Carl Worth1-1/+1
2003-07-18Renamed everything from Xr* to cairo_*Carl Worth1-0/+49