Commit Graph

7159 Commits

Author SHA1 Message Date
braddr%puremagic.com
6740a78de2 Change NS_COMFALSE to NS_ERROR_ABORT throughout the space manager.
r=smfr for these two files, and r=scc for the previous file
1999-10-22 06:49:50 +00:00
braddr%puremagic.com
f939a5bb97 Change NS_COMFALSE instances to NS_ERROR_ABORT's 1999-10-22 05:32:31 +00:00
valeski%netscape.com
ff2d2903ad fixing build warning 1999-10-22 04:48:31 +00:00
troy%netscape.com
d64bd701d2 Fixed compiler warning about unused variable 1999-10-22 04:01:23 +00:00
rods%netscape.com
3b52acd283 Changed the parameter of the CalcNavQuirksSize to take the input spec instead of the length
not it properly calculates the number of cols and rows when in NavQuiks mode
r=kmcclusk, part of bug 7461
1999-10-22 03:14:03 +00:00
troy%netscape.com
5d86678e7b r=karnaze@netscape.com
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.
1999-10-22 02:06:22 +00:00
evaughan%netscape.com
320ee7acc4 Fixed bug 9442. reviewed by Hyatt. 1999-10-22 00:38:22 +00:00
mjudge%netscape.com
7d0e807931 massive checkin for underlying implementation of key handling from javascript and home/end breakage and.. selecting around NON-text frames. like arrowing around an image for example. 16636,16655 and another i cannot find. r=kin r=hyatt a=me 1999-10-22 00:19:18 +00:00
kipp%netscape.com
b0c0abbae4 Whoops, missed this during my checkin :-( 1999-10-22 00:11:31 +00:00
karnaze%netscape.com
2c99832a1a new regression tests 1999-10-21 22:52:00 +00:00
karnaze%netscape.com
01ebcb16d0 bug 5799 - width of auto width table considers percentage cells when they are small relative to the rest of the table. r=dcone 1999-10-21 22:36:21 +00:00
karnaze%netscape.com
c5ef1c3310 bug 12012 - RemoveFrame was using stale style display. r=dcone 1999-10-21 22:33:30 +00:00
rods%netscape.com
23ceab24e7 changed the padding so it is adding in the correct left right instead of top bottom
r=kmcclusk, Bug #16936
1999-10-21 22:22:32 +00:00
jst%citec.fi
96830556e2 Make printing use only enabled stylesheets. No bug, r=kipp@netscape.com and dcone@netscape.com. 1999-10-21 22:20:37 +00:00
ftang%netscape.com
e1475842c4 change the input method highligh code from 2 style to 4 styles. r=mjudge 1999-10-21 22:01:18 +00:00
kipp%netscape.com
864bb2e148 Added two new tests 1999-10-21 21:46:52 +00:00
mcafee%netscape.com
3fdb6bbe55 Fixing evaughan's last change. r=law 1999-10-21 21:14:59 +00:00
brade%netscape.com
1182cb4c42 add nsTextContentDataChange.cpp a=leaf@mozilla.org 1999-10-21 21:14:19 +00:00
rickg%netscape.com
58f36b6e55 changed default font-size for viewsource; r=none; 1999-10-21 21:05:17 +00:00
mcafee%netscape.com
8741adeb58 Backing out evaughan's change which broke linux/solaris. a=mcafee 1999-10-21 21:05:02 +00:00
troy%netscape.com
5230acb007 Removed unused 4-byte "mMaxElementSize" member data 1999-10-21 20:51:04 +00:00
kipp%netscape.com
aa1359ec9e r=troy; added nsTextContentChangeData to the build 1999-10-21 20:48:43 +00:00
kipp%netscape.com
af9da2ea96 Support navigators built-in image types internal-gopher-* 1999-10-21 20:48:04 +00:00
kipp%netscape.com
a66a206556 Fixed percolation of nbsp's into the transformed buffer (bug 16886) 1999-10-21 20:47:36 +00:00
kipp%netscape.com
584976d119 r=troy; Optimize append text reflows to only reflow the new part of the text 1999-10-21 20:46:05 +00:00
kipp%netscape.com
25bfd833f4 moved debug logic for dumping reflow commands so that we can dump them without requiring the incremental reflow verification logic to run 1999-10-21 20:45:39 +00:00
kipp%netscape.com
b10899223c r=troy; bug: 15153; fixed problem with style-change reflows not being propogated properly 1999-10-21 20:44:58 +00:00
kipp%netscape.com
0d540807d5 r=troy; bugs: 13196; fixed floating table reflow issues found in 13196 by storing floater max-element-size for later retrieval 1999-10-21 20:44:22 +00:00
kipp%netscape.com
568331e355 r=troy; bugs: 15153, 13196; fixed problem with style-change reflows not being propogated properly; also fixed floating table reflow issues found in 13196 by storing floater max-element-size for later retrieval 1999-10-21 20:43:48 +00:00
kipp%netscape.com
e9bf26f660 Export the gopher images 1999-10-21 20:42:18 +00:00
kipp%netscape.com
681dfe2f66 Use nsTextContentChangeData to pass down to the reflow logic the effect on the text 1999-10-21 20:40:51 +00:00
kipp%netscape.com
12081072dc new file for text reflow optimiziation 1999-10-21 20:40:25 +00:00
rickg%netscape.com
364d915c6d changed default font-size for viewsource; r=none; 1999-10-21 20:34:02 +00:00
kipp%netscape.com
d6d696ef93 r=troy; Added a property for max-element-size storage for fixing bug 13196 1999-10-21 20:23:05 +00:00
kipp%netscape.com
b573d95fee r=troy; Added nsITextContetChangeData to help optimize modifications of large text elements 1999-10-21 20:22:02 +00:00
evaughan%netscape.com
b6438a44bc Fixed some warnings: reviewed -hyatt 1999-10-21 20:17:51 +00:00
kipp%netscape.com
897f9ed9f9 new 1999-10-21 16:20:53 +00:00
pierre%netscape.com
a966f87a22 Enabled MOZ_PERF_METRICS in the Mac build: - updated DefinesMozilla.h - fixed stopwatch.cpp - created libutilIDL.mcp - added StopWatch exports to libutil.exp - added xpcom.shlb to libutil.mcp - added libutil.shlb to htmlparser.mcp, layout.mcp, webshell.mcp 1999-10-21 05:41:45 +00:00
troy%netscape.com
0959b411de r=kipp@netscape.com
Added API to get/set properties on frames. Also changed nsContainerFrame
to use a property to implement the frame overflow list. This saves 4 bytes
per container frames
1999-10-21 05:11:43 +00:00
nisheeth%netscape.com
007e5bc033 Should not affect build. Include stopwatch object code if MOZ_PERF is defined. 1999-10-21 02:47:56 +00:00
karnaze%netscape.com
60c25e67d8 bug 14915 - fix crash. 1999-10-21 00:11:55 +00:00
rods%netscape.com
ef783cc295 removed the PR_MAX forcing the y offset to be zero or greater. Not sure why it was doing this.
r=kmcclusk Bug #16152
1999-10-21 00:06:23 +00:00
rods%netscape.com
441e02909f added check for null frame. The child frame can be null when a comment node exists as
one of the children of the select. r=kmcclusk, Bug #16355
1999-10-20 23:35:38 +00:00
pierre%netscape.com
bcd4fef854 #15636 "Cleanup build warnings". Some compilers issued a "hidden virtual method" warning because only one of the two implementations of GetDesiredSize() was overridden. r=slamm. 1999-10-20 23:30:29 +00:00
rods%netscape.com
a00139db0c added code to the destructor to make sure the list get rolled up.
r=kmcclusk bug 15912
1999-10-20 21:59:04 +00:00
akkana%netscape.com
5096c0459f 15777: Don't declare the same function-static symbol twice in the same file, because some versions of gcc can't deal with it. r=mcafee 1999-10-20 20:20:38 +00:00
mcafee%netscape.com
64090b2391 Reviewing and applying pavlov's fix for extra row in color palette. (14315) 1999-10-20 20:14:13 +00:00
putterman%netscape.com
abca7c93cd Fixes 15771 and 10603. Scrolling up in tree widget doesn't lose treeitems. r=hyatt. 1999-10-20 19:48:58 +00:00
scc%netscape.com
e36b183d71 eliminate warnings, r=shaver 1999-10-20 18:59:00 +00:00
kipp%netscape.com
7bba09da58 new 1999-10-20 15:31:51 +00:00
kipp%netscape.com
febe317076 Use local images 1999-10-20 15:31:26 +00:00
kipp%netscape.com
014a3799c6 Made test run locally without a net 1999-10-20 15:31:11 +00:00
dcone%netscape.com
8c53e876bb Fixed the rounded border rendering code to obey solid, and none style types.
Also bumped all the rounded rects onto pixel boundaries before rendering.
1999-10-20 14:46:27 +00:00
karnaze%netscape.com
886b682461 Remove caching cell spacing as margin on cells, reducing 16 bytes and avoiding potentially unique style contexts; simplified cell margin calculations; r=troy 1999-10-20 14:18:56 +00:00
evaughan%netscape.com
a2bcc96c08 fixed numerous warnings. Reviewed by Hyatt. 1999-10-20 00:46:21 +00:00
kipp%netscape.com
a02022ed21 Added new test 1999-10-19 23:53:31 +00:00
pollmann%netscape.com
bfbdf41a89 Bug 15729: Fall back to content when getting text value; r=vidur 1999-10-19 23:43:58 +00:00
kipp%netscape.com
c4dba8ca2e Added more tests 1999-10-19 23:04:55 +00:00
kipp%netscape.com
0f9f609d96 new 1999-10-19 23:04:33 +00:00
kipp%netscape.com
a5c69dc5af Fixed O(N^2) debug logic bug; speed up paint loop by avoiding painting too much now that we have combined-area (bug 7455, 12297) 1999-10-19 23:04:19 +00:00
kipp%netscape.com
a03246a1e0 update to new nsTextTransformer api 1999-10-19 23:01:58 +00:00
kipp%netscape.com
effbb5992f r=ftang; rewrite to fix 16656, parts of 7455 1999-10-19 23:01:45 +00:00
kipp%netscape.com
19fd466554 Init text-transformer during module setup to save cycles (bug 7455) 1999-10-19 23:01:23 +00:00
nisheeth%netscape.com
ef75c33b3c Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS. 1999-10-19 22:27:20 +00:00
rods%netscape.com
a915909a72 The code that checked to see whether it should explicitly set focus on the gfx's containing widget
now uget the new focused content's frame instead of using the mCurrentTarget. The mCurrentTarget
is correct for a mouse down but incorrect for a "tab". This is because the mCurrentTarget points at
the currently focused content for a tab event, instead of the new content.
r=joki, bug 11162
1999-10-19 21:57:43 +00:00
dp%netscape.com
23d1ad11a9 Removing prototype of NS_NewDocumentElementFrame. r=evaughan 1999-10-19 21:40:54 +00:00
tbogard%aol.net
8be27000b1 Ooops, last night removing one warning uncovered another. r=gimpy 1999-10-19 21:34:21 +00:00
rods%netscape.com
8874e3db0c cleaned up warning, result hidding another, r=kmcclusk, (no bug) 1999-10-19 19:59:06 +00:00
rods%netscape.com
634a39119e fixed several warning and fixed setting the wrap property enum to off r=kmcclusk, bug 16770 1999-10-19 19:58:07 +00:00
rods%netscape.com
b8cbe4bec7 removed comma after last enum, warning clean up, r=kmcclusk (no bug) 1999-10-19 19:56:35 +00:00
troy%netscape.com
8ed2cc1d26 b=16781, r=vidur@netscape.com
Re-ordered destructor to delete maps after destroying the frame hierarchy
1999-10-19 19:06:37 +00:00
pollmann%netscape.com
312e7468d9 Bug 16725: Enable align attribute for iframe; r=harishd 1999-10-19 19:01:49 +00:00
troy%netscape.com
abf8a1ff80 Changes to frame property API (code's not being used yet) 1999-10-19 14:41:55 +00:00
rods%netscape.com
ca955c710f changed font-family and margin settings for input text and textareas
r-kmcclusk, Bug #4072
1999-10-19 13:39:59 +00:00
rods%netscape.com
a82d9806ee Changed the sizing comparison for NavQuirks in debug mode to get the font family and size
for the input text  and textarea, I also changed the border calc for only when the
the size is explicitly set.
r=kmcclusk, Bug #3040,11285
1999-10-19 11:59:01 +00:00
rods%netscape.com
969aac994a Moved GetWrapProperty to nsFormControlHelper
Changed add the added of scrollbar sizes for Standard mode
r=kmcclusk, Bug #3040,11285
1999-10-19 11:58:53 +00:00
rods%netscape.com
6138edf03a Added methods for getting a frame's current font and
for calculating the nsIFormControlFrame's NavQuirks size
Added two methods for getting the "wrap" property and andded a new enum
for for testing against instead of a string
Added a method for calculating the size when in NavQuirks modes, this currently
duplicates the algorithms for for input text and textareas
r=kmcclusk, Bug #3040,11285
1999-10-19 11:58:50 +00:00
rods%netscape.com
a1f10b043a Removed old commented out code and unused comments. r=kmcclusk, (no bug) 1999-10-19 11:35:17 +00:00
tbogard%aol.net
c234e50cdb Removing gimpy's warnings. r=gimpy. This brings us down to 200. :) 1999-10-19 07:50:55 +00:00
troy%netscape.com
75aaae40bb Changed a comment 1999-10-19 05:00:30 +00:00
troy%netscape.com
c81762bdd1 Change to code that's not currently being used. Before it gets used it
will get code reviewed
1999-10-19 04:52:33 +00:00
troy%netscape.com
75462f79f1 Didn't actually change anything. Just moved two functions up higher in the
file to make the Solaris compiler happy...
1999-10-19 04:50:34 +00:00
pierre%netscape.com
ef97bb93d1 Fix a crash in Mac embedding apps: HasGfxScrollBars() checks for null pointer after calling GetPrefs(). 1999-10-19 03:00:47 +00:00
pierre%netscape.com
bfe52a8e4e Fix #12737 "-moz-fixed should be compat mode only". Overwrites the fixed font family with the normal font family in navQuirks mode only. r=pollmann. 1999-10-19 00:31:45 +00:00
troy%netscape.com
153e50eb7f r=kipp@netscape.com Moved ownership of root frame (and frame hierarchy) over to
the frame manager
1999-10-18 22:20:37 +00:00
rods%netscape.com
297e3bd9c3 Links will now scroll into view when they get focus and anchors now respond
to the .focus call from script. r=kmcclusk, Bug #15198
1999-10-18 21:49:38 +00:00
rods%netscape.com
6ff5998968 Move code to handle focus event into the correct switch statement
r=kmcclusk, bug 7133
1999-10-18 21:47:31 +00:00
troy%netscape.com
092e7de2fb Removed delete operators (they had no implementation, they were private so
they wern't accidently called), because HP compiler generated an error if
new operator was public but delete operator was private
1999-10-18 20:16:49 +00:00
troy%netscape.com
d1f8db9147 b=16615. Two line change. Added check for case of root node being a leaf.
The rest of the changes are NOT yet in use. They willbe reviewed by Kipp before
they're turned on
1999-10-18 19:02:09 +00:00
akkana%netscape.com
acf13df96b Remove two ifdef DEBUG_akkana lines that were left in when someone
changed the implementation of ConvertContentToXIF, so that I can
compile again.  This won't affect anyone but me.  r=kipp
1999-10-18 19:01:56 +00:00
troy%netscape.com
fef6b481ea b=16652, r=troy@netscape.com
Patch from Johnny Stenback that breaks a weak link reference
1999-10-18 19:00:49 +00:00
karnaze%netscape.com
80a50d6b37 added #ifdef for debug printing. 1999-10-18 13:48:19 +00:00
karnaze%netscape.com
d660d6c031 bug 15958(partial) - uses mComputedWidth instead of availableSize.width. r=buster; asked hook for permission, got no response. 1999-10-18 13:47:01 +00:00
karnaze%netscape.com
633c13eced bug 15993 - in quirks mode allocates space for a 1 pixel border if the content is empty and the table has a border. It was incorrectly, doing this even if the content was not empty. r=buster; asked permission from hook and got no response. 1999-10-18 13:45:41 +00:00
rickg%netscape.com
5024910c2a forgot to check this in for viewsource; bug13536; r=harish 1999-10-18 00:46:33 +00:00
karnaze%netscape.com
23f1fe363d new regression tests. does not affect build. 1999-10-17 23:26:02 +00:00
karnaze%netscape.com
c76b947fb2 new regression test, doesn't affect build. 1999-10-17 21:46:13 +00:00
shaver%netscape.com
472e4cae46 Added support for type="radio" (pick-one) XP menus.
Cleaned up nsFrame class declaration a bit.
Added some API entries to nsIMenuFrame in support of type="radio"'s
pick-one behaviour.
Renamed UpdateMenuChecked to UpdateMenuSpecialState.
Removed stale string-splitting code in CreateAnonymousContent.
(r=hyatt,mcafee)
1999-10-17 21:37:37 +00:00
karnaze%netscape.com
7d036bca8e new regression test. does not affect code. 1999-10-17 05:17:41 +00:00
karnaze%netscape.com
6696ec08a1 new regression test 1999-10-17 03:42:37 +00:00
troy%netscape.com
502629f011 r=karnaze@netscape.com Cc'd hyatt@netscape.com
Space optimization. mBorderEdges is no longer an embedded object. Now it's
allocated when needed (for collapsing border model tables only). This saves
80 bytes per table cell frame for the normal HTML case of adjacent border
model
1999-10-17 03:30:11 +00:00
karnaze%netscape.com
a196cb1d40 bug 11321 - Renamed kidMaxElementSize to localKidMaxElementSize and renamed pKidMaxElementSize to kidMaxElementSize and fixed the incorrect usage. 1999-10-17 03:17:53 +00:00
karnaze%netscape.com
47f30fca03 bug 11321 - the frame constructor sets the primary frame when an anonymous table or row group frame is involved. 1999-10-17 03:15:13 +00:00
rickg%netscape.com
84c387e814 WIP bug13536; r=peterl; this code is not used yet 1999-10-16 18:22:24 +00:00
troy%netscape.com
5ab2223218 Space optimization, r=karnaze@netscape.com Cc'd hyatt@netscape.com
Save 4 bytes by eliminating the mCalculated data member which wasn't being used
1999-10-16 16:17:07 +00:00
karnaze%netscape.com
b65c354b80 added 2 additional file lists to regression tests to work around new javascript bug. 1999-10-16 05:26:22 +00:00
peterl%netscape.com
ed18a01643 Added new style data accessors.
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:05:59 +00:00
troy%netscape.com
bc981fba0d Added some new code that's not in use yet 1999-10-16 00:55:48 +00:00
rickg%netscape.com
c64ecde1b8 WIP for bug13536; r=plinss 1999-10-16 00:39:24 +00:00
kipp%netscape.com
15a0ec26fa r=troy; revised nsITextContent api to simplify it and the consumers; this is done as prep work for bug 9101 1999-10-15 23:36:07 +00:00
kipp%netscape.com
6b86a5034c r=troy; fixed bug 7093 by carefully pre-computed the collapsed top margin before reflowing the child block and then using that value to properly acquire the available space; In addition, I had to fix an incremental reflow bug associated with this problem 1999-10-15 23:35:10 +00:00
kipp%netscape.com
bf91cebfba Wiped out another warning 1999-10-15 23:29:21 +00:00
kipp%netscape.com
0c2e36f8c8 new 1999-10-15 23:25:02 +00:00
peterl%netscape.com
a6adfea707 Added namespace ID to the AttributeChanged notification
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
peterl%netscape.com
27d06db43a Changed reported namespace of attributes from HTML to None.
r=vidur
Also added namespace ID to the AttributeChanged method
Part of the fix for Bug 15153
r=troy
1999-10-15 23:15:17 +00:00
peterl%netscape.com
2429e3f7e5 Added code to detect generated content that depends on attributes and reflow when the attribute changes
Fix for Bug 15153
r=pierre
Also added namespace ID to the AttributeChanged method
r=troy
1999-10-15 23:14:44 +00:00
troy%netscape.com
ff3811524a Added some new code that isn't being used 1999-10-15 22:53:24 +00:00
waqar%netscape.com
46cc304d11 #9777
r vidur@netscape.com
d The issue was resolved by DOM commitie to allow SplitText to give an error
only on if the start of split is larger than the length. If it is same lenght
it is allowed.
1999-10-15 22:18:23 +00:00
kipp%netscape.com
5b80d4a004 Nuke some more warnings 1999-10-15 21:18:32 +00:00
shaver%netscape.com
074e7c8a5a Add support for type="checkbox" in <menuitem>.
Converted small pile of PRBool to PRPackedBool for space savings.
r=hyatt
1999-10-15 21:13:24 +00:00
kipp%netscape.com
2dc743e6b1 Eliminate need for networked loaded images 1999-10-15 19:44:09 +00:00
kipp%netscape.com
8c7b0d7b3b nuked 1999-10-15 16:58:21 +00:00
buster%netscape.com
a23754e4b6 bug 12221 [Dogfood] Gfx text controls need to notify on mouse events
r=rods@netscape.com
also did some associated performance work, factoring code and collapsing multiple listener
objects down to 1.  This saves a few allocations and about 60 bytes per text control.

bug 11803 Need new event for text value changing
r=hyatt@netscape.com
not dogfood approved, but the fix has been sitting in my tree for 2 weeks
1999-10-15 13:38:29 +00:00
buster%netscape.com
9c89a6b52d bug 11803 Need new event for text value changing
r=hyatt@netscape.com
not dogfood approved, but the fix has been sitting in my tree for 2 weeks
1999-10-15 13:37:06 +00:00
buster%netscape.com
102c1fb55e bug 11803 Need new event for text value changing
r=hyatt@netscape.com
not dogfood, but the fix has been sitting in my tree for 2 weeks
1999-10-15 13:36:23 +00:00
buster%netscape.com
a13fc42067 no bug number, part of webshell cleanup. nsIWebShell.h was needlessly included, so I removed it
trivial change, no reviewer.
1999-10-15 13:34:45 +00:00
rods%netscape.com
7130df81ee Fixed focus processing, this new code is very close to version 1.54 but more robust,
this fixes bug #7133. It has been compiled and tested on Win, Mac, and Linux.
r=buster,dcone
1999-10-15 13:20:32 +00:00
hyatt%netscape.com
80d4dd9246 Fix for 16479. r=waterson 1999-10-15 07:54:43 +00:00
kin%netscape.com
6762dd27f5 Fix for bug #15360: Drag Selecting, Clicking, then Clicking leaves caret cruft.
r=troy@netscape.com,kipp@netscape.com,evaughan@netscape.com,beard@netscape.com

layout/html/base/src/nsGfxScrollFrame.cpp
    - Renamed all occurrences of ScrollPositionChanged() to
      to ScrollPositionDidChange() to match changes made
      to nsIScrollPositionListener.
    - Added ScrollPositionWillChange() stub method.

layout/html/base/src/nsPresShell.cpp
    - Added PresShellViewEventListener class that implements the
      nsIScrollPositionListener and nsICompositeListener view
      interfaces. This allows us to turn caret rendering on and off
      when scrolling and repainting to prevent leaving caret cruft
      on the screen.
    - PresShellViewEventListener is created in InitialReflow(), and
      released in ~PresShell().

view/public/Makefile.in
view/public/makefile.win
view/public/MANIFEST
    - Added nsICompositeListener to list of files to be exported.

view/public/nsICompositeListener.h
    - New file. Implementers of this interface can register themselves
      with the view manager to receive notification before and after
      a view is composited/refreshed.

view/public/nsIScrollPositionListener.h
    - Added a ScrollPositionWillChange() method.
    - Changed ScrollPositionChanged() to ScrollPositionDidChange().

view/public/nsIViewManager.h
    - Added AddCompositeListener() and RemoveCompositeListener methods.

view/src/nsScrollingView.cpp
view/src/nsScrollingView.h
    - Added NotifyScrollPositionWillChange() and
      NotifyScrollPositionDidChange() methods.
    - Modified HandleScrollEvent() to call NotifyScrollPositionWill/DidChange()
      methods. Added temporary offsetX and offsetY variables to allow us
      to calculate new offsets without changing mOffsetX and mOffsetY before
      notifications are sent out.

view/src/nsScrollPortView.cpp
    - Changed ScrollPositionChanged() to ScrollPositionDidChange().
    - Modified ScrollTo() to call the listener's ScrollPositionWillChange()
      method.

view/src/nsViewManager.cpp
view/src/nsViewManager.h
    - Added AddCompositeListener() and RemoveCompositeListener() methods.
    - Added support for CompositeListener notifications in the Refresh()
      methods for regions and rects.
    - Fix for bug #15901: [DOGFOOD] Selected text does not clear when you type
      Modified UpdateView() so that rects with zero width and height are
      no longer added to our damage region.
      r=beard@netscape.com
1999-10-15 04:29:30 +00:00
karnaze%netscape.com
f42c7bef25 new regression test. 1999-10-15 04:29:09 +00:00
karnaze%netscape.com
bb627081c7 pass2 reflow doesn't request max element sizes to help with bug 14855. Reviewers didn't respond. 1999-10-15 04:09:22 +00:00
troy%netscape.com
98ee25447f Patch from jst@citec.fi r=troy@netscape.com
Part of a fix for crash when expanding/collapsing toolbars. Change to
DeletingFrameSubtree() to make sure it examines the additional child
list as well as the principal child list
1999-10-15 03:37:10 +00:00
troy%netscape.com
bf8c6d860d Space savings. r=kipp@netscape.com
Re-implemented DST code to use separate objects for leaf nodes and
internal nodes. This reduces the per node size from 16 bytes to (on
average) 13 bytes per node
1999-10-15 03:18:28 +00:00
troy%netscape.com
f80550c400 Space savings. r=karnaze@netscape.com Cc'd hyatt@netscape.com
Eliminated member data mIsContentEmpty and now we use a frame state bit
instead. This saves 4 bytes of space per table cell frame
1999-10-15 03:14:59 +00:00
peterl%netscape.com
670703db1c moved toggle and tri-state from user-modify to user-select to stay in sync with CSS3
no bug #
r=pierre
1999-10-15 02:11:09 +00:00
kipp%netscape.com
bb62374419 Removed two more warnings 1999-10-15 00:29:28 +00:00
shaver%netscape.com
18cbc4b5ab Fix for 15480 (menu reflow from content change).
Use <titledbutton>, not <div>, for accelerator text to fix alignment
and improve performance _ever_ so slightly.
Initial support for checked menus (needs more magic).
(r=hyatt)
1999-10-14 23:59:18 +00:00
mjudge%netscape.com
385f949e66 oops. for got to check this in last time. bug number is 14795 1999-10-14 23:52:42 +00:00
kmcclusk%netscape.com
be9ef38eb8 Set vertical-align:baseline for input[type=image] to make it compatible with Nav 4.x
bug #16370; r=rods@netscape.com
1999-10-14 23:48:02 +00:00
pollmann%netscape.com
f93bec8bc1 Bugs 16450, 11979, 16576: Add back a CRLF I took out of the form post headers; r=harishd 1999-10-14 23:47:08 +00:00
kmcclusk%netscape.com
f84534d73b When submitting a form using a "get" method only add the ? if the href does not end in a ?.
bug #16137 r=rods@netscape.com
1999-10-14 23:45:02 +00:00
kmcclusk%netscape.com
a62e21a089 Return the value of the option element value attribute if it is present otherwise return
the content of the option. bug #16158. r=rods@netscape.com
1999-10-14 23:41:40 +00:00
pepper%netscape.com
2e9499e739 Changed friend declaration to make HP compilers happy.
aCC requires a decl of friend class ClassName instead of friend ClassName.
r=peterl@netscape.com,mgleeson@netscape.com
1999-10-14 23:31:07 +00:00
kipp%netscape.com
7d45a10d09 r=Tomi.Leppikangas@oulu.fi; landed his patch for solaris build issues 1999-10-14 23:11:44 +00:00
kipp%netscape.com
c0f47fe47c Fixed edge case where line bounds wasn't quite accurate which causes the combined rect to not match which now wastes memory; only affects right aligned lines 1999-10-14 23:10:59 +00:00
kipp%netscape.com
ab0a40b009 r=troy; Reworked nsLineBox api to allow for reduced storage overhead; fixed bug 16252 while keeping bug 12709 fixed 1999-10-14 23:10:03 +00:00
kipp%netscape.com
1f6b355fee r=troy; Use a custom frame type so that bullets show up properly in the frame sizing data 1999-10-14 23:08:58 +00:00
kipp%netscape.com
ff3faa1ce6 r=troy; Added some more atoms so that Dframe sizing data is more particular for line boxes 1999-10-14 23:08:31 +00:00
kipp%netscape.com
2fbd44ca90 r=troy; Added a #define to prevent future code crashes 1999-10-14 23:08:04 +00:00
kipp%netscape.com
3da3224f93 Added a new table regression test 1999-10-14 22:58:41 +00:00
ftang%netscape.com
850606d07a landing keyEvent_19991004_BRANCH
bugs # see the log of the check in into branch
author/reviewer:
mozilla/layout/base/src/nsRangeList.cpp brade/mjudge
mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp brade/ftang
mozilla/layout/events/src/nsDOMEvent.cpp brade/joki
mozilla/layout/events/src/nsEventStateManager.cpp brade/joki
mozilla/widget/public/nsGUIEvent.h akkana/ftang
mozilla/widget/src/windows/nsWindow.cpp ftang/mjudge
mozilla/widget/src/windows/nsWindow.h ftang/mjudge
mozilla/widget/src/mac/nsTextAreaWidget.cpp brade/ftang
mozilla/widget/src/mac/nsMacEventHandler.cpp brade/simon
mozilla/widget/src/xpwidgets/nsKeyBindMgr.cpp brade/ftang
mozilla/widget/src/gtk/nsGtkEventHandler.cpp akkana/?
mozilla/widget/src/gtk/nsWidget.cpp erik/ftang
mozilla/layout/xul/base/src/nsTreeCellFrame.cpp brade/ftang
mozilla/editor/base/nsEditorEventListeners.cpp brade/akkana
mozilla/editor/base/nsHTMLEditor.cpp brade/akkana
mozilla/rdf/content/src/nsXULKeyListener.cpp ftang/saari
fix the master bug- 15693
fix at least, but not limited to, the following bugs
10158,11956,6053,9333,10901,14348,6449,11845,13016,14410,15657,15307,15842,13856
1999-10-14 18:27:01 +00:00
rods%netscape.com
076620922f This corrects an erroneous checkin made on monday, fixes bug #16362 r=dcone 1999-10-14 14:55:08 +00:00
hyatt%netscape.com
b0356da4ef Fixing warnings. r=travis 1999-10-14 12:02:32 +00:00
tbogard%aol.net
57fb3acb21 Fixed a number of incorrect assumptions of the attribute retrieval so it would now work with the of new XUL content nodes (iframe, browser, editor). r=hyatt. 1999-10-14 10:58:04 +00:00
tbogard%aol.net
fec1e6f24c Adding construction for new XUL tags "iframe", "editor", and "browser". r=hyatt. 1999-10-14 10:55:24 +00:00
tbogard%aol.net
3d64ba83de Adding new XUL tags, "iframe", "browser", "editor". r=hyatt. 1999-10-14 10:54:32 +00:00
troy%netscape.com
eccee5177e b=15388,15408 r=peterl@netscape.com
Made it so that for absolutely positioned frames we pass in the containing
block width/height to the HTML reflow state, rather than have it compute it.
This means we get a bottom up size rather than a top down size. That fixes
a problem where for containing blocks with a specified 'height' of 'auto' we
weren't correctly calculating the containing block height
1999-10-14 04:56:50 +00:00
troy%netscape.com
70d79a10be b=16238. Fix discussed with evaughan@netscape. One line change to make sure
the default area frame flag of NS_BLOCK_SPACE_MGR is used for scrolled
elements
1999-10-14 04:47:18 +00:00
troy%netscape.com
416156109c Space reductions for nsTableFrame. r=karnaze@netscape.com and changes Cc'd to
Hyatt. Tested extensively in apprunner (now mozilla). Change was to reduce from
10 to 5 the default size of the mColumnWidths array (note that the array is
dynamically grown if necessary). This reduces by 20 bytes the minimum table
frame size
1999-10-14 04:27:01 +00:00
karnaze%netscape.com
8589f840a1 bug 15247 - ComputeAvailableTableWidth accounts for margins 1999-10-14 04:03:20 +00:00
karnaze%netscape.com
97bc7cdc28 cells with width=0 become auto, added comments 1999-10-14 04:01:26 +00:00
karnaze%netscape.com
84c1a59ffe new regression tests 1999-10-14 03:59:42 +00:00
peterl%netscape.com
5cf3f40b06 moved style rule cascading logic into a stand-alone rule processor
the rule processor can now cascade rules from multiple style sheets
fix for bug 12401 & 12106
r=pierre
1999-10-14 00:59:21 +00:00
peterl%netscape.com
9005fd85a5 factored out parsing of style attribute
deferred parsing of style attribute until content
is connected to a document
Fix for bug 14986
r=vidur
1999-10-14 00:57:37 +00:00
peterl%netscape.com
3784781301 added an assertion to help track down Bug 14238
r=troy
1999-10-14 00:56:30 +00:00
rbs%maths.uq.edu.au
e853983143 [MathML] Fix to get the scriptlevel style context back, and minor cleanups. 1999-10-13 15:10:14 +00:00
karnaze%netscape.com
d978f30c29 bug 11026 - AllocateUnconstrained was off by 1 twip in some cases. bug 14159 - cell is not fixed width if an auto cell in the same col has a larger desired size for backward compatibilty. 1999-10-13 14:44:22 +00:00
karnaze%netscape.com
48c216257e removed handling of 0 width cells in ComputeAvailableTableWidth since it is done in nsHTMLTableElement. review=kmcclusk 1999-10-13 14:39:33 +00:00
karnaze%netscape.com
91b4aeefdd added comments 1999-10-13 14:36:28 +00:00
waterson%netscape.com
86ea8fe7d3 Factor out dirtying of tree, fixed bug with dynamic column creation due to row addition. r=hyatt 1999-10-13 08:53:57 +00:00
pinkerton%netscape.com
9d9178e980 correctly update cellmap when scrolling in a tree with no column headers (r=hyatt, partial fix for bug#15771) 1999-10-13 08:01:43 +00:00
karnaze%netscape.com
e1b3f6ad9c new regression tests, file images for others. Does not affect the build. 1999-10-13 05:40:53 +00:00
vidur%netscape.com
a636b7dacd Fix for bug 15772. Check that a content node is part of the document tree before dispatching a blur event to it. R=joki 1999-10-13 04:19:26 +00:00
pollmann%netscape.com
e0ed7d0ee8 Bug 16126: Check for a cached state when reading value or submitting Gfx text frame (before initialize); r=joki 1999-10-13 02:49:42 +00:00
pollmann%netscape.com
3ab87e9d02 Bug 15423: Check for a base href when forming the URL for an image map; r=harishd 1999-10-13 01:37:30 +00:00
mjudge%netscape.com
3a065e373b bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. get position not a valid call anymore to nsIFrame.h 1999-10-13 01:16:09 +00:00
mjudge%netscape.com
fc71fb36d1 bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. 1999-10-13 01:15:26 +00:00
troy%netscape.com
e592be8776 b=15509, r=peterl@netscape.com
If the frame has visible content that extends outside its content area,
then the view needs to be marked as having transparent content
1999-10-13 01:02:53 +00:00
pollmann%netscape.com
b32d16e429 Bug 15180: Don't add a Referer line to the HTTP post data, as Necko already adds one. r=harishd 1999-10-13 00:54:47 +00:00
pinkerton%netscape.com
008ee8f541 pulled mac-specific patches to the tip in order to allow typing in the url bar in navigator to work w/out firing cmd-keybindings. (r=saari, no explicit bug number). 1999-10-13 00:44:43 +00:00
rbs%maths.uq.edu.au
2d3b3fe6f0 [MathML] Update MathML hooks 1999-10-13 00:33:17 +00:00
kipp%netscape.com
02b64f135d r=kin,troy; Fixed reflow bug with optimization logic to avoid measuring text (no bug #) 1999-10-12 23:29:01 +00:00
kipp%netscape.com
e44578adf4 Fixed bugs with combined-area continuing to include trimmed whitespace (wip for 12297); Added support for tracking trim for 16176) 1999-10-12 23:27:32 +00:00
kipp%netscape.com
384ec5e73f New API for bug 16176 1999-10-12 23:26:41 +00:00
kipp%netscape.com
87e08f98e9 Factored common code into a single method (UseComputedHeight) 1999-10-12 23:25:49 +00:00
kipp%netscape.com
5a9e69f0c8 Port to new nsILineIterator api 1999-10-12 23:25:19 +00:00
kipp%netscape.com
2cd78b72d8 Fixed bug with bounds of line-box including side margins when it shouldn't (part of 12297) 1999-10-12 23:24:51 +00:00
kipp%netscape.com
d29d16b728 r=troy; Cleaned up line-box API (prep work for bug #12297; more coming); Support new line iterator API change (#16176) 1999-10-12 23:24:22 +00:00
kipp%netscape.com
2c4293a104 Removed silly NS_IMETHOD decls 1999-10-12 23:22:53 +00:00
kipp%netscape.com
9059f09ba2 Added two new atoms to help meter large vs. small line boxes 1999-10-12 23:22:34 +00:00
kipp%netscape.com
70bd159dd4 Removed two warnings 1999-10-12 23:21:40 +00:00
kipp%netscape.com
6bf36d863a new 1999-10-12 23:20:40 +00:00
mgleeson1%netscape.com
e12bc5aecd r=evaughan friend declaration needs to declare object is function or class (HPUX) 1999-10-12 22:58:04 +00:00
kmcclusk%netscape.com
4482aee25c Set state of checkbox and Radio button on MouseUp instead of MouseDown so JavaScript onclick
event handlers can retreive the correct state of the form element. bug 15366; r=rods@netscape.com

Submit the form when a text field is clicked on only if the JavaScript event handler
has not consumed the event. bug 15949; r=rods@netscape.com
1999-10-12 22:44:23 +00:00
kmcclusk%netscape.com
b545fdcf6a Backing out change made while tree was closed 1999-10-12 22:07:24 +00:00
kmcclusk%netscape.com
6c2f2a1317 Backing out changes made while tree was closed. 1999-10-12 22:01:49 +00:00
kmcclusk%netscape.com
be2e4b8643 Set state of checkbox and Radio button on MouseUp instead of MouseDown so JavaScript onclick
event handlers can retreive the correct state of the form element. bug 15366; r=rods@netscape.com

Submit the form when a text field is clicked on only if the JavaScript event handler
has not consumed the event. bug 15949; r=rods@netscape.com
1999-10-12 21:42:31 +00:00
evaughan%netscape.com
23b60d7a97 Fixed mail/news regression. Code review Saari, Hyatt 1999-10-12 20:50:01 +00:00
karnaze%netscape.com
669eb396ce new regression test. 1999-10-12 14:50:38 +00:00
pollmann%netscape.com
f7222cc9f3 Bug 15841: Don't default to selecting item 0 of a listbox
Bug 15769: Default select item 0 when adding or removing opt to combo
r=harishd
1999-10-12 08:47:29 +00:00