Changeset 472
- Timestamp:
- 08/07/08 19:07:24 (2 years ago)
- Files:
-
- branches/juciphox/core/luascript.c (modified) (2 diffs)
- branches/juciphox/doc/version.txt (modified) (20 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/juciphox/core/luascript.c
r471 r472 406 406 static int luaCB_md_detect_motion( lua_State* L ) 407 407 { 408 int columns = (luaL_ checknumber(L,1));409 int rows = (luaL_ checknumber(L,2));410 int pixel_measure_mode = (luaL_ checknumber(L,3));411 int detection_timeout = (luaL_ checknumber(L,4));412 int measure_interval = (luaL_ checknumber(L,5));413 int threshold = (luaL_ checknumber(L,6));408 int columns = (luaL_optnumber(L,1,6)); 409 int rows = (luaL_optnumber(L,2,4)); 410 int pixel_measure_mode = (luaL_optnumber(L,3,1)); 411 int detection_timeout = (luaL_optnumber(L,4,10000)); 412 int measure_interval = (luaL_optnumber(L,5,7)); 413 int threshold = (luaL_optnumber(L,6,10)); 414 414 int draw_grid = (luaL_optnumber(L,7,1)); 415 415 // arg 8 is the return value in ubasic. We … … 420 420 int clipping_region_column2 = (luaL_optnumber(L,12,0)); 421 421 int clipping_region_row2 = (luaL_optnumber(L,13,0)); 422 int parameters = (luaL_optnumber(L,14, 0));423 int pixels_step = (luaL_optnumber(L,15, 4));422 int parameters = (luaL_optnumber(L,14,1)); 423 int pixels_step = (luaL_optnumber(L,15,6)); 424 424 int msecs_before_trigger = (luaL_optnumber(L,16,0)); 425 425 ubasic_set_variable(0, 0); branches/juciphox/doc/version.txt
r471 r472 1 1 first version of a history file. will be automated and cleaned hopefully soon. 2 3 revision / version 4 author 5 6 log 7 8 9 10 11 12 472 13 Jucifer 14 15 - Lua/md_detect_motion(): optionalized the rest of parameters (some default values are the same as in fudgey's MD scripts) 16 17 2 18 3 19 471 / 0.2.5 … … 27 43 + added Fahrenheit conversion of the temperature. Kicks in when you enable the 12h clock format, there is NO extra menu item 28 44 29 Revision: 468, version 0.2.3 30 Author: Jucifer 31 Message: 45 46 47 468 / 0.2.3 48 Jucifer 32 49 33 50 - added reyalp's scripting commands "peek" (read the contents of a memory address) and bitwise operations (bitand, bitor, bitxor, bitshl, bitshri, bitshru, bitnot) to Lua … … 35 52 36 53 37 Revision: 467, version 0.2.2 38 Author: Jucifer 39 Message: 54 55 467 / 0.2.2 56 Jucifer 40 57 41 58 - adding missing scripting commands to Lua … … 43 60 44 61 45 Revision: 466 46 Author: Jucifer 47 Message: 62 466 63 Jucifer 48 64 49 65 - moved syscurves.CVF to where it's loaded from … … 51 67 52 68 53 Revision: 464, version 0.2.1 54 Author: PhyrePhoX 55 Message: 56 69 464 / 0.2.1 70 PhyrePhoX 57 71 58 72 + added syscurves.cfv … … 69 83 as always, code is ugly but should work. 70 84 71 Revision: 463, version 0.2.0 72 Author: Jucifer 73 Message: 85 86 87 463 / 0.2.0 88 Jucifer 74 89 75 90 - changed version numbering … … 81 96 82 97 83 Revision: 461, version 0.10 84 Author: PhyrePhoX 85 Message: 98 461 / 0.10 99 PhyrePhoX 86 100 87 101 + new OSD Element - Temperature … … 122 136 ps: i hope i didnt forget anything or anyone. 123 137 124 Revision: 459 125 Author: Jucifer 138 139 140 459 141 Jucifer 126 142 Date: 21:03:58, Freitag, 25. Juli 2008 127 Message: 143 128 144 + added beta ixus60_sd600 support (Novex, danielmewes, http://chdk.setepontos.com/index.php/topic,1215.msg11116.html#msg11116) 129 145 - modified ixus950's lib.c (whoever, http://chdk.setepontos.com/index.php/topic,405.msg18448.html#msg18448) 130 146 131 147 132 Revision:457133 Author:phyrephox148 457 149 phyrephox 134 150 Date: 16:47:49, Freitag, 25. Juli 2008 135 Message: 151 136 152 * renamed CHDK.CFG to CCHDK.CFG ("collaborative CHDK") to end conflicts when you switch from branch to trunk or vice versa. 137 153 * fixed bug in "fast switch" for movie recording, now you can decrease bitrate smoothly … … 146 162 147 163 148 Revision: 453 149 Author: phyrephox 164 165 453 166 phyrephox 150 167 Date: 02:10:40, Mittwoch, 23. Juli 2008 151 Message: 168 152 169 * added video_overrides, SDHC & touchwheel "patch" from mil22 from here: http://chdk.setepontos.com/index.php/topic,1962.msg18265.html#msg18265 153 170 -> needs a bit ironing out (supposedly bitrate setting is fubared) … … 165 182 166 183 167 Revision:452168 Author:Jucifer184 452 185 Jucifer 169 186 Date: 11:58:25, Sonntag, 20. Juli 2008 170 Message: 187 171 188 - modified a540's lib.c (yvesson) 172 ---- 173 174 Revision: 451 175 Author: phyrephox 189 190 191 192 451 193 phyrephox 176 194 Date: 19:49:34, Samstag, 19. Juli 2008 177 Message: 195 178 196 + added beta ixus750_sd550 support ( from http://chdk.setepontos.com/index.php/topic,1888.0.html with modifications by Hacki and a small modification regarding movie_status) 179 197 * changed some default conf.c values (clock is now showing as default, zooming during video is now enabled by default, symbols & synch disabled by default) 180 198 * fixed a bug in raw_exceptions (didnt work in digic III cams with the timer mode) 181 199 182 Revision: 450 183 Author: Jucifer 200 201 202 450 203 Jucifer 184 204 Date: 12:23:11, Samstag, 19. Juli 2008 185 Message: 205 186 206 - modified ixus860's lib.c (chris07, http://chdk.setepontos.com/index.php/topic,405.msg17875.html#msg17875) 187 207 188 Revision: 449 189 Author: Jucifer 208 209 210 449 211 Jucifer 190 212 Date: 17:10:58, Donnerstag, 17. Juli 2008 191 Message: 213 192 214 - modified OSD to include the new curve options 193 215 194 216 195 Revision: 448 196 Author: Jucifer 217 218 448 219 Jucifer 197 220 Date: 20:29:39, Mittwoch, 16. Juli 2008 198 Message: 221 199 222 - modified remote-related menus 200 223 201 224 - gui_menu.c: if first menu item is selected when submenu is opened and the item is text or separator, select next item 202 225 203 Revision: 447 204 Author: Jucifer 226 227 228 447 229 Jucifer 205 230 Date: 10:44:42, Montag, 14. Juli 2008 206 Message: 231 207 232 - updated toinech's custom JPEG processing (http://chdk.setepontos.com/index.php/topic,932.msg17419.html#msg17419) 208 233 209 Revision: 446 210 Author: phyrephox 234 235 236 446 237 phyrephox 211 238 Date: 02:40:15, Montag, 14. Juli 2008 212 Message: 239 213 240 fixed small error 214 241 215 Revision: 445 216 Author: phyrephox 242 243 244 445 245 phyrephox 217 246 Date: 01:55:37, Montag, 14. Juli 2008 218 Message: 247 219 248 Includes revisions 441-444 from ewavr to trunk 220 249 … … 222 251 * fixed remaining_video time in gui_osd.c 223 252 224 Revision: 440 225 Author: Jucifer 253 254 255 440 256 Jucifer 226 257 Date: 23:31:25, Donnerstag, 10. Juli 2008 227 Message: 258 228 259 + guessed some usb remote related stuff for sx100 (now compiles) 229 260 230 Revision: 439 231 Author: Jucifer 261 262 263 439 264 Jucifer 232 265 Date: 22:30:29, Sonntag, 6. Juli 2008 233 Message: 266 234 267 - copied a fix from trunk 235 268 236 Revision: 438 237 Author: Jucifer 269 270 271 438 272 Jucifer 238 273 Date: 22:24:30, Sonntag, 6. Juli 2008 239 Message: 274 240 275 - applied fudgey's disable script parameter list sorting (http://chdk.setepontos.com/index.php/topic,1865.msg16886.html#msg16886) 241 276 242 Revision: 437 243 Author: phyrephox 277 278 279 437 280 phyrephox 244 281 Date: 16:13:53, Donnerstag, 10. Juli 2008 245 Message:246 282 247 283 + RAW Exceptions: Disable RAW in Sportsmode, Burstmode (continious), EV Bracketing, Timer … … 261 297 262 298 263 Revision: 435 264 Author: Jucifer 299 300 435 301 Jucifer 265 302 Date: 13:06:12, Sonntag, 6. Juli 2008 266 Message: 303 267 304 - updated Bg~'s memory viewer patch (http://chdk.setepontos.com/index.php/topic,1829.msg16814.html#msg16814) 268 305 - updated stuff from trunk 269 306 270 Revision: 434 271 Author: Jucifer 307 308 309 434 310 Jucifer 272 311 Date: 14:59:17, Mittwoch, 9. Juli 2008 273 Message: 312 274 313 re-committing old revisions 434-439 275 314 … … 284 323 285 324 286 Revision: 432 287 Author: Jucifer 325 326 432 327 Jucifer 288 328 Date: 19:37:55, Samstag, 5. Juli 2008 289 Message: 329 290 330 - updated curves.c (toinech, http://chdk.setepontos.com/index.php/topic,932.msg16700.html#msg16700) 291 331 - patched gui_debug.c to continuously update memory viewer (Bg~, http://chdk.setepontos.com/index.php/topic,1829.msg16614.html#msg16614) … … 293 333 - fixed platform/a720/sub/100c/lib.c (vid_get_viewport_live_fb()) (http://chdk.setepontos.com/index.php/topic,405.msg16620.html#msg16620) 294 334 295 Revision: 431 296 Author: Jucifer 335 336 337 431 338 Jucifer 297 339 Date: 14:03:01, Donnerstag, 3. Juli 2008 298 Message: 340 299 341 - quick fix for interrupting Lua scripts without hanging the cam 300 342 … … 302 344 303 345 304 Revision:430305 Author:Jucifer346 430 347 Jucifer 306 348 Date: 11:45:55, Dienstag, 1. Juli 2008 307 Message: 349 308 350 (I really should always double check everything...) 309 351 310 352 311 Revision: 429 312 Author: Jucifer 353 354 429 355 Jucifer 313 356 Date: 11:39:28, Dienstag, 1. Juli 2008 314 Message: 357 315 358 - changed s5is motion detection speedup implementation (hopefully it'll work on both, 101a and 101b) 316 359 317 360 318 Revision: 428 319 Author: Jucifer 361 362 428 363 Jucifer 320 364 Date: 16:24:57, Montag, 30. Juni 2008 321 Message: 365 322 366 + added cyril42e's script parameter sets (r5) 323 367 324 368 325 Revision: 427 326 Author: Jucifer 369 370 427 371 Jucifer 327 372 Date: 18:27:10, Sonntag, 29. Juni 2008 328 Message: 373 329 374 - Updated stuff from the two last trunk commits. 330 375 … … 333 378 334 379 335 Revision: 424 336 Author: Jucifer 380 381 424 382 Jucifer 337 383 Date: 09:30:51, Mittwoch, 18. Juni 2008 338 Message: 384 339 385 + added cyril42e's "display zebra only when necessary" and "don't show script params if no param" tweaks, http://chdk.setepontos.com/index.php/topic,1687.msg15345.html#msg15345 340 386 341 Revision:423342 Author:Jucifer387 423 388 Jucifer 343 389 Date: 21:59:29, Dienstag, 17. Juni 2008 344 Message: 390 345 391 - have to kbd_release_all() after all, when running an autostart script (some buttons are pressed on startup?) 346 392 347 393 348 Revision: 421 349 Author: Jucifer 394 395 421 396 Jucifer 350 397 Date: 21:44:04, Sonntag, 15. Juni 2008 351 Message: 398 352 399 + added the missing get_raw_nr line to trunk/lib/ubasic/tokenizer.c 353 400 … … 355 402 356 403 357 Revision: 420 358 Author: Jucifer 404 405 420 406 Jucifer 359 407 Date: 19:06:36, Sonntag, 15. Juni 2008 360 Message: 408 361 409 still fixing kbd_process() 362 410 363 411 364 Revision: 419 365 Author: Jucifer 412 413 419 414 Jucifer 366 415 Date: 15:15:19, Sonntag, 15. Juni 2008 367 Message: 416 368 417 - some Lua fixes 369 418 370 419 371 Revision: 418 372 Author: Jucifer 420 421 418 422 Jucifer 373 423 Date: 12:19:59, Sonntag, 15. Juni 2008 374 Message: 424 375 425 kbd_process() should now have the remote code in right place 376 426 377 427 378 Revision: 417 379 Author: Jucifer 428 429 417 430 Jucifer 380 431 Date: 23:44:25, Samstag, 14. Juni 2008 381 Message: 432 382 433 + added cyril42e's script restoring (script jumps to label "restore" on interrupt) and alt-button fix, http://chdk.setepontos.com/index.php/topic,1687.msg15345.html#msg15345 383 434 … … 387 438 388 439 389 Revision: 416 390 Author: Jucifer 440 441 416 442 Jucifer 391 443 Date: 21:24:03, Donnerstag, 12. Juni 2008 392 Message: 444 393 445 (pretty much from http://chdk.setepontos.com/index.php/topic,688.0.html:) 394 446 … … 450 502 451 503 452 Revision: 412 453 Author: phyrephox 504 505 412 506 phyrephox 454 507 Date: 23:52:06, Samstag, 7. Juni 2008 455 Message: 508 456 509 Branch time. 457 510 This branch will be the playground of Jucifer and me (PhyrePhoX) - although others can join in on the fun :) … … 462 515 Lot of these new features can and will be merged with the official trunk. 463 516 517