Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
rmottola committed Jan 16, 2023
2 parents 63af855 + 5964418 commit de5e8f6
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 14 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
* Framework/PCProjectWindow.m
nil the delegates of the split-view, avoid a crash on close window.

2022-01-13 Riccardo Mottola <[email protected]>

* Framework/PCProjectInspector.m
Don't assign nil, it is useless, just destroy it: retaining nil is
useless.

2022-01-12 Riccardo Mottola <[email protected]>

* Modules/Editors/ProjectCenter/PCEditor.h
Expand Down
4 changes: 2 additions & 2 deletions Framework/PCProjectInspector.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
Copyright (C) 2000-2021 Free Software Foundation
Copyright (C) 2000-2023 Free Software Foundation
Authors: Philippe C.D. Robert
Serg Stoyan
Expand Down Expand Up @@ -429,7 +429,7 @@ - (void)searchOrderPopupDidChange:(id)sender
}
else
{
ASSIGN(searchItems,nil);
DESTROY(searchItems);
}

[searchOrderList reloadData];
Expand Down
2 changes: 1 addition & 1 deletion Modules/Editors/ProjectCenter/SyntaxDefinition.m
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ + (void)initialize
NSLog(_(@"Missing keyword pattern declaration "
@"in context %i keyword %i. Ignoring all the "
@"remaining of the keywords in this context."),
i, j);
(int)i, (int)j);
break;
}
pattern = CompileTextPattern(keywordString);
Expand Down
12 changes: 6 additions & 6 deletions Modules/Editors/ProjectCenter/TextPattern.m
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
{
NSLog(_(@"Text pattern item parse error in text "
@"pattern \"%@\" at index %i: unexpected end of "
@"pattern. Escape sequence expected."), string);
@"pattern. Escape sequence expected."), string, i);

free (buf);
free (newItem);
Expand Down Expand Up @@ -126,7 +126,7 @@
{
NSLog(_(@"Text pattern item parse error in text pattern "
@"\"%@\" at index %i: unexpected end of pattern. Escape "
@"sequence expected."), string);
@"sequence expected."), string, i);

free (newItem);
return NULL;
Expand Down Expand Up @@ -172,8 +172,8 @@
if (![scanner scanInt: &value])
{
NSLog(_(@"Text pattern item parse error in text pattern "
@"\"%@\" at index %i: integer expected."), string,
[scanner scanLocation]);
@"\"%@\" at index %li: integer expected."), string,
(long int)[scanner scanLocation]);

FreeTextPatternItem(newItem);

Expand All @@ -198,8 +198,8 @@
if (![scanner scanInt: &value])
{
NSLog(_(@"Text pattern item parser error in text "
@"pattern \"%@\" at index %i: integer expected."),
string, [scanner scanLocation]);
@"pattern \"%@\" at index %li: integer expected."),
string, (long int)[scanner scanLocation]);

FreeTextPatternItem(newItem);

Expand Down
8 changes: 4 additions & 4 deletions Modules/Projects/Framework/PCFrameworkProject.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
GNUstep ProjectCenter - http://www.gnustep.org/experience/ProjectCenter.html
Copyright (C) 2005-2018 Free Software Foundation
Copyright (C) 2005-2023 Free Software Foundation
Authors: Serg Stoyan
Riccardo Mottola
Expand Down Expand Up @@ -319,11 +319,11 @@ - (void)appendGSDoc:(PCMakefileFactory *)mff
[mff appendString:@"\n#\n# AutoGSDoc\n#\n"];
[mff appendString: [NSString stringWithFormat:@"DOCUMENT_NAME = %@\n\n", projectName]];
[mff appendString: [NSString stringWithFormat:@"%@_AGSDOC_FILES = %@.gsdoc \\\n",
projectName, projectName]];
projectName, projectName]];
[mff appendString: [NSString stringWithFormat:@"\t$(%@_HEADER_FILES) \\\n",
projectName, projectName]];
projectName]];
[mff appendString: [NSString stringWithFormat:@"\t$(%@_OBJC_FILES) \\\n",
projectName, projectName]];
projectName]];
[mff appendString: [NSString stringWithFormat:@"\n\n%@_AGSDOC_FLAGS += -MakeFrames YES\n", projectName]];
}

Expand Down
2 changes: 1 addition & 1 deletion Resources/Info-gnustep.plist
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@
}
);
URL = "See http://www.gnustep.org/";
Copyright = "Copyright (C) 1999 - 2022 Free Software Foundation";
Copyright = "Copyright (C) 1999 - 2023 Free Software Foundation";
CopyrightDescription = "Released under the GNU General Public License 3.0 or later";
}

0 comments on commit de5e8f6

Please sign in to comment.