summaryrefslogtreecommitdiff
path: root/ChangeLog-20000414
Commit message (Collapse)AuthorAgeFilesLines
* Hooked up the menu item for using the Eazel Theme Icons so people can tryDarin Adler2000-02-181-10/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | * src/file-manager/fm-directory-view.c: (use_eazel_theme_icons_cb), (finish_adding_menu_item), (add_menu_item), (add_check_menu_item), (fm_directory_view_real_append_background_context_menu_items): Hooked up the menu item for using the Eazel Theme Icons so people can try out the icons that are tuned at different sizes. * libnautilus/nautilus-icon-factory.h: * libnautilus/nautilus-icon-factory.c, (nautilus_icon_factory_get), (nautilus_icon_factory_new), (nautilus_icon_factory_initialize), (nautilus_icon_factory_initialize_class), (nautilus_icon_factory_get_theme), (nautilus_icon_factory_set_theme): Added a signal "theme_changed" to the icon factory, and had to add a visible icon factory object so clients can connect to the signal. * libnautilus/gnome-icon-container.c, (gnome_icon_container_initialize), (gnome_icon_container_request_update_all): Update all icons when the theme changes. * docs/recommended-books.html: Added this since style-guide.html refers to it.
* Made bookmarks display just file/directory name (instead of path) by default;John Sullivan2000-02-181-0/+73
| | | | made history items appear in Go menu.
* more work on index panel command buttonsAndy Hertzfeld2000-02-181-0/+11
| | | | more work on index panel command buttons
* implemented command buttons based on mime-types in the index panelAndy Hertzfeld2000-02-181-0/+15
| | | | implemented command buttons based on mime-types in the index panel
* Hand tuned icons for multiple resolutions.Darin Adler2000-02-181-0/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So for example you can have an icon designed for the 96x96 size, which is called i-directory-96.png, and it will be loaded instead of loading i-directory.png and scaling it. * libnautilus/nautilus-icon-factory.c: (nautilus_icon_factory_get_icon_name_for_regular_file), (add_size_to_icon_name), (nautilus_icon_factory_load_icon), (nautilus_icon_factory_create_image_for_item), (get_larger_icon_size), (get_smaller_icon_size), (get_next_icon_size_to_try), (load_specific_image), (load_image_for_scaling), (load_image_scale_if_necessary), (nautilus_icon_factory_mark_recently_used), (mark_recently_used), (nautilus_icon_factory_get_pixbuf_for_icon), (get_image_from_cache), (nautilus_icon_factory_scale): Changed the icon factory so it will look for icons of multiple resolutions and scale the nearest. Also made other improvements including sharing a single fallback icon instead of making multiple ones, using the "core-dump" icon for files named "core", adding some additional g_return_if_fail. * libnautilus/nautilus-icon-factory.c: (self_test_next_icon_size_to_try), (nautilus_self_check_icon_factory): * libnautilus/nautilus-lib-self-check-functions.h: The new code needed a bit of self-check code, so I added it. * libnautilus/nautilus-directory.c: (nautilus_directory_try_to_read_metafile), (nautilus_directory_construct_alternate_metafile_uri): Since "make check" was failing, I checked to see what was wrong. The code that was respecting the new "valid_fields" part of GnomeVFSFileInfo was looking at the wrong field (flags instead of valid_fields), which caused all metafile reading to fail. While debugging this, I noticed that the alternate metafiles had particularly bad long names, so I fixed that too. * libnautilus/nautilus-directory.c: (nautilus_file_ref): * libnautilus/nautilus-glib-extensions.c: (nautilus_strdup_strftime): * libnautilus/nautilus-string.c: (nautilus_string_to_int): Switched from using <limits.h> constants to the ones from <glib.h>. I have no idea why I made this change. All hail glib! C Standard be damned! * fm-directory-view.c: (use_eazel_theme_icons_cb), (add_menu_item), (fm_directory_view_real_append_background_context_menu_items): Started on a user interface to switch to the Eazel theme icons so you can see the multiple-resolution icons, but I wanted to check in, so I stopped before it was done. * src/nautilus-index-title.c: Reindented Andy's new code to match the emacs mode header. * configure.in: * icons/Makefile.am: * icons/eazel/.cvsignore: * icons/eazel/Makefile.am: * icons/eazel/i-directory-24.png: * icons/eazel/i-directory-36.png: * icons/eazel/i-directory-72.png: * icons/eazel/i-directory-96.png: * icons/eazel/i-directory.png: I needed some variable-size icons to demonstrate the multiple resolution support in the icon factory, so I added a few directory icons from gnomad. Since these don't match the other icons, I made them part of an "eazel" icons theme. * RENAMING: Some new name ideas.
* forgot to commit thisJonathan Blandford2000-02-181-0/+6
|
* Fixed a confusing typo.John Sullivan2000-02-171-1/+1
|
* made the title in the index panel be above the additional info, whichAndy Hertzfeld2000-02-171-0/+8
| | | | | made the title in the index panel be above the additional info, which Elliot inadvertently changed with his recent check-in.
* Show the stinking tree. :)Elliot Lee2000-02-171-0/+4
| | | | Show the stinking tree. :)
* Change empty directory string from "empty" to "0 items".John Sullivan2000-02-171-0/+7
|
* Fix the GOAD ID for help index. Add help index. To avoid a warning in caseElliot Lee2000-02-171-0/+12
| | | | | | | | | | | | | | * components/help/hyperbola-main.c: Fix the GOAD ID for help index. * components/help/hyperbola.goad: Add help index. * libnautilus/nautilus-directory.c: To avoid a warning in case nautilus_directory_new fails, and speed things up, remove unnecessary cast. * libnautilus/nautilus-icon-factory.c: Add sanity checks to avoid segfaults. * src/nautilus-index-title.c: Add sanity check, plus try to handle case where nautilus_file_get() returns NULL. * src/ntl-window.c, src/ntl-window-msgs.c: Notify the index panel of a URI change when we notify everyone else, instead of doing it when the user requests a change.
* Fixups for VFS usage. Search info path for files.Elliot Lee2000-02-161-0/+3
| | | | | * components/html/ntl-web-browser.c: Fixups for VFS usage. * components/help/converters/gnome-info2html2/main.c: Search info path for files.
* Fix warning. Update for Bonobo UIH changes. Update repo ID for BonoboElliot Lee2000-02-161-0/+11
| | | | | | | | | | | * components/help/hyperbola-nav-index.c: Fix warning. * components/history/ntl-history-view.c: Update for Bonobo UIH changes. * components/html/main.c: Update repo ID for Bonobo changes. * src/ntl-view-bonobo-control.c: Likewise * src/ntl-view-bonobo-subdoc.c: Likewise * src/ntl-view-nautilus.c: Likewise * src/ntl-view.c: Only check for death every other second. * components/html/ntl-web-browser: Debugging printfs for now
* Added icon stretching and did some cleanups.Darin Adler2000-02-161-3/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stretched icons aren't yet persistent (the scale factor is not saved in metadata), but that's not much more work. * libnautilus/gnome-icon-container-private.h: * libnautilus/gnome-icon-container.h: * libnautilus/gnome-icon-container.c: (icon_new), (icon_position), (icon_set_position), (icon_get_size), (icon_set_size), (icon_toggle_selected), (icon_select), (icon_set_selected), (button_press_event), (gnome_icon_container_begin_stretch), (start_stretching), (gnome_icon_container_stretch), (continue_stretching), (gnome_icon_container_end_stretch), (end_stretching), (button_release_event), (motion_notify_event), (handle_icon_button_press), (gnome_icon_container_clear), (request_update_one), (update_icon), (get_first_selected_icon), (gnome_icon_container_show_stretch_handles), (gnome_icon_container_has_stretch_handles), (gnome_icon_container_is_stretched), (gnome_icon_container_unstretch), (compute_stretch), (nautilus_self_check_compute_stretch), (nautilus_self_check_gnome_icon_container): * libnautilus/nautilus-icons-view-icon-item.h: * libnautilus/nautilus-icons-view-icon-item.c: (nautilus_icons_view_icon_item_draw), (nautilus_icons_view_icon_item_point), (nautilus_icons_view_icon_item_set_show_stretch_handles), (nautilus_icons_view_icon_item_get_hit_stretch_handle): * libnautilus/nautilus-lib-self-check-functions.h: Added machinery for stretching icons. * src/file-manager/fm-directory-view.h: * src/file-manager/fm-directory-view.c: (append_item_context_menu_items), (fm_directory_view_real_append_item_context_menu_items), (fm_directory_view_initialize_class), (create_item_context_menu): Added machinery for views to have view-specific menu items for icons as well as for the window as a whole. * src/file-manager/fm-directory-view-icons.c: (fm_directory_view_icons_initialize_class), (fm_directory_view_icons_append_item_context_menu_items), (show_stretch_handles_cb), (unstretch_item_cb): Added menu items for stretching icons. * libnautilus/gnome-icon-container.c: (start_rubberbanding): Fixed bug that would result in two rubberband timeouts at once if you did rubberbanding quickly. * components/notes/.cvsignore: Andy's new component needs a .cvsignore file for its generated pieces. * libnautilus/nautilus-directory.c: (nautilus_directory_try_to_read_metafile), (nautilus_directory_read_metafile): Simplified logic in metafile-reading functions and fixed a bug where the vfs handle would be left open if certain categories of errors occurred. * libnautilus/nautilus-gtk-extensions.h: Added a missing gtk_marshal function. * libnautilus/nautilus-icon-factory.h: * libnautilus/nautilus-icon-factory.c: (nautilus_icon_size_for_zoom_level), (nautilus_get_icon_size_for_zoom_level), (nautilus_icon_factory_get_pixbuf_for_file), (nautilus_icon_factory_get_pixmap_and_mask_for_file): * src/nautilus-index-title.c: (nautilus_index_title_set_up_icon): * src/nautilus-zoom-control.c: (set_zoom_level): * src/file-manager/fm-directory-view-list.c: (fm_directory_view_list_bump_zoom_level), (install_icon): Made some API improvements for the icon factory. Added a missing get_ to the name nautilus_get_icon_size_for_zoom_level and added convenience functions for the most common uses of the factory. * libnautilus/ntl-content-view-frame.c: * libnautilus/ntl-meta-view-frame.c: * libnautilus/ntl-view-frame.c: Weaned all the files in libnautilus itself from using the libnautilus.h include file. They instead include the parts that they need. Also added some missing <config.h> includes.
* added logic to break the title in the index panel into two lines so it canAndy Hertzfeld2000-02-161-0/+8
| | | | | | added logic to break the title in the index panel into two lines so it can use a larger font, if it can find an appropriate breaking point.
* gtk_quit_add_destroy the NautilusWindow at level 1, so that we can cleanMaciej Stachowiak2000-02-161-0/+4
| | | | | | * src/ntl-window.c (nautilus_window_init): gtk_quit_add_destroy the NautilusWindow at level 1, so that we can clean up CORBA objects and such when we Exit rather than Closing the last window.
* sink and ref the notebook and unref in the destructor, so it getsMaciej Stachowiak2000-02-161-0/+9
| | | | | | | | | * src/ntl-index-panel.c: sink and ref the notebook and unref in the destructor, so it gets destroyed even if it never ends up getting added to the index panel. * src/ntl-view-nautilus.c: Don't ref the Control interface we just QI'd; query_interface implicitly refs.
* Pay attention to the GnomeVFSFileInfo flags to determine whether to readElliot Lee2000-02-161-0/+9
| | | | | | | | | * libnautilus/nautilus-directory.c: Pay attention to the GnomeVFSFileInfo flags to determine whether to read the metafile. * components/html/ntl-web-browser.c: Try to fall back to using gnome-vfs if we can't load it via libwww. Sort of bad hack, but it just might work.
* History metaview now lists all locations visited in this session, from mostJohn Sullivan2000-02-161-0/+24
| | | | recent (top) to longest ago, with no duplicates.
* Added small icons to history metaview.John Sullivan2000-02-151-1/+20
|
* Added styleguide.Ramiro Estrugo2000-02-151-0/+6
|
* Added displacement offset for popup menus, so that the first item does'ntRamiro Estrugo2000-02-151-0/+13
| | | | get triggered right away.
* Added modules blurb to HACKING file.Ramiro Estrugo2000-02-151-0/+6
|
* Moved NautilusBookmark from src/ to libnautilus/, in anticipation of using it inJohn Sullivan2000-02-151-0/+15
| | | | History metaview.
* Added small icons to the Back and Forward context menus. Made window back andJohn Sullivan2000-02-151-0/+37
| | | | forward lists store NautilusBookmark pointers instead of just char *.
* improved index tab resize code by not considering the last one if it'sAndy Hertzfeld2000-02-151-0/+6
| | | | | improved index tab resize code by not considering the last one if it's invisible, also, call resize after select
* fixed notes component by initializing gnome-vfs, changed metadata type toAndy Hertzfeld2000-02-151-0/+8
| | | | | fixed notes component by initializing gnome-vfs, changed metadata type to keep it separate from panel notes
* first cut at annotation metaviewAndy Hertzfeld2000-02-151-0/+17
| | | | first cut at annotation metaview
* First checkin for right-click menus on the Back and Forward buttons. They work,John Sullivan2000-02-151-0/+32
| | | | but there are a few finishing touches outstanding.
* Undo the cast.Darin Adler2000-02-141-0/+7
|
* Need a cast in here so people can build while I wait for the OK fromDarin Adler2000-02-141-1/+10
| | | | | | | * libnautilus/nautilus-icon-factory.c: (nautilus_icon_factory_load_icon): Need a cast in here so people can build while I wait for the OK from Federico to check in my const change to gdk-pixbuf.
* Use GPOINTER_TO_UINT() instead of a manual cast.Elliot Lee2000-02-141-0/+3
| | | | * libnautilus/nautilus-icon-factory.c: Use GPOINTER_TO_UINT() instead of a manual cast.
* Handle the case where you try to make a NautilusDirectory object forDarin Adler2000-02-141-0/+17
| | | | | | | | | | | | | | | | | * libnautilus/nautilus-directory.c: (nautilus_directory_read_metafile): Handle the case where you try to make a NautilusDirectory object for something that's a file. * libnautilus/nautilus-directory.c: (nautilus_directory_get_metadata): Handle NULL directory objects better. * src/ntl-index-panel.c: Changed handling of NULL directory case so it will display something instead of doing early exits that leave the display as-is. * src/nautilus-index-title.h: * src/nautilus-index-title.c: Reformatted, some minor cleanups.
* Redid the icon factory to fix a few things:Darin Adler2000-02-141-13/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libnautilus/nautilus-icon-factory.c: Redid the icon factory to fix a few things: - Replaced the existing non-working count-based LRU algorithm with one that works (uses a linked list). - Keep resized icons in the cache. - Hand out a single NautilusScalableIcon when multiple callers ask for the same icon instead of a new one each time. - Fixed one bug where pixbuf's would get an extra ref and never get freed once they are no longer used. * libnautilus/nautilus-metadata.h: * src/nautilus-index-title.c (nautilus_index_title_set_up_info): * libnautilus/nautilus-icon-factory.c (nautilus_icon_factory_get_icon_for_file): Added keys for the two pieces of metadata Andy just added. * libnautilus/gnome-icon-container-private.h: * libnautilus/gnome-icon-container.c: (scroll), (make_icon_visible), (set_scroll_region): Fixed the code that resizes the canvas as items are added and removed to properly handle the case where the canvas extends into negative-coordinate territory. This included removing the width and height that were stored in the private structure. * libnautilus/nautilus-directory.c: (nautilus_directory_get): Tiny formatting tweak.
* Quick fixes to some NULL-dereference problems in new index title code;John Sullivan2000-02-141-0/+45
| | | | | also made zoom level change stick until you visit a location that had a zoom level set earlier.
* Send status strings for now, until nautilus knows how to generate themElliot Lee2000-02-141-0/+5
| | | | | * components/html/ntl-web-browser.c: Send status strings for now, until nautilus knows how to generate them from selection info.
* fixed warning about measuring NULL string that Elliot pointed outAndy Hertzfeld2000-02-141-0/+5
| | | | fixed warning about measuring NULL string that Elliot pointed out
* Revert. More work.Elliot Lee2000-02-141-0/+4
| | | | | * src/ntl-window-msgs.c: Revert. * components/help/hyperbola-nav-index.c: More work.
* made index panel display "notes" from metadata if present, made it useAndy Hertzfeld2000-02-141-0/+11
| | | | | made index panel display "notes" from metadata if present, made it use custom icons from metadata if present.
* made a new class, nautilus-index-title, to display the icon, title andAndy Hertzfeld2000-02-141-1/+14
| | | | | made a new class, nautilus-index-title, to display the icon, title and other information for the index panel
* made tabs layout more dynamic, fitting as many as we can per row insteadAndy Hertzfeld2000-02-131-0/+9
| | | | | made tabs layout more dynamic, fitting as many as we can per row instead of a maximum of two
* made it no longer use a drag shadow rectangle when dragging a single itemAndy Hertzfeld2000-02-121-0/+5
| | | | made it no longer use a drag shadow rectangle when dragging a single item
* removed Elliot's weird hack where the size of the index panel would varyAndy Hertzfeld2000-02-121-0/+7
| | | | | | removed Elliot's weird hack where the size of the index panel would vary according to your user name. Replaced it with code that made it wider if and only if your name is "sopwith".
* finally installed the new metaview UI in the index panelAndy Hertzfeld2000-02-121-6/+19
| | | | finally installed the new metaview UI in the index panel
* Made right-clicking select the clicked item before popping up the menu; alsoJohn Sullivan2000-02-111-0/+20
| | | | fixed context-click bug in list view.
* If an empty string is passed for a status string, just unset it all. If weElliot Lee2000-02-111-0/+5
| | | | | | * src/ntl-window.c: If an empty string is passed for a status string, just unset it all. * src/ntl-window-msgs.c: If we get a selection of size 1, indicate it on the status bar. (Triggers a nautilus_window_set_status bug, will fix later.)
* Stored pointers to all buttons & menu items that are accessed later; fixedJohn Sullivan2000-02-111-0/+20
| | | | off-by-two bug in directory item-counting hack.
* Enabled "Open" and added "Open in New Window" context menu items; addedJohn Sullivan2000-02-111-0/+70
| | | | beginnings of Go menu.
* added code to hide the active metaview when the title tab is clicked uponAndy Hertzfeld2000-02-111-0/+9
| | | | added code to hide the active metaview when the title tab is clicked upon
* made clicking on tabs activate the proper view, improved tab drawing andAndy Hertzfeld2000-02-111-0/+9
| | | | | made clicking on tabs activate the proper view, improved tab drawing and layout and implemented and installed the title tab