the New-> menu item now works.
Installing a .desktop item in ${prefix}/share/mc/templates will now put
it in the New item menu. The exec field of it will create the new item,
so choose it correctly.
Next on the TODO; rehash the toolbars.
* glayout.c (create_container): beginnings of the New-> menu. It
doesn't have much yet, hopefully we'll have a good way to let apps
register themselves with it.
1999-01-12 Jonathan Blandford <jrb@redhat.com>
* cmd.c (mkdir_cmd): now mkdir_cmd will accept relative, and
absolute directories.
* gcmd.c (gnome_open_files): now you can open multiple files.
* glayout.c: layout changed some. moved run command.
commented out ftplink/mkdir command for now. gonna do mkdir
next. Why is the ftplink command needed?
* gtkedit/edit.c (edit_load_file): Off-by-one error disabled editing.
1999-01-11 Miguel de Icaza <miguel@nuclecu.unam.mx>
* configure.in (REGEX_O): Always include regex.o as the code we
are using in gmc is not using regcomp/regexec, but the internal
Emacs API.
* src/regex.c: Do not compile the POSIX compatibility code, as we
do not use it.
Tue Dec 29 15:49:45 1998 Norbert Warmuth <nwarmuth@privat.circular.de>
* doc/mc.sgml, mc1.in (Color section): minor polishing
(Layout section): documented Highlight...
Make gtkdtree use the treestore cache.
Next step: store the ->scanned attribute of tree_entry (otherwise, no
speedup will be noticed at all). It is a 10 minute hack, but I will go
have dinner now.
Miguel.
* configure.in (REGEX_O): Always include regex.o as the code we
are using in gmc is not using regcomp/regexec, but the internal
Emacs API.
* src/regex.c: Do not compile the POSIX compatibility code, as we
do not use it.
- SFS-based file systems now work on GNOME edition, I was
not waiting for child process to finish decompressing.
- VFS code cleanup. I am going to eventually get rid of all
the macro-mania that has creeped into the vfs layer.
Miguel
* vfs/vfs.c (vfs_timeout_handler): Guard from recursive invocation.
Sat Jan 9 19:13:28 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* vfs/sfs.c (sfs_free): Fixed wrong linked list handling (head was
lost after the first iteration).
(sfs_getid): dito, return value was wrong.
* glayout.c: now open the new (non-functional) dialog box. If you
want functionality, I suppose you could put the old one back in.
I'll work on it more this weekend, though, so hopefully it can get
back to the old state relatively quickly.
* gprefs.c (gnome_configure_box): New function, new file, first
start at unified properties box.
* gscreen.c (panel_icon_list_drag_data_received): Do not update
contents if nothing was done (ie, the drop was cancelled).
(panel_create_file_list): Duh. Restore this, as, ahem, we dont
have banding selection on CList.
(panel_icon_list_select_icon): Open the new panel only on button
release.
(panel_file_list_select_row): New panel started on clist when you
press middle button.
(panel_create_file_list): Ahaha! I found that CList now has a
gtk_clist_set_buttion_actions. Go figure why we need this and why
it was implemented, but now buttons work as they should on clist.
* gscreen.c (panel_icon_list_drag_data_received): Do not update
contents if nothing was done (ie, the drop was cancelled).
* gdnd.c (gdnd_drop_on_directory): Do nothing if the files dragged
are on the same directory we are.
* gcmd.c (gnome_filter_cmd): Function filled in now. Actually
works (amazing!.) Next: put a history on it, and maybe an event
box for the label.
Also, moved delete file around -- apparently it's proximity to Close was
bothering people.
* vfs/vfs.c (vfs_parse_filedate): If the date is less than 6 months
in the past, it is shown without year. In this case MC assumed
the current year which is wrong from Jan to Jun.
* fileopctx.h: New file with declarations for the file operation
context structure.
* fileopctx.c (file_op_context_new): New function to create a file
operation context with the default file mask values.
(file_op_context_destroy): New function to destroy a file
operation context and its associated UI, if appropriate.
* filegui.h: Use complete prototype for fmd_init_i18n().
* filegui.c (FileOpContextUI): New structure that describes the UI
and internal data for file operation contexts in the text mode
version.
(file_op_context_create_ui): Renamed from create_op_win() and
made it use a context instead of global variables.
(file_op_context_destroy_ui): Likewise, renamed from
destroy_op_win().
(fmd_widgets): Removed an #ifdef HAVE_XVIEW bit and moved the
initialization of the result pointers to file_mask_dialog(), as we
need to use the pointers to the fields inside the file op context now.
Made all the functions use a file operation context.
(file_mask_dialog): Always call fmd_init_i18n(); it will take care
of idempotence by itself.
(fmd_init_i18n): Now the code that makes sure this function is
only called once is here.
* cmd.c (check_for_default): Make it use a file operation context.
* tree.c (tree_copy): Likewise.
(tree_move): Likewise.
(tree_rmdir_cmd): Likewise.
* file.c: Removed file_progress_replace_progress and
file_progress_replace_filename -- they are only used in filegui.c
as part of the UI for the file operation context.
(panel_operate_generate_prompt): Made static.
(panel_operate_generate_prompt): Always call fmd_init_i18n(); it
will take care of idempotence by itself.
(panel_operate): Removed the panel_operate_def() function, and
made panel_operate() take an extra "ask_user" argument.
(query_recursive): Made static.
* background.c (background_attention): Made static.
(register_task_running): Made static.
(do_background): Now takes a file operation context as an
argument. It stores the pid of the child there.
* Makefile.in: Added fileopctx.[ch].