summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-09-13include/rmdmacro.henselic
include/rmdtypes.h include/skeleton.h include/recordmydesktop.h: Moved from here src/rmdmacro.h src/rmdtypes.h src/skeleton.h src/recordmydesktop.h: to here. include include/Makefile.am: Removed, no need for a separate include dir. Makefile.am configure.ac src/Makefile.am: Adjusted accordingly. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@539 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13include/rmdfunc.h: Removed and replaced with a header file for (almost) each ↵enselic
.c file. include/recordmydesktop.h include/Makefile.am: src/cache_audio.[ch] src/cache_frame.[ch] src/capture_sound.[ch] src/encode_cache.[ch] src/encode_image_buffer.[ch] src/encode_sound_buffer.[ch] src/flush_to_ogg.[ch] src/get_frame.[ch] src/getzpixmap.[ch] src/init_encoder.[ch] src/initialize_data.c src/load_cache.[ch] src/make_dummy_pointer.[ch] src/opendev.[ch] src/parseargs.c src/poll_events.[ch] src/queryextensions.[ch] src/recordmydesktop.c src/rectinsert.h src/rmd_cache.[ch] src/rmd_error.[ch] src/rmd_frame.[ch] src/rmd_jack.[ch] src/rmd_rescue.[ch] src/rmd_timer.[ch] src/rmdthreads.[ch] src/setbrwindow.[ch] src/shortcuts.[ch] src/specsfile.[ch] src/update_image.[ch] src/wm_check.[ch] src/Makefile.am: Changed acordingly and adjust includes in .c files. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@538 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13doc/recordmydesktop.1: Fix a little formating problem for the -rescue option.enselic
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@537 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13include/rmdfunc.h: Removed CleanUp() declaration from here.enselic
src/initialize_data.[ch]: Host CleanUp() here instead. Long-term there should be much more code shared between rmd_rescue.c and initialize_data.c. src/cleanup.c: Removed. src/Makefile.am: Removed cleanup.c. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@536 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13include/rmdmacro.h: Move AVG_4_PIXELS(), CALC_TVAL_AVG_16(),enselic
CALC_TVAL_AVG_32() and CLEAR_FRAME() out of here. src/get_frame.c: Put AVG_4_PIXELS() here. src/yuv_utils.h: Put CALC_TVAL_AVG_16() and CALC_TVAL_AVG_32() here. src/load_cache.c: Expand CLEAR_FRAME() here. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@535 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13include/rmdfunc.h: Get rid of InitializeData().enselic
include/rmdmacro.h: Get rid of the DEFAULT_ARGS() macro. src/initialize_data.[ch]: Completely move InitializeData() here and also put the new DEFAULT_ARGS() replacement, the SetupDefaultArgs() function, here. src/Makefile.am src/rmd_rescue.c src/recordmydesktop.c: Adapt. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@534 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13include/recordmydesktop.h: Get rid of YUV data variables (which wereenselic
insanely *defined* in this header (like the other globals)). include/rmdmacro.h: Get rid of YUV utility macros. src/initialize_data.c: Get rid of MakeMatrices() and include the new yuv_utils.h. src/yuv_utils.[ch]: New files to host the YUV data variables and the MakeMatrices() function. The globals are now properly defined in the .c and exposed in the .h which also contains the YUV utility macros. src/get_frame.c src/update_image.c: Include the new yuv_utils.h src/Makefile.am: Added yuv_utils.[ch]. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@533 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13include/rmdtypes.henselic
include/recordmydesktop.h: Continue the globals killing spree by putting pause_mutex and time_mutex in ProgData instead of having them as globals. src/get_frame.c src/rmd_timer.c src/cache_audio.c src/cache_frame.c src/capture_sound.c src/initialize_data.c src/encode_image_buffer.c src/encode_sound_buffer.c: Adapt. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@532 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13include/recordmydesktop.h: Remove the globals time_cond andenselic
pause_cond. They are completely unnecessary. src/rmd_timer.c src/initialize_data.c: Adapt. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@531 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13include/rmdtypes.h: Make ProgData::running, paused, aborted andenselic
pause_state_changed booleans. src/rmd_jack.c src/rmd_timer.c src/rmd_rescue.c src/encode_cache.c src/capture_sound.c src/initialize_data.c src/register_callbacks.c: Adapt. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@530 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13include/recordmydesktop.h: Remove the globals Paused, Aborted andenselic
PauseStateChanged. include/rmdtypes.h: Add the previous globals as members in ProgData. src/rmd_jack.c src/get_frame.c src/rmd_timer.c src/rmd_rescue.c src/cache_audio.c src/cache_frame.c src/capture_sound.c src/initialize_data.c src/recordmydesktop.c src/register_callbacks.c src/encode_image_buffer.c src/encode_sound_buffer.c: Adapt. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@529 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13The global int pointer 'Running' is just a hack for global access ofenselic
ProgData::running. We can get rid of this global. include/rmdtypes.h: Put ProgData in JackData so that the libjack stuff can access progam state. src/recordmydesktop.c: Initialize ProgData member of JackData. src/rmd_jack.c: Use ProgData instead of the global. src/register_callbacks.[ch]: Pass ProgData to the registering of signal handlers and put a local version of the Running-global hack in this file. src/rmd_rescue.c: Get rid of Running-logic and pass ProgData to RegisterCallbacks() src/rmdthreads.c: Pass ProgData to RegisterCallbacks() src/initialize_data.c: Get rid of Running-logic. include/recordmydesktop.h: Remove the Running-global. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@528 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13src/register_callbacks.c: Formating.enselic
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@527 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13include/rmdfunc.h: Removed RegisterCallbacks().enselic
src/Makefile.am src/register_callbacks.h: New file declaring RegisterCallbacks(). src/rmd_rescue.c src/rmdthreads.c src/register_callbacks.c: Include register_callbacks.h git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@526 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13src/initialize_data.c: Revert previous accidental commit.enselic
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@525 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13include/rmdtypes.h: No need to include <signal.h>enselic
src/load_cache.c src/cache_frame.c src/poll_events.c src/initialize_data.c src/register_callbacks.c: Include <signal.h> git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@524 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13src/opendev.c: Explain why the compiler might warn us.enselic
src/specsfile.c: Fix compiler warnings. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@523 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13src/rmdthreads.c: Remove unused poll_events_t pthread_t.enselic
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@522 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13include/rmdfunc.h: Removed ParseArgs() declaration.enselic
src/Makefile.am src/parseargs.h: Added. src/recordmydesktop.c: Include parseargs.h which contains the ParseArgs() declaration. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@521 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13src/rmd_jack.censelic
src/get_frame.c src/parseargs.c src/load_cache.c src/cache_frame.c src/flush_to_ogg.c src/init_encoder.c src/initialize_data.c src/register_callbacks.c: Make file-local functions static. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@520 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13src/load_cache.c: Expand the unnecessary INIT_FRAME()-macro.enselic
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@519 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-13include/rmdfunc.henselic
src/parseargs.c: Make ParseArgs() return a boolean and make TRUE mean success and FALSE mean failure. src/recordmydesktop.c: Adapt. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@518 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-12include/rmdfunc.henselic
src/rectinsert.c: Remove BlocksFromList() to get rid of dependencies. We now only depend on rmdtypes.h in rectinsert.c. src/get_frame.c: BlocksFromList() makes more sense to keep as a static function here. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@517 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-12src/test-rectinsert.c: We don't need to include the wholeenselic
recordmydesktop.h, we can replace it with rmdtypes.h. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@516 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-12Don't include config.h, recordmydesktop.h, rmdtypes.h, rmdfuncs.h orenselic
skeleton.h as system headers. include/rmdfunc.h include/rmdmacro.h include/rmdtypes.h include/recordmydesktop.h src/cleanup.c src/opendev.c src/rmd_jack.c src/wm_check.c src/get_frame.c src/parseargs.c src/rmd_cache.c src/rmd_error.c src/rmd_timer.c src/shortcuts.c src/specsfile.c src/getzpixmap.c src/load_cache.c src/rectinsert.c src/rmd_rescue.c src/rmdthreads.c src/cache_audio.c src/poll_events.c src/setbrwindow.c src/encode_cache.c src/flush_to_ogg.c src/init_encoder.c src/update_image.c src/capture_sound.c src/initialize_data.c src/queryextensions.c src/recordmydesktop.c src/make_dummy_pointer.c src/register_callbacks.c src/encode_image_buffer.c src/encode_sound_buffer.c: Changed. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@515 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-12src/test-rectinsert-types.h: Actually, recordmydesktop-types.h wasenselic
available (but was called rmdtypes.h). git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@514 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-12src/test-rectinsert.c: Forgot to include rectinsert.h here.enselic
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@513 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-12Give rectinsert.c a header file and include this header file inenselic
RectInsert() clients. src/Makefile.am src/rectinsert.h: Added rectinsert.h. src/get_frame.c src/rectinsert.c src/poll_events.c: Include rectinsert.h include/rmdfunc.h: Removed RectInsert() declaration, it's in rectinsert.h now. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@512 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-12include/recordmydesktop.h: Make the global exit_status variableenselic
src/recordmydesktop.c: local here. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@511 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-12src/recordmydesktop.c: Expand the unnecessaryenselic
QUERY_DISPLAY_SPECS()-macro. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@510 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-12There is no point in keeping MakeMatrices() in a separate file.enselic
src/Makefile.am src/bgr_to_yuv.c: Deleted. src/initialize_data.c: Put MakeMatrices() here as a static function. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@509 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-11Started working towards a more clean include hierarchy andenselic
distinguishable program modules. First step: move stuff from global headers that is only used in one source file to those source files. include/rmdfunc.h include/rmdmacro.h include/rmdtypes.h: Move stuff from here src/rmd_jack.c src/get_frame.c src/rmd_cache.c src/load_cache.c src/rectinsert.c src/cache_frame.c src/poll_events.c src/setbrwindow.c src/recordmydesktop.c: To here. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@508 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-11src/Makefile.am: Added a better-than-nothing RectInsert() regressionenselic
test src/test-rectinsert.c src/test-rectinsert-data.c src/test-rectinsert-data.h src/test-rectinsert-types.h: Files for the test git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@507 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-11Added a boolean type for use until potentially introduced from elsewhere.enselic
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@506 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-11Added svn:ignores for files generated by the build system.enselic
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@505 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-10r494iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@504 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-10removed migration leftovers (CVSROOT directory and everything beneath it)iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@503 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-01src/rectinsert.c: cleanup of RectInsert() patch from Martin Nordholtsiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@502 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-08-31manpage patch from Martin Nordholtsiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@501 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-08-31updated skeleton.[h/c] from liboggz trunk, added AM_PROG_CC_C_O to configure.aciovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@500 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-07-12removed redudant __fileSelect__ method from src/rmdPrefsWidget.pyiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@499 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-07-12patch by freedo, to Replace GtkFileSelection with GtkFileChooserDialogiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@498 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-04-04new mimetypes in skeleton (video/theora, audio/vorbisiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@497 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-03-28added Dutch translation byiovar
Jos Poortvliet git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@496 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-02-11version, changesiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@495 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-02-11added year 2008 in all copyright noticesiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@494 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-02-11src/get_frame.c: added some commentsiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@493 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-02-11message formating changesiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@492 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-02-11configure.ac: version changeiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@491 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-02-11src/get_frame.c: added calls to InitEventsPolling andiovar
EventLoop. Now damage events are received and processed synchronously, before each frame capture. src/initialize_data.c: removed initalization of some removed members (dual recy roots ahd their mutexes) src/poll_events.c: Broken previous/ thread/func (PollEvents) to InitEventsPolling and EventLoop, which are called from GetFrame. src/rmdthreads.c: removed initalization/end of poll_events thread, as well as hack with extra window, to end that thread. src/rmd_timer.c: time_cond is broadcasted ecery time now (nnedeed with new changes) git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@490 f606c939-3180-4ac9-a4b8-4b8779d57d0a
© All Rights Reserved