Overview
Comment: | OFApplication: Only handle defined signals |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
e3e464fc6efd7a1e572abf37d69b40f1 |
User & Date: | js on 2017-05-06 21:31:03 |
Other Links: | manifest | tags |
Context
2017-05-06
| ||
22:06 | configure: Check for wchar_t and wchar.h check-in: 13768d7743 user: js tags: trunk | |
21:31 | OFApplication: Only handle defined signals check-in: e3e464fc6e user: js tags: trunk | |
19:43 | Clean up a few includes check-in: cca678886f user: js tags: trunk | |
Changes
Modified Doxyfile from [2f9386cc09] to [711a52b3dd].
︙ | |||
19 20 21 22 23 24 25 | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | - + + + + | OF_NULL_RESETTABLE_PROPERTY \ OF_REQUIRES_SUPER \ OF_RETURNS_INNER_POINTER \ OF_RETURNS_NOT_RETAINED \ OF_RETURNS_RETAINED \ OF_ROOT_CLASS \ OF_SENTINEL \ |
Modified src/OFApplication.h from [ce51a82a57] to [7c21208134].
︙ | |||
9 10 11 12 13 14 15 16 17 18 19 20 21 22 | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | + + | * the packaging of this file. * * Alternatively, it may be distributed under the terms of the GNU General * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #include <signal.h> #import "OFObject.h" OF_ASSUME_NONNULL_BEGIN @class OFString; #ifndef DOXYGEN |
︙ | |||
62 63 64 65 66 67 68 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | - + + + + + | * @warning You are not allowed to send any messages inside this method, as * message dispatching is not signal-safe! You are only allowed to do * signal-safe operations like setting a variable or calling a * signal-safe function! */ - (void)applicationDidReceiveSIGINT; |
︙ |
Modified src/OFApplication.m from [905d16d4dd] to [788679a7cf].
︙ | |||
94 95 96 97 98 99 100 | 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | - + + + + + | static void \ handle##sig(int signal) \ { \ app->_##sig##Handler(app->_delegate, \ @selector(applicationDidReceive##sig)); \ } SIGNAL_HANDLER(SIGINT) |
︙ | |||
458 459 460 461 462 463 464 | 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 | - + + + + + | } else \ signal(sig, SIG_DFL); #endif _delegate = delegate; REGISTER_SIGNAL(SIGINT) |
︙ |