GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Updated formatting configuration for Uncrustify 0.63. · core-plot/core-plot@b4cc5ae

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • examples/DropPlot
    • CPTPlotDocument.m
  • framework
    • Source
      • CPTBarPlot.m
      • CPTCalendarFormatter.m
      • CPTPlot.m
    • iPhoneOnly
      • CPTTextStylePlatformSpecific.h
  • scripts
    • uncrustify.cfg
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎examples/DropPlot/CPTPlotDocument.m‎

Copy file name to clipboardExpand all lines: examples/DropPlot/CPTPlotDocument.m
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ -(BOOL)readFromData:(nonnull NSData *)data ofType:(NSString *)typeName error:(NS
156156
NSString *fileContents = [[NSString alloc] initWithData:data encoding:NSASCIIStringEncoding];
157157

158158
// Parse CSV
159-
NSUInteger length = fileContents.length;
159+
NSUInteger length = fileContents.length;
160160
NSUInteger lineStart = 0, lineEnd = 0, contentsEnd = 0;
161161
NSRange currentRange;
162162

Collapse file

‎framework/Source/CPTBarPlot.m‎

Copy file name to clipboardExpand all lines: framework/Source/CPTBarPlot.m
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -656,8 +656,8 @@ -(double)doubleLengthInPlotCoordinates:(NSDecimal)decimalLength
656656
double length;
657657

658658
if ( self.barWidthsAreInViewCoordinates ) {
659-
CGFloat floatLength = CPTDecimalCGFloatValue(decimalLength);
660-
CGPoint originViewPoint = CGPointZero;
659+
CGFloat floatLength = CPTDecimalCGFloatValue(decimalLength);
660+
CGPoint originViewPoint = CGPointZero;
661661
CGPoint displacedViewPoint = CPTPointMake(floatLength, floatLength);
662662
double originPlotPoint[2], displacedPlotPoint[2];
663663
CPTPlotSpace *thePlotSpace = self.plotSpace;
@@ -681,8 +681,8 @@ -(NSDecimal)lengthInPlotCoordinates:(NSDecimal)decimalLength
681681
NSDecimal length;
682682

683683
if ( self.barWidthsAreInViewCoordinates ) {
684-
CGFloat floatLength = CPTDecimalCGFloatValue(decimalLength);
685-
CGPoint originViewPoint = CGPointZero;
684+
CGFloat floatLength = CPTDecimalCGFloatValue(decimalLength);
685+
CGPoint originViewPoint = CGPointZero;
686686
CGPoint displacedViewPoint = CPTPointMake(floatLength, floatLength);
687687
NSDecimal originPlotPoint[2], displacedPlotPoint[2];
688688
CPTPlotSpace *thePlotSpace = self.plotSpace;
Collapse file

‎framework/Source/CPTCalendarFormatter.m‎

Copy file name to clipboardExpand all lines: framework/Source/CPTCalendarFormatter.m
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ -(nullable NSString *)stringForObjectValue:(nonnull id)coordinateValue
189189
dateComponents.weekdayOrdinal = componentIncrement;
190190
break;
191191

192-
#if MAC_OS_X_VERSION_10_5 < MAC_OS_X_VERSION_MAX_ALLOWED || __IPHONE_3_0 < __IPHONE_OS_VERSION_MAX_ALLOWED
192+
#if MAC_OS_X_VERSION_10_5<MAC_OS_X_VERSION_MAX_ALLOWED || __IPHONE_3_0<__IPHONE_OS_VERSION_MAX_ALLOWED
193193
case NSCalendarUnitQuarter:
194194
if ( [dateComponents respondsToSelector:@selector(setQuarter:)] ) {
195195
dateComponents.quarter = componentIncrement;
@@ -199,7 +199,7 @@ -(nullable NSString *)stringForObjectValue:(nonnull id)coordinateValue
199199
}
200200
break;
201201
#endif
202-
#if MAC_OS_X_VERSION_10_6 < MAC_OS_X_VERSION_MAX_ALLOWED || __IPHONE_4_0 < __IPHONE_OS_VERSION_MAX_ALLOWED
202+
#if MAC_OS_X_VERSION_10_6<MAC_OS_X_VERSION_MAX_ALLOWED || __IPHONE_4_0<__IPHONE_OS_VERSION_MAX_ALLOWED
203203
case NSCalendarUnitWeekOfMonth:
204204
if ( [dateComponents respondsToSelector:@selector(setWeekOfMonth:)] ) {
205205
dateComponents.weekOfMonth = componentIncrement;
@@ -227,7 +227,7 @@ -(nullable NSString *)stringForObjectValue:(nonnull id)coordinateValue
227227
}
228228
break;
229229
#endif
230-
#if MAC_OS_X_VERSION_10_7 < MAC_OS_X_VERSION_MAX_ALLOWED || __IPHONE_4_0 < __IPHONE_OS_VERSION_MAX_ALLOWED
230+
#if MAC_OS_X_VERSION_10_7<MAC_OS_X_VERSION_MAX_ALLOWED || __IPHONE_4_0<__IPHONE_OS_VERSION_MAX_ALLOWED
231231
case NSCalendarUnitCalendar:
232232
[NSException raise:CPTException format:@"Unsupported calendar unit: NSCalendarCalendarUnit"];
233233
break;
@@ -236,7 +236,7 @@ -(nullable NSString *)stringForObjectValue:(nonnull id)coordinateValue
236236
[NSException raise:CPTException format:@"Unsupported calendar unit: NSTimeZoneCalendarUnit"];
237237
break;
238238
#endif
239-
#if MAC_OS_X_VERSION_10_8 < MAC_OS_X_VERSION_MAX_ALLOWED || __IPHONE_4_0 < __IPHONE_OS_VERSION_MAX_ALLOWED
239+
#if MAC_OS_X_VERSION_10_8<MAC_OS_X_VERSION_MAX_ALLOWED || __IPHONE_4_0<__IPHONE_OS_VERSION_MAX_ALLOWED
240240
default:
241241
[NSException raise:CPTException format:@"Unsupported calendar unit"];
242242
break;
Collapse file

‎framework/Source/CPTPlot.m‎

Copy file name to clipboardExpand all lines: framework/Source/CPTPlot.m
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1600,7 +1600,7 @@ -(void)relabel
16001600
BOOL plotProvidesLabels = dataLabelTextStyle && dataLabelFormatter;
16011601

16021602
BOOL hasCachedLabels = NO;
1603-
NSMutableArray<CPTLayer *> *cachedLabels = (NSMutableArray<CPTLayer *> *)[self cachedArrayForKey: CPTPlotBindingDataLabels];
1603+
NSMutableArray<CPTLayer *> *cachedLabels = (NSMutableArray<CPTLayer *> *)[self cachedArrayForKey:CPTPlotBindingDataLabels];
16041604
for ( CPTLayer *label in cachedLabels ) {
16051605
if ( ![label isKindOfClass:nullClass] ) {
16061606
hasCachedLabels = YES;
Collapse file

‎framework/iPhoneOnly/CPTTextStylePlatformSpecific.h‎

Copy file name to clipboardExpand all lines: framework/iPhoneOnly/CPTTextStylePlatformSpecific.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ typedef NS_ENUM (NSInteger, CPTTextAlignment) {
1414
// @cond
1515
// for iOS SDK compatibility
1616
#if TARGET_OS_SIMULATOR || TARGET_OS_IPHONE
17-
#if __IPHONE_OS_VERSION_MAX_ALLOWED < 70000
17+
#if __IPHONE_OS_VERSION_MAX_ALLOWED<70000
1818
@interface NSString(CPTTextStylePlatformSpecificExtensions)
1919

2020
-(CGSize)sizeWithAttributes:(nonnull CPTDictionary *)attrs;
Collapse file

‎scripts/uncrustify.cfg‎

Copy file name to clipboardExpand all lines: scripts/uncrustify.cfg
+10-1Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Uncrustify 0.62
1+
# Uncrustify 0.63
22
newlines = auto
33
input_tab_size = 4
44
output_tab_size = 4
@@ -292,6 +292,7 @@ align_pp_define_together = false
292292
align_pp_define_gap = 1
293293
align_pp_define_span = 2
294294
align_left_shift = true
295+
align_asm_colon = false
295296
align_oc_msg_colon_span = 16
296297
align_oc_msg_colon_first = false
297298
align_oc_decl_colon = true
@@ -405,6 +406,8 @@ nl_before_do = ignore
405406
nl_after_do = ignore
406407
nl_ds_struct_enum_cmt = false
407408
nl_ds_struct_enum_close_brace = false
409+
nl_before_func_class_def = 0
410+
nl_before_func_class_proto = 0
408411
nl_class_colon = remove
409412
nl_constr_colon = ignore
410413
nl_create_if_one_liner = true
@@ -427,6 +430,8 @@ ls_code_width = false
427430
nl_max = 2
428431
nl_after_func_proto = 1
429432
nl_after_func_proto_group = 2
433+
nl_before_func_body_def = 0
434+
nl_before_func_body_proto = 0
430435
nl_after_func_body = 2
431436
nl_after_func_body_class = 0
432437
nl_after_func_body_one_liner = 1
@@ -505,3 +510,7 @@ pp_region_indent_code = false
505510
pp_indent_if = 0
506511
pp_if_indent_code = false
507512
pp_define_at_level = false
513+
use_indent_func_call_param = true
514+
use_indent_continue_only_once = false
515+
# option(s) with 'not default' value: 0
516+
#

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.