2021-01-12 21:30:52 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020, the SerenityOS developers.
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted provided that the following conditions are met:
|
|
|
|
*
|
|
|
|
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
|
|
* list of conditions and the following disclaimer.
|
|
|
|
*
|
|
|
|
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
|
|
* this list of conditions and the following disclaimer in the documentation
|
|
|
|
* and/or other materials provided with the distribution.
|
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
|
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
|
|
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
|
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
|
|
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
|
|
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
|
|
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#ifndef AUTOCOMPLETE_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 AUTOCOMPLETE_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AWAVLOADER_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 AWAVLOADER_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#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-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
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
2021-02-08 19:40:58 +00:00
|
|
|
#ifndef FILE_WATCHER_DEBUG
|
|
|
|
#cmakedefine01 FILE_WATCHER_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 15:47:20 +00:00
|
|
|
#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
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
|
|
|
#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 IRC_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 IRC_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
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
|
|
|
#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 OBJECT_DEBUG
|
2021-01-24 14:28:26 +00:00
|
|
|
#cmakedefine01 OBJECT_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
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
|
|
|
#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-01-30 15:47:20 +00:00
|
|
|
#ifndef STRINGIMPL_DEBUG
|
2021-01-25 15:07:10 +00:00
|
|
|
#cmakedefine01 STRINGIMPL_DEBUG
|
2021-01-30 15:47:20 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#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
|
|
|
|
|
|
|
|
#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
|