sfan5
a4d1b5b155
Fix script security path normalization in presence of links ( #15481 )
2024-12-03 16:51:34 +01:00
veprogames
9982c56373
Replace occurences of 'forum.minetest.net' with 'forum.luanti.org' ( #15372 )
2024-11-03 15:10:58 +01:00
sfence
d849d51c2d
Replace licensing text in headers (LGPLv2.1) ( #15321 )
2024-10-28 15:57:39 +01:00
grorp
4b90e582b4
Rename to Luanti ( #15294 )
...
The new header intentionally isn't in MTG stone design (or any other MTG-esque design), since we want to distance Luanti and MTG from each other. The font "undefined medium" (https://undefined-medium.com/ ) was used.
ASCII art generated by https://patorjk.com/software/taag/#p=display&f=Graffiti&t=luanti
https://github.com/minetest/minetest/pull/11952#issuecomment-1013364703
---------
Co-authored-by: sfan5 <sfan5@live.de>
2024-10-27 14:04:51 +01:00
sfan5
37095f3e49
Change the preprocessor macro that differs server/client builds
2024-10-16 19:39:59 +02:00
DS
4aec4fbe6f
Add support for Tracy profiler ( #15113 )
2024-09-15 13:47:45 +02:00
sfan5
a7a719261e
Minimize data sent in the default user agent ( #14851 )
2024-07-20 10:27:04 +02:00
sfan5
fac9aac821
Move malloc_trim invocations to background thread ( #14744 )
2024-06-17 15:59:35 +02:00
sfan5
71893807b3
Call malloc_trim() regularly to improve deallocation behavior ( #14707 )
2024-06-07 16:57:30 +02:00
sfan5
39fd9b93c3
Introduce proper error handling for file streams
2024-05-14 18:33:08 +02:00
sfan5
d5d6e36ae0
Create CACHEDIR.TAG in path_cache ( #14458 )
2024-03-15 11:24:08 +01:00
sfan5
6ca214fefc
Introduce std::string_view
into wider use ( #14368 )
2024-02-17 15:35:33 +01:00
sfan5
6550bc252f
Fix logic in porting::attachOrCreateConsole()
...
No functional change but now the comment is actually correct.
2024-01-06 15:38:09 +01:00
sfan5
edd947b645
Enable some runtime hardening on win32
2023-12-29 21:52:08 +01:00
sfan5
93c2aff2cf
Clean up OS-specific initialization
2023-12-29 21:52:08 +01:00
sfan5
a292cc42aa
Fix Windows architecture reporting in sysinfo
2023-12-15 10:23:52 +01:00
sfan5
d4123a387c
Clean up porting.h a bit
2023-12-15 10:23:19 +01:00
Thresher
00c647e4cc
Convert spaces to tabs ( #13506 )
...
* Convert spaces to tabs
* Desour reviews 1-3 fix
* Desour fixes
* Undo alignment changes
2023-05-26 15:13:57 +02:00
sfan5
87d509e462
Implement --debugger option to improve UX when debugging crashes ( #13157 )
2023-01-23 00:19:30 +01:00
Abdou-31
d1b80b462e
Fix typos and en_US/en_GB inconsistency in various files ( #12902 )
2022-11-09 11:57:19 -05:00
William Breathitt Gray
19e936362a
Add support for MINETEST_USERDATA environment variable ( #12639 )
...
The MINETEST_USER_PATH environment variable can be used to define a
custom path for Minetest user data. If MINETEST_USER_PATH is empty or
unset, the HOME (or APPDATA on Windows) environment variable is used as
the default user data path; this ensures backwards compatibility with
existing user setups.
2022-09-16 13:19:44 +02:00
ShadowNinja
88b21a72f1
Treat empty XDG_CACHE_HOME same as unset
...
This matches the XDG base directory spec.
2022-04-08 14:55:21 +01:00
sfan5
22f0c66abb
Request execution on dedicated GPU on Windows
2022-01-27 22:30:02 +01:00
sfan5
7aea5cb88f
Enable high-res timers on Windows
...
This should fix issues like #11891 , caused by the fps limiting
code being unable to operate correctly.
2022-01-27 22:30:02 +01:00
rubenwardy
664f5ce960
Add open user data button to main menu ( #10579 )
2020-12-19 13:27:15 +00:00
David CARLIER
cf5547227d
Complete Haiku platform support. ( #10311 )
...
Fixing linkage/libraries missing issue.
Implements missing platform specifics.
2020-08-23 15:39:32 +02:00
Sebastien Marie
9c7340104a
Define environ variable on OpenBSD ( #10302 )
2020-08-20 19:10:58 +02:00
rubenwardy
212a1123e0
Fix build on FreeBSD, broken since open_url
2020-05-24 15:31:06 +01:00
SmallJoker
7ab0c0662a
MacOS: Fix environ not being found
2020-05-22 14:24:55 +02:00
rubenwardy
a9c3a42323
Add core.open_url() to main menu API ( #8592 )
2020-05-17 19:09:10 +01:00
sfan5
ca8957f500
Fix detection of in-place path_locale when RUN_IN_PLACE=0
...
broken by 2349d31bae
(side effect)
fixes #9745
2020-04-27 17:50:05 +02:00
Loïc Blot
a8575295d5
porting.cpp: better minetest support on BSD
...
BSD folder detection is pretty raw, just use the same detection as Linux
2018-12-11 17:35:39 +01:00
adrido
2322078fe4
Windows: Cpack wix installer ( #6153 )
...
Create CPack WIX msi Installer for RUN_IN_PLACE=0 builds
Correct paths on Windows for RUN_IN_PLACE=0
Install only required font files
Games have their own components, and "minimal" is optional
2018-10-26 21:37:51 +02:00
nOOb3167
9537cfd3f8
Add a MSVC / Windows compatible snprintf function ( #7353 )
...
Use sizeof where applicable for mt_snprintf
2018-07-22 21:56:06 +02:00
Midgard
67ed56be3b
Print error when HOME is not set ( #7376 )
...
In some configurations, such as when using the runit supervisor and its
tool chpst, the HOME variable might be unset. This resulted in an
unclear error message that was hard to pin down.
2018-05-28 18:00:42 +02:00
adrido
c830347a57
Replace deprecated WINAPI GetVersionInfoEx ( #6496 )
...
* Replace deprecated WINAPI GetVersionInfoEx
2017-10-07 15:13:13 +02:00
Loïc Blot
7528986e44
Code modernization: src/p*, src/q*, src/r*, src/s* (partial) ( #6282 )
...
* Code modernization: src/p*, src/q*, src/r*, src/s* (partial)
* empty function
* default constructor/destructor
* for range-based loops
* use emplace_back instead of push_back
* C++ STL header style
* Spelling: vertice -> vertex
2017-08-19 14:25:35 +02:00
adrido
32b68de65a
Dont search for locale folders if gettext is disabled ( #6133 )
...
If gettext is disabled, it is defined as 0.
2017-07-14 17:31:18 +02:00
Loïc Blot
b3a36f7378
Isolate irrlicht references and use a singleton ( #6041 )
...
* Add Device3D class which will contain IrrlichtDevice interface
move getSupportedVideoDrivers to Device3D
Add Device3D singleton & use it in various places
Rename Device3D to Rendering engine & add helper functions to various device pointers
More singleton work
RenderingEngine owns draw_load_screen
move draw functions to RenderingEngine
Reduce IrrlichtDevice exposure and guienvironment
RenderingEngine: Expose get_timer_time() to remove device from guiEngine
Make irrlichtdevice & scene manager less exposed
* Code style fixes
* Move porting::getVideoDriverName, getVideoDriverFriendlyName, getDisplayDensity, getDisplaySize to RenderingEngine
Fix XORG_USED macro -> RenderingEngine + create_engine_device from RenderingEngine constructor directly
* enum paralax => enum parallax
2017-06-26 20:11:17 +02:00
Loic Blot
6c55874417
DragonflyBSD & NetBSD build fix
2017-06-06 23:02:03 +02:00
ShadowNinja
b662a4577d
Clean up getTime helpers
...
This increases size of the getTime return values to 64 bits.
It also removes the TimeGetter classes since the getTime functions
are now very precise.
2017-04-28 14:43:18 -04:00
Loïc Blot
f98bbe193e
Fix various copy instead of const ref reported by cppcheck (part 3) ( #5616 )
...
* Also remove 2 non declared but defined functions
* Make some functions around const ref changes const
2017-04-20 00:12:52 +02:00
adrido
676951d90d
Windows: Skip cmd for release builds ( #5416 )
2017-04-07 07:14:39 +02:00
adrido
cc1ff26c3f
Windows: Set window icon ( #5486 )
2017-03-30 20:28:37 +02:00
est31
fcfa418c4c
Fix build/warning on non X11 platforms
2016-10-03 15:55:47 +02:00
est31
33a606c034
Fix android build
...
Fixes #4493 .
2016-09-30 15:27:36 +02:00
est31
f092dac979
Also support X11 icon for minetest copies installed via make install ( #4407 )
...
Fixes #4323 .
2016-08-20 21:26:44 +02:00
est31
9edc984b09
Porting: Fix endless loop if image format is not recognized
2016-08-03 23:33:04 +02:00
Jay Arndt
795f1c75cb
Fix warning in porting::setXorgWindowIcon when building without X11 ( #4288 )
2016-07-07 03:15:36 +02:00
est31
5d4d3f8366
Finally set a window icon on X11
...
Since the creation of minetest, it had no window icon on X11.
Now we have one.
The misc/minetest-xorg-icon-128.png file is a rendering of the
misc/minetest.svg file with inkscape, created with something like:
inkscape -z -e misc/minetest-xorg-icon-128.png -w 128 -h 128 misc/minetest.svg
2016-07-05 17:02:06 +02:00