2009-08-25 jeromeg Update the TODO list. 2009-08-25 jeromeg Various fixes for the build system. Use latest Xfce-dev-tools to get rid of revision and linguas substitution, remove the LINGUAS file. Use git instead of svn in the version generation. Fix distcheck by cleaning some pathes in Makefile.am and adding some temporary files to POTFILES.skip. 2009-08-14 jeromeg Generate the marshall header in lib/. Add the module.xml file. 2009-08-12 jeromeg Fix opening of screenshots with an application. A test was incorrect, and escaping the screenshot path is safer in most cases. 2009-08-12 jeromeg Add a scroll feature for the panel plugin. When scrolling the panel plugin button, the region to be screenshooted is changed. This is faster than opening the preferences dialog. 2009-08-12 jeromeg First implementation of a nice rubber banding. When the screen is composited, use a nicer area selection mecanism. Draw a fullscreen transparent window which is darker than the normal view. When the user draws a rectangle with the mouse, show the "normal" view in this rectangle: the area which will be grabbed is normal, the rest of the screen is darker. A "traditionnal" rubber banding ala Thunar or Xfdesktop could be nicer, this has to be investigated. 2009-08-09 jeromeg Pressing F1 now opens the help page. 2009-08-09 jeromeg Set true as the default value for horodating. Mark the default screenshot title as translatable. Factorize the code to open the help page. 2009-08-09 jeromeg Make enter validate the ZimageZ dialog. 2009-08-09 jeromeg Use sd->title as a title in the ZimageZ information. 2009-08-08 jeromeg Add a default comment for the ZimageZ information. 2009-08-08 jeromeg Split the function to get the date and the time. 2009-08-08 jeromeg Use the XDG pictures directory as the default save location. If it does not exist, use the home directory as a fallback. 2009-08-08 jeromeg Remove the horodate checkbox and title entry. Try to set some sane defaults: always append the date and the time to the file name, the default title being "Screenshot". The title and horodating options are still setable in the configuration file. Fix the date format and always save the preferences in the main app. 2009-08-08 mmassonnet Update documentation translations Fixed the Indonesian documentation sub-directory, the autotools scripts were incomplete. Updated Italian and Galician documentation translation. 2009-08-07 jeromeg Move the horodate checkbox to improve the UI. 2009-08-07 jeromeg Rework the actions dialog to add horodating. Add two new options: the title of the capture is now customizable and is used to generate the name of the saved captures. It is now also possible to append the date and the time of capturing to the name of the saved file (TODO: check if "horodating" exists in English). Fix a leak in the panel plugin. 2009-08-05 jeromeg Improve the layout of the actions dialog. Use horizontal boxes instead of a table to place the combobox and the file chooser. This makes the dialog smaller and saves a lot of wasted space. 2009-08-05 jeromeg Rename some widgets. 2009-08-03 jeromeg If the user does not specify a save location, fallback to home. 2009-08-03 jeromeg Fix a crash in the panel plugin and improve cli options handling. Don't exit the gtk main loop when running the panel plugin, or the panel plugin will be killed. Don't accept two region options or two action options. Warn the user that mouse, delay and action option are ignored when passed without a region option. At the moment, those error and warning messages are only displayed in logs or in a terminal. I don't think it's worth showing an error dialog for this. 2009-08-03 jeromeg Rainy day. Major interface rethinking. This new interface is based on a suggestion by Yves-Alexis Pérez. The former main dialog is split into two dialogs: one for selecting the region to be captured and the delay, while the second one displays a preview of the screenshot and lists the available actions. The main application shows the first dialog, then the second one. If one of the region cli options is given, the screenshot is taken accordingly and the second dialog is displayed. The panel plugin uses the first dialog as a configuration dialog. When you click the plugin, the screenshot is taken and the second dialog is shown. 2009-08-03 jeromeg Reenable the old active window workaround. In some cases, the WM/X server does not update the active window quickly enough. When running the application and taking a screenshot of the active window this can create a corrupted screenshot. Adding a one second delay in that case fixes this issue. 2009-08-03 jeromeg Improve the creation of the save dialog's thumbnail. The thumbnail's width and height now have a maximum of 150 pixels, if they are less than 150 pixels, use the screenshot itself as a thumbnail. 2009-08-02 jeromeg Always show the save dialog when we save a screenshot. 2009-08-02 jeromeg Remove the option to take several screenshots in a row. This option creates a lot of technical issues which are currently painful to fix. Moreover, I want to keep things simple in the future. 2009-08-02 jeromeg Remove the ugly sleep one second workaround. Now that the idle func no longer creates the dialog, it shouldn't be needed anymore. This needs some testing on a low computer. 2009-08-02 jeromeg Simplify (screenshooter_take_and_output_screenshot). Now, the main dialog of the application is created once in main.c and hidden/shown when necessary. The idle func is now only responsible for taking the screenshot and hidding/showing the dialog when needed. Add a dialog member to the ScreenshotData struct, set it correctly in the panel plugin and in the application. Fix some indentation in the panel plugin code. 2009-08-02 jeromeg Add the doc rules to the toplevel Makefile.am. Also remove all the Makefile.am in the documentation directory. 2009-08-01 jeromeg Add the icons' rules to the toplevel Makefile.am. Fix various regressions due to the switch to a non-recursive Makefile: make -j was broken (fixed by using LDADD) and the desktop file for the panel plugin was not installed because of some copy/paste errors. Still to be done: add the rules for the documentation to the toplevel Makefile.am. 2009-07-31 jeromeg Use a non-recursive Makefile.am to build the sources. The non-recursive Makefile.am is used to build the convenience library, the main application and the panel plugin. This reduces the build time and it is no longer necessary to clean the whole project before build to test changes in the convenience library. Recursive make files are still used for the translations, the documentation and the icons. 2009-07-30 jeromeg Fix all warnings when running the autogen script. Remove the AC_AIX, AC_ISC_POSIX and AC_MINIX macros which seem useless and trigger a lot of warnings. Add the AC_USE_SYSTEM_EXTENSIONS macro to configure.ac.in. Do not use GNU make specific rules in {panel-plugin,src}/Makefile.am and remove some trailing spaces in lib/Makefile.am. 2009-07-29 jeromeg Use my Xfce adress everywhere. 2009-07-08 jeromeg Update the documentation and the README. 2009-07-07 jeromeg Fix ZimageZ login with UTF-8 characters. g_strreverse should not be used with UTF-8 strings! Also fix the error checking for the logout method, which is by the way broken (upstream has been contacted for this). 2009-07-07 jeromeg Use libsoup instead of XMLRPC-C. Add libsoup as a dependency, remove the XMLRPC-C stuff. Factorize the xmlrpc calls in lib/screenshooter-zimagez.c and add some additional error checking. 2009-07-07 jeromeg Use integers instead of strings to identify the information fields. 2009-07-05 jeromeg Fix build with full debugging. Factorise some code. The code now builds with the flags set by xfce4-dev-tools in trunk. Do not escape user and password in screenshooter-zimagez.c, it fails. Move some code to extra functions in this file. 2009-06-16 jeromeg Post release version bump. Re-add svn tag. 2009-06-14 jeromeg Merge the AUTHORS and the CONTRIBUTORS files. Update the README. 2009-06-14 jeromeg Optimize the size of the images of the documentation. 2009-06-14 jeromeg Get ready for the release. Update the manpage, the documentation version numbers. Clean the TODO file and the NEWS file. 2009-06-06 jeromeg Remove some translatable strings. Fixes distcheck. 2009-06-06 jeromeg Add English screenshots for not updated documentation translations. This allows us to have English localised screenshots in the documentation instead of missing images. Hopefully, those translations and the screenshots will be updated before the release. 2009-06-06 jeromeg Also wait one second, seems syncing is not enough. 2009-06-06 jeromeg Sync the display instead of waiting one additionnal second. 2009-06-05 jeromeg Reimplement an old workaround to fix screenshots without delay. If the delay is NULL, and under some vague conditions, there is no active window detected. Waiting 1 second before doing anything is a lame hack which fixes this issue. 2009-06-05 jeromeg Try to fix bug #5424. Destroy the main dialog before doing anything else. Normally, this will prevent this dialog from remaining displayed on the screen and being captured instead of the active window. 2009-06-03 jeromeg Add the autotools stuff for the Turkish translation. 2009-05-31 jeromeg Update Turkish translation and fix some typos in strings. 2009-05-31 jeromeg Make some strings translatable, update the image of the documentation. 2009-05-31 jeromeg Update the documentation. 2009-05-29 jeromeg Fix a crash in the panel plugin. Use sd->cli and sd->close correctly so that it does not exit the main loop when running the panel plugin which makes it crash. Simplify the code a bit and set the members of the structure correctly when initializing the application and the plugin. 2009-05-28 jeromeg Add a throbber to notify activity during the ZimageZ upload. Take KatzeThrobber from Midori and relicense it to GPL2. Thanks a lot to Christian Dywan. 2009-05-26 jeromeg Add Danish translation for the documentation (Lars Christian Jensen). 2009-05-24 jeromeg Fix a typo in a ZimageZ string, update the po files. Also update the French translation and fix a bunch of typos that got on the last update. 2009-05-24 jeromeg Make strings consistent, improve them a bit and tweak the indentation. 2009-05-24 jeromeg Escape all strings before sending them to the server. Uploading still does not work if the user, the password, the comment or the title contains a non alphanumerical caracter, but this should improve things a bit a XML expects escaped strings. Use our own error function in (cb_error). 2009-05-24 jeromeg Use a valid dialog flag for the GtkMessageDialog. 2009-05-23 jeromeg Fix the build of the ZimageZ stuff and improve the results dialog. The results dialog now uses GtkTextViews in GtkFrames instead of labels, alignments have also been added to enhance the look. 2009-05-23 jeromeg * Only build the ZimageZ stuff if the dependencies are installed. Makes libcurl and xmlrpc-c optional. 2009-05-23 jeromeg * configure.ac.in: check for libcurl, it is needed by the xmlrpc-c stuff. 2009-05-23 jeromeg * src/main.c: - save the last user when we are in CLI. - free the last user when exiting. 2009-05-23 jeromeg * lib/screenshooter-zimage.c: check if one of the fields is empty, not only the last one... 2009-05-23 jeromeg * lib/screenshooter-zimage.c, try to fix the last user issue: - set the user as data of the job. - give the string and not a pointer to the string to the job. - only accept valid utf8 strings as users. - update the last user in (cb_image_uploaded). * TODO: update the todo list. 2009-05-21 jeromeg * lib/sexy-url-label.{c,h}: mark some strings as translatable and include the libxfce4util header to have the "_" translation function. * po/POTFILES.in: add the new translatable files. 2009-05-21 jeromeg * lib/screenshooter-zimagez.c: - remove (open_zimagez_link) and use (open_url_hook) in all cases. - (cb_image_uploaded) improve the dialog by using SexyUrl labels instead of link buttons and by showing two usage examples, in HTML and in BB code. - (cb_image_uploaded) use constants for all strings. 2009-05-18 jeromeg * Improve the status dialog of the upload to ZimageZ. * Remember the last ZimageZ user name and put it in the user field when displaying the dialog for the first time. 2009-05-18 jeromeg * lib/screenshooter-dialogs.c: - (screenshooter_dialog_new) add a radio button for uploading in the actions. Indent some comments correctly. - (cb_zimagez_toggled) add a callback for the radio button. - remove some useless comments. 2009-05-18 jeromeg * lib/screenshooter-global.h: add a cli gboolean to the ScreenshotData structure. Combined with the close member of the structure, this allows to close the application or not depending on how the executable is called. * src/main.c, lib/screenshooter-actions.{c,h}: move the dialog stuff to (screenshooter_take_and_output_screenshot) which is from now on a GSourceFunc. It returns TRUE if we want to take another screenshot, else it quits the main loop and returns FALSE. It is called via g_idle_add in (main), which allows us to always have a main loop. The workaround consisting in sleep (1) before taking a screenshot seems useless now. * lib/screenshooter-zimagez.c: don't start and exit a main loop here, run the dialog instead of showing it. * panel-plugin/screenshooter-plugin.c: set the cli member of the structure to false when initializing the plugin. 2009-05-18 jeromeg * lib/screenshooter-utils.c (screenshooter_error), lib/screenshooter-job.c (screenshooter_job_ask_info): do not initialize va_list to NULL, that's wrong and useless. Thanks to Enrico Tröger. 2009-05-17 jeromeg * lib/screenshooter-zimagez.c: - (zimagez_upload_job) remove a useless cancel check before the loop. - (cb_ask_for_information) do not disconnect handlers before cancelling the job, only before destroying it. 2009-05-17 jeromeg * lib/screenshooter-utils.{c,h}: use a constant in (screenshooter_read_rc_file) and (screenshooter_write_rc_file). * src/main.c: - use a constant for the rc file. - don't save the preferences in the callback but in (main). 2009-05-16 jeromeg * lib/screenshooter-utils.{c,h}: add (screenshooter_error) which shows an error using a GtkMessageDialog. * lib/*, panel-plugin/screenshooter-plugin.c, src/main.c: - use (screenshooter_error) instead of (xfce_err). - remove some trailing white spaces. * lib/screenshooter-job.c (screenshooter_job_ask_info): add a missing return, when the job has been cancelled. * TODO: updated. 2009-05-15 jeromeg * src/main.c: - add the glib and stdlib headers. - use RETURN_SUCCESS and RETURN_FAILURE instead of 0 and 1. * lib/exo-simple-job.{c,h}, lib/exo-job.{c,h}: take the job framework from Exo written by Jannis Pohlmann. Thank you Jannis! * lib/screenshooter-job.{c,h}, lib/screenshooter-simple-job.{c,h}: ScreenshooterJob is based on ExoJob, it provides to additional signals, ask and image-uploaded. * lib/screenshooter-marshal.list: add some marshallers for the new signals. * lib/screenshooter-zimagez.{c,h}: port the existing code to use a ScreenshooterJob. Thanks to Jannis for his great help! This fixes a bunch of problems that occured with the previous implementation. The dialogs still need to be polished. * lib/screenshooter-actions.c: use the new function. * lib/Makefile.am: - add some magic to generate the marshallers. - sort the source files by alphabetical order. * configure.ac.in: bump the GThreads required version to 2.16. 2009-05-05 jeromeg * lib/screenshooter-zimagez.c: make the dialog unresizable and destroy it when we are done. Remove useless blank spaces. 2009-05-04 jeromeg * lib/sexy-url-label.{c,h}: add the sexy_url_label taken from libsexy. * lib/screenshooter-zimagez.{c,h}: - add a link to ZimageZ so that users can create an account easily. - add tooltips for the different entries. - if one of the fiels is empty when the dialog is validated, show it again and ask the user to fill all the fields. - plug some leaks and fix a double free issue. 2009-05-04 jeromeg * lib/screenshooter-zimagez.c: - (screenshooter_upload_to_zimagez): + use a GtkTable to improve the layout. + add a cancel button to the dialog. + display a warning if the password/user name was not correct when respawning the dialog. + make the labels left aligned and vertically centered to improve the look of the dialog. + tweak the layout by adding an alignment. - (screenshooter_display_zimagez_links) document this function. 2009-05-04 jeromeg * lib/screenshooter-zimagez.c: loop until the user has entered the correct user/password couple. 2009-05-02 jeromeg * lib/screenshooter-zimagez.{c,h}: - (warn_if_fault_occurred) should be static. - add some comments. - (screenshooter_upload_to_zimagez) now returns a gchar* containing the name of the uploaded image and NULL is the upload failed. - (screenshooter_display_zimagez_links) new function which shows a dialog to present the different links to the uploaded image. At the moment, plain GtkLinkButtons are used, this still needs to be improved. - (open_url_hook) hook to open the links using xdg-open. * lib/screenshooter-actions.c: - use constants where possible. - use (screenshooter_display_zimagez_links) to display the result of the upload. * lib/screenshooter-utils.{c,h}, lib/screenshooter-dialogs.{c,h}: use constants where possible. 2009-05-01 jeromeg This still needs a lot of polishment, but let's make things public. * src/Makefile.am, panel-plugin/Makefile.am: change the linking order. * lib/screenshooter-zimagez.c: - (warn_if_fault_occurred) to warn if an error occured during the XML transaction. - (screenshooter_upload_to_zimagez) to upload the screenshot. Still needs a lot of polish, but at least it works. * TODO: updated. 2009-04-19 jeromeg * src/main.c: - sort the CLI options by alphabetical order. - add an upload CLI option. - add some G_LIKELY and G_UNLIKELY macros. * lib/screenshooter-actions.c: - add some G_LIKELY and G_UNLIKELY macros. - call the upload function when the user requested it. * lib/screenshooter-utils.{c,h}: add a (rot13) function to encode the password before sending it. * lib/screenshooter-zimagez.{c,h}: two new files to support the upload of screenshots to ZimageZ.com, a free Web hosting solution. * lib/screenshooter-global.h: add the upload option. * lib/Makefile.am: add the two new files to the source. * configure.ac.in: check for xmlrpc-c, this is a bit uggly, but xmlrpc-c does not provide a .pc file... 2009-04-18 jeromeg * lib/screenshooter-utils.c: start to add G_LIKELY and G_UNLIKELY macros. * lib/screenshooter-dialogs.c: - more indentation improvements. - start to add G_LIKELY and G_UNLIKELY macros. * lib/screenshooter-capture.c: start to add G_LIKELY and G_UNLIKELY macros. * lib/screenshooter-capture.h: add the glib header. 2009-04-16 jeromeg * lib/screenshooter-actions.c: minor indentation change. * lib/screenshooter-utils.c: - minor indentation improvements. - (screenshooter_read_rc_file) only get the home uri once. * lib/screenshooter-capture.c: - minor indentation improvements. - correctly document (screenshooter_take_screenshot). 2009-04-16 jeromeg * panel-plugin/screenshooter-plugin.c: - remove the wrong XFCE_PANEL_PLUGIN_REGISTER_INTERNAL macro call, the plugin is external. - add (set_panel_button_tooltip) to simplify the code, this function sets the tooltip according to the area to be captured. - use g_spawn_command_line_async to laucnh the help window. - improve the indentation in some places. * lib/screenshooter-utils.c: - improve the indentation in some places. - (screenshooter_open_screenshot): + declare the variables at the beginning of the code block. + use g_spawn_command_line_async to launch the applications. * lib/screenshooter-dialogs.c: improve the indentation. 2009-04-12 jeromeg * src/main.c: - improve the indentation. - use g_spawn_command_line_async to launch the help. * lib/screenshooter-capture.c: fix a typo. 2009-04-12 jeromeg * xfce4-screenshooter.1: add the 'mouse' CLI option to the manpage. * lib/screenshooter-dialogs.c: - improve the indentation in some places. - use gtk_radio_button_new_with_label_from_widget to create the radio buttons. - add some missing tooltips. * lib/screenshooter-utils.h: remove a useless include. * lib/screenshooter-capture.h: add the missing unistd.h include. 2009-04-09 jeromeg Reorganise the code. * lib/screenshooter-global.h: put global structures and enumerations here. * lib/screenshooter-capture.{c,h}: move the code for capturing windows and rectangular areas here. * lib/*.{c,h}: modify the old files to use those new ones. * lib/Makefile.am: add the new files to the source files. * Update the NEWS file. 2009-04-09 jeromeg * lib/screenshooter-utils.c: try to fix bug #5204 where the cursor was not displayed at the correct location. 2009-03-30 jeromeg * CONTRIBUTORS: update the contributors list. * NEWS: update the news file. 2009-03-30 jeromeg * lib/screenshooter-dialogs.c (cb_progress_upload): - show the number of transferred Kb and the number of total Kb instead of displaying the number of remaining bytes. 2009-03-27 jeromeg * lib/screenshooter-dialogs.c: - remove some unused variables. - reduce the spacing between the two top columns. - Remove the ":" in the "After capturing:" label. - correctly set the spacing of the 'After capturing' section. 2009-03-26 jeromeg New improved interface. * lib/screenshooter-utils.{c,h}: add a close item to the ScreenshotData structure. Allows the user to choose between closing the application and taking another screenshot. * src/main.c (cb_dialog_response): implement the close stuff. * lib/screenshooter-dialogs.c: Rewrite most of the interface. - use tables to align the widgets. - use a two column layout. - add an option to close/ don't close the application after taking a screenshot. 2009-03-20 jeromeg * lib/screenshooter-dialogs.c (save_screenshot_to_remote_location): - simplify the function. - add a label saying what is happening and saying where the screenshot is being uploaded. 2009-03-20 jeromeg * lib/screenshooter-dialogs.c: add a lot of missing prototypes. 2009-03-20 jeromeg * lib/screenshooter-dialogs.c: (screenshooter_dialog_new) only set the show mouse checkbox as sensitive if "select a region" is not checked. 2009-03-19 jeromeg * lib/screenshooter-utils.c: - (get_rectangle_screenshot) use a dotted rectangle, with a 2px wide border. - (screenshooter_open_screenshot) simplify the function. - (screenshooter_get_home_uri) use g_getenv and g_get_homedir. 2009-03-15 jeromeg * Add the Italian documentation. 2009-03-14 jeromeg Fix most of the issues introduced by the previous commit. Gthread-2.0 >= 2.6.0 is now required. * configure.ac.in, src/main.c, src/Makefile.am, panel-plugin/screenshooter-plugin.c, panel-plugin/Makefile.am: add a dependence on gthread and initialize the threads at startup. * TODO: updated. * lib/screenshooter-actions.c: use the URI of the temporary directory and not its path, fixes the open with mode. * lib/screenshooter-dialogs.c: - (cb_progress_upload) add the remaining number of bytes to the progress bar. - (cb_finished_upload) add some debugging information. - (save_screenshot_to_local_path) return the save location. - (save_screenshot_to_remote_location): + tweak the layout of the progress dialog. + run the dialog AFTER starting the copy so that it does not block everything. + delete the temp file after the transfer. - (save_screenshot_to) return the save location when saving to a local destination. - (screenshooter_save_screenshot): + destroy the dialog as early as possible so that it does not block the main loop. + fix the open with mode here too. * autogen.sh: use git svn instead of git svn. 2009-03-12 jeromeg Port the saving of screenshots to GIO. Some things still need to be polished. Some things might be broken, like opening a screenshot with an application. * lib/screenshooter-utils.{c,h}: - (screenshooter_get_home_uri) simplify the function. - (screenshooter_is_remote_uri) new function to detect remote uris. * lib/screenshooter-dialogs.c: - (cb_progress_upload) new function to set the progress bar of the transfer dialog. - (cb_finished_upload) new function to report errors that could have occurred during the transfer and to close the transfer dialog when we are done. - (cb_transfer_dialog_response) new function to allow a transfer to be cancelled. - (save_screenshot_to_local_path) new function to save a screenshot to a local path. - (save_screenshot_to_remote_location) new function to save a screenshot to a remote place. It saves the screenshot to the temporary directory and copies it to the remote location. A dialog shows the progress of the transfer and offers to cancel it. - (save_screenshot_to) new function to choose between one of the two above save functions. - (screenshooter_save_screenshot) rework the function to use the functions listed above. 2009-03-09 jeromeg Start porting the application to GIO. From now on, sd->screenshot_dir is an URI to the save directory. * src/main.c (main): - don't do anything before gtk is initialized. - use a GFile for the default save directory. - fallback to the home URI if the directory stored in preferences does not exist anymore. - use GIO for the command line argument. - use xfce_err to show an error instead of g_error. * lib/screenshooter-actions.c: fallback to the home URI. * lib/screenshooter-utils.c: - (screenshooter_read_rc_file) fallback to the home URI. - (screenshooter_get_home_uri) new function to get the URI of the home folder. * lib/screenshooter-utils.h: add he prototype of the new function. * lib/screenshooter-dialogs.c: - (screenshooter_dialog_new) use uris in the gtk file chooser. - (screenshooter_save_screenshot) use uris in the gtk file chooser. - (cb_default_folder) get the uri instead of the file name. - (generate_filename_for_uri) use GFiles instead of plain paths. 2009-03-08 jeromeg Patch from Mike Massonnet. * lib/screenshooter-dialogs.c (screenshooter_dialog_new): - use "Ok" and "Cancel" buttons to make the layout cleaner. - do not display a separator to be consistent with other goodies. - improve the label of the mouse check box. - add a subtitile for the dialog. - the dialog does not need to be resizable, widgets are not resized dynamically. - tweak the spacing of the delay spin button box. 2009-03-08 jeromeg Now, when taking a region screenshot, the Escape key cancels everything. * lib/screenshooter-actions.c: don't do anything if the screenshot is NULL. * lib/screenshooter-utils.c: - include the keysim header. - (get_rectangle_screenshot): + grab the keyboard. + cancel the screenshot if escape is pressed. + return NULL if the screenshot was cancelled. 2009-03-08 jeromeg * lib/screenshooter-dialogs.c (screenshooter_dialog_new): add some padding for the new check box to separate it from the radio button group. 2009-03-08 jeromeg * lib/screenshooter-dialogs.c: - (screenshooter_dialog_new) Add a check box to show/hide the mouse pointer on screenshots. - (cb_show_mouse_toggled) Add the callback for this new check box. 2009-03-08 jeromeg * lib/screenshooter-dialogs.c (screenshooter_dialog_new): - try to make the UI a bit more intuitive by putting the directory chooser on the same line as the radio button and by saying in the save checkbox that it is possible to have no save dialog displayed. - Rename the "Take the screenshot" button to "Take" to decrease the width of the dialog. 2009-03-07 jeromeg * lib/screenshooter-dialogs.c: (screenshooter_dialog_new) make the dialog more compact by removing the "Applications" label and putting the combobox on the same line as the radio button. 2009-03-07 jeromeg * src/main.c: add a CLI option not to capture the mouse pointer. 2009-03-05 jeromeg * Fix a build problem caused by the bumping of the dependencies. * lib/screenshooter-utils.c: - (get_window_screenshot) add an argument to make the mouse capture optional. - (screenshooter_take_screenshot) ditto - read and save show_mouse in the configuration file. - update the prototypes. * lib/screenshooter-utils.h: - add a show_mouse item to the ScreenshotData structure. - update a prototype. * lib/screenshooter-actions.c: use the new functions arguments. 2009-02-26 jeromeg * Bump gtk required to 2.12. * Bump glib required version to 2.16. * Remove all previous ifdef. === 1.5.1 === 2009-02-25 jeromeg * Last minute bug fixes: - plug a remaining leak. - clean up the actions file. - fix the hide option. 2009-02-25 jeromeg * Bump the version number. * Update NEWS. * Update TODO. 2009-02-25 jeromeg * lib/screenshooter-utils.c: - (get_window_screenshot) also grab the mouse pointer. - add some additional debugging information. 2009-02-22 jeromeg * lib/screenshooter-dialogs.c: (set_default_item) do not look up for a default item if the tree is empty. 2009-02-22 jeromeg * lib/screenshooter-utils.c: add some additionnal debugging information. 2009-02-22 jeromeg * panel-plugin/: add some debugging information for the plugin. 2009-02-15 jeromeg * docs/, po-docs/, po/: add Japanese documentation and update the Japanese translation. (Hashimoto Masato) 2009-02-15 jeromeg * lib/screenshooter-actions.c: correctly set the active folder in the file chooser, this is useful when using the -s cli option. Patch by Enrico Tröger. 2009-02-08 jeromeg * configure.ac.in: add maintainer information about xml2po and xsltproc. 2009-02-08 jeromeg * docs/, po-doc, configure.ac.in: add French documentation. 2009-02-07 jeromeg * docs, po-doc: implement a docbook based help file which is now translatable through po files. Some bits are still missing. * src/xfce4-screenshooter.desktop.in.in: don't use a verb in the title. 2009-02-03 jeromeg * NEWS: updated. 2009-02-03 jeromeg * src/main.c: try to fix build without GIO. 2009-02-01 jeromeg * src/main.c: - don't display the window again after taking a screenshot, this can be annoying and/or surprising. - remove a lot of unneeded white spaces. 2009-01-22 jeromeg * src/main.c: fix a bug which displayed the header of the po files when using --help on OpenBSD. * po/: update po files, no string changes though. 2009-01-18 jeromeg * configure.ac.in: post release bump, add svn tag. === 1.5.0 === 2009-01-18 jeromeg * configure.ac.in: fix a typo in the version number. 2009-01-18 jeromeg * NEWS: set version. * configure.ac.in: get ready for a new release. * xfce4-screenshooter.1: bump version. 2009-01-13 jeromeg * panel-plugin/screenshooter-plugin.c: - (screenshooter_plugin_read_rc_file) plug a leak. - (screenshooter_plugin_write_rc_file) plug a leak. * NEWS: updated. 2009-01-13 jeromeg * Update NEWS and TODO. 2009-01-13 jeromeg Thanks to Jannis and Stephan for the C lesson! * lib/screenshooter-dialogs.c: (generate_filename_for_uri) rewritten to avoid a memory leak on each step of the loop. * lib/screenshooter-actions.c: remove two memory leaks. 2009-01-09 * src/xfce4-screenshooter.desktop.in.in, panel-plugin/screenshooter.desktop.in.in: Fix a typo in the comment, thanks to Per Kongstad (p_kongstad@op.pl). 2009-01-08 * Set svn:ignore properties correctly. 2009-01-08 * configure.ac.in: improve the autotools stuff and print the debug level when printing the configuration. 2009-01-05 * Don't use -Werror. 2009-01-05 * NEWS: updated. * TODO: updated. 2009-01-05 * doc/id: add Indonesian documentation by Andhika Padmawan. * doc/fr, doc/C: fix the markup of a title in xfce4-screenshooter.html * configure.ac.in: - add id doc. - set version number for next release. 2009-01-02 * Improve the compiler flags set. * configure.ac.in: - use @LINGUAS@ instead of copying things from po/LINGUAS manually. - set debugging as full for svn snapshots. * panel-plugin/screenshooter-plugin.c: directly use button instead of pd->button. 2009-01-02 * Post release bump. * Fix two compiler warnings. === 1.4.90 === 2009-01-02 * Get ready for 1.4.90: - set version name - update changelog - bump xfce4-panel dependecy to 4.4 - update README with the new website - update copyrights for new year - remove -Werror warning 2008-12-29 jeromeg * Rename the application to xfce4 screenshooter in all places. 2008-12-29 jeromeg * README: updated. 2008-12-29 jeromeg * Fix bug 4748: - remove (cb_current_folder_changed). - don't connect the signal in (screenshooter_save_screenshot). * NEWS: updated. 2008-12-28 jeromeg * Fix a bunch of compilation warnings. 2008-12-28 jeromeg * lib/screenshooter-dialogs.c (screenshooter_dialog_new): improve a tooltip. 2008-12-28 jeromeg * Rename "mode" into "region" and "RECTANGLE" into "SELECT". 2008-12-28 jeromeg * NEWS: updated. 2008-12-28 jeromeg * src/main.c: - only read the preferences file once when using the application. - check if the directory name stored in the preferences still exists before trying to use it. * lib/screenshooter-actions.c: set home as the default folder for the file chooser, only use sd->screenshot_dir when we don't show the save dialog. This should be more transparent for the user. 2008-12-20 jeromeg * NEWS: updated. * doc/C: improve some details. 2008-12-20 jeromeg * doc/{C,fr}/xfce4-screenshooter.html: update and improve the doc. 2008-12-20 jeromeg * xfce4-screenshooter.1: update the manpage. * doc/C/xfce4-screenshooter.html: add the new CLI options to the documentation. 2008-12-20 jeromeg * src/main.c: - add a CLI option to open the screenshot with an application. - add a CLI option to take the screenshot of a region. - set a warning string as translatable. - update the description of the CLI options. - use screenshooter_take_and_output_screenshot 2008-12-20 jeromeg * src/main.c (cb_dialog_response): only sleep one second if mode is not rectangular selection. 2008-12-20 jeromeg * doc/C/images: update the screenshot. * doc/C/xfce4-screenshooter.html: - update with the new options - apply a patch by David Mohr to improve some parts. 2008-12-16 jeromeg * Forgot to update the tooltip for the panel button... 2008-12-16 jeromeg * lib/screenshooter-dialogs.c (screenshooter_dialog_new): - improve the tooltip for the "Select a region" - split strings so that they are not too long, makes the code easier to read. * po/: update-po. 2008-12-15 jeromeg * lib/screenshooter-dialogs.c: - (cb_fullscreen_screen_toggled) remove some obsolete code. - (screenshooter_dialog_new) mark "Application:" as translatable. 2008-12-14 jeromeg * CONTRIBUTORS: updated. * TODO: add some items. 2008-12-14 jeromeg * lib/screenshooter-utils.c: (get_window_screenshot) don't crash when we are in active window mode and NULL is returned as the active window. The root window should not be unrefed ! 2008-12-13 jeromeg * lib/screenshooter-dialogs.c: change a few strings. * Update the desktop files. * po/: update po. 2008-12-13 jeromeg * lib/screenshooter-utils.{c,h}: add RECTANGLE mode, based on David Collins patch. * lib/screenshooter-dialogs.c: update the dialog for the new mode, patch by David Collins. * panel-plugin/screenshooter-plugin.c: update the tooltips for the new mode. * NEWS: updated. 2008-12-12 jeromeg * lib/screenshooter-dialogs.c: change a string and add a subtitle for the preferences dialog of the plugin. * panel-plugin/screenshooter.desktop.in.in: change the name of the desktop file. 2008-12-07 jeromeg * doc/: improve the English and the French documentation. 2008-12-07 jeromeg * doc/C/: first try for the english doc completed. 2008-12-06 jeromeg * doc/C/: Start english documentation 2008-12-06 jeromeg * lib/screenshooter-dialogs.c: add help button to the dialog. * src/main.c: rework the managing of the dialog response and a support for the help button. * panel-plugin/screenshooter-plugin.c: add support for help button. 2008-12-06 jeromeg * doc/fr/: update the french translation. 2008-12-06 jeromeg * lib/screenshooter-dialogs.c: improve a few strings. 2008-12-05 jeromeg * doc/fr/xfce4-screenshooter.html: add the CLI options and the panel plugin stuff. 2008-12-05 jeromeg * Add the autotools stuff to install the documentation. 2008-12-05 jeromeg * po/fr.po: update French translation. * doc/: initial draft of documentation. 2008-12-04 jeromeg * lib/screenshooter-utils.c: - remove all X code, in particular find_toplevel_window. Instead, use a combination of gdk_window_get_toplevel and gdk_window_get_frame_extents. This should fix some remaining crashes with "BadWindow" error. - detect the area to screenshot after the delay, rather than before. * src/main.c: add a comment. * configure.ac.in: remove x11proto-core build dependency. * NEWS: updated. 2008-12-03 jeromeg * lib/screenshooter-dialogs.c: ifdef the tooltips stuff, because it's only available with gtk 2.12. 2008-12-01 jeromeg * lib/screenshooter-dialogs.c: - indent the code correctly. - add some more detailed comments. - show an error dialog when saving the screenshot failed. * NEWS: updated. 2008-12-01 jeromeg * lib/screenshooter-dialogs.c: use a custom button instead of the stock ok button to be more precise on the action of this button. 2008-12-01 jeromeg * src/main.c: fix the saving of preferences when no screenshot has been taken, the code to determine the save location remained in an incorrect place. 2008-12-01 jeromeg * src/main.c: check for GTK_RESPONSE_OK instead of something != GTK_RESPONSE_CANCEL. * lib/screenshooter-dialogs.c: - (set_default_item) set first item as active if no item was found, change the prototype. - (screenshooter_dialog_new) use the new set_default_item, don't set the first item as active without updating sd->app. Fixes the opening of screenshots with the first item of the combobox. 2008-12-01 jeromeg * src/main.c: Show the dialog again after taking a screenshot, the application is exited when the user presses the Cancel Button. 2008-11-30 jeromeg * Make a few strings consistent. 2008-11-30 jeromeg * Update NEWS file. * xfce4-screenshooter.1: remove preferences CLI option. 2008-11-30 jeromeg * src/main.c: - remove preferences CLI option , the application can set the default save folder now. - fix the rc file mess. Use xfce_resource_lookup and xfce_resource_save_location so that folders get created if they don't exist. Thanks to Nick Schermer for helping. * lib/screenshooter-utils.{c,h}: - remove the dir_only option in (screenshooter_read_rc_file). * lib/screenshooter-dialogs.{c,h}: - remove (screenshooter_preferences_dialog). * lib/screenshooter-actions.c: - don't hardcode "/tmp", use g_get_tmp_dir () instead. * panel-plugin/screenshooter-plugin.c: - use new syntax for screenshooter_read_rc_file. 2008-11-28 jeromeg * lib/screenshooter-dialogs.c: - (cb_show_save_dialog_toggled) set show_save_dialog correctly. - (screenshooter_dialog_new) initiate the checkbox correctly. 2008-11-28 jeromeg * Fix the ChangeLog encoding. * lib/screenshooter-dialogs.c: - remove a prototype that was not used. - (screenshooter_dialog_new): + add some tooltips. + also show the save box for the application. + fix the default state of some widgets as suggested by David Collins. 2008-11-25 jeromeg * lib/screenshooter-dialogs.c: - merge the save checkbox and the default save location filechooser to a single line. - remove some unused variables. * panel-plugin/screenshooter-plugin.c: update the tooltips. 2008-11-25 jeromeg * lib/screenshooter-dialogs.c: - improve the dialog. - improve some strings. 2008-11-25 jeromeg * lib/screenshooter-dialogs.c: - set icon size to 16 for the combobox. - add (cb_save_toggled_sensi) to set to items insensitive when not toggled. Add callback using this function. - improve indentation. - improve the paddings of the layout a little bit. - put the default save location before the checkbox. - select the first item of the combobox when creating it. 2008-11-24 jeromeg * CONTRIBUTORS: - create a contributors list. - add David Collins. 2008-11-24 jeromeg * lib/screenshooter-utils.c: - re-add "none" application, fixes the segfault in the plugin dialog. * lib/screenshooter-dialogs.c (screenshooter_dialog_new): - add a "Application:" label. - Improve the layout. - the "Default save location" label should not be bold. 2008-11-23 jeromeg * lib/screenshooter-actions.c: fix Open with mode. * lib/screenshooter-dialogs.c: - Start to rewrite the dialog code on the basis of a patch by David Collins. - Remove frames. - Add alignments. - Add copy to clipboard function. - The layout still needs to be tweaked. - The dialog for the plugin crashes at the moment, I'll fix this later. 2008-11-22 jeromeg * lib/screenshooter-utils.{c,h}: - fix includes - cleanup prototypes - (screenshooter_copy_to_clipboard) Partially apply a patch by David Collins to add copying to clipboard possibility. - add post screenshot actions in the ScreenshotData struct, in (screenshooter_read_rc_file) and in (screenshooter_write_rc_file) (Patch by David Collins). - remove all references to "none" application. * lib/screenshooter-dialogs.{c,h}: - remove all references to none application. - remove (cb_combo_active_item_set_sensitive). - remove "none" item from (add_item). * lib/screenshooter-actions.{c,h}: - added to manage post screenshot actions. * lib/Mafile.am: add new source files. * lib/libscreenshooter.h: include screenshooter-actions.h. * src/main.c, panel-plugin/screenshooter-plugin.c: - use (screenshooter_take_and_output_screenshot). 2008-11-16 jeromeg * lib/screenshooter-utils.c, lib/screenshooter-dialogs.c - update some code comments. - move (screenshooter_save_screenshot) to the dialogs file. - move (generate_filename_for_uri) and the callbacks to the dialogs file. 2008-11-16 jeromeg * lib/screenshooter-utils.c: - fix indentation in some places. - Update the code comments. - (get_active_window) move the active window detection here. - (get_window_screenshot) move the screenshot grabbing of windows here. - (screenshooter_take_screenshot) use the two functions above. 2008-11-15 jeromeg * lib/screenshooter-utils.c: - (screenshooter_take_screenshot) Use gnome-screenshot technic, grab the screenshot on the root window, to also take things such as menus. 2008-11-15 jeromeg * po/: update-po. 2008-11-15 jeromeg * Review strings in desktop files and source files. * Add -Werror again. * src/main.c: Use "V" for version, instead of "v". * configure.ac.in: set version to 1.4.0.1. 2008-11-15 jeromeg * Post release bump. === Version 1.4.0 === 2008-11-15 jeromeg * Get ready for 1.4.0 release. 2008-11-15 jeromeg * configure.ac.in: bump version. * src/Makefile.am, lib/Makefile.am, panel-plugin/Makefile.am: - Remove -Werror. * lib/screenshooter-dialogs.c: - (screenshooter_dialog_new) fix build with --disable-maintainer-mode. === 1.3.9.3 === 2008-11-14 jeromeg * Prepare another release candidate... 2008-11-14 jeromeg * lib/screenshooter-utils.c: fix build on some configurations. 2008-11-13 jeromeg * Post release bump === 1.3.9.2 === 2008-11-13 jeromeg * src/main.c: - (main) destroy the widget instead of hiding it. - (main) set the dialog window type hint. 2008-11-12 jeromeg * lib/screenshooter-dialogs.c - (cb_combo_active_item_set_sensitive) add to make save_button insensitive when an application is selected. - (screenshooter_dialog_new) add a callback to the function above, set the sensitiveness when creating the checkbox. 2008-11-12 jeromeg * lib/screenshooter-utils.c: - (screenshooter_take_screenshot) rework the window grabbing to try to fix bug 4601. * src/main.c (main) try to fix 4601: - hide the dialog instead of destroying it. - sync the display before taking the screenshot. - ugly, wait 1 second before taking the screenshot. 2008-11-09 jeromeg * Post release bump. * NEWS: add a missing item. === 1.3.9.1 === 2008-11-09 jeromeg * configure.ac.in : get ready for 1.3.9.1. * xfce4-screenshooter.1: bump version number. 2008-11-05 jeromeg * lib/screenshooter-dialogs.c (add_item): - Move the detection of the icon theme out of the if-else. - Fallback to the "exec" icon if no icon was found for an application. 2008-11-05 jeromeg * src/main.c, panel-plugin/screenshooter-plugin.c: - If no application is selected to open the screenshots, show the save dialog as usual. If an application is selected, save the screenshot in /tmp without showing the save dialog, and open it with the application. The user will then be able to do what he wants to do with the picture, and to save it where he wants using the application. - don't leak screenshot_path when GIO is not present on the system. * NEWS: updated 2008-11-05 jeromeg * Add svn tag. * Fix the version mess. * lib/screenshooter-utils.c: - (screenshooter_read_rc_file) apply a patch by Enrico Troger to fix a crash. * lib/screenshooter-dialogs.c: - plug a leak in (cb_default_folder) and in (cb_combo_active_item_changed). === 1.3.9.0 === 2008-11-04 jeromeg * Fix make distcheck. * Update-po. * Get ready for a beta release. 2008-11-04 jeromeg * Make sure that all the open with stuff is ifdef'ed. 2008-11-04 jeromeg * Add missing comments in the code and improve indentation in some places. 2008-11-03 jeromeg * configure.ac.in: Display build options. * lib/screenshooter-dialog.c: - (cb_combo_active_item_changed) Fix prototype and do not free sd->app as it makes the plugin segfault. * lib/screenshooter-utils.c: - (screenshooter_open_screenshot) Display the error with xfce_err if any. * src/main.c: free sd->app when exiting. * panel-plugin/screenshooter-plugin.c: - (free_data) free sd->app when exiting. - (cb_button_clicked) implement open with stuff. * TODO: updated. 2008-11-03 jeromeg * TODO: updated. * lib/screenshooter-utils.h: add define for default application. * lib/screenshooter-utils.c: - (screenshooter_read_rc_file) read the default application. - (screenshooter_write_rc_file) write the default application. - (screenshooter_open_screenshot) only open if app != "none". * lib/screenshooter-dialogs.c: - add a define for icon size. - (set_default_item) added to select the correct item of the combobox when displaying the interface. - (add_item) use the icon size define. - (populate_liststore) add the "none" item on the top of the liststore. - (screenshooter_dialog_new) add a call to set_default_item. 2008-11-02 jeromeg * lib/screenshooter-dialogs.c: - (cb_combo_active_item_changed) free sd->app before setting the new value. - (add_item) free path, unref file and icon, correctly free names. 2008-11-01 jeromeg * lib/screenshooter-dialogs.c, Implement the Open with stuff: - add (cb_combo_active_item_changed), (add_item) and (populate_liststore) to manage the combobox stuff. - (screenshooter_dialog_new): add the combobox and set signals. * Only build the open with stuff if gio is available. 2008-10-28 jeromeg * lib/screenshooter-utils.{c,h}: - modify (screenshooter_save_screenshot) so that it returns the save location. - start implementing (screenshooter_open_screenshot) to open screenshots with a given application. * src/main.c: - if an application has been chosen, open the screenshot after taking it. 2008-10-28 jeromeg * lib/screenshooter-utils.{c,h}: add the "screenshooter_" prefix before (take_screenshot) and (save_screenshot). * src/main.c: use the new function names in (main). * panel-plugin/screenshooter-plugin.c: - use new function names. - add a missing prototype. - clean the indentation of prototypes. - add a "cb_" before all callback functions names. - use a "screenshooter_plugin_" prefix for other functions. 2008-10-28 jeromeg * src/xfce4-screenshooter.desktop.in.in: change the item name. * po/: - update-po. - update French translation. 2008-10-22 jeromeg * Reorganisation of the code structure: - move the generic code to /lib - move the panel stuff to /panel-plugin/ - keep the main application in /src * lib/screenshooter-utils.{c,h} : - move the preferences file stuff here. * src/main.c: save the button's state and load it on startup. 2008-10-18 jeromeg * src/Makefile.am: install desktop file for the main application. * src/xfce4-screenshooter.desktop.in.in: desktop file for main application. 2008-10-15 jeromeg * src/main.c: destroy the dialog before taking the screenshot of the active window, we don't want to get a screenshot of the dialog... * src/screenshooter-dialogs.c: don't show the save options and the default folder chooser for the main application. * src/screenshooter-utils.c: don't leak GdkWindows when falling back to fullscreen. 2008-10-12 jeromeg * src/screenshooter-dialogs.{c,h} - (screenshooter_dialog_new) Add an argument to create the preferences dialog for the plugin. - add prototypes for internal functions. * src/screenshooter-plugin.c: - (screenshot_properties_dialog) Use the code from screenshooter-dialogs.c. - remove all the obsolete callbacks. * src/main.c: - (main) Use new arguments for screenshooter_dialog_new. - (main) Don't declare variables in the middle of a block. * src/screenshooter-utils.{c,h}: fix various indentation incoherences. * src/Makefile.am: - Add screenshooter-dialogs.{c,h} to the plugin source. 2008-10-12 jeromeg * src/screenshooter-dialogs.{c,h}: - new file to handle the different dialogs. * src/main.c: - include screenshooter-dialogs.h - (main) move the dialog for the preferred directory to screenshooter-dialogs.c - (main) if no CLI option is given, show a dialog to set options and take a screenshot. * src/screenshooter-plugin.c: fix indentation of a function. * configure.ac.in: - hardcode the dependence on libxfcegui4. - add japanese to the list of translations. * src/Makefile.am: add libxfcegui4 flags. * NEWS: updated. 2008-10-05 jeromeg * NEWS: updated. * src/main.c: add a fullscreen CLI option, the goal is to provide an interface to take a screenshot with chosen option when calling the executable without any cli options. * xfce4-screenshooter.1: add new CLI option. 2008-10-05 jeromeg * NEWS: updated and fixed identation. * configure.ac.in: added the new translations. 2008-10-05 jeromeg * Plug some leaks detected by Gauvain Pocentek: - src/main.c: in (main), free sd->screenshot_dir before setting the new value from command line. - src/screenshooter-utils.c: in (save_screenshot), free filename before getting the user set filename. 2008-10-04 jeromeg * Partially refactor the code: - screenshooter-utils.{c,h}: - simplify some variable names. - use an enum for screenshot modes. - (take_screenshot) and (save_screenshot) do not depend anymore on the backend. - main.c: - updated to use the new functions and structs' variables. - move some code from (main) to (screenshooter_preferences_dialog). - screenshooter-plugin.c: - updated to use the new functions and structs' variables. - use cb_ callbacks names rather than funky ones. 2008-10-02 jeromeg * src/screenshooter-utils.c: in (take_screenshot), don't crash when taking a screenshot of of the desktop when xfdesktop does not display desktop icons, null pointer... * NEWS: updated. 2008-09-20 jeromeg * src/main.c: - (main) plug some leaks with the dir and screenshot_dir. - (main) don't use screenshot_dir to store the dirname, it should be done with sd->screenshot_dir. * NEWS: updated. 2008-09-19 jeromeg * icons/*: add some default icons for the applet taken from the Rodent icon theme. * configure.ac.in: updated to generate makefiles for icons. * AUTHORS: add credit to the Rodent icon theme, not sure it's the right place to do so, but it's better than nothing. * NEWS: updated. 2008-09-14 jeromeg * src/{main.c, screenshooter-utils.c}: Use applets-screenshooter icon for preferences dialog and save dialog. * NEWS : updated. 2008-08-23 jeromeg * configure.ac.in: post release bump. 2008-08-23 jeromeg === 1.3.2 === * src/screenshooter-utils.c: - (cb_current_folder_changed): new function to update the filename. - (save_screenshot): updated to use cb_current_folder_changed. * NEWS: updated. * configure.ac.in: get ready for new release. 2008-08-19 jeromeg * src/*: use a #define to set the default save directory. 2008-08-19 jeromeg * src/*: - comment all code - clean identation - plug some leaks of GdkPixbuf. * NEWS: updated. 2008-08-16 jeromeg * xfce4-screenshooter.1: bump version for future release. * configure.ac.in: ditto. * src/Makefile.am: build with -Werror * NEWS: updated. 2008-08-16 jeromeg * src/screenshooter-utils.c: - do not g_free screenshot_dir when reading conf file, as we need it after. - improve identation. 2008-08-16 jeromeg * src/screenshooter-utils.c: - ported to use mostly gdk functions. - BUGFIX: when the active window is the desktop, instead of returning a corrupted snapshot of the background image, return the whole desktop view. - drop get_window_property and screenshot_find_active_window which are now useless. - improve indentation of code. * src/screenshooter-utils.h: - remove some useless #includes. * configure.ac.in: add svn tag that I had forgotten. * NEWS: updated. 2008-08-15 jeromeg * src/screenshooter-plugin.c: - improve indentation. - use tooltips if gtk >= 2.12 * NEWS: updated. 2008-08-15 jeromeg * src/*: plug a LOT of stupid leaks ! 2008-07-17 jeromeg === 1.3.1 === * NEWS: updated. * configure.ac.in: get ready for new realease. 2008-07-16 jeromeg * src/main.c: g_build_filename should be NULL terminated ! Fixes the warning. 2008-07-16 jeromeg * src/main.c: partially fix -s switch when using relative path. An obscure warning "Error stating file..." is still shown but it should work fine. 2008-07-15 jeromeg * src/main.c: revert one of the last change which does not work. 2008-07-15 jeromeg === 1.3.0 === * NEWS, README: updated. * configure.ac.in: get ready for new release. * xfce4-screenshooter.1: update version. 2008-07-11 jeromeg * src/main.c: - add a CLI option to set the directory where screenshots are saved. - add a CLI option and a rc file to save a default save folder using a dialog. * src/screenshooter-utils.c: do not show full filename in save dialog. * xfce4-screenshooter.1: update manpage for the new CLI options. 2008-07-09 jeromeg * src/*: remove obsolete copyrights. * src/screenshooter-utils.{c,h}: - move the ScreenshotData structure here. - port take_screenshot to use ScreenshotData. - write a generic save_screenshot function using ScreenshotData. - BUGFIX: generate_filename_for_uri now outputs the whole filename with its base. Fixes saving of screenshots without showing the save dialog. * src/screenshooter-plugin.c: - ported to use the new code. - remove some obsolete code. * main.c: - port code to use ScreenshotData. - add a CLI option to save screenshots without showing a save dialog. * autogen.sh, configure.ac.in: remove some useless things, update a few others. * xfce4-screenshooter.1: update manpage for the new CLI option. * screenshooter.desktop.in.in: remove deprecated encoding key. 2008-07-08 jeromeg * src/screenshooter-plugin.c: - separate screenshot data and plugin data. - port code to use the two different structures. - fix some resulting crashes. 2008-07-05 jeromeg * src/*, po/POTFILES.in: bugfix, make filename translatable. 2008-06-29 jeromeg * src/screenshooter-plugin.c: - set better var names - fix indentation - partially comment the code 2008-06-27 jeromeg === 1.2.0 === * NEWS, README: updated for new release. * configure.ac: remove svn tag, fix the manpage stuff to have make distcheck working. 2008-06-27 jeromeg * src/Makefile.am: enable -Wall * src/{main.c, screenshooter-utils.{c,h}}: fix gcc warnings except one... * BUGFIX: fix infinite loop in generate_filename_for_uri ! 2008-06-27 jeromeg * src/screenshooter-utils.c: clean generate_filename_for_uri using g_access. 2008-06-20 09:19 jeromeg * NEWS: updated. 2008-06-20 08:59 jeromeg * src/screenshooter-plugin.c: make labels bold and aligned to the left. * po/: - make update-po. - update French translation. 2008-06-19 19:30 jeromeg * src/screenshooter-plugin.c: - add a default save location to the preferences dialog. - update the code to use this new default. * src/main.c: save screenshots in home by default. * po/: make update-po. 2008-06-19 16:46 jeromeg * po/: - make update-po. - updated French translation. 2008-06-19 15:09 jeromeg * src/screenshooter-plugin.c: - rewrite the preferences dialog - change default delay to 0. 2008-06-18 18:12 jeromeg * src/screenshooter-plugin.c: remove some code that seems to be useless. * NEWS: updated. 2008-06-18 17:08 jeromeg * src/xfce4-screenshooter.1: add manpage (thanks to Debian). * Makefile.am: install the manpage. 2008-06-17 21:50 jeromeg * src/screenshooter-utils.h: add unistd.h include to fix build with gcc-4.3 (thanks to Lionel Le Folgoc). 2008-06-17 12:37 jeromeg * NEWS: update for new release. * configure.ac.in: remove svn tag. 2008-06-17 11:52 jeromeg * COPYING: added the GPL2 text. * autogen.sh, configure.ac.in: - added some magic of sarts to have the svn versions generated. - cleaned the versions stuff 2008-06-10 09:17 jeromeg * po/: update po files. * src/screenshooter.c: improve a string. 2008-06-08 00:15 jeromeg * src/main.c: Add an executable with cli options to take screenshots, thanks to Ristretto for the nice example ! * Modify autotools, makefiles and locale files to build it, thanks to Gauvain Pocentek. * src/screenshooter-utils.h: Add some headers to fix build warnings. * README: update with executable cli options * NEWS: update 2008-06-06 19:19 jeromeg * Move the code to a src/ folder and remove the panel-plugin one. * src/screenshooter-utils.{c,h}: moved generic code here. * src/screenshooter.c: updated to use the generic code. * Update the makefiles and autotools to use new code structure. 2008-06-06 15:35 jeromeg * panel-plugin/screenshooter.c: - remove deprecated function. - set button sensitive at the end of the screenshot procedure. 2008-06-06 15:19 jeromeg * panel-plugin/screenshooter.c: - new behaviour (fullscreen or active window screenshot). - fix delay - fix file saving (cancel now works, based on debian patch). - button made insensitive while screenshot is taken. * configure.ac: added x11-proto-core to build deps. * README: updated. 2008-05-18 18:25 mmassonnet * Fix GCC warnings and bug with delay (Patch from Jerome Guelfucci) * Drop automated file INSTALL 2007-06-06 23:00 dbl * Fallback to Screenshot.png on "Cancel" (debbug#420242) 2006-09-11 18:51 nick * Apply Patch from Enrico Troger to enable i18n.