[Wesnoth-bugs] [bug #25546] can't start multiplayer game, missing file

2017-02-27 Thread Charles Dang
Update of bug #25546 (project wesnoth):

  Status:None => Fixed  
 Open/Closed:Open => Closed 

___

Follow-up Comment #2:

Fixed https://github.com/wesnoth/wesnoth/commit/42b53e6

gfgtdf is right, it doesn't affect all systems, or at least not Windows.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25541] tutorial: hard crash as delfador summons training dummy for konrad.

2017-02-27 Thread Charles Dang
Update of bug #25541 (project wesnoth):

 Assigned to: vultraz => celticminstrel 

___

Follow-up Comment #7:

Even if that error is fixed (local hits = cfg.hits or false) the game still
crashes. :(

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25541] tutorial: hard crash as delfador summons training dummy for konrad.

2017-02-27 Thread Wedge009
Update of bug #25541 (project wesnoth):

  Status:   Fixed => In Progress

___

Follow-up Comment #6:

Reverting fixed status, since mk shows there are still issues.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25546] can't start multiplayer game, missing file

2017-02-27 Thread Daniel
Follow-up Comment #1, bug #25546 (project wesnoth):

> Operating System: all

You sure this is true? this looks like a typaical case of some systems fs
beeing cases sesitive while others aren't 

___

Reply to this item at:

  

___
  Nachricht gesendet von/durch Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25546] can't start multiplayer game, missing file

2017-02-27 Thread Matthias Krüger
URL:
  

 Summary: can't start multiplayer game, missing file
 Project: Battle for Wesnoth
Submitted by: matthiaskrgr
Submitted on: Tue 28 Feb 2017 02:28:46 AM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: Multiplayer
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Release: git
Operating System: all

___

Details:

Multiplayer -> Local game:

20170228 03:27:38 error preprocessor: Macro/file
'multiplayer/maps/2p_Swamp_Of_Dread.map' is missing
at multiplayer/scenarios/2p_Swamp_of_Dread.cfg:9
included from multiplayer/_main.cfg:15
included from _main.cfg:26
20170228 03:27:38 error config: Error loading game configuration files
Macro/file 'multiplayer/maps/2p_Swamp_Of_Dread.map' is missing
at multiplayer/scenarios/2p_Swamp_of_Dread.cfg:9
included from multiplayer/_main.cfg:15
included from _main.cfg:26
20170228 03:27:42 error preprocessor: Macro/file
'multiplayer/maps/2p_Swamp_Of_Dread.map' is missing
at multiplayer/scenarios/2p_Swamp_of_Dread.cfg:9
included from multiplayer/_main.cfg:15
included from _main.cfg:26
20170228 03:27:42 error config: Error loading game configuration files
Macro/file 'multiplayer/maps/2p_Swamp_Of_Dread.map' is missing
at multiplayer/scenarios/2p_Swamp_of_Dread.cfg:9
included from multiplayer/_main.cfg:15
included from _main.cfg:26
caught game::error...
20170228 03:27:43 error general: Error: Macro/file
'multiplayer/maps/2p_Swamp_Of_Dread.map' is missing
at multiplayer/scenarios/2p_Swamp_of_Dread.cfg:9
included from multiplayer/_main.cfg:15
included from _main.cfg:26






___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25541] tutorial: hard crash as delfador summons training dummy for konrad.

2017-02-27 Thread Matthias Krüger
Follow-up Comment #5, bug #25541 (project wesnoth):

Current failure (still when dummy is supposed to be summoned)

Battle for Wesnoth v1.13.6+dev (de090c1-Clean)
Started on Tue Feb 28 03:21:40 2017

Automatically found a possible data directory at
/home/matthias/vcs/github/wesnoth/build/..

Data directory:   /home/matthias/vcs/github/wesnoth/build/..
User configuration directory: /home/matthias/.config/wesnoth
User data directory:  /home/matthias/.local/share/wesnoth/1.13
Cache directory:  /home/matthias/.cache/wesnoth

Setting mode to 1221x861
Checking lua scripts... ok
20170228 03:22:17 error scripting/lua: lua/wml/animate_unit.lua:94: bad
argument #3 to 'add' (string expected, got nil)
stack traceback:
[C]: in method 'add'
lua/wml/animate_unit.lua:94: in upvalue 'add_animation'
lua/wml/animate_unit.lua:112: in local 'cmd'
lua/wml-utils.lua:145: in field 'handle_event_commands'
lua/wml-flow.lua:6: in function 


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25543] The cursor in GUI2 text box don't move correctly when a sentence or a word is inserted by input method

2017-02-27 Thread Charles Dang
Update of bug #25543 (project wesnoth):

  Status:  Ready For Test => Fixed  

___

Follow-up Comment #8:

Ah, thanks :) Merged.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25543] The cursor in GUI2 text box don't move correctly when a sentence or a word is inserted by input method

2017-02-27 Thread Hironori Fujimoto
Follow-up Comment #7, bug #25543 (project wesnoth):

std::string::size() is same as std::string::length().

using utf8::size() works nice.
I create pull request : https://github.com/wesnoth/wesnoth/pull/942

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25543] The cursor in GUI2 text box don't move correctly when a sentence or a word is inserted by input method

2017-02-27 Thread Charles Dang
Follow-up Comment #6, bug #25543 (project wesnoth):

Does it still assert if you change it to use .size()?

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25543] The cursor in GUI2 text box don't move correctly when a sentence or a word is inserted by input method

2017-02-27 Thread Hironori Fujimoto
Follow-up Comment #5, bug #25543 (project wesnoth):

oh, not segfault, SIGABRT.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25543] The cursor in GUI2 text box don't move correctly when a sentence or a word is inserted by input method

2017-02-27 Thread Hironori Fujimoto
Follow-up Comment #4, bug #25543 (project wesnoth):

Thanks, but segfault...

wesnoth:
/home/fujimoto/Documents/wesnoth-develop/wesnoth/src/gui/widgets/text_box_base.cpp:141:
void gui2::text_box_base::set_cursor(size_t, bool): Assertion `offset <=
text_.get_length()' failed.
fish: './wesnoth' terminated by signal SIGABRT (Abort)

maybe should use utf8::size() instead of length()?

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25543] The cursor in GUI2 text box don't move correctly when a sentence or a word is inserted by input method

2017-02-27 Thread Charles Dang
Update of bug #25543 (project wesnoth):

  Status:None => Ready For Test 
 Assigned to:None => vultraz


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25543] The cursor in GUI2 text box don't move correctly when a sentence or a word is inserted by input method

2017-02-27 Thread Charles Dang
Follow-up Comment #3, bug #25543 (project wesnoth):

I just committed this: https://github.com/wesnoth/wesnoth/commit/76291ed

Could you see if this is still an issue?

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25543] The cursor in GUI2 text box don't move correctly when a sentence or a word is inserted by input method

2017-02-27 Thread Hironori Fujimoto
Follow-up Comment #2, bug #25543 (project wesnoth):

fcitx is a input method framework, and mozc is popular Japanese input method
engine worked on fcitx.
Also the bug occurs when use ibus (Gnome's default input method framework).

http://devdocs.wesnoth.org/classgui2_1_1text__box__base.html
Pasting uses paste_selection() and it correctly works, but inputing a word
from keyboard uses insert_char().
I think insert_char() assumes only a character comes.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25543] The cursor in GUI2 text box don't move correctly when a sentence or a word is inserted by input method

2017-02-27 Thread Charles Dang
Follow-up Comment #1, bug #25543 (project wesnoth):

I tested pasting a word into the box and the cursor moved to the end
correctly. What is this "fcitx + fcitx-mozc" input method?

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25541] tutorial: hard crash as delfador summons training dummy for konrad.

2017-02-27 Thread Daniel
Update of bug #25541 (project wesnoth):

  Status:   Confirmed => Fixed  
 Assigned to:None => vultraz

___

Follow-up Comment #4:

https://github.com/wesnoth/wesnoth/commit/f81392893db751221480794e4682996bf86d302a

___

Reply to this item at:

  

___
  Nachricht gesendet von/durch Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25542] integer overflow in ai attack rating code

2017-02-27 Thread Daniel
Update of bug #25542 (project wesnoth):

 Release: git => 1.13.6+dev 
 Summary: int overflow: wesnoth -t, end turn => integer
overflow in ai attack rating code

___

Follow-up Comment #1:

Maybe we could just use föoats/doubles here instead of ints? Not sure though.

___

Reply to this item at:

  

___
  Nachricht gesendet von/durch Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25541] tutorial: hard crash as delfador summons training dummy for konrad.

2017-02-27 Thread Matthias Krüger
Follow-up Comment #3, bug #25541 (project wesnoth):

Right now, I am just getting a lua error:

20170227 14:13:41 error scripting/lua: lua/wml/animate_unit.lua:37: bad
argument #2 to 'is_fogged' (location expected, got number)
stack traceback:
[C]: in field 'is_fogged'
lua/wml/animate_unit.lua:37: in upvalue 'add_animation'
lua/wml/animate_unit.lua:112: in local 'cmd'
lua/wml-utils.lua:145: in field 'handle_event_commands'
lua/wml-flow.lua:6: in function 


but with the asan build I could reproduce this quite reliably.

I used 
CXXFLAGS="-fsanitize=address,undefined -g3 -I/usr/include/boost -Og
-fno-omit-frame-pointer -march=native -fsanitize-address-use-after-scope 
-fno-optimize-sibling-calls"  cmake ..
and clang-dev to compile.

___

Reply to this item at:

  <http://gna.org/bugs/?25541>

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25332] Texts including alphanumeric or symbol are not displayed in help when language is Japanese or Chinese.

2017-02-27 Thread Wedge009
Update of bug #25332 (project wesnoth):

  Status:   Confirmed => In Progress

___

Follow-up Comment #6:

PR #937.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs


[Wesnoth-bugs] [bug #25541] tutorial: hard crash as delfador summons training dummy for konrad.

2017-02-27 Thread Wedge009
Follow-up Comment #2, bug #25541 (project wesnoth):

Strange. I can't seem to reproduce this for Linux release, Windows debug, or
even Windows release again. Looks like something non-deterministic going on.

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Wesnoth-bugs mailing list
Wesnoth-bugs@gna.org
https://mail.gna.org/listinfo/wesnoth-bugs