patchFreeciv - Patches: patch #2115, [fcdb02] redo lua script

 
 
Show feedback again

patch #2115: [fcdb02] redo lua script

Submitted by:  Matthias Pfafferodt <syntron>
Submitted on:  Thu 28 Oct 2010 05:26:43 PM UTC  
 
Category: generalPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Matthias Pfafferodt <syntron>Open/Closed: Closed
Planned Release: 2.4.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Tue 18 Jan 2011 10:59:54 PM UTC, SVN revision 19010:

Update svn:ignore properties after patch #2114, patch #2115, patch #2116,
patch #2283, etc.

(Browse SVN revision 19010)

Jacob Nevins <jtn>
Project Administrator
Mon 17 Jan 2011 02:43:19 PM UTC, SVN revision 18975:

redo lua script

  • add common files (luascript.c)
  • rename api_types.h to script_types.h; include definitions from
  • script_signals.h
  • rename script.(ch) to script_game.(ch)
  • split api.pkg to tolua_common_(a|z).pkg and tolua_game.pkg

see gna patch #2115

(Browse SVN revision 18975)

Matthias Pfafferodt <syntron>
Project MemberIn charge of this item.
Mon 10 Jan 2011 10:20:56 AM UTC, comment #4:

rebased patch; additional changes:

  • split tolua_common.pkg into tolua_comman_(a|z).pkg

(file #11759)

Matthias Pfafferodt <syntron>
Project MemberIn charge of this item.
Sat 30 Oct 2010 09:57:20 AM UTC, comment #3:

> As discussed previously in bug #15587, and according the
> comment in api.pkg, are you sure the interface is still
> compatible with the current one? (notably with the new ways
> for doing logs...)


Yes, all functions currently implemented will still work. For the logging, wrapper functions are implemented. The new style is similar to the functions calls in the C code (C: log_normal(); lua: log.normal()).

Matthias Pfafferodt <syntron>
Project MemberIn charge of this item.
Fri 29 Oct 2010 10:51:18 PM UTC, comment #2:

As discussed previously in bug #15587, and according the comment in api.pkg, are you sure the interface is still compatible with the current one? (notably with the new ways for doing logs...)

pepeto <pepeto>
Project Member
Fri 29 Oct 2010 08:15:23 PM UTC, comment #1:

canges 20101029:

  • rename log.msg to log.base

(file #10985)

Matthias Pfafferodt <syntron>
Project MemberIn charge of this item.
Thu 28 Oct 2010 05:26:43 PM UTC, original submission:
  • add common files (luascript.c)
  • rename api_types.h to script_types.h; include definitions from script_signals.h
  • rename script.(ch) to script_game.(ch)
  • split api.pkg to tolua_common.pkg and tolua_game.pkg
Matthias Pfafferodt <syntron>
Project MemberIn charge of this item.

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #10973:  0002-redo-lua-script.patch added by syntron (132kB - text/x-diff)

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by pepeto (Posted a comment)
  • -unavailable- added by syntron (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 17 Jan 2011 02:48:54 PM UTCsyntronStatusReady For Test=>Done
      Open/ClosedOpen=>Closed
    Mon 10 Jan 2011 10:20:56 AM UTCsyntronAttached File-=>Added 20110110-fcdb02-redo-lua-script.patch, #11759
      Summary[fcdb] redo lua script=>[fcdb02] redo lua script
    Fri 29 Oct 2010 08:15:23 PM UTCsyntronAttached File-=>Added 20101029-02-trunk-redo-lua-script.patch, #10985
    Thu 28 Oct 2010 05:26:43 PM UTCsyntronAttached File-=>Added 0002-redo-lua-script.patch, #10973
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup