2006-12-18 Paolo Borelli <pborelli@katamail.com>
[nautilus.git] / ChangeLog-20000625
blob0bfa520bc617f39f668844dcb72e5dd2f95e0d6f
1 2000-06-25  Fatih Demir <kabalak@gmx.net>
3         * configure.in: Applied some updates to the configure.in, e.g.
4         a check for GtkHTML >= 0.4.
6 2000-06-24  John Sullivan  <sullivan@eazel.com>
8         Finished task 585 (Handle handing URI to programs that
9         can only handle local paths). After talking to Darin,
10         decided not to do some automagic local-copying in this
11         case. Instead, Nautilus detects the case and puts up an
12         alert explaining the situation instead of launching the app.
14         * libnautilus-extensions/nautilus-program-choosing.h,
15         * libnautilus-extensions/nautilus-program-choosing.c:
16         (nautilus_launch_application_parented): New function, just
17         like nautilus_launch_application but takes a parent window
18         for error dialogs. Checks whether the application can
19         handle uris and if not puts up an alert.
20         (nautilus_launch_application): Guts moved to _parented call,
21         which this now calls.
22         (nautilus_launch_application_from_command): No longer converts
23         the uri to a local path here; callers have to handle this
24         themselves if they want to.
25         * src/file-manager/fm-directory-view.c: 
26         (get_containing_window): New utility function, returns the
27         GtkWindow that the directory view is in.
28         (fm_directory_view_launch_application): Now calls new
29         nautilus_launch_application_parented.
30         (choose_program): Now calls get_containing_window.
32 2000-06-24  Pavel  <pavel@eazel.com>
34         * libnautilus-extensions/nautilus-directory-async.c:
35         (nautilus_directory_get_info_for_new_files),
36         (start_monitoring_file_list), (start_getting_file_info):
37         * components/music/nautilus-music-view.c:
38         (nautilus_music_view_update_from_uri):
39         * libnautilus-extensions/nautilus-icon-factory.c:
40         (path_represents_svg_image):
41         * libnautilus-extensions/nautilus-mime-actions.c:
42         (get_mime_type_from_uri):
43         * src/file-manager/dfos-corba.c: (convert_options):
44         * src/file-manager/fm-properties-window.c:
45         (get_property_names_from_uri):
46         * src/nautilus-applicable-views.c: (got_metadata_callback):
47         * src/nautilus-link-set-window.c: (get_link_set_names):
48         * src/nautilus-property-browser.c: (ensure_uri_is_image),
49         (make_properties_from_directory_path):
50         Switched to match new GnomeVFS renamings. 
52         * libnautilus-extensions/nautilus-directory-async.c:
53         (start_monitoring_file_list):
54         Changed to use default mime type rather than forcing the
55         fast mode.
57 2000-06-23  John Sullivan  <sullivan@eazel.com>
59         * libnautilus-extensions/nautilus-horizontal-splitter.c:
60         (nautilus_horizontal_splitter_button_release):
61         Made #defines for a couple of constants.
63 2000-06-23  John Sullivan  <sullivan@eazel.com>
65         Finished task 1007 (Should show program "match quality" in
66         "View as Other" dialog). There's now a "status" column that
67         you can sort by. It would be better if it showed some 
68         supertype info but I'm putting that off (with a bug report).
70         * libnautilus-extensions/nautilus-program-chooser.c:
71         (program_file_pair_compute_status), (program_file_pair_set_file),
72         (program_file_pair_new_from_content_view),
73         (program_file_pair_new_from_application), (program_file_pair_free),
74         (program_file_pair_get_program_name_for_display),
75         (get_supertype_from_file),
76         (program_file_pair_get_short_status_text),
77         (program_file_pair_get_long_status_text),
78         (repopulate_program_list),
79         (program_file_pair_is_default_for_file_type),
80         (program_file_pair_is_default_for_file),
81         (program_file_pair_is_in_short_list_for_file_type),
82         (program_file_pair_is_in_short_list_for_file),
83         (get_program_file_pair_from_row_data),
84         (get_selected_program_file_pair), (update_selected_item_details),
85         (update_all_status), (add_to_short_list_for_file),
86         (remove_from_short_list_for_file), (add_to_short_list_for_type),
87         (remove_from_short_list_for_type), (remove_default_for_type),
88         (remove_default_for_item), (set_default_for_type),
89         (set_default_for_item), (run_program_configurator_callback),
90         (compare_program_file_pairs), (switch_sort_column),
91         (create_program_clist), (nautilus_program_chooser_new),
92         (nautilus_program_chooser_get_application),
93         (nautilus_program_chooser_get_component): Did vast quantities of
94         renaming and refactoring in here while adding this feature. Believe
95         me, it's not worth the time to explain in great detail.
97 2000-06-23  Andy Hertzfeld  <andy@eazel.com>
99         * libnautilus-extensions/nautilus-horizontal-splitter.c:
100         (nautilus_horizontal_splitter_initialize),
101         (toggle_splitter_position),
102         (nautilus_horizontal_splitter_button_release):
103         fixed recently introduced bug that Carbamide found, where clicking in the
104         list view titles would toggle the sidebar.  Fixed by making the splitter
105         toggle only if it's the splitters window.  Also, made it open properly when
106         you quit the program in the closed state.
107         
108 2000-06-23  Darin Adler  <darin@eazel.com>
110         Some icon layout fixes.
112         * libnautilus-extensions/nautilus-icon-canvas-item.h:
113         * libnautilus-extensions/nautilus-icon-canvas-item.c: (map_pixbuf),
114         (draw_label_text_aa), (nautilus_icon_canvas_item_render),
115         (nautilus_icon_canvas_item_event),
116         (nautilus_icon_canvas_item_hit_test_stretch_handles),
117         (nautilus_icon_canvas_item_get_max_text_width):
118         Added comments and FIXMEs and fixed formatting. Removed unused
119         functions and changed all the functions to return values in world
120         coordinates rather than doing some in canvas coordinates.
121         
122         * libnautilus-extensions/nautilus-icon-container.c:
123         (nautilus_gtk_adjustment_set_value): Added a function that clamps
124         to the scroll bar range. The original in Gtk allows scrolling past
125         the end of where the scroll bar does.
126         (scroll): Call the new function. This fixes the "auto-scroll past
127         edge of the screen" problem.
128         (reveal_icon): Use the new function even though it shouldn't matter
129         here.
130         (set_scroll_region): Add some padding on the left and right and
131         fix some of the math. Also use the new function to clamp the value
132         instead of trying to do it by hand here. I think this fixes the
133         dancing icon problem.
134         (get_icon_space_width), (lay_down_one_line), (relayout): Wrote new
135         layout code that works more simply and is closer to the layout we
136         want. This fixes a few bugs, but for now it's only for auto layout
137         -- I still need to fix manual layout.
138         (nautilus_icon_container_update_icon): Made the maximum size for
139         icons take the X and Y scale factors into account too. Now we
140         probably need maximum scale factors, but without this stretching
141         was quite broken.
142         (nautilus_icon_container_start_renaming_selected_item): Simplified
143         some of the renaming code to require a bit less from the canvas
144         item.
145         (nautilus_icon_container_emit_preview_signal): Let booleans be
146         booleans.
147         
148         * libnautilus-extensions/nautilus-icon-container.h:
149         * libnautilus-extensions/nautilus-icon-private.h:
150         Moved nautilus_icon_container_set_anti_aliased_mode into the
151         private header.
152         
153 2000-06-23  Andy Hertzfeld  <andy@eazel.com>
155         * libnautilus-extensions/nautilus-horizontal-splitter.c,h:
156         (nautilus_horizontal_splitter_initialize_class),
157         (nautilus_horizontal_splitter_initialize),
158         (nautilus_horizontal_splitter_destroy), (toggle_splitter_position),
159         (nautilus_horizontal_splitter_button_press),
160         (nautilus_horizontal_splitter_button_release):
161         made tapping on the splitter show or hide the sidebar
162         * src/nautilus-sidebar.c:
163         reduced the minimum size of the sidebar
164         
165 2000-06-22  J Shane Culpepper  <pepper@eazel.com>
167         * components/services/install/command-line/Makefile.am:
168         Fixing build bustage. There is no eazel-install-query.c checked into
169         cvs.  I assume Eskil forgot to add it.  It should build now.
171 2000-06-22  Rebecka Schulman  <rebecka@eazel.com>
173         * libnautilus-extensions/nautilus-search-uri.c:
174         * libnautilus-extensions/nautilus-search-uri.h:
175         (nautilus_search_uri_to_simple_search_criteria),
176         (nautilus_search_uri_to_search_bar_mode),
177         (nautilus_search_uri_is_displayable_by_mode), (other_search_mode):
178         * src/nautilus-simple-search-bar.c:
179         * src/nautilus-switchable-search-bar.c:
180         (nautilus_switchable_search_bar_set_mode),
181         (nautilus_switchable_search_bar_set_search_controls):
182         * src/nautilus-switchable-search-bar.h:
184         (nautilus_simple_search_bar_set_search_controls):
185         Extended search uri api; Some functions came from
186         nautilus-switchable-search-bar.c
187         * src/nautilus-complex-search-bar.c:
188         (nautilus_complex_search_bar_initialize):
189         fixed it so the containers work right
190         * src/nautilus-search-bar-criterion.c:
191         * src/nautilus-search-bar-criterion.h:
192         (nautilus_search_bar_criterion_initialize),
193         (nautilus_search_bar_criterion_initialize_class), (destroy),
194         (nautilus_search_bar_criterion_new),
195         (nautilus_search_bar_criterion_file_type_new),
196         (nautilus_search_bar_criterion_file_name_new),
197         (nautilus_search_bar_criterion_add_to_search_bar):
198         added file name and type, and new functions
199         to aid in displaying
201         * src/nautilus-search-bar.c: (nautilus_search_bar_new):
202         * src/nautilus-search-bar.h:
203         added nautilus_search_bar_new
204         
207 2000-06-22  Michael Engber  <engber@eazel.com>
209         * libnautilus/nautilus-view-component.idl:
210         * libnautilus/nautilus-zoomable.c:
211         (nautilus_zoomable_initialize_class):
212         * src/file-manager/fm-directory-view.c:
213         (fm_directory_view_initialize), (nautilus_zoom_level_from_double),
214         (zoomable_set_zoom_level_callback):
215         * src/nautilus-view-frame.c:
216         * src/nautilus-view-frame.h:
217         * src/nautilus-window.c: (zoom_to_level_callback):
218         * src/nautilus-zoom-control.c:
219         (nautilus_zoom_control_class_initialize), (zoom_menu_callback),
220         (zoom_menu_item_free_zoom_level), (create_zoom_menu_item),
221         (create_zoom_menu):
222         Removed zoom_to_level from the zoomable interface - starting
223         on the process of removing the zoom control being tied to
224         7 discrete icon sizes. Bug #1425
225         
227 2000-06-22  Eskil Heyn Olsen  <eskil@eazel.com>
229         * components/services/install/command-line/Makefile.am:
230         *
231         components/services/install/command-line/eazel-alt-install-corba.c:
232         (main):
233         Vamped to use the gtk+ client wrapper for the corba nastiness.
235         * components/services/install/idl/trilobite-eazel-install.idl:
236         Added the query call.
237         
238         * components/services/install/lib/Makefile.am:
239         * components/services/install/lib/eazel-install-corba-callback.c:
240         (eazel_install_callback_new), (eazel_install_callback_corba),
241         (eazel_install_callback_install_packages),
242         (eazel_install_callback_query):
243         * components/services/install/lib/eazel-install-corba-callback.h:
244         * components/services/install/lib/eazel-install-corba-types.c:
245         (corba_category_list_from_categorydata_list):
246         * components/services/install/lib/eazel-install-corba-types.h:
247         * components/services/install/lib/eazel-install-corba.c:
248         (impl_Eazel_Install_install_packages), (impl_Eazel_Install_query),
249         (eazel_install_get_epv):
250         * components/services/install/lib/eazel-install-metadata.c:
251         (transferoptions_destroy), (installoptions_destroy):
252         * components/services/install/lib/eazel-install-object.c:
253         (eazel_install_destroy), (eazel_install_initialize),
254         (eazel_install_get_type), (eazel_install_new_with_config),
255         (create_temporary_directory),
256         (eazel_install_fetch_remote_package_list),
257         (eazel_install_open_log), (eazel_install_install_packages),
258         (eazel_install_uninstall), (eazel_install_emit_download_failed),
259         (eazel_install_emit_install_failed):
260         * components/services/install/lib/eazel-install-protocols.c:
261         (http_fetch_remote_file), (ftp_fetch_remote_file),
262         (local_fetch_remote_file), (get_url_for_package),
263         (get_search_url_for_package):
264         * components/services/install/lib/eazel-install-public.h:
265         * components/services/install/lib/eazel-install-query.c:
266         (eazel_install_query_package_system):
267         * components/services/install/lib/eazel-install-query.h:
268         * components/services/install/lib/eazel-install-rpm-glue.c:
269         (download_all_packages), (install_all_packages),
270         (uninstall_packages), (uninstall_a_package), (do_rpm_install),
271         (do_rpm_uninstall), (eazel_install_prune_packages_helper),
272         (eazel_install_load_rpm_headers),
273         (eazel_install_prepare_rpm_system),
274         (eazel_install_add_headers_to_rpm_set),
275         (eazel_install_fetch_rpm_dependencies),
276         (eazel_install_ensure_deps), (rpm_uninstall):
277         * components/services/install/lib/eazel-install-rpm-glue.h:
278         * components/services/install/lib/eazel-install-types.h:
279         * components/services/install/server/main.c:
280         (trilobite_service_factory_destroy):
281         i18n a lot of strings. Did some more work on the gtk+ wrapper for
282         the corba interface to libinstall. Added categories to the idl and
283         the code. Added comments to the gtk+ interface, converters to/from
284         the corba structs and CategoryData. Also closed bug 1024, 982, 980 and 1092.
285         
286         * components/services/time/command-line/main.c: (main):
287         * components/services/time/service/trilobite-eazel-time-service.c:
288         (trilobite_eazel_time_service_destroy):
289         * components/services/trilobite/libtrilobite/trilobite-service.c:
290         (trilobite_service_destroy):
291         * components/services/trilobite/sample/command-line/main.c: (main):
292         * components/services/trilobite/sample/service/main.c:
293         (trilobite_service_factory_destroy):
294         *
295         components/services/trilobite/sample/service/sample-service-impl.c:
296         (sample_service_destroy):
297         Fixed the component destroy routines with Darins help.
299 2000-06-22  Ramiro Estrugo  <ramiro@eazel.com>
301         * components/websearch/Makefile.am:
302         Fix a silly typo in the last checkin for this makefile.
303         
304 2000-06-22  John Sullivan  <sullivan@eazel.com>
306         * src/file-manager/fm-properties-window.c: (attach_label),
307         (attach_left_aligned_label), (attach_right_aligned_label),
308         (attach_value_field), (attach_directory_contents_value_field),
309         (attach_title_field): Oops, some refactoring in my previous
310         checkin left all the labels left-aligned, when the title
311         ones are supposed to be right-aligned. Fixed that up.
313 2000-06-22  John Sullivan  <sullivan@eazel.com>
315         Finished task 970 (Properties window should show deep
316         directory sizes)
318         * libnautilus-extensions/nautilus-file.c:
319         (format_item_count_for_display): New utility function
320         used by some _as_string functions.
321         (nautilus_file_get_size_as_string): Now uses 
322         format_item_count_for_display
323         (nautilus_file_get_deep_count_as_string_internal),
324         (nautilus_file_get_deep_size_as_string),
325         (nautilus_file_get_deep_total_count_as_string),
326         (nautilus_file_get_deep_file_count_as_string),
327         (nautilus_file_get_deep_directory_count_as_string):
328         New functions to get various "deep" info about a
329         directory in handy string format.
330         (nautilus_file_get_string_attribute),
331         (nautilus_file_get_string_attribute_with_default):
332         Taught these two functions about deep directory counts.
333         
334         * src/file-manager/fm-properties-window.c: 
335         (create_properties_window): Now uses nautilus_file_monitor_add
336         to request the info it needs, including new deep counts. 
337         Formerly was just relying on all the information already having 
338         been requested by someone else, which worked in practice but was 
339         fragile and wouldn't work for deep counts.
340         (forget_properties_window): Renamed from remove_properties_window_
341         from_hash_table, and made it stop monitoring file.
342         (fm_properties_window_get_or_create): Account for name change.
343         (directory_contents_value_field_update),
344         (attach_directory_contents_value_field), 
345         (attach_directory_contents_fields): New functions that manage
346         showing the deep info.
347         (attach_label), (attach_value_field), (attach_title_field),
348         (attach_title_value_pair), (create_basic_page), 
349         (add_permissions_row_label), (create_permissions_page):
350         Some renamings and reorganization.
352 2000-06-22  Darin Adler  <darin@eazel.com>
354         * libnautilus-extensions/nautilus-directory-private.h:
355         * libnautilus-extensions/nautilus-directory-async.c:
356         (cancel_deep_count): Added code to make sure we don't see a
357         canceled deep count as an eternally "in progress" one.
358         (nautilus_directory_async_state_changed): Exported this
359         function for use in NautilusFile.
360         
361         * libnautilus-extensions/nautilus-file.h:
362         * libnautilus-extensions/nautilus-file.c:
363         (nautilus_file_get_deep_counts): Fixed the comment.
364         (nautilus_file_recompute_deep_counts): Added a function to
365         force the deep count to be recomputed.
366         
367         * libnautilus-extensions/nautilus-mime-actions.h:
368         * libnautilus-extensions/nautilus-mime-actions.c:
369         (nautilus_mime_set_default_action_type_for_uri),
370         (nautilus_mime_set_default_application_for_uri),
371         (nautilus_mime_set_default_component_for_uri),
372         (nautilus_mime_set_short_list_applications_for_uri),
373         (nautilus_mime_set_short_list_components_for_uri),
374         (nautilus_mime_add_application_to_short_list_for_uri),
375         (nautilus_mime_remove_application_from_short_list_for_uri),
376         (nautilus_mime_add_component_to_short_list_for_uri),
377         (nautilus_mime_remove_component_from_short_list_for_uri),
378         (nautilus_mime_extend_all_applications_for_uri),
379         (nautilus_mime_remove_from_all_applications_for_uri):
380         Added some rudimentary error handling.
382 2000-06-22  Darin Adler  <darin@eazel.com>
384         Finished task 975 (Need API for asynchronously computing a
385         directory's recursive item count). More thorough testing will wait
386         for John to implement the high level feature.
387         
388         * libnautilus-extensions/nautilus-directory-private.h:
389         * libnautilus-extensions/nautilus-directory-async.c:
390         (directory_count_callback): Used a local variable.
391         (start_monitoring_file_list): Reduced use of GnomeVFSURI a bit.
392         (cancel_deep_count), (nautilus_directory_cancel),
393         (set_up_request_by_file_attributes),
394         (nautilus_async_destroying_file), (lacks_deep_count),
395         (wants_deep_count), (request_is_satisfied),
396         (start_monitoring_file_list), (deep_count_one),
397         (deep_count_callback), (deep_count_load), (deep_count_start),
398         (state_changed): Added the code to compute deep counts.
399         
400         * libnautilus-extensions/nautilus-directory.c:
401         (nautilus_self_check_directory): Added a self-check to try out
402         the deep counts.
403         
404         * libnautilus-extensions/nautilus-file-attributes.h:
405         Renamed the attribute now that it's for more than one kind of
406         deep count, not just a directory items count.
407         
408         * libnautilus-extensions/nautilus-file-private.h:
409         * libnautilus-extensions/nautilus-file.h:
410         * libnautilus-extensions/nautilus-file.c:
411         (nautilus_file_get_deep_counts):
412         Added the high-level interface for getting at the counts.
413         
414 2000-06-22  John Sullivan  <sullivan@eazel.com>
416         Finished task 877 (SUID/SGID/Sticky bits should be settable
417         in Properties). There are still several appearance loose ends
418         that I'll write up bugs for. This change requires the latest 
419         gnome-vfs.
421         * libnautilus-extensions/nautilus-file.c:
422         (nautilus_file_get_permissions_as_string): Make permissions
423         string display funky bits using ls conventions.
424         * libnautilus-extensions/nautilus-global-preferences.h,
425         * libnautilus-extensions/nautilus-global-preferences.c:
426         (global_preferences_create_dialog),
427         (global_preferences_register_for_ui): Added a preference for
428         allowing editing of the funky bits; defaults to on for hacker,
429         off otherwise.
430         * src/file-manager/fm-properties-window.c:
431         (add_special_execution_checkbox), (add_special_execution_flags),
432         (create_permissions_page): Wired up the funky bit checkboxes to
433         the right funky bits; made some but not yet all of the Arlo
434         layout improvements; decide whether to show funky bit checkboxes
435         based on preference.
437 2000-06-22  Ramiro Estrugo  <ramiro@eazel.com>
439         * components/services/install/command-line/.cvsignore:
440         Ignore more generated things.
441         
442         * libnautilus-extensions/nautilus-search-async.c:
443         I fixed medusa to properly export its public header file, so
444         update its inclusion here.
445         
446 2000-06-22  Seth Nickell  <seth@eazel.com>
448         Changes from Ali Abdin (rak), aliabdin@aucegypt.edu
449         * components/websearch/Makefile.am:
450         Fixed error message on Nautilus startup by correctly setting
451         the directory websearch "make install"s into.
452         
453 2000-06-22  Andy Hertzfeld  <andy@eazel.com>
455         * src/nautilus-property-browser.c:
456         (make_properties_from_directory_path),
457         (make_properties_from_directory):
458         made the reset background property appear at the top level,
459         and widened the window slightly so all of the properties fit
460         * src/nautilus-window-toolbars.c: (toolbar_clear_search_mode),
461         (toolbar_home_callback):
462         made it leave search mode when the user presses the home button
463         
464 2000-06-21  Andy Hertzfeld  <andy@eazel.com>
466         * src/nautilus-sidebar.c: (nautilus_sidebar_get_sidebar_panel_key),
467         (nautilus_sidebar_sidebar_panel_enabled), (toggle_sidebar_panel),
468         (nautilus_sidebar_add_panel_items),
469         (nautilus_sidebar_create_context_menu):
470         added sidebar panel enable/disable items to sidebar context menu
471         
472 2000-06-21  Andy Hertzfeld  <andy@eazel.com>
474         added two different ways to reset sidebar background customizations:
475         a context menu and a reset background property to reset it via
476         drag and drop
477         
478         * data/backgrounds/Makefile.am:
479         added a new background image for resetting
480         * data/backgrounds/reset.png:
481         new image for resetting the background
482         * libnautilus-extensions/nautilus-background.c:
483         (nautilus_background_set_tile_image_uri):
484         special-case the reset image to reset the background
485         * src/nautilus-property-browser.c: (element_clicked_callback),
486         (make_properties_from_directory_path),
487         (make_properties_from_directory):
488         scaled background properties to the nominal size, so they line
489         up better
490         * src/nautilus-sidebar.c,h: (reset_background_callback),
491         (nautilus_sidebar_create_context_menu),
492         (nautilus_sidebar_press_event):
493         added a context menu for the sidebar that has a reset background
494         item.  Soon, it will also allow enabling/disabling of sidebar views.
495         
496 2000-06-21  John Sullivan  <sullivan@eazel.com>
498         Made nautilus_file_get_string_attribute return NULL
499         for unknown/missing attributes; added new
500         nautilus_file_get_string_attribute_with_default that
501         never returns NULL; callers can choose which behavior
502         they prefer.
504         * libnautilus-extensions/nautilus-file.h,
505         * libnautilus-extensions/nautilus-file.c:
506         (nautilus_file_get_string_attribute_with_default):
507         New function, calls _get_string_attribute and chooses
508         default strings for the NULL cases. The default default
509         string is "unknown", but some attributes get more
510         specific ones.
511         
512         (nautilus_file_get_octal_permissions_as_string),
513         (nautilus_file_get_permissions_as_string),
514         (nautilus_file_get_owner_as_string),
515         (nautilus_file_get_group_as_string),
516         (nautilus_file_get_mime_type_as_string_attribute),
517         (nautilus_file_get_size_as_string),
518         (nautilus_file_get_string_attribute),
519         (nautilus_file_get_type_as_string): Changed these to
520         return NULL if the value is unknown/unknowable.
522         (nautilus_file_get_date_as_string): Changed to return NULL
523         in some cases; also added case for "date_permissions",
524         which returns ctime iff it differs from mtime, otherwise
525         NULL.
527         * libnautilus-extensions/nautilus-program-chooser.c:
528         (update_selected_item_details),
529         (run_program_configurator_callback):
530         * src/file-manager/fm-icon-view.c: (get_icon_text_callback):
531         * src/file-manager/fm-list-view.c: (add_to_list):
532         use nautilus_file_get_string_attribute_with_value
533         
534         * src/nautilus-sidebar-title.c: (update_more_info):
535         when the type is NULL, don't put ", " before the size.
538         More work on the obscure unixisms of the Properties window.
540         * src/file-manager/fm-properties-window.c: (value_field_update),
541         (create_basic_page), (permissions_label_update),
542         (set_up_permissions_checkbox), (add_permissions_checkbox),
543         (add_special_execution_checkbox), (add_special_execution_flags),
544         (create_permissions_page), (create_properties_window):
545         Wired up GUID/SUID/Sticky bit checkboxes in a temporary way
546         (not to the correct bits); moved some stuff around and
547         renamed some stuff.
549 2000-06-21  Darin Adler  <darin@eazel.com>
551         * libnautilus-extensions/nautilus-file-utilities.h:
552         * libnautilus-extensions/nautilus-file-utilities.c:
553         (nautilus_read_entire_file), (read_entire_file_close_callback),
554         (read_entire_file_close), (read_entire_file_succeeded),
555         (read_entire_file_failed), (read_entire_file_read_callback),
556         (read_entire_file_read_chunk), (read_entire_file_open_callback),
557         (nautilus_read_entire_file_async),
558         (nautilus_read_entire_file_cancel): Made new read-entire-file call
559         with sync. and async. versions since Andy needs it.
561         * libnautilus-extensions/nautilus-directory-private.h:
562         * libnautilus-extensions/nautilus-directory-async.c:
563         (cancel_metafile_read), (metafile_read_done),
564         (metafile_read_failed), (metafile_read_done_callback),
565         (metafile_read_start), (nautilus_directory_request_read_metafile):
566         * libnautilus-extensions/nautilus-directory.c:
567         (nautilus_directory_destroy):
568         Changed the metafile reading to use the new stuff.
569         
570         * components/services/install/command-line/.cvsignore:
571         * components/services/install/server/.cvsignore:
572         Ignore a few new generated files.
573         
574 2000-06-21  Eskil Heyn Olsen  <eskil@eazel.com>
576         * components/services/install/lib/Makefile.am:
577         trying to convince it to do the orbit-idl
578         
579 2000-06-21  Eskil Heyn Olsen  <eskil@eazel.com>
581         * components/services/install/lib/Makefile.am:
582         Added trilobite-eazel-install.h to noinst_HEADERS
583         
584 2000-06-21  Eskil Heyn Olsen  <eskil@eazel.com>
586         * components/services/install/server/main.c:
587         Forgot this, better commit it before Ramiro kills me.
588         * components/services/trilobite/sample/command-line/main.c: (main):
589         Darins patch reg. unref.
590         
591 2000-06-21  Michael Engber  <engber@eazel.com>
593         * src/nautilus-window-manage-views.c:
594         (nautilus_window_load_content_view):
595         * src/nautilus-window.c: (nautilus_window_constructed),
596         (nautilus_window_zoom_level_changed_callback):
597         Zoom controls are now hidden when viewing non-zoomable stuff.
599 2000-06-21  Eskil Heyn Olsen  <eskil@eazel.com>
601         * components/services/install/Makefile.am:
602         Added the server directory.
603         
604         * components/services/install/command-line/Makefile.am:
605         * components/services/install/command-line/eazel-alt-install-corba.c:
606         (set_parameters_from_command_line),
607         (eazel_download_progress_signal), (eazel_install_progress_signal),
608         (download_failed), (install_failed), (dep_check), (create_package),
609         (done), (main):
610         * components/services/install/command-line/genpkg_list.example:
611         Vamping together yet another eazel-alt-install that uses the new
612         corba service installer.
613         
614         * components/services/install/idl/trilobite-eazel-install.idl:
615         * components/services/install/lib/Makefile.am:
616         * components/services/install/lib/eazel-install-corba-callback.c:
617         (impl_download_progress), (impl_download_failed), (impl_dep_check),
618         (impl_install_progress), (impl_uninstall_progress),
619         (impl_install_failed), (impl_uninstall_failed), (impl_done),
620         (eazel_install_callback_get_epv),
621         (eazel_install_callback_create_corba_object),
622         (eazel_install_callback_destroy),
623         (eazel_install_callback_class_initialize),
624         (eazel_install_callback_initialize),
625         (eazel_install_callback_get_type), (eazel_install_callback_new),
626         (eazel_install_callback_corba):
627         * components/services/install/lib/eazel-install-corba-callback.h:
628         * components/services/install/lib/eazel-install-corba-types.c:
629         (corba_packagestructlist_from_packagedata_list),
630         (corba_packagedatastructlist_from_packagedata_list),
631         (corba_packagedatastruct_from_packagedata),
632         (corba_packagestruct_from_packagedata),
633         (packagedata_list_from_corba_packagestructlist),
634         (packagedata_list_from_corba_packagedatastructlist),
635         (packagedata_from_corba_packagedatastruct),
636         (packagedata_from_corba_packagestruct):
637         * components/services/install/lib/eazel-install-corba-types.h:
638         * components/services/install/lib/eazel-install-corba.c:
639         (impl_Eazel_Install_install), (impl_Eazel_Install_uninstall),
640         (impl_Eazel_Install_install_packages),
641         (impl_Eazel_Install_uninstall_packages),
642         (impl_Eazel_Install__set_verbose),
643         (impl_Eazel_Install__get_verbose),
644         (impl_Eazel_Install__set_silent), (impl_Eazel_Install__get_silent),
645         (impl_Eazel_Install__set_test_mode),
646         (impl_Eazel_Install__get_test_mode),
647         (impl_Eazel_Install__set_force), (impl_Eazel_Install__get_force),
648         (impl_Eazel_Install__set_update), (impl_Eazel_Install__get_update),
649         (impl_Eazel_Install__set_tmp_dir),
650         (impl_Eazel_Install__get_tmp_dir),
651         (impl_Eazel_Install__set_server), (impl_Eazel_Install__get_server),
652         (impl_Eazel_Install__set_server_port),
653         (impl_Eazel_Install__get_server_port),
654         (impl_Eazel_Install__set_log_file),
655         (impl_Eazel_Install__get_log_file),
656         (impl_Eazel_Install__set_protocol),
657         (impl_Eazel_Install__get_protocol), (eazel_install_get_epv),
658         (eazel_install_create_corba_object):
659         * components/services/install/lib/eazel-install-object.c:
660         (eazel_install_set_arg), (eazel_install_class_initialize),
661         (eazel_install_initialize), (eazel_install_get_type),
662         (eazel_install_new_with_config),
663         (eazel_install_fetch_remote_package_list),
664         (eazel_install_open_log), (eazel_install_install_packages),
665         (eazel_install_uninstall), (eazel_install_emit_install_progress),
666         (eazel_install_emit_install_progress_default),
667         (eazel_install_emit_download_progress),
668         (eazel_install_emit_download_progress_default),
669         (eazel_install_emit_download_failed),
670         (eazel_install_emit_download_failed_default),
671         (eazel_install_emit_install_failed),
672         (eazel_install_emit_install_failed_default),
673         (eazel_install_emit_uninstall_failed),
674         (eazel_install_emit_dependency_check),
675         (eazel_install_emit_dependency_check_default),
676         (eazel_install_emit_done), (eazel_install_emit_done_default):
677         * components/services/install/lib/eazel-install-private.h:
678         * components/services/install/lib/eazel-install-protocols.c:
679         (get_url_for_package), (get_search_url_for_package):
680         * components/services/install/lib/eazel-install-public.h:
681         * components/services/install/lib/eazel-install-rpm-glue.c:
682         (install_new_packages), (download_all_packages),
683         (install_all_packages), (rpm_show_progress), (do_rpm_install),
684         (eazel_install_prune_packages_helper),
685         (eazel_install_prepare_rpm_system),
686         (eazel_install_add_headers_to_rpm_set),
687         (eazel_install_fetch_rpm_dependencies), (print_package_list),
688         (eazel_install_ensure_deps), (ei_extract_attributes),
689         (eazel_install_query_package_system):
690         * components/services/install/lib/eazel-install-rpm-glue.h:
691         * components/services/install/lib/eazel-install-types.c:
692         (rpmfilename_from_packagedata):
693         * components/services/install/lib/eazel-install-types.h:
694         * components/services/install/lib/trilobite-eazel-install-service.oafinfo:
695         * components/services/install/server/Makefile.am:
696         * components/services/install/server/trilobite-eazel-install-service.oafinfo:
697         Added a load of stuff to make the install service a corba
698         service. There are corba/c converters in
699         eazel-install-corba-types, moved a load of the corba magic into
700         eazel-install-corba.c and created a gtk+ object in
701         eazel-install-corba-callback that embodies the client interface to
702         the install service.
703         
704         * components/services/time/service/Makefile.am:
705         * components/services/time/service/trilobite-eazel-time-service.c:
706         (trilobite_eazel_time_service_initialize):
707         Changed the default url to the new testmachine. 
708         
709         * components/services/trilobite/libtrilobite/trilobite-core-distribution.c:
710         (trilobite_get_distribution_name), (trilobite_get_distribution_enum):
711         * components/services/trilobite/libtrilobite/trilobite-core-distribution.h:
712         Added call to get the distro enum from the generated string. Used
713         for the corbafication of libinstall.
714         
715         * configure.in:
716         Added the server dir makefile for services/install/server
717         
718         * nautilus-installer/src/HACKING:
719         * nautilus-installer/src/Makefile:
720         * nautilus-installer/src/Makefile.am:
721         * nautilus-installer/src/installer.c: (installer):
722         * nautilus-installer/src/interface.c: (create_window):
723         * nautilus-installer/src/link.sh:
724         * nautilus-installer/src/prescript:
725         Updated to still work, as long as libinstall is compiled using
726         EAZEL_INSTALL_NO_CORBA (see the hacking file)
727         
728         * nautilus.spec.in:
729         Changed gnome-xml to libxml
731 2000-06-21  Darin Adler  <darin@eazel.com>
733         * components/hardware/nautilus-hardware-view.c:
734         (get_RAM_description):
735         * components/music/nautilus-music-view.c:
736         (nautilus_music_view_update_from_uri):
737         * components/rpmview/nautilus-rpm-view.c:
738         (nautilus_rpm_view_update_from_uri):
739         * components/services/startup/nautilus-view/nautilus-service-startup-view.c:
740         (gather_config_button_cb), (register_button_cb),
741         (nautilus_service_startup_view_destroy):
742         * libnautilus-extensions/nautilus-directory-async.c:
743         (set_up_request_by_file_attributes):
744         * libnautilus-extensions/nautilus-file-utilities.c:
745         (nautilus_format_uri_for_display),
746         (nautilus_get_uri_from_local_path):
747         * libnautilus-extensions/nautilus-file.c:
748         (nautilus_file_get_size_as_string):
749         * libnautilus-extensions/nautilus-link-set.c: (link_set_path_name),
750         (expand_uri):
751         * src/file-manager/fm-directory-view.c:
752         (fm_directory_view_display_selection_info):
753         * src/nautilus-desktop-window.c:
754         (nautilus_desktop_window_initialize),
755         (nautilus_desktop_window_new), (realize):
756         Updated callers of the gnome-vfs calls that I just changed.
757         In some cases I made them use higher-level nautilus utility
758         functions instead.
760 2000-06-21  Gene Z. Ragan  <gzr@eazel.com>
762         More updating of code to change gnome-vfs error codes to reflect
763         renaming done to fix bug 1162.
765         * libnautilus-extensions/nautilus-icon-factory.c:
766         (nautilus_icon_factory_get_icon_name_for_file):
767         Some old constants here.
769 2000-06-21  Gene Z. Ragan  <gzr@eazel.com>
771         Update code to change gnome-vfs error codes to reflect
772         renaming done to fix bug 1162.
773         
774         * components/help/help-method.c: (help_do_transform):
775         * libnautilus-extensions/nautilus-directory.c:
776         (nautilus_make_directory_and_parents),
777         (construct_alternate_metafile_uri):
778         * libnautilus-extensions/nautilus-file.c: (nautilus_file_rename),
779         (nautilus_file_set_permissions), (nautilus_file_delete):
780         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
781         (nautilus_gdk_pixbuf_load), (file_read_callback):
782         * libnautilus-extensions/nautilus-icon-factory.c:
783         (nautilus_make_directory_and_parents),
784         (nautilus_icon_factory_get_thumbnail_uri):
785         * libnautilus-extensions/nautilus-search-async.c:
786         (nautilus_async_medusa_search), (request_search):
787         * src/file-manager/dfos-xfer.c: (fs_xfer), (fs_move_to_trash):
788         * src/file-manager/fm-error-reporting.c:
789         (fm_report_error_renaming_file):
790         * src/nautilus-applicable-views.c:
791         (get_nautilus_navigation_result_from_gnome_vfs_result),
792         (got_file_info_callback), (async_get_file_info_text):
794 2000-06-21  Ramiro Estrugo  <ramiro@eazel.com>
796         * libnautilus-extensions/nautilus-horizontal-splitter.c:
797         (nautilus_horizontal_splitter_initialize), (draw_resize_bar),
798         (draw_resize_bar_thumb), (nautilus_horizontal_splitter_draw):
799         Arlofication of the splitter widget.  Bug 759.
800         
801 2000-06-20  J Shane Culpepper  <pepper@eazel.com>
803         * components/services/login/nautilus-view/main.c:
804         (login_object_destroyed), (login_make_object), (main):
805         * components/services/login/nautilus-view/nautilus-login-view.c:
806         (generate_login_form), (entry_changed_cb), (login_button_cb),
807         (maintenance_button_cb), (show_feedback), (generate_form_title),
808         (nautilus_login_view_initialize_class),
809         (nautilus_login_view_initialize), (nautilus_login_view_destroy),
810         (nautilus_login_view_get_nautilus_view),
811         (nautilus_login_view_load_uri), (login_load_location_callback):
812         * components/services/login/nautilus-view/nautilus-login-view.h:
813         * components/services/login/nautilus-view/nautilus-login-view.oafinfo:
814         Initial stab at a decent login view for services. Doesn't
815         actually do any connecting or authentication yet but it's a good
816         start to the view. Still needs some work before I hook it up to
817         the build.
819 2000-06-20  Rebecca Schulman  <rebecka@eazel.com>
821         * src/nautilus-search-bar-private.h:
822         forgot to add this to the last commit
824 2000-06-20  Rebecca Schulman  <rebecka@eazel.com>
826         * src/Makefile.am:
827         * src/nautilus-search-bar.c:
828         * src/nautilus-search-bar.h:
829         (nautilus_search_bar_initialize_class),
830         (nautilus_search_bar_initialize),
831         (nautilus_search_bar_set_location),
832         (nautilus_search_bar_set_search_controls):
833         * src/nautilus-switchable-search-bar.c: 
834         * src/nautilus-switchable-search-bar.h:
835         * src/nautilus-search-bar-criterion.c:
836         * src/nautilus-search-bar-criterion.h:
837         Set up search-bar as a virtual class that switches between the
838         available search bars, similar to nautilus-navigation-bar.
840         * src/nautilus-complex-search-bar.c:
841         * src/nautilus-complex-search-bar.h:
842         * src/nautilus-simple-search-bar.c:
843         * src/nautilus-simple-search-bar.h:
844         Added simple and complex search bar skeletons.
845         These need to get filled out a lot more.
846         
847         * src/nautilus-switchable-navigation-bar.c:
848         (nautilus_switchable_navigation_bar_initialize):
849         Switchable navigation bar uses a switchable search bar instead of
850         a normal search bar, since that class is now virtual.
851         
852         * src/nautilus-navigation-bar.c:
853         fixed comment typos
854         
855         * libnautilus-extensions/nautilus-directory.h:
856         Exported nautilus_uri_is_search_uri function
857         * libnautilus-extensions/Makefile.am:
858         Added nautilus-search-uri.c and .h files.
859         The functions aren't filled out yet, though.
860         * libnautilus-extensions/nautilus-search-uri.c:
861         (nautilus_search_uri_to_simple_search_criteria):
862         * libnautilus-extensions/nautilus-search-uri.h:
863         
864         * libnautilus-extensions/nautilus-global-preferences.c:
865         (global_preferences_register_for_ui):
866         * libnautilus-extensions/nautilus-global-preferences.h:
867         Changed search bar preference names from
868         NAUTILUS_SEARCH_BAR_ONE_BOX and NAUTILUS_SEARCH_BAR_MULTI_BOX to
869         NAUTILUS_SIMPLE_SEARCH_BAR and NAUTILUS_COMPLEX_SEARCH_BAR to
870         match respective object names
872 2000-06-20  Andy Hertzfeld  <andy@eazel.com>
874         * libnautilus-extensions/nautilus-icon-canvas-item.c:
875         (draw_stretch_handles_aa):
876         Improved the positioning of the anti-aliased stretch handles by
877         using the icon rect instead of the bounds rect.
878         
879 2000-06-20  John Sullivan  <sullivan@eazel.com>
881         * libnautilus-extensions/nautilus-program-chooser.c:
882         (nautilus_program_chooser_new): Left-justified prompt.
883         
884         * src/file-manager/fm-properties-window.c:
885         (add_prompt_and_separator), (add_permissions_row_label),
886         (add_special_execution_checkbox), (add_special_execution_flags),
887         (create_permissions_page): Added as yet non-working checkboxes
888         for the SUID, GUID, and Sticky flags. The layout and wording
889         are abysmal; this will not stand.
891 2000-06-20  Darin Adler  <darin@eazel.com>
893         Fixed bug 1359 (Navigating into empty folder hangs).
895         * libnautilus-extensions/nautilus-directory-async.c:
896         (dequeue_pending_idle_callback): Fixed bug where directories with
897         multiples of 32 files would hang the state machine.
899 2000-06-20  Andy Hertzfeld  <andy@eazel.com>
901         * data/backgrounds/Makefile.am:
902         added and removed some background images
903         
904         * data/backgrounds/baize.png:
905         * data/backgrounds/cherrywood.jpg:
906         * data/backgrounds/darkwood.png:
907         * data/backgrounds/grass.png:
908         * data/backgrounds/gray_fabric.png:
909         * data/backgrounds/greenery.jpg:
910         * data/backgrounds/manila.jpg:
911         * data/backgrounds/raindrops.png:
912         * data/backgrounds/sky.jpg:
913         removed old background images
914         
915         * data/backgrounds/blue_sky.png:
916         * data/backgrounds/brown_bag.png:
917         * data/backgrounds/clouds.png:
918         * data/backgrounds/irish_spring.png:
919         * data/backgrounds/manila_paper.png:
920         * data/backgrounds/pale_coins.png:
921         * data/backgrounds/ridged_paper.png:
922         * data/backgrounds/rough_paper.png:
923         added new background images from Susan
924         
925         * icons/emblem-noread.png:
926         changed the "can't read" emblem to a newer one from Susan
928 2000-06-20  John Sullivan  <sullivan@eazel.com>
930         Fixed bug 1428 (Back button crashes in bookmark code)
932         * src/nautilus-window-menus.c: 
933         (bookmark_holder_new),
934         (bookmark_holder_free): Replaced comment that says
935         "bookmark here is unreffed, if this causes problem
936         we can ref it someday" with ref/unref pair, now that
937         we've found a case where it caused a problem. Going
938         Back unrefs the bookmark for the current location before
939         this go-menu code does its thing.
941 2000-06-20  Darin Adler  <darin@eazel.com>
943         * libnautilus-extensions/nautilus-file.c:
944         (nautilus_file_get_octal_permissions_as_string):
945         Make octal permissions always at least 3 digits long.
946         
947         * libnautilus-extensions/nautilus-undo-manager.c:
948         (destroy_servant), (create_servant), (release_transaction),
949         (corba_append), (corba_forget), (corba_undo),
950         (nautilus_undo_manager_initialize),
951         (nautilus_undo_manager_initialize_class),
952         (nautilus_undo_manager_undo), (destroy), (update_undo_menu_item):
953         Rewrote undo manager to support one level of undo and redo.
955 2000-06-20  Andy Hertzfeld  <andy@eazel.com>
957         * libnautilus-extensions/nautilus-icon-factory.c:
958         (nautilus_icon_factory_remove_image_uri),
959         (nautilus_icon_factory_get_icon_for_file), (mark_recently_used),
960         (cached_image_still_valid), (get_image_from_cache):
961         Made image files that use themselves as their icon update properly
962         when the image file changes. To do this, I added a "cached_time"
963         field to the image cache key, and used it in get_image_from_cache
964         to remove the stale image from the cache if necessary
966 2000-06-20  Darin Adler  <darin@eazel.com>
968         Made NautilusFile async. like NautilusDirectory already was.
969         
970         * RENAMING: Added a renaming idea.
971         
972         * libnautilus-extensions/nautilus-directory-async.c:
973         (cancel_get_info), (cancel_metafile_read),
974         (nautilus_directory_cancel): Added the new getting of file info
975         to the cancel logic.
976         (nautilus_compare_file_with_name): Changed to get the name in a
977         way that works with files with no info.
978         (nautilus_async_destroying_file): Handle the cancelling for the
979         get_file_info case.
980         (lacks_info), (wants_info), (request_is_satisfied): Add code to
981         handle the need for file info for a newly created NautilusFile.
982         (get_info_callback), (start_getting_file_info), (state_changed):
983         Add code to get file info for files that lack it.
984         
985         * libnautilus-extensions/nautilus-directory-private.h:
986         Add fields for getting file info for new files.
987         
988         * libnautilus-extensions/nautilus-directory.c:
989         (nautilus_directory_notify_files_moved): Moved the logic about
990         updating the name on a file as it is moved into nautilus-file.c.
991         
992         * libnautilus-extensions/nautilus-file-attributes.h:
993         Added a "deep count" attribute and function as a placeholder for
994         work that I'll be doing for John shortly.
995         
996         * libnautilus-extensions/nautilus-file-private.h:
997         Moved the calls relating to updating an existing NautilusFile
998         so they are private and added one for a name change.
999         
1000         * libnautilus-extensions/nautilus-file-utilities.h:
1001         Added interface for new nautilus_read_entire_file family of calls
1002         that I still need to implement.
1003         
1004         * libnautilus-extensions/nautilus-file.h:
1005         * libnautilus-extensions/nautilus-file.c:
1006         (nautilus_file_new_from_name), (nautilus_file_new_from_info):
1007         Added a way to create a file without having GnomeVFSFileInfo yet.
1008         (nautilus_file_get): Don't get the GnomeVFSFileInfo; let the async.
1009         logic handler that.
1010         (rename_update_info_and_metafile): Handle new name field.
1011         (nautilus_file_rename): Use new name field.
1012         (nautilus_file_get_gnome_vfs_uri): Common code shared in a couple
1013         of places. Started fixing the "no file object for root" problem.
1014         (nautilus_file_matches_uri): Use nautilus_file_get_gnome_vfs_uri.
1015         (nautilus_file_update_info): Handle NULL case and new name field.
1016         (nautilus_file_update_name): New function used by move code in
1017         nautilus-directory.c.
1018         (nautilus_file_compare_by_type): Handle NULL info case.
1019         (nautilus_file_compare_for_sort_internal): Handle NULL info case.
1020         (nautilus_file_compare_name): Use new name field.
1021         (nautilus_file_get_metadata), (nautilus_file_get_metadata_list):
1022         Handle NULL file and use new name field.
1023         (nautilus_file_set_metadata), (nautilus_file_set_metadata_list):
1024         Use new name field.
1025         (nautilus_file_get_name): Handle NULL file and use new name field.
1026         (nautilus_file_get_uri): Use nautilus_file_get_gnome_vfs_uri.
1027         (info_missing): New function to handle NULL file case, NULL info
1028         case, and check the valid_fields more thoroughly.
1029         (nautilus_file_get_date_as_string), (nautilus_file_get_size),
1030         (nautilus_file_can_get_permissions),
1031         (nautilus_file_get_owner_as_string),
1032         (nautilus_file_get_group_as_string),
1033         (nautilus_file_get_size_as_string),
1034         (nautilus_file_get_type_as_string), (nautilus_file_get_file_type),
1035         (nautilus_file_get_mime_type), (nautilus_file_is_mime_type),
1036         (nautilus_file_is_symbolic_link),
1037         Use info_missing to handle NULL file and NULL info cases and to
1038         do valid_fields checks as needed.
1039         (nautilus_file_get_permissions_as_string): Move file check so the
1040         NULL case will work properly.
1041         (nautilus_file_get_mime_type_as_string_attribute): Got rid of
1042         redundant g_free call.
1043         (nautilus_file_get_string_attribute): Remove file check so NULL
1044         case will work properly.
1045         (nautilus_file_get_emblem_names): Handle NULL file case.
1046         (nautilus_file_get_keywords): Handle NULL file case.
1047         (nautilus_file_is_executable): Remove file check so NULL case will
1048         work properly.
1049         (nautilus_file_mark_gone): Add code to get rid of info which we
1050         don't need to keep around for files that are gone.
1051         (nautilus_file_activate_custom): Added FIXME comments.
1053         * libnautilus-extensions/nautilus-gdk-extensions.c:
1054         (nautilus_get_largest_fitting_font): Changed so it handles the case
1055         of NULL for passed-in text properly.
1056         
1057         * libnautilus-extensions/nautilus-icon-factory.c:
1058         (nautilus_icon_factory_get_icon_for_file): Formatting.
1059         (nautilus_icon_factory_get_pixbuf_for_file): Handle NULL file by
1060         returning NULL for the pixbuf.
1061         (nautilus_icon_factory_get_pixmap_and_mask_for_file):
1062         Handle NULL for the pixbuf by return NULL for the pixmap/mask.
1063         
1064         * src/nautilus-main.c: (print_leaks), (main): Do the leak printing
1065         from an atexit function so more of the cleanup will run first.
1067         * libnautilus-extensions/nautilus-gtk-extensions.h:
1068         * libnautilus-extensions/nautilus-gtk-extensions.c:
1069         (nautilus_gtk_pixmap_new_empty): A simple cover for allocating a
1070         GtkPixmap before we have a GdkPixmap to display.
1071         
1072         * src/nautilus-sidebar-title.c: (nautilus_sidebar_title_initialize):
1073         Create the widgets when the title is set up instead of creating
1074         them "as needed".
1075         (update_icon): Always update the icon, even if the file is NULL.
1076         (update_title): Always update the title, even if the file is NULL.
1077         Also got rid of the line-breaking code. We instead use the line-
1078         breaking code inside GtkLabel, which we can tweak as needed by
1079         setting a line width. We may need to revisit this, but lets not
1080         re-add our own line-break code unless we have to.
1081         (append_and_eat), (update_more_info): Always update the info field,
1082         even if the file is NULL. I rewrote this.
1083         (add_emblem), (update_emblems): Always update the emblems, even if
1084         the file is NULL.
1085         (update_notes): Always update the notes, even if the file is NULL.
1086         (update_all): Update all the pieces separately (the old code was
1087         doing them strangely bunched up).
1088         (nautilus_sidebar_title_set_uri): Always ask for the directory
1089         item count, even when the item is not yet known to be a directory.
1090         
1091         * src/nautilus-window.c: (nautilus_window_constructed): Get rid
1092         of the call to gtk_widget_show_all that was showing things that
1093         were intentionally hidden.
1094         (nautilus_window_load_content_view_menu): Removed an unused
1095         variable that was set up but never examined.
1097 2000-06-20  Darin Adler  <darin@eazel.com>
1099         * RENAMING:
1100         * libnautilus-extensions/nautilus-directory-async.c:
1101         (cancel_get_info), (cancel_metafile_read),
1102         (nautilus_directory_cancel),
1103         (nautilus_directory_request_read_metafile),
1104         (nautilus_compare_file_with_name),
1105         (update_file_info_in_list_if_needed),
1106         (dequeue_pending_idle_callback),
1107         (nautilus_directory_get_info_for_new_files),
1108         (nautilus_async_destroying_file), (lacks_info), (wants_info),
1109         (request_is_satisfied), (start_monitoring_file_list),
1110         (get_info_callback), (start_getting_file_info), (state_changed):
1111         * libnautilus-extensions/nautilus-directory-private.h:
1112         * libnautilus-extensions/nautilus-directory.c:
1113         (nautilus_directory_destroy),
1114         (nautilus_directory_notify_files_moved):
1115         * libnautilus-extensions/nautilus-file-attributes.h:
1116         * libnautilus-extensions/nautilus-file-private.h:
1117         * libnautilus-extensions/nautilus-file-utilities.h:
1118         * libnautilus-extensions/nautilus-file.c:
1119         (nautilus_file_new_from_name), (nautilus_file_new_from_info),
1120         (nautilus_file_get), (rename_update_info_and_metafile),
1121         (nautilus_file_rename), (nautilus_file_get_gnome_vfs_uri),
1122         (nautilus_file_matches_uri), (nautilus_file_update_info),
1123         (nautilus_file_update_name), (nautilus_file_compare_by_type),
1124         (nautilus_file_compare_for_sort_internal),
1125         (nautilus_file_compare_name), (nautilus_file_get_metadata),
1126         (nautilus_file_get_metadata_list), (nautilus_file_set_metadata),
1127         (nautilus_file_set_metadata_list), (nautilus_file_get_name),
1128         (nautilus_file_get_uri), (info_missing),
1129         (nautilus_file_get_date_as_string), (nautilus_file_get_size),
1130         (nautilus_file_can_get_permissions),
1131         (nautilus_file_get_permissions_as_string),
1132         (nautilus_file_get_owner_as_string),
1133         (nautilus_file_get_group_as_string),
1134         (nautilus_file_get_mime_type_as_string_attribute),
1135         (nautilus_file_get_size_as_string),
1136         (nautilus_file_get_string_attribute),
1137         (nautilus_file_get_type_as_string), (nautilus_file_get_file_type),
1138         (nautilus_file_get_mime_type), (nautilus_file_is_mime_type),
1139         (nautilus_file_get_emblem_names), (nautilus_file_get_keywords),
1140         (nautilus_file_is_symbolic_link), (nautilus_file_is_executable),
1141         (nautilus_file_mark_gone), (nautilus_file_activate_custom):
1142         * libnautilus-extensions/nautilus-file.h:
1143         * libnautilus-extensions/nautilus-gdk-extensions.c:
1144         (nautilus_get_largest_fitting_font):
1145         * libnautilus-extensions/nautilus-icon-factory.c:
1146         (nautilus_icon_factory_get_icon_for_file),
1147         (nautilus_icon_factory_get_pixbuf_for_file),
1148         (nautilus_icon_factory_get_pixmap_and_mask_for_file):
1149         * src/nautilus-main.c: (nautilus_leak_checker_init),
1150         (nautilus_leak_print_leaks), (print_leaks), (main):
1151         * src/nautilus-sidebar-title.c: (nautilus_gtk_pixmap_new_empty),
1152         (nautilus_sidebar_title_initialize),
1153         (nautilus_sidebar_title_destroy), (update_icon), (update_title),
1154         (append_and_eat), (update_more_info), (add_emblem),
1155         (update_emblems), (update_notes),
1156         (nautilus_sidebar_title_get_text),
1157         (nautilus_sidebar_title_set_text), (update_all),
1158         (nautilus_sidebar_title_set_uri):
1159         * src/nautilus-window.c: (nautilus_window_constructed),
1160         (nautilus_window_load_content_view_menu):
1162 2000-06-20  Michael Engber  <engber@eazel.com>
1164         * src/file-manager/fm-list-view.c: (fm_list_view_bump_zoom_level),
1165         (fm_list_view_zoom_to_level),
1166         (fm_list_view_restore_default_zoom_level),
1167         (fm_list_view_begin_loading), (fm_list_view_set_zoom_level):
1168         Finished off bugs 301 and 450 by making analogous zooming
1169         fixes for list-view as were previously done for icon-view.
1171 2000-06-20  John Sullivan  <sullivan@eazel.com>
1173         Finished task 878 (permissions should be displayed as an
1174         octal number in Properties window)
1176         Finished task 880 (should show accessed & modified dates
1177         in Properties window)
1179         * libnautilus-extensions/nautilus-file.c:
1180         (nautilus_file_get_octal_permissions_as_string):
1181         New function, returns permissions as octal number.
1182         (nautilus_file_get_permissions_as_string): Added check
1183         for invalid permissions.
1184         (nautilus_file_get_string_attribute): Added case for
1185         "octal_permissions"
1186         * src/file-manager/fm-icon-text-window.c: Made "octal
1187         permissions" a new choice for icon captions.
1188         * src/file-manager/fm-properties-window.c:
1189         (mtime_and_ctime_different): New function, does what you
1190         might think.
1191         (create_basic_page): Include accessed date/time, and 
1192         include modification date/time if different than changed
1193         date/time.
1194         (create_permissions_page): Show permissions as octal number
1195         in addition to as string.
1197 2000-06-20  Michael Engber  <engber@eazel.com>
1199         * src/file-manager/fm-directory-view.c:
1200         (fm_directory_view_report_zoom_level_changed):
1201         * src/file-manager/fm-directory-view.h:
1202         * src/file-manager/fm-icon-view.c: (fm_icon_view_begin_loading),
1203         (fm_icon_view_set_zoom_level), (fm_icon_view_bump_zoom_level),
1204         (fm_icon_view_zoom_to_level),
1205         (fm_icon_view_restore_default_zoom_level):
1206         * src/nautilus-view-frame.c: (nautilus_view_frame_load_client):
1207         * src/nautilus-window.c:
1208         (nautilus_window_zoom_level_changed_callback),
1209         (nautilus_window_connect_view),
1210         (nautilus_window_real_set_content_view):
1211         * src/nautilus-zoom-control.c: (set_zoom_level),
1212         (nautilus_zoom_control_button_press_event),
1213         (nautilus_zoom_control_reset_zoom_level),
1214         (nautilus_zoom_level_from_double),
1215         (nautilus_zoom_control_set_zoom_level):
1216         The zoom control is now driven by its zoomable. This corrected
1217         the most visible problem - getting the correct initial state.
1218         Previously, the zoomable never propagated any messages back
1219         (not that anyone was listening for them anyway).
1221 2000-06-20  Ramiro Estrugo  <ramiro@eazel.com>
1223         * libnautilus-extensions/Makefile.am:
1224         Exorcise libnautilus-extensions.h.  Its really used anywhere and
1225         stuff in this library is private anyway.  Also, prevent the
1226         makefile from even creating the installed libnautilus-extensions
1227         directory since nothing gets installed there.
1229         * libnautilus-extensions/libnautilus-extensions.h:
1230         Removed from build.
1231         
1232         * components/help/hyperbola-main.c:
1233         Updated for libnautilus-extensions.h exorcism.
1234         
1235 2000-06-20  Ramiro Estrugo  <ramiro@eazel.com>
1237         * components/tree/.cvsignore:
1238         Ignore the generated files. 
1240 2000-06-20  John Sullivan  <sullivan@eazel.com>
1242         Finished task 670 (Open multiple windows when multiple
1243         URIs dropped on location bar).
1245         * src/nautilus-location-bar.c: 
1246         (nautilus_location_bar_get_window): New helper function.
1247         (drag_data_received_callback): If multiple URIs dropped,
1248         ask the user whether they want to view each in a separate 
1249         window.
1251 2000-06-20  Ramiro Estrugo  <ramiro@eazel.com>
1253         * configure.in:
1254         * libnautilus-extensions/Makefile.am:
1255         * libnautilus/Makefile.am:
1256         * librsvg/Makefile.am:
1257         * nautilus-installer/src/Makefile:
1258         * src/Makefile.am:
1259         * src/file-manager/Makefile.am:
1260         * test/Makefile.am:
1261         Remove the GNOMECANVASPIXBUF depedency.  Its not used no more.
1263 Tue Jun 20 01:49:08 2000  George Lebl  <jirka@5z.com>
1265         * test/nautilus-leak-symbol-lookup.c
1266         (nautilus_leak_symbol_map_get_offsets):  Do the sscanf into a
1267         gulong and then assign to the inode which is of type ino_t to avoid
1268         #ifdefs or other hacks to make it work on alpha.
1270 2000-06-19  Maciej Stachowiak  <mjs@eazel.com>
1272         FIXME 1262 believed fixed now:
1273         
1274         * libnautilus-extensions/nautilus-mime-actions.c
1275         (nautilus_mime_get_short_list_components_for_uri,
1276         gnome_vfs_mime_application_has_id_not_in_list): Fixed some memory
1277         leaks.
1278         
1279         * src/nautilus-window.c (nautilus_window_load_content_view_menu):
1280         Fixed a memory leak.
1282 2000-06-19  Ramiro Estrugo  <ramiro@eazel.com>
1284         * components/html/ntl-web-browser.oafinfo:
1285         * components/mozilla/nautilus-mozilla-content-view.oafinfo:
1286         Update the "name" attributes to reflect the fact that mozilla is
1287         the default "text/html" handler for gnome vfs.
1288         
1289 2000-06-19  Ramiro Estrugo  <ramiro@eazel.com>
1291         * configure.in:
1292         Added better mozilla detection artificial intelligence and voodoo.
1293         
1294 2000-06-19  Maciej Stachowiak  <mjs@eazel.com>
1296         * components/tree/Makefile.am, components/tree/main.c,
1297         components/tree/nautilus-tree-view.c,
1298         components/tree/nautilus-tree-view.h,
1299         components/tree/nautilus-tree-view.oafinfo: Skeleton of the tree
1300         component. For now it just creates the tree widget and puts in
1301         some hard-coded directories.
1303         * components/Makefile.am, configure.in: Add tree component to the
1304         build.
1306 2000-06-19  John Sullivan  <sullivan@eazel.com>
1308         * libnautilus-extensions/nautilus-icon-factory.h:
1309         Removed old never-implemented prototypes that no longer even fit
1310         the general design.
1312 2000-06-19  Maciej Stachowiak  <mjs@eazel.com>
1314         * libnautilus-extensions/nautilus-mime-actions.c: Remove stray
1315         #ifdef.
1317 2000-06-19  John Sullivan  <sullivan@eazel.com>
1319         Finished bug 1401 (bookmark icon never updates) and some
1320         related issues.
1322         * libnautilus-extensions/nautilus-directory-async.c:
1323         (metafile_read_done): Call emit_metadata_changed so
1324         change-watchers will know that new metadata is available.
1325         (set_up_request_by_file_attributes): Added FIXME comment
1326         about confusion between file attributes and metadata.
1327         (is_anyone_waiting_for_metafile): Made it check monitor_list
1328         as well as call_when_ready_list.
1329         
1330         * libnautilus-extensions/nautilus-icon-factory.h,
1331         * libnautilus-extensions/nautilus-icon-factory.c:
1332         (nautilus_icon_factory_get_required_file_attributes):
1333         New function, returns the list of file attributes needed
1334         to get the right icon for a file.
1335         (nautilus_icon_factory_is_icon_ready_for_file): Rewrote
1336         to call this new function.
1337         
1338         * src/nautilus-bookmark-list.c:
1339         (bookmark_in_list_changed_callback), (stop_monitoring_bookmark),
1340         (stop_monitoring_one), (insert_bookmark_internal),
1341         (nautilus_bookmark_list_append),
1342         (nautilus_bookmark_list_delete_item_at),
1343         (nautilus_bookmark_list_delete_items_with_uri),
1344         (nautilus_bookmark_list_insert_item),
1345         (nautilus_bookmark_list_load_file): Made bookmark list monitor
1346         the "changed" signal of all its bookmarks, so it knows to save
1347         new improved icons or names to disk.
1348         * src/nautilus-sidebar-title.c: 
1349         (nautilus_sidebar_title_set_uri): add file monitor in all cases,
1350         not just if it's a directory; monitor the attributes needed for
1351         getting an icon too. This fixes a bug where a custom icon on the
1352         user's home directory wouldn't appear in the sidebar.
1353         (release_file): remove file monitor in all cases.
1355 2000-06-19  Maciej Stachowiak  <mjs@eazel.com>
1357         * libnautilus-extensions/nautilus-mime-actions.c:
1358         (nautilus_mime_get_default_component_for_uri_internal),
1359         (nautilus_mime_get_short_list_components_for_uri),
1360         (make_oaf_query_with_known_mime_type),
1361         (make_oaf_query_with_uri_scheme_only): Make sort conditions
1362         syntactically valid when we don't have a MIME type. Added a FIXME
1363         to report the error properly when we have better error handling.
1364         
1365         * src/nautilus.oafinfo: Remove hardware: as a supported URI scheme
1366         from the list view.
1368 2000-06-19  Maciej Stachowiak  <mjs@eazel.com>
1370         * HACKING: Added docs on how to use the leak checker, thanks to
1371         Pavel.
1373 2000-06-19  John Sullivan  <sullivan@eazel.com>
1375         Fixed uninitialized variable that was masking the real
1376         reason why eazel: URIs don't work today (real reason 
1377         has not been figured out yet).
1379         * src/nautilus-applicable-views.c: (got_file_info_callback):
1380         Initialize default_id to NULL.
1382         More work towards bug 1401 (bookmark icon never updates).
1383         Almost done, but for a bug where bookmark for current
1384         location in Go menu doesn't get an icon.
1386         * libnautilus-extensions/nautilus-string.h,
1387         * libnautilus-extensions/nautilus-string.c:
1388         (nautilus_str_is_empty): New function, returns TRUE for
1389         NULL or zero-length string.
1391         * libnautilus-extensions/nautilus-file-attributes.h:
1392         Added #define for NAUTILUS_FILE_ATTRIBUTE_CUSTOM_ICON
1393         
1394         * libnautilus-extensions/nautilus-directory-async.c:
1395         Add file_info to Request struct.
1396         (request_is_satisfied): Renamed from ready_callback_is_satisfied;
1397         now takes a Request and a NautilusFile instead of a ReadyCallback.
1398         (call_ready_callbacks): Update existing caller for API change.
1399         (set_up_request_by_file_attributes): Set request's file_info
1400         field to TRUE if mime type requested; set request's metafile
1401         field to TRUE if custom icon requested. 
1402         (nautilus_directory_check_if_ready_internal): New function,
1403         use request_is_satisfied to see whether specified attributes 
1404         are available.
1405         * libnautilus-extensions/nautilus-directory-private.h:
1406         Added nautilus_directory_check_if_ready_internal.
1407         * libnautilus-extensions/nautilus-file.c:
1408         (nautilus_file_check_if_ready): Call nautilus_directory_check_
1409         if_ready_internal.
1411         * libnautilus-extensions/nautilus-icon-factory.c:
1412         (nautilus_icon_factory_is_icon_ready_for_file): Implemented
1413         this formerly nonexistent function by calling 
1414         nautilus_file_check_if_ready
1416         * libnautilus-extensions/nautilus-bookmark.c:
1417         (nautilus_bookmark_destroy), (nautilus_bookmark_icon_is_different),
1418         (nautilus_bookmark_update_icon), (bookmark_file_changed_callback),
1419         (nautilus_bookmark_set_icon_to_default), (nautilus_bookmark_new),
1420         (nautilus_bookmark_new_with_icon): NautilusBookmark now keeps
1421         ahold of a NautilusFile internally so it can notice its
1422         "changed" signal. When this signal fires, the bookmark determines
1423         whether a changed icon is available.
1425 2000-06-19  Pavel Cisler <pavel@eazel.com>
1427         * libnautilus-extensions/nautilus-list.c: (activate_row),
1428         (nautilus_list_is_row_selected), (row_set_selected),
1429         (select_row_unselect_others), (nautilus_list_select_all),
1430         (nautilus_list_button_press), (nautilus_list_button_release),
1431         (nautilus_list_set_keyboard_focus),
1432         (nautilus_list_keyboard_move_to), (nautilus_list_select_row),
1433         (keyboard_row_reveal_timeout_callback),
1434         (schedule_keyboard_row_reveal), (reveal_row),
1435         (nautilus_list_keyboard_navigation_key_press),
1436         (nautilus_list_activate_selected_items), (nautilus_list_key_press),
1437         (list_requisition_width), (new_column_width),
1438         (size_allocate_columns), (get_cell_style),
1439         (gdk_window_size_as_rectangle), (draw_cell_pixmap),
1440         (draw_cell_pixbuf), (get_cell_horizontal_start_position),
1441         (last_column_index), (get_cell_rectangle),
1442         (get_cell_greater_rectangle), (draw_cell), (draw_row), (draw_rows),
1443         (nautilus_list_resize_column), (nautilus_list_mark_cell_as_link),
1444         (nautilus_list_set_cell_contents), (nautilus_list_set_pixbuf_list),
1445         (nautilus_list_track_new_column_width),
1446         (nautilus_list_column_resize_track_start),
1447         (nautilus_list_column_resize_track),
1448         (nautilus_list_column_resize_track_end),
1449         (nautilus_list_drag_motion), (nautilus_list_drag_drop),
1450         (nautilus_list_drag_data_received), (nautilus_list_row_at),
1451         (insert_row):
1452         Rewrite draw_row introducing draw_cell and splitting up the drawing
1453         code into several routines.
1454         Eliminate/simplify a bunch of confused blitting code in draw_row.
1455         Fix formatting in nautilus_list.c.
1456         Rename a number of function arguments to more meaningful names.
1457         
1458 2000-06-18  Andy Hertzfeld  <andy@eazel.com>
1460         * libnautilus-extensions/nautilus-background.c:
1461         (nautilus_background_draw_flat_box):
1462         fixed long-standing bug where gradient or tiled image backgrounds
1463         would draw over other widgets in the sidebar.  Fixed by making
1464         nautilus_background_draw_flat_box set up the clip rectangle if
1465         necessary.
1466         
1467 2000-06-18  Andy Hertzfeld  <andy@eazel.com>
1469         * libnautilus-extensions/nautilus-icon-factory.c:
1470         (nautilus_icon_factory_remove_image_uri),
1471         (nautilus_icon_factory_clear_image), (first_file_more_recent),
1472         (nautilus_icon_factory_get_thumbnail_uri), (check_for_thumbnails):
1473         made it check modification dates to update thumbnails when their
1474         underlying image changes.  Had to add a routine to remove specific
1475         images from the icon cache.
1476         
1477 2000-06-18  J Shane Culpepper  <pepper@eazel.com>
1479         * components/services/inventory/.cvsignore:
1480         * components/services/inventory/Makefile.am:
1481         * components/services/inventory/command-line/README:
1482         * components/services/inventory/idl/.cvsignore:
1483         * components/services/inventory/idl/Makefile.am:
1484         * components/services/inventory/idl/trilobite-eazel-inventory.idl:
1485         * components/services/inventory/lib/.cvsignore:
1486         * components/services/inventory/lib/Makefile.am:
1487         * components/services/inventory/lib/trilobite-eazel-inventory-public.h:
1488         * components/services/inventory/nautilus-view/.cvsignore:
1489         * components/services/inventory/nautilus-view/Makefile.am:
1490         * components/services/inventory/nautilus-view/icons/.cvsignore:
1491         * components/services/inventory/nautilus-view/icons/Makefile.am:
1492         * components/services/inventory/nautilus-view/main.c: (main):
1493         * components/services/inventory/nautilus-view/nautilus-inventory-view.c:
1494         * components/services/inventory/nautilus-view/nautilus-inventory-view.h:
1495         * components/services/inventory/service/.cvsignore:
1496         * components/services/inventory/service/Makefile.am:
1497         * components/services/inventory/service/main.c: (main):
1498         * components/services/inventory/service/trilobite-eazel-inventory-impl.c:
1499         * components/services/login/nautilus-view/.cvsignore:
1500         * configure.in:
1502         Adding one more template.  I forgot about this one.  Its not hooked up
1503         to core builds yet but it will build.
1505 2000-06-18  Pavel  <pavel@eazel.com>
1507         * test/nautilus-leak-symbol-lookup.c:
1508         (nautilus_leak_symbol_map_get_offsets):
1509         Do a better 64-bit clean fix avoiding messy ifdefs.
1511 Sun Jun 18 02:50:47 2000  George Lebl <jirka@5z.com>
1513         * components/help/help-method.c (file_in_info_path):
1514           s/g_str_freev/g_strfreev/ as that's the correct glib name
1516         * components/help/hyperbola-main.c,
1517           components/help/hyperbola-nav-index.c,
1518           components/help/hyperbola-nav-search.c
1519           components/help/hyperbola-nav-tree.c,
1520           components/help/hyperbola-nav.h:  Use hyperbola-nav.h as a header
1521           to put the prototypes from the hyperbola-nav-*.c files.  And
1522           include this file in hyperbola-main.c and hyperbola-nav-*.c
1524         * libnautilus-extensions/nautilus-global-preferences.c
1525           (global_preferences_register_boolean_with_defaults)
1526           (global_preferences_register_enum_with_defaults),
1527           libnautilus-extensions/nautilus-preferences.c
1528           (preferences_hash_node_check_changes_func)
1529           (user_level_changed_callback):
1530           use GU?INT_TO_POINTER and GPOINTER_TO_U?INT macros to get and pass
1531           ints and uints as pointers.
1533         * librsvg/rsvg-bpath-util.c, test/nautilus-leak-checker.c:
1534           include <string.h>
1535         
1536         * test/nautilus-leak-checker.c (nautilus_leak_record_malloc)
1537           (nautilus_leak_record_realloc) (nautilus_leak_record_free)
1538           (print_one_leak):  Store pointers in gulongs not guints and
1539           when printing size_t, cast to long and use %ld.
1541         * test/nautilus-leak-symbol-lookup.c
1542           (nautilus_leak_symbol_map_get_offsets): When reading in gint64,
1543           check if long is actually 64bit, in which case use %lx otherwise
1544           use %Lx for sscanf.
1546 2000-06-18  J Shane Culpepper  <pepper@eazel.com>
1548         * components/services/login/.cvsignore:
1549         * components/services/login/Makefile.am:
1550         * components/services/login/command-line/README:
1551         * components/services/login/idl/.cvsignore:
1552         * components/services/login/idl/Makefile.am:
1553         * components/services/login/idl/trilobite-eazel-login.idl:
1554         * components/services/login/lib/.cvsignore:
1555         * components/services/login/lib/Makefile.am:
1556         * components/services/login/lib/trilobite-eazel-login-public.h:
1557         * components/services/login/nautilus-view/.cvsignore:
1558         * components/services/login/nautilus-view/Makefile.am:
1559         * components/services/login/nautilus-view/icons/.cvsignore:
1560         * components/services/login/nautilus-view/icons/Makefile.am:
1561         * components/services/login/nautilus-view/main.c: (main):
1562         * components/services/login/nautilus-view/nautilus-login-view.c:
1563         * components/services/login/nautilus-view/nautilus-login-view.h:
1564         * components/services/login/service/.cvsignore:
1565         * components/services/login/service/Makefile.am:
1566         * components/services/login/service/main.c: (main):
1567         * components/services/login/service/trilobite-eazel-login-impl.c:
1568         * components/services/summary/.cvsignore:
1569         * components/services/summary/Makefile.am:
1570         * components/services/summary/command-line/README:
1571         * components/services/summary/idl/.cvsignore:
1572         * components/services/summary/idl/Makefile.am:
1573         * components/services/summary/idl/trilobite-eazel-summary.idl:
1574         * components/services/summary/lib/.cvsignore:
1575         * components/services/summary/lib/Makefile.am:
1576         * components/services/summary/lib/trilobite-eazel-summary-public.h:
1577         * components/services/summary/nautilus-view/.cvsignore:
1578         * components/services/summary/nautilus-view/Makefile.am:
1579         * components/services/summary/nautilus-view/icons/.cvsignore:
1580         * components/services/summary/nautilus-view/icons/Makefile.am:
1581         * components/services/summary/nautilus-view/main.c: (main):
1582         *
1583         components/services/summary/nautilus-view/nautilus-summary-view.c:
1584         *
1585         components/services/summary/nautilus-view/nautilus-summary-view.h:
1586         * components/services/summary/service/.cvsignore:
1587         * components/services/summary/service/Makefile.am:
1588         * components/services/summary/service/main.c: (main):
1589         *
1590         components/services/summary/service/trilobite-eazel-summary-impl.c:
1592         Adding 2 new templates to finish out all of the missing service pieces
1593         I know of right now.  Once again these will build but they are not
1594         hooked into he core build. They don't do anything yet.
1596         * components/services/trilobite/libtrilobite/helixcode-utils.h:
1597         *
1598         components/services/trilobite/libtrilobite/trilobite-core-distribut
1599         ion.h:
1600         *
1601         components/services/trilobite/libtrilobite/trilobite-core-messaging
1602         .c:
1603         *
1604         components/services/trilobite/libtrilobite/trilobite-core-messaging
1605         .h:
1606         *
1607         components/services/trilobite/libtrilobite/trilobite-core-metadata-
1608         manager.c:
1609         *
1610         components/services/trilobite/libtrilobite/trilobite-core-metadata-
1611         manager.h:
1612         *
1613         components/services/trilobite/libtrilobite/trilobite-core-network.c
1614         :
1615         *
1616         components/services/trilobite/libtrilobite/trilobite-core-network.h
1617         :
1618         *
1619         components/services/trilobite/libtrilobite/trilobite-core-package-m
1620         anager.c:
1621         *
1622         components/services/trilobite/libtrilobite/trilobite-core-package-m
1623         anager.h:
1624         *
1625         components/services/trilobite/libtrilobite/trilobite-core-security-
1626         manager.c:
1627         *
1628         components/services/trilobite/libtrilobite/trilobite-core-security-
1629         manager.h:
1630         *
1631         components/services/trilobite/libtrilobite/trilobite-core-tests.c:
1632         *
1633         components/services/trilobite/libtrilobite/trilobite-core-tests.h:
1634         *
1635         components/services/trilobite/libtrilobite/trilobite-core-utils.c:
1636         *
1637         components/services/trilobite/libtrilobite/trilobite-core-utils.h:
1638         * components/services/trilobite/libtrilobite/trilobite-tests.c:
1639         * components/services/trilobite/libtrilobite/trilobite-tests.h:
1640         * components/services/trilobite/libtrilobite/trilobite-utils.c:
1641         * components/services/trilobite/libtrilobite/trilobite-utils.h:
1643         Cleaned up some more trilobite code to be in sync with our current
1644         standards.
1646         * components/services/vault/idl/trilobite-eazel-vault.idl:
1647         * components/services/vault/lib/.cvsignore:
1648         * components/services/vault/nautilus-view/nautilus-vault-view.h:
1649         * components/services/vault/service/.cvsignore:
1651         Minor fixes to previous checkin.
1653         * configure.in:
1655         Added makefile generation of login and summary directories.
1657 2000-06-17  J Shane Culpepper  <pepper@eazel.com>
1659         * components/services/trilobite/sample/command-line/main.c: (main):
1660         * components/services/trilobite/sample/nautilus-view/main.c:
1661         *
1662         components/services/trilobite/sample/nautilus-view/nautilus-sample-
1663         service-view.c:
1664         *
1665         components/services/trilobite/sample/nautilus-view/nautilus-sample-
1666         service-view.h:
1667         *
1668         components/services/trilobite/sample/nautilus-view/nautilus-sample-
1669         service-view.oafinfo:
1670         *
1671         components/services/trilobite/sample/service/trilobite-eazel-sample
1672         -service.oafinfo:
1674         Fixing oafinfo files to coorespond to the naming scheme. Minor cosmetic
1675         fixes.
1677 2000-06-17  J Shane Culpepper  <pepper@eazel.com>
1679         * components/services/install/lib/eazel-install-metadata.h:
1680         * components/services/install/lib/eazel-install-private.h:
1681         * components/services/install/lib/eazel-install-protocols.h:
1682         * components/services/install/lib/eazel-install-public.h:
1683         * components/services/install/lib/eazel-install-rpm-glue.h:
1684         * components/services/install/lib/eazel-install-tests.h:
1685         * components/services/install/lib/eazel-install-types.h:
1686         * components/services/install/lib/eazel-install-xml-package-list.h:
1688         Fixed install headers to use correct ifdefs.  Mostly cosmetic.
1690         * components/services/trilobite/sample/lib/sample-service-public.h:
1691         * components/services/trilobite/sample/nautilus-view/.cvsignore:
1692         * components/services/trilobite/sample/nautilus-view/Makefile.am:
1693         *
1694         components/services/trilobite/sample/nautilus-view/nautilus-eazel-s
1695         ample-service-view.oafinfo:
1696         *
1697         components/services/trilobite/sample/nautilus-view/nautilus-sample-
1698         service-view.oafinfo:
1699         *
1700         components/services/trilobite/sample/service/sample-service-public.
1701         h:
1703         More sample fixes to standardize our defacto service template.
1705         * components/services/vault/.cvsignore:
1706         * components/services/vault/Makefile.am:
1707         * components/services/vault/command-line/.cvsignore:
1708         * components/services/vault/command-line/Makefile.am:
1709         * components/services/vault/command-line/main.c: (main):
1710         * components/services/vault/idl/.cvsignore:
1711         * components/services/vault/idl/Makefile.am:
1712         * components/services/vault/idl/trilobite-eazel-vault.idl:
1713         * components/services/vault/lib/.cvsignore:
1714         * components/services/vault/lib/Makefile.am:
1715         * components/services/vault/lib/trilobite-eazel-vault-public.h:
1716         * components/services/vault/nautilus-view/.cvsignore:
1717         * components/services/vault/nautilus-view/Makefile.am:
1718         * components/services/vault/nautilus-view/icons/.cvsignore:
1719         * components/services/vault/nautilus-view/icons/Makefile.am:
1720         * components/services/vault/nautilus-view/main.c: (main):
1721         * components/services/vault/nautilus-view/nautilus-vault-view.c:
1722         * components/services/vault/nautilus-view/nautilus-vault-view.h:
1723         * components/services/vault/service/.cvsignore:
1724         * components/services/vault/service/Makefile.am:
1725         * components/services/vault/service/main.c: (main):
1726         * components/services/vault/service/trilobite-eazel-vault-impl.c:
1727         * configure.in:
1729         Added the vault skeleton.  Not hooked up to the build yet since there's
1730         nothing of substance here yet.  It will build though.
1732 2000-06-16  Andy Hertzfeld  <andy@eazel.com>
1734         * icons/Makefile.am:
1735         * icons/knob.png:
1736         added a nice knobbie image for the stretch handles
1737         * libnautilus-extensions/nautilus-icon-canvas-item.c:
1738         (draw_stretch_handles_aa), (nautilus_icon_canvas_item_render):
1739         use the knob image instead of a black rectangle for the
1740         stretch handles.  For now, it only appears in aa mode and they're
1741         not positioned right.
1742         * src/nautilus-window-toolbars.c: (get_stock_callback),
1743         (get_stock_widget), (setup_button), (setup_toolbar_images):
1744         added the search button to the toolbar theming machinery
1745         
1746 2000-06-16  John Sullivan  <sullivan@eazel.com>
1748         * src/nautilus-window-menus.c: (clear_appended_bookmark_items):
1749         Added a NULL check that prevents it from crashing when you
1750         add bookmarks or change themes.
1752 2000-06-16  John Sullivan  <sullivan@eazel.com>
1754         More work towards bug 1401 (bookmark icon never updates).
1755         You can avoid some warnings if you get the latest Bonobo.
1757         * libnautilus-extensions/nautilus-bookmark.h:
1758         * libnautilus-extensions/nautilus-bookmark.c:
1759         (nautilus_bookmark_initialize_class), (nautilus_bookmark_set_name):
1760         Define "changed" signal for bookmarks and wire it up (though
1761         not yet to the icon-changing case). Remove never-implemented
1762         and never-to-be-implemented "nautilus_bookmark_get_file" since
1763         I changed my mind on the design.
1764         * src/nautilus-window-menus.c: (append_bookmark_to_menu),
1765         (clear_appended_bookmark_items): Connect and disconnect
1766         signals from the window to the bookmarks in the Go and
1767         Bookmarks menus.
1769 2000-06-16  Arlo Rose  <arlo@eazel.com>
1770         * icons/eazel/search.png
1771         * icons/About_Image.png
1772         Fixed the invalid white point error on out about image.
1773         Made the "Eazel Theme" search icon look like an icon Susan
1774         would have done.
1776 2000-06-16  Darin Adler  <darin@eazel.com>
1778         * libnautilus-extensions/nautilus-mime-actions.c:
1779         (nautilus_mime_get_default_action_type_for_uri),
1780         (nautilus_mime_get_default_application_for_uri_internal),
1781         (nautilus_mime_get_short_list_applications_for_uri),
1782         (nautilus_mime_get_short_list_components_for_uri),
1783         (nautilus_mime_get_all_applications_for_uri),
1784         (nautilus_mime_set_short_list_applications_for_uri),
1785         (nautilus_mime_set_short_list_components_for_uri):
1786         Simplify the handling of NULL MIME type.
1788 2000-06-16  Rebecka Schulman  <set EMAIL_ADDRESS environment variable>
1790         * icons/Makefile.am:
1791         * icons/eazel/Makefile.am:
1792         * icons/search.png:
1793         Fixed search icon issues, I hope
1795 2000-06-16  Darin Adler  <darin@eazel.com>
1797         Another round in the war against computer poetry at the console.
1799         * components/loser/content/main.c: (loser_make_object), (main):
1800         * components/loser/sidebar/main.c: (loser_make_object), (main):
1801         * components/sample/main.c: (sample_make_object), (main):
1802         * components/services/startup/nautilus-view/main.c:
1803         (services_object_destroyed), (services_make_object):
1804         * src/nautilus-location-bar.c:
1805         (nautilus_location_bar_set_location):
1806         * src/nautilus-switchable-navigation-bar.c:
1807         (nautilus_switchable_navigation_bar_set_location):
1808         Took out a lot of puts calls that may have once been useful for
1809         debugging but now are mostly misleading.
1811 2000-06-16  John Sullivan  <sullivan@eazel.com>
1813         Some work towards bug 1401 (bookmark icon never updates).
1814         No visible effect yet.
1816         * libnautilus-extensions/nautilus-bookmark.h:
1817         Added nautilus_bookmark_get_file prototype, not yet
1818         called or implemented.
1819         
1820         * libnautilus-extensions/nautilus-file.h,
1821         * libnautilus-extensions/nautilus-file.c:
1822         (nautilus_file_check_if_ready): New function, does
1823         nothing yet.
1825         * libnautilus-extensions/nautilus-icon-factory.h:
1826         Added nautilus_icon_factory_is_icon_ready_for_file
1827         prototype, not yet called or implemented.
1828                 
1829         * src/nautilus-window-menus.c:
1830         (nautilus_window_initialize_bookmarks_menu),
1831         (nautilus_window_initialize_go_menu),
1832         (nautilus_window_remove_bookmarks_menu_callback),
1833         (nautilus_window_remove_go_menu_callback),
1834         (refresh_bookmarks_menu), 
1835         (refresh_bookmarks_menu_idle_callback),
1836         (schedule_refresh_bookmarks_menu), (refresh_go_menu),
1837         (refresh_go_menu_idle_callback), (schedule_refresh_go_menu):
1838         Made the code that rebuilds the Go and Bookmarks menus when
1839         there's been a change to the bookmarks use idle handling to
1840         batch up requests. This will be important when bookmarks
1841         broadcast updates for their icons.
1842         
1843         * src/nautilus-window-private.h: Defined NautilusWindowDetails
1844         struct. We should eventually migrate all of the fields
1845         of NautilusWindow in here, but I didn't do that now.
1846         Added two fields used by bookmark-menu-updating code.
1847         * src/nautilus-window.h: Made a details field using
1848         NautilusWindowDetails.
1850         * src/nautilus-window.c: 
1851         (nautilus_window_init): Create details field.
1852         (nautilus_window_destroy): Clean up any pending idle bookmark
1853         refreshing stuff.
1855 2000-06-16  Rebecka Schulman  <rebecka@eazel.com>
1857         * libnautilus-extensions/nautilus-global-preferences.c:
1858         (global_preferences_create_dialog),
1859         (global_preferences_register_for_ui):
1860         * libnautilus-extensions/nautilus-global-preferences.h:
1861         * src/nautilus-search-bar.c: (nautilus_search_bar_initialize):
1862         * src/nautilus-search-bar.h: 
1863         Changed search preferences, and fixed search icon
1864         
1865 2000-06-16  Darin Adler  <darin@eazel.com>
1867         * src/nautilus-location-bar.c: (try_to_expand_path):
1868         Removed first cut at a fix for the "space accepts" problem.
1869         (entry_would_have_inserted_characters),
1870         (editable_key_press_callback), (nautilus_location_bar_initialize):
1871         Put in a new fix that uses a marshal function to avoid clobbering
1872         the return value of key_press_event.
1874 2000-06-16  Rebecka Schulman  <rebecka@eazel.com>
1876         * icons/eazel/Search.png:
1877         Added search icon to toolbar, courtesy of Arlo.
1878         It still has graphics issues, we will try and iron
1879         those out
1880         * libnautilus-extensions/nautilus-global-preferences.c:
1881         (global_preferences_create_dialog),
1882         (global_preferences_register_for_ui):
1883         Changed the word on the search preferences
1885 2000-06-16  Darin Adler  <darin@eazel.com>
1887         * components/services/trilobite/sample/lib/.cvsignore:
1888         New generated files that needed to be ignored.
1889         
1890         * libnautilus-extensions/nautilus-bookmark.c: (get_icon_for_uri):
1891         * libnautilus-extensions/nautilus-icon-dnd.c:
1892         (receive_dropped_keyword):
1893         * src/nautilus-sidebar.c: (receive_dropped_keyword),
1894         (open_with_callback):
1895         * src/nautilus-window-manage-views.c: (handle_unreadable_location),
1896         (nautilus_window_end_location_change_callback):
1897         * src/nautilus-window.c: (view_menu_choose_view_callback):
1898         Added FIXME comments for all cases I might have to revisit to
1899         finish with bug 866.
1900         
1901         * libnautilus-extensions/nautilus-directory-private.h:
1902         * libnautilus-extensions/nautilus-directory.c:
1903         (nautilus_search_directory_new),
1904         (nautilus_directory_new), (nautilus_directory_is_local),
1905         (nautilus_directory_is_search_directory):
1906         Removed the is_local and is_search_directory booleans since they
1907         are very fast to compute.
1908         (nautilus_directory_call_when_ready): Removed the special case for
1909         search directories that was causing a problem with NULL
1910         directories.  This is better handled inside
1911         nautilus-directory-async.c.
1912         (nautilus_uri_is_search_uri): Greatly simplified the
1913         implementation of the function and moved it out of the
1914         "self-check-specific" part of the file.
1915         
1916         * libnautilus-extensions/nautilus-file-utilities.c:
1917         (nautilus_format_uri_for_display), (nautilus_make_uri_from_input),
1918         (nautilus_get_user_main_directory):
1919         Renamed SCHEMA -> SCHEME. Converted code to use
1920         nautilus_get_uri_from_local_path instead of just adding a file://
1921         on the beginning of path names.
1922         
1923         * libnautilus-extensions/nautilus-file.c: (nautilus_file_get):
1924         Did part of the work needed to make this function do its work
1925         async. It now only does the I/O if the file is not already known,
1926         but there's still the issue of doing the I/O only when requested.
1927         
1928         * libnautilus-extensions/nautilus-icon-dnd.c:
1929         (receive_dropped_keyword): Fixed storage leaks.
1930         (nautilus_icon_container_receive_dropped_icons),
1931         (nautilus_icon_dnd_update_drop_target): Added FIXMEs about
1932         file-specific stuff that's in here but should be in FMIconView.
1933         
1934         * libnautilus-extensions/nautilus-icon-factory.c:
1935         (path_represents_svg_image): Changed local svg check to use
1936         gnome-vfs instead of NautilusFile.  This is better since we want
1937         it to be sync.
1938         (load_specific_image): Change to use
1939         nautilus_get_local_path_from_uri instead of doing its own file://
1940         checks and unescaping.
1941         
1942         * libnautilus-extensions/nautilus-mime-actions.c:
1943         (nautilus_mime_get_default_component_for_uri_internal): Call the
1944         new public OAF_ServerInfo_duplicate from liboaf instead of our
1945         own copy. The one I checked in liboaf has a number of bugs fixed
1946         from the one that was in here.
1947         (mime_type_get_supertype): Put in a special case for NULL so we
1948         don't return "/*" as a supertype for NULL.
1949         (nautilus_do_component_query): Call OAF_ServerInfo_duplicate.
1950         Also get rid of a NULL check before CORBA_free.
1951         
1952         * libnautilus-extensions/nautilus-stock-dialogs.c:
1953         (nautilus_timed_wait_start), (nautilus_timed_wait_free):
1954         * libnautilus-extensions/nautilus-stock-dialogs.h:
1955         Added a window title to the still-not-implemented code in here.
1956         
1957         * src/file-manager/fm-icon-text-window.c:
1958         (create_icon_text_window): Changed the window title to match the
1959         menu item.
1960         
1961         * src/nautilus-main.c: Formatting tweaks.
1962         
1963         * src/nautilus-sidebar.c: (receive_dropped_keyword), Fixed a
1964         storage leak. Put in a FIXME about the code that is a copy of
1965         what's in the icon view.
1966         
1967 2000-06-16  Maciej Stachowiak  <mjs@eazel.com>
1969         Task 1351: implement controllers to allow location bar and the
1970         search/browse button
1972         * src/nautilus-location-bar.h, src/nautilus-location-bar.c:
1973         Factored this into two classes, NautilusNavigationBar, a class
1974         that defines the abstract interface (the set_location function and
1975         the location_changed signal), and NautilusLocationBar, a concrete
1976         implementation that works like the previous location bar.
1977         (nautilus_location_bar_set_location,
1978         nautilus_location_bar_get_location): Made static. Made
1979         `nautilus_location_bar_set_location' the handler for the
1980         set_location virtual method.
1981         * src/nautilus-navigation-bar.h, src/nautilus-navigation-bar.c:
1982         Abstract superclass for navigation bars.
1983         * src/nautilus-search-bar.h, src/nautilus-search-bar.c: New
1984         subclass of NautilusNavigationBar. Contains placeholder widgets
1985         for now, will eventually be the search bar.
1986         * src/nautilus-switchable-navigation-bar.h,
1987         src/nautilus-switchable-navigation-bar.c: New subclass of
1988         NautilusNavigationBar that allows switching between the location
1989         bar and the search bar.
1990         * src/nautilus-window.h: Rename `ent_uri' member of the window
1991         struct to `navigation_bar'.
1992         * src/nautilus-window.c
1993         (nautilus_window_navigation_bar_mode_changed_callback): Callback
1994         to sync the "search" toggle button to the mode of the switchable
1995         navigation bar.
1996         (nautilus_window_constructed): Create a
1997         NautilusSwitchableNavigationBar instead of a NautilusLocationBar.
1998         (nautilus_window_set_search_mode): New function to be used by the
1999         search toggle button callback; simply sets the mode of the
2000         switchable navigation bar appropriately.
2001         * src/nautilus-window-toolbars.c: Made Search button a toggle
2002         button.
2003         (toolbar_search_callback): Call `nautilus_window_set_search_mode'.
2004         * src/nautilus-window-manage-views.c
2005         (nautilus_window_update_internals,
2006         nautilus_window_end_location_change_callback): Use
2007         NautlusNavigationBar calls instead of NautilusLocationBar ones.
2008         * src/Makefile.am: Add new files to the build, and split all
2009         headers into noinst_HEADERS out from the nautilus_SOURCES
2010         variable.
2012 2000-06-16  Seth Nickell  <seth@eazel.com>
2014         * src/nautilus-location-bar.h:
2015         * src/nautilus-location-bar.c: (nautilus_location_bar_get_location)
2016         Added function nautilus_location_bar_get_location
2017         * src/nautilus-location-bar.c: (drag_data_received_callback),
2018         (drag_data_get_callback), (editable_activated_callback),
2019         Changed to call nautilus_location_bar_get_location. An incidental
2020         effect (well actually intentional) is that nautilus-location-bar.c
2021         no longer uses gtk_entry_get_text. Hopefully this function will
2022         keep people adding code "mid-stream" to the URL bar (eg before
2023         activation, such as the auto-completion code) from being confused
2024         by the disparity between URIs and what the user is allowed to
2025         type.
2027 2000-06-16  J Shane Culpepper  <pepper@eazel.com>
2029         * components/services/trilobite/idl/sample-service.idl:
2030         * components/services/trilobite/sample/Makefile.am:
2031         * components/services/trilobite/sample/command-line/.cvsignore:
2032         * components/services/trilobite/sample/command-line/Makefile.am:
2033         * components/services/trilobite/sample/idl/.cvsignore:
2034         * components/services/trilobite/sample/idl/Makefile.am:
2035         * components/services/trilobite/sample/idl/sample-service.idl:
2036         * components/services/trilobite/sample/lib/Makefile.am:
2037         * components/services/trilobite/sample/nautilus-view/Makefile.am:
2038         * components/services/trilobite/sample/service/Makefile.am:
2039         * configure.in:
2040         Fixing the trilobite sample component to use a more suitable layout.
2041         This will make the sample much easier to use as a template for new
2042         service components.
2044 2000-06-16  Seth Nickell  <seth@eazel.com>
2046         * src/nautilus-location-bar.c: (try_to_expand_path):
2047         Don't be fooled by the meager function count!  This bug was/is a
2048         bitch. Added a gtk_widget_grab_focus call to the end of the
2049         function because *somewhere* in the above procedure the gtk focus
2050         is being fscked with. Will track the actual problem down later,
2051         but this will get it out of our hair so we can test things like
2052         unescaping code.  Also changed from gtk_entry_get_text to
2053         gtk_editable_get_chars as the former is deprecated and Truly Evil
2054         (tm).
2055         
2056 2000-06-15  John Sullivan  <sullivan@eazel.com>
2058         Modernized some NautilusBookmark code that had been written
2059         in the dark ages (by me).
2061         * libnautilus-extensions/nautilus-bookmark.c:
2062         (nautilus_bookmark_compare_with), (nautilus_bookmark_copy),
2063         (nautilus_bookmark_get_name),
2064         (nautilus_bookmark_get_pixmap_and_mask),
2065         (nautilus_bookmark_get_pixbuf), (nautilus_bookmark_get_icon),
2066         (nautilus_bookmark_get_uri), (create_pixmap_widget_for_bookmark),
2067         (nautilus_bookmark_menu_item_new): Eliminated the use of
2068         const NautilusBookmark *; made _get_name and _get_uri return
2069         copies instead of the original text; tweaked a little formatting.
2071         * components/history/nautilus-history-view.c: (install_icon),
2072         (hyperbola_navigation_history_load_location),
2073         (hyperbola_navigation_history_select_row):
2074         * libnautilus-extensions/nautilus-bookmark.h:
2075         * src/nautilus-bookmark-list.c: (append_bookmark_node),
2076         (nautilus_bookmark_list_append), (nautilus_bookmark_list_contains),
2077         (nautilus_bookmark_list_delete_items_with_uri),
2078         (nautilus_bookmark_list_insert_item):
2079         * src/nautilus-bookmark-list.h:
2080         * src/nautilus-bookmarks-window.c: (install_bookmark_icon),
2081         (on_select_row), (repopulate):
2082         * src/nautilus-window-manage-views.c:
2083         (nautilus_window_reset_title_internal), (handle_go_back),
2084         (handle_go_forward), (handle_go_elsewhere):
2085         * src/nautilus-window-menus.c: (bookmark_holder_new),
2086         (show_bogus_bookmark_window), (activate_bookmark_in_menu_item),
2087         (append_bookmark_to_menu),
2088         (nautilus_window_add_bookmark_for_current_location):
2089         * src/nautilus-window.c: (nautilus_window_back_or_forward):
2090         Eliminated the use of const NautilusBookmark *; changed all
2091         callers of nautilus_bookmark_get_name and _get_uri to free
2092         the results.
2094 2000-06-15  John Sullivan  <sullivan@eazel.com>
2096         Fixed bug 705 (Need to avoid network hit on startup for
2097         each remote bookmark). Bookmarks now get their icon only
2098         when they're initially created, and then store a text
2099         version of it to disk for future sessions. We might have
2100         to update the icon at certain times later (maybe when it's
2101         used?).
2103         * libnautilus-extensions/nautilus-bookmark.h,
2104         * libnautilus-extensions/nautilus-bookmark.c:
2105         (nautilus_bookmark_copy), (nautilus_bookmark_get_pixbuf),
2106         (nautilus_bookmark_get_icon), (get_icon_for_uri),
2107         (nautilus_bookmark_new), (nautilus_bookmark_new_with_icon):
2108         Changed guts of NautilusBookmark to keep a 
2109         NautilusScalableIcon around. Also some miscellaneous
2110         cleanup in this ancient file (need to do more).
2111         
2112         * libnautilus-extensions/nautilus-icon-factory.h,
2113         * libnautilus-extensions/nautilus-icon-factory.c:
2114         (get_themed_icon_file_path): Added icon != NULL assert.
2115         (get_icon_file_path): Handle NULL icon name by returning NULL;
2116         some style fixes.
2117         (nautilus_scalable_icon_get_text_pieces): New function,
2118         returns all four pieces of text used to define a
2119         NautilusScalableIcon.
2120         (nautilus_scalable_icon_new_from_text_pieces):
2121         Renamed from nautilus_scalable_icon_get and made public.
2122         (nautilus_icon_factory_get_icon_for_file),
2123         (nautilus_icon_factory_get_emblem_icon_by_name),
2124         (load_image_with_embedded_text): Updated for function renaming.
2125         
2126         * src/nautilus-bookmark-list.c: (append_bookmark_node),
2127         (make_bookmark_from_node), (nautilus_bookmark_list_load_file):
2128         Save & restore NautilusScalableIcon with each bookmark.
2130         Added custom error message when trying to open a location
2131         fails with GNOME_VFS_LOGINFAILED
2133         * src/nautilus-applicable-views.h: Define 
2134         NAUTILUS_NAVIGATION_RESULT_LOGIN_FAILED
2135         * src/nautilus-applicable-views.c:
2136         (get_nautilus_navigation_result_from_gnome_vfs_result):
2137         Support GNOME_VFS_LOGINFAILED, and tweak message for
2138         unhandled case.
2139         * src/nautilus-window-manage-views.c:
2140         (nautilus_window_end_location_change_callback):
2141         Support NAUTILUS_NAVIGATION_RESULT_LOGIN_FAILED and
2142         remove message for unhandled case since complaining
2143         about unhandled cases is done elsewhere.
2145 2000-06-15  Andy Hertzfeld  <andy@eazel.com>
2147         * src/nautilus-window.c: (nautilus_window_constructed):
2148         At Arlo's request, removed the frame containing the sidebar.  This
2149         will look even better as the new splitter widget gets refined.
2150         
2151 2000-06-15  Pavel Cisler  <pavel@eazel.com>
2153         * components/hardware/nautilus-hardware-view.c:
2154         * components/html/ntl-web-browser.oafinfo:
2155         * components/mozilla/nautilus-mozilla-content-view.oafinfo:
2156         * components/music/nautilus-music-view.c:
2157         * components/music/nautilus-music-view.oafinfo:
2158         * components/rpmview/nautilus-rpm-view.c:
2159         * components/shell/shell.oafinfo:
2160         * libnautilus-extensions/nautilus-drag.c:
2161         (nautilus_drag_build_selection_list):
2162         * libnautilus-extensions/nautilus-drag.h:
2163         * libnautilus-extensions/nautilus-file.c:
2164         (nautilus_file_get_type_as_string):
2165         * src/nautilus-sidebar.c:
2166         * src/nautilus.oafinfo:
2167         Convert a bunch of illegal mime types "special/*" to 
2168         legal equivalents.
2169         
2170 2000-06-15  Robin * Slomkowski <rslomkow@eazel.com>
2172         * nautilus.spec.in: added a requirment for ORbit 0.5.1
2174 2000-06-15  Andy Hertzfeld  <andy@eazel.com>
2176         * components/music/nautilus-music-view.c: (fetch_play_time),
2177         (play_current_file), (nautilus_music_view_update_from_uri):
2178         fixed bug where the track time slider in the music view was not
2179         working anymore, that Darin introduced when he was cleaning
2180         stuff up.  Fixed by escaping and unescaping uris properly.
2181         
2182 2000-06-15  J Shane Culpepper  <pepper@eazel.com>
2184         * HACKING:
2185         * components/services/install/command-line/Makefile.am:
2186         * components/services/install/lib/Makefile.am:
2187         * components/services/startup/lib/Makefile.am:
2188         * components/services/trilobite/sample/service/Makefile.am:
2189         * configure.in:
2190         * nautilus-installer/src/Makefile.am:
2192         Removing the gnet dependancy.  It is no longer used.
2194 2000-06-15  JP Rosevear  <jpr@arcavia.com>
2196         * test/Makefile.am: Make sure that libleakcheck does not rely
2197         on the /gnome prefix to build. Make sure libleakcheck is cleaned
2198         and uninstalled properly.
2200 2000-06-15  Andy Hertzfeld  <andy@eazel.com>
2202         * libnautilus-extensions/nautilus-icon-factory.c:
2203         (load_specific_image):
2204         fixed bug where images that had special characters (like blanks) wouldn't
2205         display as custom icons, by unescaping the uri before using it as a path
2206         * libnautilus-extensions/nautilus-icon-canvas-item.c:
2207         (map_pixbuf):
2208         tweaked positioning of preview icon
2209         * src/nautilus-window-toolbars.c:
2210         fixed a misspelling in a tooltip (heirarchy -> hierarchy)
2211         * icons/audio.png,
2212         * icons/emblem-nowrite.png:
2213         new icons from Susan
2214         
2215 2000-06-14  Rebecka Schulman  <rebecka@eazel.com>
2217         * libnautilus-extensions/nautilus-global-preferences.c:
2218         (global_preferences_create_dialog),
2219         (global_preferences_register_for_ui):
2220         * libnautilus-extensions/nautilus-global-preferences.h:
2221         Added search preferences to the preferences dialog
2222         
2223         * libnautilus-extensions/nautilus-search-async.c:
2224         (nautilus_async_medusa_search), (request_search),
2225         (search_results_received_callback):
2226         changed the result getting implementation to use 
2227         g_io_channel_watch, which emits a signal when
2228         results arrive at the socket
2230 2000-06-14  Maciej Stachowiak  <mjs@eazel.com>
2232         Task 1057: Terminal-based programs should open into a new terminal window
2234         * libnautilus-extensions/nautilus-program-choosing.h,
2235         libnautilus-extensions/nautilus-program-choosing.c:
2236         (nautilus_launch_application): Take a GnomeVFSMimeApplication *
2237         instead of a command string; add gnome-terminal -x
2238         (nautilus_launch_application_from_command): Old version that takes
2239         a command string renamed. Also, uses `system' instead of `execlp',
2240         so command-line arguments in the command string work.
2241         * libnautilus-extensions/nautilus-program-chooser.c
2242         (launch_mime_capplet): Adjusted to conform.
2243         * src/file-manager/fm-directory-view.c
2244         (fm_directory_view_launch_application): Likewise.
2245         * src/nautilus-sidebar.c: (command_button_callback,
2246         nautilus_sidebar_chose_application_callback, add_command_buttons):
2247         Likewise.
2248         * test/test-nautilus-mime-actions.c (print_application): Show the
2249         requires_terminal field for applications.
2251 2000-06-14  Pavel Cisler  <pavel@eazel.com>
2253         * test/Makefile.am:
2254         * test/nautilus-leak-checker.c: (detect_reentry),
2255         (nautilus_leak_record_malloc), (nautilus_leak_record_realloc),
2256         (nautilus_leak_record_free), (allocate_temporary_fallback_memory),
2257         (__libc_malloc), (__libc_memalign), (__libc_realloc),
2258         (__libc_free), (malloc), (realloc), (memalign), (calloc), (free),
2259         (main):
2260         Fix problems in the reentry detection code that caused malloc/frees
2261         sometimes getting counted twice.
2262         Add reentry detection for malloc getting reentered as a result of 
2263         calling realloc.
2264         
2265 2000-06-14  Ramiro Estrugo  <ramiro@eazel.com>
2267         * libnautilus-extensions/nautilus-horizontal-splitter.c:
2268         (nautilus_horizontal_splitter_initialize_class),
2269         (nautilus_horizontal_splitter_initialize),
2270         (nautilus_horizontal_splitter_destroy),
2271         (nautilus_horizontal_splitter_draw),
2272         (nautilus_horizontal_splitter_new):
2273         * libnautilus-extensions/nautilus-horizontal-splitter.h:
2274         Damn, forgot to commit these 2 in the last checkin.
2275         
2276 2000-06-14  Ramiro Estrugo  <ramiro@eazel.com>
2278         * Makefile.am:
2279         * components/hardware/Makefile.am:
2280         * components/help/Makefile.am:
2281         * components/history/Makefile.am:
2282         * components/html/Makefile.am:
2283         * components/loser/content/Makefile.am:
2284         * components/loser/sidebar/Makefile.am:
2285         * components/music/Makefile.am:
2286         * components/notes/Makefile.am:
2287         * components/rpmview/Makefile.am:
2288         * components/sample/Makefile.am:
2289         * components/services/startup/nautilus-view/Makefile.am:
2290         * components/services/time/nautilus-view/Makefile.am:
2291         * components/services/trilobite/sample/nautilus-view/Makefile.am:
2292         * components/websearch/Makefile.am:
2293         * configure.in:
2294         * cut-n-paste-code/.cvsignore:
2295         * cut-n-paste-code/Makefile.am:
2296         * cut-n-paste-code/README:
2297         * cut-n-paste-code/widgets/.cvsignore:
2298         * cut-n-paste-code/widgets/Makefile.am:
2299         * cut-n-paste-code/widgets/e-paned/.cvsignore:
2300         * cut-n-paste-code/widgets/e-paned/Makefile.am:
2301         * cut-n-paste-code/widgets/e-paned/e-hpaned.c: (e_hpaned_get_type),
2302         (e_hpaned_class_init), (e_hpaned_init), (e_hpaned_new),
2303         (e_hpaned_size_request), (e_hpaned_size_allocate), (e_hpaned_draw),
2304         (e_hpaned_xor_line), (e_hpaned_button_press),
2305         (e_hpaned_button_release), (e_hpaned_motion),
2306         (e_hpaned_handle_shown):
2307         * cut-n-paste-code/widgets/e-paned/e-hpaned.h:
2308         * cut-n-paste-code/widgets/e-paned/e-paned.c: (e_paned_get_type),
2309         (e_paned_class_init), (e_paned_child_type), (e_paned_init),
2310         (e_paned_set_arg), (e_paned_get_arg), (e_paned_realize),
2311         (e_paned_map), (e_paned_unmap), (e_paned_unrealize),
2312         (e_paned_expose), (e_paned_add1), (e_paned_add2), (e_paned_pack1),
2313         (e_paned_pack2), (e_paned_add), (e_paned_remove), (e_paned_forall),
2314         (e_paned_get_position), (e_paned_set_position),
2315         (e_paned_set_handle_size), (e_paned_compute_position),
2316         (e_paned_handle_shown), (e_paned_quantized_size):
2317         * cut-n-paste-code/widgets/e-paned/e-paned.h:
2318         * cut-n-paste-code/widgets/e-paned/e-vpaned.c: (e_vpaned_get_type),
2319         (e_vpaned_class_init), (e_vpaned_init), (e_vpaned_new),
2320         (e_vpaned_size_request), (e_vpaned_size_allocate), (e_vpaned_draw),
2321         (e_vpaned_xor_line), (e_vpaned_button_press),
2322         (e_vpaned_button_release), (e_vpaned_motion),
2323         (e_vpaned_handle_shown):
2324         * cut-n-paste-code/widgets/e-paned/e-vpaned.h:
2325         * helper-utilities/authenticate/Makefile.am:
2326         * libnautilus-extensions/Makefile.am:
2327         * libnautilus-extensions/README:
2328         * libnautilus/README:
2329         * src/Makefile.am:
2330         * test/Makefile.am:
2331         Added a place to put cut-n-paste code.  Cut-n-pasted the e-paned
2332         widget from evolution.  Yes, and evil thing to do.  Send me mail
2333         with alternative solutions.
2335         Also added README files for libnautilus and
2336         libnautilus-extenstions to clarify thieir public vs internal
2337         state.
2339         * src/nautilus-window.c: (nautilus_window_constructed),
2340         (nautilus_window_real_set_content_view):
2341         Use the new NautilusHorizontalSplitter widget instead of 
2342         the gtk one.
2344 2000-06-14  John Sullivan  <sullivan@eazel.com>
2346         Fixed bug 173 (UI for reverting directory view background 
2347         to default). Added "Reset Background" to Settings and 
2348         context menu.
2350         * libnautilus-extensions/nautilus-background.h:
2351         * libnautilus-extensions/nautilus-background.c:
2352         (nautilus_background_is_set), (nautilus_background_reset):
2353         New functions for checking whether the background has
2354         been set, and for resetting it to the uncustomized state.
2355         
2356         * libnautilus-extensions/nautilus-directory-background.c:
2357         (background_changed_callback), (directory_changed_callback):
2358         Changed default metadata value from white to NULL.
2359         
2360         * src/file-manager/fm-directory-view.h,
2361         * src/file-manager/fm-directory-view.c:
2362         (fm_directory_view_initialize_class), (reset_background_callback),
2363         (fm_directory_view_get_background_widget),
2364         (fm_directory_view_get_background), (compute_menu_item_info),
2365         (append_gtk_menu_item_with_view), (append_selection_menu_subtree),
2366         (fm_directory_view_real_create_background_context_menu_items),
2367         (create_open_with_gtk_menu),
2368         (fm_directory_view_real_create_selection_context_menu_items),
2369         (insert_bonobo_menu_item), (insert_bonobo_menu_subtree),
2370         (reset_bonobo_trash_delete_menu), (reset_bonobo_open_with_menu),
2371         (fm_directory_view_real_merge_menus), (update_one_menu_item),
2372         (fm_directory_view_real_update_menus): Put "Reset Background"
2373         menu item in Settings menu and context menu; keep its
2374         sensitivity synched with background state.
2375         
2376         * src/file-manager/fm-icon-view.c:
2377         (fm_icon_view_get_background_widget): New function to let
2378         superclass get at the NautilusBackground.
2379         (fm_icon_view_initialize_class): Wire up new function.
2380         (fm_icon_view_initialize), (create_icon_container): Remove
2381         unused return value for create_icon_container.
2382         
2383         * src/file-manager/fm-list-view.c: 
2384         (fm_list_view_get_background_widget): New function to let
2385         superclass get at the NautilusBackground.
2386         (fm_list_view_initialize_class): Wire up new function.
2387         (create_list): Remove unused return value.
2389 2000-06-14  Robin * Slomkowski <rslomkow@eazel.com>
2391         * nautilus.spec.in: Added multiple Requires: because we can't rely on other packages
2393 2000-06-14  Eskil Heyn Olsen  <eskil@eazel.com>
2395         * nautilus.spec.in: Added popt > 1.5 as a requirement, since RH61
2396         installs popt 1.4.
2397         
2398 2000-06-14  John Sullivan  <sullivan@eazel.com>
2400         * libnautilus-extensions/nautilus-list.c:
2401         (nautilus_list_drag_data_received): Fixed bug where dropping
2402         colors into list view crashed by setting details->data_type and
2403         got_drop_data_type.
2404         * src/file-manager/fm-icon-view.c: (compute_menu_item_info):
2405         Changed menu item title from "Customize Icon Text..." to
2406         "Icon Captions...". Not sure if I like this verbless style yet.
2408 2000-06-14  Robin * Slomkowski <rslomkow@eazel.com>
2410         * nautilus.spec.in: added permission so it can run for non-root
2411         * HACKING: clean up orginization, and added what could be used from Helix
2413 2000-06-14  Pavel Cisler  <pavel@eazel.com>
2415         * configure.in:
2416         Fix some configure breakage.
2418 2000-06-14  Fatih Demir <kabalak@gmx.net>
2419         
2420         * configure.in: Reordered the languages.
2422           Also added a check for bzip2 > 1.0.0 which has
2423            got other bz-routines (but this point does need
2424             more work to work.) 
2426 2000-06-14  Benedikt Roth  <Benedikt.Roth@gmx.net>
2428         * configure.in: Added German (de) to ALL_LINGUAS
2429         * nautilus.desktop: Added German translations
2430         
2431 2000-06-14  Rebecka Schulman  <rebecka@eazel.com>
2433         * libnautilus-extensions/nautilus-search-async.c: (run_search),
2434         (initialize_socket), (get_key_from_cookie), (parse_results):
2435         added dummy search to nautilus-search-async 
2437 2000-06-13  Andy Hertzfeld  <andy@eazel.com>
2439         * src/file-manager/fm-icon-view.c:
2440         (icon_container_preview_callback):
2441         made it display an icon's file name in the status bar at low zoom levels
2442         * src/file-manager/fm-directory-view.c,h:
2443         (fm_directory_view_display_selection_info),
2444         (display_selection_info_idle_callback):
2445         exposed display_selection_info routine externally, so the file name
2446         previewing can restore the selection info
2447         
2448 2000-06-13  Pavel Cisler  <pavel@eazel.com>
2450         * test/Makefile.am:
2451         Couldn't figure out how to build the leakchecker shared library
2452         with libtool, added a simple link rule instead.
2453         
2454         * test/nautilus-leak-symbol-lookup.c:
2455         (nautilus_leak_find_symbol_in_map),
2456         (nautilus_leak_symbol_map_get_offsets),
2457         (nautilus_leak_symbol_map_load),
2458         (nautilus_leak_symbol_map_load_if_needed),
2459         (nautilus_leak_find_symbol_address),
2460         (nautilus_leak_print_symbol_address):
2461         Redid symbol lookup to work better in some cases where dladdr
2462         would not give us the right function.
2464         * test/nautilus-leak-checker.c: (allocate_lots), (leak_mem2),
2465         (leak_mem), (main):
2466         tweaks to testing code.
2468 2000-06-13  Rebecca Schulman  <rebecka@eazel.com>
2469         Initial changes to implement search architecture.
2471         * libnautilus-extensions/Makefile.am:
2473         * libnautilus-extensions/nautilus-directory-async.c:
2474         Changed metafile reading to skip this for search directories
2475         call a separate sync reader for search directories (the
2476         async handle creates a thread but doesn't talk to medusa
2477         yet)
2479         Added
2480         * libnautilus-extensions/nautilus-search-async.c:
2481         * libnautilus-extensions/nautilus-search-async.h:
2482         location of future async search calls
2483         
2484         * libnautilus-extensions/nautilus-directory-private.h:
2485         added is_search_directory boolean field to NautilusDirectoryDetails
2486         * libnautilus-extensions/nautilus-directory.c:
2487         * libnautilus-extensions/nautilus-directory.h:
2488         nautilus_search_directory_new supplemnts nautilus_directory_new
2489         and test functions nautilus_diretory_is_search_directory and
2490         nautilus_uri_is_search_uri
2492         * src/nautilus-window.c:
2493         * src/nautilus-window-toolbars.c:
2494         added search button (icon to come!)
2495         
2496         * src/nautilus.oafinfo:
2497         added search: to list of acceptable 
2498         content for list view
2499         
2500 2000-06-13  Darin Adler  <darin@eazel.com>
2502         Preparations to make nautilus_file_get use async. I/O.
2503         There's still a long way to go.
2505         * components/music/nautilus-music-view.c: (fetch_play_time),
2506         (format_play_time), (fetch_song_info), (play_status_display),
2507         (play_current_file), (nautilus_music_view_update_from_uri):
2508         Changed the music view so it doesn't use NautilusFile any more
2509         since it already has what it needs from gnome-vfs. There's still
2510         the issue of sync. vs. async. for this component.
2511         
2512         * libnautilus-extensions/Makefile.am:
2513         * libnautilus-extensions/nautilus-stock-dialogs.c:
2514         (nautilus_timed_wait_start), (nautilus_timed_wait_free),
2515         (nautilus_timed_wait_stop):
2516         * libnautilus-extensions/nautilus-stock-dialogs.h:
2517         Started on something called nautilus_timed_wait that we need to
2518         use when all our lines are busy. Checked it in since I'll be in
2519         Palo Alto and don't want any non-checked-in changes.
2520         
2521         * libnautilus-extensions/nautilus-background-canvas-group.c:
2522         Added comments and removed some dead code.
2523         
2524         * src/nautilus-window-menus.c: (uri_known_not_to_exist):
2525         Rewrote this to use sync. I/O on local files instead of using
2526         nautilus_file_get.
2527         
2528         * test/.cvsignore: Ignore some of the new files in this directory.
2530 2000-06-13  Maciej Stachowiak  <mjs@eazel.com>
2532         * libnautilus-extensions/nautilus-mime-actions.c
2533         (nautilus_mime_get_short_list_components_for_uri): Completed task
2534         1267 (component query should pass allowed iids).
2535         
2536         (nautilus_mime_get_default_component_for_uri_internal,
2537         nautilus_mime_get_all_components_for_uri,
2538         make_oaf_query_with_known_mime_type,
2539         make_oaf_query_with_uri_scheme_only, nautilus_do_component_query):
2540         Adjust to necessary interface changes.
2542 2000-06-13  John Sullivan  <sullivan@eazel.com>
2544         Finished task 1044 (Make "Open With Other" behave sensibly
2545         when there are no programs available for this file), and
2546         some related UI tweaking.
2548         * libnautilus-extensions/nautilus-program-chooser.c:
2549         (launch_mime_capplet), (launch_mime_capplet_and_close_dialog):
2550         Split old launch_mime_capplet into these two parts, so I
2551         could call the simpler one from two places.
2552         (run_program_configurator_callback),
2553         (nautilus_program_chooser_new): Moved the "Why not visit the
2554         Control Center?" box from the sub-dialog into the main dialog.
2555         Also created both a "Cancel" and "Done" button, only one of
2556         which is shown at a time.
2557         (nautilus_program_chooser_set_is_cancellable): New function,
2558         determines which of the two buttons "Cancel" and "Done" to
2559         display.
2560         (nautilus_program_chooser_show_no_choices_message):
2561         New function, puts up a modeless dialog telling user that
2562         there are no applications/viewers for this file and asking
2563         if they want to go to the File Types and Programs capplet.
2565         * libnautilus-extensions/nautilus-program-chooser.h:
2566         Prototype for nautilus_program_chooser_show_no_choices_message. 
2568         * libnautilus-extensions/nautilus-program-choosing.c:
2569         (any_programs_available_for_file): New helper function.
2570         (nautilus_choose_component_for_file),
2571         (nautilus_choose_application_for_file): Reworked a bit to
2572         call nautilus_program_chooser_show_no_choices_message
2573         in the case where there are no choices at all.
2575 2000-06-13  Pavel Cisler <pavel@eazel.com>
2577         * test/nautilus-leak-checker-stubs.h:
2578         * test/nautilus-leak-checker.c:
2579         (nautilus_leak_allocation_record_init),
2580         (nautilus_leak_allocation_record_copy),
2581         (nautilus_leak_allocation_record_finalize),
2582         (nautilus_leak_allocation_record_free),
2583         (nautilus_leak_stack_crawl_compare), (nautilus_leak_initialize),
2584         (get_stack_trace), (detect_reentry), (nautilus_leak_record_malloc),
2585         (nautilus_leak_record_realloc), (nautilus_leak_record_free),
2586         (nautilus_leak_initialize_if_needed), (__libc_malloc),
2587         (__libc_memalign), (__libc_calloc), (__libc_realloc),
2588         (__libc_free), (malloc), (realloc), (memalign), (calloc), (free),
2589         (print_one_leak), (nautilus_leak_print_leaks),
2590         (nautilus_leak_checker_init), (allocate_lots), (leak_mem2),
2591         (leak_mem), (main):
2592         * test/nautilus-leak-checker.h:
2593         * test/nautilus-leak-hash-table.c:
2594         (nautilus_leak_hash_element_finalize),
2595         (nautilus_leak_hash_element_hash),
2596         (nautilus_leak_hash_element_match),
2597         (nautilus_leak_hash_element_vector_inititalize),
2598         (nautilus_leak_hash_element_vector_finalize),
2599         (nautilus_leak_hash_element_vector_at),
2600         (nautilus_leak_hash_element_vector_add),
2601         (nautilus_leak_hash_element_vector_remove),
2602         (nautilus_leak_hash_table_optimal_size),
2603         (nautilus_leak_hash_table_initialize),
2604         (nautilus_leak_hash_table_finalize),
2605         (nautilus_leak_hash_table_new), (nautilus_leak_hash_table_free),
2606         (nautilus_leak_hash_table_hash), (nautilus_leak_hash_table_find),
2607         (nautilus_leak_hash_table_add),
2608         (nautilus_leak_hash_table_remove_element),
2609         (nautilus_leak_hash_table_remove),
2610         (nautilus_leak_table_new_entry_at),
2611         (nautilus_leak_table_add_entry), (nautilus_leak_table_new),
2612         (nautilus_leak_table_free), (sort_by_count),
2613         (nautilus_leak_table_sort_by_count), (sort_by_size),
2614         (nautilus_leak_table_sort_by_size),
2615         (nautilus_leak_table_each_item):
2616         * test/nautilus-leak-hash-table.h:
2617         * test/nautilus-leak-symbol-lookup.c:
2618         (nautilus_leak_find_symbol_in_map),
2619         (nautilus_leak_symbol_map_load),
2620         (nautilus_leak_symbol_map_load_if_needed),
2621         (nautilus_leak_print_symbol_cleanup),
2622         (nautilus_leak_find_symbol_address),
2623         (nautilus_leak_print_symbol_address):
2624         * test/nautilus-leak-symbol-lookup.h:
2625         New small leakchecking library. It is a bit simpler than MemProf in that
2626         it doesn't try to find leaks, just lists all the outstanding allocations
2627         (which if done at application quit is a list of leaks). It borrows heavily
2628         from MemProf.
2630         * test/Makefile.am:
2631         Currently broken makefile changes for the leakchecker library. Needs some
2632         libtool wrestling that Ramiro kindly offered to help with.
2633         
2634         * src/nautilus-main.c: (nautilus_leak_checker_init),
2635         (nautilus_leak_print_leaks), (main):
2636         Call the leakchecker. Noop unless the leakchecker lib is loaded with
2637         Nautilus using the LD_PRELOAD variable (the only way of turning the 
2638         thing on/off).
2640 2000-06-14  Anders Carlsson  <andersca@gnu.org>
2642         * libnautilus-extensions/nautilus-background-canvas-group.c
2643         (nautilus_background_canvas_group_draw): Add a check to see if the
2644         NautilusBackground is too complex which means we have do draw if
2645         ourselves. Otherwise, we can have a light touch and let the canvas
2646         handle it without our "help".
2647         
2648         * libnautilus-extensions/nautilus-background.c,
2649           libnautilus-extensions/nautilus-background.h
2650         (nautilus_background_is_too_complex_for_gtk_style): New function. 
2651         Checks if a NautilusBackground is too complex to be drawn by
2652         GtkStyle, forcing us to draw it ourselves.
2654 2000-06-13  Seth Nickell  <seth@eazel.com>
2656         * libnautilus-extensions/nautilus-file-utilities.c:
2657         (nautilus_format_uri_for_display):
2658         Fix stupid bug that clipped the inital '/' in many cases
2659         caused by a #define.
2660         * src/nautilus-location-bar.c: (drag_data_received_callback),
2661         (drag_data_get_callback)
2662         Add calls to nautilus_make_uri_from_input rather than reading
2663         the input "raw" out of the location box.
2664         (try_to_expand_path):
2665         Add calls to nautilus_make_uri_from_input and make sure that
2666         selection allignments etc are appropriate between actual uri
2667         being completed and the user's display.
2669 2000-06-13  John Sullivan  <sullivan@eazel.com>
2671         Fixed bug mjs noticed where the Properties window tended
2672         to crash on close.
2674         * src/file-manager/fm-properties-window.c:
2675         (name_field_done_editing): use gtk_editable_get_chars
2676         instead of gtk_entry_get_text, since _get_text returns
2677         the original text and is deprecated. This was being freed
2678         twice.
2679         (name_field_update_to_match_file): Made this function use
2680         the safe call too, which required adding a local variable.
2682         Fixed bug 1212 ("View as" menu doesn't update after user
2683         modifies preferred list from "View as Other" dialog)
2684         
2685         * src/nautilus-applicable-views.h: Eliminated 
2686         content_identifiers from NautilusNavigationInfo.
2687         * src/nautilus-applicable-views.c: (got_file_info_callback):
2688         Don't bother getting short list here since it's no longer
2689         stored; just get default component.
2690         (nautilus_navigation_info_free): Take out cleanup for
2691         content_identifiers.
2692         * src/nautilus-window.c: 
2693         (create_content_view_menu_item): Made this function take
2694         ownership of a parameter instead of copying it, so that
2695         one of the two callers wouldn't have to make extra copies.
2696         Commented this.
2697         (replace_special_current_view_in_content_view_menu):
2698         This was caller #1, now it passes copy as parameter.
2699         (nautilus_window_load_content_view_menu): This was caller
2700         #2. Now it gets preferred list for uri here, instead of
2701         examining NautilusNavigationInfo parameter. Eliminated
2702         that parameter.
2703         (chose_component_callback): Reload the content view menu
2704         after the View as Other dialog closes.
2705         * src/nautilus-window-private.h,
2706         * src/nautilus-window-manage-views.c: Eliminated 2nd parameter
2707         from nautilus_window_load_content_view.
2709 2000-06-13  Maciej Stachowiak  <mjs@eazel.com>
2711         * components/help/help-method.c: (help_uri_to_string,
2712         convert_file_to_uri, transform_absolute_file, file_in_info_path):
2713         Complete task 695 (Help component is missing a test for info
2714         pages), also many general style fixes.
2715         
2716         * libnautilus-extensions/nautilus-mime-actions.c
2717         (nautilus_mime_get_default_component_for_uri_internal): Complete
2718         task 1145 (Add fallback code to choose one of short list
2719         components)
2720         
2721 2000-06-13  Gene Z. Ragan  <gzr@eazel.com>
2723         Fixed bug #306, right click menu in zoom control doesn't work.
2724         The menu now works.
2725         
2726         * libnautilus/nautilus-view-component.idl:
2727         Added zoom_to_level interface.
2728         
2729         * libnautilus/nautilus-zoomable.c:
2730         (impl_Nautilus_Zoomable_zoom_to_level):
2731         (nautilus_zoomable_initialize_class):
2732         Implimentation of zoom_to_level interface
2733         
2734         * src/file-manager/fm-directory-view.c:
2735         * src/file-manager/fm-directory-view.h:
2736         (fm_directory_view_initialize_class),
2737         (fm_directory_view_initialize), (zoomable_zoom_to_level_callback),
2738         (fm_directory_view_zoom_to_level):
2739         Added signal handling and callback for new ZOOM_TO_LEVEL signal.
2740         
2741         * src/file-manager/fm-icon-view.c: 
2742         (fm_icon_view_zoom_to_level),
2743         (fm_icon_view_initialize_class):
2744         ZOOM_TO_LEVEL handling.
2745         
2746         * src/file-manager/fm-list-view.c: (fm_list_view_initialize_class),
2747         (fm_list_view_zoom_to_level),
2748         (fm_list_view_restore_default_zoom_level):
2749         ZOOM_TO_LEVEL handling.
2750         
2751         * src/nautilus-view-frame.c: 
2752         * src/nautilus-view-frame.h:
2753         (nautilus_view_frame_zoom_to_level):
2754         New public function for zoom to level.
2755         
2756         * src/nautilus-window.c: 
2757         (zoom_to_level_callback):
2758         Yes, a zoom to level callback.
2759         
2760         * src/nautilus-zoom-control.c:
2761         * src/nautilus-zoom-control.h:
2762         (nautilus_zoom_control_class_initialize), (zoom_menu_callback),
2763         (create_zoom_menu), (set_zoom_level):
2764         Enabled context zoom menu functionality.
2765         
2766 2000-06-13  John Sullivan  <sullivan@eazel.com>
2768         Finished task 994 (add button connecting "View as Other"
2769         dialog with mime-type-configuring capplet.
2771         * libnautilus-extensions/nautilus-program-chooser.c:
2772         (launch_mime_capplet), (run_program_configurator_callback):
2773         Added a button to go to the "File Types and Programs"
2774         capplet from within the "View as Other" dialog (actually
2775         from its sub-dialog).
2777 2000-06-13  Darin Adler  <darin@eazel.com>
2779         Some build fixes.
2781         * acconfig.h:
2782         * configure.in:
2783         Removed the NAUTILUS_PREFIX that I added. I did it wrong.
2784         
2785         * libnautilus-extensions/nautilus-file-utilities.h:
2786         * libnautilus-extensions/nautilus-file-utilities.c:
2787         (nautilus_pixmap_file):
2788         * components/hardware/nautilus-hardware-view.c:
2789         (setup_overview_form):
2790         * components/services/startup/nautilus-view/nautilus-service-startup-view.c:
2791         (setup_form_title), (setup_signup_form), (setup_config_form):
2792         * libnautilus-extensions/nautilus-icon-canvas-item.c: (map_pixbuf):
2793         * libnautilus-extensions/nautilus-icon-factory.c:
2794         (make_full_icon_path):
2795         * src/nautilus-application.c: (display_caveat):
2796         * src/nautilus-property-browser.c:
2797         (nautilus_property_browser_initialize),
2798         (nautilus_emblem_dialog_new), (make_category_link):
2799         * src/nautilus-zoom-control.c: (nautilus_zoom_control_initialize):
2800         Replaced most uses of gnome_pixmap_file on "nautilus/"
2801         with a call to a new nautilus_pixmap_file in an attempt to
2802         make installations where nautilus has a different prefix
2803         from gnome-libs work. I now think this is a waste of time,
2804         but Mathieu Lacage says this is still an improvement.
2805         
2806         * components/help/Makefile.am:
2807         * components/help/hyperbola-filefmt.c: (fmt_map_entry):
2808         Use HYPERBOLA_DATADIR instead of NAUTILUS_PREFIX.
2809         
2810         * components/websearch/ntl-web-search.c:
2811         (web_search_populate_engines):
2812         Use WEB_SEARCH_DATADIR instead of NAUTILUS_PREFIX.
2813         
2814         * components/mozilla/nautilus-mozilla-content-view.c:
2815         (nautilus_mozilla_content_view_initialize),
2816         (mozilla_content_view_set_busy_cursor),
2817         (mozilla_content_view_request_progress_change),
2818         (mozilla_content_view_clear_busy_cursor),
2819         (mozilla_load_location_callback), (bonobo_mozilla_callback),
2820         (mozilla_merge_bonobo_items_callback),
2821         (mozilla_title_changed_callback),
2822         (mozilla_location_changed_callback), (mozilla_net_status_callback),
2823         (mozilla_link_message_callback), (mozilla_progress_callback),
2824         (mozilla_open_uri_callback):
2825         Took a cut at fixing the Mozilla component for the new API.
2826         Ramiro will have to take care of the rest.
2827         
2828         * components/services/install/lib/Makefile.am:
2829         * components/services/time/command-line/Makefile.am:
2830         * components/services/time/nautilus-view/Makefile.am:
2831         * components/services/time/service/Makefile.am:
2832         * components/services/trilobite/libtrilobite/Makefile.am:
2833         * components/services/trilobite/sample/command-line/Makefile.am:
2834         * components/services/trilobite/sample/service/Makefile.am:
2835         * libnautilus/Makefile.am:
2836         Updated all ORBit IDL compiles to use IDL_CFLAGS as suggested
2837         in the form of a patch by Martijn van Beers.
2838         
2839         * libnautilus-extensions/Makefile.am:
2840         * libnautilus-extensions/nautilus-file-utilities.c:
2841         (nautilus_get_user_main_directory),
2842         (nautilus_get_pixmap_directory):
2843         * libnautilus-extensions/nautilus-link-set.c:
2844         (get_link_set_document):
2845         * src/Makefile.am:
2846         * src/nautilus-property-browser.c:
2847         (nautilus_property_browser_drag_data_get), (make_drag_image),
2848         (get_xml_path), (make_properties_from_directory):
2849         * src/nautilus-link-set-window.c: (get_link_set_names):
2850         * src/file-manager/Makefile.am:
2851         * src/file-manager/fm-properties-window.c: (get_property_names):
2852         Used NAUTILUS_DATADIR and DATADIR instead of NAUTILUS_PREFIX.
2853         
2854         * libnautilus-extensions/nautilus-file-utilities.h:
2855         * libnautilus-extensions/nautilus-file-utilities.c:
2856         (nautilus_get_uri_from_local_path): Added a new helper function for
2857         use when you have a path and need a URI. This does a better job
2858         than just adding a "file://" on the front.
2859         
2860         * libnautilus-extensions/nautilus-gtk-extensions.h:
2861         * libnautilus-extensions/nautilus-gtk-extensions.c:
2862         (get_first_callback), (nautilus_gtk_container_get_first_child):
2863         * src/nautilus-window-toolbars.c: (setup_button):
2864         * src/nautilus-window.c:
2865         (replace_special_current_view_in_content_view_menu):
2866         Implemented the first_child function and used it where appropriate.
2867         
2868         * libnautilus-extensions/nautilus-preferences-item.c:
2869         (add_icon_themes): Use nautilus_get_pixmap_directory intead of
2870         misusing gnome_pixmap_file by calling it on a directory name.
2871         
2872         * nautilus-installer/src/support.c: (create_pixmap),
2873         (create_image): Added FIXMEs since it isn't clear if this code
2874         will work with a Nautilus prefix that's not the same as the
2875         gnome-libs prefix.
2876         
2877         * Makefile.am: Tweaked white space.
2878         
2879 2000-06-13  Seth Nickell  <seth@eazel.com>
2881         * libnautilus-extensions/nautilus-directory.c:
2882         (nautilus_directory_get):
2883         Minor assertion changes.
2884         * libnautilus-extensions/nautilus-file-utilities.h:
2885         * libnautilus-extensions/nautilus-file-utilities.c:
2886         (nautilus_format_uri_for_display), (nautilus_make_uri_from_input):
2887         Created two functions for preparing data to display to the user
2888         (unescape, filter file://, probably more stuff later), and
2889         dealing with URIs inputed by the user (currently tacks on a
2890         file:// if the "uri" starts with a /)
2891         * src/nautilus-location-bar.c: (editable_activated_callback),
2892         (nautilus_location_bar_set_location):
2893         Changed to use nautilus_format_uri_for_display and
2894         nautilus_make_uri_from_input.
2896 2000-06-13  Gene Z. Ragan  <gzr@eazel.com>
2898         Fixed bug #305.  Clicking in center of zoom control
2899         does not change zoom level.
2901         Clicking in the center of the zoom control emits a ZOOM_DEFAULT
2902         signal.  It is up to each view that connects to this signal
2903         to determine what is the default zoom setting.  Right now, all
2904         views are using NAUTILUS_ZOOM_LEVEL_STANDARD.  This could be
2905         changed to a zoom level better suited for the view.
2906         
2907         * libnautilus/nautilus-view-component.idl:
2908         Added zoom_default interface.
2909         
2910         * libnautilus/nautilus-zoomable.c:
2911         * libnautilus/nautilus-zoomable.h:
2912         (impl_Nautilus_Zoomable_zoom_default)
2913         Implimetation function of zoom_default interface
2914         
2915         (nautilus_zoomable_initialize_class):
2916         Set up new ZOOM_DEFAULT signal.
2917         
2918         * src/file-manager/fm-directory-view.c:
2919         * src/file-manager/fm-directory-view.h:
2920         (fm_directory_view_initialize_class),
2921         (fm_directory_view_initialize), (zoom_out_callback),
2922         (zoom_default_callback), (zoomable_zoom_default_callback),
2923         (fm_directory_view_restore_default_zoom_level):
2924         New functions to enable zoom to default.
2925         
2926         * src/file-manager/fm-icon-view.c:      
2927         (fm_icon_view_initialize_class):
2928         Override zoom_default method.
2929         
2930         (fm_icon_view_restore_default_zoom_level),
2931         New function to enable zoom to default.
2932         
2933         * src/file-manager/fm-list-view.c: 
2934         (fm_list_view_initialize_class):
2935         Override zoom_default method.
2936         
2937         (fm_list_view_restore_default_zoom_level):
2938         New function to enable zoom to default.
2939         
2940         * src/file-manager/fm-properties-window.c: 
2941         (create_basic_page):
2943         * src/nautilus-view-frame.c: 
2944         * src/nautilus-view-frame.h:
2945         (nautilus_view_frame_zoom_default):
2946         New signal handling callback
2948         * src/nautilus-window.c: 
2949         (zoom_default_callback):
2950         New signal handling callback
2951         
2952         * src/nautilus-zoom-control.c:
2953         * src/nautilus-zoom-control.h:
2954         (nautilus_zoom_control_class_initialize),
2955         (nautilus_zoom_control_button_press_event):
2957         Work in progress on bug #971
2958         * src/file-manager/fm-directory-view.c:
2959         (open_one_properties_window),
2961         * libnautilus-extensions/nautilus-undo-signal-handlers.c:
2962         (nautilus_entry_user_changed_callback),
2963         (editable_register_edit_undo),
2964         (restore_editable_from_undo_snapshot_callback):
2966 2000-06-13  Darin Adler  <darin@eazel.com>
2968         Renamed and changed around parameters for the basic operations on
2969         views to simplify and clarify Nautilus. Later we will be able to
2970         clean up the state machine.
2972         Some "theoretical" stuff may be lost in this process, but we can
2973         easily re-add what we really need. The old stuff had many
2974         unimplemented placeholders and half-baked ideas.
2976         * libnautilus/nautilus-view-component.idl:
2977         * libnautilus/nautilus-view.h:
2978         * libnautilus/nautilus-view.c:
2979         * libnautilus/nautilus-zoomable.c:
2980         (nautilus_zoomable_ensure_zoomable_frame),
2981         (nautilus_zoomable_set_zoom_level):
2982         * src/nautilus-applicable-views.c: (got_file_info_callback),
2983         (got_metadata_callback), (nautilus_navigation_info_new),
2984         (nautilus_navigation_info_free):
2985         * src/nautilus-applicable-views.h:
2986         * src/nautilus-view-frame-bonobo-control.c:
2987         (nautilus_view_frame_activate_uri),
2988         (bonobo_control_try_load_client), (bonobo_control_load_location):
2989         * src/nautilus-view-frame-bonobo-embeddable.c:
2990         (bonobo_subdoc_notify_location_change),
2991         (bonobo_subdoc_try_load_client):
2992         * src/nautilus-view-frame-corba.c:
2993         (impl_Nautilus_ViewFrame__destroy),
2994         (impl_Nautilus_ViewFrame__create),
2995         (impl_Nautilus_ViewFrame_open_location),
2996         (impl_Nautilus_ViewFrame_open_location_in_new_window),
2997         (impl_Nautilus_ViewFrame_report_location_change),
2998         (impl_Nautilus_ViewFrame_report_selection_change),
2999         (impl_Nautilus_ViewFrame_report_status),
3000         (impl_Nautilus_ViewFrame_report_load_underway),
3001         (impl_Nautilus_ViewFrame_report_load_progress),
3002         (impl_Nautilus_ViewFrame_report_load_complete),
3003         (impl_Nautilus_ViewFrame_report_load_failed),
3004         (impl_Nautilus_ViewFrame_set_title):
3005         * src/nautilus-view-frame-nautilus-view.c:
3006         (nautilus_view_try_load_client), (load_location), (stop_loading),
3007         (selection_changed):
3008         * src/nautilus-view-frame-private.h:
3009         * src/nautilus-view-frame.c:
3010         (nautilus_view_frame_initialize_class),
3011         (nautilus_view_frame_destroy_client),
3012         (nautilus_view_frame_handle_client_destroy_2),
3013         (nautilus_view_frame_new), (nautilus_view_frame_load_client),
3014         (nautilus_view_frame_load_location),
3015         (nautilus_view_frame_stop_loading),
3016         (nautilus_view_frame_selection_changed),
3017         (nautilus_view_frame_is_zoomable),
3018         (nautilus_view_frame_open_location),
3019         (nautilus_view_frame_open_location_in_new_window),
3020         (nautilus_view_frame_report_location_change),
3021         (nautilus_view_frame_report_selection_change),
3022         (nautilus_view_frame_report_status),
3023         (nautilus_view_frame_report_load_underway),
3024         (nautilus_view_frame_report_load_progress),
3025         (nautilus_view_frame_report_load_complete),
3026         (nautilus_view_frame_report_load_failed),
3027         (nautilus_view_frame_set_title),
3028         (nautilus_view_frame_zoom_level_changed):
3029         * src/nautilus-view-frame.h:
3030         * src/nautilus-zoomable-frame-corba.c:
3031         (impl_Nautilus_ZoomableFrame__destroy),
3032         (impl_Nautilus_ZoomableFrame__create),
3033         (impl_Nautilus_ZoomableFrame_zoom_level_changed):
3034         Changed the API and added a ton of comments.
3035         
3036         * components/hardware/nautilus-hardware-view.c:
3037         (nautilus_hardware_view_initialize),
3038         (hardware_view_load_location_callback):
3039         * components/help/hyperbola-nav-index.c:
3040         (hyperbola_navigation_index_select_row):
3041         * components/help/hyperbola-nav-search.c:
3042         (hyperbola_navigation_search_select_row):
3043         * components/help/hyperbola-nav-tree.c:
3044         (hyperbola_navigation_tree_new),
3045         (hyperbola_navigation_tree_load_location),
3046         (hyperbola_navigation_tree_select_row):
3047         * components/history/nautilus-history-view.c:
3048         (hyperbola_navigation_history_load_location),
3049         (hyperbola_navigation_history_select_row), (make_obj):
3050         * components/html/ntl-web-browser.c: (browser_url_load_done),
3051         (browser_vfs_callback), (browser_goto_url_real),
3052         (browser_goto_url), (browser_select_url), (browser_title_changed),
3053         (browser_notify_location_change):
3054         * components/loser/content/nautilus-content-loser.c:
3055         (nautilus_content_loser_initialize),
3056         (loser_load_location_callback):
3057         * components/loser/sidebar/nautilus-sidebar-loser.c:
3058         (nautilus_sidebar_loser_initialize),
3059         (loser_load_location_callback):
3060         * components/music/nautilus-music-view.c:
3061         (nautilus_music_view_initialize),
3062         (music_view_load_location_callback):
3063         * components/notes/nautilus-notes.c: (notes_load_location),
3064         (make_notes_view):
3065         * components/rpmview/nautilus-rpm-view.c:
3066         (nautilus_rpm_view_initialize), (go_to_button_callback),
3067         (rpm_view_load_location_callback):
3068         * components/sample/nautilus-sample-content-view.c:
3069         (nautilus_sample_content_view_initialize),
3070         (sample_load_location_callback):
3071         * components/services/startup/nautilus-view/nautilus-service-startup-view.c:
3072         (go_to_uri), (nautilus_service_startup_view_initialize),
3073         (service_load_location_callback):
3074         * components/services/time/nautilus-view/trilobite-eazel-time-view.c:
3075         (trilobite_eazel_time_view_initialize), (load_location_callback):
3076         * components/websearch/ntl-web-search.c: (do_search), (make_obj):
3077         * src/file-manager/fm-directory-view.c:
3078         (fm_directory_view_switch_location),
3079         (fm_directory_view_initialize), (display_selection_info),
3080         (fm_directory_view_send_selection_change),
3081         (load_location_callback), (selection_changed_callback),
3082         (stop_loading_callback), (done_loading), (finish_loading_uri):
3083         Switch components to use the new API.
3084         
3085         * libnautilus-extensions/nautilus-gtk-extensions.h:
3086         Added a placeholder for a new operation to get the first child of a
3087         container. This will be way more efficient than all the code that
3088         gets a list of all the children and then looks at the first one.
3089         
3090         * src/nautilus-application.c: (manufactures), (create_object),
3091         (create_factory), (nautilus_application_initialize_class),
3092         (nautilus_application_initialize), (nautilus_application_new),
3093         (nautilus_application_destroy),
3094         (nautilus_application_check_user_directories),
3095         (nautilus_application_startup),
3096         (nautilus_application_destroy_window), (nautilus_application_quit),
3097         (nautilus_application_create_window):
3098         * src/nautilus-application.h:
3099         * src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
3100         * src/nautilus-desktop-window.h:
3101         * src/nautilus-main.c: (main):
3102         Renamed NautilusApp -> NautilusApplication while changing it around.
3103         
3104         * libnautilus-extensions/nautilus-undo-manager.h:
3105         Add a blank line.
3106         
3107         * src/nautilus-window-manage-views.h:
3108         * src/nautilus-window-manage-views.c: (compare_strings),
3109         (nautilus_window_report_selection_change): Changed code so that it
3110         won't report the same selection change twice.
3111         (nautilus_window_report_status),
3112         (nautilus_window_report_load_underway),
3113         (nautilus_window_report_load_progress),
3114         (nautilus_window_report_load_complete),
3115         (nautilus_window_report_load_failed), (compute_default_title),
3116         (nautilus_window_set_title), (handle_go_back), (handle_go_forward),
3117         (handle_go_elsewhere), (update_up_button),
3118         (nautilus_window_update_internals), (nautilus_window_update_view),
3119         (nautilus_window_view_destroyed),
3120         (nautilus_window_has_really_changed),
3121         (nautilus_window_load_sidebar_panel), (open_location),
3122         (nautilus_window_open_location),
3123         (nautilus_window_open_location_in_new_window),
3124         (nautilus_window_report_location_change),
3125         (nautilus_window_load_content_view),
3126         (nautilus_window_update_state),
3127         (nautilus_window_end_location_change_callback),
3128         (nautilus_window_begin_location_change): Updated everything for the
3129         new API.
3130         
3131         * src/nautilus-window-menus.c: (file_menu_new_window_callback),
3132         (edit_menu_undo_callback), (edit_menu_cut_callback),
3133         (edit_menu_copy_callback), (edit_menu_paste_callback),
3134         (edit_menu_clear_callback), (append_bookmark_to_menu),
3135         (clear_appended_bookmark_items),
3136         (nautilus_window_add_bookmark_for_current_location),
3137         (append_separator), (new_top_level_menu),
3138         (nautilus_window_initialize_menus), (update_user_level_menu_items):
3139         * src/nautilus-window-private.h:
3140         * src/nautilus-window-toolbars.c: (setup_button),
3141         (nautilus_window_initialize_toolbars),
3142         (nautilus_window_toolbar_remove_theme_callback):
3143         * src/nautilus-window.c: (nautilus_window_class_init),
3144         (nautilus_window_goto_uri), (nautilus_window_constructed),
3145         (nautilus_window_set_arg), (nautilus_window_get_arg),
3146         (nautilus_window_destroy), (nautilus_window_switch_views),
3147         (view_menu_choose_view_callback),
3148         (nautilus_window_load_content_view_menu),
3149         (nautilus_window_back_or_forward), (nautilus_window_go_up),
3150         (nautilus_window_allow_back), (nautilus_window_allow_forward),
3151         (nautilus_window_allow_up),
3152         (nautilus_window_open_location_callback),
3153         (nautilus_window_open_location_in_new_window_callback),
3154         (nautilus_window_report_location_change_callback),
3155         (nautilus_window_report_selection_change_callback),
3156         (nautilus_window_report_status_callback),
3157         (nautilus_window_report_load_underway_callback),
3158         (nautilus_window_report_load_progress_callback),
3159         (nautilus_window_report_load_complete_callback),
3160         (nautilus_window_report_load_failed_callback),
3161         (nautilus_window_set_title_callback),
3162         (nautilus_window_connect_view),
3163         (nautilus_window_connect_content_view), (nautilus_window_reload),
3164         (window_update_sidebar_panels_from_preferences):
3165         * src/nautilus-window.h:
3166         Other changes related to the API switchover.
3167         
3168         * src/nautilus.oafinfo: Changed the ntl-xx iids to use the work
3169         nautilus instead.
3171 2000-06-13  Maciej Stachowiak  <mjs@eazel.com>
3173         * components/loser/content/nautilus-content-loser.oafinfo,
3174         components/sample/nautilus-sample-content-view.oafinfo: Fix so
3175         these can be put in the short list for a type.
3177         * libnautilus-extensions/nautilus-mime-actions.c
3178         (nautilus_mime_get_short_list_components_for_uri): Fixed wording
3179         of a FIXME.
3181         * src/file-manager/fm-directory-view.c
3182         (notify_selection_change_callback, display_pending_files,
3183         start_renaming_item): Fix bugzilla bug #658 (fix memory management
3184         in display_pending_files) and some related memory leaks.
3186 2000-06-12  Andy Hertzfeld  <andy@eazel.com>
3188         * src/nautilus-property-browser.c:
3189         (nautilus_property_browser_drag_data_get):
3190         fixed a crash I noticed while demoing today where dropping image backgrounds
3191         would segfault or hang.  Fixed by removing code that was freeing an
3192         otherwise unused variable.
3193         
3194 2000-06-12  Eskil Heyn Olsen  <eskil@eazel.com>
3196         * components/services/install/command-line/eazel-alt-install.c:
3197         (set_parameters_from_command_line), (main):
3198         * components/services/install/lib/eazel-install-object.c:
3199         (eazel_install_new_with_config),
3200         (eazel_install_fetch_remote_package_list),
3201         (eazel_install_install_packages):
3202         * components/services/install/lib/eazel-install-protocols.c:
3203         (http_fetch_remote_file), (filename_from_url),
3204         (eazel_install_fetch_package), (get_url_for_package),
3205         (get_search_url_for_package):
3206         * components/services/install/lib/eazel-install-rpm-glue.c:
3207         (install_all_packages), (do_rpm_install),
3208         (eazel_install_fetch_rpm_dependencies),
3209         (eazel_install_ensure_deps):
3210         * components/services/install/lib/eazel-install-types.c:
3211         (packagedata_new), (packagedata_new_from_rpm_conflict),
3212         (packagedata_new_from_rpm_conflict_reversed),
3213         (packagedata_new_from_rpm_header), (packagedata_destroy_foreach),
3214         (packagedata_destroy), (rpmfilename_from_packagedata),
3215         (packagedata_hash):
3216         * components/services/install/lib/eazel-install-types.h:
3217         Did most of the work for bug 1300 & 1090. It now uses an
3218         rpmsearch.cgi script on a server to query for packages as
3219         dependency fails occur.
3220         
3221         * components/services/install/lib/eazel-install-metadata.c:
3222         (create_default_metadata):
3223         Fixed bug 1310.
3225         * components/services/install/lib/eazel-install-xml-package-list.c:
3226         (generate_xml_package_list):
3227         Fixed bug 1284.
3228         
3229         * nautilus-installer/src/callbacks.c: (set_images),
3230         (set_white_stuff):
3231         * nautilus-installer/src/callbacks.h:
3232         * nautilus-installer/src/installer.c: (create_package),
3233         (create_categories), (installer):
3234         * nautilus-installer/src/interface.c: (create_window):
3235         Update to the new apt-get alike stuff in libinstall. Also make
3236         things white to please Arlo.
3237         
3238         * components/services/install/lib/Makefile.am:
3239         * components/services/time/command-line/Makefile.am:
3240         * components/services/time/nautilus-view/Makefile.am:
3241         * components/services/time/service/Makefile.am:
3242         * components/services/trilobite/libtrilobite/Makefile.am:
3243         * components/services/trilobite/sample/command-line/Makefile.am:
3244         * components/services/trilobite/sample/service/Makefile.am:
3245         * libnautilus-extensions/Makefile.am:
3246         * nautilus-installer/src/Makefile:
3247         * nautilus.spec.in:
3248         * po/POTFILES.in:
3249         More patchine to make the rpm building succeed. Basically a
3250         removed files that where no longer in existence (POTFILES), and
3251         adding missing .h files to Makefile.am's.
3253 2000-06-12  Andy Hertzfeld  <andy@eazel.com>
3255         * src/nautilus-link-set-window.c,h:
3256         (nautilus_link_set_configure_window), (delete_window_callback),
3257         (nautilus_link_set_toggle_configure_window):
3258         clean-up for the link set configuration window.  Added some
3259         descriptive text, tweaked it's size, and made its visibility optionally toggle.
3260         * src/nautilus-sidebar.c: (metadata_button_callback):
3261         checked the call invoking the link_set_window to toggle it's visiblity
3263 2000-06-12  John Sullivan  <sullivan@eazel.com>
3265         Finished task 1006 (Should be able to set default
3266         viewer/application from "View/Open with Other" dialog)
3268         * libnautilus-extensions/nautilus-mime-actions.h,
3269         * libnautilus-extensions/nautilus-mime-actions.c:
3270         (nautilus_mime_is_default_application_for_uri_user_chosen):
3271         New public function, analogous to the component version
3272         that already existed.
3273         (nautilus_mime_get_default_application_for_uri_internal):
3274         New private function used to implement the public function.
3275         (nautilus_mime_get_default_application_for_uri):
3276         Now calls the _internal version.
3277         (nautilus_mime_is_default_component_for_uri_user_chosen):
3278         Fixed a leak I noticed in here.
3279         (nautilus_mime_set_default_application_for_uri),
3280         (nautilus_mime_set_default_component_for_uri): Set the default
3281         action type if it's unspecified.
3282         
3283         * libnautilus-extensions/nautilus-program-chooser.c:
3284         (is_application_default_for_type), (is_component_default_for_type),
3285         (is_application_default_for_uri), (is_component_default_for_uri),
3286         (is_default_for_file_type), (is_default_for_file),
3287         (remove_default_for_type), (remove_default_for_item), 
3288         (set_default_for_type), (set_default_for_item): New helper
3289         functions to check and set default program.     
3290         (update_selected_item_details), 
3291         (run_program_configurator_callback): Modify UI for
3292         "View as" dialog and "Modify <program>" subdialog to include
3293         setting default program for type or file. Various other
3294         tweaks.
3295         
3296         * src/nautilus-applicable-views.c: 
3297         (got_file_info_callback): Eliminated the logic about preferring
3298         the viewer from the previous location over the default viewer.
3299         Now that the UI lets users easily specify the default viewer
3300         per type and file, preferring the previous viewer over the
3301         user-specified default made no sense.
3302         (check_iid), (set_initial_content_id): Removed these functions.
3304 2000-06-12  Andy Hertzfeld  <andy@eazel.com>
3306         * libnautilus-extensions/nautilus-link-set.c,h:
3307         (nautilus_link_set_remove):
3308         removed the link_set_configure_window routine from here
3309         * src/Makefile.am:
3310         * src/nautilus-link-set-window.c,h: (link_set_check_box_toggled),
3311         (make_link_set_check_box), (get_link_set_names),
3312         (nautilus_link_set_configure_window):
3313         added a new file  to hold the nautilus-link-set-configure-window,
3314         and made it call reload after installing or removing a link set
3315         * src/nautilus-sidebar.c:
3316         updated since the location of the configure window changed
3317         * src/nautilus-window.c,h: (nautilus_window_reload):
3318         added nautilus_window_reload to allow external routines to
3319         request a reload
3320         * src/nautilus-window-toolbars.c: (toolbar_reload_callback):
3321         made it use nautilus_window_reload
3323 2000-06-12  Gene Z. Ragan  <gzr@eazel.com>
3325         * libnautilus-extensions/nautilus-undo-signal-handlers.c:
3326         * libnautilus-extensions/nautilus-undo-signal-handlers.h:
3327         (nautilus_entry_user_changed_callback),
3328         (nautilus_undo_setup_nautilus_entry_for_undo),
3329         (nautilus_undo_teardown_nautilus_entry_for_undo),
3330         (free_editable_undo_data), (free_editable_object_data),
3331         (editable_insert_text_callback), (editable_delete_text_callback),
3332         (editable_register_edit_undo),
3333         (nautilus_undo_setup_editable_for_undo),
3334         (nautilus_undo_teardown_editable_for_undo),
3335         (restore_editable_from_undo_snapshot_callback),
3336         (editable_key_press_event), (nautilus_undo_editable_set_undo_key):
3337         New file and functions to handle undo in NautilusEntry and
3338         GtkEditables.  This file is intended to contain signal handlers
3339         that enable undo for a variety of GTK widgets. Calling a 
3340         setup_for_undo function will prepare the widget to handle
3341         undo functionality.
3343         * libnautilus-extensions/Makefile.am:
3344         Added entries for new files nautilus-undo-signal-handlers.c
3345         and nautilus-undo-signal-handlers.h
3346         
3347         * components/notes/nautilus-notes.c: (make_notes_view):
3348         Fixed bug #973.  Add undo to notes component.
3349         
3350         * components/websearch/ntl-web-search.c: (make_obj):
3351         Changed to use new undo signal handlers.
3352         
3353         * libnautilus-extensions/nautilus-entry.c:
3354         (nautilus_entry_initialize), (nautilus_entry_key_press),
3355         (nautilus_entry_set_text), (nautilus_entry_delete_text):
3356         Removed old undo code that had been rendered obsolete by the
3357         new signal handlers mentioned above.
3358         
3359         * src/nautilus-bookmarks-window.c: (create_bookmarks_window):
3360         Changed to use new undo signal handlers.
3362 2000-06-12  John Sullivan  <sullivan@eazel.com>
3364         Fixed bug 692 (Bookmarks for deleted files don't do
3365         sensible things)
3367         * libnautilus-extensions/nautilus-gnome-extensions.h,
3368         * libnautilus-extensions/nautilus-gnome-extensions.c:
3369         (nautilus_info_dialog),
3370         (nautilus_info_dialog_parented): New functions for showing
3371         a one-button informational dialog.
3372         (nautilus_yes_no_dialog),
3373         (nautilus_yes_no_dialog_parented): New functions for
3374         showing a two-button question dialog.
3375         (show_yes_no_box): Helper function used to implement
3376         yes_no_dialog routines.
3377         
3378         * src/nautilus-bookmark-list.h,
3379         * src/nautilus-bookmark-list.c:
3380         (nautilus_bookmark_list_delete_items_with_uri):
3381         New function for deleting all bookmarks with a given uri.
3382         
3383         * src/nautilus-window-menus.c: 
3384         (bookmark_holder_new), (bookmark_holder_free): New helper
3385         functions for dealing with BookmarkHolder structs.
3386         (remove_bookmarks_for_uri),
3387         (show_bogus_bookmark_window), 
3388         (uri_known_not_to_exist): New helper functions for dealing
3389         with bookmarks for missing (local) files. In the Go menu
3390         case, the user is just told that the location doesn't exist;
3391         in the Bookmarks menu case, the user has the option of
3392         removing bookmarks with this URI from their list.
3393         (activate_bookmark_in_menu_item): Added a parameter to
3394         distinguish Go menu case from Bookmarks menu case.
3395         (append_bookmark_to_menu): Added this parameter here also,
3396         where it's stored in a BookmarkHolder; deploy 
3397         bookmark_holder_new and _free.
3398         (refresh_bookmarks_in_bookmarks_menu),
3399         (refresh_bookmarks_in_go_menu): Pass the new parameter to
3400         append_bookmark_to_menu.
3402 2000-06-11  Andy Hertzfeld  <andy@eazel.com>
3404         * libnautilus-extensions/nautilus-link-set.c,h: (link_set_path_name),
3405         (create_new_link), (nautilus_link_set_install),
3406         (nautilus_link_set_is_installed), (nautilus_link_set_remove),
3407         (link_set_check_box_toggled), (make_link_set_check_box),
3408         (nautilus_link_set_configure_window):
3409         made link set install and remove really work, and added a link set configuration
3410         window to install and remove link sets.  This is working now but not quite finished.
3411         * libnautilus-extensions/nautilus-metadata.h:
3412         added NAUTILUS_METADATA_SIDEBAR_BUTTONS
3413         * src/nautilus-sidebar.c: (metadata_button_callback),
3414         (add_buttons_from_metadata), (nautilus_sidebar_update_buttons):
3415         added mechanism for command buttons to be specified by directory metadata.
3416         * data/top/Makefile.am:
3417         * data/top/.nautilus-metafile.xml:
3418         added pre-built metafile to novice home directory, so it could specify command buttons
3419         and have better control over defaults
3421 2000-06-10  Andy Hertzfeld  <andy@eazel.com>
3423         * libnautilus-extensions/nautilus-icon-factory.c:
3424         (load_specific_image_svg):
3425         use the correct scale factor for vector icons, the same as image icons, instead
3426         of expecting them to be twice the size of regular icons.
3427         * icons/vector/i-directory-accept.svg:
3428         * icons/vector/i-directory.svg:
3429         * icons/vector/i-regular.svg:
3430         new versions of the icons in the vector theme, scaled to their proper size      
3431         * libnautilus-extensions/nautilus-link-set.c,h:
3432         (make_link_set_check_box), (get_link_set_names),
3433         (nautilus_link_set_configure_window):
3434         added code for configuring link sets.  Still not finished yet.
3435         * src/nautilus-sidebar.c: (nautilus_sidebar_initialize):
3436         allowed sidebar to be reduced to a very narrow width, to start experimenting
3437         with how to give it a minimal mode.
3438         
3439 2000-06-10  J Shane Culpepper  <pepper@eazel.com>
3441         * configure.in: Fixed the test for ghttp to jive with changes made to
3442         gnome-http.  Miguel asked that we not use gttp-config but instead use
3443         gnome-config + ghttpConf.sh.  Requires an updated build of gnome-http
3444         now.
3446 2000-06-10  J Shane Culpepper  <pepper@eazel.com>
3448         * nautilus-installer/.cvsignore:
3449         * nautilus-installer/src/.cvsignore:
3450         * nautilus-installer/src/link.sh:
3452         Minor link fix to get nautilus-installer compiling. Added .cvsignore.
3454 2000-06-10  J Shane Culpepper  <pepper@eazel.com>
3456         * components/services/trilobite/libtrilobite/helixcode-utils.c:
3457         * components/services/trilobite/libtrilobite/helixcode-utils.h:
3458         Removed duplicated distribution functions.
3459         * helper-utilities/authenticate/Makefile.am:
3460         Fixed the NULL declaration (removed space)
3462 2000-06-10  J Shane Culpepper  <pepper@eazel.com>
3464         Reviving helixcode-utils.c and helixcode-utils.h so that I can fix the
3465         build breakage.
3467 2000-06-10  Andy Hertzfeld  <andy@eazel.com>
3469         * data/top/Computer.link:
3470         * data/top/Services.link:
3471         removed the suffix from the custom image reference
3472         * libnautilus-extensions/nautilus-icon-factory.c:
3473         (get_themed_icon_file_path), (get_icon_file_path),
3474         (load_specific_image):
3475         fixed a bug I introduced earlier today where custom icons wouldn't scale properly,
3476         by using a different test to identify vector images
3477         
3478 2000-06-09  Eskil Heyn Olsen  <eskil@eazel.com>
3479         
3480         * components/services/trilobite/libtrilobite/Makefile.am:
3481         * components/services/trilobite/libtrilobite/helixcode-utils.c:
3482         * components/services/trilobite/libtrilobite/helixcode-utils.h:
3483         * components/services/trilobite/libtrilobite/trilobite-core-distribution.c:
3484         (determine_turbolinux_version),
3485         (determine_mandrake_version), (determine_suse_version),
3486         (determine_debian_version), (determine_redhat_version),
3487         (trilobite_get_distribution), (trilobite_get_distribution_name):
3488         * components/services/trilobite/libtrilobite/trilobite-core-distribution.h:
3489         As bug 908 said, the helixcode installers way of indentifying
3490         distro sucked (Red Hat 6.099999 ?!), so I revamped it and moved
3491         the code into trilobite-core-distribution. Only wrote the redhat
3492         version check, not the other ones (see bug 908). Instead of only
3493         using a enum for the distro, it's now a struct, containing an enum
3494         identifying the distroname and two ints for the version.
3495         
3496         * components/services/install/command-line/eazel-alt-install.c:
3497         (create_package):
3498         * components/services/install/lib/eazel-install-protocols.c:
3499         (http_fetch_remote_file), (eazel_install_fetch_package),
3500         (add_to_url), (get_url_for_package), (get_search_url_for_package):      
3501         * components/services/install/lib/eazel-install-protocols.h:
3502         * components/services/install/lib/eazel-install-rpm-glue.c:
3503         (download_all_packages), (install_all_packages):
3504         * components/services/install/lib/eazel-install-types.c:
3505         (packagedata_new):
3506         * components/services/install/lib/eazel-install-types.h:
3507         * components/services/install/lib/eazel-install-xml-package-list.c:
3508         (parse_package):
3509         
3510         Updated to use the new get_distribution call. Also worked on the
3511         rpmsearch stuff. It generates url's like
3512         http://vorlon.eazel.com/rpmsearch.cgi?name=jade&arch=i386&version>=1.2.1&protocol=http&distro="Red Hat Linux 6.1"
3513         Hat Linux 6.1" and should get a url pointing to an appropriate rpm
3514         returned, which should then be fetched. 
3516         * nautilus-installer/src/Makefile:
3517         * nautilus-installer/src/Makefile.am:
3518         Updated so it still links.
3519         
3520 2000-06-09  Maciej Stachowiak  <mjs@eazel.com>
3522         * libnautilus-extensions/nautilus-mime-actions.c
3523         (make_oaf_query_with_known_mime_type,
3524         make_oaf_query_with_uri_scheme_only): Support new
3525         bonobo:additional_uri_schemes attribute needed for Rebecca's
3526         stuff.
3528 2000-06-09  John Sullivan  <sullivan@eazel.com>
3530         * src/nautilus-window.c: (nautilus_window_connect_view):
3531         %$#$@! state machine. I discovered that my last attempt
3532         to fix the "set_sensitive called on bad GTK_WIDGET" bug
3533         introduced a harmless but annoying warning when switching
3534         locations in the same window. This change (taking the
3535         "while_alive" off a signal handler) gets rid of that
3536         warning, but reintroduces the set_sensitive bug in certain
3537         cases. The good news is that I know how to reproduce the
3538         set_sensitive bug every time. I don't know the best fix
3539         for it though, so I'll just write a bug report.
3541 2000-06-09  Andy Hertzfeld  <andy@eazel.com>
3543         * libnautilus-extensions/nautilus-icon-factory.c:
3544         (get_themed_icon_file_path):
3545         fixed problem where vector icons were scaled from the nominal
3546         size instead of being rendered at the appropriate size.  Fixed by
3547         no longer appending the size suffix for vector icons in
3548         get_themed_icon_file_path
3549         
3550 2000-06-09  Ramiro Estrugo  <ramiro@eazel.com>
3552         * Makefile.am:
3553         * components/hardware/Makefile.am:
3554         * components/help/Makefile.am:
3555         * components/history/Makefile.am:
3556         * components/html/Makefile.am:
3557         * components/loser/content/Makefile.am:
3558         * components/loser/sidebar/Makefile.am:
3559         * components/music/Makefile.am:
3560         * components/notes/Makefile.am:
3561         * components/rpmview/Makefile.am:
3562         * components/sample/Makefile.am:
3563         * components/services/startup/nautilus-view/Makefile.am:
3564         * components/services/time/nautilus-view/Makefile.am:
3565         * components/services/trilobite/sample/nautilus-view/Makefile.am:
3566         * components/websearch/Makefile.am:
3567         * configure.in:
3568         * helper-utilities/authenticate/Makefile.am:
3569         * helper-utilities/authenticate/nautilus-authenticate.c:
3570         * libnautilus-extensions/Makefile.am:
3571         * libnautilus-extensions/nautilus-caption-table.c:
3572         * libnautilus-extensions/nautilus-caption.c:
3573         * libnautilus-extensions/nautilus-file-utilities.c:
3574         * libnautilus-extensions/nautilus-global-preferences.c:
3575         * libnautilus-extensions/nautilus-global-preferences.h:
3576         * libnautilus-extensions/nautilus-lib-self-check-functions.h:
3577         * libnautilus-extensions/nautilus-link-set.c:
3578         * libnautilus-extensions/nautilus-link.c:
3579         * libnautilus-extensions/nautilus-password-dialog.c:
3580         * libnautilus-extensions/nautilus-preference.c:
3581         * libnautilus-extensions/nautilus-preferences-box.c:
3582         * libnautilus-extensions/nautilus-preferences-box.h:
3583         * libnautilus-extensions/nautilus-preferences-dialog.c:
3584         * libnautilus-extensions/nautilus-preferences-dialog.h:
3585         * libnautilus-extensions/nautilus-preferences-group.c:
3586         * libnautilus-extensions/nautilus-preferences-group.h:
3587         * libnautilus-extensions/nautilus-preferences-item.c:
3588         * libnautilus-extensions/nautilus-preferences-item.h:
3589         * libnautilus-extensions/nautilus-preferences-pane.c:
3590         * libnautilus-extensions/nautilus-preferences-pane.h:
3591         * libnautilus-extensions/nautilus-preferences.c:
3592         * libnautilus-extensions/nautilus-preferences.h:
3593         * libnautilus-extensions/nautilus-radio-button-group.c:
3594         * libnautilus-extensions/nautilus-string-picker.c:
3595         * libnautilus-extensions/nautilus-string-picker.h:
3596         * libnautilus-extensions/nautilus-text-caption.c:
3597         * libnautilus-extensions/nautilus-text-caption.h:
3598         * libnautilus-extensions/nautilus-undo-manager.c:
3599         * libnautilus-extensions/nautilus-user-level-manager.c:
3600         * libnautilus-extensions/nautilus-user-level-manager.h:
3601         * libnautilus-extensions/nautilus-widgets-self-check-functions.c:
3602         * libnautilus-extensions/nautilus-widgets-self-check-functions.h:
3603         * libnautilus-extensions/test-nautilus-preferences.c:
3604         * libnautilus-extensions/test-preferences.c:
3605         * nautilus-widgets/Makefile.am:
3606         * nautilus-widgets/nautilus-caption-table.c:
3607         * nautilus-widgets/nautilus-caption-table.h:
3608         * nautilus-widgets/nautilus-caption.c:
3609         * nautilus-widgets/nautilus-caption.h:
3610         * nautilus-widgets/nautilus-password-dialog.c:
3611         * nautilus-widgets/nautilus-password-dialog.h:
3612         * nautilus-widgets/nautilus-preference.c:
3613         * nautilus-widgets/nautilus-preference.h:
3614         * nautilus-widgets/nautilus-preferences-box.c:
3615         * nautilus-widgets/nautilus-preferences-box.h:
3616         * nautilus-widgets/nautilus-preferences-dialog.c:
3617         * nautilus-widgets/nautilus-preferences-dialog.h:
3618         * nautilus-widgets/nautilus-preferences-group.c:
3619         * nautilus-widgets/nautilus-preferences-group.h:
3620         * nautilus-widgets/nautilus-preferences-item.c:
3621         * nautilus-widgets/nautilus-preferences-item.h:
3622         * nautilus-widgets/nautilus-preferences-pane.c:
3623         * nautilus-widgets/nautilus-preferences-pane.h:
3624         * nautilus-widgets/nautilus-preferences.c:
3625         * nautilus-widgets/nautilus-preferences.h:
3626         * nautilus-widgets/nautilus-radio-button-group.c:
3627         * nautilus-widgets/nautilus-radio-button-group.h:
3628         * nautilus-widgets/nautilus-string-picker.c:
3629         * nautilus-widgets/nautilus-string-picker.h:
3630         * nautilus-widgets/nautilus-text-caption.c:
3631         * nautilus-widgets/nautilus-text-caption.h:
3632         * nautilus-widgets/nautilus-user-level-manager.c:
3633         * nautilus-widgets/nautilus-user-level-manager.h:
3634         * nautilus-widgets/nautilus-widgets-self-check-functions.c:
3635         * nautilus-widgets/nautilus-widgets-self-check-functions.h:
3636         * nautilus-widgets/test-nautilus-preferences.c:
3637         * nautilus-widgets/test-nautilus-widgets.c:
3638         * nautilus-widgets/test-preferences.c:
3639         * src/Makefile.am:
3640         * src/nautilus-main.c:
3641         * src/nautilus-sidebar.c:
3642         * src/nautilus-window-menus.c:
3643         * test/Makefile.am:
3644         Move the nautilus-widgets classes to libnautilus-extensions.
3646 2000-06-09  Maciej Stachowiak  <mjs@eazel.com>
3648         * src/nautilus-applicable-views.c (got_file_info_callback): Do not
3649         add default to short list; instead, make sure we don't fail if
3650         there is a default but not short list.
3652 2000-06-09  Ramiro Estrugo  <ramiro@eazel.com>
3654         * libnautilus-extensions/Makefile.am:
3655         Made all headers in this library private.  That means they dont
3656         get installed.
3657         
3658 2000-06-09  Ramiro Estrugo  <ramiro@eazel.com>
3660         * components/services/install/command-line/eazel-install.c:
3661         * components/services/install/lib/Makefile.am:
3662         * components/services/install/lib/eazel-install-metadata.h:
3663         * components/services/install/lib/eazel-install-rpm-glue.c:
3664         * components/services/install/lib/eazel-install-xml-package-list.h:
3665         Fix some #include with directory prefix dumbness.
3666         
3667 2000-06-09  Mike Fleming  <mfleming@eazel.com>
3669         * components/services/install/lib/trilobite-eazel-install-service.oafinfo:
3670         Eskil should stop putting ":"'s at the end of 
3671         "bonobo:supported-uri-schemes" entries
3673 2000-06-09  John Sullivan  <sullivan@eazel.com>
3675         OK, this time I REALLY fixed the bug where you get
3676         occasional "set_sensitive called on bad GTK_WIDGET"
3677         errors. I think.
3679         * src/nautilus-window-private.h: Swapped parameters
3680         of nautilus_window_view_destroyed so the window is first.
3681         * src/nautilus-window-manage-views.c:
3682         (nautilus_window_free_load_info): Remove pending
3683         action_id function before setting field to 0.
3684         (nautilus_window_view_destroyed): Swapped the parameters
3685         to match prototype.
3686         * src/nautilus-window.c: (nautilus_window_connect_view): Use 
3687         gtk_signal_connect_object_while_alive instead of just
3688         gtk_signal_connect so the window won't be notified of its
3689         view's demise after the window's own demise.
3691 2000-06-09  John Sullivan  <sullivan@eazel.com>
3693         * src/nautilus-window.c: (nautilus_window_destroy):
3694         Changed the way the window->action_tag is destroyed.
3695         I think this actually fixes the occasional "set_sensitive
3696         called on bad GTK_WIDGET" errors that Darin tried to
3697         fix yesterday.
3699 2000-06-09  John Sullivan  <sullivan@eazel.com>
3701         Fixed bugs related to selection and activation in directory
3702         views, including 881 (right-click on selected item in list
3703         view shouldn't change selection), 918 (mouse activation
3704         in list view shouldn't affect only clicked item), and some
3705         others I found while in this code. Redefined the behavior
3706         of activation and multiple selection to some extent. Now
3707         double-clicking on a selected item always opens all selected
3708         items, and always opens them in new windows. If in single-click
3709         mode, single-clicking in list view when there's a multiple
3710         selection still opens only the clicked-on item, since the UI
3711         makes it pretty clear that you're clicking on a link for this
3712         one item. In icon view, single-clicking on a selected item in
3713         a multiple selection opens all selected items in new windows,
3714         since this feels to me more like "activate selected items"
3715         than "follow link", but I'm not really sure which is better.
3717         I changed the old behavior where single-clicking in icon view
3718         with a multiple selection would open the clicked item in the
3719         same window (if your preference was for "open in same window")
3720         and all others in new windows. In practice this seemed wrong,
3721         and opening all of the items in new windows is equivalent to
3722         the "Open in n New Windows" menu item. Please argue with me
3723         if you disagree.
3725         * libnautilus-extensions/nautilus-icon-container.c: 
3726         (remember_selected_files), (forget_selected_files): Removed these
3727         functions, which were part of an earlier incomplete selection
3728         behavior fix.
3729         (destroy): Removed call to forget_selected_files.
3730         (nautilus_icon_container_almost_drag): Changed name to
3731         somewhat less misleading "nautilus_icon_container_did_not_drag";
3732         fixed bug where clicking on selected item (in double-click mode)
3733         would deselect other selected items; replaced remember/forget
3734         pair with call to activate_selected_items.
3735         (handle_icon_button_press): replaced remember/forget pair with
3736         call to activate_selected_items.
3737         (activate_selected_items): Reimplemented to use nautilus_icon_
3738         container_get_selection instead of remember/forget.
3739         
3740         * libnautilus-extensions/nautilus-icon-private.h: Removed
3741         last_selected_files field, formerly used by remember_ and
3742         forget_selected_files.
3743         
3744         * libnautilus-extensions/nautilus-list.h: Changed "activate"
3745         signal to pass a list of items to activate instead of just one.
3746         
3747         * libnautilus-extensions/nautilus-list.c:
3748         (event_state_modifies_selection): New helper function, checks
3749         for control or shift key mask.
3750         (activate_row_data_list): New function, emits activate signal
3751         on a list of row_data elements.
3752         (activate_selected_rows): New function.
3753         (activate_row): Reimplemented to use activate_row_data_list.
3754         (nautilus_list_button_press): Deployed 
3755         event_state_modifies_selection; fixed 881 by not deselecting
3756         other items when right-clicking on a selected item; fixed 918
3757         by making double-click activate all selected rows.
3758         (nautilus_list_button_release): Deployed 
3759         event_state_modifies_selection; fixed bug where (left-)
3760         clicking on a selected item would unselect others
3761         
3762         * src/file-manager/fm-directory-view.h:
3763         * src/file-manager/fm-directory-view.c:
3764         (fm_directory_view_activate_file): Renamed from
3765         fm_directory_view_activate_files; now takes a list
3766         of files to activate and opens them all in new windows
3767         if there are more than one (otherwise respects preference).
3768         (fm_directory_view_activate_file_internal): Renamed to
3769         fm_directory_view_activate_file now that this name was
3770         available.
3771         
3772         * src/file-manager/fm-icon-view.c:
3773         (icon_container_activate_callback): Now calls 
3774         fm_directory_view_activate_files instead of iterating here.
3775         * src/file-manager/fm-list-view.c: 
3776         (list_activate_callback): Changed to take list parameter and
3777         call fm_directory_view_activate_files.
3779 2000-06-09  Andy Hertzfeld  <andy@eazel.com>
3781         * libnautilus-extensions/nautilus-icon-text-item.c:
3782         (draw_pixbuf_aa), (iti_render), (iti_class_init):
3783         made rename work in anti-aliased mode by implementing
3784         a render method for the icon text item.  Modulo a few
3785         minor clean-ups and possibly some performance issues,
3786         this completes the work on the anti-aliased canvas.
3787         
3788 2000-06-09  Mike Engber  <engber@eazel.com>
3790         * libnautilus-extensions/nautilus-file-utilities.c:
3791         (nautilus_make_path): 
3792         simplified obtuse expression (name[0] != '\0' > 0).
3794 2000-06-09  Martin Baulig  <martin@home-of-linux.org>
3796         * libnautilus-extensions/nautilus-file-utilities.c:
3797         (nautilus_get_local_path_from_uri): New function.  Returns
3798         a local path for a file:// URI.
3800 2000-06-09  Martin Baulig  <baulig@suse.de>
3802         * src/nautilus-view-frame-bonobo-embeddable.c:
3803         (bonobo_subdoc_notify_location_change): Added
3804         PersistFile support.
3806 2000-06-09  Andy Hertzfeld  <andy@eazel.com>
3808         * src/nautilus-property-browser.c:
3809         (nautilus_property_browser_drag_data_get):
3810         Darin left an unused variable in his wake, so I fixed it.
3811         
3812 2000-06-08  Darin Adler  <darin@eazel.com>
3814         * acconfig.h:
3815         * configure.in:
3816         Added NAUTILUS_PREFIX so we can locate our installed files
3817         correctly instead of assuming they are in the gnome-libs prefix.
3818         
3819         * components/help/hyperbola-filefmt.c: (fmt_map_entry):
3820         * components/websearch/ntl-web-search.c:
3821         (web_search_populate_engines):
3822         * libnautilus-extensions/nautilus-file-utilities.c:
3823         (nautilus_get_user_main_directory):
3824         * libnautilus-extensions/nautilus-link-set.c:
3825         (get_link_set_document):
3826         * src/file-manager/fm-properties-window.c: (get_property_names):
3827         * src/nautilus-property-browser.c:
3828         (nautilus_property_browser_drag_data_get), (make_drag_image),
3829         (get_xml_path), (make_properties_from_directory):
3830         Use NAUTILUS_PREFIX instead of gnome_datadir_file so we get the
3831         files from the right directory. Since gnome_datadir_file does a
3832         check to see if the file exists, had to add some explicit checks
3833         in various places.
3834         
3835         * components/html/glib-www-callbacks.c:
3836         Got rid of some warnings.
3837         
3838         * components/services/time/command-line/.cvsignore:
3839         * components/services/time/nautilus-view/.cvsignore:
3840         * components/services/time/service/.cvsignore:
3841         Ignore the new time stamp files.
3842         
3843         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
3844         Fixed formatting.
3846         * RENAMING:
3847         * src/nautilus-sidebar-tabs.c:
3848         * src/nautilus-sidebar-tabs.h:
3849         * src/nautilus-sidebar-title.c:
3850         * src/nautilus-sidebar-title.h:
3851         * src/nautilus-sidebar.c:
3852         Renamed IndexTabs and IndexTitle to SidebarTabs
3853         and SidebarTitle as planned.
3855 2000-06-08  Maciej Stachowiak  <mjs@eazel.com>
3857         * libnautilus-extensions/nautilus-view-identifier.h,
3858         libnautilus-extensions/nautilus-view-identifier.c
3859         (nautilus_view_identifier_compare): New function to use when
3860         searching view identifier lists.
3862         * src/nautilus-applicable-views.c (got_file_info_callback): Merge
3863         the default view into the menu.
3865 2000-06-08  Andy Hertzfeld  <andy@eazel.com>
3867         * components/rpmview/nautilus-rpm-view.c:
3868         (nautilus_rpm_view_initialize), (file_selection_callback),
3869         (go_to_button_callback), (nautilus_rpm_view_update_from_uri):
3870         added a "go to selected file" button to the rpm view that navigates
3871         to a file selected in the package file list.
3872         
3873 2000-06-08  Eskil Heyn Olsen  <eskil@eazel.com>
3875         * components/services/docs/installer-dep-check:
3876         (set_parameters_from_command_line), (eazel_progress_signal),
3877         (download_failed), (install_failed), (dep_check), (create_package),
3878         (main):
3879         * components/services/install/lib/Makefile.am:
3880         * components/services/install/lib/eazel-install-object.c:
3881         (eazel_install_set_arg), (eazel_install_class_initialize),
3882         (eazel_install_initialize),
3883         (eazel_install_fetch_remote_package_list),
3884         (eazel_install_emit_install_failed),
3885         (eazel_install_emit_dependency_check),
3886         (eazel_install_install_packages), (eazel_install_uninstall):
3887         * components/services/install/lib/eazel-install-private.h:
3888         * components/services/install/lib/eazel-install-protocols.c:
3889         (http_fetch_remote_file), (ftp_fetch_remote_file),
3890         (local_fetch_remote_file), (eazel_install_fetch_file),
3891         (eazel_install_fetch_package):
3892         * components/services/install/lib/eazel-install-protocols.h:
3893         * components/services/install/lib/eazel-install-public.h:
3894         * components/services/install/lib/eazel-install-rpm-glue.c:
3895         (install_new_packages), (download_all_packages),
3896         (install_all_packages), (uninstall_packages),
3897         (uninstall_a_package), (build_packagedata_list_from_deps),
3898         (do_rpm_install), (do_rpm_uninstall),
3899         (eazel_install_prune_packages_helper),
3900         (eazel_install_prune_packages), (eazel_install_load_rpm_headers),
3901         (eazel_install_load_headers), (eazel_install_free_rpm_system),
3902         (eazel_install_prepare_rpm_system),
3903         (eazel_install_prepare_package_system),
3904         (eazel_install_free_package_system),
3905         (eazel_install_add_headers_to_rpm_set),
3906         (eazel_install_add_headers_to_set),
3907         (eazel_install_package_name_compare),
3908         (eazel_install_package_conflict_compare),
3909         (eazel_install_add_to_extras_foreach),
3910         (eazel_install_fetch_rpm_dependencies),
3911         (eazel_install_fetch_dependencies), (print_package_list),
3912         (eazel_install_ensure_deps), (rpm_install):
3913         * components/services/install/lib/eazel-install-rpm-glue.h:
3914         * components/services/install/lib/eazel-install-types.c:
3915         (protocol_as_string), (packagedata_new),
3916         (packagedata_new_from_rpm_conflict),
3917         (packagedata_new_from_rpm_conflict_reversed),
3918         (packagedata_new_from_rpm_header),
3919         (packagedata_fill_from_rpm_header), (packagedata_destroy_foreach),
3920         (packagedata_destroy), (rpmfilename_from_packagedata),
3921         (packagedata_hash), (packagedata_equal):
3922         * components/services/install/lib/eazel-install-types.h:
3923         * components/services/install/lib/eazel-install-xml-package-list.c:
3924         (parse_package), (parse_local_xml_package_list):
3925         * components/services/trilobite/libtrilobite/helixcode-utils.c:
3926         (xml_get_value):
3927         Too much to list it all. Basically it now tries to do what apt-get
3928         has done for ages. Given a list of packages to install, it
3929         recursively traverses the packagelist, fetches missing
3930         dependencies (no remote fetch yet, requires a search script on the
3931         server side) untill all deps are satisfies. If deps failed, it
3932         prunes the tree and emit signals.
3933         I've tried to do it modular enough to add support for other
3934         package systems then rpm, but rpm calls are still strewm about.
3936         * components/services/install/command-line/Makefile.am:
3937         * components/services/install/command-line/eazel-alt-install.c:
3938         Now takes random package names at commandline and should
3939         ideally try to download them from the server.
3940         
3941         * nautilus-installer/src/Makefile:
3942         * nautilus-installer/src/Makefile.am:
3943         * nautilus-installer/src/installer.c: (eazel_download_progress),
3944         (install_failed_helper), (install_failed), (installer):
3945         Fixed to work the new stuff in libinstall. Also generates
3946         prettier (but still ugly) error reports.
3947         
3948 2000-06-08  John Sullivan  <sullivan@eazel.com>
3950         Fixed bug 542 (context menus in directory view sometimes
3951         partially offscreen)
3953         * libnautilus-extensions/nautilus-gtk-extensions.c:
3954         (nautilus_popup_menu_position_func): Made the menu-positioning
3955         function take screen size into account.
3957         Fixed bug 541 (unusably wide dialog when trying to
3958         rename a file to a gigantically long name)
3960         * src/file-manager/fm-error-reporting.c:
3961         (fm_report_error_renaming_file),
3962         (fm_report_error_setting_permissions):
3963         Used nautilus_error_dialog (which does word wrapping)
3964         instead of GnomeMessageBox directly.
3966         Fixed bug 1242 (Possibly unnecessary widget resizing when
3967         content view swapped)
3969         * src/nautilus-window.c: (nautilus_window_real_set_content_view):
3970         Scientists proved that it was unnecessary. Removed it.
3972 2000-06-08  Andy Hertzfeld  <andy@eazel.com>
3974         * components/rpmview/nautilus-rpm-view.c:
3975         (nautilus_rpm_view_initialize), (check_installed):
3976         improved the layout of the rpm view by making the file list be
3977         the dominant, growable item.  Also, made other tweaks and clean-ups.
3978         
3979 2000-06-08  Gene Z. Ragan  <gzr@eazel.com>
3981         * libnautilus-extensions/nautilus-entry.c:
3982         (nautilus_entry_initialize_class), 
3983         (nautilus_entry_initialize):
3984         Fixed bug 983.  Added user_changed signal.
3985         
3986         (nautilus_entry_destroy), (nautilus_entry_set_text),
3987         (nautilus_entry_insert_text), (nautilus_entry_delete_text),
3988         (free_undo_data), (register_edit_undo),
3989         (restore_from_undo_snapshot_callback),
3990         (nautilus_entry_set_undo_key):
3991         Cleanups in the way undo was being registered.  Created
3992         local undo data structure and removed cached undo text
3993         from class.  Localized checking of undo registered
3994         boolean to a single location.
3996         (user_changed_callback):
3997         Added callback coonected to user changed signal.
3998         Undo registering is handled here.
4000         * src/nautilus-bookmarks-window.c: (create_bookmarks_window),
4001         (on_select_row), (on_text_field_focus_in_event),
4002         (on_text_field_focus_out_event), (repopulate):
4003         Updated code to properly handle undo.
4004         
4005         * src/nautilus-location-bar.c:
4006         (nautilus_location_bar_set_location):
4007         Updated code to properly handle undo.
4009 2000-06-08  John Sullivan  <sullivan@eazel.com>
4011         Fixed bug 1097 (double-click in list should activate
4012         "Choose" button in View as Other dialog)
4014         * libnautilus-extensions/nautilus-gnome-extensions.h:
4015         * libnautilus-extensions/nautilus-gnome-extensions.c:
4016         (nautilus_gnome_dialog_get_button_by_index): New
4017         function, returns one of the bottom-of-the-dialog buttons
4018         specified by index.
4020         * libnautilus-extensions/nautilus-gtk-extensions.h,
4021         * libnautilus-extensions/nautilus-gtk-extensions.c:
4022         (nautilus_gtk_button_auto_click): New function, 
4023         acts as if invisible finger had clicked the specified
4024         button.
4025         (finish_button_activation): New idle function used by
4026         auto_click.
4027         
4028         (nautilus_gtk_clist_set_double_click_button):
4029         New function, specifies a button to be auto-clicked
4030         when a clist gets a double-click.
4031         (activate_button_on_double_click): New signal handler
4032         function used by set_double_click_button.
4034         * libnautilus-extensions/nautilus-program-chooser.c:
4035         (nautilus_program_chooser_new): Wire up the "Choose"
4036         button with nautilus_gtk_clist_set_double_click_button.
4038 2000-06-08  Shane Culpepper  <pepper@eazel.com>
4040         * components/services/install/command-line/Makefile.am:
4041         Fixed include path to point to top level trilobite directory.
4042         Could not build from a clean tree because helixcode-utils.h could
4043         not be found.
4045 2000-06-08  Darin Adler  <darin@eazel.com>
4047         * src/nautilus-window-manage-views.c:
4048         (nautilus_window_end_location_change_callback),
4049         (nautilus_window_begin_location_change):
4050         * src/nautilus-window.h:
4051         Fixed the bug where bogus URIs would cause a seg fault.
4052         Unfortunately doing this in a simple clean way required
4053         adding a field to the already-packed NautilusWindow.
4055 2000-06-08  Pavel  <pavel@eazel.com>
4057         * components/services/time/command-line/Makefile.am:
4058         * components/services/time/nautilus-view/Makefile.am:
4059         * components/services/time/service/Makefile.am:
4060         Ooops, my previous makefile fixes, weren't right -- they
4061         caused trilobite to get rebuild again each time.
4062         Replaced a phony rule with a timestamp file to fix
4063         the problem.
4065 2000-06-08  Darin Adler  <darin@eazel.com>
4067         * libnautilus-extensions/nautilus-directory-async.c:
4068         (dequeue_pending_idle_callback), (directory_load_done):
4069         Moved a state changed call in for the case where we discover
4070         new items in a directory. This fixes bugs 1066 and 1068.
4071         
4072         * src/nautilus-window.c: (nautilus_window_destroy):
4073         Fixed problem where we get occasional stray calls to
4074         "set_sensitive". The problem is that we must remove the
4075         idle call used by the window state machine when the window
4076         in question is destroyed.
4078 2000-06-08  Maciej Stachowiak  <mjs@eazel.com>
4080         * libnautilus-extensions/nautilus-mime-actions.c
4081         (nautilus_mime_get_default_component_for_uri_internal): Fix 1265
4082         (OAF_ServerInfo__copy): Fine-tuning to avoid crashing.
4083         (nautilus_do_component_query): Fix 1270
4084         (strv_length, strv_concat): New utility functions.
4086         * RENAMING: Added more renaming ideas.
4087         * libnautilus-extensions/nautilus-mime-actions.c:
4088         (get_mime_type_from_uri): Adjusted a FIXME comment.
4090 2000-06-08  Pavel Cisler <pavel@eazel.com>
4092         * nautilus-widgets/Makefile.am:
4093         Fix dependencies to make parallel make on MP machines work.
4095         * components/services/time/command-line/Makefile.am:
4096         * components/services/time/nautilus-view/Makefile.am:
4097         * components/services/time/service/Makefile.am:
4098         Fix dependencies to make parallel make work.
4099         Fix clean target to delete all the autogenerated files.
4101 2000-06-07  Andy Hertzfeld  <andy@eazel.com>
4103         * libnautilus-extensions/nautilus-gnome-extensions.c:
4104         (nautilus_gnome_canvas_fill_with_gradient):
4105         fixed problem with the anti-aliased gradient draw at
4106         small scale factors by pinning the interpolation ratio
4107         between 0.0 and 1.0
4108         
4109 2000-06-07  Darin Adler  <darin@eazel.com>
4111         * libnautilus-extensions/nautilus-file.c: (destroy):
4112         Fixed another storage leak, we forgot to call through
4113         to the parent destroy.
4114         (nautilus_self_check_file): Fixed a leak in the test.
4115         
4116         * libnautilus-extensions/nautilus-string-list.c:
4117         (nautilus_string_list_new_from_tokens): Fixed a leak
4118         by calling g_strfreev instead of g_free.
4120 2000-06-07  John Sullivan  <sullivan@eazel.com>
4122         Fixed bug 1299 (view-and-location switching fails if
4123         short list empty)
4125         * libnautilus-extensions/nautilus-mime-actions.h,
4126         * libnautilus-extensions/nautilus-mime-actions.c:
4127         (nautilus_mime_has_any_applications_for_uri),
4128         (nautilus_mime_has_any_components_for_uri): New functions,
4129         return a gboolean. Currently they just get the whole list
4130         and check if it's non-NULL, but perhaps this can be
4131         optimized later.
4132         
4133         * src/nautilus-sidebar.c: (nautilus_sidebar_update_buttons):
4134         Deploy nautilus_mime_has_any_applications_for_uri where it
4135         was already doing this kind of check.
4137         * src/nautilus-applicable-views.c: 
4138         (set_initial_content_id): removed an obsolete assert.
4139         (got_file_info_callback): Don't report no handler just because
4140         preferred list is empty; if any component is available use it.
4142         * src/nautilus-window.c: (nautilus_window_load_content_view_menu):
4143         Leave out the divider below the preferred list if the preferred
4144         list is empty.
4146 2000-06-07  Mike Fleming  <mfleming@eazel.com>
4148         * components/services/time/nautilus-view/Makefile.am:
4149         Added include path; wasn building correctly for everyone
4151 2000-06-07  Darin Adler  <darin@eazel.com>
4153         Leak-checking-related fixes.
4155         * libnautilus-extensions/nautilus-file.c: (destroy):
4156         Fixed a storage leak (we weren't freeing file->details).
4157         * libnautilus-extensions/nautilus-self-checks.c:
4158         (nautilus_check_string_result): Fixed a storage leak.
4159         
4160         * libnautilus-extensions/nautilus-directory-async.c:
4161         (metafile_read_done), (metafile_read_failed),
4162         (metafile_read_complete): Added some asserts.
4163         * libnautilus-extensions/nautilus-directory.c:
4164         (nautilus_self_check_directory): Added one more "assert".
4165         
4166         * libnautilus-extensions/nautilus-lib-self-check-functions.c:
4167         (nautilus_run_lib_self_checks): Formatting tweaks.
4168         * nautilus-widgets/nautilus-widgets-self-check-functions.c:
4169         (nautilus_widgets_run_self_checks): Formatting tweaks.
4170         
4171         * nautilus-widgets/nautilus-preference.c:
4172         (nautilus_widgets_self_check_preference): Made the test
4173         not repeat things so many times. It doesn't help find the
4174         leaks, it actually hurts :-)
4175         
4176         * src/nautilus-application.c: (nautilus_app_quit):
4177         * src/nautilus-main.c: (main):
4178         Moved the gnome_vfs_shutdown out to the main loop instead of
4179         putting it inside nautilus-application.c since that matches
4180         how we do the initializing.
4182 2000-06-07  Andy Hertzfeld  <andy@eazel.com>
4184         * src/nautilus-location-bar.c: (accumulate_name),
4185         (try_to_expand_path), (editable_key_press_callback),
4186         (nautilus_location_bar_initialize):
4187         implemented first cut at auto-completion for the location bar text
4188         entry. For now, it only handles file uris.
4190 2000-06-07  Pavel Cisler  <pavel@eazel.com>
4192         * libnautilus-extensions/nautilus-list.c: (nautilus_list_destroy):
4193         Fix a memory thrasher Darin and John were running into.
4194         
4195         * libnautilus-extensions/nautilus-mime-actions.c:
4196         (nautilus_mime_get_default_component_for_uri_internal),
4197         (nautilus_mime_get_short_list_components_for_uri),
4198         (nautilus_mime_get_all_components_for_uri):
4199         Fix more leaks.
4201 2000-06-07  John Sullivan  <sullivan@eazel.com>
4203         Made switching location with a specified view work.
4204         There's still a bug outstanding (1053) about doing this a more
4205         reliable way.
4207         * src/file-manager/fm-directory-view.c:
4208         (fm_directory_view_switch_location): New helper function to
4209         switch location, specifying whether or not a new window
4210         should be used.
4211         (switch_location_and_view): Set the default component for this
4212         uri and then switch location.
4213         (fm_directory_view_activate_file_internal): Use
4214         fm_directory_view_switch_location to consolidate code.
4216 2000-06-07  John Sullivan  <sullivan@eazel.com>
4218         Did task 1058 (Activating an item in directory view needs
4219         to use application when appropriate)
4221         * src/file-manager/fm-directory-view.c:
4222         (fm_directory_view_activate_file_internal):
4223         Check default_action_type_for_uri and launch default application
4224         or switch location depending on result.
4226 2000-06-07  Andy Hertzfeld  <andy@eazel.com>
4228         * libnautilus-extensions/nautilus-gnome-extensions.c:
4229         (nautilus_gnome_canvas_fill_with_gradient):
4230         made gradient fill work properly on the anti-aliased canvas
4231         by changing a multiplier from 4 to 3 (no alpha value in the
4232         canvas buffer) and pinning the gradient fraction to 1.0.
4233         * libnautilus-extensions/nautilus-background-canvas-group.c:
4234         (nautilus_background_canvas_group_render):
4235         added some slop to the bounds passed to gradient fill
4237 2000-06-07  John Sullivan  <sullivan@eazel.com>
4239         * src/nautilus-window.c: (chose_component_callback):
4240         Moved a g_return_if_fail so that it doesn't trigger erroneously
4241         when the window is closing.
4243 2000-06-07  Gene Z. Ragan  <gzr@eazel.com>
4245         * libnautilus-extensions/nautilus-icon-container.c:
4246         (key_press_event):
4247         Fixed bug #1154.  The Enter key was getting checking
4248         for improperly.  A check was being performed for
4249         being in editing mode after a check for not being in editing mode 
4250         had occured.  Moved the check to the proper code block.
4251         
4252 2000-06-07  Darin Adler  <darin@eazel.com>
4254         Updated code affected by destroy-notify addition to bonobo.
4255         Requires new bonobo.
4256         
4257         * libnautilus-extensions/nautilus-bonobo-extensions.c:
4258         (nautilus_bonobo_ui_handler_menu_set_toggle_appearance):
4259         Save and restore the destroy notify function as well as the
4260         callback. This requires using the new function
4261         bonobo_ui_handler_menu_remove_callback_no_notify to do right.
4262         
4263         * src/file-manager/fm-directory-view.c:
4264         (application_launch_parameters_new),
4265         (application_launch_parameters_free): Ref and unref the directory
4266         view object now that we correctly free this as needed.
4267         (viewer_launch_parameters_new), (viewer_launch_parameters_free):
4268         Ref and unref the directory view object now that we correctly free
4269         this as needed.
4270         (add_open_with_bonobo_menu_item): Add a destroy-notify function
4271         parameters and apply it using bonobo_ui_handler_menu_set_callback.
4272         (add_application_to_bonobo_menu): Free the launch parmaeters using
4273         a destroy-notify function.
4274         (add_component_to_bonobo_menu): Free the launch parmaeters using
4275         a destroy-notify function.
4276         
4277         * src/nautilus-window-menus.c: (append_bookmark_to_menu): Use a
4278         destroy-notify function to destroy the bookmark holder.
4279         (clear_appended_bookmark_items): Get rid of the code that gets
4280         the callback data and destroys it explicitly.
4282         * libnautilus/nautilus-clipboard.c: (add_menu_item):
4283         * src/file-manager/fm-directory-view.c: (insert_bonobo_menu_item),
4284         (fm_directory_view_real_merge_menus):
4285         * src/file-manager/fm-icon-view.c: (append_bonobo_menu_item),
4286         (fm_icon_view_merge_menus):
4287         Rename BonoboUIHandlerCallbackFunc -> BonoboUIHandlerCallback.
4288         
4289         * HACKING: Some reformatting.
4291 2000-06-07  John Sullivan  <sullivan@eazel.com>
4293         * libnautilus-extensions/nautilus-gtk-extensions.h,
4294         * libnautilus-extensions/nautilus-gtk-extensions.c:
4295         (nautilus_gtk_button_set_padding): New function, puts some
4296         padding around the label (or other contained widget) in a
4297         button.
4298         * src/nautilus-bookmarks-window.c: (create_bookmarks_window):
4299         Use this new function where it was doing this the long way.
4300         * libnautilus-extensions/nautilus-program-chooser.c:
4301         (nautilus_program_chooser_new): Use this new function to make
4302         the "Modify..." button not so squashed.
4304 2000-06-07  Ramiro Estrugo  <ramiro@eazel.com>
4306         * components/mozilla/nautilus-mozilla-content-view.oafinfo:
4307         Expose the fact that this component can grok text/html.
4308         
4309 2000-06-07  John Sullivan  <sullivan@eazel.com>
4311         * components/music/nautilus-music-view.c:
4312         (nautilus_music_view_update_from_uri):
4313         * components/services/install/lib/eazel-install-object.c:
4314         (eazel_install_destroy):
4315         * components/services/install/lib/eazel-install-xml-package-list.c:
4316         (generate_xml_package_list):
4317         * libnautilus-extensions/nautilus-file-utilities.c:
4318         (nautilus_get_user_main_directory):
4319         * libnautilus-extensions/nautilus-gdk-extensions.c:
4320         (nautilus_fill_rectangle_with_color):
4321         * libnautilus-extensions/nautilus-icon-container.c:
4322         (nautilus_icon_container_add), (nautilus_icon_container_remove):
4323         * libnautilus-extensions/nautilus-list.c:
4324         (nautilus_list_drag_data_received):
4325         * libnautilus-extensions/nautilus-undo-manager.c:
4326         (nautilus_undo_manager_undo):
4327         * libnautilus-extensions/nautilus-view-identifier.h:
4328         * libnautilus/nautilus-distributed-undo.idl:
4329         * nautilus-widgets/nautilus-user-level-manager.c:
4330         (nautilus_user_level_manager_get_user_level):
4331         Final batch (for now) of adding bug numbers to FIXMEs.
4333 2000-06-07  Pavel  <pavel@eazel.com>
4335         * libnautilus-extensions/nautilus-file.c: (nautilus_file_get):
4336         Added missing unrefs to three exit places. 
4338         * libnautilus-extensions/nautilus-mime-actions.c:
4339         (nautilus_mime_get_default_action_type_for_uri),
4340         (nautilus_mime_get_default_application_for_uri),
4341         (nautilus_mime_get_default_component_for_uri_internal),
4342         (nautilus_mime_get_short_list_applications_for_uri),
4343         (nautilus_mime_set_short_list_applications_for_uri),
4344         (nautilus_mime_set_short_list_components_for_uri),
4345         (nautilus_do_component_query):
4346         Fixed a ton of leaked mime type strings.
4348 2000-06-07  Andy Hertzfeld  <andy@eazel.com>
4350         more work on gradient backgrounds in anti-aliased mode; vertical ones are
4351         working now but horizontals still aren't
4352         
4353         * libnautilus-extensions/nautilus-background-canvas-group.c:
4354         (nautilus_background_canvas_group_render):
4355         get the width and height of entire area from get_scroll_area
4356         * libnautilus-extensions/nautilus-background.c,h:
4357         (nautilus_background_draw_aa):
4358         added parameters for entire area to use for color determination
4359         * libnautilus-extensions/nautilus-gnome-extensions.c,h:
4360         (nautilus_gnome_canvas_fill_with_gradient):
4361         added entire width and height parameters, and use them to
4362         compute the color
4363         
4364 Wed Jun  7 01:20:22 2000  Raph Levien  <raph@acm.org>
4366         * librsvg/art_render.h: Workaround to compile with older
4367         versions of Libart that didn't define art_u16.
4369 2000-06-06  Pavel Cisler  <pavel@eazel.com>
4371         * libnautilus-extensions/nautilus-mime-actions.c:
4372         (nautilus_mime_get_short_list_applications_for_uri),
4373         (nautilus_mime_get_short_list_components_for_uri),
4374         (nautilus_mime_get_all_applications_for_uri),
4375         (nautilus_mime_get_all_components_for_uri):
4376         Fixed leaked uris in each of the above.
4378         * nautilus-widgets/nautilus-preferences-item.c:
4379         (preferences_item_create_editable_string):
4380         Fix a leaked string.
4382         * nautilus-widgets/nautilus-preferences-item.c:
4383         (has_image_file):
4384         Add a missing gnome_vfs_file_info_init that will make
4385         gnome_vfs_get_file_info not leak.
4387         * src/nautilus-window-menus.c:
4388         (update_user_level_menu_items):
4389         Fix a leaked string.
4391         * src/nautilus-window-menus.c:
4392         (update_preferences_dialog_title):
4393         Fix a leaked title string.
4395 2000-06-06  Darin Adler  <darin@eazel.com>
4397         The main change here is revamping the undo manager.
4398         To get a complete check-out you might have to delete
4399         the file named libnautilus/nautilus-undo.h that used
4400         to be a generated file and is now checked-in.
4402         * components/help/help-method.c: (vfs_module_transform):
4403         Removed a bogus extraneous FIXME.
4404         
4405         * libnautilus-extensions/Makefile.am:
4406         Moved the undo manager into libnautilus-extensions
4407         since it's not needed by Nautilus components.
4408         
4409         * libnautilus-extensions/nautilus-entry.c:
4410         * libnautilus-extensions/nautilus-icon-text-item.c:
4411         * libnautilus/nautilus-view.c:
4412         * src/nautilus-application.c:
4413         * src/nautilus-bookmarks-window.c: (create_bookmarks_window):
4414         * src/nautilus-view-frame.c:
4415         * src/nautilus-window-private.h:
4416         * src/nautilus-window.c:
4417         Updated includes and a few small function name changes.
4418         
4419         * libnautilus-extensions/nautilus-gtk-extensions.h:
4420         * libnautilus-extensions/nautilus-gtk-extensions.c:
4421         (alive_disconnecter),
4422         (nautilus_gtk_signal_connect_full_while_alive):
4423         Added a new function that combines the features of
4424         gtk_signal_connect_full with gtk_signal_connect_while_alive.
4425         
4426         * libnautilus/nautilus-undo-context.h: [removed]
4427         * libnautilus/nautilus-undo-context.c: [removed]
4428         * libnautilus-extensions/nautilus-undo-context.h:
4429         * libnautilus-extensions/nautilus-undo-context.c:
4430         (impl_Nautilus_Undo_Context__destroy),
4431         (impl_Nautilus_Undo_Context__create),
4432         (impl_Nautilus_Undo_Context__get_undo_manager),
4433         (nautilus_undo_context_new), (destroy),
4434         (nautilus_undo_context_initialize_class):
4435         Rewrote this class to simplify it (after moving it here).
4436         
4437         * libnautilus/nautilus-undo-manager.h: [removed]
4438         * libnautilus/nautilus-undo-manager.c: [removed]
4439         * libnautilus/nautilus-undo-manager-private.h: [removed]
4440         * libnautilus-extensions/nautilus-undo-manager.h:
4441         * libnautilus-extensions/nautilus-undo-manager.c:
4442         (impl_Nautilus_Undo_Manager__destroy),
4443         (impl_Nautilus_Undo_Manager__create),
4444         (impl_Nautilus_Undo_Manager__append),
4445         (impl_Nautilus_Undo_Manager__forget),
4446         (nautilus_undo_manager_initialize),
4447         (nautilus_undo_manager_initialize_class),
4448         (nautilus_undo_manager_undo),
4449         (nautilus_undo_manager_add_transaction),
4450         (nautilus_undo_manager_forget_transaction),
4451         (nautilus_undo_manager_set_queue_depth),
4452         (nautilus_undo_manager_attach),
4453         (nautilus_undo_manager_add_interface), (update_undo_menu_item),
4454         (undo_menu_handler_connection_free),
4455         (undo_menu_handler_connection_free_cover),
4456         (nautilus_undo_manager_set_up_bonobo_ui_handler_undo_item):
4457         Rewrote this class to simplify it. Got rid of many old
4458         interfaces and added some new ones.
4459         
4460         * libnautilus/.cvsignore:
4461         * libnautilus/Makefile.am:
4462         Renamed the old nautilus-undo.idl to
4463         nautilus-distributed-undo.idl.  The IDL is only about the internal
4464         part of the undo framework.  Clients use calls that are in
4465         nautilus-undo.h. The part that's public needs the prettier name.
4466         
4467         * libnautilus/nautilus-undo.idl: [removed]
4468         * libnautilus/nautilus-distributed-undo.idl:
4469         Updated the names of menu-item-related things to better match the
4470         standard terminology.
4471         
4472         * libnautilus/nautilus-undo-private.h:
4473         Added this new header for things needed by the undo manager that
4474         are in libnautilus. Maybe we can eliminate this later.
4476         * libnautilus/nautilus-undo-transaction.h:
4477         * libnautilus/nautilus-undo-transaction.c:
4478         (impl_Nautilus_Undo_Transaction__destroy),
4479         (impl_Nautilus_Undo_Transaction__create),
4480         (impl_Nautilus_Undo_Transaction__get_undo_menu_item),
4481         (impl_Nautilus_Undo_Transaction__get_redo_menu_item),
4482         (impl_Nautilus_Undo_Transaction__get_operation_name),
4483         (impl_Nautilus_Undo_Transaction__undo),
4484         (nautilus_undo_transaction_new),
4485         (nautilus_undo_transaction_initialize),
4486         (remove_transaction_from_object),
4487         (nautilus_undo_transaction_destroy),
4488         (nautilus_undo_transaction_initialize_class),
4489         (nautilus_undo_transaction_add_atom),
4490         (nautilus_undo_transaction_undo),
4491         (nautilus_undo_transaction_add_to_undo_manager), (remove_atoms),
4492         (remove_atoms_cover),
4493         (nautilus_undo_transaction_unregister_object), (undo_atom_free),
4494         (undo_atom_undo_and_free), (undo_atom_free_cover),
4495         (undo_atom_undo_and_free_cover), (undo_atom_list_free),
4496         (undo_atom_list_undo_and_free):
4497         Rewrote and simplified this class and got rid of all uses of
4498         NautilusUndoable.
4499         
4500         * libnautilus/nautilus-undoable.h: [removed]
4501         * libnautilus/nautilus-undoable.c: [removed]
4502         * libnautilus/nautilus-undo.h:
4503         * libnautilus/nautilus-undo.c: (nautilus_undo_register),
4504         (nautilus_undo_register_full), (nautilus_undo_unregister),
4505         (nautilus_undo), (nautilus_undo_get_undo_manager),
4506         (undo_manager_ref), (undo_manager_unref),
4507         (undo_manager_unref_cover), (nautilus_undo_attach_undo_manager),
4508         (nautilus_undo_share_undo_manager), (set_up_bonobo_control),
4509         (nautilus_undo_set_up_bonobo_control):
4510         Added this new file with the public interface of the undo code and
4511         most of the basic implementation. Most of this was previously in
4512         nautilus-undoable.c.
4513         
4514         * nautilus-widgets/nautilus-preferences.c:
4515         (preferences_hash_node_free), (preferences_hash_node_add_callback),
4516         (preferences_hash_node_remove_callback),
4517         (preferences_hash_node_check_changes_func),
4518         (preferences_callback_node_alloc),
4519         (preferences_callback_node_free),
4520         (preferences_callback_node_free_func),
4521         (preferences_callback_node_invoke_func),
4522         (preferences_gconf_callback):
4523         Fixed a repeated spelling error in this file.
4524         
4525         * src/nautilus-application.c: (nautilus_app_init):
4526         * src/nautilus-view-frame.c: (nautilus_view_frame_load_client):
4527         * src/nautilus-window-menus.c: (edit_menu_undo_callback),
4528         (nautilus_window_initialize_menus):
4529         * src/nautilus-window.c: (nautilus_window_constructed):
4530         Changed to use public parts of the undo API instead of the old
4531         stuff that used private secret stuff. Many places use nice new
4532         convenient calls that do a lot of the work for you.
4534 2000-06-06  Pavel Cisler  <pavel@eazel.com>
4536         * libnautilus-extensions/nautilus-icon-factory.c:
4537         (get_themed_icon_file_path),
4538         (nautilus_icon_factory_get_icon_for_file):
4539         Fix leaks.
4540         
4541         * libnautilus-extensions/nautilus-mime-actions.c:
4542         (nautilus_mime_get_default_component_for_uri_internal):
4543         Add an assert to augument a funny if statement and trap 
4544         a potential leak case.
4546         * src/file-manager/fm-icon-view.c: (get_icon_text_callback):
4547         Fix a leak
4549 2000-06-06  Andy Hertzfeld  <andy@eazel.com>
4551         made gradient backgrounds work with the anti-aliased canvas.  This
4552         isn't finished yet but will be soon.
4553         
4554         * libnautilus-extensions/nautilus-background-canvas-group.c:
4555         (nautilus_background_canvas_group_render):
4556         call nautilus_background_draw_aa to draw the background
4557         * libnautilus-extensions/nautilus-background.c:
4558         (draw_pixbuf_tiled_aa), (nautilus_background_draw_aa):
4559         made it call nautilus_gnome_canvas_fill_with_gradient
4560         to fill with a gradient background if necessary
4561         * libnautilus-extensions/nautilus-gnome-extensions.c,h:
4562         (nautilus_gnome_canvas_item_get_world_bounds),
4563         (nautilus_gnome_canvas_fill_with_gradient):
4564         implemented nautilus_gnome_canvas_fill_with_gradient
4566 2000-06-06  Ramiro Estrugo  <ramiro@eazel.com>
4568         * nautilus-widgets/nautilus-preferences.c:
4569         * nautilus-widgets/nautilus-user-level-manager.c:
4570         (user_level_manager_new):
4571         Use "/apps/nautilus" instead of "/nautilus" to conform to the
4572         gconf "standard"
4574         Thanks to andersca@gnu.org for pointing this out.
4575         
4576 2000-06-06  Maciej Stachowiak  <mjs@eazel.com>
4578         * libnautilus-extensions/nautilus-glib-extensions.c: Removed FIXME
4579         comments for 1277.
4581         * libnautilus-extensions/nautilus-glib-extensions.c:
4582         (nautilus_test_predicate), (nautilus_self_check_glib_extensions):
4583         Un #if-0'd out, and replaced the free that was killing things with
4584         a comment explaining why it is not necessary.
4586 2000-06-06  Ramiro Estrugo  <ramiro@eazel.com>
4588         * nautilus-widgets/nautilus-preferences.c:
4589         (nautilus_preferences_get_enum):
4590         Add missing g_free.
4591         
4592 2000-06-06  Ramiro Estrugo  <ramiro@eazel.com>
4594         * libnautilus-extensions/nautilus-glib-extensions.c:
4595         (nautilus_self_check_glib_extensions):
4596         Comment out broken nautilus_g_list_paritition tests and adeed
4597         FIXME blurb with bug number.
4598         
4599 2000-06-06  John Sullivan  <sullivan@eazel.com>
4601         * components/services/install/lib/eazel-install-object.c:
4602         (eazel_install_new_with_config):
4603         * components/services/install/lib/eazel-install-rpm-glue.c:
4604         (do_rpm_install):
4605         * components/services/time/service/trilobite-eazel-time-service.c:
4606         (impl_Trilobite_Eazel_Time_Service_update_time):
4607         * libnautilus-extensions/nautilus-global-preferences.c:
4608         (global_preferences_get_sidebar_panel_view_identifiers),
4609         (global_preferences_register_sidebar_panels_preferences_for_ui):
4610         * libnautilus/nautilus-clipboard.c: (add_menu_items_callback):
4611         * nautilus-widgets/nautilus-preferences-item.c:
4612         (preferences_item_create_font_family):
4613         * nautilus-widgets/nautilus-preferences.c:
4614         (preferences_hash_node_check_changes_func),
4615         (preferences_gconf_callback):
4616         Added bug numbers to FIXMEs.
4618 2000-06-06  John Sullivan  <sullivan@eazel.com>
4620         * libnautilus-extensions/nautilus-mime-actions.c:
4621         (nautilus_mime_get_default_action_type_for_uri),
4622         (nautilus_mime_get_default_application_for_uri),
4623         (nautilus_mime_get_default_component_for_uri_internal),
4624         (nautilus_mime_get_short_list_applications_for_uri),
4625         (nautilus_mime_get_short_list_components_for_uri),
4626         (nautilus_mime_get_all_applications_for_uri),
4627         (nautilus_mime_set_short_list_applications_for_uri),
4628         (nautilus_mime_set_short_list_components_for_uri),
4629         (nautilus_do_component_query), (get_mime_type_from_uri):
4630         Added bug numbers to FIXMEs.
4632 2000-06-06  John Sullivan  <sullivan@eazel.com>
4634         * libnautilus-extensions/nautilus-file.c:
4635         (nautilus_file_get_type_as_string):
4636         * src/file-manager/fm-directory-view.c:
4637         (bonobo_control_activate_callback), (new_folder_done),
4638         (fm_directory_view_real_create_background_context_menu_items):
4639         * src/file-manager/fm-icon-view.c:
4640         * src/file-manager/fm-list-view.c: (fm_list_handle_dropped_icons):
4641         * src/nautilus-application.c: (nautilus_app_startup):
4642         * src/nautilus-desktop-window.c:
4643         (nautilus_desktop_window_initialize),
4644         (nautilus_desktop_window_new), (realize):
4645         * src/nautilus-property-browser.c: (remove_background),
4646         (remove_emblem), (add_background_to_browser):
4647         * src/nautilus-sidebar.c:
4648         * src/nautilus-view-frame-bonobo-embeddable.c:
4649         (bonobo_subdoc_notify_location_change):
4650         * src/nautilus-window-manage-views.c:
4651         (nautilus_window_request_location_change):
4652         Added bug numbers to FIXMEs.
4654 2000-06-06  John Sullivan  <sullivan@eazel.com>
4656         * components/music/nautilus-music-view.c:
4657         * components/services/trilobite/libtrilobite/trilobite-service.c:
4658         * src/nautilus-window-menus.c: (update_user_level_menu_items):
4659         * src/nautilus-window.c: (nautilus_window_constructed),
4660         (nautilus_window_real_set_content_view):
4661         Added bug numbers to FIXMEs, and removed a few stale ones.
4663 2000-06-06  John Sullivan  <sullivan@eazel.com>
4665         * libnautilus-extensions/nautilus-metadata.h:
4666         * libnautilus-extensions/nautilus-mime-actions.c:
4667         (nautilus_mime_get_default_action_type_for_uri),
4668         (nautilus_mime_get_default_application_for_uri),
4669         (nautilus_mime_get_default_component_for_uri_internal),
4670         (nautilus_mime_get_short_list_applications_for_uri),
4671         (nautilus_mime_get_short_list_components_for_uri),
4672         (nautilus_mime_get_all_applications_for_uri),
4673         (nautilus_mime_set_default_action_type_for_uri),
4674         (nautilus_mime_set_default_application_for_uri),
4675         (nautilus_mime_set_default_component_for_uri),
4676         (nautilus_mime_set_short_list_applications_for_uri),
4677         (nautilus_mime_set_short_list_components_for_uri),
4678         (nautilus_mime_extend_all_applications_for_uri),
4679         (nautilus_mime_remove_from_all_applications_for_uri),
4680         (get_explicit_content_view_iids_from_metafile):
4681         Made all the metadata keys in this file be #defines
4682         instead of in-line strings.
4684 2000-06-06  John Sullivan  <sullivan@eazel.com>
4686         Fixed bug 1219 (saved viewer not used if not in preferred list)
4688         * libnautilus-extensions/nautilus-metadata.h:
4689         Removed NAUTILUS_METADATA_KEY_INITIAL_VIEW 'cuz it's not needed
4690         anymore.
4691         
4692         * libnautilus-extensions/nautilus-mime-actions.h:
4693         * libnautilus-extensions/nautilus-mime-actions.c:
4694         (nautilus_mime_get_default_component_for_uri_internal):
4695         New private function, returns both the default component
4696         and whether it was user-chosen (as opposed to just inherited
4697         from the value for this MIME type).
4698         (nautilus_mime_get_default_component_for_uri): Now calls
4699         this new function. Also fixed a bug where it was using a
4700         different metadata string than _set_default_, and thus
4701         never retrieving the stored value.
4702         (nautilus_mime_is_default_component_for_uri_user_chosen):
4703         New public function, reports whether the default component
4704         was chosen by the user or just inherited.
4705         
4706         * src/nautilus-window.c: (nautilus_window_switch_views):
4707         Call nautilus_mime_set_default_component_for_uri when the
4708         user explicitly chooses a view, rather than setting the
4709         now-obsolete "INITIAL_VIEW" metadata.
4711         * src/nautilus-applicable-views.c: 
4712         (got_file_info_callback): Rename "fallback_id" to "default_id"
4713         and eliminate code that adds default component to menu here.
4714         The current view is always added to the menu in a special way
4715         if required later.
4716         (set_initial_content_id): Don't get remembered value, instead
4717         use nautilus_mime_is_default_component_for_uri_user_chosen to
4718         choose priority between default component and referring component.
4719         And don't require that the initial component is in the preferred
4720         list.
4722 2000-06-06  Andy Hertzfeld  <andy@eazel.com>
4724         made tiled image backgrounds work properly in anti-aliased mode
4725         
4726         * libnautilus-extensions/nautilus-background-canvas-group.c:
4727         (nautilus_background_canvas_group_initialize_class),
4728         (nautilus_background_canvas_group_draw),
4729         (nautilus_background_canvas_group_render):
4730         overrode the render method so backgrounds draw in anti-aliased mode
4731         
4732         * libnautilus-extensions/nautilus-background.c:
4733         (nautilus_background_draw), (draw_pixbuf_aa), (draw_pixbuf_tiled),
4734         (nautilus_background_draw_aa):
4735         added nautilus_background_draw_aa to draw the background in
4736         anti-aliased yet.  We don't support gradients yet, but that's
4737         coming soon.
4738         * libnautilus-extensions/nautilus-background.h:
4739         added nautilus_background_draw_aa
4740         
4741         * libnautilus-extensions/nautilus-icon-canvas-item.c:
4742         (nautilus_icon_canvas_item_render):
4743         made it respect the is_bg flag
4744         
4745 2000-06-05      Mathieu Lacage  <mathieu@gnome.org>
4747         * components/rpmview/Makefile.am: add 
4748         nautilus_rpm_view_LDADD: don't ask me why
4749         it is necessary.
4750         * src/file-manager/Makefile.am: add ORBIT_IDL.
4752 2000-06-05      Mathieu Lacage  <mathieu@gnome.org>
4754         * configure.in: add check for ORBit.
4755         * libnautilus/Makefile.am: use the previous check.
4756         The above is a trivial patch which does not correct the
4757         problem of the Bonobo idl files. How can you get their 
4758         location ?
4759         * librsvg/Makefile.am: make it use the proper flags for 
4760         GDK_PIXBUF.
4762 2000-06-05  Ramiro Estrugo  <ramiro@eazel.com>
4764         * nautilus-widgets/nautilus-preferences-item.c:
4765         (preferences_item_construct),
4766         (preferences_item_create_editable_string),
4767         (preferences_item_create_font_family),
4768         (preferences_item_create_icon_theme),
4769         (preferences_item_create_toolbar_icon_theme),
4770         (text_item_changed_callback), (editable_string_changed_callback):
4771         * nautilus-widgets/nautilus-preferences-item.h:
4772         New type of preference, EDITABLE_STRING.
4773         
4774         * libnautilus-extensions/nautilus-global-preferences.c:
4775         (global_preferences_create_dialog):
4776         Add a new pane, navigation pane.
4777         
4778         Add support for manually keying in a home page.  Needs some more
4779         work to work better.
4780         
4781         * nautilus-widgets/Makefile.am:
4782         * nautilus-widgets/nautilus-caption.c:
4783         (nautilus_caption_initialize_class), (nautilus_caption_initialize),
4784         (nautilus_caption_destroy), (nautilus_caption_new),
4785         (nautilus_caption_set_title_label),
4786         (nautilus_caption_get_title_label), (nautilus_caption_set_child):
4787         * nautilus-widgets/nautilus-caption.h:
4788         New class.  Common stuff for caption widgets.
4790         * nautilus-widgets/nautilus-string-picker.c:
4791         (nautilus_string_picker_initialize_class),
4792         (nautilus_string_picker_initialize), (entry_changed_callback),
4793         (nautilus_string_picker_set_string_list):
4794         * nautilus-widgets/nautilus-string-picker.h:
4795         Subclass from caption class.
4796         
4797         * nautilus-widgets/nautilus-text-caption.h:
4798 * nautilus-widgets/nautilus-text-caption.c:
4799         (nautilus_text_caption_initialize_class),
4800         (nautilus_text_caption_initialize),
4801         (nautilus_text_caption_destroy), (entry_changed_callback),
4802         (nautilus_text_caption_new), (nautilus_text_caption_get_text),
4803         (nautilus_text_caption_set_text):
4804         New caption sublcass that manages an text widget.
4805         
4806         * nautilus-widgets/test-nautilus-widgets.c: (main),
4807         (test_string_picker), (test_text_caption),
4808         (string_picker_changed_callback), (text_caption_changed_callback):
4809         Update for new class and caption changes.
4810         
4811 2000-06-05  Ramiro Estrugo  <ramiro@eazel.com>
4813         * libnautilus-extensions/nautilus-icon-factory.c: (embed_text):
4814         * src/nautilus-sidebar-title.c:
4815         (nautilus_index_title_update_label):
4817         Update FIXME blurbs to reflect new bugs filed for these issue.
4819 2000-06-05  John Sullivan  <sullivan@eazel.com>
4821         Used newly-publicized functions from gnome-vfs-mime-handlers.c
4822         to avoid replicating a bunch of code.
4824         * libnautilus-extensions/nautilus-mime-actions.c:
4825         (gnome_vfs_mime_application_matches_id),
4826         (gnome_vfs_mime_component_matches_id),
4827         (gnome_vfs_mime_id_in_application_list),
4828         (gnome_vfs_mime_id_in_component_list),
4829         (id_list_from_application_list),
4830         (id_list_from_component_list):
4831         Removed these functions.
4832         
4833         (nautilus_mime_add_application_to_short_list_for_uri),
4834         (nautilus_mime_remove_application_from_short_list_for_uri),
4835         (nautilus_mime_add_component_to_short_list_for_uri),
4836         (nautilus_mime_remove_component_from_short_list_for_uri):
4837         Rewrote to call newly-publicized gnome-vfs-mime functions.
4839 2000-06-05  John Sullivan  <sullivan@eazel.com>
4841         Cleaned up the directory view code that launches applications 
4842         or switches to viewers so that when bugs 1053 and 1072 are
4843         fixed it will be trivial to finish this code.
4845         * libnautilus-extensions/nautilus-gtk-extensions.h,
4846         * libnautilus-extensions/nautilus-gtk-extensions.c:
4847         (nautilus_gtk_signal_connect_free_data_custom): New function
4848         to specify a GtkDestroyNotify function when connecting to a
4849         signal, without having to specify everything else in
4850         gtk_signal_connect_full.
4851         (nautilus_gtk_signal_connect_free_data): Changed to call
4852         nautilus_gtk_signal_connect_free_data_custom.
4854         * libnautilus-extensions/nautilus-view-identifier.c:
4855         (nautilus_view_identifier_copy): Made it handle NULL parameter.
4856         
4857         * src/file-manager/fm-directory-view.c:
4858         (application_launch_parameters_new),
4859         (application_launch_parameters_free),
4860         (viewer_launch_parameters_new), 
4861         (viewer_launch_parameters_free): New helper functions for
4862         dealing with the structs needed to launch an app or viewer.
4863         
4864         (fm_directory_view_launch_application): New wrapper for
4865         nautilus_launch_application that will let us handle
4866         errors in a single place.
4868         (switch_location_and_view): New bottleneck function or going
4869         to a particular location with a particular viewer. This 
4870         doesn't work yet (bug 1053) and it currently puts up a
4871         message box telling the user so.
4873         (fm_directory_view_chose_application_callback),
4874         (fm_directory_view_chose_component_callback), (choose_program),
4875         (choose_application), (choose_component),
4876         (launch_application_from_menu_item), (view_uri_from_menu_item),
4877         (add_application_to_gtk_menu), (add_component_to_gtk_menu),
4878         (create_open_with_gtk_menu), (bonobo_launch_application_callback),
4879         (add_application_to_bonobo_menu),
4880         (bonobo_open_location_with_viewer_callback),
4881         (add_component_to_bonobo_menu):
4882         Reworked to pass around launch_parameters structs instead of other
4883         bits and pieces of info. Darin will be happy to know that info
4884         needed for menu item callbacks is now bundled up and passed as
4885         the callback data instead of sneaking in as gtk_object_data.
4887 2000-06-05  John Sullivan  <sullivan@eazel.com>
4889         Fixed bug 1118: Generic error message for bogus ftp location
4891         * src/nautilus-applicable-views.h: 
4892         Added NAUTILUS_NAVIGATION_RESULT_UNDEFINED to enum.
4893         * src/nautilus-applicable-views.c: (got_file_info_callback):
4894         Used this new value to fix bug where early goto was not
4895         setting result code. Goto considered evil.
4896         * src/nautilus-window-manage-views.c:
4897         (nautilus_window_end_location_change_callback):
4898         Added "complain to sullivan@eazel.com" message when an
4899         unhandled result code is stumbled across.
4901 2000-06-05  Ramiro Estrugo  <ramiro@eazel.com>
4903         Bug 647.  Should report missing special directories to user.
4904         
4905         * libnautilus-extensions/nautilus-file-utilities.c:
4906         (nautilus_get_user_directory), (nautilus_get_desktop_directory),
4907         (nautilus_get_user_main_directory):
4908         Fixed uninitialized static pointers.  Remove FIXME blurbs are
4909         error checking happens "above" in nautilus-application now.
4910         
4911         * src/nautilus-application.c:
4912         (nautilus_app_check_user_directories), (nautilus_app_startup):
4913         Add error checking for missing user directories with appropiate
4914         FIXME for current bad names for these dirs.
4915         
4916 2000-06-05  Ramiro Estrugo  <ramiro@eazel.com>
4918         * libnautilus-extensions/nautilus-file-utilities.c:
4919         Added FIXME note for bug 1117.
4920         
4921 2000-06-05  Ramiro Estrugo  <ramiro@eazel.com>
4923         * libnautilus-extensions/nautilus-string-list.c:
4924         (nautilus_string_list_as_concatenated_string),
4925         (nautilus_self_check_string_list):
4926         * libnautilus-extensions/nautilus-string-list.h:
4927         New function.  Return the string list items concatenated into a
4928         single string delimited by a given delimeter.
4929         
4930 2000-06-05  Andy Hertzfeld  <andy@eazel.com>
4932         * libnautilus-extensions/nautilus-file-utilities.c:
4933         (nautilus_get_user_main_directory):
4934         don't install the web link set by default
4935         
4936 2000-06-05  Andy Hertzfeld  <andy@eazel.com>
4938         * data/linksets/Makefile.am:
4939         * data/linksets/portals.xml:
4940         * data/linksets/search_engines.xml:
4941         added 2 new linksets of web links
4942         * libnautilus-extensions/Makefile.am:
4943         made us link with ghttp
4944         * libnautilus-extensions/nautilus-file-utilities.c:
4945         (nautilus_get_user_main_directory):
4946         install the search engines linkset by default (temporarily until we have more UI)
4947         * libnautilus-extensions/nautilus-link.c: (load_image_from_http),
4948         (make_local_path), (nautilus_link_get_image_uri):
4949         made links handle remote images by loading them through http using g_http, and
4950         caching them locally.
4951         
4952 2000-06-04  Andy Hertzfeld  <andy@eazel.com>
4954         * libnautilus-extensions/nautilus-global-preferences.c:
4955         (global_preferences_create_dialog),
4956         (global_preferences_register_for_ui):
4957         reorganized the icon theming in the preferences dialog, combining toolbar and
4958         icon themes into one section, and generalizing toolbar themes to support any
4959         number of themes.
4960         * libnautilus-extensions/nautilus-global-preferences.h:
4961         generalized the toolbar icon theme preference from a boolean to a string,
4962         changing its name to avoid confusion
4963         * nautilus-widgets/nautilus-preferences-item.c:
4964         (preferences_item_construct), (has_image_file), (add_icon_themes),
4965         (preferences_item_create_icon_theme),
4966         (preferences_item_create_toolbar_icon_theme):
4967         added support for toolbar icon themes and made it more robust for icon themes
4968         in general, by adding code to check that a candidate directory actually has
4969         the required icons.
4970         * nautilus-widgets/nautilus-preferences-item.h:
4971         added a new item type for toolbar themes
4972         * src/nautilus-window-toolbars.c: (setup_button),
4973         (setup_toolbar_images), (nautilus_window_initialize_toolbars),
4974         (nautilus_window_toolbar_remove_theme_callback):
4975         generalized the toolbar icon switching code to support arbitrary themes instead
4976         of just two.
4977         * libnautilus-extensions/nautilus-link-set.c:
4978         (get_link_set_document), (expand_uri), (nautilus_link_set_install),
4979         (nautilus_link_set_remove):
4980         added link set remove code, which hasn't been tested yet, but will be soon.
4981         * icons/zoom.png:
4982         cleaner version of magnifier icon
4983                 
4984 2000-06-04  Ian McKellar  <yakk@yakk.net>
4986         * nautilus-widgets/nautilus-preferences.c:
4987         (preferences_hash_node_add_callback):
4988         Little mistake: `char *key; g_assert (key);' Unsurprisingly this
4989         stopped Nautilus actually running.
4991 2000-06-02  Darin Adler  <darin@eazel.com>
4993         * libnautilus-extensions/nautilus-mime-actions.c:
4994         (nautilus_mime_remove_component_from_short_list_for_uri):
4995         Fixed a component/application typo.
4997 2000-06-02  Darin Adler  <darin@eazel.com>
4999         * libnautilus-extensions/nautilus-mime-actions.c:
5000         (nautilus_mime_get_default_action_type_for_uri):
5001         Tiny tweak.
5002         (nautilus_mime_get_short_list_components_for_uri):
5003         Fixed a double destroy and a storage leak.
5005 2000-06-02  Andy Hertzfeld  <andy@eazel.com>
5007         * icons/hand.svg:
5008         Here's a scaled up version of the services hand to compensate for
5009         the scale factor introduced in my last checkin
5010         
5011 2000-06-02  Darin Adler  <darin@eazel.com>
5013         * data/linksets/desktop.xml:
5014         * icons/Makefile.am:
5015         * icons/trash.png: [removed]
5016         Changed to use the new trash icon Arlo checked in and removed
5017         the old one.
5019 2000-06-02  John Sullivan  <sullivan@eazel.com>
5021         * libnautilus-extensions/nautilus-mime-actions.c:
5022         (nautilus_mime_add_application_to_short_list_for_uri),
5023         (nautilus_mime_remove_application_from_short_list_for_uri),
5024         (nautilus_mime_add_component_to_short_list_for_uri),
5025         (nautilus_mime_remove_component_from_short_list_for_uri):
5026         Provided implementations for these functions (formerly empty).
5027         Unfortunately bad things happen when I invoke them. Will
5028         debug now.
5029         (id_list_from_application_list), (id_list_from_component_list),
5030         (gnome_vfs_mime_application_matches_id),
5031         (gnome_vfs_mime_component_matches_id), (component_has_id_in_list),
5032         (gnome_vfs_mime_id_in_application_list),
5033         (gnome_vfs_mime_id_in_component_list): New helper functions all
5034         used to implement the add/remove functions.
5036 2000-06-02  Ramiro Estrugo  <ramiro@eazel.com>
5038         * libnautilus-extensions/nautilus-global-preferences.c:
5039         (global_preferences_create_dialog):
5040         Add a boolean preference for toggling the display of hidden files.
5042         In order to make space for this one, i moved the remote views one
5043         to a new tradeoffs pane, which was commandeered by sullivan.
5044         
5045 2000-06-02  Andy Hertzfeld  <andy@eazel.com>
5047         added a new theme composed of vector icons, and a generalized theme
5048         selector in the preferences dialog
5049         
5050         * configure.in:
5051         * icons/Makefile.am:
5052         * icons/vector/.cvsignore:
5053         * icons/vector/Makefile.am:
5054         * icons/vector/i-directory-accept.svg:
5055         * icons/vector/i-directory.svg:
5056         * icons/vector/i-regular.svg:
5057         * icons/vector/i-regular.xml:
5058         added a new directory for a vector
5059         
5060         * libnautilus-extensions/nautilus-global-preferences.c:
5061         (global_preferences_create_dialog),
5062         (global_preferences_register_for_ui):
5063         changed the type of the icon theme selector to a custom one
5064         
5065         * nautilus-widgets/nautilus-preferences-item.c:
5066         (preferences_item_construct),
5067         (preferences_item_create_font_family), (add_icon_themes),
5068         (preferences_item_create_icon_theme), (text_item_changed_callback):
5069         implemented a custom type for icon theme selecting; added a routine
5070         to iterate through the icons directory to find available themes
5071         
5072         * nautilus-widgets/nautilus-preferences-item.h:
5073         defined a custom type for icon theme selection
5074         
5075         * src/nautilus-window-menus.c: (nautilus_window_initialize_menus),
5076         (refresh_bookmarks_in_go_menu):
5077         removed the old code that maintained a menu item for icon
5078         theme selection now that we have it in preferences
5079         
5080         * libnautilus-extensions/nautilus-icon-factory.c:
5081         (load_specific_image_svg):
5082         changed the default scaling for vector icons to match the
5083         size that Susan's been drawing them at
5084         
5085 2000-06-02  Darin Adler  <darin@eazel.com>
5087         * libnautilus-extensions/nautilus-directory.c: (uri_get_basename):
5088         Need to unencode the name here because it's used to compare with
5089         file names that come from get_file_info.
5090         
5091         * src/file-manager/dfos-xfer.c: (get_parent_make_name_list):
5092         Unescape the result of get_basename to convert it to a plain old
5093         file name, since that's why gnome_vfs_xfer wants in its file name
5094         lists (for now, see bug 1107).
5096         * libnautilus-extensions/Makefile.am:
5097         * libnautilus-extensions/nautilus-file-changes-queue-private.h:
5098         Removed the private header since it's so private it can be in the
5099         .c file :-)
5100         
5101         * libnautilus-extensions/nautilus-file-changes-queue.h:
5102         * libnautilus-extensions/nautilus-file-changes-queue.c:
5103         (nautilus_file_changes_queue_new),
5104         (nautilus_file_changes_queue_get), (nautilus_file_change_free),
5105         (nautilus_file_changes_queue_free),
5106         (nautilus_file_changes_queue_add_common),
5107         (nautilus_file_changes_queue_get_change):
5108         A little simplification and reformatting. Got rid of the details
5109         indirection since the entire data structure is private.
5111 2000-06-02  John Sullivan  <sullivan@eazel.com>
5113         * libnautilus-extensions/nautilus-mime-actions.h,
5114         * libnautilus-extensions/nautilus-mime-actions.c:
5115         (nautilus_mime_add_application_to_short_list_for_uri),
5116         (nautilus_mime_remove_application_from_short_list_for_uri),
5117         (nautilus_mime_add_component_to_short_list_for_uri),
5118         (nautilus_mime_remove_component_from_short_list_for_uri):
5119         New prototypes and empty function bodies, convenience
5120         covers for modifying the short lists. Not yet implemented,
5121         but callable.
5122         
5123         * libnautilus-extensions/nautilus-program-chooser.c:
5124         (add_to_short_list_for_file), (remove_from_short_list_for_file),
5125         (add_to_short_list_for_type), (remove_from_short_list_for_type),
5126         (run_program_configurator_callback): Wired up things so if
5127         the user switches radio buttons in the "Modify details" dialog,
5128         the right code is called when they hit OK. But this right code
5129         doesn't yet do anything.
5131 2000-06-02  Arlo Rose  <arlo@eazel.com>
5133         * icons/Makefile.am:
5134         * icons/trash-empty.png:
5135         * icons/trash-full.png:
5136         Added the new trash icons
5138 2000-06-02  Anders Carlsson  <andersca@gnu.org>
5140         * libnautilus-extensions/nautilus-icon-container.c (realize): 
5141         Reduce flicker by setting the back pixmap to NULL on realize.
5142         
5143 2000-06-02  John Sullivan  <sullivan@eazel.com>
5145         Finished task 968 (Add one-time viewer choice to "View as"
5146         menu temporarily)
5148         * libnautilus-extensions/nautilus-view-identifier.h,
5149         * libnautilus-extensions/nautilus-view-identifier.c:
5150         (nautilus_view_identifier_copy): New function, does the obvious.
5151         
5152         * src/nautilus-applicable-views.h: Made NautilusNavigationInfo
5153         store a NautilusViewIdentifier instead of just the iid part
5154         in initial_content_iid (now initial_content_id).
5156         * src/nautilus-applicable-views.c: (set_initial_content_id),
5157         (got_file_info_callback), (nautilus_navigation_info_free):
5158         Reworked code to handle change from char *iid to NautilusViewIdentifier.
5160         * src/nautilus-window.h: New field for content_view_id,
5161         a NautilusViewIdentifier for the current view.
5163         * src/nautilus-window-private.h,
5164         * src/nautilus-window-manage-views.c:
5165         (nautilus_window_load_content_view): Now takes a
5166         NautilusViewIdentifier * instead of just a char *,
5167         and resets content_view_id field.
5168         (nautilus_window_update_state): Reworked code to handle
5169         initial_content_iid change.
5170         
5171         * src/nautilus-window.c: 
5172         (nautilus_window_destroy): Destroy content_view_id.
5173         (nautilus_window_switch_views), (view_menu_switch_views_callback):
5174         Reworked to take NautilusViewIdentifier * instead of just char *.
5175         (create_content_view_menu_item): New helper function, extracted 
5176         from nautilus_window_load_content_view_menu.
5177         (replace_special_current_view_in_content_view_menu): New
5178         function, does the work of putting the current content view
5179         as the initial item in the menu, followed by a separator.
5180         (nautilus_window_synch_content_view_menu): Calls
5181         replace_special_current_view_in_content_menu if the current view
5182         is not found in the menu.
5183         (chose_component_callback): Took out fixed FIXMEs.
5184         (nautilus_window_load_content_view_menu): Now calls function
5185         that was extracted from it.
5187 2000-06-02  Ramiro Estrugo  <ramiro@eazel.com>
5189         Task 667.  Unhardcode font strings.
5191         * libnautilus-extensions/nautilus-font-factory.c:
5192         (nautilus_get_current_font_factory), (nautilus_font_factory_get),
5193         (nautilus_font_factory_new), (nautilus_font_factory_initialize),
5194         (nautilus_font_factory_initialize_class), (font_hash_node_alloc),
5195         (font_hash_node_free), (font_hash_node_lookup),
5196         (font_hash_node_lookup_with_insertion),
5197         (nautilus_font_factory_get_font_by_family),
5198         (nautilus_font_factory_get_font_from_preferences),
5199         (nautilus_font_factory_get_fallback_font), (make_font_name_string):
5200         * libnautilus-extensions/nautilus-font-factory.h:
5201         New class to obtain fonts either by family or from preferences.  A
5202         specific size can be requested.
5204         Right now its a pretty dumb class, but it can be enhanced to do
5205         smart things like looking at gtkstyles and/or smarted choosing of
5206         fonts if the specifically requested size is not avialable.
5207         
5208         * components/hardware/nautilus-hardware-view.c: (setup_form_title):
5209         * components/music/nautilus-music-view.c:
5210         (nautilus_music_view_initialize):
5211         * components/rpmview/nautilus-rpm-view.c:
5212         (nautilus_rpm_view_initialize):
5213         * components/services/startup/nautilus-view/nautilus-service-startup-view.c:
5214         (setup_form_title):
5215         * libnautilus-extensions/Makefile.am:
5216         * libnautilus-extensions/nautilus-icon-container.c:
5217         (nautilus_icon_container_initialize):
5218         * src/nautilus-property-browser.c:
5219         (nautilus_property_browser_initialize):
5220         * src/nautilus-sidebar-title.c: (nautilus_index_title_update_info):
5221         Unhardcode xlfd font strings in all of these and use the font
5222         factory instead.
5224 2000-06-02  Pavel Cisler  <pavel@eazel.com>
5226         * src/file-manager/fm-list-view.c: (fm_list_handle_dropped_icons):
5227         Fix a bug that caused a crash when dropping dragged items back 
5228         in their original location.
5229         
5230         * libnautilus-extensions/nautilus-drag.c:
5231         (nautilus_drag_drag_data_get):
5232         Tweak whitespace.       
5234 2000-06-02  Darin Adler  <darin@eazel.com>
5236         * libnautilus-extensions/nautilus-drag.c:
5237         (nautilus_drag_finalize): Fix typo that caused us to unref a NULL
5238         GdkBitmap.
5239         
5240         * libnautilus-extensions/nautilus-icon-dnd.c:
5241         (nautilus_icon_dnd_fini): Fix double-free that caused everything
5242         to go haywire.
5243         
5244         * src/file-manager/fm-directory-view.c:
5245         (add_component_to_gtk_menu), (add_component_to_bonobo_menu):
5246         Marked a couple of strings for localization that were missed.
5248 2000-06-02  Darin Adler  <darin@eazel.com>
5250         * components/services/install/idl/.cvsignore:
5251         * components/services/time/idl/.cvsignore:
5252         Ignore some Makefile and Makefile.in files.
5253         
5254         * data/linksets/Makefile.am:
5255         * data/linksets/desktop.xml:
5256         Added a link set for the trash on the desktop.
5257         
5258         * icons/Makefile.am:
5259         Added a trash icon (actually a copy of the Nautilus icon right
5260         now :-).
5261         
5262         * libnautilus-extensions/nautilus-link-set.h:
5263         * libnautilus-extensions/nautilus-link-set.c: (create_new_link),
5264         (nautilus_link_set_install), (nautilus_link_set_remove):
5265         Fixed some URI-related issues and added a special case for the ~
5266         character so we can have link sets that are for the home directory.
5267         
5268         * libnautilus-extensions/nautilus-string.c:
5269         (nautilus_str_capitalize): Got rid of the unneeded call to strlen.
5270         strlen == 0 is the slowest way I know to check for an empty string.
5271         Also check islower before calling toupper for paranoia like the
5272         calls in glib do (internally).
5273         
5274         * src/nautilus-desktop-window.c: (nautilus_desktop_window_new):
5275         Install the desktop link set when we are created. For now this
5276         installs the trash (in a fairly lame way).
5277         
5278         * src/nautilus-property-browser.c: (remove_color),
5279         (add_color_to_file), (make_properties_from_xml_node),
5280         (nautilus_property_browser_update_contents):
5281         Changed code to not reference "childs" directly so it's easy to
5282         switch to a new version of gnome-xml.
5283         
5284         * test/.cvsignore: Ignore test-nautilus-mime-actions-set.
5286 2000-06-02  Ramiro Estrugo  <ramiro@eazel.com>
5288         Task 518.  Support for changing preferences individually
5289         within each confgurable user level.
5291         * libnautilus-extensions/nautilus-global-preferences.h:
5292         Change all preferences strings to not include the "/nautilus"
5293         prefix.  The prefix is not automatically computed by the prefences
5294         api taking into account the user level.
5296         Add (nautilus_global_preferences_dialog_update) to rebuild the
5297         preferences dialog when the user level changes.
5299         * libnautilus-extensions/nautilus-global-preferences.c:
5300         (global_preferences_get_dialog),
5301         (global_preferences_register_sidebar_panels_preferences_for_ui),
5302         (global_preferences_register_with_defaults),
5303         (global_preferences_register_boolean_with_defaults),
5304         (global_preferences_register_string_with_defaults),
5305         (global_preferences_register_enum_with_defaults),
5306         (global_preferences_register_for_ui),
5307         (global_preferences_initialize_if_needed),
5308         (nautilus_global_preferences_show_dialog),
5309         (nautilus_global_preferences_hide_dialog),
5310         (nautilus_global_preferences_set_dialog_title),
5311         (nautilus_global_preferences_dialog_update),
5312         (nautilus_global_preferences_shutdown):
5313         remove the user level tracking hack.  We now set default values
5314         for each of the user levels.
5316         * libnautilus-extensions/nautilus-icon-container.c:
5317         (nautilus_icon_container_initialize):
5318         Simplified preference callback api by having a single add_callback
5319         function.  Use it here.
5321         * libnautilus-extensions/nautilus-list.c:
5322         (nautilus_list_initialize):
5323         Simplified preference callback api by having a single add_callback
5324         function.  Use it here.
5326         * src/file-manager/fm-directory-view.c:
5327         (fm_directory_view_initialize):
5328         Simplified preference callback api by having a single add_callback
5329         function.  Use it here.
5331         * nautilus-widgets/nautilus-preference.c:
5332         (preference_initialize_if_needed), (preference_hash_node_alloc),
5333         (preference_hash_node_free_func), (preference_hash_node_free),
5334         (preference_register), (preference_hash_node_lookup),
5335         (preference_hash_node_lookup_with_registration),
5336         (nautilus_preference_shutdown), (nautilus_preference_find_by_name),
5337         (nautilus_preference_set_info_by_name),
5338         (nautilus_preference_enum_add_entry_by_name):
5339         * nautilus-widgets/nautilus-preference.h:
5340         Move the preference description hash table here from
5341         nautilus-preferences.  These are preferences that are expected to
5342         have nice defaults as well as descriptions and possibly extra data
5343         for the preferences widgets to use (like enumeration values)
5345         I moved the tabulation and hashing stuff intactly even though it
5346         contains many turds.  I plan to fix these soon.
5347         
5348         * nautilus-widgets/nautilus-preferences-group.c:
5349         (nautilus_preferences_group_add_item):
5350         * nautilus-widgets/nautilus-preferences-item.c:
5351         (preferences_item_construct), (enum_radio_group_changed_callback):
5352         Update for the above.
5354         * nautilus-widgets/nautilus-preferences.c:
5355         (preferences_hash_node_alloc), (preferences_hash_node_free),
5356         (preferences_hash_node_add_callback),
5357         (preferences_hash_node_remove_callback),
5358         (preferences_hash_node_check_changes_func),
5359         (preferneces_callback_node_invoke_func), (preferences_register),
5360         (preferences_hash_node_lookup_with_registration),
5361         (preferences_gconf_callback), (user_level_changed_callback),
5362         (preferences_initialize_if_needed),
5363         (nautilus_preferences_add_callback),
5364         (nautilus_preferences_set_boolean),
5365         (nautilus_preferences_get_boolean),
5366         (nautilus_preferences_set_enum), (nautilus_preferences_get_enum),
5367         (nautilus_preferences_set), (nautilus_preferences_get),
5368         (nautilus_preferences_shutdown):
5369         * nautilus-widgets/nautilus-preferences.h:
5370         Move the tabulation of nice preferences to nautilus-preference.
5372         Install one gconf notification for each user level.  Remove all
5373         the extra unused registration parameters.  
5375         Use generated keys that take into account the current user level
5376         to communicato with GConf.
5378         Keep track of user level changes so that we can compare
5379         preferences between user levels and fire callbacks accordingly.
5380         This simplifies the lifes of preferences callers as they can
5381         continue to install one simple callback as before.  They will get
5382         notified when a preference changes for whatever reason.  That
5383         could be the user manaually tweaking it, or a sweeping user level
5384         change. 
5386         Again, i tried to keep as much of the original hashing logic
5387         intact.  It needs cleaning up as well.
5389         * nautilus-widgets/nautilus-user-level-manager.c:
5390         (nautilus_user_level_manager_set_default_value_if_needed),
5391         (nautilus_user_level_manager_compare_preference_between_user_levels
5392         ):
5393         * nautilus-widgets/nautilus-user-level-manager.h:
5394         Add a public function to determine whether a preference is the
5395         same between 2 user levels.
5397         * nautilus-widgets/test-nautilus-preferences.c:
5398         (register_global_preferences):
5399         Update to reflect api changes.
5400         
5401         * src/nautilus-window-menus.c: (nautilus_window_initialize_menus),
5402         (user_level_changed_callback),
5403         (get_customize_user_level_setttings_menu_string),
5404         (update_preferences_dialog_title):
5405         Update the preferences dialog whenever the user level changes.
5406         This is an easy way to have the dialog reflect reallity.
5408         It would be a lot nicer it the contents updated on the fly instead
5409         of rebuilding the whole thing.  I can do that later.
5411 2000-06-02  Pavel Cisler  <pavel@eazel.com>
5413         * libnautilus-extensions/nautilus-list.c:
5414         (nautilus_list_button_press), (nautilus_list_button_release),
5415         (nautilus_list_motion):
5416         Fixed a problem where gtk_drag_begin was being called repetitively.
5417         Made it so that more than one item can be grabbed and dragged in 
5418         list view.
5420         * libnautilus-extensions/nautilus-directory.c:
5421         (nautilus_directory_notify_files_moved):
5422         Removed a forgotten g_message.
5424 2000-06-02  Pavel Cisler <pavel@eazel.com>
5426         * libnautilus-extensions/nautilus-drag.c:
5427         * libnautilus-extensions/nautilus-drag.h:
5428         (add_one_gnome_icon_list), (add_one_uri_list),
5429         (nautilus_drag_drag_data_get):
5430         Move more code from nautilus-icon-dnd.c to the common
5431         nautilus-drag.c. Add a common nautilus_drag_drag_data_get
5432         function that gets passed iterators and assembles selection
5433         data.
5434         
5435         * libnautilus-extensions/nautilus-gtk-extensions.c:
5436         * libnautilus-extensions/nautilus-gtk-extensions.h:
5437         (nautilus_gtk_marshal_NONE__POINTER_INT_INT_INT):
5438         Added more marshalling glue. One day there will be enough
5439         for everyone.
5441         * libnautilus-extensions/nautilus-icon-dnd.c:
5442         (nautilus_icon_container_each_selected_icon):
5443         (icon_get_data_binder), (each_icon_get_data_binder),
5444         (drag_data_get_callback):
5445         Iterators and binders to support the NautilusIconContainer
5446         flavor of nautilus_drag_drag_data_get.
5447         
5448         * libnautilus-extensions/nautilus-list.c:
5449         * libnautilus-extensions/nautilus-list.h:
5450         * src/file-manager/fm-list-view.c:
5451         (nautilus_list_initialize_class), (nautilus_list_initialize),
5452         (nautilus_list_drag_begin), (nautilus_list_drag_end),
5453         (nautilus_list_drag_leave), (nautilus_list_drag_motion),
5454         (nautilus_list_drag_data_received), (nautilus_list_set_selection),
5455         (nautilus_list_each_selected_row),
5456         (row_get_data_binder), (each_icon_get_data_binder),
5457         (fm_list_drag_data_get), (create_list):
5458         Hookup fm_list_drag_data_get to support drags originating from the
5459         list view. Connect the drag_data_get to fm_list_view and 
5460         handle it there.
5462         * libnautilus-extensions/nautilus-list.c:
5463         * src/file-manager/fm-list-view.c:
5464         (nautilus_list_initialize_class), (fm_list_handle_dropped_icons):
5465         Fix an improperly marshalled signal.
5467 2000-06-02  Ramiro Estrugo  <ramiro@eazel.com>
5469         * components/history/nautilus-history-view.c: (main):
5470         * libnautilus-extensions/nautilus-global-preferences.c:
5471         (global_preferences_get_dialog),
5472         (global_preferences_register_for_ui),
5473         (global_preferences_initialize_if_needed),
5474         (nautilus_global_preferences_shutdown):
5475         * libnautilus-extensions/nautilus-global-preferences.h:
5476         * nautilus-widgets/nautilus-preferences-group.c:
5477         (nautilus_preferences_group_add_item):
5478         * nautilus-widgets/nautilus-preferences-item.c:
5479         (preferences_item_construct), (nautilus_preferences_item_new):
5480         * nautilus-widgets/nautilus-preferences-pane.c:
5481         (nautilus_preferences_pane_add_item_to_nth_group):
5482         * nautilus-widgets/nautilus-preferences.c: (preferences_register),
5483         (set_default_value_if_needed), (preferences_hash_node_lookup),
5484         (preferences_hash_node_lookup_with_registration),
5485         (preferences_gconf_callback), (preferences_initialize_if_needed),
5486         (nautilus_preferences_find_preference),
5487         (nautilus_preferences_set_info),
5488         (nautilus_preferences_enum_add_entry),
5489         (nautilus_preferences_add_boolean_callback),
5490         (nautilus_preferences_add_enum_callback),
5491         (nautilus_preferences_add_callback),
5492         (nautilus_preferences_set_boolean),
5493         (nautilus_preferences_get_boolean),
5494         (nautilus_preferences_set_enum), (nautilus_preferences_get_enum),
5495         (nautilus_preferences_set), (nautilus_preferences_get),
5496         (nautilus_preferences_shutdown):
5497         * nautilus-widgets/nautilus-preferences.h:
5498         * nautilus-widgets/test-nautilus-preferences.c: (main),
5499         (register_global_preferences):
5500         * src/nautilus-main.c: (main):
5501         Once again, back to implicit initialization of preferences stuff.
5502         It makes things simpler.
5503         
5504 2000-06-02  Ramiro Estrugo  <ramiro@eazel.com>
5506         * nautilus-widgets/nautilus-user-level-manager.c:
5507         (nautilus_user_level_manager_get_user_level),
5508         (nautilus_user_level_manager_make_gconf_key),
5509         (nautilus_user_level_manager_make_current_gconf_key),
5510         (nautilus_user_level_manager_get_user_level_as_string):
5511         * nautilus-widgets/nautilus-user-level-manager.h:
5512         * src/nautilus-window-menus.c: (get_customize_user_level_string):
5513         Some dumb fixes.  Use proper guint type for user_level arguments.
5514         Fix some cut-n-pasted code.  Rename "get_user_level_string" to
5515         "get_user_level_as_string"
5516         
5517 2000-06-02  Eskil Heyn Olsen  <eskil@eazel.com>
5519         * components/services/install/lib/eazel-install-rpm-glue.c:
5520         (do_rpm_install):
5521         * components/services/install/lib/eazel-install-types.c:
5522         (packagedata_new_from_rpm_header):
5523         * nautilus-installer/src/Makefile:
5524         * nautilus-installer/src/prescript:
5525         Ensured that the current stuff in cvs builds a working installer.
5526         (closing bug#969)
5528 2000-06-02  Ramiro Estrugo  <ramiro@eazel.com>
5530         * nautilus-widgets/nautilus-preferences.c:
5531         (nautilus_preferences_initialize):
5532         * nautilus-widgets/nautilus-user-level-manager.c:
5533         * nautilus-widgets/nautilus-user-level-manager.h:
5534         No longer need to retrieve the gconf_client from the user level
5535         manager.  The bug preventing multiple clients has been fixed in
5536         gconf.  
5538 2000-06-02  Ramiro Estrugo  <ramiro@eazel.com>
5540         * libnautilus-extensions/nautilus-global-preferences.c:
5541         (global_preferences_create_dialog),
5542         (global_preferences_close_dialog_callback),
5543         (nautilus_global_preferences_show_dialog),
5544         (nautilus_global_preferences_hide_dialog),
5545         (nautilus_global_preferences_set_dialog_title):
5546         * libnautilus-extensions/nautilus-global-preferences.h:
5547         Add functions for hiding the preferences dialog and changing its
5548         title.  Also, connect a "closed" signal to prevent the dialog from
5549         killing itself since its singleton and lives for the entire life
5550         of the application.
5551         
5552         * nautilus-widgets/nautilus-user-level-manager.c:
5553         (nautilus_user_level_manager_get_user_level),
5554         (nautilus_user_level_manager_make_current_gconf_key),
5555         (nautilus_user_level_manager_get_user_level_string):
5556         * nautilus-widgets/nautilus-user-level-manager.h:
5557         Make nautilus_user_level_manager_get_user_level_string () public.
5558         
5559         * src/nautilus-window-menus.c: (settings_menu_customize_callback),
5560         (nautilus_window_initialize_menus), (user_level_changed_callback),
5561         (update_user_level_menu_items), (get_customize_user_level_string),
5562         (get_customize_user_level_setttings_menu_string):
5563         Change the customize menu item's label based on the user level.
5564         Make it insensitive for the novice user level.  Close the
5565         preferences dialog when the user level changes to novice.
5567 2000-06-02  Ramiro Estrugo  <ramiro@eazel.com>
5569         * libnautilus-extensions/nautilus-string.c:
5570         (nautilus_str_capitalize), (nautilus_self_check_string):
5571         * libnautilus-extensions/nautilus-string.h:
5572         Add a function to capitalize strings along with check tests.
5574 2000-06-02  Ramiro Estrugo  <ramiro@eazel.com>
5576         * components/mozilla/nautilus-mozilla-content-view.c:
5577         (mozilla_open_uri_callback), (mozilla_is_uri_handled_by_nautilus):
5578         Add hook to check which uris are passed back to nautilus.
5580 2000-06-02  Eskil Heyn Olsen  <eskil@eazel.com>
5582         * components/services/docs/installer-dep-check:
5583         Docs with my scetches on how to redo the rpm-glue to make
5584         eazel-install-lib autofetch deps.
5585         
5586         * components/services/install/command-line/eazel-alt-install.c:
5587         (eazel_download_progress):
5588         Borked, but compiles again. Will update when libinstall stabilizes.
5589         
5590         * components/services/install/lib/eazel-install-object.c:
5591         (gtk_marshal_NONE__POINTER_ENUM_POINTER),
5592         (eazel_install_class_initialize),
5593         (eazel_install_emit_download_failed),
5594         (eazel_install_emit_install_failed),
5595         (eazel_install_emit_uninstall_failed):
5596         Revamped the install_failed signal to take a PackageData object
5597         instead of char * name.
5599         * components/services/install/lib/eazel-install-protocols.c:
5600         (http_fetch_remote_file):
5601         * components/services/install/lib/eazel-install-public.h:
5602         * components/services/install/lib/eazel-install-rpm-glue.c:
5603         (install_new_packages), (download_a_package),
5604         (download_all_packages), (install_all_packages),
5605         (uninstall_packages), (uninstall_a_package),
5606         (build_packagedata_list_from_deps), (do_rpm_install),
5607         (do_rpm_uninstall), (ensure_deps_are_fetched):
5608         * components/services/install/lib/eazel-install-types.c:
5609         (categorydata_destroy_foreach), (categorydata_destroy),
5610         (packagedata_new_from_rpm_header), (packagedata_destroy_foreach),
5611         (packagedata_destroy):
5612         * components/services/install/lib/eazel-install-types.h:
5613         Doing a lot of hacking to prepare for the autofetch stuff. 
5614         
5615         * nautilus-installer/src/prescript:
5616         * nautilus-installer/src/HACKING:
5617         * nautilus-installer/src/Makefile:
5618         * nautilus-installer/src/Makefile.am:
5619         * nautilus-installer/src/callbacks.c: (druid_cancel),
5620         (begin_install), (druid_finish), (prep_install), (set_images):
5621         * nautilus-installer/src/installer.c:
5622         (append_string_to_window_list), (download_failed),
5623         (install_failed_foreach), (requeue), (install_failed),
5624         (gen_report), (installer):
5625         * nautilus-installer/src/link.sh:
5626         * nautilus-installer/src/main.c:
5627         Hacking in the installer. This one is borked sine I'm trying to
5628         figure out the right scheme of reported dep fails. Actually, I
5629         want the lib to autofetch deps by option, instead of failing them
5630         Also added stuff to link.sh, so it builds static from scratch,
5631         strips gzips and adds prescript to the gzexe file. So if you build
5632         using link.sh, you get a 644 binary which when executed using
5633         sh ./nautilus-installer prompts for root password and does the
5634         magic. Easier for newbies.
5635         
5636         * components/services/time/idl/Makefile.am:
5637         * components/services/install/idl//Makefile.am:
5638         * components/services/time/Makefile.am:
5639         * components/services/install/Makefile.am:
5640         * components/services/install/lib/Makefile.am:
5641         * components/services/time/service/Makefile.am:
5642         * components/services/trilobite/idl/Makefile.am:
5643         * components/services/trilobite/libtrilobite/Makefile.am:
5644         * components/services/trilobite/sample/service/Makefile.am:
5645         * configure.in:
5646         * nautilus.spec.in:
5647         * po/POTFILES.in:
5648         * src/Makefile.am:
5649         Loads of makefile fixing to make make dist and rpm -ta work.
5650         
5651 2000-06-02  Maciej Stachowiak  <mjs@eazel.com>
5653         * libnautilus-extensions/nautilus-mime-actions.c: Moved static
5654         functions to bottom of file and prototyped them at the top.
5655         
5656         Final portion of task 370 (mime write API)
5658         * libnautilus-extensions/nautilus-mime-actions.h: *
5659         libnautilus-extensions/nautilus-mime-actions.c:
5660         (nautilus_mime_get_short_list_components_for_uri,
5661         nautilus_mime_set_default_action_type_for_uri,
5662         nautilus_mime_set_default_application_for_uri,
5663         nautilus_mime_set_default_component_for_uri,
5664         nautilus_mime_set_short_list_applications_for_uri,
5665         nautilus_mime_set_short_list_components_for_uri,
5666         nautilus_mime_extend_all_applications_for_uri,
5667         nautilus_mime_remove_from_all_applications_for_uri): Implemented
5668         (they write the metadata and everything - happy fun).
5669         (str_list_difference): Helper function compied from gnome-vfs.
5671         * test/test-nautilus-mime-actions-set.c: Tests for these
5672         functions.  
5673         * test/Makefile.am: Build it.
5675 2000-06-01  Andy Hertzfeld  <andy@eazel.com>
5677         * src/file-manager/fm-icon-view.c: (play_file):
5678         fixed audio previewing, which broke when Darin changed the API to
5679         gnome_vfs_unescape_string, which now allocates a new string instead
5680         of modifying the old one.
5681         * data/linksets/apps.xml:
5682         added the gimp to the default linkset and removed abiword
5683         * icons/Makefile.am:
5684         * icons/netscape.png:
5685         * icons/gnome-gimp.png:
5686         * icons/gnome-gnumeric.png:
5687         added icons for the default linkset
5688         * libnautilus-extensions/nautilus-file-utilities.c:
5689         (nautilus_get_user_main_directory):
5690         made it install the default linkset when it makes the novice home directory
5691         * libnautilus-extensions/nautilus-file.c:
5692         (nautilus_file_contains_text)
5693         added condition so link files don't contain text
5694         (nautilus_file_activate_custom):
5695         added routine invoked when a file is activated to allow for custom behavior
5696         for specific types; used to implement command processing for links.
5697         * libnautilus-extensions/nautilus-file.h:
5698         added nautilus_file_activate_custom
5699         * libnautilus-extensions/nautilus-link-set.c: (create_new_link),
5700         (nautilus_link_set_install):
5701         made installing linksets work
5702         * libnautilus-extensions/nautilus-link.c:
5703         (nautilus_link_get_additional_text), (nautilus_link_get_image_uri),
5704         (nautilus_link_get_link_uri):
5705         made things work when the file name has special characters
5706         * src/file-manager/fm-directory-view.c:
5707         (fm_directory_view_activate_file_internal):
5708         added call to nautilus_file_activate_custom to allow for custom handling
5709         
5710 2000-06-01  Gene Z. Ragan  <gzr@eazel.com>
5712         * libnautilus/nautilus-undo-manager.c:
5713         * libnautilus/nautilus-undo-manager.h:
5714         (nautilus_undo_manager_get_current_undo_transaction):
5715         New call to be used internally to get the current undo transaction.
5716         An example of this call being used is in the menu code that displays
5717         the current undo operation name.
5718         
5719         * libnautilus/nautilus-undo-transaction.c:
5720         (impl_Nautilus_Undo_Transaction__get_undo_description),
5721         (impl_Nautilus_Undo_Transaction__get_redo_description),
5722         (impl_Nautilus_Undo_Transaction__get_operation_name),
5723         (impl_Nautilus_Undo_Transaction__undo),
5724         Added actual functionlality to these calls.  They now
5725         work as advertised.
5727         (nautilus_undo_transaction_new),
5728         Made changed needed to actually use the operation
5729         name and description that is passed in.
5731         (nautilus_undo_transaction_destroy),
5732         Clean up stored operation name and description strings.
5734         * src/nautilus-window-menus.c: 
5735         (update_undo_menu_item):
5736         The undo operation name is now displayed in the menu item.
5738 2000-06-01  Pavel Cisler  <pavel@eazel.com>
5740         * libnautilus-extensions/nautilus-drag.h:
5741         * libnautilus-extensions/nautilus-icon-dnd.c:
5742         * libnautilus-extensions/nautilus-drag.c: 
5743         * libnautilus-extensions/nautilus-list.h:
5744         * libnautilus-extensions/nautilus-icon-dnd.h:
5745         * libnautilus-extensions/nautilus-list.c:
5746         (nautilus_drag_init), (nautilus_drag_finalize),
5747         (create_selection_shadow), (set_gnome_icon_list_selection),
5748         (nautilus_icon_container_dropped_icon_feedback),
5749         (drag_data_received_callback),
5750         (nautilus_icon_container_ensure_drag_data), (drag_end_callback),
5751         (confirm_switch_to_manual_layout), (handle_local_move),
5752         (handle_nonlocal_move),
5753         (nautilus_icon_container_receive_dropped_icons),
5754         (nautilus_icon_dnd_update_drop_target),
5755         (nautilus_icon_container_free_drag_data), (nautilus_icon_dnd_init),
5756         (nautilus_icon_dnd_fini), (nautilus_icon_dnd_begin_drag),
5757         (drag_drop_callback), (nautilus_list_initialize),
5758         (nautilus_list_destroy),
5759         (nautilus_list_drag_begin), (nautilus_list_drag_data_get),:
5760         More list view drag&drop work. Move more code from nautilus-icon-dnd.c
5761         to the shared nautlus-drag.c file. Split common drag&drop state from 
5762         NautilusIconDndInfo into NautilusDragInfo.
5763         
5764         * libnautilus-extensions/nautilus-list.c:
5765         (nautilus_list_drag_motion), (nautilus_list_motion):
5766         Start hooking up drag-related signals.
5768         * libnautilus-extensions/nautilus-list.c:
5769         * libnautilus-extensions/nautilus-list.h:
5770         (nautilus_list_initialize_class):
5771         Get rid of the unused START_DRAG signal.
5773 2000-06-01  Pavel Cisler  <pavel@eazel.com>
5775         * src/file-manager/fm-icon-view.c: (play_file):
5776         Fix call to gnome_vfs_unescape_string to match new prototype.
5778 2000-06-01  Andy Hertzfeld  <andy@eazel.com>
5780         * src/file-manager/fm-icon-view.c: (play_file):
5781         fixed bug where sounds that had spaces or other special characters
5782         in their name wouldn't preview properly; fixed by calling
5783         gnome_vfs_unescape_string on the uri.
5784         
5785         * icons/Makefile.am:
5786         * icons/computer.svg:
5787         added a more generic, vector-based computer icon
5788         * data/top/Computer.link:
5789         switched the computer link to use the vector icon
5790         * icons/eazel/i-directory-accept.svg:
5791         changed the open folder icon to use a nicer one with gradients
5793 2000-06-01  Darin Adler  <darin@eazel.com>
5795         * components/services/startup/nautilus-view/nautilus-service-startup-view.c:
5796         (gather_config_button_cb), (register_button_cb):
5797         Fixed callers that were using the escape and unescape calls from
5798         gnome-vfs. My guess is that these callers don't want exactly what
5799         they are getting, but at least this makes it compile.
5801         * src/nautilus-window-manage-views.c:
5802         (nautilus_window_request_location_change):
5803         There was code here to just unescape. This is not a good idea,
5804         since it will turn good URIs into bad URIs. On the other hand, we
5805         may need to do something for basic characters like %20 for better
5806         readability.
5808         * nautilus-widgets/nautilus-user-level-manager.c:
5809         (user_level_manager_new),
5810         (nautilus_user_level_manager_get_user_level):
5811         Added some FIXMEs.
5812         
5813 2000-06-01  John Sullivan  <sullivan@eazel.com>
5815         * libnautilus-extensions/nautilus-program-chooser.c:
5816         (nautilus_program_chooser_get_type), (compare_mime_applications),
5817         (compare_component_with_view), (is_component_in_short_list),
5818         (is_component_in_short_list_for_uri),
5819         (is_application_in_short_list),
5820         (is_application_in_short_list_for_uri),
5821         (is_in_short_list_for_file_type), (is_in_short_list_for_file),
5822         (update_selected_item_details),
5823         (run_program_configurator_callback),
5824         (nautilus_program_chooser_new),
5825         (nautilus_program_chooser_get_application),
5826         (nautilus_program_chooser_get_component): Provided real
5827         implementation for checking whether a program is in the
5828         file-specific list, just short list, or just full list,
5829         as used in "View as Other" dialog. These values were
5830         formerly all hardwired. Still need to add code to
5831         react to user's changes. Also renamed "Change" button to
5832         "Modify" when Josh rightly pointed out that "Change" is
5833         a little ambiguous.
5835 2000-06-01  Maciej Stachowiak  <mjs@eazel.com>
5837         Completed task 772: Make "View as" menu use short list, not all
5838         available components
5839         
5840         * src/nautilus-applicable-views.c (got_file_info_callback):
5841         Changed to use the mime APIs to determine the preferred list and
5842         default for view components.
5844         (view_identifier_has_iid, view_identifier_iids_compare): Some
5845         utility functions.
5847         Also removed many of the other functions in here that are no
5848         longer necessary and have effectively moved to
5849         nautilus-mime-actions.c
5850         
5851 2000-06-01  John Sullivan  <sullivan@eazel.com>
5853         Fixed bug where choosing viewer from "View as Other..."
5854         dialog from "View as" menu wouldn't update the menu
5855         title.
5857         * src/nautilus-window.c: (nautilus_window_synch_content_view_menu),
5858         (view_menu_choose_view_callback),
5859         (nautilus_window_load_content_view_menu): Renamed
5860         "synch_view_as_menu" to "nautilus_window_synch_content_view_menu".
5861         * src/nautilus-window-private.h: Put this function here so it
5862         can be used in -manage-views.c.
5863         * src/nautilus-window-manage-views.c:
5864         (nautilus_window_has_really_changed): Call this function to
5865         fix "View as" menu title when the view but not the location changes.
5867 2000-06-01  Andy Hertzfeld  <andy@eazel.com>
5869         * icons/eazel/Makefile.am:
5870         * icons/eazel/Refresh.png:
5871         * icons/eazel/Stop.png
5872         added Susan's toolbar button images for reload and stop
5873         * src/nautilus-window-toolbars.c: (setup_toolbar_images):
5874         made reload and stop subject to toolbar icon theming
5875         
5876 2000-06-01  John Sullivan  <sullivan@eazel.com>
5878         * src/file-manager/fm-directory-view.c:
5879         (add_component_to_gtk_menu), 
5880         (add_component_to_bonobo_menu): Call viewers "xxx Viewer"
5881         in "Open With" submenu.
5882         (add_open_with_bonobo_menu_item): Use the double-underscore
5883         trick to avoid getting underlined characters in program names.
5884         * src/nautilus-window.c: (chose_component_callback):
5885         Don't destroy identifier here; caller handles that. Now the
5886         View as Other choice in the option menu works, with one bug:
5887         the option menu label isn't updated properly.
5889 2000-06-01  Maciej Stachowiak  <mjs@eazel.com>
5891         * libnautilus-extensions/nautilus-mime-actions.c:
5892         (OAF_ServerInfo__copy): Copy correctly.
5893         (get_mime_type_from_uri): Handle NULL URIs
5895 2000-06-01  Darin Adler  <darin@eazel.com>
5897         * libnautilus-extensions/nautilus-directory-metafile.c:
5898         (nautilus_directory_set_metadata_list): Added this function.
5899         The guts was already there.
5900         
5901         * test/.cvsignore: Ignore some newly generated files.
5903 2000-06-01  Maciej Stachowiak  <mjs@eazel.com>
5905         Completed bugizlla task 601, Need API for getting "short list" of
5906         programs associated with file.
5908         * libnautilus-extensions/nautilus-mime-actions.c
5909         (nautilus_mime_get_short_list_applications_for_uri,
5910         nautilus_mime_get_short_list_components_for_uri): Implemented
5911         properly with metadata checking, etc.
5912         (gnome_vfs_mime_application_has_id,
5913         gnome_vfs_mime_id_matches_application,
5914         gnome_vfs_mime_id_matches_component,
5915         gnome_vfs_mime_application_has_id_not_in_list,
5916         component_has_id_in_list, string_not_in_list): Helper functions
5917         for g_list_find_custom and g_list_partition calls.
5919         * libnautilus-extensions/nautilus-mime-actions.c:
5920         (nautilus_mime_get_all_applications_for_uri,
5921         nautilus_mime_get_all_components_for_uri): Properly implemented w/
5922         appropriate metadata checking, etc.
5923         (gnome_vfs_mime_application_has_id): Utility function for
5924         comparison purposes.
5926         * libnautilus-extensions/nautilus-directory.h,
5927         libnautilus-extensions/nautilus-directory.c:
5928         (nautilus_directory_wait_until_ready): Non-asynchronous equivalent
5929         of `nautilus_directory_call_when_ready'. However, it doesn't block
5930         the UI while waiting.
5931         (nautilus_directory_wait_until_ready_callback): Helper function
5932         for implementing the above.
5934         * libnautilus-extensions/nautilus-mime-actions.c:
5935         (nautilus_mime_get_default_action_type_for_uri,
5936         nautilus_mime_get_default_action_for_uri,
5937         nautilus_mime_get_default_application_for_uri,
5938         nautilus_mime_get_default_component_for_uri): Implemented with
5939         fully with proper metadata checking and interface querying, etc.
5941         (nautilus_mime_get_short_list_applications_for_uri,
5942         nautilus_mime_get_short_list_components_for_uri,
5943         nautilus_mime_get_all_applications_for_uri,
5944         nautilus_mime_get_all_components_for_uri): Adjusted to deal with
5945         the mime type checking function changing names.
5947         (OAF_ServerInfo__copy, extract_prefix_add_suffix,
5948         mime_type_get_supertype, uri_string_get_scheme),
5949         get_explicit_content_view_iids_from_metafile,
5950         make_oaf_query_for_explicit_content_view_iids,
5951         make_oaf_query_with_known_mime_type,
5952         make_oaf_query_with_uri_scheme_only,
5953         file_list_to_mime_type_hash_table, free_key,
5954         mime_type_hash_table_destroy, server_matches_content_requirements,
5955         nautilus_do_component_query): Oodles of helper functions, many cut
5956         & pasted from elswhere and only slightly modified.
5957         get_mime_type_from_uri: Removed `_hack' from the name.
5959         * libnautilus-extensions/nautilus-mime-actions.h: Added prototype
5960         for nautilus_mime_get_default_action_type_for_uri.
5961         
5962         * test/test-nautilus-mime-actions.c (main): Call gnome_init.
5964         * src/nautilus-applicable-views.c: Removed a stray comment that no
5965         longer applies.
5967 2000-05-31  Maciej Stachowiak  <mjs@eazel.com>
5969         * test/test-nautilus-mime-actions.c: Simple test program to check
5970         _for_uri nautilus metadata calls in nautilus.
5971         * test/Makefile.am: Build test-nautilus-mime-actions
5972         * Makefile.am, configure.in: add test directory to the build.
5974         * libnautilus-extensions/nautilus-mime-actions.c
5975         (nautilus_mime_get_default_action_for_uri,
5976         nautilus_mime_get_default_application_for_uri,
5977         nautilus_mime_get_default_component_for_uri): Implemented in the
5978         same temporary stub way as the other calls.
5980 2000-05-31  Andy Hertzfeld  <andy@eazel.com>
5982         fixed bug 991, large dimension, small size images not scaled properly.  It was
5983         passing a max size of 1000; fixed by using 96 * zoom_factor
5984         
5985         * libnautilus-extensions/nautilus-icon-container.c:
5986         (nautilus_icon_container_update_icon):
5987         pass the icon factory a reasonable max size based on the zoom factor
5988         * libnautilus-extensions/nautilus-icon-factory.c:
5989         (load_image_for_scaling),
5990         (nautilus_icon_factory_get_pixbuf_for_icon):
5991         set up a reasonable max size, plus fixed a typo where maximum_width was used
5992         twice instead of maximum_height.
5993         
5994 2000-05-31  Maciej Stachowiak  <mjs@eazel.com>
5996         * libnautilus-extensions/nautilus-mime-actions.h,
5997         libnautilus-extensions/nautilus-mime-actions.c:
5998         (nautilus_mime_get_default_action_for_uri,
5999         nautilus_mime_get_default_application_for_uri,
6000         nautilus_mime_get_default_component_for_uri,
6001         nautilus_mime_get_short_list_applications_for_uri,
6002         nautilus_mime_get_short_list_components_for_uri,
6003         nautilus_mime_get_all_applications_for_uri,
6004         nautilus_mime_get_all_components_for_uri,
6005         nautilus_mime_set_default_action_type_for_uri,
6006         nautilus_mime_set_default_application_for_uri,
6007         nautilus_mime_set_default_component_for_uri,
6008         nautilus_mime_set_short_list_applications_for_uri,
6009         nautilus_mime_set_short_list_components_for_uri,
6010         nautilus_mime_extend_all_applications_for_uri,
6011         nautilus_mime_remove_from_all_applications_for_uri): Moved from
6012         gnome-vfs-handlers.[ch] and renamed from gnome_vfs_mime... to
6013         nautilus_mime...
6014         (get_mime_type_from_uri_hack): Internal helper fucntion moved from
6015         gnome-vfs-handlers.c
6016         * libnautilus-extensions/Makefile.am: Build and install
6017         nautilus-mime-actions.c and nautilus-mime-actions.h repsectively.
6018         * libnautilus-extensions/nautilus-program-chooser.c:
6019         (populate_program_list):
6020         * src/file-manager/fm-directory-view.c:
6021         (create_open_with_gtk_menu), (reset_bonobo_open_with_menu):
6022         * src/nautilus-sidebar.c: (nautilus_sidebar_update_buttons):
6024 2000-05-31  John Sullivan  <sullivan@eazel.com>
6026         More incremental work to use the new mime-handling API.
6028         * src/file-manager/fm-directory-view.c:
6029         (add_open_with_bonobo_menu_item): Now takes callback
6030         and callback data and uses them for menu item construction.
6031         (bonobo_launch_application_callback),
6032         (add_application_to_bonobo_menu),
6033         (bonobo_open_location_with_viewer_callback),
6034         (add_component_to_bonobo_menu): Pass along structs containing
6035         info necessary to launch app or switch viewers. Tragically
6036         these are leaked due to the lack of DestroyNotify mechanism
6037         in Bonobo (bug written).
6038         (reset_bonobo_open_with_menu): Uncomment out list-freeing
6039         lines now that API is in place.
6040         (fm_directory_view_chose_component_callback),
6041         (choose_component): Pass NautilusFile instead of view so we
6042         can get at the uri in the future when we have API for
6043         switching locations with specified viewer.
6045 2000-05-31  Andy Hertzfeld  <andy@eazel.com>
6047         first checkin for link-sets, which are still incomplete and
6048         not hooked up yet.
6049         
6050         * configure.in:
6051         * data/Makefile.am:
6052         * data/linksets/.cvsignore:
6053         * data/linksets/Makefile.am:
6054         * data/linksets/apps.xml:
6055         added data directory for link sets and one actual set
6056         
6057         * libnautilus-extensions/Makefile.am:
6058         * libnautilus-extensions/nautilus-link-set.c: (make_new_link),
6059         (nautilus_link_set_install), (nautilus_link_set_remove):
6060         * libnautilus-extensions/nautilus-link-set.h:
6061         first, incomplete implementation of link sets
6062         
6063         * src/nautilus-property-browser.c:
6064         (nautilus_property_browser_initialize):
6065         added a title to the property browser window
6066         
6067         * data/browser.xml:
6068         improved the default colors in the property browser to ones
6069         suggested by Susan
6070         
6071 2000-05-31  Seth Nickell  <snickell@stanford.edu>
6073         * libnautilus-extensions/nautilus-directory.c:
6074         (construct_alternate_metafile_uri), (nautilus_directory_new):
6075         * libnautilus-extensions/nautilus-file.c: 
6076         (nautilus_file_matches_uri), (nautilus_file_get_uri):
6077         Changed calls to gnome_vfs_append_path to use the similar
6078         but more specific gnome_vfs_append_file_name instead.
6079         
6080 2000-05-31  Darin Adler  <darin@eazel.com>
6082         * libnautilus-extensions/nautilus-file.c:
6083         (nautilus_file_denies_access_permission): Fixed a bug where I
6084         accidentally treated root as "unable to access anything" instead
6085         of "able to access everything".
6086         
6087         * src/nautilus-sidebar-tabs.h: Fixed file name in include guard.
6088         I'll probably need to write a script to find the broken ones.
6089         
6090         * src/nautilus-window-manage-views.c: (handle_unreadable_location):
6091         Fixed a bug where we unref's a file object before using it.
6092         
6093         * src/nautilus-window-private.h: Got rid of a straggler prototype
6094         for a nonexistent function.
6096         * RENAMING: Some are done.
6097         
6098 2000-05-31  Ramiro Estrugo  <ramiro@eazel.com>
6100         * src/nautilus-sidebar-tabs.c:
6101         (nautilus_index_tabs_initialize_class), (draw_one_tab),
6102         (draw_or_hit_test_all_tabs):
6104         Honor the gtkstyle font instead of hacking in our own.  Part of
6105         bug 667.
6106         
6107 2000-05-31  John Sullivan  <sullivan@eazel.com>
6109         * libnautilus-extensions/nautilus-program-chooser.c:
6110         (populate_program_list), (nautilus_program_chooser_new),
6111         (nautilus_program_chooser_get_application),
6112         (nautilus_program_chooser_get_component):
6113         * libnautilus-extensions/nautilus-program-chooser.h:
6114         * libnautilus-extensions/nautilus-program-choosing.c:
6115         (set_up_program_chooser), (nautilus_choose_component_for_file),
6116         (nautilus_choose_application_for_file): Got rid of enum
6117         NautilusProgramChooserType, replaced with equivalent but
6118         more general enum GnomeVFSMimeActionType.
6120 2000-05-31  Darin Adler  <darin@eazel.com>
6122         * src/nautilus-application.c: (nautilus_app_startup):
6123         Make a new window even when you say --manage-desktop for now,
6124         because closing the last window or Quit is the only way to get
6125         rid of the desktop until we do some more work on it.
6126         
6127         * src/nautilus-window-manage-views.c:
6128         (nautilus_window_request_location_change):
6129         Always open in a new window when starting with the desktop.
6130         
6131         * src/nautilus-window.c: (nautilus_window_goto_uri_callback),
6132         (nautilus_window_constructed): Tiny formatting tweak.
6134 2000-05-31  John Sullivan  <sullivan@eazel.com>
6136         * libnautilus-extensions/nautilus-mime-type.c,
6137         * libnautilus-extensions/nautilus-mime-type.h:
6138         Removed these files, which had contained the old stopgap
6139         mime-type-to-application table.
6140         * libnautilus-extensions/Makefile.am: Take removed files out
6141         of build.
6142         * src/nautilus-property-browser.c,
6143         * src/nautilus-sidebar.c: Remove #includes for removed files.
6145 2000-05-31  John Sullivan  <sullivan@eazel.com>
6147         * libnautilus-extensions/nautilus-program-chooser.c:
6148         (populate_program_list): Change the way data from program lists
6149         is freed; this clarifies the code and fixes a double-destroy.
6150         * src/nautilus-sidebar.c: (nautilus_sidebar_update_buttons):
6151         Don't display "Open With..." button if there are no available
6152         choices. This fixes part of bug 1044 (need to do the same
6153         kind of thing for menus). 
6155 2000-05-31  Andy Hertzfeld  <andy@eazel.com>
6157         * libnautilus-extensions/nautilus-icon-container.c:
6158         (start_rubberbanding):
6159         at Susan's suggestion, made the selection box 25% opaque instead
6160         of 50% opaque in anti-aliased mode.
6161         
6162         * src/file-manager/fm-icon-view.c: (play_file):
6163         added the "-q" option to mpg123 invocation so it doesn't spew
6164         stuff to standard output
6166 2000-05-31  John Sullivan  <sullivan@eazel.com>
6168         * src/file-manager/fm-directory-view.c: 
6169         (compute_menu_item_info): Initialize *return_sensitivity to
6170         TRUE; it was uninitialized in some cases.
6171         (add_application_to_gtk_menu), (create_open_with_gtk_menu):
6172         Cleaned up list-handling using new gnome-vfs API.
6173         
6174         * src/nautilus-sidebar.c: Removed placeholder local implementation
6175         of gnome_vfs_mime_application_list_free now that there's a real
6176         one in gnome-vfs.
6178 2000-05-31  Darin Adler  <darin@eazel.com>
6180         Another cut on the desktop. Way closer.
6182         * libnautilus-extensions/Makefile.am:
6183         * libnautilus-extensions/nautilus-generous-bin.h:
6184         * libnautilus-extensions/nautilus-generous-bin.c:
6185         Added a new class NautilusGenerousBin. This is a GtkBin
6186         subclass that gives its entire allocation to its child.
6187         Used both in the widgetry for desktop windows and as a
6188         base class for NautilusViewFrame for now.
6189         
6190         * libnautilus-extensions/nautilus-gnome-extensions.c:
6191         (turn_on_line_wrap_flag), (turn_on_line_wrap_flag_callback):
6192         Changed to use gtk_container_foreach instead of the old
6193         gtk_container_children, since I now understand that the
6194         latter is just a convenience cover for the former.
6195         
6196         * src/Makefile.am:
6197         * src/nautilus-window-state.c: [removed]
6198         * src/nautilus-window-state.h: [removed]
6199         The only function in here was a wonky one that did goto_uri
6200         of go_home depending on the parameter. Changed the callers
6201         and things got clearer anyway.
6202         
6203         * src/nautilus-application.h:
6204         * src/nautilus-application.c: (display_caveat),
6205         (nautilus_app_startup):
6206         * src/nautilus-main.c: (main):
6207         Changed rules about which windows are created on startup. This
6208         puts us into a slightly bad state because it's now easy to
6209         create a desktop window with no way to get rid of it.
6210         
6211         * src/nautilus-desktop-window.h:
6212         * src/nautilus-desktop-window.c:
6213         (nautilus_desktop_window_initialize_class),
6214         (nautilus_desktop_window_initialize), (destroy), (realize):
6215         A better cut at the desktop window creation that now mostly works.
6216         
6217         * src/nautilus-main.c: (main):
6218         Changed the "--desktop" option's name to "--manage-desktop".
6219         
6220         * src/nautilus-view-frame.h:
6221         * src/nautilus-view-frame.c:
6222         (nautilus_view_frame_initialize_class),
6223         (nautilus_view_frame_initialize),
6224         (nautilus_view_frame_destroy_client),
6225         (nautilus_view_frame_destroy),
6226         (nautilus_view_frame_construct_arg_set):
6227         Changed to use NautilusGenerousBin as base class. Also use the
6228         Nautilus boilerplate macros.
6229         
6230         * src/nautilus-window-manage-views.c:
6231         (nautilus_window_request_location_change):
6232         Use goto_uri instead of set_initial_state.
6233         
6234         * src/nautilus-window-private.h:
6235         * src/nautilus-window.h:
6236         * src/nautilus-window.c: (nautilus_window_go_home):
6237         Make go_home public and move the actual code needed to go to the
6238         home package into the function.
6240         * src/nautilus-window.c: (nautilus_window_constructed):
6241         Reduced the amount of hackery on behalf of the desktop window and
6242         used the NautilusGenerousBin class.
6244 2000-05-31  Ramiro Estrugo  <ramiro@eazel.com>
6246         * components/mozilla/nautilus-mozilla-content-view.c:
6247         (nautilus_mozilla_content_view_load_uri),
6248         (mozilla_content_view_request_location_change):
6249         Exorcist the moz:// hack.
6250         
6251         * components/mozilla/nautilus-mozilla-content-view.oafinfo:
6252         Change the protocol from moz to http.
6254         * src/nautilus-applicable-views.c:
6255         Prefer the mozilla component over the ntl-web-browser.
6256         
6257 2000-05-31  Ramiro Estrugo  <ramiro@eazel.com>
6259         * components/rpmview/nautilus-rpm-view.oafinfo:
6261         "fix" bug 725 by changing the supported uri types of the rpm view
6262         component to be only "file" since it doesnt grok remote uris.
6264         Having the rpm view grok remote uris would be a cool, feature.  I
6265         have resummarized bug 725 to reflect this.
6266         
6267 2000-05-31  Darin Adler  <darin@eazel.com>
6269         * RENAMING: Small updates.
6270         
6271         * components/help/converters/gnome-info2html2/main.c: (main):
6272         * components/html/glibwww-init.c: (glibwww_parse_proxy_env):
6273         * components/html/ntl-web-browser.c: (main):
6274         * components/loser/content/nautilus-content-loser.c:
6275         (ensure_fail_env):
6276         * components/loser/sidebar/nautilus-sidebar-loser.c:
6277         (ensure_fail_env):
6278         * components/notes/nautilus-notes.c: (main):
6279         * libnautilus-extensions/nautilus-view-identifier.c:
6280         (get_lang_list):
6281         * src/nautilus-application.c: (nautilus_app_startup):
6282         * src/nautilus-main.c: (main):
6283         Changed from getenv to g_getenv, even though it makes no
6284         difference right now, because it's "the right thing to do (tm)".
6285         
6286         * components/services/time/nautilus-view/trilobite-eazel-time-view.h:
6287         Fixed include (the build was broken for me or anyone who doesn't
6288         have old .h files sitting around in their install directory).
6289         
6290         * libnautilus-extensions/nautilus-directory.c:
6291         (construct_alternate_metafile_uri):
6292         Use nautilus_get_user_directory instead of hard-coding the name
6293         of the user directory.
6294         
6295         * libnautilus-extensions/nautilus-file-utilities.h:
6296         * libnautilus-extensions/nautilus-file-utilities.c:
6297         (nautilus_get_user_directory), (nautilus_get_user_main_directory):
6298         Use #defines instead of global constants since these are things
6299         that do not change and this is not C++ :-) Added "get_" to the
6300         names of these functions so they would be verbs instead of nouns.
6301         (nautilus_get_desktop_directory): Added this new function for use
6302         by the desktop code.
6303         
6304         * libnautilus-extensions/nautilus-global-preferences.c:
6305         (global_preferences_create_dialog),
6306         (nautilus_global_preferences_get_enabled_sidebar_panel_view_identifiers),
6307         (nautilus_global_preferences_get_disabled_sidebar_panel_view_identifiers),
6308         (global_preferences_register_sidebar_panels_preferences_for_ui):
6309         * libnautilus-extensions/nautilus-view-identifier.h:
6310         * libnautilus-extensions/nautilus-view-identifier.c:
6311         (nautilus_view_identifier_list_free):
6312         * src/nautilus-applicable-views.c: (nautilus_navigation_info_free):
6313         Changed nautilus_view_identifier_free_list to *_list_free to match
6314         other calls with similar names.
6315         
6316         * libnautilus-extensions/nautilus-global-preferences.c:
6317         (user_level_changed_callback):
6318         * libnautilus-extensions/nautilus-icon-factory.c:
6319         (get_themed_icon_file_path):
6320         * src/file-manager/fm-properties-window.c: (get_property_names):
6321         * src/nautilus-bookmark-list.c:
6322         (nautilus_bookmark_list_get_file_path):
6323         * src/nautilus-property-browser.c:
6324         (nautilus_property_browser_drag_data_get), (make_drag_image),
6325         (remove_color), (remove_background), (remove_emblem),
6326         (get_xml_path), (add_background_to_browser), (add_color_to_file),
6327         (emblem_dialog_clicked), (make_properties_from_directory):
6328         Change to use directory calls by new "get_" names.
6329         
6330         * src/Makefile.am: Removed nautilus.h since it is long gone,
6331         and fixed spelling of nautlus-window-state.h.
6332         
6333         * src/file-manager/.cvsignore: Stop ignoring things that we
6334         no longer generated.
6335         
6336         * src/file-manager/desktop-item.c: [removed]
6337         * src/file-manager/desktop-item.h: [removed]
6338         * src/file-manager/desktop-layout.c: [removed]
6339         * src/file-manager/desktop-layout.h: [removed]
6340         * src/file-manager/desktop-window.c: [removed]
6341         * src/file-manager/desktop-window.h: [removed]
6342         The rest of the code has been harvested from the desktop
6343         implementation. As I said before we can always recover it if we
6344         decide we want to reuse it.
6345         
6346         * src/file-manager/fm-main.c: [removed]
6347         This was no longer used and was getting out of date. The file manager
6348         is now compiled in rather than being a separate process.
6349         
6350         * src/nautilus-desktop-window.c:
6351         (nautilus_desktop_window_initialize_class),
6352         (nautilus_desktop_window_initialize),
6353         (nautilus_desktop_window_new), (realize):
6354         Another cut at the desktop code. Still not working too well,
6355         but way further along.
6356         
6357         * src/nautilus-sidebar.h:
6358         * src/nautilus-sidebar.c:
6359         * src/nautilus-view-frame.c:
6360         (nautilus_view_frame_handle_client_destroy_2):
6361         * src/nautilus-window-manage-views.c:
6362         * src/nautilus-window.h:
6363         * src/nautilus-window.c:
6364         * src/nautilus-window-private.h:
6365         Changed the names to use Sidebar instead of IndexPanel.
6366         Also changed to say sidebar panel instead of meta view in many
6367         places.
6369 2000-05-31  Ramiro Estrugo  <ramiro@eazel.com>
6371         * nautilus-widgets/nautilus-user-level-manager.c:
6372         (nautilus_user_level_manager_make_gconf_key),
6373         (nautilus_user_level_manager_make_current_gconf_key):
6374         * nautilus-widgets/nautilus-user-level-manager.h:
6376         New functions to generate keys for the current user level as well
6377         as any other user level.
6378         
6379 2000-05-31  Ramiro Estrugo  <ramiro@eazel.com>
6381         * nautilus-widgets/nautilus-preferences-pane.c:
6382         (nautilus_preferences_pane_destroy), (prefs_pane_construct):
6384         Fix bug 993.  Some frames in the preferences dialog were too big
6385         cause the parent vbox was erroneously marked homogenous.
6386         
6387 2000-05-31  Ramiro Estrugo  <ramiro@eazel.com>
6389         Remove the user level pane from the preferences dialog.  Place the
6390         user level choices directly in the settings menu.
6392         Also uncouple user level from preferences.  User level is no
6393         longer a preference itself.
6395         * libnautilus-extensions/nautilus-global-preferences.c:
6396         (global_preferences_create_dialog),
6397         (global_preferences_register_for_ui),
6398         (user_level_changed_callback),
6399         (nautilus_global_preferences_shutdown),
6400         (nautilus_global_preferences_startup):
6401         Remove all of the user level ui stuff.
6402         
6403         * nautilus-widgets/nautilus-user-level-manager.c:
6404         (user_level_manager_new), (nautilus_user_level_manager_initialize),
6405         (nautilus_user_level_manager_initialize_class),
6406         (user_level_manager_destroy), (gconf_get_user_level_string),
6407         (user_level_set_default_if_needed),
6408         (gconf_user_level_changed_callback),
6409         (nautilus_user_level_manager_get),
6410         (nautilus_user_level_manager_set_user_level),
6411         (nautilus_user_level_manager_get_user_level):
6412         Emit the the "user_level_changed" signal from a gconf callback
6413         instead of "by hand".  Otherwise we are out of whack because of
6414         gconf asyncness.
6416         * src/nautilus-window-menus.c:
6417         (settings_menu_user_level_radio_group_callback),
6418         (settings_menu_user_level_customize_callback),
6419         (settings_menu_customize_callback),
6420         (nautilus_window_initialize_menus),
6421         (user_level_menu_path_to_user_level),
6422         (user_level_user_level_to_menu_path):
6423         * src/nautilus-window.h:
6424         Remove the "General Settings" menu item.  Replace it with a
6425         user level chooser as well as current user level customizer.
6426         
6427 2000-05-31  Fatih Demir <kabalak@gmx.net>
6428         
6429         * nautilus.desktop: Added the Turkish entries.
6431 2000-05-31  Ramiro Estrugo  <ramiro@eazel.com>
6433         * components/services/time/nautilus-view/.cvsignore:
6434         Ignore generated files.
6435         
6436 2000-05-31  Pavel Cisler <pavel@eazel.com>
6438         * src/file-manager/dfos-xfer.c: (fs_move_to_trash):
6439         * src/file-manager/fm-directory-view.c: (fm_directory_is_trash),
6440         (fm_directory_view_confirm_deletion),
6441         (fm_directory_view_trash_or_delete_selection),
6442         (duplicate_callback):
6443         More work on fallback deletion when move to Trash is not available.
6444         Display a warning dialog.
6445         Get rid of commented out code that I'll no longer need.
6446         Removed FIXMEs that are no longer true.
6447         
6448 2000-05-30  Mike Fleming  <mfleming@eazel.com>
6450         * components/services/time/Makefile.am:
6452         Added simple time view to the build
6454 2000-05-30  Mike Fleming  <mfleming@eazel.com>
6456         * components/services/time/nautilus-view/.cvsignore:
6457         * components/services/time/nautilus-view/Makefile.am:
6458         * components/services/time/nautilus-view/main.c:
6459         (sample_object_destroyed), (sample_make_object), (main):
6460         * components/services/time/nautilus-view/trilobite-eazel-time-view.c:
6461         (set_status_text), (sync_button_pressed), (url_button_pressed),
6462         (timediff_button_pressed), (update_time_display),
6463         (trilobite_eazel_time_view_initialize_class),
6464         (trilobite_eazel_time_view_initialize),
6465         (trilobite_eazel_time_view_destroy),
6466         (trilobite_eazel_time_view_get_nautilus_view),
6467         (trilobite_eazel_time_view_load_uri),
6468         (sample_notify_location_change_callback), (bonobo_sample_callback),
6469         (sample_merge_bonobo_items_callback):
6470         *
6471         components/services/time/nautilus-view/trilobite-eazel-time-view.h:
6472         *
6473         components/services/time/nautilus-view/trilobite-eazel-time-view.oa
6474         finfo:
6475         *
6476         components/services/time/service/trilobite-eazel-time-service.oafin
6477         fo:
6479         Added embarassingly weak simple Nautilus View for the eazal-time 
6480         service
6482 2000-05-30  Andy Hertzfeld  <andy@eazel.com>
6484         * icons/Makefile.am:
6485         * icons/audio.png:
6486         new icon for audio preview feedback; I'm sure Susan will want to improve this.
6487         * libnautilus-extensions/nautilus-icon-canvas-item.c: (map_pixbuf):
6488         finished off audio preview task 259 by showing an image to indicate previewing audio.
6489         * src/file-manager/fm-icon-view.c: (play_file), (preview_sound):
6490         fixed problem with aborting sound previews by calling setsid() and killing the entire group
6492 2000-05-30  John Sullivan  <sullivan@eazel.com>
6494         * src/file-manager/fm-directory-view.c:
6495         (launch_application_from_menu_item), (add_application_to_gtk_menu),
6496         (add_component_to_gtk_menu), (create_open_with_gtk_menu),
6497         (add_open_with_bonobo_menu_item), (add_application_to_bonobo_menu),
6498         (add_component_to_bonobo_menu), (reset_bonobo_open_with_menu),
6499         (fm_directory_view_real_update_menus):
6501 2000-05-30  Eskil Heyn Olsen  <eskil@eazel.com>
6503         * components/services/install/lib/eazel-install-public.h:
6504         * components/services/install/lib/eazel-install-types.h:
6505         * nautilus-installer/src/callbacks.h:
6506         * nautilus-installer/src/support.c: (lookup_widget),
6507         (create_dummy_pixmap), (create_pixmap), (create_image):
6508         * nautilus-installer/src/support.h:
6509         Added the support files
6510         
6511 2000-05-30  Eskil Heyn Olsen  <eskil@eazel.com>
6513         * nautilus-installer/Makefile.in:
6514         * nautilus-installer/src/Makefile.am:
6515         * nautilus-installer/src/Makefile.in:
6516         Removed the Makefile.in's and added the .am instead.
6517         
6518 2000-05-30  Pavel Cisler  <pavel@eazel.com>
6520         * src/file-manager/dfos-xfer.h:
6521         * src/file-manager/dfos-xfer.c: (handle_xfer_ok), 
6522         (fs_delete):
6523         Added delete calls that set up a gnome-vfs delete operation.
6525         * src/file-manager/dfos-xfer.c:
6526         (fs_xfer), (fs_move_to_trash), (fs_empty_trash):
6527         Changed to use new xfer options making it a little
6528         clearer which copy engine operation gets to run.
6530         * src/file-manager/dfos-xfer.c:
6531         (fs_xfer), (fs_move_to_trash):
6532         Fixed a leak of the item_names list.
6533         
6534         * src/file-manager/dfos-xfer.c: 
6535         (fs_new_folder):
6536         Changed to use "untitled folder".
6537         
6538         * src/file-manager/fm-directory-view.c:
6539         (bonobo_menu_move_to_trash_callback),
6540         (fm_directory_can_move_to_trash),
6541         (fm_directory_view_trash_or_delete_selection), (trash_callback),
6542         (compute_menu_item_info), (reset_bonobo_trash_delete_menu),
6543         (fm_directory_view_real_merge_menus),
6544         (fm_directory_view_real_update_menus),
6545         (fm_directory_view_get_context_menu_index):
6546         Add logic that picks the Delete/Move To Trash menu items depending
6547         on whether selected items can be moved to Trash or not. Added code
6548         that decides if items can be moved to Trash from a given folder.  
6550         * src/file-manager/dfos-corba.c: (convert_options):
6551         Disabled some dead code.
6552         
6553 2000-05-30  Eskil Heyn Olsen  <eskil@eazel.com>
6555         * components/services/install/command-line/eazel-alt-install.c:
6556         (main):
6557         * components/services/install/lib/Makefile.am:
6558         * components/services/install/lib/eazel-install-object.c:
6559         (eazel_install_class_initialize), (fetch_remote_package_list),
6560         (eazel_install_emit_download_progress),
6561         (eazel_install_emit_download_failed),
6562         (eazel_install_emit_install_failed),
6563         (eazel_install_emit_uninstall_failed), (eazel_install_log),
6564         (eazel_install_open_log):
6565         Fixed a horribly cut'n'paste bug in the signal bindings. Also
6566         doing some stuff on making the lib log properly
6567         
6568         * components/services/install/lib/eazel-install-private.h:
6569         * components/services/install/lib/eazel-install-protocols.c:
6570         (http_fetch_remote_file):
6571         * components/services/install/lib/eazel-install-public.h:
6572         * components/services/install/lib/eazel-install-rpm-glue.c:
6573         (download_all_packages), (install_all_packages),
6574         (uninstall_packages):
6575         More cleaning out of g_errors, g_asserts and such.
6576         
6577         * components/services/trilobite/libtrilobite/Makefile.am:
6578         * nautilus-installer/src/Banner_Left.xpm:
6579         * nautilus-installer/src/Final_Inside.xpm:
6580         * nautilus-installer/src/Final_Top.xpm:
6581         * nautilus-installer/src/Makefile:
6582         * nautilus-installer/src/Makefile.in:
6583         * nautilus-installer/src/Step_3a_Inside.xpm:
6584         * nautilus-installer/src/Step_3b_Inside.xpm:
6585         * nautilus-installer/src/Step_One_Inside.xpm:
6586         * nautilus-installer/src/Step_One_Top.xpm:
6587         * nautilus-installer/src/Step_Three_Top.xpm:
6588         * nautilus-installer/src/Step_Two_Inside.xpm:
6589         * nautilus-installer/src/Step_Two_Top.xpm:
6590         * nautilus-installer/src/callbacks.c: (set_images):
6591         * nautilus-installer/src/installer.c: (append_name_to),
6592         (download_failed), (install_failed), (gen_report),
6593         (dump_failure_info), (installer):
6594         * nautilus-installer/src/interface.c: (create_window):
6595         * nautilus-installer/src/main.c: (main):
6596         More work on the installer, especially making it
6597         use Arlo's graphics and still be a static binary.
6598         
6599 2000-05-30  Andy Hertzfeld  <andy@eazel.com>
6601         * libnautilus-extensions/nautilus-icon-canvas-item.c:
6602         (draw_label_text_aa), (nautilus_icon_canvas_item_render):
6603         fixed bug where we would crash when going down to the lowest zoom
6604         level on the anti-aliased canvas, by checking the drawing conditions
6605         and exiting if they're not met.
6606         
6607 2000-05-30  John Sullivan  <sullivan@eazel.com>
6609         Adapted much of the open-with and view-as code to use
6610         the new API, whose implementation awaits. This causes 
6611         us to temporarily lose the command-buttons-in-sidebar 
6612         feature until the new API's implementation happens.
6614         Some of these changes are only partially done; I've
6615         got a list of things to finish still. But feel free 
6616         to bug me about anything in particular that seems bad.
6618         * libnautilus-extensions/nautilus-program-chooser.h:
6619         * libnautilus-extensions/nautilus-program-chooser.c:
6620         (populate_program_list): Use real API to add programs
6621         to list in dialog.
6622         (nautilus_program_chooser_new): Remember whether this
6623         is an application-choosing or component-choosing dialog.
6624         (nautilus_program_chooser_get_application),
6625         (nautilus_program_chooser_get_component): New functions,
6626         get the item in the list that the user selected.
6627         * libnautilus-extensions/nautilus-program-choosing.h:
6628         Change parameter in NautilusApplicationChoiceCallback
6629         from char * to GnomeVFSMimeApplication.
6630         * libnautilus-extensions/nautilus-program-choosing.c:
6631         (nautilus_choose_application_for_file),
6632         (nautilus_choose_component_for_file): Get the chosen
6633         item from the dialog instead of returning a hardwired
6634         value.
6635         * src/file-manager/fm-directory-view.c:
6636         (fm_directory_view_chose_application_callback): Take
6637         GnomeVFSMimeApplication instead of char *.
6638         (add_open_with_gtk_menu_item): Enable menu items now
6639         that they work.
6640         (launch_application_from_menu_item): New function, callback
6641         used when user picks an app from context menu.
6642         (view_uri_from_menu_item): New function, callback used
6643         when user picks a viewer from context menu. 
6644         (add_application_to_gtk_menu),
6645         (add_component_to_gtk_menu): New functions, set up menu items.
6646         (create_open_with_gtk_menu): Use real API to populate
6647         open_with context menu items.
6648         (bonobo_menu_select_all_callback), (select_all_callback),
6649         (fm_directory_view_real_merge_menus):
6650         Fixed bug where context menu "Select All" didn't work by
6651         separating bonobo and gtk callbacks.
6652         * src/nautilus-sidebar.c:
6653         (nautilus_index_panel_chose_application_callback),
6654         (add_command_buttons), (gnome_vfs_mime_application_list_free),
6655         (nautilus_index_panel_update_buttons): Use real API instead
6656         of hardwired set of buttons for different MIME types. This
6657         currently means you always get only the "Open with ..." button,
6658         but the real buttons will reappear once we have our new
6659         application-choosing scheme in place.
6661 2000-05-30  Andy Hertzfeld  <andy@eazel.com>
6663         * src/file-manager/fm-icon-view.c: (play_file),
6664         (icon_container_preview_callback):
6665         play it preview a much broader range of sounds using "play"
6666         
6667         * libnautilus-extensions/nautilus-icon-canvas-item.c:
6668         (draw_filled_rectangle_aa), (draw_stretch_handles_aa),
6669         (nautilus_icon_canvas_item_render):
6670         draw the stretch handles in anti-aliased mode.  This isn't quite
6671         finished yet, since there's a bug that makes the icon itself disappear
6672         
6673 2000-05-30  Pavel Cisler  <pavel@eazel.com>
6675         * src/file-manager/dfos-xfer.h:
6676         * src/file-manager/dfos-xfer.c: (sync_xfer_callback), (fs_xfer),
6677         (new_folder_xfer_callback), (fs_new_folder), (fs_move_to_trash),
6678         (fs_empty_trash):
6679         New copy engine entry calls supporting New Folder creation.
6680         Pass NULL to sync_xfer_callback because it doesn't use any pass-thru
6681         state.
6683         * src/file-manager/fm-directory-view.h:
6684         * src/file-manager/fm-icon-view.c:
6685         * src/file-manager/fm-directory-view.c:
6686         (fm_directory_view_initialize_class),
6687         (bonobo_menu_new_folder_callback), (start_renaming_item),
6688         (new_folder_rename_later), (new_folder_done),
6689         (fm_directory_view_new_folder), (compute_menu_item_info),
6690         (fm_directory_view_real_create_selection_context_menu_items),
6691         (reset_bonobo_open_with_menu),
6692         (fm_directory_view_real_merge_menus),
6693         (fm_icon_view_start_renaming_item),
6694         (fm_icon_view_initialize_class):
6695         Add the "New Folder" command. Add a menu item that invokes it.
6696         Add code to allow me to select the new folder once it was 
6697         created and start a rename on it.
6698         
6700 Tue May 30 11:21:31 2000  Raph Levien  <raph@acm.org>
6702         * librsvg/art_render.h:
6703         * librsvg/art_render.c:
6704         * librsvg/art_render_svp.h:
6705         * librsvg/art_render_svp.c:
6706         * librsvg/art_render_gradient.h:
6707         * librsvg/art_render_gradient.c: Changed version number test to
6708         2.3. This will avoid build problems against latest
6709         gnome-libs-1-0 libart_lgpl.
6711 2000-05-30  Ramiro Estrugo  <ramiro@eazel.com>
6713         * nautilus-widgets/nautilus-preferences.c:
6714         (nautilus_preferences_initialize):
6715         Instead of creating our own gconf client, share one with the user
6716         level manager.  Otherwise i get weird gconf connection errors.
6718         * nautilus-widgets/nautilus-user-level-manager.c:
6719         (user_level_manager_new),
6720         (nautilus_user_level_manager_initialize_class),
6721         (user_level_manager_ensure_global_manager),
6722         (user_level_set_default_if_needed),
6723         (nautilus_user_level_manager_get),
6724         (nautilus_user_level_manager_get_user_level),
6725         (nautilus_user_level_manager_get_user_level_names),
6726         (nautilus_user_level_manager_get_gconf_client):
6727         * nautilus-widgets/nautilus-user-level-manager.h:
6728         Add method to expose a refed gconf client.
6729         Change the global manager initialization code to prevent stoopid
6730         infinite loop.  Let gconf know about the ~/.gconf/nautilus
6731         directory.  
6732         
6733 2000-05-30  Ramiro Estrugo  <ramiro@eazel.com>
6735         * configure.in:
6736         Fix bug 724 by adding a slightly better, but still lame mozilla
6737         detection artificial intelligence.
6739 2000-05-30  Ramiro Estrugo  <ramiro@eazel.com>
6741         * nautilus-widgets/nautilus-user-level-manager.c:
6742         (user_level_manager_new), (nautilus_user_level_manager_initialize),
6743         (nautilus_user_level_manager_initialize_class),
6744         (user_level_manager_destroy),
6745         (user_level_manager_get_global_manager),
6746         (user_level_manager_is_initialized), (get_gconf_user_level_string),
6747         (user_level_set_default_if_needed),
6748         (nautilus_user_level_manager_get),
6749         (nautilus_user_level_manager_set_user_level),
6750         (nautilus_user_level_manager_get_user_level),
6751         (nautilus_user_level_manager_get_num_user_levels),
6752         (nautilus_user_level_manager_get_user_level_names):
6753         * nautilus-widgets/nautilus-user-level-manager.h:
6754         New class to manage user level stuff.
6755         
6756         * libnautilus-extensions/nautilus-global-preferences.c:
6757         (nautilus_global_preferences_startup):
6758         * nautilus-widgets/Makefile.am:
6759         * nautilus-widgets/nautilus-preferences.c:
6760         (nautilus_preferences_initialize):
6761         * nautilus-widgets/nautilus-preferences.h:
6762         * nautilus-widgets/test-nautilus-preferences.c: (main):
6763         Undo the last stoopid change cuz the user level stuff is now
6764         hidden in the NautilusUserLevelManager class.
6765         
6766 2000-05-30  Pavel Cisler <pavel@eazel.com>
6768         * libnautilus-extensions/nautilus-drag.c:
6769         * libnautilus-extensions/nautilus-drag.h:
6770         (nautilus_drag_items_local), (nautilus_drag_can_accept_item),
6771         (nautilus_drag_can_accept_items):
6772         More drag&drop support calls shared between list and icon view.
6773         
6774         * libnautilus-extensions/nautilus-icon-dnd.c:
6775         (nautilus_icon_container_selection_items_local),
6776         (receive_dropped_keyword),
6777         (nautilus_icon_container_receive_dropped_icons),
6778         (nautilus_icon_dnd_update_drop_target):
6779         Remove calls that are replaced by nautilus-drag.c equivalents.
6780         Tweak some whitespace.
6782         * libnautilus-extensions/nautilus-gtk-extensions.c:
6783         * libnautilus-extensions/nautilus-gtk-extensions.h:
6784         (nautilus_gtk_marshal_NONE__INT_INT_INT):
6785         Add some more signal glue.
6786         
6787         * libnautilus-extensions/nautilus-list.h:
6788         * libnautilus-extensions/nautilus-list.c:
6789         (nautilus_list_initialize_class), (nautilus_list_drag_drop),
6790         (nautilus_list_row_at):
6791         Add more drop handling. Add signal that sends of dropped data
6792         and context to fm-list-view.c. Added nautilus_list_row_at
6793         that fm-list-view.c needs to handle the drop.
6794         
6795         * src/file-manager/fm-directory-view.c:
6796         * src/file-manager/fm-directory-view.h:
6797         * src/file-manager/fm-icon-view.c: (icon_view_can_accept_item),
6798         (icon_view_get_container_uri), (icon_view_move_copy_items),
6799         (create_icon_container), (fm_directory_view_get_uri), 
6800         (fm_directory_view_move_copy_items),
6801         (fm_directory_view_can_accept_item):
6802         Rework public calls to not take a container view as an argument
6803         and can be used by both list and icon view classes.
6804         Add new private signal handler callbacks that replace the 
6805         public calls.
6806         
6807         * src/file-manager/fm-list-view.c: (fm_list_nautilus_file_at),
6808         (fm_list_handle_dropped_icons), (create_list):
6809         Drop handling code.
6811 2000-05-30  Ramiro Estrugo  <ramiro@eazel.com>
6813         * nautilus-widgets/nautilus-preferences-group.c:
6814         (nautilus_preferences_group_add_item):
6815         * nautilus-widgets/nautilus-preferences-item.c:
6816         (preferences_item_construct), (enum_radio_group_changed_callback):
6817         * nautilus-widgets/nautilus-preferences.c:
6818         (nautilus_preferences_find_preference):
6819         * nautilus-widgets/nautilus-preferences.h:
6821         Rename (nautilus_preferences_find_preference) to 
6822         (nautilus_preferences_find_preference) to avoid confusion with a
6823         function ill add next.
6824         
6825 2000-05-30  Ramiro Estrugo  <ramiro@eazel.com>
6827         * libnautilus-extensions/nautilus-global-preferences.c:
6828         (nautilus_global_preferences_startup):
6829         * nautilus-widgets/nautilus-preferences.c:
6830         (preferences_hash_node_alloc), (preferences_hash_node_free),
6831         (preferences_hash_node_add_callback),
6832         (preferences_hash_node_remove_callback),
6833         (preferences_hash_node_free_func),
6834         (preferneces_callback_node_alloc),
6835         (preferneces_callback_node_free),
6836         (preferneces_callback_node_free_func),
6837         (preferneces_callback_node_invoke_func), (preferences_register),
6838         (nautilus_preferences_get_preference),
6839         (nautilus_preferences_set_info), (set_default_value_if_needed),
6840         (nautilus_preferences_enum_add_entry),
6841         (preferences_hash_node_lookup),
6842         (preferences_hash_node_lookup_with_registration),
6843         (preferences_gconf_callback),
6844         (nautilus_preferences_add_boolean_callback),
6845         (nautilus_preferences_add_enum_callback),
6846         (nautilus_preferences_add_callback),
6847         (nautilus_preferences_remove_callback),
6848         (nautilus_preferences_set_boolean),
6849         (nautilus_preferences_get_boolean),
6850         (nautilus_preferences_set_enum), (nautilus_preferences_get_enum),
6851         (nautilus_preferences_set), (nautilus_preferences_get),
6852         (nautilus_preferences_initialize),
6853         (nautilus_preferences_is_initialized),
6854         (nautilus_preferences_shutdown):
6855         * nautilus-widgets/nautilus-preferences.h:
6856         * nautilus-widgets/test-nautilus-preferences.c: (main):
6858         Cleanup preferences to make the code easier to modify.  Name
6859         things more consistently.  Put global variables in a struct to
6860         make then clearly distiguishable from local ones.  
6862         Also, add change the initialize api to be fed the number of user
6863         levels and their names.  More on this later.
6864         
6865 2000-05-30  Ramiro Estrugo  <ramiro@eazel.com>
6867         * components/history/nautilus-history-view.c: (main):
6868         * libnautilus-extensions/nautilus-global-preferences.c:
6869         (nautilus_global_preferences_startup):
6870         * libnautilus-extensions/nautilus-global-preferences.h:
6871         * src/nautilus-application.c: (nautilus_app_class_init):
6872         * src/nautilus-main.c: (main):
6874         Change preferences startup code to occur in only one place.
6875         
6876 2000-05-29  Raph Levien  <raph@acm.org>
6878         * librsvg/art_render_gradient.c (art_render_gradient_setpix): Fixed
6879         an off-by-one loop error.
6881 2000-05-29  Andy Hertzfeld  <andy@eazel.com>
6883         implemented task 259, simple UI for previewing sounds.  Implemented by
6884         making the icon container emit a preview signal on mouse-over, then connecting
6885         to it in fm-icon-view to inspect the mime-type and launch/kill a sound player.
6886         Currently only works for mp3 files, but others types are coming soon.
6887         
6888         * libnautilus-extensions/nautilus-gtk-extensions.c:
6889         (nautilus_gtk_marshal_INT__POINTER_INT):
6890         * libnautilus-extensions/nautilus-gtk-extensions.h:
6891         added new marshaller to handle our "preview" signal
6892         
6893         * libnautilus-extensions/nautilus-icon-canvas-item.c:
6894         (nautilus_icon_canvas_item_event):
6895         generate the preview signal when the mouse enters and leaves the icon
6896         
6897         * libnautilus-extensions/nautilus-icon-container.c:
6898         * libnautilus-extensions/nautilus-icon-container.h:
6899         (nautilus_icon_container_initialize_class),
6900         (nautilus_icon_container_emit_preview_signal):
6901         support for the preview signal
6902         
6903         * src/file-manager/fm-icon-view.c: (play_file), (preview_sound),
6904         (icon_container_preview_callback), (create_icon_container):
6905         receive the preview signal and inspect the mime type.  Right now we
6906         just handle mp3s.  Use a timeout to delay, current set at 1000 ms.
6907         When the timeout fires, launch a player.  If we leave the icon, kill the
6908         timeout and player as necessary.
6909         
6910 2000-05-29  Raph Levien  <raph@acm.org>
6912         This commit adds the ability to render SVG gradients to librsvg.
6913         The full imaging model is supported. However, coordinate handling
6914         is still a subset of the SVG spec. In particular, only
6915         gradientUnits = userSpace is supported, and coordinates can only
6916         be specified in user units (ie not percentages or other CSS
6917         dimensions). Nonetheless, this level of functionality should be
6918         adequate for rendering gradient-containing images converted from
6919         Illustrator.
6921         * librsvg/art_render.c:
6922         * librsvg/art_render.h:
6923         * librsvg/art_render_gradient.c:
6924         * librsvg/art_render_gradient.h:
6925         * librsvg/art_render_svp.c:
6926         * librsvg/art_render_svp.h: Added these files, which provide
6927         features of Libart 2.3.0 (ie, cvs HEAD as of today) conditionally
6928         on systems with 2.2.0 (ie, cvs gnome-libs-1-0 as of today)
6929         installed.
6931         * librsvg/art_rgba.c:
6932         * librsvg/art_rgba.h:
6933         * librsvg/art_rgba_svp.c:
6934         * librsvg/art_rgba_svp.h: Removed these libart source files, as
6935         they are no longer used (rgba compositing is done in art_render
6936         now).
6938         * librsvg/rsvg.c: Numerous changes to accomodate new paint server
6939         approach (based on libart's new modular rendering architecture).
6941         * librsvg/rsvg-defs.h:
6942         * librsvg/rsvg-defs.c: Added these files, containing utility
6943         functions for managing SVG defs.
6945         * librsvg/rsvg-css.h:
6946         * librsvg/rsvg-css.c: Added these files. Moved all CSS parsing
6947         functions of rsvg.c here.
6949         * librsvg/rsvg-paint-server.h:
6950         * librsvg/rsvg-paint-server.c: Added these files. Filling and
6951         stroking are now done through the paint server abstraction
6952         rather than direct calls to Libart.
6954         * librsvg/test.svg: Added this test file containing some SVG
6955         gradients.
6957         * librsvg/Makefile.am: Added new files.
6959         * librsvg/test-rsvg.c (main): Added multiple iteration option, for
6960         memory leak testing.
6962 2000-05-29  John Sullivan  <sullivan@eazel.com>
6964         * libnautilus-extensions/nautilus-list.c:
6965         (nautilus_list_drag_drop): Removed unused variable.
6967 2000-05-29  Pavel Cisler <pavel@eazel.com>
6969         * libnautilus-extensions/Makefile.am:
6970         * libnautilus-extensions/nautilus-drag.c:
6971         * libnautilus-extensions/nautilus-drag.h:
6972         * libnautilus-extensions/nautilus-icon-dnd.c:
6973         * libnautilus-extensions/nautilus-icon-dnd.h:
6974         * libnautilus-extensions/nautilus-list.c:
6975         (nautilus_drag_selection_item_new), (drag_selection_item_destroy),
6976         (nautilus_drag_destroy_selection_list),
6977         (nautilus_drag_build_selection_list),
6978         (create_selection_shadow),
6979         (nautilus_icon_container_dropped_icon_feedback),
6980         (drag_data_received_callback),
6981         (nautilus_icon_container_ensure_drag_data), (drag_end_callback),
6982         (nautilus_icon_container_selection_items_local),
6983         (nautilus_icon_canvas_item_can_accept_items), (handle_local_move),
6984         (handle_nonlocal_move),
6985         (nautilus_icon_container_receive_dropped_icons),
6986         (nautilus_icon_container_free_drag_data), (nautilus_icon_dnd_fini),
6987         (drag_drop_callback), (nautilus_list_initialize), (nautilus_list_drag_end),
6988         (nautilus_list_drag_leave), (nautilus_list_drag_drop),
6989         (nautilus_list_drag_data_received):
6990         Start splitting out drag&drop code common between icon view and list view
6991         into a new file.
6992         Start adding drag&drop calls to list view.
6993         Bunch of renamings.
6995 2000-05-29  Ramiro Estrugo  <ramiro@eazel.com>
6997         * libnautilus-extensions/nautilus-string-list.c:
6998         (nautilus_string_list_get_index_for_string),
6999         (nautilus_self_check_string_list):
7000         * libnautilus-extensions/nautilus-string-list.h:
7001         New function to access the index for a given string.
7002         
7003 2000-05-29  Ramiro Estrugo  <ramiro@eazel.com>
7005         * nautilus-clean.sh:
7006         Update for latest ntl-* -> nautilus-* renaming.  Keep the old ntl-
7007         names as well to prevent stale component braindamage.
7008         
7009 2000-05-29  Ramiro Estrugo  <ramiro@eazel.com>
7011         * components/history/.cvsignore:
7012         * components/notes/.cvsignore:
7013         * components/services/time/command-line/.cvsignore:
7014         Ignore generated files.
7015         
7016 2000-05-29  Ramiro Estrugo  <ramiro@eazel.com>
7018         * nautilus-widgets/nautilus-string-picker.c,
7019         * nautilus-widgets/nautilus-string-picker.h:
7020         New widget to pick a string from a list.
7021         
7022         * nautilus-widgets/test-nautilus-preferences.c:
7023         New test program.  Test prefrences things.
7025         * nautilus-widgets/test-nautilus-widgets.c:
7026         Remove preference tests.  Test only non preference widgetry.
7028         * nautilus-widgets/Makefile.am,
7029         * nautilus-widgets/.cvsignore:
7030         Add test-nautilus-preferences.  
7032 2000-05-28  Ramiro Estrugo  <ramiro@eazel.com>
7034         * libnautilus-extensions/nautilus-string-list.h,
7035         * libnautilus-extensions/nautilus-string-list.c:
7036         (nautilus_string_list_as_g_list): New function to return the
7037         string list as a GList.         
7039 2000-05-28  Ramiro Estrugo  <ramiro@eazel.com>
7041         * libnautilus-extensions/nautilus-global-preferences.h:
7042         Remove unneeded inclusion of nautilus-string-list.h
7043         
7044         * libnautilus-extensions/nautilus-global-preferences.c:
7045         Fix a user visible typo in appearance/graphics.
7046         Add a better description for the sidebar panels pane (bug 304)
7048 2000-05-28  Andy Hertzfeld  <andy@eazel.com>
7050         fixed bug 604, handle dropped files in sidebar by setting location.  Followed
7051         Maciej's suggestion of making sidebar work like the location bar, emitting the
7052         "location_changed" signal and making the window attach to it.
7053         
7054         * src/nautilus-sidebar.c: (nautilus_index_panel_initialize_class),
7055         (receive_dropped_uri_list):
7056         added a location_changed signal, and emitted it when receiving a dropped uri
7057         * src/nautilus-sidebar.h:
7058         added slot for the location_changed signal
7059         * src/nautilus-window.c: (nautilus_window_constructed):
7060         connect window to sidebar's location_changed signal
7061         
7062 2000-05-28  Andy Hertzfeld  <andy@eazel.com>
7064         added a preference for alternative toolbar icons, which defaults to the
7065         standard Gnome icons.
7066         
7067         * libnautilus-extensions/nautilus-global-preferences.c:
7068         (global_preferences_create_dialog),
7069         (global_preferences_register_for_ui):
7070         added a checkbox for alternative toolbar icons in appearance pane       
7071         * libnautilus-extensions/nautilus-global-preferences.h:
7072         added NAUTILUS_PREFERENCES_EAZEL_TOOLBAR_ICONS
7073         
7074         * src/nautilus-window-private.h:
7075         added field to remember home button     
7076         * src/nautilus-window-toolbars.c: (remember_buttons),
7077         (setup_button), (setup_toolbar_images),
7078         added code to change the button images according to the preference
7079         (nautilus_window_initialize_toolbars),
7080         restructured to choose proper icons, and added a callback to watch the preference
7081         (nautilus_window_toolbar_remove_theme_callback):
7082         * src/nautilus-window.c: (nautilus_window_destroy):
7083         * src/nautilus-window.h:
7084         made it remove the preference callback when the window is destroyed
7085         
7086         * icons/eazel/Makefile.am:
7087         * icons/eazel/Back.png:
7088         * icons/eazel/Forward.png:
7089         * icons/eazel/Up.png:
7090         * icons/eazel/Home.png:
7091         added Susan's icons to eazel images folder
7093 2000-05-28  Ramiro Estrugo  <ramiro@eazel.com>
7095         * src/nautilus-sidebar-tabs.c: (nautilus_index_tabs_add_view),
7096         (nautilus_index_tabs_remove_view),
7097         (nautilus_index_tabs_set_visible):
7098         * src/nautilus-window.c:
7099         (window_update_sidebar_panels_from_preferences):
7101         g_warning with trailing \n == EVIL! - fix.
7103 2000-05-28  Ramiro Estrugo  <ramiro@eazel.com>
7105         * libnautilus-extensions/nautilus-global-preferences.c:
7106         (global_preferences_register_for_ui):
7107         * nautilus-widgets/nautilus-preferences.c:
7108         (nautilus_preferences_set_boolean),
7109         (nautilus_preferences_set_enum), (nautilus_preferences_set):
7111         Make sure the preference values are indeed different than the
7112         currently stored ones.  Otherwise, bogus callbacks get emitted
7113         causing innefecient (and unneeded!) things such as directories
7114         reloading.
7115         
7116 2000-05-28  Pavel Cisler  <pavel@eazel.com>
7118         * src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
7119         Fix an accent.
7121 2000-05-27  Pavel Cisler  <pavel@eazel.com>
7123         * src/nautilus-application.c: (nautilus_app_quit):
7124         Used the fixed-up gnome_vfs_shutdown to properly synchronize 
7125         with GnomeVFS threads that are still finishing up. Got rid of
7126         nautilus_app_real_quit and the other hacky code that I used
7127         to do this before gnome_vfs_shutdown was working properly.
7128         Got rid of a bunch of FIXMEs that are now take care of.
7130         * libnautilus-extensions/nautilus-directory-async.c:
7131         (cancel_directory_counts), (top_left_read_close),
7132         (cancel_top_left_read), (nautilus_metafile_read_cancel),
7133         (start_getting_directory_counts), (start_getting_top_lefts):
7134         Added cancel calls to the different GnomeVFS async tasks that
7135         can be running when opening a Nautilus window, called them
7136         from the NautilusDirectory destroy call.
7137         
7138         Nautilus now shuts down GnomeVFS jobs cleanly during a quit. 
7139         There is still a problem where in some cases it will take a 
7140         while before the async jobs go away. This seems to be because
7141         the corresponding NautilusDirectory doesn't get destroyed right
7142         away when a window is closed. I need to get Darin to help me fix
7143         this. 
7145 2000-05-27  Eskil Heyn Olsen  <eskil@eazel.com>
7147         * components/services/install/lib/eazel-install-object.c:
7148         (eazel_install_uninstall):
7149         * components/services/install/lib/eazel-install-public.h:
7150         Added eazel_install_uninstall call to the gtk+ object. This
7151         opened a can of worms reg. error during uninstall, which is
7152         also relevant to install. See bug#1024.
7153         
7154         * components/services/install/lib/eazel-install-rpm-glue.c:
7155         (install_new_packages), (download_a_package),
7156         (download_all_packages), (install_all_packages),
7157         (uninstall_packages), (uninstall_a_package), (do_rpm_uninstall),
7158         (rpm_uninstall):
7159         More passing around of a EazelService object. And more sane
7160         errorhandling to avoid the lib causing an exit.
7161         
7162         * nautilus-installer/src/installer.c: (installer):
7163         Partial uninstall support.
7165 2000-05-27  Eskil Heyn Olsen  <eskil@eazel.com>
7167         * components/services/time/command-line/Makefile.am:
7168         * components/services/time/service/trilobite-eazel-time-service.c:
7169         (trilobite_eazel_time_service_initialize):
7170         The eazel-time service cli binary is now called eazel-time.
7171         Default maxdiff is now set to 180 secs.
7172         
7173 2000-05-27  Maciej Stachowiak  <mjs@eazel.com>
7175         * libnautilus-extensions/nautilus-scroll-frame.c,
7176         libnautilus-extensions/nautilus-scroll-frame.h: Removed these
7177         unused files.
7178         * libnautilus-extensions/Makefile.am: Remove them from the build.
7180         * Renamed files as follows, as per RENAMING: 
7181         components/history/ntl-history-view.c -> components/history/nautilus-history-view.c
7182         components/history/ntl-history-view.oafinfo -> components/history/nautilus-history-view.oafinfo
7183         components/notes/ntl-notes.c -> components/notes/nautilus-notes.c
7184         components/notes/ntl-notes.oafinfo -> components/notes/nautilus-notes.oafinfo
7185         libnautilus-extensions/gtkscrollframe.c -> libnautilus-extensions/nautilus-scroll-frame.c
7186         libnautilus-extensions/gtkscrollframe.h -> libnautilus-extensions/nautilus-scroll-frame.h
7187         libnautilus/nautilus-view-frame.c -> libnautilus/nautilus-view.c
7188         libnautilus/nautilus-view-frame.h -> libnautilus/nautilus-view.h
7189         src/nautilus-index-tabs.c -> src/nautilus-sidebar-tabs.c
7190         src/nautilus-index-tabs.h -> src/nautilus-sidebar-tabs.h
7191         src/nautilus-index-title.c -> src/nautilus-sidebar-title.c
7192         src/nautilus-index-title.h -> src/nautilus-sidebar-title.h
7193         src/nautilus-zoomable-frame-svr.c -> src/nautilus-zoomable-frame-corba.c
7194         src/ntl-app.c -> src/nautilus-application.c
7195         src/ntl-app.h -> src/nautilus-application.h
7196         src/ntl-index-panel.c -> src/nautilus-sidebar.c
7197         src/ntl-index-panel.h -> src/nautilus-sidebar.h
7198         src/ntl-main.c -> src/nautilus-main.c
7199         src/ntl-miniicon.c -> libnautilus-extensions/nautilus-mini-icon.c
7200         src/ntl-miniicon.h -> libnautilus-extensions/nautilus-mini-icon.h
7201         src/ntl-uri-map.c -> src/nautilus-applicable-views.c
7202         src/ntl-uri-map.h -> src/nautilus-applicable-views.h
7203         src/ntl-view-bonobo-control.c -> src/nautilus-view-frame-bonobo-control.c
7204         src/ntl-view-bonobo-subdoc.c -> src/nautilus-view-frame-bonobo-embeddable.c
7205         src/ntl-view-frame-svr.c -> src/nautilus-view-frame-corba.c
7206         src/ntl-view-nautilus.c -> src/nautilus-view-frame-nautilus-view.c
7207         src/ntl-view-private.h -> src/nautilus-view-frame-private.h
7208         src/ntl-view.c -> src/nautilus-view-frame.c
7209         src/ntl-view.h -> src/nautilus-view-frame.h
7210         src/ntl-window-msgs.c -> src/nautilus-window-manage-views.c
7211         src/ntl-window-msgs.h -> src/nautilus-window-manage-views.h
7212         src/ntl-window-private.h -> src/nautilus-window-private.h
7213         src/ntl-window-state.c -> src/nautilus-window-state.c
7214         src/ntl-window-state.h -> src/nautilus-window-state.h
7215         src/ntl-window.c -> src/nautilus-window.c
7216         src/ntl-window.h -> src/nautilus-window.h
7218         * components/history/Makefile.am, components/notes/Makefile.am,
7219         libnautilus-extensions/Makefile.am, libnautilus/Makefile.am,
7220         po/POTFILES.in, src/Makefile.am,
7221         components/hardware/nautilus-hardware-view.h,
7222         components/loser/content/nautilus-content-loser.h,
7223         components/loser/sidebar/nautilus-sidebar-loser.h,
7224         components/mozilla/nautilus-mozilla-content-view.h,
7225         components/music/nautilus-music-view.h,
7226         components/rpmview/nautilus-rpm-view.h,
7227         components/sample/nautilus-sample-content-view.h,
7228         components/services/startup/nautilus-view/nautilus-service-startup-view.h,
7229         libnautilus/libnautilus.h, src/nautilus-desktop-window.h,
7230         src/nautilus-window-menus.c, src/nautilus-window-toolbars.c,
7231         src/file-manager/fm-directory-view.h : Updated for renamings.
7233         * RENAMING: removed old renamings
7235 2000-05-26  Eskil Heyn Olsen  <eskil@eazel.com>
7237         * nautilus-installer/Makefile:
7238         * nautilus-installer/Makefile.am:
7239         * nautilus-installer/Makefile.in:
7240         * nautilus-installer/nautilus-installer.c:
7241         * nautilus-installer/nautilus-installer.glade:
7242         * nautilus-installer/src/HACKING:
7243         * nautilus-installer/src/Makefile:
7244         * nautilus-installer/src/Makefile.in:
7245         * nautilus-installer/src/callbacks.c: (druid_cancel),
7246         (begin_install), (druid_finish), (prep_install):
7247         * nautilus-installer/src/installer.c: (eazel_install_progress),
7248         (eazel_download_progress), (installer):
7249         * nautilus-installer/src/installer.h:
7250         * nautilus-installer/src/interface.c: (create_window):
7251         * nautilus-installer/src/interface.h:
7252         * nautilus-installer/src/main.c: (main):
7253         Added the first pieces if the GUI installer. Since we don't want
7254         it to be part of the built, I've committed the generated makefiles
7255         as well. This also means you should be able to build it straigt
7256         from cvs. It already has base functionality, and is almost 70% done.
7257         
7258 2000-05-26  Eskil Heyn Olsen  <eskil@eazel.com>
7260         * components/services/install/command-line/Makefile.am:
7261         * components/services/install/command-line/eazel-alt-install.c:
7262         (set_parameters_from_command_line), (eazel_install_progress),
7263         (eazel_download_progress), (main):
7264         Don't build eazel-install, only eazel-alt-install, which
7265         uses the EazelInstall object.
7266         
7267         * components/services/install/lib/eazel-install-object.c:
7268         (impl_Eazel_Install_new_packages), (eazel_install_get_epv),
7269         (eazel_install_destroy), (eazel_install_set_arg),
7270         (eazel_install_class_initialize),
7271         (eazel_install_create_corba_object), (eazel_install_initialize),
7272         (eazel_install_get_type), (eazel_install_new),
7273         (eazel_install_new_with_config), (create_temporary_directory),
7274         (fetch_remote_package_list), (eazel_install_emit_install_progress),
7275         (eazel_install_emit_download_progress),
7276         (eazel_install_new_packages):
7277         Implemented a GTK+ object for libinstall. It has the basic
7278         functionality needed for the May 31st gui installer. This means it
7279         can be instantiated, the install and transferoptions be set and it
7280         can do the download of the packagelist, and download and install
7281         the files mentioned there. Needs upgrade & uninstall, plus a lot
7282         of errorchecking and memleaks (bug#982). This halfway completed bug#980.
7283         
7284         * components/services/install/lib/eazel-install-private.h:
7285         * components/services/install/lib/eazel-install-protocols.c:
7286         (http_fetch_remote_file):
7287         * components/services/install/lib/eazel-install-protocols.h:
7288         * components/services/install/lib/eazel-install-public.h:
7289         * components/services/install/lib/eazel-install-rpm-glue.c:
7290         (install_new_packages), (download_a_package),
7291         (download_all_packages), (install_all_packages),
7292         (uninstall_packages), (rpm_show_progress), (do_rpm_install),
7293         (rpm_install):
7294         * components/services/install/lib/eazel-install-rpm-glue.h:
7295         Did a lot of hacking and slashing to pass the EazelInstall object
7296         downwards so progress signals can be emitted. Also a lot of
7297         errorhandling was fixed so it doesn't just g_assert or such.
7298         But a lot more of that is needed (bug#1014) and some major
7299         slashing so the EazelInstall passing isn't so ugly (bug#980).
7300         
7301 2000-05-26  Darin Adler  <darin@eazel.com>
7303         A little more desktop window work.
7305         * src/nautilus-desktop-window.c:
7306         (nautilus_desktop_window_initialize_class),
7307         (nautilus_desktop_window_initialize),
7308         (nautilus_desktop_window_new):
7309         * src/nautilus-desktop-window.h:
7310         * src/ntl-app.c: (nautilus_app_startup), (nautilus_app_quit),
7311         (nautilus_app_create_window):
7312         * src/ntl-app.h:
7313         * src/ntl-main.c: (main):
7314         Made a desktop window that's created when you start the program
7315         if you pass the --desktop option. At the moment it's a normal
7316         window and not set up to take over the desktop.
7318         * libnautilus-extensions/nautilus-glib-extensions.c:
7319         (nautilus_self_check_glib_extensions): Fixed some broken self-
7320         checks. Now we have one really broken self-check in the
7321         nautilus-directory.c file. I might turn that one off soon so we
7322         can at least run the others.
7323         
7324         * libnautilus-extensions/nautilus-gtk-macros.h:
7325         Changed how some of the macros work. Few of these macros were used
7326         in Nautilus. I hope they aren't used in the Mozilla component,
7327         because then I broke it.
7328         
7329         * libnautilus-extensions/nautilus-list-column-title.c:
7330         (nautilus_list_column_title_motion),
7331         (nautilus_list_column_title_button_press),
7332         (nautilus_list_column_title_button_release):
7333         Updated to use NAUTILUS_INVOKE_METHOD instead of NAUTILUS_KLASS,
7334         because I renamed it to NAUTILUS_CLASS and had to change these
7335         anyway.
7336         
7337         A little sweep for code that should be using
7338         CORBA_Object_is_nil instead of direct compares with
7339         CORBA_OBJECT_NIL.
7340         
7341         * components/html/main.c: (url_requested_cb):
7342         * libnautilus-extensions/bonobo-stream-vfs.c:
7343         (bonobo_stream_create):
7344         * libnautilus/nautilus-undo-manager.c:
7345         (set_up_bonobo_control):
7346         * libnautilus/nautilus-undoable.c: (nautilus_undo_register_full),
7347         (nautilus_undo_unregister), (nautilus_undo):
7348         * src/file-manager/dfos.c: (dfos_new):
7349         Switch to use CORBA_Object_is_nil.
7351         * libnautilus/nautilus-undo-manager.c: (undo_manager_unref),
7352         (nautilus_attach_undo_manager), (nautilus_share_undo_manager),
7353         (set_up_bonobo_control):
7354         Do some missing duplicate and release calls.
7355         
7356         * libnautilus/nautilus-undoable.c: (nautilus_undo_unregister):
7357         Fix a place where we'd keep a reference to a freed list.
7358         Change O(n^2) walk of list by index to O(n) walk by pointer.
7359         
7360         * src/ntl-index-panel.c: (nautilus_index_panel_remove_meta_view):
7361         Changed g_warning to a g_return_if_fail, which was designed for
7362         cases just like this one.
7363         
7364         * src/ntl-view-bonobo-subdoc.c:
7365         (bonobo_subdoc_notify_location_change):
7366         Put in a better version of the FIXME.
7368         * RENAMING: More updates.
7370 2000-05-26  Ramiro Estrugo  <ramiro@eazel.com>
7372         Add support for toggling sidebar panels on the fly via the
7373         preferences dialog.
7375         Also moved function prototypes and macro definitions to top of
7376         file.
7378         * src/ntl-window.c: (impl_Nautilus_ViewWindow__create),
7379         (nautilus_window_remove_meta_view):
7380         Removed the *_real cruft.  Cleaned this a tiny bit.
7381         
7382         (window_find_sidebar_panel_by_identifier):
7383         New function for finding panels given an identifiers.
7384         
7385         (window_update_sidebar_panels_from_preferences):
7386         New function to update the current list of sidebar panels from
7387         preferences. 
7388         Disabled panels are removed if they are already in the list.
7389         Enabled panels are added if they are not already in the list.
7391         NOTE: It would be 'nice' if in the future all updates of the
7392         sidebar panel occur in just one place - the above function for
7393         example.  This is in contrast to the current mess where both
7394         ntl-window.c and ntl-window-msgs.c abuse the meta_views list at
7395         random places.  Ill look into this later.
7397         (sidebar_panels_changed_callback):
7398         Now actually responds to changes.
7399         
7400         * src/ntl-window.h:
7401         Style dumbness.
7402         
7403 2000-05-26  Ramiro Estrugo  <ramiro@eazel.com>
7405         * libnautilus-extensions/nautilus-global-preferences.c:
7406         (nautilus_global_preferences_get_enabled_sidebar_panel_view_identifiers),
7407         (nautilus_global_preferences_get_disabled_sidebar_panel_view_identifiers):
7408         * libnautilus-extensions/nautilus-global-preferences.h:
7410         Add a function that returns the disabled sidebar panels.  Needed
7411         so that on-the-fly sidebar panel toggling can be smart about
7412         adding and removing views.
7414         Also rename some variabled to make it obvious which are the enabled
7415         and disabled lists.
7416         
7417 2000-05-26  Ramiro Estrugo  <ramiro@eazel.com>
7419         * src/ntl-index-panel.c: (nautilus_index_panel_remove_meta_view):
7420         Remove the tab associated with meta view as well.  Add a warning
7421         for the case when the page_num is bogus.  Perhaps this should be
7422         an assertion.  But at least this way it wont fail silently.
7423         
7424 2000-05-26  John Sullivan  <sullivan@eazel.com>
7426         * src/ntl-view-bonobo-subdoc.c:
7427         (bonobo_subdoc_notify_location_change):
7428         Added a FIXME to the line that Dan Winship says should
7429         be passing a MIME type but is currently passing "".
7431 2000-05-26  John Sullivan  <sullivan@eazel.com>
7433         Fixed bug 992 ("Fully Decorate Remote Views" is not a 
7434         sensible preference). Note that before making the
7435         quick wording fix Darin, Ian, and I came up with a
7436         longer-term plan for handling this general kind of
7437         thing well (bug 995).
7439         * libnautilus-extensions/nautilus-global-preferences.h:
7440         * libnautilus-extensions/nautilus-directory-async.c:
7441         (state_changed):
7442         * libnautilus-extensions/nautilus-global-preferences.c:
7443         (global_preferences_create_dialog),
7444         (global_preferences_register_for_ui):
7445         * libnautilus-extensions/nautilus-icon-factory.c:
7446         (nautilus_icon_factory_get_icon_for_file):
7447         Changed "Fully Decorate Remote Views" to "Display text in
7448         icons even for remote text files"
7449         Changed NAUTILUS_PREFERENCES_REMOTE_VIEWS to
7450         NAUTILUS_PREFERENCES_SHOW_TEXT_IN_REMOTE_ICONS
7452 2000-05-26  John Sullivan  <sullivan@eazel.com>
7454         * src/ntl-view-bonobo-subdoc.c:
7455         (bonobo_subdoc_notify_location_change):
7456         Changed the NULL to a "", now text files work. I think
7457         it's back to normal now.
7459 2000-05-26  John Sullivan  <sullivan@eazel.com>
7461         * src/ntl-view-bonobo-subdoc.c:
7462         (bonobo_subdoc_notify_location_change):
7463         Added a NULL parameter to a Bonobo_PersistStream_load call
7464         to get the build to finish. The API for this call changed.
7465         I have no idea whether this is the correct change, but with it
7466         I can build and run Nautilus. I noticed clicking on a text file
7467         crashes, which might be related (maybe no Bonobo components will
7468         work until we fix this properly)?
7470 2000-05-26  Ramiro Estrugo  <ramiro@eazel.com>
7471         * src/ntl-window.c: (nautilus_window_init),
7472         (nautilus_window_destroy), (nautilus_window_real_set_content_view),
7473         (sidebar_panels_changed_callback):
7475         Keep track of sidebar panel enabled/disabled toggling.  Currently
7476         the callback doesnt do nothing.  Soon it will.
7477         
7478 2000-05-26  Ramiro Estrugo  <ramiro@eazel.com>
7480         * components/services/install/command-line/.cvsignore:
7481         * components/services/install/lib/.cvsignore:
7482         Ignore generated files.
7483         
7484 2000-05-26  Ramiro Estrugo  <ramiro@eazel.com>
7486         * libnautilus-extensions/nautilus-global-preferences.c:
7487         (global_preferences_create_dialog),
7488         (global_preferences_get_sidebar_panel_view_identifiers),
7489         (nautilus_global_preferences_get_enabled_sidebar_panel_view_identifiers),
7490         (global_preferences_register_sidebar_panels_preferences_for_ui),
7491         (global_preferences_is_sidebar_panel_enabled),
7492         (nautilus_global_preferences_shutdown):
7493         * libnautilus-extensions/nautilus-global-preferences.h:
7495         Expose only a single function to deal with sidebar panels.  Return
7496         a list of enabled view indentifiers, saving callers the work and
7497         complication of figuring out which panels are on.
7499         Make NAUTILUS_PREFERENCES_SIDEBAR_PANELS_NAMESPACE cause i need it
7500         to later keep track of sidebar panel changes in NautilusWindow.
7502         * src/ntl-uri-map.c: (got_file_info_callback),
7503         (nautilus_navigation_info_free):
7504         * src/ntl-uri-map.h:
7505         * src/ntl-window-msgs.c: (nautilus_window_update_state):
7506         Exorcise the 'sidebar_panel_identifiers' member.  Instead of
7507         complicating life by managing this list, simply obtain it when
7508         needed from global preferences.
7509         
7510 2000-05-26  Ramiro Estrugo  <ramiro@eazel.com>
7512         * src/nautilus-index-tabs.c: (nautilus_index_tabs_initialize),
7513         (nautilus_index_tabs_size_request), (draw_one_tab),
7514         (draw_or_hit_test_all_tabs), (tab_item_find_by_name),
7515         (nautilus_index_tabs_add_view),
7516         (nautilus_index_tabs_get_title_from_index),
7517         (nautilus_index_tabs_remove_view),
7518         (nautilus_index_tabs_prelight_tab),
7519         (nautilus_index_tabs_select_tab), (nautilus_index_tabs_set_color),
7520         (nautilus_index_tabs_receive_dropped_color),
7521         (nautilus_index_tabs_set_title),
7522         (nautilus_index_tabs_set_title_mode),
7523         (nautilus_index_tabs_set_visible):
7525         Some cleanup of index tabs.
7527         Changed find_tab() to tab_item_find_by_name() which returns the
7528         actual tab item instead of a list node.
7530         Changed the GList append and remove operations to be more sane and
7531         actually work in the latter case.
7533         Print warnings on attempts to operate on non-existing tab items as
7534         these indicate programming errors upstream.
7536         Also add bulletproofing g_return_* macros.
7537         
7538 2000-05-26  Ramiro Estrugo  <ramiro@eazel.com>
7540         * nautilus-widgets/nautilus-preferences.c: (pref_hash_node_alloc),
7541         (pref_hash_node_free), (pref_hash_node_add_callback),
7542         (pref_hash_node_remove_callback), (pref_callback_info_alloc),
7543         (preferences_gconf_callback):
7545         Install only ONE gconf notification for each preference or
7546         namespace that we care about.  Otherwise we get an exponential
7547         number of notifications.  Move the gconf_connection from the
7548         callback list info to the preference hash node.
7550         Remove lingering gconf notifications on destruction of hash
7551         nodes. 
7552         
7553 2000-05-26  Ramiro Estrugo  <ramiro@eazel.com>
7555         * components/help/hyperbola-nav-index.c:
7556         (hyperbola_navigation_index_new):
7557         * components/help/hyperbola-nav-search.c:
7558         (hyperbola_navigation_search_new):
7560         Fix the annoying as hell assertions coming from these components.
7561         Dont install the entry widgets as the titles for the clist.  You
7562         cant do this cause they have already be added to the vbox
7563         container and thus the barfing in gtk_container_add() about the
7564         widget already having a parent.  There doesnt seem to be any
7565         noticeable ui change because of this.  The help search/index
7566         continue to work as "good" as before.
7567         
7568 2000-05-26  Ramiro Estrugo  <ramiro@eazel.com>
7570         * nautilus-widgets/nautilus-preferences.c:
7571         (pref_hash_node_add_callback), (pref_hash_node_remove_callback),
7572         (preferences_gconf_callback):
7574         Add support for keeping track of changes within a whole preference
7575         namespace.  
7577         Pass in the expected preference to the gconf callback.  Do this so
7578         that we can compare the expected prefrence name with the one that
7579         gconf reports.  If they dont match, then we have something that
7580         changed within a namespace and not an individual key.
7581         
7582         Also fix some memory leaks.  Was forgetting to free a couple of
7583         returned preference names.
7584         
7585 2000-05-26  Eskil Heyn Olsen  <chief_wanker@eazel.com>
7587         * components/services/install/command-line/Makefile.am:
7588         * components/services/install/command-line/eazel-alt-install.c:
7589         (set_parameters_from_command_line), (eazel_install_progress),
7590         (main):
7591         * components/services/install/lib/eazel-install-object.c:
7592         (impl_Eazel_Install_new_packages), (eazel_install_get_epv),
7593         (eazel_install_destroy), (eazel_install_set_arg),
7594         (eazel_install_class_initialize),
7595         (eazel_install_create_corba_object), (eazel_install_initialize),
7596         (eazel_install_get_type), (eazel_install_new),
7597         (eazel_install_new_with_config), (create_temporary_directory),
7598         (fetch_remote_package_list), (eazel_install_emit_install_progress),
7599         (eazel_install_new_packages):
7600         * components/services/install/lib/eazel-install-private.h:
7601         * components/services/install/lib/eazel-install-public.h:
7602         * components/services/install/lib/eazel-install-rpm-glue.c:
7603         (install_new_packages), (download_a_package),
7604         (download_all_packages), (install_all_packages),
7605         (uninstall_packages), (rpm_show_progress), (do_rpm_install),
7606         (rpm_install):
7607         * components/services/install/lib/eazel-install-rpm-glue.h:
7608         *
7609         components/services/install/lib/trilobite-eazel-install-service.oaf
7610         info:
7611         Missed a file...
7612         
7613 2000-05-25  Gene Z. Ragan  <gzr@eazel.com>
7615         More work on undo.  Note that undo in text entry fields still
7616         misbehaves.  More improvements are on the way.
7617         
7618         * components/websearch/ntl-web-search.c: 
7619         (make_obj):
7620         Removed obsolete enable undo code.
7621         
7622         * libnautilus-extensions/nautilus-entry.c:
7623         * libnautilus-extensions/nautilus-entry.h:
7624         (nautilus_entry_initialize_class), (nautilus_entry_key_press),
7625         (nautilus_entry_insert_text), (nautilus_entry_delete_text),
7626         (register_edit_undo), (nautilus_entry_set_undo_key):
7627         Removed the enable_undo function and made undo functionality
7628         a default feature of NautilusEntry.
7629         
7630         * libnautilus/nautilus-undo-transaction.c:
7631         (nautilus_undo_transaction_add_undoable),
7632         (nautilus_undo_transaction_undo):
7633         
7634         * libnautilus/nautilus-undoable.c:
7635         * libnautilus/nautilus-undoable.h:
7636         (nautilus_undoable_save_undo_snapshot), (nautilus_undo_unregister):
7637         
7638         * src/file-manager/fm-properties-window.c: (create_basic_page):
7639         Removed obsolete enable undo code.
7640         
7641         * src/nautilus-bookmarks-window.c: (on_text_field_focus_in_event),
7642         (on_text_field_focus_out_event), (on_window_delete_event):
7643         Removed obsolete enable undo code.
7644         
7645         * src/nautilus-location-bar.c:
7646         * src/nautilus-location-bar.h:
7647         (nautilus_location_bar_set_location):
7648         Removed obsolete enable undo code.
7649         
7650         * src/ntl-window.c: (nautilus_window_constructed):
7651         Removed obsolete enable undo code.
7653 2000-05-25  Eskil Heyn Olsen  <chief_wanker@eazel.com>
7655         * components/services/install/command-line/Makefile.am:
7656         * components/services/install/command-line/eazel-alt-install.c:
7657         Small program to test the gtk+ version of the installer.
7658         
7659         (set_parameters_from_command_line), (main):
7660         * components/services/install/idl/trilobite-eazel-install.idl:
7661         * components/services/install/lib/Makefile.am:  
7662         * components/services/install/lib/eazel-install-object.c:
7663         (impl_Trilobite_Eazel_Install_new_packages),
7664         (trilobite_eazel_install_get_epv),
7665         (trilobite_eazel_install_destroy),
7666         (trilobite_eazel_install_set_arg),
7667         (trilobite_eazel_install_class_initialize),
7668         (trilobite_eazel_install_create_corba_object),
7669         (trilobite_eazel_install_initialize),
7670         (trilobite_eazel_install_get_type), (trilobite_eazel_install_new),
7671         (trilobite_eazel_install_new_with_config),
7672         (create_temporary_directory), (fetch_remote_package_list),
7673         (trilobite_eazel_install_new_packages):
7674         * components/services/install/lib/eazel-install-private.h:
7675         * components/services/install/lib/eazel-install-public.h:
7676         Created a gtk+ object for the installer. Will be needed for the ui
7677         object to do callbacks for the progress bars
7678         
7679         * components/services/install/lib/eazel-install-metadata.c:
7680         (xml_doc_sanity_checks), (init_default_install_configuration),
7681         (init_default_transfer_configuration):
7682         * components/services/install/lib/eazel-install-xml-package-list.c:
7683         (parse_local_xml_package_list):
7684         Removed various g_errors and g_asserts and replaced them
7685         with some sort of return code (boolean or NULL)
7686         
7687 2000-05-25  John Sullivan  <sullivan@eazel.com>
7689         * src/ntl-app.c: (display_caveat): Added a missing space.
7692         More work on the "Open with Other" dialogs. Most of
7693         the UI features are present now, but they don't do
7694         anything since there's no API to call yet.
7696         * libnautilus-extensions/nautilus-gtk-extensions.h,
7697         * libnautilus-extensions/nautilus-gtk-extensions.c:
7698         (nautilus_gtk_clist_get_first_selected_row),
7699         (nautilus_gtk_clist_get_last_selected_row):
7700         Moved these functions to here from NautilusList, since
7701         they only require a GtkCList and I needed to use one
7702         of them outside of NautilusList.
7703         
7704         * libnautilus-extensions/nautilus-list.c:
7705         (nautilus_list_get_first_selected_row),
7706         (nautilus_list_get_last_selected_row),
7707         (nautilus_list_keyboard_navigation_key_press),
7708         (nautilus_list_new_with_titles):
7709         Removed get_first and get_last_selected_row, and updated
7710         callers to call new nautilus_gtk_clist versions.
7711         
7712         * libnautilus-extensions/nautilus-program-chooser.c:
7713         (populate_program_list), (nautilus_program_chooser_get_file),
7714         (nautilus_program_chooser_get_clist),
7715         (nautilus_program_chooser_get_frame),
7716         (nautilus_program_chooser_get_status_label),
7717         (nautilus_program_chooser_set_file),
7718         (nautilus_program_chooser_set_clist),
7719         (nautilus_program_chooser_set_frame),
7720         (nautilus_program_chooser_set_status_label), (is_in_short_list),
7721         (is_in_metadata_list), (update_selected_item_details),
7722         (program_list_selection_changed_callback), (pack_radio_button),
7723         (run_program_configurator_callback),
7724         (nautilus_program_chooser_new):
7725         Whole bunch of changes to push the "Open with Other" dialogs
7726         closer to reality.
7727         
7728         * src/ntl-window.c: 
7729         (view_menu_choose_view_callback): Comment changes only.
7730         (nautilus_window_load_content_view_menu): Changed menu item
7731         text from "View as ..." to "View as Other..."
7733 2000-05-25  Darin Adler  <darin@eazel.com>
7735         * libnautilus-extensions/nautilus-file.c:
7736         I am getting a little careless. This must end.
7737         
7738         * libnautilus-extensions/nautilus-file.c:
7739         (nautilus_file_denies_access_permission): Fixed some checks
7740         that I had reversed.
7741         
7742         * src/ntl-app.c: (display_caveat): Took out some test code I
7743         checked in.
7745 2000-05-25  Darin Adler  <darin@eazel.com>
7747         * libnautilus-extensions/nautilus-file.c:
7748         (nautilus_file_denies_access_permission): Checked it in
7749         without finishing it. Bad Darin.
7751 2000-05-25  Darin Adler  <darin@eazel.com>
7753         * libnautilus-extensions/nautilus-file.c:
7754         (nautilus_file_denies_access_permission),
7755         (nautilus_file_can_set_permissions): Made the permission check
7756         match the Unix access model. Maciej points out that this is
7757         still not good enough, and Pavel points out that bug 458 is
7758         about just this problem.
7759         
7760         * libnautilus-extensions/nautilus-gnome-extensions.c:
7761         (turn_on_line_wrap_flag): Got rid of a bad g_free that was
7762         trashing memory when locating the label for line wrapping.
7763         
7764         * src/ntl-app.c: (display_caveat): Used line wrapping, now that
7765         I know wrapping wasn't the cause of the bug before.
7767 2000-05-25  Ramiro Estrugo  <ramiro@eazel.com>
7769         Cleanup cut-n-paste code for dealing the sidebar panels.
7770         
7771         * libnautilus-extensions/nautilus-global-preferences.c:
7772         (global_preferences_create_dialog),
7773         (global_preferences_register_sidebar_panels_preferences_for_ui),
7774         (global_preferences_get_sidebar_panel_key),
7775         (nautilus_global_preferences_is_sidebar_panel_enabled),
7776         (global_preferences_register_for_ui),
7777         (user_level_changed_callback),
7778         (nautilus_global_preferences_startup):
7779         Added define for sidebar panels namespace.
7780         
7781         Rename preference defines to make it clear whether they are keys
7782         or namespaces.
7784         Add function to obtain a sidebar panel key from an iid.
7786         Use "sidebar panels" consistently in both code and preferences
7787         dialog. 
7788         
7789         * libnautilus-extensions/nautilus-global-preferences.h:
7790         New public function
7791         nautilus_global_preferences_is_sidebar_panel_enabled () that
7792         returns whether a sidebar panel is enabled.
7794         * src/ntl-uri-map.c: (sidebar_panel_preference_is_on):
7795         Use nautilus_global_preferences_is_sidebar_panel_enabled() instead
7796         of hard-coding the namespace string.
7797         
7798 2000-05-25  Robin * Slomkowski <rslomkow@eazel.com>
7800         * configure.in (added fr)
7801         * po/fr.po (added new file)
7802         Added French language support as created by 
7803         Jean-Michel Ardantz <jmardantz@ifrance.com>
7805 2000-05-25  Darin Adler  <darin@eazel.com>
7807         * libnautilus/nautilus-clipboard.c:
7808         (nautilus_clipboard_set_up_editable): Instead of ref'ing the
7809         control we want to do a "while_alive". The old way could be
7810         dangerous, so I'm glad I caught this.
7812 2000-05-25  Darin Adler  <darin@eazel.com>
7814         * libnautilus/nautilus-view-frame.c:
7815         (nautilus_view_get_bonobo_control): Took out an extra
7816         bonobo_object_ref that was wreaking havoc.  If we want to make
7817         this ref the thing before returning it, we'll have to get it
7818         right.
7820 2000-05-25  Darin Adler  <darin@eazel.com>
7822         * RENAMING: Updated to reflect completed tasks.
7823         
7824         * components/notes/ntl-notes.c: (make_notes_view):
7825         * components/websearch/ntl-web-search.c: (make_obj):
7826         Changed to use simplified clipboard API.
7827         
7828         * components/services/trilobite/libtrilobite/.cvsignore:
7829         Ignore generated files.
7830         
7831         * libnautilus-extensions/gtkscrollframe.c:
7832         * libnautilus-extensions/gtkscrollframe.h:
7833         Renamed GtkScrollFrame to NautilusScrollFrame so we won't conflict
7834         if a GtkScrollFrame actually gets added to gtk some day. The file
7835         still needs renaming (mentioned in RENAMING).
7836         
7837         * libnautilus/nautilus-clipboard.h:
7838         * libnautilus/nautilus-clipboard.c: (cut_callback),
7839         (copy_callback), (paste_callback), (clear_callback),
7840         (add_menu_item), (add_menu_items_callback),
7841         (remove_menu_items_callback), (nautilus_clipboard_set_up_editable):
7842         Simplified clipboard implementation. Does the same thing the old
7843         code did without needing a class and with a simpler API.
7844         
7845         * nautilus-widgets/nautilus-preferences-item.c:
7846         * src/file-manager/fm-icon-text-window.c:
7847         * src/nautilus-zoom-control.c:
7848         * src/ntl-window.c:
7849         Renamed _cb to _callback. Some other (minor) cleanup.
7851         * src/file-manager/Makefile.am:
7852         * src/file-manager/desktop-canvas.c: [removed]
7853         * src/file-manager/desktop-canvas.h: [removed]
7854         * src/file-manager/desktop-menu.c: [removed]
7855         * src/file-manager/desktop-menu.h: [removed]
7856         * src/file-manager/gnome-desktop.c: [removed]
7857         Now that I'm doing the desktop work, I know we don't need these.
7858         I'll be deleting the desktop source files that Havoc added as I
7859         harvest the useful code from them.
7860         
7861         * src/file-manager/fm-directory-view.c:
7862         (bonobo_control_activate_callback): Add comments.
7863         
7864         * src/nautilus-zoom-control.h: Fixed problem where the zoom
7865         control didn't know if it was an event box or a pixmap.
7866         
7867         * src/ntl-index-panel.c: (nautilus_index_panel_add_meta_view):
7868         Fixed bug that was trashing the sidebar panel names. I put
7869         the g_free call in the wrong place.
7870         
7871         * src/ntl-uri-map.c: (sidebar_panel_preference_is_on):
7872         Fixed bug where the sidebar preference wasn't saved. I found
7873         another place with another copy of the preference path. This
7874         sort of thing really needs to go in a header file, I think.
7875         
7876 2000-05-25  J Shane Culpepper  <pepper@eazel.com>
7878         * nautilus-installer/Makefile:
7879         * nautilus-installer/nautilus-installer.c:
7880         (create_temporary_directory), (fetch_remote_package_list), (main):
7882         Fixed nautilus-installer so that it uses the async ghttp fetch of the
7883         package-list.xml.  My changes to eazel-install broke it last night.
7885 2000-05-25  Ali Abdin  <aliabdin@aucegypt.edu
7887         * components/help/help-methods.c:
7888         (transform_absolute_file): Fixed a bug to get it to really treat
7889         URI's as 'absolute'. Also fixed another bug with trailing spaces.
7890         Necessary because the URI holds the '\n' (when the user presses
7891         enter.
7892         
7893         Also added debugging statements in the functions (#define ALI_DEBUG
7894         to turn them on). I will take them out once help actually starts
7895         working
7897 2000-05-25  J Shane Culpepper  <pepper@eazel.com>
7899         * components/services/install/command-line/eazel-install.c:
7900         (generate_new_package_list), (create_temporary_directory),
7901         (fetch_remote_package_list), (main):
7902         * components/services/install/lib/eazel-install-metadata.c:
7903         (create_default_metadata), (create_default_configuration_metafile),
7904         (xml_doc_sanity_checks), (get_urltype_from_string):
7905         * components/services/install/lib/eazel-install-protocols.c:
7906         * components/services/install/lib/eazel-install-protocols.h:
7907         * components/services/install/lib/eazel-install-rpm-glue.c:
7908         (install_new_packages), (download_a_package),
7909         (download_all_packages), (install_all_packages),
7910         (uninstall_packages), (uninstall_a_package), (do_rpm_install):
7911         * components/services/install/lib/eazel-install-tests.c:
7912         (dump_package_list):
7913         * components/services/install/lib/eazel-install-xml-package-list.c:
7914         (parse_category), (parse_local_xml_package_list),
7915         (generate_xml_package_list), (parse_pkg_template):
7916         * components/services/trilobite/libtrilobite/helixcode-utils.c:
7917         * components/services/trilobite/libtrilobite/helixcode-utils.h:
7919         Big time clean up of the overall flow of installs.  Now, all packages
7920         are downloaded before install.  Tried to setup as many of the print 
7921         functions as possible to support internationalization.  Removed old
7922         gnet http groks of the package list and now grab the package list with
7923         the async ghttp fetch functionality.  Did alot of cleanups in the
7924         rpm glue functions to make them more managable.  Removed the prune_xml
7925         function i swiped from Helix Code since it is no longer needed.
7927 2000-05-24  Ramiro Estrugo  <ramiro@eazel.com>
7929         * components/mozilla/nautilus-mozilla-content-view.c:
7930         (mozilla_net_status_callback):
7932         Update status flags to latest and gratest gtkmozembed api.
7934 2000-05-24  Gene Z. Ragan  <gzr@eazel.com>
7935         
7936         * libnautilus/nautilus-undo-manager.c:
7937         (impl_Nautilus_Undo_Manager__forget),
7938         (nautilus_undo_manager_add_transaction),
7939         (nautilus_undo_manager_forget_transaction):
7940         Added code to these functions that actually works.
7942         * libnautilus-extensions/nautilus-entry.c:
7943         (nautilus_entry_enable_undo):
7944         Work in progress on undo.
7945                         
7946         * libnautilus/nautilus-undo-manager.h:
7947         * libnautilus/nautilus-undoable.c: 
7948         * libnautilus/nautilus-undoable.h:
7949         (nautilus_undo_unregister):
7950         Make this call private to the source file.
7951         
7952         * src/ntl-window-msgs.c: 
7953         (nautilus_window_request_title_change):
7954         Fixed a build breakeing typo made by my hero.  
7955         I can't believe it!
7957 2000-05-24  Darin Adler  <darin@eazel.com>
7959         Eliminated ContentView and ContentViewFrame.
7961         * components/hardware/nautilus-hardware-view.c:
7962         (nautilus_hardware_view_initialize),
7963         (hardware_view_notify_location_change_callback):
7964         * components/hardware/nautilus-hardware-view.h:
7965         * components/help/hyperbola-nav-index.c:
7966         (hyperbola_navigation_index_select_row):
7967         * components/help/hyperbola-nav-search.c:
7968         (hyperbola_navigation_search_select_row),
7969         (hyperbola_navigation_search_new):
7970         * components/html/ntl-web-browser.c: (browser_url_load_done),
7971         (browser_vfs_callback), (browser_goto_url_real),
7972         (browser_goto_url), (browser_select_url), (browser_title_changed),
7973         (browser_notify_location_change), (make_obj):
7974         * components/loser/content/main.c: (loser_make_object):
7975         * components/loser/content/nautilus-content-loser.c:
7976         (nautilus_content_loser_initialize),
7977         (loser_notify_location_change_callback):
7978         * components/loser/content/nautilus-content-loser.h:
7979         * components/loser/sidebar/main.c: (loser_make_object):
7980         * components/loser/sidebar/nautilus-sidebar-loser.c:
7981         (nautilus_sidebar_loser_initialize),
7982         (loser_notify_location_change_callback):
7983         * components/mozilla/main.c: (mozilla_make_object):
7984         * components/mozilla/nautilus-mozilla-content-view.c:
7985         (nautilus_mozilla_content_view_initialize),
7986         (mozilla_content_view_request_progress_change),
7987         (mozilla_content_view_request_location_change),
7988         (mozilla_notify_location_change_callback),
7989         (mozilla_title_changed_callback), (mozilla_link_message_callback):
7990         * components/mozilla/nautilus-mozilla-content-view.h:
7991         * components/music/main.c: (music_view_make_object):
7992         * components/music/nautilus-music-view.c:
7993         (nautilus_music_view_initialize), (click_column_callback),
7994         (music_view_notify_location_change_callback),
7995         (nautilus_music_view_drag_data_received):
7996         * components/music/nautilus-music-view.h:
7997         * components/rpmview/main.c: (rpm_view_make_object):
7998         * components/rpmview/nautilus-rpm-view.c:
7999         (nautilus_rpm_view_initialize),
8000         (rpm_view_notify_location_change_callback):
8001         * components/rpmview/nautilus-rpm-view.h:
8002         * components/sample/main.c: (sample_make_object):
8003         * components/sample/nautilus-sample-content-view.c:
8004         (nautilus_sample_content_view_initialize),
8005         (sample_notify_location_change_callback):
8006         * components/sample/nautilus-sample-content-view.h:
8007         * components/services/startup/nautilus-view/main.c:
8008         (services_make_object):
8009         * components/services/startup/nautilus-view/nautilus-service-startup-view.c:
8010         (go_to_uri), (nautilus_service_startup_view_initialize),
8011         (service_main_notify_location_change_cb):
8012         * components/services/startup/nautilus-view/nautilus-service-startup-view.h:
8013         * libnautilus/Makefile.am:
8014         * libnautilus/libnautilus.h:
8015         * libnautilus/nautilus-content-view-frame.c: [removed]
8016         * libnautilus/nautilus-content-view-frame.h: [removed]
8017         * libnautilus/nautilus-view-component.idl:
8018         * libnautilus/nautilus-view-frame-private.h:
8019         * libnautilus/nautilus-view-frame.c:
8020         (impl_Nautilus_View_save_state), (impl_Nautilus_View_load_state),
8021         (impl_Nautilus_View_notify_location_change),
8022         (impl_Nautilus_View_show_properties),
8023         (impl_Nautilus_View_notify_selection_change),
8024         (impl_Nautilus_View_stop_location_change),
8025         (impl_Nautilus_View__destroy), (impl_Nautilus_View__create),
8026         (nautilus_view_initialize_class), (nautilus_view_initialize),
8027         (nautilus_view_new), (nautilus_view_new_from_bonobo_control),
8028         (get_view_frame), (nautilus_view_request_location_change),
8029         (nautilus_view_request_selection_change),
8030         (nautilus_view_request_status_change),
8031         (nautilus_view_request_progress_change),
8032         (nautilus_view_request_title_change),
8033         (nautilus_view_get_bonobo_control),
8034         (nautilus_view_get_main_window):
8035         * libnautilus/nautilus-view-frame.h:
8036         * src/Makefile.am:
8037         * src/file-manager/fm-directory-view.c: (get_bonobo_control),
8038         (fm_directory_view_initialize), (display_selection_info),
8039         (fm_directory_view_send_selection_change),
8040         (notify_location_change_callback), (stop_location_change_callback),
8041         (done_loading), (fm_directory_view_activate_file_internal),
8042         (finish_loading_uri):
8043         * src/file-manager/fm-directory-view.h:
8044         * src/ntl-app.c: (impl_Nautilus_Application_create_object):
8045         * src/ntl-content-view.c: [removed]
8046         * src/ntl-content-view.h: [removed]
8047         * src/ntl-uri-map.c: (make_oaf_query_with_known_mime_type),
8048         (make_oaf_query_with_uri_scheme_only):
8049         * src/ntl-view-frame-svr.c: (impl_Nautilus_ViewFrame__destroy),
8050         (impl_Nautilus_ViewFrame__create),
8051         (impl_Nautilus_ViewFrame__get_main_window),
8052         (impl_Nautilus_ViewFrame_request_location_change),
8053         (impl_Nautilus_ViewFrame_request_selection_change),
8054         (impl_Nautilus_ViewFrame_request_status_change),
8055         (impl_Nautilus_ViewFrame_request_progress_change),
8056         (impl_Nautilus_ViewFrame_request_title_change):
8057         * src/ntl-view-private.h:
8058         * src/ntl-view.c: (nautilus_view_frame_class_init),
8059         (nautilus_view_frame_set_arg), (nautilus_view_frame_get_arg),
8060         (nautilus_view_frame_request_location_change),
8061         (nautilus_view_frame_request_selection_change),
8062         (nautilus_view_frame_request_status_change),
8063         (nautilus_view_frame_request_progress_change),
8064         (nautilus_view_frame_request_title_change),
8065         (nautilus_view_frame_set_label), (nautilus_view_frame_activate):
8066         * src/ntl-view.h:
8067         * src/ntl-window-msgs.c: (nautilus_window_request_title_change),
8068         (nautilus_window_load_meta_view),
8069         (nautilus_window_request_location_change),
8070         (nautilus_window_load_content_view):
8071         * src/ntl-window-msgs.h:
8072         * src/ntl-window-private.h:
8073         * src/ntl-window.c:
8074         (nautilus_window_request_title_change_callback),
8075         (nautilus_window_connect_content_view),
8076         (nautilus_window_real_set_content_view):
8077         Got rid of ContentView and ContentViewFrame.
8079 2000-05-24  John Sullivan  <sullivan@eazel.com>
8081         * src/ntl-app.c: (display_caveat): Made the startup caveat
8082         window look cool. Everyone who set an environment variable
8083         to avoid it will now be sad.
8085 2000-05-24  Darin Adler  <darin@eazel.com>
8087         * libnautilus-extensions/nautilus-global-preferences.c:
8088         (global_preferences_create_dialog): Oops. Missed one case of
8089         "metaview" -> "sidebar-view".
8090         
8091         * libnautilus-extensions/nautilus-icon-canvas-item.c:
8092         (draw_pixbuf_aa), (draw_label_text_aa),
8093         (nautilus_icon_canvas_item_render): Some minor code tweaks.
8095 2000-05-24  Darin Adler  <darin@eazel.com>
8097         * libnautilus/nautilus-view-component.idl:
8098         * src/Makefile.am:
8099         * src/ntl-index-panel.c: (nautilus_index_panel_add_meta_view):
8100         * src/ntl-meta-view.c: [deleted]
8101         * src/ntl-meta-view.h: [deleted]
8102         * src/ntl-view.c: (nautilus_view_frame_handle_client_destroy_2),
8103         (nautilus_view_frame_set_active_errors),
8104         (nautilus_view_frame_get_label), (nautilus_view_frame_set_label):
8105         * src/ntl-view.h:
8106         * src/ntl-window-msgs.c: (nautilus_window_load_meta_view),
8107         (nautilus_window_update_state):
8108         * src/ntl-window.c:
8109         Removed Nautilus::MetaViewFrame and all the related classes.
8111 2000-05-24  Gene Z. Ragan  <gzr@eazel.com>
8113         * libnautilus/nautilus-undo-context.c:
8114         (impl_Nautilus_Undo_Context__get_undo_manager):
8115         Removed commented out cruft code.
8117 2000-05-24  Gene Z. Ragan  <gzr@eazel.com>
8119         * components/notes/ntl-notes.c: 
8120         (notes_notify_location_change):
8121         Removed undo manager test code.
8122         
8123         * components/websearch/ntl-web-search.c: 
8124         (make_obj):
8125         Added undo functionality to web search component.
8126         
8127         * libnautilus/nautilus-undo-context.c:
8128         (impl_Nautilus_Undo_Context__get_undo_manager):
8129         Added ref code to call CORBA_object_duplicate()
8130         
8131         * libnautilus/nautilus-undo-manager.c:
8132         (impl_Nautilus_Undo_Manager__append), (nautilus_undo_manager_redo),
8133         (nautilus_undo_manager_add_transaction):
8134         Added ref code to call CORBA_object_duplicate()
8135         
8136 2000-05-24  John Sullivan  <sullivan@eazel.com>
8138         * src/ntl-app.c: (display_caveat), (nautilus_app_startup):
8139         Round one of caveat dialog improvement. I managed to get it
8140         to be modeless and come up in front of the Nautilus window.
8141         The word-wrapping had to be done by hand to work around
8142         unsolved bug (963). The next round will involve using Arlo's
8143         cool picture.
8145 2000-05-24  Darin Adler  <darin@eazel.com>
8147         * libnautilus/Makefile.am:
8148         * libnautilus/libnautilus.h:
8149         * libnautilus/nautilus-meta-view-frame.c: [deleted]
8150         * libnautilus/nautilus-meta-view-frame.h: [deleted]
8151         * libnautilus/nautilus-view-component.idl:
8152         * po/POTFILES.in:
8153         * src/ntl-index-panel.c: (nautilus_index_panel_add_meta_view):
8154         * src/ntl-window.c: (nautilus_window_add_meta_view):
8155         Removed Nautilus::MetaView and all the related classes.
8156         We still have Nautilus::MetaViewFrame (will go soon).
8157         
8158         * components/help/hyperbola-nav-index.c:
8159         (hyperbola_navigation_index_new):
8160         * components/help/hyperbola-nav-search.c:
8161         (hyperbola_navigation_search_new):
8162         * components/help/hyperbola-nav-tree.c:
8163         (hyperbola_navigation_tree_new):
8164         * components/history/ntl-history-view.c: (make_obj):
8165         * components/loser/sidebar/nautilus-sidebar-loser.c:
8166         (nautilus_sidebar_loser_initialize),
8167         (loser_notify_location_change_callback):
8168         * components/loser/sidebar/nautilus-sidebar-loser.h:
8169         * components/notes/ntl-notes.c: (make_notes_view):
8170         * components/websearch/ntl-web-search.c: (make_obj):
8171         Changed to use just plain view insetad of meta_view.
8172         
8173         * libnautilus-extensions/nautilus-global-preferences.h:
8174         * libnautilus-extensions/nautilus-global-preferences.c:
8175         (global_preferences_create_dialog),
8176         (nautilus_global_preferences_get_sidebar_panel_view_identifiers),
8177         (nautilus_global_preferences_get_sidebar_view_iids),
8178         (nautilus_preferences_register_sidebar_view_preferences_for_ui),
8179         (global_preferences_register_for_ui):
8180         Changed naming to call them sidebar views instead of meta views,
8181         and got rid of code that depends on MetaView interface. We now
8182         use the sidebar_panel_name to determine if a view should show
8183         up in the sidebar.
8184         
8185         * src/ntl-view.h: Fixed a comment to reflect the future
8186         instead of the past.
8187         
8188 2000-05-24  John Sullivan  <sullivan@eazel.com>
8190         * libnautilus-extensions/nautilus-program-chooser.c:
8191         (populate_program_list), (nautilus_program_chooser_new):
8192         Some work on the innards of the program-choosing dialogs.
8193         Still not wired up to any actual data.
8195 2000-05-24  Darin Adler  <darin@eazel.com>
8197         * HACKING: Moved to make clear that popt must build first.
8198         
8199         * RENAMING: Added some new file renamings.
8200         
8201         * src/nautilus-zoomable-frame-svr.c:
8202         * src/nautilus.h: [removed]
8203         * src/ntl-app.c:
8204         * src/ntl-main.c:
8205         * src/ntl-meta-view.c:
8206         * src/ntl-types.h: [removed]
8207         * src/ntl-uri-map.c:
8208         * src/ntl-view-bonobo-control.c:
8209         * src/ntl-view-bonobo-subdoc.c:
8210         * src/ntl-view-frame-svr.c:
8211         * src/ntl-view-nautilus.c:
8212         * src/ntl-view-private.h:
8213         * src/ntl-view.c:
8214         * src/ntl-window-msgs.c:
8215         * src/ntl-window-state.c:
8216         * src/ntl-window.c:
8217         Got rid of "nautilus.h" and "ntl-types.h".
8219         * libnautilus/nautilus-undo-context.c:
8220         (impl_Nautilus_Undo_Context__destroy),
8221         (impl_Nautilus_Undo_Context__create),
8222         (impl_Nautilus_Undo_Context__get_undo_manager),
8223         (nautilus_undo_context_new), (nautilus_undo_context_initialize),
8224         (destroy):
8225         * libnautilus/nautilus-undo-manager.c:
8226         (impl_Nautilus_Undo_Manager__destroy),
8227         (impl_Nautilus_Undo_Manager__create),
8228         (impl_Nautilus_Undo_Manager__append),
8229         (impl_Nautilus_Undo_Manager__forget),
8230         (impl_Nautilus_Undo_Manager__undo), (nautilus_undo_manager_new),
8231         (nautilus_undo_manager_initialize),
8232         (nautilus_undo_manager_initialize_class),
8233         (nautilus_undo_manager_undo), (nautilus_undo_manager_redo),
8234         (nautilus_undo_manager_add_transaction),
8235         (nautilus_undo_manager_unregister_object),
8236         (nautilus_undo_manager_can_undo), (nautilus_undo_manager_can_redo),
8237         (destroy), (nautilus_undo_manager_enable_redo),
8238         (nautilus_undo_manager_set_queue_depth), (free_undo_manager_list):
8239         Various code cleanups. Specifically, get rid of unused
8240         bonobo_object and rename gtk_object to bonobo_object.
8241         Get rid of some yucky function pointer casts.
8242         
8243         * src/ntl-app.c: (nautilus_app_init):
8244         Got rid of bogus extra ref.
8246         * libnautilus-extensions/nautilus-program-chooser.c:
8247         (nautilus_program_chooser_new): Reindent part just to annoy John.
8248         * libnautilus-extensions/nautilus-program-choosing.c:
8249         (nautilus_launch_application): Newline at end of file (ugh).
8250         
8251         * src/ntl-index-panel.c: (add_command_buttons): Format tweaking.
8252         
8253 2000-05-24  Eskil Heyn Olsen  <eskil@eazel.com>
8255         * configure.in: 
8256         * components/services/install/command-line/Makefile.am:
8257         * components/services/install/lib/Makefile.am: 
8258         * components/services/startup/lib/Makefile.am: 
8259         * components/services/startup/nautilus-view/Makefile.am:
8260         * components/services/time/command-line/Makefile.am: 
8261         * components/services/time/command-line/main.c: 
8262         * components/services/time/service/Makefile.am: 
8263         * components/services/time/service/main.c: 
8264         * components/services/time/service/trilobite-eazel-time-service.c: 
8265         * components/services/trilobite/Makefile.am (SUBDIRS): 
8266         * components/services/trilobite/sample/command-line/Makefile.am: 
8267         * components/services/trilobite/sample/command-line/main.c: 
8268         * components/services/trilobite/sample/nautilus-view/Makefile.am (SUBDIR): 
8269         * components/services/trilobite/sample/service/Makefile.am: 
8270         * components/services/trilobite/sample/service/main.c: 
8271         * components/services/trilobite/sample/service/sample-service-impl.c: 
8272         Major cvs gymnastics to move trilobite/lib into
8273         trilobite/libtrilobite.
8275         All files in components/services/trilobite/src and lib have been
8276         deleted and are now in components/services/trilobite/libtrilobite.
8277         
8278 2000-05-24  J Shane Culpepper  <pepper@eazel.com>
8280         * nautilus-installer/nautilus-installer.c:
8281         * nautilus-installer/Makefile:
8282         Removed the duplicate helixcode files from the installer.  Temporarily
8283         added 4 duplicate functions to the installer until I get libtrilobite
8284         statically linked in.
8286 2000-05-24  Maciej Stachowiak  <mjs@eazel.com>
8288         * src/ntl-uri-map.c: Make content loser component have lower
8289         priority than anything else.
8291 2000-05-24  Eskil Heyn Olsen  <eskil@eazel.com>
8293         * components/services/trilobite/Makefile.am:
8294         Accidently removed the wrong subdir, reinserted lib and removed src.
8296         * components/services/trilobite/sample/service/Makefile.am
8297         * components/services/trilobite/sample/command-line/Makefile.am
8298         * components/services/time/service/Makefile.am:
8299         updated to use libtrilobite instead of libtrilobited
8301         * components/services/time/command-line/Makefile.am:
8302         Updated to only use libtrilobite
8304         * components/services/trilobite/Makefile.am (SUBDIRS): 
8305         Removed src from subdirs.
8307         * components/services/trilobite/lib/Makefile.am
8308         * components/services/trilobite/lib/libtrilobite.h: Moved
8309         the libtrilobited stuff into libtrilobite.
8311 2000-05-24  Andy Hertzfeld  <andy@eazel.com>
8313         * libnautilus-extensions/nautilus-icon-canvas-item.c:
8314         (draw_label_text_aa), (nautilus_icon_canvas_item_render):
8315         made the text beneath the icons draw properly on the anti-aliased
8316         canvas.  There may be performance issues that require caching, but
8317         first I want to try this straightforward approach.
8318         
8319 2000-05-23  Ramiro Estrugo  <ramiro@eazel.com>
8321         * HACKING:
8322         Added control-center blurb
8323         
8324 2000-05-23  Darin Adler  <darin@eazel.com>
8326         * components/mozilla/nautilus-mozilla-content-view.c:
8327         (nautilus_mozilla_content_view_initialize),
8328         (nautilus_mozilla_content_view_destroy),
8329         (nautilus_mozilla_content_view_get_nautilus_view),
8330         (mozilla_content_view_request_progress_change),
8331         (mozilla_content_view_request_location_change),
8332         (mozilla_notify_location_change_callback),
8333         (mozilla_title_changed_callback), (mozilla_link_message_callback):
8334         * components/mozilla/nautilus-mozilla-content-view.h:
8335         * components/mozilla/main.c:
8336         Updated the Mozilla component too (oops).
8338 2000-05-23  Arlo Rose  <arlo@eazel.com>
8340         * icons/Makefile.am:
8341         * src/nautilus-window-menus.c: (help_menu_about_nautilus_callback):
8342         * icons/nautilus3.jpg
8343         * icons/About_Image.png
8344         Added new about image, and a few names to the about box 
8345         that were missing.
8347 2000-05-23  Maciej Stachowiak  <mjs@eazel.com>
8349         * RENAMING: Put in renamings for some of the "?" renamings that
8350         Darin had put in.
8352 2000-05-23  Gene Z. Ragan  <gzr@eazel.com>
8354         * libnautilus/nautilus-undo-context.c:
8355         (impl_Nautilus_Undo_Context__get_undo_manager):
8356         Added call to CORBA_Object_duplicate(). This fixed an explosive
8357         bug.
8358         
8359         * libnautilus/nautilus-undo-manager.c:
8360         * libnautilus/nautilus-undo-manager.h:
8361         (nautilus_undo_manager_stash_global_undo),
8362         (nautilus_undo_manager_get_global_undo):
8363         New functions to save application global instance of
8364         Nautilus_Undo_Manager
8365         
8366         * src/ntl-app.c: (nautilus_app_init):
8367         Add call to nautilus_undo_manager_stash_global_undo.
8368         
8369         * src/ntl-view.c:
8370         (nautilus_view_frame_load_client):
8371         Connected Nautilus_Undo_Context interface to view frame.
8373 2000-05-23  Ramiro Estrugo  <ramiro@eazel.com>
8375         * icons/Makefile.am:
8376           icons/gnome-application-encapsulated_postscript.png,
8377           icons/gnome-application-pdf.png,
8378           icons/gnome-application-pgp.png,
8379           icons/gnome-application-postscript.png,
8380           icons/gnome-application-x-c-header.png,
8381           icons/gnome-application-x-c-source.png,
8382           icons/gnome-application-x-cc-source.png,
8383           icons/gnome-application-x-e-theme.png,
8384           icons/gnome-application-x-generic-spreadsheet.png,
8385           icons/gnome-application-x-gnome-app-info.png,
8386           icons/gnome-application-x-java-source.png,
8387           icons/gnome-application-x-kde-app-info.png,
8388           icons/gnome-application-x-php.png,
8389           icons/gnome-application-x-reject.png,
8390           icons/gnome-application-x-scheme-source.png,
8391           icons/gnome-application-x-sql.png,
8392           icons/gnome-audio-basic.png,
8393           icons/gnome-audio-midi.png,
8394           icons/gnome-audio-ulaw.png,
8395           icons/gnome-audio-x-aiff.png,
8396           icons/gnome-audio-x-mod.png,
8397           icons/gnome-audio-x-pn-realaudio.png,
8398           icons/gnome-audio-x-s3m.png,
8399           icons/gnome-audio-x-stm.png,
8400           icons/gnome-audio-x-voc.png,
8401           icons/gnome-audio-x-wav.png,
8402           icons/gnome-audio-x-xi.png,
8403           icons/gnome-audio-x-xm.png,
8404           icons/gnome-audio.png,
8405           icons/gnome-core.png,
8406           icons/gnome-font-afm.png,
8407           icons/gnome-font-ttf.png,
8408           icons/gnome-font-x-pcf.png,
8409           icons/gnome-http-url.png,
8410           icons/gnome-image-bmp.png,
8411           icons/gnome-image-generic.png,
8412           icons/gnome-image-gif.png,
8413           icons/gnome-image-ief.png,
8414           icons/gnome-image-jpeg.png,
8415           icons/gnome-image-pbm.png,
8416           icons/gnome-image-pgm.png,
8417           icons/gnome-image-png.png,
8418           icons/gnome-image-pnm.png,
8419           icons/gnome-image-ppm.png,
8420           icons/gnome-image-psd.png,
8421           icons/gnome-image-ras.png,
8422           icons/gnome-image-rgb.png,
8423           icons/gnome-image-tga.png,
8424           icons/gnome-image-tiff.png,
8425           icons/gnome-image-x-xfig.png,
8426           icons/gnome-image-xbm.png,
8427           icons/gnome-image-xcf.png,
8428           icons/gnome-image-xpm.png,
8429           icons/gnome-image-xwd.png,
8430           icons/gnome-pack-deb.png,
8431           icons/gnome-tex.png,
8432           icons/gnome-text-html.png,
8433           icons/gnome-text-x-authors.png,
8434           icons/gnome-text-x-copying.png,
8435           icons/gnome-text-x-credits.png,
8436           icons/gnome-text-x-install.png,
8437           icons/gnome-text-x-makefile.png,
8438           icons/gnome-text-x-readme.png,
8439           icons/gnome-textfile.png,
8440           icons/gnome-video-mpeg.png,
8441           icons/gnome-video-quicktime.png,
8442           icons/gnome-video-x-msvideo.png:
8443         Copy icons from gmc so that icon-association for mime type keys
8444         work with nautilus.
8446 2000-05-23  John Sullivan  <sullivan@eazel.com>
8448         A few cleanup tweaks inspired by debugging session
8449         with Darin.
8451         * libnautilus-extensions/nautilus-program-choosing.h,
8452         * libnautilus-extensions/nautilus-program-choosing.c:
8453         (nautilus_choose_application_for_file): Make callback
8454         take a const char * instead of a char *.
8455         * src/file-manager/fm-directory-view.c:
8456         (fm_directory_view_chose_application_callback): take
8457         a const char * instead of a char *.
8458         * src/ntl-index-panel.c:
8459         (nautilus_index_panel_chose_application_callback):
8460         take a const char * instead of a char *.
8461         (open_with_callback): unref file
8462         (add_command_buttons): Use gtk_signal_connect instead of
8463         nautilus_gtk_signal_connect_free_data when passing NULL
8464         as the data (Doh!).
8466 2000-05-23  Andy Hertzfeld  <andy@eazel.com>
8468         * libnautilus-extensions/nautilus-icon-canvas-item.c:
8469         (draw_pixbuf_aa), (nautilus_icon_canvas_item_render):
8470         made emblems draw properly in anti-aliased mode
8471         
8472 2000-05-23  John Sullivan  <sullivan@eazel.com>
8474         Some pieces of the application and component-choosing UI.
8475         They don't do anything useful yet.
8477         * libnautilus-extensions/nautilus-program-chooser.h,
8478         * libnautilus-extensions/nautilus-program-chooser.c:
8479         New files with code for creating a program-choosing
8480         dialog (which is really degenerate right now).
8482         * libnautilus-extensions/nautilus-program-choosing.h,
8483         * libnautilus-extensions/nautilus-program-choosing.c:
8484         New files with functions for choosing a component or other
8485         program to display or open a file with. This uses the
8486         dialog in nautilus-program-chooser, but callers don't
8487         need to know that.
8489         * libnautilus-extensions/Makefile.am: add these new
8490         files to the build.
8492         * src/file-manager/fm-directory-view.c:
8493         (fm_directory_view_chose_application_callback),
8494         (fm_directory_view_chose_component_callback), (choose_application),
8495         (choose_component), (bonobo_menu_other_program_callback),
8496         (other_application_callback), (other_viewer_callback): 
8497         New functions that connect the program-choosing UI to the
8498         menu items.
8499         (compute_menu_item_info): Stop desensitizing the "Other ..." items.
8500         (append_gtk_menu_item): Eliminated this function, made callers use
8501         more elaborate append_gtk_menu_item_with_view instead.
8502         (fm_directory_view_real_create_background_context_menu_items),
8503         (create_open_with_gtk_menu):
8504         Updated callers to append_gtk_menu_item.
8505         (fm_directory_view_real_create_selection_context_menu_items):
8506         Pass view to create_open_with_gtk_menu.
8507         (reset_bonobo_open_with_menu): Now takes an FMDirectoryView and
8508         uses it as callback data for "Other..." items.
8509         (fm_directory_view_real_merge_menus),
8510         (fm_directory_view_real_update_menus): Pass view to
8511         reset_bonobo_open_with_menu.
8512         
8513         * src/ntl-index-panel.c: (command_button_callback): Renamed from
8514         command_button_cb, also broke out application-launching code and
8515         moved it to libnautilus-extensions/nautilus-program-choosing.c.
8516         (nautilus_index_panel_chose_application_callback),
8517         (open_with_callback): New functions, used to wire up functionality
8518         of "Open with ..." button.
8519         (add_command_buttons): Stop desensitizing "Open with ..." button,
8520         and wire it up to do something.
8521         
8522         * src/ntl-window.h: Renamed field "option_cvtype" to "view_as_option_menu".
8523         * src/ntl-window.c: 
8524         (nautilus_window_constructed): Updated to match field name change.
8525         (nautilus_window_switch_views): New function, broken out of
8526         view_menu_switch_views_callback; switches window to new content view.
8527         (view_menu_switch_views_callback): Now calls nautilus_window_switch_views.
8528         (synch_view_as_menu): New function, resets displayed name of "View as"
8529         menu to match current content view.
8530         (chose_component_callback), (view_menu_choose_view_callback): New
8531         functions, used to implement "View as ..." menu item.
8532         (nautilus_window_load_content_view_menu): Store iid in menu item;
8533         call synch_view_as_menu; wire up "View as ..." menu item.
8536         * src/ntl-window-msgs.c: (handle_unreadable_location):
8537         Tweaked wording of an error message.
8538         
8539         * src/file-manager/fm-error-reporting.c:
8540         (fm_report_error_renaming_file): Tweaked wording of an error message.
8542 2000-05-23  Darin Adler  <darin@eazel.com>
8544         * libnautilus/nautilus-undo-manager.c:
8545         (impl_Nautilus_Undo_Manager__append), (nautilus_undo_manager_undo),
8546         (nautilus_undo_manager_redo),
8547         (nautilus_undo_manager_add_transaction),
8548         (nautilus_undo_manager_unregister_object), (destroy),
8549         (nautilus_undo_manager_set_queue_depth), (free_undo_manager_list),
8550         (prune_undo_manager_list), (nautilus_get_undo_manager),
8551         (undo_manager_unref), (undo_manager_ref),
8552         (nautilus_attach_undo_manager), (set_up_bonobo_control),
8553         (nautilus_undo_set_up_bonobo_control):
8554         Some cleanup of the undo code, including a first cut of the
8555         set_up_bonobo_control function. Also got rid of all the excess
8556         unrefs that we didn't need. I hope this is right now. Also fixed
8557         bug where code was trying to bonobo_object_unref a CORBA object
8558         directly.
8559         
8560         * libnautilus/nautilus-undo-manager.c:
8561         (nautilus_undo_set_up_bonobo_control):
8562         * libnautilus/nautilus-undo-manager.h:
8563         * libnautilus/nautilus-view-frame.c:
8564         (nautilus_view_real_set_bonobo_control):
8565         Change from setup to set_up. Setup is a noun, set up a verb phrase.
8566         
8567         * libnautilus/nautilus-undoable.c: (nautilus_undo_register_full),
8568         (nautilus_undo): Some minor cleanup and unrefing the transaction
8569         after adding it to the undo manager.
8570         
8571 2000-05-23  Darin Adler  <darin@eazel.com>
8573         The ViewFrame <-> View renaming.
8574         We still have to rename the files.
8576         * RENAMING: Put in explicit cases for file name renaming.
8577         
8578         * src/Makefile.am:
8579         * src/nautilus-desktop-window.c:
8580         * src/nautilus-desktop-window.h:
8581         Added placeholders. I'll be putting code in here soon.
8582         
8583         * src/ntl-app.c: (display_prototype_caveat):
8584         Changed to use nautilus_simple_dialog again since otherwise it
8585         comes up behind the main window. Perhaps someone will resolve
8586         that issue and change it back.
8588         * libnautilus-extensions/nautilus-gnome-extensions.h:
8589         * libnautilus-extensions/nautilus-gnome-extensions.c:
8590         (nautilus_warning_dialog), (nautilus_warning_dialog_parented):
8591         Added centered version of the warning dialog as well, since
8592         Eskil was using gnome_warning_dialog in a case where he really
8593         wanted lines wrapped.
8594         
8595         * components/loser/.cvsignore:
8596         * components/loser/content/.cvsignore:
8597         * components/loser/sidebar/.cvsignore:
8598         Ignore some generated files.
8600         * components/hardware/main.c: (hardware_view_make_object):
8601         * components/hardware/nautilus-hardware-view.c:
8602         (nautilus_hardware_view_initialize),
8603         (nautilus_hardware_view_destroy),
8604         (nautilus_hardware_view_get_nautilus_view),
8605         (hardware_view_notify_location_change_callback):
8606         * components/hardware/nautilus-hardware-view.h:
8607         * components/help/hyperbola-nav-index.c:
8608         (hyperbola_navigation_index_select_row),
8609         (hyperbola_navigation_index_new):
8610         * components/help/hyperbola-nav-search.c:
8611         (hyperbola_navigation_search_select_row),
8612         (hyperbola_navigation_search_new):
8613         * components/help/hyperbola-nav-tree.c:
8614         (hyperbola_navigation_tree_new),
8615         (hyperbola_navigation_tree_notify_location_change),
8616         (hyperbola_navigation_tree_select_row):
8617         * components/history/ntl-history-view.c:
8618         (hyperbola_navigation_history_notify_location_change),
8619         (hyperbola_navigation_history_select_row), (make_obj):
8620         * components/html/ntl-web-browser.c: (browser_url_load_done),
8621         (browser_vfs_callback), (browser_goto_url_real),
8622         (browser_goto_url), (browser_select_url), (browser_title_changed),
8623         (browser_notify_location_change), (make_obj):
8624         * components/loser/content/main.c: (loser_make_object):
8625         * components/loser/content/nautilus-content-loser.c:
8626         (nautilus_content_loser_initialize),
8627         (nautilus_content_loser_destroy),
8628         (nautilus_content_loser_get_nautilus_view),
8629         (nautilus_content_loser_load_uri),
8630         (loser_notify_location_change_callback), (bonobo_loser_callback):
8631         * components/loser/content/nautilus-content-loser.h:
8632         * components/loser/sidebar/main.c: (loser_make_object):
8633         * components/loser/sidebar/nautilus-sidebar-loser.c:
8634         (nautilus_sidebar_loser_initialize),
8635         (nautilus_sidebar_loser_destroy),
8636         (nautilus_sidebar_loser_get_nautilus_view),
8637         (loser_notify_location_change_callback):
8638         * components/loser/sidebar/nautilus-sidebar-loser.h:
8639         * components/music/main.c: (music_view_make_object):
8640         * components/music/nautilus-music-view.c:
8641         (nautilus_music_view_initialize), (nautilus_music_view_destroy),
8642         (nautilus_music_view_get_nautilus_view),
8643         (music_view_notify_location_change_callback):
8644         * components/music/nautilus-music-view.h:
8645         * components/notes/ntl-notes.c: (notes_notify_location_change),
8646         (make_notes_view):
8647         * components/rpmview/main.c: (rpm_view_make_object):
8648         * components/rpmview/nautilus-rpm-view.c:
8649         (nautilus_rpm_view_initialize), (nautilus_rpm_view_destroy),
8650         (nautilus_rpm_view_get_nautilus_view),
8651         (rpm_view_notify_location_change_callback):
8652         * components/rpmview/nautilus-rpm-view.h:
8653         * components/sample/main.c: (sample_make_object):
8654         * components/sample/nautilus-sample-content-view.c:
8655         (nautilus_sample_content_view_initialize),
8656         (nautilus_sample_content_view_destroy),
8657         (nautilus_sample_content_view_get_nautilus_view),
8658         (sample_notify_location_change_callback):
8659         * components/sample/nautilus-sample-content-view.h:
8660         * components/services/startup/nautilus-view/main.c:
8661         (services_make_object):
8662         * components/services/startup/nautilus-view/nautilus-service-startup-view.c:
8663         (go_to_uri), (nautilus_service_startup_view_initialize),
8664         (nautilus_service_startup_view_get_nautilus_view),
8665         (service_main_notify_location_change_cb):
8666         * components/services/startup/nautilus-view/nautilus-service-startup-view.h:
8667         * components/websearch/ntl-web-search.c:
8668         (web_search_notify_location_change), (do_search), (make_obj):
8669         * libnautilus/nautilus-clipboard.c:
8670         (nautilus_clipboard_info_set_view),
8671         (nautilus_clipboard_info_get_view),
8672         (nautilus_clipboard_info_get_bonobo_control):
8673         * libnautilus/nautilus-clipboard.h:
8674         * src/file-manager/fm-directory-view.c:
8675         (bonobo_menu_move_to_trash_callback), (get_bonobo_control),
8676         (fm_directory_view_initialize), (display_selection_info),
8677         (fm_directory_view_send_selection_change),
8678         (notify_location_change_callback),
8679         (notify_selection_change_callback),
8680         (stop_location_change_callback), (done_loading),
8681         (fm_directory_view_get_nautilus_view),
8682         (fm_directory_view_activate_file_internal), (finish_loading_uri):
8683         * src/file-manager/fm-directory-view.h:
8684         Updated for new libnautilus where the NautilusViewFrame
8685         classes are now named NautilusView.
8686         
8687         * libnautilus/nautilus-content-view-frame.c:
8688         (nautilus_content_view_initialize), (nautilus_content_view_new),
8689         (nautilus_content_view_new_from_bonobo_control),
8690         (nautilus_content_view_destroy),
8691         (nautilus_content_view_initialize_class),
8692         (nautilus_content_view_request_title_change):
8693         * libnautilus/nautilus-content-view-frame.h:
8694         * libnautilus/nautilus-meta-view-frame.c:
8695         (nautilus_meta_view_initialize), (nautilus_meta_view_new),
8696         (nautilus_meta_view_new_from_bonobo_control),
8697         (nautilus_meta_view_destroy),
8698         (nautilus_meta_view_initialize_class):
8699         * libnautilus/nautilus-meta-view-frame.h:
8700         Changed Nautilus*ViewFrame classes to Nautilus*View. This is
8701         something we had in RENAMING for some time, and it's consistent
8702         with Bonobo's naming of BonoboControl and BonoboControlFrame.
8703         Also changed interfaces to use actual BonoboControl * instead of
8704         using BonobObject * and query_interface.
8705         
8706         * libnautilus/nautilus-undo-manager.c:
8707         (nautilus_undo_setup_bonobo_control):
8708         * libnautilus/nautilus-undo-manager.h:
8709         Changed the BonoboControl parameter to actually be of type
8710         BonoboControl * instead of BonoboObject *.
8711         
8712         * libnautilus/nautilus-view-frame-private.h:
8713         * libnautilus/nautilus-view-frame.c:
8714         (impl_Nautilus_View_save_state), (impl_Nautilus_View_load_state),
8715         (impl_Nautilus_View_notify_location_change),
8716         (impl_Nautilus_View_show_properties),
8717         (impl_Nautilus_View_notify_selection_change),
8718         (impl_Nautilus_View_stop_location_change),
8719         (impl_Nautilus_View__destroy), (impl_Nautilus_View__create),
8720         (nautilus_view_initialize_class), (nautilus_view_set_arg),
8721         (nautilus_view_get_arg), (nautilus_view_initialize),
8722         (nautilus_view_new), (nautilus_view_new_from_bonobo_control),
8723         (nautilus_view_destroy), (nautilus_view_ensure_view_frame),
8724         (nautilus_view_request_location_change),
8725         (nautilus_view_request_selection_change),
8726         (nautilus_view_request_status_change),
8727         (nautilus_view_request_progress_change),
8728         (nautilus_view_get_bonobo_control),
8729         (nautilus_view_get_main_window),
8730         (nautilus_view_real_set_bonobo_control):
8731         * libnautilus/nautilus-view-frame.h:
8732         * libnautilus/nautilus-zoomable.c:
8733         (impl_Nautilus_Zoomable__get_zoom_level),
8734         (impl_Nautilus_Zoomable__set_zoom_level),
8735         (impl_Nautilus_Zoomable__get_min_zoom_level),
8736         (impl_Nautilus_Zoomable__get_max_zoom_level),
8737         (impl_Nautilus_Zoomable__get_is_continuous),
8738         (impl_Nautilus_Zoomable_zoom_in),
8739         (impl_Nautilus_Zoomable_zoom_out),
8740         (impl_Nautilus_Zoomable_zoom_to_fit),
8741         (impl_Nautilus_Zoomable__destroy),
8742         (impl_Nautilus_Zoomable__create), (marshal_NONE__DOUBLE),
8743         (nautilus_zoomable_initialize_class), (nautilus_zoomable_set_arg),
8744         (nautilus_zoomable_get_arg), (nautilus_zoomable_initialize),
8745         (nautilus_zoomable_new),
8746         (nautilus_zoomable_new_from_bonobo_control),
8747         (nautilus_zoomable_destroy),
8748         (nautilus_zoomable_ensure_zoomable_frame),
8749         (nautilus_zoomable_set_zoom_level),
8750         (nautilus_zoomable_get_bonobo_control),
8751         (nautilus_zoomable_real_set_bonobo_control):
8752         * libnautilus/nautilus-zoomable.h:
8753         * src/nautilus-zoomable-frame-svr.c:
8754         (impl_Nautilus_ZoomableFrame__destroy),
8755         (impl_Nautilus_ZoomableFrame__create),
8756         (impl_Nautilus_ZoomableFrame_notify_zoom_level):
8757         * src/ntl-app.c: (impl_Nautilus_Application_create_object),
8758         * src/ntl-content-view.c:
8759         (impl_Nautilus_ContentViewFrame_request_title_change),
8760         (nautilus_content_view_frame_get_type),
8761         (nautilus_content_view_frame_class_init),
8762         (nautilus_content_view_frame_init),
8763         (nautilus_content_view_frame_set_active),
8764         (nautilus_content_view_frame_request_title_change):
8765         * src/ntl-content-view.h:
8766         * src/ntl-index-panel.c: (nautilus_index_panel_add_meta_view),
8767         (nautilus_index_panel_remove_meta_view):
8768         * src/ntl-index-panel.h:
8769         * src/ntl-meta-view.c: (nautilus_meta_view_frame_initialize_class),
8770         (nautilus_meta_view_frame_initialize),
8771         (nautilus_meta_view_frame_set_label),
8772         (nautilus_meta_view_frame_get_label):
8773         * src/ntl-meta-view.h:
8774         * src/ntl-view-bonobo-control.c: (destroy_bonobo_control_view),
8775         (nautilus_view_frame_activate_uri),
8776         (bonobo_control_try_load_client),
8777         (bonobo_control_notify_location_change):
8778         * src/ntl-view-bonobo-subdoc.c: (destroy_bonobo_subdoc_view),
8779         (bonobo_subdoc_notify_location_change),
8780         (bonobo_subdoc_try_load_client):
8781         * src/ntl-view-frame-svr.c: (impl_Nautilus_ViewFrame__destroy),
8782         (impl_Nautilus_ViewFrame__create),
8783         (impl_Nautilus_ViewFrame_request_location_change),
8784         (impl_Nautilus_ViewFrame_request_selection_change),
8785         (impl_Nautilus_ViewFrame_request_status_change),
8786         (impl_Nautilus_ViewFrame_request_progress_change):
8787         * src/ntl-view-nautilus.c: (nautilus_view_try_load_client),
8788         (destroy_nautilus_view), (nv_show_properties), (nv_save_state),
8789         (nv_load_state), (nv_notify_location_change),
8790         (nv_notify_selection_change), (nv_stop_location_change):
8791         * src/ntl-view-private.h:
8792         * src/ntl-view.c: (nautilus_view_frame_get_type),
8793         (nautilus_view_frame_class_init), (nautilus_view_frame_set_arg),
8794         (nautilus_view_frame_get_arg), (nautilus_view_frame_init),
8795         (nautilus_view_frame_destroy_client),
8796         (nautilus_view_frame_destroy), (nautilus_view_frame_constructed),
8797         (nautilus_view_frame_construct_arg_set),
8798         (nautilus_view_frame_size_request),
8799         (nautilus_view_frame_size_allocate),
8800         (nautilus_view_frame_handle_client_destroy),
8801         (nautilus_view_frame_handle_client_destroy_2),
8802         (nautilus_view_frame_load_client),
8803         (nautilus_view_frame_notify_location_change),
8804         (nautilus_view_frame_notify_selection_change),
8805         (nautilus_view_frame_load_state), (nautilus_view_frame_save_state),
8806         (nautilus_view_frame_show_properties),
8807         (nautilus_view_frame_stop_location_change),
8808         (nautilus_view_frame_is_zoomable),
8809         (nautilus_view_frame_get_zoom_level),
8810         (nautilus_view_frame_set_zoom_level),
8811         (nautilus_view_frame_get_min_zoom_level),
8812         (nautilus_view_frame_get_max_zoom_level),
8813         (nautilus_view_frame_get_is_continuous),
8814         (nautilus_view_frame_zoom_in), (nautilus_view_frame_zoom_out),
8815         (nautilus_view_frame_zoom_to_fit), (nautilus_view_frame_get_iid),
8816         (nautilus_view_frame_get_client_objref),
8817         (nautilus_view_frame_get_objref),
8818         (nautilus_view_frame_request_location_change),
8819         (nautilus_view_frame_request_selection_change),
8820         (nautilus_view_frame_request_status_change),
8821         (nautilus_view_frame_request_progress_change),
8822         (nautilus_view_frame_notify_zoom_level), (check_object),
8823         (nautilus_view_frame_set_active_errors):
8824         * src/ntl-view.h:
8825         * src/ntl-window-msgs.c: (nautilus_window_notify_selection_change),
8826         (nautilus_window_request_selection_change),
8827         (nautilus_window_request_status_change),
8828         (nautilus_window_request_progress_change),
8829         (nautilus_window_request_title_change),
8830         (nautilus_window_update_internals), (nautilus_window_update_view),
8831         (nautilus_window_view_destroyed), (nautilus_window_load_meta_view),
8832         (nautilus_window_request_location_change),
8833         (nautilus_window_load_content_view),
8834         (nautilus_window_update_state), (nautilus_window_set_state_info),
8835         (nautilus_window_begin_location_change):
8836         * src/ntl-window-msgs.h:
8837         * src/ntl-window-private.h:
8838         * src/ntl-window.c: (zoom_in_cb), (zoom_out_cb),
8839         (nautilus_window_set_arg), (nautilus_window_send_show_properties),
8840         (view_menu_switch_views_callback),
8841         (nautilus_window_set_content_view),
8842         (nautilus_window_add_meta_view),
8843         (nautilus_window_remove_meta_view_real),
8844         (nautilus_window_remove_meta_view),
8845         (nautilus_window_request_location_change_cb),
8846         (nautilus_window_request_selection_change_cb),
8847         (nautilus_window_request_status_change_cb),
8848         (nautilus_window_request_progress_change_cb),
8849         (nautilus_window_request_title_change_callback),
8850         (nautilus_window_connect_view),
8851         (nautilus_window_connect_content_view),
8852         (nautilus_window_real_set_content_view):
8853         * src/ntl-window.h:
8854         Changed Nautilus*View classes to Nautilus*ViewFrame. This is
8855         something we had in RENAMING for some time, and it's consistent
8856         with Bonobo's naming of BonoboControl and BonoboControlFrame.
8857         Also changed interfaces to use actual BonoboControl * instead of
8858         using BonoboObject * and query_interface.
8859         
8860 2000-05-23  Gene Z. Ragan  <gzr@eazel.com>
8862         * libnautilus/nautilus-undo-context.c:
8863         * libnautilus/nautilus-undo-context.h:
8864         (impl_Nautilus_Undo_Context__get_undo_manager),
8865         (nautilus_undo_context_new), (nautilus_undo_context_initialize):
8866         Additonal work on making the undo context CORBA object.
8867         
8868         * libnautilus/nautilus-undo-manager.c:
8869         * libnautilus/nautilus-undo-manager.h:
8870         * libnautilus/nautilus-undo-manager-private.h:
8871         (impl_Nautilus_Undo_Manager__undo),
8872         (nautilus_undo_manager_initialize),
8873         (nautilus_undo_manager_add_transaction),
8874         (nautilus_undo_manager_unregister_object),
8875         (nautilus_get_undo_manager), (nautilus_attach_undo_manager),
8876         Changed APIs to accept and return Nautilus_Undo_Manager CORBA
8877         object instead of NautilusUndoManager pointer.
8879         (nautilus_undo_setup_bonobo_control):
8880         Added function stub to be filled later.  This function
8881         will attach an undo manager to a bonobo control.
8883         Removed several functions no longer needed in new design,
8884         including nautilus_undo_manager_begin_transaction(),
8885         and nautilus_undo_manager_end_transaction().
8886         
8887         * src/nautilus-window-menus.c: (edit_menu_undo_callback),
8888         (nautilus_window_initialize_menus), (update_undo_menu_item):
8889         Changed to use modified undo API
8890         
8891         * src/ntl-app.c: 
8892         (nautilus_app_init):
8893         Changed to use modified undo API
8894         
8895         * src/ntl-window.c: (nautilus_window_constructed)
8896         Changed to use modified undo API
8898 2000-05-23  Andy Hertzfeld  <andy@eazel.com>
8900         Made a preference for the anti-aliased canvas, and hooked it up so
8901         you can switch on the fly. Anti-aliased drawing is still only
8902         partially implemented, so it defaults off.
8903         
8904         * libnautilus-extensions/nautilus-global-preferences.c:
8905         (global_preferences_create_dialog),
8906         (global_preferences_register_for_ui):
8907         added a preference category "Appearance" and an entry for
8908         "smoother but slower"
8909         * libnautilus-extensions/nautilus-global-preferences.h:
8910         added NAUTILUS_PREFERENCE_ANTI_ALIASED_CANVAS
8911         * libnautilus-extensions/nautilus-icon-canvas-item.c:
8912         (draw_pixbuf_aa), (map_pixbuf), (nautilus_icon_canvas_item_draw),
8913         (nautilus_icon_canvas_item_render):
8914         made the render method draw right at different scales, partially
8915         implemented emblems
8916         * libnautilus-extensions/nautilus-icon-container.c: (destroy),
8917         (nautilus_icon_container_initialize),
8918         (nautilus_icon_container_new),
8919         (nautilus_icon_container_set_anti_aliased_mode),
8920         (click_policy_changed_callback),
8921         (anti_aliased_preferences_changed):
8922         receive notification when the anti-aliased preference changes, and
8923         update the canvas
8924         * libnautilus-extensions/nautilus-icon-container.h:
8925         added nautilus_icon_container_set_anti_aliased_mode
8926         
8927 2000-05-22  Maciej Stachowiak  <mjs@eazel.com>
8929         Completed bugzilla task 763, Test component needed for failure
8930         cases. Two new components called "Content Loser" and "Sidebar
8931         Loser" will fail on startup based on environment variables or in
8932         response to menu or toolbar items (Darin suggested using silly
8933         names, though not these specific ones).
8934         
8935         * components/loser/README: Some docs on making the new components
8936         fail.
8938         * components/loser/content/main.c,
8939         components/loser/content/nautilus-content-loser.c,
8940         components/loser/content/nautilus-content-loser.h: New content
8941         view which fails on demand.
8942         * components/loser/content/nautilus-content-loser.oafinfo: oaf
8943         activation record for it.
8945         * components/loser/sidebar/main.c,
8946         components/loser/sidebar/nautilus-sidebar-loser.c,
8947         components/loser/sidebar/nautilus-sidebar-loser.h: New sidebar
8948         panel that fails on demand.
8949         * components/loser/sidebar/nautilus-sidebar-loser.oafinfo: oaf
8950         activation record for it.
8952         * components/Makefile.am, components/loser/Makefile.am,
8953         components/loser/content/Makefile.am,
8954         components/loser/sidebar/Makefile.am, configure.in: Added loser
8955         components to build.
8957         * nautilus-clean.sh: Added loser components to nautilus-clean.sh
8959 2000-05-22  J Shane Culpepper  <pepper@eazel.com>
8961         * components/services/install/lib/eazel-install-rpm-glue.c:
8962         (install_new_packages):
8963         * configure.in:
8964         * nautilus-installer/.cvsignore:
8965         * nautilus-installer/Makefile:
8966         * nautilus-installer/Makefile.am:
8967         * nautilus-installer/helixcode-utils.c: (xml_get_value),
8968         (prune_xml), (check_for_root_user), (check_for_redhat),
8969         (determine_redhat_version), (determine_mandrake_version),
8970         (determine_turbolinux_version), (determine_suse_version),
8971         (determine_debian_version), (determine_distribution_type),
8972         (get_distribution_name):
8973         * nautilus-installer/helixcode-utils.h:
8974         * nautilus-installer/nautilus-installer.c: (show_usage),
8975         (show_license), (init_default_iopts), (init_default_topts),
8976         (create_temporary_directory), (fetch_remote_package_list), (main):
8977         Adding a simple implementation of the nautilus-installer.  Beginning
8978         of the fix for Bug # 863.  This is a statically linked command line
8979         implementation only right now.
8981 2000-05-22  Eskil Heyn Olsen  <eskil@eazel.com>
8983         * src/ntl-app.c (display_prototype_caveat): Changed to simply use
8984         a gnome_warning_dialog instead of a nautilus_simple_dialog. We
8985         loose the word wrapping though. But now the main window loads
8986         while the warning is present, plus it's a real GNOME warning box,
8987         so be afraid...
8988         (display_prototype_caveat): If NAUTILUS_NO_CAVEAT_DIALOG is set,
8989         do not display the caveat warning.
8991         * components/services/time/service/trilobite-eazel-time-service.oafinfo: 
8992         * components/services/trilobite/sample/service/trilobite-eazel-sample-service.oafinfo: 
8993         Fixed faulty tags
8994         
8995 2000-05-22  Darin Adler  <darin@eazel.com>
8997         * components/services/time/command-line/.cvsignore:
8998         Ignore some generated files.
9000         * components/services/time/service/trilobite-eazel-time-service.oafinfo: 
9001         Eskil rescued this file from the attic, but he probably won't think
9002         that's worth putting into the change log :-)
9004 2000-05-22  Darin Adler  <darin@eazel.com>
9006         Implemented Reload for directory views.
9007         
9008         * libnautilus-extensions/nautilus-directory-private.h:
9009         * libnautilus-extensions/nautilus-directory-async.c:
9010         (nautilus_directory_monitor_add_internal),
9011         (dequeue_pending_idle_callback), (cancel_directory_load),
9012         (directory_load_done),
9013         (nautilus_directory_monitor_remove_internal),
9014         (nautilus_directory_call_when_ready_internal),
9015         (mark_all_files_unconfirmed), (start_monitoring_file_list),
9016         (nautilus_directory_stop_monitoring_file_list),
9017         (nautilus_directory_force_reload):
9018         * libnautilus-extensions/nautilus-directory.c:
9019         (call_files_changed_unref_free_list),
9020         (nautilus_directory_notify_files_removed),
9021         (nautilus_directory_notify_files_moved),
9022         (nautilus_directory_file_monitor_add):
9023         * libnautilus-extensions/nautilus-file-private.h:
9024         * libnautilus-extensions/nautilus-file.c: (nautilus_file_get),
9025         (destroy), (nautilus_file_monitor_remove), (nautilus_file_delete),
9026         (nautilus_file_mark_gone), (nautilus_file_changed),
9027         (nautilus_file_emit_changed):
9028         Added the necessary tweaks to the async. I/O so we can handle
9029         a reload, not just the initial load.
9030         
9031         * libnautilus-extensions/nautilus-icon-container.h:
9032         * libnautilus-extensions/nautilus-icon-container.c:
9033         (nautilus_icon_container_add): Changed API so it will detect if
9034         you try to add the same item twice and indicate it with a return
9035         value; needed so we can handle reload.
9036         
9037         * libnautilus-extensions/nautilus-list.c: (set_single_click_mode),
9038         (update_single_click_mode_from_preferences),
9039         (nautilus_list_initialize), (click_policy_changed_callback):
9040         Fixed bug where a change in single click mode would chang the
9041         appearance of the names in the list, but not cause a redraw when
9042         the setting was changed.
9043         
9044         * libnautilus/nautilus-undoable.c:
9045         (undo_atom_destroy_callback_data), (undo_atom_destroy),
9046         (undo_atom_destroy_callback_data_g_func_cover),
9047         (nautilus_undo_register_full):
9048         Fixed a bug where it would try to destroy the undo atom even when
9049         it didn't own it.
9050         
9051         * libnautilus/nautilus-undoable.h:
9052         Got rid of some cruft I left in here by accident.
9053         
9054         * src/file-manager/fm-icon-view.c: (fm_icon_view_add_file):
9055         * src/file-manager/fm-list-view.c: (fm_list_view_add_file):
9056         Only add the files if they are not already in the list. This is
9057         needed for reload.
9058         
9059         * src/ntl-main.c: (main): Tweaked this function to be easier to
9060         understand and better organized. Also added a "desktop" option
9061         as a start for my next task.
9063 2000-05-22  Eskil Heyn Olsen  <eskil@eazel.com>
9065         * components/services/trilobite/src/trilobite-service-private.h: 
9066         * components/services/trilobite/src/trilobite-service-public.h: 
9067         * components/services/trilobite/src/trilobite-service.c:
9068         Changed for the _uri change.
9069         
9070         * components/services/trilobite/sample/service/main.c: 
9071         * components/services/trilobite/sample/command-line/main.c: 
9072         Changed for the new OAFID's.
9074         * components/services/trilobite/idl/trilobite-service.idl: 
9075         Removed the _uri from get_icon_uri
9077         * components/services/time/service/trilobite-eazel-time-service.c:
9078         Better error handling, eg. for bad urls and whatnot.
9080         * components/services/time/service/Makefile.am (pixmap_DATA): 
9081         Installs an icon for the service (now we need an icon)
9083         * components/services/time/idl/trilobite-eazel-time-service.idl: 
9084         Added two strings to the CannotGetTime exception.
9086         * components/services/time/command-line/main.c (main): 
9087         Updated to use the new oafids. Better error handling.
9089         * components/services/Makefile.am (SUBDIRS): 
9090         Added the time service
9092         * components/services/trilobite/sample/service/trilobite-eazel-sample-service.oafinfo: 
9093         * components/services/time/service/trilobite-eazel-time-service.oafinfo: 
9094         Added attributes to the oafinfo files. Also gave them some real oafids.
9095         
9096 2000-05-22  Andy Hertzfeld  <andy@eazel.com>
9098         fixed task 514, show file/folder permissions with emblems.
9099         
9100         * icons/Makefile.am:
9101         * icons/emblem-noread.png:
9102         * icons/emblem-nowrite.png:
9103         added Susan's emblems for "cant read" and "cant write"
9104         
9105         * libnautilus-extensions/nautilus-file.c:
9106         (nautilus_file_get_emblem_names):
9107         made get_emblem_names return appropriate keywords when we can't
9108         read the file or we can't write it.
9109         
9110 2000-05-22  John Sullivan  <sullivan@eazel.com>
9112         * src/ntl-app.c: (display_prototype_caveat): Tweaked
9113         wording to match Maciej & Arlo's latest agreement. 
9115 2000-05-22  John Sullivan  <sullivan@eazel.com>
9117         Put up a "Nautilus is still flaky" dialog at launch so
9118         people who obtain Nautilus some random way won't expect
9119         too much.
9121         * src/ntl-app.c: (display_prototype_caveat),
9122         (nautilus_app_startup): Put up simple text-only modal
9123         dialog at launch.
9125 2000-05-22  Andy Hertzfeld  <andy@eazel.com>
9127         first, incomplete attempt to use the anti-aliased canvas.
9128         For now, it's a compile-time flag in nautilus-icon-container to
9129         optionally enable it, and there's no text drawing in aa mode yet.
9130         
9131         * libnautilus-extensions/nautilus-icon-canvas-item.c:
9132         (nautilus_icon_canvas_item_initialize_class), (draw_pixbuf),
9133         (nautilus_icon_canvas_item_render):
9134         added a render method to draw the item in anti-aliased mode
9135         
9136         * libnautilus-extensions/nautilus-icon-container.c:
9137         (start_rubberbanding), (nautilus_icon_container_new):
9138         optionally put the canvas in anti-aliased mode if a compile-time
9139         flag is set; added code to make the selection rectangle semi-transparent
9140         in anti-aliased mode.
9141         
9142         * libnautilus-extensions/nautilus-icon-dnd.c:
9143         (nautilus_icon_dnd_begin_drag):
9144         at Arlo's suggestion, changed the alpha threshold used to compute
9145         the pixmap to drag from the pixbuf, so it doesn't look so lumpy when
9146         there's lots of information in the alpha channel
9147         
9148 2000-05-22  J Shane Culpepper  <pepper@eazel.com>
9150         * components/services/time/service/.cvsignore: Adding .cvsignore.
9152 2000-05-22  J Shane Culpepper  <pepper@eazel.com>
9154         * components/services/install/command-line/eazel-install.c:
9155         (show_usage), (main):
9157         Cosmetic fixes to the command line options.
9159 2000-05-22  Ian McKellar  <yakk@yakk.net>
9161         * libnautilus-extensions/nautilus-directory-private.h:
9162         * libnautilus-extensions/nautilus-directory.c:
9163         (nautilus_directory_new), (nautilus_directory_is_local):
9164         * libnautilus-extensions/nautilus-directory.h:
9165         * libnautilus-extensions/nautilus-file.c: (nautilus_file_is_local):
9166         * libnautilus-extensions/nautilus-file.h:
9167         Added nautilus_directory_is_local and nautilus_file_is_local.
9169         * libnautilus-extensions/nautilus-global-preferences.c:
9170         (global_preferences_create_dialog),
9171         (global_preferences_register_for_ui):
9172         * libnautilus-extensions/nautilus-global-preferences.h:
9173         Added a preference to specify whether to display detailed remote
9174         views.
9176         * libnautilus-extensions/nautilus-directory-async.c:
9177         (state_changed):
9178         * libnautilus-extensions/nautilus-icon-factory.c:
9179         (nautilus_icon_factory_get_icon_for_file):
9180         Only download top left text if the file is local or if
9181         the user has specified that they want detailed remote views.
9183 2000-05-21  Andy Hertzfeld  <andy@eazel.com>
9185         * libnautilus-extensions/nautilus-icon-factory.c:
9186         (make_thumbnail_path):
9187         fixed bad bug introduced a few days ago that made thumbnailing no longer work - it was
9188         appending ".png" to directory names.
9189         * libnautilus-extensions/nautilus-graphic-effects.c:
9190         (nautilus_draw_frame):
9191         made the thumbnail frame drop shadow lighter
9192         
9193 2000-05-21  Andy Hertzfeld  <andy@eazel.com>
9195         * components/music/nautilus-music-view.c: (get_song_text):
9196         fixed a crash in the music view due to uninitialized variables that occured when
9197         the album name was not present.
9198         
9199 2000-05-21  J Shane Culpepper  <pepper@eazel.com>
9201         * components/services/install/command-line/Makefile.am:
9202         * components/services/install/lib/Makefile.am:
9203         * components/services/install/lib/eazel-install-protocols.c:
9204         (http_fetch_remote_file):
9205         * components/services/install/lib/eazel-install-protocols.h:
9206         * components/services/install/lib/eazel-install-rpm-glue.c:
9207         (install_new_packages):
9208         * components/services/install/lib/eazel-install-rpm-glue.h:
9210         Added async http fetches of remote files.  Fix for bug # 810.
9212 2000-05-21  J Shane Culpepper  <pepper@eazel.com>
9214         * components/services/install/lib/eazel-install-rpm-glue.c:
9215         (install_new_packages), (uninstall_packages), (do_rpm_install),
9216         (do_rpm_uninstall), (rpm_uninstall): Adding uninstall depend checks.
9217         More fixes for Bug # 731. Added a few minor tweaks to the rpm install
9218         functions.
9220 2000-05-21  Ettore Perazzoli  <ettore@helixcode.com>
9222         * components/html/ntl-web-browser.c: Updated for latest GtkHTML
9223         API that uses `GtkHTMLStream *' instead of `GtkHTMLStreamHandle'.
9224         (browser_goto_url_real): No need to pass the url to
9225         `gtk_html_begin()' anymore.  Also, call the
9226         `browser_url_requested()' signal explicitly because
9227         "url_requested" is not emitted by `gtk_html_begin()' anymore.
9229 2000-05-21  Ettore Perazzoli  <ettore@helixcode.com>
9231         * components/notes/Makefile.am (INCLUDES): Add
9232         `-I$(top_builddir)/libnautilus'.
9234 2000-05-20  Andy Hertzfeld  <andy@eazel.com>
9236         * components/music/mpg123_handler.c: (sigchld_handler),
9237         (start_playing_file), (stop_playing_file):
9238         * components/music/nautilus-music-view.c: (selection_callback),
9239         (update_play_controls_status), (reset_playtime),
9240         (play_status_display), (go_to_next_track), (slider_moved_callback),
9241         (xpm_dual_label_box), (add_play_controls):
9242         pretty much finished up playing in the music view.  Made it reflect
9243         play and pause status, advance to the next track when a song is completed,
9244         and terminate at the end of the last song.  Made clicking on a new song
9245         while playing work properly.
9246         
9247         * components/music/pixmaps.h:
9248         added colored play and pause images to reflect status
9250 2000-05-20  J Shane Culpepper  <pepper@eazel.com>
9252         * components/services/install/command-line/eazel-install.c: (main):
9253         fixed the package list generation routine.  It was corrupting the
9254         eazel-services-config.xml file instead of creating a package-list.xml.
9255         * components/services/install/lib/eazel-install-rpm-glue.c:
9256         (install_new_packages), (rpm_show_progress), (do_rpm_install),
9257         (rpm_install): Found the magic function rpmRunTransactions that allows
9258         me to check for dependancies and get a progress callback without having
9259         to hack rpmlib like helixcode did.  These functions need to be cleaned
9260         up because they are too long but they work very well.
9261         This is part of the fix of Bug # 731.  Need to clean up the uninstall
9262         routine now as well using rpmRunTransactions instead of rpmErase.
9264 2000-05-20  Andy Hertzfeld  <andy@eazel.com>
9266         * components/music/mpg123_handler.c: (get_play_status),
9267         (get_current_frame), (set_current_frame), (parse_header_info):
9268         * components/music/mpg123_handler.h:
9269         * components/music/nautilus-music-view.c:
9270         (nautilus_music_view_initialize), (get_song_text),
9271         (music_view_set_selected_song_title), (play_status_display),
9272         (play_current_file), (stop_if_playing), (go_to_next_track),
9273         (go_to_previous_track), (play_button_callback),
9274         (prev_button_callback), (next_button_callback),
9275         (slider_press_callback), (slider_moved_callback),
9276         (slider_release_callback), (add_play_controls),
9277         (nautilus_music_view_update_from_uri):
9278         
9279         made all of the play command buttons in the music view work correctly, although
9280         they still don't give play state feedback by hilighting properly.  Also, added a
9281         timeout task, removed the volume slider and made the play time slider work.
9282         
9283 2000-05-19  Ettore Perazzoli  <ettore@helixcode.com>
9285         * libnautilus/Makefile.am (INCLUDES): Add `-I.' so that it works
9286         with builddir != srcdir.
9288         * libnautilus-extensions/Makefile.am (INCLUDES): Add
9289         `-I$(top_builddir)/libnautilus' that it works with builddir !=
9290         srcdir.  [This module needs generated include files from the
9291         builddir.]
9292         * src/Makefile.am (INCLUDES): Likewise.
9294 2000-05-20  Andy Hertzfeld  <andy@eazel.com>
9296         After Maciej's checkin, I didn't kill oafd so I was getting OAFIIDs as sidebar panel labels.
9297         We should never show the user OAFIIDs, even as a fallback, so I added a little code
9298         to clean them up before displaying them.
9299         * libnautilus-extensions/nautilus-view-identifier.c:
9300         (nautilus_view_identifier_new_from_oaf_server_info):
9302 2000-05-19 Andy Hertzfeld  <andy@eazel.com>
9304         * components/music/mpg123_handler.c: (parse_header_info),
9305         (start_playing_file), (stop_playing_file), (pause_playing_file):
9306         * components/music/mpg123_handler.h:
9307         * components/music/nautilus-music-view.c: (selection_callback),
9308         (play_button_callback), (stop_button_callback),
9309         (pause_button_callback):
9310         made basic playing from the music view work.  The play, stop and pause button
9311         now work, but there's still a lot more refinement necessary
9312         
9313 2000-05-19  Maciej Stachowiak  <mjs@eazel.com>
9315         Fix bugzilla tasks #599 (hex number is bad default for meta view
9316         names) and #631 (nead oaf query to determine metaviews).
9318         * libnautilus-extensions/nautilus-view-identifier.h,
9319         libnautilus-extensions/nautilus-view-identifier.c:
9320         (nautilus_view_identifier_new, get_lang_list,
9321         nautilus_view_identifier_new_from_oaf_server_info,
9322         nautilus_view_identifier_free): Moved NautilusViewIdentifier code
9323         here from ntl-uri-map.[ch].
9324         (nautilus_view_identifier_new_from_content_view),
9325         (nautilus_view_identifier_new_from_sidebar_panel),
9326         (nautilus_view_identifier_free_callback),
9327         (nautilus_view_identifier_free_list): New functions.
9328         * libnautilus-extensions/Makefile.am: Add
9329         nautilus-view-identifier.[ch] to build.
9330         * src/ntl-types.h: Removed typedef for NautilusViewIdentifier.
9332         * libnautilus-extensions/nautilus-glib-extensions.h:
9333         * libnautilus-extensions/nautilus-glib-extensions.c
9334         (nautilus_g_list_free_deep_custom): New function, like
9335         `nautilus_g_list_free_deep' but lets you pass your own free
9336         function.
9337         (nautilus_g_list_free_deep): Use `nautilus_g_list_free_deep_custom'
9338         (nautilus_g_list_partition): New function to destructively
9339         partition a GList into two, depending on whether they satisfy the
9340         provided predicate or not.
9341         (nautilus_test_predicate), (nautilus_self_check_glib_extensions):
9342         Added unit tests for `nautilus_g_list_partition' and for
9343         `nautilus_g_list_equal' since the `nautilus_g_list_partition'
9344         tests rely on it.
9345         * libnautilus-extensions/nautilus-directory.c:
9346         (nautilus_directory_notify_files_moved): Use
9347         `nautilus_g_list_free_deep_custom'.
9348         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c
9349         (nautilus_gdk_pixbuf_list_free): Likewise.
9350         * libnautilus-extensions/nautilus-icon-factory.c
9351         (nautilus_scalable_icon_list_free): Likewise.
9352         * libnautilus-extensions/nautilus-string-list.c
9353         (nautilus_string_list_clear): Likewise.
9354         * nautilus-widgets/nautilus-preferences.c (pref_hash_node_free,
9355         prefs_hash_lookup_with_implicit_registration): Likewise.
9356         
9357         * libnautilus-extensions/nautilus-global-preferences.c,
9358         libnautilus-extensions/nautilus-global-preferences.h
9359         (global_preferences_create_dialog,
9360         nautilus_global_preferences_get_sidebar_panel_view_identifiers,
9361         nautilus_global_preferences_get_meta_view_iids,
9362         nautilus_preferences_register_meta_view_preferences_for_ui,
9363         global_preferences_register_for_ui): Change things around to
9364         determine the set of sidebar panel prefs at run time, and to pass
9365         around NautilusViewIdentifiers rather than just iid strings so we
9366         can use the statically defined name in the oafinfo.
9368         * src/ntl-uri-map.h, src/ntl-uri-map.c: (set_initial_content_iid,
9369         got_file_info_callback, sidebar_panel_preference_is_on,
9370         (add_sidebar_panel_identifiers, nautilus_navigation_info_free):
9371         Changed things around to better handle sidebar panel (AKA meta
9372         view) selection, and pass around both name and iid.
9374         * src/ntl-window-msgs.c:
9375         (nautilus_window_request_selection_change,
9376         nautilus_window_has_really_changed,
9377         nautilus_window_load_meta_view, nautilus_window_update_state,
9378         nautilus_window_set_state_info): Fixed everything to pass around
9379         ViewIdentifiers instead of iids for sidebar panels and set the
9380         label approrpiately when activating; replaced a whole bunch of
9381         GSList usage with GList (we can always optimize this stuff later).
9382         * src/ntl-window.h, src/ntl-window.c: (nautilus_window_destroy,
9383         nautilus_window_load_content_view_menu,
9384         nautilus_window_set_content_view, nautilus_window_add_meta_view,
9385         nautilus_window_remove_meta_view_real,
9386         nautilus_window_remove_meta_view): Deal with the above changes
9387         (mostly GSList -> GList changes).
9389         * src/ntl-view-bonobo-control.c, src/ntl-view-bonobo-subdoc.c,
9390         src/ntl-view-nautilus.c, src/ntl-view-private.h: Remove all
9391         get_label related calls since we get that from the oafinfo now.
9392         * libnautilus/nautilus-meta-view-frame.h,
9393         libnautilus/nautilus-meta-view-frame.c:
9394         (nautilus_meta_view_frame_initialize,
9395         nautilus_meta_view_frame_new_from_bonobo_control,
9396         nautilus_meta_view_frame_destroy): Remove
9397         `nautilus_meta_view_frame_set_label' machinery and associated
9398         machinery since we now get the label statically from the oafinfo.
9399         * components/history/ntl-history-view.c: (make_obj): Don't call
9400         `nautilus_meta_view_frame_set_label' any more, the label is now
9401         statically determined from the oafinfo file.
9402         * components/notes/ntl-notes.c: (make_notes_view): Likewise.
9403         * components/websearch/ntl-web-search.c: (make_obj): Likewise.
9404         * components/help/hyperbola-nav-index.c: Likewise.
9405         (hyperbola_navigation_index_new): Likewise.
9406         * components/help/hyperbola-nav-search.c: Likewise.
9407         (hyperbola_navigation_search_new): Likewise.
9408         * components/help/hyperbola-nav-tree.c: Likewise.
9409         (hyperbola_navigation_tree_new): Likewise.
9410         * src/ntl-meta-view.h, src/ntl-meta-view.c:
9411         (nautilus_meta_view_set_label),
9412         (nautilus_meta_view_get_label): Have an explicit value to set,
9413         rather than trying to get it through CORBA. This is kind of a
9414         hack, really we should pass around a label and a NautilusMetaView
9415         separately and remove this stuff.
9416         * components/help/hyperbola.oafinfo,
9417         components/notes/ntl-notes.oafinfo,
9418         components/websearch/ntl-web-search.oafinfo,
9419         components/history/ntl-history-view.oafinfo: Updated to include
9420         latest Nautilus attributes.
9421         
9422 2000-05-19  Andy Hertzfeld  <andy@eazel.com>
9424         * components/music/Makefile.am:
9425         * components/music/mpg123_handler.c: (sigchld_handler),
9426         (parse_header_info), (parse_frame_info), (stop_data),
9427         (song_finished), (parse_pipe_buffer), (check_pipe_for_data),
9428         (read_data), (start_playing_file), (stop_playing_file),
9429         (do_mpg123_pause):
9430         * components/music/mpg123_handler.h:
9431         * components/music/nautilus-music-view.c: (selection_callback),
9432         (play_button_callback), (stop_button_callback),
9433         (pause_button_callback), (prev_button_callback),
9434         (next_button_callback), (add_play_controls):
9435         added playing code to the music view, but it's still not working
9436         so it's disabled
9437         
9438 2000-05-19  Eskil Heyn Olsen  <eskil@eazel.com>
9440         * configure.in:
9441         added the components/services/time/ makefiles
9443         * components/services/time/service/trilobite-eazel-time-service.oafinfo: 
9444         Fixed the horribly cut'n'paste errors.
9446         * components/services/time/service/trilobite-eazel-time-service-public.h:
9447         Stripped some superflous stuff from the TrilobiteEazelTimeService
9448         structure.
9450         * components/services/time/command-line/main.c (main): 
9451         Implemented the basic cli for the time service
9453         * components/services/time/idl/trilobite-eazel-time-service.idl: 
9454         The check_time now returns the difference instead of a bool. If
9455         diff != 0, your clock is wrong (or the server is).
9457         * components/services/time/command-line/Makefile.am:
9458         Lot of juju to make the time service cli work
9460         * components/services/trilobite/src/trilobite-service.c
9461         (trilobite_service_create_corba_object): Uncommented some
9462         more g_message noise
9464         * components/services/trilobite/src/libtrilobited.h: 
9465         Now assuming the libtrilobited headers are in libtrilobite/, not
9466         libtrilobited/
9468         * components/services/trilobite/sample/command-line/Makefile.am: 
9469         Some idl compiling rearranging.
9471 2000-05-19  Gene Z. Ragan  <gzr@eazel.com>
9472         
9473         * libnautilus/nautilus-undo-context.c:
9474         * libnautilus/nautilus-undo-context.h:
9475         (impl_Nautilus_Undo_Context__destroy),
9476         (impl_Nautilus_Undo_Context__create),
9477         (impl_Nautilus_Undo_Context__get_undo_manager),
9478         (nautilus_undo_context_new), (nautilus_undo_context_initialize),
9479         (nautilus_undo_context_initialize_class), (destroy):
9480         GTK and CORBA object that acts as interface to an undo manager.
9481         
9482         * libnautilus/Makefile.am:
9483         Added entries for new NautilusUndoContext files. 
9484         
9485         * libnautilus/nautilus-undo-manager.c:          
9486         (impl_Nautilus_Undo_Manager__forget), (nautilus_undo_manager_undo),
9487         (nautilus_undo_manager_unregister_object),
9488         (get_current_transaction_name), (free_undo_manager_list_data),
9489         (prune_undo_manager_list):
9490         Removed all references to NautilusUndoTransaction and changed them to use
9491         the Nautilus_Undo_Transaction CORBA object instead.
9493 2000-05-19  Darin Adler  <darin@eazel.com>
9495         * components/services/trilobite/sample/command-line/.cvsignore:
9496         * components/services/trilobite/sample/service/.cvsignore:
9497         File name changes.
9498         
9499         * libnautilus-extensions/nautilus-directory.c:
9500         (nautilus_directory_file_monitor_add),
9501         (nautilus_self_check_directory):
9502         * libnautilus-extensions/nautilus-directory.h:
9503         * src/file-manager/fm-directory-view.c: (finish_loading_uri):
9504         Added reload interface.
9505         
9506         * libnautilus/nautilus-undoable.c: (nautilus_undo_register),
9507         (undo_atom_destroy), (undo_atom_destroy_notify_cover),
9508         (undo_atom_destroy_g_func_cover), (save_callback),
9509         (restore_callback), (nautilus_undo_register_full),
9510         (nautilus_undo_unregister), (nautilus_undo):
9511         * libnautilus/nautilus-undoable.h:
9512         Implemented new simplified Undo API.
9513         
9514         * libnautilus-extensions/nautilus-entry.c:
9515         (nautilus_entry_initialize), (nautilus_entry_destroy),
9516         (nautilus_entry_key_press), (nautilus_entry_changed),
9517         (register_edit_undo), (update_undo_text),
9518         (restore_from_undo_snapshot_callback),
9519         (nautilus_entry_enable_undo):
9520         * libnautilus-extensions/nautilus-icon-container.c:
9521         (hide_rename_widget):
9522         * libnautilus-extensions/nautilus-icon-text-item.c: (iti_event),
9523         (register_rename_undo), (restore_from_undo_snapshot_callback):
9524         * src/nautilus-bookmarks-window.c: (on_window_delete_event):
9525         * src/nautilus-location-bar.c: (destroy):
9526         Use new simplified Undo API.
9527         
9528         * libnautilus/nautilus-undo-manager.h:
9529         Remove UNDO_MANAGER_NAME, which is no longer used.
9530         
9531         * src/file-manager/fm-icon-view.c:
9532         (icon_position_changed_callback): Fixed a bad g_free that was
9533         cause seg faults when you resized an icon.
9534         
9535 2000-05-19  John Sullivan  <sullivan@eazel.com>
9537         Finished task 174 (make "Open in new window" preference
9538         sensible)
9540         * libnautilus-extensions/nautilus-global-preferences.c:
9541         (global_preferences_create_dialog), 
9542         (global_preferences_register_for_ui): Consolidated "Window
9543         Options" pane & "Click Policy" pane into new "Directory 
9544         Views" pane, to make it clear that these preferences apply 
9545         just to directory views. Also removed unimplemented "use 
9546         existing window for same location" preference that is not 
9547         in our plans. Tweaked wording a little.
9549         * libnautilus-extensions/nautilus-global-preferences.h:
9550         * libnautilus-extensions/nautilus-icon-canvas-item.c:
9551         (in_single_click_mode): New function, checks preference.
9552         (draw_or_measure_label_text): Don't draw underlines on icons
9553         if we're not in single-click mode.
9555 2000-05-19  John Sullivan  <sullivan@eazel.com>
9557         A few tweaks to this new class inspired by Darin's
9558         review.
9560         * libnautilus-extensions/nautilus-keep-last-vertical-box.c:
9561         (nautilus_keep_last_vertical_box_new): More comments.
9562         (nautilus_keep_last_vertical_box_size_allocate): More comments.
9563         Also now handles the case where the last item doesn't fit
9564         even all by itself by moving & shrinking it to fit. Previously 
9565         the last item would be left at its original position & size in 
9566         this case.
9568 2000-05-19  Gene Z. Ragan  <gzr@eazel.com>
9570         More undo framework work.  Still incomplete.
9571         
9572         * libnautilus-extensions/nautilus-entry.c:
9573         (nautilus_entry_changed):
9574         Modified to use new undo manager location API
9575         
9576         * libnautilus-extensions/nautilus-icon-text-item.c: 
9577         (iti_event),
9578         (restore_from_undo_snapshot_callback):
9579         Modified to use new undo manager location API
9581         * libnautilus/nautilus-undo-manager.c:
9582         * libnautilus/nautilus-undo-manager.h:
9583         (impl_Nautilus_Undo_Manager__create),
9584         (impl_Nautilus_Undo_Manager__append),
9585         (impl_Nautilus_Undo_Manager__forget),
9586         (nautilus_undo_manager_begin_transaction),
9587         (nautilus_undo_manager_end_transaction),
9588         (nautilus_undo_manager_undo), (nautilus_undo_manager_redo),
9589         (nautilus_undo_manager_add_transaction),
9590         (nautilus_undo_manager_unregister_object),
9591         (free_undo_manager_list_data), (prune_undo_manager_list):
9592         Modified to use new API and Undo::Manager::Transaction 
9594         * libnautilus/nautilus-undo-transaction.c:
9595         * libnautilus/nautilus-undo-transaction.h:
9596         (impl_Nautilus_Undo_Transaction__destroy),
9597         (impl_Nautilus_Undo_Transaction__create),
9598         (impl_Nautilus_Undo_Transaction__get_undo_description),
9599         (impl_Nautilus_Undo_Transaction__get_redo_description),
9600         (impl_Nautilus_Undo_Transaction__get_base_description),
9601         (impl_Nautilus_Undo_Transaction__undo),
9602         (nautilus_undo_transaction_new),
9603         (nautilus_undo_transaction_initialize),
9604         (nautilus_undo_transaction_destroy),
9605         (nautilus_undo_transaction_initialize_class),
9606         (nautilus_undo_transaction_undo),
9607         (nautilus_undo_transaction_contains_object):
9608         Added support for new Undo::Manager::Transaction object
9610 2000-05-19  Ali Abdin  <aliabdin@aucegypt.edu>
9612         * components/help/converters/gnome-db2html2/gdb3html.c:
9613         (main): Fixed a typo - This fixed BUG #930
9615         * components/help/converters/gnome-info2html2/main.c:
9616         (main): Fixed it to it looks in /usr/info always and then any
9617         other fir found in the INFOPATH variable - Fixes bug #934 but
9618         there is a suggestion in there I think should be implemented
9619         (since I wrote it - DOH!).
9621 2000-05-19  Andy Hertzfeld  <andy@eazel.com>
9623         * components/music/nautilus-music-view.c:
9624         (nautilus_music_view_initialize), (get_song_text),
9625         (music_view_set_selected_song_title), (selection_callback),
9626         (sort_by_bitrate), (sort_song_list), (add_play_controls),
9627         (nautilus_music_view_update_from_uri):
9628         fixed bug where sorting by time was wrong because I added the bitrate column,
9629         added sorting by bitrate,
9630         more work on the play controls, but they don't actually play yet
9631         
9632 2000-05-18  Eskil Heyn Olsen  <eskil@eazel.com>
9634         * components/services/trilobite/sample/command-line/Makefile.am:
9635         * components/services/trilobite/sample/command-line/main.c: 
9636         Did some nautilus to trilobite renaming.
9638         * components/services/time/service/trilobite-eazel-time-service.oafinfo: 
9639         * components/services/time/service/main.c: 
9640         * components/services/time/service/trilobite-eazel-time-service-public.h:
9641         * components/services/time/service/trilobite-eazel-time-service-private.h: 
9642         * components/services/time/service/trilobite-eazel-time-service.c:
9643         * components/services/time/service/Makefile.am:
9644         * components/services/time/idl/trilobite-eazel-time-service.idl: 
9645         Added the first stuff for the time service
9647         * components/services/trilobite/src/trilobite-service.c: 
9648         removed some g_messages
9650         * components/services/trilobite/sample/service/sample-service-public.h (struct _SampleService):
9651         removed superflous element servant;
9653         * components/services/trilobite/sample/service/sample-service-impl.c: 
9654         Added a lot of comments for educational purpose. Also changed
9655         the parent class pointer to be of type BonoboObjectClass.
9657         * components/services/trilobite/sample/service/main.c: 
9658         Did some nautilus to trilobite renaming.
9660         * components/services/trilobite/sample/service/Makefile.am:
9661         Did some nautilus to trilobite renaming.
9663 2000-05-19  Yukihiro Nakai <nakai@gnome.gr.jp>
9665         * configure.in: Add Japanese from Akira Tagoh.
9667 2000-05-18  John Sullivan  <sullivan@eazel.com>
9669         Finished task 598 (Command button layout should account
9670         for window height)
9672         * libnautilus-extensions/nautilus-keep-last-vertical-box.h,
9673         * libnautilus-extensions/nautilus-keep-last-vertical-box.c:
9674         New files, subclass of GtkVBox that truncates contents to
9675         fit, except last item which is always kept. (GtkVBox in the
9676         same situation just merrily places its child widgets outside
9677         of its allocation.)
9678         * libnautilus-extensions/Makefile.am: Build the new files.
9680         * src/ntl-index-panel.c: 
9681         (make_button_box): Use NautilusKeepLastVerticalBox so only
9682         as many command buttons appear as fit, and the "Open with ..."
9683         button always appears; also embed this box in a GtkHBox to
9684         get horizontal sizing the way we want it.
9685         (add_command_buttons): Add (not yet active) "Open with ..."
9686         button.
9687         (nautilus_index_panel_update_buttons): Throw away the
9688         GtkHBox containing the button box instead of the button
9689         box itself.
9691 2000-05-18  Andy Hertzfeld  <andy@eazel.com>
9693         * components/music/nautilus-music-view.c: (extract_initial_number),
9694         (fetch_song_info):
9695         put in heuristic to grab the track number from the beginning of
9696         the file name if it's present there and not encoded in the id3 tag
9697         
9698 2000-05-18  Andy Hertzfeld  <andy@eazel.com>
9700         * libnautilus-extensions/nautilus-graphic-effects.c,h:
9701         (nautilus_draw_frame):
9702         added routine to draw a frame with a drop-shadow into a pixbuf
9703         * libnautilus-extensions/nautilus-icon-factory.c:
9704         (make_thumbnail_path), (nautilus_icon_factory_make_thumbnails):
9705         at Arlo's suggestion, made thumbnails have drop shadows.  Enhanced
9706         the routine that was drawing the frame and moved it into graphic
9707         effects.  Also, fixed an embarrasing bug where thumbnails for
9708         non-png images were being stored in weird directories with the
9709         proper extension.
9710         
9711 2000-05-18  Darin Adler  <darin@eazel.com>
9713         * libnautilus/Makefile.am:
9714         * src/file-manager/Makefile.am:
9715         Eskil showed me how to fix these so they'd work when orbit-idl
9716         was not in the path at compile time.
9718 2000-05-18  Darin Adler  <darin@eazel.com>
9720         * HACKING: Change format to make popt "pop" out more.
9721         
9722         * libnautilus-extensions/nautilus-entry.h:
9723         * src/file-manager/fm-properties-window.c: (create_basic_page):
9724         * src/nautilus-bookmarks-window.c: (on_text_field_focus_in_event),
9725         (on_window_delete_event):
9726         * src/nautilus-location-bar.c: (nautilus_location_bar_enable_undo):
9727         * src/nautilus-location-bar.h:
9728         * src/nautilus-window-menus.c: (edit_menu_undo_callback),
9729         (bookmarks_menu_add_bookmark_callback),
9730         (bookmarks_menu_edit_bookmarks_callback),
9731         (get_or_create_bookmarks_window), (nautilus_bookmarks_exiting),
9732         (edit_bookmarks), (nautilus_window_initialize_menus),
9733         (update_undo_menu_item):
9734         * src/ntl-app.c: (nautilus_app_init), (nautilus_app_destroy):
9735         * libnautilus-extensions/nautilus-icon-container.c:
9736         (nautilus_icon_container_start_renaming_selected_item):
9737         * libnautilus-extensions/nautilus-entry.c:
9738         (nautilus_entry_key_press), (nautilus_entry_enable_undo):
9739         * libnautilus/nautilus-undo-manager.c:
9740         (nautilus_undo_manager_begin_transaction),
9741         (nautilus_undo_manager_unregister_object),
9742         (prune_undo_manager_list), (nautilus_get_undo_manager),
9743         (nautilus_attach_undo_manager), (nautilus_share_undo_manager):
9744         * libnautilus/nautilus-undo-manager.h:
9745         * src/ntl-window-private.h:
9746         * src/ntl-window.c: (nautilus_window_constructed),
9747         (nautilus_window_real_set_content_view),
9748         (nautilus_window_get_undo_manager):
9749         * src/ntl-window.h:
9750         Got rid of the undo manager parameter for the enable_undo
9751         operation.
9752         Eliminated code that sets up the undo manager except for the top
9753         widgets. We only need it attached to windows and to the top widget
9754         in each component.
9755         Change callers to get the undo manager in a few simple ways
9756         instead of calling gtk_object_get_data directly. Added some calls
9757         to attach the undo manager to an arbitrary object.
9758         
9759         * libnautilus/nautilus-undo.idl: Added comments to the IDL and
9760         also added the Undo::Context class.
9761         
9762         * libnautilus/nautilus-view-component.idl: Removed the dependency
9763         on the undo IDL and the undo_manager attribute.
9764         
9765         * src/nautilus-bookmarks-window.h:
9766         * src/nautilus-bookmarks-window.c: (create_bookmarks_window):
9767         Changed interface to take object to inherit the undo manager from
9768         instead of the undo manager itself. Got rid of unnecesary undo
9769         manager setting.
9770         (nautilus_bookmarks_window_save_geometry): Also changed interface
9771         to use GtkWindow instead of GtkWidget.
9772         
9773 2000-05-18  John Sullivan  <sullivan@eazel.com>
9775         Added the ability to switch sort order in Icons view. Note
9776         that one time while developing this I saw a problem at startup
9777         where the icons all danced back and forth a few pixels forever.
9778         I can't reproduce this, so I don't think my changes caused it,
9779         but be wary of the evil jig-dancing icons.
9781         * libnautilus-extensions/nautilus-metadata.h:
9782         Added #define for icon view sort direction.
9783         
9784         * src/file-manager/fm-icon-view.c: 
9785         Added sort_reversed to FMIconViewDetails;
9786         (update_layout_menus): Set sensitivity of "Ascending"/"Descending"
9787         menu items appropriately, and activate the right one.
9788         (set_sort_reversed), (get_sort_reversed_from_menu_path),
9789         (sort_direction_callback): New functions used for setting
9790         the sort direction.
9791         (fm_icon_view_begin_loading): Read sort direction from metadata.
9792         (fm_icon_view_merge_menus): Add sort-direction menu items to 
9793         Layout menu.
9794         (icon_container_compare_icons_callback): Take sort direction
9795         into account.
9797 2000-05-18  Andy Hertzfeld  <andy@eazel.com>
9799         * components/music/Makefile.am:
9800         * components/music/nautilus-music-view.c:
9801         (nautilus_music_view_initialize), (format_play_time),
9802         (button_callback), (slider_press_callback),
9803         (slider_moved_callback), (slider_release_callback),
9804         (volume_callback), (xpm_label_box), (add_play_controls),
9805         (nautilus_music_view_update_from_uri):
9806         added a "bitrate" column to the music view, started adding 
9807         the play controls, but not yet finished, so they're 
9808         disabled for now
9809         * components/music/pixmaps.h:
9810         some inline images for the buttons
9811                 
9812 2000-05-17  Eskil Heyn Olsen  <eskil@eazel.com>
9814         * components/services/trilobite/sample/service/sample-service-impl.c:
9815         Added a bug for the destroyer
9817         * components/services/trilobite/sample/service/main.c:
9818         the trilobite creating now uses gtk_object_new to
9819         set the name, version and such.
9821         * components/services/trilobite/src/trilobite-service-public.h
9822         * components/services/trilobite/src/trilobite-service.c:
9823         defined a set of set_* methods for the name, version
9824         and friends. Also added gtk_arg stuff to trilobite for
9825         these fields. The default of these is now NULL. Had to
9826         restructure the _initialize call to make gtk_object_new
9827         work.
9829 2000-05-17  Pavel Cisler  <pavel@eazel.com>
9831         * src/file-manager/dfos-xfer.c: (fs_xfer), (fs_move_to_trash):
9832         Fixed 636 -  don't allow copying into Trash. Also added 
9833         checks for Trashing the Trash, moving or copying the Trash,
9834         Trashing the parents of Trash, moving and copying folders in 
9835         their children.
9837         * libnautilus-extensions/nautilus-icon-dnd.c:
9838         (nautilus_icon_container_selection_items_local):
9839         Fix 625: move uri_is_parent into a new call in GnomeVFS and 
9840         added more features that I needed for the above fix.
9842 2000-05-17  Ramiro Estrugo  <ramiro@eazel.com>
9844         * nautilus-widgets/nautilus-caption-table.c:
9845         (nautilus_caption_table_resize), (nautilus_caption_table_new):
9846         * nautilus-widgets/nautilus-caption-table.h:
9847         Make the resize function public.
9848         
9849 2000-05-17  John Sullivan  <sullivan@eazel.com>
9851         * src/ntl-index-panel.c: (make_button_box),
9852         (nautilus_index_panel_initialize), (add_command_buttons):
9853         A little widget-packing tweaking with the command buttons.
9854         It's not right yet, but I want to check this in so I can
9855         work on it later from home.
9857 2000-05-17  Andy Hertzfeld  <andy@eazel.com>
9859         * components/music/nautilus-music-view.c: (selection_callback),
9860         (release_song_info), (is_mp3_file), (read_id_tag),
9861         (scan_for_header), (fetch_bit_rate), (fetch_play_time),
9862         (format_play_time), (fetch_song_info),
9863         (nautilus_music_view_update_from_uri):
9864         fixed bug 722, music view should use gnome-vfs for all file operations,
9865         by rewriting the above routines to use gnome-vfs
9866         
9867 2000-05-17  Gene Z. Ragan  <gzr@eazel.com>
9869         First phase of modifying undo code.  These changes
9870         affect the way undo is handled internally to Nautilus and
9871         also defines a new IDL.  This is work in progress.
9872         
9873         * libnautilus-extensions/nautilus-entry.c:
9874         Modified to use gtk_object_get_data() mechanism to locate undo manager
9876         * libnautilus-extensions/nautilus-icon-container.c:
9877         (nautilus_icon_container_start_renaming_selected_item):
9878         Modified to use gtk_object_get_data() mechanism to locate undo manager
9879         
9880         * libnautilus-extensions/nautilus-icon-text-item.c: (iti_event),
9881         (restore_from_undo_snapshot_callback):
9882         Modified to use gtk_object_get_data() mechanism to locate undo manager
9884         * libnautilus/.cvsignore:
9885         Added generated IDL source and header files to ignore
9886         
9887         * libnautilus/Makefile.am:
9888         Modified makefile to include new IDL file for undo manager
9889         
9890         * libnautilus/nautilus-undo-manager.c:
9891         (impl_Nautilus_Undo_Manager__destroy),
9892         (impl_Nautilus_Undo_Manager__create),
9893         (impl_Nautilus_Undo_Manager__append),
9894         (impl_Nautilus_Undo_Manager__forget),
9895         (nautilus_undo_manager_initialize),
9896         (nautilus_undo_manager_initialize_class),
9897         (nautilus_undo_manager_begin_transaction),
9898         (nautilus_undo_manager_end_transaction),
9899         (nautilus_undo_manager_undo), (nautilus_undo_manager_redo),
9900         (nautilus_undo_manager_add_transaction),
9901         (nautilus_undo_manager_unregister_object),
9902         (nautilus_undo_manager_can_undo), (nautilus_undo_manager_can_redo),
9903         (get_current_transaction_name),
9904         (nautilus_undo_manager_get_current_undo_transaction_name),
9905         (nautilus_undo_manager_get_current_redo_transaction_name),
9906         (destroy), (nautilus_undo_manager_enable_redo),
9907         (nautilus_undo_manager_set_queue_depth),
9908         (free_undo_manager_list_data), (prune_undo_manager_list):
9909         Changes to support new IDL and new undo manager mechanism.
9910         
9911         * libnautilus/nautilus-undo.idl:
9912         New undo manager IDL file
9914         * libnautilus/nautilus-undo-manager-component.idl:
9915         Removed old undo manager IDL file
9916         
9917         * src/file-manager/fm-properties-window.c: 
9918         (create_basic_page):
9919         Modified to use gtk_object_get_data() mechanism to locate undo manager
9920         
9921         * src/nautilus-bookmarks-window.c: 
9922         (create_bookmarks_window),
9923         (on_text_field_focus_in_event), 
9924         (on_window_delete_event):
9925         Modified to use gtk_object_get_data() mechanism to locate undo manager
9926         
9927         * src/nautilus-location-bar.c:
9928         (nautilus_location_bar_set_location),
9929         (nautilus_location_bar_enable_undo):
9930         Modified to use gtk_object_get_data() mechanism to locate undo manager
9931         
9932         * src/nautilus-window-menus.c: 
9933         (edit_menu_undo_callback),
9934         (edit_menu_cut_callback), 
9935         (bookmarks_menu_edit_bookmarks_callback),
9936         (get_bookmarks_window), 
9937         (nautilus_bookmarks_exiting),
9938         (nautilus_window_edit_bookmarks),
9939         (nautilus_window_initialize_menus), 
9940         (update_undo_menu_item):
9941         Modified to use gtk_object_get_data() mechanism to locate undo manager
9943         * src/ntl-app.c: 
9944         (impl_Nautilus_Application__get_view_windows),
9945         (impl_Nautilus_Application_new_view_window),
9946         (impl_Nautilus_Application_supports),
9947         (impl_Nautilus_Application_create_object),
9948         (impl_Nautilus_Application__create), (nautilus_app_get_type),
9949         (nautilus_app_class_init), (nautilus_app_init), (nautilus_app_new),
9950         (nautilus_app_destroy), (nautilus_app_startup),
9951         (nautilus_app_create_window):
9952         Modified to use gtk_object_get_data() mechanism to locate undo manager.
9953         Added and modified IDL C stubs to match new IDL interface.
9954         
9955         * src/ntl-window.c: 
9956         (nautilus_window_constructed),  
9957         (nautilus_window_set_arg):
9958         Changed order that arguments are set at time of main window create so the app instance
9959         variable is valid when the main window is contructed.
9961 2000-05-17  J Shane Culpepper  <pepper@eazel.com>
9963         * components/services/install/command-line/eazel-install.c:
9964         (show_usage), (generate_new_package_list),
9965         (create_temporary_directory), (fetch_remote_package_list), (main):
9966         * components/services/install/lib/eazel-install-metadata.c:
9967         (create_default_metadata), (create_default_configuration_metafile),
9968         (xml_doc_sanity_checks), (get_urltype_from_string),
9969         (get_boolean_value_from_string),
9970         (init_default_install_configuration),
9971         (init_default_transfer_configuration):
9972         * components/services/install/lib/eazel-install-metadata.h:
9973         * components/services/install/lib/eazel-install-rpm-glue.c:
9974         (install_new_packages), (uninstall_packages):
9975         * components/services/install/lib/eazel-install-rpm-glue.h:
9976         * components/services/install/lib/eazel-install-tests.c:
9977         * components/services/install/lib/eazel-install-tests.h:
9978         * components/services/install/lib/eazel-install-types.h:
9979         * components/services/install/lib/eazel-install-xml-package-list.c:
9980         (generate_xml_package_list), (parse_pkg_template):
9982         Partial fix of bug #814.  Broke alot of functions into more maintainable
9983         functions.  Fixed bug #730.  Added a --force option to remove hardwired
9984         rpm filters. Fixed bug #811. Moved metadata home to /var/eazel/services
9985         until we get the root dependancy fixed.  This will then allow metadata
9986         to be stored in the user directory. Lots of cosmetic cleanups to make
9987         the code more readable.
9989 2000-05-17  John Sullivan  <sullivan@eazel.com>
9991         * src/file-manager/fm-list-view.c: (create_list):
9992         Fixed bug 357 (Text not vertically centered when starting
9993         up in List View): Wait until after "map" signal before
9994         setting row height, to work around bug/design flaw in
9995         GtkCList.
9997 2000-05-17  Darin Adler  <darin@eazel.com>
9999         * libnautilus-extensions/nautilus-icon-container.h:
10000         Added comments.
10001         
10002         * libnautilus-extensions/nautilus-icon-factory.c:
10003         (scale_image_and_rectangle): Added a minimum height and width to
10004         avoid problems with scaling things down to 0.
10005         
10006         * libnautilus-extensions/nautilus-list.c:
10007         (nautilus_list_initialize_class), (insert_row):
10008         * src/file-manager/fm-list-view.c: (add_to_list):
10009         Moved GtkCList workaround into NautilusList so all clients can get
10010         the advantage of it instead of just FMListView. Also eliminated
10011         some unneeded empty functions for signals, since NULL works for an
10012         empty signal handler.
10014 2000-05-17  John Sullivan  <sullivan@eazel.com>
10016         Started tweaking with the command buttons in the sidebar
10017         as a step towards hooking them into the final MIME API.
10019         * libnautilus-extensions/nautilus-mime-type.c:
10020         Removed verbs from display names, since we don't plan
10021         to support arbitrary verbs (i.e., alternate verbs to
10022         "Open") at least for this release.
10023         
10024         * src/ntl-index-panel.c: (add_command_buttons): Simplify code
10025         a little by using gtk_button_new_with_label; use "Open with"
10026         terminology; fix memory leak with command string stored in button.
10027         (nautilus_index_panel_update_info): Deleted obsolete comment.
10028         
10029         * src/ntl-window.c: (nautilus_window_load_content_view_menu):
10030         Added (currently insensitive) "View as ..." item to menu.
10032 2000-05-17  Ramiro Estrugo  <ramiro@eazel.com>
10034         * components/mozilla/nautilus-mozilla-content-view.c:
10035         (nautilus_mozilla_content_view_initialize),
10036         (nautilus_mozilla_content_view_load_uri),
10037         (mozilla_content_view_request_progress_change),
10038         (mozilla_content_view_request_location_change),
10039         (substitute_prefix), (mozilla_content_view_hack_uri),
10040         (mozilla_content_view_unhack_uri),
10041         (mozilla_notify_location_change_callback),
10042         (mozilla_title_changed_callback),
10043         (mozilla_location_changed_callback), (mozilla_net_status_callback),
10044         (mozilla_link_message_callback), (mozilla_progress_callback),
10045         (mozilla_open_uri_callback):
10046         Add initial support for stopping the loading of a uri in mozilla
10047         in order for nautilus to deal with it.  It works for some
10048         protocols, like ftp.  Its broken on some more fundamental ones,
10049         like file://.  
10051         Move the uri protocol moz: hack into its own place in order to
10052         make it easy to fix later once the real problem is fixed.
10054         Add a bunch of paranoid assertions.
10056         Bottleneck location change requests to nautilus through a single
10057         function.
10058         
10059 2000-05-17  Eskil Heyn Olsen  <eskil@eazel.com>
10061         * components/services/trilobite/idl/sample-service.idl: 
10062         * components/services/trilobite/sample/service/sample-service-public.h:
10063         * components/services/trilobite/sample/service/sample-service-impl.c:
10064         * components/services/trilobite/sample/service/main.c:
10065         The sample service is now a Bonobo::Unknown subclass. The factory
10066         creates a trilobite and adds the interface of the sample service.
10067         
10068         * components/services/trilobite/src/libtrilobited.h: 
10069         * components/services/trilobite/src/trilobite-service.c:
10070         * components/services/trilobite/src/trilobite-service-public.h: 
10071         Mutated the code and especially the object creation/(v)epv binding
10072         so calls now correctly end up in the defined methods. This almost
10073         completed 851, except that this is only the most basic of the 
10074         frameworks.
10075         
10076         * components/services/trilobite/sample/command-line/main.c:
10077         The sample cli now checks for the interface support, and
10078         if a trilobite, dumps the standard info, if a sample service,
10079         uses the two sample calls.
10080         
10081 2000-05-16  Andy Hertzfeld  <andy@eazel.com>
10083         * components/music/nautilus-music-view.c: (scan_for_header),
10084         (fetch_bit_rate), (fetch_play_time), (format_play_time),
10085         (fetch_song_info), (nautilus_music_view_update_from_uri):
10086         fixed bug 723, mp3 play time calculation not right for non-128kbps, by
10087         reading the header and fetching the bitrate, then using it for the time
10088         calculation.
10089         
10090 2000-05-16  Pavel Cisler  <pavel@eazel.com>
10092         * src/file-manager/fm-list-view.c: (add_to_list):
10093         Fix 834 - bad keyboard focus behavior. Added a workaround for 
10094         GtkCList broken behavior that moved the focused item to a pretty much
10095         random point when populating the list.
10097 2000-05-16  Pavel Cisler  <pavel@eazel.com>
10099         * libnautilus-extensions/nautilus-icon-container.c:
10100         (select_previous_or_next_name):
10101         Fixed a crash when using Tab and Shift-Tab in an empty folder,
10102         caused by an uninitialized variable.
10104 2000-05-16  Andy Hertzfeld  <andy@eazel.com>
10106         * components/music/nautilus-music-view.c:
10107         (nautilus_music_view_initialize), (click_column_callback),
10108         (fetch_play_time), (format_play_time), (fetch_song_info),
10109         (sort_by_track_number), (sort_by_title), (sort_by_artist),
10110         (sort_by_time), (sort_song_list),
10111         (nautilus_music_view_update_from_uri):
10112         fixed bug #891, clicking on the tabs in the music view doesn't sort,
10113         by adding the appropriate sorting functions and a callback
10114         to switch the sort mode when you click the column header.  Also, a
10115         bit of restructuring and clean up.
10116         
10117 2000-05-16  Pavel Cisler  <pavel@eazel.com>
10119         * src/file-manager/fm-list-view.c: (make_sorted_row_array),
10120         (select_row_common), (select_matching_name_callback),
10121         (create_list):
10122         Fix a problem in my new typeselect code where it would only 
10123         work properly if the list was sorted alphabetically to begin with.
10125         * libnautilus-extensions/nautilus-list.c:
10126         (nautilus_list_key_press):
10127         * src/file-manager/fm-list-view.c: (make_sorted_row_array),
10128         (select_row_common), (select_matching_name_callback),
10129         (select_previous_next_common), (select_previous_name_callback),
10130         (select_next_name_callback), (create_list):
10131         Added support for Tab and Shift-Tab selecting the alphabetically
10132         next and previous files. Reorganized the code a bit to share more
10133         with the typeselect calls.
10135 2000-05-16  Darin Adler  <darin@eazel.com>
10137         * check-FIXME.pl: Maciej helped me refine the find command so it
10138         doesn't go into po or CVS directories and only looks at files.
10139         
10140         * components/music/nautilus-music-view.c:
10141         (nautilus_music_view_background_changed): Turned the metadata saving
10142         code back on. I think I fixed the problem that made Andy turn it off.
10143         
10144         * libnautilus-extensions/nautilus-directory-metafile.c:
10145         (set_metadata_eat_value): Fixed a double-delete problem. Oops.
10146         (nautilus_directory_set_metadata): Fixed code that wasn't emitting the
10147         metadata_changed signal enough.
10148         
10149         * libnautilus-extensions/nautilus-gdk-extensions.c:
10150         (nautilus_fill_rectangle_with_color): Fixed a crash in Gdk. It turns
10151         out gdk_rgb needs to be initialized, even though I don't think that
10152         was the intent.
10154 2000-05-16  John Sullivan  <sullivan@eazel.com>
10156         Some work getting the menu items for "Open With" in place,
10157         and some related cleanup. "Open With" submenus now appear
10158         in the File and context menus, but filled with bogus
10159         insensitive items.
10161         * src/file-manager/fm-directory-view.h:
10162         Add #defines for bonobo-style menu paths for "Open With"-related
10163         items.
10164         * src/file-manager/fm-directory-view.c: 
10165         (compute_menu_item_info): Added new cases.
10166         (append_gtk_menu_item_with_view): Renamed from
10167         "append_selection_menu_item" because it's now used more
10168         generally; checks for view != NULL before using view.
10169         (append_gtk_menu_item): New function, calls _with_view
10170         with some default values.
10171         (append_selection_menu_subtree): New function.
10172         (fm_directory_view_real_create_background_context_menu_items):
10173         Uses append_gtk_menu_item now instead of duplicating some code/data.
10174         (add_open_with_gtk_menu_item), (create_open_with_gtk_menu):
10175         New functions, used to create the "Open With" submenu in
10176         the context menu.
10177         (fm_directory_view_real_create_selection_context_menu_items):
10178         Adds "Open With" submenu to context menu.
10179         (insert_bonobo_menu_subtree), (add_open_with_bonobo_menu_item),
10180         (reset_bonobo_open_with_menu): New functions, used to create
10181         the "Open With" submenu in the File menu in the menu bar.
10182         (fm_directory_view_real_merge_menus): Adds "Open With" submenu
10183         to File menu.
10184         (fm_directory_view_real_update_menus): Updates the "Open With"
10185         submenu to match selection.
10186         (fm_directory_view_get_context_menu_index): Updated to match
10187         current reality.
10189 2000-05-16  Andy Hertzfeld  <andy@eazel.com>
10191         * components/music/nautilus-music-view.c:
10192         (nautilus_music_view_initialize),
10193         (nautilus_music_view_background_changed),
10194         (nautilus_music_view_update_from_uri):
10195         Improved the layout of the music view, and pinned the size of the
10196         album cover image, temporarily disabled background_changed since
10197         it's not working with recent metadata changes
10198         
10199 2000-05-16  Darin Adler  <darin@eazel.com>
10201         Quick cleanup pass on FIXMEs.
10202         
10203         * check-FIXME.pl: Added the count of FIXMEs with bug numbers
10204         as well as the count of FIXMEs without.
10205         
10206         * components/services/trilobite/lib/helixcode-utils.c:
10207         (xml_get_value), (prune_xml), (check_for_root_user),
10208         (check_for_redhat), (determine_redhat_version),
10209         (determine_mandrake_version), (determine_turbolinux_version),
10210         (determine_suse_version), (determine_debian_version),
10211         (determine_distribution_type), (get_distribution_name):
10212         A tiny bit of cleanup on these functions. There was some really
10213         bad code in here, including code that compared strings with ==.
10214         Also a lot of code that does open and then no close, for no
10215         good reason, so I added the close.
10216         
10217         * libnautilus-extensions/nautilus-file.c: (rename_callback),
10218         (nautilus_file_get_mapped_uri):
10219         * libnautilus-extensions/nautilus-icon-container.c:
10220         (nautilus_icon_container_update_icon):
10221         * libnautilus-extensions/nautilus-icon-dnd.c:
10222         (confirm_switch_to_manual_layout), (nautilus_icon_dnd_begin_drag):
10223         * src/file-manager/fm-icon-view.c: (update_layout_menus),
10224         (sort_callback), (manual_layout_callback):
10225         * src/ntl-view.c: (nautilus_view_destroy_client):
10226         Added bug numbers to some FIXMEs.
10228 2000-05-16  Eskil Heyn Olsen  <eskil@eazel.com>
10230         * components/services/trilobite/sample/service/Makefile.am
10231         (sample-service.h): Missed a -I on the orbit-idl
10233 2000-05-16  Darin Adler  <darin@eazel.com>
10235         * libnautilus-extensions/nautilus-directory-async.c:
10236         (metafile_read_done), (metafile_read_failed),
10237         (metafile_read_complete): Factored out code that's common to failure
10238         and success and made it call the new
10239         nautilus_directory_metafile_apply_pending_changes function to take
10240         care of changes made while reading the metafile.
10241         
10242         * libnautilus-extensions/nautilus-directory-metafile.h:
10243         * libnautilus-extensions/nautilus-directory-metafile.c:
10244         (get_metadata_list_from_node), (get_file_node),
10245         (get_metadata_string_from_metafile),
10246         (get_metadata_list_from_metafile),
10247         (set_metadata_string_in_metafile), (set_metadata_list_in_metafile),
10248         (set_metadata_in_metafile), (get_metadata_string_from_table),
10249         (get_metadata_list_from_table), (str_or_null_hash),
10250         (str_or_null_equal), (set_metadata_eat_value),
10251         (free_file_table_entry), (free_directory_table_entry),
10252         (destroy_metadata_changes_hash_table),
10253         (nautilus_directory_get_metadata),
10254         (nautilus_directory_get_file_metadata),
10255         (nautilus_directory_get_metadata_list),
10256         (nautilus_directory_get_file_metadata_list),
10257         (nautilus_directory_set_metadata),
10258         (nautilus_directory_set_file_metadata),
10259         (nautilus_directory_set_file_metadata_list),
10260         (nautilus_directory_update_file_metadata), (apply_one_change),
10261         (apply_file_changes),
10262         (nautilus_directory_metafile_apply_pending_changes),
10263         (nautilus_directory_get_boolean_metadata),
10264         (nautilus_directory_set_boolean_metadata),
10265         (nautilus_directory_get_integer_metadata),
10266         (nautilus_directory_set_integer_metadata):
10267         Redid everything to use two hash tables to hold metadata before the
10268         metafile is read in.
10269         
10270         * libnautilus-extensions/nautilus-directory-private.h:
10271         Made the "NAME" XML tag be private again. It's now only used inside
10272         the nautilus-directory-metafile.c code.
10273         
10274         * libnautilus-extensions/nautilus-file.c:
10275         (rename_update_info_and_metafile): Moved the code for this inside the
10276         nautilus-directory-metafile.c code.
10277         
10278         * libnautilus-extensions/nautilus-glib-extensions.c:
10279         (nautilus_g_ptr_array_sort): Took out a FIXME comment now that my
10280         question about the code is answered. We can't use qsort because it
10281         does not take a context pointer.
10282         
10283         * libnautilus-extensions/nautilus-string.h: Formatting.
10285 2000-05-16  Eskil Heyn Olsen  <eskil@eazel.com>
10287         * components/services/trilobite/src/trilobite-service-public.h: 
10288         * components/services/trilobite/src/trilobite-service.c
10289         Bonobonizing the trilobite interface (bugzille.eazel.com 899). 
10290         The service is broken right now.
10292         * components/services/trilobite/sample/service/sample-service-impl.c
10293         The sample service is aslo begin bonobonized, and is also broken.
10294             
10295         * components/services/trilobite/sample/command-line/main.c
10296         The sample client is (guess what) also being bonobonized.
10298 2000-05-16  Jonathan Blandford  <jrb@redhat.com>
10300         * components/music/nautilus-music-view.c
10301         (nautilus_music_view_initialize): minor repacking of widgets to
10302         allow clist to be the dominant item, get rid of a gray band around
10303         the outside due to the wrong container having it's border_width
10304         set.
10306 2000-05-16  Darin Adler  <darin@eazel.com>
10308         * libnautilus-extensions/Makefile.am:
10309         * libnautilus-extensions/nautilus-directory-metafile.c:
10310         (get_metadata_from_node), (get_metadata_list_from_node),
10311         (create_metafile_root), (nautilus_directory_get_metadata),
10312         (nautilus_directory_get_metadata_list),
10313         (nautilus_directory_get_boolean_metadata),
10314         (nautilus_directory_set_boolean_metadata),
10315         (nautilus_directory_get_integer_metadata),
10316         (nautilus_directory_set_integer_metadata),
10317         (nautilus_directory_get_file_metadata_node),
10318         (nautilus_directory_get_file_metadata),
10319         (nautilus_directory_get_file_metadata_list), (real_set_metadata),
10320         (real_set_metadata_list), (metadata_key_new),
10321         (metadata_key_destroy), (metadata_key_hash),
10322         (metadata_key_hash_equal), (metadata_value_new),
10323         (metadata_value_new_list), (metadata_value_destroy),
10324         (metadata_value_equal), (set_metadata_in_metafile),
10325         (set_metadata_eat_parameters),
10326         (free_metadata_changes_hash_table_entry),
10327         (destroy_metadata_changes_hash_table),
10328         (nautilus_directory_metafile_destroy),
10329         (nautilus_directory_set_metadata),
10330         (nautilus_directory_set_file_metadata),
10331         (nautilus_directory_set_file_metadata_list):
10332         * libnautilus-extensions/nautilus-directory-metafile.h:
10333         * libnautilus-extensions/nautilus-directory-private.h:
10334         * libnautilus-extensions/nautilus-directory.c:
10335         (nautilus_directory_destroy):
10336         * libnautilus-extensions/nautilus-file.c:
10337         Moved metafile code into its own source file. Also worked on making
10338         it all bottleneck so we can store it before we read in a metafile.
10339         
10340         * src/file-manager/fm-list-view.c: (select_matching_name_callback):
10341         * libnautilus-extensions/nautilus-glib-extensions.h:
10342         Added nautilus_boolean_bit for use in bit fields where gboolean
10343         results in a signed bitfield.
10344         * libnautilus-extensions/nautilus-glib-extensions.c:
10345         (nautilus_g_list_copy), (nautilus_g_str_list_equal),
10346         (nautilus_g_str_list_copy): Added functions for dealing with a
10347         list of C strings. Also got rid of const GList *. For GList we
10348         don't use const because the functions in <glib.h> don't.
10349         (nautilus_g_ptr_array_new_from_list), (nautilus_g_ptr_array_sort),
10350         (nautilus_g_ptr_array_search): Renamed the new functions and types
10351         to more closely match the standard. For example, the types must
10352         have a Nautilus prefix.
10353         
10354         * src/ntl-window.h:
10355         * libnautilus-extensions/nautilus-icon-private.h:
10356         * libnautilus-extensions/nautilus-icon-container.c:
10357         (icon_set_selected), (rubberband_select):
10358         Switched to use the nautilus_boolean_bit type.
10360         * components/html/glibwww-callbacks.c:
10361         Moved <config.h> include down to fix some warnings.
10362         
10363 2000-05-16  Pavel Cisler <pavel@eazel.com>
10365         Added keyboard type-ahead selection to the list view.
10366         
10367         * libnautilus-extensions/nautilus-list.c:
10368         (nautilus_list_initialize_class), (select_matching_name), 
10369         (select_next_name), (select_previous_name):
10370         Add new signals to allow hooking in keyboard selection callbacks
10371         from fm_list_view.
10373         * libnautilus-extensions/nautilus-list.c:
10374         (nautilus_list_initialize), (nautilus_list_destroy), 
10375         (nautilus_list_button_press), (nautilus_list_flush_typeselect_state),
10376         (nautilus_list_handle_typeahead), (nautilus_list_key_press):
10377         Setup/flush the typeselect state properly.
10379         * libnautilus-extensions/nautilus-list.c:
10380         * libnautilus-extensions/nautilus-list.h:
10381         (nautilus_list_keyboard_move_to), (nautilus_list_select_row):
10382         Add a convenience call to allow selecting an indexed row from
10383         fm_list_view.
10384         
10385         * libnautilus-extensions/nautilus-file.c
10386         * libnautilus-extensions/nautilus-file.h:
10387         (nautilus_file_compare_name):
10388         Added a compare function that compares a file's name with a given
10389         pattern.
10391         * libnautilus-extensions/nautilus-glib-extensions.h:
10392         * libnautilus-extensions/nautilus-glib-extensions.c
10393         (nautilus_g_ptr_array_copy_list), (nautilus_g_ptr_array_sort),
10394         (nautilus_g_ptr_array_search):
10395         Add utility calls to enhance GPtrArray.
10397         * libnautilus-extensions/nautilus-glib-extensions.c:
10398         (nautilus_get_system_time):
10399         Added more comments.
10400         
10401         * src/file-manager/fm-list-view.c:
10402         (fm_list_view_initialize_class),
10403         (compare_rows_by_name), (match_row_name),
10404         (select_matching_name_callback):
10405         Connect to new NautilusList signals. Add calls for sorting and 
10406         searching a pointer array by NautilusFile name.
10408         * src/file-manager/fm-list-view.c:
10409         (create_list), (add_to_list):
10410         Tweak some white space.
10412 2000-05-16  Andy Hertzfeld  <andy@eazel.com>
10414         started work on cleaning up the music view, but it's still in an
10415         interim state.
10416         
10417         * components/music/nautilus-music-view.c:
10418         (nautilus_music_view_initialize),
10419         (nautilus_music_view_background_changed),
10420         (nautilus_music_view_set_up_background),
10421         (nautilus_music_view_update_from_uri),
10422         (nautilus_music_view_drag_data_received):
10423         made the view sizing more dynamic, made it receive colors and
10424         backgrounds
10425         
10426         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.c:
10427         (nautilus_gdk_pixbuf_render_to_drawable_tiled),
10428         (nautilus_gdk_pixbuf_scale_to_fit):
10429         dded new nautilus_gdk_pixbuf_scale_to_fit routine, adapted from
10430         the property browser since I need it in the Music view
10431         * libnautilus-extensions/nautilus-gdk-pixbuf-extensions.h:
10432         added new routine
10433         * src/nautilus-property-browser.c: (make_drag_image),
10434         (set_emblem_image_from_file),
10435         (make_properties_from_directory_path):
10436         made them use nautilus_gdk_pixbuf_scale_to_fit
10437         
10438 2000-05-15  Darin Adler  <darin@eazel.com>
10440         * libnautilus-extensions/nautilus-icon-canvas-item.c:
10441         (nautilus_icon_canvas_item_initialize_class),
10442         (nautilus_icon_canvas_item_update), (gnome_icon_underline_text):
10443         * libnautilus-extensions/nautilus-icon-container.c:
10444         (bounds_changed_callback):
10445         A long time ago I removed the parameter from the bounds_changed
10446         signal of the canvas item and I did a half-assed job which left
10447         the code broken. This made it crash a lot for Martin Baulig
10448         <baulig@suse.de>. So I finished the job.
10450 2000-05-15  J Shane Culpepper  <pepper@eazel.com>
10452         * HACKING: Added new gnome-http dep.  Minor fixes to order to jive
10453         with our current build env.
10454         * components/services/startup/nautilus-view/Makefile.am: Removed
10455         hardcoded -lghttp
10456         * components/services/trilobite/sample/nautilus-view/Makefile.am:
10457         Removed hardcoded -lghttp
10458         * configure.in: Added test for ghttp since it is now a dependency.
10460 2000-05-15  Darin Adler  <darin@eazel.com>
10462         First cut at metadata cleanup in preparation for fixing bug
10463         with setting metadata before the metafile is read.
10465         * libnautilus-extensions/nautilus-directory.h:
10466         * libnautilus-extensions/nautilus-directory.c:
10467         (get_metadata_list_from_node),
10468         (nautilus_directory_get_metadata_list),
10469         (nautilus_directory_set_boolean_metadata),
10470         (nautilus_directory_set_integer_metadata),
10471         (nautilus_directory_get_file_metadata_node),
10472         (nautilus_directory_get_file_metadata_list),
10473         (nautilus_directory_set_file_metadata),
10474         (nautilus_directory_set_file_metadata_list),
10475         * libnautilus-extensions/nautilus-file.h:
10476         * libnautilus-extensions/nautilus-file.c:
10477         (nautilus_file_get_metadata), (nautilus_file_get_metadata_list),
10478         (nautilus_file_set_metadata), (nautilus_file_set_metadata_list),
10479         (nautilus_file_get_keywords), (nautilus_file_set_keywords):
10480         Unified code to deal with metadata lists and made both get and
10481         set work the same way. Also got rid of the default value. For
10482         lists, the default value is always NULL.
10484         * components/notes/ntl-notes.c: (notes_load_metainfo):
10485         * libnautilus-extensions/nautilus-directory-async.c:
10486         (nautilus_directory_monitor_add_internal),
10487         (nautilus_directory_call_when_ready_internal):
10488         * libnautilus-extensions/nautilus-directory-private.h:
10489         * libnautilus-extensions/nautilus-directory.h:
10490         * libnautilus-extensions/nautilus-directory.c:
10491         (nautilus_directory_call_when_ready),
10492         (nautilus_directory_file_monitor_add),
10493         (nautilus_self_check_directory):
10494         * libnautilus-extensions/nautilus-file.h:
10495         * libnautilus-extensions/nautilus-file.c:
10496         (nautilus_file_monitor_add), (nautilus_file_call_when_ready):
10497         * src/file-manager/fm-directory-view.c:
10498         (fm_directory_view_load_uri), (finish_loading_uri):
10499         * src/nautilus-index-title.c: (nautilus_index_title_set_uri):
10500         * src/ntl-uri-map.c: (set_initial_content_iid),
10501         (get_explicit_content_view_iids_from_metafile),
10502         (nautilus_navigation_info_new):
10503         Converted to use new API that specifies only that metadata is
10504         needed, not which keys. Maciej and I agreed that it's no use
10505         to specify which keys you are interested in when you can just
10506         get it wrong and have everything work anyway. Also the old API
10507         didn't work for metadata lists.
10508         
10509         * components/services/trilobite/sample/command-line/.cvsignore:
10510         Added generated files.
10511         
10512         * libnautilus-extensions/nautilus-xml-extensions.c:
10513         (nautilus_xml_get_property_for_children): Format tweak.
10514         
10515         * src/file-manager/fm-directory-view.c:
10516         (bonobo_menu_delete_callback), (bonobo_menu_duplicate_callback),
10517         (bonobo_menu_open_properties_window_callback),
10518         (display_selection_info), (notify_selection_change_callback),
10519         (queue_pending_files), (append_uri_one),
10520         (fm_directory_view_duplicate_selection),
10521         (fm_directory_view_trash_selection): Formatting tweaks.
10522         
10523 2000-05-14  Andy Hertzfeld  <andy@eazel.com>
10525         * src/nautilus-property-browser.c:
10526         (nautilus_property_browser_initialize),
10527         (nautilus_property_browser_destroy), (strip_extension),
10528         (nautilus_property_browser_preferences_changed):
10529         made the property browser respond to preference changes by setting
10530         up a callback, removing it when we're destroyed, and updating the
10531         contents when it's invoked
10532         
10533 2000-05-14  J Shane Culpepper  <pepper@eazel.com>
10535         * components/services/trilobite/lib/helixcode-utils.c:
10536         (determine_distribution_type), (get_distribution_name):
10537         Beginning part of fix for Bug #860. Created the 2 functions
10538         listed above to determine valid DistributionType and return a
10539         printable string name of the DistributionType.
10540         * components/services/trilobite/lib/helixcode-utils.h:
10541         Minor fixes to DistributionType enum.  Added declarations for
10542         determine_distribution_type and get_distribution_name.
10544 2000-05-13  Andy Hertzfeld <andy@eazel.com>
10546         fixed bug 842, finish emblems UI in properties window 
10547         * src/file-manager/fm-properties-window.c:
10548         removed hard-wired list of emblems
10549         (get_property_names_from_uri), (get_property_names):
10550         added routine to return a list of available keywords on the fly
10551         (create_emblems_page):
10552         used get_property_names instead of a hardwired list
10553         
10554         * src/nautilus-property-browser.c: (element_clicked_callback):
10555         fixed bug where it wasn't exiting remove mode properly after
10556         removing an element
10557         
10558 2000-05-13  J Shane Culpepper  <pepper@eazel.com>
10560         * configure.in
10561         * components/services/startup/lib
10562         * components/services/install/lib
10563         Created a shared lib directory for the nautilus-view and
10564         command-line.  This allows an abstracion layer between each
10565         individual service and libtrilobite.so so that we don't have to
10566         link libtrilobite against libnautilus, etc.  Also allows
10567         abstraction of common functions in eazel-install that can now be
10568         statically linked into nautilus-installer.
10569         
10570         * components/services/trilobite/lib
10571         Removed some useless templates that were checked in by accident.
10573 2000-05-12  Andy Hertzfeld  <andy@eazel.com>
10575         fixed bug 620, when multiple files are selected, they all should
10576         be opened when the user single or double click.
10578         * libnautilus-extensions/nautilus-icon-private.h:
10579         added last_selected_files field to icon_container details, so the
10580         selection can be remembered through the double click process
10581         * libnautilus-extensions/nautilus-icon-container.c: (destroy),
10582         (forget_selected_files), (remember_selected_files),
10583         (nautilus_icon_container_almost_drag), (handle_icon_button_press),
10584         (activate_selected_items):
10585         changed the activate signal to take a list of file objects instead
10586         of a single one; added routines remember_selected_files and
10587         forget_selected_files to build and release the list; called
10588         remember and forget when appropriate, and used the list to pass to
10589         the signal.
10590         * src/file-manager/fm-icon-view.c (icon_container_activate_callback):
10591         made the signal handler activate all the files in the list
10592         
10593 2000-05-12  Andy Hertzfeld  <andy@eazel.com>
10595         * src/file-manager/fm-directory-view.c:
10596         (notify_selection_change_callback), (display_pending_files):
10597         some of Darin's recent changes wouldn't compile, so I fixed them
10598         
10599 2000-05-12  Eskil Heyn Olsen  <eskil@eazel.com>
10601         * libnautilus/Makefile.am (BUILT_SOURCES): This is way people
10602         should use a highlighting editor so you wouldn't have these broken
10603         BUILT_SOURCES things.
10605         * Makefile.am (SUBDIRS): Moved components and helper-utilies
10606         downwards in the SUBDIRS so it builds again.
10608 2000-05-12  Darin Adler  <darin@eazel.com>
10610         * components/services/trilobite/src/trilobite-service.c:
10611         Format FIXME comments the way check-FIXME.pl recognizes.
10612         
10613         * libnautilus-extensions/nautilus-file.c: (rename_callback):
10614         Added a bug number to a FIXME.
10615         
10616         * libnautilus-extensions/nautilus-list.c:
10617         (nautilus_list_set_selection): Finished fixing bug 613.
10618         I had marked it fixed but missed one FIXME.
10619         
10620         * src/nautilus-property-browser.c:
10621         (nautilus_property_browser_initialize): Added a bug number
10622         to a FIXME.
10623         (make_properties_from_directory_path),
10624         (make_properties_from_xml_node), (make_category_link):
10625         Fixed storage leaks I noticed earlier today.
10627         * src/file-manager/fm-directory-view.c:
10628         (fm_directory_view_initialize), (fm_directory_view_destroy),
10629         (notify_selection_change_callback), (display_pending_files),
10630         (fm_directory_view_can_accept_item): Fixed bug 440 by removing
10631         the hash table that Maciej added. Each NautilusFile is already
10632         unique because of how the class works.
10633         
10634         * src/file-manager/fm-list-view.c: (create_list): Got rid of
10635         the FIXME now that Pavel fixed bug 315.
10637 2000-05-12  Eskil Heyn Olsen  <eskil@eazel.com>
10639         * components/services/trilobite/sample/service/Makefile.am 
10640         * components/services/trilobite/sample/nautilus-view/Makefile.am
10641         * components/services/trilobite/sample/command-line/Makefile.am
10642         Polishing the makefiles for the sample service build.
10643         
10644         * components/services/trilobite/src/trilobite-service-private.h: 
10645         * components/services/trilobite/src/trilobite-service-public.h: 
10646         * components/services/trilobite/src/trilobite-service.c
10647         Implemented the rest of the base object get_* methods. Moved the
10648         corba activation into a seperate call. Need to look at the
10649         destruction and possible use of bonobo for this sucker
10650         (bugzilla.eazel.com 899 & 900). Also did the destroyer so the
10651         servers can put themselves down.
10652         
10653         * components/services/trilobite/sample/service/sample-service-impl.c
10654         Implemented the most basic for the sample service. It's useless as
10655         an example, since it does not add new features to the trilobite yet.
10656         
10657         * components/services/trilobite/sample/command-line/main.c
10658         Basic cli for the sample service tool. Currently connects to a
10659         running nautilus-eazel-sample-service and lists the basic info for
10660         it.
10662 2000-05-12  Darin Adler  <darin@eazel.com>
10664         * Makefile.am: Added the idl directory.
10665         
10666         * libnautilus-extensions/nautilus-gnome-extensions.h:
10667         * libnautilus-extensions/nautilus-gnome-extensions.c:
10668         (nautilus_simple_dialog): Turned on line wrapping for the label
10669         in the simple dialog.
10670         (turn_on_line_wrap_flag), (show_ok_box), (nautilus_error_dialog),
10671         (nautilus_error_dialog_parented): Made alternate versions of
10672         gnome_error_dialog and gnome_error_dialog_parented that turn on
10673         line wrapping for the message label.
10674         
10675         * libnautilus-extensions/nautilus-icon-canvas-item.c:
10676         (draw_or_measure_label_text): Made the list of characters to break
10677         lines on localizable.
10678         
10679         * libnautilus-extensions/nautilus-icon-dnd.c:
10680         (confirm_switch_to_manual_layout): Took newlines out of messages
10681         since the dialog now does line wrapping.
10683         * src/file-manager/dfos-xfer.c: (handle_xfer_vfs_error),
10684         (handle_xfer_overwrite): Took out some extraneous spaces. I could
10685         have also removed the newlines since the functions call something
10686         that does line wrapping, but I decided not to.
10687         
10688         * src/file-manager/fm-properties-window.c:
10689         (name_field_update_to_match_file): Fixed a double delete bug.
10690         This may have been what Ali was running into when he was clicking
10691         quickly on all the emblems in succession.
10692         
10693         * src/nautilus-property-browser.c:
10694         Did a cleanup pass on the entire file. Marked things localizable
10695         and marked some bugs with FIXME among other things.
10696         
10697         * src/ntl-window-msgs.c: (nautilus_window_update_state): Added
10698         code to check for NULL so that we won't core dump when trying
10699         to "go back" from the first failed view.
10700         (nautilus_window_progress_indicate),
10701         (nautilus_window_end_location_change_callback): Got rid of newlines
10702         from messages and called the function that now does line wrapping.
10704 2000-05-12  Darin Adler  <darin@eazel.com>
10706         * HACKING: Get rid of obsolete requirement for "--without-bonobo"
10707         for the gtkhtml module. The internal modules list at Eazel was
10708         updated but someone forgot to update HACKING, as usual.
10709         
10710         * components/services/trilobite/sample/command-line/.cvsignore:
10711         * components/services/trilobite/sample/nautilus-view/.cvsignore:
10712         * components/services/trilobite/sample/nautilus-view/icons/.cvsignore:
10713         * components/services/trilobite/sample/service/.cvsignore:
10714         Lots of generated files that need to be ignored for CVS happiness.
10715         
10716         * libnautilus-extensions/nautilus-file.c: (rename_callback):
10717         Fixed bug in handling error cases. I couldn't test this until Pavel
10718         fixed the GNOME VFS bug that prevented any errors from being
10719         reported, but he did and I am ready.
10720         
10721         * libnautilus-extensions/nautilus-icon-canvas-item.c:
10722         (draw_or_measure_label_text): Fixed a bug where you'd have a big
10723         black box behind the text you are renaming by checking for rename
10724         mode before drawing the black background.
10725         
10726         * src/file-manager/fm-icon-view.c:
10727         (set_sort_criterion), (get_sort_criterion_by_metadata_text),
10728         (get_sort_criterion_by_menu_path), (fm_icon_view_begin_loading),
10729         (sort_callback): Add code to save and load the "sort by" setting.
10731 2000-05-12  Eskil Heyn Olsen  <eskil@eazel.com>
10733         * src/file-manager/Makefile.am (CLEANFILES): Fixed the CLEANFILES
10734         so the corba generated file and the dfos_corba_stamp get's deleted
10735         on make clean - thus build no longer breaks on missing files after
10736         a few make all/clean iterations.
10738 2000-05-11  J Shane Culpepper <pepper@eazel.com>
10740         * components/services/trilobite/lib/*
10741         * components/services/install/command-line
10742         More file gymnastics to isolate generic service code into libtrilobite.
10743         Revived some dead files in eazel-install for now until I can do some
10744         more work to clean the current functions up.
10745         Added a distribution type function to helixcode-utils.c so that we can
10746         start determining distribution.  This will be used by inventory and
10747         eazel-install.  Created several skeleton files that will be filled with
10748         generic functionality like logging, networking, security, etc.
10750 2000-05-11  Andy Hertzfeld <andy@eazel.com>
10752         * libnautilus-extensions/nautilus-icon-canvas-item.c:
10753         improved the look of the highlighting by adding more margins to
10754         the box, and tightened things up vertically in the non-highlighted
10755         case.
10756         
10757 2000-05-11  Andy Hertzfeld <andy@eazel.com>
10759         * libnautilus-extensions/nautilus-icon-canvas-item.c:
10760         fixed bug #758, selected items difficult to see at a glance, by
10761         going back to drawing a filled box around the text to indicate
10762         selection. I kept the emboldening, since it improves
10763         readability. This time it doesn't use XOR and has a settable
10764         color, which I'll make a preference for soon.
10765         
10766 2000-05-11  Pavel Cisler  <pavel@eazel.com>
10768         * libnautilus-extensions/nautilus-list-column-title.c:
10769         (truncate_string), (nautilus_list_column_title_paint):
10770         Fix 376 - Truncate text in columns. Clean up
10771         nautilus_list_column_title_paint a little in the process.
10772         
10773         * src/file-manager/fm-list-view.c: (create_list),
10774         (fm_list_view_set_zoom_level):
10775         Fix 315 - Icon columns are now fixed width. Fix a bug that this
10776         uncovered where setting column width, column min width and column
10777         max width have to be done in a predetermined order to not get
10778         messed up by a bug in GtkCList.
10780 2000-05-11  Darin Adler  <darin@eazel.com>
10782         * idl/Makefile.am:
10783         * idl/fsextension.idl:
10784         * libnautilus-extensions/Makefile.am:
10785         * libnautilus-extensions/.cvsignore:
10786         Removed the fsextension IDL, which was a work in progress that no
10787         one is working on.
10788         
10789         * libnautilus/.cvsignore:
10790         Added the undo manager stuff.
10792         * libnautilus-extensions/.cvsignore:
10793         Removed the undo manager stuff.
10794         
10795         * libnautilus-extensions/nautilus-directory-private.h:
10796         * libnautilus-extensions/nautilus-file.c:
10797         (nautilus_file_denies_access_permission): Handle deleted file case.
10798         (nautilus_file_can_rename): Handle deleted file case.
10799         (file_operation_state_new), (file_operation_state_free),
10800         (file_operation_state_complete),
10801         (rename_update_info_and_metafile), (rename_callback),
10802         (nautilus_file_rename): Put in a basic framework for file
10803         operations that can take a while.  Used it to make renaming async.
10804         (nautilus_file_can_get_permissions): Handle deleted file case.
10805         (nautilus_file_set_permissions): Handle case where you can't get
10806         permissions properly. I inadvertently deleted this last time.
10807         
10808         * libnautilus-extensions/nautilus-metadata.h:
10809         Added a metadata key for the icon view sort. Still need to write
10810         the code to save this.
10811         
10812 Thu May 11 16:52:14 2000  Raph Levien  <raph@acm.org>
10814         * librsvg/rsvg.c (rsvg_render_bpath): Added a check to avoid
10815         zero-width stroke lines, which libart doesn't like. This is a
10816         workaround for broken svg files. A separate commit will fix
10817         ill2svg.pl to make it less likely to generate broken files.
10819 2000-05-11  Andy Hertzfeld <andy@eazel.com>
10821         * src/ntl-index-panel.c:
10822         fixed bug #600, command buttons don't handle file names with spaces,
10823         by quoting the file name.  There's still a weakness for file names
10824         containing single quotes, but we can address that later.
10825         
10826 2000-05-11  Andy Hertzfeld <andy@eazel.com>
10828         * src/nautilus-index-tabs.c:
10829         fixed bug #858, index tabs pre-darken, instead of prelighten, by
10830         making the lighten and switching to black text so the labels are
10831         still readable.
10832         Also, made it choose light or dark text on the fly when the tab
10833         color is changed, so the labels are always readable
10834         
10835         * components/services/trilobite/sample/nautilus-view/Makefile.am:
10836         removed the icons subdir, since it had nothing in it and it was
10837         breaking the build
10838         
10839 2000-05-11  John Sullivan  <sullivan@eazel.com>
10841         * src/file-manager/fm-directory-view.h,
10842         * src/file-manager/fm-directory-view.c: (compute_menu_item_info),
10843         (fm_directory_view_real_create_selection_context_menu_items),
10844         (insert_bonobo_menu_item), (fm_directory_view_real_merge_menus),
10845         (fm_directory_view_real_update_menus),
10846         (fm_directory_view_get_context_menu_index): Some more menu code
10847         cleanup. Renamed FM_DIRECTORY_VIEW_MENU_PATH_SET_PROPERTIES
10848         to _SHOW_PROPERTIES to match menu text; made new function
10849         insert_bonobo_menu_item that calls compute_menu_item_info
10850         to get name & sensitivity so that _real_merge_menus
10851         doesn't have a separate and potentially diverging copy of
10852         menu item names.
10854 2000-05-11  John Sullivan  <sullivan@eazel.com>
10856         Some cleanup in directory view menu-handling code.
10858         * src/file-manager/fm-directory-view.h,
10859         * src/file-manager/fm-directory-view.c:
10860         (fm_directory_view_initialize_class),
10861         (fm_directory_view_real_create_background_context_menu_items),
10862         (fm_directory_view_real_create_selection_context_menu_items),
10863         (create_selection_context_menu),
10864         (fm_directory_view_create_background_context_menu_items),
10865         (create_background_context_menu): Renamed context-menu functions
10866         and signals from using "append_" to using "create_" since they
10867         don't necessarily append.
10868         
10869         * src/file-manager/fm-icon-view.c: (insert_one_context_menu_item),
10870         (append_one_context_menu_item): Made append_ call insert_ with
10871         -1 for the position to eliminate duplicated code.
10872         (fm_icon_view_create_selection_context_menu_items): Removed code
10873         that passed a different position depending on whether or not
10874         the Duplicate item was present. This subclass can assume that it
10875         will always be present (or we'll rewrite the code here if we
10876         change that assumption).
10877         (fm_icon_view_create_background_context_menu_items),
10878         (fm_icon_view_merge_menus), (fm_icon_view_initialize_class):
10879         Renamed functions and signals to use create_ as above.
10880         
10881         * src/file-manager/fm-list-view.c: 
10882         (fm_list_view_append_background_context_menu_items),
10883         (fm_list_view_append_selection_context_menu_items),
10884         (fm_list_view_merge_menus), (fm_list_view_update_menus),
10885         (fm_list_view_compute_menu_item_info),
10886         (append_one_context_menu_item), (insert_one_context_menu_item),
10887         (rename_list_item_callback): Removed these functions, which were
10888         all used only for Rename (which we won't have in 1.0) and
10889         Undo (which the list view never interacts with).
10890         (fm_list_view_initialize_class): Removed function overrides.
10892 2000-05-11  John Sullivan  <sullivan@eazel.com>
10894         * src/file-manager/fm-icon-view.c: (fm_icon_view_merge_menus):
10895         Moved the Layout menu to between Settings and Help.
10897 2000-05-11  Gene Z. Ragan  <gzr@eazel.com>
10899         * helper-utilities/authenticate/Makefile.am:
10900         * nautilus-widgets/Makefile.am:
10901         * libnautilus-extensions/Makefile.am:
10902         * libnautilus/Makefile.am:
10903         Change makefiles to link against libnautilus.  This is so calls
10904         to the undo manager code resolve.  There is probably a better way to
10905         do this.
10906         
10907         * libnautilus-extensions/nautilus-entry.c:
10908         * libnautilus-extensions/nautilus-icon-container.c:
10909         * libnautilus-extensions/nautilus-icon-text-item.c:
10910         * src/nautilus-bookmarks-window.c:
10911         * src/nautilus-location-bar.c:
10912         * src/nautilus-window-menus.c:
10913         * src/ntl-app.c:
10914         Changed to #include <libnautilus-extensions/nautilus-undo-manager.h>
10915         to #include <libnautilus/nautilus-undo-manager.h>
10917 2000-05-10  Gene Z. Ragan  <gzr@eazel.com>
10919         * libnautilus/nautilus-undo-manager-component.idl:
10920         * libnautilus/nautilus-undo-manager-private.h:
10921         * libnautilus/nautilus-undo-manager.c:
10922         * libnautilus/nautilus-undo-manager.h:
10923         * libnautilus/nautilus-undo-transaction.c:
10924         * libnautilus/nautilus-undo-transaction.h:
10925         * libnautilus/nautilus-undoable.c:
10926         * libnautilus/nautilus-undoable.h:
10927         Moved files to libnautilus so IDL compilation would work properly
10928         and at the suggestion of mjs.
10930         * libnautilus-extensions/Makefile.am:
10931         Removed undo files.
10933         * libnautilus/Makefile.am:
10934         Added undo files.
10936         * libnautilus/nautilus-undo-manager-component.idl:
10937         Additional fixes so a clean build would occuer properly.
10938         
10939 2000-05-10  J Shane Culpepper  <pepper@eazel.com>
10941         * libnautilus-extensions/nautilus-undo-manger-component.idl:
10942         Moved the includes to top of the file so that the idl would compile
10943         correctly.
10945 2000-05-10  Pavel Cisler  <pavel@eazel.com>
10947         * src/ntl-app.c:
10948         * src/ntl-app.h:
10949         (nautilus_app_destroy_window), (nautilus_app_real_quit),
10950         (nautilus_app_quit)
10951         Work in progress on fixing Nautilus deadlocking when quitting while
10952         async file operations are in progress. Made it so that Nautilus
10953         waits for gnome VFS threads to complete before it quits and takes
10954         down the idle task. This only fixes part of the problem, Nautilus
10955         still deadlocks on gnome vfs jobs that get cancelled right after
10956         they were started.
10957         
10958 2000-05-10  Gene Z. Ragan  <gzr@eazel.com>
10960         * libnautilus-extensions/nautilus-undo-manager-component.idl:
10961         Added IDL entries to access undo manager functions.
10962         
10963         * libnautilus/nautilus-view-component.idl:
10964         Added Nautilus::UndoManager instance to Nautilus::Application
10965         
10966         * libnautilus/nautilus-view-frame.c:
10967         * libnautilus/nautilus-view-frame.h:
10968         (nautilus_view_frame_get_main_window):
10969         New function that returns Nautilus::ViewWindow instance
10970         held by Nautilus::ViewFrame.  Calls CORBA C utility function.
10972         * src/ntl-app.c: 
10973         (impl_Nautilus_Application__get_undo_manager):
10974         New function to return Nautilus::Application global 
10975         instance of Nautilus::UndoManager.
10976         
10977 2000-05-10  John Sullivan  <sullivan@eazel.com>
10979         * libnautilus/nautilus-bonobo-ui.h: Added #define for path of
10980         Nautilus's toolbar so components can use Bonobo merging without
10981         secret inside information.
10982         * components/sample/nautilus-sample-content-view.c:
10983         (sample_merge_bonobo_items_callback): Replaced secret inside
10984         information about menu & toolbar paths & positions with use of
10985         #defines in nautilus-bonobo-ui.h.
10987 2000-05-10  Darin Adler  <darin@eazel.com>
10989         * libnautilus-extensions/nautilus-file.h:
10990         * libnautilus-extensions/nautilus-file.c: (nautilus_file_rename):
10991         (nautilus_file_set_permissions): Changed to do both rename and set
10992         permissions with an interface that will work for async. Also
10993         improved the handling of deleted files, empty-string names, and
10994         files you can't change permissions on: they are considering
10995         runtime errors instead of coding mistakes now. Also send out
10996         file_changed even if the call fails.
10997         
10998         * src/file-manager/fm-error-reporting.h:
10999         * src/file-manager/fm-error-reporting.c: (show_error_message_box),
11000         (fm_report_error_renaming_file),
11001         (fm_report_error_setting_permissions): Simplified interface to
11002         these calls. Now we don't require the caller to pass anything we
11003         can compute ourselves and you can call these with GNOME_VFS_OK
11004         and they will do nothing. Also merged common code to put up the
11005         error message box into a helper function.
11006         
11007         * src/file-manager/fm-icon-view.c: (rename_callback),
11008         (fm_icon_view_icon_text_changed_callback):
11009         * src/file-manager/fm-properties-window.c: (rename_callback),
11010         (name_field_done_editing), (permission_change_callback),
11011         (permissions_check_button_toggled):
11012         Updated callers to use the new calls.
11014 2000-05-10  Darin Adler  <darin@eazel.com>
11016         * fm-icon-view.c: (update_layout_menus), (sort_callback),
11017         (manual_layout_callback), (fm_icon_view_merge_menus),
11018         (update_one_menu_item), (fm_icon_view_update_menus),
11019         (icon_container_compare_icons_callback), (get_icon_text_callback),
11020         (text_attribute_names_changed_callback),
11021         (fm_icon_view_initialize_class), (fm_icon_view_initialize): Added
11022         a Layout menu with a separate item for Manual Layout and for each
11023         kind of auto-layout sort.
11025         * libnautilus-extensions/nautilus-icon-container.c:
11026         (idle_handler): Reinstated the call to relayout. It broke looking
11027         at a sorted folder the first time.
11029         Tons of gratuitous whitespace reformatting. I'm so sorry, but
11030         I was listening to a talk by rms.
11032 2000-05-10  John Sullivan  <sullivan@eazel.com>
11034         Fixed bug 853 (assert and weird window behavior in Properties)
11036         * src/file-manager/fm-properties-window.c:
11037         (remove_default_viewport_shadow): New function, sets the viewport
11038         shadow to the no-shadow style.
11039         (create_emblems_page): Call remove_default_viewport_shadow
11040         at "realize" signal time, since Gtk bug causes trouble if
11041         it's called before realizing.
11043 2000-05-10  Darin Adler  <darin@eazel.com>
11045         * components/services/trilobite/src/.cvsignore:
11046         Ignore the generated files in this new directory.
11047         
11048         * libnautilus-extensions/nautilus-gnome-extensions.h:
11049         * libnautilus-extensions/nautilus-gnome-extensions.c:
11050         (convert_varargs_to_name_array), (nautilus_simple_dialog):
11051         Moved simple-dialog function from dfos. It just calls
11052         gnome_dialog with the right options.
11053         
11054         * libnautilus-extensions/nautilus-gtk-extensions.h:
11055         Added another marshal function.
11056         
11057         * libnautilus-extensions/nautilus-icon-container.h:
11058         * libnautilus-extensions/nautilus-icon-private.h:
11059         * libnautilus-extensions/nautilus-icon-container.c:
11060         (reload_icon_positions), (nautilus_icon_container_move_icon),
11061         (nautilus_icon_container_initialize_class),
11062         (nautilus_icon_container_add),
11063         (nautilus_icon_container_request_update_all),
11064         (nautilus_icon_container_set_auto_layout),
11065         (nautilus_icon_container_freeze_icon_positions),
11066         (nautilus_icon_container_sort),
11067         (nautilus_icon_container_start_renaming_selected_item):
11068         Reorganized signals. Added NautilusIconPosition to simplify
11069         the interface for signals that deal with icon position. Removed the
11070         now-unused icon_text_edit_occurred signal. Added the layout_changed
11071         signal. Added nautilus_icon_container_sort function. Moved some code
11072         out of the "omit self check" conditional.
11073         
11074         * libnautilus-extensions/nautilus-icon-dnd.c:
11075         (confirm_switch_to_manual_layout), (handle_local_move): Added code
11076         that switches to manual layout if you move an icon within the window
11077         and it's on auto layout.
11078         
11079         * src/file-manager/dfos-xfer.h:
11080         * src/file-manager/dfos-xfer.c: (handle_xfer_vfs_error),
11081         (handle_xfer_overwrite), (dfos_xfer): Switch code to use the new
11082         nautilus_simple_dialog instead of file_operation_alert, which I
11083         removed from here.
11084         
11085         * src/file-manager/fm-icon-view.c:
11086         (get_stored_icon_position_callback), (update_layout_menus),
11087         (fm_icon_view_begin_loading), (auto_layout_callback),
11088         (manual_layout_callback), (layout_changed_callback),
11089         (fm_icon_view_merge_menus), (icon_position_changed_callback),
11090         (create_icon_container):
11091         Added workaround for Bonobo bug where it calls the radio menu item
11092         callback that was making it always use auto layout. Converted to use
11093         the updated signal parameters. Added a signal handler to update the
11094         layout menu to match the layout when the layout is changed elsewhere.
11096 2000-05-10  John Sullivan  <sullivan@eazel.com>
11098         * src/file-manager/fm-properties-window.c: (create_emblems_page):
11099         Commented out shadow-setting line that causes asserts and
11100         strange window behavior for some people's builds (but not mine
11101         when I checked this in). Will fix later.
11103 2000-05-09  Andy Hertzfeld <andy@eazel.com>
11104         
11105         * src/nautilus-window-toolbar.c:
11106         restored standard Gnome toolbar icons, for now, while we figure
11107         out how to make Susan's optional in some fashion
11108         
11109 2000-05-09  Andy Hertzfeld <andy@eazel.com>
11111         added Susan's toolbar icons; she still needs to do reload and stop
11112         
11113         * icons/home.png
11114         * icons/leftarrow.png
11115         * icons/rightarrow.png
11116         * icons/uparrow.png
11117         * icons/Makefile.am:
11118         Susan's new toolbar icons, except for uparrow, which was modified
11119         * src/nautilus-window-toolbar.c:
11120         used Susan's new toolbar icons
11121         
11122 2000-05-09  J Shane Culpepper  <pepper@eazel.com>
11124         * components/services/install/command-line/eazel-install-metadata.c
11125         * components/services/install/command-line/eazel-install-metadata.h
11126         * components/services/install/command-line/eazel-install-protocols.h
11127         * components/services/install/command-line/eazel-install-protocols.c
11128         * components/services/install/command-line/eazel-install-rpm-glue.c
11129         * components/services/install/command-line/eazel-install-rpm-glue.h
11130         * components/services/install/command-line/eazel-install-tests.h
11131         * components/services/install/command-line/eazel-install-tests.c
11132         * components/services/install/command-line/eazel-install-types.h
11133         * components/services/install/command-line/eazel-install-utils.h
11134         * components/services/install/command-line/eazel-install-utils.c
11135         * components/services/install/command-line/eazel-install-xml-package-list.c
11136         * components/services/install/command-line/eazel-install-xml-package-list.h
11137         * components/services/install/command-line/helixcode-install-utils.c
11138         * components/services/install/command-line/helixcode-install-utils.h
11139         * components/services/startup/nautilus-view/eazel-register.h
11140         * components/services/startup/nautilus-view/eazel-register.c
11142         Merged all of the listed files into:
11143         components/services/trilobite/lib to create a shared library of common
11144         service functions.  These functions still need to made much more
11145         generic in order to use them for common tasks.
11147 2000-05-09  Andy Hertzfeld <andy@eazel.com>
11149         * libnautilus-extensions/nautilus-icon-factory.c:
11150         taught the icon factory to look in the user's home directory
11151         for user-defined emblem images
11152         
11153 2000-05-09  Andy Hertzfeld <andy@eazel.com>
11155         * src/nautilus-property-browser.c:
11156         added gnome warning messages when the user chooses non-image files
11157         for backgrounds or emblems.
11158         
11159 2000-05-09  Andy Hertzfeld <andy@eazel.com>
11161         made the add and remove buttons in the content browser not
11162         show up for novice-level users
11163         
11164         * libnautilus-extensions/nautilus-global-preferences.h:
11165         defined new preference for CAN_ADD_CONTENT
11166         * libnautilus-extensions/nautilus-global-preferences.c:
11167         turned CAN_ADD_CONTENT off for novices, on for other levels
11168         * src/nautilus-property-browser.c:
11169         respect CAN_ADD_CONTENT when deciding to show the buttons
11170         
11171 2000-05-09  John Sullivan  <sullivan@eazel.com>
11173         fixed bug 843 (Emblem checkboxes in Properties window
11174         don't react to external emblem changes)
11176         * src/file-manager/fm-properties-window.c: 
11177         (create_emblems_page): Added file-changed signal
11178         handler so checkboxes react to external emblem changes.
11179         Also changed page to use a GtkTable rather than four 
11180         nested boxes; this keeps all the cells the same size 
11181         despite differing image sizes.
11183 2000-05-09  Darin Adler  <darin@eazel.com>
11185         * libnautilus-extensions/nautilus-directory-async.c:
11186         (nautilus_directory_call_when_ready_internal),
11187         (nautilus_directory_cancel_callback_internal),
11188         (directory_count_callback), (nautilus_async_destroying_file),
11189         (start_getting_directory_counts), (top_left_read_done),
11190         (start_getting_top_lefts):
11191         Eliminated code that ref's files when they are the target of the
11192         call_when_ready list or the current file being read for top left
11193         text or the current directory being counted. Instead, cancel the
11194         I/O when the file is destroyed (we already had the hook).
11195         
11196         * libnautilus-extensions/nautilus-directory-async.c:
11197         (lacks_top_left):
11198         * libnautilus-extensions/nautilus-file-private.h:
11199         * libnautilus-extensions/nautilus-file.c:
11200         (nautilus_file_contains_text), (nautilus_file_get_top_left_text):
11201         Change top left text reading to only read text files and other
11202         regular files with unknown type.
11203         
11204         * libnautilus-extensions/nautilus-gtk-extensions.c:
11205         (nautilus_gtk_marshal_NONE__POINTER_POINTER_POINTER_POINTER_POINTER_POINTER):
11206         * libnautilus-extensions/nautilus-gtk-extensions.h:
11207         Needed a new marshal function.
11208         
11209         * libnautilus-extensions/nautilus-icon-container.h:
11210         * libnautilus-extensions/nautilus-icon-container.c:
11211         (resort_and_clear), (auto_position_icon), (relayout):
11212         Changed around to share more code.
11213         (reload_icon_positions): Call to reload icon positions when you
11214         switch from auto to manual layout.
11215         (idle_handler): Get rid of relayout on idle.
11216         (nautilus_icon_container_move_icon): Renamed icon_changed to
11217         icon_position_changed.
11218         (rubberband_select): Fixed bug where rubberband would never deselect.
11219         (nautilus_icon_container_initialize_class): Add a new signal called
11220         get_stored_icon_position and also renamed the icon_changed signal to
11221         icon_position_changed.
11222         (nautilus_icon_container_update_icon): Changed back the
11223         get_icon_images interface to return NautilusScaledIcon objects
11224         instead of actual pixbufs. This is made possible by the change to
11225         include the embedded text as one of the parameters when creating
11226         a NautilusScaledIcon.
11227         (nautilus_icon_container_add): Merged the two flavors of add and
11228         removed the extra parameters. Now the icon position and scale comes
11229         from a callback (via signal).
11230         (nautilus_icon_container_set_selection): Use a hash table (fixes
11231         Bugzilla bug 613).
11232         (nautilus_icon_container_select_list_unselect_others): Use a hash
11233         table.
11234         (nautilus_icon_container_set_auto_layout): Reload the previous
11235         icon positions and "freeze" them (store them) when switching from
11236         automatic layout to manual.
11237         (nautilus_icon_container_freeze_icon_positions): Public function
11238         to store all the icon psoitions. For use later with the dialog that
11239         you get when you drag an icon.
11240         * src/file-manager/fm-icon-view.c:
11241         (get_stored_icon_position_callback): Support new interface for
11242         getting the icon position. Also used setlocale so metadata always
11243         uses a locale-independent format for floating point numbers.
11244         (fm_icon_view_add_file), (fm_icon_view_done_adding_files):
11245         New simplified interface for adding icons.
11246         (auto_layout_callback), (manual_layout_callback): Fixed a bug where
11247         we'd always switch to auto layout on startup. It's actually a bug
11248         in Bonobo where new radio menu items get callbacks right away.
11249         (icon_position_changed_callback): Used setlocale so metadata always
11250         uses a locale-independent format for floating point numbers.
11251         (get_icon_images_callback): Changed for new simpler embedded text
11252         API. Moved the actual pixbuf stuff back into NautilusIconContainer.
11253         (create_icon_container): New get_stored_icon_position callback and
11254         renamed icon_position_changed callback.
11255         
11256         * libnautilus-extensions/nautilus-icon-dnd.c: (handle_local_move),
11257         (handle_nonlocal_move),
11258         (nautilus_icon_container_receive_dropped_icons):
11259         Restructured the drag code a little bit to make it easy to add the
11260         dialog that you get when you drag an icon within an auto-layed-out
11261         window (that I will add soon).
11262         
11263         * libnautilus-extensions/nautilus-icon-factory.h:
11264         * libnautilus-extensions/nautilus-icon-factory.c:
11265         (nautilus_scalable_icon_get), (nautilus_scalable_icon_unref),
11266         (nautilus_scalable_icon_hash), (nautilus_scalable_icon_equal),
11267         (nautilus_icon_factory_get_icon_for_file),
11268         (nautilus_icon_factory_get_emblem_icon_by_name),
11269         (nautilus_icon_factory_get_emblem_icons_for_file),
11270         (get_image_from_cache),
11271         (nautilus_icon_factory_get_pixbuf_for_icon),
11272         (nautilus_icon_factory_get_pixbuf_for_file), (embed_text),
11273         (load_image_with_embedded_text):
11274         * src/file-manager/fm-list-view.c:
11275         (fm_list_view_get_emblem_pixbufs_for_file):
11276         * src/file-manager/fm-properties-window.c:
11277         (create_image_widget_for_emblem):
11278         * src/nautilus-index-title.c: (nautilus_index_title_update_info):
11279         Even though John talked me out of it, I talked myself back into it.
11280         Redid the embedded text so it's done entirely inside the icon
11281         factory. This keeps the interface simple.
11282         
11283         * libnautilus-extensions/nautilus-icon-private.h: Add a missing
11284         newline.
11285         
11286 2000-05-09  Ramiro Estrugo  <ramiro@eazel.com>
11288         * components/mozilla/nautilus-mozilla-content-view.c:
11289         (nautilus_mozilla_content_view_load_uri),
11290         (mozilla_notify_location_change_callback),
11291         (mozilla_location_changed_callback):
11292         Notify nautilus when the location changes so that back/forward
11293         navigation and history work as expected.
11295 2000-05-09  John Sullivan  <sullivan@eazel.com>
11297         Work on task 842 (Finish emblems UI in property window)
11299         * src/file-manager/fm-properties-window.c:
11300         (create_image_widget_for_emblem): Finished this function
11301         that I had checked in the beginnings for last time.
11302         (create_emblems_page): Now displays images and puts
11303         emblems into a scrolling area in case there are too
11304         many to fit. Still need to get the real list of emblems
11305         instead of a hard-wired one.
11307 2000-05-09  Andy Hertzfeld <andy@eazel.com>
11309         * src/nautilus-window-menus.c:
11310         removed the color selector widget from the debug menu, since it's
11311         no longer needed now that we have colors in the property browser.
11312         Since there was nothing else in the menu, I removed it, too.
11313         
11314 2000-05-09  Ramiro Estrugo  <ramiro@eazel.com>
11316         * acconfig.h,
11317         * configure.in: Remove the MOZILLA_FIVE_HOME hack.  I dont like
11318         how this causes the whole of nautilus to rebuild.  Its also
11319         something that should be set in the user's environment.
11320         
11321         * components/mozilla/main.c: (mozilla_check_environment), (main):
11322         Remove the MOZILLA_FIVE_HOME hack from here too.  Replace it with
11323         a environment check instead.
11324         
11325         * components/mozilla/nautilus-mozilla-content-view.c:
11326         (nautilus_mozilla_content_view_initialize),
11327         (nautilus_mozilla_content_view_destroy),
11328         (nautilus_mozilla_content_view_load_uri),
11329         (mozilla_content_view_set_busy_cursor),
11330         (mozilla_content_view_send_progress_request),
11331         (mozilla_content_view_clear_busy_cursor),
11332         (mozilla_notify_location_change_callback),
11333         (bonobo_mozilla_callback), (mozilla_merge_bonobo_items_callback),
11334         (mozilla_title_changed_callback),
11335         (mozilla_location_changed_callback), (mozilla_net_status_callback),
11336         (mozilla_link_message_callback), (mozilla_progress_callback):
11337         Add support for mousing over link status, progress notification,
11338         title changed, location changed, busy cursor.  Some of this still
11339         needs work to get it right.
11340         Factor the progress request sending code into its own function.
11341         
11342 2000-05-09  Andy Hertzfeld <andy@eazel.com>
11344         * src/nautilus-property-browser.c:
11345         implemented adding new emblems and removing them
11346         * icons/emblem-generic.png:
11347         added image for generic emblems
11348         * icons/Makefile.am:
11349         added new icon
11350         
11351 2000-05-09  John Sullivan  <sullivan@eazel.com>
11353         Checked in to fix silly problem from previous checkin:
11354         I had left the sense of a check reversed for testing
11355         purposes, and no permissions would ever appear in the
11356         Properties window.
11358         I've also got some new changes that have no visible
11359         effect yet.
11361         * libnautilus-extensions/nautilus-icon-factory.h,
11362         * libnautilus-extensions/nautilus-icon-factory.c:
11363         (nautilus_icon_factory_get_emblem_icon_by_name):
11364         New function, gets a single emblem icon.
11365         (add_emblem): Calls _get_emblem_icon_by_name now.
11366         * src/file-manager/fm-properties-window.c:
11367         (create_image_widget_for_emblem), (create_emblems_page):
11368         Some preliminary work towards making emblem images appear.
11369         (create_permissions_page): Took out a "!" so permissions
11370         show up.
11372 2000-05-09  J Shane Culpepper  <pepper@eazel.com>
11374         * components/services/ ALL
11375         * nautilus-installer/ ALL
11376         Massive reorganization of components/services.  All service components
11377         are now broken up into a command-line and a nautilus-view.  Added
11378         directories for trilobite, the core service framework.  Added
11379         directories for the proof of concept time sync service.  Also added
11380         nautilus-installer directory at the base level of nautilus which will
11381         contain the bootstrap installer for nautilus and its dependencies. Most
11382         these changes are in the build harness yet.
11384 2000-05-09  John Sullivan  <sullivan@eazel.com>
11386         Finished task 547 (show and set permissions in
11387         Properties window). It's kinda geeky as unix
11388         permissions like to be. As always, I welcome feedback
11389         about this UI.
11391         * libnautilus-extensions/nautilus-file.h,
11392         * libnautilus-extensions/nautilus-file.c:
11393         (nautilus_file_can_get_permissions): New function, checks
11394         whether the permissions of a file can be determined.
11395         (nautilus_file_can_set_permissions): New function, checks
11396         whether the current user is capable of changing the
11397         permissions of a file.
11399         (nautilus_file_denies_access_permission),
11400         (nautilus_file_is_executable): Deploy _can_get_permissions.
11401         
11402         (nautilus_file_get_permissions): New function, returns
11403         permissions for file.
11404         
11405         (nautilus_file_set_permissions): New function, changes
11406         permissions for file. Returns GnomeVFSResult that reports
11407         whether change succeeded.
11408          
11409         * src/file-manager/fm-properties-window.c: (add_prompt),
11410         (add_prompt_and_separator),
11411         (get_pixmap_and_mask_for_properties_window), (install_value_field),
11412         (install_title_value_pair), (create_page_with_vbox),
11413         (apply_standard_table_padding), (create_attribute_value_table),
11414         (create_page_with_table_in_vbox), (create_emblems_page),
11415         (permissions_label_update), (add_permissions_row_label),
11416         (add_permissions_column_label),
11417         (update_permissions_check_button_state),
11418         (permissions_check_button_toggled), (add_permissions_checkbox),
11419         (create_permissions_page), (create_more_page): Lots of new code
11420         and refactoring to display the permissions UI.
11422         * src/file-manager/fm-error-reporting.h,
11423         * src/file-manager/fm-error-reporting.c:
11424         (fm_report_error_setting_permissions): New function to
11425         complain to user if attempt to set permissions fails.
11426         The UI won't let the user try to set the permissions if
11427         nautilus_file_can_set_permissions returns FALSE, but there
11428         can always be oddball failures for other reasons.
11429         
11430 2000-05-08  Maciej Stachowiak  <mjs@eazel.com>
11432         * src/ntl-uri-map.c (get_lang_list),
11433         (nautilus_view_identifier_new_from_oaf_server_info): Provide the
11434         language from either the LANGUAGE or LANG environment variable,
11435         for proper l10n of OAF name attributes,
11437 2000-05-09  Christopher Blizzard  <blizzard@redhat.com>
11439         * components/mozilla/nautilus-mozilla-content-view.c
11440         (nautilus_mozilla_content_view_load_uri): add GTK_MOZ_EMBED() cast
11441         since the prototype for embed_load_url has changed on the Mozilla
11442         tip.
11443         (bonobo_mozilla_callback): Same.
11445 2000-05-08  John Sullivan  <sullivan@eazel.com>
11447         * src/ntl-uri-map.c: DEBUG_MJS was accidentally checked in
11448         defined. I commented it out. Also changed an #if DEBUG_MJS
11449         to #ifdef to match the others.
11451 2000-05-08  Pavel Cisler  <pavel@eazel.com>
11453         * libnautilus-extensions/nautilus-list.c
11454         * libnautilus-extensions/nautilus-icon-container.c
11455         (realize), (unrealize), (nautilus_list_realize),
11456         (nautilus_list_unrealize),
11457         (nautilus_icon_container_initialize_class),
11458         (nautilus_list_initialize_class),
11459         (nautilus_list_realize),
11460         (nautilus_list_unrealize):
11461         Fix 296 - properly set the default focus to the icon and
11462         list views so that keyboard navigation works right away.
11463         Properly defocus the icon and list view when switching 
11464         between the two views. 
11466         * libnautilus-extensions/nautilus-icon-container.c:
11467         (keyboard_arrow_key), (keyboard_right), (keyboard_left),
11468         (keyboard_down), (keyboard_up):
11469         Properly handle the first keyboard arrow press when we have no selection
11470         yet. To do this pass in a new empty_start predicate.
11471         
11472         * libnautilus-extensions/nautilus-icon-container.c
11473         * libnautilus-extensions/nautilus-list.c
11474         (nautilus_list_initialize),
11475         (select_row_from_mouse),
11476         (nautilus_list_keyboard_navigation_key_press),
11477         (nautilus_list_key_press):
11478         Properly handle the first keyboard arrow press when we have no selection
11479         yet (this will only start working when 454 gets fixed).
11480         Make it so that the keyboard focus gets collapsed with the selection
11481         when selecting an item with a mouse.
11483 2000-05-08  Darin Adler  <darin@eazel.com>
11485         * check-FIXME.pl:
11486         * check-config-h.pl: Added "." parameter to "find" so it works
11487         with non-GNU versions of find. This was for Morten, who wanted
11488         to run check-config-h.pl on Gnumeric.
11489         
11490         * libnautilus-extensions/nautilus-directory-async.c:
11491         (start_getting_top_lefts): Turn embedded text back on.
11492         
11493         * libnautilus-extensions/nautilus-directory.c:
11494         (nautilus_directory_get_metadata): Fixed a bug that was showing
11495         up in "make check".
11496         (nautilus_self_check_directory): Got rid of GNOME VFS tests,
11497         since I moved the same tests into test-async-cancel in the
11498         gnome-vfs module.
11500 2000-05-08  Ramiro Estrugo  <ramiro@eazel.com>
11502         * libnautilus/nautilus-clipboard.c:
11503         (nautilus_clipboard_info_destroy),
11504         (nautilus_clipboard_info_set_view_frame): 
11505         Reference the view on set_view_frame() and unreference on
11506         destruction.  This fixes a problem where the clipboard code was
11507         trying to use a view that has already been trashed.
11508         
11509         Thanks to Carbamide <linuxfan@ionet.net> for finding the problem.
11511 2000-05-08  Ramiro Estrugo  <ramiro@eazel.com>
11513         * configure.in,
11514         * HACKING: Remove libglade check and hacking blurb.  We don't
11515         use libglade no more,
11517 2000-05-08  Andy Hertzfeld <andy@eazel.com>
11519         * src/nautilus-property-browser.c:
11520         added an up arrow image in the property browser title bar, to act
11521         as a "go-back" button.
11522         Also, made the "add background" command check the mime-type of the
11523         specified file and only add it if it's an image
11524         * icons/uparrow.png:
11525         new image to serve as goback button in browser title bar
11526         * icons/Makefile.am:
11527         added new image to Makefile
11529 2000-05-08  Gene Z. Ragan  <gzr@eazel.com>
11531         * libnautilus-extensions/nautilus-icon-container.c:
11532         (key_press_event):
11533         Fixed bug introduced by Pavel's new super cool keyboard icon
11534         selection feature. An icon in renaming mode no longer received
11535         keyboard events. A check is now made to see if the icon container
11536         is in renaming mode before processing event for icon selection.
11538 2000-05-08  Maciej Stachowiak  <mjs@eazel.com>
11540         Fixed merging of explicitly specified components. Now the name is
11541         properly determined from OAF, nonexistent ones are ignored, the
11542         syntax for specifying then is improved, and they can be defined
11543         for files as well as directories. In the process I defined some
11544         new general-purpose metadata operations. These are
11545         bugzilla.eazel.com tasks #763 and #673.
11547         * libnautilus-extensions/nautilus-xml-extensions.h,
11548         libnautilus-extensions/nautilus-xml-extensions.c
11549         (nautilus_xml_get_property_for_children): New function. Get a
11550         specific property for all children of a node that have a
11551         particular name.
11553         * libnautilus-extensions/nautilus-directory-private.h,
11554         libnautilus-extensions/nautilus-directory.h,
11555         libnautilus-extensions/nautilus-file.h,
11556         libnautilus-extensions/nautilus-file.c
11557         (nautilus_file_get_metadata_list),
11558         libnautilus-extensions/nautilus-directory.c
11559         (get_metadata_list_from_node), (nautilus_directory_get_metadata),
11560         (nautilus_directory_get_metadata_list),
11561         (nautilus_directory_get_file_metadata_list): NewFunctions to allow
11562         getting lists of info for files or directories.
11564         * libnautilus-extensions/nautilus-file.c
11565         (nautilus_file_get_keywords): Use the new interface for getting
11566         the keywords for a file.
11568         * src/ntl-uri-map.h: Added explicit_iids field to
11569         Nautilus_NavigationInfo struct.
11571         * src/ntl-uri-map.c
11572         (get_explicit_content_view_iids_from_metafile): New function to
11573         get IIDs for explicitly selected views from the metafile.
11574         (make_oaf_query_for_explicit_content_view_iids): Create a query
11575         clause from the explicit IID list.
11576         (make_oaf_query_with_known_mime_type),
11577         (make_oaf_query_with_uri_scheme_only): Accept explicitly selected
11578         IIDs whether or not they would otherwise apply.
11579         (server_matches_content_requirements): Don't check content
11580         requirements for explicitly selected servers.
11581         (nautilus_navigation_info_new), (nautilus_navigation_info_free):
11582         initialize and free the explicit_iids field.
11584 2000-05-08  Maciej Stachowiak  <mjs@eazel.com>
11586         * libnautilus-extensions/nautilus-directory-async.c
11587         (directory_count_callback): Improved the logic so it records the
11588         fact that the directory count is complete earlier and more
11589         cleanly. This stops an assertion failure I was seeing occasionally
11590         from showing up, by fixing or at least hiding the underlying
11591         problem.
11593 2000-05-08  Maciej Stachowiak  <mjs@eazel.com>
11595         * src/ntl-uri-map.c (get_lang_list),
11596         (nautilus_view_identifier_new_from_oaf_server_info): GSList, not
11597         GList!
11599 2000-05-07  Maciej Stachowiak  <mjs@eazel.com>
11601         * src/ntl-uri-map.c (get_lang_list),
11602         (nautilus_view_identifier_new_from_oaf_server_info): fix
11603         bugzilla.eazel.com task #694; pass the language to the oaf calls
11604         that get a name so those attributes can be i18n'd.
11606 2000-05-07  Maciej Stachowiak  <mjs@eazel.com>
11608         * nautilus-clean.sh: Added pdf component to list. Added -x option
11609         to also kill oafd and gconfd.
11611 2000-05-08  Pavel Cisler <pavel@eazel.com>
11613         * libnautilus-extensions/nautilus-icon-container.c:
11614         * libnautilus-extensions/nautilus-icon-private.h:
11615         (match_best_name), (select_matching_name), (destroy), 
11616         (button_press_event), (nautilus_icon_container_almost_drag),
11617         (nautilus_icon_container_flush_typeselect_state),
11618         (nautilus_icon_container_handle_typeahead), (key_press_event),
11619         (nautilus_icon_container_initialize):
11620         Support for icon selection by typing the item's name. Initialize 
11621         and flush the new typeselect state properly. Rework key_press_event
11622         a little bit to make it easier to call the inherited key_press call
11623         when we did not handle the keyboard event ourselves.
11625         * libnautilus-extensions/nautilus-icon-container.c:
11626         (select_previous_or_next_name), (compare_icons_by_name),
11627         (build_sorted_icon_list):
11628         Support for selecting next/previous icon alphabetically using
11629         Tab and Shift-Tab.
11630         
11631         * libnautilus-extensions/nautilus-icon-container.c:
11632         (find_best_icon), (find_best_selected_icon), (leftmost_in_top_row),
11633         (rightmost_in_bottom_row), (same_row_right_side_leftmost),
11634         (same_row_left_side_rightmost), (same_column_above_lowest),
11635         (same_column_below_highest), (keyboard_home), (keyboard_end),
11636         (keyboard_arrow_key):
11637         Add data parameter to find_best_icon and find_best_selected_icon
11638         to allow using more complicated match predicates.
11639         
11640         * libnautilus-extensions/nautilus-glib-extensions.c:
11641         * libnautilus-extensions/nautilus-glib-extensions.h:
11642         (nautilus_g_list_copy):
11643         Add a list shallow copy utility call.
11645         * libnautilus-extensions/nautilus-glib-extensions.c:
11646         * libnautilus-extensions/nautilus-glib-extensions.h:
11647         (nautilus_get_system_time), (nautilus_self_check_glib_extensions)
11648         Add a utility call to get the system time in microseconds.
11650         * libnautilus-extensions/nautilus-icon-canvas-item.c:
11651         Fix a typo.
11653         * libnautilus-extensions/nautilus-icon-container.c:
11654         (nautilus_icon_container_start_renaming_selected_item):
11655         Fix white space.
11657 2000-05-08  Andy Hertzfeld <andy@eazel.com>
11659         src/nautilus-property-browser.c:
11660         implemented adding and removing colors and backgrounds to the property browser
11661         libnautilus-extensions/nautilus-icon-factory.c:
11662         removed some code for making frames for non-standard format thumbnails that was
11663         never being executed
11664         data/browser.xml:
11665         added another color so they line up better
11666         
11667 2000-05-07  Maciej Stachowiak  <mjs@eazel.com>
11670         Fix bugzilla.eazel.com task 479:
11672         * libnautilus/nautilus-clipboard.c
11673         (nautilus_clipboard_info_destroy),
11674         (nautilus_clipboard_info_set_view_frame): Do not ref and unref the
11675         view_frame. Because the NautilusClipboardInfo will only be
11676         destroyed when the view_frame is destroyed in the normal use case,
11677         if it holds a ref on the view_frame it will prevent it from ever
11678         being destroyed. This was causing the notes and history view
11679         processes to stay around forever.
11680         
11681 2000-05-06  John Sullivan  <sullivan@eazel.com>
11683         Fixed up code that limits how small icons are before they
11684         stop showing embedded text. Too bad you can't see it in
11685         action until embedded text is turned back on.
11687         * icons/eazel/i-regular.xml: Added an embedded-text rectangle
11688         for one size smaller icon than had one before.
11689         
11690         * libnautilus-extensions/nautilus-icon-factory.c:
11691         Added #defines for minimum embedded text rectangle width
11692         and height.
11693         (embedded_text_rect_usable): New function, ensures that the
11694         embedded text rectangle is sufficiently large.
11695         (nautilus_icon_factory_embed_text),
11696         (nautilus_icon_factory_embed_file_text): Use new function to
11697         skip embedded text if rectangle is nonexistent or too small.
11698         
11699         * src/file-manager/fm-icon-view.c:
11700         (get_icon_images_callback): Removed the text-rectangle size
11701         limit here since now there's a universal one inside
11702         nautilus_icon_factory.
11704 2000-05-06  Darin Adler  <darin@eazel.com>
11706         * libnautilus-extensions/nautilus-directory-async.c:
11707         (start_getting_top_lefts): Disabled the embedded text until I can
11708         fix the file descriptor linking problem. It's easy to re-enable,
11709         but then you quickly run out of FDs.
11711 2000-05-06  Jesus Bravo Alvarez  <jba@pobox.com>
11713         * configure.in: Added Galician (gl) to ALL_LINGUAS
11715 2000-05-05  Andy Hertzfeld <andy@eazel.com>
11717         did some work at the request of Bud
11718         
11719         * libnautilus-extensions/nautilus-global-preferences.h:
11720         added preference NAUTILUS_PREFERENCES_SIDEBAR_WIDTH
11721         * src/ntl-window.c:
11722         set the initial sidebar width from NAUTILUS_PREFERENCES_SIDEBAR_WIDTH.  
11723         As a welcome side-effect, this allowed  me to remove the old "sopwidth 
11724         hack". I also increased the default size.
11725         * src/ntl-index-panel:
11726         added old_width to details.  Overrode size_allocate signal to get 
11727         in there when the size changes to record it in preferences when 
11728         it changes
11729         
11730         * src/nautilus-index-title.c:
11731         changed the font used for the title to helvetica, to match the other text
11732         
11733 2000-05-05  Darin Adler  <darin@eazel.com>
11735         * libnautilus-extensions/.cvsignore: Ignore the new files that
11736         are generated by Gene's new .idl.
11737         
11738         * libnautilus-extensions/nautilus-debug.h:
11739         * libnautilus-extensions/nautilus-debug.c:
11740         (nautilus_get_available_file_descriptor_count):
11741         Changed the interface on Pavel's excellent new debugging function.
11742         
11743         * libnautilus-extensions/nautilus-directory.c:
11744         (file_open_callback), (file_close_callback), (open_and_close_one),
11745         (nautilus_self_check_directory): Added some checks for GNOME VFS
11746         in here. This is a bad place for them but it's better than not
11747         having them at all.
11748         * libnautilus-extensions/nautilus-icon-factory.c:
11749         (nautilus_self_check_icon_factory): Updated self checks so they
11750         work again. John didn't notice that he needed to fix these when
11751         he added the 20-pixel size icon to the standard sizes.
11752         
11753 2000-05-05  Gene Z. Ragan  <gzr@eazel.com>
11755         * libnautilus-extensions/nautilus-undo-manager-component.idl:
11756         New IDL file describing CORBA interface to the undo manager.
11757         
11758         * libnautilus-extensions/Makefile.am:
11759         Modified to include nautilus-undo-manager-component.idl
11760         
11761         * libnautilus-extensions/nautilus-undo-manager.c
11762         * libnautilus-extensions/nautilus-undo-manager-private.h:
11763         (impl_Nautilus_UndoManager__destroy),
11764         (impl_Nautilus_UndoManager__create),
11765         (impl_Nautilus_UndoManager__begin_transaction),
11766         (impl_Nautilus_UndoManager__end_transaction):
11767         CORBA/Bonobo functions to access undo manager features.
11769         * libnautilus-extensions/nautilus-undo-manager.h:
11770         * src/file-manager/fm-list-view.c
11771         (fm_list_view_append_background_context_menu_items),
11772         (fm_list_view_merge_menus), (fm_list_view_update_menus),
11773         (rename_list_item_callback):
11774         Began the task of 
11775         
11776         * src/ntl-main.c 
11777         (main):
11778         Removed intialization of undo manager from main,
11780         * src/ntl-app.c 
11781         (nautilus_app_init):
11782         Moved initialization of undo manager. A reference to the undo manager
11783         is saved for easy access from components.
11784         
11785         
11786 2000-05-05  Andy Hertzfeld <andy@eazel.com>
11788         * src/nautilus-property-browser.c:
11789         improved the appearance of color properties by putting them
11790         in a frame
11791         
11792 2000-05-05  Andy Hertzfeld <andy@eazel.com>
11794         * icons/colors.png:
11795         added icon for colors category
11796         * icons/Makefile.am:
11797         added new icon to Makefile
11798         * data/backgrounds/ice.png:
11799         added cool new background
11800         * data/backgrounds/Makefile.am:
11801         added new background to Makefile
11802         
11803 2000-05-05  John Sullivan  <sullivan@eazel.com>
11805         * src/file-manager/fm-properties-window.c:
11806         (install_title_value_pair), (create_page_with_table_in_vbox),
11807         (create_basic_page), (create_emblems_page),
11808         (create_permissions_page), (create_more_page),
11809         (create_properties_window):
11810         More early work on the Properties window. Nudging it into
11811         shape one step at a time.
11813 2000-05-05  Pavel Cisler  <pavel@eazel.com>
11815         * libnautilus-extensions/nautilus-debug.c,
11816         libnautilus-extensions/nautilus-debug.h:
11817         (nautilus_print_available_file_descriptor_count):
11819         Added a debugging call to help locate file descriptor leaks.
11820         
11821 2000-05-05  Darin Adler  <darin@eazel.com>
11823         Fix up the code for cancelling so we don't leave files open and
11824         objects around so much. It was getting out of hand.
11825         
11826         * libnautilus-extensions/nautilus-directory-async.c:
11827         (empty_close_callback): Give a warning if we ever have a close
11828         that fails.
11829         (directory_count_callback): For easier debugging, NULL out the
11830         file after unref'ing.
11831         (start_getting_directory_counts): Unref the file when we cancel
11832         a directory count part-way through (leak #1).
11833         (start_getting_top_lefts): Close the file when we cancel a top
11834         left read part-way through (leak #2). Unref the file when we
11835         cancel a top left read part way thorugh (leak #3).
11837 2005-05-05  Andy Hertzfeld <andy@eazel.com>
11839         * src/nautilus-property-browser.c:
11840         made color drag and drop work from the property browser.
11841         
11842 2000-05-05  Darin Adler  <darin@eazel.com>
11844         * libnautilus-extensions/nautilus-icon-factory.c:
11845         (nautilus_icon_factory_embed_text): The old code assumed that white
11846         was == 0xFFFFFF. But that's not always true due to bugs (well maybe
11847         not bugs but imperfections) in the code that converts 555 to 888 in
11848         gdk-pixbuf. Fixed it now.
11850 2000-05-05  Darin Adler  <darin@eazel.com>
11852         Moved the "embedded text" feature into the icon factory and
11853         NautilusFile. Also fixed some FIXMEs that were in the modified
11854         code along the way.
11856         This code requires a new version of GdkPixbuf to work properly.
11857         A bug in the old one makes embedded text look wrong.
11859         * libnautilus-extensions/nautilus-directory-private.h:
11860         * libnautilus-extensions/nautilus-directory-async.c:
11861         (metafile_read_close), (nautilus_metafile_read_cancel),
11862         (metafile_read_failed), (metafile_read_complete),
11863         (metafile_read_callback), (metafile_read_some),
11864         (metafile_read_open_callback), (metafile_read_start),
11865         (nautilus_directory_request_read_metafile), (metafile_write_done),
11866         (metafile_write_failed), (metafile_write_callback),
11867         (metafile_write_create_callback), (nautilus_metafile_write_start),
11868         (metafile_write), (lacks_top_left), (wants_top_left),
11869         (has_problem), (select_needy_file), (count_lines),
11870         (top_left_read_done), (top_left_read_failed),
11871         (top_left_read_complete), (top_left_read_close),
11872         (top_left_read_callback), (top_left_read_some),
11873         (top_left_open_callback), (start_getting_top_lefts),
11874         (state_changed):
11875         Added code to read top lefts of files in the background.
11876         Restructured things to accomodate this new code nicely with
11877         a minimum of copy and paste (there still was plenty of copy
11878         and paste so there's room for improvement).
11879         
11880         * libnautilus-extensions/nautilus-directory.c:
11881         (nautilus_directory_destroy):
11882         Name changes from above required revising some asserts.
11883         
11884         * libnautilus-extensions/nautilus-file-private.h:
11885         * libnautilus-extensions/nautilus-file.c:
11886         (nautilus_file_get_top_left_text): Now it returns something
11887         besides just NULL.
11888         (nautilus_extract_top_left_text): Function that remembers only
11889         the part of the top left text that we want to keep around.
11890         
11891         * libnautilus-extensions/nautilus-gtk-extensions.h:
11892         * libnautilus-extensions/nautilus-gtk-extensions.c:
11893         (nautilus_gtk_marshal_NONE__POINTER_POINTER_POINTER),
11894         (nautilus_gtk_marshal_POINTER__POINTER_INT_INT_POINTER_POINTER):
11895         Needed some new marshal functions.
11896         
11897         * libnautilus-extensions/nautilus-icon-canvas-item.h:
11898         * libnautilus-extensions/nautilus-icon-canvas-item.c:
11899         (nautilus_icon_canvas_item_initialize_class),
11900         (nautilus_icon_canvas_item_destroy),
11901         (nautilus_icon_canvas_item_set_arg),
11902         (nautilus_icon_canvas_item_get_arg),
11903         (nautilus_icon_canvas_item_get_image),
11904         (nautilus_icon_canvas_item_set_image),
11905         (nautilus_icon_canvas_item_draw):
11906         Removed the old embedded text support. It came with a whole lot
11907         of baggage, also removed.
11908         
11909         * libnautilus-extensions/nautilus-icon-container.h:
11910         * libnautilus-extensions/nautilus-icon-container.c:
11911         (nautilus_icon_container_update_icon): Moved pixbuf computing code
11912         into the FMIconView class. We might decide later to move it back
11913         again, but for now the embedded text makes it easier to do it
11914         this way.
11915         (nautilus_icon_container_initialize_class): Merged
11916         get_icon_editable_text and get_icon_additional_text back into
11917         a single signal that gets both.
11918         
11919         * libnautilus-extensions/nautilus-icon-dnd.c:
11920         (nautilus_icon_dnd_begin_drag): Updated for change in icon factory
11921         API.
11922         
11923         * src/file-manager/fm-directory-view.c: (finish_loading_uri):
11924         Ask for top-left text attribute for all directories.
11925         
11926         * src/file-manager/fm-icon-view.c: (get_icon_images_callback):
11927         Moved pixbuf computing code into the FMIconView class. We might
11928         decide later to move it back again, but for now the embedded text
11929         makes it easier to do it this way.
11930         (get_icon_text_callback): Merged get_icon_editable_text and
11931         get_icon_additional_text back into a single signal that gets both.
11933 2000-05-04  Andy Hertzeld
11935         added colors to the property browser.  Dragging isn't quite working yet.
11936         
11937         * src/nautilus-property-browser.c:
11938         added inline xml mode for the property browser and used it to add color properties
11939         * data/browser.xml:
11940         added some color definitions.
11941                 
11942 2000-05-04  John Sullivan  <sullivan@eazel.com>
11944         * src/ntl-index-panel.c (nautilus_index_panel_initialize):
11945         Added a nice little GNOME_PAD worth of space above (and
11946         below, but who could tell?) the index-title. Now that icon
11947         isn't jammed up against the top of the sidebar.
11949 2000-05-04  John Sullivan  <sullivan@eazel.com>
11951         Some work on the Properties window. It now shows some
11952         more properties (location, type, size, date).
11954         * libnautilus-extensions/nautilus-file.c:
11955         (nautilus_file_get_parent_uri_as_string): New function, returns
11956         the URI of the enclosing directory.
11957         (nautilus_file_get_string_attribute): Now supports attributes
11958         "uri" and "parent_uri".
11959         * src/file-manager/fm-directory-view.c: (compute_menu_item_info),
11960         (fm_directory_view_real_merge_menus): Changed menu name from
11961         "Set Properties..." to "Show Properties" since the read-only ones
11962         now outnumber the changeable ones.
11963         * src/file-manager/fm-properties-window.c:
11964         (create_pixmap_widget_for_file), (value_field_update),
11965         (install_title_value_pair), (create_basic_page),
11966         (create_emblems_page), (create_properties_window): Broke up
11967         huge create_properties_window into smaller functions, and
11968         added location, type, size, and date to Basic page.
11970 2000-05-04  J Shane Culpepper <pepper@eazel.com>
11971         
11972         * components/services/install/Makefile.am
11973         * components/services/startup/main.c
11974         * components/services/startup/eazel-register.c
11975         * components/services/startup/eazel-register.h
11976         * components/services/startup/nautilus-services-startup-view.h
11977         * components/services/startup/nautilus-services-startup-view.c
11979         Code cleanup to conform to eazel hacking standards.
11981 2000-05-04  Andy Hertzfeld <andy@eazel.com>
11983         now you can drop emblems from the property browser onto
11984         icons in the icon view.
11985         
11986         * libnautilus-extensions/nautilus-icon-dnd.h:
11987         added definitions for the "property/keyword" drag type
11988         * libnautilus-extensions/nautilus-icon-dnd.c:
11989         added receive_dropped_keyword and integrated it;
11990         made it highlight by testing for keywords in
11991         nautilus_icon_dnd_update_drop_target;
11992         also, with Pavel's help, fixed a long-standing drag and drop bug
11993         by calling nautilus_icon_container_free_drag_data in the
11994         drag_leave_callback.
11995         
11996         * data/backgrounds/Makefile.am:
11997         added another background image
11998         * data/backgrounds/beige_tile.jpg:
11999         new background image
12000         
12001 2000-05-04  Darin Adler  <darin@eazel.com>
12003         * src/ntl-uri-map.c: (file_list_to_mime_type_hash_table),
12004         (free_key), (mime_type_hash_table_destroy),
12005         (got_file_info_callback): Fixed bug I introduced earlier.
12006         Now MIME types are just like other text -- potentially
12007         dynamically computed and all.
12009         Special thank-you fix for Carbamide. With all his testing he deserves
12010         some special treatment.
12012 2000-05-04  Ramiro Estrugo  <ramiro@eazel.com>
12014         * src/run-nautilus: Pass command line arguments on to the script.
12015         
12016 2000-05-04  J Shane Culpepper  <pepper@eazel.com>
12017         *components/eazel/services/install/eazel-install-xml-package-list.c
12018         Making minor fixes.  Changed gint reference to int. Made
12019         parse_package_template function static.
12021 2000-05-04  Darin Adler  <darin@eazel.com>
12023         * HACKING: Some more instructions and cleanup.
12024         * RENAMING: Removed one gratuitous renaming we won't do.
12025         
12026         * components/html/ntl-web-browser.c:
12027         Removed stray "#include <config.h>" that I added by accident.
12029         * components/hardware/main.c: (main):
12030         * components/help/hyperbola-main.c: (main):
12031         * components/html/ntl-web-browser.c: (main):
12032         * components/music/main.c: (main):
12033         * components/notes/ntl-notes.c: (main):
12034         * components/rpmview/main.c: (main):
12035         * components/websearch/ntl-web-search.c: (main):
12036         * src/file-manager/gnome-desktop.c (main):
12037         * src/ntl-main.c (main):
12038         Added ifdefs so you don't get warnings when building with
12039         localization turned off. Ugly, but needed I think.
12040         
12041         * components/help/converters/gnome-db2html2/gdb3html.c:
12042         (ulink_start_element), (start_element):
12043         * components/help/converters/gnome-db2html2/sect-elements.c:
12044         (sect_sect_start_element), (sect_sect_end_element),
12045         (sect_title_start_element), (sect_xref_start_element),
12046         (sect_graphic_start_element), (sect_get_infobox_logo):
12047         * components/help/converters/gnome-db2html2/sect-preparse.c:
12048         (sect_preparse_sect_start_element),
12049         (sect_preparse_title_characters):
12050         * components/help/converters/gnome-db2html2/toc-elements.c:
12051         (toc_sect_start_element), (toc_title_start_element):
12052         * components/help/converters/gnome-info2html2/html.c:
12053         (write_node_link_html):
12054         * components/help/hyperbola-filefmt.c: (tree_key_compare):
12055         * components/help/hyperbola-nav-index.c: (start_element),
12056         (end_element), (hyperbola_navigation_index_new):
12057         * components/html/ntl-web-browser.c: (browser_submit):
12058         Replaced all uses of strcasecmp with g_strcasecmp.
12059         Why? Because Michael Meeks said so and that's good enough
12060         for me (in this case :-).
12061         
12062         * components/music/nautilus-music-view.c:
12063         (nautilus_music_view_update_from_uri):
12064         * libnautilus-extensions/nautilus-file.c:
12065         (nautilus_file_get_mime_type_as_string_attribute),
12066         (nautilus_file_get_mime_type):
12067         * libnautilus-extensions/nautilus-icon-factory.c:
12068         (nautilus_icon_factory_get_icon_name_for_regular_file):
12069         * src/file-manager/fm-icon-view.c (get_icon_property_callback):
12070         * src/ntl-index-panel.c (nautilus_index_panel_update_buttons):
12071         * src/ntl-uri-map.c (file_list_to_mime_type_hash_table):
12072         Changed get_mime_type to be like all other text functions and
12073         return a strdup'd string. John said it was a good idea.
12075         * libnautilus-extensions/nautilus-file-private.h:
12076         * libnautilus-extensions/nautilus-directory-async.c:
12077         (metafile_read_callback), (metafile_read_some),
12078         (set_up_request_by_file_attributes),
12079         (nautilus_directory_monitor_add_internal),
12080         (directory_list_get_next_position), (directory_load_callback),
12081         (ready_callback_call),
12082         (nautilus_directory_call_when_ready_internal),
12083         (wants_directory_count), (has_problem),
12084         (ready_callback_is_satisfied), (is_anyone_monitoring_file_list),
12085         (is_anyone_waiting_for_metafile), (is_wanted), (select_needy_file),
12086         (start_getting_directory_counts):
12087         Reorganize to get ready for adding code to read the top left text.
12088         
12089         * libnautilus-extensions/nautilus-file-attributes.h:
12090         Added name for the "top left text" attribute.
12091         
12092         * libnautilus-extensions/nautilus-file.h:
12093         * libnautilus-extensions/nautilus-file.c:
12094         (nautilus_file_get_top_left_text):
12095         Added call to get the top left text.
12096         
12097         * libnautilus-extensions/nautilus-icon-canvas-item.c:
12098         (draw_embedded_text): Tiny format tweak.
12099         * libnautilus-extensions/nautilus-icon-container.c:
12100         (nautilus_icon_container_update_icon): Tiny format tweak.
12101         
12102         * libnautilus-extensions/nautilus-icon-factory.h:
12103         * libnautilus-extensions/nautilus-icon-factory.c:
12104         (nautilus_icon_factory_get_pixbuf_for_file),
12105         (nautilus_icon_factory_get_pixmap_and_mask_for_file),
12106         (nautilus_icon_factory_embed_text),
12107         (nautilus_icon_factory_embed_file_text):
12108         Added support for embedded text. Not completely deployed yet.
12109         
12110 2000-05-03  Pavel Cisler  <pavel@eazel.com>
12112         * src/file-manager/dfos-xfer.c (create_xfer_dialog),
12113         (handle_xfer_ok), (handle_xfer_vfs_error), (fs_xfer),
12114         (fs_move_to_trash), (fs_empty_trash):
12115         Add a simple heuristic to only show the progress dialog
12116         for file operations that are likely to take a non-trivial
12117         ammount of time in which case the progress dialog flashed
12118         on the screen for a split of a second.
12120         * libnautilus-extensions/nautilus-icon-dnd.c
12121         (nautilus_icon_dnd_modifier_based_action):
12122         Switch the modifier key for copy to Control. This is a better
12123         modifier because Alt had to be held down after the drag started
12124         otherwise one would move the window instead of starting a drag.
12125         
12126 2000-05-03  Andy Hertzfeld <andy@eazel.com>
12128         * src/nautilus-property-browser.c:
12129         at John's suggestion, made the property browser stay open if you
12130         drag with the shift key held down.  Also, changed the format of
12131         the data accompanying the "property/keyword" item to just be the
12132         keyword instead of a file uri.
12133         * src/ntl-index-panel.c:
12134         adjusted the index panel to accept the new "property/keyword" format,
12135         removing the hack to extract the keyword from the uri.
12136         
12137 2000-05-03  Eskil Heyn Olsen  <eskil@eazel.com>
12139         * components/services/install/eazel-install-xml-package-list.c:
12140         parse_pkg_template checks the fopen return val. Also changed the
12141         arguments, so it returns the number of lines, thus loosing the
12142         hardcoded 500 lines in generate_xml_package_list.
12144 2000-05-03  Gene Z. Ragan <gzr@eazel.com>
12146         * libnautilus-extensions/nautilus-entry.c
12147         * libnautilus-extensions/nautilus-entry.h:
12148         Refined undo support.
12149         (nautilus_entry_enable_undo_key):
12150         New function to set internal handling of ctl-z for undo.
12151         
12152         * libnautilus-extensions/nautilus-icon-container.c
12153         (hide_rename_widget):
12154         Removed deletion of undo transaction.  This is now handled
12155         by the owner of the widget.
12156         
12157         * libnautilus-extensions/nautilus-undo-manager.c        
12158         (nautilus_undo_manager_unregister_object):
12159         New function to unregister a GtkObject from the undo manager.
12160         Any transaction that contains the object is removed from the
12161         undo and redo lists.  This should be called for any object that
12162         is no longer available for user interaction.
12164         * libnautilus-extensions/nautilus-undo-transaction.c
12165         (nautilus_undo_transaction_contains_object):
12166         Function added to support nautilus_undo_manager_unregister_object()
12167         call in the undo manager.  Each NautilusUndoable in a transaction
12168         is checked for the object to be removed.
12169         
12170         * src/file-manager/fm-icon-view.c:
12171         * src/file-manager/fm-properties-window.c
12172         (create_properties_window):
12173         Added call to unregister rename widget from undo manager.
12175         * src/nautilus-bookmarks-window.c
12176         Added undo support for entry widgets.
12177         
12178         * src/nautilus-location-bar.c
12179         Changed to support modified undo manager APIs.
12180         
12181 2000-05-03  Kjartan Maraas  <kmaraas@online.no>
12183         * components/html/Makefile.am: Added -DGNOMELOCALEDIR
12184         * components/html/ntl-web-browser.c: Added bindtextdomain()
12185         and textdomain() to initialize the i18n support.
12186         * components/music/Makefile.am: Same as above.
12187         * components/music/main.c: Same as above.
12188         * components/music/nautilus-music-view.c: Marked strings.
12189         * components/notes/Makefile.am: Same as above.
12190         * components/notes/ntl-notes.c: Same as above.
12191         * components/rpmview/Makefile.am: Same as above.
12192         * components/rpmview/main.c: Same here too.
12193         * components/rpmview/nautilus-rpm-view.c: Marked strings.
12194         * components/sample/nautilus-sample-content-view.c: Same here too.
12195         * components/websearch/Makefile.am: Same as above.
12196         * components/websearch/ntl-web-search.c: Again.
12198 2000-05-03  Fatih Demir <kabalak@gmx.net>
12199         
12200         * nautilus.desktop: Yes, yes, nautilus can be such a
12201         typotic word (nautlius->nautilus in Name entry...)
12202         
12203         * configure.in: Added ko to ALL_LINGUAS .
12205 2000-05-02  Andy Hertzfeld  <andy@eazel.com>
12207         * src/nautilus-index-title.c,h:
12208         made it display the emblems associated with a file.  Also, added a
12209         routine to return the current title.
12210         * src/ntl-index-panel.c:
12211         made dropping emblems on the index panel work by adding a new
12212         receive_dropped_keyword routine
12213         * src/nautilus-property-browser.c:
12214         fixed bug where the title background image wasn't being set correctly   
12215         * data/browser.xml:
12216         changed drop type for emblems to "property/keyword"
12217         * data/backgrounds/Makefile.am:
12218         added new background image
12219         * data/backgrounds/white_ribs.png:
12220         added new "white_ribs" background image
12222 2000-05-02  Gene Z. Ragan  <gzr@eazel.com>
12224         * libnautilus-extensions/nautilus-entry.c
12225         Connected widget to undo manager.
12226         (nautilus_entry_initialize),
12227         (nautilus_entry_destroy), 
12228         (nautilus_entry_key_press):
12229         Added check for ctl-z.  An undo is requested when the key combination
12230         is triggered.
12231         (nautilus_entry_changed):
12232         Added undo registration when text is modified.
12233         (save_undo_snapshot_callback),
12234         (restore_from_undo_snapshot_callback):
12235         Standard undo manager callbacks
12236         (nautilus_entry_enable_undo):
12237         Added new function. Pass in boolean value to enable or disable
12238         undo functionality.
12239         
12240 2000-05-02  John Sullivan  <sullivan@eazel.com>
12242         * libnautilus-extensions/nautilus-icon-factory.c
12243         (nautilus_icon_factory_get_icon_name_for_regular_file):
12244         Removed special case for "core" files, which are now
12245         handled by the MIME type database used in gnome-vfs.
12247 2000-05-02  Andy Hertzfeld  <andy@eazel.com>
12249         1st cut at property browser for drag and drop customization;
12250         Backgrounds are fully implemented, emblems are only partially there,
12251         more coming soon
12253         * src/Makefile.am: added property browser source files
12254         * src/nautilus-property-browser.c,h:
12255         new class that implements the property browser
12256         
12257         * src/nautilus-window-menus.c:
12258         added "customize" menu item and a callback that brings up
12259         the property browser
12260         
12261         * src/ntl-index-panel.c:
12262         changed index panel to accept "property/bgimage" drag type and
12263         change the background image accordingly
12265         * libnautilus-extensions/nautilus-icon-dnd.c:
12266         changed icon canvas to accept "property/bgimage" drag type and
12267         change the background image accordingly; removed the old shift key hack
12268         
12269         * libnautilus-extensions/nautilus-icon-dnd.h:
12270         defined constants for the new drag type
12271         
12272         * configure.in: two new data directories for backgrounds and emblems
12273         * data/Makefile.am: added two new directories
12274         * data/browser.xml: xml file that defines the categories
12276         added some background images to play with:
12277         
12278         * data/backgrounds/.cvsignore
12279         * data/backgrounds/Makefile.am
12280         * data/backgrounds/baize.png
12281         * data/backgrounds/bricks.jpg
12282         * data/backgrounds/bubbles.png
12283         * data/backgrounds/buffedwood.jpg
12284         * data/backgrounds/burlap.jpg
12285         * data/backgrounds/chalk.jpg
12286         * data/backgrounds/cherrywood.jpg
12287         * data/backgrounds/cork.png
12288         * data/backgrounds/dark-gnome.jpg
12289         * data/backgrounds/darkwood.png
12290         * data/backgrounds/frost.jpg
12291         * data/backgrounds/gnome.jpg
12292         * data/backgrounds/gold.jpg
12293         * data/backgrounds/grass.png
12294         * data/backgrounds/gray_fabric.png
12295         * data/backgrounds/greenery.jpg
12296         * data/backgrounds/manila.jpg
12297         * data/backgrounds/pink_fabric.png
12298         * data/backgrounds/puzzle.jpg
12299         * data/backgrounds/raindrops.png
12300         * data/backgrounds/sky.jpg
12301         * data/backgrounds/stucco.jpg
12302         * data/backgrounds/white_marble.jpg
12303         * data/backgrounds/white_paper.jpg
12304         * data/backgrounds/yellow_paper.jpg
12305         
12306         added some emblem images:
12307         
12308         * data/emblems/.cvsignore
12309         * data/emblems/Makefile.am
12310         * data/emblems/certified.gif
12311         * data/emblems/changed.gif
12312         * data/emblems/confidential.gif
12313         * data/emblems/encrypted.gif
12314         * data/emblems/important.gif
12315         * data/emblems/new.gif
12316         * data/emblems/personal.gif
12317         * data/emblems/remote.gif
12318         
12319         added images for the top-level categories
12320         
12321         * icons/Makefile.am: added 2 images to Makefile
12322         * icons/backgrounds.png
12323         * icons/emblems.png
12324                 
12325 2000-05-02  Maciej Stachowiak  <mjs@eazel.com>
12327         * RENAMING: Added some idl-related renamings.
12329 2000-05-02  Darin Adler  <darin@eazel.com>
12331         * HACKING: Added a mention of "killall oafd" and "killall gconfd".
12332         
12333         * libnautilus-extensions/nautilus-list.c (nautilus_list_destroy):
12334         Fixed a bug where we'd free the details structure and then write
12335         to it afterwards. This was torturing John today. It happens when
12336         you leave a page that's set to list view.
12337         
12338         * src/file-manager/fm-icon-view.c
12339         (fm_icon_view_icon_changed_callback): Fixed bug 663 that was
12340         about the issue of similar but not identical floating point
12341         numbers and also bug 661 that wasn't a bug at all!
12342         
12343         * src/file-manager/fm-properties-window.c
12344         (get_pixmap_and_mask_for_properties_window):
12345         Removed the FIXME from this file, since the bug is fixed.
12347 2000-05-02  Cody Russell  <car0969@gamma2.uta.edu>
12349         * src/ntl-window.c: Respect the user's GNOME preferences. Lock
12350         down the "Location" toolbar if the user has "Can detach and
12351         move toolbars" disabled in gnomecc.
12353 2000-05-02  Darin Adler  <darin@eazel.com>
12355         * libnautilus-extensions/nautilus-icon-factory.c:
12356         (load_specific_image_svg): Open .svg file in binary mode.
12357         (load_specific_image): Factor out some shared code.
12359         * src/file-manager/fm-directory-view.h:
12360         * src/file-manager/fm-directory-view.c:
12361         Renamed *_cb to *_callback.
12362         (remove_custom_icon), (files_have_any_custom_images),
12363         (remove_custom_icons_callback), (finish_adding_menu_item),
12364         (fm_directory_view_real_append_background_context_menu_items):
12365         (append_selection_menu_item),
12366         (fm_directory_view_real_append_selection_context_menu_items),
12367         (fm_directory_view_real_merge_menus), (update_one_menu_item),
12368         (fm_directory_view_real_update_menus),
12369         (create_selection_context_menu):
12370         Added the "Remove Custom Image" command.
12371         (compute_menu_item_info): Made more similar to the one in
12372         FMIconView.
12374         * src/file-manager/fm-icon-view.c (compute_menu_item_info),
12375         (append_one_context_menu_item), (insert_one_context_menu_item),
12376         (fm_icon_view_append_selection_context_menu_items),
12377         (append_bonobo_menu_item), (fm_icon_view_merge_menus),
12378         (update_one_menu_item), (fm_icon_view_update_menus):
12379         Made more similar to code in FMDirectoryView.
12381 2000-05-02  Pavel Cisler  <pavel@eazel.com>
12383         * libnautilus-extensions/nautilus-icon-container.c
12384         (motion_notify_event):
12385         Get rid of FIXME 623 - the problem was already fixed, I just
12386         forgot to remove the FIXME.
12388         * src/file-manager/dfos-xfer.c (handle_xfer_ok):
12389         Fix FIXME 676 - the particular switch case doesn't need any
12390         handling, took it out.
12392         * libnautilus-extensions/nautilus-list-column-title.c
12393         (nautilus_list_column_title_paint),
12394         (nautilus_list_column_title_leave),
12395         (nautilus_list_column_title_button_press),
12396         (nautilus_list_column_title_button_release):
12397         Fix bug 423 - Double-clicking Header boundary in List View
12398         fails assertion. 
12399         Fix a column press tracking bug Gene found - the coulumn would
12400         stay pressed if you tracked out of the column and let go of the
12401         mouse button - made it so that when tracking a column press the
12402         cursor gets grabbed.
12403         Fix FIXME 618 - used offscreen bitmap draws instead of invalidates
12404         during the different mouse tracking state changes.
12406         * file-manager/fm-directory-view.c:
12407         Added comments to some #if 0 code that I left behind and will use
12408         later.
12410 2000-05-02  John Sullivan  <sullivan@eazel.com>
12412         Fixed bug 641: should check MIME type for SVG files.
12413         Fixed bug 438: Bookmark menu items need to limit icon size
12415         * libnautilus-extensions/nautilus-icon-factory.h:
12416         Defined a new standard icon size, NAUTILUS_ICON_SIZE_FOR_MENUS.
12417         None of the existing standard sizes look good in menus.
12419         * libnautilus-extensions/nautilus-file.h,
12420         * libnautilus-extensions/nautilus-file.c
12421         (nautilus_file_is_mime_type): New function, compares against
12422         a particular MIME type so the caller doesn't have to get the
12423         MIME type and worry about whether to free it or not.
12425         * libnautilus-extensions/nautilus-icon-factory.c:
12426         (get_larger_icon_size),
12427         (get_smaller_icon_size): Include NAUTILUS_ICON_SIZE_FOR_MENUS
12428         when looking for the next size.
12429         (str_has_svg_suffix): Removed this function.
12430         (nautilus_icon_factory_get_icon_for_file): Use
12431         nautilus_file_is_mime_type to check for SVG instead
12432         of checking file suffix.
12433         (path_represents_svg_image): New function.
12434         (load_specific_image): Use path_represents_svg_image to
12435         check for SVG instead of checking file suffix.
12437         * libnautilus-extensions/nautilus-bookmark.c:
12438         (create_pixmap_widget_for_bookmark): Use 
12439         NAUTILUS_ICON_SIZE_FOR_MENUS.
12440         * src/nautilus-window-menus.c (append_bookmark_to_menu):
12441         Use NAUTILUS_ICON_SIZE_FOR_MENUS.
12443 2000-05-02  Darin Adler  <darin@eazel.com>
12445         * libnautilus-extensions/nautilus-icon-container.c (icon_new),
12446         (nautilus_icon_container_update_icon):
12447         Got rid of the old maximum size hack and use the new maximum size
12448         parameter instead.
12449         
12450         * src/nautilus-index-title.c (nautilus_index_title_update_icon):
12451         Took out maximum size hack and use the maximum size parameter
12452         instead.
12454         * libnautilus-extensions/nautilus-icon-factory.c
12455         (str_has_svg_suffix), (nautilus_icon_factory_get_icon_for_file),
12456         (load_specific_image): Renamed suffix_is_scalable to
12457         str_has_svg_suffix to make it clearer what it does.
12458         
12459 2000-05-02  Darin Adler  <darin@eazel.com>
12461         * check-FIXME.pl: Added -print as suggested by Morten Welinder
12462         <terra@diku.dk>.
12463         * check-config-h.pl: Added -print and fixed broken message as
12464         suggested by Morten Welinder <terra@diku.dk>.
12465         
12466         * libnautilus-extensions/nautilus-icon-factory.h:
12467         * libnautilus-extensions/nautilus-icon-factory.c
12468         (suffix_is_scalable): Simpler implementation.
12469         (get_themed_icon_file_path): Look for size-specific version of
12470         even .svg files. Although not so useful, it's not ridiculous to do so.
12471         (nautilus_icon_factory_get_icon_for_file): Fixed the twisted logic to
12472         be less twisted. Also changed the ".svg" extension check to use the
12473         common function suffix_is_scalable.
12474         (load_specific_image): Untwist logic here too, and note in the FIXME
12475         that both the .svg library and gdk-pixbuf are limiting us to file:
12476         URIs, although the gdk-pixbuf case is fixable without redoing the
12477         library by just using our utility functions.
12478         (load_image_for_scaling): Update for new size request structure which
12479         contains maximum sizes as well as nominal ones.
12480         (scale_image_and_rectangle), (revise_scale_factors_if_too_big),
12481         (scale_image_down_if_too_big): New helper functions for scaling.
12482         (load_image_scale_if_necessary): Take the maximum size into account.
12483         (get_image_from_cache): Use new size request structure and take the
12484         maximum size into account.
12485         (nautilus_icon_factory_get_pixbuf_for_icon): Changed to take maximum
12486         size parameters and pass them in to the underlying function.
12487         (icon_cache_key_hash): Include the maximum size in the hash.
12488         (icon_cache_key_equal): Check the maximum size too.
12489         (nautilus_icon_factory_get_pixbuf_for_file): Pass new max. size
12490         parameters to the nautilus_icon_factory_get_pixbuf_for_icon
12491         function.
12493         * libnautilus-extensions/nautilus-icon-container.c
12494         (nautilus_icon_container_update_icon): Pass new max. size
12495         parameters to the nautilus_icon_factory_get_pixbuf_for_icon
12496         function.
12497         
12498         * src/file-manager/fm-list-view.c
12499         (fm_list_view_get_emblem_pixbufs_for_file): Pass new max. size
12500         parameters to the nautilus_icon_factory_get_pixbuf_for_icon
12501         function.
12503 2000-05-02  John Sullivan  <sullivan@eazel.com>
12505         * data/mime/.cvsignore,
12506         * data/mime/Makefile.am:,
12507         * data/mime/nautilus.keys: Removed files. Nautilus
12508         doesn't need to install the human-readable MIME
12509         descriptions any more because gnome-vfs does it.
12511         * configure.in,
12512         * data/Makefile.am: Removed build system fu that
12513         was installing nautilus.keys.
12515 2000-05-01  Kjartan Maraas  <kmaraas@gnu.org>
12517         * libnautilus/nautilus-clipboard.c: Cosmetic change.
12518         * src/Makefile.am: Added -DGNOMELOCALEDIR to $INCLUDES.
12519         * src/ntl-main.c: Added calls to bindtextdomain() and 
12520         textdomain() to make the translations work.
12521         * components/help/hyperbola-main.c: Same here.
12522         * components/help/Makefile.am: Here as well. This should be
12523         done for any main() function in any module containing text
12524         to be translated.
12525                 
12526 2000-05-01  Pavel Cisler  <pavel@eazel.com>
12528         * libnautilus-extensions/nautilus-file-changes-queue.c:
12529         (nautilus_file_changes_consume_changes):
12530         Temporary workaround for an apparent codegen bug Carbamide
12531         was running into. (I'll need to track this down some more,
12532         this change makes the crash go away.)
12534         * src/file-manager/dfos-xfer-progress-dialog.c:
12535         * src/file-manager/dfos-xfer-progress-dialog.h:
12536         * src/file-manager/dfos-xfer.c:
12537         (dfos_xfer_progress_dialog_get_type), 
12538         (dfos_xfer_progress_dialog_new),
12539         (dfos_xfer_progress_dialog_new_file),
12540         (create_xfer_dialog),
12541         (fs_xfer), (handle_xfer_ok):
12542         Fix up the progress dialog so that it displays meaningful
12543         information while emptying the trash and moving files to
12544         trash.
12545         
12546 2000-05-01  Ramiro Estrugo  <ramiro@eazel.com>
12548         * src/nautilus-gconf.c,
12549           src/nautilus-gconf.h: Retired.  Not used or needed no more.
12551 2000-05-01  Darin Adler  <darin@eazel.com>
12553         * check-config-h.pl: Wrote a script to check for files that forget
12554         to include <config.h> and optionally edit to add it.
12555         
12556         * src/nautilus-zoom-control.c (set_zoom_level): Fixed the bug
12557         number in a FIXME.
12559         * docs/style-guide.html: Added one more tip.
12561         * check-FIXME.pl: Use my newfound Perl knowledge to spruce it up.
12563         * components/help/converters/gnome-db2html2/gdb3html.c:
12564         * components/help/converters/gnome-db2html2/sect-elements.c:
12565         * components/help/converters/gnome-db2html2/sect-preparse.c:
12566         * components/help/converters/gnome-db2html2/toc-elements.c:
12567         * components/help/converters/gnome-info2html2/html.c:
12568         * components/help/converters/gnome-info2html2/main.c:
12569         * components/help/converters/gnome-info2html2/parse.c:
12570         * components/help/converters/gnome-info2html2/utils.c:
12571         * components/help/converters/gnome-man2html2/gnome-man2html.c:
12572         * components/help/hyperbola-filefmt.c:
12573         * components/help/hyperbola-nav-index.c:
12574         * components/help/hyperbola-nav-search.c:
12575         * components/help/hyperbola-nav-tree.c:
12576         * components/html/glibwww-callbacks.c:
12577         * components/html/glibwww-init.c:
12578         * components/html/glibwww-trans.c:
12579         * components/html/gnome-dialogs.c:
12580         * components/html/ntl-web-browser.c:
12581         * components/services/install/eazel-install-metadata.c:
12582         * components/services/install/eazel-install-protocols.c:
12583         * components/services/install/eazel-install-rpm-glue.c:
12584         * components/services/install/eazel-install-tests.c:
12585         * components/services/install/eazel-install-utils.c:
12586         * components/services/install/eazel-install-xml-package-list.c:
12587         * components/services/install/eazel-install.c:
12588         * components/services/install/helixcode-install-utils.c:
12589         * components/services/startup/eazel-register.c:
12590         * components/websearch/ntl-web-search.c:
12591         * helper-utilities/authenticate/nautilus-authenticate-fork.c:
12592         * helper-utilities/authenticate/nautilus-authenticate-pam.c:
12593         * helper-utilities/authenticate/nautilus-authenticate.c:
12594         * libnautilus-extensions/nautilus-bonobo-extensions.c:
12595         * libnautilus-extensions/nautilus-file-utilities.c:
12596         * libnautilus-extensions/nautilus-glib-extensions.c:
12597         * libnautilus-extensions/nautilus-link.c:
12598         * libnautilus-extensions/nautilus-mime-type.c:
12599         * libnautilus-extensions/nautilus-undo-transaction.c:
12600         * librsvg/art_rgba.c:
12601         * librsvg/art_rgba_svp.c:
12602         * librsvg/rsvg-bpath-util.c:
12603         * librsvg/rsvg-path.c:
12604         * librsvg/rsvg.c:
12605         * librsvg/test-rsvg.c:
12606         * nautilus-widgets/nautilus-caption-table.c:
12607         * nautilus-widgets/nautilus-password-dialog.c:
12608         * nautilus-widgets/nautilus-preferences-box.c:
12609         * nautilus-widgets/nautilus-preferences-dialog.c:
12610         * nautilus-widgets/nautilus-preferences-group.c:
12611         * nautilus-widgets/nautilus-preferences-item.c:
12612         * nautilus-widgets/nautilus-preferences-pane.c:
12613         * nautilus-widgets/nautilus-radio-button-group.c:
12614         * nautilus-widgets/test-nautilus-widgets.c:
12615         * nautilus-widgets/test-preferences.c:
12616         * src/file-manager/desktop-item.c:
12617         * src/file-manager/desktop-layout.c:
12618         * src/file-manager/desktop-menu.c:
12619         * src/nautilus-bookmarks-window.c:
12620         * src/nautilus-gconf.c:
12621         * src/nautilus-window-menus.c:
12622         * src/nautilus-window-toolbars.c:
12623         * src/nautilus-zoom-control.c
12624         * src/nautilus-zoomable-frame-svr.c:
12625         * src/ntl-app.c:
12626         * src/ntl-content-view.c:
12627         * src/ntl-main.c:
12628         * src/ntl-meta-view.c:
12629         * src/ntl-miniicon.c:
12630         * src/ntl-uri-map.c:
12631         * src/ntl-view-frame-svr.c:
12632         * src/ntl-view.c:
12633         * src/ntl-window-state.c:
12634         Added includes of <config.h>.
12636 2000-05-01  Gene Z. Ragan  <gzr@eazel.com>
12638         * libnautilus-extensions/nautilus-icon-text-item.c 
12639         * libnautilus-extensions/nautilus-icon-private.h
12640         (iti_event),
12641         (nautilus_icon_text_item_configure),
12642         (nautilus_icon_text_item_start_editing),
12643         (save_undo_snapshot_callback),
12644         (restore_from_undo_snapshot_callback):
12645         
12646         * libnautilus-extensions/nautilus-undo-manager.c
12647         (nautilus_undo_manager_remove_transaction),
12648         (nautilus_undo_manager_add_undo_transaction),
12649         (nautilus_undo_manager_add_redo_transaction), 
12650         (prune_undo_manager_list):
12651         Fixed bug in above functions where GList was not getting properly updated               
12652         after an insert or remove operation.
12653         
12654         * src/nautilus-location-bar.c 
12655         (nautilus_location_bar_initialize_class):
12656         Added signal connection to the "changed" signal of the GtkEntry item.
12657         (editable_changed_callback): 
12658         Added undo operation functionality.
12659         Original location text is cached in anticipation of an undo operation.
12660         (nautilus_location_bar_initialize):
12661         Added two new memeber variables, undo_text and undo_registered.  undo_text is
12662         a char * that keeps a cache of the location text before editing.
12663         undo_registered is a boolean that is set when an undo can be registered.
12664         (nautilus_location_bar_set_location):
12665         undo_registered is set to FALSE and undo_text is updated. 
12666         (save_undo_snapshot_callback):
12667         Callback called to create undo transaction
12668         (restore_from_undo_snapshot_callback):
12669         Callback called to restore the location bar text.
12670         (destroy):
12671         undo_text is freed if it has been allocated.
12673 2000-05-01  John Sullivan  <sullivan@eazel.com>
12675         Fixed bug 575 (Make Nautilus use gnome-vfs-mime)
12677         Converted all the (few) places where Nautilus code was 
12678         using the old gnome-libs MIME API to use the new gnome-vfs
12679         MIME API.
12681         * components/help/help-method.c (convert_file_to_uri):
12682         Use gnome_vfs_mime_type_of_file. This function should
12683         probably use NautilusFile rather than calling the MIME
12684         stuff directly, but I just couldn't get distracted into
12685         trying to improve it.
12686         
12687         * libnautilus-extensions/nautilus-file.c
12688         (nautilus_file_get_type_as_string): 
12689         Use gnome_vfs_mime_description.
12690         * libnautilus-extensions/nautilus-icon-factory.c
12691         (nautilus_icon_factory_get_icon_name_for_regular_file):
12692         Use gnome_vfs_mime_get_value.
12695         * data/mime/nautilus.keys: Added a translation for
12696         "special/symlink" because it now starts showing up when
12697         using ftp:// locations. Perhaps we need to fix something
12698         in ftp also.
12700 2000-05-01  Darin Adler  <darin@eazel.com>
12702         * HACKING: Added option for eog. (Sorry Maciej, I had done it
12703         before I got your mail.)
12704         * src/ntl-uri-map.c (make_oaf_query_with_known_mime_type),
12705         (make_oaf_query_with_uri_scheme_only): Improved comments and
12706         formatting a little bit more. (Sorry again, Maciej. You can
12707         merge it however you want!)
12709 2000-05-01  Maciej Stachowiak  <mjs@eazel.com>
12711         * libnautilus/nautilus-zoomable.c: Remove FIXME comment for #681;
12712         everything wrong with this file seems to be separately recorded.
12714 2000-05-01  Darin Adler  <darin@eazel.com>
12716         Another cut at icon positioning. Still much tweaking needed.
12718         * libnautilus-extensions/nautilus-icon-canvas-item.c
12719         (nautilus_icon_canvas_item_bounds): Got rid of "slop".
12720         * libnautilus-extensions/nautilus-icon-grid.c
12721         (get_icon_size_power_from_bounds), (get_icon_size_power):
12722         Get more grid space per icon now that slop is gone.
12723         (nautilus_icon_grid_add): Base grid space occupied on the size of
12724         the icon, not the side of the grid.
12725         (nautilus_icon_grid_get_position): Position icons horizontally
12726         centered in the space, but vertically at the top.
12728         Made the OAF queries more readable as I discussed with Maciej.
12729         
12730         * src/ntl-uri-map.c (extract_prefix_add_suffix),
12731         (mime_type_get_supertype), (uri_string_get_scheme):
12732         Make special-purpose string routines use common function instead.
12733         We must not optimize this kind of thing for speed, but rather for
12734         ease of reading the code.  This can be whittled down a little more
12735         and put into nautilus-string.h
12736         (make_oaf_query_with_known_mime_type),
12737         (make_oaf_query_with_uri_scheme_only):
12738         Reformatted and commented the OAF queries so they are easy to read.
12740 2000-04-30  Darin Adler  <darin@eazel.com>
12742         * src/file-manager/fm-icon-view.c:
12743         Fixed a typo that prevented my Bonobo bug fix from working.
12744         We were still getting crashes when we switched views because
12745         the radio group was in "Setings", not "Settings".
12747 2000-04-29  Christopher Blizzard  <blizzard@redhat.com>
12749         * components/mozilla/Makefile.am (INCLUDES): Add $(BONOBO_CFLAGS)
12750         so that we can pick up the path to the bonobo includes in case
12751         they are built somewhere else than the standard location.
12753 2000-04-29  Ramiro Estrugo  <ramiro@eazel.com>
12755         * configure.in:
12756         * librsvg/Makefile.am:
12757         Check in patch suggested by Roberto Zunino
12758         <zunino@cli.di.unipi.it>.  Check for gdk-pixbuf in configure and
12759         use the flags set by that in the rsvg makefile.
12760         
12761 2000-04-28  Gene Z. Ragan  <gzr@eazel.com>
12762         
12763         * libnautilus-extensions/nautilus-icon-text-item.c
12764         * libnautilus-extensions/nautilus-icon-text-item.h
12765         * libnautilus-extensions/nautilus-undo-manager-private.h
12766         Fixed the following FIXME bugs: 684 686 687
12767         Hooked up the undo mechanism to work properly with
12768         the renaming widget.
12770         * libnautilus-extensions/nautilus-undo-manager.c
12771         * libnautilus-extensions/nautilus-undo-manager.h
12772         Add configuration defaults to sets the UndoManager to 
12773         not use the redo functionality and sets the depth of
12774         the undo list to one transaction.
12775         (nautilus_undo_manager_enable_redo):
12776         Function to toggle on or off the ability to redo undone transactions.
12777         (nautilus_undo_manager_set_queue_depth):
12778         Function to set the max depth of the undo/redo queues
12779         (free_undo_manager_list_data):
12780         New utility function to clean up data in undo/redo list
12781         (prune_undo_manager_list):
12782         New utility function that prunes a set number of items from
12783         either the undo or redo list.
12784         (nautilus_undo_manager_add_undo_transaction):
12785         Manually insert an externally created undo transaction into
12786         the undo queue.
12787         (nautilus_undo_manager_add_redo_transaction):
12788         Manually insert an externally created undo transaction into
12789         the redo queue.
12791         * libnautilus-extensions/nautilus-undo-transaction.c
12792         * libnautilus-extensions/nautilus-undo-transaction.h
12793         (nautilus_undo_transaction_destroy):
12794         Added destructor function for a NautilusUndoTransaction object
12796         * src/nautilus-window-menus.c
12797         (update_undo_menu_item):
12798         Fixed bug 755.  Connected to signal sent by undo manager that informs
12799         Undo menu item sensitivity to be set.
12800         
12801 2000-04-28  Darin Adler  <darin@eazel.com>
12803         * libnautilus-extensions/nautilus-directory-background.c
12804         (background_destroyed_callback),
12805         (nautilus_connect_background_to_directory):
12806         gtk_signal_connect_while_alive wasn't quite up to the task,
12807         so I had to redo the fix from my last check-in.
12809 2000-04-28  Ramiro Estrugo  <ramiro@eazel.com>
12811         * libnautilus-extensions/Makefile.am:
12812         Add missing .h files to SOURCES.
12813         
12814 2000-04-28  Darin Adler  <darin@eazel.com>
12816         * libnautilus-extensions/nautilus-directory-background.c
12817         (nautilus_connect_background_to_directory): 
12818         Added code to disconnect when the background is destroyed.
12819         This was exposed by our lack of leaking now!
12820         
12821 2000-04-28  Darin Adler  <darin@eazel.com>
12823         * ntl-window-msgs.c (nautilus_window_has_really_changed):
12824         Quick, kinda-hacky fix for the bug you'd see when you
12825         switch to "hardware:" and then do go-back.
12827 2000-04-28  Darin Adler  <darin@eazel.com>
12829         * src/ntl-uri-map.c (async_get_file_info_text):
12830         Fix bug that prevents non-vfs URIs from working.
12831         Just need to initialize the async. handle to NULL.
12833 2000-04-28  Darin Adler  <darin@eazel.com>
12835         This little check-in fixes the last April bug and maybe one or
12836         two leaks in Nautilus.
12838         * src/ntl-view.c (nautilus_view_destroy_client): To work around
12839         the circular reference problem in Bonobo, change a call to
12840         bonobo_object_unref to bonobo_object_destroy. This fixes the leak
12841         of the entire viewer each time.
12843         * src/file-manager/fm-directory-view.c (fm_directory_view_destroy):
12844         The FMDirectoryView does not own its view_frame. This is confusing
12845         and needs some reorganization, but it should not unref. It's actually
12846         the view_frame that owns the directory view despite the fact that
12847         it's created by the directory view and the directory view holds a
12848         reference to it! This bug prevented Maciej from doing the workaround
12849         the last time he tried it.
12851         * libnautilus-extensions/nautilus-file-changes-queue.c
12852         (nautilus_file_changes_queue_get),
12853         (nautilus_file_changes_consume_changes):
12854         A small cleanup. The global variable was getting in the way.
12855         
12856 2000-04-27  Ramiro Estrugo  <ramiro@eazel.com>
12858         * src/ntl-main.c (main): Fix a dumbass mistake.  Take out some
12859         real code from inside an assert.
12860         
12861 2000-04-28  Darin Adler  <darin@eazel.com>
12863         Some cleanup inspired by Maciej's check-in.
12864         
12865         * libnautilus-extensions/nautilus-directory-async.c
12866         (ready_callback_call),
12867         (nautilus_directory_call_when_ready_internal),
12868         (call_ready_callbacks):
12869         Made the fix so that call_when_ready works properly when a NULL
12870         directory is passed in.
12871         
12872         * libnautilus-extensions/nautilus-file.h:
12873         * libnautilus-extensions/nautilus-file.c
12874         (nautilus_file_call_when_ready): Fix for call_when_ready with
12875         a NULL file.
12876         (nautilus_file_ref), (nautilus_file_list_ref),
12877         (nautilus_file_list_copy): Filled out the operations on lists.
12878         
12879         * libnautilus-extensions/nautilus-gtk-extensions.h:
12880         * libnautilus-extensions/nautilus-gtk-extensions.c
12881         (nautilus_gtk_object_list_ref), (nautilus_gtk_object_list_copy):
12882         Filled out the operations on lists.
12883         
12884         * src/ntl-uri-map.c (got_metadata_callback): Factored out the
12885         call to async get_file_info to simplify the logic.
12886         (nautilus_navigation_info_new): Took out the check for NULL that
12887         Maciej mentioned in his notes below now that call_when_ready can
12888         handle things.
12889         (nautilus_navigation_info_cancel),
12890         (nautilus_navigation_info_free): Took out some excessive NULL
12891         checks when calling routines that work with NULL.
12893 2000-04-28  Maciej Stachowiak  <mjs@eazel.com>
12895         * src/ntl-content-view.c (nautilus_content_view_set_active): Fix a
12896         refcounting problem; make sure to unref the interface we
12897         query_local_interface for.
12899         * components/music/nautilus-music-view.oafinfo: Add "audio/x-mp3"
12900         as directory content type that satisfies the requirement so the
12901         music view activates automatically (the point of the below
12902         excercise). Netscape thinks the mime type for mp3's should be
12903         "audio/x-mpeg" but I am not going to argue.
12905         Achieved bugzilla tasks #701 and #108, plus did some refactoring
12906         of the big hairy `got_file_info_callback' function.
12908         * src/ntl-uri-map.h: add a `files' member to the
12909         NautilusNavigationInfo struct, a GList of NautilusFiles it
12910         contains in case it is a directory.
12911         
12912         * src/ntl-uri-map.c (got_file_info_callback): Factored out some
12913         code into separate functions and simplified the control flow. For
12914         each potential component, test if it matches the content
12915         requirements before adding it to the list of available content
12916         view components.
12918         (make_oaf_query_with_known_mime_type,
12919         make_oaf_query_with_uri_scheme_only): New function; breaks out the
12920         logic of constructing an oaf query when the mime type is known and
12921         unknown repsectively from `got_file_info_callback'.
12922         (make_oaf_query_with_known_mime_type): Remove the hack to try to
12923         explicitly exclude the music view.
12925         (file_list_to_mime_type_hash_table): New utility function; takes a
12926         GList of NautilusFiles and returns a hash table which has an entry
12927         for each mime type that at least one of thse files has. This is so
12928         that we can susequently test if any of the files on the list has a
12929         particular mime type in constant time.
12930         (server_matches_content_requirements): New fucntion. Returns true
12931         if the server record does not require specific content mime types,
12932         or if it does and the passed hash table contains at least one of
12933         those.
12935         (nautilus_view_identifier_new_from_oaf_server_info): New helper
12936         function to create a NautilusViewIdentifier directly from an
12937         OAF_ServerInfo record.
12939         (got_metadata_callback): Initialize the `files' field of the
12940         navinfo struct to a copy of the file list that
12941         `nautilus_directory_call_when_ready' gave us; ref all the
12942         NautilusFiles in this copy.
12943         (nautilus_navigation_info_new): Ask for the mime types of files in
12944         the directory as well as for the metadata keys we need.
12945         (nautilus_navigation_info_cancel): Only try to cancel if the
12946         navinfo actually has a directory, to avoid segfaulting.
12947         (nautilus_navigation_info_free): Free the files list. Free both
12948         this and the directory if and only if they are not NULL.
12950         
12951         * src/ntl-uri-map.c (nautilus_navigation_info_new): When
12952         navinfo->directory is null, call got_metadata_callback directly
12953         instead of calling `nautilus_directory_call_when_ready' to avoid
12954         segfaulting on protocols that gnome-vfs does not understand like
12955         `hardware:'. There is probably a way to fix this in
12956         `nautilus_directory_call_when_ready' but I did not want to mess
12957         with it.
12958         (got_file_info_callback): Renamed from `my_notify_when_ready'.
12960 2000-04-27  Maciej Stachowiak  <mjs@eazel.com>
12962         * libnautilus-extensions/nautilus-directory-async.c: include
12963         <stdlib.h>, my compiler insists on it.
12965 2000-04-27  Ramiro Estrugo  <ramiro@eazel.com>
12967         Add a real check for pam.
12969         * acconfig.h:
12970         Add HAVE_PAM.
12971         
12972         * configure.in:
12973         Check for pam.
12974         
12975         * helper-utilities/authenticate/Makefile.am:
12976         Use $(PAM_LIBS) instead of hardcoding.
12978 2000-04-27  John Sullivan  <sullivan@eazel.com>
12980         Fixed bug 660 (Need to publish menu positions for components to use)
12982         * libnautilus/nautilus-bonobo-ui.h:
12983         New file, contains #defines for Bonobo-style menu paths for all
12984         the menus & menu items in Nautilus that we promise components
12985         will exist.
12986         * libnautilus/Makefile.am: Include this new header file in library.
12987         
12988         * src/nautilus-window-menus.c: Extensive changes, too many to list
12989         every function. Replaced all the GnomeUIInfo mechanism with
12990         Bonobo-style menu creation, using the menu paths from
12991         nautilus-bonobo-ui.h. While I was in here, I also renamed some
12992         functions (especially xxx_cb -> xxx_callback), tweaked some text, 
12993         and used some more standard Gnome menu item pixmaps (not sure if I 
12994         like them or not yet).
12995         
12996         * src/ntl-window-private.h,
12997         * src/ntl-window.c:
12998         (nautilus_window_back_cb), (nautilus_window_forward_cb),
12999         (nautilus_window_up_cb), (nautilus_window_home_cb): Replaced
13000         these GtkWidget-callback style functions (formerly used
13001         by both menu items and toolbar buttons) with new NautilusWindow
13002         oriented ones nautilus_window_go_back, nautilus_window_go_forward,
13003         nautilus_window_go_up, and nautilus_window_go_home.
13004         (nautilus_window_allow_back), (nautilus_window_allow_forward),
13005         (nautilus_window_allow_up): replaced hardwired Bonobo menu paths
13006         with the new #defines.
13008         * src/nautilus-window-toolbars.c:
13009         Renamed some functions xxx_cb -> xxx_callback.
13010         (toolbar_back_callback), (toolbar_forward_callback),
13011         (toolbar_up_callback), (toolbar_home_callback): New GtkWidget-callback
13012         style functions used exclusively by the toolbar.
13013         
13014         * src/file-manager/fm-directory-view.h:
13015         Removed FM_DIRECTORY_VIEW_PATH_CLOSE and 
13016         FM_DIRECTORY_VIEW_PATH_SELECT_ALL, since callers should use
13017         the paths defined by Nautilus for these.
13018         
13019         * src/file-manager/fm-directory-view.c:
13020         (fm_directory_view_real_merge_menus): Replaced special insider knowledge
13021         of menu positions with use of the new #defines. Also tweaked with the
13022         keyboard underscore shortcuts for some items.
13024 2000-04-27  Darin Adler  <darin@eazel.com>
13026         * libnautilus-extensions/nautilus-directory-async.c:
13027         Rewrite of the state machine. This adds the new feature that Maciej
13028         needs where you can call "call_when_ready" to get file attributes.
13029         
13030         * libnautilus-extensions/nautilus-directory-private.h:
13031         Added a file_list_monitored boolean to simplify the logic.
13032         
13033         * libnautilus-extensions/nautilus-directory.c
13034         (nautilus_directory_destroy): Took advantage of file_list_monitored
13035         simplification.
13036         (nautilus_directory_call_when_ready),
13037         (nautilus_directory_cancel_callback): Tweaked the return_if_fail
13038         calls to match changes in the async.c file.
13039         (got_files_callback), (nautilus_self_check_directory):
13040         Added self-check code to test the new feature.
13041         
13042         * libnautilus-extensions/nautilus-string.h:
13043         * libnautilus-extensions/nautilus-string.c (nautilus_str_compare):
13044         Added a new function for use with things that take a GCompareFunc
13045         to avoid a function type cast.
13047 2000-04-27  Gene Z. Ragan  <gzr@eazel.com>
13049         * libnautilus-extensions/nautilus-undoable.c
13050         * libnautilus-extensions/nautilus-undoable.h
13051         * libnautilus-extensions/nautilus-undo-manager.c
13052         * libnautilus-extensions/nautilus-undo-manager.h
13053         * libnautilus-extensions/nautilus-undo-transaction.c
13054         * libnautilus-extensions/nautilus-undo-transaction.h
13055         * libnautilus-extensions/nautilus-undo-manager-private.h
13056         Added architecture for undo mechanism.
13057         NautilusUndoManager maintains undo and redo queues of
13058         NautilusUndoTransactions as well as maintaining various state
13059         information pertinant to the user interface.
13060         NautilusUndoTransaction contains a transaction name and a list of
13061         NautilusUndoables. NautilusUndoable is a object that contains a
13062         pointer to an object and a GData object. The GData object
13063         contains named data that can be added and retrieved during an
13064         undo/ redo operation. The NautilusUndoable also emits signals to
13065         the object that enables it to perform the undo and redo
13066         operations. I will write up more complete documents when the code
13067         has matured.
13068         
13069         * libnautilus-extensions/nautilus-icon-container.c
13070         * libnautilus-extensions/nautilus-icon-container.h
13071         * src/file-manager/fm-icon-view.c
13072         Removed obsolete undo functions and callbacks. These were
13073         invalidated by the new undo mechanism.
13075         * src/ntl-main.c
13076         Added call to nautilus_undo_manager_initialize_global_manager() in
13077         main. This call initializes a Nautilus global undo manager. Also
13078         fixed some minor coding style issues.
13079         
13080         * nautilus-window-menus.c (edit_menu_undo_callback):
13081         Added callback to handle selection of Undo item form edit menu.
13082         Callback checks with Undo Manager for a current undo transaction
13083         and asks manager to perform an undo if there is one.
13085 2000-04-27  Darin Adler  <darin@eazel.com>
13087         * MAINTAINERS: Changed to the new Nautilus list instead of the
13088         old secret list.
13089         
13090         * components/notes/ntl-notes.c (notes_load_metainfo):
13091         * src/file-manager/fm-directory-view.c
13092         (fm_directory_view_load_uri), (metadata_ready_callback):
13093         * src/ntl-uri-map.c (got_metadata_callback),
13094         (nautilus_navigation_info_new):
13095         Change calls to use new API, but not to use any of the new features,
13096         which are not yet implemented.
13097         
13098         * libnautilus-extensions/nautilus-directory.h:
13099         * libnautilus-extensions/nautilus-directory.c
13100         * libnautilus-extensions/nautilus-directory-private.h:
13101         * libnautilus-extensions/nautilus-directory-async.c
13102         * libnautilus-extensions/nautilus-file.c
13103         * libnautilus-extensions/nautilus-file.h:
13104         Added the new API and moved functions around a bit to prepare
13105         for the new feature needed by Maciej for getting a list of files.
13106         
13107         * libnautilus-extensions/nautilus-file-attributes.h:
13108         Added an attribute constant for MIME type.
13109         
13110 2000-04-27  J. Shane Culpepper  <pepper@eazel.com>
13111         
13112         * components/services/install/genpkg_list.example
13113         * components/services/install/eazel-install.c
13114         * components/services/install/eazel-install-protocols.c
13115         * components/services/install/eazel-install-rpm-glue.c
13116         * components/services/install/eazel-install-types.h
13117         * components/services/install/eazel-install-xml-package-list.h
13118         * components/services/install/eazel-install-xml-package-list.c
13120         Cleaned up invalid variable names to conform to eazel coding standards.
13121         Added the genpkg_list option to create a package-list.xml from a
13122         colon delimited input file.  Created an example file of the input
13123         called genpkg_list.example.
13125 2000-04-27  Darin Adler  <darin@eazel.com>
13127         More FIXME-to-bug work.
13128         
13129         * check-FIXME.pl: Fixed bug that happens when there are no
13130         outstanding FIXMEs (hooray!).
13131         
13132         * components/hardware/nautilus-hardware-view.c
13133         (get_RAM_description):
13134         * components/help/help-method.c (convert_file_to_uri),
13135         (transform_absolute_file):
13136         * components/history/ntl-history-view.c
13137         (hyperbola_navigation_history_select_row), (make_obj), (int):
13138         * components/html/Makefile.am:
13139         * components/html/main.c (pdsink_start), (url_requested_cb),
13140         (view_size_query_cb):
13141         * components/mozilla/nautilus-mozilla-content-view.c
13142         (nautilus_mozilla_content_view_load_uri):
13143         * components/music/nautilus-music-view.c
13144         (nautilus_music_view_initialize), (nautilus_music_view_destroy),
13145         (is_mp3_file), (fetch_song_info), (determine_attribute):
13146         * components/rpmview/nautilus-rpm-view.c
13147         (nautilus_rpm_view_initialize), (check_installed):
13148         * components/services/install/eazel-install-rpm-glue.c
13149         (install_new_packages):
13150         * components/services/install/eazel-install-types.h:
13151         * components/services/startup/eazel-register.c (xmlDoc):
13152         Added bug numbers to FIXMEs, writing bug reports as needed.
13154 2000-04-27  John Sullivan  <sullivan@eazel.com>
13156         More FIXME-to-bug work.
13157         
13158         * configure.in
13159         * components/services/startup/nautilus-service-startup-view.c,
13160         * libnautilus-extensions/nautilus-directory-async.c,
13161         * libnautilus-extensions/nautilus-global-preferences.c,
13162         * libnautilus-extensions/nautilus-icon-canvas-item.c,
13163         * src/ntl-uri-map.c:
13165         Wrote bug reports for all FIXMEs in these files. With
13166         this checkin and Darin's next one, there should be no
13167         more FIXMEs in Nautilus without a bug report. 
13169 2000-04-27  Joe Shaw <joe@helixcode.com>
13171         * components/rpmview/nautilus-rpm-view.c
13172         (nautilus_rpm_view_update_from_uri): Changed call of fdValidb
13173         to checking to ensure that file_descriptor != NULL. fdValid was
13174         removed from RPM 3.0.4 and this bit of code provides the same
13175         functionality. It'll build on 3.0.4-based systems now (like Red   
13176         Hat 6.2). Bad Red Hat for breaking reverse compatibility on a
13177         minor upgrade.
13179 2000-04-27  Ramiro Estrugo  <ramiro@eazel.com>
13181         * src/ntl-uri-map.c (my_notify_when_ready): Quiet down the mjs
13182         debug noise for us mortals.
13183         
13184 2000-04-27  Ramiro Estrugo  <ramiro@eazel.com>
13186         Add authenticate helper utility to build.
13188         * Makefile.am:
13189         Add helper-utilities to build.
13191         * configure.in:
13192         Add helper-utilities and helper-utilities/authenticate to build
13193         using a conditional flag until better pam detection voodoo can be
13194         written.
13196         * helper-utilities: New dir.
13198         * helper-utilities/authenticate: New dir.  A simple utility to
13199         authenticate a user using PAM and execute a command on their
13200         behalf.  Still needs some work to be more useful.
13202         * helper-utilities/authenticate/nautilus-authenticate.h,
13203           helper-utilities/authenticate/nautilus-authenticate.c,
13204           helper-utilities/authenticate/nautilus-authenticate-pam.c,
13205           helper-utilities/authenticate/nautilus-authenticate-fork.c:
13206         New files.  Code for authenticate helper utility.
13207         
13208 2000-04-27  Ramiro Estrugo  <ramiro@eazel.com>
13210         More 'make dist' fixes.  I missed the services dir.
13212         * components/services/install/Makefile.am:
13213           Add missing .h files SOURCES.
13215         * components/services/startup/Makefile.am:
13216           Add missing .h files SOURCES.
13218         * Makefile.am:
13219         Add nautilus.png to EXTRA_DIST.
13221 2000-04-27  Ramiro Estrugo  <ramiro@eazel.com>
13223         Add gnome panel .desktop file and logo.
13225         * nautilus.desktop: New panel .desktop file.
13226         * nautilus.png: New panel nautilus icon.
13227         * Makefile.am: Install the above 2.  Also install the
13228           nautilus-clean.sh script.
13229         
13230         * src/run-nautilus: Add dumb script to run nautilus while we work
13231           on the rogue process bugs.
13233         * src/Makefile.am: Install the above script.
13234         
13235 2000-04-27  Ramiro Estrugo  <ramiro@eazel.com>
13237         More 'make dist' fixes.  Let automake know about private headers
13238         so that the dist tarball will contain them.
13240         * components/help/Makefile.am,
13241         * components/mozilla/Makefile.am,
13242         * components/rpmview/Makefile.am,
13243         * components/sample/Makefile.am:
13244         Add .h files to SOURCES.
13246         * libnautilus/Makefile.am:
13247         Add missing nautilus-zoomable.h to HEADERS.
13248         Add missing private .h files SOURCES.
13249         
13250         * libnautilus-extensions/Makefile.am:
13251         Add missing .h files to HEADERS.
13252         Add missing private .h files SOURCES.
13253         Add missing idl sources top EXTRA_DIST.
13254         
13255         * nautilus-widgets/Makefile.am:
13256         Add missing nautilus-widgets-self-check-functions.h to SOURCES.
13257         
13258         * src/Makefile.am:
13259         Add missing nautilus.h to SOURCES.
13260         
13261 2000-04-27  Ramiro Estrugo  <ramiro@eazel.com>
13263         * librsvg/Makefile.am:
13264         Add .h files to la_SOURCES to make 'make dist' happy.
13265         
13266 2000-04-27  Maciej Stachowiak  <mjs@eazel.com>
13268         Fix bugzilla task #106:
13270         * src/ntl-uri-map.c (mime_type_get_supertype,
13271         uri_string_get_scheme): Helper functions for generating the
13272         OAF queries.
13273         (my_notify_when_ready): Replaced the hardcoded mess with calls to
13274         a couple of OAF queries. This function still needs major
13275         additional refactoring. I have also introduced some FIXMEs which
13276         call attention to problems that were already there in the code in
13277         most cases.
13279         * components/hardware/nautilus-hardware-view.oafinfo,
13280         components/help/hyperbola.oafinfo,
13281         components/html/ntl-web-browser.oafinfo,
13282         components/mozilla/nautilus-mozilla-content-view.oafinfo,
13283         components/music/nautilus-music-view.oafinfo,
13284         components/notes/ntl-notes.oafinfo,
13285         components/rpmview/nautilus-rpm-view.oafinfo,
13286         components/sample/nautilus-sample-content-view.oafinfo,
13287         components/services/startup/nautilus-service-startup-view.oafinfo,
13288         components/websearch/ntl-web-search.oafinfo, src/nautilus.oafinfo:
13289         Added all relevant general, bonobo and nautilus properties to
13290         content views; some to meta views.      
13292 2000-04-26  Andy Hertzfeld <andy@eazel.com>
13293         
13294         added an "About Nautilus" HTML file to the novice home directory
13295         
13296         * data/top/About.html: new about file
13297         * data/top/Makefile.am: added new file
13298         * libnautilus-extensions/nautilus-file-utilities:
13299         installed a custom icon for the about file
13300         
13301 2000-04-26  Pavel Cisler  <pavel@eazel.com>
13303         * src/file-manager/dfos-xfer.c:
13304         (fs_xfer):
13305         Fixed a memory thrasher Darin ran into.
13306         The code in question was just asking for trouble to begin with.
13307          
13308 2000-04-26  Andy Hertzfeld <andy@eazel.com>
13310         fixed bug #683, experts shouldn't get suffix stripped from link file
13311         
13312         * libnautilus-extensions/nautilus-global-preferences.h:
13313         added preference for show_real_file_names
13314         * libnautilus-extensions/nautilus-global-preferences.c:
13315         made the user level code set show_real_file_names appropriately
13316         * libnautilus-extensions/nautilus-link.c:
13317         use the above preference to control suffix stripping
13318          
13319 2000-04-26  Darin Adler  <darin@eazel.com>
13321         * libnautilus-extensions/nautilus-directory.c
13322         (make_uri_canonical), (is_canonical_uri),
13323         (nautilus_directory_get), (get_parent_directory_if_exists),
13324         (nautilus_self_check_directory):
13325         Added hack for handling "file:/" vs. "file:///" and put a little
13326         framework in place to help us deal with caonical URIs later.
13327         
13328         * src/file-manager/fm-directory-view.c (display_pending_files):
13329         Fixed a FIXME bug #.
13331 2000-04-26  Darin Adler  <darin@eazel.com>
13333         * libnautilus-extensions/nautilus-directory-async.c
13334         (nautilus_directory_schedule_dequeue_pending_idle),
13335         (new_files_callback), (nautilus_directory_get_info_for_new_files):
13336         * libnautilus-extensions/nautilus-directory-private.h:
13337         * libnautilus-extensions/nautilus-directory.c (call_files_added),
13338         (call_files_added_free_list) (call_files_changed),
13339         (call_fiels_changed_free_list), (call_get_file_info_free_list),
13340         (nautilus_directory_notify_files_added),
13341         (nautilus_directory_notify_files_removed),
13342         (nautilus_directory_notify_files_moved):
13343         Implemented async. lookup of information about newly arrived
13344         files. Changed moved files to work without a new call to get
13345         file information. Fixed some storage leaks.
13347         * libnautilus-extensions/nautilus-directory-async.c
13348         (empty_close_callback), (metafile_read_close),
13349         (nautilus_metafile_read_cancel), (metafile_read_callback),
13350         (metafile_read_some), (metafile_read_open_callback),
13351         (metafile_write_callback): Fixed bug where we were not closing
13352         files when cancelling.  This requires a bug fix in GNOME VFS to be
13353         effective.
13355         * libnautilus-extensions/nautilus-directory-async.c
13356         (dequeue_pending_idle_callback):
13357         * libnautilus-extensions/nautilus-directory-private.h:
13358         * libnautilus-extensions/nautilus-directory.c
13359         (nautilus_directory_destroy):
13360         Use new functions in GNOME VFS instead of our own.
13361         
13362         * components/html/ntl-web-browser.c (main): Fixed a warning.
13363         * docs/nautilus.faq: Tweak.
13365 2000-04-26  John Sullivan  <sullivan@eazel.com>
13367         More FIXME-to-bug work.
13368         
13369         * libnautilus/nautilus-view-frame.c,
13370         * libnautilus/nautilus-zoomable.c,
13371         * libnautilus-extensions/nautilus-icon-text-item.c,
13372         * libnautilus-extensions/nautilus-link.c,
13373         * libnautilus-extensions/nautilus-mime-type.c:
13375         Wrote bug reports for all FIXMEs in these files. Down to 
13376         45 in Nautilus with no bug report.
13378 2000-04-26  Rebecca Schulman <rebecka@eazel.com>
13380         Fixed bug #99:  Implemented copy, paste, clear, and cut for text
13381         Added new files nautilus-clipboard.c,h which contains clipboard
13382         functionality.  All components with text widgets should use this
13383         code.  It can just be copied from any existing sample code
13384         (see ntl-notes.c in the notes component)
13385         The frame cut, copy and paste stuff is now happy when there is a 
13386         widget in focus.
13388         Added
13389         * libnautilus/nautilus-clipboard.c
13390         * libnautilus/nautilus-clipboard.h
13392         Modified
13393         * src/nautilus-window-menus.c  (turned on clear, fixed up callbacks for
13394           cut, copy, and paste buttons)
13395         * components/notes/ntl-notes.c (Clipboard activated notes text box)
13396         * components/websearch/ntl-web-search.c (Clipboard activated the search box)
13398 2000-04-26  John Sullivan  <sullivan@eazel.com>
13400         More FIXME-to-bug work.
13401         
13402         * check-FIXME.pl: Added the three desktop-drawing files
13403         that aren't included in the build to the list of files
13404         in which to ignore FIXMEs.
13405         
13406         * nautilus-widgets/nautilus-caption-table.c,
13407         * nautilus-widgets/nautilus-preferences-group.c,
13408         * nautilus-widgets/nautilus-preferences.c,
13409         * src/file-manager/dfos-xfer-progress-dialog.c,
13410         * src/file-manager/dfos-xfer.c:
13412         Wrote bug reports for all FIXMEs in these files. Down to 
13413         54 in Nautilus with no bug report.
13415 2000-04-26  Andy Hertzfeld <andy@eazel.com>
13417         fixed bug #603, set index panel background image via drag and drop
13418         
13419         * libnautilus-extensions/nautilus-background.c:
13420         fixed bug in nautilus_background_draw_flat_box, where it wasn't
13421         checking for the image case when deciding to let the parent do
13422         the drawing.
13423         * src/ntl-index-panel.c:
13424         fixed bug where it was losing the background image metadata when
13425         setting the background color.  Fixed by reading both before
13426         setting either.
13427         
13428 2000-04-26  John Sullivan  <sullivan@eazel.com>
13430         More FIXME-to-bug work.
13431         
13432         * src/nautilus-bookmarks-window.c,
13433         * src/nautilus-location-bar.c,
13434         * src/nautilus-window-menus.c,
13435         * src/nautilus-zoom-control.c,
13436         * src/ntl-main.c,
13437         * src/ntl-uri-map.c:
13439         Wrote bug reports for all FIXMEs in these files. Down to 
13440         71 in Nautilus with no bug report.
13442 2000-04-26  John Sullivan  <sullivan@eazel.com>
13444         More FIXME-to-bug work.
13446         * src/nautilus-index-title.c,
13447         * libnautilus-extensions/nautilus-gdk-extensions.h,
13448         * libnautilus-extensions/nautilus-gdk-extensions.c:
13449         (select_font): Moved this function to gdk_extensions
13450         and renamed it nautilus_get_largest_fitting_font.
13452         * src/nautilus-index-tabs.c,
13453         * src/nautilus-index-title.c,
13454         * src/file-manager/fm-list-view.c,
13455         * src/file-manager/fm-properties-window.c:
13456         Wrote bug reports for all (other) FIXMEs in these files. Down to 
13457         81 in Nautilus with no bug report.
13459 2000-04-26  Andy Hertzfeld <andy@eazel.com>
13461         * src/ntl-index-panel.c:
13462         made dropping images on the index panel set the background tile to
13463         the dropped image.  There's an underlying bug in nautilus-background
13464         that prevents it from drawing unless a gradient background has been
13465         previously set up; Darin or I will fix that soon.
13466         
13467 2000-04-26  John Sullivan  <sullivan@eazel.com>
13469         More FIXME-to-bug work.
13471         * src/file-manager/fm-directory-list.c: Removed this
13472         unused file rather than dealing with its FIXMEs (at
13473         Darin's suggestion).
13474         
13475         * src/file-manager/fm-directory-view.c,
13476         * src/file-manager/fm-icon-view.c:
13477         Wrote bug reports for all FIXMEs in these files. Down to 90
13478         in Nautilus with no bug report.
13480 2000-04-26  Ramiro Estrugo  <ramiro@eazel.com>
13482         * doc/nautilus.faq: Added faq.
13483         
13484 2000-04-26  Pavel Cisler  <pavel@eazel.com>
13486         * src/file-manager/fm-directory-view.c:
13487         Change a FIXME bug number after getting rid of a duplicate bug.
13489 2000-04-26  Ramiro Estrugo  <ramiro@eazel.com>
13491         * libnautilus-extensions/Makefile.am: Install .h files in the
13492         right place.
13494         * nautilus.spec.in: New file.  First try at a rpm spec.  Not
13495         expected to quite work yet.
13497         * .cvsignore: Ignore the generated spec.
13499         * Makefile.am,
13500           configure.in: Add nautilus.spec file to build.
13502 2000-04-26  Darin Adler  <darin@eazel.com>
13504         * libnautilus-extensions/nautilus-directory-async.c
13505         (nautilus_directory_file_monitor_add):
13506         Fixed an assert that was breaking "make check".
13507         
13508         * libnautilus-extensions/nautilus-directory.c
13509         (nautilus_directory_notify_files_added),
13510         (nautilus_directory_notify_files_moved):
13511         Updated bug numbers on FIXMEs in here.
13513 2000-04-26  John Sullivan  <sullivan@eazel.com>
13515         More FIXME-to-bug work.
13517         * libnautilus-extensions/nautilus-directory.c,
13518         * libnautilus-extensions/nautilus-file-utilities.c,
13519         * libnautilus-extensions/nautilus-file.c,
13520         * libnautilus-extensions/nautilus-icon-factory.c:
13522         Wrote bug reports for all FIXMEs in these files.
13524 2000-04-26  Ramiro Estrugo  <ramiro@eazel.com>
13526         * nautilus-widgets/nautilus-password-dialog.c,
13527           nautilus-widgets/nautilus-password-dialog.h,
13528           test-nautilus-widgets.c: Add a password dialog widget.  It
13529         doesnt do the actual authentication, just the widgetry.
13531         * nautilus-widgets/test-nautilus-widgets.c: Add new test for
13532         password dialog, and properly call gnome_init() instead of
13533         gtk_init() to prevent imlib braindamage. 
13535         * nautilus-widgets/nautilus-caption-table.c: Style dumbness.
13536         
13537 2000-04-26  Ian McKellar  <yakk@yakk.net>
13539         * components/hardware/nautilus-hardware-view.c:
13540         Made the hardware view detect all the CPUs in the system and 
13541         display an icon for each.
13543 2000-04-26  Ramiro Estrugo  <ramiro@eazel.com>
13545         * nautilus-widgets/nautilus-caption-table.c,
13546           nautilus-widgets/nautilus-caption-table.h,
13547           test-nautilus-widgets.c: Add a caption table widget which i will
13548         later use for a password prompt dialog.
13549         
13550 2000-04-26  Pavel Cisler  <pavel@eazel.com>
13552         * librsvg/test-rsvg.c:
13553         Make it build:
13554         Add a workaround const cast for poptGetContext that thinks it's using
13555         const properly.
13556         
13557 2000-04-26  Pavel Cisler  <pavel@eazel.com>
13559         * src/file-manager/fm-directory-view.c
13560         * src/file-manager/fm-directory-view.h:
13561         (bonobo_menu_open_in_new_window_cb), (bonobo_menu_delete_cb),
13562         (bonobo_menu_duplicate_cb), (fm_directory_view_get_model),
13563         (fm_directory_view_delete_with_confirm), (append_uri_one),
13564         (fm_directory_duplicate_selection), (compute_menu_item_info),
13565         (fm_directory_view_real_append_selection_),
13566         (fm_directory_view_real_merge_menus),
13567         (fm_directory_view_real_update_menus), (free_file_by_uri_map),
13568         (fm_directory_view_get_context_menu_index):
13569         Added "Move to Trash" and "Empty Trash" menu items.
13570         Disabled the existing Delete code (I'll scavenge it later to implement
13571         Delete as a fallback.)
13572         
13573         * src/file-manager/dfos-xfer.h:
13574         * src/file-manager/dfos-xfer.c (file_operation_alert), (fs_xfer),
13575         (get_parent_make_name_list), (fs_move_to_trash):
13576         Add move to trash and empty trash calls.
13579         * libnautilus-extensions/nautilus-file-changes-queue.c
13580         (nautilus_file_changes_queue_get_change),
13581         (nautilus_file_changes_consume_changes):
13582         Fix a problem with nautilus_file_changes_consume_changes getting called
13583         when there is no change allocated yet.
13585         * libnautilus-extensions/nautilus-directory.c
13586         (nautilus_directory_notify_files_added),
13587         (nautilus_directory_notify_files_removed),
13588         (nautilus_directory_notify_files_moved):
13589         Got rid of old debugging code.
13591 2000-04-26  Ramiro Estrugo  <ramiro@eazel.com>
13593         * nautilus-clean.sh: Give this thing a -q flag to quiet down noise.
13595 2000-04-26  J. Shane Culpepper  <pepper@eazel.com>
13596         *components/services/install/eazel-install.c
13597         *components/services/install/Makefile.am
13598         *components/services/install/eazel-install-metadata.c
13599         *components/services/install/eazel-install-metadata.h
13600         *components/services/install/eazel-install-protocols.h
13601         *components/services/install/eazel-install-protocols.c
13602         *components/services/install/eazel-install-rpm-glue.c
13603         *components/services/install/eazel-install-rpm-glue.h
13604         *components/services/install/eazel-install-tests.h
13605         *components/services/install/eazel-install-tests.c
13606         *components/services/install/eazel-install-utils.c
13607         *components/services/install/eazel-install-utils.h
13608         *components/services/install/eazel-install-xml-package-list.h
13609         *components/services/install/eazel-install-xml-package-list.c
13610         *components/services/install/helixcode-install-utils.c
13611         *components/services/install/helixcode-install-utils.h
13612         Adding the new files for eazel-install.  Basically the same as before
13613         but broken up better for further development.
13615 2000-04-26  J. Shane Culpepper  <pepper@eazel.com>
13617         * components/services/install/eazel-install-lib.h
13618         * components/services/install/eazel-install-lib-xml.c
13619         * components/services/install/eazel-install-lib-xml.h
13620         * components/services/install/eazel-install-lib-rpm.c
13621         * components/services/install/eazel-install-lib-rpm.h
13622         * components/services/install/eazel-install-lib-debug.c
13623         * components/services/install/eazel-install-lib-debug.h
13624         * components/services/install/eazel-install-lib-util.h
13625         * components/services/install/eazel-install-lib-util.c
13627         Removing current installer in order to checkin the new structure
13629 2000-04-25  Ramiro Estrugo  <ramiro@eazel.com>
13631         Simplified preferences api by letting gconf do most of the work.
13632         Removed usage of global preferences from everywhere.  There is no
13633         longer a global preferences object.  All preference peek/poke
13634         operations are done through a gconf client thing.
13636         * components/history/ntl-history-view.c:
13637         (main): Call nautilus_preferences_initialize()
13639         * libnautilus-extensions/nautilus-global-preferences.c:
13640         Removed usage of global preferences.
13642         * libnautilus-extensions/nautilus-icon-container.c:
13643         Remove usage of unneeded global preferences.
13645         * libnautilus-extensions/nautilus-icon-factory.c
13646         Remove usage of unneeded global preferences.
13648         * libnautilus-extensions/nautilus-list.c:
13649         Remove usage of unneeded global preferences.
13651         * nautilus-widgets/nautilus-preference.c
13652           nautilus-widgets/nautilus-preference.h:
13653         Remove all default_value related crap.  Not needed no more.  Let
13654         gconf worry about default values.
13656         * nautilus-widgets/nautilus-preferences-group.c,
13657           nautilus-widgets/nautilus-preferences-group.h:
13658         (nautilus_preferences_group_add_item): 
13659         No longer need to pass in preferences.
13661         * nautilus-widgets/nautilus-preferences-item.c,
13662           nautilus-widgets/nautilus-preferences-item.h:
13663         No longer need to store a reference to a preferences object in our
13664         class.  Also,  no longer need to pass in preferences to any
13665         function.
13667         * nautilus-widgets/nautilus-preferences-pane.c,
13668           nautilus-widgets/nautilus-preferences-pane.h:
13669         (nautilus_preferences_pane_add_item_to_nth_group): No longer need
13670         to pass in preferences.
13672         * nautilus-widgets/nautilus-preferences.c,
13673           nautilus-widgets/nautilus-preferences.h:
13674         Remove the NautilusPreferences class.  Gconf does the thinking for
13675         preferences now and there is no need to divide things up by
13676         domain - thus no need for multiple preference objects.  The api
13677         was changed to reflect this.  All preferences peek/poke operations
13678         go through a global gconf_client thing.
13680         Removed the storing and usage of a value.  Gconf and only it
13681         stores values for preferences.
13683         Use gconf for callback notifications.
13685         * nautilus-widgets/test-nautilus-widgets.c: Update for the above
13686         changes.
13687         
13688 2000-04-25  Ramiro Estrugo  <ramiro@eazel.com>
13690         * nautilus-clean.sh: Return 0 at the end of the script so that it
13691         can be used like this: nautilus-clean.sh && ./src/nautilus
13693         * src/nautilus-window-menus.c:
13694         (use_eazel_theme_icons_cb): No longer need to use global
13695         preferences. 
13697         * src/ntl-main.c:
13698         (main): Call nautilus_preferences_initialize, not
13699         nautilus_preferences_init.
13700         
13701         * src/ntl-uri-map.c:
13702         (add_meta_view_iids_from_preferences): No longer need to use
13703         global preferences.  Also, changed the default value passed in to
13704         FALSE so that only meta views that are explicitly turned on
13705         (somewhere else) show up.
13707         * src/ntl-window-state.c:
13708         (nautilus_window_set_initial_state): No longer need to use
13709         global preferences.  
13711         * src/file-manager/fm-directory-view.c:
13712         (fm_directory_view_initialize): No longer need to use
13713         global preferences.  
13714         
13715         * src/file-manager/fm-icon-text-window.c:
13716         (changed_attributes_option_menu_cb), (create_icon_text),
13717         (fm_icon_text_window_destroy_cb),
13718         (fm_get_text_attribute_names_preference_or_default): No longer
13719         need to use global preferences.  
13720         
13721         * src/file-manager/fm-icon-view.c:
13722         (fm_icon_view_initialize), (fm_icon_view_destroy), : No longer
13723         need to use global preferences.  
13725 2000-04-25  Darin Adler  <darin@eazel.com>
13727         This change requires a new gnome-vfs.
13729         * HACKING: Updated URL for popt.
13730         
13731         * components/rpmview/nautilus-rpm-view.c:
13732         (nautilus_rpm_view_update_from_uri):
13733         Changed to use FD_t for real instead of casting a pointer to a
13734         raw file descriptor to it.
13736         * libnautilus-extensions/nautilus-directory-async.c:
13737         Told it to load 32 items at a time instead of 1.
13738         I think it's time we try this. It seems to work.
13740         * src/ntl-uri-map.c (my_notify_when_ready),
13741         (got_metadata_callback): Change to use the new version of
13742         async. get_file_info.
13744 2000-04-25  Andy Hertzfeld <andy@eazel.com>
13746         made drag and drop to and from the location bar work properly
13747         
13748         * src/nautilus-location-bar.c:
13749         changed the exported drag action to GDK_ACTION_LINK, as well as making
13750         it accept links.  Fixed crashes in drag_data_get by referencing the
13751         actual location bar instead of the event box, and by not destroying
13752         the result from gtk_entry_get_text, since it's not a copy.  Made it
13753         actually go to the dropped in uri by emitting the location changed
13754         signal.
13756 2000-04-25  John Sullivan  <sullivan@eazel.com>
13758         * data/mime/nautilus.keys
13759         
13760         Removed [en_US] from file-type human-readable descriptions.
13761         Added text explaining how to add a localized description.
13762         This fixes problem where if your language variable isn't
13763         set you get raw MIME types instead of human-readable descriptions.      
13765 2000-04-25  John Sullivan  <sullivan@eazel.com>
13767         More FIXME-to-bug work.
13769         * libnautilus-extensions/nautilus-icon-container.c,
13770         * libnautilus-extensions/nautilus-icon-dnd.c:
13771         Wrote bug reports for all FIXMEs in these files.
13773 2000-04-25  J. Shane Culpepper  <pepper@eazel.com>
13775         * components/services/install/eazel-install.c
13776         * components/services/install/eazel-install-lib.h
13777         * components/services/install/eazel-install-lib-xml.c
13778         * components/services/install/eazel-install-lib-rpm.c
13779         * components/services/install/eazel-install-lib-debug.c
13781         Added command line otions to set remote server and local download
13782         directory.  Did more cleaning and testing of the automatic http
13783         download options.
13785 2000-04-25  John Sullivan  <sullivan@eazel.com>
13787         More FIXME-to-bug work.
13789         * libnautilus-extensions/nautilus-list.c,
13790         * libnautilus-extensions/nautilus-list-column-title.c:
13791         Wrote bug reports for all FIXMEs in these files.
13793 2000-04-25  John Sullivan  <sullivan@eazel.com>
13795         Started going through the FIXMEs adding bug reports
13796         and fixing some trivial ones. 14 down, 152 Nautilus
13797         FIXMEs to go.
13799         * src/ntl-index-panel.c:
13800         Wrote bug reports for all FIXMEs in this file.
13801         
13802         * src/ntl-window-msgs.c,
13803         * src/ntl-window-private.h,
13804         * src/ntl-window.c:
13805         (view_menu_switch_views_callback), 
13806         (nautilus_window_load_content_view_menu): Moved functions from
13807         ntl-window-msgs.c to ntl-window.c. Updated private header file
13808         as necessary.
13809         
13810         Wrote bug reports for all other FIXMEs in these files.
13812 2000-04-25  Andy Hertzfeld <andy@eazel.com>
13814         * src/ntl-index-panel.c:
13815         removed debugging statement that was accidentally checked in and
13816         fixed glitch where the title tab was a bit separated from the view
13817         
13818 2000-04-25  Andy Hertzfeld <andy@eazel.com>
13820         fixed bug 519: dead space in sidebar
13821         
13822         * src/ntl-index-panel.c:
13823         removed set_usize call that was setting the meta-views to a fixed size;
13824         instead, set the expand and fill parameters to the box pack call to
13825         true, so the metaview is sized to fill the available space
13826         
13827         fixed bug 362: tab color is settable but not remembered
13828         
13829         * libnautilus-extensions/nautilus-metadata.h:
13830         added new metadata tags for the main tab and title tab colors
13831         * src/nautilus-index-tabs.c,h:
13832         added nautilus_index_tabs_set_color to set the tab color
13833         * src/ntl-index-panel.c:
13834         set the metadata in receive_dropped_color and set the tab color
13835         from the stored metadata in index_panel_update_info
13836         
13837 2000-04-25  J. Shane Culpepper  <pepper@eazel.com>
13838         
13839         * components/services/install/eazel-install.c
13840         * components/services/install/eazel-install-lib-rpm.c
13841         * components/services/install/eazel-install-lib-rpm.h
13842         * components/services/install/eazel-install-lib-xml.c
13843         * components/services/install/eazel-install-lib-xml.h
13844         * components/services/install/eazel-install-lib.h
13845         * components/services/install/eazel-install-lib-util.h
13846         * components/services/install/eazel-install-lib-util.c
13847         * components/services/install/eazel-install-lib-debug.c
13848         * components/services/install/eazel-install-lib-debug.h
13850         Adding http fetch of remote rpm files.  Minor cleanups.  Adding credit
13851         to Joe Shaw <joe@helixcode.com> for portions of the current prototype.
13852         This should have been done at the very beginning.  The idea for using
13853         gnet and large chunks of the current xml parsing come from his work on
13854         the Helix Code install/updater.
13856 2000-04-25  John Sullivan  <sullivan@eazel.com>
13858         Fixed part of bug 556 (nautilus_file_can_rename returns
13859         TRUE for /root, but shouldn't). Only remaining issue is
13860         the no-nautilus-file-for-/ problem, which is already written
13861         up separately.
13862         
13863         Fixed bug 546 (Folders/files without read permissions should
13864         not be viewable).
13865         
13866         * libnautilus-extensions/nautilus-file.h,
13867         * libnautilus-extensions/nautilus-file.c:
13868         (nautilus_file_denies_access_permission): New private
13869         function that checks permissions, including checking
13870         whether the current user is the owner or in the group
13871         of the queried file. If permissions aren't valid, returns
13872         FALSE.
13873         (nautilus_file_can_read), (nautilus_file_can_write),
13874         (nautilus_file_can_execute): New public functions that
13875         use nautilus_file_denies_access_permission to determine
13876         which access permissions the current user has. They return
13877         TRUE if permissions aren't valid, so callers still have to
13878         be prepared to handle failures.
13879         (nautilus_file_can_rename): Now calls nautilus_file_can_write
13880         on the parent directory. Formerly it was just checking the
13881         permission flags directly, ignoring whether the current user
13882         was the owner or not. This fixes part of bug 556.
13883         
13884         * src/ntl-window-msgs.c:
13885         (handle_unreadable_location): New private function, puts up
13886         an alert if the user tries to switch to an unreadable location.
13887         (nautilus_window_request_location_change): Try 
13888         handle_unreadable_location before starting up the state transition.
13889         This fixes bug 546.
13890         
13891         * src/file-manager/fm-error-reporting.c: 
13892         (fm_report_error_renaming_file): Add missing _()'s around messages.
13894 2000-04-25  Darin Adler  <darin@eazel.com>
13896         * libnautilus-extensions/nautilus-directory-async.c
13897         (metafile_read_complete): Re-removed mismerged assert
13898         from Andy's change.
13899         * libnautilus-extensions/nautilus-directory-private.h:
13900         Organized the header a bit.
13902 2000-04-25  Ettore Perazzoli  <ettore@helixcode.com>
13904         * libnautilus/Makefile.am
13905         (nautilus_view_component_idl_stamp): Use `$(srcdir)' in
13906         `nautilus_view_component_idl_sources' to make sure compilation
13907         works with builddir != srcdir.
13909 2000-04-24  Maciej Stachowiak  <mjs@eazel.com>
13911         * src/ntl-uri-map.c (my_notify_when_ready): Updated for OAF-ized
13912         EOG.
13914 2000-04-24  Darin Adler  <darin@eazel.com>
13916         * components/music/nautilus-music-view.c
13917         (nautilus_music_view_update_from_uri): Spacing tweak.
13918         
13919         * libnautilus-extensions/Makefile.am:
13920         * libnautilus-extensions/nautilus-directory-private.h:
13921         * libnautilus-extensions/nautilus-directory.c:
13922         * libnautilus-extensions/nautilus-directory-async.c:
13923         * libnautilus-extensions/nautilus-file.c:
13924         Moved half of nautilus-directory.c into a new file as a first step
13925         in cleaning up the state machine a bit.
13927 2000-04-24  Andy Hertzfeld <andy@eazel.com>
13929         changed the location of the novice home directory, and gave it
13930         a custom icon
13931         
13932         * libnautilus-extensions/nautilus-file-utilities.c:
13933         renamed routines from "top" to "main", and changed the install location
13934         from ~/.nautilus/top to ~/Nautilus, and set a custom icon for it
13935         * libnautilus-extensions/nautilus-file-utilities.h:
13936         changed nautilus_user_top_directory to nautilus_user_main_directory
13937         * libnautilus-extensions/nautilus-directory.c
13938         disabled assert that was firing due to async metadata reading, but
13939         tagged it with a FIXME so we can put it back when the framework is
13940         completed
13941         * libnautilus-extensions/nautilus-global-preferences.c:
13942         made it use newly renamed routine to access directory
13943         * icons/nautilus-logo.png:
13944         added new icon for the novice home directory
13945         * icons/Makefile.am:
13946         added new icon to build
13947         
13948 2000-04-24  J. Shane Culpepper  <pepper@eazel.com>
13950         * configure.in
13951         * components/services/install/Makefile.am
13952         Adding a gnet configure option to remove hardcoded makefile references.
13954 2000-04-24  Darin Adler  <darin@eazel.com>
13956         * libnautilus-extensions/nautilus-icon-grid.c:
13957         Refactored the grid to use a variable-size grid that sizes itself
13958         to the items in the grid.
13959         
13960         * libnautilus-extensions/nautilus-file-utilities.c
13961         (nautilus_user_top_directory): Formatting tweak.
13962         
13963         * libnautilus-extensions/nautilus-gtk-extensions.c
13964         (nautilus_pop_up_context_menu): Got rid of gpointer cast, since
13965         George's "find bad casts" grep found it and it's not needed.
13966         
13967         * nautilus-widgets/test-preferences.c: Got rid of gpointer cast,
13968         since George's "find bad casts" grep found it and it's not needed.
13970 2000-04-24  Darin Adler  <darin@eazel.com>
13972         * components/rpmview/Makefile.am:
13973         * components/services/install/Makefile.am:
13974         Fixed a few things in these make files. There's still a lot to be fixed.
13975         The most important fix was to add OAF_CFLAGS and OAF_LIBS. Without that
13976         the build was failing. But these files still have a hard-coded
13977         /usr/include path for librpm.
13979 2000-04-24  J. Shane Culpepper  <pepper@eazel.com>
13981         * HACKING
13982         Updating hacking to reflect the new gnet dependency.
13984 2000-04-24  Andy Hertzfeld <andy@eazel.com>
13986         changed link file suffix to .link
13987         
13988         * data/top/Computer-ntl.xml: removed file
13989         * data/top/Computer.link: new file
13990         * data/top/Makefile.am: adjusted accordingly
13991         * data/top/Services-ntl.xml: removed file
13992         * data/top/Services.link: added file
13993         * libnautilus-extensions/nautilus-link.c,h:
13994         changed suffix from "ntl-link" to "link"
13995         
13996         made links more transparent in list view
13997         
13998         * libnautilus-extensions/nautilus-file.c:
13999         make nautilus_file_get_string_attribute know about links
14000         * src/file-manager/fm-directory-view.c:
14001         map filename for links in status bar    
14002         
14003         added hardware view component for novice home directory.  Use /proc as source of info,
14004         but will probably move to libgtop
14005         
14006         * configure.in: added hardware view component's directories
14007         * nautilus-clean.sh: added component to list to be cleaned
14008         * components/Makefile.am: added hardware view component
14009         * components/hardware/.cvsignore: ignore generated files
14010         * components/hardware/Makefile.am: makefile for new component
14011         * components/hardware/main.c: standard component bonobo glue
14012         * components/hardware/nautilus-hardware-view.c: the actual code
14013         * components/hardware/nautilus-hardware-view.h: definitions for the component
14014         * components/hardware/nautilus-hardware-view.oafinfo: activation file
14015         * components/hardware/icons/.cvsignore: ignore generate files
14016         * components/hardware/icons/Makefile.am: icons to use in the hardware view
14017         * components/hardware/icons/cpu.png: cpu image
14018         * components/hardware/icons/memory_chip.gif: memory image
14019         * src/ntl-uri-map.c: we still have to kludge here to add new protocols
14020         
14021         * components/rpmview/nautilus-rpm-view.c:
14022         changed default background color of package view
14023         
14024 2000-04-23  J. Shane Culpepper  <pepper@eazel.com>
14025         
14026         * components/services/install/eazel-install.c
14027         * components/services/install/Makefile.am
14028         * components/services/install/eazel-install-lib-rpm.c
14029         * components/services/install/eazel-install-lib-xml.c
14030         * components/services/install/eazel-install-lib-xml.h
14032         Added the http fetch of a package list from a remote server. Still 
14033         need to add http fetch of the rpm files.
14035 2000-04-23  J. Shane Culpepper  <pepper@eazel.com>
14036         
14037         * components/services/install/eazel-install.c
14038         * components/services/install/eazel-install-lib.h
14039         * components/services/install/eazel-install-lib-xml.h
14040         * components/services/install/eazel-install-lib-xml.c
14041         * components/services/install/eazel-install-lib-debug.h
14042         * components/services/install/eazel-install-lib-debug.c
14043         * components/services/install/eazel-install-lib-rpm.h
14044         * components/services/install/eazel-install-lib-rpm.c
14045         * components/services/install/eazel-install-lib-util.h
14046         * components/services/install/eazel-install-lib-util.c
14048         Broke up eazel-install-lib.h to appropriate headers for each source
14049         file.  Did a little cleaning so that functions are more modular. 
14050         Setting everything up so that lib functions can be moved to a separate
14051         services library down the road.
14053 2000-04-23  Martin Baulig  <martin@home-of-linux.org>
14055         * configure.in: Check for -lrpm and its dependency libs.
14056         On success, define HAVE_RPM and AC_SUBST(RPM_LIBS).
14057         Added BUILD_RPMVIEW_COMPONENT automake conditional.
14058         * acconfig.h (HAVE_RPM): Added.
14060         * components/Makefile.am: Conditionally compile rpmview.
14062         * components/rpmview/Makefile.am: Use $(RPM_LIBS) rather than
14063         -lrpm so we get the correct dependency libs such as -lgz2.
14065 2000-04-22  J. Shane Culpepper  <pepper@eazel.com>
14066         
14067         * libnautilus-extensions/libnautilus-extensions.h
14068         Fixing build bustage in components/help.  The header was pointing to
14069         files in libnautilus instead of libnautilus-extensions.
14071 2000-04-21  Gene Z. Ragan  <gzr@eazel.com>
14072         
14073         * libnautilus-extensions/nautilus-icon-canvas-item.c
14074         * libnautilus-extensions/nautilus-icon-canvas-item.h
14075         (nautilus_icon_canvas_item_get_max_text_width):
14076         Return value of MAX_TEXT_WIDTH constant.  Used is positoning the rename
14077         text widget.
14079         * libnautilus-extensions/nautilus-icon-container.c
14080         Added signal "icon_text_edit_occurred" called when the text rename widget
14081         recieves some sort of edit, such as a keyboard entry.
14082         (rename_text_dirty):  Returns boolean indicating edit state of
14083         text in rename widget.  Used in undo operation.
14084         (text_edited_callback):  Signal callback called when NautilusIconTextItem
14085         text is edited.
14086         (nautilus_icon_container_start_renaming_selected_item):  Fixed positioning
14087         code to address bug #543
14088         (nautilus_icon_container_undo_renaming_selected_item):  Added simple undo
14089         code.  This needs to be replaced with a global undo system.
14091         * libnautilus-extensions/nautilus-icon-text-item.c
14092         (iti_paint_text):  Fixed drawing of i-beam to address bug #506
14093         (iti_event): Added keyboard handling for simple undo
14094         (nautilus_icon_text_item_get_margins):  Returns values of MARGIN_X and
14095         MARGIN_X constants.  Used when positioning text item in canvas.
14097         * src/file-manager/fm-directory-view.c
14098         Moved menu item title constants to header file.  This is needed so
14099         FMIconView can get menu position paths when placing items in the
14100         bonobo and contect menus.  Renamed the constants to be specific to
14101         FMDirectoryView.
14102         (fm_directory_view_get_context_menu_index):  Added function to return
14103         index of requested menu item.
14104         
14105         * src/file-manager/fm-icon-view.c
14106         (fm_icon_view_icon_text_edit_callback):  Callback that connect to
14107         NautilusIconContainer signal.
14108         (undo_rename_icon_callback): Added simple undo functionality.
14109         (insert_one_context_menu_item): Added function to insert context menu
14110         add a specific index.
14111         Fixed bug #499, Rename menu in bad place in context menu.
14113 2000-04-21  Ramiro Estrugo  <ramiro@eazel.com>
14115         * components/history/ntl-history-view.c:
14116         Yank rogue puts()
14118 2000-04-21  Ramiro Estrugo  <ramiro@eazel.com>
14120         * components/history/ntl-history-view.c:
14121         Call nautilus_preferences_init to make sure gconf is in business
14122         before we call it.
14124 2000-04-21  Ramiro Estrugo  <ramiro@eazel.com>
14126         Switched us to use gconf instead of gnome_config.  There is still
14127         lots of crufty preferences code that can be simplified a lot,
14128         since gconf does a lot of work for us.
14130         * components/help/Makefile.am
14131         * components/history/Makefile.am
14132         * components/html/Makefile.am
14133         * components/music/Makefile.am
14134         * components/notes/Makefile.am
14135         * components/rpmview/Makefile.am
14136         * components/sample/Makefile.am
14137         * components/services/install/Makefile.am
14138         * components/services/startup/Makefile.am
14139         * components/websearch/Makefile.am
14140         * nautilus-widgets/Makefile.am
14141         Add GCONF_CFLAGS and GCONF_LIBS where needed.
14143         * nautilus-widgets/nautilus-preference.c:
14144         Removed a rogue unused include.
14146         * nautilus-widgets/nautilus-preferences.c,
14147           nautilus-widgets/nautilus-preferences.h:
14148         Straight forward switch from gnome_config api to gconf api.
14149         (gnome_config_make_string):  Retired, cause thankfully we dont
14150         need to make up dumb strings with a default value appened to the
14151         end. All praise gconf.
14152         (nautilus_preferences_init): Add a init function to make sure
14153         gconf is properly initialized.  This needs some cleanup wrt the
14154         global preferences crap.  Im planning to clean that up in my next
14155         checkin.
14157         * nautilus-widgets/test-nautilus-widgets.c:
14158         Fixed for gconf changes.
14160         * src/ntl-main.c:
14161         Call nautilus_preferences_init to make sure gconf is in business
14162         before we call it.
14163         
14164 2000-04-21  Ramiro Estrugo  <ramiro@eazel.com>
14166         * src/ntl-window-state.h,
14167           src/ntl-window-state.c: (nautilus_window_save_state)
14168         (nautilus_window_load_state): Retired these two old and unused
14169         functions.  We dont use gnome_config to store metaview state no
14170         more.
14171         
14172 2000-04-20  Darin Adler  <darin@eazel.com>
14174         * components/history/ntl-history-view.c
14175         (hyperbola_navigation_history_notify_location_change):
14176         Fixed a typo that was causing the history view to fail.
14177         
14178         * components/music/nautilus-music-view.c
14179         (nautilus_music_view_initialize_class),
14180         (nautilus_music_view_initialize), (setup_title_font),
14181         (nautilus_music_view_realize):
14182         Changed to use new nautilus_gtk_widget_set_font_by_name
14183         and got rid of the old realize hack.
14184         
14185         * components/rpmview/nautilus-rpm-view.c
14186         (nautilus_rpm_view_initialize):
14187         Added a FIXME about how it's bad to hard-wire a font.
14188         
14189         * components/services/startup/nautilus-service-startup-view.c
14190         (setup_title_font), (setup_form_title),
14191         (nautilus_service_startup_view_initialize),
14192         (nautilus_service_startup_view_realize),
14193         (nautilus_service_startup_view_load_uri):
14194         Changed to use new nautilus_gtk_widget_set_font_by_name
14195         and got rid of the old realize hack.
14196         
14197         * libnautilus-extensions/nautilus-gtk-extensions.h:
14198         * libnautilus-extensions/nautilus-gtk-extensions.c
14199         (nautilus_gtk_style_set_font): Made public.
14200         (nautilus_gtk_widget_set_font): Added comments and checks on
14201         the parameters.
14202         
14203         * libnautilus-extensions/nautilus-icon-container.c (relayout),
14204         (idle_handler), (nautilus_icon_container_move_icon),
14205         (world_width_changed), (end_stretching), (button_release_event),
14206         (handle_icon_button_press), (nautilus_icon_container_add_auto),
14207         (nautilus_icon_container_remove),
14208         (nautilus_icon_container_set_auto_layout):
14209         Some tweaks for auto-layout mode. Made it work better with
14210         stretching by not laying out the currently-stretched icon,
14211         simplified the code a bit, and made it relayout when an icon
14212         is removed.
14213         
14214         * src/file-manager/fm-directory-view.c (compute_menu_item_info),
14215         (fm_directory_view_real_merge_menus):
14216         Got rid of the "..." from "Delete...". On Macintosh, at least,
14217         the "..." is only used when the dialog is something that adds
14218         parameters to the command, not when it's just a confirmation.
14219         
14220         * src/nautilus-index-title.c (update_font),
14221         (nautilus_index_title_update_label),
14222         (nautilus_index_title_update_info):
14223         Changed to use new nautilus_gtk_widget_set_font and
14224         nautilus_gtk_widget_set_font_by_name.
14226         * src/ntl-index-panel.c (nautilus_index_panel_remove_meta_view):
14227         Made the index panel do *slightly* better when a meta view
14228         fails to load.
14230         * components/help/hyperbola-main.c (main):
14231         Fixed a warning.
14232         
14233 2000-04-20  Maciej Stachowiak  <mjs@eazel.com>
14235         * configure.in: Add back tests erroneously removed in the last
14236         checkin.
14238 2000-04-20  Pavel Cisler <pavel@eazel.com>
14240         * libnautilus-extensions/nautilus-directory.c:
14241         (nautilus_directory_notify_files_moved):
14242         Darin helped me finish implementing the missing parts of the call,
14243         including updating the reference to the new directory object,
14244         updating the file info structure to match the file's new location.
14245         Fixed a silly bug in an if statement.
14246         
14247         * libnautilus-extensions/nautilus-file-changes-queue.c:
14248         Fixed another silly bug where 'file moved' notifications were
14249         misinterpreted as file-removed ones.
14250         
14251 2000-04-20  Andy Hertzfeld <andy@eazel.com>
14253         * libnautilus-extensions/nautilus-gtk-extensions.c,h:
14254         added utility routines (written by Darin on my machine) to set the
14255         font associated with a widget
14256         * components/rpm-view/nautilus-rpmview.c:
14257         used the new routine to set the font of the package title.
14258         
14259 2000-04-20  Andreas Hyden  <a.hyden@cyberpoint.se>
14261         * configure.in: Added sv to ALL_LINGUAS.
14263 2000-04-19  Darin as Andy  <darin@eazel.com>
14265         * libnautilus-extensions/nautilus-graphic-effects.c:
14266         (nautilus_make_semi_transparent), (create_new_pixbuf_with_alpha):
14267         Create a new pixbuf that has an alpha channel even if the original
14268         pixbuf didn't!
14270 2000-04-19  Pavel Cisler  <pavel@eazel.com>
14272         * libnautilus-extensions/nautilus-directory.c:
14273         (nautilus_directory_notify_files_added):
14274         Work on making new files show up during copy. This is a simple
14275         version using sync gnome_vfs_get_file_info calls, we'll need a
14276         version that uses a new async get_file_info call that takes a list
14277         of URIs and produces a list of file info structs.
14278         
14279         * libnautilus-extensions/nautilus-directory.c:
14280         * libnautilus-extensions/nautilus-file.c:
14281         * libnautilus-extensions/nautilus-file.h:
14282         (update_file_info_in_list_if_needed), (dequeue_pending_idle_callback),
14283         (nautilus_file_update):
14284         Made dequeue_pending_idle_callback deal with getting duplicate
14285         file info structures or file info structures for files we already
14286         know about. This also fixes 395.
14288         * libnautilus-extensions/nautilus-file-changes-queue.c
14289         Added some better comments and removed a fixme that didn't really
14290         need fixing.
14292 2000-04-19  John Sullivan  <sullivan@eazel.com>
14294         Darin and I started out thinking we were going to start entering
14295         bugs for the FIXME items but we were distracted into fixing bugs
14296         and tweaking code that we found while doing so.
14297         
14298         * check-FIXME.pl: Won't search old ChangeLogs for FIXMEs either;
14299         changed FIXME format from "FIXME bug xxx" to "FIXME bugzilla.eazel.com xxx"
14300         
14301         * components/history/ntl-history-view.c:
14302         (hyperbola_navigation_history_notify_location_change): Moved bookmark
14303         naming hack here and added FIXME explaining it.
14304         
14305         * libnautilus-extensions/nautilus-bookmark.h,
14306         * libnautilus-extensions/nautilus-bookmark.c:
14307         (nautilus_bookmark_new), (nautilus_bookmark_new_with_name):
14308         Combined these two into one routine that takes both the uri and
14309         title; removed hack for trying to come up with good name for
14310         bookmark here.
14311         (nautilus_bookmark_get_pixmap_and_mask): Changed to call
14312         _get_pixbuf instead of duplicating code.
14313         (nautilus_bookmark_get_pixbuf): Changed interface to return
14314         pixbuf or NULL instead of boolean result & "out" parameter.
14315         
14316         * src/nautilus-bookmark-list.c,
14317         * src/nautilus-bookmarks-window.c,
14318         * src/nautilus-window-menus.c,
14319         * src/ntl-window-msgs.c: 
14320         Updated callers of nautilus_bookmark_new and _new_with_name.
14322 2000-04-19  John Sullivan  <sullivan@eazel.com>
14324         Fixed bug 540 (need specific error message for "access denied"
14325         when renaming)
14327         * src/file-manager/fm-error-reporting.c:
14328         (fm_report_error_renaming_file): Added case for
14329         GNOME_VFS_ERROR_ACCESSDENIED
14331 2000-04-19  Shane Culpepper  <pepper@eazel.com>
14332         
14333         * components/services/install/eazel-install-lib-rpm.c
14334         Fixed Uninstall to work as advertised.  Uninstall will also skip
14335         source packages now since they are not stored in the rpmdb.
14337 2000-04-19  Shane Culpepper  <pepper@eazel.com>
14338         
14339         * components/services/install/eazel-install-lib-xml.c
14340         * components/services/install/eazel-install-lib-debug.c
14341         * components/services/install/eazel-install-lib-rpm.c
14342         * components/services/install/eazel-install-lib.h
14343         * components/services/install/eazel-install.c
14344         Tweaked the packages struct so that rpm names are no longer
14345         hardcoded.  Added a the option to do dry runs without actually
14346         installing anything.  Good for testing.
14348 2000-04-19  John Sullivan  <sullivan@eazel.com>
14350         * libnautilus-extensions/nautilus-icon-container.c:
14351         (world_width_changed): New function, extracted from size_allocate.
14352         (size_allocate): Call world-width-changed.
14353         (nautilus_icon_container_set_zoom_level): Call world_width_changed.
14354         This makes zooming relayout when in auto-layout mode.
14355         
14356         * src/nautilus-window-menus.c:
14357         (append_bookmark_to_menu): Added line where bookmark is set in
14358         BookmarkHolder. This had been accidentally deleted, breaking all
14359         bookmarks.
14361 2000-04-19  Pablo Saratxaga <pablo@mandrakesoft.com>
14363         * configure.in (ALL_LINGUAS): Added Danish language
14365 2000-04-19  Shane Culpepper  <pepper@eazel.com>
14366         
14367         * components/services/install/eazel-install-lib-xml.c
14368         * components/services/install/eazel-install-lib.h
14369         * components/services/install/eazel-install.c
14370         Adding configuration file generator and creating a metadata directory.
14371         A directory called /etc/eazel/services will be created to store
14372         cofiguration options and uninstall data now.
14374 2000-04-19  Maciej Stachowiak  <mjs@eazel.com>
14376         * src/ntl-view.c (nautilus_view_destroy_client): Reverted the last
14377         change, it caused serious crashage in some cases.
14379         * src/ntl-view.c (nautilus_view_destroy_client): Destroy the
14380         ViewFrame instead of unreffing. This is the only way to be sure
14381         the Control is fully unref()d. Ideally Bonobo would let us unbind
14382         the frame from the control to break the circular refs.
14383         
14384         * configure.in: Check for OAF the oficially approved way. Check
14385         for GConf.
14387         * src/ntl-uri-map.c (my_notify_when_ready): Fix fallback_iid for
14388         moz protocol.
14389         * components/mozilla/main.c (main): Remove ev variable to shut up gcc.
14390         
14391         * src/ntl-app.c, components/notes/ntl-notes.c: Remove some
14392         spurious debugging statements I accidentally left in.
14393         
14395         OAF conversion. You must now build bonobo and gnome-vfs with --enable-oaf
14397         * configure.in: Check for OAF
14399         * libnautilus/nautilus-view-component.idl: Inherit from
14400         Bonobo::Unknown instead of GNOME::Unknown.
14402         * libnautilus-extensions/nautilus-global-preferences.c,
14403         libnautilus-extensions/nautilus-global-preferences.h: Refer to
14404         meta views by OAFIID, not GOAD ID.
14406         * src/ntl-uri-map.c (my_notify_when_ready): Replaced hardcoded
14407         list of GOAD IDs with a hardcoded list of OAFIIDs.
14408         (add_components_from_metadata): Changed the expected format; it is
14409         now label=component instead of component:label since OAFIIDs
14410         contain colons.
14412         * src/ntl-view.c (nautilus_view_destroy_client): unref the
14413         Zoomable interface of the View, if any.
14415         * src/file-manager/dfos-corba.c, src/file-manager/dfos.c: replace
14416         GOAD calls with OAF ones; untested since this code is not really
14417         used right now.
14419         * src/ntl-main.c: Use OAF calls to intialize CORBA.
14421         * src/ntl-app.c: Replace GOAD IDs with OAFIIDs. Use
14422         Bonobo_Generic_Factory instead of GNOME_Generic_Factory to make
14423         the linker happy. Register the factory server with OAF, not GOAD.
14425         * src/nautilus.h: Include <liboaf/liboaf.h> instead of <libgnorba/gnorba.h>
14428         * components/help/Makefile.am, components/history/Makefile.am,
14429         components/html/Makefile.am, components/mozilla/Makefile.am,
14430         components/music/Makefile.am, components/notes/Makefile.am,
14431         components/rpmview/Makefile.am, components/sample/Makefile.am,
14432         components/services/startup/Makefile.am,
14433         components/websearch/Makefile.am, libnautilus/Makefile.am,
14434         libnautilus-extensions/Makefile.am, src/Makefile.am,
14435         src/file-manager/Makefile.am: Updated for OAF; install .oafinfo
14436         files instead of .gnorba.
14438         * components/help/hyperbola-main.c,
14439         components/history/ntl-history-view.c,
14440         components/html/ntl-web-browser.c, components/mozilla/main.c,
14441         components/music/main.c, components/notes/ntl-notes.c,
14442         components/rpmview/main.c, components/sample/main.c,
14443         components/services/startup/main.c,
14444         components/websearch/ntl-web-search.c: Convert to OAF; use OAFIIDs
14445         and oaf intialization functions.
14447         * src/nautilus.oafinfo, components/help/hyperbola.oafinfo,
14448         components/history/ntl-history-view.oafinfo,
14449         components/html/ntl-web-browser.oafinfo,
14450         components/music/nautilus-music-view.oafinfo,
14451         components/notes/ntl-notes.oafinfo,
14452         components/rpmview/nautilus-rpm-view.oafinfo,
14453         components/services/startup/nautilus-service-startup-view.oafinfo,
14454         components/websearch/ntl-web-search.oafinfo,
14455         components/sample/nautilus-sample-content-view.oafinfo,
14456         components/mozilla/nautilus-mozilla-content-view.oafinfo: New OAF
14457         activation records.
14458         
14459         * src/nautilus.goad, components/help/hyperbola.goad,
14460         components/history/ntl-history-view.goad,
14461         components/html/ntl-web-browser.goad,
14462         components/music/nautilus-music-view.goad,
14463         components/notes/ntl-notes.goad,
14464         components/rpmview/nautilus-rpm-view.goad,
14465         components/services/startup/nautilus-service-startup-view.goad,
14466         components/websearch/ntl-web-search.goad,
14467         components/sample/nautilus-sample-content-view.goad,
14468         components/mozilla/nautilus-mozilla-content-view.goad: Removed.
14469         
14470 2000-04-18  Ramiro Estrugo  <ramiro@eazel.com>
14472         * configure.in,
14473           acconfig.h: Add support for setting a reasonable default for
14474         MOZILLA_FIVE_HOME - which mozilla needs to survie.
14476         * components/mozilla/main.c: (mozilla_setup_environment) Add a
14477         function to hack the mozilla environment into something that might
14478         have a chance of working by default.
14480         * src/ntl-uri-map.c: Add a temporary hack protocol moz:// to test
14481         mozilla in isolation from gnome-vfs trying to do http stuff.
14483         * components/mozilla/nautilus-mozilla-content-view.c: Match the
14484         above.
14485         
14486 2000-04-18  Ramiro Estrugo  <ramiro@eazel.com>
14488         * configure.in: Add voodoo to support --with-mozilla.
14490         * components/Makefile.am: Add conditional build of mozilla subdir.
14492         * components/mozilla/Makefile.am: Un-hardcode cflags and libs.
14493         Use the values set in configure instead.
14494         
14495 2000-04-18  Ramiro Estrugo  <ramiro@eazel.com>
14497         * nautilus-clean.sh: Grep out "emacs" so that this nice script
14498         doesnt kill my editor when i happen to be editting the source to
14499         component in question.
14500         
14501 2000-04-18  Andy Hertzfeld
14503         made link files control the additional text displayed beneath them.
14504         
14505         * libnautilus/nautilus-link.c,.h:
14506         added nautilus_link_get_additional_text, which returns text specified
14507         in the xml file, if any,
14508         * libnautilus/nautilus-metadata.h:
14509         added tag to use for the additional text in the link file
14510         * src/file-manager/fm-icon-view.c:
14511         made it get additional text for link files using the new
14512         routines in nautilus-link
14513         * data/top/Makefile.am:
14514         removed the placeholder "Welcome" file from the novice home directory
14515         
14516 2000-04-18  Ramiro Estrugo  <ramiro@eazel.com>
14518         * components/mozilla/.cvsignore: Ignore built binary
14520         * components/mozilla/Makefile.am: Link with the right stuff.  Link
14521         only against libnautilus to be legit.
14523         * components/mozilla/nautilus-mozilla-content-view.h,
14524           components/mozilla/nautilus-mozilla-content-view.c: Dont use
14525         code from libnautilus-extensions.  Fix struct tag names.  
14527 2000-04-18  Ramiro Estrugo  <ramiro@eazel.com>
14529         * nautilus-widgets/nautilus-preferences.c,
14530           nautilus-widgets/nautilus-preferences.h:
14532         Simplify be removing all arguments from callbacks save for the
14533         user data.
14535         (nautilus_preferences_add_string_callback): Rename to
14536         nautilus_preferences_add_callback since string preferences are the
14537         default.
14538         
14539         * libnautilus-extensions/nautilus-global-preferences.c:
14540         (user_level_changed_callback): Simplify a bit.  Update for new
14541         simple preference callbacks.
14543           libnautilus-extensions/nautilus-icon-container.c,
14544           libnautilus-extensions/nautilus-icon-factory.c,
14545           libnautilus-extensions/nautilus-list.c: Update for new simple
14546         preference callbacks.
14548         * src/file-manager/fm-directory-view.c,
14549           src/file-manager/fm-icon-view.c: Update for new simple
14550         preference callbacks. 
14552           src/file-manager/fm-icon-text-window.c: Update for new
14553         simple preference callbacks and removed unecessary usage of
14554         icon_view_text_attribute_changed_callback. Use
14555         synch_menus_with_preference directly instead.
14556         
14557 2000-04-18  Ramiro Estrugo  <ramiro@eazel.com>
14559         *  nautilus-widgets/nautilus-preferences.c:
14560         (nautilus_preferences_get):  If the stored default value is null,
14561         use the given one.  Do this only for strings, since integral types
14562         can legally have a value of zero.
14564         * nautilus-widgets/nautilus-preferences-item.c:
14565         (preferences_item_create_enum), (enum_radio_group_changed_cb):
14566         Deal with the enumeration values.   Before it was assuming it
14567         started at ZERO.
14569         * libnautilus-extensions/nautilus-global-preferences.c:
14570         NAUTILUS_USER_LEVEL_*: Make this enum begin with a non zero
14571         value.  The zero value can be misintepreted by preferences as a
14572         default leading to confusion.
14574         (user_level_changed_callback): Add a default case just in case!
14576         (nautilus_global_preferences_startup): Invoke
14577         user_level_changed_callback once to make sure stuff is properly
14578         setup.
14580 2000-04-18  Pavel Cisler  <pavel@eazel.com>
14582         * src/file-manager/dfos-xfer.c:
14583         (handle_xfer_overwrite):
14584         Only offer "Replace All" in an overwrite conflict error dialog if
14585         there is more than one conflicting item to deal with.
14587 2000-04-18  Andy Hertzfeld <andy@eazel.com>
14589         * components/services/startup/nautilus-service-startup-view.c:
14590         added placeholder summary page, plus used a larger font for
14591         the title
14592         
14593 2000-04-18  Shane Culpepper  <pepper@eazel.com>
14594         
14595         * components/services/install/eazel-install-lib-rpm.c
14596         * components/services/install/eazel-install.c
14597         Adding the uninstall feature to eazel-install.
14599 2000-04-18  Darin Adler  <darin@eazel.com>
14601         * libnautilus-extensions/nautilus-icon-container.c:
14602         * libnautilus-extensions/nautilus-icon-container.h:
14603         (compare_icons), (idle_handler), (nautilus_icon_container_move_icon),
14604         (size_allocate), (nautilus_icon_container_initialize_class),
14605         (nautilus_icon_container_set_auto_layout):
14606         First cut at the auto-layout feature. It just does a lot of
14607         re-laying things out.
14608         
14609         * libnautilus-extensions/nautilus-icon-container.h:
14610         * libnautilus-extensions/nautilus-list.h: 
14611         Added interfaces for telling whether to use single-click mode or
14612         not. A first step in moving preferences code out of here and
14613         into the file-manager classes.
14615         * libnautilus-extensions/fm-icon-view.c:
14616         (create_icon_container), (icon_container_compare_icons_callback):
14617         Provide a sorting order for the auto-layout mode.
14619         * librsvg/test-rsvg.c:
14620         Rolled out the change to work with the old popt that Pavel
14621         accidentally checked as Gene in when he was helping me.
14623 2000-04-18  Gene Z. Ragan  <gzr@eazel.com>
14625         * libnautilus-extensions/nautilus-icon-canvas-item.c:
14626         * libnautilus-extensions/nautilus-icon-canvas-item.h:
14627         Renamed several public functions to use proper nomenclature.
14628         An example would be changing nautilus_icon_canvas_get_editable_text_bounds
14629         to nautilus_icon_canvas_item_get_editable_text_bounds. A few of 
14630         these misnaming were in my last submission.
14632         * libnautilus-extensions/nautilus-icon-container.c:
14633         * libnautilus-extensions/nautilus-icon-container.h:
14634         Renamed nautilus_icon_container_show_rename_widget to
14635         nautilus_icon_container_start_renaming_selected_item
14637         * libnautilus-extensions/nautilus-icon-text-item.c:
14638         Fixed the following bugs:
14639         487 Trying to rename an icon to empty string should revert to original
14640         498 Renaming text field looks silly when empty
14641         500 text-editing box too narrow when renaming files with short names
14642         508 Icon text appears and disappears incorrectly when zooming
14644 2000-04-18  Shane Culpepper  <pepper@eazel.com>
14645         
14646         * components/services/install/eazel-install-lib-xml.c
14647         * components/services/install/eazel-install-lib.h
14648         * components/services/install/eazel-install-lib-rpm.c
14649         * components/services/install/eazel-install.c
14650         Fixed a few memory leaks, removed some debugging code,
14651         and added interfaceFlags, installFlags, and probFilter
14652         in order to remove some hardcoded options and make use
14653         of the configuration files.
14655 2000-04-18  Darin Adler  <darin@eazel.com>
14657         * libnautilus-extensions/nautilus-directory.c:
14658         (uri_get_directory_part), (uri_get_basename),
14659         (get_parent_directory), (get_parent_directory_if_exists),
14660         (call_files_added), (call_files_changed),
14661         (hash_table_list_prepend),
14662         (nautilus_directory_notify_files_added),
14663         (nautilus_directory_notify_files_removed),
14664         (nautilus_directory_notify_files_moved):
14665         Another cut at the notify code.
14666         
14667         * libnautilus-extensions/nautilus-file-private.h:
14668         * libnautilus-extensions/nautilus-file.c:
14669         (nautilus_file_mark_gone): Made part of the deleted code
14670         accessible for the notify code.
14672         * libnautilus-extensions/nautilus-directory-private.h:
14673         Renamed remove_file_monitor_link to add a nautilus
14674         prefix since it's no longer a local function.
14675         
14676 2000-04-18  John Sullivan  <sullivan@eazel.com>
14678         Distinguished the item count for unreadable directories
14679         from the "not yet known" item count. Unreadable directories
14680         show "xxx" and "not yet known" show "--". This fixes bug 513.
14682         * libnautilus-extensions/nautilus-file.h,
14683         * libnautilus-extensions/nautilus-file.c:
14684         (nautilus_file_compare_directories_by_size): Put unreadable
14685         counts before unknown counts before known counts.
14686         (nautilus_file_get_directory_item_count): New result parameter
14687         that callers can use to distinguish unreadable case from
14688         unknown case.
14689         (nautilus_file_get_size_as_string): return different string
14690         if unreadable.
14691         * libnautilus-extensions/nautilus-directory.c:
14692         (directory_count_callback): Call nautilus_file_changed
14693         even when we discover that the count is unreadable.
14694         * src/file-manager/fm-directory-view.c:
14695         (display_selection_info): Pass NULL for unreadable parameter
14696         because this caller doesn't care why it's not known.
14698 2000-04-18  Pavel Cisler  <pavel@eazel.com>
14700         * src/file-manager/dfos-xfer.c:
14701         (handle_xfer_vfs_error):
14702         The function of the Abort and Retry buttons in the file operation error 
14703         alert was inverted.
14705 2000-04-18  Ramiro Estrugo  <ramiro@eazel.com>
14707         * nautilus-widgets/nautilus-preferences.c:
14708         (preference_get): If the stored default_value is NULL, then used
14709         the provided one.
14710         
14711 2000-04-18  Andy Hertzfeld <andy@eazel.com>
14713         added better abstraction for the xml-based links introduced yesterday
14714         
14715         * libnautilus/nautilus-link.h,c:
14716         new routines to access xml-based link files
14717         * libnautilus/Makefile.am:
14718         added nautilus-link.c,h to build
14719         * libnautilus/nautilus-file.c:
14720         use nautilus_link_get_link_uri in nautilus-link instead of
14721         accessing link files directly
14722         * libnautilus/nautilus-icon-factory.c:
14723         use nautilus_link_get_image_uri in nautilus-link instead of
14724         accessing directly
14725         * src/file-manager/fm-icon-view.c:
14726         use nautilus_link_get_display_name to suppress display of
14727         identifying suffix
14728         * src/file-manager/fm-icon-text-window.c:
14729         fixed bug that caused crash when preference file is deleted
14730         by checking for NULL
14731         and using default in fm_get_text_attribute_names_preference_or_default
14732         * icons/computer.png:
14733         new icon for novice home
14734         * icons/hand.svg:
14735         new icon for novice home
14736         * icons/Makefile.am:
14737         added new icons
14738         * data/top/Computer-ntl.xml:
14739         added xml link for novice home
14740         * data/top/Services-ntl.xml:
14741         added link to novice home:
14742         * data/Makefile.am:
14743         added new files
14744         
14745 2000-04-18  John Sullivan  <sullivan@eazel.com>
14747         Yet more tweakery to the file-monitoring code.
14749         * libnautilus-extensions/nautilus-directory.c:
14750         (stop_monitoring_files): Renamed to stop_monitoring_file_list.
14751         (nautilus_directory_destroy): Only stop monitoring list if we
14752         were monitoring list, but always complain about non-NULL
14753         file_monitors.
14754         (nautilus_directory_file_monitor_remove_internal): Only
14755         stop monitoring list if we had been monitoring it. This fixes
14756         CRITICAL when you launch and immediately quit.
14758 2000-04-18 Shane Culpepper <pepper@eazel.com>
14760         * components/services/install/eazel-install-lib-rpm.c - fixing the
14761           segfault in rpmInstall.
14763 2000-04-18  John Sullivan  <sullivan@eazel.com>
14765         * libnautilus-extensions/nautilus-directory.c:
14766         (dequeue_pending_idle_callback), 
14767         (nautilus_directory_file_monitor_remove_internal),
14768         (nautilus_directory_notify_files_added): Deployed
14769         new is_file_list_monitored function in three places.
14770         Two of these were bugs, one was code duplication.
14772 2000-04-18  John Sullivan  <sullivan@eazel.com>
14774         Fixed bug 494 (initial directory count never appears in sidebar).
14776         This was a missing pieces of the async framework. Darin helped
14777         me finish it up.
14779         * libnautilus-extensions/nautilus-directory-private.h:
14780         Put FileMonitor struct here so NautilusFile can use it.
14781         (nautilus_directory_file_monitor_add_internal),
14782         (nautilus_directory_file_monitor_remove_internal),
14783         (remove_file_monitor_link): New functions, shared between
14784         NautilusDirectory and NautilusFile.
14785         * libnautilus-extensions/nautilus-file.c:
14786         (destroy): Complain about then clean up any remaining FileMonitors.
14787         (nautilus_file_monitor_add), (nautilus_file_monitor_remove): Fill 
14788         in the implementation for these formerly-empty routines.        
14789         * libnautilus-extensions/nautilus-directory.c:
14790         Moved FileMonitor struct out.
14791         (nautilus_directory_destroy): assert that there's no count_in_progress.
14792         (compare_file_monitor_with_client): changed name to
14793         compare_file_monitor_by_client_and_file and behavior to match.
14794         (find_file_monitor): Now takes a file and uses it in search.
14795         (cancel_unneeded_file_attribute_requests): New function, cleans up 
14796         no-longer-needed gnome vfs async calls.
14797         (remove_file_monitor_link): New function, removes a file monitor
14798         and cleans up storage.
14799         (remove_file_monitor): Uses remove_file_monitor_link to fix
14800         storage leak.
14801         (is_file_list_monitored): New function, checks whether anyone is
14802         monitoring all files in this directory.
14803         (nautilus_directory_file_monitor_add_internal),
14804         (nautilus_directory_file_monitor_remove): New functions,
14805         generalized from old non-internal versions to handle the single-file
14806         case too.
14807         (nautilus_directory_file_monitor_add),
14808         (nautilus_directory_file_monitor_remove): Now calls _internal function.
14809         (process_pending_file_attribute_requests): Now handles single-file
14810         case as well as all-files case.
14812         * src/nautilus-index-title.c:
14813         (nautilus_index_title_set_uri): Move the item-count-monitoring
14814         code inside the file != NULL check so it doesn't fail at the
14815         root (where, due to a bug, file is NULL).
14817 2000-04-18  Darin Adler  <darin@eazel.com>
14819         Fixed bug where you'd see the name twice under each icon.
14820         Did some work for the new notify hooks that Pavel made.
14821         I'll finish those hooks soon.
14822         
14823         * src/file-manager/fm-icon-view.h:
14824         * src/file-manager/fm-icon-text-window.h:
14825         * src/file-manager/fm-icon-text-window.c:
14826         (set_preference_string), (synch_menus_with_preference),
14827         (icon_view_text_attribute_changed_callback),
14828         (fm_get_text_attribute_names_preference_or_default):
14829         * src/file-manager/fm-icon-view.c: (fm_icon_view_initialize),
14830         (fm_icon_view_get_icon_text_attribute_names),
14831         (text_attribute_names_changed_callback):
14832         Moved attribute names default into FMIconTextWindow and made
14833         the callers use a new call that gets either the preference or
14834         the default if the preference is invalid. Also simplified the
14835         code since we don't need to cache the preference in either the
14836         FMIconTextWindow or the FMIconView.
14838         * libnautilus-extensions/nautilus-directory.c:
14839         (is_canonical_uri): Added a function for use in asserts.
14840         (nautilus_directory_get): Assert that we successfully
14841         made the URI canonical.
14842         (parent_directory_if_exists), (file_if_exists): Helper
14843         functions for implementing the notify calls.
14844         (nautilus_directory_notify_files_added),
14845         (nautilus_directory_notify_files_removed),
14846         (nautilus_directory_notify_files_moved):
14847         Fleshed out the bones of these routines a bit more.
14848         They are still not done. Also changed their interfaces
14849         so they are not responsible for freeing their parameters.
14850         
14851         * libnautilus-extensions/nautilus-directory.h:
14852         * libnautilus-extensions/nautilus-directory.c:
14853         * libnautilus-extensions/nautilus-file.h:
14854         (nautilus_directory_contains_file):
14855         New call to be used instead of nautilus_file_is_gone
14856         for callers that are monitoring a directory.
14858         * libnautilus-extensions/nautilus-file-changes-queue.c:
14859         (pairs_list_free), (nautilus_file_changes_consume_changes):
14860         Make the caller free the list instead of the called function
14861         Also reordered the changes so deletions come before additions.
14863         * src/file-manager/fm-directory-view.c: (display_pending_files):
14864         * src/file-manager/fm-list-view.c: (fm_list_view_file_changed):
14865         * src/file-manager/fm-icon-view.c: (fm_icon_view_file_changed):
14866         Changed to use nautilus_directory_contains_file instead of
14867         nautilus_file_is_gone.
14868         
14869 2000-04-18  Ramiro Estrugo  <ramiro@eazel.com>
14871         * components/services/install/.cvsignore: Ignore more generated
14872         files.
14873         
14874 2000-04-18  Ramiro Estrugo  <ramiro@eazel.com>
14876         Hook up click policy preference.  Bug 374.
14878         *  libnautilus-extensions/nautilus-global-preferences.h,
14879            libnautilus-extensions/nautilus-global-preferences.c:
14880         Rename CLICK_ACTIVATION_TYPE to CLICK_POLICY.  
14882         * libnautilus-extensions/nautilus-icon-container.c:
14883         (click_policy_changed_callback): New preferences callback to keep
14884         track of click policy changes.
14886         (destroy): Unregister click_policy_changed callback on destroy.
14888         (nautilus_icon_container_initialize): Initialize the
14889         single_click_mode from preferences and register callback to keep
14890         track of changes in click policy.
14892         Also anal gtk style formatting of the private prototypes and
14893         sophisticated alphabetization of libnautilus-extensions headers.
14895         *  libnautilus-extensions/nautilus-list.c:
14896         (click_policy_changed_callback): New preferences callback to keep
14897         track of click policy changes.
14898         
14899         (nautilus_list_initialize): Initialize the single_click_mode from
14900         preferences and register callback to keep track of changes in
14901         click policy.
14903         (nautilus_list_destroy): Unregister click_policy_changed callback
14904         on destroy. 
14905         
14906         Also anal gtk style formatting of the private prototypes and
14907         sophisticated alphabetization of libnautilus-extensions headers.
14909 2000-04-18  Ramiro Estrugo  <ramiro@eazel.com>
14911         * nautilus-widgets/nautilus-preferences.c,
14912           nautilus-widgets/nautilus-preferences.h: Dont expose the
14913         preference/enum info structure.  Remove these and use the
14914         NautilusPreference object instead to describe preferences.
14916         Add usage of default values to get_* api.  So now callers can
14917         provide a default which will be given back to them if no default
14918         exists.  For example, no default will exist for the preference
14919         when it was implicitly pulled out of someone's  ass.
14921         The callback function no longer passes along the value.  Instead
14922         the caller is expected to use the get_ functions.
14924         Rename nautilus_preferences_{get,set}_string() to
14925         nautilus_preferences_{get,set}.  This matches the
14926         NautilusDirectory metadata api which uses strings for metadata by
14927         default.
14929         Also constify the get functions.
14930         
14931         (nautilus_preferneces_get_info): Renamed to 
14932         nautilus_preferneces_get_preference which returns a referenced
14933         pointer to the preference description object.  Perhaps this could
14934         have a better name.
14936         (nautilus_preferences_enum_add_entry): New function to add entries
14937         to enumerated preferences.
14939         * nautilus-widgets/nautilus-preferences-group.c,
14940           nautilus-widgets/nautilus-preferences-group.h:
14941         (nautilus_preferences_group_add): Retire.
14943         (nautilus_preferences_group_add_item): New function that does all
14944         the work of creating an item based on a given item_type.
14946         * nautilus-widgets/nautilus-preferences-item.c,
14947           nautilus-widgets/nautilus-preferences-item.h: Use
14948         NautilusPreferences directly instead of GtkObject.
14950         Ref/unref the preference object properly.
14952         Use more consistent identifiers.  Fix some stupid style things.
14954         Update for NautilusPreference usage instead of the info struct
14955         hack). 
14957         *  nautilus-widgets/nautilus-preferences-pane.c,
14958            nautilus-widgets/nautilus-preferences-pane.h:
14959         (nautilus_preferences_pane_add_item_to_nth_group) : New function
14960         to do all the work of adding and managing an item based on a given
14961         type.
14962         
14963         *  nautilus-widgets/test-nautilus-widgets.c: Update for all the
14964         api changes.
14966         * nautilus-widgets/Makefile.am: Add building of
14967         nautilus-preference.[ch] and the self test driver.
14969         * libnautilus-extensions/nautilus-global-preferences.c,
14970           libnautilus-extensions/nautilus-global-preferences.h: Add
14971         CLICK_ACTIVATION_TYPE preferences.  Add HOME_URI preference.  Add
14972         SHOW_HIDDEN_FILES preference.
14974         Make all the user level stuff private.  Dont expose either the
14975         user level preference or the user level values at all.  Instead,
14976         track user level changes in a callback and set corresponsing
14977         preferences accordingly.
14979         (nautilus_global_preferences_startup): Hook to make the above work
14980         properly.
14981         
14982         Cleanup the creation of the preferences dialog.
14985         * libnautilus-extensions/nautilus-icon-factory.c:
14986         (icon_theme_changed_callback): Preference changed callback no
14987         longer passes in the value.  Value needs to be manually fetched.
14989         (nautilus_get_current_icon_factory): No need to call
14990         nautilus_preferences_set_info.  Instead give
14991         nautilus_preferences_get a default value.  This way, we can always
14992         get something reasonable back.
14995         * src/nautilus-window-menus.c:
14996         (use_eazel_theme_icons_cb): Update for pref api changes.  Feed the
14997         get function a default value.
14999         * src/ntl-app.c:
15000         (nautilus_app_class_init): Call
15001         nautilus_global_preferences_startup so that user level callbacks
15002         always works.  Also, allows preferences exposed in the ui to have
15003         nice defaults.
15004         
15005         * src/ntl-main.c:
15006         (main): Add nautilus-widgets self checks.
15008         * src/ntl-uri-map.c:
15009         (add_meta_view_iids_from_preferences): Feed the pref api function
15010         a default value. 
15012         * src/ntl-window-state.c:
15013         (nautilus_window_set_initial_state): User level is no longer
15014         publicly exposed over here.  Determine the home uri, instead by
15015         fetching the HOME_URI preference.
15017         * src/file-manager/fm-directory-view.c:
15018         (use_new_window_changed_callback): Retired.  Instead check
15019         preference when needed.  There really is not need to go to the
15020         trouble of installing a callback for this specific preference.
15021         Its just as easy (and not a performance issues) to check it
15022         directly.  
15024         Also retired the 'use_new_window' member.
15026         (user_level_changed_callback): Retired.  User level no longer
15027         publically exposed.
15029         (show_hidden_files_changed_callback):  Check SHOW_HIDDEN_FILES
15030         preference to determine if hidden files should be filtered.
15032         Add a 'show_hidden_files' member that keeps track of changes in
15033         this preference.
15035         (fm_directory_view_initialize): Initialize 'show_hidden_files'.
15036         Update for callback name change.
15038         (nautilus_preferences_remove_callback): Remove uneeded unregister
15039         call for retired use_new_window callback.
15041         (queue_pending_files): Do hidden file filtering based on
15042         'show_hidden_files' instead of using the user level.
15044         (fm_directory_view_activate_file): Check USE_NEW_WINDOW preference
15045         to determine if a new window is requested.
15047         *  src/file-manager/fm-icon-text-window.c: #include fm-icon-virw.h
15048         and use DEFAULT_ICON_VIEW_TEXT_ATTRIBUTE_NAMES from it instead of
15049         ATTRIBUTE_NAMES_DEFAULT.  This makes sure the default is not out
15050         of whack.  This define should probably be placed in a better place.
15052         NOTE: This seems to be one of the drawbacks of passing in defaults
15053         to fetch functions - that is out-of-whackness in 2 or more callers
15054         in difference places.
15055         
15056         (synch_menus_with_preference),
15057         (changed_attributes_option_menu_cb): Update for preference api changes.
15058         
15059         (preference_changed_callback): Rename to
15060         icon_view_text_attribute_changed_callback for clarity.
15062         (icon_view_text_attribute_changed_callback): Value no longer
15063         passed into callback.  Need to check preferences manually.  
15064         
15065         * src/file-manager/fm-icon-view.h:
15066         Add DEFAULT_ICON_VIEW_TEXT_ATTRIBUTE_NAMES to share with
15067         fm-icon-text-window.
15068         
15069         * src/file-manager/fm-icon-view.c:
15070         (fm_icon_view_icon_text_changed_callback): Update for preference
15071         api changes.
15073         Minor anal style formatting of the private prototypes.
15075         (fm_icon_view_initialize_class): Yank
15076         nautilus_preferences_set_info call.  No longer needed for there to
15077         be proper defaults.  
15079         (text_attribute_names_changed_callback): Value no longer
15080         passed into callback.  Need to check preferences manually.  Also,
15081         feed the get function a reasonable default.
15083         * components/help/Makefile.am: Needs to link with
15084         libnautilus-extensions. 
15085         
15086         * components/websearch/Makefile.am: Needs to link with
15087         libnautilus-extensions. 
15088         
15089 2000-04-18  Ramiro Estrugo  <ramiro@eazel.com>
15091         *  libnautilus-extensions/nautilus-string-list.c,
15092            libnautilus/nautilus-string-list.h: Dumb underscore fix the struct tags.
15094 2000-04-18  Ramiro Estrugo  <ramiro@eazel.com>
15096         Factor out the code that describes a preference from the big messy
15097         preferences into a class.
15098         
15099         * nautilus-widgets/nautilus-preference.c,
15100           nautilus-widgets/nautilus-preference.h: New files.  A class that
15101         describes a nautilus preference.
15102         
15103           nautilus-widgets/nautilus-widgets-self-check-functions.c,
15104           nautilus-widgets/nautilus-widgets-self-check-functions.h: New
15105         files .  Self check code driver nautilus-widgets.
15106         
15107 2000-04-17  Pavel Cisler  <pavel@eazel.com>
15109         This checkin requires new gnome-vfs.
15111         Plumbing for making copied/moved/deleted files show up update
15112         in their respective new locations.
15114         * libnautilus-extensions/nautilus-file-changes-queue.h
15115         * libnautilus-extensions/nautilus-file-changes-queue.c
15116         * libnautilus-extensions/Makefile.am
15117         Shared queue used by the copy engine to send update notification
15118         requests to NautilusDirectory during file copy/move/delete operations.
15120         * libnautilus-extensions/nautilus-directory-private.h:
15121         * libnautilus-extensions/nautilus-directory.c:
15122         (nautilus_directory_notify_files_added), 
15123         (nautilus_directory_notify_files_removed),
15124         (nautilus_directory_notify_files_moved):
15125         Stub calls that will be hooked up to the NautilusDirectory
15126         notification calls to dispatch the notification updates.
15127         
15128         * src/file-manager/dfos-xfer.c:
15129         (sync_xfer_callback):
15130         New callback that gets called in the async copy engine context
15131         and produces change entries stuffing them into the file changes
15132         queue.
15134         * src/file-manager/dfos-xfer.c:
15135         (handle_xfer_ok):
15136         Added calls to the new nautilus_file_changes_consume_changes
15137         from the progress update callback. This callback is called in
15138         the user interface context and consumes the change entries
15139         from the file changes queue, sending them in chunks to be
15140         dispatched by to the individual Nautilus directory objects. 
15142         * src/file-manager/dfos-xfer.c:
15143         (handle_xfer_ok):
15144         Updated to use new progress enum values.
15146         * src/file-manager/dfos-xfer.c:
15147         (update_xfer_callback):
15148         Renamed from sync_xfer_callback.
15150         * src/file-manager/dfos-xfer.c:
15151         (gnome_vfs_async_xfer):
15152         Pass in new sync_xfer_callback parameters.
15153         
15154 2000-04-17  Darin Adler  <darin@eazel.com>
15156         * components/services/install/.cvsignore: Generated files.
15158 2000-04-17  Darin Adler  <darin@eazel.com>
15160         Added commands for Auto vs. Manual layout, but the guts behind
15161         them is not yet implemented.
15163         Did some cleanup on the new renaming code.
15165         * nautilus-glib-extensions.c:
15166         * nautilus-glib-extensions.h:
15167         Added nautilus_g_list_exactly_one_item and
15168         nautilus_g_list_more_than_one_item. These are more-efficient
15169         versions of g_list_length (x) == 1 and g_list_length (x) > 1.
15171         * nautilus-icon-canvas-item.c:
15172         (draw_or_measure_label_text): Add a line break between the
15173         editable text and the additional text.
15174         (nautilus_icon_canvas_get_text_bounds),
15175         (nautilus_icon_canvas_get_editable_text_bounds),
15176         (nautilus_icon_canvas_get_editable_text),
15177         (nautilus_icon_canvas_set_renaming):
15178         Replaced g_assert with g_return_if_fail calls, and added the
15179         complete set of g_return_if_fail.
15180         (nautilus_icon_canvas_set_renaming): Don't update the item
15181         unless the renaming state has actually changed.
15182         
15183         * nautilus-icon-canvas-item.h: Fixed formatting.
15185         * nautilus-icon-container.c:
15186         * nautilus-icon-container.h:
15187         Added nautilus_icon_container_set_auto_layout and
15188         nautilus_icon_container_is_auto_layout. For now they are
15189         placeholders that just modify a boolean.
15191         * nautilus-icon-private.h:
15192         Added the auto_layout boolean.
15194         * nautilus-icon-text-item.c:
15195         * nautilus-icon-text-item.h:
15196         Just some formatting and other minor cleanup.
15198         * nautilus-metadata.h:
15199         Added NAUTILUS_METADATA_KEY_ICON_VIEW_AUTO_LAYOUT.
15201         * nautilus-location-bar.c (drag_data_received_cb): Use the new
15202         nautilus_g_list_more_than_one_item function.
15204         * fm-directory-view.c (bonobo_menu_open_cb), (open_cb): Use the
15205         new nautilus_g_list_exactly_one_item.
15207         * fm-icon-text-window.c (attribute_names_string_is_good),
15208         (set_preference_string), (synch_menus_with_preference),
15209         (preference_changed_callback),
15210         (changed_attributes_option_menu_cb): Got rid of the hard-coded
15211         first item "name" which is no longer needed.  Also changed to
15212         handle bad data in the preferences.
15214         * fm-icon-view.c (fm_icon_view_initialize_class): Updated since
15215         there's no "name" item needed any more.
15216         (fm_icon_view_compute_menu_item_info): Merged MENU_PATH_RENAME
15217         with MENU_RENAME_TEXT and simplified the logic.
15218         (fm_icon_view_append_selection_context_menu_items): Merged
15219         MENU_PATH_RENAME with MENU_RENAME_TEXT.
15220         (update_layout_menus), (auto_layout_callback),
15221         (manual_layout_callback), (fm_icon_view_merge_menus): Added menu
15222         items for auto layout and for manual layout.
15223         (fm_icon_view_begin_loading): Load setting for auto layout from
15224         metadata.
15225         (fm_icon_view_get_icon_text_attribute_names): Changed to get rid
15226         of the "name" first item from the list of text attributes.
15227         (get_icon_editable_text_callback): Simplified since the editable text
15228         is always the icon name. Also got rid of copied and pasted code that's
15229         no longer needed for this case.
15230         (get_icon_additional_text_callback): Got rid of special case for name,
15231         since the name is no longer treated as an attribute.
15233 2000-04-19  Andy Hertzfeld  <andy@eazel.com>
15235         Added a new, xml-based type of link file that can specify it's own
15236         icon and other behavior.  Soon they will be used for the novice
15237         home directory.
15238         
15239         * libnautilus-extensions.nautilus-file.c:
15240         Check for the new file type in nautilus_directory_mapped_uri, and
15241         return the link contained in the file if present.
15242         * libnautilus-icon-factory.c:
15243         Check for the new file type in
15244         nautilus_icon_factory_get_icon_for_file and return the specified
15245         image as appropriate.
15246         
15247 2000-04-18  Shane Culpepper  <pepper@eazel.com>
15249         adding the eazel-installer skelton.  very rough prototype right now
15250         but it works with my local configuration data.  Will be updated alot
15251         over the next few days.
15252         Location is components/services/install.  It is not part of the default
15253         build right now.
15255 2000-04-18  Andy Hertzfeld  <andy@eazel.com>
15257         made clicking on gmc-style URL files redirect to the specified URL.
15258         
15259         * libnautilus-extensions/nautilus-file.c,h:
15260         added nautilus_file_get_mapped_uri, which checks for gmc-style URL files
15261         and returns the URL they reference in that case; otherwise, just return
15262         the file's URI.
15263         * src/file-manager/fm-directory-view.c:
15264         called nautilus_file_get_mapped_uri in fm_directory_view_activate_file_internal
15265         * data/mime/nautilus.keys:
15266         added icons to a few MIME types that I forgot last time.  Also, just
15267         use relative paths to reference the icons.
15269 2000-04-18  Kjartan Maraas  <kmaraas@online.no>
15271         * configure.in: Added "no" to ALL_LINGUAS.
15272         
15273 2000-04-18  Gene Z. Ragan  <gzr@eazel.com>
15275         Added functionality to allow files to be renamed in icon view.
15276         This feature is available by either context click on the icon or
15277         selecting a single file and choosing "Rename" form the File menu.
15279         * libnautilus-extensions/nautilus-icon-text-item.c
15280         * libnautilus-extensions/nautilus-icon-text-item.h: New files.
15281         This is an editable icon text item used in the renaming feature.
15282         It is based on GnomeIconTextItem but modified to fix bugs in the
15283         original code and add extended functionality need by nautilus. If
15284         thse changes were rolled into the current GnomeIconTextItem, it
15285         would break gmc.
15287         * libnautilus-extensions/Makefile.am
15288         Modified file so that the two new files listed above would properly
15289         be included in generated makefiles.
15291         * libnautilus-extensions/nautilus-icon-canvas-item.c
15292         Split text class variable into two variables, editable_text and
15293         additonal_text. editable_text refers to attributes that the user
15294         can change via rename in place. additional_text is any other text
15295         that the user cannot edit via the rename in place feature. Added
15296         a boolean flag, is_renaming, to check against during various
15297         operations that effect the renaming feature. Removed ARG_TEXT
15298         argument ID and replaced with ARG_EDITABLE_TEXT and
15299         ARG_ADDITIONAL_TEXT.
15300         (nautilus_icon_canvas_item_initialize_class): Function now check
15301         for both ARG_EDITABLE_TEXT and ARG_ADDITIONAL_TEXT. Removed check
15302         for ARG_TEXT.
15303         (nautilus_icon_canvas_item_destroy): Both editable_text and
15304         additonal_text are freed.
15305         (nautilus_icon_canvas_item_set_arg): Removed ARG_TEXT and added
15306         handling of ARG_EDITABLE_TEXT and ARG_ADDITIONAL_TEXT.
15307         (nautilus_icon_canvas_item_get_arg): Removed ARG_TEXT and added
15308         handling of ARG_EDITABLE_TEXT and ARG_ADDITIONAL_TEXT.
15309         (draw_or_measure_label_text): Modified function to not draw the
15310         label icon text if we are renaming in place.
15311         (draw_or_measure_label_text): Function now combines editable and
15312         additional text when performing the measuring operation.
15313         (compute_editable_text_rectangle): Added function to compute
15314         bounds of editable text. This is used to determine size and
15315         placement of editable text item when in renaming mode.
15316         (nautilus_icon_canvas_get_text_bounds): Public API to get bounds
15317         of icon label text.
15318         (nautilus_icon_canvas_get_editable_text_bounds): Public API to get
15319         bounds of editable icon label text.
15320         (hit_test_pixbuf): Added check against is_renaming flag.
15321         (nautilus_icon_canvas_get_editable_text): Public API to get
15322         editable text string.
15323         (nautilus_icon_canvas_item_set_renaming): Public API to toggle
15324         is_renaming flag.
15325         
15326         * libnautilus-extensions/nautilus-icon-canvas-item.h
15327         Added public API prototypes to functions described above.       
15329         * libnautilus-extensions/nautilus-icon-container.c
15330         Added GET_ICON_EDITABLE_TEXT and GET_ICON_ADDITONAL_TEXT signals.
15331         Removed GET_ICON_TEXT signal. Added ICON_TEXT_CHANGED signal.
15332         (icon_toggle_selected): Renaming mode is now exited when a
15333         selection/deselection occurs.
15334         (key_press_event): GDK_Return ends rename mode and attempts to
15335         accept modification. GDK_Escape ends rename mode and reverts
15336         modification to original.
15337         (nautilus_icon_container_initialize_class): icon_text_changed,
15338         get_icon_editable_text and get_icon_additional_text signals are
15339         registered.
15340         (editing_started): New function. Called when an edit begins.
15341         Inits class member variables for edit mode.
15342         (editing_stopped): New function. Called when edit ends. Cleans
15343         up edit mode.
15344         (nautilus_icon_container_initialize): rename_widget and original_text private variables
15345         are set to NULL.
15346         (icon_toggle_selected): Added call to end_renaming_mode.
15347         (nautilus_icon_container_update_icon): Added emitting of
15348         GET_ICON_EDITABLE_TEXT and GET_ICON_ADDITIONAL_TEXT
15349         signals. Updated gnome_canvas_item_set to use new arguments
15350         defined in nautilus-icon-text-item.
15351         (nautilus_icon_container_show_rename_widget): New
15352         function. Creates and displays renaming_widget.  Creates cached
15353         copy of original editable text for later compare, connects signals
15354         and enters renaming mode.
15355         (end_renaming_mode): New function. Cleans up and end renaming
15356         mode.
15357         (hide_rename_widget): Called by end_renaming_mode to hide and free
15358         renaming_widget.
15360         * libnautilus-extensions/nautilus-icon-container.h
15361         Added prototypes for public functions described above.
15363         * libnautilus-extensions/nautilus-icon-private.h
15364         Added boolean for renaming. Added a NautilusIconTextItem variable
15365         for the renaiming widget.
15367         * src/file-manager/fm-icon-view.c
15368         Added defines MENU_PATH_RENAME. Added a char * to hold original
15369         editable text for a later compare.  Removed get_icon_text_callback
15370         and added get_icon_editable_text_callback and
15371         get_icon_additonal_text_callback. These return the editable and
15372         additonal text of the icon view.
15373         (rename_icon_callback): Added callback that attempts to rename the
15374         NautilusFile the icon view represents. Action in not taken if
15375         there has been no change to the editable text. If the operation
15376         fails, the user is notified.
15377         (fm_icon_view_append_selection_context_menu_items): Added Rename
15378         menu item.
15379         (append_bonobo_menu_item): Added Rename menu item and callback.
15380         (update_bonobo_menu_item): Added sensitivity check for the Rename
15381         item. It is enabled only if a single item is selected.
15382         (fm_icon_view_icon_text_changed_callback): Added function to
15383         attempt to change the filename to the new text. Notify user if
15384         operation fails.
15385         (get_icon_editable_text_callback): This callback returns the text
15386         items that are editable by the user using the "Rename" command. In
15387         the case of FMIconView, this would be the attribute with the name
15388         "name".
15389         (get_icon_additional_text_callback): This callback returns the
15390         text items that are not editable by the user using the "Rename"
15391         command.
15393 2000-04-17  John Sullivan <sullivan@eazel.com>
15395         * libnautilus-extensions/nautilus-file.c:
15396         (nautilus_file_monitor_add), (nautilus_file_monitor_remove):
15397         Added empty implementations for these two routines. Will
15398         fill in with actual code later after talking to Darin.
15400         * src/nautilus-index-title.c:
15401         (nautilus_index_title_set_uri): Monitor file for changes
15402         in directory item count.
15403         (release_file): Remove monitoring of file.
15404         
15405         * src/file-manager/fm-properties-window.c:
15406         (name_field_done_editing), (name_field_focus_out),
15407         (name_field_focus_in), (create_properties_window):
15408         Made focusing away from the name field in the Properties
15409         window deselect the text, and focusing in select it.
15411 2000-04-17  John Sullivan <sullivan@eazel.com>
15413         Fixed bugs, mostly related to editable text fields.
15415         * README: Made the contents of this file slightly helpful.
15416         
15417         * data/mime/nautilus.keys: Added an obscure MIME type that
15418         someone reported running into.
15420         * libnautilus-extensions/nautilus-entry.h,
15421         * libnautilus-extensions/nautilus-entry.c: New files. Define a
15422         subclass of GtkEntry (one-line text editing field) that fixes
15423         bugs and adds convenience functions.
15424         (nautilus_entry_key_press): Override key_press handler to treat
15425         the keypad Enter key the same as the other Enter key (in GtkEntry
15426         it inserts a "/r" into the text).
15427         (nautilus_entry_select_all): Select all text, and move the text
15428         cursor position to the end.
15429         (nautilus_entry_select_all_at_idle): Same, but do it at the next
15430         idle opportunity. Useful since nautilus_entry_select_all won't
15431         work right if called in a key_press signal handler.
15432         * libnautilus-extensions/Makefile.am: Build these two new files.
15434         * src/file-manager/fm-properties-window.c:
15435         (name_field_activate): New function, updates file name and
15436         selects all text.
15437         (create_properties_window): Make name_field be a NautilusEntry.
15438         This fixes half of bug 433 (Enter keys don't work properly in
15439         properties window). Also attach to "activate" signal and update
15440         name change then. This fixes other half of bug 433. Also start
15441         with name field selected & focused. This fixes bug 432 (properties
15442         window should appear with name text selected).
15443         (name_field_update_to_match_file): Only update the displayed text
15444         if the new name coming in is different. This was needed to make
15445         select-all-on-activate work.
15446         (name_field_done_editing): Don't accept empty string as name;
15447         silently revert back to original name.
15449         * src/nautilus-bookmarks-window.c:
15450         (create_bookmarks_window): Change name & uri text fields to 
15451         NautilusEntry; this causes keypad Enter key to behave like other 
15452         Enter key. Also connect to focus_in and activate signals.
15453         (update_bookmark_from_text): New function, extracted from
15454         on_text_field_focus_out_event.
15455         (on_text_field_focus_out_event): Deselect all text after updating
15456         bookmark.
15457         (on_text_field_focus_in_event): New function, select all text.
15458         (name_or_uri_field_activate): New function, update bookmark and
15459         select all text.
15460         
15461         * src/nautilus-location-bar.c:
15462         (nautilus_location_bar_initialize): Use NautilusEntry instead of
15463         GtkEntry. This makes keypad Enter act like other Enter in uri-entry
15464         field.
15465         
15466         * src/ntl-window-msgs.c:
15467         (nautilus_window_end_location_change_callback): Make "Nautilus can't 
15468         handle this type of file" message mention (human-readable version of) 
15469         file type.
15471 2000-04-17  Andy Hertzfeld <andy@eazel.com>
15473         fixed bug involving making thumbnails for directories where we don't
15474         have write permissions by making them in $HOME/.nautilus/thumbnails.
15475         
15476         * libnautilus/nautilus-directory.c:
15477         moved escape_slashes routine to nautilus-strings so it can be shared
15478         * libnautilus/nautilus-string.c,h:
15479         added nautilus_str_escape_slashes, copies from nautilus-directory
15480         * libnautilus/nautilus-icon-factory.c:
15481         added boolean to make_thumbnail_path to make the thumbnails in
15482         $HOME/.nautilus/thumbnails instead of in the local directory, and
15483         then used it when we can't write to the local one.
15484         
15485 2000-04-16  Andy Hertzfeld <andy@eazel.com>
15487         * src/ntl-index-panel.c:
15488         fixed problem where the command buttons in the index panel were overlapping
15489         the metaview.  They are not supposed to be showing if a metaview is selected.
15490         Fixed by hiding them in nautilus_index_panel_update_buttons if a metaview
15491         is selected.
15492         
15493 2000-04-15  Andy Hertzfeld <andy@eazel.com>
15495         installed some icons for common file types, purloined from gmc
15496         
15497         * icons/Makefile.am:
15498         added a bunch of icons
15499         * icons/gnome-icon-x-mp3.png: new icon for mp3s
15500         * icons/gnome-compressed.png: new icon for gzips
15501         * icons/gnome-library.png: new icon for shared libraries
15502         * icons/gnome-manpage.png: new icon for man pages
15503         * icons/gnome-objectfile.png: new icon for object code files
15504         * icons/gnome-pack-deb.png: new icon for debian packages
15505         * icons/gnome-pack-rpm.png: new icon for rpm packages
15506         * icons/gnome-package: new icon for tar archives
15507         * data/mime/nautilus.keys:
15508         added icon-filename entries to appropriate mime-types
15509         
15510 2000-04-14  Darin Adler  <darin@eazel.com>
15512         * libnautilus-extensions/nautilus-string.c: 
15513         * libnautilus-extensions/nautilus-string.h:
15514         After a chat with Rebecca, named nautilus_str_underscore_escape to
15515         nautilus_str_double_underscores since the latter name more
15516         accurately describes what it does.
15517         (nautilus_str_double_underscores): Changed the function to allow
15518         NULL and return NULL instead of doing g_return_val_if_fail.
15519         (Also reformatted a bit and made a few gratuitous changes.)
15521         * libnautilus-extensions/nautilus-bookmark.c:
15522         * libnautilus-extensions/nautilus-bookmark.h:
15523         (nautilus_bookmark_get_menu_display_name):
15524         Moved the logic about escaping menu characters up one level so
15525         the bookmark class doesn't have to know about it. This removes
15526         the function from NautilusBookmark completely.
15528         * src/nautilus-window-menus.c:
15529         (append_bookmark_to_menu): Fixed a storage leak and moved the
15530         double-underscore escaping in here.
15532 2000-04-14 Rebecca Schulman <rebecka@eazel.com>
15534         Fixed test cases on nautilus-string.c to be correct
15535         
15536 2000-04-14 Rebecca Schulman <rebecka@eazel.com>
15538         Bookmarks with '_' characters display
15539         correctly now on menus
15540         
15541         * libnautilus-extensions/nautilus-string.c
15542         New function to escape '_' characters in strings
15543         for menu display
15544         * libnautilus-extensions/nautilus-bookmark.c
15545         New function to take bookmarks and return
15546         '_' escaped names
15547         * src/nautilus-window-menus.c
15548         Calls function to escape bookmark names
15550 2000-04-14  Darin Adler  <darin@eazel.com>
15552         Finished task 174 (Use deferred calculation to compute directory
15553         counts).
15555         * libnautilus-extensions/Makefile.am: 
15556         * libnautilus-extensions/nautilus-file-attributes.h: 
15557         Added a header file for names of file attributes.
15559         * libnautilus-extensions/nautilus-directory-private.h: 
15560         * libnautilus-extensions/nautilus-directory.c: 
15561         * libnautilus-extensions/nautilus-directory.h: 
15562         * libnautilus-extensions/nautilus-file-private.h: 
15563         * libnautilus-extensions/nautilus-file.c: 
15564         * libnautilus-extensions/nautilus-file.h: 
15565         Added background computation of the "directory item count"
15566         attribute. This is serving as a test case for the API for
15567         requesting additional information.
15569         * src/file-manager/fm-directory-view.c:
15570         (display_selection_info): Changed to use the new interface that
15571         can sometimes return "I don't know" for the number of items in
15572         a particular directory.
15573         (stop_load), (done_loading), (display_pending_files),
15574         (fm_directory_view_stop): Fixed a mistake in the old code where
15575         we stopped monitoring once the files were discovered. We need to
15576         keep monitoring.
15577         (finish_loading_uri): Pass in an attribute that we want to monitor:
15578         NAUTILUS_FILE_ATTRIBUTE_DIRECTORY_ITEM_COUNT.
15580 2000-04-14 Rebecca Schulman <rebecka@eazel.com>
15581         
15582         Bookmarks with '_' characters display
15583         correctly now on menus
15584         
15585         * libnautilus-extensions/nautilus-string.c
15586         New function to escape '_' characters in strings
15587         for menu display
15588         * libnautilus-extensions/nautilus-bookmark.c
15589         New function to take bookmarks and return
15590         '_' escaped names
15591         * src/nautilus-window-menus.c
15592         Calls function to escape bookmark names
15594 Fri Apr 14 16:35:32 2000  Raph Levien  <raph@acm.org>
15596         * librsvg/test-rsvg.c: Added a command line tester for rsvg, which
15597         outputs alpha-transparent PNG's from SVG input files. The PNG save
15598         code is lifted from similar code in nautilus-icon-factory, and
15599         should be deleted when this functionality appears in gdk-pixbuf.
15601         * librsvg/Makefile.am: Build test-rsvg.
15603 2000-04-14  Andy Hertzfeld <andy@eazel.com>
15605         * libnautilus-extensions/nautilus-icon-factory.c:
15606         using Raph's new machinery, made icons for .svg files use 
15607         a rendering of the file itself.
15608         
15609 2000-04-14  Christopher James Lahey  <clahey@helixcode.com>
15611         * src/ntl-window.c (nautilus_window_constructed): Change the
15612         packing of the first pane so that it doesn't autoresize.
15614         * libnautilus-extensions/nautilus-file-utilities.c
15615         (nautilus_user_top_directory): Change this routine to use
15616         gnome_datadir_file to get the share directory.  Also, change to
15617         using g_strdup_printf.
15619 2000-04-14  Darin Adler  <darin@eazel.com>
15621         * libnautilus-extensions/.cvsignore: Fixed to match new directory
15622         contents.
15624 2000-04-14  Ramiro Estrugo  <ramiro@eazel.com>
15626         Split libnautilus into two pieces.  
15628         libnautilus now only contains the view interfaces needed by nautilus 
15629         components.
15631         These are the interfaces defined in nautilus-view-component.idl.
15632         
15633         libnautilus-extensions containes the remainder of the stuff.
15635         Also used the cvs repository munging opportunity to do some of the
15636         ntl-* renaming outlined in the RENAIMING file.
15638         * libnautilus/bonobo-stream-vfs.c
15639           libnautilus/bonobo-stream-vfs.h,
15640           libnautilus/gtkscrollframe.c,
15641           libnautilus/gtkscrollframe.h,
15642           libnautilus/nautilus-alloc.h,
15643           libnautilus/nautilus-background-canvas-group.c,
15644           libnautilus/nautilus-background-canvas-group.h,
15645           libnautilus/nautilus-background.c,
15646           libnautilus/nautilus-background.h,
15647           libnautilus/nautilus-bonobo-extensions.c,
15648           libnautilus/nautilus-bonobo-extensions.h,
15649           libnautilus/nautilus-bookmark.c,
15650           libnautilus/nautilus-bookmark.h,
15651           libnautilus/nautilus-debug.c,
15652           libnautilus/nautilus-debug.h,
15653           libnautilus/nautilus-default-file-icon.c,
15654           libnautilus/nautilus-default-file-icon.h,
15655           libnautilus/nautilus-directory-background.c,
15656           libnautilus/nautilus-directory-background.h,
15657           libnautilus/nautilus-directory-private.h,
15658           libnautilus/nautilus-directory.c,
15659           libnautilus/nautilus-directory.h,
15660           libnautilus/nautilus-file-private.h,
15661           libnautilus/nautilus-file-utilities.c,
15662           libnautilus/nautilus-file-utilities.h,
15663           libnautilus/nautilus-file.c,
15664           libnautilus/nautilus-file.h,
15665           libnautilus/nautilus-gdk-extensions.c,
15666           libnautilus/nautilus-gdk-extensions.h,
15667           libnautilus/nautilus-gdk-pixbuf-extensions.c,
15668           libnautilus/nautilus-gdk-pixbuf-extensions.h,
15669           libnautilus/nautilus-glib-extensions.c,
15670           libnautilus/nautilus-glib-extensions.h,
15671           libnautilus/nautilus-global-preferences.c,
15672           libnautilus/nautilus-global-preferences.h,
15673           libnautilus/nautilus-gnome-extensions.c,
15674           libnautilus/nautilus-gnome-extensions.h,
15675           libnautilus/nautilus-graphic-effects.c,
15676           libnautilus/nautilus-graphic-effects.h,
15677           libnautilus/nautilus-gtk-extensions.c,
15678           libnautilus/nautilus-gtk-extensions.h,
15679           libnautilus/nautilus-gtk-macros.h,
15680           libnautilus/nautilus-icon-canvas-item.c,
15681           libnautilus/nautilus-icon-canvas-item.h,
15682           libnautilus/nautilus-icon-container.c,
15683           libnautilus/nautilus-icon-container.h,
15684           libnautilus/nautilus-icon-dnd.c,
15685           libnautilus/nautilus-icon-dnd.h,
15686           libnautilus/nautilus-icon-factory.c,
15687           libnautilus/nautilus-icon-factory.h,
15688           libnautilus/nautilus-icon-grid.c,
15689           libnautilus/nautilus-icon-grid.h,
15690           libnautilus/nautilus-icon-private.h,
15691           libnautilus/nautilus-lib-self-check-functions.c,
15692           libnautilus/nautilus-lib-self-check-functions.h,
15693           libnautilus/nautilus-list-column-title.c,
15694           libnautilus/nautilus-list-column-title.h,
15695           libnautilus/nautilus-list.c,
15696           libnautilus/nautilus-list.h,
15697           libnautilus/nautilus-metadata.h,
15698           libnautilus/nautilus-mime-type.c,
15699           libnautilus/nautilus-mime-type.h,
15700           libnautilus/nautilus-self-checks.c,
15701           libnautilus/nautilus-self-checks.h,
15702           libnautilus/nautilus-string-list.c,
15703           libnautilus/nautilus-string-list.h,
15704           libnautilus/nautilus-string.c,
15705           libnautilus/nautilus-string.h,
15706           libnautilus/nautilus-xml-extensions.c,
15707           libnautilus/nautilus-xml-extensions.h: moved to
15708         libnautilus-extensions.
15710           libnautilus/ntl-content-view-frame.c,
15711           libnautilus/ntl-content-view-frame.h,
15712           libnautilus/ntl-meta-view-frame.c,
15713           libnautilus/ntl-meta-view-frame.h,
15714           libnautilus/ntl-view-frame.c,
15715           libnautilus/ntl-view-frame.h: moved to
15716         libnautilus-extensions and renamed from "ntl-*" to "nautilus-*"
15718         * Makefile.am,
15719           configure.in: added libnautilus-extensions to the build.
15721         * libnautilus/.cvsignore,
15722           libnautilus/Makefile.am,
15723           libnautilus/libnautilus.h,
15724           libnautilus/nautilus-content-view-frame.c,
15725           libnautilus/nautilus-content-view-frame.h,
15726           libnautilus/nautilus-meta-view-frame.c,
15727           libnautilus/nautilus-meta-view-frame.h,
15728           libnautilus/nautilus-view-frame-private.h,
15729           libnautilus/nautilus-view-frame.c,
15730           libnautilus/nautilus-view-frame.h,
15731           libnautilus/nautilus-zoomable.c: Updated for libnautilus ->
15732         libnautilus-extensions changes. 
15734         * libnautilus-extensions/Makefile.am,
15735           libnautilus-extensions/nautilus-global-preferences.c,
15736           libnautilus-extensions/nautilus-global-preferences.h,
15737           libnautilus-extensions/nautilus-icon-factory.h: Updated for libnautilus ->
15738         libnautilus-extensions changes. 
15740         * nautilus-widgets/nautilus-preferences-box.c,
15741           nautilus-widgets/nautilus-preferences-dialog.c,
15742           nautilus-widgets/nautilus-preferences-group.c,
15743           nautilus-widgets/nautilus-preferences-item.c,
15744           nautilus-widgets/nautilus-preferences-pane.c,
15745           nautilus-widgets/nautilus-preferences.c,
15746           nautilus-widgets/nautilus-radio-button-group.c: Updated for libnautilus ->
15747         libnautilus-extensions changes. 
15749         * src/Makefile.am,
15750           src/nautilus-bookmark-list.c,
15751           src/nautilus-bookmark-list.h,
15752           src/nautilus-bookmarks-window.c,
15753           src/nautilus-index-tabs.c,
15754           src/nautilus-index-title.c,
15755           src/nautilus-location-bar.c,
15756           src/nautilus-signaller.c,
15757           src/nautilus-window-menus.c,
15758           src/nautilus-window-toolbars.c,
15759           src/nautilus-zoom-control.c,
15760           src/ntl-app.c,
15761           src/ntl-index-panel.c,
15762           src/ntl-main.c,
15763           src/ntl-meta-view.c,
15764           src/ntl-uri-map.c,
15765           src/ntl-uri-map.h,
15766           src/ntl-view-bonobo-subdoc.c,
15767           src/ntl-view.c,
15768           src/ntl-window-msgs.c,
15769           src/ntl-window-state.c,
15770           src/ntl-window.c,
15771           src/ntl-window.h: Updated for libnautilus ->
15772         libnautilus-extensions changes. 
15774         * src/file-manager/fm-directory-view.c,
15775           src/file-manager/fm-directory-view.h,
15776           src/file-manager/fm-icon-text-window.c,
15777           src/file-manager/fm-icon-view.c,
15778           src/file-manager/fm-list-view.c,
15779           src/file-manager/fm-properties-window.c,
15780           src/file-manager/fm-properties-window.h: Updated for libnautilus ->
15781         libnautilus-extensions changes. 
15783         * components/history/Makefile.am,
15784           components/history/ntl-history-view.c,
15785           components/html/Makefile.am,
15786           components/html/ntl-web-browser.c,
15787           components/music/Makefile.am,
15788           components/music/nautilus-music-view.c,
15789           components/music/nautilus-music-view.h,
15790           components/notes/Makefile.am,
15791           components/notes/ntl-notes.c,
15792           components/rpmview/Makefile.am,
15793           components/rpmview/nautilus-rpm-view.c,
15794           components/rpmview/nautilus-rpm-view.h,
15795           components/sample/Makefile.am,
15796           components/sample/nautilus-sample-content-view.c,
15797           components/sample/nautilus-sample-content-view.h,
15798           components/services/startup/Makefile.am,
15799           components/services/startup/eazel-register.c,
15800           components/services/startup/nautilus-service-startup-view.c,
15801           components/services/startup/nautilus-service-startup-view.h:
15802         Updated components for libnautilus -> libnautilus-extensions changes. 
15803         
15804 2000-04-14  Fatih Demir <kabalak@gmx.net>
15806         * configure.in : Added tr to ALL_LINGUAS .
15808 2000-04-14  Ramiro Estrugo  <ramiro@eazel.com>
15810         * po/ChangeLog: Added this thing to make 'make dist' happy.
15812         Use that from now on for changes in po/.  Seems to be the standard
15813         thing to do.
15814         
15815 2000-04-14  Ramiro Estrugo  <ramiro@eazel.com>
15817         * libnautilus/libnautilus.h
15818           libnautilus/nautilus-zoomable.h
15819           libnautilus/ntl-view-frame.h:
15821         Include the new <nautilus-view-component.h> instead of
15822         <nautilus.h>
15823         
15824           src/ntl-uri-map.h
15825           src/ntl-view.h:
15827         Same.
15828         
15829 2000-04-14  Ramiro Estrugo  <ramiro@eazel.com>
15831         * components/rpmview/nautilus-rpm-view.c:
15833         Did not build on redhat 5.2 because RPMTAG_FILENAMES has been
15834         obseleted in the version of rpm that ships with 5.2 apparently.
15835         I added a dumb hack to define RPMTAG_FILENAMES to
15836         RPMTAG_OLDFILENAMES which is almost surely the wrong thing to do,
15837         but i really need to have nautilus building while i do the
15838         nautilus view changes.  I gave myself a bug to properly address
15839         this soon (472).
15840         
15841 2000-04-14  Maciej Stachowiak  <mjs@eazel.com>
15843         * ChangeLog-20000414: rolled over from ChangeLog.