Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit b1c1399

Browse files
Merge remote-tracking branch 'origin/develop-7.0' into develop
Unreviewed changes: * `config/linux.gypi`: changes ported to `config/linux-settings.gypi` * docs/dictionary/operator/bitNot.xml: changes ported to `bitNot.lcdoc` * engine/src/osxprinter.cpp * engine/src/stackcache.cpp * engine/src/sysspec.cpp * libfoundation/src/foundation-value.cpp Changes to be committed: modified: config/ios.gypi modified: config/linux-settings.gypi The following files had to be modified to cope with `-Werror=tautological-compare` flag on iOS and Mac * libbrowser/src/libbrowser.cpp * libbrowser/src/libbrowser_android.cpp * libbrowser/src/libbrowser_desktop_factories.cpp * libbrowser/src/libbrowser_internal.h * libbrowser/src/libbrowser_ios_factories.cpp
2 parents 896f6cb + 8f0ad54 commit b1c1399

31 files changed

+784
-440
lines changed

config/ios.gypi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@
192192
'-Wno-unused-parameter',
193193
'-Werror=uninitialized',
194194
'-Werror=return-type',
195+
'-Werror=tautological-compare',
195196
],
196197
},
197198
},

config/linux-settings.gypi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@
6868
'-Wall',
6969
'-Wextra',
7070
'-Wno-unused-parameter', # Just contributes build noise
71+
'-Wno-return-type',
72+
'-Werror=uninitialized',
73+
'-Werror=return-type',
7174
],
7275
},
7376
{
@@ -76,8 +79,6 @@
7679
'-w', # Disable warnings
7780
'-fpermissive', # Be more lax with old code
7881
'-Wno-return-type',
79-
'-Werror=uninitialized',
80-
'-Werror=return-type',
8182
],
8283

8384
'cflags_c':

config/mac.gypi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
'-Wno-unused-parameter',
122122
'-Werror=uninitialized',
123123
'-Werror=return-type',
124+
'-Werror=tautological-compare',
124125
],
125126
},
126127
},

docs/dictionary/operator/bitNot.lcdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Type: operator
44

55
Syntax: bitNot <number>
66

7-
Summary: Performs a "bitwise not" <operation> on the <binary> representation of a number.
7+
Summary: Performs a "bitwise not" <operation> on the <binary> representation of a number as an unsigned, 32-bit integer
88

99
Introduced: 1.0
1010

@@ -13,10 +13,10 @@ OS: mac,windows,linux,ios,android
1313
Platforms: desktop,server,web,mobile
1414

1515
Example:
16-
bitNot 1 -- evaluates to 0
16+
bitNot 1 -- evaluates to 4294967294
1717

1818
Example:
19-
bitNot 14 -- in binary: bitNot 1110; evaluates to 0001; converted to 1
19+
bitNot 14 -- in binary: bitNot 0000000000001110; evaluates to 1111111111110001; converted to 4294967281
2020

2121
Parameters:
2222
number: A number, or an expression that evaluates to a number, between zero and 4,294,967,295 (2^32 - 1).

docs/notes/bugfix-16223.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# 'the folders' doesn't return ".." if there are no other folders on MacOSX

docs/notes/bugfix-16278.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Release Notes should clearly state supported Xcode versions

docs/notes/bugfix-16288.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Crash on standalone shutdown

docs/notes/bugfix-16308.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Incomplete RTF generated when text contains hyperlinks

docs/notes/bugfix-16395.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# bitNot dictionary example incorrect

docs/notes/bugfix-16445.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# setting hiliteFill of a button sets its autoArm property

0 commit comments

Comments
 (0)