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

Windows GUI for trunk building

  • 771 Replies
  • 309591 Views
*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #550 on: 18 / June / 2011, 14:02:50 »
Advertisements
CHDK-Shell-v327 (update version)

  • added:    New option in "Debug .." allows setting a background colour for all
                  transparent controls - the colour is identical to the one selected
                  in "Cam Panel.." for 'Button style BEFORE ...'

  • changed: Compiled with the latest AutoIt beta version (3.3.7.10) - it not
                  only produces smaller executables, but also allows UPX compression
                  without provoking AntiVirus alarms. Result: v 3.27 exe now weighs
                  in at 357 kB, versus 722 kB for v 3.26.
                  Note: installer/updater sizes are not reduced.
  • Security: Clean according to Jotti AND VirusTotal. Checksums (FileAlyzer) are:
                  CHDK-Shell-v327-sfx.exe
                  CRC-32:  9D4E606C
                  MD5:      7360718A2500BBEEEC13D3EA2FD62520
                  SHA1:     4A245FDB4792EC1F2AB22FCE92C625773A3353E1
                  CHDK-Shell_Updater.7z
                  CRC-32:  8CC146F6
                  MD5:      E91D92DF12DCA781E411882BDBF29836
                  SHA1:     9A67040FDDFA2CD983A524C9018A1ABC0BB25DCE

cheers,

wim

[ Have 7z & a recent*) version ? Save bandwidth, use CHDK-Shell-updater.7z  ]

*) recent = same minor version, so currently 3.2.0 and higher
« Last Edit: 24 / June / 2011, 13:23:54 by whim »

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #551 on: 24 / June / 2011, 13:23:36 »
CHDK-Shell-v328 (update version)

  • fixed:      Debug option to colour control background (added in 3.27) now
                  also works for miniGUI and Card GUI.

  • added:    Alpha or Beta status (if applicable) is now shown in firmware
                  checkbox tooltips; since this meant partially rewriting Makefile
                  parsing, error checking on Makefile syntax was improved as well;
                  instead of just crashing, the program should now at least report
                  the offending line before exiting.

  • Security: Clean according to Jotti. Checksums (FileAlyzer) are:
                  CHDK-Shell-v328-sfx.exe
                  CRC-32:  5CA0B9CC
                  MD5:      55A7E8B6591D065517406D08FCC07399
                  SHA1:     540BF9D922C34833043462D703A4BA8E10A54055
                  CHDK-Shell_Updater.7z
                  CRC-32:  F2660DF4
                  MD5:      F33697A44FB3CB11F14A0AD3ADC3E28D
                  SHA1:     E3E152CF03A4561DBE2940E93C2AB3F474AFF2A8

cheers,

wim

[ Have 7z & a recent*) version ? Save bandwidth, use CHDK-Shell-updater.7z  ]

*) recent = same minor version, so currently 3.2.0 and higher
« Last Edit: 24 / June / 2011, 13:44:35 by whim »

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #552 on: 29 / June / 2011, 06:49:03 »
CHDK-Shell-v329 (update version)

  • fixed:      Problems with CHDK-Shell-vXXX-sfx.exe (even older versions !) being
                  falsely flagged by 'F-PROT' and 'Commtouch' as "W32/Malagent.BB".
                  Turns out this was due the '7za.exe' included ...
                  In this release the offending v4.65 is replaced by v9.20

  • fixed:      Win 2000 with GDI+ : problem showing the logo on mainGUI.

  • added:    "Reset Default" button in "Debug.." dialog should make it a little
                  less scary to play with the options (don't forget to press apply)

  • added:    When in basic debug mode (checkbox left of "Debug.." button checked)
                  message loop info is now shown in a tooltip. The message codes are
                  also included in trace.log if 'Function Profile/Trace' is activated
                  in the "Debug .." dialog.

  • Security: Clean according to VirusTotal and Jotti. Checksums (FileAlyzer) are:
                  CHDK-Shell-v329-sfx.exe
                  CRC-32:  70457FA2
                  MD5:      4C839FB7C4045B61F31CD18646A42FC2
                  SHA1:     436D72754BB4368B8E0ACCADA67CE1C6C9AED8D8
                  CHDK-Shell_Updater.7z
                  CRC-32:  02D4388C
                  MD5:      30442203EA7B0D7BE44466E7620B645B
                  SHA1:     D5E80C8C446A301C3410776B550E96AD75FDA24D

cheers,

wim

[ Have 7z & a recent*) version ? Save bandwidth, use CHDK-Shell-updater.7z  ]

*) recent = same minor version, so currently 3.2.0 and higher

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #553 on: 29 / June / 2011, 09:29:53 »
Oops ! Just discovered I left in a piece of experimental code ...
I'm preparing a fix ASAP, in the meantime maybe use 3.28 for production work done

CHDK-Shell-v330 (update version)
CHDK-Shell-v330-full (full version)

  • fixed:      Accidentally left some experimental code in release 3.29 ...
                  Symptoms include seemingly random disabling of context menu entries
                  and controls in dialogs.

  • Security: Clean according to VirusTotal and Jotti. Checksums (FileAlyzer) are:
                  CHDK-Shell-v330-full-sfx.exe
                        CRC-32:   72AA724F
                        MD5:      6F677224499058BEC244ECA7D2AF9DA1
                        SHA1:     BAAE306AF9965E43D7F87E5A6D7CD4223FF4CE00
                  CHDK-Shell-v330-sfx.exe
                        CRC-32:   0A17A0EE
                        MD5:      D550332F76C3847AF1E004F74FE5A112
                        SHA1:     56FC63356B1C97DEB668778339D95943F122C9F7
                  CHDK-Shell_Updater.7z
                        CRC-32:   DDE8D08D
                        MD5:      CC27371B16F0C00878A1BFC5B7CE887C
                        SHA1:     94BCF879B94ED1629F408F810EA28AC0263BBCF9

sorry,

wim

[ Have 7z & a recent*) version ? Save bandwidth, use CHDK-Shell-updater.7z  ]

*) recent = same minor version, so currently 3.2.0 and higher
« Last Edit: 29 / June / 2011, 10:22:12 by whim »

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #554 on: 06 / July / 2011, 13:39:57 »
CHDK-Shell-v331 (update version)

  • added:     Improved info in "Firmware" tooltips, now also shows duplicate
                   status as "DUP of ..." (image see attachment)

  • added:     When (in "Compile Options..") a primary root directory is
                   defined, AND a pdf user manual containing the camera name is
                   found in {ext_primary}\{cam_name}, it will automatically be
                   opened when you click the camera button. Note that this works
                   even if you don't use (uncheck) the PRIMARY_ROOT option, as long
                   as the PDF name contains the camera name, example: ixus70_sd1000
                   manual would be opened if the PDF name contains either "ixus70"
                   or "sd1000" (or both, of course).

  • fixed:      Nasty (seldomly appearing ?) bug where "ELF objdump" text
                  would disappear (from the checkbox in main GUI)

  • Security: Clean according to Jotti. Checksums (FileAlyzer) are:
                  CHDK-Shell-v331-sfx.exe
                  CRC-32:  14DE512F
                  MD5:      026B36723BEF728627885DB745493FB6
                  SHA1:     2C03A70307A7962B8346D7D9CBA8D387FC51C617
                  CHDK-Shell_Updater.7z
                  CRC-32:  9A14D0DB
                  MD5:      938BC66445D041B8D989F3DF1D9D2A06
                  SHA1:     532AC2A9C59D5788FB0092CF337FF4D7909DBCDE

cheers,

wim

[ Have 7z & a recent*) version ? Save bandwidth, use CHDK-Shell-updater.7z  ]

*) recent = same minor version, so currently 3.3.0 and higher
« Last Edit: 06 / July / 2011, 14:01:25 by whim »

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #555 on: 09 / July / 2011, 12:34:18 »
CHDK-Shell-v332 (update version)

  • added:    Program uptime and CPU 'consumption' (in "Debug .." dialog); values
                  are updated @ every timer tick (like 'Mem Usage' values)
                  CPU used is shown separately for kernel and user mode, expressed
                  as a percentage of program uptime.

  • Security: Clean according to Jotti. Checksums (FileAlyzer) are:
                  CHDK-Shell-v332-sfx.exe
                  CRC-32:  E490FFD4
                  MD5:      50BD036986453D71A05D5ACF6A27B0E1
                  SHA1:     CD7CFEEE97DDDB5CF639A9BAAB6370F2D056E87B
                  CHDK-Shell_Updater.7z
                  CRC-32:  123E2FA6
                  MD5:      419C27B2589C1168114DD658B94FF8BB
                  SHA1:     E2481C30DDD6130C8A2D3ED6A2B3F66D4ACD664F

cheers,

wim

[ Have 7z & a recent*) version ? Save bandwidth, use CHDK-Shell-updater.7z  ]

*) recent = same minor version, so currently 3.3.0 and higher

Re: Windows GUI for trunk building
« Reply #556 on: 29 / July / 2011, 20:21:25 »
Hi whim.  I think that I just got myself stung by the "remove 'n' old builds but keep last" option.  Again.

First of all,  once deleted, is the old build gone for good ?  Doesn't seem to be in my trash folder.

Secondly,  when you tell it to keep the last 5 builds,  it counts backwards from the current build release number. So, for example,  if you were working with version 1245 and didn't  update for a while and then enable updates again when the trunk is at 1254, your 1245 version gets deleted !!

From my perspective,  that was the only one version back.  From the CHDK-Shell perspective it was more that 5 old, so "good bye".

Or do I have this confused again ?

(And I have the option turned off now.  Is that the default after a version upgrade?)

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #557 on: 30 / July / 2011, 05:49:52 »
Quote
First of all,  once deleted, is the old build gone for good ?  Doesn't seem to be in my trash folder.
Yes, because moving it into trashcan wouldn't save any diskspace; as I said before, original SVN files can always be restored through "Unzip Archive..", if user wants to modify a build, cloning it first is strongly recommended - builds with a 'tail' (i.e. 'trunk1250_mymod') will never be purged.
Quote
Secondly,  when you tell it to keep the last 5 builds,  it counts backwards from the current build release number. So, for example,  if you were working with version 1245 and didn't  update for a while and then enable updates again when the trunk is at 1254, your 1245 version gets deleted !!
True - I'll look into improving this.
Quote
Is that the default after a version upgrade?
No, if an ini file exists which is no older than 10 versions of CHDK-Shell all previous settings should be imported (exception: some debug options)

Believe me, if it was possible to write protect 'original' SVN checkouts (to force user to clone before modifying source), I would have done that a long time ago, but that would make it impossible to compile said originals ...

So, for the moment I can only suggest to:

- If using the 'Remove old builds' always use 'Clone' when modifying  or
- Not use 'Remove old builds' (or maybe set to a higher number)

Meanwhile, here's a  '~!~purge.au3'  replacement that 'deletes' to trashcan (see attachment)
Original line (DirRemove) commented out, new one (FileRecycle) added.
(the file is located in the /CHDK-Shell subdir)

Hope that helps a bit,

wim

PS Did I mention cloning is highly recommended before modifying source code ?  ;)




Re: Windows GUI for trunk building
« Reply #558 on: 30 / July / 2011, 10:42:59 »
So, for the moment I can only suggest to:

- If using the 'Remove old builds' always use 'Clone' when modifying  or
- Not use 'Remove old builds' (or maybe set to a higher number)

Meanwhile, here's a  '~!~purge.au3'  replacement that 'deletes' to trashcan (see attachment)
Original line (DirRemove) commented out, new one (FileRecycle) added.
(the file is located in the /CHDK-Shell subdir)

Hope that helps a bit,

wim

PS Did I mention cloning is highly recommended before modifying source code ?  ;)


mea maxima culpa

As my work pattern is usually to start a port between firmware versions and not update the trunk while completing that, I have gotten used to only have a few versions around at one time and thus forgot I played with the "auto delete" that I think I originally asked you to include.   Getting stung by the "count of releases to keep" being related to version number and not the absolute number of versions on disk was harder to anticipate in hind site.   Being pretty religious about backing up my work was my saviour.

In any case, as I would expect you don't plan to drag two versions of ~!~purge.au3 along going forward,  dare I suggest that you add a check box at the bottom of the SVN Processing Options to allow selection of delete to recycle bin or permanent delete ?  I know putting it in the recycle bin does not save space right away but I suspect most of us periodically open it up and purge it on a regular basis just as a matter of good housekeeping ?

TIA

Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: Windows GUI for trunk building
« Reply #559 on: 30 / July / 2011, 14:36:00 »
@waterwingz

Done, testing now. Will have

- proper counting of "builds to keep"
- selectable Delete / Recycle
- removed unnecessarily low limit for "builds to keep"

thanks for the suggestions,

wim

 

Related Topics


SimplePortal © 2008-2014, SimplePortal