Files
PolyORB/Dist/ChangeLog
Samuel Tardieu 3567331851 * xe_utils.adb: Change instances of Dont_Execute by Do_Not_Execute
to match GNAT sources.

* xe_check.adb: Likewise.

* xe_parse.adb: Minor reformatting.

Subversion-branch: /importfromcvs/trunk
Subversion-revision: 46941
1998-08-20 10:00:41 +00:00

1075 lines
39 KiB
Plaintext

1998-08-20 Samuel Tardieu <sam@inf.enst.fr>
* xe_utils.adb: Change instances of Dont_Execute by Do_Not_Execute
to match GNAT sources.
* xe_check.adb: Likewise.
* xe_parse.adb: Minor reformatting.
1998-08-18 Laurent Pautet <pautet@scapin.enst.fr>
* xe_stubs.adb: Don't check version on RCI generic unit. Bug
introduced by latest checkins.
1998-08-17 Laurent Pautet <pautet@scapin.enst.fr>
* Makefile.am, Makefile.in: Remove flag -a as we are not supposed
to check gnat library.
* xe_back.adb: Provide 'Image to some GLADE enuerate types.
* xe.ads: Add new reconnection attribute and reconnection
enumerate type.
* xe_back.adb: Reformat some output messages and handle
reconnection attribute. Add function To_Build which returns True
when an unit has to be built because it explictly mapped on a
partition in the configuration file.
* xe_back.ads: Add a set of subprograms to handle reconnection
attribute.
* xe_build.adb: Improve the way packages are initiliazed in order
to initialize GLADE enumerate type images. Evaluate a new boolean
Build_Full_Configuration.
* xe_check.adb: Rewrite everything to handle the case where the
user builds only a part of the configuration with an incomplete
set of sources (all the sources to build the distributed
application are not available). Improve the checks to perform when
we don't build the full configuration.
* xe_lead.adb: Reformat some output messages.
* xe_parse.adb: Improve the way packages are initiliazed.
* xe_scan.adb: Reformat some output messages.
* xe_stdcnf.adb: Improve the way enumerate types are handled. Add
attribute reconnection.
* xe_stubs.adb: Generate appropriate call when reconnection
attribute is used. Find RCI caller packages in a less tricky
way. Improve the way the partition closure is computed. Improve
the checks to perform when we don't build the full
configuration. Use enumeration type images.
* xe_utils.adb: Export No_Args. Provide new procedures (see
below). Skip parameter Object in Execute_Gcc when this parameter
is No_File. Don't exit when GCC fails to compile. Reformat some
output messages. Improve procedure Find_Source in order to use
%[bs] when it is available..
* xe_utils.ads: Add new procedures Compilation_Error and
Source_File_Error to print a message and raise an exception. Add
Is_Spec_Name and Is_Body_Name (same as uname, but do not drag this
unit). Add To_Spec to get an encoded spec name. Add To_String.
1998-08-05 Samuel Tardieu <sam@inf.enst.fr>
* xe_lead.adb: Do not issue -n inconditionnally when building
shell starter.
1998-08-03 Samuel Tardieu <sam@inf.enst.fr>
* xe_stubs.adb: Add System.Garlic.Locking to the list of included
units.
1998-07-31 Laurent Pautet <pautet@scapin.enst.fr>
* xe_utils.ads, xe_utils.adb: Improve GNAT_Style format procedure
and add No_Str constant.
* xe_stubs.adb: Add two functions to capitalize a string or a
name_id. Add a procedure Dwrite_Call to write a procedure call
easily. Use No_Str instead of "". Add comments. Make some major
cleanup in the code generated to handle elaboration, main
subprogram execution, version consistency and termination.
* xe_back.ads, xe_back.adb: Add a function Image for
Termination_Type.
1998-07-29 Laurent Pautet <pautet@scapin.enst.fr>
* xe_stubs.adb: Handle exception in the partition main subprogram
in order to start termination. We should clean up this part of the
code.
1998-07-28 Laurent Pautet <pautet@scapin.enst.fr>
* xe_utils.adb, xe_utils.ads: Add a new procedure Execute_Strip to
strip an executable. Change optimization level for gnatdist. When
nothing (-g or -O?) is specified, use -O2.
* xe.ads: Add a new flag Optimization_Mode (-ds). This allows to
strip an executable. Useful to pass regressions tests when we
don't have enough space left in /tmp. This flag is not documented
in purpose.
* xe_stubs.adb: Strip when needed.
1998-07-22 Laurent Pautet <pautet@scapin.enst.fr>
* xe_stubs.adb: Use Global_Termination to trigger global
termination at the end of the main subprogram of the main
partition.
1998-07-21 Samuel Tardieu <sam@inf.enst.fr>
* xe_stubs.adb: Style fix.
1998-07-20 Laurent Pautet <pautet@scapin.enst.fr>
* xe_stubs.adb: Move Sam's 1998-06-16 fix to the right
place. Fix regressions in ACVC tests.
1998-07-16 Laurent Pautet <pautet@scapin.enst.fr>
* xe_stubs.adb: Insert pragma Warnings (On) a little bit later.
1998-07-15 Laurent Pautet <pautet@scapin.enst.fr>
* xe_stubs.adb: Add pragma Warnings (Off) to compile s-garela.adb
safely.
1998-07-02 Samuel Tardieu <sam@inf.enst.fr>
* xe_stubs.adb: Check for RACW even on non-RCI units.
1998-06-16 Samuel Tardieu <sam@inf.enst.fr>
* xe_stubs.adb: Choose the right termination package depending on
the context.
Write a with clause for System.Garlic.Types to get the termination
types.
1998-06-16 Laurent Pautet <pautet@dorine.enst.fr>
* xe_stubs.adb: Force termination to local when light PCS, termination
not already defined and not main partition.
* xe_back.adb, xe_back.ads: Add new procedure Set_Termination.
1998-06-12 Laurent Pautet <pautet@dorine.enst.fr>
* xe_stubs.ads, xe_stubs.adb: Spec *and* body of a RCI are now
marked as RCI in an ali file. This new behaviour arose a
bug in the version check code.
* xe_check.adb: We reload ali files after a first step of
compilation. Unfortunatly, this reload was also done on Ada lib.
1998-06-08 Samuel Tardieu <sam@inf.enst.fr>
* xe_utils.adb: (Has_Standard_Extension): new function.
Do not issue "-x ada" when the file dealt with has a standard (ads
or adb) extension.
1998-05-12 Samuel Tardieu <sam@inf.enst.fr>
* make-ada-dir: Updated.
* xe.adb: Remove unused with of ALI.
* xe_lead.adb: Remove unused with of Namet and Osint.
* xe_parse.adb: Remove unused with of GNAT.OS_Lib, Osint and Table.
* xe_scan.adb: Remove unused with of Csets.
* xe_stubs.adb: Remove unused with of Unchecked_Deallocation.
1998-05-11 Laurent Pautet <pautet@scapin.enst.fr>
* xe_stubs.adb: Change Partition_Interface.Startup into
Partition_Interface. To get a fake PCS in GNAT.
1998-04-20 Laurent Pautet <pautet@scapin.enst.fr>
* config.sdefault: Fix some problems with NT (????)
1998-04-17 Laurent Pautet <pautet@scapin.enst.fr>
* xe_stubs.adb: Compute partition checksum. Move code to compute
most recent stamp from xe_check.adb to xe_stubs.adb.
* xe_check.adb: Remove code to compute most recent stamp.
* xe_back.ads, xe_back.adb: Add checksum component to a partition
record.
1998-04-05 Laurent Pautet <pautet@dorine.enst.fr>
* xe_stubs.adb: Skip Ascii.CR to please DOS/Windows.
* xe_utils.adb: (Locate) When locating executable, add executable
suffix. (Initialize) Add include GARLIC flag before -largs, -cargs
and -bargs but after other flags.
1998-03-31 Samuel Tardieu <sam@inf.enst.fr>
* xe_utils.ads: Remove useless with of ALI.
1998-03-30 Laurent Pautet <pautet@dorine.enst.fr>
* xe_check.adb: Two major problems have been detected. First,
gnatmake has two problems. First, it doesn't detect when an ali
has already been loaded. Second, when an obsolete ali is loaded,
it is not replaced by the good one that has just been
compiled. Second, file stamp comparisons are completly wrong
because of the new implementation (x = y iff |x - y| <=
2). Compile_Sources gets confused because of this. For all these
reasons, we don't use file stamp comparisons from osint. To load
the ali files in the ali table, we recompile everything using
Compile_Sources, we reset all the tables and then we reload
everything. During reload, we compute the most recent file from
which a unit depend. For this, we use Ofile_Full_Name from
ALIs_Record to store the more recent file.
* xe_stubs.adb: Move some verbose messages into debug
messages. Don't use Ofile_Full_Name anymore in Create_Stub.
* xe_back.adb: Move some verbose messages into debug messages.
1998-03-24 Laurent Pautet <pautet@dorine.enst.fr>
* xe_stubs.adb: Call Establish_RPC_Receiver from partition.adb
in order to prevent GARLIC from having to do it itself and to
introduce a dependency from System.RPC.
1998-03-23 Laurent Pautet <pautet@scapin.enst.fr>
* xe_check.adb: Improve recompilation mode (Ada lib).
Sat Mar 21 22:38:35 1998 Laurent Pautet <pautet@paris.act-europe.fr>
* xe_utils.adb: Don't include GARLIC as Ada library.
* xe_usage.adb: Update usage.
* xe_stubs.adb: Rename object file when RCI spec and body file
name are different (gnat.adc).
1998-03-20 Laurent Pautet <pautet@scapin.enst.fr>
* xe_utils.ads, xe_utils.adb: Add Dir to build concatenate several
strings and name_ids with directory separator in between. Change
way of handling time stamps. Remove some variables that were not
very usefull.
* xe_stubs.adb: Store configuration and executable file stamps
into glade.sta. Use XE_Utils.Dir. Add several procedures to help
the partition main subprogram generation. Same for elaboration
package body. Use of new unit System.Partition_Interface.Startup.
* xe_back.ads, xe_back.adb: Remove Load_All_Units (no longer
used).
* xe_check.adb: Improve recompilation mode especially to handle
non regular filenames (from gnat.adc). Use the fact that u%[bs]
info contains the index into Unit table. Load distributed
application main subprogram first to take into account gnat.adc
informations using main subprogram ali. Use XE_Utils.Dir.
* xe_parse.adb, xe_stdcnf.adb: Use XE_Utils.Dir.
1998-03-11 Laurent Pautet <pautet@scapin.enst.fr>
* xe_check.adb: Some units are explicitly loaded (comes from
configuration file). If its library is a readonly library, it
won't be loaded by gnatmake. So, we have to load this library
ourself in the ALI table.
1998-03-09 Laurent Pautet <pautet@scapin.enst.fr>
* xe_utils.adb: Use Scan_Make_Arg from Make unit. Re-organize
Initialize to use a copy of Make.Initialize which includes
-A<GARLIC> flag.
* xe_build.adb: Re-organize code because of changes above.
1998-03-08 Laurent Pautet <pautet@scapin.enst.fr>
* config.sdefault: Change output when argument is pathtolib. This
script is used now in several cases in GARLIC.
1998-02-25 Laurent Pautet <pautet@scapin.enst.fr>
* xe_utils.adb, xe_utils.ads: Add a new function GNAT_Style to
retrieve proper casing for a unit.
* xe_stubs.adb: Use GNAT_Style for filtering unit.
1998-02-19 Laurent Pautet <pautet@scapin.enst.fr>
* Makefile.am, Makefile.in: gnatdist is no longer a script. Use
$(EXEEXT) to build a platform independent executable.
* gnatdist.in: No longer needed.
* xe_utils.adb: Add GARLIC flags directly in Ada code rather than
in gnatdist script (-I${GARLIC}, -L${GARLIC}, -lgarlic).
1998-02-19 Samuel Tardieu <sam@inf.enst.fr>
* xe_utils.ads: Fix capitalization of OS_Lib.
* xe_check.adb: Likewise.
* xe_utils.adb: Likewise.
1998-02-19 Laurent Pautet <pautet@scapin.enst.fr>
* xe_stubs.adb: Use Exe_Suffix to build executable.
* xe_utils.adb, xe_utils.ads: Add Obj_Suffix and Exe_Suffix.
1998-02-17 Laurent Pautet <pautet@scapin.enst.fr>
* xe_back.adb: Remove trailing spaces in configuration screen
output.
* xe_check.adb: Add units already configured on partition type
(default_partition) to every partition.
* xe_back.adb: New procedure Show_Partition (extracted from
Show_Configuration).
1998-02-16 Laurent Pautet <pautet@scapin.enst.fr>
* xe_back.adb: Declare Default_Partition as a normal
partition. This way it is properly initialized.
* xe_parse.adb: A declared subprogram ('Main) can be the main
procedure of the distributed application. Declare it twice
caused gnatdist to yell.
1998-02-16 Samuel Tardieu <sam@inf.enst.fr>
* xe_build.adb: Remove useless with clauses.
* xe_check.adb: Likewise.
* xe_lead.adb: Likewise.
* xe.ads: Likewise.
* xe_utils.ads: Likewise.
* xe_stubs.adb: Likewise.
1998-02-15 Samuel Tardieu <sam@inf.enst.fr>
* xe_back.adb: Remove unused variables.
1998-01-08 Laurent Pautet <pautet@dorine.enst.fr>
* xe_back.adb: Convert filter names to all lower in order to have
the same convention between GNATDIST and GARLIC.
* xe_scan.adb, xe_utils.ads, xe_utils.adb: Move
To_Lower procedure from xe_scan body to xe_utils.
Add a version of To_Lower for name_id.
1998-01-03 Samuel Tardieu <sam@inf.enst.fr>
* xe_stubs.adb: Use String_Access from System.Garlic.Types
1998-01-02 Samuel Tardieu <sam@inf.enst.fr>
* xe_usage.adb: Remove references to -V
* gnatdist.in: Remove handling of -V
* Makefile.am: Remove references to glade_version.txt
1997-12-15 Samuel Tardieu <sam@inf.enst.fr>
* gnatdist.in: Add special handling for -V.
* xe_usage.adb: Update copyright notice. Add documentation for -V.
* Makefile.am (data_DATA): Install glade_version.txt.
* glade_version.txt: New wording.
1997-12-14 Samuel Tardieu <sam@inf.enst.fr>
* glade_version.txt: New file containing versioning information.
1997-12-11 Laurent Pautet <pautet@scapin.enst.fr>
* xe_stubs.adb: Fix 4911-G01. Handle properly the case in which a
RCI has only a spec.
1997-11-27 Laurent Pautet <pautet@esmeralda.enst.fr>
* xe_stubs.adb: When an exception is raised from the user code,
some finalization code has to executed (for instance, local
termination). Catch exception, execute finalization code and
re-raise exception. Fix partially 4827-G01.
1997-11-18 Laurent Pautet <pautet@esmeralda.enst.fr>
* xe_check.adb: Fix incorrect test concerning configuration of
generic unit.
* xe_stubs.adb: Fix incorrect caller object filename. Should be
computed from source spec file name (gnat.adc).
1997-11-17 Laurent Pautet <pautet@esmeralda.enst.fr>
* xe_stubs.adb: Fix incorrect test which skipped a debugging
message.
* xe_check.adb: Search through unit U hierarchy to find a RCI
parent and check whether this unit is configured on its child
partition. Fix 4814-G01.
* xe_back.adb: Change Get_Parent to return No_Name when there is
no parent.
1997-10-30 Samuel Tardieu <sam@inf.enst.fr>
* xe_check.adb: Pass the value of -jN flag to Compile_Sources.
1997-10-29 Samuel Tardieu <sam@inf.enst.fr>
* gnatdist.in: Use EXTRA_LIBS from configure.
1997-10-29 Laurent Pautet <pautet@scapin.enst.fr>
* xe_utils.adb, xe_utils.ads: Remove unused subprograms (basically
xe-gcc stuff). Change function Strip_Uname_Suffix into U_To_N.
* xe_stubs.adb: Change to new stub generation. Handle generic
packages.
1997-10-24 Laurent Pautet <pautet@esmeralda.enst.fr>
* xe_utils.ads: Add a procedure Free (to deallocate a
string_access variable). Add Configuration parameter in procedure
Produce_Partition_Executable (compilation, binding and linking are
executed in current directory and no longer in
dsa/<conf>/<part>). Add Object parameter in Compile_RCI_Receiver
and Compile_RCI_Caller for same reason.
* xe_utils.adb: Add -x ada systematically. Add -o <object>
systematically to save object file in place. Compile, bind and
link in current directory to honor gnat.adc.
* xe_stubs.adb: Use previous changes and honor gnat.adc. Fix
4617-G02.
1997-10-23 Laurent Pautet <pautet@esmeralda.enst.fr>
* xe_stubs.adb: Bad command order. Fix a problem with 0003-G00.
* xe_back.adb, xe_back.ads: Add new procedure Get_Parent
which extracts the root parent from a unit name.
* xe_check.adb: Check that a RCI package and its children are on
the same partition. Fix 0002-G09.
1997-10-17 Laurent Pautet <pautet@esmeralda.enst.fr>
* xe_stubs.adb: Change s-garela.adb generation. Move s-garela
generation code into a procedure Initialize.
1997-10-16 Laurent Pautet <pautet@scapin.enst.fr>
* xe_stubs.adb: Update caused by System.Garlic.Options changes.
1997-09-17 Laurent Pautet <pautet@scapin.enst.fr>
* xe_lead.adb: Pipe standard error and output to /dev/null for
a pragma Starter (Shell) because some systems output the pid of
the background process.
* xe_stubs.adb: Fix Mark_Unit_On_Partition when unit is generic.
1997-09-13 Samuel Tardieu <sam@inf.enst.fr>
* config.sdefault: Use output of gnatls to find the right include
and object directories. Also output the path to libgnat.a when
used with the 'pathtolib' argument. Make it work with a
non-standard or cross installation.
1997-09-12 Laurent Pautet <pautet@scapin.enst.fr>
* xe_utils.adb, xe_scan.adb, xe_lead.adb, xe_build.adb,
xe_back.adb, xe_stubs.adb, xe_check.adb: Fix output message.
1997-09-03 Laurent Pautet <pautet@esmeralda.enst.fr>
* xe_utils.ads, xe_utils.adb: Add Message procedure and remove
Write_Message (more general). Add Strip_Unit_Suffix to remove
%[bs] suffixes in a unit name.
* xe_back.ads, xe_back.adb: Change More_Recent_Stamp into
Most_Recent_Stamp. Add a boolean parameter to Set_Light_PCS. Use
new Message procedure to reduce code.
* xe_build.adb, xe_lead.adb, xe_scan.adb, xe_check.adb: Use new
Message procedure.
* xe_stubs.adb, xe_stubs.adb: Use new Message
procedure. Optimization of recompilation due to stamp
inconsistency. Add procedure Mark_Units_On_Partition.
1997-08-29 Laurent Pautet <pautet@quasimodo.enst.fr>
* xe_stubs.adb, xe_back.adb, xe_back.ads, xe_check.adb,
xe_stubs.ads: Move the code such a way that gnatdist output
indicates that a light PCS is used.
1997-08-29 Laurent Pautet <pautet@inf.enst.fr>
* xe_stubs.adb: Detect if a partition includes a RCI package or
may declare a RACW variable. If this is not the case, then set
Has_RCI_Pkg_Or_RACW_Var to false.
1997-08-12 Laurent Pautet <pautet@scapin.enst.fr>
* xe_back.ads, xe_back.adb: Remove Default_Host which was not
initialized but still used.
* xe_lead.adb, xe_stubs.adb: Suppress useless function calls.
* xe_parse.adb: Add some tree debugging information.
1997-08-12 Samuel Tardieu <sam@inf.enst.fr>
* config.sdefault: libgnat.a is now located under adalib.
* Makefile.am: gnatdist is now generated from gnatdist.in.
1997-06-04 Laurent Pautet <pautet@quasimodo.enst.fr>
* xe_back.adb: Fix problems in Set_Partition_Attribute due to
switch from Null_PID to Default_Partition as predefined partition
PID.
1997-05-20 Laurent Pautet <pautet@dorine.enst.fr>
* xe_back.adb: Use first slot of tables to store the default type
attributes.
1997-05-14 Laurent Pautet <pautet@quasimodo.enst.fr>
* xe_stubs.adb: Generate task pool bounds
assignment. Part of Task_Pool attribute implementation.
1997-05-05 Samuel Tardieu <sam@inf.enst.fr>
* xe_utils.adb: Changed "delete" into "deleting" and format output
correctly.
1997-05-02 Laurent Pautet <pautet@dorine.enst.fr>
* xe.ads: Add numeric literal token.
* xe_back.adb: Use Default_Partition = Partitions.Table
(Partitions.First) to store Partition_Type default values. Same
thing for Channels. Add new procedure Initialize to initialize
these defaults. Handle Attribute_Task_Pool in
Set_Partition_Attribute.
* xe_build.adb: Invoke XE_Back.Initialize;
* xe_check.adb, xe_lead.adb: Change loop range for Partitions
(resp. Channels) to skip the first as it corresponds to the
default values for the type Partition_Type (resp. Channel_Type).
Use Default_Partition (resp. Default_Channel) to get the default
of Partition_Type (resp. Channel_Type).
* xe_stdcnf.adb: Add new type declaration _task_pool (internal use
only) defined as an array of 3 integers (low, high, max). Declare
an attribute task_pool for partition_type.
* xe_scan.adb: Scan numeric literals.
* xe_parse.adb: Allow a representation clause to have an aggregate
as right operand. Add new function Tmp_Name to generate internal
temporary names.
1997-04-30 Laurent Pautet <pautet@quasimodo.enst.fr>
* xe_back.adb, xe.ads, xe_stdcnf.adb: Hooks to be able to specify
task pool marks (low, high, max). These three integers would
specify the low, high and max bounds of anonymous tasks in Garlic.
1997-04-29 Laurent Pautet <pautet@dorine.enst.fr>
* xe_utils.ads, xe_utils.adb: Change More_Recent into ">" to avoid
confusion.
* xe_stubs.adb, xe_back.adb: Fix a problem with file stamp on very
fast machines (stamp (.o) = stamp (.adb)).
1997-04-23 Laurent Pautet <pautet@esmeralda.enst.fr>
* xe_stubs.adb: Corrected major typo in procedure
Create_Elaboration_File: condition to generate calls to
Set_Channel_Filter was inverted. Bug reported and fixed by T. Wolf
1997-04-22 Laurent Pautet <pautet@scapin.enst.fr>
* xe_check.adb: Use Check_Internal_Files in Compile_Sources as a
workaround to gnatmake -a bug on Linux platform (no object file
present with the shared library)
1997-04-07 Samuel Tardieu <sam@inf.enst.fr>
* xe_utils.adb: Removed references to xe-gcc.
* Makefile.am: Ditto.
1997-04-01 Laurent Pautet <pautet@esmeralda.enst.fr>
* Makefile.am, Makefile.in: Add GNATSRC dependency for xe_defs.adb
1997-03-28 Laurent Pautet <pautet@scapin.enst.fr>
* xe.adb, xe_back.ads: Adapt to new Table package.
1997-03-27 Laurent Pautet <pautet@marvin.enst.fr>
* xe_utils.ads: Fix bad renaming that was not detected before.
1997-03-21 Laurent Pautet <pautet@esmeralda.enst.fr>
* xe_check.adb: Always load internal files. Otherwise, a partition
containing explicitly only predefined units are detected as empty.
1997-03-21 Samuel Tardieu <sam@zaphod.enst.fr>
* Makefile.am: Make xe_defs.adb and sdefault.adb depend from the
Makefile.
1997-03-08 Laurent Pautet <pautet@inf.enst.fr>
* xe_lead.adb: Use Get_Rsh_Command to build shell script.
1997-03-07 Laurent Pautet <pautet@inf.enst.fr>
* xe_defs.ads, Makefile.am, Makefile.in: Add function
Get_Rsh_Command which is determined at configuration time and set
in the body of xe_defs.adb.
* xe_stubs.adb: Use the previous new feature.
1997-02-27 Laurent Pautet <pautet@lglsun11.epfl.ch>
* xe_check.adb: Check that a channel has not been declared twice
(wuth a different name like (C1, C2 : Channel := (P1, P2)). Check
that the pair of partitions is a real pair, and not twice the same
partition.
* xe_stubs.adb: Predefined type partition filer was incorrectly
generated. The peer partition name was also incorrect. Forgot to
check that the default filter was not null => illegal with.
xe.ads, xe.adb: Add Get_Filter for a partition.
1997-02-26 Laurent Pautet <pautet@lglsun11.epfl.ch>
* xe.ads: Change attribute filter into CFilter (Channel) and add a
new one PFilter (Partition). When this attribute applies to
predefined type Partition, then a partition always communicates
with another one using the given filter. When this attribute
applies to predefined channel type, any communication channel
declared in the configuration language uses the given filter. At
last, when this attributeapplies to a communication channel, the
filter used is the filter given.
* xe_stdcnf.adb: Propagate changes mentionned above.
* xe.ads: Add pragma Registration_Filter. When a partition
registers its filters (and data) to the lead partition or when a
partition queries filters (and data) of another partition, then a
default filter can be used. In some way, it is similar to the
Boot_Server pragma. This feature is usefull for encryption when
two partitions have to exchange (for instance) a DES key encrypted
with public and private keys.
* xe_back.adb: Channels table has been redefined. In Partitions
table, First_Channel and Last_Channel are head and tail of a
linked list of channels. In Channels, a channel is a peer (L, R)
of Channel Partition, which contains the partition P and the next
channel of this partition P.
* xe_back.adb: P'Filter has been forbidden. I can't see the
possible usage of this feature. Only Partition'Filter is
meaningul.
* xe_back.adb: Change error messsages ("type bla" -> "predefined
type bla").
* xe_back.ads: Add several default variables and define Channel
Partition Type.
* xe_build.adb: Fix a bug concerning ".cfg" suffix.
* xe_check.adb: Filenames were not properly translated from unit
names. Call to the wrong routine. Write_Compile_Command was
invoked with the wrong parameter.
* xe_lead.adb, xe_utils.ads, xe_utils.adb, xe_scan.ads: Reorganize
code (alphabetical order).
1997-02-24 Laurent Pautet <pautet@lglsun11.epfl.ch>
* xe_parse.adb: Add a general Write_Error_Message procedure.
Update Declare_Subprogram to handle new subprogram definition.
* xe.ads, xe.adb: Add function Is_Variable_Initialized and include
is Set_Variable_* Variable_Is_Initialized.
* xe_parse.adb, xe_parse.ads: Rewrite tree output. Remove junk
code.
* xe_scan.adb: Fix a bug (string without end delimiter).
* xe.ads, xe.adb: Change xxx_Parameter_Mark into
xxx_Parameter_Initialized.
* xe.ads, xe.adb: Remove Starter_Method_Type and use
Import_Method_Type instead (Ada and Shell were both used).
* xe_parse.ads, xe_parse.adb, xe_stdcnf.ads, xe_stdcnf.adb: Export
xe_parse internal subprograms and move standard configuration into
xe_stdcnf. Reorganize code.
* xe_utils.ads: Fix a bug due to a typo (">" was "=")
* xe_back.adb: Fix bugs (concerning 'host and 'main) due to the
new way subprograms are handled (pragma and ada subprogram). The
non dist. main procedure is converted into a P'main and
P'_leader. _leader is an internal attribute to signal a main
partition.
* xe_back.ads: Remove some unused stuff.
* xe_lead.adb, xe_check.adb, xe_stubs.adb: Same as above
(concerning 'host and 'main).
1997-02-22 Laurent Pautet <pautet@lglsun11.epfl.ch>
* xe_check.adb, xe_utils.ads, xe_utils.adb: Change partition
subprogram main name from partition name to "partition". Suppress
checks of conflicts.
* xe_utils.ads: Fix a bug due to a bad renaming.
* xe.ads, xe.adb, xe_parse.adb, xe_back.adb: Cleaner organisation
of configuration language predefined types.
* xe_stubs.adb: A Change_Dir was mislocated. Don't generate
Set_Default_Filter when Default_Filter is null string.
1997-02-21 Laurent Pautet <pautet@lglsun11.epfl.ch>
* xe_back.ads: Add tree node in configuration table items to
report error messages.
1997-02-20 Laurent Pautet <pautet@lglsun11.epfl.ch>
* xe_stubs.adb: Integration of filtering.
* xe_build.adb, xe_lead.adb, xe_stubs.adb, xe.adb, xe_check.adb,
xe_parse.adb, xe_usage.adb, xe_back.adb, xe_defs.adb, xe_scan.adb,
xe_utils.adb: Reorganize code.
* xe_utils.ads: Include all kind of renamaing of GNAT entities.
1997-02-17 Laurent Pautet <pautet@lglsun11.epfl.ch>
* xe_back.adb: Fixed a bug in Set_Attribute_Type.
* xe.adb, xe.ads, xe_back.adb, xe_parse.adb, xe_parse.ads,
xe_scan.adb: Move all enumeration types into int constants. Add
comments into xe spec.
1997-02-15 Laurent Pautet <pautet@lglsun11.epfl.ch>
* xe.adb: Add function Get_Filter.
* xe_build.adb: Add information on channels in configuration
report.
* xe_back.adb: Channels table is now generated from tree.
* xe_parse.adb: Several changes when procedures were dedicated to
Ada units. They need to be generalized to at least Ada units and
channels.
* xe.adb, xe.ads, xe_parse.adb: Definition of Arrays and Lists (ie
Channel and Partition). Definition of extensible enumeration type
(sets) (Ada units).
* xe_back.adb: Definition of all channel stuff.
* xe_build.adb: Add a new error message when file cannot be
found. Use package xe_stubs (was a procedure).
* xe_parse.adb: Change termination variable from X to
X_Termination to avoid conflicts. Change some error messages.
* xe_build.adb, xe_lead.adb, xe_stubs.adb, xe.adb, xe_check.adb,
xe_parse.adb, xe_usage.adb, xe_back.adb, xe_defs.adb, xe_scan.adb,
xe_utils.adb: Reorganize all code (alphabetical order).
* xe.ads: Reorganize specification and change
Update_Partition_Stamp into More_Recent_Stamp.
1997-02-13 Laurent Pautet <pautet@lglsun11.epfl.ch>
* xe.adb: Minor reformating
* xe_stubs.adb, xe_back.adb, xe_parse.adb, xe.ads, xe.adb: Move
Permanent into Termination. Three modes are allowed : Local (Don't
bother with other partitions), Global (Default), Deferred (Same as
Global but at the end, do not terminate).
* xe_stubs.adb: When Local_Termination, once we exit the main
subprogram
1997-02-13 Samuel Tardieu <sam@inf.enst.fr>
* xe.adb: Recognize '/' as well as the system's default separator.
* xe_utils.adb: Ditto.
1997-02-12 Laurent Pautet <pautet@lglsun11.epfl.ch>
* xe_utils.adb: Fix bug in Is_Relative_Dir with No_Name.
Try to suppress '/' occurrences to futur port to Windows.
* xe_stubs.adb: Fix bug that occurs when building executable file
name with No_Storage_Dir. String "../../.." appended twice.
* xe_check.adb, xe_util.adb: Clean error message. Use
All_Lower_Case in Write_Unit_Name.
* xe.ads: Minor reformatting.
* xe_back.adb: Reorganize code (alphabetical order).
1997-02-11 Laurent Pautet <pautet@lglsun11.epfl.ch>
* xe_check.adb: Do not try to recompile internal units. This code
was taken from an old version of gnatmake.
1997-02-11 Laurent Pautet <pautet@lglsun2.epfl.ch>
* xe.adb, xe_stubs.adb: Use of Write_Missing_File.
1997-02-10 Laurent Pautet <pautet@lglsun2.epfl.ch>
* xe_stubs.adb: Reorganize code (alphabetical order) and change
some parameter names.
* xe_stubs.adb: Use the two new procedures of XE.
* xe_stubs.adb: Improve recompilation and time stamp
operations. Fix a bug as well. Now, Mark_RCI_Callers has a new
capability which allows to compute the most recent ali file in the
partition sub-tree.
* xe_check.adb: Add some debugging messages.
* xe_utils.ads, xe_utils.adb: Reorganize code (alphabetical order)
and change some parameter names.
* xe_utils.ads, xe_utils.adb : Add two new procedures :
Write_Stamp_Comparison and Write_Missing_File (Debugging messages).
* xe.ads, xe.adb, xe_parse.adb: Add a new configuration language
type : Channel.
* xe.ads, xe.adb: Add a new procedure Get_Partition_Dir which
returns the directory where all the partition sources are stored.
* xe.ads, xe.adb: Add a new field in Partition_Type : Most_Recent
which denotes the most recent file of a partition.
* xe.ads, xe.adb: Add a new procedure Update_Partition_Stamp to
have more informations to decide when to rebuild a partition. Get
rid of Maybe_Most_Recent_Stamp which was not precise enough.
1997-02-10 Samuel Tardieu <sam@inf.enst.fr>
* Makefile.am: Add support for gnatmake -s
1997-02-07 Laurent Pautet <pautet@lglsun11.epfl.ch>
* xe.ads: Add a new parameter File in Maybe_Most_Recent_Stamp to
save the file that causes the update of Most_Recent_Stamp.
* xe.adb, xe_utils.adb, xe_check.adb, xe.adb, xe_parse.adb :
Update the calls to Maybe_Most_Recent_Stamp.
* config.sdefault: Break S1, S2 and S3 declaration lines.
* xe_usage.adb: gnatmake -l has been changed into -M. Propagates
this change to gnatdist.
1997-02-05 Samuel Tardieu <sam@inf.enst.fr>
* make-ada-dir: New file used to track what's needed in dist1.
* Makefile.am: Added -a to gnatmake flags to allow the use of our
own library.
1997-01-22 Laurent Pautet <pautet@scapin.enst.fr>
* xe_check.adb: Get rid of debugging information.
* xe_build.adb : Use of new version of Gnatmake.
* xe_back.adb: Fix a bug that didn't occur until 3.09w.
The first host used to be a dummy host, but was no longer
used. This incorrect host was causing the current bug.
1996-12-19 Laurent Pautet <pautet@scapin.enst.fr>
* xe-gcc-filter.in: Get rid of some generated pieces of
code in client stubs.
1996-12-19 Samuel Tardieu <sam@inf.enst.fr>
* xe-gcc-filter.in: Changed bogus test.
Changed RCI_Info into System.Partition_Interface.RCI_Info.
1996-12-16 Laurent Pautet <pautet@scapin.enst.fr>
* xe-gcc-filter.in: Compatibility test (do we use gnat >= 3.09w).
1996-11-30 Laurent Pautet <pautet@quasimodo.enst.fr>
* xe_stubs.adb, xe_utils.ads, xe_utils.adb: Change DSA
hierarchy. dsa/private contains stubs (as caller and receiver can
designate a configuration name or a partition
name). dsa/<configuration>/<partition> contains all the files (or
links) to build a partition. Move compilation of s-garela into
Build_Partition to keep consistent. Check that s-garela is
up-to-date and recompile when Force_Compilation is set.
1996-11-29 Laurent Pautet <pautet@quasimodo.enst.fr>
* xe_parse.adb: Incorrect Cut/Paste.
1996-11-29 Laurent Pautet <pautet@scapin.enst.fr>
* xe.ads, xe.adb, xe_parse.adb, xe_stubs.adb, xe_back.adb: Add a
new partition attribute Permanent and all the needed operations.
* xe.ads, xe.adb, xe_build.adb: Use XE subprograms to build
GNATDIST report.
1996-11-29 Samuel Tardieu <sam@inf.enst.fr>
* xe_stubs.adb: Generate a call to Set_Boot_Server in elaboration
file if protocol has been specified in configuration file.
* xe.ads: Default starter is now Ada instead of Shell.
1996-11-28 Samuel Tardieu <sam@inf.enst.fr>
* xe_utils.ads: New flags.
* xe_utils.adb: Compile with -gnatg.
* xe_stubs.adb: Generation and compilation of new elaboration file.
1996-11-27 Samuel Tardieu <sam@inf.enst.fr>
* xe_utils.ads: New argument to Write_* functions with file
descriptors to allow duplicate output when generating scripts.
* xe_utils.adb: Fixed the way script output was handled.
* xe_stubs.adb: Write on standard out (if needed) as well as in
generated file.
* xe_lead.adb: Use "__EOF__" instead of "EOF" and do not
unconditionnally close output.
* xe_check.adb: Generates "gnatmake -c ..." commands.
* xe_build.adb: Add "#! /bin/sh" at the beginning of the script.
1996-11-20 Laurent Pautet <pautet@quasimodo.enst.fr>
* xe.ads: Move Write_SLOC from xe_back.adb to xe.ads.
* xe_check.adb: Fix an error message.
* xe_back.adb: Use SLOC to print a more usefull error message.
* xe_parse.adb: Check in P_Configuration_End that the
configuration name is known before checking that it matches.
* xe_stubs.adb: Create_Main_Unit rebuilds the partition main
subprogram when Most_Recent_Stamp is more recent than the current
partition main subprogram file stamp.
1996-11-08 Laurent Pautet <pautet@quasimodo.enst.fr>
* xe_check.adb: Check that partition name does not conflict with
any other ada units (not present in the configuration file).
* xe_parse.adb, xe.ads, xe.adb: Add some stuff to store SLOC on a
GNATDIST node.
1996-10-22 Samuel Tardieu <sam@inf.enst.fr>
* Makefile.am: Changed gnatmake into ${GNATMAKE} to allow gnatmake
redefinition (for example: make GNATMAKE="gnatmake -j2")
1996-10-18 Laurent Pautet <pautet@quasimodo.enst.fr>
* xe.ads, xe_stubs.adb, xe_back.adb, xe_parse.adb: Add pragma
Version (Checks => [False | True])
1996-10-07 Laurent Pautet <pautet@inf.enst.fr>
* xe_stubs.adb, xe.adb, xe.ads: Fix some problems with child units
and file naming (a.b was translated in to a.b.adb rather than
a-b.adb). There are still problems due to a.b'version.
1996-09-30 Laurent Pautet <pautet@quasimodo.enst.fr>
* xe_stubs.adb, xe_utils.adb: Use configuration name as partition
main subprogram. File stamp checking has been a little bit
improved.
1996-09-29 Laurent Pautet <pautet@quasimodo.enst.fr>
* xe_utils.adb: Later has been changed to More_Recent.
1996-09-23 Laurent Pautet <pautet@scapin.enst.fr>
* xe.adb: Get_Host, Get_Command_Line, Get_Absolute_Exec,
Get_Relative_Exec and Get_Main_Subprogram return default values
when no specific value has been specified.
1996-09-11 Samuel Tardieu <sam@inf.enst.fr>
* xe_parse.adb: Give proper error message on undeclared variable.
1996-09-11 Laurent Pautet <pautet@quasimodo.enst.fr>
* xe_scan.adb, xe.ads : Don't tolerate reserved keywords anymore.
* xe_back.adb: New error message when no main program has been
defined in the configuration file.
1996-09-11 Samuel Tardieu <sam@inf.enst.fr>
* config.sdefault: Replaced which by type.