On Wed, 4 Jul 2012 09:58:30 +0900 Cedric BAIL <cedric.b...@free.fr> said:

i asked last night and he claims it works with 5.1 - we were using deprecated
features that still were in 5.1 (deprecated earlier) and 5.2 killed them off
entirely.

> ARE YOU SURE OF WHAT YOU DID ? Is it still working with lua 5.1 ? As
> far as I remember we avoided moving to 5.2 because they did break
> their API/ABI. If this break 5.1, then revert !
> 
> On Tue, Jul 3, 2012 at 11:08 PM, Enlightenment SVN
> <no-re...@enlightenment.org> wrote:
> > Log:
> > unbork edje-lua on 5.2
> >
> > Author:       quaker
> > Date:         2012-07-03 07:08:09 -0700 (Tue, 03 Jul 2012)
> > New Revision: 73240
> > Trac:         http://trac.enlightenment.org/e/changeset/73240
> >
> > Modified:
> >   trunk/edje/src/lib/edje_lua2.c
> >
> > Modified: trunk/edje/src/lib/edje_lua2.c
> > ===================================================================
> > --- trunk/edje/src/lib/edje_lua2.c      2012-07-03 13:53:44 UTC (rev 73239)
> > +++ trunk/edje/src/lib/edje_lua2.c      2012-07-03 14:08:09 UTC (rev 73240)
> > @@ -180,7 +180,7 @@
> >
> >  static int _elua_obj_gc(lua_State *L);
> >
> > -static const struct luaL_reg _elua_edje_gc_funcs [] =
> > +static const struct luaL_Reg _elua_edje_gc_funcs [] =
> >  {
> >       {"__gc", _elua_obj_gc}, // garbage collector func for edje objects
> >
> > @@ -635,7 +635,7 @@
> >  //static int _elua_textblock(lua_State *L);  /* XXX: disabled until there
> > are enough textblock functions implemented to make it actually useful
> >
> >  static const char *_elua_edje_api = "edje";
> > -static const struct luaL_reg _elua_edje_funcs [] =
> > +static const struct luaL_Reg _elua_edje_funcs [] =
> >  {
> >     // add an echo too to make it more shelly
> >       {"echo",         _elua_echo}, // test func - echo (i know we have
> > print. test) @@ -1714,7 +1714,7 @@
> >  static int _elua_obj_map_enable(lua_State *L);
> >
> >  static const char *_elua_evas_api = "evas";
> > -static const struct luaL_reg _elua_evas_funcs [] =
> > +static const struct luaL_Reg _elua_evas_funcs [] =
> >  {
> >       {"del",          _elua_obj_del}, // generic del any object created
> > for edje (evas objects, timers, animators, transitions... everything)
> >
> > @@ -2504,7 +2504,7 @@
> >  holds a reference to an ecore animator object.
> >  */
> >  static const char *_elua_ecore_animator_api = "ecore_animator";
> > -static const struct luaL_reg _elua_ecore_animator_funcs [] =
> > +static const struct luaL_Reg _elua_ecore_animator_funcs [] =
> >  {
> >       {NULL, NULL} // end
> >  };
> > @@ -2524,7 +2524,7 @@
> >  */
> >
> >  static const char *_elua_ecore_timer_api = "ecore_timer";
> > -static const struct luaL_reg _elua_ecore_timer_funcs [] =
> > +static const struct luaL_Reg _elua_ecore_timer_funcs [] =
> >  {
> >       {NULL, NULL} // end
> >  };
> > @@ -2550,7 +2550,7 @@
> >
> >  static const char *_elua_evas_edje_api = "evas_edje";
> >  static const char *_elua_evas_edje_parent = "evas_edje_parent";
> > -static const struct luaL_reg _elua_evas_edje_funcs [] =
> > +static const struct luaL_Reg _elua_evas_edje_funcs [] =
> >  {
> >       {"file",         _elua_edje_file}, // get or set edje file and group
> >
> > @@ -2649,7 +2649,7 @@
> >
> >  static const char *_elua_evas_image_api = "evas_image";
> >  static const char *_elua_evas_image_parent = "evas_image_parent";
> > -static const struct luaL_reg _elua_evas_image_funcs [] =
> > +static const struct luaL_Reg _elua_evas_image_funcs [] =
> >  {
> >       {"fill",         _elua_image_fill},   // get or set the fill
> > parameters {"filled",       _elua_image_filled}, // get or set the filled
> > state (overrides fill()) @@ -2851,7 +2851,7 @@
> >
> >  static const char *_elua_evas_line_api = "evas_line";
> >  static const char *_elua_evas_line_parent = "evas_line_parent";
> > -static const struct luaL_reg _elua_evas_line_funcs [] =
> > +static const struct luaL_Reg _elua_evas_line_funcs [] =
> >  {
> >       {"xy",         _elua_line_xy}, // get or set line coords
> >
> > @@ -2933,7 +2933,7 @@
> >  static int _elua_map_zoom(lua_State *L);
> >
> >  static const char *_elua_evas_map_api = "ewas_map";
> > -static const struct luaL_reg _elua_evas_map_funcs [] =
> > +static const struct luaL_Reg _elua_evas_map_funcs [] =
> >  {
> >       {"alpha",         _elua_map_alpha},
> >  //     {"dup",           _elua_map_dup},  // not sure of proper api for
> > this. @@ -3496,7 +3496,7 @@
> >
> >  static const char *_elua_evas_polygon_api = "evas_polygon";
> >  static const char *_elua_evas_polygon_parent = "evas_polygon_parent";
> > -static const struct luaL_reg _elua_evas_polygon_funcs [] =
> > +static const struct luaL_Reg _elua_evas_polygon_funcs [] =
> >  {
> >       {"clear",         _elua_polygon_clear}, // clear all polygon points
> >       {"point",         _elua_polygon_point}, // add a polygon point
> > @@ -3576,7 +3576,7 @@
> >
> >  static const char *_elua_evas_text_api = "evas_text";
> >  static const char *_elua_evas_text_parent = "evas_text_parent";
> > -static const struct luaL_reg _elua_evas_text_funcs [] =
> > +static const struct luaL_Reg _elua_evas_text_funcs [] =
> >  {
> >       {"font",         _elua_text_font}, // get or set text font
> >       {"text",         _elua_text_text}, // get or set text
> > @@ -3703,7 +3703,7 @@
> >  static int _elua_bogan_nilfunc(lua_State *L);
> >  static int _elua_bogan_index(lua_State *L);
> >
> > -static const struct luaL_reg _elua_bogan_funcs [] =
> > +static const struct luaL_Reg _elua_bogan_funcs [] =
> >  {
> >       {"nilfunc",         _elua_bogan_nilfunc}, // Just return a nil.
> >       {"__index",         _elua_bogan_index},   // Return the above func.
> >
> >
> > ------------------------------------------------------------------------------
> > Live Security Virtual Conference
> > Exclusive live event will cover all the ways today's security and
> > threat landscape has changed and how IT managers can respond. Discussions
> > will include endpoint security, mobile security and the latest in malware
> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > _______________________________________________
> > enlightenment-svn mailing list
> > enlightenment-...@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
> >
> 
> 
> 
> -- 
> Cedric BAIL
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to