Vladislav Belov
c7ae248b77
Removes duplicated manifest for Windows.
2024-12-16 23:07:37 +01:00
Stan
7b195d6a5d
Add compatibility mode detection for Windows
2024-12-14 13:47:10 +01:00
Ralph Sennhauser
ead62bba78
Update trac links with gitea links
...
This replaces all links pointing to trac with their corresponding links
to gitea. Also replace http with https while at it.
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2024-12-10 11:29:48 +01:00
Stan
1a216cb848
Fix compilation on other platforms after 67464ebbaa
2024-11-03 10:57:11 +01:00
Stan
6d12d25348
Replace usage of OSString().c_str() by OSString
...
Fixes #6604
2024-10-28 16:35:49 +01:00
Stan
67464ebbaa
Fix the CPU name detection on AARCH64 macOS
2024-09-25 23:34:43 +02:00
Itms
86a4092e55
Remove platform-dependant atomic operations
2024-09-25 21:57:15 +02:00
Itms
e7434e1770
Use std::atomic instead of platform-dependant code
...
This covers atomic add operations and atomic compare-and-switch
operations.
2024-09-25 21:57:15 +02:00
Itms
e401b206d0
Remove TIMER_ACCRUE_ATOMIC
...
Added in aa44bac652 , the "atomic" accumulated timer is based on a
structure that mixes atomic and non-atomic access, which is not fit to
be converted to std::atomic.
Additionally, it is only used in a single situation where benchmarking
is not essential to us.
2024-09-25 21:57:15 +02:00
Stan
028ec40165
Add a RC file to add metadata to the pyrogenesis executable
2024-08-28 23:37:36 +02:00
Ralph Sennhauser
a44dd59a0c
Add some missing headers
...
When running clang-format which reorders headers, those are the ones
that came up as missing.
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2024-08-24 12:19:52 +02:00
vladislavbelov
ffc4a56b9f
Revert non-ASCII characters from source and configuration files introduced in 157c6af18e.
...
Fixes #6846
Differential Revision: https://code.wildfiregames.com/D5185
This was SVN commit r27965.
2023-12-03 00:30:12 +00:00
vladislavbelov
82bf9bb902
Removes WInit module completely. Refs #2611
...
Comments By: phosit
Differential Revision: https://code.wildfiregames.com/D5085
This was SVN commit r27810.
2023-08-22 17:59:01 +00:00
bb
157c6af18e
Make the space in 0 A.D. non-breaking throughout the codebase.
...
Avoid cases of filenames
Update years in terms and other legal(ish) documents
Don't update years in license headers, since change is not meaningful
Will add linter rule in seperate commit
Happy recompiling everyone!
Original Patch By: Nescio
Comment By: Gallaecio
Differential Revision: D2620
This was SVN commit r27786.
2023-07-27 20:54:46 +00:00
vladislavbelov
e4ba25ba35
Returns Windows paths by value to avoid unnecessary allocation management and follow sys_ExecutablePathname.
...
This was SVN commit r27773.
2023-07-21 22:31:26 +00:00
vladislavbelov
1ff0b8f69f
Removes caching Windows version in wversion.
...
Differential Revision: https://code.wildfiregames.com/D5063
This was SVN commit r27766.
2023-07-18 20:40:15 +00:00
vladislavbelov
e60bed753f
Removes redundant and unused wutil_ExecutablePath as we have sys_ExecutablePathname.
...
Last usage was removed in ada16439ab .
This was SVN commit r27749.
2023-07-02 21:24:15 +00:00
vladislavbelov
0caddf2c89
Removes unused wutil_SystemPath forgotten in 9aad0137ba.
...
This was SVN commit r27748.
2023-07-02 21:19:07 +00:00
vladislavbelov
a71a20cb60
Replaces statically cached current thread handle on Windows by lazy initialized thread_local variable.
...
Differential Revision: https://code.wildfiregames.com/D5062
This was SVN commit r27747.
2023-07-02 20:28:50 +00:00
vladislavbelov
4e86f99fe2
Replaces boost string general includes by more precise ones.
...
Differential Revision: https://code.wildfiregames.com/D5066
This was SVN commit r27746.
2023-06-30 19:10:13 +00:00
vladislavbelov
f3adb5d075
Removes unused main_window_name forgotten in 63c1347ef7.
...
This was SVN commit r27738.
2023-06-25 22:39:37 +00:00
vladislavbelov
fb065a4022
Removes manual loading of Windows functions unavailable on XP from wvm.
...
This was SVN commit r27734.
2023-06-23 12:09:33 +00:00
vladislavbelov
70e7acfb26
Removes manual unload of delay-loaded DLLs on Windows.
...
Differential Revision: https://code.wildfiregames.com/D5056
This was SVN commit r27733.
2023-06-23 11:55:33 +00:00
vladislavbelov
92c9cc5206
Removes delayed loading of RtlCaptureContext as it's available since Windows XP.
...
This was SVN commit r27725.
2023-06-20 08:54:29 +00:00
vladislavbelov
54c606e6aa
Removes LowFragmentationHeap from Windows as it's enabled by default since Vista.
...
Differential Revision: https://code.wildfiregames.com/D5048
This was SVN commit r27720.
2023-06-18 16:34:29 +00:00
vladislavbelov
f8798c2245
Removes wversion_Number usage from wvm as we don't support XP anymore.
...
Differential Revision: https://code.wildfiregames.com/D5049
This was SVN commit r27719.
2023-06-18 16:32:14 +00:00
vladislavbelov
3d071e4649
Removes OpenGL driver DLL version from reports on Windows.
...
Differential Revision: https://code.wildfiregames.com/D5052
This was SVN commit r27718.
2023-06-18 16:29:13 +00:00
vladislavbelov
186bedae56
Removes unused Windows sample-based custom profiler. Usage was removed in 56bd5b59b4.
...
Differential Revision: https://code.wildfiregames.com/D5047
This was SVN commit r27712.
2023-06-16 16:38:18 +00:00
vladislavbelov
e4bcfd0556
Removes winit usage from wtime. LatchInitialSystemTime was added in c45ef68a88 and unused since ada16439ab.
...
Differential Revision: https://code.wildfiregames.com/D5046
This was SVN commit r27711.
2023-06-16 16:36:34 +00:00
vladislavbelov
7782aa95f1
Removes custom debug heap analysis on Windows.
...
Differential Revision: https://code.wildfiregames.com/D5045
This was SVN commit r27710.
2023-06-16 16:34:10 +00:00
Itms
a3abe8605c
Ignore broken symlinks instead of crashing on them, fixes #6586 .
...
Print a warning in the debug output for now, as the logger is not
available at this point.
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4743
This was SVN commit r27612.
2023-04-19 16:35:00 +00:00
vladislavbelov
2ef801f5d0
Remove some unnecessary string copy related to substr.
...
Patch By: phosit
Differential Revision: https://code.wildfiregames.com/D4772
This was SVN commit r27271.
2022-12-04 19:56:12 +00:00
Stan
ef9057239a
Fix notes in 0a4ba039b4
...
This was SVN commit r27129.
2022-10-07 12:39:23 +00:00
Stan
0a4ba039b4
Update ifdef condition for MCST-LCC compiler (E2K)
...
Patch by: @r-a-sattarov
Differential Revision: https://code.wildfiregames.com/D4795
This was SVN commit r27128.
2022-10-07 07:44:40 +00:00
Stan
f616327f2d
Revert 10554eb5b1 as it prevents building on FreeBSD.
...
This was SVN commit r27081.
2022-09-01 20:39:46 +00:00
vladislavbelov
2ee13983a1
Minor fixes for NSIS - Windows distribution script, HTTP > HTTPS.
...
Reviewed By: Stan
Differential Revision: https://code.wildfiregames.com/D4756
This was SVN commit r27073.
2022-08-26 16:01:57 +00:00
Stan
10554eb5b1
Fix RAM amount detection on BSD and macOS.
...
Tested by: @Mastoras
Comments by: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D4651
This was SVN commit r26888.
2022-05-17 08:08:14 +00:00
bb
be2f33b661
removeable => removable
...
Patch By: LudovicRousseau
Comments By: vladislav, Nescio
Differential Revision: D3663
fixes #6098
This was SVN commit r26533.
2022-03-03 14:52:13 +00:00
vladislavbelov
8c068aab07
Removes possibility to link lowlevel library dynamically.
...
Tested By: Langbart
Differential Revision: https://code.wildfiregames.com/D4470
This was SVN commit r26281.
2022-01-31 06:53:30 +00:00
Stan
7afe489214
Remove topology.cpp. The data isn't useful to us, and it prevents some players from running the game.
...
Fixes #6028
Differential Revision: https://code.wildfiregames.com/D4402
This was SVN commit r26157.
2022-01-03 10:29:34 +00:00
Stan
c9bea80e0d
Use GLAD2 a multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator.
...
Comments by: @nwtour, @Langbart, @bb
Based on patch by: @echotangoecho
Tested on Windows 7 & 10, Ubuntu and macos.
Differential Revision: https://code.wildfiregames.com/D721
This was SVN commit r26093.
2021-12-21 22:03:31 +00:00
vladislavbelov
89c181ded1
Encapsulates information about GL inside device.
...
Commented By: Stan
Differential Revision: https://code.wildfiregames.com/D4375
This was SVN commit r26072.
2021-12-15 06:43:41 +00:00
Stan
b7cf30fce5
Fix Windows 11 Detection
...
Comments by: @vladislavbelov, @Freagarach
Differential Revision: https://code.wildfiregames.com/D4337
This was SVN commit r26056.
2021-12-12 16:08:09 +00:00
s0600204
31b70309b3
Debundle Valgrind and make it optional
...
If a *nix user wishes to build `pyrogenesis` with support for Valgrind
(such as
it is), then can do so by passing `--with-valgrind` to
`update-workspaces.sh`.
(They will need Valgrind installed and locateable via `pkg-config`.)
Reviewed By: sera, Stan
Fixes : #2904
Differential Revision: https://code.wildfiregames.com/D3646
This was SVN commit r25933.
2021-09-20 22:18:28 +00:00
Stan
6272ba2344
Remove Custom implementation of wrename on windows. 52baaa4bbd removed the other occurences.
...
Reviewed by: @wraitii
Differential Revision: https://code.wildfiregames.com/D4225
This was SVN commit r25907.
2021-09-09 17:53:17 +00:00
vladislavbelov
67539a8837
Fixes an old bug with missed handle appeared in 63c1347ef7.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4115
This was SVN commit r25735.
2021-06-07 18:45:28 +00:00
vladislavbelov
63c1347ef7
Removes windows enumeration on Windows to retrieve HWND taking it from SDL and wxWidgets.
...
Tested By: Stan
Differential Revision: https://code.wildfiregames.com/D4064
This was SVN commit r25709.
2021-06-06 15:31:55 +00:00
vladislavbelov
fdb4040838
Adds HiDPI mode for testing. HiDPI on Windows isn't supported in SDL yet. So we use a custom code.
...
Differential Revision: https://code.wildfiregames.com/D4076
This was SVN commit r25692.
2021-06-05 19:01:37 +00:00
wraitii
1b35d36daa
Implement a global task manager using a pool of worker threads
...
Tasks are simple callables (e.g. lambdas), and can be pushed with 2
priority levels. Pushing a task returns a future.
Futures can be waited on, can return results, and can be cancelled
deterministically. Futures can also not be waited on.
This gives 'hardware concurrency - 1' threads to maximize CPU usage in a
work-stealing workflow.
Reviewed by: vladislavbelov
Refs #5874
Differential Revision: https://code.wildfiregames.com/D3848
This was SVN commit r25656.
2021-06-03 14:48:38 +00:00
vladislavbelov
38e085a8c0
Removes unused wutil command line arguments parsing added in 5383eff15c.
...
We already have a single place to access arguments, so we don't need
a platform dependent place for that.
Refs 3f58951808 , 8c1bd05ab9 .
This was SVN commit r25567.
2021-05-25 18:42:27 +00:00