Re: Largest chunks of code that are likely to be removable?

2015-06-30 Thread Bobby Holley
There's a bunch of XPConnect code that can go away when we finally kills
nsDOMClassInfo. We're 95% of the way there, just lacking will to push it
over the line.

On Mon, Jun 29, 2015 at 11:19 PM, Nicholas Nethercote 
n.netherc...@gmail.com wrote:

 Hi,

 I'm wondering what the largest chunks of code there are in the
 codebase that are candidates for removal, i.e. probably with a bit of
 work but not too much.

 One that comes to mind is rdf/ (see
 https://bugzilla.mozilla.org/show_bug.cgi?id=1176160#c5) though I
 don't have a good understanding of how much stuff depends on it, even
 having seen https://bugzilla.mozilla.org/show_bug.cgi?id=420506.

 Any other candidates for removal?

 Nick
 ___
 dev-platform mailing list
 dev-platform@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-platform

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Largest chunks of code that are likely to be removable?

2015-06-30 Thread Kearwood Kip Gilbert
Would anyone be opposed to combining the Matrix4x4 class and gfx3DMatrix?  
Rather than adding support for transforms and projections that involve vertices 
behind the w=0 plane to gfx3DMatrix, it may be cleaner to refactor affected 
call-sites to use Matrix4x4 instead.  The remaining references to gfx3DMatrix 
would be very few and easily replaced as well.

Cheers,
  - Kip

 On Jun 29, 2015, at 11:19 PM, Nicholas Nethercote n.netherc...@gmail.com 
 wrote:
 
 Hi,
 
 I'm wondering what the largest chunks of code there are in the
 codebase that are candidates for removal, i.e. probably with a bit of
 work but not too much.
 
 One that comes to mind is rdf/ (see
 https://bugzilla.mozilla.org/show_bug.cgi?id=1176160#c5) though I
 don't have a good understanding of how much stuff depends on it, even
 having seen https://bugzilla.mozilla.org/show_bug.cgi?id=420506.
 
 Any other candidates for removal?
 
 Nick
 ___
 dev-platform mailing list
 dev-platform@lists.mozilla.org
 https://lists.mozilla.org/listinfo/dev-platform
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Largest chunks of code that are likely to be removable?

2015-06-30 Thread Joshua Cranmer 

On 6/30/2015 6:01 AM, Axel Hecht wrote:

On 6/30/15 9:13 AM, Mike Hommey wrote:

On Mon, Jun 29, 2015 at 11:19:08PM -0700, Nicholas Nethercote wrote:

Hi,

I'm wondering what the largest chunks of code there are in the
codebase that are candidates for removal, i.e. probably with a bit of
work but not too much.

One that comes to mind is rdf/ (see
https://bugzilla.mozilla.org/show_bug.cgi?id=1176160#c5) though I
don't have a good understanding of how much stuff depends on it, even
having seen https://bugzilla.mozilla.org/show_bug.cgi?id=420506.


See the dependencies of bug 833098.

Mike



Note, that bug has the dependencies to move rdf/ from mozilla-central 
into comm-central. mail has many more dependencies on RDF, I think.


The mailnews catch-all bug for removing RDF is 
https://bugzilla.mozilla.org/show_bug.cgi?id=mail-killrdf. Off the top 
of my head, the biggest use is as a hashtable for folder URIs to folder 
objects (which could easily be replaced in a pinch), but it's also used 
in a minor way in the account creation dialog, as well as the backing 
store for RSS. The RDF templating widget feature, though, is used in 
about four places in Thunderbird and much, much more in SeaMonkey.


--
Joshua Cranmer
Thunderbird and DXR developer
Source code archæologist

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Largest chunks of code that are likely to be removable?

2015-06-30 Thread kgupta
On Tuesday, June 30, 2015 at 3:41:43 AM UTC-4, Kearwood Kip Gilbert wrote:
 Would anyone be opposed to combining the Matrix4x4 class and gfx3DMatrix?  
 Rather than adding support for transforms and projections that involve 
 vertices behind the w=0 plane to gfx3DMatrix, it may be cleaner to refactor 
 affected call-sites to use Matrix4x4 instead.  The remaining references to 
 gfx3DMatrix would be very few and easily replaced as well.
 

I think dzbarsky was in the process of converting gfx3DMatrix use to Matrix4x4, 
I'm not sure what happened or if he's still working on it. I think people would 
be quite happy if you finished it off. CC'ing dzbarsky to see if he has any 
updates.

kats
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Largest chunks of code that are likely to be removable?

2015-06-30 Thread Mike Hommey
On Mon, Jun 29, 2015 at 11:19:08PM -0700, Nicholas Nethercote wrote:
 Hi,
 
 I'm wondering what the largest chunks of code there are in the
 codebase that are candidates for removal, i.e. probably with a bit of
 work but not too much.
 
 One that comes to mind is rdf/ (see
 https://bugzilla.mozilla.org/show_bug.cgi?id=1176160#c5) though I
 don't have a good understanding of how much stuff depends on it, even
 having seen https://bugzilla.mozilla.org/show_bug.cgi?id=420506.

See the dependencies of bug 833098.

Mike
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Largest chunks of code that are likely to be removable?

2015-06-30 Thread Nicholas Nethercote
Hi,

I'm wondering what the largest chunks of code there are in the
codebase that are candidates for removal, i.e. probably with a bit of
work but not too much.

One that comes to mind is rdf/ (see
https://bugzilla.mozilla.org/show_bug.cgi?id=1176160#c5) though I
don't have a good understanding of how much stuff depends on it, even
having seen https://bugzilla.mozilla.org/show_bug.cgi?id=420506.

Any other candidates for removal?

Nick
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Largest chunks of code that are likely to be removable?

2015-06-30 Thread Axel Hecht

On 6/30/15 9:13 AM, Mike Hommey wrote:

On Mon, Jun 29, 2015 at 11:19:08PM -0700, Nicholas Nethercote wrote:

Hi,

I'm wondering what the largest chunks of code there are in the
codebase that are candidates for removal, i.e. probably with a bit of
work but not too much.

One that comes to mind is rdf/ (see
https://bugzilla.mozilla.org/show_bug.cgi?id=1176160#c5) though I
don't have a good understanding of how much stuff depends on it, even
having seen https://bugzilla.mozilla.org/show_bug.cgi?id=420506.


See the dependencies of bug 833098.

Mike



Note, that bug has the dependencies to move rdf/ from mozilla-central 
into comm-central. mail has many more dependencies on RDF, I think.


Axel
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform