1 2007-05-11 Lin Ma <Lin.Ma (a] Sun.COM> 2 3 * src/snap-dialog.c: (snapshot_rollback_cb), (snapshot_create_cb): 4 * src/volume-ext.c: (gnome_vfs_volext_rollback): Fixed rollback 5 recursively error. 6 7 2007-05-11 Lin Ma <Lin.Ma (a] Sun.COM> 8 9 * src/snap-dialog.c: (show_warning_messeage), (show_error_message), 10 (snapshot_list_clear), (snapshot_reload_cb), 11 (snapshot_rollback_cb), (response_dialog), (snapshot_clone_cb), 12 (snapshot_create_cb), (snapshot_destroy_cb), 13 (snapshot_list_remove_selected_row), 14 (snapshot_list_update_selected_row), (snapshot_rename_cb), 15 (button_vbox_init), (snapshot_list_dialog_init), 16 (snapshot_list_dialog_delete), (snapshot_list_dialog_add_item), 17 (snapshot_list_dialog_show): 18 * src/snap-dialog.h: 19 * src/snapshot-manager.c: (file_data_ready_cb), 20 (snapshot_ext_update_file_info), (promote_clone), (snapshot_list), 21 (is_vfs_dataset), (snapshot_ext_get_file_items), 22 (snapshot_ext_get_background_items): 23 * src/volume-ext.c: (gnome_vfs_volext_clone_snapshot), 24 (gnome_vfs_volext_promote), (dump_dds), (zfs_callback), 25 (gnome_vfs_volext_get_data_from_mountpoint): 26 * src/volume-ext.h: 27 Supported ZFS rollback, clone, promote. But some detail 28 things like rollback recursively, the reference clone/promote 29 to snapshot should be included and enhanced. 30 31 2007-05-10 Lin Ma <Lin.Ma (a] Sun.COM> 32 33 * src/misc.c: (dir_case_cmp): Get rid of compiling warnings. 34 * src/snap-dialog.c: (snapshot_create_cb), (create_frame), 35 (tree_view_init), (button_vbox_init), (snapshot_list_dialog_new), 36 (snapshot_list_dialog_show): Fix bugs of creating snapshots and 37 tree view. 38 * src/snap-dialog.h: snapshot_list_dialog_new is updated 39 * src/snapshot-manager.c: (file_data_ready_cb), 40 (snapshot_ext_update_file_info), (snapshot_list): Get rid of 41 some warnings. 42 * src/volume-ext.c: (gnome_vfs_volext_get_dir), 43 (gnome_vfs_volext_rename): Fixed bugs. 44 * src/volume-ext.h: 45 46 2006-12-26 Simon Zheng <simon.zheng (a] sun.com> 47 48 * src/snap-dialog.c (snapshot_list_dialog_add_item): 49 * src/volume-ext.c (gnome_vfs_volext_get): 50 * src/volume-ext.h: 51 Add one column to display REFERENCED property in dialog. 52 53 2006-12-26 Simon Zheng <simon.zheng (a] sun.com> 54 55 * src/snap-dialog.c (snapshot_list_dialog_add_item): 56 Fix the issue that creation time can't be displayed correctly. 57 Use localtime_r() and strftime() instead. 58 59 2006-12-19 Simon Zheng <simon.zheng (a] sun.com> 60 61 * src/snap-dialog.c: Delete some unuseful comments. 62 63 2006-12-18 Simon Zheng <simon.zheng (a] sun.com> 64 65 * src/Makefile.am: Enable "make dist" to include all the header 66 files source. 67 68 2006-12-14 Simon Zheng <simon.zheng (a] sun.com> 69 70 * src/snap-dialog.c: 71 Use gtk_button_new_from_stock() instead of gtk_button_new(). 72 73 2006-12-13 Alvaro Lopez Ortega <alvaro (a] sun.com> 74 75 * autogen.sh (PKG_NAME): Fixed. 76 77 * src/Makefile.am (libnautilus-test): Renamed to libnautilus-zfs 78 79 2006-12-13 Simon Zheng <simon.zheng (a] sun.com> 80 81 * src/snap-dialog.c: 82 * src/volume-ext.c: 83 * src/snapshot-manager.c: 84 * src/volume-ext.h: 85 Complete this protype. 86 Enable the following functions to work, creating, destroying, 87 renaming snapshots. 88 89 2006-12-13 Simon Zheng <simon.zheng (a] sun.com> 90 91 * src/snap-treestore.[hc]: Delete these two files. 92 93 2006-12-13 Simon Zheng <simon.zheng (a] sun.com> 94 95 * src/snap-tree.[hc]: Delete these two files. 96 97 2006-12-13 Lin Ma <Lin.Ma (a] Sun.COM> 98 99 * src/volume-ext.c: (gnome_vfs_volext_create_snapshot): Changed the 100 interface, returns the pointer of dataset rather than a boolean value. 101 Returns NULL, if failed. 102 * src/volume-ext.h: 103 104 2006-12-13 Lin Ma <Lin.Ma (a] Sun.COM> 105 106 * src/misc.h: Change the Mark format. 107 * src/snap-dialog.c: (snapshot_destroy_cb), 108 (snapshot_list_dialog_add_item): 109 * src/volume-ext.c: (gnome_vfs_volext_destroy_snapshot), 110 (gnome_vfs_volext_get), (gnome_vfs_volext_rename): fix destroy snapshot 111 112 2006-12-11 Lin Ma <Lin.Ma (a] Sun.COM> 113 114 * src/volume-ext.c: (gnome_vfs_volext_rename): Updated the ExtDataSet 115 structure after it is called. The interface isn't be changed. 116 * src/volume-ext.h: Added some comments. 117 118 2006-12-07 Lin Ma <Lin.Ma (a] Sun.COM> 119 120 * src/volume-ext.c: (gnome_vfs_volext_get_name), 121 (gnome_vfs_volext_get): 122 * src/volume-ext.h: gnome_vfs_volext_get_name returns a new alloc 123 string. gnome_vfs_volext_get retrives some props. 124 125 2006-12-07 Lin Ma <Lin.Ma (a] Sun.COM> 126 127 * src/volume-ext.c: (gnome_vfs_volext_new_dataset), 128 (gnome_vfs_volext_free_dataset), (gnome_vfs_volext_log), 129 (gnome_vfs_volext_rollback), (snapshot_callback), 130 (gnome_vfs_volext_create_snapshot), 131 (gnome_vfs_volext_destroy_snapshot), (gnome_vfs_volext_clone), 132 (zfs_callback), (gnome_vfs_volext_get_data_from_mountpoint), 133 (gnome_vfs_volext_get_name), (gnome_vfs_volext_rename): 134 * src/volume-ext.h: Added interfaces for manage snapshots. 135 136 2006-12-05 Lin Ma <Lin.Ma (a] Sun.COM> 137 138 * src/snap-list.c: (snapshot_list_sync_cb), (snapshot_list_sync), 139 (snapshot_list_show), (snapshot_list_cmp), (snapshot_list_init), 140 (snapshot_list_new), (snapshot_list_delete): 141 * src/snap-list.h: Added two files to display snapshots for a specific 142 volume. 143 * src/snapshot-manager.c: (list_snapshot_cb), (snapshot_list), 144 (snapshot_ext_get_file_items): 145 * src/volume-ext.c: (snapshot_callback), 146 (gnome_vfs_volext_list_snapshots), (zfs_callback), 147 (gnome_vfs_volext_get_data_from_path): 148 * src/volume-ext.h: Add callback data for snapshot iterator. 149 150 2006-12-04 Lin Ma <Lin.Ma (a] Sun.COM> 151 152 * src/snapshot-manager.c: (file_data_ready_cb), 153 (file_call_when_ready), (snapshot_ext_update_file_info), 154 (is_volume), (snapshot_ext_get_file_items), 155 (snapshot_ext_get_background_items), (snapshotmanager_finalize), 156 (snapshotmanager_instance_init): 157 * src/volume-ext.c: (gnome_vfs_volext_log), 158 (gnome_vfs_volext_init), (gnome_vfs_volext_fini), 159 (gnome_vfs_volext_rollback), (snapshot_callback), 160 (gnome_vfs_volext_list_snapshots), 161 (gnome_vfs_volext_create_snapshot), 162 (gnome_vfs_volext_destroy_snapshot), (gnome_vfs_volext_clone), 163 (gnome_vfs_volext_is_snapshot_aware), (zfs_callback), 164 (gnome_vfs_volext_get_data_from_path), 165 (gnome_vfs_volext_free_dataset), 166 (gnome_vfs_volext_get_display_name), (gnome_vfs_volext_rename): 167 * src/volume-ext.h: 168 Renamed to another namespace. Added some codes. 169 170 2006-11-30 Lin Ma <Lin.Ma (a] Sun.COM> 171 172 * src/Makefile.am: Added misc.[hc]. 173 * src/main.c: (nautilus_module_initialize): Print extension 174 information. 175 * src/misc.c: (dir_case_cmp): Added a function to compare two 176 names of directories. 177 * src/misc.h: Added macro MARK for debugging. 178 * src/snapshot-manager.c: (file_data_ready_cb), 179 (snapshot_ext_update_file_info), (snapshot_ext_cancel_update), 180 (is_volume), (snapshot_ext_get_file_items), 181 (snapshot_ext_get_background_items), (snapshotmanager_finalize), 182 (snapshotmanager_instance_init): Getting information should be in 183 snapshot_ext_get_file_items, modify UI should be in ***_items. 184 * src/volume-ext.c: (gnome_vfs_volume_init), 185 (gnome_vfs_volume_fini), (zfs_callback), 186 (gnome_vfs_volume_get_data_from_path), 187 (gnome_vfs_volume_free_data): Using MARK. Add the support to get ZFS 188 data from a directory name. 189 * src/volume-ext.h: Include some header files. 190 191