Changeset 487


Ignore:
Timestamp:
08/17/08 10:22:09 (5 years ago)
Author:
Jucifer
Message:
Location:
branches/juciphox
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/juciphox/core/gui.c

    r481 r487  
    584584        {0x0,LANG_MENU_ITEM_BLANK,      MENUITEM_PROC,  (int*)blank_menu,0}, 
    585585        {0x0,LANG_MENU_ITEM_BLANK,      MENUITEM_PROC,  (int*)blank_menu,0}, 
    586         {0x0,LANG_MENU_MAIN_TITLE,      MENUITEM_PROC,  (int*)rinit}, 
     586        {0x20,LANG_MENU_MAIN_TITLE,      MENUITEM_PROC,  (int*)rinit}, 
    587587    {0} 
    588588}; 
     
    733733void rinit(){ 
    734734        gui_menu_init(&root_menu); 
    735 } 
    736  
    737 static CMenuItem blank_menu_item = {'0',LANG_MENU_ITEM_BLANK, MENUITEM_PROC, (int*)blank_menu,0}; 
     735    draw_restore(); 
     736    gui_force_restore(); 
     737} 
     738 
     739static CMenuItem blank_menu_item = {0x0,LANG_MENU_ITEM_BLANK, MENUITEM_PROC, (int*)blank_menu,0}; 
    738740 
    739741void add_user_menu(CMenuItem curr_menu_item, int* gui_menu_add_item, int del) { 
  • branches/juciphox/doc/version.txt

    r486 r487  
    66log 
    77 
     8 
     9487 / 0.3.7 
     10Jucifer 
     11 
     12- applied reyalp's lua-hex-warnings.patch (http://chdk.setepontos.com/index.php/topic,688.msg19975.html#msg19975) 
     13- followed bperrybap's suggestion to modify a couple of (user) menu symbols  (http://chdk.setepontos.com/index.php/topic,688.msg19776.html#msg19776) 
     14- fixed screen not redrawn when entering main menu from user menu -issue 
     15 
     16 
     17 
    818486 / 0.3.6 
    919Jucifer 
     
    1121+ added LjL's cropped zebra -mod (http://chdk.setepontos.com/index.php/topic,1849.msg17467.html#msg17467) 
    1222+ added get_time("unit") for Lua, where unit can be Y[ear], M[onth], D[ay], h[our], m[inute] or s[econd] ([]=optional/example) 
     23 
    1324 
    1425 
  • branches/juciphox/include/luaconf.h

    r474 r487  
    540540#define luai_numdiv(a,b)        ((a)/(b)) 
    541541#define luai_nummod(a,b)        ((a)%(b)) 
    542 LUA_NUMBER luai_ipow(LUA_NUMBER, LUA_NUMBER); 
    543542#define luai_numpow(a,b)        (luai_ipow(a,b)) 
    544543#define luai_numunm(a)          (-(a)) 
     
    549548#endif 
    550549 
     550// reyalp - used in lib too 
     551#if defined(LUA_CORE) || defined(LUA_LIB) 
     552LUA_NUMBER luai_ipow(LUA_NUMBER, LUA_NUMBER); 
     553#endif 
    551554 
    552555/* 
     
    767770#endif 
    768771 
     772 
  • branches/juciphox/lib/lua/lobject.c

    r416 r487  
    9292  *result = lua_str2number(s, &endptr); 
    9393  if (endptr == s) return 0;  /* conversion failed */ 
    94 #if 0 
    9594  if (*endptr == 'x' || *endptr == 'X')  /* maybe an hexadecimal constant? */ 
    96     *result = cast_num(strtoul(s, &endptr, 16)); 
    97 #endif 
     95// reyalp - use strtol 
     96    *result = cast_num(strtol(s, &endptr, 16)); 
    9897  if (*endptr == '\0') return 1;  /* most common case */ 
    9998  while (isspace(cast(unsigned char, *endptr))) endptr++; 
  • branches/juciphox/version.inc

    r486 r487  
    1 BUILD_NUMBER := 0.3.6 
     1BUILD_NUMBER := 0.3.7 
Note: See TracChangeset for help on using the changeset viewer.