Commit Graph

225 Commits

Author SHA1 Message Date
Ben Newman
941ed3332c Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Peter Van der Beken
8e3acb1006 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Daniel Holbert
b8718e9faa Bug 551298, patch D: Use NS_INLINE_DECL_REFCOUNTING in /content/ directory. r=sicking 2010-04-01 11:05:40 -07:00
Daniel Holbert
97158792ab Backed out changeset 13819d2e9bd8 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:37:26 -07:00
Daniel Holbert
e6c10e8d77 Bug 551298, patch D: Use NS_INLINE_DECL_REFCOUNTING in /content/ directory. r=sicking 2010-04-01 08:08:51 -07:00
Serge Gautherie
08c4957b0e Bug 553807 - "ASSERTION: Value of subject is not set: 'subjectValue', file .../nsRDFBinding.cpp, line 286"; (Av1) Remove silly assertion.
r=enndeakin.
2010-03-20 18:45:32 +01:00
Neil Deakin
5c00dd1789 Better logging for errors in xul template tests, no bug 2010-03-19 07:51:11 -04:00
Laurent Jouanneau
1aaf0cc9ae Bug 543710 - Logging for XUL template based on storage; The patch to commit.
r=enndeakin sr=neil.
2010-03-09 01:02:27 +01:00
Jonas Sicking
3175f89133 Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz 2010-03-08 07:45:00 -08:00
Jonas Sicking
c4106f7f22 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Jesse Ruderman
7ee60fba5d Add crashtests 2010-02-27 13:04:34 -08:00
Boris Zbarsky
78a74029ee Bug 547342 attempted fix. Since scrollToRow doesn't flush layout, and since layout is what sets up the tree view, and since scrollToRow bails out early if there's no view, make sure to flush layout before calling scrollToRow. But we should really consider fixing scrollToRow instead. 2010-02-19 23:35:17 -05:00
Jae-Seong Lee-Russo
513e9cf886 Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Neil Deakin
62c35eef15 Bug 543821, iterate a bit more and wait for the xml datasource to load in this test, should fix intermittent orange 2010-02-04 09:12:41 -05:00
Neil Deakin
f9c97554c3 Bug 543634, fix intermittent orange in template test by waiting until data is loaded before adding expected error messages 2010-02-02 12:18:37 -05:00
Neil Deakin
350ddc321e Bug 321169, add logging facility to xul templates, r=sicking,sr=neil 2010-02-01 13:09:47 -05:00
Neil Deakin
794984125c Bug 321177, use recursive algorithm to find member variable, r=jonas 2009-12-15 11:07:50 -05:00
Boris Zbarsky
cc6eb188e6 Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron 2009-12-10 14:36:04 -08:00
Jesse Ruderman
b4b916d596 Add crashtests for a few bugs 2009-12-06 17:53:38 -08:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Peter Van der Beken
8b5c239aac Fix for bug 510677 (Avoid XPCCallContext for WrapNativeToJSVal). r/sr=jst.
--HG--
extra : rebase_source : 647f360f5603a2f9ade579a9911ba51af1db91b5
2009-08-14 21:00:24 +02:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Jesse Ruderman
52da8631d2 Make crashtests.list point to a file that actually exists 2009-08-09 12:00:47 -07:00
Olli Pettay
8c15d2235f Bug 477071, r=enndeakin, sr=neil
--HG--
extra : rebase_source : d19ed0f318958f9905c77e22c257737cdbc7bb6b
2009-08-06 17:35:07 +03:00
Neil Deakin
463ebf9287 Bug 455590, use new drag and drop api with trees, r=neil,sr=smaug 2009-06-24 13:12:33 -04:00
Olli Pettay
122deedb9f Bug 495444, r=enn,sr=neil
--HG--
extra : rebase_source : a4eaa6a8c816630456381b78f436447159bd44a8
2009-06-15 12:46:39 +03:00
Neil Deakin
9e567b4175 Bug 494113, wait for datasources to load in test for bug 441785, r=smaug
--HG--
rename : content/xul/templates/src/crashtests/441785-1.rdf => content/xul/templates/tests/bug441785-1.rdf
rename : content/xul/templates/src/crashtests/441785-2.rdf => content/xul/templates/tests/bug441785-2.rdf
rename : content/xul/templates/src/crashtests/441785-1.xul => content/xul/templates/tests/test_bug441785.xul
2009-06-12 14:23:15 -04:00
Neil Deakin
53bedd0e8d Bug 378893, fix template tests so that they wait for the datasource to load first, r=smaug 2009-06-12 14:23:14 -04:00
Arpad Borsos
a797cac310 Bug 497068: Fix "will be initialized after" warnings; r=dbaron 2009-06-09 18:03:59 +02:00
Olli Pettay
88da1e6840 Bug 492037 - EndUpdateBatch not being called for tree builders in some cases, r=neil,kairo,mossop
--HG--
extra : rebase_source : 165c6eac689cbffc2007519d5202711017f49edd
2009-05-22 12:04:02 +03:00
Olli Pettay
f8ac6b134b backout Bug 492037 2009-05-21 22:35:49 +03:00
enndeakin@gmail.com
3dcf82f2cc Bug 492037 - EndUpdateBatch not being called for tree builders in some cases, r+sr=smaug
--HG--
extra : rebase_source : 1fe10dd0ee2b7af313f80bdeb8241cd0d7757141
2009-05-20 13:57:01 +03:00
Jonas Sicking
71d1f7c6ba Merge backout 2009-05-12 17:03:04 -07:00
Jonas Sicking
56c68587fc Backed out changeset 888aff8f57d2. Bug 492037 2009-05-12 17:00:53 -07:00
Shawn Wilsher
98d5d376f8 Bug 490833 - mozIStorageStatement::getParameterIndex should only accept :-named parameters
This change makes the XUL template builder work with the API change.
r=enn
2009-05-12 17:08:49 -04:00
Neil Deakin
e8df233874 Bug 492037, EndUpdateBatch not properly being called for tree builders in some cases, r+sr=smaug 2009-05-12 16:07:28 -04:00
Neil Deakin
279ddd04ac Bug 433014, xml templates not loading from file urls, r+sr=smaug 2009-05-12 16:07:25 -04:00
Neil Deakin
7b29cec9f3 Bug 378893, sigh, disable template tests on all platforms 2009-05-05 10:14:37 -04:00
Neil Deakin
603bc733e6 Tests are failing on linux, I suspect some form of asynchronous loading issue, but will investigate more later, so disable them for now 2009-05-04 13:39:18 -04:00
Neil Deakin
8d0312dc36 Bug 378893, actully add the xul template test files 2009-05-04 11:27:09 -04:00
Neil Deakin
589c6ddc5b Bug 378893, xul template tests, r=smaug 2009-05-04 10:55:44 -04:00
Jesse Ruderman
431af365ff Add tests 2009-04-26 23:32:41 -07:00
Arpad Borsos
07dc31e45f Bug 485782 - get rid of nsSupportsArray; r=sicking, sr=bsmedberg 2009-04-14 10:02:58 +02:00
Neil Deakin
46de1dbb9a Bug 483607, sorting template integers does not work, r=laurent,sr=jonas 2009-04-13 09:00:29 -04:00
Neil Deakin
8a0adc2ff9 Bug 468773, remove silly assertion, r+sr=smaug 2009-04-13 09:00:29 -04:00
Arpad Borsos
726ab5be17 Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, content part; r+sr=sicking 2009-03-26 09:29:49 +01:00
Arpad Borsos
8dc04b2fe9 Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking 2009-03-20 09:15:35 +01:00
Dave Townsend
45a22cf369 Bug 476634: Storage template builder can't handle 64 bit integers. r=enn 2009-02-12 15:09:03 +00:00
Peter Van der Beken
691b82b80e Fix for bug 391448 (Force layout/dom/content code to use classinfo macros that don't use the service manager.). r/sr=jst. 2009-02-17 15:08:08 +01:00
Olli Pettay
780eabcc26 Bug 477237, r+sr=peterv 2009-02-17 11:48:31 +02:00
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Fred Jendrzejewski
7d5761cdfa Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Robert O'Callahan
1a9b00de4e Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Ben Turner
ecdcc79104 Bug 470334 - 'Workers: relative urls for XHR are incorrect'. r+sr=jst, a=blocking1.9+ 2008-12-30 16:24:58 -06:00
Neil Deakin
594c36bac2 Bug 467775, ensure GetMayProcessChildren is called for all recursive template checks, r=smaug,sr=jonas 2008-12-30 08:31:00 -05:00
Neil Deakin
4ed141a6e6 Bug 321180, better space-separated string parsing, r+sr=jonas 2008-12-19 08:43:24 -05:00
Neil Deakin
f5177ae51d Bug 321175, change nsTemplateRule::GetAction to return nsIContent, r+sr=jonas 2008-12-19 08:43:24 -05:00
Neil Rashbrook
6ec101ab9e Bug 465998 Protect nsXULContentUtils against layout init failure r=Enn sr=sicking 2008-12-13 17:15:48 +00:00
Neil Deakin
3364fc83f0 Bug 461422 Menulists should not be generated lazily r=Neil sr=bz 2008-11-04 07:58:36 +00:00
Boris Zbarsky
e48472e60d Bug 462803. Remove dead code. r=enn 2008-11-03 11:02:25 -05:00
Ted Mielczarek
26dab6f284 bug 461395 - add support for PARALLEL_DIRS to build system, parallelize content. r=bsmedberg 2008-10-30 13:02:14 -04:00
Neil Deakin
912ddd5424 Bug 450990, make template generate recursive instead of lazy, improves performance as well, r=peterv,sr=bz 2008-10-20 11:36:05 -04:00
Boris Zbarsky
12d064dd87 Backing out bug 450990 to try to fix leaks 2008-10-10 15:45:32 -04:00
Boris Zbarsky
187abdc558 Bug 450990. Address review comments too 2008-10-10 14:21:29 -04:00
Neil Deakin
ba78ad380e Bug 450990. Kill off EnsureContentsGenerated. r=peterv, sr=bzbarsky, sicking helped write the patch 2008-10-10 13:44:43 -04:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Taras Glek
c26ce8e1ab bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst 2008-09-12 15:32:18 -07:00
Mike Kaplinskiy
92f94d420d Bug 441785 - "crash when closing open rdf files or right click on tree after opening rdf files [@ nsXULTemplateQueryProcessorRDF::CheckIsSeparator]" [r=Enn sr=jst] 2008-08-19 23:16:46 -05:00
ginn@localhost
176aec0dbf Bug 440724 Folder tree couldn't open/close Thunderbird compiling with Sun Studio 12 x86, r=enndeakin sr=neil 2008-07-18 18:03:04 +08:00
Benjamin Smedberg
c72d3edaa5 Bug 441608 - Make nsAssignment members const and get rid of the unnecessary empty constructor and copy-assignment operators, r=Enn 2008-07-15 07:06:54 -04:00
Benjamin Smedberg
ec69c9db81 Bug 442735 - Annotate classes in dom/content which only appear on the stack, r+sr=jst 2008-06-30 21:03:50 -04:00
Robert O'Callahan
c4187f5254 Bug 344258. Make XUL use the shared ID-element map. r+sr=jst 2008-06-23 13:48:05 +12:00
jst@mozilla.org
54ae1d2978 Landing fix for bug 419716. Make us consistently deal how we're pass param tags to object tags when parsing XHTML. Patch by mrbkap@gmail.com and bent.mozilla@gmail.com, r+sr=jonas@sicking.cc, a=beltzner 2008-04-17 15:30:51 -07:00
enndeakin@sympatico.ca
522a7aa5c1 Bug 422121, crash sorting xml built templates, add some null checks, r=smaug,sr=jonas,a=beltzner 2008-04-17 09:19:30 -07:00
bent.mozilla@gmail.com
7e4ac1fa4a Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner. 2008-04-11 10:29:06 -07:00
jonas@sicking.cc
b8a008856b Backing out due to test failures 2008-04-08 20:20:39 -07:00
jonas@sicking.cc
5e5ddf5b3f Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking 2008-04-08 19:06:27 -07:00
jonas@sicking.cc
cbc8074656 Bug 408268: Don't crash when closing a window while customize toolbar palette is open. r=Neil Deakin, sr=jst 2008-04-07 16:26:56 -07:00
bent.mozilla@gmail.com
0c0f3177d5 Bug 421150 - "XUL template leak (was: Firefox leaks on first start with Adblock Plus installed)". r=enn, sr=bz, a=blocking1.9+. 2008-03-28 12:39:28 -07:00
Olli.Pettay@helsinki.fi
0201fb1fef Bug 421366, [@ nsContentUtils::IsEventAttributeName] r+sr=peterv 2008-03-19 12:44:08 -07:00
reed@reedloden.com
ddc1676b1b Bug 418804 - "Update storage query processor for XUL templates from changes to mozIStorageService::OpenDatabase" [p=laurent@xulfr.org (Laurent Jouanneau) r=sdwilsh sr=roc a1.9=damons] 2008-02-22 03:24:45 -08:00
enndeakin@sympatico.ca
235c3d9f78 Bug 405719, regression where menus cannot be generated with templates without extra tags, also improve construction by not setting the open attribute too early and instead call the builder directly before opening a menu, r=smaug,sr=neil,a=beltzner 2008-02-21 09:40:12 -08:00
enndeakin@sympatico.ca
7127d6306d Bug 414568, bah, checked in a bad version of this patch! 2008-02-21 08:05:43 -08:00
enndeakin@sympatico.ca
6a0b59e258 Bug 415772, use XMLHttpRequest to load xml datasources, r=smaug,sr=peterv 2008-02-20 11:02:31 -08:00
jruderman@hmc.edu
5db62a4493 Add crashtest 2008-02-19 23:23:28 -08:00
bent.mozilla@gmail.com
64baa0bdc3 Bug 417840 - "ASSERTION: Shouldn't be observing anymore" removing 'ref' attribute. r+sr=jst, a=blocking1.9+. 2008-02-19 14:21:45 -08:00
bent.mozilla@gmail.com
1934a1d397 Bug 417383 - Remove useless warning. r+sr=jst, a=blocking1.9+. 2008-02-19 14:17:37 -08:00
Olli.Pettay@helsinki.fi
52195cbd0f Bug 417699, [@ nsXULTreeBuilder::SetTree], r+sr=sicking, a=mconnor 2008-02-18 14:52:19 -08:00
bent.mozilla@gmail.com
8068ab6f7e Downgrade this non-fatal assertion to a warning. 2008-02-13 17:07:08 -08:00
bent.mozilla@gmail.com
566b83da67 Bug 416939 - "Broadcast the destruction of DOM windows". r+sr=jst, a=blocking1.9+. 2008-02-13 15:41:17 -08:00
enndeakin@sympatico.ca
3940b677c5 Bug 414568, duplicate content with xml template, r=smaug,sr=peterv,a=schrep 2008-02-12 03:25:33 -08:00
jruderman@hmc.edu
4889072dae Add crashtests 2008-02-10 04:54:35 -08:00
reed@reedloden.com
24fbf5fb3f Bug 398433 - "PRBool misuse bugs in content/" [p=tglek@mozilla.com (Taras Glek) r+sr=sicking a1.9=schrep a=blocking1.9+] 2008-02-09 22:16:30 -08:00
enndeakin@sympatico.ca
97330fef40 Bug 415019, assertion when <triple> is missing attributes, r+sr=peterv,a=schrep 2008-02-08 05:50:46 -08:00
jruderman@hmc.edu
b7628e2306 Add template crashtest 2008-01-04 20:46:19 -08:00
jruderman@hmc.edu
efdd554fde This crashtest is not a toy. 2007-12-19 15:57:43 -08:00
jruderman@hmc.edu
d88b12f4ab Power can corrupt. So can freeing objects twice. Adding a crashtest. 2007-12-18 15:43:02 -08:00
jruderman@hmc.edu
c11a5c3f7e Add a few crashtests. 2007-12-12 22:44:00 -08:00
bugzilla@standard8.plus.com
c7bc0086f2 Bug 397783 Remove lots of redundant nsISupportsArray include/forward definitions from content (part 2) r/sr=jst,a=mtschrep 2007-11-22 10:50:59 -08:00
reed@reedloden.com
3a457e2465 Add missing header to fix bustage. 2007-11-13 03:29:16 -08:00
reed@reedloden.com
c3fe474d61 Bug 321172 - "Template Query Processor for mozStorage" [p=laurent@xulfr.org (Laurent Jouanneau) r=smaug r=Enn r=sdwilsh sr=roc a1.9=schrep] 2007-11-13 02:42:03 -08:00
bugzilla@standard8.plus.com
78473044fa Bug 397783 Remove lots of redundant nsISupportsArray include/forward definitions from content. r/sr=jst,a=dbaron 2007-10-09 11:41:54 -07:00
sayrer@gmail.com
8a96aa3ec1 Bug 397148. 'Assertion failure: (cx)->requestDepth || (cx)->thread == (cx)->runtime->gcThread' within nsXULTemplateBuilder::InitHTMLTemplateRoot. r=enn, sr=sicking, a=sicking. 2007-10-03 18:40:54 -07:00
Olli.Pettay@helsinki.fi
85880d8ce4 Bug 393762, Bug 393761 and Bug 382636, r=jst, sr=peterv 2007-10-01 03:02:32 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
Olli.Pettay@helsinki.fi
cbb771c688 Bug 321170, Templates needs to be able to load datasources other than RDF, p=laurent@xulfr.org, r=enndeakin, sr=peterv 2007-07-19 06:49:29 -07:00
bzbarsky@mit.edu
a4c90a1d9d Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
enndeakin@sympatico.ca
3cac4d61c3 Bug 327920, issue with determining uri variable in query template syntax,r+sr=peterv 2007-07-02 14:40:56 -07:00
enndeakin@sympatico.ca
e7e0ff1269 Bug 321171, See if this fixes build errors on Windows/Linux 2007-06-15 08:30:28 -07:00
enndeakin@sympatico.ca
78a410c31c Bug 321171 - support XML sources in XUL templates, r=smaug,sr=peterv CVS: ---------------------------------------------------------------------- 2007-06-15 08:03:44 -07:00
enndeakin@sympatico.ca
281a052101 Bug 378173, template removes content incorrectly with multiple queries, r=smaug,sr=peterv 2007-06-15 07:00:18 -07:00
enndeakin@sympatico.ca
335aceb277 Bug 381078, hang with recursive template, testcase is part of bug 378893, r=smaug,sr=jonas 2007-05-23 05:33:47 -07:00
enndeakin@sympatico.ca
446a76e214 Bug 377423, MemoryElements not removed from the pool properly, fixes topcrash, r=peterv,sr=sicking 2007-04-26 06:03:55 -07:00
peterv@propagandism.org
f61971e016 Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking. 2007-04-25 09:35:27 -07:00
benjamin@smedbergs.us
2e25a321f8 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
neil@parkwaycc.co.uk
1e5179b1b2 Bug 377577 Allow templates to generate arbitrarily nested treeitems r=Enn sr=roc 2007-04-19 12:27:11 -07:00
enndeakin@sympatico.ca
ff764a00c6 Bug 362906, assertion when root node in a template isn't XUL, r=smaug,sr=sicking 2007-04-12 08:55:54 -07:00
enndeakin@sympatico.ca
c3b7befff3 Bug 368721, issues with conditions on simple rules in templates,r=smaug,sr=sicking 2007-04-12 08:47:44 -07:00
peterv@propagandism.org
5be4000455 Fix for bug 372713 (Add cycle collection to RDF datasources). r=bsmedberg, sr=dbaron. 2007-04-10 15:05:41 -07:00
dbaron@dbaron.org
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
hg@mozilla.com
465265d0d4 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