Revision 1712 merges most of the remaining changes from CHDK-DE into the release-1.0 branch of CHDK.
I have made a few changes to support where the code differences aren't easily resolved:
- moved the 'VER=CHDK' line from makefile.inc to version.inc
- added a 'VER_$(VER)' compiler define to allow conditional compilation where the code differs (this will define VER_CHDK for CHDK)
- used VER_CHDK in conf.c and gui.c for the code that is still different (config id values, settings and logo file name)
There are still a few small differences to be resolved:
- core/gui.c line 585, menu item type differs (I think the CHDK version is correct)
- core/gui_batt.c, unnecessary include of camera.h in CHDK-DE
- core/gui_menu.c, extra calls to do_callback() in CHDK-DE, are these necessary?
- core/histogram.c, missing comment in CHDK-DE version
- core/kbd.c, missing IXUS310 touchscreen code in CHDK-DE
- include/conf.h, extra comment in CHDK-DE (against ext_video_time)
- platform/generic/shooting.c, unnecessary comment in CHDK-DE version
- platform/ixus220_elph300hs/kbd.c, includes unused jogdial variable in CHDK-DE
- platform/ixus220_elph300hs/lib.c, includes unused jogdial code in CHDK-DE
- platform/sx130is/notes.txt, warning missing from CHDK-DE version
- buildconf.inc, OPT_LUA_CALL_NATIVE and OPT_DEFAULT_LANG differ, need to make these conditional on VER
- Makefile, missing comments in CHDK-DE version, extra curves files and scripts files in CHKD-DE not yet in CHDK, CHDK-DE missing editor scripts
Phil.