summaryrefslogtreecommitdiff
path: root/recordmydesktop/src
AgeCommit message (Collapse)Author
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-10r494iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@504 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-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-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-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-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
2008-02-02updates to skeleton.c for bigendian architecturesiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@485 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-01-21number header of header packages for theora = 3 (is that correct?)iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@482 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-01-20added include/skeleton.h src/skeleton.c.iovar
implemented the skeleton bitsream recommendation git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@481 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-01-17.ogv extension is now appended if not found.iovar
serialization of multiple files with the same name happens now, before the extension (i.e. out-1.ogv, out-2.ogv instead of the old out.ogv.1, out.ogv.2) git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@478 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-12-14src/register_callbacks.c: when paused, ignore stop (avoids deadlock)iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@477 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-12src/rmd_restore.c: stub for restore functioniovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@473 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-12-10src/capture_sound.c: corrected a messageiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@472 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-12-06encode_cache.c, rmd_timer.c: fflush(stderr) on state changesiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@460 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-12-05moved pause cond signaling to rmd_timer thread (was in signal handler)iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@458 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-12-05src/get_frame.c: fix --no-shared pixmap memory allocationiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@457 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-12-03SA_RESTART for sigactioniovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@453 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-12-02include/rmdfunc.h: removed SetExpired & CancelTimer, added rmdTimeriovar
include/rmdtypes.h: pdata->timer_alive src/Makefile.am: added rmd_timer in sources src/rmd_timer.c: new thread that handles timing src/register_callbacks.c: removed SetExpired & CancelTimer src/rmdthreads.c: new timing setup(signal-sleep-loop thread, instead of setitimer &sigaction) git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@452 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-12-01include/rmdtypes.h: added the frame on the pdata struct.iovar
src/get_frame.c: select exposure events for the frame src/poll_events.c: redraw frame on exposure events git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@446 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-30Makefile.am: added rmd_error.ciovar
poll_events.c: moved away rmdErrorHandler recordmydesktop.c: call XSetErrorHandler rmd_error.c: new place for rmdErrorHandler(added handling for bad access on X_GrabKey) git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@443 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-11-29proper fix for framerates <=1iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@442 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-11-29fix for lock when recording with 1 fpsiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@441 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-11-29Fix for #1837809. Don't check for pdata->avd, when there is no sound.iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@440 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-11-28Don't print compression stats when total_received_bytes=0 (avoid FPE)iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@439 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-11-20specsfile.c: added some stubsiovar
rmd_cache.c: added specsfile creation in initCache... git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@436 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-11-15src/poll_damage.c : REMOVED and replaced by src/poll_events.ciovar
src/poll_events.c : NEW FILE replaces src/poll_damage.c adding handling for shortcuts git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@432 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-11-14src/encode_cache.c,src/register_callbacks.c :added state change messagesiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@431 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-11-14 configure.ac: changed version to 0.3.7-cvsiovar
src/Makefile.am: added src/shortcuts.c src/shortcuts.c: new file git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@430 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-11-12cleanup.c: added a stub cleanup routine.iovar
initialize_data.c: y,u,vblocks with malloc. recordmydesktop.c: removed static y,u,vblocks. Makefile.am: added cleanup.c,specsfile.c specsfile.c: stub file for session-restore routines(NI). git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@426 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-11-12cache_frame.c: added compression statistics to outputiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@425 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2007-08-15rectinsert.c: fixed yblocks,ublocks,vblocks arrays boundary overstepiovar
(resulting in segfault) git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@412 f606c939-3180-4ac9-a4b8-4b8779d57d0a
© All Rights Reserved