summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2001-05-15 23:08:19 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2001-05-15 23:08:19 +0000
commitbbaf3258adced8e4d02b6a8880c4cd0883175cd8 (patch)
tree0cefab96c108efaaa096698432804ba25720e642
parent18b57c85c16a355c4a0b13528d0846f30fa277ce (diff)
downloadmdk-bbaf3258adced8e4d02b6a8880c4cd0883175cd8.tar.gz
mdk-bbaf3258adced8e4d02b6a8880c4cd0883175cd8.tar.bz2
0.3.2 release
-rw-r--r--.cvsignore1
-rw-r--r--ChangeLog163
-rw-r--r--configure.in2
-rw-r--r--doc/img/ss_colors.jpgbin0 -> 8309 bytes
-rw-r--r--doc/img/ss_goto.jpgbin0 -> 2801 bytes
-rw-r--r--doc/mdk.texi4
-rw-r--r--doc/mdk_gmixvm.texi101
-rw-r--r--doc/mdk_install.texi8
-rw-r--r--mixlib/mix.h4
-rw-r--r--samples/.cvsignore1
-rwxr-xr-xupdatelog1
11 files changed, 272 insertions, 13 deletions
diff --git a/.cvsignore b/.cvsignore
index 2b474c7..90946fb 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -17,6 +17,7 @@ mdk-0.1.1.tar.gz
mdk-0.1.tar.gz
mdk-0.2.tar.gz
mdk-0.3.1.tar.gz
+mdk-0.3.2.tar.gz
mdk-0.3.tar.gz
mixmvc
stamp-h
diff --git a/ChangeLog b/ChangeLog
index addacfb..0ca4310 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,164 @@
+2001-05-16 01:08 jao
+
+ * .cvsignore, configure.in, updatelog, doc/mdk.texi,
+ doc/mdk_gmixvm.texi, doc/mdk_install.texi, doc/img/ss_colors.jpg,
+ doc/img/ss_goto.jpg, mixlib/mix.h, samples/.cvsignore:
+
+ 0.3.2 release
+
+2001-05-14 00:58 jao
+
+ * THANKS, NEWS:
+
+ name typo
+
+2001-05-14 00:54 jao
+
+ * NEWS, THANKS:
+
+ 0.3.2 release
+
+2001-05-11 00:10 jao
+
+ * NEWS:
+
+ 0.3.2 release
+
+2001-05-10 23:48 jao
+
+ * mixgtk/: mixgtk.glade, mixgtk_device.c, mixgtk_fontsel.c:
+
+ devices font customisation added
+
+2001-05-10 01:45 jao
+
+ * mixlib/: mix_file.c, xmix_io.c:
+
+ read/write files not truncated if they already exist
+
+2001-05-10 01:17 jao
+
+ * mixgtk/mixgtk_device.c:
+
+ minor changes
+
+2001-05-10 01:16 jao
+
+ * mixlib/: mix_io.c, xmix_device.c, xmix_io.c:
+
+ (mix_io_write_*_array) bug corrected
+
+2001-05-08 01:03 jao
+
+ * mixgtk/mixgtk_device.c:
+
+ use of virtual device destructor to delete devices after program
+ reload
+
+2001-05-08 01:02 jao
+
+ * mixlib/: mix_device.c, mix_vm.c, xmix_device.c, xmix_device.h:
+
+ mix_device_t: virtual destructor added
+
+2001-05-06 23:38 jao
+
+ * mixgtk/mixgtk_device.c, mixlib/mix_device.c,
+ mixlib/xmix_device.c, mixlib/xmix_device.h:
+
+ support for gtk binary devices added
+
+2001-05-04 01:48 jao
+
+ * mixlib/: mix_vm.c, mix_vm.h, xmix_vm.c, xmix_vm.h:
+
+ new devices are created by a (possibly externally provided) factory
+
+2001-05-04 01:35 jao
+
+ * mixgtk/mixgtk_fontsel.c:
+
+ (change_font_) setting current font on fontsel dialog when available
+
+2001-05-04 01:34 jao
+
+ * mixgtk/mixgtk.c:
+
+ (mixgtk_init) check for the existence of glade xml file(s) before
+ using it
+
+2001-04-30 01:28 jao
+
+ * mixgtk/mixgtk.glade:
+
+ minor changes
+
+2001-04-29 22:40 jao
+
+ * mixgtk/: mixgtk_fontsel.c, mixgtk_mixal.c:
+
+ config file handling added
+
+2001-04-29 14:56 jao
+
+ * mixgtk/: Makefile.am, mixgtk.c, mixgtk.glade, mixgtk.h,
+ mixgtk_config.c, mixgtk_config.h, mixgtk_fontsel.c,
+ mixgtk_gen_handlers.c, mixgtk_gen_handlers.h, mixgtk_widgets.c:
+
+ config file handling added
+
+2001-04-28 22:54 jao
+
+ * mixgtk/: Makefile.am, gmixvm.c, mixgtk.c, mixgtk.h:
+
+ initialisation, clean-up and main functionality split
+
+2001-04-28 00:54 jao
+
+ * mixgtk/: .cvsignore, Makefile.am, mixgtk.c, mixgtk.glade,
+ mixgtk_fontsel.c, mixgtk_fontsel.h, mixgtk_widgets.c,
+ mixgtk_widgets.h:
+
+ font customization added
+
+2001-04-23 23:30 jao
+
+ * mixutils/Makefile.am:
+
+ intlibs recovered
+
+2001-04-22 22:07 jao
+
+ * mixlib/mix_vm_command.c:
+
+ (cmd_pmem_) seg fault when freeing (changed) arg valued corrected
+
+2001-04-22 02:04 jao
+
+ * mixgtk/: Makefile.am, mixgtk.c, mixgtk.glade, mixgtk_colorsel.c,
+ mixgtk_colorsel.h, mixgtk_mixal.c, mixgtk_mixal.h,
+ mixgtk_widgets.c, mixgtk_widgets.h:
+
+ color custumozation added
+
+2001-04-21 23:59 jao
+
+ * doc/mdk_install.texi:
+
+ minor changes
+
+2001-04-21 23:30 jao
+
+ * mixgtk/mixgtk_mixal.c:
+
+ (on_mixal_select_row) set/unset breakpoints on location line
+
+2001-04-09 01:15 jao
+
+ * INSTALL:
+
+ release 0.3.1
+
2001-04-09 00:40 jao
* .cvsignore:
@@ -6,7 +167,7 @@
2001-04-09 00:40 jao
- * doc/: mdk.texi, mdk_install.texi:
+ * doc/mdk.texi, doc/mdk_install.texi, ChangeLog:
release 0.3.1
diff --git a/configure.in b/configure.in
index 34112e9..d853a85 100644
--- a/configure.in
+++ b/configure.in
@@ -10,7 +10,7 @@
AC_INIT(mixlib/mix.h)
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(mdk,0.3.1)
+AM_INIT_AUTOMAKE(mdk,0.3.2)
AM_MAINTAINER_MODE
diff --git a/doc/img/ss_colors.jpg b/doc/img/ss_colors.jpg
new file mode 100644
index 0000000..fe2afd8
--- /dev/null
+++ b/doc/img/ss_colors.jpg
Binary files differ
diff --git a/doc/img/ss_goto.jpg b/doc/img/ss_goto.jpg
new file mode 100644
index 0000000..cf6d8ba
--- /dev/null
+++ b/doc/img/ss_goto.jpg
Binary files differ
diff --git a/doc/mdk.texi b/doc/mdk.texi
index 9afe029..38c0a02 100644
--- a/doc/mdk.texi
+++ b/doc/mdk.texi
@@ -13,8 +13,8 @@
@set UPDATED 20 February 2001
-@set EDITION 0.3.1
-@set VERSION 0.3.1
+@set EDITION 0.3.2
+@set VERSION 0.3.2
@set JAO Jose Antonio Ortega Ruiz
@set PHILIP Philip E. King
@footnotestyle separate
diff --git a/doc/mdk_gmixvm.texi b/doc/mdk_gmixvm.texi
index 81ced1d..17c46f7 100644
--- a/doc/mdk_gmixvm.texi
+++ b/doc/mdk_gmixvm.texi
@@ -55,6 +55,11 @@ issued commands are presented. These widgets implement a @code{mixvm}
console which offers almost the same functionality as its @acronym{CLI}
counterpart.
+When @code{gmixvm} is run, it creates a directory named @file{.gmixvm}
+in your home directory (if it does not already exist). The
+@file{.gmixvm} directory contains the program settings and the device
+files used by your MIX programs (@pxref{Devices}).
+
The following sections describe the above mentioned components of
@code{gmixvm}.
@@ -69,7 +74,34 @@ the same functionality as its @acronym{CLI} counterpart, @code{mixvm}
@code{gmixvm}'s command prompt in order to manipulate the MIX virtual
machine. Please, refer to @xref{mixvm}, for a description of these
commands, and to @xref{Getting started}, for a tutorial on using the MIX
-virtual machine.
+virtual machine. The command prompt offers command line completion for
+partially typed commands using the @kbd{RET} key; e.g., if you type
+
+@example
+lo @kbd{RET}
+@end example
+@noindent
+the command is automatically completed to @code{load}. If multiple
+completions are available, they will be shown in the echo area. Thus,
+typing
+
+@example
+p @kbd{RET}
+@end example
+@noindent
+will produce the following output on the echo area:
+
+@example
+Completions:
+pc psym preg pflags pall
+pmem
+@end example
+@noindent
+which lists all the available commands starting with @code{p}.
+
+You can change the font used to display the issued commands and the
+messages in the echo area using the @w{Settings->Change font->Command
+prompt} and @w{Settings->Change font->Command log} menu commands.
@node MIX virtual machine, MIXAL source view, MIXVM console, gmixvm
@comment node-name, next, previous, up
@@ -96,16 +128,25 @@ address column's title, a dialog asking you for a memory address will
appear; if you introduce a valid address, this will be the first cell
displayed in the scrollable list after you click the OK button.
+@ifnotinfo
+The next figure shows the enter address dialog.
+@image{img/ss_goto}
+@end ifnotinfo
+
+
The register contents are shown as a list of MIX bytes plus sign. If you
place the mouse pointer over any of them, the decimal value of this MIX
word will appear inside a tooltip.
+You can change the font used to display the MIX virtual machine contents
+using the @w{Settings->Change font->MIX} menu command.
+
@node MIXAL source view, MIX devices view, MIX virtual machine, gmixvm
@comment node-name, next, previous, up
@section MIXAL source view
The second notebook's page, dubbed MIXAL, shows you the MIXAL source of
-the currently loaded MIX file. A shown in the next figure, the
+the currently loaded MIX file. As shown in the next figure, the
information is presented in two columns.
@image{img/ss_mixal, 400pt}
@@ -117,20 +158,47 @@ location of the location counter is highlighted in grey, while any set
breakpoint is marked in red. You can set/unset breakpoints by clicking
on any line in this view which has an associated memory address.
+The colors used to mark the location pointer line and the breakpoints
+can be customized with the @w{Settings->Colors...} menu command. When you
+click on this menu item, a dialog showing the current line colors will
+appear.
+
+@ifnotinfo
+The following figure shows the change color dialog.
+@image{img/ss_colors}
+@end ifnotinfo
+
+Clicking on any of the colors will produce a color selection dialog for
+choosing a new color for the given element. In this way, you can change
+the foreground and background colors used for drawing the current line,
+the lines where breakpoints have been set and plain MIXAL code lines.
+
+You can change the font used to display the MIXAL source code
+using the @w{Settings->Change font->MIXAL} menu command.
+
+
@node MIX devices view, Menu and status bars, MIXAL source view, gmixvm
@comment node-name, next, previous, up
@section MIX devices view
-The last notebook page, dubbed Devices, shows you the output on
-character based MIX devices (the console, line printer and paper tape,
-@pxref{Devices}) produced by the running program. The binary
-input/output devices (disks, cards, etc.) are handled via files, as in
-@code{mixvm} (@pxref{Devices}).
+The last notebook page, dubbed Devices, shows you the output/input
+to/from MIX block devices (the console, line printer, paper tape,
+disks, card and tapes @pxref{Devices}) produced by the running
+program.
@ifnotinfo
@image{img/ss_devices, 400pt}
@end ifnotinfo
+Input device contents is read from files located in the
+@file{~/.gmivm} directory, and the output is also written in files
+at the same location. Note that device tabs will appear as they are used
+by the program being run, and that loading a new MIX program will close
+all previously open devices.
+
+You can change the font used to display the devices content
+using the @w{Settings->Change font->Devices} menu command.
+
@node Menu and status bars, , MIX devices view, gmixvm
@comment node-name, next, previous, up
@section Menu and status bars
@@ -163,6 +231,25 @@ Clears all currently set breakpoints. It is equivalent to the
@code{mixvm}'s @code{cabp} command.
@end deffn
+@deffn Settings Colors...
+Lets you change the colors used to mark the current and breakpoint lines
+in the MIXAL tab, as well as the colors used for plain source lines.
+@end deffn
+
+@deffn Settings Change font
+Lets you change the font used in the various @code{gmixv} widgets
+(i.e. commad prompt, command log, MIX, MIXAL and devices).
+@end deffn
+
+@deffn Settings Save
+Saves the current settings (colors and fonts).
+@end deffn
+
+@deffn Settins Save on exit
+Mark this checkbox if you want @code{gmixvm} to save its settings
+(colors and fonts) every time you quit the program.
+@end deffn
+
@deffn Help About...
Shows information about @code{gmixvm}'s version and copyright.
@end deffn
diff --git a/doc/mdk_install.texi b/doc/mdk_install.texi
index d09426a..b337fd8 100644
--- a/doc/mdk_install.texi
+++ b/doc/mdk_install.texi
@@ -190,6 +190,14 @@ Redhat GNU/Linux 7.0 (Agustin Navarro), 6.2 (Roberto Ferrero)
FreeBSD 4.2 (Ying-Chieh Liao)
@item
Solaris 2.8/gcc 2.95.3 (Stephen Ramsay)
+@item
+MS Windows 98 SE/Cygwin 1.1.8-2 (Christoph von
+Nathusius)@footnote{Caveats: Christoph has only tested @code{mixvm} and
+@code{mixasm} on this platform, using @code{gcc} 2.95.3-2, @code{GLIB}
+1.2.10 and @code{GNUreadline} 4.1-2. He has reported missing history
+functionalities on a first try. If you find problems with
+history/readline functionality, please try a newer/manually installed
+readline version.}
@end itemize
MDK will probably work on any GNU/Linux and BSD platform. If you try it
diff --git a/mixlib/mix.h b/mixlib/mix.h
index 42eb4c9..37e7453 100644
--- a/mixlib/mix.h
+++ b/mixlib/mix.h
@@ -1,7 +1,7 @@
/* -*-c-*- ---------------- mix.h :
* Initialisation of the mix library
* ------------------------------------------------------------------
- * Copyright (C) 2000 Free Software Foundation, Inc.
+ * Copyright (C) 2000, 2001 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -39,7 +39,7 @@
# include <libintl.h>
# define gettext_noop(String) (String)
#else
-# include <intl/libintl.h>
+# include <intl/libgettext.h>
#endif
#define _(String) gettext (String)
diff --git a/samples/.cvsignore b/samples/.cvsignore
index f1dc6ac..8856f7c 100644
--- a/samples/.cvsignore
+++ b/samples/.cvsignore
@@ -30,6 +30,7 @@ stress4.mls
stress5.mix
stress5.mixal
stress5.mls
+stress6.mix
tape0.dev
tape1.dev
tape2.dev
diff --git a/updatelog b/updatelog
new file mode 100755
index 0000000..4ac1d1c
--- /dev/null
+++ b/updatelog
@@ -0,0 +1 @@
+cvs2cl --fsf -S -P