Changeset 535 for CMT/HEAD/ChangeLog
- Timestamp:
- Mar 26, 2010, 11:56:50 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CMT/HEAD/ChangeLog
r534 r535 1 2010-03-26 <rybkin@lal.in2p3.fr> 422 2 3 * source/cmt_system.cxx: In function CMTPathManager::do_add_cmt_path, 4 ensure that projects created from CMTPATH environment variable entries do 5 not become each others children-parents automatically (that will be 6 based on use statements in project.cmt files). Ensure that command exit 7 status is returned by CmtSystem::execute (const cmt_string&, cmt_string&) 8 * source/cmt_database.h: Introduce member m_ordered_projects to keep vector 9 of pointers to the ordered projects and function ordered_projects to return 10 that 11 * source/cmt_database.cxx: Implement function ordered_projects 12 * source/cmt_project.h: Introduce functions order_all, set_is_current, 13 is_current, erase_child, and member m_is_current 14 * source/cmt_project.cxx: Implement introduced functions. In function 15 ProjectFactory::create_project, call Project::order_all () if projects 16 dependencies are updated or new project is created, call 17 Cmt::get_current_dir_real to determine (and set the project member 18 accordingly) whether project is current or not, do NOT make project that 19 has no parent the top project. In function get_current, make use of 20 is_current rather than pwd. Function Project::ordered_projects now only 21 returns ordered projects pointers vector, projects ordering is done in 22 Project::order_all. Ordering starts with current project, if exists, and 23 projects without parents, if current project does not exist or has no 24 parents and no children (the case for projects created from CMTPATH 25 environment variable entries), and aims to put parents before children 26 in projects order. If current project exists, only ordered projects are 27 present in ordered projects vector. For projects without parents and 28 without children, strategies are updated from the project next after 29 them in the ordered projects vector. In function Project::show_all, always 30 show all projects (rather than children of current or first project only), 31 first show ordered projects, then show the rest. In function Project::visit, 32 do not reorder current project if exists. Implement functions is_current, 33 set_is_current, erase_child. In function container_action, start search 34 from project m_cmtpath_pwd, if container is found, ensure its real_path is 35 absolute path 36 * source/cmt_use.h: Add helper function get_info to return use info as 37 string 38 * source/cmt_use.cxx: In function show_all, for home_package and 39 user_context_package use version assigned when they are created rather 40 than hard-wire version here, set error package_not_found if there are uses 41 that are not located. In function reach_package, consider case of empty 42 version. Implement get_info and make use of it in function Use::add 43 * source/cmt_pattern.cxx: In function ApplyPattern::action, always print 44 warning pattern_not_found, if appropriate, but do not set error (for now) 45 * source/cmt_syntax.cxx: In functions do_parse_requirements, do_parse_words, 46 clear syntax_error only, and print error messages in case of syntax_error 47 only 48 * source/cmt_log.h: Add CmtMessage::verbose function 49 * source/cmt.h: Introduce functions get_current_dir_real, get_current_path, 50 set_recursive 51 * source/cmt_parser.cxx: Implement introduced functions, in function 52 use_special_requirements, set use m_located member value to true, if 53 requirements file exists 54 * source/cmt_vcs.h: In class Vcs, introduce functions checkout_context, 55 parse_arguments, resolve_uses, introduce class IUseVisitor 56 * source/cmt_vcs.cxx: Introduce and implement class GlobalProjectAction, 57 class Packages, in order to generate uses available via current context 58 and search for specific packages among them. Rewrite class Walkthru to 59 accept an implementation of IUseVisitor interface, replace parse_checkout 60 with parse_arguments with new options -C, -i, and implement new 61 parse_checkout, in particular, in order to implement new options -C, -i. 62 Introduce helper classes VisitorForInfo, VisitorForCheckout implementing 63 IUseVisitor interface, enhance Vcs::checkout_module to allow for HEAD, 64 head, TRUNK, trunk to be used as arguments of option -r. Implement 65 functions visit, Vcs::checkout_context, Vcs::resolve_uses in order to 66 implement option -C, enhance Vcs::checkout_from_requirements in order to 67 implement option -i 68 * src/Makefile.header: Improve a diagnostic message 69 * src/Makefile.core: Do not ignore errors in command lines beginning with 70 macro echo 71 * mgr/cmt_dependencies.make: Update 72 1 73 2010-02-25 <rybkin@lal.in2p3.fr> 421 2 74
Note: See TracChangeset
for help on using the changeset viewer.