Author Topic: Remaining RAW+JPG shots + filespace icon/text- done :D  (Read 17880 times)

Offline PhyrePhoX

  • Global Moderator
  • Guru Member
  • *****
  • Posts: 2254
  • make RAW not WAR
    • PhyreWorX
Re: Calculation of remaining shots with RAW - done :D
« Reply #150 on: 18 / February / 2008, 17:17:10 »
  • Publish
  • is it a coincidence or did you spy in my brain? :D my space-bar almost looks the same as yours :D
    the SD card icon looks really great!
    i guess we can include that :)
    so that would boil down to three alternatives:
    your SD card icon
    my space bar vertical / horizontal (in different sizes: fullscreen width/height, half screen width/height and quarter screen width/height).
    this should be a toggle in the OSD menu.
    nice!
    so you only code at work?

    Offline Jucifer

    • Global Moderator
    • Sr. Member
    • *****
    • Posts: 251
    • [A710IS]
    Re: Remaining RAW+JPG shots + filespace icon/text- done :D
    « Reply #151 on: 19 / February / 2008, 17:41:41 »
  • Publish
  • Should contain all the changes up to reply #147 and be OK.

    I think.

    Don't want to make many more patches against trunk for this project. :/
    (At least in the next few days. :P)

    Would someone be kind enough to commit this to trunk, pretty please? Or tell me, why this shouldn't be committed..? :I


    Quote
    - Changed RAW indicator to PhyrePhox's remaining RAWs -calc (chdk.setepontos.com/index.php/topic,468.0.html) (plus new menu entry to toggle it - enabled by default when RAW is enabled as well).
    - Raised used-definable parameters in script menu to 26.
    - Motion detection's immediate shoot is now more "shoot_full" than "shoot". (Sorry, can't remember whose version, but from chdk.setepontos.com.)
    - Changed keys for setting focus (in manual focus) to infinity/hyperfocal to up/down for all cameras.
    - There are lines for changing the tv override selection to 1/3EV-selectable (commented with "for 1/3EV-mod")
    - New "Filespace Icon" and Filespace Text (Percent & Megabyte) with new menu entries in OSD menu (icon and MB text enabled by default)
    - new conf.osd_color_warn (used in RAW icon, filespace & battery icon) can be set in visual settings menu (red & transparent by default)
    - disabled battery & filespace & raw icons to be shown in shutter half_press mode
    - updated english lang file
    - updated all platform's lib.c file with function char camera_jpeg_count_str()
    new files: core/gui_space.c & gui_space.h

    Offline PhyrePhoX

    • Global Moderator
    • Guru Member
    • *****
    • Posts: 2254
    • make RAW not WAR
      • PhyreWorX
    Re: Remaining RAW+JPG shots + filespace icon/text- done :D
    « Reply #152 on: 19 / February / 2008, 18:40:18 »
  • Publish
  • i will incorporate a switch that lets you select your 1/3 tv override stuff somehow. if this is done, there really is no reason as to why this shouldnt be committed :)

    Offline whim

    • Guru Member
    • ******
    • Posts: 1977
    • A620/A630/A590-101b/i70-101b/i870-101a/i300
    Re: Remaining RAW+JPG shots + filespace icon/text- done :D
    « Reply #153 on: 19 / February / 2008, 22:32:33 »
  • Publish
  • @Jucifer
    Quote
    Don't want to make many more patches against trunk for this project. :/
    (At least in the next few days. :P)

    Would someone be kind enough to commit this to trunk, pretty please? Or tell me, why this shouldn't be committed..? :I
    @PhyrePhox

    Oh-Oh ! Another trunk version was just released, and guess what:

    ANOTHER entry in  gui_lang.c  --> more shifting to do !

    BTW Jucifer your diff applied on 303 gives me errors & refuses to compile:

    Code: [Select]
    ../lib/ubasic/libubasic.a(ubasic.o): In function `shutdown_statement':
    ubasic.c:(.text+0x113c): undefined reference to `camera_shutdown_in_a_second'
    collect2: ld returned 1 exit status
    E:\CHDK\gcc\bin\gmake[2]: *** [main.elf] Error 1
    gmake[1]: *** [all-recursive] Error 1
    gmake: *** [batch-zip] Error 2

     :(
    « Last Edit: 19 / February / 2008, 22:39:02 by whim »

    Offline PhyrePhoX

    • Global Moderator
    • Guru Member
    • *****
    • Posts: 2254
    • make RAW not WAR
      • PhyreWorX
    Re: Remaining RAW+JPG shots + filespace icon/text- done :D
    « Reply #154 on: 19 / February / 2008, 23:34:48 »
  • Publish
  • damn it. they are so fast :D
    okay. in 304 they seem to have included some of jucifers stuff already. hm, i'm gonna diff now only the gui raw & space stuff.

    Offline Jucifer

    • Global Moderator
    • Sr. Member
    • *****
    • Posts: 251
    • [A710IS]
    Re: Remaining RAW+JPG shots + filespace icon/text- done :D
    « Reply #155 on: 20 / February / 2008, 00:07:04 »
  • Publish
  • whim, really don't know about your problem. :/
    It compiles for me...
    Someone more experienced might be able to tell.
    Or if you figure it out, please do share you knowledge. :]

    PhyrePhox, the 1/3EV tv override -stuff is actually basically fingalo's, I just adapted it. ;)

    I wonder what 305 brings... and how soon. :P

    Offline whim

    • Guru Member
    • ******
    • Posts: 1977
    • A620/A630/A590-101b/i70-101b/i870-101a/i300
    Re: Remaining RAW+JPG shots + filespace icon/text- done :D
    « Reply #156 on: 20 / February / 2008, 00:41:48 »
  • Publish
  • @Jucifer
    Thanks for answering, I've just started all over (have to do it manually)
    so just wanted to be sure  :D

    wim

    Offline Jucifer

    • Global Moderator
    • Sr. Member
    • *****
    • Posts: 251
    • [A710IS]
    Re: Remaining RAW+JPG shots + filespace icon/text- done :D
    « Reply #157 on: 20 / February / 2008, 01:29:12 »
  • Publish
  • ..and while waiting for 305, here's a patch for 304. ;)

    It's getting late. Not sure, if I got it all right (edit: but I think I did (edit2: though I didn't know I only thought)). Did compile, though.

    Off to bed.


    Quote
    - Changed RAW indicator to PhyrePhox's remaining RAWs -calc (chdk.setepontos.com/index.php/topic,468.0.html) (plus new menu entry to toggle it - enabled by default when RAW is enabled as well. Either the original or the counter RAW indicator is shown at a time.)
    - There are lines for changing the tv override selection to 1/3EV-selectable (commented with "for 1/3EV-mod")
    - New "Filespace Icon" and Filespace Text (Percent & Megabyte) with new menu entries in OSD menu (icon and MB text enabled by default)
    - new conf.osd_color_warn (used in RAW icon, filespace & battery icon) can be set in visual settings menu (red & transparent by default)
    - disabled battery & filespace & raw icons to be shown in shutter half_press mode
    - updated english lang file
    - updated all platform's lib.c file with function char camera_jpeg_count_str()
    new files: core/gui_space.c & gui_space.h

    edit2: Didn't get it right the first time. :P

    edit3: Changed little something while fixing... now only one RAW indicator (not both, not none) should be visible, when appropriate.
    « Last Edit: 20 / February / 2008, 01:59:41 by Jucifer »

    Offline PhyrePhoX

    • Global Moderator
    • Guru Member
    • *****
    • Posts: 2254
    • make RAW not WAR
      • PhyreWorX
    Re: Remaining RAW+JPG shots + filespace icon/text- done :D
    « Reply #158 on: 20 / February / 2008, 02:41:38 »
  • Publish
  • Quote
    now only one RAW indicator (not both, not none) should be visible, when appropriate.
    huh?

    edit: will send devs a PM about hopefully committing the diff.
    by the way how do you apply the diffs@jucifer?

    edit: deleted compiled binaries from thread
    « Last Edit: 20 / February / 2008, 04:20:03 by PhyrePhoX »

    CHDK Forum

    Re: Remaining RAW+JPG shots + filespace icon/text- done :D
    « Reply #158 on: 20 / February / 2008, 02:41:38 »

    Offline whim

    • Guru Member
    • ******
    • Posts: 1977
    • A620/A630/A590-101b/i70-101b/i870-101a/i300
    Re: Remaining RAW+JPG shots + filespace icon/text- done :D
    « Reply #159 on: 20 / February / 2008, 05:48:00 »
  • Publish
  • @PhyrePhox

    Quote
    by the way how do you apply the diffs@jucifer?


    Simple, you just open up your editor, start <Ctrl> C / <Ctrl> V 'ing and praying  :haha

    Again, great work guys ! In the mean time another #305 has appeared, gonna XREF that, than zzzzzzzzz

    wim

    edit: Oh, and while I was at it - the mods for 305 were small & not incompatible with Juci's EvTv-diff (which I had already
    applied to 304) so I went ahead  - compiles & runs fine AFAIK.  Here's the source

    trunk305jucievtvdiff.zip - 0.73MB

    and  a bin for Barney is attached (S3_IS)  (removed, appears not to work)


    « Last Edit: 20 / February / 2008, 13:47:06 by whim »

    Offline Barney Fife

    • Hero Member
    • *****
    • Posts: 1157
      • Gay Outdoorsmen
    Re: Remaining RAW+JPG shots + filespace icon/text- done :D
    « Reply #160 on: 20 / February / 2008, 09:56:14 »
  • Publish
  • Deleted
    « Last Edit: 22 / April / 2008, 20:11:18 by Barney Fife »
    [acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

    Offline Jucifer

    • Global Moderator
    • Sr. Member
    • *****
    • Posts: 251
    • [A710IS]
    Re: Remaining RAW+JPG shots + filespace icon/text- done :D
    « Reply #161 on: 20 / February / 2008, 11:42:51 »
  • Publish
  • PhyrePhox, whim, applying patches can be even easier: with (Win&)TortoiseSVN installed, just drag with mouse and select "Apply patch..."  ;)

    Barney, shouldn't firmware update menu be shown even if there's just a bogus .FIR?  ???

    Offline GrAnd

    • Developers
    • Hero Member
    • ****
    • Posts: 916
    • [A610, S3IS]
      • CHDK
    Re: Remaining RAW+JPG shots + filespace icon/text- done :D
    « Reply #162 on: 20 / February / 2008, 12:11:56 »
  • Publish
  • Hmm... now that's just the oddest thing. I've never seen this happen before with any build of CHDK, not even highly experimental builds.
    ...

    Known problem. :) It already happened before.
    The problem is: the size of CHDK code exceeds the limit reserved for it. Now the limit is 192K (0x30000) . When you compile the sources you can see the following:
    Code: [Select]
    -> main.elf
       text    data     bss     dec     hex filename
     133536    7048   56712  197296   302b0 main.elf

    The last number says that the size is more than 0x30000 bytes.
    CHDK Developer.

    Offline GrAnd

    • Developers
    • Hero Member
    • ****
    • Posts: 916
    • [A610, S3IS]
      • CHDK
    Re: Remaining RAW+JPG shots + filespace icon/text- done :D
    « Reply #163 on: 20 / February / 2008, 12:15:27 »
  • Publish
  • To solving this you can try incrementing 'MEMISOSTART' and 'MEMISOSIZE' values in files "platform/sub/###/makefile.inc" by another "0x10000" to increase the limit to 0x40000 (256KB).
    CHDK Developer.

    Offline PhyrePhoX

    • Global Moderator
    • Guru Member
    • *****
    • Posts: 2254
    • make RAW not WAR
      • PhyreWorX
    Re: Remaining RAW+JPG shots + filespace icon/text- done :D
    « Reply #164 on: 20 / February / 2008, 14:10:01 »
  • Publish
  • Thanks. I thought maybe the reason was the old chdk cfg file,as we changed the menu and such.
    will changing this value have any sideeffects? what are the limits? how big can chdk be? i guess this is depending on camera model. strange that my a620 can use this as it is and the s3is cant.


    Quote
    PhyrePhox, whim, applying patches can be even easier: with (Win&)TortoiseSVN installed, just drag with mouse and select "Apply patch..."
    well i'm on linux and when i try to apply your diff using the patch command, i get a lot of errors, even after unix2dos'ing the file.on the other hand, i'm not that experienced. maybe grand can shed a light on this :)
    « Last Edit: 20 / February / 2008, 14:46:58 by PhyrePhoX »

     


    SimplePortal 2.3.3 © 2008-2010, SimplePortal