2021-01-13 00:30:52 +03:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020, the SerenityOS developers.
|
|
|
|
*
|
2021-04-22 11:24:48 +03:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2021-01-13 00:30:52 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef AUTOCOMPLETE_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 AUTOCOMPLETE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AWAVLOADER_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 AWAVLOADER_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef BMP_DEBUG
|
2021-01-24 01:29:11 +03:00
|
|
|
#cmakedefine01 BMP_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CACHE_DEBUG
|
2021-01-24 01:29:11 +03:00
|
|
|
#cmakedefine01 CACHE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CALLBACK_MACHINE_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 CALLBACK_MACHINE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CHTTPJOB_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 CHTTPJOB_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CNETWORKJOB_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 CNETWORKJOB_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef COMPOSE_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 COMPOSE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef COPY_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 COPY_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CPP_LANGUAGE_SERVER_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 CPP_LANGUAGE_SERVER_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-02-06 16:48:46 +03:00
|
|
|
#ifndef CPP_DEBUG
|
|
|
|
#cmakedefine01 CPP_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef CRYPTO_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 CRYPTO_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef CSOCKET_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 CSOCKET_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-02-21 19:44:17 +03:00
|
|
|
#ifndef CSS_LOADER_DEBUG
|
|
|
|
#cmakedefine01 CSS_LOADER_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef CURSOR_TOOL_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 CURSOR_TOOL_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-05-15 18:02:40 +03:00
|
|
|
#ifndef DDS_DEBUG
|
|
|
|
#cmakedefine01 DDS_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef DEFERRED_INVOKE_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 DEFERRED_INVOKE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef DHCPV4CLIENT_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 DHCPV4CLIENT_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef DHCPV4_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 DHCPV4_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef DIFF_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 DIFF_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef DISASM_DUMP_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 DISASM_DUMP_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef DOUBLECLICK_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 DOUBLECLICK_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef DWARF_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 DWARF_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef DYNAMIC_LOAD_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 DYNAMIC_LOAD_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EDITOR_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 EDITOR_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ELF_IMAGE_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 ELF_IMAGE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EMOJI_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 EMOJI_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-05-18 00:32:59 +03:00
|
|
|
#ifndef ESCAPE_SEQUENCE_DEBUG
|
|
|
|
#cmakedefine01 ESCAPE_SEQUENCE_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef EVENT_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 EVENT_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef EVENTLOOP_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 EVENTLOOP_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef FILE_CONTENT_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 FILE_CONTENT_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef FILL_PATH_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 FILL_PATH_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-05-18 00:32:59 +03:00
|
|
|
#ifndef FILE_WATCHER_DEBUG
|
|
|
|
#cmakedefine01 FILE_WATCHER_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef GEMINI_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 GEMINI_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef GEMINIJOB_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 GEMINIJOB_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef GENERATE_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 GENERATE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef GHASH_PROCESS_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 GHASH_PROCESS_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef GIF_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 GIF_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-01-06 14:58:01 +03:00
|
|
|
#ifndef GL_DEBUG
|
|
|
|
#cmakedefine01 GL_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef GLOBAL_DTORS_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 GLOBAL_DTORS_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef GZIP_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 GZIP_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HEAP_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 HEAP_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-05-20 15:27:58 +03:00
|
|
|
#ifndef HEARTS_DEBUG
|
|
|
|
#cmakedefine01 HEARTS_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef HEX_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 HEX_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HIGHLIGHT_FOCUSED_FRAME_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 HIGHLIGHT_FOCUSED_FRAME_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HTML_SCRIPT_DEBUG
|
2021-01-28 23:31:20 +03:00
|
|
|
#cmakedefine01 HTML_SCRIPT_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HTTPSJOB_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 HTTPSJOB_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef HUNKS_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 HUNKS_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ICO_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 ICO_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef IMAGE_DECODER_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 IMAGE_DECODER_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef IMAGE_LOADER_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 IMAGE_LOADER_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef IRC_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 IRC_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ITEM_RECTS_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 ITEM_RECTS_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef JOB_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 JOB_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef JPG_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 JPG_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef KEYBOARD_SHORTCUTS_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 KEYBOARD_SHORTCUTS_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-03-02 09:10:10 +03:00
|
|
|
#ifndef LANGUAGE_SERVER_DEBUG
|
|
|
|
#cmakedefine01 LANGUAGE_SERVER_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef LEXER_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 LEXER_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-02-20 21:03:13 +03:00
|
|
|
#ifndef LINE_EDITOR_DEBUG
|
|
|
|
#cmakedefine01 LINE_EDITOR_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef LOG_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 LOG_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef LOOKUPSERVER_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 LOOKUPSERVER_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MALLOC_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 MALLOC_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MARKDOWN_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 MARKDOWN_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MEMORY_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 MEMORY_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MENU_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 MENU_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MENUS_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 MENUS_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MINIMIZE_ANIMATION_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 MINIMIZE_ANIMATION_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef MOVE_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 MOVE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef NT_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 NT_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef OBJECT_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 OBJECT_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef OCCLUSIONS_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 OCCLUSIONS_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PARSER_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 PARSER_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PATH_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 PATH_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-05-09 00:57:49 +03:00
|
|
|
#ifndef PDF_DEBUG
|
|
|
|
#cmakedefine01 PDF_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef PNG_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 PNG_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PORTABLE_IMAGE_LOADER_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 PORTABLE_IMAGE_LOADER_DEBUG
|
2021-01-30 18:47:20 +03: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 23:13:29 +03:00
|
|
|
#ifndef PROMISE_DEBUG
|
|
|
|
#cmakedefine01 PROMISE_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef PTHREAD_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 PTHREAD_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef REACHABLE_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 REACHABLE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef REGEX_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 REGEX_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef RESIZE_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 RESIZE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef RESOURCE_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 RESOURCE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-02-14 14:20:42 +03:00
|
|
|
#ifndef RSA_PARSE_DEBUG
|
|
|
|
#cmakedefine01 RSA_PARSE_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef SAFE_SYSCALL_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 SAFE_SYSCALL_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SERVICE_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 SERVICE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SH_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 SH_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SH_LANGUAGE_SERVER_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 SH_LANGUAGE_SERVER_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-04-26 04:28:37 +03:00
|
|
|
#ifndef SHELL_JOB_DEBUG
|
|
|
|
#cmakedefine01 SHELL_JOB_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-05-16 05:12:22 +03:00
|
|
|
#ifndef SOLITAIRE_DEBUG
|
|
|
|
#cmakedefine01 SOLITAIRE_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef SPAM_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 SPAM_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-04-19 00:34:17 +03:00
|
|
|
#ifndef SQL_DEBUG
|
|
|
|
#cmakedefine01 SQL_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef SYNTAX_HIGHLIGHTING_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 SYNTAX_HIGHLIGHTING_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-02-12 00:43:18 +03:00
|
|
|
#ifndef SYSCALL_1_DEBUG
|
|
|
|
#cmakedefine01 SYSCALL_1_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef SYSTEM_MENU_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 SYSTEM_MENU_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef SYSTEMSERVER_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 SYSTEMSERVER_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef TERMCAP_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 TERMCAP_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef TERMINAL_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 TERMINAL_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef TEXTEDITOR_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 TEXTEDITOR_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef TLS_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 TLS_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef TOKENIZER_TRACE_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 TOKENIZER_TRACE_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef UCI_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 UCI_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef UPDATE_COALESCING_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 UPDATE_COALESCING_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
2021-05-25 23:13:15 +03:00
|
|
|
#ifndef URL_PARSER_DEBUG
|
|
|
|
#cmakedefine01 URL_PARSER_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-04-26 11:18:13 +03:00
|
|
|
#ifndef WASM_BINPARSER_DEBUG
|
|
|
|
#cmakedefine01 WASM_BINPARSER_DEBUG
|
2021-05-18 00:32:59 +03:00
|
|
|
#endif
|
2021-05-08 21:37:43 +03:00
|
|
|
|
2021-05-18 00:32:59 +03:00
|
|
|
#ifndef WASM_TRACE_DEBUG
|
|
|
|
#cmakedefine01 WASM_TRACE_DEBUG
|
2021-04-26 11:18:13 +03:00
|
|
|
#endif
|
|
|
|
|
2021-05-30 17:42:03 +03:00
|
|
|
#ifndef WEBSERVER_DEBUG
|
|
|
|
#cmakedefine01 WEBSERVER_DEBUG
|
|
|
|
#endif
|
|
|
|
|
2021-01-30 18:47:20 +03:00
|
|
|
#ifndef WINDOWMANAGER_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 WINDOWMANAGER_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef WRAPPER_GENERATOR_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 WRAPPER_GENERATOR_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef WSMESSAGELOOP_DEBUG
|
2021-01-24 17:28:26 +03:00
|
|
|
#cmakedefine01 WSMESSAGELOOP_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef WSSCREEN_DEBUG
|
2021-01-25 18:07:10 +03:00
|
|
|
#cmakedefine01 WSSCREEN_DEBUG
|
2021-01-30 18:47:20 +03:00
|
|
|
#endif
|