~ubuntu-branches/ubuntu/maverick/gnome-mount/maverick

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
==================== 0.8 ====================

2008-04-16  David Zeuthen  <davidz@redhat.com>

	* NEWS: Update for 0.8 release.

2008-04-16  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c: Ensure that eject works even when giving
	a drive (e.g. /dev/sdb) instead of a volume (e.g. /dev/sdb1).
	Fixes #526308.

2008-04-16  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (get_password): Mention the partition number
	in the unlock encrypted data dialog.

2008-04-07  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (main): Don't bring up a passphrase dialog
	if the underlying HAL interface is locked.

2008-02-25  David Zeuthen  <davidz@redhat.com>

	* configure.in: Bump version to 0.8. Get rid of libgnomeui
	dependency. Require recent glib and nautilus versions if building
	the Nautilus extension.

	* src/Makefile.am:
	* src/gnome-mount-properties-view.[ch]:
	* src/gnome-mount-properties.c: Port to new nautilus extensions
	API. Avoid debug spew.

	* src/gnome-mount.c: Fix crasher when unreffing a toplevel; use
	gtk_widget_destroy() instead. Avoid lots of debug spew.

==================== 0.7 ====================

2007-10-11  David Zeuthen  <davidz@redhat.com>

	* NEWS: Update for release

2007-10-11  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount-properties.c: Avoid printing out drive and
	volume pointers

2007-10-11  David Zeuthen  <davidz@redhat.com>

	Resolve https://bugzilla.redhat.com/show_bug.cgi?id=296821

	* src/gnome-mount.c (show_error_dialog_mount): avoid showing a
	dialog for the InterfaceLocked exception.

	* MAINTAINERS: Add this file

2007-08-13  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (attempt_to_gain_privilege): Update to
	new PolicyKit-gnome D-Bus API as it was changed in this
	commit http://gitweb.freedesktop.org/?p=users/david/PolicyKit-gnome.git;a=commit;h=3898bff3829a7441856654b118ff4f86af6940eb

2007-07-25  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c: Avoid showing an useless error dialog for
	org.freedesktop.Hal.Device.PermissionDeniedByPolicy if the user
	can't or won't authenticate using the PolicyKit dialog.

2007-07-25  David Zeuthen  <davidz@redhat.com>

	* configure.in: bump version to 0.7

	* src/gnome-mount.c: If HAL throws the exception
	org.freedesktop.Hal.Device.PermissionDeniedByPolicy, then attempt
	to use the org.gnome.PolicyKit D-Bus service to gain the
	privilege. Perhaps this should be configurable. Screenshots here:
	http://people.freedesktop.org/~david/pk-gnome-unmount.png
	http://people.freedesktop.org/~david/pk-gnome-mount.png

2007-04-18  Wouter Bolsterlee  <wbolster@svn.gnome.org>

	* src/gnome-mount.c: (get_password): Fix typo in
	user-visible string. Fixes bug #403861.

==================== 0.6 ====================

2007-04-10  David Zeuthen  <davidz@redhat.com>

	* NEWS, README: Updated for 0.6 release

2007-03-04  David Zeuthen  <davidz@redhat.com>

	Bug #390201.

	* gnome-mount.schemas.in: Default to shortname=lower for vfat

2007-03-04  David Zeuthen  <davidz@redhat.com>

	Handle NTFS volumes more in a nicer way. This is bgo #394947.

	* src/gnome-mount.c (volume_mount): Respect new option
	fstype_override

	* gnome-mount.schemas.in: Introduce settings for ntfs-3g fs driver
	and make 'ntfs' redirect to 'ntfs-3g' by default.

2007-02-26  David Zeuthen  <davidz@redhat.com>

	From: 	Jani Monoses <jani.monoses@gmail.com>
	To: 	David Zeuthen <davidz@redhat.com>
	Subject: 	Re: gnome-mount libgnomeui dep
	Date: 	Tue, 13 Feb 2007 00:07:04 +0200 (Mon, 17:07 EST)

	It took me a while but I got around today to get he translations
	from libgnomeui over. Here's a patch that updates to latest
	libgnomeui which saw some changes to the password
	-dialog (password quality measuring UI), and a po/*.po diff
	generated by grepping in libgnomeui translations and adding them
	in gnome-mount. I have skipped the 3 translations (it, sv, en_GB)
	which already had bits form gnome-password-dialog translated. As
	today was string freeze in GNOME afaik, there will be no more
	changes in libgnomeui before 2.18.

	* src/copy-paste/gnome-password-dialog.[ch]: Updated

2007-01-31  David Zeuthen  <davidz@redhat.com>

	Patch from Joe Marcus Clarke <marcus@FreeBSD.org>

	* src/gnome-mount-properties-view.c: Include
	libgnomevfs/gnome-vfs-utils.h to fix a missing prototype leading
	to a crash on 64-bit platforms. Add FreeBSD support

	* src/gnome-mount-properties.c: Include gtk/gtk.h to fix a missing
	prototype leading to a crash on 64-bit platforms Add a missing
	element to a struct which fixes a compiler warning

	* src/gnome-mount.c : Add FreeBSD support

2007-01-11  David Zeuthen  <davidz@redhat.com>

	Patch from Jani Monoses <jani.monoses@gmail.com> to not require
	libgnomeui so gnome-mount works better with XFCE. Translations
	will be copy-pasted soon

	* configure.in: bump version to 0.6; remove libgnomeui dependency

	* src/copy-paste: Import GnomePasswordDialog from libgnomeui

==================== 0.5 ====================

2006-09-19  David Zeuthen  <davidz@redhat.com>

	* NEWS, README: Updated for 0.5 release

2006-09-19  David Zeuthen  <davidz@redhat.com>

	* configure.in: Require HAL 0.5.8.1 or later

2006-09-19  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (show_error_dialog_mount): Don't put up a dialog
	when HAL doesn't support the Mount() method on a volume. Without this
	patch we'd show this dialog if we, for one reason or another, failed
	to detect the fs in HAL.

2006-09-13  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (volume_unmount, volume_eject): Don't put
	up notification dialog when unmounting, ejecting volumes mounted
	read only or stemming from cdrom drives.

2006-09-13  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c: Ugh, libnotify 0.3 on Fedora does not define
	the symbols NOTIFY_EXPIRES_NEVER and NOTIFY_EXPIRES_DEFAULT. So
	defined them if they're not defined. Enhance mount and unmount
	dialogs with some details. Take two new options --connect-crypto
	and --disconnect-crypto.

2006-09-13  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c: Change "put away" to "removed". Suggestion by
	robtaylor freenode IRC channel #hal.

2006-09-13  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (unmount_cache_timeout_func)
	(unmount_cache_timeout_start, unmount_cache_timeout_cancel): Fix
	wording and change the notification to "The device is safe to
	remove" + default timeout, when the device is safe to remove.
	This idea from John (J5) Palmieri <johnp@redhat.com>.

2006-09-13  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c: Don't use default timeout for any D-Bus
	functions. Always use MAX timeout. This is because e.g. Unmount()
	might take many many seconds to complete.
	(show_error_dialog_no_media): Fix untranslated string.
	(volume_mount_with_options): Also add extra_options to already
	found options.
	(unmount_note_close_func, unmount_cache_timeout_func)
	(unmount_cache_timeout_start, unmount_cache_timeout_cancel)
	(unmount_done): New functions.
	(volume_unmount, volume_eject): Make the call D-Bus call async and
	put up a libnotify notification saying something along the lines
	of "There is data that needs to be written to the media before the
	drive can be safely removed"
	(main): Initialize libnotify if we're using UI. Take new
	parameter --extra-mount-options.

	* src/Makefile.am: Use NOTIFY_CFLAGS and NOTIFY_LIBS

	* gnome-mount.1.in: Document new option --extra-mount-options

	* configure.in: Use libnotify unless explicitly disabled

2006-08-29  Jeffrey Stedfast  <fejj@novell.com>

	* src/gnome-mount.c (crypto_setup_timeout): Return FALSE. Fixes
	'control reaches end of non-void function' compile error.

2006-08-06  Jovan Naumovski  <jovan@lugola.net>

	* po/mk.po: Added Macedonian translation.

2006-07-20  Nguyễn Thái Ngọc Duy <pclouds@gmail.com>

	* configure.in: Added "vi" to ALL_LINGUAS.

2006-07-19  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "sv" to ALL_LINGUAS.

2006-07-17  David Zeuthen  <davidz@redhat.com>

	OK, finish up first cut of a working Nautilus Extension. Now you can
	configure the Drive and Volume settings from the UI. Needs UI review
	and probably some work in cleaning on the UI bits.

	* configure.in: Build Nautilus Extension by default

	* src/gnome-mount-properties-view.c:
	(gm_properties_view_dispose): Clean up keydir
	(get_keydir): New function
	(mount_point_entry_changed): New function
	(fstype_entry_changed): New function
	(mount_options_entry_changed): New function
	(populate_ui_from_gconf): New function
	(canonicalize_filename): New function
	(resolve_symlink): New function
	(mtab_open): New function
	(mtab_next): New function
	(mtab_close): New function
	(gm_properties_view_set_info_volume): Rewrite
	(gm_properties_view_set_info_drive): Rewrite
	(gm_properties_view_init): Post pone reading XML from glade file

	* src/gnome-mount-properties-view.h: Rework some prototypes

	* src/gnome-mount-properties.c:
	(gmp_properties_get_pages): Rework

	* src/gnome-mount-properties.glade: Totally rework

	* src/gnome-mount.c:
	(erase_settings): drive_details and volume_details are no longer used
	(write_settings): -do-
	(display_settings): -do-

2006-07-16  David Zeuthen  <davidz@redhat.com>

	Make gnome-mount read settings from gconf and add a simple 
	commandline interface for tweaking settings. Also write a
	manual page.

	* Makefile.am: Add rules for building man pages
	
	* configure.in: Add rules to generate gnome-mount.1
	
	* gnome-mount.1.in: Man page
	
	* gnome-mount.schemas.in: Add default mount options in
	/system/storage/default_options/fsname/mount_options for vfat, 
	iso9660, udf and ntfs
	
	* src/gnome-mount.c: 
	(show_error_dialog_mount): Add GtkExpander to error dialog
	(volume_mount): Read settings from HAL legacy properties (GNOME 
	bug #345546), gconf and the command line.
	(volume_unmount): Remove trailing period in debug output
	(erase_settings): New function, to erese settings is gconf from the
	command line
	(write_settings): New function, to write settings is gconf from the
	command line
	(display_settings): New function, to display settings is gconf from
	the command line
	(main): New options: --mount-point, --mount-options, --fstype,
	--write-settings, --display-settings, --erase-settings

2006-06-20  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (volume_mount_with_options): Handle the
	exception MountPointNotAvailable and try with another mount
	point. This exception is new in HAL 0.5.8 since the semantics of
	HAL changed to throw this exception instead of just choosing an
	available mount point with -%d appended.

2006-06-20  David Zeuthen  <davidz@redhat.com>

	A little patch that makes gnome-mount usable again on
	Solaris. Patch from Artem Kachitchkine
	<artem.kachitchkin@sun.com>.

	* src/gnome-mount.c:
	(get_mntent_mount_point): New function
	(volume_mount_with_options): Move a chunk of code into new
	function get_mntent_mount_point()
	(main): Solaris specific changes for resolving symlinks.

2006-06-20  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (volume_mount): fstype can be NULL. Bug
	#340113.

2006-06-18  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (fstab_open, fstab_next, fstab_close) 
	(is_in_fstab): New functions
	(volume_mount): Use mount(1) directly if device is in /etc/fstab
	(volume_unmount): -do-
	(volume_eject): -do-

2006-03-01  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (show_error_dialog_mount)
	(volume_mount_with_options): Don't segfault when volume ==
	NULL. Fixes RH #183191
	(main): Free the drive, not the volume (from mclasen@redhat.com)

2006-02-24  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (main): Ugh, allow mounting of drives HAL
	cannot poll.

2006-02-24  David Zeuthen  <davidz@redhat.com>

	* configure.in: post-release bump to 0.5

==================== 0.4 ====================

2006-02-24  David Zeuthen  <davidz@redhat.com>

	* NEWS: Update for 0.4

2006-02-24  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (main): Bail out early if we cannot resolve
	the pseudonym

2006-02-24  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (main): Print package version at
	startup. Fixup detection of whether we got --device, --hal-udi,
	--pseudonym. Print out what we resolve the pseudonym to.

2006-02-23  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c: Clean up logging and actually use the verbose
	flag. Make gnome-mount et. al. work on the commandline, ie. text
	mode, e.g. when we don't have an X11 display. Includes asking for
	crypto passwords on the commandline. Add option for using text
	mode. Support symlinks in --device so now e.g.  'gnome-mount
	--device /dev/disk/by-label/memstick_vo' works.

2006-02-23  David Zeuthen  <davidz@redhat.com>

	* configure.in: Don't pull in libnautilus-extension if we don't
	need it. This is used to prevent cyclic dependencies when using
	gnome-mount in a jhbuild setup (gnome-vfs depends on a pkg-config
	file from gnome-mount and nautilus depends on gnome-vfs). It also
	means we probably need to put the extension in a separate tarball
	or build gnome-mount twice...

2006-02-23  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (teardown_crypto, crypto_setup_device_added)
	(main): Use new libhal_volume_crypto* API in libhal-storage (added
	for hal 0.5.7) instead of relying on certain magic hal properties
	with 'luks' in their name.

	* src/gnome-mount-properties.c: Add an InfoProvider interface to
	add a 'lock' emblem for crypto volumes.

	* src/Makefile.am: Conditionally build the Nautilus extension. Add
	$(glade_DATA) to EXTRA_DIST.

	* configure.in: Require hal 0.5.7. Introduce the build option
	--enable-nautilus-extension and set to 'no' for the time
	being. Print whether we build the extension at the bottom.

2006-02-17  Luca Ferretti  <elle.uca@libero.it>

	* configure.in: Added 'it' (Italian) to ALL_LINGUAS.

2006-02-15  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount-properties.c, src/gnome-mount-properties.glade,
	src/gnome-mount-properties-view.[ch]: New files for a Nautilus
	extension; requires Nautilus CVS HEAD as it relies on #329426
	being fixed.

	* src/Makefile.am: Add glade files; add rules for building
	Nautilus extension

	* configure.in: Pull in deps for libnautilus-extension and
	dbus/hal. Fixup gettext detection.

	* po/POTFILES.in: Update

	* Makefile.am: Remove rules for glade file

	* gnome-mount-properties.glade: Remove

2006-02-14  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (show_error_dialog_mount): Don't show a dialog
	for AlreadyMounted because it's sorta useless and it shows up when
	two instances of gnome-mount race to mount (when mounting crypto
	devices g-v-m will notice the addition of the cleartext volume
	and invoke gnome-mount as well)
	
2006-02-14  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (get_password): Don't block when asking for
	password.
	(crypto_setup_device_added): Notify parent of whether the mount
	succeeded
	(crypto_setup_timeout): Notify parent that the mount didn't
	succeed

2006-02-13  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c: Add support for passworded media. This adds
	three niceties 

	1) when mounting the crypto volume the password dialog is spawned
	and, on correct password, we setup the cleartext volume (using
	Crypto.Setup() on HAL) and then wait until the cleartext volume
	appears. Then we mount the cleartext volume

	2) When unmounting the crypto volume, first we unmount the
	cleartext volume and then we teardown the cleartext volume (using
	Crypto.Teardown() on HAL).

	3) When unmounting the cleartext volume we also tear down this
	volume (using Crypto.Teardown() on HAL).

	* configure.in: Pull in libgnomeui and gnome-keyring-1. Require
	hal 0.5.7 (which is hal CVS HEAD at the moment)

2006-02-12  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (main): Use label of filesystem as mount point
	(volume_mount): If we get the exception
	org.freedesktop.Hal.Device.Volume.InvalidMountpoint while
	attempting to mount with a given mount point, then suck it up and
	attempt mounting without specifying the mount point. Should work
	for people using e.g.  volume.label='☠' (the pirate symbol, yarrr)
	since /media/☠ is not a valid mount point.

2006-02-09  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c: Make gnome-mount|umount|eject work on drives
	we cannot poll. Latest HAL now exports the Mount, Unmount and Eject
	methods on these drives. Use them.

2006-02-09  David Zeuthen  <davidz@redhat.com>

	Patch from Artem Kachitchkine <Artem Kachitchkin@Sun.COM>

	* src/gnome-mount.c (volume_findby, volume_from_nickname, main):
	This patch makes gnome-mount a bit easier to use for the terminal
	addicts among us. It allows to specify volumes by mountpoint (with
	or without "/media/" prefix) or by label, e.g.:
	$ gnome-mount -p "VMware Tools"
	$ gnome-eject -p cdrecorder

2006-02-07  Jeffrey Stedfast  <fejj@novell.com>

	* src/gnome-mount.c (volume_mount): Simplified by taking a
	GPtrArray rather than a linked list of mount options.
	(main): When mounting, pass a GPtrArray of mount options instead
	of a GSList. Also began implementing a way to only pass
	user-specified mount options (limited by what mount options are
	available in HAL).

2006-01-19  Takeshi AIHANA <aihana@gnome.gr.jp>

	* configure.in: Added 'ja' (Japanese) to ALL_LINGUAS.
	  (Also added 'nb',  which was already checked in :)

2006-01-18  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c: Add GPL header to source. Add error dialogs for
	unmount and eject and fix up the ones for mount.

2006-01-15  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c: Make gnome-mount not block by default and show
	error dialogs if mounting is unsuccesful. Add option --no-ui to not
	show dialogs and option --block for blocking - the latter makes
	development a bit easier.

	* configure.in: Only require GTK+, not libgnomeui for gnome-mount

2006-01-15  David Zeuthen  <davidz@redhat.com>

	* gnome-mount.pc.in: New file - other packages can now easily
	determine whether gnome-mount is available

	* Makefile.am: Setup rules for gnome-mount.pc

	* configure.in: Generate gnome-mount.pc

2006-01-14  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (main): Return non-zero on failure
	(volume_unmount): Remove debugging spew

2006-01-14  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (volume_unmount): Make a note about what errors to
	handle. Need to think about error handling and UI.

2006-01-11  David Zeuthen  <davidz@redhat.com>

	* configure.in: post-release bump to 0.4

==================== 0.3 ====================
	
2006-01-11  David Zeuthen  <davidz@redhat.com>

	* gnome-mount.schemas.in: Fix up this file to be empty at the time
	being

2006-01-11  David Zeuthen  <davidz@redhat.com>

	* configure.in: Revert back to hal >= 0.5.5 since some distros ship
	CVS snapshots that reports 0.5.5.1.cvs20060109

2006-01-11  David Zeuthen  <davidz@redhat.com>

	* configure.in: Require hal >= 0.5.6

2006-01-11  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount.c (volume_unmount): Append an empty string array
	since HAL changed the API
	(volume_eject): Same

2006-01-11  David Zeuthen  <davidz@redhat.com>

	* src/gnome-mount-properties.c (main): Attached is a patch which
	modifies the gnome-mount-properties to use the defined
	GLADE_XML_FILE to render the window as opposed to the currently
	hardcoded "../gnome-mount-properties.glade".  Also, it updates the
	referenced define from gnome-volume.properties.glade to
	gnome-mount-properties.glade. 
	Patch from Saleem A. <compnerd@gentoo.org>

2006-01-08  David Zeuthen  <davidz@redhat.com>

	* configure.in: Release 0.2

2005-12-14  David Zeuthen  <davidz@redhat.com>

	* configure.in: Release 0.1