Closed
Bug 750911
Opened 12 years ago
Closed 12 years ago
Review and land metro specific toolkit/xre changes
Categories
(Toolkit :: Startup and Profile System, defect)
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: jimm, Assigned: jimm)
References
Details
Attachments
(2 files, 5 obsolete files)
9.85 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
2.25 KB,
patch
|
Callek
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Updated•12 years ago
|
Summary: Review and land Fx metro specific XRE changes → Review and land metro specific toolkit/xre changes
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Comment 2•12 years ago
|
||
Assignee | ||
Comment 4•12 years ago
|
||
adds an xre entry point for setting or querying the current windows environment xul lib is using.
Attachment #622706 -
Attachment is obsolete: true
Attachment #622724 -
Flags: review?(benjamin)
Assignee | ||
Comment 5•12 years ago
|
||
Comment on attachment 622710 [details] [diff] [review] metro app runner v.1 metro xre_main entry points currently in use on elm.
Attachment #622710 -
Flags: review?(netzen)
Comment 6•12 years ago
|
||
Comment on attachment 622710 [details] [diff] [review] metro app runner v.1 Review of attachment 622710 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/xre/nsAppRunner.cpp @@ +3940,5 @@ > +{ > + nsresult rv; > + > + bool exit = false; > + if (xreMainPtr->XRE_mainStartup(&exit) != 0 || !exit) Shouldn't this be || exit?
Attachment #622710 -
Flags: review?(netzen)
Assignee | ||
Updated•12 years ago
|
Attachment #622710 -
Attachment is obsolete: true
Assignee | ||
Comment 7•12 years ago
|
||
fix for bad exit flag check.
Attachment #622744 -
Flags: review?(netzen)
Updated•12 years ago
|
Attachment #622744 -
Flags: review?(netzen) → review+
Assignee | ||
Comment 8•12 years ago
|
||
minor update - make sWindowsEnvironmentType static.
Attachment #622724 -
Attachment is obsolete: true
Attachment #622724 -
Flags: review?(benjamin)
Attachment #624027 -
Flags: review?(benjamin)
Comment 9•12 years ago
|
||
Comment on attachment 624027 [details] [diff] [review] xre win env setting v.1 Who calls this API? Why wouldn't we just want this to be a flag to XRE_main, so that there isn't a chance of resetting it to the wrong value?
Assignee | ||
Comment 10•12 years ago
|
||
(In reply to Benjamin Smedberg [:bsmedberg] from comment #9) > Comment on attachment 624027 [details] [diff] [review] > xre win env setting v.1 > > Who calls this API? Why wouldn't we just want this to be a flag to XRE_main, > so that there isn't a chance of resetting it to the wrong value? The metro browserapp currently calls it. Widget also calls the get function to check the value. By flag to XRE_main, do you mean a command line flag? I'm fine with that, although I like the api better. :) Anybody who goes against the comments and tries to reset it mid-run will soon find out that does not work. I'd also like to keep the (mostly) internal get function rather than exposing a global variable.
Assignee | ||
Comment 11•12 years ago
|
||
If the big issue is post main changes to the value, I can put together a patch that adds a flag that's set after main is called. We could then assert if someone tries to change the value after things get going.
Comment 12•12 years ago
|
||
No, not a commandline flag, a flag parameter, e.g. #define XRE_FLAG_USE_METRO 0x1 143 XRE_API(int, 144 XRE_main, (int argc, char* argv[], const nsXREAppData* sAppData, PRUint32 flags)) Then you can have a getter if other code needs it, but you don't need a setter. I just don't think that a setter function makes any sense in context.
Assignee | ||
Comment 13•12 years ago
|
||
Comment on attachment 622744 [details] [diff] [review] metro app runner v.2 Moving this patch to bug 750901 since it depends on XRE_MetroCoreApplicationRun().
Attachment #622744 -
Attachment is obsolete: true
Assignee | ||
Comment 14•12 years ago
|
||
Assignee: nobody → jmathies
Attachment #624027 -
Attachment is obsolete: true
Attachment #624027 -
Flags: review?(benjamin)
Attachment #626816 -
Flags: review?(benjamin)
Assignee | ||
Comment 15•12 years ago
|
||
Updated•12 years ago
|
Attachment #626816 -
Flags: review?(benjamin) → review+
Assignee | ||
Updated•12 years ago
|
Attachment #626817 -
Flags: review?(bugspam.Callek)
Updated•12 years ago
|
Attachment #626817 -
Flags: review?(bugspam.Callek) → review+
Assignee | ||
Comment 16•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0d1dcdf58ffb https://hg.mozilla.org/comm-central/rev/8f91e6d380a6
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Target Milestone: --- → mozilla15
You need to log in
before you can comment on or make changes to this bug.
Description
•