|Allegro CL version 8.1|
This chapter has the following sections
1.1 Version and History
1.4 Case mode and international characters
1.5 The IDE and CG modules and packages
1.7 Reporting bugs and asking questions
This is chapter 1 of the User Guide for the Allegro CL 8.1 Integrated Development Environment (IDE). The IDE is only supported on Windows and on x86-based Linux with GTK..
The chapters of the IDE User Guide are:
Chapter 1: Introduction to the IDE (this chapter)
Chapter 2: The Allegro CL Development Environment (IDE)
Chapter 3: An example
Chapter 4: Projects
Chapter 5: Components
Chapter 6: Designing a user interface using forms
Chapter 7: Menus
Chapter 8: Events
Allegro CL 8.1 for the most part provides a unified Windows/Unix implementation. The important difference between the Windows and the Unix implementations is that the Windows implementation is closely integrated with the Windows operating system, and provides (particularly with the Integrated Development Environment described in this document) tools for producing Windows-style applications.
The Integrated Development Environment is a windowized tool for developing user
interfaces to applications. Common Graphics is the window system used by the IDE. User symbols that exist only in the IDE are in the
while user symbols in Common Graphics (which are used by CG
applications and by the IDE) are in the
Allegro CL 81, Common Graphics, and the IDE are documented with HTML files integrated with the rest of the Allegro CL documentation. The documentation includes (<Allegro directory> is the directory where Allegro CL is installed):
Extensions and implementation details of standard Common Lisp functionality are described in various Allegro CL documents, particularly implementation.htm. The index in index.htm has links to this documentation.
- Application help in doc/cg/cg-application-help.htm.
- The clipboard in doc/cg/cg-clipboard.htm.
- Color palettes in doc/cg/cg-color-palettes.htm.
- Coordinates in doc/cg/cg-coordinates.htm.
- Drawing in doc/cg/cg-drawing.htm.
- Events in doc/cg/cg-events.htm.
- Icons in doc/cg/cg-icons.htm.
- MCI (Media Control Interface) in doc/cg/cg-mci.htm.
- Pixmaps in doc/cg/cg-pixmaps.htm.
- Rich Text support in doc/cg/cg-rich-text.htm.
- System Internals in doc/cg/cg-system.htm.
- Timers in doc/cg/cg-timers.htm.
The IDE has its own source code editor, which allows using many of the IDE's menu-bar commands on the selected text or the symbol at the text cursor. If you would rather use a real emacs editor to edit your source code, you can do so by running the IDE as a subprocess of GNU Emacs. Just start Allegro CL within Emacs in the usual way. Make sure you specify allegro.dxl as the image file (rather than mlisp.dxl, which is Allegro CL without the IDE).
Files will be opened in Emacs (rather than the IDE Editor Workbook) if the Open Files in GNU Emacs option on the Editor tab of the Options dialog is selected and Emacs is running and linked to Lisp. (The illustration just below shows the Editor Options pane with the Open Files in GNU Emacs option not checked.)
The IDE's own editor has a tab for each file that it is editing, and uses text-editing keystrokes that are listed in the Help | Shortcut Keys dialog. The editing mode, which defines the set of keystroke commands, can be Host, Emacs, or Brief. The mode is set in the Editor tab of the Options dialog (displayed with Tools | Options). Here is that dialog. The Host mode is chosen:
The :EMACS mode uses a subset of standard Emacs keybindings. Note that these may alter menu shortcuts, to prevent them from conflicting with the Emacs keybindings.
Allegro CL is available in modern mode (case-sensitive, lowercase preferred) and ANSI mode (case-insensitive, uppercase preferred). Images with different modes are supplied with the Allegro CL distribution (except the Trial distribution which has only ANSI mode, through you can build a modern mode image). You may run Allegro CL with the IDE in either modern mode or ANSI mode (there are separate Start menu items for each mode).
Allegro CL 8.1 also supports international characters, meaning that characters are 16-bits wide rather than 8-bits wide. (8-bit versions of Allegro CL 8.1 are supplied. No pre-built 8-bit IDE image is supplied, though such can be built.) You should not see any difference because you are using an international version. Please contact Franz Inc. for assistance if you run into problems. International character support is described in doc/iacl.htm (iacl for International Allegro CL).
The modules for the IDE and for Common Graphics are separate. The IDE is not needed in applications. The separation of CG and the IDE allows the IDE to easily be left out of an application. Symbols naming functionality in the IDE are in the ide package. Note that the common-graphics-user package (which is the current package whne the IDE comes up) does not use the ide package. You must qualify ide package symbols to refer to them.
The cg package has been divided into several dozen subsidiary packages. All documented symbols in the subsidiary packages are also exported from the cg package. Programmers therefore do not need to deal with the subsidiary packages specifically. Programmers will see the packages listed in the Package List window and when a symbol is described (using describe or the standard keyboard equivalent Control-Shift-D), but in general the subsidiary packages can be ignored.
The subsidiary packages are associated with individual modules. This division into subsidiary packages and modules also allows applications to load only the functionality needed for the application.
Your preferences about window arrangement, choice of fonts, editor mode, and so on are stored in a preferences file that the IDE loads when it starts up. The location of the preferences file is determined by the value of the ide:save-options-to-user-specific-file option, and may be found by calling ide:options-path. This file is updated when you exit Allegro CL (unless the menu command Tools | Save Options on Exit is toggled off), incorporating changes made using the Options dialog (displayed with Tools | Options) and when you make direct changes to the configuration using the Inspector as described just below. Deleting or renaming the preferences file will cause the IDE to revert to the initial default settings.
You can examine the configuration by clicking Tools | Inspect System Data | [CG or IDE] Configuration Options (there are two menu items, one for CG options and one for IDE options). The Inspector shows all configuration properties and their values. Values can be changed directly in the Inspector, by clicking on the value and typing or clicking on the extended editor button to the right of the value and entering the new value in the dialog that appears (different dialogs appear for different types of values). Here is the Inspector showing some configuration options:
Send problem reports and technical questions of any type by email to email@example.com. See our website (www.franz.com) for information on Franz Inc.'s mailing address and telephone number.
Please state explicitly in your message that you have Allegro CL 8.1 with the IDE and say what version of Windows you are using. Send us the output of print-system-state (the output includes information about patches and settings and other information which can be very helpful in determining the cause of a problem). You can use dribble-bug to write a file showing a transcript of a failure (the file will automatically contain print-system-state output). You can produce an automatic dribble along with a backtrace by doing File | Save while a backtrace pane is selected (the backtrace pane is displayed when you click on the Debug button of a Restarts dialog after an error). The saved file is suitable for including in a bug report. See the topic About submitting a bug report from a break in the IDE in the doc/cgide.htm file. See also Reporting bugs in introduction.htm.
Go to chapter 2. Go to the beginning of this document.
Copyright (c) 1998-2007, Franz Inc. Berkeley, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.1. This is the initial (unrevised) page.
|Allegro CL version 8.1|