-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog-20000414
10368 lines (8364 loc) · 408 KB
/
ChangeLog-20000414
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
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2000-04-14 Raph Levien <[email protected]>
* librsvg/art_rgba.c:
librsvg/art_rgba.h:
librsvg/art_rgba_svp.c:
librsvg/art_rgba_svp.h: Added GPL copyright notice making clear
that these files are part of libart_gpl. Also made .h files
C++ friendly.
* librsvg/rsvg-bpath-util.c:
librsvg/rsvg-bpath-util.h:
librsvg/rsvg-path.c:
librsvg/rsvg-path.h:
librsvg/rsvg.c:
librsvg/rsvg.h: Added GPL copyright notice assigning copyright
to Eazel. Also made .h files C++ friendly.
* librsvg/rsvg-bpath.c: Removed this file, it's subsumed by
rsvg-bpath-util.c.
2000-04-13 Ramiro Estrugo <[email protected]>
* idl/nautilus.idl,
idl/Makefile.am,
libnautilus/nautilus-view-component.idl,
libnautilus/Makefile.am,
libnautilus/.cvsignore:
Move nautilus view component interface definition into libnautilus.
2000-04-13 Ramiro Estrugo <[email protected]>
* librsvg/.cvsignore:
.cvsignore file for new rsvg directory.
2000-04-13 Andy Hertzfeld <[email protected]>
added Raph's scalable icon machinery. Right now the only way to see it
is to use the eazel theme and drag a file over a folder; the open folder
is a vector icon. Soon we'll add lots more.
* librsvg/*
Raph's new library
* libnautilus/nautilus-icon-factory.c:
integrate vector icons with the icon factory. Right now, it prefers
them to bitmapped ones, which is probably wrong.
* Makefile.am: added librsvg
* configure.in: added librsvg
* src/Makefile.am: link with librsvg
* components/*/Makefile.am: link with librsvg
* icons/eazel/Makefile.am: added i-directory-accept.svg
* icons/eazel/i-directory-accept.svg: our sole vector icon
2000-04-13 Darin Adler <[email protected]>
* components/html/ntl-web-browser.c: (browser_vfs_read_callback):
Fixed a bug my changes to GNOME VFS exposed. The callback couldn't
handle a "bytes_read" of 0.
* libnautilus/nautilus-directory-private.h:
* libnautilus/nautilus-directory.c:
* libnautilus/nautilus-directory.h:
* src/file-manager/fm-directory-view.c:
Added a new interface for monitoring files and directories.
Also fixed the self-check code that was failing since the
async. changes.
* libnautilus/nautilus-file.h:
Added the interface for monitoring single files, but it isn't
implemented yet.
* libnautilus/nautilus-icon-canvas-item.c:
* libnautilus/nautilus-icon-canvas-item.h:
* libnautilus/nautilus-icon-container.c:
* libnautilus/nautilus-icon-container.h:
* libnautilus/nautilus-icon-dnd.c:
* libnautilus/nautilus-icon-dnd.h:
* libnautilus/nautilus-icon-private.h:
Restructured Andy's modifier changes so the canvas item doesn't
have to know about modifiers. This makes the canvas item private
again. Users of NautilusIconContainer shouldn't have to know
about the canvas item.
* src/file-manager/fm-icon-view.c:
Reformatting.
2000-04-13 Andy Hertzfeld <[email protected]>
* components/services/startup/nautilus-service-startup-view.c:
made configuration upload work again by adding a "Content-Type"
header, which is now required by Jonathan's script
2000-04-13 Andy Hertzfeld <[email protected]>
* components/services/startup/nautilus-service-startup-view.c:
fixed problems with the url escaping by unescaping the token
return by the service before re-escaping it
* components/services/startup/eazel-register.c:
added periodic call to gtk_main_iteration during configuration
gather to get feedback displayed
2000-04-13 Andy Hertzfeld <[email protected]>
added Susan's images to service registration and configuration upload
* configure.in:
added components/services/startup/icons/Makefile
* components/services/startup/Makefile.am
added icons directory to Makefile
* components/services/startup/icons/Makefile.am
Makefile for a new directory to hold the images
* components/services/startup/icons/.cvsignore
.cvsignore file for the new directory
* components/services/startup/icons/config-gather.png:
new icon for configuration gathering form
* components/services/startup/icons/register.png:
new icon for registration form
* components/services/startup/nautilus-service-startup-view.c:
added code to display the new icons
2000-04-13 Darin Adler <[email protected]>
Updated for new GNOME VFS.
* libnautilus/nautilus-directory.c
(read_some_metafile_data), (metafile_read_start),
(metafile_write_create_callback), (metafile_write_start),
(nautilus_directory_monitor_files_ref):
* libnautilus/gdk-pixbuf-extensions.c
(nautilus_gdk_pixbuf_load_async):
* src/ntl-uri-map.c (got_metadata_callback):
* components/html/ntl-web-browser.c (browser_vfs_callback),
(do_vfs_load):
Update for the new GNOME VFS which doesn't return an immediate error
code when doing an async. call.
2000-04-12 Andy Hertzfeld <[email protected]>
* src/ntl-window-msgs.c:
improved the title of uri's not handled by gnome-vfs; instead of
"Nautilus" use the text after the colon, if there is any
* components/services/startup/nautilus-service-startup-view.c:
used Gene's escaping routine in gnome-vfs to escape http
parameters as necessary
* libnautilus/nautilus-directory.c:
weakened assert in metadata callback to allow non-vfs uris to
continue to work
2000-04-12 Andy Hertzfeld <[email protected]>
* icons/eazel/Makefile.am:
added more eazel theme open folder icons at different sizes
* icons/eazel/i-directory-accept.png:
replaced this one with one that was less crufty
* icons/eazel/i-directory-accept-36.png:
new open folder icon at smaller size
* icons/eazel/i-directory-accept-72.png:
new open folder icon at larger size
2000-04-12 Pavel Cisler <[email protected]>
* src/file-manager/fm-directory-view.c:
(fm_directory_duplicate_selection), (bonobo_menu_duplicate_cb),
(append_uri_one), (duplicate_cb), (fm_directory_view_real_update_menus):
Added a Duplicate menu item. (task 329)
* src/file-manager/dfos-xfer.c:
(fs_xfer)
Added support for the duplicate command. Passing in a NULL for
target directory now starts a duplicate operation.
* src/file-manager/dfos-xfer.c:
(fs_xfer)
Made the progress dialog receive the text for the setup state. Pass
in proper text for copy and move operations.
* src/file-manager/dfos-xfer.c:
(handle_xfer_ok)
Pin the values of the bytes_copied to the preflight maximum -- a copy
may end up copying more than it estimated when items are added to
the hierarchy after the copy started. (I was hitting this when copying
a folder into itself, which is a separate bug).
2000-04-12 Andy Hertzfeld <[email protected]>
added a framework for using custom images for icons to reflect their
highlited states. Made folders in the eazel theme open up to reflect
drop highliting.
* icons/eazel/Makefile.am:
added icon for open folder at standard size
* icons/eazel/i-directory-accept.png:
icon of open folder for drop-highlighting
* libnautilus/nautilus-icon-canvas-item.c,h:
added a "modifier" text string attribute with appropriate accessors
when modifier is changed, update the icon
* libnautilus/nautilus-icon-container.c,h:
added modifier parameter to "get_icon_images" signal
added nautilus_icon_container_request_update_by_item to update
the icon corresponding to a given item.
* libnautilus/nautilus-icon-factory.c,h:
added modifier field to NautilusScalableIcon; modified appropriate
lifetime and hashing routines accordingly;
use the modifier to select the proper image in get_icon_file_path
* src/file-manager/fm-icon-view.c:
pass in the modifier from signal to icon_factory_get_icon_for_file.
2000-04-12 John Sullivan <[email protected]>
* data/mime/nautilus.keys:
A whole bunch more MIME type descriptions.
2000-04-12 Darin Adler <[email protected]>
* check-FIXME.pl: This is a new Perl script for searching for FIXME
in the code. It reports any FIXME that does not have a bug number
next to it, or any with a bug number that's not an open bug.
* libnautilus/nautilus-bookmark.c: Attached a bug number to a FIXME
for script-testing purposes.
* docs/architecture.txt: Removed a FIXME. So sue me!
* src/file-manager/fm-icon-text-window.c
(create_attributes_option_menu): Added a call to gettext since the
attribute_labels are now N_ strings.
* po/.cvsignore: Ignore the generated files.
* libnautilus/nautilus-icon-factory.c: Formatting tweak.
2000-04-12 Ramiro Estrugo <[email protected]>
* src/file-manager/fm-icon-text-window.c:
Change usage of _("foo") to N_("foo")
2000-04-12 Valek Filippov <[email protected]>
* po/POTFILES.in: added files for i18n
* configure.in:
* Makefile.am:
* aconfig.h: changed for i18n
* po/ru.po: added russian translation.
2000-04-12 Pavel Cisler <[email protected]>
* libnautilus/nautilus-icon-dnd.c:
* libnautilus/nautilus-icon-dnd.h:
Fix a problem where drag actions did't update properly when dragging
between two windows. The pointer to the private GtkDragStatus needs
to be global, not stored in the drag originator widget.
2000-04-11 Andy Hertzfeld <[email protected]>
* components/services/startup/eazel-register.c:
added hostname to configuration node to distinguish machines when
the user has more than one
* components/services/startup/nautilus-service-startup-view.c:
changed protocol for configuration upload to match Jonathans's new
cgi; configuration upload is now working with Jonathan's stuff!
2000-04-11 Darin Adler <[email protected]>
* libnautilus/nautilus-directory.c
(nautilus_directory_call_when_ready),
(nautilus_directory_call_when_ready_internal): Handle case where
directory is NULL which is needed for URIs that Nautilus
understand but GNOME VFS does not.
2000-04-11 John Sullivan <[email protected]>
Addressed most of task 148 (Better type-as-string for
directory views). Added new directory to CVS, so make
sure you do a "cvs update -d" and not just "cvs update".
"make install" now installs a file of mime-type-to-English
descriptions in the gnome-mime directory.
* data/mime/nautilus.keys: The actual mapping between
MIME types and English descriptions. Read these and send
me your abuse.
* data/mime/Makefile.am: New file, copies nautilus.keys to
gnome-mime directory.
* data/Makefile.am: includes "mime" subdirectory
* configure.in: configures "data/mime" directory
* libnautilus/nautilus-file.c:
(nautilus_file_get_mime_type_as_string_attribute):
New function, returns the raw MIME type as a string,
and handles the no-MIME-type case.
(nautilus_file_get_string_attribute): handle attribute
"mime_type", distinct from "type" which is now the
human-language one.
(nautilus_file_get_type_as_string): Use gnome-mime
to get human-language descriptions based on the MIME
type.
(nautilus_file_is_executable): Fixed this function which
was reading info->flags instead of info->permissions. Now
the special executable icon appears much more often (though
we still don't know what it's supposed to be).
* src/file-manager/fm-error-reporting.c:
(fm_report_error_renaming_file): Use "directory" instead of
"folder" to match our terminology elsewhere.
* src/file-manager/fm-icon-text-window.c:
add "mime type" to list of choices of text that can appear
beneath icons (in addition to just plain "type", which is
the human-language one).
2000-04-11 Gene Z. Ragan <[email protected]>
Requires new Bonobo.
* components/sample/nautilus-sample-content-view.c
Added icon data to BonoboUiHandler. This is GdkPixbuf
data and demonstrates the pixbuf data features
added to bonobo ui handlers.
* libnautilus/nautilus-bookmark.c
bonobo_ui_handler_menu_new_item modified to take advantage
of new bonobo ui handler pixbuf functionality. Components and
menu items can now display pixbuf data.
Added nautilus_bookmark_get_pixbuf() routine.
* libnautilus/nautilus-bookmark.h
Added nautilus_bookmark_get_pixbuf() routine.
* src/nautilus-window-menus.c
bonobo_ui_handler_menu_new_item modified to take advantage
of new bonobo ui handler pixbuf functionality.
2000-04-11 Darin Adler <[email protected]>
Finished task 226 (Read metadata asynchronously instead of
synchronously).
Requires new GNOME VFS.
* libnautilus/nautilus-directory-private.h:
* libnautilus/nautilus-directory.c:
* libnautilus/nautilus-directory.h:
Changed code to read and write metafiles async. Too many functions
modified for me to list here.
* libnautilus/nautilus-file-private.h:
* libnautilus/nautilus-file.c:
* libnautilus/nautilus-file.h:
(nautilus_file_changed), (nautilus_file_emit_changed),
(nautilus_file_get_metadata), (nautilus_file_set_metadata),
(nautilus_file_call_when_ready), (nautilus_file_cancel_callback):
Changes to NautilusFile so it can participate in the new.
* components/notes/ntl-notes.c (notes_load_metainfo):
Fixed a bug in my recent changes where it would use a bad file
object when getting metadata.
* src/file-manager/fm-directory-view.c (notes_load_metainfo):
Renamed "tags" to "keys".
2000-04-11 Andy Hertzfeld <[email protected]>
* components/rpmview/nautilus-rpmview.c:
added install, update and uninstall buttons to the package view,
that are shown/hidden based on the install state, but they don't
actually do anything yet.
2000-04-11 Darin Adler <[email protected]>
Updated for new GdkPixbuf.
* HACKING: gnome-print must be built before bonobo.
* RENAMING: New renaming ideas.
* libnautilus/nautilus-graphic-effects.c (create_new_pixbuf),
(nautilus_create_spotlight_pixbuf),
(nautilus_create_darkened_pixbuf),
(nautilus_create_colorized_pixbuf),
(nautilus_make_semi_transparent): Updated for new GdkPixbuf.
* libnautilus/nautilus-icon-canvas-item.c (pixbuf_is_acceptable):
Updated for new GdkPixbuf.
* libnautilus/nautilus-icon-container.c (icon_get_actual_size):
Updated for new GdkPixbuf.
* libnautilus/nautilus-icon-factory.c
(nautilus_icon_factory_possibly_free_cached_image): Put in a
temporary hack that allows us to keep working until we get a
suitable feature in GdkPixbuf for implementing the cache. For now,
we don't free any pixbufs ever, so the cache grows unbounded.
(load_image_for_scaling), (load_image_scale_if_necessary):
(nautilus_icon_factory_make_thumbnails), Updated for new
GdkPixbuf.
* src/nautilus-index-title (nautilus_index_title_update_icon):
Updated for new GdkPixbuf.
2000-04-11 Pavel Cisler <[email protected]>
* libnautilus/nautilus-icon-dnd.c:
* libnautilus/nautilus-icon-dnd.h:
(nautilus_icon_dnd_update_drop_target):
Determine if a drop target can accept drop, update highlight for
drop accordingly.
(nautilus_icon_dnd_update_drop_target):
Add drop highlighting for dragged items that can be accepted by a
drop target.
(nautilus_icon_canvas_item_can_accept_item):
Implement the call.
(nautilus_icon_canvas_item_can_accept_items):
Put a cap on the number of items checked as accepted by drop target
to not lock up the machine when dragging lots of items.
(nautilus_icon_dnd_modifier_based_action):
Tweak the modifier keys -- use Alt to force copy.
* libnautilus/nautilus-icon-container.c:
* libnautilus/nautilus-icon-container.h:
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-directory-view.h:
* src/file-manager/fm-icon-view.c:
(can_accept_item), (fm_directory_view_can_accept_item):
New signal -- helps figuring out if potential drop target can
accept dropped URIs. For now returns TRUE for any directory that
doesn't match the dragged item.
* libnautilus/nautilus-icon-container.c:
(item_event_callback):
Support for turning the "highlight for drop" state of an icon on/off --
during drag&drop don't let the "enter notify" signal reach the canvas item
so that the item won't get prelit.
* libnautilus/nautilus-icon-canvas-item.c:
(nautilus_icon_canvas_item_event):
Turn off highlight for drop as well as prelight on leave event.
This is a fallback in case the drag&drop for some reason leaves
the target icon highlighted for drop after a drag ends.
* libnautilus/nautilus-gtk-extensions.c:
* libnautilus/nautilus-gtk-extensions.h:
(nautilus_gtk_marshal_INT__POINTER_POINTER):
Added another binder function.
* libnautilus/nautilus-file.c:
* libnautilus/nautilus-file.h:
(nautilus_file_matches_uri): Added a utility call used to detect
a drop on self.
2000-04-10 Andy Hertzfeld <[email protected]>
* components/rpmview/nautilus-rpmview.c:
made the package view determine if a package is installed or not and display
a message accordingly. Command buttons are coming soon.
2000-04-10 Pavel Cisler <[email protected]>
Nasty hack to allow drag&drop actions to respond to modifier keys
and the drop context properly. This will one day get fixed by
adding proper hooks to Gtk+ and using them. For now we have to
do this.
* libnautilus/nautilus-icon-dnd.h:
* libnautilus/nautilus-icon-dnd.c:
(nautilus_icon_dnd_update_drop_action),
(nautilus_icon_dnd_modifier_based_action),
(nautilus_icon_dnd_get_event_actions),
(nautilus_icon_dnd_get_event_time),
(nautilus_icon_dnd_source_check_selection),
(nautilus_icon_dnd_update),
(nautilus_icon_drag_key_callback),
(nautilus_icon_dnd_begin_drag), (drag_drop_callback):
Pull in a bunch of code from gtkdnd.c. Add new call to
allow overriding drop actions based on modifiers and the drop
context. Connect the "key_press_event" and "key_release_event"
to the copied code. All this to be able to call
nautilus_icon_dnd_get_event_actions instead of the broken
and private gtk_drag_get_event_actions.
I still have to add code to change the default action based
on the drop target between copy and move based whether the
source and drop containers are the same, etc.
2000-04-10 Andy Hertzfeld <[email protected]>
* components/rpmview/nautilus-rpmview.c:
made the package view component display a scrolling list of the
constituent files in the package.
2000-04-10 Darin Adler <[email protected]>
Finished changing all callers that use metadata to use it in a way
that is compatible with async. metadata reading.
* components/notes/ntl-notes.c:
(notes_load_metainfo): Changed to use nautilus_file_call_when_ready
to wait for the metadata. Also fixed a bug that was causing an assert
inside the call to gtk_editable_insert_text.
(main): Made warnings and criticals stop in the debugger.
* libnautilus/nautilus-directory.c:
* libnautilus/nautilus-directory.h:
(nautilus_directory_call_when_ready): Renamed the call to indicate
it can wait for more than just metadata. For now it does only wait
for metadata, though.
(nautilus_directory_cancel_callback): Renamed this too.
* libnautilus/nautilus-file.c:
(nautilus_file_call_when_ready), (nautilus_file_cancel_callback):
Made a corresponding call for the metadata of a single file.
* libnautilus/nautilus-gdk-extensions.c:
* src/nautilus-index-title.c:
Formatting changes.
* libnautilus/nautilus-metadata.h:
Clarified that ANNOTATION is a per-file piece of metadata.
* src/ntl-uri-map.c:
* src/file-manager/fm-directory-view.c:
Use new names of calls.
* src/file-manager/fm-icon-view.c:
* src/file-manager/fm-list-view.c:
Added comment.
2000-04-10 Andy Hertzfeld <[email protected]>
* src/nautilus-index-title.c:
fixed bug where multi-line titles in index panel would have a big
vertical gap. Fixed by breaking out of the loop after it finds a
split point. Also, removed an unneccesary justification call.
2000-04-10 Andy Hertzfeld <[email protected]>
* components/services/startup/eazel-register.c:
added io ports to hardware configuration synopsis
2000-04-10 John Sullivan <[email protected]>
Fixed bug 377 (clipping emblems in list view looks bad
and loses information)
* libnautilus/nautilus-list.c:
(draw_row): Made it draw the ellipsis character if there's
not enough room to show all emblems.
2000-04-10 John Sullivan <[email protected]>
* libnautilus/nautilus-list.c:
(nautilus_list_initialize_class), (nautilus_list_initialize),
(select_or_unselect_row_callback), (emit_selection_changed),
(select_range), (select_row), (select_row_from_mouse),
(row_set_selected), (select_row_unselect_others),
(nautilus_list_select_all), (nautilus_list_unselect_all),
(nautilus_list_button_press), (nautilus_list_keyboard_move_to),
(nautilus_list_motion), (nautilus_list_set_selection):
Reworked selection such that the SELECTION_CHANGED signal is
emitted only once for every selection-affecting operation,
and never if the selection hasn't changed at all. This makes
such operations as Select All, switch-from-icon-view-with-lots-
selected, and arrow-key-to-end-of-list significantly faster.
2000-04-09 Andy Hertzfeld <[email protected]>
* components/services/startup/nautilus-service-startup-view.c:
now it saves the account token assigned by the service, and passes
it back in the header of subsequent requests
* libnautilus/nautilus-icon-factory.c:
fixed bug #293, thumbnails of thumbnails endlessly, by explicitly
testing for thumbnails of thumbnails as part of the criteria for
making them also, make a "snapshot" frame for thumbnails (task
295)
2000-04-09 John Sullivan <[email protected]>
Finished task 307 (keyboard navigation in list view should
use same keys/behavior as in icon view). There are a few
minor bugs remaining that I'll write up separately.
* libnautilus/nautilus-list.c:
NautilusListDetails struct: added fields for
keyboard_row_to_reveal and keyboard_row_reveal_timer_id;
(nautilus_list_initialize_class): Removed key binding set for
this class (uses key_press_event function instead); used
gtk_binding_entry_clear to get rid of all the unwanted GtkCList
key bindings; wire up key_press_event function; wire up
destroy function
(nautilus_list_destroy): New function, destroy details struct
(this was storage leak) and clean up pending timer.
(nautilus_list_clear_keyboard_focus), (nautilus_list_set_keyboard_focus),
(nautilus_list_keyboard_move_to), (keyboard_row_reveal_timeout_callback),
(unschedule_keyboard_row_reveal), (schedule_keyboard_row_reveal),
(reveal_row), (nautilus_list_keyboard_navigation_key_press),
(nautilus_list_keyboard_home), (nautilus_list_keyboard_end),
(nautilus_list_keyboard_up), (nautilus_list_keyboard_down),
(nautilus_list_keyboard_page_up), (nautilus_list_keyboard_page_down),
(nautilus_list_keyboard_space), (nautilus_list_activate_selected_items),
(nautilus_list_get_first_selected_row),
(nautilus_list_get_last_selected_row),
(nautilus_list_key_press): New functions, all the mechanism for
handling key presses similarly to NautilusIconContainer. Bonus
key handling for Page Up and Page Down.
(nautilus_list_move_focus_row), (scroll_vertical): Removed these
functions that were used by the GtkCList key bindings in favor of
nautilus_list_key_press and friends.
2000-04-07 Andy Hertzfeld <[email protected]>
* libnautilus/nautilus-icon-canvas-item.c:
inspired by John's list view underlining, the text beneath icons
is now underlined when the icon is pre-lit
2000-04-07 John Sullivan <[email protected]>
Fixed bug Andy pointed out where list view "links" could
be activated by clicking in white space past the name.
Also started making changes in the direction of getting
keyboard selection working properly in list view (but
most of the work remains).
* libnautilus/nautilus-gdk-extensions.h,
* libnautilus/nautilus-gdk-extensions.c:
(nautilus_stipple_bitmap): New function, returns pointer to
static 50% stipple bitmap.
* libnautilus/nautilus-icon-cvanvas-item.c:
remove global stipple object;
(nautilus_icon_canvas_item_initialize_class): Remove initialization
of global stipple object.
(draw_or_measure_label_text), (draw_stretch_handles): Use
nautilus_stipple_bitmap () in lieu of global stipple object
in this file.
* libnautilus/nautilus-list.c:
(get_cell_horizontal_start_position): New function, extracted
from draw_row so I could use it elsewhere.
(nautilus_list_key): Removed function.
(nautilus_list_draw_focus): New function, draws keyboard-focussed
row with the same stipple outline used in icon view.
(nautilus_list_move_function_row): New function, copied & simplified
from GtkCList. Will probably rewrite entirely or eliminate very soon.
(nautilus_list_scroll_vertical): New function, copied & simplified
from GtkCList. Handles various keyboard commands, though not yet with
the behavior we actually want.
(nautilus_list_initialize_class): Begin to override and eliminate
GtkCList key bindings that we want to change. I've just started this
work -- all I've done so far is make space do nothing but Control-space
toggle the selection status of the keyboard-focussed row. I need to
go through and fix up all the bad inherited bindings. Also in this
function replace GtkCList's scroll_vertical and draw_focus function
pointers, and removed the key_press_event and key_release_event
overrides that were deliberately preventing us from inheriting any
of GtkCList's keyboard behavior.
(nautilus_list_button_release): Only activate link-text if the click
is in the horizontal bounds of the text.
(draw_row) Use get_cell_horizontal_start_position that was extracted
from this function.
2000-04-07 Andy Hertzfeld <[email protected]>
* components/services/startup/nautilus-service-startup-view.c:
switched over to using Jonathan's prototype service, which is only
accessible from eazel's intranet for now. Registration now works with
the service.
* libnautilus/nautilus-icon-canvas-item.c:
first, simple version of drag/swallow highliting - it just darkens the
icon and emboldens the text, exactly like selection highlighting.
Pavel's going to set the flag during dragging soon, so this will help
him see what he's doing. Soon, we'll have a more elaborate approach.
2000-04-06 Andy Hertzfeld <[email protected]>
* components/services/startup/nautilus-service-startup-view.c:
made configuration upload make the HTTP request and handle errors, but still not
quite finished, since it's not passing the cookie back yet. Also, created a stub
summary page plus minor clean-ups
2000-04-06 Pavel Cisler <[email protected]>
* src/file-manager/dfos-xfer-progress-dialog.c:
* src/file-manager/dfos-xfer-progress-dialog.h:
(dfos_xfer_progress_dialog_new_file):
Pass in the current copied file index so that the progress
dialog doesn't need to get called for every file copied.
* src/file-manager/dfos-xfer.c:
(handle_xfer_vfs_error), (handle_xfer_overwrite),
(handle_xfer_duplicate), (handle_xfer_ok):
Add error handling with error alerts.
Add file overwrite alerts.
Fix up calling the progress to deal with not being
called for every single file.
* src/file-manager/dfos-xfer.c:
(dfos_xfer):
Fix a bug where the async job handle was not being set properly.
* src/file-manager/dfos-xfer.c:
* src/file-manager/dfos-xfer.h:
(file_operation_alert):
Utility alert call.
* src/file-manager/dfos-xfer.c:
* src/file-manager/dfos-xfer.h:
(fs_xfer):
New copy engine main entry.
2000-04-06 Andy Hertzfeld <[email protected]>
* components/services/startup/nautilus-service-startup-view.c:
more work to polish registration and implement configuration upload,
plus various clean-ups
2000-04-06 John Sullivan <[email protected]>
Finished task 376 (Resolve single-click behavior)
* libnautilus/nautilus-gdk-extensions.h:
#defines for colors NAUTILUS_RGB_COLOR_RED, _GREEN,
_BLUE, _WHITE, and _BLACK.
* libnautilus/nautilus-gdk-extensions.c:
(nautilus_parse_rgb_with_white_default): Replaced
hard-wired numbers with these #defines.
* libnautilus/nautilus-list.h,
* libnautilus/nautilus-list.c:
added enum entry for NAUTILUS_CELL_LINK_TEXT;
(nautilus_list_mark_cell_as_link): New functions, converts
an ordinary text cell into a link-text cell.
(nautilus_list_button_release): Only activate link-text
cells on single click; other cells select as in other lists.
(draw_row): draw link-text cells with blue text and an
underline, so they look like typical web links.
(nautilus_list_set_cell_contents): Convert link-text cell
back to ordinary text cell before cleaning up old
contents so parent function will do the right thing.
* src/file-manager/fm-list-view.c:
(add_to_list): mark file name cell as link-text cell.
(remove_from_list): New function, extracted from...
(fm_list_view_file_changed): Followed Darin's advice on
how to simultaneously clarify this code and fix a
storage leak.
For Darin, fixed a typo that caused every file to be
displayed as if it were a directory.
* src/ntl-uri-map.c:
(my_notify_when_ready): Added two missing "== 0"s.
2000-04-06 Maciej Stachowiak <[email protected]>
* src/file-manager/fm-directory-view.c
(notify_selection_change_cb, display_pending_files): Add a boolean
field have_pending_uris_selected to distinguish the case where we
have _no_ pending selection from the case where we have an empty
one (in both cases, the pending_uris_selected field should be
NULL).
2000-04-06 Darin Adler <[email protected]>
Added the hooks needed to make metafile reading asynchronous.
Next I'll change the actual metafile access to work that way.
* libnautilus/nautilus-directory.h:
* libnautilus/nautilus-directory.c:
(nautilus_directory_metadata_call_when_ready): Added function
that requests a read of some metadata and calls back when the
data is ready.
* src/ntl-app.c: (nautilus_app_startup): Got rid of call to
nautilus_navinfo_init.
* src/ntl-types.h: Moved the NautilusNavigationInfo struct
and related defines to ntl-uri-map.h.
* src/ntl-uri-map.h:
* src/ntl-uri-map.c:
Reformatted and changed the names of many functions.
Added code to use the new metadata callback.
* src/ntl-index-panel.c:
* src/ntl-main.c:
* src/ntl-view.h:
* src/ntl-window-msgs.c:
* src/ntl-window.c:
* src/ntl-window.h:
Had to change includes a bit because of my changes to what
header files are including.
* src/ntl-window-msgs.c: (nautilus_window_update_state):
* src/ntl-window.h:
Use the new nautilus_navigation_info_cancel call instead of
reaching right in to cancel the underlying call.
* src/ntl-view-private.h:
Reformatting.
2000-04-06 Darin Adler <[email protected]>
* libnautilus/nautilus-directory-background.c:
(nautilus_connect_background_to_directory_metadata):
Fixed code that was trying to disconnect the handler from the
new directory, not the old one.
2000-04-06 John Sullivan <[email protected]>
* src/file-manager/fm-list-view.c:
(fm_list_view_file_changed): Only call nautilus_file_unref if
the file isn't gone. This cures some GTK-CRITICALS I ran into.
* src/file-manager/fm-properties-window.c:
(name_field_update): Renamed to name_field_update_to_match_file;
handle case where file name was changed elsewhere.
(create_properties_window): Hook up name_field_update_to_match_file
to get called when file changes externally.
(remove_properties_window_from_hash_table): New function.
(fm_properties_window_get_or_create): Use hash table so there's
only one Properties window per file. This was intended to be the
design but we forgot to implement it earlier.
2000-04-05 Andy Hertzfeld <[email protected]>
* components/services/startup/nautilus-service-startup-view.c:
made the registration code display errors on various conditions; made it make an
HTTP request to the service cgi and give appropriate error feedback or move to
the configuration form if successful. Disabled the registration button unless something
is typed into each field.
2000-04-05 John Sullivan <[email protected]>
Fixed bug 394 (clicking Home button segfaults)
* src/ntl-window-msgs.c: (nautilus_window_update_internals):
Don't update Back list when the location hasn't actually
changed, since (A) it would be silly and (B) the code that
sets up last_location_bookmark and current_location_bookmark
doesn't work right if you do.
2000-04-05 John Sullivan <[email protected]>
Some cleanups from the file-renaming checkin I did
yesterday. The largest change was making NautilusDirectory
send "files-changed" signal instead of "files-removed"
signal when a file is removed. That way interested callers
need register only for one signal. The callers can use
nautilus_file_is_gone () to test whether the file was removed.
* libnautilus/nautilus-directory-private.h:
(nautilus_directory_files_removed): Removed function.
* libnautilus/nautilus-directory.h:
(files_removed): Removed signal definition, updated comments.
* libnautilus/nautilus-directory.c:
Removed FILES_REMOVED signal enum entry;
(nautilus_directory_initialize_class): Removed FILES_REMOVED
signal creation.
(nautilus_directory_files_removed): Removed function.
* libnautilus/nautilus-file.c:
(get_file_for_parent_directory): New private function.
(nautilus_file_can_rename): This function was quite broken in
its initial check-in. It worked only on a random basis. Now it
works quite a bit better. It should only return FALSE if it's
darn well sure that the user can't rename the file; it returns
TRUE even if it isn't sure, so clients must handle failed
renames (which they would have to anyway).
(nautilus_file_delete): Call nautilus_file_changed instead of
nautilus_directory_files_removed when file is deleted.
* src/file-manager/fm-directory-view.h:
(remove_file): Remove signal definition, update comments.
* src/file-manager/fm-directory-view.c:
remove REMOVE_FILE signal enum entry;
remove files_removed_handler_id and pending_files_removed from
Details struct;
(fm_directory_view_initialize_class): remove REMOVE_FILE signal
initialization
(display_pending_files): remove "removed" case; made "changed"
case handle updating uri table; made "changed" case send signal
even if file is gone.
(files_removed_cb): Removed function.
(fm_directory_view_load_uri): removed connection to "files_removed"
signal
(disconnect_model_handlers): removed disconnect of files_removed_handler.
* src/file-manager/fm-icon-view.c:
(fm_icon_view_remove_file): Removed function.
(fm_icon_view_initialize_class): Remove remove_file signal handler override.
(fm_icon_view_file_changed): check if file is gone and do what
fm_icon_view_remove_file used to do if so.
* src/file-manager/fm-list-view.c:
(fm_list_view_remove_file): Removed function.
(fm_list_view_initialize_class): Remove remove_file signal handler override.
(fm_list_view_file_changed): check if file is gone and do what
fm_list_view_remove_file used to do if so.
* src/file-manager/fm-properties-window.c:
(properties_window_file_changed_callback): Don't update the window title
if you just nuked the window -- Doh! Now the Properties window will
vanish silently if the file is deleted.
2000-04-05 Darin Adler <[email protected]>
Improved the background handling code so more is shared.
There's even more we could do in this direction.
* components/music/nautilus-music-view.c:
(nautilus_music_view_initialize): Got rid of redundant background
color initialization.
(nautilus_music_view_realize): Got rid of background color
initialization.
(nautilus_music_view_update_from_uri): Changed background color
handling to use new nautilus_directory_background calls.
(nautilus_music_view_background_changed): Not needed any more.
* components/notes/ntl-notes.c:
Did some cleanup and reformatting.
* libnautilus/Makefile.am:
* libnautilus/nautilus-directory-background.c:
* libnautilus/nautilus-directory-background.h:
Created a new file with functions that manage the background for
a window connected with a particular directory. Later we might
generalize it further to work for windows that are connected to
any URI, not just a directory.
* libnautilus/nautilus-directory.c:
* libnautilus/nautilus-directory.h:
Added a new "metdata_changed" signal so that the background can
be updated if the underlying data changes.
(nautilus_directory_initialize_class): Create the new signal.
(nautilus_directory_ref), (nautilus_directory_unref): Made these
functions quietly do nothing for NULL. This simplifies life for
callers.
(nautilus_directory_set_metadata): Emit the "metadata_changed"
signal.
* libnautilus/nautilus-file.c:
(nautilus_file_ref), (nautilus_file_unref): Made these
functions quietly do nothing for NULL. This simplifies life for
callers.
* libnautilus/nautilus-metadata.h:
Renamed all the constants to be consistent. Got rid of separate
constants for the icon view and list view backgrounds. Changed
some of the underlying XML tags as well.
* libnautilus/nautilus-icon-factory.c:
(nautilus_icon_factory_get_icon_for_file):
* src/nautilus-index-title.c: (nautilus_index_title_update_info):
* src/ntl-index-panel: (nautilus_index_panel_update_info),
(receive_dropped_uri_list),
(nautilus_index_panel_background_changed):
* src/ntl-uri-map.c: (set_initial_content_iid),
(add_components_from_metadata):
* src/ntl-window-msgs.c: (view_menu_switch_views_cb):
* src/file-manager/fm-icon-view.c: (add_icon_if_already_positioned),
(fm_icon_view_begin_loading), (fm_icon_view_set_zoom_level),
(fm_icon_view_icon_changed_callback):
* src/file-manager/fm-list-view.c: (fm_list_view_begin_loading),
(fm_list_view_set_zoom_level), (fm_list_view_sort_items):
Updated uses of metadata constants to use the new names.
* src/ntl-index-panel: (nautilus_index_panel_destroy),
(nautilus_index_panel_update_info):
* src/ntl-uri-map.c: (add_components_from_metadata):
* src/file-manager/fm-directory-view.c:
(fm_directory_view_destroy), (fm_directory_view_load_uri):
Used new nautilus_directory_unref to simplify code.
* src/ntl-uri-map.c: (set_initial_content_iid):
* src/ntl-window-msgs.c: (view_menu_switch_views_cb):
Added missing nautilus_directory_unref (storage leak).
* src/file-manager/fm-icon-view.c: (create_icon_container),
(fm_icon_view_background_changed_callback): Removed "changed"
signal handler on NautilusBackground since that's now handled
by the new nautilus_directory_background calls instead.
(fm_icon_view_begin_loading): Used nautilus_directory_background
to replace background customization code.
* src/file-manager/fm-icon-view.c: (fm_icon_view_get_zoom_level):
Fixed a bug where it would try to use view as an FMIconView after
the FM_IS_ICON_VIEW check failed.
* src/file-manager/fm-list-view.c: (create_list),
(fm_list_view_background_changed_callback): Removed "changed"
signal handler on NautilusBackground since that's now handled
by the new nautilus_directory_background calls instead.
(fm_list_view_begin_loading): Used nautilus_directory_background
to replace background customization code.
2000-04-05 John Sullivan <[email protected]>
Fixed bug in Ramiro's recent checkin that broke booting
if the icon theme had never been set.
* libnautilus/nautilus-icon-factory.c:
(nautilus_icon_factory_initialize_class),
(nautilus_get_current_icon_factory): Moved theme initialization
from the former to the latter, because theme needs to be non-NULL
before initialize_class is called.
2000-04-05 Darin Adler <[email protected]>
* components/services/startup/eazel-register.c:
(add_package_info):
* libnautilus/nautilus-file-utilities.c:
(nautilus_user_top_directory):
* libnautilus/nautilus-global_preferences.c:
(global_preferences_get_dialog):
* libnautilus/nautilus-icon-factory.c:
(nautilus_icon_factory_get_thumbnail_uri):
Removed unnecessary \n characters from g_warning, g_error, and