Author Topic: Windows GUI for trunk building [currently v. 3.42]  (Read 61053 times)

Offline fe50

  • Guru Member
  • ******
  • Posts: 2608
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: Windows GUI for trunk building [currently v. 2.73]
« Reply #360 on: 16 / July / 2010, 10:07:40 »
CHDK-Shell-v273 (update version)
Thx wim ! :D

Offline whim

  • Guru Member
  • ******
  • Posts: 1957
  • A620/A630/A590-101b/i70-101b/i870-101a/i300
Re: Windows GUI for trunk building [currently v. 2.73]
« Reply #361 on: 07 / August / 2010, 18:45:56 »
Following a post by ultimA here: http://chdk.setepontos.com/index.php/topic,4348.msg53187.html#msg53187
I compiled a new GCC 4.5.1 environment for CHDK. It will eventually be included in a new full version, but for the impatient,
it's here: [edited] http://drop.io/gcc_for_chdkshell/asset/gcc451env-forchdk-sfx-exe

The .exe will extract itself to a "GCC451" directory, so you can safely point it to your CHDK dir
without risk of overwriting your previous GCC4 dir; to activate it, use Compile Options ... button
and use Set Paths to point GCC4 to your new environment.
GCC 4.5.1 produces binaries that are ~ 2.7 kB smaller than those made with GCC 4.4.0

Cheers,

wim

edit: thanks, ultimA !

edit 22-08-10: changed link
« Last Edit: 23 / August / 2010, 03:47:03 by whim »

Offline msl

  • Sr. Member
  • ****
  • Posts: 369
  • A720 IS, SX220 HS
    • CHDK inside
Re: Windows GUI for trunk building [currently v. 2.73]
« Reply #362 on: 08 / August / 2010, 03:45:52 »
Thx

Works fine. The result is ~ 1.2 % smaller than with gcc4.4.0.

msl

Offline pixeldoc2000

  • Sr. Member
  • ****
  • Posts: 351
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: Windows GUI for trunk building [currently v. 2.73]
« Reply #363 on: 12 / August / 2010, 04:06:07 »
@whim

Please add two "Compiler Options" to start gmake.exe with some usefull switches:
1. "gmake.exe -d" does full debug output (very usefull to hunt compiler errors!)
2. "gmake.exe -r" does compile faster (works for me)

BTW: I've only tested this with gcc 3.4.6 yet.  ;)

Thanks!
« Last Edit: 12 / August / 2010, 04:09:00 by pixeldoc2000 »

Offline whim

  • Guru Member
  • ******
  • Posts: 1957
  • A620/A630/A590-101b/i70-101b/i870-101a/i300
Re: Windows GUI for trunk building [currently v. 2.73]
« Reply #364 on: 12 / August / 2010, 04:28:01 »
@pixeldoc2000

Good idea ! How about an editbox for flexibility, plus checkbox to quickly add/remove favourite settings ?

cheers,

wim



Offline pixeldoc2000

  • Sr. Member
  • ****
  • Posts: 351
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: Windows GUI for trunk building [currently v. 2.73]
« Reply #365 on: 12 / August / 2010, 05:27:06 »
Good idea ! How about an editbox for flexibility, plus checkbox to quickly add/remove favourite settings ?
editbox sounds Great!

What about a dropdown with some "presets" like DEBUG, FAST/NotRecursive, etc. to change editbox.

But a simple editbox with (tooltip) help will do too  ::).
« Last Edit: 12 / August / 2010, 05:31:38 by pixeldoc2000 »

Offline whim

  • Guru Member
  • ******
  • Posts: 1957
  • A620/A630/A590-101b/i70-101b/i870-101a/i300
Re: Windows GUI for trunk building [currently v. 2.74]
« Reply #366 on: 13 / August / 2010, 22:44:14 »
CHDK-Shell-v274 (update version)

  • fixed:      small bug in timer bar code, red square would appear on switching sites while internet was disallowed

  • added:     in status display: feedback on HTML page load (as 'xx kB')

  • added:     in 'Compile Options': passing extra options to GMAKE (press ? for list)
                  thanks, pixeldoc2000 ... and it will be a dropdown, soon(ish) ;)


cheers,

wim

Offline pixeldoc2000

  • Sr. Member
  • ****
  • Posts: 351
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: Windows GUI for trunk building [currently v. 2.74]
« Reply #367 on: 19 / August / 2010, 00:24:27 »
@whim

  • added:     in 'Compile Options': passing extra options to GMAKE (press ? for list)
                  thanks, pixeldoc2000 ... and it will be a dropdown, soon(ish) ;)

Thanks!
It does its job!
Maybe set "-r" as default?

Please add a function to prepare SD-Card for Canon Script Disk (http://chdk.wikia.com/wiki/Canon_Basic) to CardTricks.

Thanx!


Offline whim

  • Guru Member
  • ******
  • Posts: 1957
  • A620/A630/A590-101b/i70-101b/i870-101a/i300
Re: Windows GUI for trunk building [currently v. 2.74]
« Reply #368 on: 19 / August / 2010, 17:03:12 »
@pixeldoc2000

Quote
Thanks!
It does its job!
Maybe set "-r" as default?

Please add a function to prepare SD-Card for Canon Script Disk (http://chdk.wikia.com/wiki/Canon_Basic) to CardTricks.


ad 1) option is saved to ini, so that doesn't seem necessary to me - once set the shell will use your
        settings every time. Next version will have a drop down with presets, which you can edit in the
        ini file as much as you like. Note that even in current version you can specify more than one
        option, ex. '-d -r -j 4'

ad 2) that is part of the major overhaul i'm planning for CT, the udump stuff for older cams will be
        removed etc.
        Don't hold your breath though, i spend most of my time in the woods ATM, hunting mushrooms
        (physically and as pics)

cheers,

wim     

CHDK Forum

Re: Windows GUI for trunk building [currently v. 2.74]
« Reply #368 on: 19 / August / 2010, 17:03:12 »

Offline whim

  • Guru Member
  • ******
  • Posts: 1957
  • A620/A630/A590-101b/i70-101b/i870-101a/i300
Re: Windows GUI for trunk building [currently v. 2.75]
« Reply #369 on: 23 / August / 2010, 03:21:04 »
CHDK-Shell-v275 (update version)

  • fixed:      Status display should now flicker less

  • fixed:      GMAKE options can now be selected via a dropdown with presets; you can
                   edit the selected option, which will result in it being added to the
                   presets (unless this would lead to a duplicate)
                   You can also manually edit presets in the ini file, look for the line:
                        'make_options=-d|-r|-r -j 2|-r -j 4|-r -j 8|-r -j 16'
                   You can add or remove options as you like, just make sure options are
                   separated by "|"   (useful for reordering or cleanup)

  • added:     To optimise your GMAKE options compile batch execution can now be timed:
                   - With "Function Profile/Trace" in the debug DIALOG turned ON, execution
                     time for the batch is written to the trace log  - or -
                   - With the "debug" CHECKBOX checked this info shows in a message box
                     (note that this checkbox is now disabled when Profile/Trace is on,
                      to avoid messing up function profiling times by debug popups)


cheers,

wim

PS   I also moved the GCC 4.51 dev kit from beta to main CHDK-Shell drop.io, here:
      http://drop.io/gcc_for_chdkshell/asset/gcc451env-forchdk-sfx-exe
      More details in Reply #361 of this thread: http://chdk.setepontos.com/index.php/topic,845.msg53456.html#msg53456
      Please note that this dev kit will probably not work on older processors (Pentium I, II, III ?)
      I currently don't have access to my old box for building and testing. As soon as I do, a new
      full version of CHDK-Shell will be released.
       

Offline ultimA

  • Full Member
  • ***
  • Posts: 137
Re: Windows GUI for trunk building [currently v. 2.75]
« Reply #370 on: 28 / August / 2010, 10:33:31 »
A feature request: How about the ability to build not only trunk revisions, but any chdk source folder? Currently as a workaround, if I want to build something different than a downloaded trunk, I have to copy it to the main trunk folder and rename the new subfolder to trunkxxx (so the gui will detect the revision as xxx). This is okay as a workaround, but requires mixing non-committed with commited code, it is a bit uncomfortable and feels 'quirky'. This feature request is low priority, but would be nice to have.

Offline whim

  • Guru Member
  • ******
  • Posts: 1957
  • A620/A630/A590-101b/i70-101b/i870-101a/i300
Re: Windows GUI for trunk building [currently v. 2.75]
« Reply #371 on: 28 / August / 2010, 19:46:35 »
@ultimA

Well, there is a sort of solution - i've dubbed it 'Local branch', exists for a while now (undocumented though)

1. Create or copy a folder - say 'ultima123' - in the 'branches' folder

2. In the "Branches .." dialog make sure branch checking is set to None. Press OK to apply

3. Go back to "Branches .." dialog and type 'ultima' in the Local branch edit field. Press OK to apply

4. Done ... your 'Local branch' is now a completely isolated build and ultima should now show as
    the branch radio button above the trunk one - note, however; you can not
             a) use the same name as official branches  
             b) turn branch checking on

5. Pic after applying above [edit: now a link, hopefully working]
    http://drop.io/chdkshellbeta/asset/ultima123-jpg

hope that helps, let me know if that does the trick for the moment,

wim

[edit 2: just checked: local branch option was added in v 2.43, check history in 'readme.txt' for details
 Of course you could also Clone a clean trunk (icon left of the build number) - I never touch my clean
 trunks, but clone them to something like trunk927_work first]
« Last Edit: 28 / August / 2010, 23:42:01 by whim »

Offline ultimA

  • Full Member
  • ***
  • Posts: 137
Re: Windows GUI for trunk building [currently v. 2.75]
« Reply #372 on: 30 / August / 2010, 03:42:15 »
Hi whim, thx for the answer. This solution would be perfect. But the "Branches .." button is greyed out (disabled) so I cannot get into the braches dialog. I tried deleting the .ini configuration file to reset the program into its default state but it does not help.

Offline whim

  • Guru Member
  • ******
  • Posts: 1957
  • A620/A630/A590-101b/i70-101b/i870-101a/i300
Re: Windows GUI for trunk building [currently v. 2.76]
« Reply #373 on: 30 / August / 2010, 09:25:22 »
CHDK-Shell-v276 (update version)

  • fixed:      Line number of main code shown in profile/trace was incorrect

  • fixed:      Cmd windows with no info now always start minimised

  • fixed:      Logo in Main GUI sometimes not showing after site switch (at least,
                  I hope so - could not find the reason with 100% certainty)

  • added:    Option to check both SVN sites, when 'check every xx minutes' triggers,
                  plus indicators in both GUIs. Use 'Set SVN Site ..' dialog to set/unset.


cheers,

wim

Offline zfeet

  • Jr. Member
  • **
  • Posts: 67
Re: Windows GUI for trunk building [currently v. 2.76]
« Reply #374 on: 03 / September / 2010, 01:14:33 »
A430 cannot be selected from the gui but it appears in CHDK-Shell-v276.ini.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal