News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Today's updates: 30 Nov 2005

Started by mandrav, November 30, 2005, 03:49:02 PM

Previous topic - Next topic

Urxae

Quote from: mandrav on December 02, 2005, 03:44:08 PM
Quote from: Urxae on December 02, 2005, 03:31:25 PM
Judging by the redirection, I presume it now also sends the build outpout to stdout? If so, you forgot to mention this.

Yes, I thought it was evident by the example :)

Just thought I'd clarify as Rick asked about it earlier in the thread and others might be interested as well.

Der Meister

Quote from: rickg22 on December 02, 2005, 04:15:01 PM
No, backticks ` are different from single quotes ' . Notice the backticks are a little skewed, like the Tower of Pisa (lol).
Argh.... Of course, you are right. :o Seems as I got confused by a comment in the source code:
Quote
#ifndef __WXMSW__
    // run the command in a shell, so backtick'd expressions can be evaluated
    cmd->command = GetConsoleShell() + _T(" '") + cmd->command + _T("'");
#endif
8)

Anyway, this doens't change the problem.
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.

Urxae

I just compiled and updated from revision 1425, and then performed the following command from my C::B dir:
output\codeblocks --personality=Build --hidden --build CodeBlocks-NewBuild.cbp | tee build.log
and the C::B window still showed itself, which I was assuming the --hidden parameter would prevent.
Did I misinterpret the intended meaning of this parameter?

mandrav

Quote from: Urxae on December 02, 2005, 06:04:20 PM
I just compiled and updated from revision 1425, and then performed the following command from my C::B dir:
output\codeblocks --personality=Build --hidden --build CodeBlocks-NewBuild.cbp | tee build.log
and the C::B window still showed itself, which I was assuming the --hidden parameter would prevent.
Did I misinterpret the intended meaning of this parameter?

Nope, you just found a "bug".
It has to do with the automatic layout loading, which shows the window no matter if the --hidden flag says "don't"...
I 've located the problem and fixed it just now.

Also, note that the --hidden parameter is removed. It 's not needed because, for batch builds, the window is not responsive anyway. So now it's implicitely hidden for batch builds.
Be patient!
This bug will be fixed soon...

takeshimiya

I found this link very handy to know the latest changes, though it's more comfortable the TortoiseSVN's Show Log.

killerbot

Be aware that on the first runs you can get prompted to specify global vars values !!

Does it send build errors to stdout ot every build output, just tried this out, and nothing appeared on my console (windows xp).

killerbot

Also the command line invokation immediately returns, so in a batch list; the next instance will be started of CB-batch.
Hope this is multi-instance safe enough ?

280Z28

An easy thing to add that's extremely useful [to me] is simple actions for the mouse. Back and forward buttons, mouse wheel, plus modifier keys (ctrl, alt, shift, or combination) on all 5 standard mouse buttons (left, right, middle=wheelclick, back, forward) and the wheel (wheelup, wheeldown).
78 280Z, "a few bolt-ons" - 12.71@109.04
99 Trans Am, "Daily Driver" - 525rwhp/475rwtq
Check out The Sam Zone :cool: