2021-01-12 21:30:52 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020, the SerenityOS developers.
|
|
|
|
*
|
2021-04-22 08:24:48 +00:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2021-01-12 21:30:52 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef AWAVLOADER_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 AWAVLOADER_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
2021-06-24 21:32:06 +00:00
|
|
|
#ifndef AFLACLOADER_DEBUG
|
|
|
|
#cmakedefine01 AFLACLOADER_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef BMP_DEBUG
|
2021-01-23 22:29:11 +00:00
|
|
|
#cmakedefine01 BMP_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CACHE_DEBUG
|
2021-01-23 22:29:11 +00:00
|
|
|
#cmakedefine01 CACHE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CALLBACK_MACHINE_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 CALLBACK_MACHINE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CHTTPJOB_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 CHTTPJOB_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CNETWORKJOB_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 CNETWORKJOB_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef COMPOSE_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 COMPOSE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef COPY_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 COPY_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CPP_LANGUAGE_SERVER_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 CPP_LANGUAGE_SERVER_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
2021-02-06 13:48:46 +00:00
|
|
|
#ifndef CPP_DEBUG
|
|
|
|
#cmakedefine01 CPP_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef CRYPTO_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 CRYPTO_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CSOCKET_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 CSOCKET_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
2021-02-21 16:44:17 +00:00
|
|
|
#ifndef CSS_LOADER_DEBUG
|
|
|
|
#cmakedefine01 CSS_LOADER_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-07-23 12:06:31 +00:00
|
|
|
#ifndef CSS_PARSER_DEBUG
|
|
|
|
#cmakedefine01 CSS_PARSER_DEBUG
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CSS_TOKENIZER_DEBUG
|
|
|
|
#cmakedefine01 CSS_TOKENIZER_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef CURSOR_TOOL_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 CURSOR_TOOL_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
2021-05-15 15:02:40 +00:00
|
|
|
#ifndef DDS_DEBUG
|
|
|
|
#cmakedefine01 DDS_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef DEFERRED_INVOKE_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 DEFERRED_INVOKE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef DHCPV4CLIENT_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 DHCPV4CLIENT_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef DHCPV4_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 DHCPV4_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef DIFF_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 DIFF_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef DISASM_DUMP_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 DISASM_DUMP_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef DOUBLECLICK_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 DOUBLECLICK_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
2022-01-09 22:35:42 +00:00
|
|
|
#ifndef DRAG_DEBUG
|
|
|
|
#cmakedefine01 DRAG_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef DWARF_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 DWARF_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef DYNAMIC_LOAD_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 DYNAMIC_LOAD_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EDITOR_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 EDITOR_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ELF_IMAGE_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 ELF_IMAGE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EMOJI_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 EMOJI_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
2021-05-17 21:32:59 +00:00
|
|
|
#ifndef ESCAPE_SEQUENCE_DEBUG
|
|
|
|
#cmakedefine01 ESCAPE_SEQUENCE_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef EVENT_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 EVENT_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EVENTLOOP_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 EVENTLOOP_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef FILE_CONTENT_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 FILE_CONTENT_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef FILL_PATH_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 FILL_PATH_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
2021-05-17 21:32:59 +00:00
|
|
|
#ifndef FILE_WATCHER_DEBUG
|
|
|
|
#cmakedefine01 FILE_WATCHER_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef GEMINI_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 GEMINI_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef GEMINIJOB_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 GEMINIJOB_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef GENERATE_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 GENERATE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef GHASH_PROCESS_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 GHASH_PROCESS_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef GIF_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 GIF_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
2021-01-06 11:58:01 +00:00
|
|
|
#ifndef GL_DEBUG
|
|
|
|
#cmakedefine01 GL_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef GLOBAL_DTORS_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 GLOBAL_DTORS_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef GZIP_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 GZIP_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HEAP_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 HEAP_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
2021-05-20 12:27:58 +00:00
|
|
|
#ifndef HEARTS_DEBUG
|
|
|
|
#cmakedefine01 HEARTS_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef HEX_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 HEX_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HIGHLIGHT_FOCUSED_FRAME_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 HIGHLIGHT_FOCUSED_FRAME_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HTML_SCRIPT_DEBUG
|
2021-01-28 20:31:20 +00:00
|
|
|
#cmakedefine01 HTML_SCRIPT_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HTTPSJOB_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 HTTPSJOB_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HUNKS_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 HUNKS_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ICO_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 ICO_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef IMAGE_DECODER_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 IMAGE_DECODER_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef IMAGE_LOADER_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 IMAGE_LOADER_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ITEM_RECTS_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 ITEM_RECTS_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef JOB_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 JOB_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef JPG_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 JPG_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
2021-06-07 13:17:37 +00:00
|
|
|
#ifndef JS_BYTECODE_DEBUG
|
|
|
|
#cmakedefine01 JS_BYTECODE_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef KEYBOARD_SHORTCUTS_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 KEYBOARD_SHORTCUTS_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
2021-03-02 06:10:10 +00:00
|
|
|
#ifndef LANGUAGE_SERVER_DEBUG
|
|
|
|
#cmakedefine01 LANGUAGE_SERVER_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef LEXER_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 LEXER_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
2021-02-20 18:03:13 +00:00
|
|
|
#ifndef LINE_EDITOR_DEBUG
|
|
|
|
#cmakedefine01 LINE_EDITOR_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef LOG_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 LOG_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef LOOKUPSERVER_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 LOOKUPSERVER_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MALLOC_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 MALLOC_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MARKDOWN_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 MARKDOWN_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
2021-06-05 20:06:55 +00:00
|
|
|
#ifndef MATROSKA_DEBUG
|
|
|
|
#cmakedefine01 MATROSKA_DEBUG
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MATROSKA_TRACE_DEBUG
|
|
|
|
#cmakedefine01 MATROSKA_TRACE_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef MEMORY_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 MEMORY_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MENU_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 MENU_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MENUS_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 MENUS_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MINIMIZE_ANIMATION_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 MINIMIZE_ANIMATION_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MOVE_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 MOVE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef NT_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 NT_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef OCCLUSIONS_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 OCCLUSIONS_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PARSER_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 PARSER_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PATH_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 PATH_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
2021-05-08 21:57:49 +00:00
|
|
|
#ifndef PDF_DEBUG
|
|
|
|
#cmakedefine01 PDF_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef PNG_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 PNG_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PORTABLE_IMAGE_LOADER_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 PORTABLE_IMAGE_LOADER_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
LibJS: Add initial support for Promises
Almost a year after first working on this, it's finally done: an
implementation of Promises for LibJS! :^)
The core functionality is working and closely following the spec [1].
I mostly took the pseudo code and transformed it into C++ - if you read
and understand it, you will know how the spec implements Promises; and
if you read the spec first, the code will look very familiar.
Implemented functions are:
- Promise() constructor
- Promise.prototype.then()
- Promise.prototype.catch()
- Promise.prototype.finally()
- Promise.resolve()
- Promise.reject()
For the tests I added a new function to test-js's global object,
runQueuedPromiseJobs(), which calls vm.run_queued_promise_jobs().
By design, queued jobs normally only run after the script was fully
executed, making it improssible to test handlers in individual test()
calls by default [2].
Subsequent commits include integrations into LibWeb and js(1) -
pretty-printing, running queued promise jobs when necessary.
This has an unusual amount of dbgln() statements, all hidden behind the
PROMISE_DEBUG flag - I'm leaving them in for now as they've been very
useful while debugging this, things can get quite complex with so many
asynchronously executed functions.
I've not extensively explored use of these APIs for promise-based
functionality in LibWeb (fetch(), Notification.requestPermission()
etc.), but we'll get there in due time.
[1]: https://tc39.es/ecma262/#sec-promise-objects
[2]: https://tc39.es/ecma262/#sec-jobs-and-job-queues
2021-04-01 20:13:29 +00:00
|
|
|
#ifndef PROMISE_DEBUG
|
|
|
|
#cmakedefine01 PROMISE_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef PTHREAD_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 PTHREAD_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef REACHABLE_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 REACHABLE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef REGEX_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 REGEX_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef RESIZE_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 RESIZE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef RESOURCE_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 RESOURCE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
2021-02-14 11:20:42 +00:00
|
|
|
#ifndef RSA_PARSE_DEBUG
|
|
|
|
#cmakedefine01 RSA_PARSE_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef SAFE_SYSCALL_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 SAFE_SYSCALL_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SERVICE_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 SERVICE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SH_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 SH_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SH_LANGUAGE_SERVER_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 SH_LANGUAGE_SERVER_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
2021-04-26 01:28:37 +00:00
|
|
|
#ifndef SHELL_JOB_DEBUG
|
|
|
|
#cmakedefine01 SHELL_JOB_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-05-16 02:12:22 +00:00
|
|
|
#ifndef SOLITAIRE_DEBUG
|
|
|
|
#cmakedefine01 SOLITAIRE_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef SPAM_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 SPAM_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
2021-04-18 21:34:17 +00:00
|
|
|
#ifndef SQL_DEBUG
|
|
|
|
#cmakedefine01 SQL_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-06-29 01:15:17 +00:00
|
|
|
#ifndef SQLSERVER_DEBUG
|
|
|
|
#cmakedefine01 SQLSERVER_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef SYNTAX_HIGHLIGHTING_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 SYNTAX_HIGHLIGHTING_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
2021-02-11 21:43:18 +00:00
|
|
|
#ifndef SYSCALL_1_DEBUG
|
|
|
|
#cmakedefine01 SYSCALL_1_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef SYSTEM_MENU_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 SYSTEM_MENU_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SYSTEMSERVER_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 SYSTEMSERVER_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef TERMCAP_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 TERMCAP_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef TERMINAL_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 TERMINAL_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef TEXTEDITOR_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 TEXTEDITOR_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef TLS_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 TLS_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef TOKENIZER_TRACE_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 TOKENIZER_TRACE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef UCI_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 UCI_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef UPDATE_COALESCING_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 UPDATE_COALESCING_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
2021-05-25 20:13:15 +00:00
|
|
|
#ifndef URL_PARSER_DEBUG
|
|
|
|
#cmakedefine01 URL_PARSER_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-04-26 08:18:13 +00:00
|
|
|
#ifndef WASM_BINPARSER_DEBUG
|
|
|
|
#cmakedefine01 WASM_BINPARSER_DEBUG
|
2021-05-17 21:32:59 +00:00
|
|
|
#endif
|
2021-05-08 18:37:43 +00:00
|
|
|
|
2021-05-17 21:32:59 +00:00
|
|
|
#ifndef WASM_TRACE_DEBUG
|
|
|
|
#cmakedefine01 WASM_TRACE_DEBUG
|
2021-04-26 08:18:13 +00:00
|
|
|
#endif
|
|
|
|
|
2021-10-31 22:06:35 +00:00
|
|
|
#ifndef WASM_VALIDATOR_DEBUG
|
|
|
|
#cmakedefine01 WASM_VALIDATOR_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-05-30 14:42:03 +00:00
|
|
|
#ifndef WEBSERVER_DEBUG
|
|
|
|
#cmakedefine01 WEBSERVER_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef WINDOWMANAGER_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 WINDOWMANAGER_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef WRAPPER_GENERATOR_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 WRAPPER_GENERATOR_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef WSMESSAGELOOP_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 WSMESSAGELOOP_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef WSSCREEN_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 WSSCREEN_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|