summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-07src/rmd_parseargs.c: Reformat the Usage:-message and make the codeenselic
structure reflect the outputted message structure. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@585 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-12-13Version changes.iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@584 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-12-13Added missing stdio.h and errno.h headers in anyiovar
files that needed them (could cause compilation failure on some platforms). Also, rearranged the sequence with which include's happen, so that any missing headers will be more likely to show up as copilation errors, in the future. rmd_yuv_utils.[ch] and rmd_block_utils.[ch] have been merged within the former, as they deal with the same subject (converting rgb buffers to yuv ones, with the only difference that rmd_block_utils had the double-buffer convertions while rmd_yuv_utils dealt with the single-buffered ones). Their headers also had the a circular dependency (rmd_yuv_utils.h included rmd_block_utils.h and vice-versa). rmd_math.[ch] was added. This file holds now the rmdRoundf function which is a portable implementation of roundf (which depends on C99). The reasoning behind the addition of these files, is that they might hold more purely mathematical functions, in the future. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@583 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-11-23ChangeLog entries and version changes in configure.ac,iovar
for 0.3.8 release ([qt/gtk]-recordMyDesktop) git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@581 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-11-22 src/rmd_cache.c, src/rmd_cache_frame.c, src/rmd_get_frame.c, iovar
src/rmd_init_encoder.c, src/rmd_poll_events.c, src/rmd_rectinsert.c, src/rmd_rectinsert.h, src/rmd_rescue.c, src/rmd_setbrwindow.c, src/rmd_specsfile.c, src/rmd_types.h, src/rmd_update_image.c, src/test-rectinsert-data.c, src/test-rectinsert-types.h, src/test-rectinsert.c: Replaced the custom WGeometry struct-type with the Xlib-provided XRectangle type. Since XRectangle has unsigned width and height, any places in the code where -1 was used in these members of WGeometry to denote invalid rects, where changed to 0 ( zero width or height rects are also considered invalid, wherever met). Also, the following variable renames happened : wgeom => xrect, rgeom => rrect, geom => rect and so on. Some other minor changes in this commit are all related to this type change and also the fact that WGeometry had members of type int, while XRectangle is comprised of short members. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@580 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-11-22Readded qt-recordmydesktop.png, qt-recordmydesktop.svg iovar
in EXTRA_DIST of src/Makefile.am since they were removed by mistake. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@579 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-11-22Changed qt-recordMyDesktop's license to GPL version 3 (or later).iovar
All license headers have been changed to reflect this change and COPYING.gpl3 has been added with the full text of the license. Also, the previous record/pause/stop icons and their source svg's have been removed and replaced with equivalents from the Oxygen project, provided under the GNU-LGPL version 3 (or later). COPYING.lgpl3 and COPYING.icons have been added to provide the neccessary information. Makefile.am and src/Makefile.am have been modified to reflect this change in the project files. Version changed in configure.ac, to 0.3.8-cvs git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@578 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-11-21updated parameters in the arguments listiovar
to match these of recordMyDesktop 0.3.8 git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@577 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-11-21updated parameters in the arguments listiovar
to match these of recordMyDesktop 0.3.8 git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@576 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-11-16src/Makefile.am, Makefile.am, autogen.sh, configure.ac: iovar
Changed Automake requirement to 1.9 and made some minor changes to accomodate the removal of the m4 macros, as per rev #573 git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@575 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-11-16py-compile removed, since it's created at configurationiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@574 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-11-16removed unneccessary macro files: as-python.m4 as-version.m4 ↵iovar
py-compile-destdir common.mk python.mk pychecker.mk git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@573 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-11-16src/Makefile.am, Makefile.am, autogen.sh, configure.ac: iovar
Changed Automake requirement to 1.9 and made some minor changes to accomodate the removal of the m4 macros, as per rev #570 git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@572 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-11-16py-compile removed, since it's created at configurationiovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@571 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-11-16removed unneccessary macro files: as-python.m4 as-version.m4 ↵iovar
py-compile-destdir common.mk python.mk pychecker.mk git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@570 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-11-15 iovar
configure.ac, doc/recordmydesktop.1, src/rmd.c, src/rmd_cache_audio.c, src/rmd_encode_sound_buffer.c, src/rmd_initialize_data.c, src/rmd_jack.c, src/rmd_jack.h, src/rmd_parseargs.c, src/rmd_threads.c, src/rmd_types.h: Changed the way Jack support is offered, from dlopening at runtime to normal linking at compilation. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@569 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-11-15src/rmd_wm_is_compositing.[ch], src/rmd.c, src/rmd_types.h, src/Makefile.am : iovar
Added rmdWMIsCompositing method which is used to determine if the window manager is compositing and thus if it will be recorded in --full-shots mode. This method replaces the name check that was previously used, but rmdWMCheck hasn't been removed as it is also a proper method of identifying compliance with the freedesktop.org standards, which is a neccessary step before determining whether a window manager is compositing. This method is still not perfect as non-3d compositing WM's will trigger full-shots, without neccessarily needing it, but the only penalty for this mistake will be increased CPU usage while previously, non-identification of compositing WM as such could lead in distorted/unusable videos (e.g. KWin when used in 3d compositing mode). git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@568 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-11-15 Changed CACHE_FILE_SIZE_LIMIT back to 500 Mb ( 500*1<<20 ) iovar
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@567 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-10-03src/rmd_init_encoder.c: Format the code for the initialization of theenselic
theora_info structure to increase readability. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@566 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-10-03src/rmd_init_encoder.c: When not overwriting files, output whatenselic
filename that was eventually used. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@565 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-10-03src/rmd_setbrwindow.c: Make SetBRWindow() return a success-boolean,enselic
i.e. TRUE for success and FALSE for failure. src/rmd.c: Adapt. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@564 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-10-03src/rmd_types.h: To be on the safer side, only define TRUE and FALSEenselic
if they are not already defined. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@563 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-10-03src/rmd_cache_frame.c: Fix display of recorded data info andenselic
compression ratio by using unsigned long long ints to prevent integer overflow, and convert to Mb as late as possible. Also did some reformating. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@562 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-10-03src/rmd_cache_frame.c: Define CACHE_OUT_BUFFER_SIZE andenselic
CACHE_FILE_SIZE_LIMIT in a readable manner, and remove redundant comments. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@561 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-18src/rmd_parseargs.censelic
doc/recordmydesktop.1: Make options consistently have GNU-style, i.e. --this instead of -this. We're still backwards compatible with old options, but they are undocumented. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@560 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-18configure.ac : Fixed AC_INIT iovar
macro utilisation git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@559 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-17src/rmd_get_frame.c : As Martin has found, we need to markiovar
both the new and the old area of the cursor, for it to render correctly. This changeset does that for the full-shots scenario, (which is always double-buffered) by making dirty the new area on the back buffer, before the Yuv convertion. Other changes are that the MARK_BACK_BUFFER macro has been renamed to MARK_BUFFER_AREA (as that is what it does and there is nothing intristically tying it to the back buffer) and also a non-sensical comment was removed (probably a thought I never got to finish). git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@558 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-17src/rmd_get_frame.c: Make the cursor area be properly invalidated andenselic
captured. We need to add dirtiness not only for the old cursor position, but also for the new position. The cursor with --full-shots is still broken however. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@557 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-16src/rmd_cache.c ,iovar
src/rmd_init_encoder.c , src/rmd_jack.c : replaced calls to the redudant I16TOA macro, with calls to snprintf and as a result, the above files no longer depend on src/rmd_macro.h. src/rmd_macro.h : Removed the redudant and now unneeded I16TOA macro. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@556 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-16src/rmd_macro.h: Remove the COMPARE_STRIDE define, it's not used anyenselic
longer. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@555 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-16src/rmd_macro.h: Move the DEFAULT_AUDIO_DEVICE define toenselic
src/rmd_types.h here. src/rmd_parseargs.c: That way we can get rid of the dependency to rmd_macro.h from here, yay! git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@554 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-16src/rmd_types.h: Add a rescue_path member to ProgArgs.enselic
src/rmd_initialize_data.c: Initialize rescue_path. src/rmd_parseargs.c: Don't rmdRescue() in ParseArgs(). We want the parse args functionality to be free from depdenencies. ParseArgs() should only parse args. Instead set the new rescue_path ProgArgs member. src/rmd.c: If a rescue_path was given, call rmdRescue() with that path. By doing this rmd_parseargs.c becomes more self-contained. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@553 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-16src/rmd_rectinsert.c: Remove unnecessary mallocs, we can use the stackenselic
instead. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@552 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-16src/rmd_yuv_utils.c : Applied patch by Luca Bonavita, that correctsiovar
the rgb to yuv algorithm and provides near perfect colorspace conversion. src/rmd_get_frame.c : The sum of the chroma subcomponents, in the XFIXES_POINTER_TO_YUV macro, must wrap around the unsigned char type range, for the calculation to be correct. So, we take its modulo to that range. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@551 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-16src/rmd_types.h: Update comment, the DEFAULTS_ARGS() macro is replacedenselic
with the SetupDefaultArgs() function. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@550 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-16src/rmd_types.h: Remove DisplaySpecs::bpixel and wpixel.enselic
src/rmd_make_dummy_pointer.[ch]: Take Display as a parameter to MakeDummyPointer() and put bpixel and wpixel locally here instead. src/rmd.c: Remove initialization of DisplaySpecs::bpixel and wpixel. src/rmd_initialize_data.c: Pass Display to MakeDummyPointer(). git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@549 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-16src/rmd_types.henselic
src/rmd_initialize_data.c: Remove unused ProgData member sound_buffer_ready. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@548 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-16src/recordmydesktop.c: Renamed toenselic
src/rmd.c this, it feels cleaner this way. configure.ac src/Makefile.am: Changed accordingly. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@547 f606c939-3180-4ac9-a4b8-4b8779d57d0a
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-14autogen.sh: Set the svn:executable property.enselic
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@545 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/rmdtypes.h: Move out a lot of includes to the .c files that needs them. enselic
src/cache_audio.c src/cache_frame.c src/capture_sound.c src/encode_cache.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/queryextensions.c src/rmd_cache.c src/rmd_jack.c src/rmd_rescue.c src/rmd_timer.c src/rmdmacro.h src/rmdthreads.c src/update_image.c src/wm_check.c: Adapted. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@543 f606c939-3180-4ac9-a4b8-4b8779d57d0a
2008-09-14src/rmdtypes.h: Made ProgData::capture_busy and encoder_busy booleans.enselic
src/get_frame.c src/initialize_data.c src/encode_image_buffer.c: Adapt. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@542 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-14src/recordmydesktop.h: Move away the [yuv]blocks globals.enselic
src/yuv_utils.h: Move out the DBUF- and the MARK_BACK_BUFFER_C() macros. src/block_utils.[ch]: New files hosting the [yuv]blocks globals and DBUF-macros. src/get_frame.c: Put MARK_BACK_BUFFER_C() locally here. src/Makefile.am src/rmd_rescue.c src/cache_frame.c src/initialize_data.c: Adapt to changes. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@540 f606c939-3180-4ac9-a4b8-4b8779d57d0a
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
© All Rights Reserved