- May 15, 2009
-
-
Jerome Guelfucci authored
- 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. (Old svn revision: 7340)
-
- May 01, 2009
-
-
Jerome Guelfucci authored
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... (Old svn revision: 7299)
-
- Apr 13, 2009
-
-
Jerome Guelfucci authored
- improve the indentation. - use g_spawn_command_line_async to launch the help. * lib/screenshooter-capture.c: fix a typo.:wq (Old svn revision: 7176)
-
- Mar 26, 2009
-
-
Jerome Guelfucci authored
* 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. (Old svn revision: 7006)
-
- Mar 14, 2009
-
-
Jerome Guelfucci authored
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. (Old svn revision: 6901)
-
- Mar 09, 2009
-
-
Jerome Guelfucci authored
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. (Old svn revision: 6875)
-
- Mar 07, 2009
-
-
Jerome Guelfucci authored
(Old svn revision: 6857)
-
- Mar 05, 2009
-
-
Jerome Guelfucci authored
* 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. (Old svn revision: 6849)
-
- Feb 26, 2009
-
-
Jerome Guelfucci authored
(Old svn revision: 6799)
-
- Feb 25, 2009
-
-
Jerome Guelfucci authored
(Old svn revision: 6792)
-
- Feb 07, 2009
-
-
Jerome Guelfucci authored
translatable through po files. Some bits are still missing. * src/xfce4-screenshooter.desktop.in.in: don't use a verb in the title. (Old svn revision: 6658)
-
- Feb 03, 2009
-
-
Jerome Guelfucci authored
(Old svn revision: 6636)
-
- Feb 01, 2009
-
-
Jerome Guelfucci authored
- don't display the window again after taking a screenshot, this can be annoying and/or surprising. - remove a lot of unneeded white spaces. (Old svn revision: 6622)
-
- Jan 22, 2009
-
-
Jerome Guelfucci authored
when using --help on OpenBSD. * po/: update po files, no string changes though. (Old svn revision: 6524)
-
- Jan 18, 2009
-
-
Jerome Guelfucci authored
(Old svn revision: 6487)
-
- Jan 09, 2009
-
-
Jerome Guelfucci authored
panel-plugin/screenshooter.desktop.in.in: Fix a typo in the comment, thanks to Per Kongstad (p_kongstad@op.pl). (Old svn revision: 6426)
-
- Jan 05, 2009
-
-
Jerome Guelfucci authored
(Old svn revision: 6406)
-
- Jan 02, 2009
-
-
Jerome Guelfucci authored
* 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. (Old svn revision: 6394)
-
Jerome Guelfucci authored
(Old svn revision: 6392)
-
Jerome Guelfucci authored
(Old svn revision: 6390)
-
- Dec 28, 2008
-
-
Jerome Guelfucci authored
(Old svn revision: 6374)
-
Jerome Guelfucci authored
(Old svn revision: 6372)
-
Jerome Guelfucci authored
- 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. (Old svn revision: 6370)
-
- Dec 20, 2008
-
-
Jerome Guelfucci authored
- 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 (Old svn revision: 6338)
-
Jerome Guelfucci authored
rectangular selection. (Old svn revision: 6337)
-
- Dec 13, 2008
-
-
Jerome Guelfucci authored
* Update the desktop files. * po/: update po. (Old svn revision: 6296)
-
- Dec 06, 2008
-
-
Jerome Guelfucci authored
* 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. (Old svn revision: 6287)
-
- Dec 04, 2008
-
-
Jerome Guelfucci authored
- 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. (Old svn revision: 6272)
-
- Dec 01, 2008
-
-
Jerome Guelfucci authored
been taken, the code to determine the save location remained in an incorrect place. (Old svn revision: 6244)
-
Jerome Guelfucci authored
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. (Old svn revision: 6243)
-
Jerome Guelfucci authored
application is exited when the user presses the Cancel Button. (Old svn revision: 6242)
-
- Nov 30, 2008
-
-
Jerome Guelfucci authored
(Old svn revision: 6237)
-
Jerome Guelfucci authored
- 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. (Old svn revision: 6235)
-
- Nov 22, 2008
-
-
Jerome Guelfucci authored
First step towards adding "copy to clipboard" functionnality. This commits may break a few things which will be fixed later. Based on the work of David Collins. * 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). (Old svn revision: 6156)
-
- Nov 15, 2008
-
-
Jerome Guelfucci authored
* Add -Werror again. * src/main.c: Use "V" for version, instead of "v". * configure.ac.in: set version to 1.4.0.1. (Old svn revision: 6111)
-
Jerome Guelfucci authored
(Old svn revision: 6105)
-
- Nov 13, 2008
-
-
Jerome Guelfucci authored
(Old svn revision: 6087)
-
- Nov 12, 2008
-
-
Jerome Guelfucci authored
(Old svn revision: 6074)
-
- Nov 05, 2008
-
-
Jerome Guelfucci authored
- 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 (Old svn revision: 5981)
-
- Nov 04, 2008
-
-
Jerome Guelfucci authored
(Old svn revision: 5967)
-