summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/parseargs.c
AgeCommit message (Collapse)Author
2008-09-14src/*.[ch]: Rename files so that the name becomesenselic
rmd_some_file.[ch]. The exceptions are recordmydesktop.c which is the main file and skeleton.[ch] which are external files. src/Makefile.am: Adapt. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@546 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-14src/block_utils.censelic
src/cache_audio.c src/cache_frame.c src/capture_sound.c src/encode_cache.c src/encode_image_buffer.c src/encode_sound_buffer.c src/flush_to_ogg.c src/get_frame.c src/getzpixmap.c src/init_encoder.c src/initialize_data.c src/load_cache.c src/make_dummy_pointer.c src/opendev.c src/parseargs.c src/poll_events.c src/queryextensions.c src/recordmydesktop.c src/rectinsert.c src/register_callbacks.c src/rmd_cache.c src/rmd_error.c src/rmd_frame.c src/rmd_jack.c src/rmd_rescue.c src/rmd_timer.c src/rmdmacro.h src/rmdthreads.c src/rmdtypes.h src/setbrwindow.c src/shortcuts.c src/specsfile.c src/test-rectinsert-data.c src/test-rectinsert.c src/update_image.c src/wm_check.c src/yuv_utils.c: There is no need for us to test if config.h exists. It's our pacakge, we know it exists. Also make sure that each .c files includes config.h as the first include. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@544 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-14src/recordmydesktop.h: Deleted. The last globals were migrated toenselic
ProgData. recordmydesktop.h should actually never exist (as long as rmd isn't e.g. a library) since recordmydesktop.c is the main() program and it would be weird if other modules had a dependeny to it. src/rmdtypes.h: Put the last globals in ProgData instead. src/Makefile.am src/cache_audio.c src/cache_frame.c src/capture_sound.c src/encode_cache.c src/encode_image_buffer.c src/encode_sound_buffer.c src/flush_to_ogg.c src/get_frame.c src/getzpixmap.c src/init_encoder.c src/initialize_data.c src/load_cache.c src/make_dummy_pointer.c src/parseargs.c src/queryextensions.c src/recordmydesktop.c src/register_callbacks.c src/rmd_cache.c src/rmd_jack.c src/rmd_rescue.c src/rmd_timer.c src/setbrwindow.c src/update_image.c src/wm_check.c: Adapted. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@541 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-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-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-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-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
2007-12-13src/rmd_restore.c -> src/rmd_rescue.ciovar
Every occurance of restore replaced with rescue git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@475 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-12-13doc/recordmydesktop.1: added documentation about -restore optioniovar
include/rmdfunc.h: read and write specs file function protorypes include/rmdtypes.h, src/cache_audio.c src/capture_sound.c, src/encode_sound_buffer.c, src/initialize_data.c, src/load_cache.c: framesize moved to pdata struct(used to be initialized separately by every function that used it). src/Makefile.am: added src/rmd_restore.c src/parseargs.c: handle -restore option src/recordmydesktop.c: argument parsing moved before any X calls (restore doesn't need a running X server) src/rmd_restore.c: initialize all needed structs and data, for restore to be performed. Then EncodeCache routine and exit. src/specsfile.c: read and write specs file function bodies git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@474 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-12-07doc/recordmydesktop.1, include/rmdmacro.h, src/parseargs.c:iovar
changed .ogg extension to .ogv, in code and documentation, according to #1845145 git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@467 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-11-30doc/recordmydesktop.1: added documentation for --no-frameiovar
include/rmdfunc.h: added frame related function prototypes include/rmdmacro.h: default(off) for --no-frame include/rmdtypes.h: added --no-frame(noframe) in args src/rmd_frame.c: create and move around the frame src/Makefile.am: added rmd_frame.c src/parseargs.c: parse --no-frame src/queryextensions.c: check for XShape, too(implicit, non-fatal) src/rmd_frame.c: init, move and draw funcs for the frame. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@445 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-11-15Makefile.am: added poll_events.c(removed poll_damage.c)iovar
parseargs.c: added parsing for pause and stop shortcut recordmydesktop.c : shortcuts related code changes rmdthreads.c: added a hack to end the poll_events thread, since it now runs regardless of whether full-shots is specified. shortcuts.c: new method RegisterShortcuts. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@435 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-08-14parseargs.c, recordmydesktop.c: added --no-encode option.iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@408 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-08-07parseargs.c: added follow_mouse argument parsingiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@402 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-05-08changed zero-compression to compress-cacheiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@334 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-03-13fixed xdamage with xshm andiovar
removed anything related to conditional shared memory usage. Added GetZPixmapShm.Cleaned up pdata stuct from unneeded members. Removed argumednts related to conditional shared (--no-cond-shared, --shared threshold).Changed default for Shm and --with-shared is now --no-shared. Also, dummy cursor has been shaped up a bit. Version changed to 0.3.4-cvs. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@293 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-02-20added configurable ringbuffer size,iovar
corrected a mistake that blocked compilation(from last commit at shminfo initialization), removed the options from USAGE in the manpage and the program ,since it's too bloated to be usefull git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@285 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-02-07Added support for recording audio through jack.iovar
libjack is dlopened so there's no runtime dependency on it. Ports must be connected at startup. New files: src/rmd_jack.c git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@273 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-01-29Added support for compilation with OSS, instead of ALSA.iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@267 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-01-21changed formatting of the code, to never go beyond column 80iovar
(rule is purely for visual purposes, macro expansions are not taken into account). git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@262 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-12-13added -buffer-size option,iovar
along with relevant documentation, arg parsing, etc. Removed obolete and unused encoding variable. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@237 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-11-08Replaced all files with the ones in the rMD-exp module.iovar
(this should have been a branch not a module, but it's too late now. rMD-exp module will be purged but if anyone's interested on the not-so descriptive commit logs, they'll be on the attic. This is the start of the 0.3 branch. Files will will be tagged as v0_3_0 in a new branch before final release. Snapshot prior to this release has tagged as v0_2_7 in a new branch. All releases will be tagged and branched from now on. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@153 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-09-15exit status valuesiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@48 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-09-15v0.2.5, xfixes cursoriovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@47 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-08-13updated contact in license notice, added missing license notes,authors ↵biocrasher
contact updated git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@43 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-08-11erronneous usage message on -shared-threshold optionbiocrasher
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@42 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-08-09segfault on no :0.0 environment variable bug fixed,no divisible by 16 width ↵biocrasher
and height shared memory pixmap distortion bug fixed git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@39 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-07-17added pixel averaging optionbiocrasher
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@22 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-07-17segfault on big filenames fixedbiocrasher
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@21 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-07-16conditional use of shmembiocrasher
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@19 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-07-14framedrop option added,performance improvementsbiocrasher
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@9 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-07-14framedrop option added,performance improvementsbiocrasher
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@8 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2006-07-13This commit was generated by cvs2svn to compensate for changes in r3,biocrasher
which included commits to RCS files with non-trunk default branches. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@4 f606c939-3180-4ac9-a4b8-4b8779d57d0a
© All Rights Reserved