Debian Codegraph @

MPC/history/ChangeLog-3_3

raw
1 Thu Jul 20 14:49:21 UTC 2006 Chad Elliott <[email protected]>
2
3 * modules/WorkspaceCreator.pm:
4
5 Fixed a bug where an invalid project name would be used during the
6 generation of implicit project dependencies.
7
8 Tue Jul 18 19:07:02 UTC 2006 Chad Elliott <[email protected]>
9
10 * modules/Creator.pm:
11
12 Do not perform slash conversion on the 'prebuild' and 'postbuild'
13 settings.
14
15 * templates/vc8csharp.mpd:
16
17 Keep the 'prebuild' and 'postbuild' settings on the same line as
18 vc8 does.
19
20 Tue Jul 18 14:38:01 UTC 2006 Chad Elliott <[email protected]>
21
22 * modules/AutomakeWorkspaceCreator.pm:
23
24 Modified the library location code to accept libraries that
25 happen to be built in the very top-most directory.
26
27 Tue Jul 18 13:49:01 UTC 2006 Chad Elliott <[email protected]>
28
29 * modules/ProjectCreator.pm:
30
31 Corrected a logic error in the processing of the 'optional'
32 section. The '||' was not being handled properly.
33
34 Fri Jul 14 17:25:16 UTC 2006 Chad Elliott <[email protected]>
35
36 * modules/ProjectCreator.pm:
37
38 When expanding variables, through the 'expand' mechanism, escape
39 back slashes when generating a project for a project type that
40 requires slash conversion.
41
42 Fri Jul 14 01:10:35 UTC 2006 Chad Elliott <[email protected]>
43
44 * config/qt.mpb:
45
46 Split the UIC into UIC and UIC_Impl. The header is generated by
47 the UIC custom definition and the source file generated by the
48 UIC_Impl custom definition.
49
50 * config/qt4_core.mpb:
51 * config/qt4_designer.mpb:
52 * config/qt4_designercomponents.mpb:
53 * config/qt4_gui.mpb:
54 * config/qt4_network.mpb:
55 * config/qt4_opengl.mpb:
56 * config/qt4_sql.mpb:
57 * config/qt4_svg.mpb:
58 * config/qt4_test.mpb:
59 * config/qt4_xml.mpb:
60
61 Added support for Qt4.
62
63 * config/qt_moc.mpb:
64 * config/qt_uic.mpb:
65
66 Removed these files. They have been deprecated long enough.
67
68 Thu Jul 13 16:29:33 UTC 2006 Chad Elliott <[email protected]>
69
70 * templates/bmake.mpd:
71 * templates/bmakedllexe.mpt:
72 * templates/bmakelibexe.mpt:
73 * templates/em3.mpd:
74 * templates/em3vcpdllexe.mpt:
75 * templates/nmake.mpd:
76 * templates/nmakeexe.mpt:
77 * templates/vc6.mpd:
78 * templates/vc6dspdllexe.mpt:
79 * templates/vc7.mpd:
80 * templates/vc7csharp.mpd:
81 * templates/vc7exe.mpt:
82 * templates/vc7vb.mpd:
83 * templates/vc8.mpd:
84 * templates/vc8csharp.mpd:
85 * templates/vc8exe.mpt:
86
87 Added a template variable named 'windows_style' that controls the
88 location of Debug executables and all installed executables. If
89 'windows_style' not set, which is the default, a Debug executable
90 is placed in the same directory as the project (default setting
91 for 'output_dir'). If it is set, the Debug executable is placed
92 in the Debug directory.
93
94 Similarly, if 'windows_style' is not set, installed executables
95 are placed in the directory determined by the 'install' project
96 variable. If it is set, it is placed in the directory determined
97 by the 'install' project variable plus the 'output_dir' template
98 variable.
99
100 This only applies to the following project types: bmake, em3, vc6,
101 vc7, vc71 and vc8.
102
103 Tue Jul 11 14:23:41 UTC 2006 Chad Elliott <[email protected]>
104
105 * USAGE:
106 * modules/VC8ProjectCreator.pm:
107
108 It has been determined that when building static projects with
109 vc8, the inter-project dependencies between static libraries are
110 handled correctly. The dependee is not included in the dependent
111 as is done in em3, vc6, vc7 and vc71.
112
113 Tue Jul 11 11:42:25 UTC 2006 Chad Elliott <[email protected]>
114
115 * USAGE:
116 * config/.cvsignore:
117 * modules/ConfigParser.pm:
118 * modules/Creator.pm:
119 * modules/Driver.pm:
120 * modules/OutputMessage.pm:
121 * modules/Parser.pm:
122 * modules/WorkspaceCreator.pm:
123
124 Added the ability for MPC to be configured via two configuration
125 files. The first configuration file, codebase.cfg, controls where
126 MPC looks for the second configuration file, MPC.cfg. By default
127 it will look in $MPC_ROOT/config/MPC.cfg. This configuration file
128 will replace all (but one) environment variables and allow for more
129 things to be controlled.
130
131 Use of the deprecated environment variables will result in
132 messages be printed to that effect.
133
134 * modules/AutomakeWorkspaceCreator.pm:
135 * templates/automake.mpd:
136
137 Added the 'libpaths' setting to the automake template. This also
138 required a code change due to the strictness of automake. If the
139 libpath does not exist, the make will fail so I added the libpaths
140 as dependencies and we attempt to make the directories if they
141 don't exist.
142
143 * modules/TemplateParser.pm:
144 * templates/em3.mpd:
145 * templates/ghs.mpd:
146 * templates/vc6.mpd:
147 * templates/vc7.mpd:
148 * templates/vc8.mpd:
149
150 Fixed additional dependencies specified by the custom definition
151 'dependent' setting. Previously, if a dependent did not end in
152 .pl or .pm a .exe was appended. Now, if the dependent does not
153 have an extension a .exe is appended.
154
155 Also, for vc*.mpd, if multiple commands make up a custom command
156 (through postcommand or pch_postrule) they are chained together
157 with && to ensure that all commands are run.
158
159 * templates/vc7csharp.mpd:
160 * templates/vc7vb.mpd:
161 * templates/vc8csharp.mpd:
162
163 Added or modified the custom section such that custom defintions
164 without commands are still added to the project.
165
166 Tue Jul 11 00:48:01 UTC 2006 Johnny Willemsen <[email protected]>
167
168 * templates/vc7.mpd:
169 Added support for ModuleDefinitionFile
170
171 Thu Jul 6 14:54:01 UTC 2006 Chad Elliott <[email protected]>
172
173 * modules/ProjectCreator.pm:
174
175 A problem could arise when generating the default component lists.
176 It all depended upon the order of a 'keys' call for the valid
177 component types. I first noticed this in 2004, but with Perl 5.8,
178 the keys always came out such that everything just worked.
179 However, with Perl 5.6.1 the keys do not come out as required.
180 This requirement is that user defined component types must be
181 processed before built-in types, most importantly Source_Files. I
182 now sort the keys such that the user defined component types are
183 processed before built-in types.
184
185 Wed Jul 5 17:11:28 UTC 2006 Chad Elliott <[email protected]>
186
187 * modules/ProjectCreator.pm:
188
189 There was a difference in the way that MPC dealt with a defaulted
190 Source_Files section and a Source_Files section that was just a
191 list of directories. Generated files were treated differently in
192 the defaulted case. This change corrects that problem.
193
194 Additionally, files listed with >> and << did not receive slash
195 conversion when being output to a generated project when the
196 project type required it. This has also been corrected.
197
198 Fri Jun 30 15:32:12 UTC 2006 Chad Elliott <[email protected]>
199
200 * modules/ProjectCreator.pm:
201
202 Fixed a bug re-introduced by my change from Tue Jun 27 17:33:59
203 UTC 2006. If gendir = . is used in a custom build rule, the
204 generated files would not have the needed ./ prepended to the file
205 name.
206
207 * modules/VC8WebWorkspaceCreator.pm:
208
209 Removed invalid configurations for the web workspace.
210
211 Thu Jun 29 16:33:13 UTC 2006 Chad Elliott <[email protected]>
212
213 * README:
214 * modules/ProjectCreator.pm:
215 * modules/XMLProjectBase.pm:
216
217 Fixed a bug where a backslash was added to the front of a double
218 quote when the <%quote%> pseudo variable is used. If an escaped
219 double quote is required, use <%equote%> (as described in the
220 README).
221
222 Tue Jun 27 17:33:59 UTC 2006 Chad Elliott <[email protected]>
223
224 * PROBLEM-REPORT-FORM:
225
226 Added a spot for the operating system and shell.
227
228 * modules/ProjectCreator.pm:
229
230 When creating the list of generated files, retain the original
231 file extension. If the original input file extension does not
232 match the first extension listed in the custom definition inputext
233 setting, the extension will be lost and file specific settings
234 will not be applied correctly.
235
236 * modules/WorkspaceCreator.pm:
237
238 When adding implicit project dependencies, for the gnuace project
239 type only, keep track of the indirect dependencies that have been
240 followed to avoid infinite recursion.
241
242 Thu Jun 22 12:24:51 UTC 2006 Chad Elliott <[email protected]>
243
244 * modules/VC7WorkspaceCreator.pm:
245
246 Modified the mixed language output so that VC8 does not want to
247 save after the first load of the generated solution.
248
249 Wed Jun 21 14:16:22 UTC 2006 Chad Elliott <[email protected]>
250
251 * modules/VC7WorkspaceCreator.pm:
252
253 Yet another bug fix for mixed language workspaces. When a C++
254 project is dependent upon another C++ project and a C# project,
255 the dependee C++ project would be skipped. Now, non-C++ projects
256 will be built when the platform is changed to anything other than
257 'Any CPU' or .NET.
258
259 Tue Jun 20 13:53:05 2006 J.T. Conklin <[email protected]>
260
261 * templates/automake.mpd:
262
263 Tweak "code" that emits -stamp dependency to work with stamp
264 files in subdirectories.
265
266 Tue Jun 20 18:31:35 UTC 2006 Chad Elliott <[email protected]>
267
268 * templates/vc8csharp.mpd:
269
270 Added the ability to set the RegisterForComInterop setting as a
271 template variable.
272
273 Tue Jun 20 17:06:50 UTC 2006 Chad Elliott <[email protected]>
274
275 * modules/ProjectCreator.pm:
276 * modules/TemplateParser.pm:
277
278 Fixed a bug where mixing C++ and C# projects in a single workspace
279 would result in invalid projects due to the fact that a project
280 creator would have only one TemplateInputReader which would read
281 the template input file for the first projects language and all
282 other projects would receive the same template input.
283
284 Additionally, the configuration/platform combination would only be
285 updated if the platform is a non-empty string.
286
287 And finally, the ability to nest template functions (like reverse,
288 sort, etc.) not in the context of a foreach has been added to the
289 template parser.
290
291 Tue Jun 20 12:45:30 UTC 2006 James H. Hill <[email protected]>
292
293 * modules/VC8WebWorkspaceCreator.pm:
294
295 Changed the location of the web project from the cwd to
296 '.'.
297
298 Tue Jun 20 12:41:49 UTC 2006 James H. Hill <[email protected]>
299
300 * templates/vc8csharp.mpd:
301
302 Removed the aspx_files variable since web projects assume all
303 files located in the directory of the solution is part of the
304 project.
305
306 Fri Jun 16 00:37:06 UTC 2006 James H. Hill <[email protected]>
307
308 * modules/VC7WorkspaceCreator.pm:
309
310 Added the web project guid to the rest of the GUIDs. This
311 allows use to resue the the default VC workspace generator
312 to generate web projects.
313
314 * modules/MPC.pm:
315 * modules/MWC.pm:
316 * modules/VC8WebProjectCreator.pm:
317 * modules/VC8WebWorkspaceCreator.pm:
318
319 Created a new module for generating web projects for VC8.
320 In VC8, web projects are based on the directory that contains.
321 the solutions. This means a web project does not have a "project"
322 file like C++, C# and VB projects. Therefore, a new module
323 was needed to automatically create a web project in a solution
324 since we can't specify this using a MWC file.
325
326 To create a web project, just run MWC as follows:
327
328 mwc.pl -type vc8web
329
330 The following are the language -> scripting mappings:
331 cpluplus -> C#
332 csharp -> C#
333 java -> J#
334 vb -> Visual Basic
335
336 Fri Jun 09 14:49:25 2006 Steve Huston <[email protected]>
337
338 * modules/AutomakeProjectCreator.pm (fill_value): Reverted:
339 Tue May 23 16:49:22 2006 Steve Huston <[email protected]>
340 since it's not always correct to prefix to $srcdir. Sometimes
341 it needs to be relative to the build directory. This restores the
342 behavior put in place by:
343 Thu Dec 22 13:56:14 2005 J.T. Conklin <[email protected]>
344 Thanks to J.T. for pointing this out.
345
346 Fri Jun 9 07:00:13 2006 J.T. Conklin <[email protected]>
347
348 * templates/automake.mpd:
349
350 Tweak so that _LDFLAGS isn't defined if am_version is defined,
351 but library is not intended to be installed.
352
353 Wed Jun 7 12:56:17 UTC 2006 Chad Elliott <[email protected]>
354
355 * templates/vc8.mpd:
356
357 Modified this template to use 'libout' again such that .lib files
358 do not go into the location specified by 'dllout' (if it was
359 specified). Thanks to Kitty B. for recognizing this situation and
360 bringing it to my attention.
361
362 Tue May 30 12:21:54 UTC 2006 Chad Elliott <[email protected]>
363
364 * modules/Driver.pm:
365
366 Removed the run-time check for the minimum perl version.
367
368 * mpc.pl:
369 * mwc.pl:
370
371 Added a load-time check for the minimum perl version (5.6).
372
373 Tue May 23 16:49:22 2006 Steve Huston <[email protected]>
374
375 * modules/AutomakeProjectCreator.pm (fill_value): If an include
376 path begins with ".." (a relative path), prefix it with $(srcdir)
377 to make it work properly when the build dir is not the same as the
378 source dir.
379
380 Thu May 11 11:46:45 2006 Steve Huston <[email protected]>
381
382 * templates/automake.mpd: Allow an am_release variable to set
383 a installable library's -release option. This allows users to
384 choose whether to use libtool's -version-info option (with the
385 am_version variable) or the -release option (with am_release).
386
387 Fri May 5 12:00:12 UTC 2006 Johnny Willemsen <[email protected]>
388
389 * modules/BDSWorkspaceCreator.pm:
390 Generate missing </BorlandProject>
391
392 Wed May 3 01:43:46 UTC 2006 Chad Elliott <[email protected]>
393
394 * USAGE:
395
396 Documented the -gendot option which generates input files for
397 Graphvis.
398
399 * modules/BMakeProjectCreator.pm:
400 * modules/Creator.pm:
401 * modules/DirectoryManager.pm:
402 * modules/Driver.pm:
403 * modules/FeatureParser.pm:
404 * modules/GUID.pm:
405 * modules/Options.pm:
406 * modules/ProjectCreator.pm:
407 * modules/TemplateParser.pm:
408 * modules/VC7ProjectCreator.pm:
409 * modules/WorkspaceCreator.pm:
410
411 Adding various performance improvements.
412
413 * templates/makedll.mpt:
414
415 Changing the order of the rt and pthread libraries to avoid
416 possible linking problems when statically linking.
417
418 Tue Apr 25 13:18:06 UTC 2006 Chad Elliott <[email protected]>
419
420 * clone_build_tree.pl:
421
422 Print error messages in the event that an error actually occurs.
423
424 * prj_install.pl:
425
426 Added a missing option from the usage.
427
428 * templates/nmake.mpd:
429 * templates/nmakedll.mpt:
430 * templates/nmakeexe.mpt:
431
432 By default, pass the /Zc:wchar_t option to the compiler. If you
433 plan on using nmake with Visual C++ 6.0, you must unset the
434 'TreatWChar_tAsBuiltInType' template variable to avoid compiler
435 warnings about unknown options.
436
437 * templates/vc7.mpd:
438
439 Allow the user to modify the inline expansion through the
440 'InlineFunctionExpansion' template variable.
441
442 * templates/vc7csharp.mpd:
443 * templates/vc8csharp.mpd:
444
445 Support the 'prebuild' setting.
446
447 Thu Apr 20 13:29:13 UTC 2006 Chad Elliott <[email protected]>
448
449 * templates/em3.mpd:
450 * templates/em3vcpdll.mpt:
451 * templates/em3vcpdllexe.mpt:
452 * templates/em3vcplib.mpt:
453 * templates/em3vcplibexe.mpt:
454
455 Fixed a bug where /debug was being added to the link flags even
456 though it was a Release configuration. Thanks to Wallace Zhang
457 <[email protected]> for finding this.
458
459 Fri Mar 31 13:25:32 UTC 2006 Chad Elliott <[email protected]>
460
461 * modules/WorkspaceCreator.pm:
462
463 Fixed a bug in the group dependency sorter. The circular
464 dependencies are checked but as a group moves in order, it was
465 assumed that the dependencies were already checked for the group
466 when in reality it hadn't. This could cause an infinite loop.
467
468 Also, $() type variables can be used in workspaces.
469
470 Mon Mar 27 17:00:31 UTC 2006 James H. Hill <[email protected]>
471
472 * modules/ProjectCreator.pm:
473
474 Added support of ASP.NET project files (.aspx files) to both
475 Visual Basic and C# project.
476
477 * templates/vc7vb.mpd:
478
479 - Changed default extension for resx files from .cs to .vb
480 - Added template code to correctly handle .aspx files
481
482 * templates/vc7csharp.mpd:
483 * templates/vc8csharp.mpd:
484
485 - Added template code to correctly handle .aspx files
486
487 Thu Mar 23 14:56:12 UTC 2006 Johnny Willemsen <[email protected]>
488
489 * templates/bds.mpd:
490 If linkflags contains -aa then generate option.aa.enabled as 1.
491
492 Thu Mar 23 14:51:12 UTC 2006 Chad Elliott <[email protected]>
493
494 * templates/vc7.mpd:
495 * templates/vc8.mpd:
496
497 Added the missing UNICODE and _UNICODE macros to the resource file
498 compile line if the 'unicode' template variable is set.
499
500 Thu Mar 23 14:30:00 UTC 2006 Chad Elliott <[email protected]>
501
502 * modules/Driver.pm:
503
504 Convert all back slashes to slashes before calling mpc_basename().
505
506 * templates/makedll.mpt:
507
508 Added -ldl to the vxworks_rtp platform section.
509
510 * templates/vc7.mpd:
511
512 Moved the ProgramDataBaseFileName down after the precompiled
513 header section to more closely match the way visual studio
514 produces project files.
515
516 Thu Mar 23 12:11:12 UTC 2006 Johnny Willemsen <[email protected]>
517
518 * templates/bmake.mpd:
519 If linkflags are available, generate them into the project
520 file
521
522 Thu Mar 16 17:58:37 UTC 2006 Chad Elliott <[email protected]>
523
524 * modules/VC8ProjectCreator.pm:
525
526 Fixed a bug where the SUPER version of the translate_value()
527 wasn't called at the end of the local translate_value() method.
528 This was causing problems when the -name_modifier and
529 -apply_project options were used together.
530
531 * templates/makedll.mpt:
532
533 Fixed support for VxWorks.
534
535 Wed Mar 15 18:44:03 UTC 2006 Chad Elliott <[email protected]>
536
537 * generate_export_header.pl:
538
539 Print an error if the script is unable to write to the output
540 file.
541
542 * modules/MakeProjectCreator.pm:
543 * templates/makedll.mpt:
544
545 Moved the default 'compilers' setting from the mpt to the perl
546 module to allow the default compiler to change based on the
547 language setting. Currently, the default is 'java' if the
548 language is set to java otherwise it is set to 'gcc' as it was
549 previously.
550
551 * README:
552 * modules/AutomakeWorkspaceCreator.pm:
553 * modules/ProjectCreator.pm:
554 * modules/TemplateParser.pm:
555 * templates/automake.mpd:
556 * templates/bmake.mpd:
557 * templates/em3.mpd:
558 * templates/ghs.mpd:
559 * templates/make.mpd:
560 * templates/nmake.mpd:
561 * templates/vc6.mpd:
562 * templates/vc7.mpd:
563 * templates/vc8.mpd:
564
565 Implemented a new project keyword that can only be used within the
566 scope of Source_Files. The 'buildflags' setting can be used to
567 specify additional build flags as source files are being compiled.
568 This can be used to build a particular subset of source files with
569 different compiler options.
570
571 Tue Mar 14 14:19:03 2006 Steve Huston <[email protected]>
572
573 * templates/vc8platforms.mpt: For WinCE 4-based platforms, add
574 EnableFunctionLevelLinking="true". This works around a link-time
575 warning LNK1166 for ARM processors. This prevented ACEd.dll (and
576 some other examples/test programs) from creating the resultant
577 binary dll/exe file.
578
579 Mon Mar 13 17:53:45 UTC 2006 Chad Elliott <[email protected]>
580
581 * modules/Driver.pm:
582
583 If global.features, default.features, global.mpb or default.rel
584 are not found in the path relative to the location of mwc.pl (or
585 mpc.pl), look for them in the config directory found underneath
586 MPC. This only matters when working in conjunction with ACE.
587
588 Fri Mar 10 18:59:34 UTC 2006 Chad Elliott <[email protected]>
589
590 * modules/BMakeWorkspaceCreator.pm:
591 * modules/Creator.pm:
592 * modules/DirectoryManager.pm:
593 * modules/Driver.pm:
594 * modules/FeatureParser.pm:
595 * modules/HTMLProjectCreator.pm:
596 * modules/MakeWorkspaceCreator.pm:
597 * modules/NMakeWorkspaceCreator.pm:
598 * modules/WorkspaceCreator.pm:
599
600 Implemented a new function, mpc_basename, that is more efficient
601 than the one provided by File::Basename.
602
603 * modules/ProjectCreator.pm:
604
605 Moved code outside of add_corresponding_component_files that was
606 executed twice. The result could not possibly change, so it is
607 executed once and the result is passed into
608 add_corresponding_component_files.
609
610 * modules/TemplateParser.pm:
611
612 Optimized code to avoid using substr() in parse_line().
613
614 Thu Mar 9 16:20:24 UTC 2006 Chad Elliott <[email protected]>
615
616 * modules/CBXProjectCreator.pm:
617 * modules/CBXWorkspaceCreator.pm:
618 * templates/cbx.mpd:
619 * templates/cbxdll.mpt:
620 * templates/cbxexe.mpt:
621
622 Removed these files.
623
624 * USAGE:
625 * config/boost_date_time.mpb:
626 * config/boost_filesystem.mpb:
627 * config/boost_iostreams.mpb:
628 * config/boost_prg_exec_monitor.mpb:
629 * config/boost_program_options.mpb:
630 * config/boost_regex.mpb:
631 * config/boost_serialization.mpb:
632 * config/boost_signals.mpb:
633 * config/boost_test_exec_monitor.mpb:
634 * config/boost_thread.mpb:
635 * config/boost_wave.mpb:
636 * config/xerces.mpb:
637 * modules/MPC.pm:
638 * modules/MWC.pm:
639
640 Removed the cbx project type. The format is dead and has been
641 replaced by the bds format.
642
643 * README:
644 * templates/bmake.mpd:
645 * templates/html.mpd:
646 * templates/make.mpd:
647 * templates/nmake.mpd:
648 * templates/vc7.mpd:
649 * templates/vc8.mpd:
650 * modules/ProjectCreator.pm:
651
652 Added partial support for prebuild. Some project types can't or
653 can't easily support this concept.
654
655 * modules/DirectoryManager.pm:
656 * modules/WinProjectBase.pm:
657
658 Moved a portion of the code to remove the current working
659 directory from WinProjectBase's version of translate_directory()
660 into DirectoryManager's version.
661
662 Mon Mar 6 18:09:36 UTC 2006 Chad Elliott <[email protected]>
663
664 * config/qt.mpb:
665
666 The qt library can have a variety of suffixes (depending on
667 platform and version). This base project was changed such that
668 there is no 'specific' section for for the qt library name. It is
669 added to 'lit_libs' as qt-mt$(QT_VERSION).
670
671 * generate_export_header.pl:
672
673 This is a new script that will generate an export header file that
674 can be used (not in conjunction with ACE) to support symbol
675 visibility using a variety of compilers.
676
677 * modules/BMakeProjectCreator.pm:
678 * modules/BMakeWorkspaceCreator.pm:
679 * modules/Creator.pm:
680 * modules/DirectoryManager.pm:
681 * modules/Driver.pm:
682 * modules/HTMLProjectCreator.pm:
683 * modules/NMakeWorkspaceCreator.pm:
684 * modules/Options.pm:
685 * modules/ProjectCreator.pm:
686 * modules/TemplateParser.pm:
687 * modules/VC7WorkspaceCreator.pm:
688 * modules/WinProjectBase.pm:
689 * modules/WorkspaceCreator.pm:
690
691 The majority of the changes to these files are performance
692 related. However, two bug fixes are included (one pertaining to
693 file grouping and the other pertaining to directory translation of
694 a directory only containing "..").
695
696 * templates/make.mpd:
697
698 Three modifications:
699
700 1) Only set PICFLAGS if the dll_ext template variable is defined.
701 2) Allow the user to override the 'chmod' template variable.
702 3) Removed the .<%slash%> in front of the call to "specialscript"
703
704 * templates/makedll.mpt:
705
706 Added -mthreads -mminimal-toc compiler flags for LynxOS.
707
708 * templates/vc7.mpd:
709 * templates/vc8.mpd:
710
711 Fixed whitespace for default grouped files.
712
713 Mon Feb 27 17:35:55 UTC 2006 Chad Elliott <[email protected]>
714
715 * config/zlib.mpb:
716
717 Changed the Windows section of the zlib library to use libs
718 instead of lit_libs. It is necessary to match up debug to
719 debug and release to release when linking an application with this
720 library.
721
722 Fri Feb 24 00:23:57 UTC 2006 Chad Elliott <[email protected]>
723
724 * modules/ProjectCreator.pm:
725
726 Removed calls to escape_regex_special() before calling
727 generated_filenames(). This was breaking when files with regular
728 expression special characters (like .) were listed.
729
730 Thu Feb 23 10:33:25 2006 J.T. Conklin <[email protected]>
731
732 * templates/automake.mpd:
733
734 Added "compile_flags" to conditional which caused a needed
735 backslash not to be emitted in somewhat rare circumstances.
736
737 Thu Feb 23 14:10:30 UTC 2006 Chad Elliott <[email protected]>
738
739 * README:
740
741 Added a paragraph explaining that MPC expects *all* file names
742 that contain a directory portion to use forward slashes regardless
743 of what the platform natively uses.
744
745 * modules/ProjectCreator.pm:
746
747 Corrected two bugs pertaining to automatic file addition. The
748 first happens when two different custom file sections have the
749 same group name; the second group would overwrite the first. The
750 second bug would only happen on Windows based project types if the
751 'gendir' setting contained a slash, MPC wouldn't be able to match
752 up the generated files (this was introduced with my change from
753 Mon Feb 13 11:15:04 2006).
754
755 Wed Feb 22 23:58:03 2006 J.T. Conklin <[email protected]>
756
757 * templates/automake.mpd:
758
759 Fix typo which caused compile_flags to be emitted for each
760 individual compile_flag.
761
762 Wed Feb 22 20:06:00 UTC 2006 Chad Elliott <[email protected]>
763
764 * combine_dsw.pl:
765
766 Support combining .vcw files too. They are almost identical to
767 .dsw files.
768
769 * modules/ProjectCreator.pm:
770
771 Removed the $rmesc parameter from the generated_filenames() and
772 generated_filename_arrys() methods. We will always remove the
773 escape sequences from the generated file names. In the one place
774 where the escapes are needed, we use escape_regex_special() to
775 ensure that the whole file name (including the path) is escaped.
776
777 * modules/VC6WorkspaceCreator.pm:
778
779 Sort the projects so that the generated workspace will be
780 deterministic.
781
782 * modules/WinProjectBase.pm:
783
784 Modified translate_directory() to remove the current working
785 directory from the directory passed in and then limit the length
786 of that to avoid issues with maximum directory/file length on
787 NTFS.
788
789 * templates/bmake.mpd:
790 * templates/bmakecommon.mpt:
791 * templates/bmakedll.mpt:
792 * templates/bmakedllexe.mpt:
793 * templates/bmakelibexe.mpt:
794
795 Support building with VCL. Also, add the custom_type libpath
796 setting to the PATH variable.
797
798 * templates/make.mpd:
799 * templates/makedll.mpt:
800
801 Added support for visibility attributes. They are off by default,
802 so set the 'visibility' template variable to 1 to then them on.
803 Also, when generating the clean target, clean the extra
804 directories relative to the output location of the makefile
805 target.
806
807 Tue Feb 21 18:14:21 2006 Steve Huston <[email protected]>
808
809 * templates/vc8.mpd: Put .lib files with .dll files in $(OutDir).
810 When emitting AdditionalLibraryDirectories and there is a specified
811 output_subdir, append output_subdir to each libpath, then the
812 plain libpath. This picks up output_subdir specs and hopefully
813 won't hurt anything for libpaths that don't have the subdirs.
814
815 Thu Feb 16 21:36:37 UTC 2006 Wallace Zhang <[email protected]>
816
817 * highlight_template.pl:
818
819 Added a newline at the end of the file which is required
820 by fuzz.pl.
821
822 Thu Feb 16 19:53:13 UTC 2006 Chad Elliott <[email protected]>
823
824 * highlight_template.pl:
825
826 Added a tool which can be helpful in debugging MPC template code.
827 This utility will color highlight an MPC template and output html.
828
829 * modules/Driver.pm:
830
831 Perl 5.8.8 has a "feature" where basename('') returns './' instead
832 of '' as all other versions do. In the case where we may call
833 basename() with an empty string, avoid calling basename() and just
834 use '' instead. Thanks to Johnny Willemsen for helping me debug
835 this one.
836
837 * modules/HTMLWorkspaceCreator.pm:
838
839 Output the projects in build order instead of alphabetical order.
840
841 * templates/make.mpd:
842
843 Greatly simplified this template by removing many little foreach's
844 and enclose most of the template in two big foreach's.
845
846 Wed Feb 15 19:41:59 2006 J.T. Conklin <[email protected]>
847
848 * templates/automake.mpd:
849
850 Process header_files, inline_files, template_files, idl_files,
851 and pidl_files even if we're not building a executable or lib.
852 This ensures the files will be listed in the Makefile.am (for
853 "make distcheck" and/or for "make install").
854
855 Wed Feb 15 17:56:02 2006 Steve Huston <[email protected]>
856
857 * templates/nmakedll.mpt:
858 * templates/nmakeexe.mpt: Changed WinX86_64 platform name to x64 to be
859 consistent with vc8platforms.mpt. Also set _M_AMD64 in cpu_defines,
860 not _M_AXP64 to be consistent with what Microsoft headers are
861 expecting; also added _AMD64_ to ensure it gets set - windows.h
862 sets it, but if including winnt.h first, it doesn't get set.
863 Thanks to Johnny Willemsen for motivating this change.
864
865 Wed Feb 15 18:42:30 UTC 2006 Chad Elliott <[email protected]>
866
867 * README:
868 * modules/ProjectCreator.pm:
869
870 Added two new pseudo variables 'cmp' for a platform non-specific
871 way to compare files and 'os' which provides the type of operating
872 system the project is suited for (win32 or unix).
873
874 * registry.pl:
875
876 Register .mpb files just as .mpc files are registered.
877
878 Wed Feb 15 16:03:06 UTC 2006 Chad Elliott <[email protected]>
879
880 * config/boost_base.mpb:
881
882 Added an include path for $(BOOST_ROOT).
883
884 * config/bzip2.mpb:
885 * config/global.features:
886
887 Added a bzip2 feature project and set the bzip2 feature to zero by
888 default.
889
890 * config/zlib.mpb:
891
892 Switch from libs to lit_libs so that no decorator is added to the
893 library name.
894
895 * modules/ProjectCreator.pm:
896
897 Accept .ipp as inline files.
898
899 * templates/make.mpd:
900 * templates/makedll.mpt:
901
902 Provide library versioning on platforms that support it. Added
903 initial support for the intel compiler on Linux.
904
905 * templates/vc7.mpd:
906
907 Allow switching off exception handling.
908
909 Tue Feb 14 17:06:40 2006 Steve Huston <[email protected]>
910
911 * templates/vc8platforms.mpt: Changed the WinX86_64 platform to be
912 x64 to match what VC8 generates itself and expects. Also added
913 x64 to the platforms generated by default.
914
915 Mon Feb 13 11:15:04 2006 Chad Elliott <[email protected]>
916
917 * config/global.features:
918
919 Set the swig_perl, swig_java and python features to zero.
920
921 * config/python.mpb:
922
923 Added a base project for building against the python library.
924
925 * config/swig_java.mpb:
926
927 Added a requires += swig_java.
928
929 * config/swig_perl.mpb:
930
931 Added a requires += swig_perl.
932
933 * modules/ProjectCreator.pm:
934
935 Fixed a problem where if a file is automatically generated and
936 gendir is set to '.', the file name may be added twice to a
937 project.
938
939 When automatically adding files specified by >>, take into account
940 the gendir setting.
941
942 Added a post project creation hook so that sub-classes of
943 ProjectCreator can perform an action after a project file is
944 created.
945
946 * modules/TemplateParser.pm:
947
948 Renamed the basename() function to tp_basename().
949
950 * modules/VC8ProjectCreator.pm:
951
952 Use the post file creation hook to remove the .user files created
953 by VC8. The .user file will only be removed if the project file
954 is different than what was created by prior runs of MPC.
955
956 * README:
957 * modules/WorkspaceCreator.pm:
958
959 Allow the user of -genins within a workspace.
960
961 * templates/bmake.mpd:
962
963 Put double quotes around gendir related files just in case gendir
964 has a directory with spaces in the name. Also, prefix all del and
965 rmdir commands with - to continue on if there is an error.
966
967 * templates/make.mpd:
968 * templates/makedll.mpt:
969
970 Changed the way that the 'configurations' template variable is used.
971 The existing use has been renamed to 'compilers' and the
972 'configurations' template variable is now used as it is in many of
973 the other project types, as Debug or Release.
974
975 Fri Feb 10 06:36:59 2006 Chad Elliott <[email protected]>
976
977 * modules/Options.pm:
978
979 Fixed a bug where a -exclude argument with a comma in it would not
980 be split.
981
982 * modules/ProjectCreator.pm:
983
984 Reverted a change that affected the way files were listed in
985 templates when gendir = . was used.
986
987 * templates/ghs.mpd:
988 * templates/ghscommon.mpt:
989
990 Changed libdecorator to lib_modifier to be consistent with all of
991 the other templates.
992
993 Fri Feb 10 11:26:12 UTC 2006 Johnny Willemsen <[email protected]>
994
995 * templates/vc8platforms.mpt:
996 For x86_64 specify an explicit link option
997
998 * templates/nmake.mpd:
999 Added platform_defines to the list of defines being generated,
1000 this is as with the normal vc templates
1001
1002 * templates/nmakedll.mpt:
1003 * templates/nmakeexe.mpt:
1004 Added platform_defines and updated cpu_define to the same
1005 value used as with the normal vc templates for WinX86_64
1006
1007 Thu Feb 9 12:50:52 2006 Chad Elliott <[email protected]>
1008
1009 * config/boost_iostreams.mpb:
1010 * config/boost_program_options.mpb:
1011 * config/boost_python.mpb:
1012 * config/boost_serialization.mpb:
1013 * config/boost_wave.mpb:
1014
1015 Added support for other boost libraries.
1016
1017 * modules/DirectoryManager.pm:
1018 * modules/Options.pm:
1019
1020 Added support for wildcards when using the -exclude option.
1021
1022 * modules/ProjectCreator.pm:
1023
1024 When the Define_Custom has the automatic flag set to 1,
1025 automatically add the files generated that are specified by the >>
1026 operator.
1027
1028 Fixed a bug where <% %> variables used within a 'specific' section
1029 were not translated.
1030
1031 * modules/TemplateParser.pm:
1032
1033 Fixed a bug where errors within a <%foreach%> would be silently
1034 ignored.
1035
1036 * modules/WorkspaceCreator.pm:
1037
1038 Added support for wildcards.
1039
1040 * templates/bmake.mpd:
1041 * templates/bmakedll.mpt:
1042 * templates/bmakedllexe.mpt:
1043 * templates/bmakelib.mpt:
1044 * templates/bmakelibexe.mpt:
1045
1046 Fixed a bug where debug_flags was being placed in all
1047 configurations, not just debug. And modified these, so that debug
1048 flags are only emitted in a debug configuration (when optimze is
1049 overriden to be zero).
1050
1051 * templates/em3.mpd:
1052 * templates/em3vcpdll.mpt:
1053 * templates/em3vcpdllexe.mpt:
1054 * templates/em3vcplibexe.mpt:
1055
1056 EVC 4.0 doesn't support "utility" projects, so when custom_only is
1057 set to 1, just create a DLL project that has no target. Also,
1058 fixed link issues for the emulator and x86 targets. And, sort the
1059 grouped files so that a project can be reproduced consistently.
1060
1061 * templates/vc6.mpd:
1062 * templates/vc7.mpd:
1063 * templates/vc8.mpd:
1064
1065 Sort the grouped files so that a project can be reproduced
1066 consistently.
1067
1068 Thu Feb 2 07:02:19 2006 Chad Elliott <[email protected]>
1069
1070 * clone_build_tree.pl:
1071
1072 Do not clone the .svn directory. It's administrative just like
1073 the CVS directory.
1074
1075 * modules/ProjectCreator.pm:
1076
1077 There was a bug where file with a path specified using the '>>'
1078 operator would not be processed correctly on Windows based project
1079 types. Thanks to Thomas Rothfuss for reporting this.
1080
1081 Mon Jan 30 12:07:35 2006 Chad Elliott <[email protected]>
1082
1083 * PROBLEM-REPORT-FORM:
1084
1085 Added a section to provide the Perl version.
1086
1087 * README:
1088
1089 Updated the valid command line options for workspaces with the
1090 -language option.
1091
1092 * USAGE:
1093
1094 Documented the -value_template option and provided an example
1095 where spaces needed to be retained.
1096
1097 * modules/XMLProjectBase.pm:
1098 * modules/BDSProjectCreator.pm:
1099 * modules/CBXProjectCreator.pm:
1100 * modules/HTMLProjectCreator.pm:
1101 * modules/SLEProjectCreator.pm:
1102 * modules/VC7ProjectCreator.pm:
1103
1104 Created a new project base for XML based project creators. The
1105 trend in projects seem to be going toward XML so we can minimize
1106 the amount of repeated code by using the XMLProjectBase.
1107
1108 * modules/BDSWorkspaceCreator.pm:
1109 * modules/CBXWorkspaceCreator.pm:
1110 * modules/GHSWorkspaceCreator.pm:
1111 * modules/SLEWorkspaceCreator.pm:
1112
1113 Tell the sort_dependencies() method that we do not want sorting
1114 by directory groups.
1115
1116 * modules/BMakeProjectCreator.pm:
1117
1118 Removed an unnecessary check of convert_slashes().
1119
1120 * modules/ProjectCreator.pm:
1121
1122 Provided support for use of <% %> variables within all of MPC
1123 project keywords. The list of valid variables only includes the
1124 pseudo variables listed under 'postbuild' in the README.
1125
1126 * templates/bmake.mpd:
1127
1128 Utilize the 'transdir' template function to fully support files
1129 with .. in the path name.
1130
1131 * templates/vc7.mpd:
1132 * templates/vc7dll.mpt:
1133 * templates/vc7exe.mpt:
1134 * templates/vc7lib.mpt:
1135 * templates/vc7libexe.mpt:
1136 * templates/vc8.mpd:
1137 * templates/vc8dll.mpt:
1138 * templates/vc8exe.mpt:
1139 * templates/vc8lib.mpt:
1140 * templates/vc8libexe.mpt:
1141
1142 Added two new configurations (not generated by default) called
1143 'Memcheck Debug' and 'Memcheck Release'. These configurations
1144 provide settings that are amenable to external memory checking
1145 tools.
1146
1147 Wed Jan 25 11:40:37 2006 Chad Elliott <[email protected]>
1148
1149 * modules/WorkspaceCreator.pm:
1150
1151 Return an array reference from the get_validated_ordering() method
1152 instead of a string. In every place get_validated_ordering() was
1153 called, the return value was immediately converted to an array.
1154
1155 * modules/VC6WorkspaceCreator.pm:
1156 * modules/VC71WorkspaceCreator.pm:
1157 * modules/VC7WorkspaceCreator.pm:
1158
1159 Use the returned array instead of converting the string into an
1160 array.
1161
1162 Wed Jan 25 09:02:34 2006 Chad Elliott <[email protected]>
1163
1164 * modules/DirectoryManager.pm:
1165 * modules/TemplateParser.pm:
1166 * modules/WinProjectBase.pm:
1167
1168 Added a new template function called transdir which will translate
1169 a directory portion of a filename into a "usable" object file
1170 directory. It entails changing .. into the word 'dotdot' and for
1171 windows based projects it will also change drive letters and $()
1172 variables.
1173
1174 * templates/nmake.mpd:
1175
1176 Use the new transdir function to deal with relative directories
1177 and other problematic directory names.
1178
1179 Mon Jan 23 13:05:12 2006 Chad Elliott <[email protected]>
1180
1181 * templates/nmake.mpd:
1182
1183 Added a rule back in that was removed by my change on
1184 Mon Jan 9 08:30:14 2006.
1185
1186 Mon Jan 23 12:08:25 2006 Chad Elliott <[email protected]>
1187
1188 * modules/BMakeWorkspaceCreator.pm:
1189 * modules/MakeWorkspaceCreator.pm:
1190 * modules/NMakeWorkspaceCreator.pm:
1191
1192 Tell the number_target_deps() method that we do not want sorting
1193 by directory groups.
1194
1195 * modules/VC6WorkspaceCreator.pm:
1196 * modules/VC71WorkspaceCreator.pm:
1197 * modules/VC7WorkspaceCreator.pm:
1198
1199 No need to check for circular dependencies here, it is now done
1200 when validating the dependencies.
1201
1202 * modules/WorkspaceCreator.pm:
1203
1204 Re-wrote the circular directory dependency detection code in order
1205 to detect multi-directory (3 or more) dependencies. This slowed
1206 things down a bit, so I had to find performance in other locations
1207 throughout the workspace creator.
1208
1209 Thu Jan 19 12:59:55 2006 Chad Elliott <[email protected]>
1210
1211 * USAGE:
1212 * modules/Driver.pm:
1213 * modules/Options.pm:
1214
1215 Added a new option, -gfeature_file, to specify the global feature
1216 file.
1217
1218 Thu Jan 19 12:30:18 2006 Chad Elliott <[email protected]>
1219
1220 * modules/VC71ProjectCreator.pm:
1221 * modules/VC7ProjectCreator.pm:
1222
1223 Moved a static hash table out of a method and into the local
1224 namespace (for performace reasons).
1225
1226 * modules/VC7WorkspaceCreator.pm:
1227 * templates/vc7csharp.mpd:
1228 * templates/vc7vb.mpd:
1229
1230 Removed the code that added references for csharp or vb. This was
1231 not necessary and in fact broke the projects.
1232
1233 * modules/VC8ProjectCreator.pm:
1234 * templates/vc8csharp.mpd:
1235 * templates/vc8csharp.mpt:
1236
1237 Added support for the vc8 style projects for csharp. Previously,
1238 the vc7 version for csharp was used and required conversion within
1239 vc8.
1240
1241 Wed Jan 18 15:12:40 2006 Chad Elliott <[email protected]>
1242
1243 * templates/nmake.mpd:
1244
1245 Modified the clean rule to just use del /s/f/q instead of listing
1246 out each object file. Thanks to Johnny Willemsen for debugging
1247 this.
1248
1249 Wed Jan 18 13:04:27 2006 Chad Elliott <[email protected]>
1250
1251 * modules/NMakeWorkspaceCreator.pm:
1252 * modules/TemplateParser.pm:
1253 * modules/VC7ProjectCreator.pm:
1254 * modules/VC7WorkspaceCreator.pm:
1255
1256 We need to keep track of the language for each project processed.
1257 This allows the VC7, VC71 and VC8 WorkspaceCreator's to put the
1258 right GUID in for the individual projects.
1259
1260 Tue Jan 17 07:25:29 2006 Chad Elliott <[email protected]>
1261
1262 * modules/FeatureParser.pm:
1263
1264 The previous change included a change to make features
1265 case-insensitive. This change was not complete and has been
1266 corrected.
1267
1268 Mon Jan 16 11:17:45 2006 Chad Elliott <[email protected]>
1269
1270 * MPC.ico:
1271
1272 Modified the MPC project icon to have the (P) on the left side
1273 instead of the right so that it looks better with Tortoise.
1274
1275 * modules/Creator.pm:
1276 * modules/WorkspaceCreator.pm:
1277
1278 Added support for using -language within a workspace. Previously,
1279 this was disallowed but there was no real reason for that.
1280
1281 * modules/FeatureParser.pm:
1282 * modules/ProjectCreator.pm:
1283 * modules/TemplateParser.pm:
1284
1285 Added support for accessing MPC features and their values.
1286
1287 * templates/html.mpd:
1288
1289 Added all of the MPC project keywords.
1290
1291 * templates/nmake.mpd:
1292
1293 Added the -i parameter to the depgen.pl script.
1294
1295 * templates/vc6dspdll.mpt:
1296
1297 Added the _WINDLL and _AFXDLL macros for the MFC configurations.
1298
1299 * templates/vc7.mpd:
1300
1301 Added the ability to set the GenerateMapFile setting. Thanks to
1302 David Hauck for providing the modification.
1303
1304 * templates/vc7csharp.mpd:
1305 * templates/vc7vb.mpd:
1306
1307 Added the ReferencePath setting so that libraries can be located
1308 (if referenced) and ensured that the 'install' setting worked as
1309 it does in all other templates. Thanks to Dan Troesser for
1310 providing the ReferencePath setting and pointing out the 'install'
1311 discrepancy.
1312
1313 Tue Jan 10 16:30:32 2006 Ossama Othman <[email protected]>
1314
1315 From Russell Mora <russell_mora at symantec dot com>
1316 * templates/nmake.mpd:
1317
1318 Add to manifest files, if `.manifest' file exists.
1319
1320 Mon Jan 9 08:30:14 2006 Chad Elliott <[email protected]>
1321
1322 * templates/nmake.mpd:
1323
1324 Corrected a bug reported by Johnny Willemsen where object files
1325 were not getting cleaned up if they contained a relative path with
1326 ".." in the name. In the process, I cleaned up the template a bit
1327 which should allow this type to be generated slightly faster.
1328
1329 Thu Jan 5 09:45:54 2006 Chad Elliott <[email protected]>
1330
1331 * modules/Creator.pm:
1332 * modules/DirectoryManager.pm:
1333 * modules/ProjectCreator.pm:
1334
1335 Made MPC more tolerant of file systems that are case insensitive.
1336 This will help with the relative path replacement on Windows and
1337 others that have this problematic type of file system.
1338
1339 Wed Jan 4 08:09:20 2006 Chad Elliott <[email protected]>
1340
1341 * modules/ProjectCreator.pm:
1342
1343 Fixed a bug where adding a grouped set of source files that are
1344 generated using a wildcard would cause a duplicate of the default
1345 group if files were added to a different after the generated
1346 group.
1347
1348 Tue Jan 3 08:26:34 2006 Chad Elliott <[email protected]>
1349
1350 * USAGE:
1351 * modules/Options.pm:
1352
1353 Added the possible language settings to the help message.
1354
1355 * templates/make.mpd:
1356 * templates/makedll.mpt:
1357
1358 Allow control of the 'genflags' setting with the 'optimize'
1359 template variable. This changes the default 'genflags' setting
1360 from -g to -O.
1361
1362 * templates/vc7.mpd:
1363 * templates/vc7dll.mpt:
1364 * templates/vc7exe.mpt:
1365 * templates/vc7lib.mpt:
1366 * templates/vc7libexe.mpt:
1367 * templates/vc8.mpd:
1368 * templates/vc8dll.mpt:
1369 * templates/vc8exe.mpt:
1370 * templates/vc8lib.mpt:
1371 * templates/vc8libexe.mpt:
1372
1373 Introduced a new template variable, 'debug_prj', which helps
1374 control which run-time library is used during linking.
1375 Previously, this was controled by the 'optimize' template
1376 variable, but building a "Release" configuration with 'optimize'
1377 turned off did not work where inline functions were used in other
1378 libraries (being linked in) where 'optimize' was left on.
1379
1380 Mon Dec 26 21:02:36 2005 Chad Elliott <[email protected]>
1381
1382 * templates/vc7.mpd:
1383 * templates/vc8.mpd:
1384
1385 Set the run-time library to a static version if either template
1386 variables type_is_static or need_staticflags are set.
1387
1388 Thu Dec 22 13:56:14 2005 J.T. Conklin <[email protected]>
1389
1390 * modules/AutomakeProjectCreator.pm:
1391
1392 Disable code that prefixed include paths with "$(srcdir)/". In
1393 some cases an include path should be relative to the source dir,
1394 in others it should be relative to the build dir, and sometimes
1395 it should be relative to both. Since it is impossible to guess
1396 which is the correct choice, require the *.mpc file to specify
1397 it correctly.
1398
1399 Thu Dec 22 15:17:30 2005 Chad Elliott <[email protected]>
1400
1401 * templates/vc7csharp.mpd:
1402
1403 Added a missing <%endif%>.
1404
1405 Thu Dec 22 08:30:56 2005 Chad Elliott <[email protected]>
1406
1407 * USAGE:
1408
1409 Update the usage to contain the 'bds' type.
1410
1411 * modules/Creator.pm:
1412
1413 Fixed a feature where $() variables were automatically expanded
1414 during a subtraction. Now, we only expand the $() variable if we
1415 could not find the subtraction value in the name value.
1416
1417 * templates/bds.mpd:
1418
1419 Modified the includes foreach to set the forcount base.
1420
1421 * templates/bdsdll.mpt:
1422 * templates/bdsexe.mpt:
1423
1424 Include the user_bds* file instead of the user_cbx* file.
1425
1426 Wed Dec 21 19:17:12 UTC 2005 Johnny Willemsen <[email protected]>
1427
1428 * templates/vc8platforms.mpt:
1429 Set the TargetMachine when building for EM64T
1430
1431 Wed Dec 21 18:55:12 UTC 2005 Johnny Willemsen <[email protected]>
1432
1433 * templates/bds.mpd:
1434 * templates/bdsdll.mpt:
1435 * templates/bdsexe.mpt:
1436 * modules/BDSProjectCreator.pm:
1437 * modules/BDSWorkspaceCreator.pm:
1438 Initial version of Borland Developer Studio template. Work is
1439 being done for the C++ personality. All files, compiler flags
1440 and libs are generated but some more work has to be done to
1441 use these for a full build. Now they are already useful for
1442 debugging apps that are build from the command line.
1443
1444 * modules/MPC.pm:
1445 * modules/MWC.pm:
1446 Added BDS files
1447
1448 Wed Dec 21 06:28:04 2005 Chad Elliott <[email protected]>
1449
1450 * MPC.ico:
1451 * registry.pl:
1452
1453 Added the ability to register the .mpc and .mwc file types as well
1454 as create context menus within the Windows explorer.
1455
1456 * PROBLEM-REPORT-FORM:
1457
1458 Fixed the URL for the MPC FAQ.
1459
1460 * README:
1461 * modules/TemplateParser.pm:
1462
1463 Added the ability to set the base for the <%forcount%> variable.
1464 See the README for details as to how to use this. Also, added
1465 code to only check for mixed values (scalars and hash maps) if the
1466 foreach value is not the name of an MPC project keyword.
1467
1468 * config/swig_java.mpb:
1469
1470 Added support for using SWIG with Java.
1471
1472 * modules/AutomakeProjectCreator.pm:
1473 * modules/Driver.pm:
1474 * modules/GHSProjectCreator.pm:
1475 * modules/HTMLProjectCreator.pm:
1476 * modules/MakeProjectCreator.pm:
1477
1478 Removed the convert_slashes() method. And use the default from
1479 DirectoryManager.pm.
1480
1481 * modules/Creator.pm:
1482
1483 Use File::Spec to determine file system capabilities to give the
1484 right warning message. Also added the ability to determine if any
1485 files were excluded when generating the default file list.
1486
1487 * modules/DirectoryManager.pm:
1488
1489 Corrected problems with using Cwd::getcwd() on VMS as it always
1490 leaves a trailing slash on the end which no other implementation
1491 does. Also, switched the convert_slashes() method to return zero
1492 as the default (which will require slightly less code overall in
1493 MPC).
1494
1495 * modules/HTMLWorkspaceCreator.pm:
1496 * templates/html.mpd:
1497
1498 Make the HTML acceptable by WC3 standards.
1499
1500 * modules/MakeWorkspaceCreator.pm:
1501
1502 Added a .PHONY: target for each named target. This will only work
1503 with GNU Make and won't hurt with other versions of make.
1504
1505 * modules/ProjectCreator.pm:
1506
1507 1) Check for case insensitivity (from a new method) when checking
1508 whether we should use upper or lower case in the
1509 expand_variables() method.
1510 2) Added an is_keyword() method to allow the TemplateParser to
1511 determine if a variable is an MPC project keyword or not.
1512 3) When adding the built-in OS compatibility methods, check the
1513 base class to see if it's a WinProjectBase to determine if the
1514 project type will be used on Windows or not.
1515
1516 * modules/WinProjectBase.pm:
1517
1518 For Windows based project types, define the convert_slashes() and
1519 case_insensitive() methods.
1520
1521 * modules/WorkspaceCreator.pm:
1522
1523 Fixed a bug where file exclusions given on the command line
1524 wouldn't work because somewhere down the line MPC would change
1525 directory and nothing would match up. Also, fixed a related bug
1526 where if all of the .mpc files normally contained within a
1527 workspace were excluded a default workspace would then be used
1528 possibly adding unwanted .mpc files.
1529
1530 * mpc.pl:
1531 * mwc.pl:
1532
1533 Finally corrected support for VMS. FindBin doesn't work on VMS if
1534 you use a relative directory, so we just use rel2abs() on the
1535 dirname of $0 in this situation.
1536
1537 * templates/bmake.mpd:
1538 * templates/bmakedll.mpt:
1539 * templates/bmakedllexe.mpt:
1540 * templates/bmakelibexe.mpt:
1541
1542 Modified these to move the binary compile flags into the template
1543 such that correct makefiles would be created if the user set the
1544 staticname to a valid name and set sharedname to empty.
1545
1546 * templates/ghs.mpd:
1547 * templates/ghsdll.mpt:
1548 * templates/ghsdllexe.mpt:
1549 * templates/ghslib.mpt:
1550
1551 Modified these to move the library extensions into the template
1552 such that correct build files would be created if the user set the
1553 staticname to a valid name and set sharedname to empty.
1554
1555 * templates/make.mpd:
1556
1557 Moved the output file to the last part of the link command line.
1558 Made "all" the default target for libraries. Parameterized the
1559 pch extension. Added better support for precompiled headers.
1560
1561 * templates/makedll.mpt:
1562
1563 Set the default pch extension to .gch. Renamed the cxx
1564 configuration to cxx_tru64. Added precompiled header support for
1565 SunCC (which was there as of SunCC 5.5). For SunCC 5.4 and below,
1566 use -value_template pchsupport= to turn off precompiled header
1567 support.
1568
1569 * templates/vc7.mpd:
1570 * templates/vc7dll.mpt:
1571 * templates/vc7exe.mpt:
1572 * templates/vc7lib.mpt:
1573 * templates/vc7libexe.mpt:
1574 * templates/vc8.mpd:
1575 * templates/vc8dll.mpt:
1576 * templates/vc8exe.mpt:
1577 * templates/vc8lib.mpt:
1578 * templates/vc8libexe.mpt:
1579
1580 Modified the RuntimeLibrary setting to choose the right value for
1581 static/dynamic configurations.
1582
1583 Tue Dec 6 06:36:27 2005 Chad Elliott <[email protected]>
1584
1585 * modules/WorkspaceCreator.pm:
1586
1587 Fixed a bug where MPC would go into an infinite loop (while
1588 generating an intermediate workspace) if there were duplicate
1589 project names within a single workspace. The sort_by_groups()
1590 method is being called prior to the method that checks for
1591 duplicate projects.
1592
1593 Mon Dec 5 14:17:35 2005 William Otte <[email protected]>
1594
1595 * config/boost_unit_test_framework.mpb
1596
1597 Automatic linking is not supported for the unit test
1598 framework, see http://boost.org/more/getting_started.html#auto-link.
1599
1600 Tue Nov 29 10:11:14 2005 William Otte <[email protected]>
1601
1602 * config/boost_date_time.mpb:
1603 * config/boost_filesystem.mpb:
1604 * config/boost_prg_exec_monitor.mpb:
1605 * config/boost_regex.mpb:
1606 * config/boost_signals.mpb:
1607 * config/boost_test_exec_monitor.mpb:
1608 * config/boost_thread.mpb:
1609 * config/boost_unit_test_framework.mpb:
1610
1611 Corrected a problem with my previous commit that broke boost
1612 on platforms other than gnuace and windows. Thanks to Chad
1613 Elliott and Kitty B. for pointing out the problem and suggesting
1614 a fix.
1615
1616 Mon Nov 21 15:23:40 2005 William Otte <[email protected]>
1617
1618 * config/boost_filesystem.mpb:
1619 * config/boost_regex.mpb:
1620
1621 Scoped the lit_libs directive inside of a gnuace specific
1622 block to take advantage of automatic library resolution provided
1623 by the Windows version of boost.
1624
1625 Mon Nov 21 09:26:35 2005 Chad Elliott <[email protected]>
1626
1627 * README:
1628 * modules/Creator.pm:
1629 * modules/ProjectCreator.pm:
1630
1631 Added a new clause (expand) that can be used to set the expansion
1632 values of a particular variable. This lets users define to what
1633 $(VAR_NAME) gets expanded within an mpc file. See the README for
1634 more information.
1635
1636 * mpc.pl:
1637 * mwc.pl:
1638 * modules/DirectoryManager.pm:
1639 * modules/WorkspaceCreator.pm:
1640 * templates/make.mpd:
1641 * templates/makedll.mpt:
1642
1643 Added better support for OpenVMS. This mainly entailed dealing
1644 with the .dir extension on directories and [] within wildcard
1645 specifications (as the OpenVMS glob() function does not handle
1646 these).
1647
1648 Wed Nov 16 08:30:51 2005 Chad Elliott <[email protected]>
1649
1650 * modules/Creator.pm:
1651 * modules/ProjectCreator.pm:
1652
1653 Fixed a bug where adding or subtracting a value with spaces would
1654 not work as expected. When adding, the value would be split at
1655 each whitespace. When subtracting, the value would never be
1656 removed.
1657
1658 Setting a variable with spaces worked correctly.
1659
1660 Mon Nov 14 12:06:15 2005 Chad Elliott <[email protected]>
1661
1662 * templates/nmake.mpd:
1663
1664 Corrected a problem in the realclean target where .dll, .lib and
1665 .exp files would not be deleted unless pdbc or pdbl template
1666 variables were defined.
1667
1668 Mon Nov 14 09:50:38 2005 Chad Elliott <[email protected]>
1669
1670 * modules/WorkspaceCreator.pm:
1671
1672 Fixed a bug where a project name that conflicts with a directory
1673 name would not get mapped in cases where the directory had
1674 multiple levels.
1675
1676 Mon Nov 14 07:40:19 2005 Chad Elliott <[email protected]>
1677
1678 * modules/WorkspaceCreator.pm:
1679
1680 Fixed a bug where sorting the projects (with a circular
1681 dependency) would run infinitely. This was identical to the
1682 problem fixed on Thu Apr 15 13:16:03 2004 just in a different
1683 scenario.
1684
1685 Thu Nov 10 12:23:43 2005 Chad Elliott <[email protected]>
1686
1687 * modules/TemplateParser.pm:
1688
1689 When checking for duplicate source files in duplicate_index(),
1690 always use lowercase (since this is currently only used on
1691 Windows).
1692
1693 Thu Nov 10 09:01:25 2005 Chad Elliott <[email protected]>
1694
1695 * templates/automake.mpd:
1696 * templates/bmake.mpd:
1697 * templates/em3.mpd:
1698 * templates/ghs.mpd:
1699 * templates/html.mpd:
1700 * templates/make.mpd:
1701 * templates/nmake.mpd:
1702 * templates/sle.mpd:
1703 * templates/vc6.mpd:
1704 * templates/vc7.mpd:
1705 * templates/vc7csharp.mpd:
1706 * templates/vc7vb.mpd:
1707 * templates/vc8.mpd:
1708
1709 Added a template variable, libname_prefix, that can be set to
1710 prefix all library names (sharedname, staticname and libs). Note
1711 that lit_libs and pure_libs are not affected.
1712
1713 Mon Nov 7 10:15:31 2005 Chad Elliott <[email protected]>
1714
1715 * modules/ProjectCreator.pm:
1716
1717 Fixed a bug where a given custom input file does not match the
1718 custom defined input extensions and no source files are
1719 given, the generated source file name would still have the input
1720 file extension in the name (with an escaped period).
1721
1722 Mon Nov 7 13:59:12 UTC 2005 Johnny Willemsen <[email protected]>
1723
1724 * config/boost_prg_exec_monitor.mpb:
1725 * config/boost_test_exec_monitor.mpb:
1726 * config/boost_unit_test_framework.mpb:
1727 Added borland
1728
1729 Fri Oct 28 14:58:59 2005 William Otte <[email protected]>
1730
1731 * config/global.features:
1732 * config/xerces.mpb:
1733
1734 Added a xerces feature to the xerces base project, similar to
1735 boost/zlib/zzip to allow disabling xerces specific projects.
1736
1737 Fri Oct 28 11:43:52 2005 Chad Elliott <[email protected]>
1738
1739 * config/swig_perl.mpb:
1740
1741 Added $(PERL5_INCLUDE) to the 'libpaths' as well as the 'includes'.
1742
1743 * templates/vc8.mpd:
1744
1745 Corrected two instances of subdir_output which only show up if you
1746 set the template variable 'pdbc'.
1747
1748 Sun Oct 23 08:14:12 UTC 2005 Johnny Willemsen <[email protected]>
1749
1750 * templates/bmake.mpd:
1751 Generate also includes for the resource compiler
1752
1753 Wed Oct 19 10:06:50 2005 Chad Elliott <[email protected]>
1754
1755 * config/boost_date_time.mpb:
1756 * config/boost_filesystem.mpb:
1757 * config/boost_prg_exec_monitor.mpb:
1758 * config/boost_regex.mpb:
1759 * config/boost_signals.mpb:
1760 * config/boost_test_exec_monitor.mpb:
1761 * config/boost_thread.mpb:
1762 * config/boost_unit_test_framework.mpb:
1763
1764 Added a $(BOOST_STATIC_LIB_PREFIX) to the library name for all
1765 boost libraries. For some reason, they insist on prepend 'lib' to
1766 the name of all static libraries on Windows. For
1767 unit_test_framework, prg_exec_monitor and test_exec_monitor, 'lib'
1768 is always prepended on Windows since these are currently always
1769 static. Thanks to Kevin Heifner for pointing this out.
1770
1771 Thu Oct 13 17:24:21 2005 Steve Huston <[email protected]>
1772
1773 * modules/VC8WorkspaceCreator.pm: Add the 3 magic bytes to the start
1774 of the .sln file that allow double-clicking on the .sln file's icon
1775 to auto-start Visual Studio.
1776
1777 Mon Oct 10 07:02:30 2005 Chad Elliott <[email protected]>
1778
1779 * modules/TemplateParser.pm:
1780
1781 Fixed a bug where mixed case template variables within a foreach
1782 context were not being evaluated case insensitively. This made it
1783 appear that these variables were not being set.
1784
1785 * templates/vc8.mpd:
1786
1787 Moved an endif to the correct location pertaining to precompiled
1788 headers. Too much was being included within an if which depended
1789 upon the pch_header setting.
1790
1791 Thanks to Thomas Rothfuss for reporting both of these bugs.
1792
1793 Fri Oct 7 13:50:49 2005 J.T. Conklin <[email protected]>
1794
1795 * modules/AutomakeWorkspaceCreator.pm:
1796
1797 Change the way RCS/CVS Id is emitted so it's the same as how it
1798 is expanded in souces checked out with -kk option. This allows
1799 us to regenerate ACE and TAO's Makefile.am files and only see
1800 the "real" differences.
1801
1802 Fri Oct 7 09:33:41 2005 J.T. Conklin <[email protected]>
1803
1804 * templates/automake.mpd:
1805
1806 Add support for custom file dependents.
1807
1808 Thu Oct 6 17:52:41 2005 Steve Huston <[email protected]>
1809
1810 * templates/vc8.mpd:
1811 * templates/vc8dll.mpt:
1812 * templates/vc8exe.mpt:
1813 * templates/vc8lib.mpt:
1814 * templates/vc8libexe.mpt:
1815 * templates/vc8platforms.mpt (new file):
1816 Added support for building Windows CE/Mobile from Visual Studio 2005.
1817 By default, only the regular desktop Win32 configurations will be
1818 generated, as before. The CE/mobile platform names can be specified
1819 using -value_templates platforms="....". The possible platform
1820 names are listed in vc8platforms.mpt.
1821
1822 To avoid overwriting outputs when building multiple platforms in
1823 the same ACE_wrappers directory, a platform can supply an
1824 output_subdir setting (see vc8platforms.mpt). If specified, vc8.mpd
1825 will use this in the Intermediate/OutputDirectory entries.
1826
1827 Tue Oct 4 06:35:13 2005 Chad Elliott <[email protected]>
1828
1829 * templates/vc7.mpd:
1830 * templates/vc8.mpd:
1831
1832 Improved MIDL support by adding generated files to the generated
1833 project to ensure that these generated files get cleaned up.
1834
1835 Fri Sep 30 07:46:54 2005 Chad Elliott <[email protected]>
1836
1837 * modules/BMakeWorkspaceCreator.pm:
1838 * modules/NMakeWorkspaceCreator.pm:
1839
1840 Corrected the directory changing code to take 2 or more deep
1841 relative paths into account. Thanks to Johnny Willemsen
1842 <[email protected]> for reporting this.
1843
1844 * templates/automake.mpd:
1845
1846 Optimized this template with respect to checking a variable before
1847 using foreach. The foreach already does this, so checking the
1848 variable before hand is a waste of time.
1849
1850 Mon Sep 26 07:10:17 2005 Chad Elliott <[email protected]>
1851
1852 * README:
1853 * modules/ProjectCreator.pm:
1854
1855 Added generic_pre_extension and generic_pre_filename custom build
1856 settings.
1857
1858 * templates/vc7.mpd:
1859 * templates/vc8.mpd:
1860
1861 Added support for the builtin Visual Studio MIDL.
1862
1863 * templates/vccommon.mpt:
1864
1865 Added a comment that this file is not common to Visual C++, just
1866 vc6.
1867
1868 Thu Sep 22 12:43:43 2005 J.T. Conklin <[email protected]>
1869
1870 * templates/automake.mpd:
1871
1872 Changed to output libs, lit_libs, and pure_libs on separate
1873 lines.
1874
1875 Tue Sep 20 08:47:21 2005 Chad Elliott <[email protected]>
1876
1877 * config/swig_perl.mpb:
1878
1879 Added an include for $(PERL5_INCLUDE).
1880
1881 * modules/TemplateInputReader.pm:
1882
1883 Allow "()." in scope names within .mpt files.
1884
1885 * modules/WorkspaceCreator.pm:
1886
1887 Provide the user with more information as to why workspace
1888 creation failed.
1889
1890 * templates/makedll.mpt:
1891
1892 Shared libraries are created on Solaris using the -G option (not
1893 -shared).
1894
1895 Mon Sep 12 10:47:28 2005 Justin Michel <[email protected]>
1896
1897 * clone_build_tree.pl:
1898
1899 Prevent cloning of .pch files, which are precompiled headers when
1900 using VC++.
1901
1902 Thu Sep 8 08:06:18 2005 J.T. Conklin <[email protected]>
1903
1904 * templates/automake.mpd:
1905
1906 Changed to output compile_flags on separate lines.
1907
1908 Changed to sort lists of source, header, and inline files
1909 to make output more deterministic.
1910
1911 Tue Sep 6 10:34:24 2005 Chad Elliott <[email protected]>
1912
1913 * config/swig_perl.mpb:
1914
1915 Added a base project for using SWIG with perl.
1916
1917 * templates/automake.mpd:
1918 * templates/bmake.mpd:
1919 * templates/em3.mpd:
1920 * templates/ghs.mpd:
1921 * templates/make.mpd:
1922 * templates/nmake.mpd:
1923 * templates/vc6.mpd:
1924 * templates/vc7.mpd:
1925 * templates/vc7csharp.mpd:
1926 * templates/vc7vb.mpd:
1927 * templates/vc8.mpd:
1928
1929 Change the position of the use of custom 'output_option' setting.
1930 Ensure that the input file is the last thing on the command line.
1931
1932 Mon Aug 29 08:52:15 2005 Chad Elliott <[email protected]>
1933
1934 * templates/vc7.mpd:
1935
1936 Enabled incremental linking as the default.
1937
1938 * templates/vc7dll.mpt:
1939 * templates/vc7exe.mpt:
1940
1941 Disable incremental linking in release mode as was done in
1942 Justin's change on Fri Aug 26 13:46:47 2005.
1943
1944 Mon Aug 29 12:41:12 UTC 2005 Johnny Willemsen <[email protected]>
1945
1946 * templates/nmakedll.mpt:
1947 * templates/nmakeexe.mpt:
1948 Added WinX86_64 as platform. This is Windows 64bit on EMT64.
1949
1950 Mon Aug 29 11:48:12 UTC 2005 Johnny Willemsen <[email protected]>
1951
1952 * templates/nmake.mpd:
1953 Made it possible to overrule cc, link and rc when generating the
1954 nmake project files
1955
1956 Fri Aug 26 14:32:48 2005 Justin Michel <[email protected]>
1957
1958 * clone_build_tree.pl:
1959
1960 Updated to prevent cloning of .suo files, which are used to store
1961 solution settings for VC++ 7+.
1962
1963 Fri Aug 26 13:46:47 2005 Justin Michel <[email protected]>
1964
1965 * templates/vc7libexe.mpt:
1966 * templates/vc8libexe.mpt:
1967
1968 It is invalid to enable incremental linking on release builds,
1969 because we also enabled comdat folding and reference optimization.
1970
1971 Mon Aug 22 11:57:03 2005 Chad Elliott <[email protected]>
1972
1973 * templates/vc8.mpd:
1974
1975 Fixed a bug in the template that caused static projects to have
1976 incorrect project settings.
1977
1978 Mon Aug 22 07:17:17 2005 Chad Elliott <[email protected]>
1979
1980 * MPC version 3.3.0 released.
1981
1982 Local Variables:
1983 add-log-time-format: current-time-string
1984 indent-tabs-mode: nil
1985 End: