comparison host/libcdl/ChangeLog @ 76:435cced73e2f ecos-v1_3_1-release

eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
author jlarmour
date Tue, 28 Mar 2000 14:10:45 +0000
parents
children 6736c52df507
comparison
equal deleted inserted replaced
75:41bf073c0c32 76:435cced73e2f
1 2000-03-13 John Dallaway <jld@cygnus.co.uk>
2
3 * cdl.dsp:
4 Modify libCDL custom build step to calculate the short form
5 of the host tools root directory to allow rebuilding using an
6 eCos installation in its default location (containing spaces).
7
8 Use the presence of the last file generated by the
9 configure phase (the ecosconfig makefile) to determine whether
10 to invoke configure. This provides some further robustness
11 against failed or interrupted builds.
12
13 2000-03-08 Simon FitzMaurice <sdf@cygnus.co.uk>
14 * cdl.dsp : Modify libCDL custom build step to add --enable-maintainer-mode
15
16 2000-03-08 John Dallaway <jld@cygnus.co.uk>
17
18 * cdl.dsp:
19 Modify libCDL custom build step to configure in the host tools
20 directory rather than the root of the eCos repository.
21
22 2000-03-08 Simon FitzMaurice <sdf@cygnus.co.uk>
23 * cdl.dsp : Modify libCDL custom build step to avoid running configure every time.
24
25 2000-03-07 John Dallaway <jld@cygnus.co.uk>
26
27 * cdl.dsp:
28 Modify libCDL custom build step to accommodate the migration
29 if libCDL sources.
30
31 2000-03-01 Bart Veer <bartv@redhat.com>
32
33 * expr.cxx (eval_internal):
34 If there is an eval exception, only manipulate conflicts if we are
35 in a transaction.
36
37 * value.cxx:
38 Make the code more robust against eval exceptions
39
40 2000-02-15 Bart Veer <bartv@redhat.com>
41
42 * build.cxx (generate_config_header):
43 Fix the symbol that gets used for define properties.
44
45 * package.cxx (get_config_header):
46 Completely suppress the generation of <pkgconf/hardware.h> until
47 further notice. Allow active_if properties in packages.
48 Comment a need for default_value properties.
49
50 2000-02-11 John Dallaway <jld@cygnus.co.uk>
51
52 * cdl.dsp
53 Configure and make 'quietly' for release builds to help contain
54 the length of the release logs.
55
56 * cdl.mak:
57 Remove this obsolete file.
58
59 2000-02-10 Bart Veer <bartv@redhat.com>
60
61 * package.cxx (parse_package):
62 Allow packages to have active_if properties.
63 Add a comment that default_value in a package should be allowed as
64 a way of controlling enabled/disabled state.
65
66 2000-02-03 Bart Veer <bartv@redhat.com>
67
68 * infer.cxx (infer_handle_reference_bool):
69 Earlier fix missed yet more sub-transactions that should have been
70 cancelled.
71
72 2000-02-02 Bart Veer <bartv@redhat.com>
73
74 * infer.cxx (infer_make_inactive):
75 Earlier fix missed a sub-transaction that should have been
76 cancelled.
77
78 * value.cxx (implements_update_handler):
79 Also recalculate an interface if the destination is created.
80 Otherwise an interface will have the wrong value if it is loaded
81 after all its implementors.
82
83 * infer.cxx, transact.cxx:
84 Make sure that sub-transactions are either cancelled or committed
85 before they get deleted.
86
87 2000-01-26 Bart Veer <bartv@redhat.com>
88
89 * config.cxx (save):
90 Always output the description field for a standard savefile.
91
92 * base.cxx (save_conflicts):
93 Add missing newline
94
95 * infer.cxx (infer_subexpr_bool):
96 Fix the handling of && and ||
97
98 * infer.cxx (infer_handle_reference_value):
99 Do not try modifying inactive data items, there is no point
100 and it could cause an assertion failure
101
102 2000-01-25 Bart Veer <bartv@redhat.com>
103
104 * config.cxx:
105 Extend the savefile support to remember which packages
106 belong to the hardware and which ones belong to the
107 template.
108
109 2000-01-24 Bart Veer <bartv@redhat.com>
110
111 * cdlcore.hxx, parse.cxx, wizard.cxx (parse_screen):
112 Change parse_property_options() to parse_options() so that it can
113 be used for more than just properties
114
115 * cdlcore.hxx, config.cxx:
116 Make sure that a LocalTransaction always gets cancelled if
117 things go wrong and an exception is thrown, prior to the
118 transaction being deleted.
119
120 * base.cxx, interp.cxx, value.cxx:
121 Savefile format tweaks.
122
123 2000-01-21 Bart Veer <bartv@redhat.com>
124
125 * base.cxx (add_node_to_toplevel):
126 When a loadable was re-added to the toplevel after an unload was
127 cancelled, its parent was not set correctly.
128
129 * infer.cxx:
130 Add partial support for dependencies of the form X==Y
131
132 2000-01-20 Bart Veer <bartv@redhat.com>
133
134 * Makefile.am, Makefile.in:
135 Fix dependencies for interface.cxx and transact.cxx, these
136 were sometimes rebuilt unnecessarily
137
138 * cdlcore.hxx, base.cxx, transact.cxx, config.cxx, package.cxx:
139 All file I/O related operations now happen in the context
140 of a transaction.
141
142 1999-12-17 Bart Veer <bartv@cygnus.co.uk>
143
144 * cdl.hxx, config.cxx, database.cxx:
145 Add support for set_value commands in ecos.db target entries.
146
147 * database.cxx:
148 Remove old support for template definitions in ecos.db
149
150 1999-12-16 Bart Veer <bartv@cygnus.co.uk>
151
152 * nearly all files:
153 Add support for memory leak detection, by maintaining per-class
154 object counts via the appropriate constructors and destructors.
155
156 * database.cxx:
157 Plug a one-off memory leak.
158
159 1999-12-14 John Dallaway <jld@cygnus.co.uk>
160
161 * interp.cxx:
162 Modify CdlInterpreterBody::locate_subdirs(),
163 CdlInterpreterBody::locate_files(),
164 CdlInterpreterBody::is_directory() and
165 CdlInterpreterBody::is_file() to accommodate
166 spaces in paths.
167
168 1999-12-13 Bart Veer <bartv@cygnus.co.uk>
169
170 * cdlcore.hxx, interface.cxx, transact.cxx, value.cxx:
171 Calculate values for interfaces.
172
173 * base.cxx, cdl.hxx, cdlcore.hxx, component.cxx, config.cxx,
174 database.cxx, dialog.cxx, interface.cxx, interp.cxx, option.cxx,
175 package.cxx, value.cxx, wizard.cxx:
176 Implementation of templates in the form of the partial savefiles.
177
178 1999-12-10 John Dallaway <jld@cygnus.co.uk>
179
180 * cdlcore.hxx:
181 Use '#pragma warning()' under VC++ only.
182
183 1999-12-09 Bart Veer <bartv@cygnus.co.uk>
184
185 * cdlmisc.cxx (compare_versions):
186 V1.3.1 and V1.3B6 were not compared correctly.
187
188 1999-12-03 Bart Veer <bartv@cygnus.co.uk>
189
190 * build.cxx (update_header_file_info):
191 If a package has no include subdirectory and no include_files
192 property, search the package directory tree for anything
193 resembling a header file and install that.
194
195 1999-11-30 Bart Veer <bartv@cygnus.co.uk>
196
197 * base.cxx:
198 Made the multiple conflict solution code more robust when side
199 effects occur.
200
201 * transact.cxx:
202 When a new conflict is committed and becomes global its solution
203 must be cleared, since no attempt is made to preserve the validity
204 of global solutions.
205
206 * transact.cxx (resolve):
207 Try to make sure that the inference callback gets invoked whenever
208 appropriate.
209
210 * base.cxx:
211 When resolving multiple global conflicts, fixing the first one may
212 have the side effect of fixing subsequent ones as well, resulting
213 in an assertion failure because the inference engine reported a
214 success with no changes being required. This situation is now
215 checked for.
216
217 * parse.cxx (parse_property_options):
218 Allow for a NULL options descriptor
219
220 1999-11-28 Bart Veer <bartv@cygnus.co.uk>
221
222 * transact.cxx:
223 Global conflict resolution support
224
225 * infer.cxx:
226 Clean-up for resolving global conflicts
227 Cancel undesirable transactions before they are deleted
228
229 * conflict.cxx:
230 Add support for resolving global conflicts
231 Implement get_transaction() member
232
233 * cdlcore.hxx:
234 Add support for resolving global conflicts
235 Tidy up the transaction and transaction callback classes a bit.
236
237 * base.cxx:
238 Add support for resolving global conflicts
239
240 1999-11-26 John Dallaway <jld@cygnus.co.uk>
241
242 * build.cxx:
243 Modify CdlToplevelBody::generate_config_headers() and
244 compare_and_copy() to accommodate spaces in the path to the
245 headers directory.
246
247 1999-11-23 Bart Veer <bartv@cygnus.co.uk>
248
249 * database.cxx (new_target):
250 command_prefix is no longer compulsory for ecos.db target entries,
251 since this is now handled in the config data. command_prefix and
252 cflags are still allowed in ecos.db for now, but will be removed
253 in future.
254
255 1999-11-22 Bart Veer <bartv@cygnus.co.uk>
256
257 * base.cxx:
258 During an unload operation a conflict may be cleared for multiple
259 reasons: the requires condition may now be satisfied, e.g
260 "requires !xxx" where "xxx" is also being unloaded; and the
261 node containing the requires property may be disappearing as well.
262
263 * transact.cxx (save_solution):
264 If any parts of a solution involve calculated options then there
265 is no point in exposing this to the user. The re-calculation will
266 happen automatically during the next propagation.
267
268 * base.cxx:
269 * config.cxx:
270 Stop the inference engine from running when packages are loaded or
271 unloaded. The user has no opportunity to cancel or undo the
272 operation, and there may be unexpected behaviour because the
273 inference engine has no clear view of what the overall
274 configuration is going to be.
275
276 * transact.cxx (resolve):
277 Resolving one conflict may affect others in the new_conflicts
278 list. Using an iterator to examine all conflicts is a bad idea.
279 Instead each loop needs to search for a conflict that may
280 have a solution.
281
282 * base.cxx:
283 * config.cxx:
284 * cdlcore.hxx:
285 Rearrange how a CdlConfiguration gets destroyed, to allow dynamic
286 casts to be used on the toplevel as packages are unloaded.
287
288 1999-11-22 John Dallaway <jld@cygnus.co.uk>
289
290 * config.cxx:
291 Modify CdlConfigurationBody::load_package() to accommodate
292 spaces in the path to the eCos repository.
293
294 1999-11-21 Bart Veer <bartv@cygnus.co.uk>
295
296 * infer.cxx:
297 * transact.cxx:
298 * cdlcore.hxx:
299 First implementation of inference code
300
301 * conflict.cxx:
302 Added missing is_structural() member
303
304 1999-11-18 Bart Veer <bartv@cygnus.co.uk>
305
306 * value.cxx:
307 Created a CdlSimpleValue constructor for booleans, to match the
308 assignment operator.
309
310 * expr.cxx :
311 Modify list expression evaluation code so that any terms which
312 evaluate to empty strings are discarded.
313
314 1999-11-08 Bart Veer <bartv@cygnus.co.uk>
315
316 * database.cxx:
317 Switched to ECOS_REPOSITORY environment variable.
318
319 * transact.cxx:
320 * cdlcore.hxx:
321 Separated out normal and structural conflicts in the transaction
322 callback class.
323
324 * value.cxx:
325 * interp.cxx:
326 * cdlcore.hxx:
327 Added new member CdlInterpreterBody::extend_comment(), for better
328 support of multiline comments in savefiles.
329
330 1999-11-03 Bart Veer <bartv@cygnus.co.uk>
331
332 * cdlcore.hxx, base.cxx, transact.cxx, value.cxx:
333 Newly loaded nodes were starting out as active, and were not being
334 turned inactive if the parent was disabled. By default nodes are
335 now inactive and there is explicit code in the transaction
336 propagate member function to check whether or not each node should
337 be active.
338
339 * Most files
340 Install the new transaction model
341
342 1999-11-03 John Dallaway <jld@cygnus.co.uk>
343
344 * value.cxx:
345 Apply patch to correct the omission of a comment char from
346 continuation lines of calculated value comments in
347 configuration save files.
348
349 1999-10-25 Simon FitzMaurice <sdf@cygnus.co.uk>
350 * value.cxx:
351 Apply fix (supplied by Bart) to correct omission of comment symbol
352 from start of second and subsequent lines of split statement.
353
354 1999-10-14 Bart Veer <bartv@cygnus.co.uk>
355
356 * database.cxx:
357 * cdl.hxx:
358 Add support for new per-target commands enable and disable,
359 which provide limited control over hardware-related configuration
360 options.
361
362 * config.cxx (set_hardware):
363 Process per-target enable/disable commands from the database
364
365 1999-10-12 John Dallaway <jld@cygnus.co.uk>
366
367 * build.cxx (generate_config_headers):
368
369 Workaround problem with assignment of standard channels
370 which was causing system.h to not be generated.
371
372 1999-10-08 John Dallaway <jld@cygnus.co.uk>
373
374 * cdl.dsp, cdl.mak:
375
376 Link against Tcl 8.2.1.
377
378 1999-10-07 Bart Veer <bartv@cygnus.co.uk>
379
380 * value.cxx (get_widget_hint):
381 For some expressions this was corrupting the expression data,
382 because of the use of a reference rather than a pointer.
383
384 1999-10-06 Bart Veer <bartv@cygnus.co.uk>
385
386 * cdlcore.hxx, database.cxx, expr.cxx, interface.cxx, value.cxx
387 Partial implementations of interfaces and get_widget_hint()
388
389 1999-09-28 Bart Veer <bartv@cygnus.co.uk>
390
391 * interp.cxx:
392 Fix use of an uninitialized variable.
393
394 * config.cxx:
395 Fix the handling of package versions in save files.
396
397 1999-09-15 Bart Veer <bartv@cygnus.co.uk>
398
399 * value.cxx
400 Fix output of multiline legal_values expressions
401
402 * value.cxx
403 Fix variable that might be used uninitialized.
404
405 * all files
406 First implementation of the savefile support
407
408 1999-09-07 John Dallaway <jld@cygnus.co.uk>
409
410 * cdl.dsp, cdl.mak:
411
412 Add ANSI build configurations.
413
414 1999-09-07 John Dallaway <jld@cygnus.co.uk>
415
416 * cdl.dsp, cdl.mak:
417
418 Update libCDL project file and VC++ makefile to use current
419 configure switches.
420
421 1999-08-12 Bart Veer <bartv@cygnus.co.uk>
422
423 * configure.in:
424 * configure:
425 * stamp-h.in:
426 First attempt at autoconfiscating the configtool
427
428 1999-08-10 Bart Veer <bartv@cygnus.co.uk>
429
430 * expr.cxx, value.cxx:
431 Fixed some problems related to double precision numbers.
432
433 1999-08-03 Bart Veer <bartv@cygnus.co.uk>
434
435 * parse.cxx:
436 Added an implementation of the "unknown" command which
437 goes via the normal diagnostics routines.
438
439 1999-07-22 Bart Veer <bartv@cygnus.co.uk>
440
441 * cdlcore.hxx, value.cxx, expr.cxx, cdlmisc.cxx:
442 Try to preserve some input data formatting information, such as
443 whether a number appeared as decimal or hexadecimal.
444
445 1999-07-21 Bart Veer <bartv@cygnus.co.uk>
446
447 * value.cxx:
448 Added some assertions to make sure that entities with a
449 "calculated" property cannot be modified.
450
451 1999-07-20 Bart Veer <bartv@cygnus.co.uk>
452
453 * value.cxx, transact.cxx:
454 Fixed some value propagation problems.
455
456 * cdlcore.hxx, value.cxx, expr.cxx:
457 Detect invalid numbers in expressions.
458 A CdlListValue object now contains a single vector of
459 CdlSimpleValue objects, not separate vectors of strings, integers
460 and doubles. This allows ordering to be preserved.
461
462 * most files:
463 Sync development version with repository, there is now
464 full value support.
465
466 1999-07-13 Bart Veer <bartv@cygnus.co.uk>
467
468 * expr.cxx:
469 Implement operator precedence
470 Fix parsing of conditional expressions.
471
472 1999-07-12 Bart Veer <bartv@cygnus.co.uk>
473
474 * most files:
475 Sync development version with repository, there is now partial
476 expression support.
477
478 1999-07-05 Bart Veer <bartv@cygnus.co.uk>
479
480 * all files:
481 Merge development work from the libcdl branch.
482
483
484 1999-06-10 John Dallaway <jld@cygnus.co.uk>
485
486 * cdl.dsp:
487 Convert to a Visual C++ utility project.
488
489 1999-06-08 John Dallaway <jld@cygnus.co.uk>
490
491 * cdl.dsp:
492 Project file outputs libCDL to the project-specified output
493 directory rather than the intermediate directory
494
495 1999-06-07 John Dallaway <jld@cygnus.co.uk>
496
497 * cdl.dsp:
498 Project file is no-longer dependent on the ECOSHOME environment
499 variable
500
501 1999-06-07 John Dallaway <jld@cygnus.co.uk>
502
503 * cdl.dsp:
504 New Visual C++ 6.0 project file for libCDL
505
506 1999-06-03 Bart Veer <bartv@cygnus.co.uk>
507
508 * configure:
509 Regenerated again after further updates to toplevel acinclude.m4
510
511 1999-06-02 Bart Veer <bartv@cygnus.co.uk>
512
513 * configure:
514 Regenerated after updating toplevel acinclude.m4, new
515 --enable-debuginfo option.
516
517 * libcdl.hxx:
518 CdlBaseBody is now an ordinary base class for CdlContainerBody,
519 not a virtual base class, allowing old-style casts inside the
520 config tool to work. There is no need for virtual inheritance just
521 yet.
522 The CdlGoalExpressionBody copy constructor is now public, not
523 protected, for use by the config tool.
524
525 1999-05-24 Bart Veer <bartv@cygnus.co.uk>
526
527 * package.cxx:
528 * component.cxx:
529 * option.cxx:
530 * base.cxx:
531 * libcdl.hxx:
532 Allow target and platform properties inside components and
533 options, and startup properties inside packages and components,
534 for continued compatibility with libnotcdl.
535
536 1999-03-10 Bart Veer <bartv@cygnus.co.uk>
537
538 * option.cxx (parse_option):
539 * component.cxx (parse_component):
540 Fixed the handling of container inheritance for full libnotcdl
541 compatibility.
542
543 1999-03-09 Bart Veer <bartv@cygnus.co.uk>
544
545 * parse.cxx (parse_...expression_property):
546 Do not try to parse options just yet, there is confusion if
547 the expression begins with a negative number.
548
549 1999-03-08 Bart Veer <bartv@cygnus.co.uk>
550
551 * interp.cxx (eval):
552 Make sure that C strings passed to the Tcl interpreter
553 are properly terminated.
554
555 * property.cxx:
556 Remove strict checking of property id's, so that the library
557 code can be re-used for other purposes e.g. hardware CDL.
558
559 * expr.cxx:
560 Added temporary parsers for libnotcdl compatibility.
561
562 * cdlmisc.cxx:
563 Added routines to convert between strings and flavors.
564 Added routines to validate CDL names.
565 Minor layout tweaks.
566
567 * README:
568 Examples now refer to Tcl8.1b1 instead of 8.1a2, the alpha
569 version caused problems.
570
571
572 1999-02-02 Bart Veer <bartv@cygnus.co.uk>
573
574 * testsuite/libcdl/cdl1.cxx (test_double_to_string):
575 * cdlmisc.cxx (string_to_double):
576 Added double conversion support, needed for the CdlResult class
577
578 * testsuite/libcdl/cdl5.cxx (main):
579 * database.cxx:
580 Change CdlInputOutputError to CdlInputOutputException in the
581 interests of a more consistent naming convention.
582
583 1999-01-29 Bart Veer <bartv@cygnus.co.uk>
584
585 * interp.cxx (eval):
586 Add new member function to evaluate Tcl code embedded in
587 CDL data.
588
589 * cdlmisc.cxx (is_valid_property_id):
590 Added the properties IncludeDir and ExportTo, and the flavor "dummy"
591
592
593 1999-01-26 Bart Veer <bartv@cygnus.co.uk>
594
595 * testsuite/libcdl/cdl4.cxx:
596 * testsuite/libcdl/cdl1.cxx (test_string_to_integer):
597 Change array initializers to avoid having to supply a constructor.
598
599 * aclocal.m4:
600 * config.h.in:
601 * configure:
602 * stamp-h.in:
603 * testsuite/Makefile.in:
604 Updated to use autoconf 2.13 and automake 1.4, plus to reflect
605 tweaks to toplevel acinclude.m4 and local configure.in
606
607 * configure.in:
608 No longer insist on the infra having been built already. This
609 allows a configure from the top-level to work.
610
611 * testsuite/libcdl/cdl4.cxx:
612 Changed the initializer for a static array of structures to work
613 around compiler problems.
614
615 * testsuite/libcdl/cdl3.cxx (main):
616 Changed the way inline Tcl scripts are defined to avoid compiler
617 problems.
618
619 * testsuite/libcdl/cdl2.cxx (main):
620 Added missing return statement to avoid compiler warning.
621
622 * testsuite/config/default.exp:
623 Use new variable cyg_ac_tcl_libs
624
625 * interp.cxx (eval):
626 Do not distinguish between TCL_OK and TCL_RETURN return codes,
627 clients are unlikely to be interested.
628 Fix definition of set_assoc_data().
629
630 * cdlmisc.cxx (compare_versions):
631 Fix syntax problem in while loop.
632
633 1999-01-22 Bart Veer <bartv@cygnus.co.uk>
634
635 * interp.cxx
636 (set_assoc_data): added new functions so that clients can
637 associate arbitrary data with interpreters
638 (set_variable) : and to provide access to Tcl global variables.
639 (make_safe) : also, the ability to make an interpreter safe.
640 (set_result) : not to mention, controlling the result field.
641
642 * cdlmisc.cxx (compare_versions):
643 Added new function Cdl::compare_versions()
644
645 1999-01-21 Bart Veer <bartv@cygnus.co.uk>
646
647 * cdlmisc.cxx
648 Added routines get_library_version(), set_interactive() and
649 get_interactive().
650
651 //===========================================================================
652 //####COPYRIGHTBEGIN####
653 //
654 // ----------------------------------------------------------------------------
655 // Copyright (C) 1999, 2000 Red Hat, Inc.
656 //
657 // This file is part of the eCos host tools.
658 //
659 // This program is free software; you can redistribute it and/or modify it
660 // under the terms of the GNU General Public License as published by the Free
661 // Software Foundation; either version 2 of the License, or (at your option)
662 // any later version.
663 //
664 // This program is distributed in the hope that it will be useful, but WITHOUT
665 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
666 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
667 // more details.
668 //
669 // You should have received a copy of the GNU General Public License along with
670 // this program; if not, write to the Free Software Foundation, Inc.,
671 // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
672 //
673 // ----------------------------------------------------------------------------
674 //
675 //####COPYRIGHTEND####
676 //===========================================================================