Age | Commit message (Collapse) | Author |
|
I can show you the code
Pretty, with proper whitespace
Tell me, coder, now when did
You last write readable code?
I can open your eyes
Make you see your bad indent
Force you to respect the style
The core devs agreed upon
A whole new world
A new fantastic code format
A de facto standard
With some sugar
Enforced with clang-format
A whole new world
A dazzling style we all dreamed of
And when we read it through
It's crystal clear
That now we're in a whole new world of code
|
|
Also prevent formatting of thirdparty snippet
|
|
|
|
Added PowerState casting operator to Variant
|
|
|
|
Without it Godot does not build with PTRCALL_ENABLED
|
|
Expose uncapped versions of closest-point-to-segment utilities
|
|
|
|
Done:
- X11, server (tested)
- Windows (developed, would be nice to retest)
- OSX (not tested)
Prepared (not developed):
- Android (code is here, but may not compile)
- iphone
- winrt
- bb10
- haiku
- javascript
|
|
Expose Geometry::get_closest_point_to_segment_2d()
|
|
|
|
Implement single-field property change for multinode edit
|
|
|
|
added join to PoolStringArray
|
|
|
|
|
|
Bunch of missing `else` statements and general logic
|
|
|
|
- Add FIXME tags comments to some unfixed potential bugs
- Remove some checks (always false: unsigned never < 0)
- Fix some if statements based on reviews.
- Bunch of missing `else` statements
|
|
Fix zero padding formatting
|
|
modified files)
-.pck and .zip exporting redone, seems to be working..
|
|
|
|
This fixes HashMap where a key or part of a key is a floating point
number. To fix this the following has been done:
* HashMap now takes an extra template argument Comparator. This class
gets used to compare keys. The default Comperator now works correctly
for common types and floating point numbets.
* Variant implements ::hash_compare() now. This function implements
nan-safe comparison for all types with components that contain floating
point numbers.
* Variant now has a VariantComparator which uses Variant::hash_compare()
safely compare floating point components of variant's types.
* The hash functions for floating point numbers will now normalize NaN
values so that all floating point numbers that are NaN hash to the same
value.
C++ module writers that want to use HashMap internally in their modules
can now also safeguard against this crash by defining their on
Comperator class that safely compares their types.
GDScript users, or writers of modules that don't use HashMap internally
in their modules don't need to do anything.
This fixes #7354 and fixes #6947.
|
|
|
|
-fixes to make scenes exported from godot 2.x work
|
|
|
|
After discussing this with Reduz this seemed like the best way to
fix #7354. This will make composite values that contain NaN in the same
places as well as the same other values compare as the same.
Additionally non-composite values now also compare equal if they are
both NaN. This breaks IEEE specifications but this is probably what most
users expect. There is a GDScript function check for NaN if the user
needs this information.
This fixes #7354 and probably also fixes #6947
|
|
This new name also makes its purpose a little clearer
This is a step towards fixing #56
|
|
This saves typing and is a step towards fixing #56
|
|
TCP/UDP listen bind to address and bugfixes
|
|
HTTPClient properly handle partial data in non-blocking mode
|
|
JSON::parse reports errors on open-ended objects (master)
|
|
|
|
Use block to send DVector::Write out of scope in
HTTPClient::read_response_body_chunk()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Enable WebGL2 in web export, start fixing build
|
|
corrected ClassDB::instance() return type
|
|
Keyboard Input modifiers do not block actions.
|
|
|
|
|
|
Will not yet compile
|
|
|
|
|
|
This means, if you press "F" while holding "shift" and there is and
action registered for "F" that action should be pressed.
This commit restore this behaviour, lost when implementing
is_action_just_pressed.
If you want "blocking modifiers" you should code it via script.
Fixes 6826
|
|
Add parameters to Directory.list_dir_begin() to skip navigational or hidden entries
|