Commit Graph

33 Commits

Author SHA1 Message Date
Andrew Borodin
f3730bdc41 Initial step to move TTY layer of MC to separate library. 2009-08-12 21:19:20 +04:00
Andrew Borodin
05c5d16851 ChangeLog: added entry.
src/dialog.h: changed header guard. Added comments.
2009-06-18 21:04:10 +04:00
Enrico Weigelt, metux IT service
c7d04dd47a fixed several missing #include's 2009-06-18 21:02:29 +04:00
Slava Zanko
2ebdf91079 Merge branch 'm-utf-8'
* m-utf-8: (223 commits)
  Fix wildcard pattern in file select and file find dialogs
  Project builds with option --disable-charsets
  Deleted build-glib1.sh because glib1 don't work with utf-8
  fix building without --enable-charset
  Total replacement to mc_search stuff in all places
  Search engine: if found_len parameter NULL, then mc_search_run don't try to fill them
  src/view.c: Reworked search stuff to usage src/search
  refactoring: rename edit/editcmd_dialog.c:editcmd_dialog__get_search_types_list to
  Search engine: development of hex search complete
  Search engine: remove forgotten debug string and reindent file
  Search engine:
  configure.ac: if present glib-2.14 and higher, libpcre don't linked
  Search engine: now used regexp external engines:
  src/find.c: Fixed core dump if content search pattern no present
  edit/editcmd_dialogs.c: fixed state of search type between dialog window calls
  Find files: checkbox 'Regular expression' for content search now default unchecked
  Find files: changes for usage of new search engine:
  Fix copy of current/opposite path to command line: remove charset info from path
  src/Makefile.am: add some header files to Make-tracking
  Fixed editor menu reloading.
2009-05-07 13:01:01 +03:00
Mikhail S. Pobolovets
1959b42fdc Merge branch '252_doxygen_desc_src'
Conflicts:

	src/file.h

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-16 08:26:52 +03:00
Andrew Borodin
e029489fb6 Type accuracy.
dialog.h: define values for cb_ret_t enum.

widget.c: removed trailing spaces. Formatting.
(insert_char): type accuracy for cb_ret_t.
(listbox_key): likewise.
2009-04-15 20:12:47 +04:00
Andrew Borodin
9cf728f2c2 src/dialog.h: Fixed comment for DLG_ACTION message.
src/widget.c: WListbox: send DLG_ACTION message to the parent dialog.
2009-04-01 20:23:04 +04:00
Mikhail S. Pobolovets
758ab591d8 Simple doxygen description for files in src directory.
Mostly \file and \brief tag added.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-10 16:07:59 +02:00
Roland Illig
32f6020a0f * dialog.h (struct Dlg_head): Changed the bit fields of length one
from signed int to unsigned int.
2005-08-15 20:30:55 +00:00
Roland Illig
bc446f0cee * dialog.h: Replaced object-like macros with implicit references
to an identifier ``h'' with function-like macros. Adjusted all
	users.
	* dialog.c: Likewise.
	* find.c: Likewise.
	* tree.c: Likewise.
	* widget.c: Likewise.
	* widget.c (widget_selectcolor): New function that selects a
	color among DLG_{HOT_,}{FOCUS,NORMAL}C.
2005-07-07 19:34:55 +00:00
Pavel Roskin
1f60f44145 Update postal address of Free Software Foundation. 2005-05-27 03:35:10 +00:00
Pavel Roskin
9260860bbf * dialog.c (dlg_select_widget): Remove first argument, it's
redundant.  Adjust all callers.
(dlg_replace_widget): Likewise.
2005-05-20 20:22:06 +00:00
Roland Illig
5185abce21 * dialog.h: Removed a comma at the end of an enumeration, because
ANSI does not permit it.
2005-04-07 07:39:09 +00:00
Roland Illig
10451e0109 * dialog.h: Moved and reformatted #definitions.
* execute.h: Likewise.
	* mouse.h: Likewise.
2005-02-08 06:57:14 +00:00
Roland Illig
ccc1b17f7d * dialog.h (widget_msg_t): Added WIDGET_RESIZED to inform widgets
that they had been resized.
	* dialog.c (widget_set_size): Send a WIDGET_RESIZED message after
	setting the size.
	* layout.c (panel_do_cols): Don't explicitly update the
	bytes_per_line of a hexview WView.
	* view.h (view_update_bytes_per_line): Removed from the interface
	to WView.
	* view.c (view_update_bytes_per_line): Declared as `static'.
	* view.c (view_callback): Call update_bytes_per_line when the
	WView is initialized and whenever a WIDGET_RESIZED message is
	received.
2005-01-25 22:40:50 +00:00
Roland Illig
205523301f * dialog.h: Fixed a typo. 2005-01-09 16:15:24 +00:00
Roland Illig
e792cffb8d * *.h: Renamed multiple inclusion guards that started with a
double underscore. Added #includes for dependent files.
	* popt.c: Likewise.
	* popthelp.c: Likewise.
	* tree.c: Moved a macro from tree.h to here, as it is useless
	outside tree.c.
2004-12-03 19:17:46 +00:00
Roland Illig
b75c5a31a3 * dialog.h: marked the title as "notconst", as it is freed
by the destructor.
2004-08-29 22:43:27 +00:00
Roland Illig
4baefa09c2 * Code cleanup: Added const qualifier for variables and
function declarations where possible. No functional changes.
2004-08-29 17:15:23 +00:00
Roland Illig
8aeea3256f Added more const-ness to the function arguments. 2004-08-16 15:45:05 +00:00
Pavel Roskin
e55f09f530 * dialog.c (do_select_widget): New function that it the only one
calling dlg_focus() and dlg_unfocus().  Incorporate code from
other functions that did it.
(dlg_select_widget): Change return type to void.
2003-11-27 08:59:54 +00:00
Pavel Roskin
04b4194371 * dialog.h (dlg_widget_active): New function - check if the
widget is active.
* boxes.c (display_callback): Use it.
* layout.c (swap_panels): Likewise.
* screen.c (do_panel_event): Likewise.
2003-11-27 00:46:39 +00:00
Pavel Roskin
db8db1268c * dialog.c: Remove duplication between two chains of dialogs.
* dialog.h (struct Dlg_head): Add "fullscreen" field, remove
"refresh_pushed", rename "previous_dialog" to "parent".
2003-10-24 23:57:18 +00:00
Pavel Roskin
98950838b4 * dlg.h: Merge with ...
* dialog.h: ... this.  Adjust all dependencies.
* dlg.c: Merge with ...
* dialog.c: ... this.
* Makefile.am (SRCS): Remove dlg.h and dlg.c.
2003-10-24 23:20:30 +00:00
Pavel Roskin
5aeb6c2422 * dialog.c (struct Refresh): Make opaque.
* dialog.h: Move all stuff unrelated to dialog.c ...
* wtools.h: ... here.  Adjust all users.
2002-11-14 07:25:18 +00:00
Pavel Roskin
e5ca7e2124 * dialog.c (refresh_list): Make static.
* dialog.h: Add typedef refresh_fn.
2002-11-14 06:41:04 +00:00
Pavel Roskin
8568fc50d9 * Make-alone.am: Get rid of all standalone code, it has been
unmaintained for years.
2002-09-10 21:48:49 +00:00
Pavel Roskin
6810d3211e * dialog.h: Cleanup unused functions.
* dialog.c: Cleanup unused headers.
2002-08-22 22:53:02 +00:00
Andrew V. Samoilov
dd2ef8b4fb * dialog.h: Include global.h.
(message): Specify __attribute__.
2001-10-22 15:37:27 +00:00
Pavel Roskin
f6403d9972 * background.c (real_message_2s): Declare arguments "const" when
possible.
(real_message_3s): Likewise.
* wtools.c (message): Likewise.
* background.h: Change declarations to match.
* dialog.h: Likewise.
2001-05-14 22:50:28 +00:00
Pavel Machek
fb62340c99 Adding unarj and various small but neccessary bits. 1998-09-03 19:43:38 +00:00
Miguel de Icaza
ac70e34d02 MC goes Internationallsls./gmc Spanish translation almost complete -mig 1998-03-25 05:16:00 +00:00
Miguel de Icaza
eb6b3842ab Initial revision 1998-02-27 04:54:42 +00:00