Re: I think XUL overlays should also ignore query strings.

2015-08-16 Thread Neil
Philip Chee wrote: The first question that occurs to me is what is the rationale? Can we revisit this in 2015 to see if the original reason still holds? Back then ignoring the hash or the search were equally complicated; nowadays ignoring the hash is relatively easy. Anne van Kesteren wrote

Re: You can now freely mix declarations and statements in all Mozilla C code

2015-09-10 Thread Neil
Nicholas Nethercote wrote: Therefore, 16 years later, you can now mix statements and declarations freely in Mozilla C code. We still have Mozilla C code? -- Warning: May contain traces of nuts. ___ dev-platform mailing list dev-platform@lists.mozi

Re: Is there any events before loading a URL to a docshell.

2015-09-15 Thread Neil
Mike Conley wrote: From the passed in nsIWebProgress[1], you should be able to get at the nsIDOMWindow, and from there, I *think* you can get to the nsIDocShell by QI'ing the nsIWebProgress to an nsIInterfaceRequestor and then GetInterface'ing nsIDocShell. I haven't tried this, but I'm reason

Re: Alternative to Bonsai?

2015-09-15 Thread Neil
Joshua Cranmer 🐧 wrote: There is no git or mercurial repository that contains the full history of mozilla CVS. Slightly unsurprising, since the full history of mozilla CVS actually breaks most conversion tools. Even "CVS moved" files throw them a loop, I tried looking for blame for some code

Re: Changes in chrome JS code due to ES6 global lexical scope

2015-09-17 Thread Neil
Shu-yu Guo wrote: 4. The global lexical scope is extensible. This means dynamic scope (lol!): function f() { dump(x); } f(); // prints undefined​ ​ ​let x = 42; f(); // prints 42 Would you mind clarifying what this is supposed to demonstrate? It looks to me that this is demonstrating TDZ

Re: Changes in chrome JS code due to ES6 global lexical scope

2015-09-18 Thread Neil
Shu-yu Guo wrote: Good catch and thanks for the correction! The take-home from the example is that: due to the global lexical scope, a TDZ error could arise later due to newly introduced bindings. So for that I guess the code would have to look like this? var x; function f() { dump(x); } f()

Re: CloseFile() latency on Windows

2015-09-29 Thread Neil
Gregory Szorc wrote: Files are opened with _fopen() in "a+" mode if it matters. I can also repro in "a" mode. ... Short of going full overlapped I/O Overlapped I/O isn't supported for operations that change the valid data length of the file. http://blogs.msdn.com/b/oldnewthing/archive/

Re: Building js/xul/css from Firefox faster

2015-10-02 Thread Neil
Mike Hommey wrote: ./mach build faster So is this the complete opposite of ./mach build binaries? -- Warning: May contain traces of nuts. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Intent to unship: jar: URIs from content

2015-10-15 Thread Neil
Robert O'Callahan wrote: I'm sad that I won't be able to use jar: URLs to load testcases in ZIP files uploaded to Bugzilla Or indeed any ZIP-like file, once you flip the appropriate pref. -- Warning: May contain traces of nuts. ___ dev-platform mai

Re: How to stop the docShell to loading new URIs

2015-11-12 Thread Neil
Yonggang Luo wrote: I opened a window and I don't hope it's loading anymore URIs into the docShell. How to configure the docShell to do that. I think you can associate an nsIURIContentListener with the docShell and then the listener can tell the docShell not to handle content. (Sorry but I

Re: FYI: updating yasm on build machines

2015-11-20 Thread Neil
Chris Peterson wrote: mozilla-build tools already use 1.3 When did it get upgraded? (My mozilla-build only has yasm 1.1) -- Warning: May contain traces of nuts. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/l

Re: Question: "Chrome file doesn't exist: ..." in |make mozmill| log by running DEBUG versions of C-C TB

2015-11-25 Thread Neil
ISHIKAWA,chiaki wrote: Does anybody have an idea of the issue of > 113 Chrome file doesn't exist: /NREF-COMM-CENTRAL/objdir-tb3/dist/bin/chrome/messenger/content/messenger/messengercompose/null "null" can't be right. A test is probably trying to set the src of an image to null instea

Re: e10s tests

2016-01-26 Thread neil
ing existing tests and for writing new tests. This is based on a similar talk I gave during the last work week. I can help anyone with converting and enabling tests; if not, the rest of the e10s team will be happy to help with any test issues. Neil _

Re: How does one debug uninitialized value usage from JavaScript (TB) ?

2013-02-25 Thread Neil
ISHIKAWA, Chiaki wrote: So the problem is in the interface between XPCOM and JavaScript. Or that the routine on the other side of XPCOM forgets to return a valid value and instead leaves uninitialized memory in the data passed to the interface. Ugh, really hard bug to debug :-( I agree, this

Re: How does one debug uninitialized value usage from JavaScript (TB) ?

2013-02-26 Thread Neil
ishikawa wrote: >By the way, does looking at IDL header/declaration files help me to figure out >where the double is returned? > You would have to peek in the locals on the stack to find out exactly which interface is being called. I don't know how to do this. -- Warning: May contain traces of

Re: XHR multipart/x-mixed-replace changed in the last Nightly?

2013-03-06 Thread Neil
Jan Honza Odvarko wrote: It looks like support for Content-type: multipart/x-mixed-replace; change in the last Nighly. https://bugzilla.mozilla.org/show_bug.cgi?id=843508 perhaps. -- Warning: May contain traces of nuts. ___ dev-platform mailing lis

ChromeWorkers and staying off the Main thread

2013-03-14 Thread neil
e overhead of a Worker handler would seem worthwhile. Cheers, Neil ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: ChromeWorkers and staying off the Main thread

2013-03-14 Thread neil
ost a response back to the correct onmessage handler. Just wondered if there's something more elegant I'm missing? Cheers, Neil ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Bug 851818 - Modernizing the Enter Bug Entry Page in Bugzilla

2013-03-19 Thread Neil
jsmith.mozi...@gmail.com wrote: I disagree on Calendar being on that list. Doing some Bugzilla diving shows that the number of bugs filed in Calendar over the past month was around ~30 or so bugs. That's less than the Gaia Calendar app itself (which is a Bugzilla component) Are these bugs f

getter_AddRefs

2013-03-26 Thread Neil
Why does getter_AddRefs have an operator nsISupports**? So far most of the uses I've found appear to be people enumerating an nsISimpleEnumerator directly into an nsCOMPtr type, although the documented idl return value is nsISupports. Is this an acceptable paradigm? -- Warning: May contain tra

Re: getter_AddRefs

2013-03-29 Thread Neil
Benjamin Smedberg wrote: On 3/26/2013 10:16 AM, Neil wrote: Why does getter_AddRefs have an operator nsISupports**? So far most of the uses I've found appear to be people enumerating an nsISimpleEnumerator directly into an nsCOMPtr type, although the documented idl return val

Re: Automatic tree clobbering is coming

2013-03-29 Thread Neil
Gregory Szorc wrote: * Your mozconfig contains |mk_add_options NO_AUTOCLOBBER=1| or your environment contains NO_AUTOCLOBBER. Exactly what happens in this case, does it still fail in configure? (The old failure mode was not detectable by client.mk so you had to manually reconfigure.) * Th

Re: End of life for tinderbox.mozilla.org

2013-04-03 Thread Neil
John O'Duinn wrote: NOTE: This announcement is *only* about decommissioning tinderbox.m.o. Obviously, the "new" tbpl.m.o will continue in full production use, but I wanted to be explicit to avoid any confusion/concerns. Since tinderboxpushlog no longer uses tinderbox, maybe it should get ren

Re: Proposal for using a multi-headed tree instead of inbound

2013-04-04 Thread Neil
Gregory Szorc wrote: Here is the percent of total builder time we spent performing jobs broken down by tree: inbound 43.98% try 27.48% central 5.24% ... We have an inbound and try problem. After patches have passed try, do people then push them to inbound, because they don't want

Re: [devtools] Ready to replace the Error Console: the Browser Console landed

2013-04-10 Thread Neil
Mihai Sucan wrote: let console = Cu.import("resource://gre/modules/devtools/Console.jsm", {}).console; Why not just import Console.jsm directly? -- Warning: May contain traces of nuts. ___ dev-platform mailing list dev-platform@lists.mozilla.org

Re: New packaging code

2013-04-11 Thread Neil
Mike Hommey wrote: * MOZ_CHROME_FILE_FORMAT/--enable-chrome-format is still used to select the chrome format for the packaged application, but what is installed under dist/bin is now always as if MOZ_CHROME_FILE_FORMAT was flat or symlink (depending on the platform).

Re: reorganizing some test directories

2013-04-11 Thread Neil
Gregory Szorc wrote: We should eventually be able to get to a state where there are no moz.build/Makefile.in files in test directories. Well, at least for test suites using manifests to define test files (xpcshell, mochitest, reftest, possibly others). Do these manifests include associated

Re: Preparing for the next windows PGO build memory exhaustion

2013-04-16 Thread Neil
Ehsan Akhgari wrote: there was something common in all four of them, they _all_ included changes to the build system which would cause most of the tree to be rebuilt *snip* Is this merely a correlation? Surely if it wasn't, then clobber builds would have the lowest memory consumption?

Re: Clearing appcache entries

2013-04-16 Thread Neil
mratcli...@mozilla.com wrote: I believe I can clear *all* appcache entries using: Services.cache.evictEntries(Ci.nsICache.STORE_OFFLINE); But how the heck do I: - Clear all entries for a single cache group - Clear all entries for a string match (e.g. domain) - Clear a single entry (or by URI)

Re: Some data on mozilla-inbound

2013-04-23 Thread Neil
Kartikaya Gupta wrote: The vast majority of changesets that are backed out from inbound are detectable on a try push Hopefully a push never burns all platforms because the developer tried it locally first, but stranger things have happened! But what I'm most interested in is whether patches

Re: JavaScript reference changes: looking for opinions

2013-04-23 Thread Neil
Eric Shepherd wrote: Currently, the JavaScript reference content for the global classes (String, Array, etc), are divided up such that the class methods and properties and the prototype methods and properties are documented separately Function doesn't appear to be divided, while Object appea

Re: Some data on mozilla-inbound

2013-04-25 Thread Neil
Justin Lebar wrote: Note that we don't have enough capacity to turn around current try requests within a reasonable amount of time. Is this because people are requesting too much because try chooser simply isn't sufficiently descriptive for what people want? -- Warning: May contain traces o

Re: Storage in Gecko

2013-04-26 Thread Neil
Gregory Szorc wrote: c) I/O is synchronous. To be fair, the pref API is mostly reading and writing a big hashtable; few functions actually do any I/O. e) The API is awkward. Well, XPCOM was all the rage at the time. (Then again, so was RDF, and its dynamic bulk read API is still better

Re: Proposal for an inbound2 branch

2013-05-02 Thread Neil
Ryan VanderMeulen wrote: My proposal: -Create an inbound2 branch identically configured to mozilla-inbound. -Under normal circumstances (i.e. m-i open), inbound2 will be CLOSED. -In the event of a long tree closure, the last green changeset from m-i will be merged to inbound2 and inbound2 will

Re: Proposal for an inbound2 branch

2013-05-02 Thread Neil
Ehsan Akhgari wrote: Multiheaded repos are evil. They're very hard to deal with, and I don't think that buildbot can deal with them properly. Also, they cannot be represented in git, which means that they will break the git mirror. Why does mozilla-inbound need a git mirror? -- Warning: M

Re: Proposal for an inbound2 branch

2013-05-03 Thread Neil
Ehsan Akhgari wrote: On 2013-05-02 9:29 AM, Neil wrote: Ehsan Akhgari wrote: Multiheaded repos are evil. They're very hard to deal with, and I don't think that buildbot can deal with them properly. Also, they cannot be represented in git, which means that they will break the

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Neil
Ehsan Akhgari wrote: On 2013-05-02 7:23 PM, Dave Townsend wrote: On 5/2/2013 3:45 PM, Nick Alexander wrote: On 13-05-02 3:09 PM, Josh Matthews wrote: According to http://mxr.mozilla.org/mozilla-central/source/build/dumbmake-dependencies#8, it is equivalent to the following: ./mach bu

Re: smartmake-like functionality has landed in mach

2013-05-04 Thread Neil
Gregory Szorc wrote: On 5/3/2013 11:19 AM, Reuben Morais wrote: You can also use |ac_add_options --with-chrome-format=symlink| to do something similar for the chrome JAR, it doesn't work with stuff that is preprocessed, but greatly reduces the number of files that require rebuildling browser

Re: We should drop MathML

2013-05-09 Thread Neil
Even Raymond Chen wants better MathML support? http://blogs.msdn.com/b/oldnewthing/archive/2013/05/08/10416823.aspx#comments ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Error on startup when registering content policy from bootstrapped extension

2013-05-11 Thread Neil
Gavin Sharp wrote: I believe bz's theory is that the 's binding was being force-applied because the was being wrapped to be passed to your JS-implemented content policy (as aContext). But the original error was that the webNavigation was null... so what's loading the about:blank in the firs

Re: Error on startup when registering content policy from bootstrapped extension

2013-05-12 Thread Neil
Matthew Gertner wrote: On Sunday, May 12, 2013 12:25:59 AM UTC+2, Neil wrote: But the original error was that the webNavigation was null... so what's loading the about:blank in the first place? about:blank is being loaded because the browser is starting up and restoring th

Re: Error on startup when registering content policy from bootstrapped extension

2013-05-13 Thread Neil
Matthew Gertner wrote: On Sunday, May 12, 2013 5:54:04 PM UTC+2, Neil wrote: browsers don't load documents, doc shells do. So, my question is again, where's the doc shell that's loading the about:blank? Ah, I see your point. Maybe it's there but not associated wit

Re: Ordering shutdown observers?

2013-05-15 Thread Neil
Gregory Szorc wrote: Ahh, I was thinking more of JS services. In this world, your manifest adds an entry to the "app-startup" category and your service receives the "app-startup" notification. It is customary for it to register an observer for a later startup phase and finish initialization th

Re: Deferred display of XUL panel containing embedded iframe

2013-05-16 Thread Neil
Matthew Gertner wrote: It seems like the panel is automatically being closed when its hidden property is set to true. display: none; destroys the nsIFrame object (in this case an nsMenuPopupFrame), thus closing the panel. -- Warning: May contain traces of nuts. _

Re: Can't get the xpcom service with do_GetService

2013-07-10 Thread Neil
Gijs Kruitbosch wrote: Don't use the old JSD1 debugger service anymore. It has been replaced by JSD2. Do you mean "replaced" in the sense of "here's how to replace what you were doing in JSD1" or in the sense of "JSD2 is cool! Let's drop JSD1"? -- Warning: May contain traces of nuts. __

Re: Code coverage take 2, and other code hygiene tools

2013-07-10 Thread Neil
Joshua Cranmer 🐧 wrote: if you use --disable-debug --enable-optimize='-g' Custom optimisation flags are not supported and should never have been used to turn on symbols anyway; you should use --disable-debug --enable-debug-symbols --disable-optimize instead. -- Warning: May contain traces

Re: Problem with undefined references when building native extension

2013-07-10 Thread Neil
protocolma...@gmail.com wrote: $(XPCOM_LIBS) \ I *think* this needs to be XPCOM_GLUE_LDOPTS instead. -- Warning: May contain traces of nuts. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev

Re: Heads up: difference in reference counting between Mozilla and WebKit worlds

2013-07-10 Thread Neil
Anthony Jones wrote: On 19/06/13 16:02, Robert O'Callahan wrote: I believe that in Webkit you're not supposed to call "new" directly. Instead you call a static "create" method that returns the equivalent of already_AddRefed. Do they have a lint checker we can use for that? Surely

Re: Changes to file purging during builds

2013-07-10 Thread Neil
Gregory Szorc wrote: This may result in a multi-second "jank" at the beginning of the build. As opposed to the multi-minute "jank" of $(RM) -r _tests ? -- Warning: May contain traces of nuts. ___ dev-platform mailing list dev-platform@lists.mozilla.

Re: Replacing Gecko's URL parser

2013-07-10 Thread Neil
Mike Hommey wrote: Note that some "custom" schemes may be relying on empty host names. In Gecko, we have about:foo as well as resource:///foo. In both cases, foo is the path part. about:foo is actually an nsSimpleURI, not an nsStandardURL, so it just throws when you try to access its host.

Re: Reparenting a XulRunnner window in a Firefox Window

2013-07-10 Thread Neil
Benjamin Smedberg wrote: On Linux and Windows you can mostly do this with windowed plugins and reparented widgets, although you running the risk of introducing new plugin hangs. We should work to make sure that on Windows especially the event loops of the relevant processes are desynchronized.

Re: review stop-energy (was 24hour review)

2013-07-10 Thread Neil
smaug wrote: One thing, which has often brought up, would be to have other automatic coding style checker than just Ms2ger. At least in the DOM land we try to follow the coding style rules rather strictly and it would ease reviewers work if there was some good tool which does the coding style

Re: review stop-energy (was 24hour review)

2013-07-11 Thread Neil
Milan Sreckovic wrote: That last thing was another item I found useful in the previous life. When requesting a review from somebody, people could see "this person currently has X items in their review queue". Even better would be if Bugzilla could compute their median review turnaround for

Re: Automated builds/tests can no longer rely on external resources (aka RelEng firewall now set to Deny-All)

2013-07-11 Thread Neil
Ed Morley wrote: It has been our policy to discourage builds/tests run in automation from relying on resources outside of the build network, to avoid non-deterministic failures across the board and to reduce noise in performance tests. As of Saturday, this policy will be enforced by the RelE

Re: Automated builds/tests can no longer rely on external resources (aka RelEng firewall now set to Deny-All)

2013-07-12 Thread Neil
Ed Morley wrote: On 11 July 2013 21:49:02, Neil wrote: As of Saturday, this policy will be enforced by the RelEng firewall being set to Deny-All by default Is it not possible to modify the .pac file used by tests to stop them accessing any network resources? (Or at least only those that

Double-click test

2013-07-16 Thread Neil
How do I write a test for a double-click event, or does anyone know an existing test that I can cargo-cult from? -- Warning: May contain traces of nuts. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev

Re: Using C++0x auto

2013-07-21 Thread Neil
Justin Lebar wrote: Maybe we should call ours mozilla::move and mozilla::forward so that we can change to std::move and std::forward with minimal pain? Won't that cause confusion if someone accidentally has both using namespace mozilla; and using namespace std; at the same time? -- Warning:

Re: Using C++0x auto

2013-07-22 Thread Neil
Robert O'Callahan wrote: On Mon, Jul 22, 2013 at 3:58 PM, L. David Baron wrote: Is the idea here that nsRefPtr/nsCOMPtr/etc. would have move constructors, and we'd just return them, and the move constructors plus return value optimizations would take care of avoiding excess reference counti

Re: Standard C/C++ and Mozilla

2013-08-01 Thread Neil
Joshua Cranmer 🐧 wrote: On 7/31/2013 9:19 PM, Mike Hommey wrote: Now think of all those NS_LITERAL_STRING() and other horrible boilerplate we have. ... and my next target is s/PRUnichar/char16_t/, the last step of which basically amounts to killing NS_LITERAL_STRING. :-) Will that include

Re: Standard C/C++ and Mozilla

2013-08-01 Thread Neil
Neil wrote: Joshua Cranmer 🐧 wrote: On 7/31/2013 9:19 PM, Mike Hommey wrote: Now think of all those NS_LITERAL_STRING() and other horrible boilerplate we have. ... and my next target is s/PRUnichar/char16_t/, the last step of which basically amounts to killing NS_LITERAL_STRING

Re: std::unique_ptr, std::move,

2013-08-02 Thread Neil
Brian Smith wrote: We have mozilla-build for Windows. From what you say, it sounds like we should have mozilla-build for Linux too that would include a pre-built GCC or Clang or whatever we choose as *the* toolchain for desktop Linux. mozilla-build doesn't include a compiler or SDK. At one po

Re: nsIDownloadManager replaced by Downloads.jsm

2013-08-03 Thread Neil
Paolo Amadini wrote: The complete documentation of the module can be found here: https://developer.mozilla.org/Mozilla/JavaScript_code_modules/Downloads.jsm ... plus you'll need all the subpages for the other objects of course. Do I have to watch the download lists globally in order to fin

Re: nsIDownloadManager replaced by Downloads.jsm

2013-08-03 Thread Neil
Paolo Amadini wrote: On 03/08/2013 17.26, Neil wrote: Do I have to watch the download lists globally in order to find out about new downloads (e.g. from content-disposition: attachment)? Yes, you should add a view to the public and private download lists. So nsIDownloadManagerUI

Re: Use ".then(null, Cu.reportError);" with Promise.jsm

2013-08-09 Thread Neil
Paolo Amadini wrote: This is a quick reminder to anyone writing or reviewing code that uses "Promise.jsm". How do the other promise implementations in the tree compare in this respect? (For instance I suspect it might be feasible for DOM promises to report any pending exception when they g

Re: Updating IDL uuids, and incremental compilation debugging made easier

2013-08-13 Thread Neil
Mike Hommey wrote: Secondly, the build system recently grew a new build-time option to help determine why something is being recompiled (bug 903385). Plus by default it now prints the names of files being linked as well as compiled, which is handy. -- Warning: May contain traces of nuts.

Re: nsIDownloadManager replaced by Downloads.jsm

2013-08-16 Thread Neil
Paolo Amadini wrote: A new about:config preference named "browser.download.useJSTransfer" enables the browser and the Downloads Panel to use the Downloads.jsm module instead of nsIDownloadManager as the back-end. The browser must be restarted for the preference to take effect. Support for th

How to debug Gecko on Linux?

2013-08-19 Thread Neil
Does Linux have a debugging story? On Windows x86 I can happily let the application run and when it crashes I click Debug and WinDbg is launched for me, and I can inspect the crash state and possibly fix things up and resume the application. Or I can launch the application from WinDbg and ignor

Re: Updating IDL uuids, and incremental compilation debugging made easier

2013-08-21 Thread Neil
Mike Hommey wrote: Secondly, the build system recently grew a new build-time option to help determine why something is being recompiled (bug 903385). I'm sure some have tried to used make -d for that, and noticed that on top of being heavily verbose, it also breaks the build in some places. Y

LNK1318: Unexpected PDB error; OK (0)

2013-08-27 Thread Neil
If you're building unoptimised debug on 32-bit Windows then you might run into this error trying to link XUL. Thunderbird probably has the biggest xul.pdb, so those developers would hit this first. All it means is that mspdbsrv.exe has run out of address space. -- Warning: May contain traces o

Re: How to debug Gecko on Linux?

2013-08-30 Thread Neil
Steve Fink wrote: On Mon 19 Aug 2013 01:15:51 PM PDT, Neil wrote: Does Linux have a debugging story? On Windows x86 I can happily let the application run and when it crashes I click Debug and WinDbg is launched for me, and I can inspect the crash state and possibly fix things up and

Re: How to debug Gecko on Linux?

2013-08-31 Thread Neil
Neil wrote: Steve Fink wrote: On Mon 19 Aug 2013 01:15:51 PM PDT, Neil wrote: Does Linux have a debugging story? On Windows x86 I can happily let the application run and when it crashes I click Debug and WinDbg is launched for me, and I can inspect the crash state and possibly fix things

Re: Detection of unlabeled UTF-8

2013-08-31 Thread Neil
Mike Hoye wrote: On 2013-08-30 3:17 PM, Adam Roach wrote: On 8/30/13 14:11, Adam Roach wrote: ...helping the user understand why the headline they're trying to read renders as "Ð' Ð"оÑ?дÑfме пÑEURедложили оÑ,обÑEURаÑ,ÑOE "Ð?обелÑ?" Ñf Ðz(бамÑ< " rather than "? ?

Re: LNK1318: Unexpected PDB error; OK (0)

2013-09-01 Thread Neil
Neil wrote: If you're building unoptimised debug on 32-bit Windows then you might run into this error trying to link XUL. Thunderbird probably has the biggest xul.pdb, so those developers would hit this first. All it means is that mspdbsrv.exe has run out of address space. This cou

Re: Changes to how EXPORTS are handled

2013-09-05 Thread Neil
Mike Hommey wrote: On Wed, Sep 04, 2013 at 11:35:19AM -0700, Gregory Szorc wrote: It's worth explicitly mentioning that tiers limit the ability of the build system to build concurrently. So, we have to choose between speed and a moving/complex target of "dependency correctness." We have ch

Re: How to create a child process in a chrome mochitest?

2013-09-06 Thread Neil
Nicholas Nethercote wrote: In theory, this is as easy as or , or something like that. But I've tried about 80 different variations on these, and I cannot get a child process. Mochitests already run inside a browser, so attempting to nest a child browser will fail. Try opening a chrome wind

Re: Include dependencies in Gecko

2013-09-08 Thread Neil
Nicholas Nethercote wrote: On Wed, Aug 8, 2012 at 12:36 PM, Nicolas Silva wrote: I have an ugly script that goes through the dependency files generated by make to collect informations about dependencies. I'll clean it up if you are interested (and rewrite it in python because I suppose pe

Re: Detection of unlabeled UTF-8

2013-09-10 Thread Neil
And then you get sites that send ISO-8859-1 but the server is configured to send UTF-8 in the headers, e.g. http://darwinawards.com/darwin/darwin1999-38.html -- Warning: May contain traces of nuts. ___ dev-platform mailing list dev-platform@lists.mozi

Re: Tegra build backlog is too big!

2013-09-13 Thread Neil
Justin Wood wrote: We also have had developer confusion around this change (and some relatively minor unforseen problems with the patch, detailed in bug) that caused sheriffs to ask for this to be backed out. If you omit part of the try syntax then you get a default set of options, but as

Re: How to check if an element is visible...

2013-09-17 Thread Neil
Gavin Sharp wrote: On Mon, Sep 16, 2013 at 5:12 AM, Aryeh Gregor wrote: The real question is: what's the use-case you're trying to solve? If it's some sort of optimization, false positives should be okay. The find bar wants to avoid finding "hidden" text, AIUI (see bug 257061). Some

XBL cache?

2013-09-17 Thread Neil
I'm trying to debug some XBL and the remote debugger isn't working due to bug 914930. So I thought I'd add some dump()s to the relevant method, but I can't get them to run. (This is a debug build, so I don't have to explicitly enable dump.) If I load the chrome: URL for the XBL then the change

Re: XBL cache?

2013-09-18 Thread Neil
Neil wrote: I'm trying to debug some XBL and the remote debugger isn't working due to bug 914930. Having updated to a version pre bug 914930 I've now got remote debugging working and figured out what my problem is (wrong XBL file...) -- Warning: May contain

Re: underflow event firing for overflowed content

2013-09-18 Thread Neil
Georg Fritzsche wrote: Now the underflow event is fired, but #inner is actually still overflowing in the other dimension. What's the detail of the event? -- Warning: May contain traces of nuts. ___ dev-platform mailing list dev-platform@lists.moz

Re: Keeping automatically-updated local mirrors of repositories?

2013-09-20 Thread Neil
Dave Townsend wrote: Downside? I've had a cronjob doing this frequently for a while and the local repo gets corrupt data in it about every other week and I have to go manually strip the offending changesets and repull. No idea why. I've had a cronjob doing this for 5 years (so it's still runn

Re: Keeping automatically-updated local mirrors of repositories?

2013-09-20 Thread Neil
Steve Fink wrote: function pullup () { ( cd $(hg path default) && hg pull ) } I use hg pull -R $(hg path default) -- Warning: May contain traces of nuts. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listi

Re: You want faster builds, don't you?

2013-09-23 Thread Neil
Steve Fink wrote: My anecdote: about 2 years ago, I did a lot of building on Windows and tried very hard to use a VM (just one layer -- a Windows 7 Virtualbox VM inside Fedora x64.) The configure times were excruciating. 6 minutes sounds about right -- for the top-level configure only. If you

Re: Poll: What do you need in MXR/DXR?

2013-10-08 Thread Neil
Erik Rose wrote: What are the MXR things you use constantly? I can't seem to get the advanced search form to work at all. (It does at least tell me the prefixes that I can use in the simple search form, but it's not 100% clear what they mean.) When it does work I would like a direct link t

Re: Poll: What do you need in MXR/DXR?

2013-10-09 Thread Neil
Nicholas Nethercote wrote: On Wed, Oct 9, 2013 at 1:49 AM, Neil wrote: Nor can I seem to get regexp search to work; I never get any results. If you're using the regexp field in the advanced search, you're probably failing to put '/' (or some other delimiter) at t

Re: What platform features can we kill?

2013-10-09 Thread Neil
Gervase Markham wrote: * XSLT Doesn't the XML prettyprinter use XSLT? -- Warning: May contain traces of nuts. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: What platform features can we kill?

2013-10-09 Thread Neil
Gervase Markham wrote: * Editor (share a JS implementation with Servo instead) By the time the editor works in Servo, you probably want to think about reducing your attack surface by switching to Servo instead. -- Warning: May contain traces of nuts. _

Re: Add-ons Firefox 24 crash due to recent change in JSAPI

2013-10-18 Thread Neil
Vasu Yadav wrote: I am able to Instantiate helloword JS-XPCOM component, when I am trying to return object to nsISupports interface pointer. but not same when directly tried to return object to nsIHelloWorld interface pointer. Perhaps your nsIHelloWorld interface has not been properly regist

Re: Capturing text from Firefox

2013-10-18 Thread Neil
Look, Yuriy wrote: Are there other approaches to capturing text form Ff you can suggest? I am not a member of the accessibility team (although I have helped them on occasion) but I would like to take the opportunity to suggest using the accessibility APIs. -- Warning: May contain traces of

Re: [RFC] Changing the behavior of safe file output stream

2013-10-18 Thread Neil
David Rajchenbach-Teller wrote: At the moment, nsSafeFileOutputStream calls Flush() whenever it is closed. I would like to change that behavior. Are we looking at the same stream? Finish() calls Flush() because otherwise Close() discards the file. -- Warning: May contain traces of nuts. ___

Re: Overriding content window methods with chrome functions

2013-10-21 Thread Neil
Matthew Gertner wrote: FYI I load the content into a popup and I want it to be able to close the popup. So the real chrome function looks like: contentWindow.wrappedJSObject.close = function() { chromeWindow.close(); }; But as I said, the default close() method seems to be called instead and

Re: Faster builds, now ; on windows, too.

2013-10-22 Thread Neil
David Rajchenbach-Teller wrote: Wouldn't it be interesting to also have a ./mach build frontend that repackages XUL and js code? Does ./mach build chrome work? (I don't think it's parallelised though.) Hopefully a combination of bug 929147 with bug 921003 will speed it up. -- Warning: May

Re: Overriding content window methods with chrome functions

2013-10-22 Thread Neil
Matthew Gertner wrote: What exactly do you mean by setting the window to have an app docShell? You mean load it into a browser with type = "chrome"? No, I meant an app frame, but Mark's reply led me to bug 799592 comment 1 where Shane Caraveo says that an app frame doesn't look like it would

Re: Faster builds, now ; on windows, too.

2013-10-23 Thread Neil
Mike Hommey wrote: On Tue, Oct 22, 2013 at 10:06:13AM +0100, Neil wrote: David Rajchenbach-Teller wrote: Wouldn't it be interesting to also have a ./mach build frontend that repackages XUL and js code? Does ./mach build chrome work? make chrome/mach build chrome doesn

Re: Removing a window from the session store

2013-10-23 Thread Neil
Matthew Gertner wrote: The most flexible option might be an API to cause a window to opt out of session saving completely. Probably not relevant to you but on SeaMonkey the secret sauce to opting out of session saving is to remove the windowtype attribute very early on (onload handler is e

Re: Changes to partial tree builds when not building through mach

2013-10-30 Thread Neil
Gregory Szorc wrote: OK, so you run make, make.py, or mozmake to build the tree. Do you ever perform partial tree builds? That is: |make -C dom| or |cd dom; make|. If so, you may be impacted by a recent change to the build system. If you attempt to perform a partial tree build directly with a

Re: Mozilla development "bootcamp"

2013-11-03 Thread Neil
bbo...@gmail.com wrote: 1.4 Initiating an hg clone You'll be lucky. You'll probably need to mention bundles. 2.0 Creating a .mozconfig file Not strictly necessary for the very first build. 4.1 Setting up mercurial.ini info for patch options and author name See also the mach co

Re: Mozilla development "bootcamp"

2013-11-04 Thread Neil
Gijs Kruitbosch wrote: On 03/11/13, 11:46 , Neil wrote: 14. Rebasing a bitrotted patch 14.0 What it looks like when you qpush a patch that has conflics 14.1 Open a rej file 14.2 Apply the change to the file Shouldn't be necessary these days ;-) Uh, why not? hg pull --rebase wor

  1   2   3   4   >