89 Commits

Author SHA1 Message Date
dbaron%dbaron.org
66e6ee8605 Move XPCNativeWrapper.js from communicator to global. b=256630 r=bryner sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@162638 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-22 00:42:50 +00:00
timeless%mozdev.org
70464a6236 Moving context menu from treechildren context to tree contextmenu for right panels of dom inspector. This makes them
keyboard accessible.
r=caillon sr=neil


git-svn-id: svn://10.0.0.236/trunk@161269 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-25 20:07:54 +00:00
timeless%mozdev.org
d53dab7623 Bug 222357 Shift-F10 doesn't trigger context menu
rs=caillon rs=neil


git-svn-id: svn://10.0.0.236/trunk@160505 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-08 20:48:57 +00:00
cbiesinger%web.de
137f4a2514 Bug 252468 Remove outdated autostretch attribute from the tree
patch by Simon Paquet <bugzilla@babylonsounds.com> r=neil rs=bz


git-svn-id: svn://10.0.0.236/trunk@160062 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 18:25:42 +00:00
bzbarsky%mit.edu
c3e5151edc Make click-to-select work on nodes that are more than one level down the frame
hierarchy.  Bug 240892, r=timeless, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@155286 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-21 15:09:27 +00:00
gerv%gerv.net
d6544e324a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155092 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:14:17 +00:00
varga%nixcorp.com
ce53bd6ec2 Fix for bug 221619. Tree widget refactoring and enhancement. r=neil sr=bryner
git-svn-id: svn://10.0.0.236/trunk@155017 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 05:53:38 +00:00
bzbarsky%mit.edu
1c7a6361be Make nsXULElement::GetChildNodes use the same (live) node list that
nsGenericElement uses.  Bug 240633, r+sr=jst on the C++ changes, r=neil, sr=jst
on the JS changes.


git-svn-id: svn://10.0.0.236/trunk@154950 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 22:14:39 +00:00
caillon%redhat.com
712341d03a Bug 236973
Have some of DOM Inspector's treerow backgrounds alternate.
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@153820 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 04:55:41 +00:00
db48x%yahoo.com
a26a05f4eb bug 218210 - find nodes does not work when searching for attribute
also makes search match on substrings, and makes it case insensitive
r=timeless, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@153014 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 08:39:01 +00:00
timeless%mozdev.org
daba24dd31 Bug 121634 JS error: viewer.onpopupshowingContext is not a function
r=caillon sr=bz


git-svn-id: svn://10.0.0.236/trunk@152920 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 09:21:00 +00:00
timeless%mozdev.org
369789aeb2 Bug 224215 Edit Attribute says "Enter the attribute name" instead of "Enter the attribute value"
r=caillon sr=heikki


git-svn-id: svn://10.0.0.236/trunk@148881 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-05 22:27:34 +00:00
neil%parkwaycc.co.uk
188c3fa081 Bug 221988 Replace doesQI function with built-in instanceof operator r=peterv sr=alecf moa=caillon
git-svn-id: svn://10.0.0.236/trunk@148087 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 22:45:47 +00:00
timeless%mozdev.org
e3a3b9a897 Bug 221578 Double click to edit property
patch by mozbug@durys.net r=caillon sr=bz


git-svn-id: svn://10.0.0.236/trunk@147785 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 05:28:02 +00:00
bzbarsky%mit.edu
4da076b716 XUL doesn't implement .style; catch the exception it throws. Bug 218222
followup-to-followup, r=caillon, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@147634 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 20:21:48 +00:00
neil%parkwaycc.co.uk
15959cb8c9 Bug 220215 use XPCNativeWrapper instead of directly calling Components.lookupMethod r=caillon sr=bz
git-svn-id: svn://10.0.0.236/trunk@147427 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-29 16:50:36 +00:00
dbaron%dbaron.org
ff73fb3abe Restore the style attribute to the style rules view. b=218222 r=caillon sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147101 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-21 05:28:55 +00:00
neil%parkwaycc.co.uk
b6c2eaa2af Bug 211537 DOM Inspector not displaying full tree of nodes r=caillon sr=bz
Using correct line endings this time :-)


git-svn-id: svn://10.0.0.236/trunk@144514 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 08:28:34 +00:00
caillon%returnzero.com
61f4e4cd91 Backout of Neil's patch for bug 211537. This was only supposed to touch 10 or so lines, not every line in each of two files.
git-svn-id: svn://10.0.0.236/trunk@144507 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-06 21:09:22 +00:00
neil%parkwaycc.co.uk
808e751928 Bug 211537 DOM Inspector not displaying full tree of nodes r=caillon sr=bz
git-svn-id: svn://10.0.0.236/trunk@144497 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-06 18:31:56 +00:00
dbaron%dbaron.org
3bdd5c558b Implement the DOM interfaces for CSS style rules on a wrapper object which allows the immutable rule object to be swapped out underneath. b=188803 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144087 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 05:40:37 +00:00
dwitte%stanford.edu
240f8e4ce3 removing bitmap/png, screen capturing, and boxmodel colorpicking functionality from DOM Inspector.
b=211096, r=caillon, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@144082 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 04:44:55 +00:00
bzbarsky%mit.edu
5c278e8480 Show #document nodes in iframes. Fix up various code that assumed they would
_not_ be shown.  Minor cleanup of various sorts (nsCOMArray, etc).  Bug 201585,
r=caillon, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@144044 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-22 22:40:34 +00:00
bzbarsky%mit.edu
30eb3577f5 Show the root #document node in the Inspector DOM view. Highlight doctype
nodes in a different color.  Bug 156072, patch by ajvincent@juno.com (Alex
Vincent), r=caillon, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@144037 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-22 07:13:32 +00:00
dwitte%stanford.edu
e80b81c270 fix a couple of memory leaks in DOM inspector's PNG encoder, and clean up the interface a little.
b=208704, r=biesi/caillon, sr=jst


git-svn-id: svn://10.0.0.236/trunk@143789 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 07:43:47 +00:00
dbaron%dbaron.org
1b41fc35f5 Create only one CSSStyleRuleImpl per rule rather than one per comma-separated selector to fix CSSOM compliance bugs and make rule immutability easier. Store list of selectors on the CSSStyleRuleImpl, each with their own weight. b=98765 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143715 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-14 23:50:54 +00:00
neil%parkwaycc.co.uk
8869364428 Bug 207242 styleRules.js misuses prompt service r=caillon sr=jst
git-svn-id: svn://10.0.0.236/trunk@143031 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-29 09:11:11 +00:00
caillon%returnzero.com
09db99d3f6 206452 - Making new attribute and edit attribute work again.
r=ajvincent@juno.com sr=dmose a=asa


git-svn-id: svn://10.0.0.236/trunk@142732 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-21 23:38:17 +00:00
caillon%returnzero.com
8c0dbff19b Make Inspector localizable and use nsIPromptService for alerts
Bug 109891
r=biesi rs=bzbarsky a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@142594 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-18 12:15:22 +00:00
caillon%returnzero.com
84e9484ae9 182099 - lock up on stylesheets tab double-clicking the twisty
r=varga, sr=bzbarsky, a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@141859 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-26 21:38:53 +00:00
alecf%netscape.com
f24ccb3da0 landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron


git-svn-id: svn://10.0.0.236/trunk@140260 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 18:55:59 +00:00
alecf%netscape.com
2a83f1b2d9 backout my static atom patch for now until I figure out the performance loss! :(
bug 195262


git-svn-id: svn://10.0.0.236/trunk@139962 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 20:13:08 +00:00
alecf%netscape.com
59c2bfe187 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.


git-svn-id: svn://10.0.0.236/trunk@139909 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 06:26:32 +00:00
timeless%mozdev.org
9435b071f5 Bug 132209 Many XUL documents are invalid XML (<!DOCTYPE window ...>)
patch by riceman+bmo@mail.rit.edu r=timeless sr=jag moa=caillon


git-svn-id: svn://10.0.0.236/trunk@139620 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 22:55:53 +00:00
caillon%returnzero.com
28dec73833 187414 - Use NodeFilter where we mean it.
r=sicking sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@136617 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 02:37:54 +00:00
cbiesinger%web.de
fdf19ebdf9 187309 r=dougt sr=bzbarsky convert out param of nsIProcess::Run to a return value
git-svn-id: svn://10.0.0.236/trunk@135791 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-02 21:00:31 +00:00
rbs%maths.uq.edu.au
2129932d47 Remiander of bug 169590. Hook a catch-all W3C entity converter and user-prefs for custom levels of entity-zation in the editor's '<HTML> Source' and 'Save As...'
git-svn-id: svn://10.0.0.236/trunk@135372 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 00:41:25 +00:00
cmanske%netscape.com
59e6edaf4b Final removal of 'editorShell' from DOM inspector. b=169029, r=akkana, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@133912 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 15:45:48 +00:00
caillon%returnzero.com
963e001daa 177153 - Cleanup of inspector toggling code
r=timeless sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@133882 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 03:20:01 +00:00
caillon%returnzero.com
2555de7923 Bug 107812
Copying from inspector should also copy to primary on platforms that support it.
r=akkana sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@133777 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 22:17:51 +00:00
caillon%returnzero.com
d426bb1897 Bug 112682
Some rules have no parentStyleSheet.  Add a null check.
r=cbiesinger sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@133771 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 21:48:46 +00:00
caillon%returnzero.com
71ed8bac88 Make sure we properly init the show whitespace nodes checkmark.
r=jkeiser sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@133737 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-13 07:56:08 +00:00
caillon%returnzero.com
a073034c11 Allow the hiding of "empty" text nodes from DOM Inspector.
r=cbiesinger, sr=alecf, bug 147189


git-svn-id: svn://10.0.0.236/trunk@133707 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 23:16:42 +00:00
caillon%returnzero.com
996f96a111 167867. Convert the unicodeToEntity functions to use regexps.
r=timeless sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@133127 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 06:07:38 +00:00
caillon%returnzero.com
5dd7baf61b 166947 - Copy XML (on node context menu) should encode character entities
r=timeless sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@129184 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 01:36:28 +00:00
caillon%returnzero.com
31e8b032dd 167009 - We should be using the node type constants defined on Node instead of their numerical expression.
r=glazman rs=bzbarsky a=asa


git-svn-id: svn://10.0.0.236/trunk@129016 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 00:55:05 +00:00
caillon%returnzero.com
4972b244a3 152553 - "Show Anonymous Content" menu item doesn't reflect the true state because we were checking |false != null| or |true != null| to determine state.
r=timeless sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@128644 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-02 00:03:43 +00:00
bzbarsky%mit.edu
ace59024db disable mouseup/mousedown/click events during "click-to-select" so that
links and such don't trigger.  Bug 116773, r=jkeiser, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@126726 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 02:11:39 +00:00
bzbarsky%mit.edu
7290c55577 Fix JS object display in Inspector. Bug 160254, r=timeless, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@126443 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 05:20:29 +00:00
bzbarsky%mit.edu
edc3f37046 Bug 157913. Priority is "important", not "!important". r=glazman,
sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@126422 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 03:21:14 +00:00