Skip to content

Commit

Permalink
Merge branch 'master' into xml_sax2
Browse files Browse the repository at this point in the history
  • Loading branch information
rfm committed Jan 16, 2025
2 parents caba32d + d07c207 commit 9c89fd3
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 10 deletions.
14 changes: 9 additions & 5 deletions Documentation/Base.gsdoc
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,9 @@ notice and this notice are preserved.
memory on process exit.
</p>
<p>
Use of this facility is a work in progress ... many classes
do not yet clean up after themselves when this is enabled.
Many classes do not yet clean up after themselves when this
is enabled. Cleanup is currently problematic and may never
work nicely, so this feature may be removed.
</p>
</desc>
<term>GNUSTEP_STACK_TRACE</term>
Expand Down Expand Up @@ -500,7 +501,9 @@ notice and this notice are preserved.
This may be used in conjunction with NSZombieEnabled to specify
whether the objects should really be deallocated. If you set
this to YES, the zombie logging will only work until the
deallocated memory is re-used.
deallocated memory is re-used.<br />
This feature only works with the classic runtime as the modern
runtime can't support both zombies and deallocation.
</p>
</desc>
<term>NSZombieEnabled</term>
Expand All @@ -516,8 +519,9 @@ notice and this notice are preserved.
examine the process memory when you are running under a
debugger.<br />
As this overrides actual object deallocation, all memory
allocated for objects will be leaked unless the
NSDeallocateZombies environment variable is also set.<br />
allocated for objects will be leaked (unless using the
classic runtime with the NSDeallocateZombies environment
variable is also set).<br />
You can use the <code>CRASH_ON_ZOMBIE</code> environment
variable to force an abort after the message is logged.
</p>
Expand Down
14 changes: 11 additions & 3 deletions Documentation/coding-standards.texi
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,11 @@ where those spaces might be omitted ((eg. when brackets are doubled)).
This applies to square brackets too.

Where round brackets are used to enclose function or macro paramters, there
is no space between the function romacro name and the opening bracket, and
is no space between the function or macro name and the opening bracket, and
where round brackets are used for type-casts or at the end of a statement,
there is normally no space between the closing bracket and the following
expression or semicolon-
expression or semicolon (however there is a space between the round bracket
and the start of a method name in a method declaration or definition) -
@example
a = (int)b;
- (void) methodWithArg1: (int)arg1 andArg2: (float)arg2;
Expand Down Expand Up @@ -300,7 +301,14 @@ using ObjectiveC-2.0, though compatibility with old compilers should be
maintained wherever possible, and preprocessor macros must be used to at
least conditionally build new code without breaking old code.

One ObjectiveC-2.0 feature (the dot ('.') operator) is forbidden though.
In particular, blocks are completely non-portable and must never be used
internally (though methods with block arguments are provided for
compatibilty with the Apple APIs). As well as being similar to the 'goto'
operation in making code hard to maintain, bllocks have a number of issues
which mean they are never likely to become standard across compilers
(eg https://thephd.dev/lambdas-nested-functions-block-expressions-oh-my).

Another ObjectiveC-2.0 feature (the dot ('.') operator) is also forbidden.
One problem is that, while apparently simple, the actual operation of this
feature in unusual cases is actually undefined and varies between compiler
versions.
Expand Down
10 changes: 8 additions & 2 deletions Documentation/news.texi
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ See the @url{ReleaseNotes.html} document for more information.

@section Noteworthy changes in version @samp{1.30.0}

@itemize @bullet

@end itemize

@ifclear ANNOUNCE-ONLY

@section Noteworthy changes in version @samp{1.30.0}

@itemize @bullet
@item Library version changed from 1.29 to 1.30

Expand Down Expand Up @@ -62,8 +70,6 @@ See the @url{ReleaseNotes.html} document for more information.

@end itemize

@ifclear ANNOUNCE-ONLY

@section Noteworthy changes in version @samp{1.29.0}

@itemize @bullet
Expand Down

0 comments on commit 9c89fd3

Please sign in to comment.