Poll

Day Light saving time option, watcha think about it?

Whats DST? (dont need it)
1 (4.8%)
gimme gimme gimme (need it)
5 (23.8%)
Just a hint twice a year is sufficient
4 (19%)
might be useful
10 (47.6%)
can it cure STDs?
1 (4.8%)

Total Members Voted: 20

Author Topic: a few enhancements, bugfixes - done  (Read 12776 times)

Offline PhyrePhoX

  • Global Moderator
  • Guru Member
  • *****
  • Posts: 2254
  • make RAW not WAR
    • PhyreWorX
a few enhancements, bugfixes - done
« on: 04 / March / 2008, 03:21:08 »
  • Publish
  • latest edit: some of things suggested in this thread got coded in this thread: remaining video time,overrides-cusomizations,no-raw@video,just _random_ stuff :D

    edit: jump directly to : a few enhancements, bugfixes

    Hi,

    in this build i did the following:

    - added wontollas diskspace icon (see Remaining RAW+JPG shots + filespace icon/text- done :D)
    - added possibility to choose between horizontal or vertical spacebar
    - added possibility to choose between three sizes of spacebar (1/4, 1/2 or full screen width/height)
    - added possibility to choose between OSD clock with & without seconds (might come in handy if you want to make a shot at an EXACT moment)
    - followed vit40's suggestion: in record mode, when you half-press shootbutton, now most icons (battery,filespace,raw status...) disappear - to maximize preview area
    [- s3is (and other cameras which have seperate videobutton): in video mode, save_raw is disabled, this way you can shoot video and take pictures without interrupting video - this is untested, as i dont own an s3is. should work though.] - feature not working, implementation on hold!
    - updated german.lng file



    build for s3is ownsers (barney? :D) attached

    built against #313.
    no errors during compilation.
    as always: ugly code. please comment & make suggestions, report bugs and whatnot.
    as you can see in my build #, it took me some time to figure everything out ;)

    edit: added zshare download link for archive of compiled binaries. man, everytime i upload something to zshare i feel like an old man on modem :D sorry for the generic threadtitle and archive filename, it's already late in germany and i couldnt think of any other.
    edit #2: yes, if betatests are successful, i hope this is gonna be added to official trunk.
    « Last Edit: 07 / April / 2008, 03:58:45 by PhyrePhoX »

    Offline Barney Fife

    • Hero Member
    • *****
    • Posts: 1157
      • Gay Outdoorsmen
    Re: a few enhancements, bugfixes
    « Reply #1 on: 04 / March / 2008, 03:31:49 »
  • Publish
  • Deleted
    « Last Edit: 22 / April / 2008, 22:32:00 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 Kalli

    • Jr. Member
    • **
    • Posts: 51
    • A620, SX10 IS
    Re: a few enhancements, bugfixes
    « Reply #2 on: 04 / March / 2008, 05:10:29 »
  • Publish
  • - updated german.lng file

    Hi PhyrePhoX

    I can't find the file not in the archive nor wiki...

    mfg Kalli

    Offline brabl2

    • Rookie
    • *
    • Posts: 31
    • A710IS
    Re: a few enhancements, bugfixes
    « Reply #3 on: 04 / March / 2008, 12:07:40 »
  • Publish
  • Hi, this is nice feature.
    - followed vit40's suggestion: in record mode, when you half-press shootbutton, now most icons (battery,filespace,raw status...) disappear - to maximize preview area
    I would propose to keep battery info on the screen in case it is in red state.
    Just imagine that your batteries are VERY low and you need to take at least 1 or 2 photos.
    In this case battery info seems useful (for me) even if shootbutton is half-pressed.

    Pavel

    Offline Barney Fife

    • Hero Member
    • *****
    • Posts: 1157
      • Gay Outdoorsmen
    Re: a few enhancements, bugfixes
    « Reply #4 on: 04 / March / 2008, 16:48:06 »
  • Publish
  • Deleted
    « Last Edit: 22 / April / 2008, 22:32:20 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 PhyrePhoX

    • Global Moderator
    • Guru Member
    • *****
    • Posts: 2254
    • make RAW not WAR
      • PhyreWorX
    Re: a few enhancements, bugfixes
    « Reply #5 on: 04 / March / 2008, 17:32:00 »
  • Publish
  • hm, i thought i solved the problem. alright, i still think this can be done. will look into it later.
    the sd card icon is not filled? that i really dont understand.

    Quote
    I would propose to keep battery info on the screen in case it is in red state.
    Just imagine that your batteries are VERY low and you need to take at least 1 or 2 photos.
    In this case battery info seems useful (for me) even if shootbutton is half-pressed.
    good idea, same applies to the raw counter :)

    @kalli: yes you are right, the german file is missing. will attach it later.

    thanks for your responses so far.

    Offline wontolla

    • Sr. Member
    • ****
    • Posts: 413
    • S3 & G9 & A720
    Re: a few enhancements, bugfixes
    « Reply #6 on: 04 / March / 2008, 17:33:04 »
  • Publish
  • Great stuff Phox!.
    Even the most expensive DSLR camera doesn't give you all these options. I have a DSLR user friend who just can't believe it when I talk about CHDK.

    Quote
    The SD Card icon is cool, but ... mine doesn't do anything.
    Darn! It worked in my S3 and Phox's code looks fine. I'll try to find the problem tonight.

    Quote
    and someone lost a whole event when they inadvertently left RAW turned on too and shot a frame at the beginning of the video.
    Yes, Her Majesty the Queen was very disappointed when she learned about my failure to record her reception parade. But I'll let her know PhyrePhox is working day and night so it will never happen again.

    BTW Phox, your name and avatar remind me a Super Nintendo game which made a breakthrough in 3D graphics a long time ago. StarFox. Is it inspired on that game or I'm getting old and tend to remember the good old days more often?

    Offline PhyrePhoX

    • Global Moderator
    • Guru Member
    • *****
    • Posts: 2254
    • make RAW not WAR
      • PhyreWorX
    Re: a few enhancements, bugfixes
    « Reply #7 on: 04 / March / 2008, 18:02:38 »
  • Publish
  • Quote
    Yes, Her Majesty the Queen was very disappointed when she learned about my failure to record her reception parade. But I'll let her know PhyrePhox is working day and night so it will never happen again.

    BTW Phox, your name and avatar remind me a Super Nintendo game which made a breakthrough in 3D graphics a long time ago. StarFox. Is it inspired on that game or I'm getting old and tend to remember the good old days more often?

    working day and night... actually thats true, but during the day i work for my company ;)

    wow, you are the first one to see the resemblance, most people think i'm just a fanboy of the browser firefox and just write it in a fancy way :D actually i had this name way before the browser. it's inspired by a character in a book by neal stephenson, though my writing of it is unique (the placing of the capital letters). the icon/avatar is indeed from the game starfox, i like it because it is small and simple, i have it everywhere :D

    Offline Barney Fife

    • Hero Member
    • *****
    • Posts: 1157
      • Gay Outdoorsmen
    Re: a few enhancements, bugfixes
    « Reply #8 on: 04 / March / 2008, 18:26:50 »
  • Publish
  • Deleted
    « Last Edit: 22 / April / 2008, 22:32:43 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

    CHDK Forum

    Re: a few enhancements, bugfixes
    « Reply #8 on: 04 / March / 2008, 18:26:50 »

    Offline PhyrePhoX

    • Global Moderator
    • Guru Member
    • *****
    • Posts: 2254
    • make RAW not WAR
      • PhyreWorX
    Re: a few enhancements, bugfixes
    « Reply #9 on: 04 / March / 2008, 18:34:43 »
  • Publish
  • well, i guess the problem will be solved in no time, as wontolla also owns the s3is. maybe he will also find out more regarding the video+raw issue.

    Offline PhyrePhoX

    • Global Moderator
    • Guru Member
    • *****
    • Posts: 2254
    • make RAW not WAR
      • PhyreWorX
    Re: a few enhancements, bugfixes
    « Reply #10 on: 04 / March / 2008, 23:26:54 »
  • Publish
  • hah, found out why barney is only seeing the empty frame of the sd card icon. actually, this means his sd card itself is empty. meaning: the fuller the sd card, the fuller the icon. i had my card always roughly at 50% filled so i didnt notice that wontolla implemented it this way.
    the question now is: did he do this on purpose?
    I'd rather have it the other way around - start with a full sd card icon (if card is empty regarding filespace) and have it vanish by turning transparent over time.
    maybe wontolla can look into his function again to fix that, as i always get heavily confused and lost in the draw functions (i hate drawing by coords :D)

    regarding the raw/video problem:

    i implemented a small check in the raw function:
    Code: [Select]
    if ((conf.save_raw) & ((m&MODE_SHOOTING_MASK)!=MODE_VIDEO_STD))this works on my a620, and by working  i mean i can still shoot raw. i cant test shooting raw in video mode, as my cam doesnt support it. if i change the condition to
    Code: [Select]
    if ((conf.save_raw) & ((m&MODE_SHOOTING_MASK)==MODE_VIDEO_STD))  i can't shoot raw anymore. conclusion: on s3is MODE_SHOOTING_MASK doesnt return MODE_VIDEO_STD (for example) but
    Code: [Select]
      (o&MODE_SHOOTING_MASK) == MODE_VIDEO_SPEED || 
      (o&MODE_SHOOTING_MASK) == MODE_VIDEO_COMPACT ||
              (o&MODE_SHOOTING_MASK) == MODE_VIDEO_MY_COLORS ||
              (o&MODE_SHOOTING_MASK) == MODE_VIDEO_COLOR_ACCENT ||
                      (o&MODE_SHOOTING_MASK) == MODE_VIDEO_TIME_LAPSE  )   )   
    on my a620 the mode always is video_std, regardless of the actual mode. is there an extra mode dial on s3is? i guess then the different modes actually come into effect. maybe an s3is owner/coder can confirm this.
    « Last Edit: 04 / March / 2008, 23:39:31 by PhyrePhoX »

    Offline Barney Fife

    • Hero Member
    • *****
    • Posts: 1157
      • Gay Outdoorsmen
    Re: a few enhancements, bugfixes
    « Reply #11 on: 04 / March / 2008, 23:39:11 »
  • Publish
  • Deleted
    « Last Edit: 22 / April / 2008, 22:33:05 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 PhyrePhoX

    • Global Moderator
    • Guru Member
    • *****
    • Posts: 2254
    • make RAW not WAR
      • PhyreWorX
    Re: a few enhancements, bugfixes
    « Reply #12 on: 04 / March / 2008, 23:43:10 »
  • Publish
  • well the color can be set in visual menu (file space icon). color effects all icons (space bar & icon). but like i said, i guess it will be changed to being transparent when empty.

    Offline wontolla

    • Sr. Member
    • ****
    • Posts: 413
    • S3 & G9 & A720
    Re: a few enhancements, bugfixes
    « Reply #13 on: 05 / March / 2008, 20:02:18 »
  • Publish
  • Quote
    wontolla implemented it this way. the question now is: did he do this on purpose?
    Jejeje yes I did. I thought: "Well, if the battery icon looks full when full of energy, the memory icon should look full when full of photos". "Battery icon full? Good!. Memory icon full? Bad! time to swap cards!"
    I do remember thinking people could get confused about this but I thought it can be easily changed if needed.
    After two weeks I forgot this issue and yesterday when Barney reported the "malfunction" I didn't remember it was suppoused to behave like this! You know, I never have both my camera and internet connection at the same time to tests things.

    Quote
    maybe wontolla can look into his function again to fix that, as i always get heavily confused and lost in the draw functions
    I will.
    I know my icon code is ugly; I had to do it like that (line by line). At first I was drawing a simple square and then erase the little corner, but this looked bad because the corner kept blinking when the display refreshed.

    Quote
    The icon is pretty large though
    Yep, I made it big because the corner thingy gets lost in a smaller icon. Remember I was just fooling around with the CHDK code for the first time, I never thought the icon would be used by other people.
    IMO Phox's bar is much more useful for people like you and me concerned about "real state". The SD card icon is just fancy. The newbies will like it and as they get more experience they will disable it.
    I can always make it smaller or transparent grey either way, just let me know.

    BTW Barney, I didn't know you made the Golden Spiral, I use it all the time it rocks!

    @PhyrePhox
    I don't mean to be fussy but I noticed the horizontal bar can't be pushed all the way to the right corner of the screen (see figure). Is it possible for you to fix that if you got a chance?

    Offline Barney Fife

    • Hero Member
    • *****
    • Posts: 1157
      • Gay Outdoorsmen
    Re: a few enhancements, bugfixes
    « Reply #14 on: 05 / March / 2008, 21:26:56 »
  • Publish
  • Deleted
    « Last Edit: 22 / April / 2008, 22:33:30 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

     


    SimplePortal 2.3.3 © 2008-2010, SimplePortal