2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 09:57:15 +01:00
Commit Graph

3213 Commits

Author SHA1 Message Date
bba5047716 Options: set argparse conflict_handler in constructor 2024-05-26 07:55:05 +00:00
Waf Project
0c0f49ce6f Update playground/updates 2024-05-25 19:33:04 +08:00
ita1024
b2f89369fc Merge branch 'a1batross-master-patch-59640' into 'master'
softlink_libs.py: fix printing default option value with argparse

See merge request ita1024/waf!2370
2024-05-25 08:52:28 +00:00
b94ec720d9 softlink_libs.py: fix printing default option value with argparse
As per argparse documentation
2024-05-25 01:39:55 +00:00
Waf Project
0d2f819d1e
waf-2.1.1 2024-05-21 20:52:15 +02:00
Waf Project
bdd70055df Due to arparse, Python >= 2.7 is now required 2024-05-21 20:36:19 +02:00
Waf Project
b47fceb86a Update more examples 2024-05-21 20:35:25 +02:00
Waf Project
69049d83b8 Update the javatest example 2024-05-20 23:45:39 +02:00
Waf Project
8d2ad010f5 Update the pyqt example 2024-05-20 23:37:27 +02:00
Waf Project
72db8e0240 Update the protobuf example 2024-05-20 23:24:32 +02:00
Waf Project
2485ab46cd Update the build file tracker example 2024-05-20 23:12:43 +02:00
Waf Project
68f84f9084 Fix the example in playground/rst 2024-05-20 21:04:25 +02:00
Waf Project
43c5ae670a Remove old broken examples 2024-05-19 15:59:06 +02:00
Waf Project
8a0ecaef5f Update another example 2024-05-19 15:28:36 +02:00
Waf Project
967abf694c Remove the dbus example since dbus-binding-tool is part of a deprecated library for D-Bus IPC 2024-05-19 12:46:04 +02:00
Waf Project
327471474f Options on the command-line should not raise conflicts by default 2024-05-19 12:44:53 +02:00
Waf Project
9ad45cb350 Update a few examples, and improve jni detection 2024-05-19 12:43:55 +02:00
Waf Project
149102f11f Argparse updates 2024-05-14 00:26:16 +02:00
Waf Project
4d0edd113a Print waf version 2024-05-12 02:20:25 +02:00
Waf Project
66a013ed28 waf-2.1.0
Signed-off-by: Waf Project <noreply@waf.io>
2024-05-02 00:03:48 +02:00
Waf Project
bd5c22d484 Move from optparse to argparse 2024-04-28 00:35:28 +02:00
Waf Project
a3fec9f0b3 Improve ldscript example 2024-04-21 06:59:27 +02:00
Waf Project
e0dcfae373 Update c_nec and c_emscripten 2024-04-16 00:25:45 +02:00
Waf Project
a7d05142c5 Update outdated playground examples 2024-04-07 19:34:00 +02:00
Waf Project
76f416ca14 Lock wafcache on non-posix systems 2024-04-01 17:02:15 +02:00
Waf Project
9f0773cfba Move wafcache optional imports 2024-04-01 11:18:07 +02:00
Waf Project
ec63a7dd38 Change _add_task to add_task in Runner.py - part 2 2024-04-01 09:35:13 +02:00
swaldhoer
974d0589fd Minor docs improvement 2024-03-29 12:02:50 +01:00
Waf Project
39413bedfd Update playground/ldscript 2024-03-28 16:47:29 +01:00
Waf Project
aef2c6ef23 Remove old Itanium references in msvc/ifort detection 2024-03-23 10:59:16 +01:00
Waf Project
456bd879bc Change _add_task to add_task in Runner.py 2024-03-23 10:58:59 +01:00
Waf Project
707b362685 Add the script path to OneApi Fortran compilers 2024-03-23 10:55:08 +01:00
6e675dfc30 Configure: remove unused error_handlers
ConfigurationContext's error_handlers isn't used anywhere in the whole project,
and it's unknown how it should've been implemented
2024-03-09 12:21:02 +01:00
Waf Project
d166646556 Reduce verbosity when both Qt5 and Qt6 are installed on a system
See aff9ec24a6
2024-03-09 12:16:56 +01:00
Federico Pellegrin
a0b8f6a2a3 qt5: Revert pattern matching libraries as that breaks libs like QtX3D 2024-03-09 11:10:48 +01:00
Waf Project
761ed9beda Describe why color_gcc.py is no longer relevant 2024-03-09 11:10:41 +01:00
Waf Project
ea1412b7e7 Avoid coloring all MSVC logs #2366 2024-03-09 11:10:34 +01:00
ita1024
53ca5a71ed Merge branch 'a1batross-waf-2.1-patch-93534' into 'waf-2.1'
extras: pthread: fix check for C mode with paranoid -Werror=old-style-declaration and -Werror=unused-variable

See merge request ita1024/waf!2365
2024-01-24 23:38:32 +00:00
611cd30114 extras: pthread: fix check for C mode with paranoid -Werror=old-style-declaration and -Werror=unused-variable 2024-01-23 21:46:06 +03:00
Wynn Wilkes
84ba1e9da0 Fix possible crash in ctx.cmd_and_log() when verbose mode is on
- When waf is run with -v, and it runs a call to context.cmd_and_log() with an argument list,
  argument[0] is a relative path, and a cwd **kwarg is passed so that the argument[0] resolves
  correctly, then the call will crash saying the program could not be found. For example, the
  caller may be wrapping calls using a nodejs environment like:

  ctx.cmd_and_log("./node_modules/bin/webpack", cwd="webui")

  and this will fail with "Program ./node_modules/.bin/webpack not found!"
  if waf is run with -v. The user friendly check for usable programs still
  stays in place for shell calls and absolute paths, but allows the caller
  to use this pattern even when verbose mode is on. This same fix was
  previously made for context.exec_command().
2024-01-12 14:28:29 +01:00
Waf Project
01b4c03a84 Improve Qt6 detection with msvc 2024-01-12 14:13:07 +01:00
Waf Project
97a54d72da Typo 2024-01-12 14:10:54 +01:00
Waf Project
5122ef89f2 Fix exec_command & waf -v & custom path in environment 2023-12-10 22:43:52 +01:00
Wynn Wilkes
4a650f3455 Fix possible crash in ctx.exec_command() when verbose mode is on
- When waf is run with -v, and it runs a call to context.exec_command() with an argument list,
  argument[0] is a relative path, and a cwd **kwarg is passed so that the argument[0] resolves
  correctly, then the call will crash saying the program could not be found. For example, the
  caller may be wrapping calls using a nodejs environment like:

  ctx.exec_command("./node_modules/bin/webpack", cwd="webui")

  and this will fail with "Program ./node_modules/.bin/webpack not found!"
  if waf is run with -v. The user friendly check for usable programs still
  stays in place for shell calls and absolute paths, but allows the caller
  to use this pattern even when verbose mode is on.
2023-12-10 22:43:42 +01:00
Michael Vincent
20b04dd137 Improve msvc log output 2023-12-07 21:53:03 +01:00
Waf Project
266a75a4ef Switch to nonstopmode for latex prompts #2421 2023-12-07 21:14:05 +01:00
Björn Lindqvist
18192437a0 glib-mkenums is a Python script no need to check for perl 2023-10-21 10:47:05 +02:00
Waf Project
37808b3de4 Update the public key from the main branch 2023-10-21 10:36:54 +02:00
Waf Project
d115501165 Duplicate the license to a file #2357
The license is in waf-light, but some people really want to have a file for it.
2023-10-21 10:17:57 +02:00
Björn Lindqvist
8b140fd541 Pass the args parameter through to parse_cmd_args 2023-10-21 10:05:03 +02:00