oweals/minetest.git
9 years agoTranslated using Weblate (Korean)
Tae Lim Kook [Wed, 8 Jul 2015 21:31:00 +0000 (23:31 +0200)]
Translated using Weblate (Korean)

Currently translated at 1.7% (4 of 235 strings)

9 years agoTranslated using Weblate (Japanese)
Tae Lim Kook [Wed, 8 Jul 2015 21:33:04 +0000 (23:33 +0200)]
Translated using Weblate (Japanese)

Currently translated at 100.0% (264 of 264 strings)

9 years agoTranslated using Weblate (French)
Jean-Patrick G [Wed, 8 Jul 2015 09:41:31 +0000 (11:41 +0200)]
Translated using Weblate (French)

Currently translated at 99.1% (233 of 235 strings)

9 years agoTranslated using Weblate (Italian)
Michal Čihař [Tue, 7 Jul 2015 12:43:59 +0000 (14:43 +0200)]
Translated using Weblate (Italian)

Currently translated at 82.5% (194 of 235 strings)

9 years agoServer kicks: make messages configurable, cache wstring
est31 [Fri, 17 Jul 2015 04:30:21 +0000 (06:30 +0200)]
Server kicks: make messages configurable, cache wstring

9 years agoKick players when shutting down server and there is a crash due to a Lua stack exception
nerzhul [Thu, 16 Jul 2015 15:37:46 +0000 (17:37 +0200)]
Kick players when shutting down server and there is a crash due to a Lua stack exception

9 years agoFix relief mapping issues
RealBadAngel [Thu, 16 Jul 2015 13:36:48 +0000 (15:36 +0200)]
Fix relief mapping issues

9 years agoMake serialization error message translatable
Kahrl [Tue, 14 Jul 2015 16:20:50 +0000 (18:20 +0200)]
Make serialization error message translatable

Also don't show "probably running a different version" message in simple singleplayer mode

9 years agoconnection.cpp: remove unused constructor
Loic Blot [Tue, 14 Jul 2015 15:56:55 +0000 (17:56 +0200)]
connection.cpp: remove unused constructor

9 years agoIncrease limit of serialized long strings
kwolekr [Tue, 14 Jul 2015 07:22:16 +0000 (03:22 -0400)]
Increase limit of serialized long strings

9 years agoRemove raw message output on AOM deserialization failure
kwolekr [Tue, 14 Jul 2015 03:29:29 +0000 (23:29 -0400)]
Remove raw message output on AOM deserialization failure

Improve TOCLIENT_ACTIVE_OBJECT_MESSAGES robustness for handling invalid data

9 years agoAdd more robust error checking to deSerialize*String routines
kwolekr [Sat, 11 Jul 2015 21:48:05 +0000 (17:48 -0400)]
Add more robust error checking to deSerialize*String routines

Add serializeHexString()
Clean up util/serialize.cpp

9 years agoMinimal: Remove recently added unnecessary nodes
paramat [Mon, 13 Jul 2015 19:25:22 +0000 (20:25 +0100)]
Minimal: Remove recently added unnecessary nodes

Fix 'is ground content' for some nodes

9 years agoMgv6/treegen: (Re)Add fallback nodes for compatibility with subgames
paramat [Mon, 13 Jul 2015 00:17:54 +0000 (01:17 +0100)]
Mgv6/treegen: (Re)Add fallback nodes for compatibility with subgames

9 years agoFix remnant bugs on mainmenu
jp [Sat, 4 Jul 2015 15:53:00 +0000 (17:53 +0200)]
Fix remnant bugs on mainmenu

- Stop attempting to start a world when no world's created/selected in server tab
- Better world's indexes handling between subgames lists

9 years agoFix damage flash when damage disabled
kwolekr [Fri, 10 Jul 2015 19:58:32 +0000 (15:58 -0400)]
Fix damage flash when damage disabled

9 years agoMisc. minor fixes
kwolekr [Wed, 8 Jul 2015 15:53:02 +0000 (11:53 -0400)]
Misc. minor fixes

9 years agoLittle coding style fix on porting.h
Loic Blot [Fri, 10 Jul 2015 17:04:05 +0000 (19:04 +0200)]
Little coding style fix on porting.h

9 years agoSettings: pass name to callbacks by reference
est31 [Thu, 9 Jul 2015 06:23:08 +0000 (08:23 +0200)]
Settings: pass name to callbacks by reference

Spare some copies.

9 years agoUpdate clouds enable_3d_clouds when setting changed
est31 [Thu, 9 Jul 2015 06:07:59 +0000 (08:07 +0200)]
Update clouds enable_3d_clouds when setting changed

9 years agoWindows: Fix some warnings.
Diego Martinez [Wed, 8 Jul 2015 19:18:11 +0000 (16:18 -0300)]
Windows: Fix some warnings.

9 years agoBiome API decorations: 'spawnby' searches a 3D neighbourhood
paramat [Wed, 8 Jul 2015 19:01:29 +0000 (20:01 +0100)]
Biome API decorations: 'spawnby' searches a 3D neighbourhood

The neighbours checked are the 8 nodes horizontally surrounding the decoration base
and the 8 nodes horizontally surrounding the ground node below the decoration

9 years agoAdd new leaves style - simple (glasslike drawtype)
RealBadAngel [Wed, 8 Jul 2015 09:20:07 +0000 (11:20 +0200)]
Add new leaves style - simple (glasslike drawtype)

9 years agoUse UTF-8 instead of narrow
est31 [Tue, 7 Jul 2015 03:55:07 +0000 (05:55 +0200)]
Use UTF-8 instead of narrow

Use wide_to_utf8 and utf8_to_wide instead of wide_to_narrow and narrow_to_wide at almost all places.
Only exceptions: test functions for narrow conversion, and chat, which is done in a separate commit.

9 years agoClean-up Minimap code 2893/head
kwolekr [Wed, 8 Jul 2015 04:45:24 +0000 (00:45 -0400)]
Clean-up Minimap code

- Fixed race conditions
- Fixed null dereference
- Fixed out-of-bounds array access
- MinimapMapblock is now allocated and added to update queue only when enabled
- Removed dependency on LocalPlayer
- Fixed code style
- Simplified expressions and program logic
- Cleaned minimap object interfaces

9 years agoMgv7: Auto-set lowest mountain generation level
paramat [Sat, 4 Jul 2015 23:56:31 +0000 (00:56 +0100)]
Mgv7: Auto-set lowest mountain generation level

Lowest level of base terrain determines mountain generation in mapchunk
Change some positional function arguments from int to s16

9 years agoClient: better m_proto_ver initialisation
est31 [Sun, 5 Jul 2015 19:05:07 +0000 (21:05 +0200)]
Client: better m_proto_ver initialisation

Previously, m_proto_ver was set to the serialisation version
inside the legacy init packet.

Now, if the server doesn't send a protocol version (protocols < 25),
we set m_proto_ver to some value < 25 and > 0.

9 years agoUse minetest logging facilities for irrlicht log output
ShadowNinja [Sat, 4 Jul 2015 22:53:38 +0000 (00:53 +0200)]
Use minetest logging facilities for irrlicht log output

9 years agoMgv7: Lower base of mountain generation to -112 and define constant
paramat [Fri, 3 Jul 2015 21:47:31 +0000 (22:47 +0100)]
Mgv7: Lower base of mountain generation to -112 and define constant

9 years agoFix endless loop since grandparent commit
est31 [Sat, 4 Jul 2015 17:43:46 +0000 (19:43 +0200)]
Fix endless loop since grandparent commit

9 years agoFix attempt to start a world when no world is selected/created
jeanpatrick.guerrero@gmail.com [Sat, 4 Jul 2015 13:08:32 +0000 (15:08 +0200)]
Fix attempt to start a world when no world is selected/created

9 years agoCraftdef: Use numbers instead of iterators
est31 [Sat, 4 Jul 2015 14:21:37 +0000 (16:21 +0200)]
Craftdef: Use numbers instead of iterators

Use numbers instead of iterators to traverse various vectors.

9 years agoFix missing check for 0 in craft replacements
TeTpaAka [Sat, 4 Jul 2015 09:28:09 +0000 (11:28 +0200)]
Fix missing check for 0 in craft replacements

9 years agoFix code style from recent commits and add misc. optimizations
kwolekr [Fri, 3 Jul 2015 03:14:30 +0000 (23:14 -0400)]
Fix code style from recent commits and add misc. optimizations

9 years agoSet server_announce to world.mt and respect modes when changing subgame
Sokomine [Thu, 2 Jul 2015 14:26:09 +0000 (16:26 +0200)]
Set server_announce to world.mt and respect modes when changing subgame

9 years agoShaders fixes and cleanup relief mapping code.
RealBadAngel [Thu, 2 Jul 2015 19:36:45 +0000 (21:36 +0200)]
Shaders fixes and cleanup relief mapping code.

9 years agoFix world.mt not written when selecting mode
Sokomine [Wed, 1 Jul 2015 16:56:27 +0000 (18:56 +0200)]
Fix world.mt not written when selecting mode

9 years agoInventory manager style cleanup and further checks
est31 [Wed, 1 Jul 2015 15:03:02 +0000 (17:03 +0200)]
Inventory manager style cleanup and further checks

9 years agoDisable mesh cache by default
est31 [Wed, 1 Jul 2015 11:49:48 +0000 (13:49 +0200)]
Disable mesh cache by default

9 years agoCavegen: Cleanup code. Define constant for MGV7_LAVA_DEPTH
paramat [Tue, 30 Jun 2015 13:31:54 +0000 (14:31 +0100)]
Cavegen: Cleanup code. Define constant for MGV7_LAVA_DEPTH

9 years agoAdd android tools environment to gitignore
est31 [Wed, 1 Jul 2015 02:12:55 +0000 (04:12 +0200)]
Add android tools environment to gitignore

Previously, if you did `make envpaths` (as described in README.android), the new file got listed by git as new file.

9 years agoMake m_blocks_cache private
est31 [Tue, 30 Jun 2015 19:34:23 +0000 (21:34 +0200)]
Make m_blocks_cache private

@RealBadAngel has removed all outside access of the cache.

9 years agoDefer minimap update when shape changed
est31 [Tue, 30 Jun 2015 19:14:28 +0000 (21:14 +0200)]
Defer minimap update when shape changed

9 years agoClose keybind settings menu with esc
est31 [Tue, 30 Jun 2015 19:04:06 +0000 (21:04 +0200)]
Close keybind settings menu with esc

9 years agoFix single click world select
est31 [Tue, 30 Jun 2015 17:58:06 +0000 (19:58 +0200)]
Fix single click world select

9 years agoFix bugs in mainmenu
jeanpatrick.guerrero@gmail.com [Mon, 29 Jun 2015 13:41:05 +0000 (15:41 +0200)]
Fix bugs in mainmenu

9 years agoBiome API: Increase heat and humidity noise spreads to 1000
paramat [Tue, 30 Jun 2015 05:32:52 +0000 (06:32 +0100)]
Biome API: Increase heat and humidity noise spreads to 1000

9 years agoAdd UpdateThread and use it for minimap and mesh threads
est31 [Mon, 29 Jun 2015 09:06:03 +0000 (11:06 +0200)]
Add UpdateThread and use it for minimap and mesh threads

9 years agoFix *BSD build with GNU iconv
kwolekr [Mon, 29 Jun 2015 06:39:22 +0000 (02:39 -0400)]
Fix *BSD build with GNU iconv

9 years agoAdd Lua errors to error dialog
rubenwardy [Mon, 2 Mar 2015 18:26:20 +0000 (18:26 +0000)]
Add Lua errors to error dialog

9 years agoBugfix: variable type mismatch
RealBadAngel [Sun, 28 Jun 2015 19:11:54 +0000 (21:11 +0200)]
Bugfix: variable type mismatch

9 years agoBugfix: minimap was updated only with loading new blocks, allow forced updates with...
RealBadAngel [Sun, 28 Jun 2015 12:45:47 +0000 (14:45 +0200)]
Bugfix: minimap was updated only with loading new blocks, allow forced updates with changing player pos

9 years agoMinimap update
RealBadAngel [Sun, 28 Jun 2015 10:17:36 +0000 (12:17 +0200)]
Minimap update

9 years agoRemove busy polling inside minimap thread
est31 [Sat, 27 Jun 2015 16:11:24 +0000 (18:11 +0200)]
Remove busy polling inside minimap thread

9 years agoMgv5/mgv7 caves: Remove sand found in underground tunnels
paramat [Thu, 25 Jun 2015 22:55:01 +0000 (23:55 +0100)]
Mgv5/mgv7 caves: Remove sand found in underground tunnels

Add missing check for max_stone_y to mgv5 cavegen
Tunnels now carve through sand below water_level

9 years agoAdd minimap feature
RealBadAngel [Mon, 22 Jun 2015 02:34:56 +0000 (04:34 +0200)]
Add minimap feature

9 years agoRemove compile warning
est31 [Thu, 25 Jun 2015 13:50:31 +0000 (15:50 +0200)]
Remove compile warning

Thanks @TeTpaAka for pointing this out.

9 years agoReturn to ignore
est31 [Wed, 24 Jun 2015 20:45:52 +0000 (22:45 +0200)]
Return to ignore

9 years agoUse frame instead of words 'no screenshot available'
rubenwardy [Sun, 30 Nov 2014 12:52:20 +0000 (12:52 +0000)]
Use frame instead of words 'no screenshot available'

9 years agoTypo fix on previous @est31 commit
Loic Blot [Tue, 23 Jun 2015 21:17:47 +0000 (23:17 +0200)]
Typo fix on previous @est31 commit

9 years agoSmall TOCLIENT_HELLO logging fix
est31 [Tue, 23 Jun 2015 19:14:48 +0000 (21:14 +0200)]
Small TOCLIENT_HELLO logging fix

Fix grammar error and missing number conversion for version.
Also add deployed protocol to log line.

9 years agoAdd MoveSomewhere inventory action
est31 [Sat, 20 Jun 2015 10:55:48 +0000 (12:55 +0200)]
Add MoveSomewhere inventory action

Improve shift+click experience

9 years agoUse actionstream instead of errorstream when failing to emerge player
Craig Davison [Tue, 23 Jun 2015 14:46:35 +0000 (15:46 +0100)]
Use actionstream instead of errorstream when failing to emerge player

9 years agoFix string conversion error message
est31 [Tue, 23 Jun 2015 13:04:14 +0000 (15:04 +0200)]
Fix string conversion error message

9 years agoFix bug when craft input isn't replaced
TeTpaAka [Tue, 2 Jun 2015 18:30:04 +0000 (20:30 +0200)]
Fix bug when craft input isn't replaced

9 years agoUpdate Chinese translation
Zheyu Shen [Sat, 20 Jun 2015 12:02:38 +0000 (20:02 +0800)]
Update Chinese translation

9 years agoFix some issues with animations, and allow non-looped animations to be defined
MirceaKitsune [Sat, 21 Feb 2015 21:38:53 +0000 (23:38 +0200)]
Fix some issues with animations, and allow non-looped animations to be defined

9 years agoMgv7: Edit noise parameters. Fewer octaves, larger spreads.
paramat [Mon, 15 Jun 2015 04:30:44 +0000 (05:30 +0100)]
Mgv7: Edit noise parameters. Fewer octaves, larger spreads.

9 years agoRemove textures vertical offset. Fix for area enabling parallax.
RealBadAngel [Sat, 20 Jun 2015 22:11:09 +0000 (00:11 +0200)]
Remove textures vertical offset. Fix for area enabling parallax.

9 years agoAndroid: use loop inside makefile to spare repetition 2807/head
est31 [Sat, 20 Jun 2015 05:39:28 +0000 (07:39 +0200)]
Android: use loop inside makefile to spare repetition

9 years agoSmall CAO improvements
est31 [Sat, 20 Jun 2015 04:58:07 +0000 (06:58 +0200)]
Small CAO improvements

-> remove the old parent as @kahrl suggested
-> use indices no iterator as @kwolekr suggested

9 years agoMapgen objects: Enable heatmap and humidmap for all biome api mapgens
paramat [Thu, 18 Jun 2015 23:17:03 +0000 (00:17 +0100)]
Mapgen objects: Enable heatmap and humidmap for all biome api mapgens

9 years agoMore correct wrap_rows implementation
figec [Fri, 19 Jun 2015 16:04:11 +0000 (19:04 +0300)]
More correct wrap_rows implementation

9 years agoGeneric CAO cleanups and renames for clarification
est31 [Sat, 20 Jun 2015 01:20:06 +0000 (03:20 +0200)]
Generic CAO cleanups and renames for clarification

* Use enum for GENERIC_CMD_*
* Rename m_attachements to attachement_parent_ids (public member and clearer name)
* Rename GENERIC_CMD_SET_ATTACHMENT to GENERIC_CMD_ATTACH_TO
* USHRT_MAX + 1 buffer sizes to prevent overflows as @kahrl suggested
* Remove unneccessary m_id from GenericCAO (shadowing protected superclass member for no reason) as @kahrl suggested

9 years agoMake attached objects visible in 3rd person view
est31 [Fri, 19 Jun 2015 22:30:38 +0000 (00:30 +0200)]
Make attached objects visible in 3rd person view

9 years agoFix wrap_rows at inner byte of multibyte sequence
figec [Thu, 18 Jun 2015 18:34:17 +0000 (21:34 +0300)]
Fix wrap_rows at inner byte of multibyte sequence

Also fix UTF-8 inner byte bounds and make unittest for case this fixes.

9 years agoBiome API: Add noise defined biome blend
paramat [Wed, 3 Jun 2015 07:59:07 +0000 (08:59 +0100)]
Biome API: Add noise defined biome blend

9 years agoMgv6: Don't create air gap in tundra at y = 48 in custom high terrain
paramat [Thu, 18 Jun 2015 01:55:52 +0000 (02:55 +0100)]
Mgv6: Don't create air gap in tundra at y = 48 in custom high terrain

9 years agoDon't print an error for valid listring[] formspec
est31 [Thu, 18 Jun 2015 02:25:11 +0000 (04:25 +0200)]
Don't print an error for valid listring[] formspec

9 years agoMake wrap_rows not wrap inside utf-8 multibyte sequences
est31 [Wed, 17 Jun 2015 20:10:22 +0000 (22:10 +0200)]
Make wrap_rows not wrap inside utf-8 multibyte sequences

Also count multibyte sequences as "one" character.
Adds unittest for the bug reporter's case.
Fixes #2796.

9 years agoFail iconv call gracefully
est31 [Wed, 17 Jun 2015 17:00:31 +0000 (19:00 +0200)]
Fail iconv call gracefully

No freezing when inbuf_size doesn't decrease over time.

9 years agoSimpler patch for saplings trying to grow on unknown nodes
ShadowNinja [Tue, 16 Jun 2015 19:00:19 +0000 (21:00 +0200)]
Simpler patch for saplings trying to grow on unknown nodes

9 years agoGUIFormSpecMenu::OnEvent code style update and small refactor
est31 [Tue, 16 Jun 2015 18:33:07 +0000 (20:33 +0200)]
GUIFormSpecMenu::OnEvent code style update and small refactor

* Make method (more) consistent with current code stlye
* Move index into loop constructor after @rubenwardy's suggestion
* Cache inv_s->getList(s.listname), which removes a possibly bad scenario
of inv_s being null.
* Properly check for validity

9 years agoUpdate credits tab
est31 [Tue, 16 Jun 2015 05:32:01 +0000 (07:32 +0200)]
Update credits tab

9 years agoAdd list-rings 2795/head
est31 [Tue, 16 Jun 2015 08:48:54 +0000 (10:48 +0200)]
Add list-rings

Adds list-rings, a method to implement item sending between inventories via shift-click.
Nice insider feature: a ring consisting of a single inventory list serves as nice clean-up method.
Also adds them to minimal game, and the standard inventory.
Craft output slots are not supported.

9 years agoRemove unneccessary space for tab completion
Nathaniel Olsen [Tue, 16 Jun 2015 02:10:06 +0000 (21:10 -0500)]
Remove unneccessary space for tab completion

9 years agoDon't highlight entries in credits
Wuzzy [Sun, 14 Jun 2015 23:26:02 +0000 (01:26 +0200)]
Don't highlight entries in credits

9 years agoDon't crash when saplings try to grow on unknown nodes
y.st [Mon, 15 Jun 2015 05:51:40 +0000 (22:51 -0700)]
Don't crash when saplings try to grow on unknown nodes

9 years agoBiome API: Enable biome generation to lower world limit
paramat [Sat, 13 Jun 2015 00:26:56 +0000 (01:26 +0100)]
Biome API: Enable biome generation to lower world limit

Decorations: Remove lower limit of water level for placement

9 years agoIgnore punches with no damage in the actionstream
SmallJoker [Wed, 11 Mar 2015 19:52:47 +0000 (20:52 +0100)]
Ignore punches with no damage in the actionstream

9 years agoRemove reference to deprecated privilege
Craig Davison [Sun, 14 Jun 2015 20:28:51 +0000 (21:28 +0100)]
Remove reference to deprecated privilege

9 years agoAutomated whitespace error fix for last commit
est31 [Sun, 14 Jun 2015 21:09:20 +0000 (23:09 +0200)]
Automated whitespace error fix for last commit

9 years agoImproved parallax mapping. Generate heightmaps on the fly.
RealBadAngel [Sun, 14 Jun 2015 19:13:36 +0000 (21:13 +0200)]
Improved parallax mapping. Generate heightmaps on the fly.

9 years agoAdd UTF and other utility unit tests
est31 [Sun, 14 Jun 2015 10:00:06 +0000 (12:00 +0200)]
Add UTF and other utility unit tests

9 years agoAndroid: bypass broken wide_to_utf8 with wide_to_narrow
est31 [Sun, 14 Jun 2015 04:38:02 +0000 (06:38 +0200)]
Android: bypass broken wide_to_utf8 with wide_to_narrow

While utf8_to_wide works well, wide_to_utf8 is quite broken
on android, for some reason.

9 years agoUse utf-8 in formspecs
Ilya Zhuravlev [Tue, 9 Jun 2015 23:54:33 +0000 (01:54 +0200)]
Use utf-8 in formspecs

9 years agoAdd utf-8 conversion utilities and re-add intlGUIEditBox
est31 [Tue, 9 Jun 2015 22:35:21 +0000 (00:35 +0200)]
Add utf-8 conversion utilities and re-add intlGUIEditBox

9 years agoAdd minetest.register_on_player_hpchange
TeTpaAka [Sat, 30 May 2015 14:56:42 +0000 (16:56 +0200)]
Add minetest.register_on_player_hpchange

9 years agoAdd return list of individual counts to find_node_in_area
TeTpaAka [Sat, 30 May 2015 18:53:21 +0000 (20:53 +0200)]
Add return list of individual counts to find_node_in_area

9 years agodofile error reporting for syntax errors
est31 [Fri, 12 Jun 2015 18:00:50 +0000 (20:00 +0200)]
dofile error reporting for syntax errors

According to doc, dofile() raises an error when parsing failed due to syntax errors.
Fixes #2775