Commit graph

12991 commits

Author SHA1 Message Date
rfm
e58f37337c Fix empty preprocessor directive 2023-10-30 13:56:21 +00:00
rfm
1ab459bffa Permint '^' block syntax in declarator 2023-10-30 13:54:58 +00:00
rfm
112c60b48b Tweaks to make preprocessor documentation more reliable 2023-10-30 12:27:25 +00:00
rfm
8a7612857e Fixp for parsing format macros 2023-10-30 09:50:34 +00:00
rfm
15824ad7c8 Fixups for property parsing and documenting getter/setter better 2023-10-29 09:13:54 +00:00
rfm
384a0de0ba Fix minor documentation errors 2023-10-28 15:38:22 +01:00
rfm
1f5af5388b Add -where to report the current parser line and position within it 2023-10-28 15:37:12 +01:00
rfm
57f066442e Add diagnostic code and implement lookup for metods in informal protocols 2023-10-27 15:10:11 +01:00
rfm
1942313dea NSISO8601DateFormatter bugfix (as reported by kevinpeizner) and tweaks. 2023-10-26 14:19:06 +01:00
rfm
fa30cfa93a Remove -WordMap information (now built in to autogsdoc) and use -Verbose 2023-10-26 11:24:30 +01:00
rfm
7740439ffc Fix problem marking a tool (when we find the 'main' function). 2023-10-25 10:31:10 +01:00
rfm
120ac85382 Add more predefined works for preprocessor macros used in core.
Avoid duplication of source files (repeated parsing)
2023-10-25 10:28:55 +01:00
Riccardo Mottola
eb5dcd684d ignoring Documentation alltogether was too much 2023-10-23 22:18:50 +02:00
rfm
a881fc25f3 Merge branch 'autogsdoc-improvements' of ssh://github.com/gnustep/libs-base into autogsdoc-improvements 2023-10-23 20:57:53 +01:00
rfm
4c4397bdcd fix bad comment markup 2023-10-23 20:49:19 +01:00
Riccardo Mottola
38a9b9c016 improve ignores for editor files, cores, Doc byproducts 2023-10-23 21:43:01 +02:00
Riccardo Mottola
02262e9ac0 some cleanup for autogsdoc 2023-10-23 21:41:59 +02:00
rfm
a9a198a283 Use full name of person generating documentation as author 2023-10-23 20:11:44 +01:00
rfm
05c8051a9c Clarify warning 2023-10-23 20:04:10 +01:00
rfm
7dfe3c56a5 Add missing preprocessor value mappings 2023-10-23 19:56:10 +01:00
rfm
2e3740566b Ignore preprocessor directives when parsing declarations 2023-10-23 16:37:04 +01:00
rfm
77d08980f6 iMore fixes for generics comparisons 2023-10-23 15:54:43 +01:00
rfm
700228d72b Implement function to strip generic markup in order to make type
comparison work when generics are used.
2023-10-23 14:25:19 +01:00
rfm
ebf1aa9954 Record property attributes in description. 2023-10-23 11:46:46 +01:00
rfm
064feab09c Remove parsing of $Date$ and $Revision$ RCS markup.
Make default <date> content be the documentation generation timestamp.
Ignore @synthesize and @dynamic property statements in source.
Implement @property parsing.
Generate method documentation for property getters/setters.
2023-10-23 11:19:31 +01:00
rfm
7924d3a08f
Merge pull request #333 from qmfrederik/fixes/objc-includes
Add missing includes for `objc_msg_lookup` in `NSObject.m` and `NSProxy.m`
2023-10-21 19:08:49 +01:00
rfm
ab11ba285e
Merge pull request #337 from qmfrederik/fixes/tool-not-found-error
NSDistributedNotificationCenter: Throw a descriptive exception when gdnc could not be found
2023-10-21 19:08:02 +01:00
rfm
921c1317f7 Fix to make working directory checks function on windows 2023-10-11 18:10:44 +01:00
Frederik Carlier
b9f3bb4d76 NSDistributedNotificationCenter: Throw a descriptive exception when gdnc could not be found
`NSTask launchPathForTool: @"gdnc"];` can return `nil` when the tool is not found.  In this case, `[NSTask launchedTaskWithLaunchPath]` would raise a `NSInvalidArgumentException` with error message "NSTask - no launch path set" which is not very descriptive.
2023-10-11 16:38:17 +02:00
Richard Frith-Macdonald
f0f841c01f test for non existent directory 2023-10-10 18:12:17 +01:00
Richard Frith-Macdonald
a5a9423c10 Return error if task directory is bad 2023-10-10 17:01:52 +01:00
Gregory Casamento
9d0887e4d6
Merge pull request #336 from gnustep/NSObject_issue335 2023-10-10 05:28:26 -04:00
Gregory John Casamento
e73f55f182 Remove check for GSMacOSXCompatible from respondsToSelector: 2023-10-10 03:45:21 -04:00
Gregory John Casamento
2300a26b1a Update... fix respondsToSelector: 2023-10-10 00:28:49 -04:00
Wolfgang Lux
3ed5eb3dcf Use _exit instead of exit to terminate a vfork'ed process.
This avoids running the atexit handlers, which could have visible side
effects in the parent process.
2023-10-09 22:51:01 +02:00
Riccardo Mottola
5121156f6b The compiler complained that we ignored the return of write(), we
change to the library call and keep it happy.
2023-10-09 21:02:35 +02:00
Frederik Carlier
f92c46982d NSProxy: Include <objc/message.h>
NSProxy uses objc_msg_lookup, which is defined in <objc/message.h>
2023-10-08 23:20:52 +02:00
Frederik Carlier
ed77305f32 NSObject: Include <objc/message.h>
NSObject uses objc_msg_lookup, which is defined in message.h
2023-10-08 23:19:30 +02:00
Frederik Carlier
1f2eba393c Use __has_include to choose between <Block.h> and <objc/blocks_runtime.h>
Most Linux distributions and MSYS2 include a version of BlocksRuntime which includes the `Block.h` header.
2023-10-08 20:19:25 +02:00
Richard Frith-Macdonald
531d3b8559 Small array keyword fixes for NSPredicate 2023-10-08 13:48:33 +01:00
Gregory Casamento
e58b83c1f3
Merge pull request #330 from gnustep/NSKeyValueObserving_issue327 2023-10-08 05:49:59 -04:00
rfm
0d9e456bef
Merge pull request #331 from qmfrederik/fixes/mingw-setjpm-clang
Win64: Only use `__builtin_setjmp`/`__builtin_longjmp` when compiling with GCC
2023-10-08 10:30:08 +01:00
Gregory John Casamento
19cfd59b47 update changelog 2023-10-07 20:51:47 -04:00
Gregory John Casamento
dbc71df600 Remove unneeded method definition 2023-10-07 20:51:47 -04:00
Gregory John Casamento
48ccee0beb Update tests to cover removeObserver:fromObjectsAtIndexes:forKeyPath:context: 2023-10-07 20:51:47 -04:00
Gregory John Casamento
a70745b27a Add test products to ignore list 2023-10-07 20:51:47 -04:00
Gregory John Casamento
3c7e13244f Update tests to test removeObserver:forKeyPath:context method 2023-10-07 20:51:47 -04:00
Gregory John Casamento
f2e31e0b54 Move implementation of new method to correct category 2023-10-07 20:51:47 -04:00
Gregory John Casamento
edc15778d2 Add removeObserver:fromObjectsAtIndexes:forKeyPath:context: method 2023-10-07 20:51:47 -04:00
Frederik Carlier
673a6880ee Win64: Remove workaround for setjmp/longjmp misbehaving
Using `__builtin_setjmp` when compiling with Clang on MSYS2 will result in compiler warnings and runtime crashes.
Additionally, all tests seem to pass on recent versions of MSYS2 without this workaround in place.

Compiler warning on Clang:

warning: incompatible pointer types passing 'jmp_buf' (aka 'struct _SETJMP_FLOAT128[16]') to parameter of type 'void **' [-Wincompatible-pointer-types]
                NS_DURING
                ^~~~~~~~~
note: expanded from macro 'NS_DURING'
                    if (!setjmp(NSLocalHandler.jumpState)) {
                                ^~~~~~~~~~~~~~~~~~~~~~~~
note: expanded from macro 'setjmp'
                                         ^
1 warning generated.
2023-10-07 17:35:54 +02:00