Re: [opensource-dev] Hacking up to Visual Studio 2010 ...

2011-02-18 Thread Boroondas Gupte
On 02/18/2011 01:56 AM, Oz Linden (Scott Lawrence) wrote:
> [...]
> Then check out:
>
> https://bitbucket.org/oz_linden/viewer-autobuild2010
>
> cd into the top level of that directory, and run:
>
> autobuild configure -c OpenSourceRelWithDebInfo
>
> autobuild configure -c OpenSourceRelWithDebInfo
>
Shouldn't the second command be

autobuild *build* -c OpenSourceRelWithDebInfo

?
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] Hacking up to Visual Studio 2010 ...

2011-02-18 Thread Oz Linden (Scott Lawrence)

On 2011-02-18 7:31, Boroondas Gupte wrote:

On 02/18/2011 01:56 AM, Oz Linden (Scott Lawrence) wrote:

[...]
Then check out:

https://bitbucket.org/oz_linden/viewer-autobuild2010

cd into the top level of that directory, and run:

autobuild configure -c OpenSourceRelWithDebInfo

autobuild configure -c OpenSourceRelWithDebInfo


Shouldn't the second command be

autobuild *build* -c OpenSourceRelWithDebInfo

?


yes, it should
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

[opensource-dev] Linux build error: missing binary operator before token "(" (was: Hacking up to Visual Studio 2010 ...)

2011-02-18 Thread Boroondas Gupte
On 02/18/2011 01:56 AM, Oz Linden (Scott Lawrence) wrote:
> [...]
>
> Then check out:
>
> https://bitbucket.org/oz_linden/viewer-autobuild2010
>
> cd into the top level of that directory, and run:
>
> autobuild configure -c OpenSourceRelWithDebInfo
>
> autobuild configure -c OpenSourceRelWithDebInfo
>
> and let me know if it works (and if not, see if you can figure out why
> not).  On our build farm, I'm getting an error:
>
> _[19:13:30]:_ //LogScan//_(1s)_
> _[19:13:30]:_ /[LogScan] / from /usr/include/c++/4.1.3/cmath:53,
> _[19:13:30]:_ /[LogScan] / from
> /var/opt/teamcity/checkout/L-oz_viewer-autobuild2010/latest/indra/llcommon/linden_common.h:48,
> _[19:13:30]:_ /[LogScan] / from
> /var/opt/teamcity/checkout/L-oz_viewer-autobuild2010/latest/indra/newview/tests/lldateutil_test.cpp:26:
> _[19:13:30]:_ /[LogScan] //usr/include/bits/huge_val.h:28:18: error:
> missing binary operator before token "("
> _[19:13:30]:_ /[LogScan] //usr/include/bits/huge_val.h:30:20: error:
> missing binary operator before token "("
With "build" in the second command instead of "configure", I'm getting
the same error, though not just for /usr/include/bits/huge_val.h but
many more system headers, too.

Boroondas

___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] Hacking up to Visual Studio 2010 ...

2011-02-18 Thread Twisted Laws

When I try running autobuild on Linux (Ubuntu) using this autobuild and 
viewer-autobuild2010, it immediately fails with a pathcheck error looking for 
boto.  Looking at common.py (in 
/usr/local/lib/python2.6/dist-packages/autobuild/common.py) I see that the 
pathcheck lines in there contain "lib/python2.5/...".  So I'm assuming that 
this doesn't work with Python 2.6 ??
 
On Windows 7 with Visual Studio 2010 (not express), I run into an issue with 
not finding SCP, so I installed PuTTY and linked pscp.exe to scp.exe and then 
it still fails to download the googlebreakpad.   (This IS using 
OpenSourceRelWithDebInfo)

 


Date: Thu, 17 Feb 2011 19:56:05 -0500
From: o...@lindenlab.com
To: opensource-dev@lists.secondlife.com
Subject: Re: [opensource-dev] Hacking up to Visual Studio 2010 ...


On 2011-02-16 16:01, Oz Linden (Scott Lawrence) wrote: 

Tomorrow and Friday (Feb 17 & 18), Linden Lab is going to be holding an 
in-house Hackathon (stopping work on many other things, getting many developers 
together all at once, and focusing on getting a lot done in short time) to 
upgrade our builds of all our libraries and the viewer to a new toolchain, 
including our new package management tool (autobuild) and Visual Studio 2010 
for Windows (yes... about time... whatever... we're doing it).

I could use some help with a linux build problem... if you have a chance, 
please check out a copy of 

https://bitbucket.org/lindenlab/autobuild
and arrange for the bin/autobuild command from that repository to be in your 
$PATH

Then check out:

https://bitbucket.org/oz_linden/viewer-autobuild2010
cd into the top level of that directory, and run:

autobuild configure -c OpenSourceRelWithDebInfo

autobuild configure -c OpenSourceRelWithDebInfo
and let me know if it works (and if not, see if you can figure out why not).  
On our build farm, I'm getting an error:


[19:13:30]: LogScan (1s)
[19:13:30]: [LogScan] from /usr/include/c++/4.1.3/cmath:53,
[19:13:30]: [LogScan] from 
/var/opt/teamcity/checkout/L-oz_viewer-autobuild2010/latest/indra/llcommon/linden_common.h:48,
[19:13:30]: [LogScan] from 
/var/opt/teamcity/checkout/L-oz_viewer-autobuild2010/latest/indra/newview/tests/lldateutil_test.cpp:26:
[19:13:30]: [LogScan] /usr/include/bits/huge_val.h:28:18: error: missing binary 
operator before token "("
[19:13:30]: [LogScan] /usr/include/bits/huge_val.h:30:20: error: missing binary 
operator before token "("


___ Policies and (un)subscribe 
information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev 
Please read the policies before posting to keep unmoderated posting privileges  
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] Hacking up to Visual Studio 2010 ...

2011-02-18 Thread Twisted Laws

exact error on linux is:  autobuild.common.AutobuildError: invalid 'pathcheck' 
setting for 'boto'
 


From: twisted_l...@hotmail.com
To: o...@lindenlab.com; opensource-dev@lists.secondlife.com
Date: Fri, 18 Feb 2011 08:50:11 -0500
Subject: Re: [opensource-dev] Hacking up to Visual Studio 2010 ...




When I try running autobuild on Linux (Ubuntu) using this autobuild and 
viewer-autobuild2010, it immediately fails with a pathcheck error looking for 
boto.  Looking at common.py (in 
/usr/local/lib/python2.6/dist-packages/autobuild/common.py) I see that the 
pathcheck lines in there contain "lib/python2.5/...".  So I'm assuming that 
this doesn't work with Python 2.6 ??
 
On Windows 7 with Visual Studio 2010 (not express), I run into an issue with 
not finding SCP, so I installed PuTTY and linked pscp.exe to scp.exe and then 
it still fails to download the googlebreakpad.   (This IS using 
OpenSourceRelWithDebInfo)

 


Date: Thu, 17 Feb 2011 19:56:05 -0500
From: o...@lindenlab.com
To: opensource-dev@lists.secondlife.com
Subject: Re: [opensource-dev] Hacking up to Visual Studio 2010 ...

On 2011-02-16 16:01, Oz Linden (Scott Lawrence) wrote: 

Tomorrow and Friday (Feb 17 & 18), Linden Lab is going to be holding an 
in-house Hackathon (stopping work on many other things, getting many developers 
together all at once, and focusing on getting a lot done in short time) to 
upgrade our builds of all our libraries and the viewer to a new toolchain, 
including our new package management tool (autobuild) and Visual Studio 2010 
for Windows (yes... about time... whatever... we're doing it).

I could use some help with a linux build problem... if you have a chance, 
please check out a copy of 

https://bitbucket.org/lindenlab/autobuild
and arrange for the bin/autobuild command from that repository to be in your 
$PATH

Then check out:

https://bitbucket.org/oz_linden/viewer-autobuild2010
cd into the top level of that directory, and run:

autobuild configure -c OpenSourceRelWithDebInfo

autobuild configure -c OpenSourceRelWithDebInfo
and let me know if it works (and if not, see if you can figure out why not).  
On our build farm, I'm getting an error:


[19:13:30]: LogScan (1s)
[19:13:30]: [LogScan] from /usr/include/c++/4.1.3/cmath:53,
[19:13:30]: [LogScan] from 
/var/opt/teamcity/checkout/L-oz_viewer-autobuild2010/latest/indra/llcommon/linden_common.h:48,
[19:13:30]: [LogScan] from 
/var/opt/teamcity/checkout/L-oz_viewer-autobuild2010/latest/indra/newview/tests/lldateutil_test.cpp:26:
[19:13:30]: [LogScan] /usr/include/bits/huge_val.h:28:18: error: missing binary 
operator before token "("
[19:13:30]: [LogScan] /usr/include/bits/huge_val.h:30:20: error: missing binary 
operator before token "("


___ Policies and (un)subscribe 
information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev 
Please read the policies before posting to keep unmoderated posting privileges 
___ Policies and (un)subscribe 
information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev 
Please read the policies before posting to keep unmoderated posting privileges  
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] Hacking up to Visual Studio 2010 ...

2011-02-18 Thread Thickbrick Sleaford
On Friday 18 February 2011 15:50:11 Twisted Laws wrote:
> When I try running autobuild on Linux (Ubuntu) using this autobuild and
> viewer-autobuild2010, it immediately fails with a pathcheck error looking
> for boto.  Looking at common.py (in
> /usr/local/lib/python2.6/dist-packages/autobuild/common.py) I see that the
> pathcheck lines in there contain "lib/python2.5/...".  So I'm assuming
> that this doesn't work with Python 2.6 ??
> 

I had a similar problem after I installed the autobuild package system-wide 
with the setup.py that came with it (./setup.py build && sudo ./setup.py 
install). It turns out it does not work when installed system wide. As far as 
I could tell, the python version in the pre-packaged files' path don't matter.

Also, it seems prone to leaving bad files /var/tmp/$USER/install.cache/ when 
bailing due to exceptions, and barfing when encountering those files on 
subsequent runs.

-- 
Thickbrick
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges


Re: [opensource-dev] Hacking up to Visual Studio 2010 ...

2011-02-18 Thread Twisted Laws

Thanks  i'm unclear of what i should do next then.   (I primarily work in 
windows)   Can i just delete the files in 
/usr/local/lib/python2.6/dist-packages/autobuild ?

 
> From: thickbrick.sleaf...@gmail.com
> To: opensource-dev@lists.secondlife.com
> Subject: Re: [opensource-dev] Hacking up to Visual Studio 2010 ...
> Date: Fri, 18 Feb 2011 16:45:00 +0200
> CC: twisted_l...@hotmail.com
> 
> On Friday 18 February 2011 15:50:11 Twisted Laws wrote:
> > When I try running autobuild on Linux (Ubuntu) using this autobuild and
> > viewer-autobuild2010, it immediately fails with a pathcheck error looking
> > for boto. Looking at common.py (in
> > /usr/local/lib/python2.6/dist-packages/autobuild/common.py) I see that the
> > pathcheck lines in there contain "lib/python2.5/...". So I'm assuming
> > that this doesn't work with Python 2.6 ??
> > 
> 
> I had a similar problem after I installed the autobuild package system-wide 
> with the setup.py that came with it (./setup.py build && sudo ./setup.py 
> install). It turns out it does not work when installed system wide. As far as 
> I could tell, the python version in the pre-packaged files' path don't matter.
> 
> Also, it seems prone to leaving bad files /var/tmp/$USER/install.cache/ when 
> bailing due to exceptions, and barfing when encountering those files on 
> subsequent runs.
> 
> -- 
> Thickbrick
  ___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] Hacking up to Visual Studio 2010 ...

2011-02-18 Thread Thickbrick Sleaford
On Friday 18 February 2011 16:55:06 Twisted Laws wrote:
> Thanks  i'm unclear of what i should do next then.   (I primarily work
> in windows)   Can i just delete the files in
> /usr/local/lib/python2.6/dist-packages/autobuild ?
> 

That's what I did (together with /usr/local/bin/autobuild). Maybe there's a 
proper way of removing packages installed with easy_install, but I couldn't 
figure it out...


-- 
Thickbrick
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges


Re: [opensource-dev] Review Request: VWR-22220 Chat preferences > font size should increase size of input text as well

2011-02-18 Thread Jonathan Yap

---
This is an automatically generated e-mail. To reply, visit:
http://codereview.secondlife.com/r/139/
---

(Updated Feb. 18, 2011, 7:11 a.m.)


Review request for Viewer.


Changes
---

Changed indentation from spaces to tabs per request.


Summary
---

This is a request for help.  I am trying to learn more about c++ and how 
variables in one class are accessed from another.  For someone who knows what 
they are doing this is probably a pretty easy question.

I have been able to set the font size on the chat input box when it is created 
in llbottomtray.cpp.  I would like to do the same thing when someone clicks in 
that box to input text; it is possible they have changed the font setting and I 
would like to apply the size there as well, but I am stuck on how to do this.  
I think the right place to do this is in 
llchatbar.cpp/LLChatBar::onInputEditorGainFocus().

I have tried all kinds of wrong ways but at this point am stymied.

Exact steps on how to proceed would be appreciated.


This addresses bug vwr-0.
http://jira.secondlife.com/browse/vwr-0


Diffs (updated)
-

  indra/newview/llbottomtray.h 3d2e71443c58 
  indra/newview/llbottomtray.cpp 3d2e71443c58 
  indra/newview/llchatbar.h 3d2e71443c58 
  indra/newview/llchatbar.cpp 3d2e71443c58 

Diff: http://codereview.secondlife.com/r/139/diff


Testing
---


Thanks,

Jonathan

___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] Review Request: VWR-22220 Chat preferences > font size should increase size of input text as well

2011-02-18 Thread Jonathan Yap

---
This is an automatically generated e-mail. To reply, visit:
http://codereview.secondlife.com/r/139/#review376
---


My internet connection went dead while in the middle of updating the diffs.  
They are corrupted and I don't know how to fix them.

- Jonathan


On Feb. 18, 2011, 7:11 a.m., Jonathan Yap wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> http://codereview.secondlife.com/r/139/
> ---
> 
> (Updated Feb. 18, 2011, 7:11 a.m.)
> 
> 
> Review request for Viewer.
> 
> 
> Summary
> ---
> 
> This is a request for help.  I am trying to learn more about c++ and how 
> variables in one class are accessed from another.  For someone who knows what 
> they are doing this is probably a pretty easy question.
> 
> I have been able to set the font size on the chat input box when it is 
> created in llbottomtray.cpp.  I would like to do the same thing when someone 
> clicks in that box to input text; it is possible they have changed the font 
> setting and I would like to apply the size there as well, but I am stuck on 
> how to do this.  I think the right place to do this is in 
> llchatbar.cpp/LLChatBar::onInputEditorGainFocus().
> 
> I have tried all kinds of wrong ways but at this point am stymied.
> 
> Exact steps on how to proceed would be appreciated.
> 
> 
> This addresses bug vwr-0.
> http://jira.secondlife.com/browse/vwr-0
> 
> 
> Diffs
> -
> 
>   indra/newview/llbottomtray.h 3d2e71443c58 
>   indra/newview/llbottomtray.cpp 3d2e71443c58 
>   indra/newview/llchatbar.h 3d2e71443c58 
>   indra/newview/llchatbar.cpp 3d2e71443c58 
> 
> Diff: http://codereview.secondlife.com/r/139/diff
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Jonathan
> 
>

___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] Review Request: VWR-22220 Chat preferences > font size should increase size of input text as well

2011-02-18 Thread Boroondas Gupte


> On Feb. 18, 2011, 7:16 a.m., Jonathan Yap wrote:
> > My internet connection went dead while in the middle of updating the diffs. 
> >  They are corrupted and I don't know how to fix them.

Have you tried uploading them again? That won't remove the bogus intermediary 
revision, but if we know about that, we can easily ignore it.

Btw., after uploading, you can review the new diff before publishing it, I 
think: While on the page where you can describe the update, click the "View 
Diff" button.


- Boroondas


---
This is an automatically generated e-mail. To reply, visit:
http://codereview.secondlife.com/r/139/#review376
---


On Feb. 18, 2011, 7:11 a.m., Jonathan Yap wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> http://codereview.secondlife.com/r/139/
> ---
> 
> (Updated Feb. 18, 2011, 7:11 a.m.)
> 
> 
> Review request for Viewer.
> 
> 
> Summary
> ---
> 
> This is a request for help.  I am trying to learn more about c++ and how 
> variables in one class are accessed from another.  For someone who knows what 
> they are doing this is probably a pretty easy question.
> 
> I have been able to set the font size on the chat input box when it is 
> created in llbottomtray.cpp.  I would like to do the same thing when someone 
> clicks in that box to input text; it is possible they have changed the font 
> setting and I would like to apply the size there as well, but I am stuck on 
> how to do this.  I think the right place to do this is in 
> llchatbar.cpp/LLChatBar::onInputEditorGainFocus().
> 
> I have tried all kinds of wrong ways but at this point am stymied.
> 
> Exact steps on how to proceed would be appreciated.
> 
> 
> This addresses bug vwr-0.
> http://jira.secondlife.com/browse/vwr-0
> 
> 
> Diffs
> -
> 
>   indra/newview/llbottomtray.h 3d2e71443c58 
>   indra/newview/llbottomtray.cpp 3d2e71443c58 
>   indra/newview/llchatbar.h 3d2e71443c58 
>   indra/newview/llchatbar.cpp 3d2e71443c58 
> 
> Diff: http://codereview.secondlife.com/r/139/diff
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Jonathan
> 
>

___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] Hacking up to Visual Studio 2010 ...

2011-02-18 Thread Twisted Laws

hmmm...  ok, so i removed them...   './setup.py build' works ok and i added 
autobuild/bin to path and I still get the same error from running 
 
$ autobuild configure -c OpenSourceRelWithDebInfo
autobuild.common.AutobuildError: invalid 'pathcheck' setting for 'boto'

looking at it, the file still contains 'pathcheck' : "lib/python2.5/boto"
 
what is "boto" btw?  did i miss installing something?   there are no boto 
packages that i can find
 
 
> From: thickbrick.sleaf...@gmail.com
> To: opensource-dev@lists.secondlife.com
> Subject: Re: [opensource-dev] Hacking up to Visual Studio 2010 ...
> Date: Fri, 18 Feb 2011 17:03:05 +0200
> CC: twisted_l...@hotmail.com
> 
> That's what I did (together with /usr/local/bin/autobuild). Maybe there's a 
> proper way of removing packages installed with easy_install, but I couldn't 
> figure it out...
> 
> 
> -- 
> Thickbrick
  ___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] Hacking up to Visual Studio 2010 ...

2011-02-18 Thread Brandon Husbands
An integrated interface to current and future infrastructural services
offered by Amazon Web Services. Currently, this includes:

   - Simple Storage Service (S3)
   - SimpleQueue Service (SQS)
   - Elastic Compute Cloud (EC2)
   - Mechanical Turk
   - SimpleDB
   - CloudFront
   - CloudWatch
   - AutoScale
   - Elastic Load Balancer (ELB)
   - Virtual Private Cloud (VPC)
   - Elastic Map Reduce (EMR)
   - Relational Data Service (RDS)
   - Simple Notification Server (SNS)
   - Google Storage
   - Identity and Access Management (IAM)
   - Route53 DNS Service (route53)

I dont think its really needed.


For pythons uninstall with easy_install

Uninstalling Packages

If you have replaced a package with another version, then you can just
delete the package(s) you don't need by deleting the
PackageName-versioninfo.egg file or directory (found in the installation
directory).

If you want to delete the currently installed version of a package (or all
versions of a package), you should first run:

easy_install -mxN PackageName

This will ensure that Python doesn't continue to search for a package you're
planning to remove. After you've done this, you can safely delete the .egg
files or directories, along with any scripts you wish to remove.



On Fri, Feb 18, 2011 at 9:28 AM, Twisted Laws wrote:

>  hmmm...  ok, so i removed them...   './setup.py build' works ok and i
> added autobuild/bin to path and I still get the same error from running
>
> $ autobuild configure -c OpenSourceRelWithDebInfo
>
> autobuild.common.AutobuildError: invalid 'pathcheck' setting for 'boto'
>
> looking at it, the file still contains 'pathcheck' : "lib/python2.5/boto"
>
> what is "boto" btw?  did i miss installing something?   there are no boto
> packages that i can find
>
>
>
> > From: thickbrick.sleaf...@gmail.com
> > To: opensource-dev@lists.secondlife.com
> > Subject: Re: [opensource-dev] Hacking up to Visual Studio 2010 ...
> > Date: Fri, 18 Feb 2011 17:03:05 +0200
>
> > CC: twisted_l...@hotmail.com
> >
> > That's what I did (together with /usr/local/bin/autobuild). Maybe there's
> a
> > proper way of removing packages installed with easy_install, but I
> couldn't
> > figure it out...
> >
> >
> > --
> > Thickbrick
>
> ___
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/OpenSource-Dev
> Please read the policies before posting to keep unmoderated posting
> privileges
>



-- 
---
This email is a private and confidential communication. Any use of email may
be subject to the laws and regulations of the United States. You may not
Repost, Distribute nor reproduce any content of this message.
---
---
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] Review Request: VWR-22220 Chat preferences > font size should increase size of input text as well

2011-02-18 Thread Vadim ProductEngine


> On Feb. 15, 2011, 6:40 a.m., Vadim ProductEngine wrote:
> > indra/newview/llchatbar.h, line 83
> > 
> >
> > Use tabs for indentation, not spaces.
> > 
> > This note seems to apply to all modified lines in this patch.
> 
> Jonathan Yap wrote:
> Using spaces is specified in the coding standard:
> http://wiki.secondlife.com/wiki/Coding_standard#Indentation
> This preference was made explicit on Feb 3.
> 
> Vadim ProductEngine wrote:
> Hmmm. This is news to me. Ok, please use tabs anyway to be consistent 
> with surrounding code.

BTW, the recent change to the coding standard has been rolled back, so tabs are 
mandatory again.


- Vadim


---
This is an automatically generated e-mail. To reply, visit:
http://codereview.secondlife.com/r/139/#review362
---


On Feb. 18, 2011, 7:11 a.m., Jonathan Yap wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> http://codereview.secondlife.com/r/139/
> ---
> 
> (Updated Feb. 18, 2011, 7:11 a.m.)
> 
> 
> Review request for Viewer.
> 
> 
> Summary
> ---
> 
> This is a request for help.  I am trying to learn more about c++ and how 
> variables in one class are accessed from another.  For someone who knows what 
> they are doing this is probably a pretty easy question.
> 
> I have been able to set the font size on the chat input box when it is 
> created in llbottomtray.cpp.  I would like to do the same thing when someone 
> clicks in that box to input text; it is possible they have changed the font 
> setting and I would like to apply the size there as well, but I am stuck on 
> how to do this.  I think the right place to do this is in 
> llchatbar.cpp/LLChatBar::onInputEditorGainFocus().
> 
> I have tried all kinds of wrong ways but at this point am stymied.
> 
> Exact steps on how to proceed would be appreciated.
> 
> 
> This addresses bug vwr-0.
> http://jira.secondlife.com/browse/vwr-0
> 
> 
> Diffs
> -
> 
>   indra/newview/llbottomtray.h 3d2e71443c58 
>   indra/newview/llbottomtray.cpp 3d2e71443c58 
>   indra/newview/llchatbar.h 3d2e71443c58 
>   indra/newview/llchatbar.cpp 3d2e71443c58 
> 
> Diff: http://codereview.secondlife.com/r/139/diff
> 
> 
> Testing
> ---
> 
> 
> Thanks,
> 
> Jonathan
> 
>

___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] Hacking up to Visual Studio 2010 ...

2011-02-18 Thread Brandon Husbands
Trying to build with vs2k10 pro


D:\Other\vd\viewer-autobuild>autobuild configure -c OpenSourceRelWithDebInfo
--d
ebug
Configuration file 'D:\Other\vd\viewer-autobuild\autobuild.xml'
configuring in D:\Other\vd\viewer-autobuild\build-vc80
configuring for configuration(s) [{'default': False, 'configure':
{'command': No
ne, 'options': ['-G', '"Visual Studio 8 2005"', '-DSTANDALONE:BOOL=FALSE',
'-DIN
STALL_PROPRIETARY=FALSE', '-DFMOD=FALSE'], 'arguments': None}, 'name':
'OpenSour
ceRelWithDebInfo', 'build': {'command': 'devenv.com', 'options': ['/build',
'Rel
WithDebInfo'], 'arguments': ['SecondLife.sln']}}]
executing configure command cmake -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo
-DUNA
TTENDED:BOOL=OFF -DWORD_SIZE:STRING=32 -DROOT_PROJECT_NAME:STRING=SecondLife
-G
"Visual Studio 8 2005" -DSTANDALONE:BOOL=FALSE -DINSTALL_PROPRIETARY=FALSE
-DFMO
D=FALSE ../indra
CMake Error: CMake was unable to find a build program corresponding to
"Visual S
tudio 8 2005".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select
a di
fferent build tool.
CMake Error: Could not find cmake module
file:D:/Other/vd/viewer-autobuild/build
-vc80/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Could not find cmake module
file:D:/Other/vd/viewer-autobuild/build
-vc80/CMakeFiles/CMakeCXXCompiler.cmake
-- Configuring incomplete, errors occurred!
default configuration returned 1
Traceback (most recent call last):
  File "D:\Python26\Scripts\autobuild", line 47, in 
sys.exit( Autobuild().main(sys.argv[1:]) )
  File "D:\Python26\lib\site-packages\autobuild\autobuild_main.py", line
188, in
 main
tool_to_run.run(args)
  File
"D:\Python26\lib\site-packages\autobuild\autobuild_tool_configure.py", li
ne 88, in run
raise ConfigurationError("default configuration returned %d" % (result))
ConfigurationError: default configuration returned 1
ERROR: default configuration returned 1
For more information: try re-running your command with --verbose or --debug

D:\Other\vd\viewer-autobuild>

On Wed, Feb 16, 2011 at 3:01 PM, Oz Linden (Scott Lawrence) <
o...@lindenlab.com> wrote:

>
> Tomorrow and Friday (Feb 17 & 18), Linden Lab is going to be holding an
> in-house Hackathon (stopping work on many other things, getting many
> developers together all at once, and focusing on getting a lot done in short
> time) to upgrade our builds of all our libraries and the viewer to a new
> toolchain, including our new package management tool 
> (autobuild)
> and Visual Studio 2010 for Windows (yes... about time... whatever... we're
> doing it).
>
> Our goals are simply stated:
>
>1. Get all open source components into repositories under
>hg.secondlife.com (eg bitbucket.org/lindenlab/).  All the third party
>components (things not created by LL) that we incorporate will be in
>repositories named with the prefix "3p-".  Most of these repositories exist
>now, but not all have sources in them yet.
>2. Get each component packaged with an autobuild configuration for
>whatever platforms it is needed on.
>3. Get each component needed on Windows building under autobuild with
>VS 2010.
>4. Get a TeamCity-automated build configured for each component
>repository with the resulting prebuilds of open components uploaded to
>public directories.
> 5. Get the viewer built using the resulting prebuilt libraries, also
>under autobuild with VS 2010.
>
> We also expect to integrate some automated viewer testing into our
> automated viewer builds, but none of that will be externally visible.
>
> If you make a chart with a row for each component, and a column for each of
> 1 through 4 above, it's a lot of boxes to fill in... many have already been
> done: there are some complete rows, but it's still a big job.
>
> I will be providing public updates on the wiki (form and location TBD...
> watch this thread) and on the #opensl IRC channel of how we're doing and the
> status of each public repository.
>
> A non-goal for the Lindens is building the components with Visual Studio
> Express.  There is currently a limitation (see OPEN-1 in jira) that makes
> using Express cumbersome (it requires separate configuration). We do
> recognize that Express is important to open developers, and want it to be
> supported, but there's only so much we can do ourselves in two days.  There
> is an autobuild configuration checked in for building the viewer under
> autobuild including VS Express:
> http://bitbucket.org/oz_linden/viewer-autobuild
>
>
> I'm going to try to get some supporting documentation up on the wiki today
> or early tomorrow.  It should be possible for open developers to help us
> test whether or not the component builds can be used in Express as we go
> along.  If people want to do that and feed me changes, I'll try to get them
> incorporated in real time as much as possible.
>
> Once all this is done (and it probably will not b

Re: [opensource-dev] Hacking up to Visual Studio 2010 ...

2011-02-18 Thread Twisted Laws

in my case, i copied autobuild.xml to altered.xml and changed all occurrances 
of '"Visual Studio 8 2005" to "Visual Studio 10" and then specified it on the 
autobuild command line with --config_file altered.xml 
 
then it works but I have problems getting googlebreakpad, but thats a different 
issue
 


Date: Fri, 18 Feb 2011 10:51:24 -0600
From: xot...@gmail.com
To: o...@lindenlab.com
CC: opensource-dev@lists.secondlife.com
Subject: Re: [opensource-dev] Hacking up to Visual Studio 2010 ...

Trying to build with vs2k10 pro


D:\Other\vd\viewer-autobuild>autobuild configure -c OpenSourceRelWithDebInfo --d
ebug
Configuration file 'D:\Other\vd\viewer-autobuild\autobuild.xml'
configuring in D:\Other\vd\viewer-autobuild\build-vc80
configuring for configuration(s) [{'default': False, 'configure': {'command': No
ne, 'options': ['-G', '"Visual Studio 8 2005"', '-DSTANDALONE:BOOL=FALSE', '-DIN
STALL_PROPRIETARY=FALSE', '-DFMOD=FALSE'], 'arguments': None}, 'name': 'OpenSour
ceRelWithDebInfo', 'build': {'command': 'devenv.com', 'options': ['/build', 'Rel
WithDebInfo'], 'arguments': ['SecondLife.sln']}}]
executing configure command cmake -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DUNA
TTENDED:BOOL=OFF -DWORD_SIZE:STRING=32 -DROOT_PROJECT_NAME:STRING=SecondLife -G
"Visual Studio 8 2005" -DSTANDALONE:BOOL=FALSE -DINSTALL_PROPRIETARY=FALSE -DFMO
D=FALSE ../indra
CMake Error: CMake was unable to find a build program corresponding to "Visual S
tudio 8 2005".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a di
fferent build tool.
CMake Error: Could not find cmake module file:D:/Other/vd/viewer-autobuild/build
-vc80/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Could not find cmake module file:D:/Other/vd/viewer-autobuild/build
-vc80/CMakeFiles/CMakeCXXCompiler.cmake
-- Configuring incomplete, errors occurred!
default configuration returned 1
Traceback (most recent call last):
  File "D:\Python26\Scripts\autobuild", line 47, in 
sys.exit( Autobuild().main(sys.argv[1:]) )
  File "D:\Python26\lib\site-packages\autobuild\autobuild_main.py", line 188, in
 main
tool_to_run.run(args)
  File "D:\Python26\lib\site-packages\autobuild\autobuild_tool_configure.py", li
ne 88, in run
raise ConfigurationError("default configuration returned %d" % (result))
ConfigurationError: default configuration returned 1
ERROR: default configuration returned 1
For more information: try re-running your command with --verbose or --debug

D:\Other\vd\viewer-autobuild>


On Wed, Feb 16, 2011 at 3:01 PM, Oz Linden (Scott Lawrence) 
 wrote:



Tomorrow and Friday (Feb 17 & 18), Linden Lab is going to be holding an 
in-house Hackathon (stopping work on many other things, getting many developers 
together all at once, and focusing on getting a lot done in short time) to 
upgrade our builds of all our libraries and the viewer to a new toolchain, 
including our new package management tool (autobuild) and Visual Studio 2010 
for Windows (yes... about time... whatever... we're doing it).

Our goals are simply stated:


Get all open source components into repositories under hg.secondlife.com (eg 
bitbucket.org/lindenlab/).  All the third party components (things not created 
by LL) that we incorporate will be in repositories named with the prefix "3p-". 
 Most of these repositories exist now, but not all have sources in them yet.
Get each component packaged with an autobuild configuration for whatever 
platforms it is needed on.
Get each component needed on Windows building under autobuild with VS 2010.
Get a TeamCity-automated build configured for each component repository with 
the resulting prebuilds of open components uploaded to public directories.

Get the viewer built using the resulting prebuilt libraries, also under 
autobuild with VS 2010.We also expect to integrate some automated viewer 
testing into our automated viewer builds, but none of that will be externally 
visible.

If you make a chart with a row for each component, and a column for each of 1 
through 4 above, it's a lot of boxes to fill in... many have already been done: 
there are some complete rows, but it's still a big job.

I will be providing public updates on the wiki (form and location TBD... watch 
this thread) and on the #opensl IRC channel of how we're doing and the status 
of each public repository.

A non-goal for the Lindens is building the components with Visual Studio 
Express.  There is currently a limitation (see OPEN-1 in jira) that makes using 
Express cumbersome (it requires separate configuration). We do recognize that 
Express is important to open developers, and want it to be supported, but 
there's only so much we can do ourselves in two days.  There is an autobuild 
configuration checked in for building the viewer under autobuild including VS 
Express: http://bitbucket.org/oz_linden/viewer-autobuild


I'm going to try to get some supporting documentation up on the wiki today or 
early tomorrow.  It should be possible for open developers to hel

Re: [opensource-dev] Hacking up to Visual Studio 2010 ...

2011-02-18 Thread Brandon Husbands
Heheh ty for the tip..

Though as this is testing for it.. i figured they aughta know that its not
selecting whats installed. =)


On Fri, Feb 18, 2011 at 11:29 AM, Twisted Laws wrote:

>  in my case, i copied autobuild.xml to altered.xml and changed all
> occurrances of '"Visual Studio 8 2005" to "Visual Studio 10" and then
> specified it on the autobuild command line with --config_file altered.xml
>
> then it works but I have problems getting googlebreakpad, but thats a
> different issue
>
> --
> Date: Fri, 18 Feb 2011 10:51:24 -0600
> From: xot...@gmail.com
> To: o...@lindenlab.com
> CC: opensource-dev@lists.secondlife.com
>
> Subject: Re: [opensource-dev] Hacking up to Visual Studio 2010 ...
>
> Trying to build with vs2k10 pro
>
>
> D:\Other\vd\viewer-autobuild>autobuild configure -c
> OpenSourceRelWithDebInfo --d
> ebug
> Configuration file 'D:\Other\vd\viewer-autobuild\autobuild.xml'
> configuring in D:\Other\vd\viewer-autobuild\build-vc80
> configuring for configuration(s) [{'default': False, 'configure':
> {'command': No
> ne, 'options': ['-G', '"Visual Studio 8 2005"', '-DSTANDALONE:BOOL=FALSE',
> '-DIN
> STALL_PROPRIETARY=FALSE', '-DFMOD=FALSE'], 'arguments': None}, 'name':
> 'OpenSour
> ceRelWithDebInfo', 'build': {'command': 'devenv.com', 'options':
> ['/build', 'Rel
> WithDebInfo'], 'arguments': ['SecondLife.sln']}}]
> executing configure command cmake -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo
> -DUNA
> TTENDED:BOOL=OFF -DWORD_SIZE:STRING=32
> -DROOT_PROJECT_NAME:STRING=SecondLife -G
> "Visual Studio 8 2005" -DSTANDALONE:BOOL=FALSE -DINSTALL_PROPRIETARY=FALSE
> -DFMO
> D=FALSE ../indra
> CMake Error: CMake was unable to find a build program corresponding to
> "Visual S
> tudio 8 2005".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select
> a di
> fferent build tool.
> CMake Error: Could not find cmake module
> file:D:/Other/vd/viewer-autobuild/build
> -vc80/CMakeFiles/CMakeCCompiler.cmake
> CMake Error: Could not find cmake module
> file:D:/Other/vd/viewer-autobuild/build
> -vc80/CMakeFiles/CMakeCXXCompiler.cmake
> -- Configuring incomplete, errors occurred!
> default configuration returned 1
> Traceback (most recent call last):
>   File "D:\Python26\Scripts\autobuild", line 47, in 
> sys.exit( Autobuild().main(sys.argv[1:]) )
>   File "D:\Python26\lib\site-packages\autobuild\autobuild_main.py", line
> 188, in
>  main
> tool_to_run.run(args)
>   File
> "D:\Python26\lib\site-packages\autobuild\autobuild_tool_configure.py", li
> ne 88, in run
> raise ConfigurationError("default configuration returned %d" %
> (result))
> ConfigurationError: default configuration returned 1
> ERROR: default configuration returned 1
> For more information: try re-running your command with --verbose or --debug
>
> D:\Other\vd\viewer-autobuild>
>
> On Wed, Feb 16, 2011 at 3:01 PM, Oz Linden (Scott Lawrence) <
> o...@lindenlab.com> wrote:
>
>
> Tomorrow and Friday (Feb 17 & 18), Linden Lab is going to be holding an
> in-house Hackathon (stopping work on many other things, getting many
> developers together all at once, and focusing on getting a lot done in short
> time) to upgrade our builds of all our libraries and the viewer to a new
> toolchain, including our new package management tool 
> (autobuild)
> and Visual Studio 2010 for Windows (yes... about time... whatever... we're
> doing it).
>
> Our goals are simply stated:
>
>1. Get all open source components into repositories under
>hg.secondlife.com (eg bitbucket.org/lindenlab/).  All the third party
>components (things not created by LL) that we incorporate will be in
>repositories named with the prefix "3p-".  Most of these repositories exist
>now, but not all have sources in them yet.
>2. Get each component packaged with an autobuild configuration for
>whatever platforms it is needed on.
>3. Get each component needed on Windows building under autobuild with
>VS 2010.
>4. Get a TeamCity-automated build configured for each component
>repository with the resulting prebuilds of open components uploaded to
>public directories.
>5. Get the viewer built using the resulting prebuilt libraries, also
>under autobuild with VS 2010.
>
> We also expect to integrate some automated viewer testing into our
> automated viewer builds, but none of that will be externally visible.
>
> If you make a chart with a row for each component, and a column for each of
> 1 through 4 above, it's a lot of boxes to fill in... many have already been
> done: there are some complete rows, but it's still a big job.
>
> I will be providing public updates on the wiki (form and location TBD...
> watch this thread) and on the #opensl IRC channel of how we're doing and the
> status of each public repository.
>
> A non-goal for the Lindens is building the components with Visual Studio
> Express.  There is currently a limitation (see OPEN-1 in jira) that makes