[sldev] [VWR] Compiling 1.18.6.1, standalone build and no llmozlib

Argent Stonecutter secret.argent at gmail.com
Mon Dec 17 14:40:31 PST 2007


Seems to me like you ought to make sure that web_browser is  
initialized == 0 and then making these changes...

On 2007-12-17, at 15:24, Callum Lerwick wrote:
> Okay, so I'm trying to compile 1.18.6.1. Standalone build, and am I  
> the
> only one compiling without llmozlib anymore?
>
> As usual it didn't compile out of the box. I had to hack it like so to
> get it to compile:
>
> --- linden.orig/indra/newview/llpanellogin.cpp  2007-12-12  
> 18:10:06.000000000 -0600
> +++ linden.patched/indra/newview/llpanellogin.cpp       2007-12-17  
> 13:05:20.000000000 -0600
> @@ -523,11 +523,11 @@
>
>         if( web_browser )
>         {
>             if ( !gFocusMgr.getKeyboardFocus() )
>             {
>                 // Grab focus and move cursor to first enabled control
>                 web_browser->setFocus(TRUE);
>             }
>
>             // Make sure that focus always goes here (and use the  
> latest sInstance that was just created)
>             gFocusMgr.setDefaultKeyboardFocus(web_browser);
>         }
>  }
>
>
> @@ -554,7 +554,7 @@
>
>         if (web_browser)
>         {
>                web_browser->setAlwaysRefresh(refresh);
>         }
>  }
>
> @@ -669,7 +669,7 @@
>  #endif
>
>         // navigate to the "real" page
>         if (web_browser)
>         {
>             web_browser->navigateTo( oStr.str() );
>         }
>  }
>
>  #if LL_LIBXUL_ENABLED
>

Then you'll probably find other places that depend on web_browser.

What you may have to do is diff with the last normal release and see  
if the old code for the login panel has been torched, and pull it  
back in if needed. Then look at the form it's fetching with gecko and  
generating a submit of that form from the data in the old login panel.

Better now than later.



More information about the SLDev mailing list