Wow - first submitted patch in almost six months. That must be something of a record.Patch to fix OSD keyboard for Powershot N & Powershot N Facebook when CHDK OSD is rotated 180 deg.(per http://chdk.setepontos.com/index.php?topic=12684.msg126574#msg126574)Also removed a bit of dead code just because. As noted elsewhere, the touchscreen code for the four or five ported cameras needs to be harmonized at some point.
Patch to enable the RAW exception for "Sports" mode on the SX50hs per Disable raw in Sports Mode on SX50?Patch works for both 1.4 and the dev trunks. Tested on 1.00c firmware.
The default.lua script does not work correct when the user uses another display language as german or english. While this is not a show stopper, I would like to modify this script, so all languages are supported. But can someone give me a hint where I can find the language numbers for all other languages?
About auto-recognizing the toolchain: I'm neutral on this. Let reyalp decide.
Index: core/shooting.c===================================================================--- core/shooting.c (revision 4635)+++ core/shooting.c (working copy)@@ -304,6 +304,11 @@ // Some cameras will crash if flash used and ISO set lower than this value (most easily tested in AUTO mode) if ((iso > 0) && (iso < CAM_MIN_ISO_OVERRIDE)) iso = CAM_MIN_ISO_OVERRIDE; #endif+#ifdef CAM_MAX_ISO_OVERRIDE+ // Limit max ISO+ // Some cameras will crash if ISO set higher than this value (dependence on flash is unclear)+ if (iso > CAM_MAX_ISO_OVERRIDE) iso = CAM_MAX_ISO_OVERRIDE;+#endif return shooting_iso_market_to_real(iso); // return real value (after limits applied) } @@ -416,6 +421,10 @@ // Limit min (non-zero) ISO if ((iso > 0) && (iso < ISO_MARKET_TO_REAL(CAM_MIN_ISO_OVERRIDE))) iso = ISO_MARKET_TO_REAL(CAM_MIN_ISO_OVERRIDE); #endif+#ifdef CAM_MAX_ISO_OVERRIDE+ // Limit max ISO+ if (iso > ISO_MARKET_TO_REAL(CAM_MAX_ISO_OVERRIDE)) iso = ISO_MARKET_TO_REAL(CAM_MAX_ISO_OVERRIDE);+#endif shooting_set_sv96(shooting_get_sv96_from_iso(iso), is_now); } }Index: include/camera.h===================================================================--- include/camera.h (revision 4635)+++ include/camera.h (working copy)@@ -207,6 +207,7 @@ #undef CAM_DISABLE_RAW_IN_DIGITAL_IS // For cameras with 'Digital IS' mode that does not work with raw define this #undef CAM_DISABLE_RAW_IN_SPORTS // For cameras that corrupt DNG/JPEG in Sports mode #undef CAM_ISO_LIMIT_IN_HQ_BURST // Defines max 'market' ISO override value for HQ Burst mode (higher values crash camera)+ #undef CAM_MAX_ISO_OVERRIDE // Defines max 'market' (non-zero) ISO override value - higher value may crash #undef CAM_MIN_ISO_OVERRIDE // Defines min 'market' (non-zero) ISO override value - lower value may crash if flash used [0 = AUTO, so always allowed] #undef CAM_HAS_GPS // for cameras with GPS reseiver: includes the GPS coordinates in in DNG fileIndex: platform/sx520hs/platform_camera.h===================================================================--- platform/sx520hs/platform_camera.h (revision 4635)+++ platform/sx520hs/platform_camera.h (working copy)@@ -142,7 +142,10 @@ #define CAM_SD_OVER_IN_AFL 1 #define CAM_SD_OVER_IN_MF 1 + #define CAM_MIN_ISO_OVERRIDE 100 // https://chdk.setepontos.com/index.php?topic=12314.msg128518#msg128518+ #define CAM_MAX_ISO_OVERRIDE 3200 // https://chdk.setepontos.com/index.php?topic=12314.msg128683#msg128683 + #undef DRAW_ON_ACTIVE_BITMAP_BUFFER_ONLY //jeronymo #define DRAW_ON_ACTIVE_BITMAP_BUFFER_ONLY 1 //----------------------------------------------------------Index: platform/sx530hs/platform_camera.h===================================================================--- platform/sx530hs/platform_camera.h (revision 4635)+++ platform/sx530hs/platform_camera.h (working copy)@@ -142,7 +142,10 @@ #define CAM_SD_OVER_IN_AFL 1 #define CAM_SD_OVER_IN_MF 1 + #define CAM_MIN_ISO_OVERRIDE 100 // https://chdk.setepontos.com/index.php?topic=12314.msg128518#msg128518+ #define CAM_MAX_ISO_OVERRIDE 3200 // https://chdk.setepontos.com/index.php?topic=12314.msg128683#msg128683 + #undef DRAW_ON_ACTIVE_BITMAP_BUFFER_ONLY //jeronymo #define DRAW_ON_ACTIVE_BITMAP_BUFFER_ONLY 1 //----------------------------------------------------------
Posting this here before commit, so there's a chance someone will notice if there's something obviously wrong with it.
Looks fine to me.
Started by andre117 General Discussion and Assistance
Started by Bernd R General Discussion and Assistance
Started by quid « 1 2 » General Discussion and Assistance
Started by zell « 1 2 » General Discussion and Assistance
Started by srsa_4c « 1 2 » General Discussion and Assistance