Jonathan G Rennison
|
97e6f3062e
|
Adding of _t to (u)int types, and WChar to char32_t
See: eaae0bb5e
|
5 months ago |
Jonathan G Rennison
|
7f6b1d6b94
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/company_cmd.cpp
# src/company_func.h
# src/core/overflowsafe_type.hpp
# src/engine.cpp
# src/music/midifile.cpp
# src/network/network_command.cpp
# src/newgrf_debug_gui.cpp
# src/newgrf_roadstop.h
# src/newgrf_spritegroup.cpp
# src/os/macosx/crashlog_osx.cpp
# src/os/unix/crashlog_unix.cpp
# src/pathfinder/yapf/yapf_common.hpp
# src/road_gui.cpp
# src/saveload/engine_sl.cpp
# src/script/api/script_depotlist.cpp
# src/script/api/script_roadtypelist.cpp
# src/settings_gui.cpp
# src/settings_type.h
# src/strings.cpp
# src/table/settings/game_settings.ini
|
5 months ago |
Rubidium
|
e3f49ee7a0
|
Codechange: coding style fixes
|
5 months ago |
Rubidium
|
eaae0bb5e7
|
Codechange: automatic adding of _t to (u)int types, and WChar to char32_t
for i in `find src -type f|grep -v 3rdparty/fmt|grep -v 3rdparty/catch2|grep -v 3rdparty/opengl|grep -v stdafx.h`; do sed 's/uint16& /uint16 \&/g;s/int8\([ >*),;[]\)/int8_t\1/g;s/int16\([ >*),;[]\)/int16_t\1/g;s/int32\([ >*),;[]\)/int32_t\1/g;s/int64\([ >*),;[]\)/int64_t\1/g;s/ uint32(/ uint32_t(/g;s/_uint8_t/_uint8/;s/Uint8_t/Uint8/;s/ft_int64_t/ft_int64/g;s/uint64$/uint64_t/;s/WChar/char32_t/g;s/char32_t char32_t/char32_t WChar/' -i $i; done
|
11 months ago |
Patric Stout
|
28e90769f7
|
Codechange: use "[[maybe_unused]]" instead of a wide variety of other ways we had
While at it, replace OTTD_ASSERT with WITH_ASSERT, as this
is always set if assert() is valid. No matter if NDEBUG is set
or not.
|
3 years ago |
Patric Stout
|
fece1c57ca
|
Codechange: Suppress warnings when asserts are disabled (#8917)
|
3 years ago |
S. D. Cloudt
|
13cc8a0cee
|
Cleanup: Removed SVN headers
|
5 years ago |
Henry Wilson
|
7c8e7c6b6e
|
Codechange: Use null pointer literal instead of the NULL macro
|
5 years ago |
PeterN
|
8a7de36463
|
Change [#6689]: Tweak HashTable hash calculation to reduce collisions. (kernigh2) (#6786)
|
6 years ago |
alberth
|
1105b4d2c9
|
(svn r27363) -Codechange: Fix codestyle of one-line methods and header codestyle of derived structs.
|
9 years ago |
alberth
|
b885d79f50
|
(svn r27362) -Codechange: Codestyle fixes for reference var declarations, static cast type, operator methods.
|
9 years ago |
truebrain
|
1c9bec1999
|
(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
|
13 years ago |
smatz
|
9eafc6c28f
|
(svn r22351) -Revert (r17101): and reinstall r16546. Hash tables are much smaller now, so it shouldn't cause crash anymore
|
13 years ago |
alberth
|
1dbc0a20be
|
(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'
|
13 years ago |
alberth
|
67cd2cd6be
|
(svn r21594) -Codechange: Whitespace fixes in ifndef/define lines.
|
14 years ago |
rubidium
|
30f2afac9b
|
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
|
14 years ago |
frosch
|
4bd32799f1
|
(svn r20286) -Codechange: Unify end of doxygen comments.
|
14 years ago |
frosch
|
ed4f806f1d
|
(svn r20283) -Codechange: Unify start of doygen comments.
|
14 years ago |
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
smatz
|
135f80f95b
|
(svn r17101) -Revert [FS#3065](r16546): large table on stack caused stack overflow on some architectures
|
15 years ago |
smatz
|
fd191dd616
|
(svn r16546) -Codechange: use array member instead of allocating in costructor and freeing in desctructor
|
15 years ago |
rubidium
|
b25a4f8231
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
15 years ago |
rubidium
|
11da45ee55
|
(svn r14949) -Cleanup: pointer coding style
|
16 years ago |
rubidium
|
d03994098b
|
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
|
16 years ago |
belugas
|
607a55f4ec
|
(svn r9662) -Documentation: Doxygen corrections and @file omissions
|
17 years ago |
KUDr
|
f2e5e604fb
|
(svn r8092) -Codechange: header files with miscellaneous template classes (smart pointers, blob, array, hashtable, etc.) moved from src/yapf to src/misc as they can now be used anywhere.
|
18 years ago |