1. 14 Apr, 2000 2 commits
    • Darin Adler's avatar
      Fixed a bug my changes to GNOME VFS exposed. The callback couldn't handle · 74748cdc
      Darin Adler authored
      	* components/html/ntl-web-browser.c: (browser_vfs_read_callback):
      	Fixed a bug my changes to GNOME VFS exposed. The callback couldn't
      	handle a "bytes_read" of 0.
      
      	* libnautilus/nautilus-directory-private.h:
      	* libnautilus/nautilus-directory.c:
      	* libnautilus/nautilus-directory.h:
      	* src/file-manager/fm-directory-view.c:
      	Added a new interface for monitoring files and directories.
      	Also fixed the self-check code that was failing since the
      	async. changes.
      
      	* libnautilus/nautilus-file.h:
      	Added the interface for monitoring single files, but it isn't
      	implemented yet.
      
      	* libnautilus/nautilus-icon-canvas-item.c:
      	* libnautilus/nautilus-icon-canvas-item.h:
      	* libnautilus/nautilus-icon-container.c:
      	* libnautilus/nautilus-icon-container.h:
      	* libnautilus/nautilus-icon-dnd.c:
      	* libnautilus/nautilus-icon-dnd.h:
      	* libnautilus/nautilus-icon-private.h:
      	Restructured Andy's modifier changes so the canvas item doesn't
      	have to know about modifiers. This makes the canvas item private
      	again. Users of NautilusIconContainer shouldn't have to know
      	about the canvas item.
      
      	* src/file-manager/fm-icon-view.c:
      	Reformatting.
      74748cdc
    • Andy Hertzfeld's avatar
      made configuration upload work again, by adding a Content-Type header, · 779efc10
      Andy Hertzfeld authored
      
             made configuration upload work again, by adding a Content-Type header,
             which is now required by Jonathan's script.
      779efc10
  2. 13 Apr, 2000 6 commits
    • Andy Hertzfeld's avatar
      fixed recently introduced problems with escaping, plus added call to · 1f623605
      Andy Hertzfeld authored
      
             fixed recently introduced problems with escaping, plus added
             call to gtk_main_iteration inside the config gather loop
      1f623605
    • Andy Hertzfeld's avatar
      added Susan's new icons for service registration and configuration upload · 10502b57
      Andy Hertzfeld authored
      
             added Susan's new icons for service registration and configuration
             upload
      10502b57
    • Darin Adler's avatar
      Updated for new GNOME VFS. · b1aa2326
      Darin Adler authored
      	* libnautilus/nautilus-directory.c
      	(read_some_metafile_data), (metafile_read_start),
      	(metafile_write_create_callback), (metafile_write_start),
      	(nautilus_directory_monitor_files_ref):
      	* libnautilus/gdk-pixbuf-extensions.c
      	(nautilus_gdk_pixbuf_load_async):
      	* src/ntl-uri-map.c (got_metadata_callback):
      	* components/html/ntl-web-browser.c (browser_vfs_callback),
      	(do_vfs_load):
      	Update for the new GNOME VFS which doesn't return an immediate error
      	code when doing an async. call.
      b1aa2326
    • Andy Hertzfeld's avatar
      improved title for non-vfs uris, used Gene's routine to escape http · d7f2206f
      Andy Hertzfeld authored
      
             improved title for non-vfs uris, used Gene's routine to escape http
             parameters in service stuff, and finally weakened assert in
             nautilus directory to allow non-vfs uris to continue to work
      d7f2206f
    • Andy Hertzfeld's avatar
      added eazel theme open folder icons at different sizes, plus upgraded the · 615bb683
      Andy Hertzfeld authored
      
             added eazel theme open folder icons at different sizes, plus
             upgraded the normal size one to make it less crufty
      615bb683
    • Pavel Cisler's avatar
      Added a Duplicate menu item. (task 329) · 1eaceba2
      Pavel Cisler authored
      
      2000-04-12  Pavel Cisler <pavel@eazel.com>
      
      	* src/file-manager/fm-directory-view.c:
      	(fm_directory_duplicate_selection), (bonobo_menu_duplicate_cb),
      	(append_uri_one), (duplicate_cb), (fm_directory_view_real_update_menus):
      	Added a Duplicate menu item. (task 329)
      
      	* src/file-manager/dfos-xfer.c:
      	(fs_xfer)
      	Added support for the duplicate command. Passing in a NULL for
      	target directory now starts a duplicate operation.
      
      	* src/file-manager/dfos-xfer.c:
      	(fs_xfer)
      	Made the progress dialog receive the text for the setup state. Pass
      	in proper text for copy and move operations.
      
      	* src/file-manager/dfos-xfer.c:
      	(handle_xfer_ok)
      	Pin the values of the bytes_copied to the preflight maximum -- a copy
      	may end up copying more than it estimated when items are added to
      	the hierarchy after the copy started. (I was hitting this when copying
      	a folder into itself, which is a separate bug).
      1eaceba2
  3. 12 Apr, 2000 10 commits
    • Andy Hertzfeld's avatar
      added framework for using custom images to reflect highlight state; used · b6b12659
      Andy Hertzfeld authored
      
              added framework for using custom images to reflect highlight state;
      	used it to make folders reflect drop-highlighting by opening (just
      	in eazel theme for now)
      b6b12659
    • John Sullivan's avatar
    • John Sullivan's avatar
      Added a bunch more MIME type descriptions. · e8013d5c
      John Sullivan authored
      e8013d5c
    • Darin Adler's avatar
      This is a new Perl script for searching for FIXME in the code. It reports · baebdb1a
      Darin Adler authored
      	* check-FIXME.pl: This is a new Perl script for searching for FIXME
      	in the code. It reports any FIXME that does not have a bug number
      	next to it, or any with a bug number that's not an open bug.
      	* libnautilus/nautilus-bookmark.c: Attached a bug number to a FIXME
      	for script-testing purposes.
      	* docs/architecture.txt: Removed a FIXME. So sue me!
      
      	* src/file-manager/fm-icon-text-window.c
      	(create_attributes_option_menu): Added a call to gettext since the
      	attribute_labels are now N_ strings.
      	* po/.cvsignore: Ignore the generated files.
      
      	* libnautilus/nautilus-icon-factory.c: Formatting tweak.
      baebdb1a
    • Ramiro Estrugo's avatar
      Change usage of _("foo") to N_("foo") · 951e7313
      Ramiro Estrugo authored
      * src/file-manager/fm-icon-text-window.c:
      Change usage of _("foo") to N_("foo")
      951e7313
    • Valek Frob's avatar
      Added some stuff for i18n. · ba36989e
      Valek Frob authored
      ba36989e
    • Pavel Cisler's avatar
      Fix a problem where drag actions did't update properly when dragging · 8ecf5b48
      Pavel Cisler authored
      
      2000-04-11  Pavel Cisler <pavel@eazel.com>
      
      	* libnautilus/nautilus-icon-dnd.c:
      	* libnautilus/nautilus-icon-dnd.h:
      	Fix a problem where drag actions did't update properly when dragging
      	between two windows. The pointer to the private GtkDragStatus needs
      	to be global, not stored in the drag originator widget.
      8ecf5b48
    • Andy Hertzfeld's avatar
      tweaked configuration upload protocol to match Jonathan's changes · 25c46342
      Andy Hertzfeld authored
      
             tweaked configuration upload protocol to match Jonathan's changes
      25c46342
    • Darin Adler's avatar
      Handle case where directory is NULL which is needed for URIs that · 08d18d65
      Darin Adler authored
      Nautilus understands but GNOME VFS does not.
      08d18d65
    • John Sullivan's avatar
      Addressed most of task 148 (Better type-as-string for · f96591d2
      John Sullivan authored
      	directory views). Added new directory to CVS, so make
      	sure you do a "cvs update -d" and not just "cvs update".
      
      	"make install" now installs a file of mime-type-to-English
      	descriptions in the gnome-mime directory.
      
      	* data/mime/nautilus.keys: The actual mapping between
      	MIME types and English descriptions. Read these and send
      	me your abuse.
      	* data/mime/Makefile.am: New file, copies nautilus.keys to
      	gnome-mime directory.
      	* data/Makefile.am: includes "mime" subdirectory
      	* configure.in: configures "data/mime" directory
      
      	* libnautilus/nautilus-file.c:
      	(nautilus_file_get_mime_type_as_string_attribute):
      	New function, returns the raw MIME type as a string,
      	and handles the no-MIME-type case.
      	(nautilus_file_get_string_attribute): handle attribute
      	"mime_type", distinct from "type" which is now the
      	human-language one.
      	(nautilus_file_get_type_as_string): Use gnome-mime
      	to get human-language descriptions based on the MIME
      	type.
      	(nautilus_file_is_executable): Fixed this function which
      	was reading info->flags instead of info->permissions. Now
      	the special executable icon appears much more often (though
      	we still don't know what it's supposed to be).
      	* src/file-manager/fm-error-reporting.c:
      	(fm_report_error_renaming_file): Use "directory" instead of
      	"folder" to match our terminology elsewhere.
      	* src/file-manager/fm-icon-text-window.c:
      	add "mime type" to list of choices of text that can appear
      	beneath icons (in addition to just plain "type", which is
      	the human-language one).
      f96591d2
  4. 11 Apr, 2000 7 commits
  5. 10 Apr, 2000 7 commits
    • Darin Adler's avatar
      Finished changing all callers that use metadata to use it in a way · 08068379
      Darin Adler authored
      	that is compatible with async. metadata reading.
      
      	* components/notes/ntl-notes.c:
      	(notes_load_metainfo): Changed to use nautilus_file_call_when_ready
      	to wait for the metadata. Also fixed a bug that was causing an assert
      	inside the call to gtk_editable_insert_text.
      	(main): Made warnings and criticals stop in the debugger.
      
      	* libnautilus/nautilus-directory.c:
      	* libnautilus/nautilus-directory.h:
      	(nautilus_directory_call_when_ready): Renamed the call to indicate
      	it can wait for more than just metadata. For now it does only wait
      	for metadata, though.
      	(nautilus_directory_cancel_callback): Renamed this too.
      
      	* libnautilus/nautilus-file.c:
      	(nautilus_file_call_when_ready), (nautilus_file_cancel_callback):
      	Made a corresponding call for the metadata of a single file.
      
      	* libnautilus/nautilus-gdk-extensions.c:
      	* src/nautilus-index-title.c:
      	Formatting changes.
      
      	* libnautilus/nautilus-metadata.h:
      	Clarified that ANNOTATION is a per-file piece of metadata.
      
      	* src/ntl-uri-map.c:
      	* src/file-manager/fm-directory-view.c:
      	Use new names of calls.
      
      	* src/file-manager/fm-icon-view.c:
      	* src/file-manager/fm-list-view.c:
      	Added comment.
      08068379
    • Andy Hertzfeld's avatar
      fixed bug where multi-line titles in the index panel has a large vertical · 82c9663d
      Andy Hertzfeld authored
      
              fixed bug where multi-line titles in the index panel has a large
      	vertical gap.  Fixed by breaking out of loop when we find the
      	split point.
      82c9663d
    • Andy Hertzfeld's avatar
      added io port info to hardware configuration synopsis · 6e865e79
      Andy Hertzfeld authored
      
      	added io port info to hardware configuration synopsis
      6e865e79
    • John Sullivan's avatar
      Fixed bug 377 (clipping emblems in list view looks bad · f193a5ad
      John Sullivan authored
      	and loses information)
      
      	* libnautilus/nautilus-list.c:
      	(draw_row): Made it draw the ellipsis character if there's
      	not enough room to show all emblems.
      f193a5ad
    • John Sullivan's avatar
      Reworked selection such that the SELECTION_CHANGED signal is emitted only · 4d1df7f3
      John Sullivan authored
      	* libnautilus/nautilus-list.c:
      	(nautilus_list_initialize_class), (nautilus_list_initialize),
      	(select_or_unselect_row_callback), (emit_selection_changed),
      	(select_range), (select_row), (select_row_from_mouse),
      	(row_set_selected), (select_row_unselect_others),
      	(nautilus_list_select_all), (nautilus_list_unselect_all),
      	(nautilus_list_button_press), (nautilus_list_keyboard_move_to),
      	(nautilus_list_motion), (nautilus_list_set_selection):
      	Reworked selection such that the SELECTION_CHANGED signal is
      	emitted only once for every selection-affecting operation,
      	and never if the selection hasn't changed at all. This makes
      	such operations as Select All, switch-from-icon-view-with-lots-
      	selected, and arrow-key-to-end-of-list significantly faster.
      4d1df7f3
    • Andy Hertzfeld's avatar
      save token from service, pass it back in header of subsequent request; · f0d79129
      Andy Hertzfeld authored
      
             save token from service, pass it back in header of subsequent
             request; fixed recursive thumbnail bug; make snapshot frame for
             thumbnails.
      f0d79129
    • John Sullivan's avatar
      Finished task 307 (keyboard navigation in list view should · f27fcab0
      John Sullivan authored
      	use same keys/behavior as in icon view). There are a few
      	minor bugs remaining that I'll write up separately.
      
      	* libnautilus/nautilus-list.c:
      	NautilusListDetails struct: added fields for
      	keyboard_row_to_reveal and keyboard_row_reveal_timer_id;
      	(nautilus_list_initialize_class): Removed key binding set for
      	this class (uses key_press_event function instead); used
      	gtk_binding_entry_clear to get rid of all the unwanted GtkCList
      	key bindings; wire up key_press_event function; wire up
      	destroy function
      	(nautilus_list_destroy): New function, destroy details struct
      	(this was storage leak) and clean up pending timer.
      	(nautilus_list_clear_keyboard_focus), (nautilus_list_set_keyboard_focus),
      	(nautilus_list_keyboard_move_to), (keyboard_row_reveal_timeout_callback),
      	(unschedule_keyboard_row_reveal), (schedule_keyboard_row_reveal),
      	(reveal_row), (nautilus_list_keyboard_navigation_key_press),
      	(nautilus_list_keyboard_home), (nautilus_list_keyboard_end),
      	(nautilus_list_keyboard_up), (nautilus_list_keyboard_down),
      	(nautilus_list_keyboard_page_up), (nautilus_list_keyboard_page_down),
      	(nautilus_list_keyboard_space), (nautilus_list_activate_selected_items),
      	(nautilus_list_get_first_selected_row),
      	(nautilus_list_get_last_selected_row),
      	(nautilus_list_key_press): New functions, all the mechanism for
      	handling key presses similarly to NautilusIconContainer. Bonus
      	key handling for Page Up and Page Down.
      	(nautilus_list_move_focus_row), (scroll_vertical): Removed these
      	functions that were used by the GtkCList key bindings in favor of
      	nautilus_list_key_press and friends.
      f27fcab0
  6. 08 Apr, 2000 2 commits
    • Andy Hertzfeld's avatar
      The text below an icon is now underlined when the icon is pre-lit · b39c3637
      Andy Hertzfeld authored
      
              The text below an icon is now underlined when the icon is pre-lit
      b39c3637
    • John Sullivan's avatar
      Fixed bug Andy pointed out where list view "links" could · 94956626
      John Sullivan authored
      	be activated by clicking in white space past the name.
      	Also started making changes in the direction of getting
      	keyboard selection working properly in list view (but
      	most of the work remains).
      
      	* libnautilus/nautilus-gdk-extensions.h,
      	* libnautilus/nautilus-gdk-extensions.c:
      	(nautilus_stipple_bitmap): New function, returns pointer to
      	static 50% stipple bitmap.
      	* libnautilus/nautilus-icon-cvanvas-item.c:
      	remove global stipple object;
      	(nautilus_icon_canvas_item_initialize_class): Remove initialization
      	of global stipple object.
      	(draw_or_measure_label_text), (draw_stretch_handles): Use
      	nautilus_stipple_bitmap () in lieu of global stipple object
      	in this file.
      	* libnautilus/nautilus-list.c:
      	(get_cell_horizontal_start_position): New function, extracted
      	from draw_row so I could use it elsewhere.
      	(nautilus_list_key): Removed function.
      	(nautilus_list_draw_focus): New function, draws keyboard-focussed
      	row with the same stipple outline used in icon view.
      	(nautilus_list_move_function_row): New function, copied & simplified
      	from GtkCList. Will probably rewrite entirely or eliminate very soon.
      	(nautilus_list_scroll_vertical): New function, copied & simplified
      	from GtkCList. Handles various keyboard commands, though not yet with
      	the behavior we actually want.
      	(nautilus_list_initialize_class): Begin to override and eliminate
      	GtkCList key bindings that we want to change. I've just started this
      	work -- all I've done so far is make space do nothing but Control-space
      	toggle the selection status of the keyboard-focussed row. I need to
      	go through and fix up all the bad inherited bindings. Also in this
      	function replace GtkCList's scroll_vertical and draw_focus function
      	pointers, and removed the key_press_event and key_release_event
      	overrides that were deliberately preventing us from inheriting any
      	of GtkCList's keyboard behavior.
      	(nautilus_list_button_release): Only activate link-text if the click
      	is in the horizontal bounds of the text.
      	(draw_row) Use get_cell_horizontal_start_position that was extracted
      	from this function.
      94956626
  7. 07 Apr, 2000 6 commits
    • Andy Hertzfeld's avatar
      pointed service code at Jonathan's prototype server - registration is now · e68159f3
      Andy Hertzfeld authored
      
              pointed service code at Jonathan's prototype server - registration is
      	now working.  Also, implemented simple drag highliting, by treating it
      	exactly like selection highliting
      e68159f3
    • Andy Hertzfeld's avatar
      made configuration update make HTTP request and check errors; also added · fc19e85b
      Andy Hertzfeld authored
      
      
      	made configuration update make HTTP request and check errors; also
      	added stub overview page and minor cleanups
      fc19e85b
    • Pavel Cisler's avatar
      More file operation stuff. · 930655a1
      Pavel Cisler authored
      
      
      2000-04-06  Pavel Cisler <pavel@eazel.com>
      	More file operation stuff.
      930655a1
    • Andy Hertzfeld's avatar
      more work to polish registration and substantially implement configuration · 4c0591ba
      Andy Hertzfeld authored
      
             more work to polish registration and substantially implement
             configuration uploading, plus misc cleanups
      4c0591ba
    • John Sullivan's avatar
      Finished task 376 (Resolve list-view single-click behavior) · cb19a969
      John Sullivan authored
      	* libnautilus/nautilus-gdk-extensions.h:
      	#defines for colors NAUTILUS_RGB_COLOR_RED, _GREEN,
      	_BLUE, _WHITE, and _BLACK.
      	* libnautilus/nautilus-gdk-extensions.c:
      	(nautilus_parse_rgb_with_white_default): Replaced
      	hard-wired numbers with these #defines.
      
      	* libnautilus/nautilus-list.h,
      	* libnautilus/nautilus-list.c:
      	added enum entry for NAUTILUS_CELL_LINK_TEXT;
      	(nautilus_list_mark_cell_as_link): New functions, converts
      	an ordinary text cell into a link-text cell.
      	(nautilus_list_button_release): Only activate link-text
      	cells on single click; other cells select as in other lists.
      	(draw_row): draw link-text cells with blue text and an
      	underline, so they look like typical web links.
      	(nautilus_list_set_cell_contents): Convert link-text cell
      	back to ordinary text cell before cleaning up old
      	contents so parent function will do the right thing.
      
      	* src/file-manager/fm-list-view.c:
      	(add_to_list): mark file name cell as link-text cell.
      	(remove_from_list): New function, extracted from...
      	(fm_list_view_file_changed): Followed Darin's advice on
      	how to simultaneously clarify this code and fix a
      	storage leak.
      
      	For Darin, fixed a typo that caused every file to be
      	displayed as if it were a directory.
      
      	* src/ntl-uri-map.c:
      	(my_notify_when_ready): Added two missing "== 0"s.
      cb19a969
    • Maciej Stachowiak's avatar
      Add a boolean field have_pending_uris_selected to distinguish the case · c564c602
      Maciej Stachowiak authored
      	* src/file-manager/fm-directory-view.c
      	(notify_selection_change_cb, display_pending_files): Add a boolean
      	field have_pending_uris_selected to distinguish the case where we
      	have _no_ pending selection from the case where we have an empty
      	one (in both cases, the pending_uris_selected field should be
      	NULL).
      c564c602