Skip to content
Snippets Groups Projects
ChangeLog 47.2 KiB
Newer Older
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).

	* 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.

Jerome Guelfucci's avatar
Jerome Guelfucci committed
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.

Jerome Guelfucci's avatar
Jerome Guelfucci committed
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.

Jerome Guelfucci's avatar
Jerome Guelfucci committed
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.	

Jerome Guelfucci's avatar
Jerome Guelfucci committed
2009-04-09 jeromeg

	* 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.
Jerome Guelfucci's avatar
Jerome Guelfucci committed
2009-04-09 jeromeg

	* lib/screenshooter-utils.c: try to fix bug #5204 where the cursor
	  was not displayed at the correct location.
	* 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

	* 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.
	* 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.
	* 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.
	* Add the Italian documentation.
	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.
	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.
	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.
	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.
	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.
	* lib/screenshooter-dialogs.c (screenshooter_dialog_new): add some
	  padding for the new check box to separate it from the radio button
	  group.
	* 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.
	* src/main.c: add a CLI option not to capture the mouse pointer.
	* 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. 
	* Bump gtk required to 2.12.
	* Bump glib required version to 2.16.
	* Remove all previous ifdef.
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.
	* lib/screenshooter-utils.c: add some additionnal debugging information.
	* panel-plugin/: add some debugging information for the plugin.
	* docs/, po-docs/, po/: add Japanese documentation and update the
	  Japanese translation. (Hashimoto Masato)
	* 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.
	* configure.ac.in: add maintainer information about xml2po and
	  xsltproc.
	* docs/, po-doc, configure.ac.in: add French documentation.
	* 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.
Jerome Guelfucci's avatar
Jerome Guelfucci committed
2009-02-03 jeromeg

2009-02-03 jeromeg

	* src/main.c: try to fix build without GIO.
Jerome Guelfucci's avatar
Jerome Guelfucci committed
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.
Jerome Guelfucci's avatar
Jerome Guelfucci committed

	* 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.
2009-01-18 jeromeg

	* configure.ac.in: fix a typo in the version number.
Jerome Guelfucci's avatar
Jerome Guelfucci committed
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.
Jerome Guelfucci's avatar
Jerome Guelfucci committed
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.
	* 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).
	* Set svn:ignore properties correctly.
	* configure.ac.in: improve the autotools stuff and print the debug
	  level when printing the configuration.
2009-01-05

Jerome Guelfucci's avatar
Jerome Guelfucci committed
2009-01-05

	* NEWS: updated.
	* TODO: updated.
	* 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.
	* 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.
	* Post release bump.
	* Fix two compiler warnings.
Jerome Guelfucci's avatar
Jerome Guelfucci committed
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.
Jerome Guelfucci's avatar
Jerome Guelfucci committed
2008-12-29 jeromeg

Jerome Guelfucci's avatar
Jerome Guelfucci committed
2008-12-29 jeromeg

	* Fix bug 4748:
	  - remove (cb_current_folder_changed).
	  - don't connect the signal in (screenshooter_save_screenshot).
	* NEWS: updated.
Jerome Guelfucci's avatar
Jerome Guelfucci committed

2008-12-28 jeromeg

	* Fix a bunch of compilation warnings.
2008-12-28 jeromeg

	* lib/screenshooter-dialogs.c (screenshooter_dialog_new): improve a
	  tooltip.
	* Rename "mode" into "region" and "RECTANGLE" into "SELECT".
Jerome Guelfucci's avatar
Jerome Guelfucci committed
2008-12-28 jeromeg

Jerome Guelfucci's avatar
Jerome Guelfucci committed
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.
Jerome Guelfucci's avatar
Jerome Guelfucci committed

Jerome Guelfucci's avatar
Jerome Guelfucci committed
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.
	* xfce4-screenshooter.1: update the manpage.
	* doc/C/xfce4-screenshooter.html: add the new CLI options to the
	  documentation.
Jerome Guelfucci's avatar
Jerome Guelfucci committed
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
Jerome Guelfucci's avatar
Jerome Guelfucci committed

	* src/main.c (cb_dialog_response): only sleep one second if mode is not
	  rectangular selection.
	* 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.
	* Forgot to update the tooltip for the panel button...
	* 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.
	* CONTRIBUTORS: updated.
	* TODO: add some items.
	* 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 !
	* lib/screenshooter-dialogs.c: change a few strings.
	* Update the desktop files.
	* po/: update po.
	* 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.
	* 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.
	* doc/: improve the English and the French documentation.
	* doc/C/: first try for the english doc completed.
2008-12-06 jeromeg

	* doc/C/: Start english documentation
Jerome Guelfucci's avatar
Jerome Guelfucci committed

	* 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.
	* doc/fr/: update the french translation.
	* lib/screenshooter-dialogs.c: improve a few strings.
	* 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.
	* 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.
	* 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.
	* lib/screenshooter-dialogs.c: use a custom button instead of the
	  stock ok button to be more precise on the action of this button.
	* 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.
	* 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.
	* 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.
Jerome Guelfucci's avatar
Jerome Guelfucci committed
2008-11-30 jeromeg

	* Update NEWS file.
	* xfce4-screenshooter.1: remove preferences CLI option.
Jerome Guelfucci's avatar
Jerome Guelfucci committed
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.
Jerome Guelfucci's avatar
Jerome Guelfucci committed

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.
Jerome Guelfucci's avatar
Jerome Guelfucci committed
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.
	* 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.
	* 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).
Jerome Guelfucci's avatar
Jerome Guelfucci committed

	* 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.