gecko/embedding
Benjamin Smedberg 24e7cb1f78 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
..
base Bug 452164. Make nsIWindowProvider scriptable. r+sr=jst 2008-08-27 08:11:51 -04:00
browser Bug 463824, Introduce GLOBAL_DEPS to build system 2008-11-27 18:26:44 -08:00
componentlib Bug 463824, Introduce GLOBAL_DEPS to build system 2008-11-27 18:26:44 -08:00
components Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports: 2009-01-12 14:20:59 -05:00
config Bug 456561 - Remove obsolete reference to <nsWidgetStateManager.js>; r+sr=benjamin 2008-10-08 02:23:21 +02:00
examples Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
qa Bug 414843 - "print.use_native_print_dialog" preferences is pointless; r=gavin.sharp 2008-09-15 17:18:38 +02:00
test Bug 450048 - "nsFind.cpp(961) : warning C4309: 'initializing' : truncation of constant value"; class/interface test; r+sr=jst 2008-09-23 03:32:13 +02:00
tests Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
wrappers Bug 398009 - fix mangled license headers. a=stuart. 2007-10-06 05:08:39 -07:00
Makefile.in Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00