Changeset 487
- Timestamp:
- 08/17/08 10:22:09 (5 years ago)
- Location:
- branches/juciphox
- Files:
-
- 5 edited
-
core/gui.c (modified) (2 diffs)
-
doc/version.txt (modified) (2 diffs)
-
include/luaconf.h (modified) (3 diffs)
-
lib/lua/lobject.c (modified) (1 diff)
-
version.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/juciphox/core/gui.c
r481 r487 584 584 {0x0,LANG_MENU_ITEM_BLANK, MENUITEM_PROC, (int*)blank_menu,0}, 585 585 {0x0,LANG_MENU_ITEM_BLANK, MENUITEM_PROC, (int*)blank_menu,0}, 586 {0x 0,LANG_MENU_MAIN_TITLE, MENUITEM_PROC, (int*)rinit},586 {0x20,LANG_MENU_MAIN_TITLE, MENUITEM_PROC, (int*)rinit}, 587 587 {0} 588 588 }; … … 733 733 void rinit(){ 734 734 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 739 static CMenuItem blank_menu_item = {0x0,LANG_MENU_ITEM_BLANK, MENUITEM_PROC, (int*)blank_menu,0}; 738 740 739 741 void add_user_menu(CMenuItem curr_menu_item, int* gui_menu_add_item, int del) { -
branches/juciphox/doc/version.txt
r486 r487 6 6 log 7 7 8 9 487 / 0.3.7 10 Jucifer 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 8 18 486 / 0.3.6 9 19 Jucifer … … 11 21 + added LjL's cropped zebra -mod (http://chdk.setepontos.com/index.php/topic,1849.msg17467.html#msg17467) 12 22 + 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 13 24 14 25 -
branches/juciphox/include/luaconf.h
r474 r487 540 540 #define luai_numdiv(a,b) ((a)/(b)) 541 541 #define luai_nummod(a,b) ((a)%(b)) 542 LUA_NUMBER luai_ipow(LUA_NUMBER, LUA_NUMBER);543 542 #define luai_numpow(a,b) (luai_ipow(a,b)) 544 543 #define luai_numunm(a) (-(a)) … … 549 548 #endif 550 549 550 // reyalp - used in lib too 551 #if defined(LUA_CORE) || defined(LUA_LIB) 552 LUA_NUMBER luai_ipow(LUA_NUMBER, LUA_NUMBER); 553 #endif 551 554 552 555 /* … … 767 770 #endif 768 771 772 -
branches/juciphox/lib/lua/lobject.c
r416 r487 92 92 *result = lua_str2number(s, &endptr); 93 93 if (endptr == s) return 0; /* conversion failed */ 94 #if 095 94 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)); 98 97 if (*endptr == '\0') return 1; /* most common case */ 99 98 while (isspace(cast(unsigned char, *endptr))) endptr++; -
branches/juciphox/version.inc
r486 r487 1 BUILD_NUMBER := 0.3. 61 BUILD_NUMBER := 0.3.7
Note: See TracChangeset
for help on using the changeset viewer.