[Goodies-commits] r3745 - xfce4-notes-plugin/trunk

Mike Massonnet mmassonnet at xfce.org
Mon Dec 24 00:01:07 CET 2007


Author: mmassonnet
Date: 2007-12-23 23:01:07 +0000 (Sun, 23 Dec 2007)
New Revision: 3745

Modified:
   xfce4-notes-plugin/trunk/ChangeLog
   xfce4-notes-plugin/trunk/NEWS
   xfce4-notes-plugin/trunk/configure.in.in
Log:
	* === Release version 1.6.1 ===
	* ChangeLog, NEWS: update files
	* configure.in.in: bump version to 1.6.1


Modified: xfce4-notes-plugin/trunk/ChangeLog
===================================================================
--- xfce4-notes-plugin/trunk/ChangeLog	2007-12-23 22:12:26 UTC (rev 3744)
+++ xfce4-notes-plugin/trunk/ChangeLog	2007-12-23 23:01:07 UTC (rev 3745)
@@ -1,5 +1,71 @@
+2007-12-23  Mike Massonnet <mmassonnet at xfce.org>
+
+	* panel-plugin/panel-plugin.c(notes_plugin_free): Correctly unref ThunarVfs
+
+2007-12-23  Mike Massonnet <mmassonnet at xfce.org>
+
+	* panel-plugin/notes.h: Add delete boolean on NotesNote.  Declare
+	  notes_window_get_note_by_name outside.  Add interactive delete
+	  function for a window.
+	* panel-plugin/notes.c(notes_window_delete),
+	  panel-plugin/notes.c(notes_window_destroy),
+	  panel-plugin/notes.c(notes_window_menu_new): Separate interactive
+	  delete out from _destroy.
+	* panel-plugin/notes.c(notes_window_get_note_by_name): Return the
+	  pointer of a NotesNote by comparing its name.
+	* panel-plugin/notes.c(notes_window_fs_event),
+	  panel-plugin/notes.c(notes_note_new): Set a boolean "delete" to
+	  TRUE or FALSE.  It keeps the CPU cycles lower when it comes to
+	  refresh the NotesNote.  The fs event on NotesPlugin takes care of
+	  the refresh.
+	* panel-plugin/notes.c(notes_note_destroy): Read the id from the
+	  GSList or it breaks the delete process of the NotesNote if the Tab
+	  doesn't have the focus.
+	* panel-plugin/panel-plugin.c(notes_plugin_get_window_by_name):
+	  Returns the NotesWindow po
+
+2007-12-23	Mike Massonnet <mmassonnet at xfce.org>
+
+	* configure.in.in, panel-plugin/Makefile.am, panel-plugin/notes.c,
+	  panel-plugin/notes.h, panel-plugin/panel-plugin.c: Add file system
+	  monitoring.
+
+2007-12-23	Mike Massonnet <mmassonnet at xfce.org>
+
+	* panel-plugin/notes-window.*: Delete old files from VCS.
+
+2007-12-23	Mike Massonnet <mmassonnet at xfce.org>
+
+	* README: Polish a bit the readme
+
+2007-12-23	Mike Massonnet <mmassonnet at xfce.org>
+
+	* panel-plugin/xfce4-popup-notes.c: Check for GTK version.
+
+2007-10-29	Mike Massonnet <mmassonnet at xfce.org>
+
+	* panel-plugin/notes.c: Add some comments around a bit
+
+2007-10-29	Mike Massonnet <mmassonnet at xfce.org>
+
+	* panel-plugin/notes.c: Rename functions around title press/release
+
+2007-10-27	Mike Massonnet <mmassonnet at xfce.org>
+
+	* panel-plugin/notes.c(notes_window_start_move),
+	  panel-plugin/notes.c(notes_window_timeout_start_move),
+	  panel-plugin/notes.c(notes_window_timeout_start_move_destroy),
+	  panel-plugin/notes.c(notes_window_new_with_label): Delay the start_move
+	  window a bit (1OOms) with a timeout, and kill it on-release.
+
+2007-10-24	kelnos
+
+	* configure.in.in: remove trailing parens on AC_INIT version info to work
+	  around bug in intltool 0.35.x and 0.36.x
+
 2007-10-10  Mike Massonnet <mmassonnet at gmail.com>
 
+	* === Release 1.6.0 ===
 	* ChangeLog, README, NEWS: Update files.
 	* configure.in.in: Add comment.
 	* panel-plugin/panel-plugin.c(notes_plugin_message_received),

Modified: xfce4-notes-plugin/trunk/NEWS
===================================================================
--- xfce4-notes-plugin/trunk/NEWS	2007-12-23 22:12:26 UTC (rev 3744)
+++ xfce4-notes-plugin/trunk/NEWS	2007-12-23 23:01:07 UTC (rev 3745)
@@ -1,5 +1,21 @@
-VERSION 1.5.0
+VERSION 1.6.1
 
+- Add file system monitoring.
+  This is how it works:
+    - Create a new window: mkdir ~/.local/share/notes/my-notes
+    - Delete a window: rmdir ~/.local/share/notes/my-notes
+                    or rm -rf ~/.local/share/notes/my-notes
+    - Refresh the notes from a window: touch ~/.local/share/notes/my-notes
+  You can't create new notes inside a window like this, because some editors
+  creates/deletes many files on the fly.  The only solution here is to edit
+  your notes, and then run the command `touch`.  But that's just some geeky
+  code which will never be used, indeed I mostly enjoined to play with
+  ThunarVfs.  The notes are reloaded if their data is modified.
+- Update the README
+- Bugfixes
+
+VERSION 1.6.0
+
 - Initial code rewrite for multiple window support and a better way
   to save the notes
 - A window is a directory and contains each note as a file
@@ -8,6 +24,13 @@
 - Select the windows through a menu attached to the panel button
 - Most features are backported to this new code base, and new features
   are font per window and opacity of windows.
+- To migrate your notes from earlier version you can run this:
+WINDOW_NAME="Notes (migrate)" && mkdir -p \
+~/.local/share/notes/$WINDOW_NAME && grep '^note[0-9]*=' \
+~/.config/xfce4/panel/notes.rc | cut -d= -f2- | split -l 1 -d - \
+~/.local/share/notes/$WINDOW_NAME/ && for notes in \
+~/.local/share/notes/$WINDOW_NAME/* ; do echo -e $(cat $notes) > $notes \
+; done
 
 
 VERSION 1.4.1

Modified: xfce4-notes-plugin/trunk/configure.in.in
===================================================================
--- xfce4-notes-plugin/trunk/configure.in.in	2007-12-23 22:12:26 UTC (rev 3744)
+++ xfce4-notes-plugin/trunk/configure.in.in	2007-12-23 23:01:07 UTC (rev 3745)
@@ -9,7 +9,7 @@
 
 m4_define([xfce4_notes_plugin_version_major], [1])
 m4_define([xfce4_notes_plugin_version_minor], [6])
-m4_define([xfce4_notes_plugin_version_micro], [0])
+m4_define([xfce4_notes_plugin_version_micro], [1])
 m4_define([xfce4_notes_plugin_version_nano], [])
 m4_define([xfce4_notes_plugin_version_build], [r at REVISION@])
 m4_define([xfce4_notes_plugin_version_tag], []) # Leave empty for releases




More information about the Goodies-commits mailing list