SuperUserNameMan
2511f48339
fixes #5464 windows_joystick close_joystick bug
2016-06-29 23:00:45 +02:00
George Marques
bf44275b1a
Fix visual server error when minimizing the window
2016-06-26 18:54:34 -03:00
Rémi Verschelde
0a72f9ccb8
Merge pull request #5362 from J08nY/png
...
libpng: New version 1.6.27
2016-06-23 07:40:03 +02:00
Pedro J. Estébanez
85a5290ee8
Make editor compatible with Windows high contrast themes
...
By providing a manifest specifying the targeted Windows versions (as per https://msdn.microsoft.com/en-us/library/windows/desktop/hh404233(v=vs.85).aspx#_______supporting_high_contrast_themes_in_windows_8_and_later ) now the Godot editor renders normally under a high contrast theme on Windows, instead of staying white/black.
2016-06-23 00:14:15 +02:00
J08nY
0ab05b09e4
Fixed iCCp chunk in pngs
...
neccesary for libpng 1.6.27 to work silently
2016-06-22 21:13:29 +02:00
Rémi Verschelde
57e1387199
Merge pull request #5225 from Hinsbart/x_rumble
...
Windows: Support gamepad vibration using XInput.
2016-06-19 12:59:18 +02:00
Rémi Verschelde
a7fc04626a
Add missing license headers in our source files ( #5255 )
...
Also removes a couple wrong Godot headers from third-party source files.
2016-06-18 14:46:12 +02:00
Andreas Haas
0e8b860048
Windows: Support gamepad vibration using XInput.
2016-06-15 14:40:57 +02:00
Juan Linietsky
fc7adf0b4c
property output unix seconds since epoch in windows get_system_time_secs, fixes #5155
2016-06-11 14:10:11 -03:00
Juan Linietsky
94a6ff3d7a
-make freetype build for all platforms the same, default as builtin except on x11.
...
closes #5119
2016-06-09 21:28:07 -03:00
Rémi Verschelde
768e925271
GLEW: Define static + enabled and includes via SCons
...
This allows us not to have to hack our definitions in the upstream files,
making it easier to upgrade to newer versions in the future.
For the include paths to work, the headers are moved to a GL subfolder to
match their upstream location.
2016-06-08 00:16:27 +02:00
J08nY
3cfa920982
Windows: Hide mouse on MOUSE_MODE_CAPTURED
...
Fixes #5051
2016-06-07 12:57:01 +02:00
Juan Linietsky
2420e46b44
vsync support
...
-works on windows
-may not work on X11, if so please fix
-OSX does not seem to support disabling vsync
2016-06-05 19:14:33 -03:00
Juan Linietsky
007efb6a20
-customizable shortcuts in editor
...
-editor settings now save to .tres instead of .xml
-buttons can now hold a shortcut
2016-06-04 21:31:47 -03:00
volzhs
9073dc9963
change invalid characters when get user data dir on Windows & Unix
...
Can't create user data folder when project name has ``\ / : * ? " < > |`` characters on OS_Windows & OS_Unix.
So, change it to ``-`` to be able to make folder.
fixes #4928 and it's altanative to #4986 .
2016-06-03 03:39:37 +09:00
Juan Linietsky
4ec2b1434f
removed dependency on shcore.dll to get DPI
...
fixes #4973
2016-06-01 12:43:52 -03:00
Rémi Verschelde
e6e878e139
Icon: Remove more grey capsules behind official logo
2016-05-30 00:41:42 +02:00
Juan Linietsky
c7d24b7814
hidpi for now not available on mingw, sorry
2016-05-29 14:34:06 -03:00
Juan Linietsky
4f100f92d8
DPI Detection support
...
Windows only for now.
Many builds may break (older visual studio, mingw32)
2016-05-29 13:40:21 -03:00
Juan Linietsky
65615c0353
fix freetype paths on osx and mingw
2016-05-29 12:26:15 -03:00
Juan Linietsky
3e8eb396d7
Finalized DynamicFont implementation
...
-DynamicFont uses Freetype by default
-Editor fonts are now scalable thanks to this
-Cleaned up documentation browser and added fonts for this
2016-05-29 11:37:52 -03:00
Juan Linietsky
8be2fabbe5
Changed import workflow
...
-Rearrange favorites in fs dock with drag and drop
-Removed import -> sub-scene, moved to scenetree contextual menu
-Removed import -> re-import , moved and integrated to FS dock
-Added ability in FS dock to re-import more than one resource
simultaneously
-Added ability to drag from native filesystem explorer to Godot, only
works on Windows though
-Removed scene reimport merge options, never worked well. Eventually
merging materials should be re-added
-Added ability to set custom root node type when importing scenes
-Re-Import is now automatic, can be configured back to manual in editor
settings
-Added resource previews in property list for many resource types
2016-05-27 14:19:11 -03:00
Hubert Jarosz
33403d91f7
remove trailing whitespace
2016-05-21 15:29:25 +02:00
Mattias Cibien
4ee2999777
Working even when re-entering window.
2016-05-09 15:46:05 +02:00
Mattias Cibien
0b64b97d41
Cursor hides only in client area
...
At the moment is however restored when going out and then in again.
2016-05-09 15:18:08 +02:00
George Marques
9424c6c58f
Fix windows 64-bits build.
...
The change in `tools/doc/doc_data.cpp` is needed because the MSVC
compiler does not support variable length arrays.
Fix #4113
2016-05-03 16:35:36 -03:00
Mattias Cibien
8fb7280f39
Fixed behavior of OS.set_window_resizable
...
Should fix #4428 .
* Minimize button is not hidden anymore
2016-05-03 15:58:05 +02:00
Rémi Verschelde
f48d385644
Merge pull request #4274 from Griefchief/master
...
Fixes 64 bit MSVC builds, disables bits parameter
2016-05-02 17:45:21 +02:00
George Marques
2cd8e86aa0
Implement OS.get_process_ID for Windows
...
Based on code by @ratsdiov.
Closes #1733
2016-04-29 13:57:57 -03:00
Aleksandar Danilovic
7762e1afe6
Fixes 64 bit MSVC builds, disables bits parameter
...
Also Enables automatic detection of architecture for the MSVC compilers.
Builds without assembly optimisations for x64
Closes issue #3098
Signed-off-by: Aleksandar Danilovic <greatgames.alexandar@gmail.com>
2016-04-10 03:36:58 +02:00
Rémi Verschelde
0a5472e697
Remove trailing spaces
2016-04-02 20:26:12 +02:00
Saracen
6eb4812317
Borderless window support for the Win32 build. Default window position is now also centred.
2016-03-12 16:38:12 +00:00
Hubert Jarosz
4a4f247914
remove trailing whitespace
2016-03-09 00:00:52 +01:00
Rémi Verschelde
130f8fa193
Rename KEY_KP_SUBSTRACT to KEY_KP_SUBTRACT
...
The former name was incorrect in English, though for us latin lovers it's an understandable mistake.
Second part of and closes #3626 .
2016-02-17 23:01:27 +01:00
Hondres
1fb9cc377f
win: fix xinput triggers not resetting correctly
2016-02-12 15:06:50 +01:00
Franco Eusébio Garcia
68e2cd8caa
Added constant to retrieve Windows' Documents path
...
According to MSDN's
documentation (https://msdn.microsoft.com/en-us/library/windows/desktop/bb762181(v=vs.85).aspx ),
CSIDL_PERSONAL represents the default path to Windows Document's folder:
"Previous to Version 6.0. The file system directory used to physically
store a user's common repository of documents. A typical path is
C:\Documents and Settings\username\My Documents. This should be
distinguished from the virtual My Documents folder in the namespace. To
access that virtual folder, use SHGetFolderLocation, which returns the
ITEMIDLIST for the virtual location, or refer to the technique described
in Managing the File System."
2016-02-07 15:54:25 -02:00
Juan Linietsky
80e88c6a50
Removed PE-bliss, win32 binares so far remain without icon, had many issues with it:
...
-corrupted 32 binaries without reason
-does not support upx binaries
-forces dependency o libstdc++
2016-02-04 20:03:03 -03:00
Juan Linietsky
d826b1db2a
-removed buggy flags, makes mingw+32 bits+optimized work again,
2016-02-04 19:38:16 -03:00
hondres
df4faf8f33
support horizontal mouse wheel, use in text editor
2016-02-04 17:16:22 +01:00
hondres
f4fa74fe28
remove pc_joystick_map.h
2016-02-01 14:28:53 +01:00
George Marques
82b24bea6f
Revert "make msvc 64bits build again, fixes #3098"
...
This reverts commit b21ce6cecb
.
2016-01-26 22:26:04 -02:00
Juan Linietsky
caddcca4f4
-Many fixes to windows build system with Mingw on Windows. Fixes #2690
2016-01-25 00:21:04 -03:00
George Marques
f4a39692b9
Change default window size for desktop
...
Fix #3149
2016-01-24 17:52:33 -02:00
mrezai
48bf9d3139
Fix 32 bit windows export crash
2016-01-16 19:22:40 +03:30
punto-
7393e40452
Merge pull request #3272 from Hinsbart/joy-binding
...
Add some joystick functions to input. Enables manipulation of mapping…
2016-01-12 03:59:19 -03:00
Rémi Verschelde
7f82c8d7c5
Merge pull request #3230 from touilleMan/issue-55
...
Remove unnecessary null pointer checks
2016-01-11 12:00:44 +01:00
Juan Linietsky
b21ce6cecb
make msvc 64bits build again, fixes #3098
...
disabled assembly for msvc 64 bits, as it is not supported
2016-01-10 21:26:34 -03:00
Juan Linietsky
a120c66f98
-Removed OS.get_system_time_msec(), this is undoable on Windows and also unusable from GDscript due to precision.
...
-Added, instead an OS.get_system_time_secs(), which is 32 bits friendly, fixes #3143
2016-01-10 18:24:55 -03:00
hondres
c632c13c66
Add some joystick functions to input. Enables manipulation of mappings at runtime
2016-01-08 00:40:41 +01:00
Peace Sells
9f00d9e44b
Better fix for visual studio project generation.
2016-01-06 22:47:43 -07:00
hondres
3f64fd64eb
define XUSER_MAX_COUNT if not present
2016-01-05 01:16:10 +01:00
Emmanuel Leblond
cabf923484
Remove unnecessary null pointer checks
2016-01-04 11:46:16 +01:00
George Marques
5be9ff7b67
Update copyright to 2016 in headers
2016-01-01 11:50:53 -02:00
Hondres
d8143eb3fb
Fix joystick hotplugging on windows, using right indices now
2015-12-26 13:14:13 +01:00
Ariel Manzur
020700af1d
windows resource version thing
2015-12-20 13:43:08 -03:00
Ariel Manzur
bec1e003e7
this failed on mingw on linux (but not on msvc) with 2 problems:
...
1) it didn't print the error to the console, only this:
build_res_file(["platform/windows/godot_res.windows.tools.32.o"], ["platform/windows/godot_res.rc"])
scons: *** [platform/windows/godot_res.windows.tools.32.o] Error 1
I had to print the actual command and run it on a console to see the error. The builder should be able to print the command it's running and the error, like it does with compiler invocations, etc.
2) The actual error was a syntax error on line 11 of godot_res.rc. I looked up "FILEVERSION" and "PRODUCTVERSION" (here https://msdn.microsoft.com/en-us/library/windows/desktop/aa381058(v=vs.85).aspx ), it says they take 4 numbers as parameters, so I added those 0s, but I'm not sure if they're in the right order.
@masoudbh3 can you check it out? thanks
It builds on msvc just fine with (and without) these changes.
2015-12-20 11:50:16 -03:00
hondres
87dab29f4b
Use tabs instead of spaces for new gamepad code
2015-12-18 19:15:32 +01:00
hondres
af633c7941
Better gamepad support
2015-12-18 06:12:53 +01:00
Juan Linietsky
95a469ad28
added binary API to StreamPeer, fixes #2863
2015-12-13 12:53:29 -03:00
Juan Linietsky
cc7880fba5
-added windowed mode with -w, fixes #3020
...
-changed default windowed resolution to 1280x720
2015-12-12 12:06:53 -03:00
Juan Linietsky
7ba484bc74
some fixes
...
-fix compilation on tres/tscn on MSVC
-fixed theora playback performance, closes #3004
2015-12-06 20:22:45 -03:00
Rémi Verschelde
55d56d9b7c
Replace hardcoded references to Okam Studio by Godot Engine
...
Since the engine development is now independent.
Fixes #2836 .
2015-11-27 18:54:09 +01:00
Juan Linietsky
b987d2113b
0theora compilation fixes
2015-11-25 00:28:03 -03:00
Juan Linietsky
ccd40f76e8
-work in progress resourceparser and .tscn parser. Still non-functional
...
-fixed theora so it can compile theoralib but not theora
-fixed generation of windows icon in .rc, which didn't previously work in 32 bits
2015-11-24 10:42:05 -03:00
Juan Linietsky
6127f17368
Merge pull request #2756 from trond/bugfix_udp
...
UDP fixes
2015-11-19 19:33:04 -03:00
Trond Abusdal
a8a2458f0b
Fixed mistake where available buffer size would not be updated for each recvfrom-call in PacketPeerUDPWinsockPposix.
2015-11-19 19:06:01 +01:00
ZuBsPaCe
ce3216429e
Added missing \n in script error output.
2015-11-19 15:35:18 +01:00
ZuBsPaCe
a5683def19
Nice error output padding. Code location behind " At: " is now aligned with the error message above. Also removed the dot after the file location.
2015-11-19 15:19:25 +01:00
ZuBsPaCe
42beb83178
Set console background color on windows in SetConsoleTextAttribute, otherwise text background will be black, which looks strange if the terminal color is not black.
2015-11-19 15:19:22 +01:00
ZuBsPaCe
a89c861931
Set output color of ERR_SCRIPT messages to purple. Same as on linux.
2015-11-19 15:19:20 +01:00
ZuBsPaCe
9f9452d023
Removed ANSI error codes from windows terminal error output. Windows does not support them.
...
See: http://stackoverflow.com/questions/16755142/how-to-make-win32-console-recognize-ansi-vt100-escape-sequences
See: http://stackoverflow.com/questions/22777142/is-there-a-way-to-make-windows-output-ansi-escape-sequences?lq=1
2015-11-19 15:19:18 +01:00
ZuBsPaCe
e23734363e
Inconsistent code formatting in print_error (Newlines and spaces)
2015-11-19 15:19:16 +01:00
Juan Linietsky
d3eb9e8c54
-remove Vector2.atan2() replaced by Vector2.angle(), fixes #2260
2015-11-19 10:41:20 -03:00
Juan Linietsky
0168947084
Merge pull request #2518 from masoudbh3/godot-icons
...
Add icon to exe file in windows export
2015-11-19 00:08:47 -03:00
Juan Linietsky
33aa019e4f
Merge pull request #2699 from ZuBsPaCe/visual-studio-2015-compilation
...
Visual studio 2015 compilation
2015-11-18 23:56:06 -03:00
Juan Linietsky
0c3386b2ed
Merge pull request #2707 from akien-mga/master
...
Cosmetic fixes to SCons buildsystem
2015-11-18 19:43:28 -03:00
Juan Linietsky
067c96d26f
Merge pull request #2718 from SaracenOne/audio_system_crash_fix
...
Fixed Audio System Crash
2015-11-18 19:35:22 -03:00
Juan Linietsky
f738906519
Merge pull request #2737 from akien-mga/type-specific-error-output
...
Display error type (error, warning, script error) in OS::print_error + cleanup error ANSI coloring
2015-11-18 18:58:22 -03:00
Ariel Manzur
8adc4ef65b
windows crash and bind placeholder method
2015-11-14 11:14:17 -03:00
Rémi Verschelde
9ab7de243f
Fix error messages forcing a white font for subsequent messages
...
This is achieved using the "no specific formatting" \E[0m tag.
Fixes #2566 .
Also remove the hardcoded black background colour and use default bolded terminal font for error message.
Error logs should now look good both on terminals with a dark and light background colour.
2015-11-10 18:30:40 +01:00
Rémi Verschelde
6334895088
Display error type (error, warning, script error) in OS::print_error
...
Previously all types of errors would be shown as ERROR, thus making for example warnings (WARN_PRINT) somewhat aggressive.
ERROR is displayed in red, WARNING in yellow and SCRIPT ERROR in magenta (though the latter does not seem used so far).
Fixes #1127 .
2015-11-10 18:29:34 +01:00
Trond Abusdal
41a161647d
* Winsock UDP messages sent to an unavailable target causing WSAECONNRESET will no longer close the socket.
...
* Ensured that unsigned<->signed conversion would not cause wrong buffer size values sent to recvfrom.
2015-11-09 01:33:16 +01:00
Trond Abusdal
f809cd44ea
Fixed PacketPeerUDP getting wrongly closed due to recvfrom using rb.data_left instead of rb.space_left.
2015-11-09 00:22:05 +01:00
masoud bh
55b8c3ee48
change pe_bliss parent directory from /drivers to /tools
2015-11-09 02:24:01 +03:30
masoud bh
24f3f43457
Add icon to exe file in windows export
...
add version_info and icon sections in "export to windows platform".
add version_info and icon to godot exe file (editor & template exe).
fix an problem in image class.
change all default icons to android export icon (a little more rounded).
create an python script for convert file to cpp byte array for use in
'splash.h'.
2015-11-09 02:23:58 +03:30
Saracen
e723488aa3
Moved deleting sample player in OS finalize methods to before deleting audio server to prevent crash when exiting.
2015-11-02 16:36:41 +00:00
Rémi Verschelde
399b1b0474
Cosmetic fixes to SCons buildsystem
...
- Removed trailing spaces
- Made sure all indentation is done using tabs (fixes #39 )
- Potentially fixed an identation issue for openssl check
2015-11-01 20:53:26 +01:00
ZuBsPaCe
fff7cedbe1
Fixes Visual Studio 2015 parallel builds (-j switch)
...
Reference: http://stackoverflow.com/questions/284778/what-are-the-implications-of-using-zi-vs-z7-for-visual-studio-c-projects
fatal error C1041: cannot open program database 'C:\godot\vc140.pdb'; if multiple CL.EXE write to the same .PDB file, please use /FS
2015-10-30 03:13:55 +01:00
sanikoyes
15f6991064
REUSE_ADDR under windows platform
2015-10-13 13:11:33 +08:00
Juan Linietsky
e055247b17
-Added ability to use cubic interpolation on image resize (little more quality on non-po2 resizing)
...
-Added ability for exporter to shrink images to non-integer values. Helps if you want to convert your game artwork from 1080->720 or similar
2015-10-01 16:25:36 -03:00
Rémi Verschelde
be51861310
Hide stderr when trying to detect mingw binaries on posix
2015-09-27 16:31:19 +02:00
Juan Linietsky
82a3304458
Added ability to set custom mouse cursors. Not hardware accelerated yet.
2015-09-24 18:06:15 -03:00
Maximillian
6f9a084ac8
Add OS.get_system_time_msec
2015-08-06 10:29:33 -07:00
Juan Linietsky
c76900beb8
draw button focus before text and icon
...
closes #2047
2015-06-08 10:36:27 -03:00
est31
ddba217109
Complete fix for windows compilability
...
Thanks @volzhs for testing :)
2015-06-07 16:12:03 +02:00
est31
64704ecbc5
Fix windows compilability
2015-06-07 15:36:14 +02:00
est31
c5338fd6c4
Add OS.get_time_zone_info function
...
The returned dictionary maps "name" to the
name of the current time zone, and "bias" to
a bias from UTC in minutes.
2015-06-06 05:57:33 +02:00
est31
803069886e
Add utc param to get_time and get_date methods
...
If utc == false, we return the local time, like before.
Otherwise, we return UTC time.
utc defaults to false to not break behaviour.
2015-06-06 05:55:28 +02:00
est31
26ea12a873
Use local time for both time and date on win
...
On unix and nacl, both date and time are expressed in local time.
2015-06-06 03:23:34 +02:00
Juan Linietsky
9df77d2765
ability to run 2D physics in a thread
...
also, 2D physics is now thread safe too.
see physics_2d/thread_model
2015-05-26 01:06:05 -03:00