Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve apis #5009

Merged
merged 2 commits into from
Apr 24, 2024
Merged

improve apis #5009

merged 2 commits into from
Apr 24, 2024

Conversation

waruqi
Copy link
Member

@waruqi waruqi commented Apr 24, 2024

-- the api kind:
--  - description
--    - builtin api
--    - builtin module api
--    - scope api
--  - script
--    - builtin api
--    - builtin module api
--    - extension module api
--    - instance api
description_builtin_apis:
add_moduledirs      add_packagedirs     add_platformdirs
add_plugindirs      add_repositories    add_requireconfs
add_requires        format              get_config
getenv              has_config          has_package
includes            ipairs              is_arch
is_config           is_cross            is_host
is_kind             is_mode             is_os
is_plat             is_subhost          pairs
print               printf              set_allowedarchs
set_allowedmodes    set_allowedplats    set_config
set_defaultarchs    set_defaultmode     set_defaultplat
set_description     set_project         set_xmakever
tonumber            tostring            type
unpack

script_builtin_module_apis:
coroutine.create        coroutine.resume                coroutine.running
coroutine.status        coroutine.wrap                  coroutine.yield
debug.collectgarbage    debug.debug                     debug.getfenv
debug.gethook           debug.getinfo                   debug.getlocal
debug.getmetatable      debug.getregistry               debug.getupvalue
debug.getuservalue      debug.global                    debug.rawequal
debug.rawget            debug.rawlen                    debug.rawset
debug.require           debug.setcstacklimit            debug.setfenv
debug.sethook           debug.setlocal                  debug.setmetatable
debug.setupvalue        debug.setuservalue              debug.traceback
debug.upvalueid         debug.upvaluejoin               hash.md5
hash.sha1               hash.sha256                     hash.uuid
hash.uuid4              hash.xxhash128                  hash.xxhash64
io.cat                  io.flush                        io.gsub
io.insert               io.isatty                       io.lines
io.load                 io.open                         io.openlock
io.print                io.printf                       io.read
io.readable             io.readfile                     io.replace
io.save                 io.stdfile                      io.tail
io.write                io.writefile                    linuxos.kernelver
linuxos.name            linuxos.version                 macos.version
math.abs                math.acos                       math.asin
math.atan               math.atan2                      math.ceil
math.cos                math.cosh                       math.deg
math.exp                math.floor                      math.fmod
math.frexp              math.isinf                      math.isint
math.isnan              math.ldexp                      math.log
math.log10              math.max                        math.min
math.modf               math.pow                        math.rad
math.random             math.randomseed                 math.sin
math.sinh               math.sqrt                       math.tan
math.tanh               math.tointeger                  math.type
math.ult                os.addenv                       os.addenvp
os.addenvs              os.arch                         os.args
os.argv                 os.atexit                       os.cd
os.cp                   os.cpuinfo                      os.curdir
os.date                 os.default_njob                 os.dirs
os.emptydir             os.exec                         os.execv
os.exists               os.exit                         os.features
os.filedirs             os.files                        os.filesize
os.fscase               os.getenv                       os.getenvs
os.getpid               os.getwinsize                   os.host
os.iorun                os.iorunv                       os.is_arch
os.is_host              os.is_subarch                   os.is_subhost
os.isdir                os.isexec                       os.isfile
os.islink               os.isroot                       os.joinenvs
os.ln                   os.match                        os.mclock
os.meminfo              os.mkdir                        os.mtime
os.mv                   os.nuldev                       os.pbcopy
os.pbpaste              os.programdir                   os.programfile
os.projectdir           os.projectfile                  os.raise
os.readlink             os.rm                           os.rmdir
os.run                  os.runv                         os.scriptdir
os.setenv               os.setenvp                      os.setenvs
os.shell                os.sleep                        os.strerror
os.subarch              os.subhost                      os.syserror
os.term                 os.time                         os.tmpdir
os.tmpfile              os.touch                        os.trycp
os.trymv                os.tryrm                        os.vcp
os.vexec                os.vexecv                       os.vln
os.vmv                  os.vrm                          os.vrun
os.vrunv                os.workingdir                   os.xmakever
path.absolute           path.basename                   path.cygwin
path.cygwin_path        path.directory                  path.envsep
path.extension          path.filename                   path.instance_of
path.is_absolute        path.islastsep                  path.join
path.joinenv            path.new                        path.normalize
path.pattern            path.relative                   path.sep
path.split              path.splitenv                   path.translate
path.unix               string.byte                     string.char
string.convert          string.decode                   string.deserialize
string.dump             string.encode                   string.endswith
string.find             string.format                   string.gmatch
string.gsub             string.ipattern                 string.lastof
string.len              string.levenshtein              string.lower
string.ltrim            string.match                    string.pack
string.packsize         string.rep                      string.replace
string.reverse          string.rtrim                    string.serialize
string.split            string.startswith               string.sub
string.trim             string.tryformat                string.unpack
string.upper            string.vformat                  string.wcswidth
string.wcwidth          table.append                    table.clear
table.clone             table.concat                    table.contains
table.copy              table.copy2                     table.empty
table.find              table.find_first                table.find_first_if
table.find_if           table.getn                      table.imap
table.inherit           table.inherit2                  table.insert
table.is_array          table.is_dictionary             table.join
table.join2             table.keys                      table.map
table.maxn              table.move                      table.new
table.orderkeys         table.orderpairs                table.pack
table.remove            table.remove_if                 table.reverse
table.reverse_unique    table.shallow_join              table.shallow_join2
table.slice             table.sort                      table.swap
table.to_array          table.unique                    table.unpack
table.unwrap            table.values                    table.wrap
table.wrap_lock         table.wrap_unlock               utils.assert
utils.confirm           utils.cprint                    utils.cprintf
utils.dprint            utils.dprintf                   utils.dump
utils.error             utils.print                     utils.printf
utils.trycall           utils.vprint                    utils.vprintf
utils.warning           utils.wprint                    winos.ansi_cp
winos.cmdargv           winos.inherit_handles_safely    winos.oem_cp
winos.registry_keys     winos.registry_query            winos.registry_values
winos.short_path        winos.version                   xmake.arch
xmake.argv              xmake.branch                    xmake.luajit
xmake.programdir        xmake.programfile               xmake.version

description_scope_apis:
is_arch                       is_host                       is_mode
is_plat                       option.add_deps               option.add_features
option.add_imports            option.add_vectorexts         option.after_check
option.before_check           option.on_check               option.set_category
option.set_configvar          option.set_default            option.set_description
option.set_languages          option.set_optimize           option.set_showmenu
option.set_values             option.set_warnings           package.add_components
package.add_configs           package.add_deps              package.add_extsources
package.add_imports           package.add_patches           package.add_resources
package.add_urls              package.add_versionfiles      package.add_versions
package.on_component          package.on_download           package.on_fetch
package.on_install            package.on_load               package.on_test
package.set_arch              package.set_base              package.set_cachedir
package.set_description       package.set_homepage          package.set_installdir
package.set_kind              package.set_license           package.set_parallelize
package.set_plat              package.set_policy            package.set_sourcedir
package.set_urls              rule.add_deps                 rule.add_imports
rule.after_build              rule.after_build_file         rule.after_build_files
rule.after_buildcmd           rule.after_buildcmd_file      rule.after_buildcmd_files
rule.after_clean              rule.after_install            rule.after_installcmd
rule.after_link               rule.after_linkcmd            rule.after_load
rule.after_package            rule.after_run                rule.after_test
rule.after_uninstall          rule.after_uninstallcmd       rule.before_build
rule.before_build_file        rule.before_build_files       rule.before_buildcmd
rule.before_buildcmd_file     rule.before_buildcmd_files    rule.before_clean
rule.before_install           rule.before_installcmd        rule.before_link
rule.before_linkcmd           rule.before_load              rule.before_package
rule.before_run               rule.before_test              rule.before_uninstall
rule.before_uninstallcmd      rule.on_build                 rule.on_build_file
rule.on_build_files           rule.on_buildcmd              rule.on_buildcmd_file
rule.on_buildcmd_files        rule.on_clean                 rule.on_config
rule.on_install               rule.on_installcmd            rule.on_link
rule.on_linkcmd               rule.on_load                  rule.on_package
rule.on_run                   rule.on_test                  rule.on_uninstall
rule.on_uninstallcmd          rule.set_extensions           rule.set_kind
rule.set_sourcekinds          target.add_cleanfiles         target.add_configfiles
target.add_deps               target.add_extrafiles         target.add_filegroups
target.add_files              target.add_imports            target.add_installfiles
target.add_languages          target.add_options            target.add_packages
target.add_rules              target.add_runenvs            target.add_tests
target.add_toolchains         target.add_values             target.add_vectorexts
target.after_build            target.after_build_file       target.after_build_files
target.after_clean            target.after_install          target.after_installcmd
target.after_link             target.after_load             target.after_package
target.after_run              target.after_test             target.after_uninstall
target.after_uninstallcmd     target.before_build           target.before_build_file
target.before_build_files     target.before_clean           target.before_install
target.before_installcmd      target.before_link            target.before_package
target.before_run             target.before_test            target.before_uninstall
target.before_uninstallcmd    target.del_files              target.on_build
target.on_build_file          target.on_build_files         target.on_clean
target.on_config              target.on_install             target.on_installcmd
target.on_link                target.on_load                target.on_package
target.on_run                 target.on_test                target.on_uninstall
target.on_uninstallcmd        target.remove_configfiles     target.remove_extrafiles
target.remove_files           target.remove_headerfiles     target.remove_installfiles
target.set_arch               target.set_basename           target.set_configdir
target.set_configvar          target.set_default            target.set_dependir
target.set_enabled            target.set_encodings          target.set_exceptions
target.set_extension          target.set_filename           target.set_fpmodels
target.set_group              target.set_installdir         target.set_kind
target.set_languages          target.set_license            target.set_objectdir
target.set_optimize           target.set_options            target.set_plat
target.set_policy             target.set_prefixname         target.set_rules
target.set_runargs            target.set_rundir             target.set_runenv
target.set_runtimes           target.set_strip              target.set_suffixname
target.set_symbols            target.set_targetdir          target.set_toolchains
target.set_toolset            target.set_values             target.set_version
target.set_warnings           toolchain.add_runenvs         toolchain.add_toolset
toolchain.on_check            toolchain.on_load             toolchain.set_archs
toolchain.set_bindir          toolchain.set_cross           toolchain.set_description
toolchain.set_formats         toolchain.set_homepage        toolchain.set_kind
toolchain.set_runtimes        toolchain.set_sdkdir          toolchain.set_toolset

script_extension_module_apis:
async.runjobs                                        cli.amalgamate                                          core.base.base64.decode
core.base.base64.encode                              core.base.bit.band                                      core.base.bit.bnot
core.base.bit.bor                                    core.base.bit.bxor                                      core.base.bit.lshift
core.base.bit.rshift                                 core.base.bit.tobit                                     core.base.bit.tohex
core.base.bloom_filter.new                           core.base.bytes                                         core.base.cli.parse
core.base.cli.parsev                                 core.base.colors.ignore                                 core.base.colors.rainbow24
core.base.colors.rainbow256                          core.base.colors.theme                                  core.base.colors.theme_set
core.base.colors.translate                           core.base.cpu.family                                    core.base.cpu.features
core.base.cpu.has_feature                            core.base.cpu.info                                      core.base.cpu.march
core.base.cpu.model                                  core.base.cpu.model_name                                core.base.cpu.number
core.base.cpu.usagerate                              core.base.cpu.vendor                                    core.base.dlist
core.base.filter.new                                 core.base.fwatcher.add                                  core.base.fwatcher.on_created
core.base.fwatcher.on_deleted                        core.base.fwatcher.on_modified                          core.base.fwatcher.remove
core.base.fwatcher.wait                              core.base.fwatcher.watchdirs                            core.base.global.cachedir
core.base.global.clear                               core.base.global.directory                              core.base.global.dump
core.base.global.filepath                            core.base.global.get                                    core.base.global.options
core.base.global.readonly                            core.base.global.save                                   core.base.global.set
core.base.graph                                      core.base.hashset.from                                  core.base.hashset.new
core.base.hashset.of                                 core.base.heap.cdataheap                                core.base.heap.valueheap
core.base.interpreter.builtin_modules                core.base.interpreter.instance                          core.base.json.decode
core.base.json.encode                                core.base.json.is_marked_as_array                       core.base.json.loadfile
core.base.json.mark_as_array                         core.base.json.savefile                                 core.base.libc.byteof
core.base.libc.dataptr                               core.base.libc.free                                     core.base.libc.malloc
core.base.libc.memcpy                                core.base.libc.memmov                                   core.base.libc.memset
core.base.libc.ptraddr                               core.base.libc.setbyte                                  core.base.libc.strndup
core.base.license.compatible                         core.base.license.list                                  core.base.license.normalize
core.base.list                                       core.base.memory.info                                   core.base.object
core.base.option.boolean                             core.base.option.default                                core.base.option.defaults
core.base.option.get                                 core.base.option.options                                core.base.option.parse
core.base.option.raw_parse                           core.base.option.restore                                core.base.option.save
core.base.option.set                                 core.base.option.show_logo                              core.base.option.show_options
core.base.option.taskmenu                            core.base.pipe.open                                     core.base.pipe.openpair
core.base.privilege.get                              core.base.privilege.has                                 core.base.privilege.store
core.base.process.open                               core.base.process.openv                                 core.base.profiler.enter
core.base.profiler.leave                             core.base.scheduler.co_count                            core.base.scheduler.co_group
core.base.scheduler.co_group_begin                   core.base.scheduler.co_group_wait                       core.base.scheduler.co_group_waitobjs
core.base.scheduler.co_lock                          core.base.scheduler.co_resume                           core.base.scheduler.co_running
core.base.scheduler.co_sleep                         core.base.scheduler.co_start                            core.base.scheduler.co_start_named
core.base.scheduler.co_start_withopt                 core.base.scheduler.co_suspend                          core.base.scheduler.co_unlock
core.base.scheduler.co_yield                         core.base.semver.compare                                core.base.semver.is_valid
core.base.semver.is_valid_range                      core.base.semver.match                                  core.base.semver.new
core.base.semver.satisfies                           core.base.semver.select                                 core.base.semver.try_parse
core.base.signal.ignore                              core.base.signal.register                               core.base.signal.reset
core.base.singleton.get                              core.base.singleton.instances                           core.base.socket.bind
core.base.socket.bind_unix                           core.base.socket.connect                                core.base.socket.connect_unix
core.base.socket.open                                core.base.socket.tcp                                    core.base.socket.udp
core.base.socket.unix                                core.base.task.names                                    core.base.task.run
core.base.text.table                                 core.base.text.wordwrap                                 core.base.tty.cr
core.base.tty.cursor_and_attrs_restore               core.base.tty.cursor_and_attrs_save                     core.base.tty.cursor_restore
core.base.tty.cursor_save                            core.base.tty.erase_down                                core.base.tty.erase_line
core.base.tty.erase_line_to_end                      core.base.tty.erase_line_to_start                       core.base.tty.erase_screen
core.base.tty.erase_up                               core.base.tty.flush                                     core.base.tty.has_color24
core.base.tty.has_color256                           core.base.tty.has_color8                                core.base.tty.has_emoji
core.base.tty.has_vtansi                             core.base.tty.shell                                     core.base.tty.term
core.base.tty.term_mode                              core.cache.detectcache.clear                            core.cache.detectcache.data
core.cache.detectcache.get                           core.cache.detectcache.get2                             core.cache.detectcache.get3
core.cache.detectcache.load                          core.cache.detectcache.name                             core.cache.detectcache.new
core.cache.detectcache.save                          core.cache.detectcache.set                              core.cache.detectcache.set2
core.cache.detectcache.set3                          core.cache.global_detectcache.clear                     core.cache.global_detectcache.data
core.cache.global_detectcache.get                    core.cache.global_detectcache.get2                      core.cache.global_detectcache.get3
core.cache.global_detectcache.load                   core.cache.global_detectcache.name                      core.cache.global_detectcache.new
core.cache.global_detectcache.save                   core.cache.global_detectcache.set                       core.cache.global_detectcache.set2
core.cache.global_detectcache.set3                   core.cache.globalcache.cache                            core.cache.globalcache.caches
core.cache.globalcache.clear                         core.cache.globalcache.get                              core.cache.globalcache.get2
core.cache.globalcache.get3                          core.cache.globalcache.save                             core.cache.globalcache.set
core.cache.globalcache.set2                          core.cache.globalcache.set3                             core.cache.localcache.cache
core.cache.localcache.caches                         core.cache.localcache.clear                             core.cache.localcache.get
core.cache.localcache.get2                           core.cache.localcache.get3                              core.cache.localcache.save
core.cache.localcache.set                            core.cache.localcache.set2                              core.cache.localcache.set3
core.cache.memcache.cache                            core.cache.memcache.caches                              core.cache.memcache.clear
core.cache.memcache.get                              core.cache.memcache.get2                                core.cache.memcache.get3
core.cache.memcache.set                              core.cache.memcache.set2                                core.cache.memcache.set3
core.compress.lz4.block_compress                     core.compress.lz4.block_decompress                      core.compress.lz4.compress
core.compress.lz4.compress_file                      core.compress.lz4.compress_stream                       core.compress.lz4.decompress
core.compress.lz4.decompress_file                    core.compress.lz4.decompress_stream                     core.language.language.apis
core.language.language.extension_of                  core.language.language.extensions                       core.language.language.langkinds
core.language.language.linkerinfos_of                core.language.language.linkerkinds                      core.language.language.load
core.language.language.load_ex                       core.language.language.load_sk                          core.language.language.sourceflags
core.language.language.sourcekind_of                 core.language.language.sourcekinds                      core.language.language.targetkinds
core.language.menu.options                           core.package.package.apis                               core.package.package.cachedir
core.package.package.installdir                      core.package.package.load_from_project                  core.package.package.load_from_repository
core.package.package.load_from_system                core.package.package.new                                core.package.package.searchdirs
core.package.package.targetarch                      core.package.package.targetplat                         core.package.repository.add
core.package.repository.clear                        core.package.repository.directory                       core.package.repository.get
core.package.repository.load                         core.package.repository.remove                          core.package.repository.repositories
core.platform.menu.options                           core.platform.platform.archs                            core.platform.platform.get
core.platform.platform.load                          core.platform.platform.os                               core.platform.platform.plats
core.platform.platform.tool                          core.platform.platform.toolchains                       core.platform.platform.toolconfig
core.project.config.arch                             core.project.config.buildir                             core.project.config.clear
core.project.config.directory                        core.project.config.dump                                core.project.config.filepath
core.project.config.get                              core.project.config.host                                core.project.config.load
core.project.config.mode                             core.project.config.plat                                core.project.config.read
core.project.config.readonly                         core.project.config.save                                core.project.config.set
core.project.depend.is_changed                       core.project.depend.load                                core.project.depend.on_changed
core.project.depend.save                             core.project.menu.options                               core.project.option.apis
core.project.option.interpreter                      core.project.option.new                                 core.project.policy.build_warnings
core.project.policy.policies                         core.project.project.allfiles                           core.project.project.allowed_archs
core.project.project.allowed_modes                   core.project.project.allowed_plats                      core.project.project.apis
core.project.project.chdir                           core.project.project.check_options                      core.project.project.default_arch
core.project.project.directory                       core.project.project.extraconf                          core.project.project.filelock
core.project.project.get                             core.project.project.is_loaded                          core.project.project.load_targets
core.project.project.lock                            core.project.project.modes                              core.project.project.mtimes
core.project.project.name                            core.project.project.option                             core.project.project.options
core.project.project.ordertargets                    core.project.project.policy                             core.project.project.rcfiles
core.project.project.requireconfs_str                core.project.project.required_package                   core.project.project.required_packages
core.project.project.requires_str                    core.project.project.requireslock                       core.project.project.requireslock_version
core.project.project.rootfile                        core.project.project.rule                               core.project.project.rules
core.project.project.scope                           core.project.project.target                             core.project.project.target_add
core.project.project.targets                         core.project.project.tmpdir                             core.project.project.tmpfile
core.project.project.toolchain                       core.project.project.toolchains                         core.project.project.trylock
core.project.project.unlock                          core.project.project.version                            core.project.rule.apis
core.project.rule.new                                core.project.rule.rule                                  core.project.rule.rules
core.project.target.apis                             core.project.target.filename                            core.project.target.linkname
core.project.target.new                              core.project.task.names                                 core.project.task.run
core.project.template.languages                      core.project.template.templates                         core.sandbox.module.add_directories
core.sandbox.module.directories                      core.sandbox.module.find                                core.sandbox.module.get
core.sandbox.module.import                           core.sandbox.module.inherit                             core.sandbox.module.name
core.sandbox.sandbox.builtin_modules                 core.sandbox.sandbox.filter                             core.sandbox.sandbox.interactive
core.theme.theme.get                                 core.theme.theme.instance                               core.theme.theme.load
core.theme.theme.names                               core.tool.compiler.build                                core.tool.compiler.buildargv
core.tool.compiler.buildcmd                          core.tool.compiler.compargv                             core.tool.compiler.compcmd
core.tool.compiler.compflags                         core.tool.compiler.compile                              core.tool.compiler.features
core.tool.compiler.has_features                      core.tool.compiler.has_flags                            core.tool.compiler.load
core.tool.compiler.map_flags                         core.tool.compiler.name                                 core.tool.linker.has_flags
core.tool.linker.link                                core.tool.linker.linkargv                               core.tool.linker.linkcmd
core.tool.linker.linkflags                           core.tool.linker.load                                   core.tool.linker.map_flags
core.tool.toolchain.apis                             core.tool.toolchain.list                                core.tool.toolchain.load
core.ui.action                                       core.ui.application                                     core.ui.border
core.ui.boxdialog                                    core.ui.button                                          core.ui.canvas
core.ui.choicebox                                    core.ui.choicedialog                                    core.ui.curses.acs
core.ui.curses.attr                                  core.ui.curses.calc_attr                                core.ui.curses.cbreak
core.ui.curses.color                                 core.ui.curses.color_pair                               core.ui.curses.columns
core.ui.curses.cursor_set                            core.ui.curses.done                                     core.ui.curses.doupdate
core.ui.curses.echo                                  core.ui.curses.getmouse                                 core.ui.curses.has_colors
core.ui.curses.has_mouse                             core.ui.curses.init                                     core.ui.curses.init_pair
core.ui.curses.iscolor                               core.ui.curses.isdone                                   core.ui.curses.lines
core.ui.curses.main_window                           core.ui.curses.mousemask                                core.ui.curses.napms
core.ui.curses.new_pad                               core.ui.curses.nl                                       core.ui.curses.start_color
core.ui.desktop                                      core.ui.dialog                                          core.ui.event
core.ui.inputdialog                                  core.ui.label                                           core.ui.log.clear
core.ui.log.close                                    core.ui.log.enable                                      core.ui.log.file
core.ui.log.flush                                    core.ui.log.outputfile                                  core.ui.log.print
core.ui.log.printf                                   core.ui.log.printv                                      core.ui.log.write
core.ui.mconfdialog                                  core.ui.menubar                                         core.ui.menuconf
core.ui.object                                       core.ui.panel                                           core.ui.point
core.ui.program                                      core.ui.rect                                            core.ui.statusbar
core.ui.textarea                                     core.ui.textdialog                                      core.ui.textedit
core.ui.view                                         core.ui.window                                          detect.packages.find_libxml2
detect.packages.find_mbedtls                         detect.packages.find_mkl                                detect.packages.find_mysql
detect.packages.find_nvtx                            detect.packages.find_openssl                            detect.packages.find_pcre
detect.packages.find_pcre2                           detect.packages.find_tbb                                detect.packages.find_vulkansdk
detect.packages.find_zlib                            detect.sdks.find_android_sdk                            detect.sdks.find_c51
detect.sdks.find_cross_toolchain                     detect.sdks.find_cuda                                   detect.sdks.find_dotnet
detect.sdks.find_emsdk                               detect.sdks.find_hdk                                    detect.sdks.find_iccenv
detect.sdks.find_icxenv                              detect.sdks.find_ifortenv                               detect.sdks.find_masm32
detect.sdks.find_matlab                              detect.sdks.find_matlab_runtime                         detect.sdks.find_mdk
detect.sdks.find_mingw                               detect.sdks.find_ndk                                    detect.sdks.find_qt
detect.sdks.find_sdasstm8                            detect.sdks.find_vcpkgdir                               detect.sdks.find_vstudio
detect.sdks.find_vulkansdk                           detect.sdks.find_wasisdk                                detect.sdks.find_wdk
detect.sdks.find_xcode                               detect.sdks.matlab.versions                             detect.sdks.matlab.versions_names
devel.debugger.run                                   devel.git.apply                                         devel.git.asgiturl
devel.git.branch                                     devel.git.branches                                      devel.git.checkout
devel.git.checkurl                                   devel.git.clean                                         devel.git.clone
devel.git.init                                       devel.git.lastcommit                                    devel.git.ls_remote
devel.git.pull                                       devel.git.push                                          devel.git.refs
devel.git.reset                                      devel.git.submodule.clean                               devel.git.submodule.reset
devel.git.submodule.update                           devel.git.tags                                          lib.detect.check_bigendian
lib.detect.check_csnippets                           lib.detect.check_cxsnippets                             lib.detect.check_cxxsnippets
lib.detect.check_msnippets                           lib.detect.check_mxxsnippets                            lib.detect.check_sizeof
lib.detect.features                                  lib.detect.find_cudadevices                             lib.detect.find_directory
lib.detect.find_file                                 lib.detect.find_library                                 lib.detect.find_package
lib.detect.find_path                                 lib.detect.find_program                                 lib.detect.find_programver
lib.detect.find_tool                                 lib.detect.find_toolname                                lib.detect.has_cfuncs
lib.detect.has_cincludes                             lib.detect.has_ctypes                                   lib.detect.has_cxxfuncs
lib.detect.has_cxxincludes                           lib.detect.has_cxxtypes                                 lib.detect.has_features
lib.detect.has_flags                                 lib.detect.pkgconfig.libinfo                            lib.detect.pkgconfig.variables
lib.detect.pkgconfig.version                         net.fasturl.add                                         net.fasturl.sort
net.http.download                                    net.ping                                                net.proxy.config
net.proxy.mirror                                     os.winver.ntddi_version                                 os.winver.subsystem
os.winver.target_version                             os.winver.version                                       os.winver.winnt_version
package.manager.apt.find_package                     package.manager.apt.install_package                     package.manager.apt.search_package
package.manager.brew.find_package                    package.manager.brew.install_package                    package.manager.cargo.configurations
package.manager.cargo.find_package                   package.manager.cargo.install_package                   package.manager.clib.configurations
package.manager.clib.find_package                    package.manager.clib.install_package                    package.manager.cmake.configurations
package.manager.cmake.find_package                   package.manager.conan.configurations                    package.manager.conan.find_package
package.manager.conan.install_package                package.manager.conan.search_package                    package.manager.conan.v1.install_package
package.manager.conan.v2.install_package             package.manager.conda.find_package                      package.manager.conda.install_package
package.manager.conda.search_package                 package.manager.dub.find_package                        package.manager.dub.install_package
package.manager.find_package                         package.manager.go.find_package                         package.manager.go.install_package
package.manager.install_package                      package.manager.nimble.find_package                     package.manager.nimble.install_package
package.manager.pacman.find_package                  package.manager.pacman.install_package                  package.manager.pkgconfig.find_package
package.manager.portage.find_package                 package.manager.portage.install_package                 package.manager.system.find_package
package.manager.vcpkg.configurations                 package.manager.vcpkg.find_package                      package.manager.vcpkg.install_package
package.manager.vcpkg.search_package                 package.manager.xmake.find_package                      package.manager.xmake.search_package
package.manager.yum.install_package                  package.manager.zypper.find_package                     package.manager.zypper.install_package
package.manager.zypper.search_package                package.tools.autoconf.autogen_envs                     package.tools.autoconf.build
package.tools.autoconf.buildenvs                     package.tools.autoconf.configure                        package.tools.autoconf.install
package.tools.autoconf.make                          package.tools.bazel.build                               package.tools.bazel.buildenvs
package.tools.cmake.build                            package.tools.cmake.buildenvs                           package.tools.cmake.install
package.tools.gn.build                               package.tools.gn.buildenvs                              package.tools.gn.generate
package.tools.gn.install                             package.tools.make.build                                package.tools.make.buildenvs
package.tools.make.install                           package.tools.make.make                                 package.tools.meson.build
package.tools.meson.buildenvs                        package.tools.meson.generate                            package.tools.meson.install
package.tools.msbuild.build                          package.tools.msbuild.buildenvs                         package.tools.ninja.build
package.tools.ninja.install                          package.tools.nmake.build                               package.tools.nmake.buildenvs
package.tools.nmake.install                          package.tools.nmake.make                                package.tools.scons.build
package.tools.scons.buildenvs                        package.tools.xmake.buildenvs                           package.tools.xmake.install
privilege.sudo.exec                                  privilege.sudo.execl                                    privilege.sudo.execv
privilege.sudo.has                                   privilege.sudo.iorun                                    privilege.sudo.iorunl
privilege.sudo.iorunv                                privilege.sudo.run                                      privilege.sudo.runl
privilege.sudo.runv                                  privilege.sudo.vrun                                     privilege.sudo.vrunl
privilege.sudo.vrunv                                 target.action.clean                                     target.action.install
target.action.install.cmake_importfiles              target.action.install.pkgconfig_importfiles             target.action.install.unix.install_binary
target.action.install.unix.install_headeronly        target.action.install.unix.install_moduleonly           target.action.install.unix.install_shared
target.action.install.unix.install_static            target.action.install.windows.install_binary            target.action.install.windows.install_headeronly
target.action.install.windows.install_moduleonly     target.action.install.windows.install_shared            target.action.install.windows.install_static
target.action.uninstall                              target.action.uninstall.unix.uninstall_binary           target.action.uninstall.unix.uninstall_headeronly
target.action.uninstall.unix.uninstall_moduleonly    target.action.uninstall.unix.uninstall_shared           target.action.uninstall.unix.uninstall_static
target.action.uninstall.windows.uninstall_binary     target.action.uninstall.windows.uninstall_headeronly    target.action.uninstall.windows.uninstall_moduleonly
target.action.uninstall.windows.uninstall_shared     target.action.uninstall.windows.uninstall_static        ui.app.showfile
ui.app.version                                       utils.archive.archive                                   utils.archive.extension
utils.archive.extract                                utils.archive.merge_staticlib                           utils.ci.is_running
utils.ci.packageskey                                 utils.ipa.install                                       utils.ipa.package
utils.ipa.resign                                     utils.platform.gnu2mslib                                utils.progress.new
utils.progress.show                                  utils.progress.showing_without_scroll                   utils.progress.text
utils.wdk.testcert

script_instance_apis:
option:add                        option:cachekey              option:check
option:clear                      option:del                   option:dep
option:deps                       option:description           option:enable
option:enabled                    option:extraconf             option:get
option:info                       option:name                  option:new
option:orderdeps                  option:remove                option:script
option:set                        option:set_value             option:showmenu
option:sourceinfo                 option:type                  option:value
package:add                       package:addenv               package:alias
package:arch                      package:arch_set             package:artifacts_set
package:base                      package:branch               package:build_addenv
package:build_envs                package:build_getenv         package:build_setenv
package:buildhash                 package:buildir              package:cachedir
package:check_csnippets           package:check_cxxsnippets    package:check_msnippets
package:check_mxxsnippets         package:check_sizeof         package:commit
package:compiler                  package:component            package:components
package:components_default        package:components_deps      package:components_orderlist
package:config                    package:config_set           package:configs
package:data                      package:data_add             package:data_set
package:debug                     package:dep                  package:deps
package:description               package:displayname          package:displayname_set
package:envs                      package:envs_enter           package:envs_load
package:exists                    package:extraconf            package:extraconf_set
package:extsources                package:fallback_build       package:fetch
package:fetch_librarydeps         package:filelock             package:find_package
package:find_tool                 package:get                  package:getenv
package:gitref                    package:group                package:has_cflags
package:has_cfuncs                package:has_cincludes        package:has_ctypes
package:has_cxxflags              package:has_cxxfuncs         package:has_cxxincludes
package:has_cxxtypes              package:has_features         package:has_runtime
package:has_tool                  package:installdir           package:is_arch
package:is_arch64                 package:is_binary            package:is_binary_embed
package:is_built                  package:is_cross             package:is_debug
package:is_fetchonly              package:is_headeronly        package:is_library
package:is_local                  package:is_optional          package:is_parallelize
package:is_plat                   package:is_precompiled       package:is_private
package:is_source_embed           package:is_supported         package:is_system
package:is_targetarch             package:is_targetos          package:is_template
package:is_thirdparty             package:is_toolchain         package:is_toplevel
package:is_verify                 package:kind                 package:label
package:librarydeps               package:license              package:lock
package:manifest_file             package:manifest_load        package:manifest_save
package:mark_as_pathenv           package:mode                 package:name
package:new                       package:orderdeps            package:originfile
package:originfile_set            package:parents              package:parents_add
package:patches                   package:plaindeps            package:plat
package:plat_set                  package:policy               package:references
package:repo                      package:requireinfo          package:requireinfo_set
package:resource                  package:resourcedir          package:resourcefile
package:resources                 package:revision             package:rulesdir
package:runtimes                  package:script               package:scriptdir
package:set                       package:setenv               package:sourcedir
package:sourcehash                package:sourceinfo           package:tag
package:targetarch                package:targetos             package:tool
package:toolchain                 package:toolchains           package:toolconfig
package:type                      package:unlock               package:url_alias
package:url_excludes              package:url_http_headers     package:url_version
package:urls                      package:urls_set             package:use_external_includes
package:version                   package:version_set          package:version_str
package:versions                  rule:add                     rule:clone
rule:dep                          rule:deps                    rule:extraconf
rule:extraconf_set                rule:get                     rule:kind
rule:name                         rule:name_set                rule:orderdeps
rule:script                       rule:set                     target:add
target:arch                       target:autogendir            target:autogenfile
target:basename                   target:cachekey              target:check_bigendian
target:check_csnippets            target:check_cxxsnippets     target:check_msnippets
target:check_mxxsnippets          target:check_sizeof          target:clone
target:compiler                   target:configdir             target:configfiles
target:data                       target:data_add              target:data_set
target:del                        target:dep                   target:dependfile
target:dependfiles                target:dependir              target:deps
target:extraconf                  target:extraconf_from        target:extraconf_set
target:extrafiles                 target:fileconfig            target:fileconfig_add
target:fileconfig_set             target:filename              target:filerules
target:get                        target:get_from              target:get_from_deps
target:get_from_opts              target:get_from_pkgs         target:has_cflags
target:has_cfuncs                 target:has_cincludes         target:has_ctypes
target:has_cxxflags               target:has_cxxfuncs          target:has_cxxincludes
target:has_cxxtypes               target:has_features          target:has_runtime
target:has_sourcekind             target:has_tool              target:headerfiles
target:info                       target:installdir            target:installfiles
target:is_arch                    target:is_arch64             target:is_binary
target:is_cross                   target:is_default            target:is_enabled
target:is_headeronly              target:is_library            target:is_moduleonly
target:is_object                  target:is_phony              target:is_plat
target:is_rebuilt                 target:is_shared             target:is_static
target:kind                       target:license               target:linkargv
target:linkcmd                    target:linker                target:linkflags
target:linkname                   target:name                  target:name_set
target:new                        target:objectdir             target:objectfile
target:objectfiles                target:opt                   target:opts
target:orderdeps                  target:orderopts             target:orderpkgs
target:orderules                  target:packagedir            target:pcheaderfile
target:pcheaderfile_set           target:pcoutputfile          target:pkg
target:pkgconfig                  target:pkgenvs               target:pkgs
target:plat                       target:platform              target:policy
target:remove                     target:rule                  target:rule_add
target:rules                      target:rundir                target:runtimes
target:script                     target:scriptdir             target:set
target:soname                     target:sourcebatches         target:sourcecount
target:sourcefiles                target:sourceinfo            target:sourcekind_of
target:sourcekinds                target:symbolfile            target:targetdir
target:targetfile                 target:targetkind            target:tool
target:toolchain                  target:toolchains            target:toolconfig
target:type                       target:values                target:values_add
target:values_set                 target:version               toolchain:add
toolchain:arch                    toolchain:arch_set           toolchain:bindir
toolchain:cachekey                toolchain:check              toolchain:check_cross_toolchain
toolchain:config                  toolchain:config_set         toolchain:configs_save
toolchain:cross                   toolchain:formats            toolchain:get
toolchain:info                    toolchain:is_arch            toolchain:is_builtin
toolchain:is_cross                toolchain:is_global          toolchain:is_plat
toolchain:is_standalone           toolchain:kind               toolchain:load
toolchain:load_cross_toolchain    toolchain:name               toolchain:new
toolchain:packages                toolchain:plat               toolchain:plat_set
toolchain:runenvs                 toolchain:savefile           toolchain:script
toolchain:sdkdir                  toolchain:set                toolchain:tool

script_builtin_apis:
assert         catch           cprint
cprintf        dprint          dprintf
finally        find_package    find_packages
format         get_config      has_config
has_package    import          inherit
ipairs         irpairs         is_arch
is_config      is_host         is_mode
is_plat        is_subhost      pairs
print          printf          raise
todisplay      tonumber        tostring
try            type            unpack
val            vformat         vprint
vprintf        wprint

description_builtin_module_apis:
linuxos.kernelver      linuxos.name            linuxos.version
macos.version          math.abs                math.acos
math.asin              math.atan               math.atan2
math.ceil              math.cos                math.cosh
math.deg               math.exp                math.floor
math.fmod              math.frexp              math.isinf
math.isint             math.isnan              math.ldexp
math.log               math.log10              math.max
math.min               math.modf               math.pow
math.rad               math.random             math.randomseed
math.sin               math.sinh               math.sqrt
math.tan               math.tanh               math.tointeger
math.type              math.ult                os.arch
os.cpuinfo             os.curdir               os.date
os.default_njob        os.dirs                 os.exists
os.filedirs            os.files                os.filesize
os.getenv              os.host                 os.isdir
os.isfile              os.mclock               os.mtime
os.programdir          os.programfile          os.projectdir
os.projectfile         os.scriptdir            os.subarch
os.subhost             os.term                 os.time
os.tmpdir              path.absolute           path.basename
path.cygwin            path.cygwin_path        path.directory
path.envsep            path.extension          path.filename
path.instance_of       path.is_absolute        path.islastsep
path.join              path.joinenv            path.new
path.normalize         path.pattern            path.relative
path.sep               path.split              path.splitenv
path.translate         path.unix               string.byte
string.char            string.convert          string.decode
string.deserialize     string.dump             string.encode
string.endswith        string.find             string.format
string.gmatch          string.gsub             string.ipattern
string.lastof          string.len              string.levenshtein
string.lower           string.ltrim            string.match
string.pack            string.packsize         string.rep
string.replace         string.reverse          string.rtrim
string.serialize       string.split            string.startswith
string.sub             string.trim             string.tryformat
string.unpack          string.upper            string.vformat
string.wcswidth        string.wcwidth          table.append
table.clear            table.clone             table.concat
table.contains         table.copy              table.copy2
table.empty            table.find              table.find_first
table.find_first_if    table.find_if           table.getn
table.imap             table.inherit           table.inherit2
table.insert           table.is_array          table.is_dictionary
table.join             table.join2             table.keys
table.map              table.maxn              table.move
table.new              table.orderkeys         table.orderpairs
table.pack             table.remove            table.remove_if
table.reverse          table.reverse_unique    table.shallow_join
table.shallow_join2    table.slice             table.sort
table.swap             table.to_array          table.unique
table.unpack           table.unwrap            table.values
table.wrap             table.wrap_lock         table.wrap_unlock
winos.registry_keys    winos.registry_query    winos.registry_values
winos.version          xmake.luajit            xmake.programdir
xmake.programfile      xmake.version

@waruqi waruqi added this to the v2.9.2 milestone Apr 24, 2024
@waruqi waruqi merged commit cde37d4 into dev Apr 24, 2024
36 of 38 checks passed
@waruqi waruqi deleted the scope branch April 24, 2024 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant