Windows GUI for trunk building - page 10 - General Discussion and Assistance - CHDK Forum supplierdeeply

Windows GUI for trunk building

  • 771 Replies
  • 253684 Views
*

Offline whim

  • ******
  • 2044
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #90 on: 29 / August / 2008, 18:39:26 »
Advertisements
Hi p::d !

thanks, nice wiki page.

about your points:

Quote
Quote from: whim on 22 / August / 2008, 14:53:15
PS @pixeldoc2000: hope this goes some way towards your request...
It not "exacly" the way i would design a GUI, but thats a question of personal taste, i'll respect that

I know we disagree on GUIs, but I meant the logging ...  :D

Quote
; we don't want more than 1 version of the program running ...
If _Singleton("chdk-shell", 1) = 0 Then
   MsgBox(8256, $Title, "Another CHDK-Shell is already running !")
   WinActivate("CHDK GCC Compiler Shell")   ; <--- ADD ME :-)
   Exit 1
EndIf

to tell the truth, I'm seriously considering going back to my old "If WinExists(blah)...."
_Singleton sucks, it won't even let me run my code out of the editor and call the
help without - falsely - triggering the "Another..." alert. Yuk !
What's the advantage of _Singleton supposed to be ?

Quote
Case $but_err_show
   ShellExecute($errlog, "", $sourcedir)

Had just changed this in my work-in-progress version (no kidding !)


wim

« Last Edit: 29 / August / 2008, 19:22:36 by whim »

*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: Windows GUI for trunk building
« Reply #91 on: 30 / August / 2008, 17:07:18 »
Quote
I know we disagree on GUIs, but I meant the logging ...  :D
Thats not exactly what i had in Mind, but it nice too.

Quote
to tell the truth, I'm seriously considering going back to my old "If WinExists(blah)...."
_Singleton sucks, it won't even let me run my code out of the editor and call the
help without - falsely - triggering the "Another..." alert. Yuk !
What's the advantage of _Singleton supposed to be ?
I use it because it's an "advance" methode to detect multiple instands of the program... You can even change Window Title and old Version still detects it as long singleton string isn't changed (personal taste again...)

Lets extend this a little, what do you think about it?
Code: [Select]
; we don't want more than 1 version of the program running ...
If @compiled = 1 And _Singleton("chdk-shell", 1) = 0 Then
   MsgBox(8256, $Title, "Another CHDK-Shell is already running !")
   WinActivate("CHDK GCC Compiler Shell")
   Exit 1
EndIf

Quote
Had just changed this in my work-in-progress version (no kidding !)
Nice one, two minds same idea!
« Last Edit: 30 / August / 2008, 17:08:50 by pixeldoc2000 »

*

Offline fe50

  • ******
  • 3139
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Windows GUI for trunk building
« Reply #92 on: 31 / August / 2008, 09:23:25 »
Hi wim,

there's a little problem with the Extract/Apply CHDK prefs functionality in Juciphox (tested with #494):

The comments will be removed, so out-commented prefs like
  //    CONF_INFO( 34, conf.ns_enable_memdump,      CONF_DEF_VALUE, i:0, NULL),
becomes active again to
        CONF_INFO( 34, conf.ns_enable_memdump,      CONF_DEF_VALUE, i:0, NULL),
what will cause an error on compiling...

*

Offline whim

  • ******
  • 2044
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #93 on: 31 / August / 2008, 10:16:29 »
Thanks for reporting, will look into it

cheers,

wim


*

Offline whim

  • ******
  • 2044
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #94 on: 31 / August / 2008, 15:32:49 »
Ok... fixed.   chdk-shell-v164.zip - 1.04MB

bugfix:          Extract/Apply CHDK Prefs stumbled over comment lines which included CONF_INFO in them.
                     also fixed problems with trailing comments.
Please note: old style C comments  /* ..... */ are still not supported, since they can span over more than 1 line,
                     which is much harder to parse. I'm still undecided if I'm gonna put that on my (imaginary) to do list  :D

cheers,

wim

edit:
For the record - juciphox 495 breaks CHDK-Shell (any version) more or less: since it doesnt count on the
Code: (bash) [Select]
cp $(topdir)bin/$(VER)-ixus70_sd1000-101b-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus70_sd1000-101a-$(BUILD_NUMBER).zip
etc. lines, it will show double entries for several cams, and it will of course not show the 'aliased' firmwares.
Mind you, this is just a warning; nothing that a little tweak here and there won't cure.  :D
Also, it's just a cosmetic bug, functionality is not affected (except missing  'aliased' firmwares).

I happen to have little time monday & tuesday, so it might take a coupla days, sorry about that ...

see ya,

wim
« Last Edit: 31 / August / 2008, 20:24:54 by whim »

*

Offline whim

  • ******
  • 2044
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #95 on: 05 / September / 2008, 07:36:14 »
Maintenance release chdk-shell-v165.zip - 1.06MB

  • Proper cam sorting (even horizontally) of juciphox 495
  • changed the controls in Trac Options somewhat
  • Edit CHDK Prefs now moves the 2nd notepad a bit, so you actually see two
  • memisosize statistics appended to individual logs
  • now renames zips for duplicate firmwares, and puts a warning in the caminfo.log
  • added option to control the showing of tooltips
  • large display of current version (left-below logo) now supports longer names,
    if you create lets say juciphox499_mod  it will show '499_mod'.
    Length is limited to about where the (red) update version numbers appear.
  • moved total #cams and #firmwares into the 'group header'

enjoy,

wim
« Last Edit: 05 / September / 2008, 09:47:40 by whim »

*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: Windows GUI for trunk building
« Reply #96 on: 07 / September / 2008, 18:49:44 »
@whim

chdk-shell v1.65 always gives me error message like this on compile:
Quote
Line -1:

Error: Array variable has incorrect number of subscripts or subscript dimension range exceeded.
no matter which trunk/firmware i choose...

chdk-shell v1.64 write error message to log on compile:
Quote
The command gmake could not be found...

while chdk-shell v1.63 works fine!

*

Offline whim

  • ******
  • 2044
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #97 on: 08 / September / 2008, 04:40:24 »
Sorry for the answering delay, was travelling ...

Problem localised, working on it

wim

thanks !
« Last Edit: 08 / September / 2008, 04:50:33 by whim »


*

Offline whim

  • ******
  • 2044
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #98 on: 08 / September / 2008, 05:38:06 »
Bug fixed: chdk-shell-v166.zip - 1.06MB

  • - 1.66  - bugfix: compilation failed for non-juciphox builds


thanks for reporting, pixeldoc2000 !

*

Offline whim

  • ******
  • 2044
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #99 on: 22 / September / 2008, 04:56:42 »
Here's version 1.67 CHDK-Shell-v167.zip - 1.06MB

  • fix: failed to update selected build if selected branch was changed
  • adapted memisosize reporting to support newer builds
  • fix: main GUI window should now no longer 'pop under' when updating

wim

 

Related Topics