My favorites | Sign in
Google
Project hosting will be READ-ONLY Wednesday, 7AM PST due to brief network maintenance
       
Details: Show all Hide all

Last 30 days

  • Nov 04, 2009
    waf
    issue 556 (make node.abspath safer for regular files outside the source...) changed   -   proposal for API change: When calling node.abspath() special care is needed - the 'env' argument should be passed for nodes in the blddir only; passing it for other types of nodes (like '/usr/include' as demonstrated by the attached archive) leads to erroneous result. IMHO we should consider the ways to change abspath() such that nodes of type != BUILD would return the real absolute path always.
    Summary: make node.abspath safer for regular files outside the source directory
    Labels: Type-Enhancement Type-Defect
    proposal for API change: When calling node.abspath() special care is needed - the 'env' argument should be passed for nodes in the blddir only; passing it for other types of nodes (like '/usr/include' as demonstrated by the attached archive) leads to erroneous result. IMHO we should consider the ways to change abspath() such that nodes of type != BUILD would return the real absolute path always.
    Summary: make node.abspath safer for regular files outside the source directory
    Labels: Type-Enhancement Type-Defect
  • Nov 04, 2009
    waf
    issue 556 (erroneous absolute path for regular files outside the source...) commented on   -   so if, for example, I want to test the abspath for all files got in preprocessing, I should pass env only if the file is under bld.bldnode ? if so, why node.abspath don't do it iself ?
    so if, for example, I want to test the abspath for all files got in preprocessing, I should pass env only if the file is under bld.bldnode ? if so, why node.abspath don't do it iself ?
  • Nov 04, 2009
    waf
    issue 556 (erroneous absolute path for regular files outside the source...) commented on   -   so if, for example, I want to test the abspath for all files got in preprocessing, I should pass wnv only if the file is under bld.bldnode ? if so, why node.abspath don't do it iself ?
    so if, for example, I want to test the abspath for all files got in preprocessing, I should pass wnv only if the file is under bld.bldnode ? if so, why node.abspath don't do it iself ?
  • Nov 04, 2009
    waf
    issue 556 (erroneous absolute path for regular files outside the source...) commented on   -   can you explain please what are the expected problems ? (since there is a check for node.id, I thought that abspath(env) for ordinary path like '/bin' should work anyway.) Thanks.
    can you explain please what are the expected problems ? (since there is a check for node.id, I thought that abspath(env) for ordinary path like '/bin' should work anyway.) Thanks.
  • Nov 04, 2009
    waf
    issue 556 (erroneous absolute path for regular files outside the source...) commented on   -   this is not an API change but a bug fix.
    this is not an API change but a bug fix.
  • Nov 04, 2009
    waf
    r6784 (document the last fix in the ChangeLog. ) committed   -   document the last fix in the ChangeLog.
    document the last fix in the ChangeLog.
  • Nov 04, 2009
    waf
    issue 556 (erroneous absolute path for regular files outside the source...) Status changed   -   closed by http://code.google.com/p/waf/source/detail?r=6783
    Status: Fixed
    closed by http://code.google.com/p/waf/source/detail?r=6783
    Status: Fixed
  • Nov 04, 2009
    waf
    r6783 (closes http://code.google.com/p/waf/issues/detail?id=556 ) committed   -   closes http://code.google.com/p/waf/issues/detail?id=556
    closes http://code.google.com/p/waf/issues/detail?id=556
  • Nov 04, 2009
    waf
    issue 556 (erroneous absolute path for regular files outside the source...) reported   -   >> operating system: Ububtu 8.04 >> python version: 2.5.2 >> waf version (or svn revision): Revision: 6781 >> observed output and expected output: node = bld.root.find_resource('/bin') expected: node.abspath(bld.env) == '/bin' actual: node.abspath(bld.env) == '$HOME/$PROJECT/$BLDDIR/default/bin' >> testcase - how to reproduce? (provide attachments for testcase files) * download the attached file * tar xvfj defective_abspath-0.5.tar.bz2 * waf configure build
    >> operating system: Ububtu 8.04 >> python version: 2.5.2 >> waf version (or svn revision): Revision: 6781 >> observed output and expected output: node = bld.root.find_resource('/bin') expected: node.abspath(bld.env) == '/bin' actual: node.abspath(bld.env) == '$HOME/$PROJECT/$BLDDIR/default/bin' >> testcase - how to reproduce? (provide attachments for testcase files) * download the attached file * tar xvfj defective_abspath-0.5.tar.bz2 * waf configure build
  • Nov 03, 2009
    issue 4 (feature request: graphical jump) reported   -   Hi, One cool missing feature is jump in GUI. That means, scroll the cursor to a line and the debugger will jump there. (as in Visual studio, VB, VBA in office etc.) Thanks a lot !
    Hi, One cool missing feature is jump in GUI. That means, scroll the cursor to a line and the debugger will jump there. (as in Visual studio, VB, VBA in office etc.) Thanks a lot !

Earlier this year

  • Oct 25, 2009
    waf
    r6775 (English typo ) committed   -   English typo
    English typo
  • Oct 22, 2009
    waf
    r6769 (unused variable ) committed   -   unused variable
    unused variable
  • Oct 14, 2009
    waf
    r6764 (only dest_os tests are failing now... ) committed   -   only dest_os tests are failing now...
    only dest_os tests are failing now...
  • Oct 14, 2009
    waf
    r6763 (better test - make sure the correct error was raised ) committed   -   better test - make sure the correct error was raised
    better test - make sure the correct error was raised
  • Oct 14, 2009
    waf
    r6762 (these tests are specific for cc (and debug level is going to...) committed   -   these tests are specific for cc (and debug level is going to die in Waf 1.6 anyway...)
    these tests are specific for cc (and debug level is going to die in Waf 1.6 anyway...)
  • Oct 14, 2009
    waf
    r6761 (these tests are specific for cxx now (and debug level is goi...) committed   -   these tests are specific for cxx now (and debug level is going to die in Waf 1.6 anyway...
    these tests are specific for cxx now (and debug level is going to die in Waf 1.6 anyway...
  • Oct 14, 2009
    waf
    r6760 (fixed more tests - moved to specific cxx/cc ) committed   -   fixed more tests - moved to specific cxx/cc
    fixed more tests - moved to specific cxx/cc
  • Oct 13, 2009
    waf
    r6759 (the wscript_errors test is working now, too ) committed   -   the wscript_errors test is working now, too
    the wscript_errors test is working now, too
  • Oct 13, 2009
    waf
    r6757 (this test doesn't work yet, but it's going to... target_plat...) committed   -   this test doesn't work yet, but it's going to... target_platform -> dest_os
    this test doesn't work yet, but it's going to... target_platform -> dest_os
  • Oct 13, 2009
    waf
    r6756 (this test works now ) committed   -   this test works now
    this test works now
  • Oct 13, 2009
    waf
    CodeSnippets (Various code snippets for common use cases.) Wiki page edited   -   Revision r6754 Edited wiki page through web user interface: Run LINT on all source files
    Revision r6754 Edited wiki page through web user interface: Run LINT on all source files
  • Oct 13, 2009
    waf
    issue 546 (running waf first time (w/o configure) results in assertione...) Labels changed   -   yes, it works (tested with python 2.5 & python 3.1.1 on Windows XP)
    Labels: Type-Defect
    yes, it works (tested with python 2.5 & python 3.1.1 on Windows XP)
    Labels: Type-Defect
  • Oct 12, 2009
    waf
    r6753 (empty stub for set_options is no longer required ) committed   -   empty stub for set_options is no longer required
    empty stub for set_options is no longer required
  • Sep 13, 2009
    waf
    r6694 (typo ) committed   -   typo
    typo
  • Aug 31, 2009
    waf
    r6661 (removes unused attribute and avoid the general "Exception", ...) committed   -   removes unused attribute and avoid the general "Exception", thus don't trap KeyboardInterrupt and such.
    removes unused attribute and avoid the general "Exception", thus don't trap KeyboardInterrupt and such.
  • Aug 30, 2009
    waf
    issue 516 (waf cannot rebuild a project after moving the project's dire...) Status changed   -   sorry, but it solved for me, and I didn't get what are the serious problems it cause. Can you explain a little bit, please ? Thanks !
    Status: WontFix
    sorry, but it solved for me, and I didn't get what are the serious problems it cause. Can you explain a little bit, please ? Thanks !
    Status: WontFix
  • Aug 30, 2009
    waf
    issue 516 (waf cannot rebuild a project after moving the project's dire...) Status changed   -   after the fix, it's still worth the following: (unused attribute + avoid the general "Exception" [traps KeyboardInterrupt and others]) apply ? Index: wafadmin/Tools/ccroot.py =================================================================== --- wafadmin/Tools/ccroot.py (revision 6660) +++ wafadmin/Tools/ccroot.py (working copy) @@ -600,12 +600,12 @@ path = self.outputs[0].abspath(self.env) try: os.remove(path) - except OSError, e: + except OSError: pass try: os.symlink(self.inputs[0].name, path) - except Exception, e: + except OSError: return 1 cls = Task.task_type_from_func('vnum', func=exec_vnum_link, ext_in='.bin', color='CYAN')
    Status: Patch
    after the fix, it's still worth the following: (unused attribute + avoid the general "Exception" [traps KeyboardInterrupt and others]) apply ? Index: wafadmin/Tools/ccroot.py =================================================================== --- wafadmin/Tools/ccroot.py (revision 6660) +++ wafadmin/Tools/ccroot.py (working copy) @@ -600,12 +600,12 @@ path = self.outputs[0].abspath(self.env) try: os.remove(path) - except OSError, e: + except OSError: pass try: os.symlink(self.inputs[0].name, path) - except Exception, e: + except OSError: return 1 cls = Task.task_type_from_func('vnum', func=exec_vnum_link, ext_in='.bin', color='CYAN')
    Status: Patch
  • Aug 30, 2009
    waf
    issue 516 (waf cannot rebuild a project after moving the project's dire...) Status changed   -   This patch resolve it. apply ? Index: wafadmin/Build.py =================================================================== --- wafadmin/Build.py (revision 6657) +++ wafadmin/Build.py (working copy) @@ -414,8 +414,7 @@ Node.Nodu = self.node_class self.root = Node.Nodu('', None, Node.DIR) - if not self.srcnode: - self.srcnode = self.root.ensure_dir_node_from_path(srcdir) + self.srcnode = self.root.ensure_dir_node_from_path(srcdir) debug('build: srcnode is %s and srcdir %s' % (self.srcnode.name, srcdir)) self.path = self.srcnode @@ -424,8 +423,7 @@ try: os.makedirs(blddir) except OSError: pass - if not self.bldnode: - self.bldnode = self.root.ensure_dir_node_from_path(blddir) + self.bldnode = self.root.ensure_dir_node_from_path(blddir) self.init_variants()
    Status: Patch
    This patch resolve it. apply ? Index: wafadmin/Build.py =================================================================== --- wafadmin/Build.py (revision 6657) +++ wafadmin/Build.py (working copy) @@ -414,8 +414,7 @@ Node.Nodu = self.node_class self.root = Node.Nodu('', None, Node.DIR) - if not self.srcnode: - self.srcnode = self.root.ensure_dir_node_from_path(srcdir) + self.srcnode = self.root.ensure_dir_node_from_path(srcdir) debug('build: srcnode is %s and srcdir %s' % (self.srcnode.name, srcdir)) self.path = self.srcnode @@ -424,8 +423,7 @@ try: os.makedirs(blddir) except OSError: pass - if not self.bldnode: - self.bldnode = self.root.ensure_dir_node_from_path(blddir) + self.bldnode = self.root.ensure_dir_node_from_path(blddir) self.init_variants()
    Status: Patch
  • Aug 30, 2009
    waf
    issue 516 (waf cannot rebuild a project after moving the project's dire...) reported   -   >> waf version (or svn revision): trunk >> how to reproduce the problem? cd ~/waf/demos/adv waf configure build cd /tmp mv ~/waf/demos/adv . cd adv waf configure waf --> failed: cannot find config.h cannot find config.h cannot find src/another_config.h Traceback (most recent call last): File "/homes/yinon/projects/waf_trunk/waf", line 148, in <module> Scripting.prepare(t, cwd, VERSION, wafdir) File "/homes/yinon/projects/waf_trunk/wafadmin/Scripting.py", line 142, in prepare prepare_impl(t, cwd, ver, wafdir) File "/homes/yinon/projects/waf_trunk/wafadmin/Scripting.py", line 132, in prepare_impl main() File "/homes/yinon/projects/waf_trunk/wafadmin/Scripting.py", line 185, in main fun(ctx) File "/homes/yinon/projects/waf_trunk/wafadmin/Scripting.py", line 382, in build return build_impl(bld) File "/homes/yinon/projects/waf_trunk/wafadmin/Scripting.py", line 392, in build_impl bld.load_envs() File "/homes/yinon/projects/waf_trunk/wafadmin/Build.py", line 358, in load_envs self.node_sigs[env.variant()][newnode.id] = hash AttributeError: 'NoneType' object has no attribute 'id
    >> waf version (or svn revision): trunk >> how to reproduce the problem? cd ~/waf/demos/adv waf configure build cd /tmp mv ~/waf/demos/adv . cd adv waf configure waf --> failed: cannot find config.h cannot find config.h cannot find src/another_config.h Traceback (most recent call last): File "/homes/yinon/projects/waf_trunk/waf", line 148, in <module> Scripting.prepare(t, cwd, VERSION, wafdir) File "/homes/yinon/projects/waf_trunk/wafadmin/Scripting.py", line 142, in prepare prepare_impl(t, cwd, ver, wafdir) File "/homes/yinon/projects/waf_trunk/wafadmin/Scripting.py", line 132, in prepare_impl main() File "/homes/yinon/projects/waf_trunk/wafadmin/Scripting.py", line 185, in main fun(ctx) File "/homes/yinon/projects/waf_trunk/wafadmin/Scripting.py", line 382, in build return build_impl(bld) File "/homes/yinon/projects/waf_trunk/wafadmin/Scripting.py", line 392, in build_impl bld.load_envs() File "/homes/yinon/projects/waf_trunk/wafadmin/Build.py", line 358, in load_envs self.node_sigs[env.variant()][newnode.id] = hash AttributeError: 'NoneType' object has no attribute 'id
  • Aug 30, 2009
    waf
    r6658 (print is a function in Python 3 ) committed   -   print is a function in Python 3
    print is a function in Python 3
  • Aug 26, 2009
    waf
    r6619 (another demo - prints all dependencies ) committed   -   another demo - prints all dependencies
    another demo - prints all dependencies
  • Aug 26, 2009
    waf
    r6618 (unused imports ) committed   -   unused imports
    unused imports
  • Aug 23, 2009
    waf
    r6615 (typo (English) ) committed   -   typo (English)
    typo (English)
  • Aug 23, 2009
    waf
    r6610 (set_options() is not required anymore ) committed   -   set_options() is not required anymore
    set_options() is not required anymore
  • Aug 10, 2009
    waf
    issue 499 (second feature is prefixed by 'c') Status changed   -   the new API is new_task_gen(features='cxx my_feature'...)
    Status: NoSeriously
    the new API is new_task_gen(features='cxx my_feature'...)
    Status: NoSeriously
  • Aug 10, 2009
    waf
    issue 499 (second feature is prefixed by 'c') reported   -   >> waf version (or svn revision): trunk >> observed output and expected output: new_task_gen('cxx', 'my_feature', ...) should use the feature 'my_feature', but ccroot add 'c' before >> how to reproduce the problem? tar xvfj the attached file, then waf configure build expected output: 'gaga' then 'cdada' should be printed actual output: feature 'cgaga' does not exist - bind at least one method to it cdada >> testcase with description of the attachment attached
    >> waf version (or svn revision): trunk >> observed output and expected output: new_task_gen('cxx', 'my_feature', ...) should use the feature 'my_feature', but ccroot add 'c' before >> how to reproduce the problem? tar xvfj the attached file, then waf configure build expected output: 'gaga' then 'cdada' should be printed actual output: feature 'cgaga' does not exist - bind at least one method to it cdada >> testcase with description of the attachment attached
  • Aug 10, 2009
    waf
    r6505 (correct URL ) committed   -   correct URL
    correct URL
  • Aug 09, 2009
    waf
    Uselib (reduce script maintenance by adding flags automatically from...) Wiki page edited   -   Revision r6503 Edited wiki page: create_obj --> new_task_gen
    Revision r6503 Edited wiki page: create_obj --> new_task_gen
  • Aug 04, 2009
    waf
    r6498 (concise version of the same demo ) committed   -   concise version of the same demo
    concise version of the same demo
  • Aug 04, 2009
    waf
    r6497 (unused module ) committed   -   unused module
    unused module
  • Aug 03, 2009
    waf
    Variants (Build the same programs with different flags and at the same...) Wiki page edited   -   Revision r6496 Variants wiki page: safely remove values from an environment
    Revision r6496 Variants wiki page: safely remove values from an environment
  • Aug 03, 2009
    waf
    r6495 (demonstrate removing flags as well. ) committed   -   demonstrate removing flags as well.
    demonstrate removing flags as well.
  • Aug 03, 2009
    waf
    r6494 (unused variable (API change - Waf 1.6) ) committed   -   unused variable (API change - Waf 1.6)
    unused variable (API change - Waf 1.6)
  • Aug 03, 2009
    waf
    r6493 (Creating branch for waf 1.6 (future release)) committed   -   Creating branch for waf 1.6 (future release)
    Creating branch for waf 1.6 (future release)
  • Jul 28, 2009
    waf
    r6473 (typo ) committed   -   typo
    typo
  • Jul 05, 2009
    waf
    r6403 (set_options is not mandatory these days... ) committed   -   set_options is not mandatory these days...
    set_options is not mandatory these days...
  • Jun 25, 2009
    waf
    r6368 (cleanup ) committed   -   cleanup
    cleanup
  • Jun 25, 2009
    waf
    r6367 (handy utility for debugging the Node zone ) committed   -   handy utility for debugging the Node zone
    handy utility for debugging the Node zone
  • Jun 23, 2009
    waf
    r6364 (now that header files are generated too, schedule the task f...) committed   -   now that header files are generated too, schedule the task for execution before any other task that might use the headers. Thanks for Thomas for point that out.
    now that header files are generated too, schedule the task for execution before any other task that might use the headers. Thanks for Thomas for point that out.
  • Jun 23, 2009
    waf
    r6360 (revert rev. 6355 ) committed   -   revert rev. 6355
    revert rev. 6355