Граф коммитов

7119 Коммитов

Автор SHA1 Сообщение Дата
karnaze%netscape.com f6bb8a295b bug 14915 - fix crash. 1999-10-21 00:11:55 +00:00
rods%netscape.com 65832c10f9 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 7e0d0084d1 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 a4d21ee991 #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 7c9efc7940 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 c17c0e1ed8 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 a2b128caf0 Reviewing and applying pavlov's fix for extra row in color palette. (14315) 1999-10-20 20:14:13 +00:00
putterman%netscape.com d23f1aee54 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 fcc6a10651 eliminate warnings, r=shaver 1999-10-20 18:59:00 +00:00
kipp%netscape.com 6a175cffab new 1999-10-20 15:31:51 +00:00
kipp%netscape.com 4c8e33c6e4 Use local images 1999-10-20 15:31:26 +00:00
kipp%netscape.com 6c78bec768 Made test run locally without a net 1999-10-20 15:31:11 +00:00
dcone%netscape.com f7a59c1299 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 6c97985da7 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 0dc0b76629 fixed numerous warnings. Reviewed by Hyatt. 1999-10-20 00:46:21 +00:00
kipp%netscape.com 82503e1e88 Added new test 1999-10-19 23:53:31 +00:00
pollmann%netscape.com 3f7f96a925 Bug 15729: Fall back to content when getting text value; r=vidur 1999-10-19 23:43:58 +00:00
kipp%netscape.com 806ab6962c Added more tests 1999-10-19 23:04:55 +00:00
kipp%netscape.com 82ba23d0a5 new 1999-10-19 23:04:33 +00:00
kipp%netscape.com db2e83b3f1 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 c0b2e2a313 update to new nsTextTransformer api 1999-10-19 23:01:58 +00:00
kipp%netscape.com 0c68b7cb66 r=ftang; rewrite to fix 16656, parts of 7455 1999-10-19 23:01:45 +00:00
kipp%netscape.com aae6798a39 Init text-transformer during module setup to save cycles (bug 7455) 1999-10-19 23:01:23 +00:00
nisheeth%netscape.com f485a1ad04 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 9903fdab4a 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 9874dc7ab6 Removing prototype of NS_NewDocumentElementFrame. r=evaughan 1999-10-19 21:40:54 +00:00
tbogard%aol.net 28353ad9de Ooops, last night removing one warning uncovered another. r=gimpy 1999-10-19 21:34:21 +00:00
rods%netscape.com 4c51b590ad cleaned up warning, result hidding another, r=kmcclusk, (no bug) 1999-10-19 19:59:06 +00:00
rods%netscape.com 62c0f338c7 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 55cea5cd58 removed comma after last enum, warning clean up, r=kmcclusk (no bug) 1999-10-19 19:56:35 +00:00
troy%netscape.com 2b99b1cbdc 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 08340e215a Bug 16725: Enable align attribute for iframe; r=harishd 1999-10-19 19:01:49 +00:00
troy%netscape.com fb99c83e01 Changes to frame property API (code's not being used yet) 1999-10-19 14:41:55 +00:00
rods%netscape.com 7f93cd8c0e 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 eae2d12d66 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 5a4c5ae518 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 8815aee70f 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 354b09bef7 Removed old commented out code and unused comments. r=kmcclusk, (no bug) 1999-10-19 11:35:17 +00:00
tbogard%aol.net fae096b67f Removing gimpy's warnings. r=gimpy. This brings us down to 200. :) 1999-10-19 07:50:55 +00:00
troy%netscape.com 665c1e8f05 Changed a comment 1999-10-19 05:00:30 +00:00
troy%netscape.com c327acc8a4 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 a5b7c8db19 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 5832ec669f 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 c070ed6434 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 a5e197eace 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 64684fc9a3 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 5c139a65a1 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 6b4f6dbd3b 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 f8566a0efb 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 f4660ce231 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 a0b9c5845c 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 67538f07ec added #ifdef for debug printing. 1999-10-18 13:48:19 +00:00
karnaze%netscape.com a5e6b0502a 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 c6317a41b4 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 91b4e307f9 forgot to check this in for viewsource; bug13536; r=harish 1999-10-18 00:46:33 +00:00
karnaze%netscape.com 486b3db316 new regression tests. does not affect build. 1999-10-17 23:26:02 +00:00
karnaze%netscape.com ff810222da new regression test, doesn't affect build. 1999-10-17 21:46:13 +00:00
shaver%netscape.com e8f524a3ed 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 ab7db6cc60 new regression test. does not affect code. 1999-10-17 05:17:41 +00:00
karnaze%netscape.com 7ae2b118d8 new regression test 1999-10-17 03:42:37 +00:00
troy%netscape.com 14ee1a1932 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 d26165e530 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 4df052cd47 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 230bcb8c24 WIP bug13536; r=peterl; this code is not used yet 1999-10-16 18:22:24 +00:00
troy%netscape.com 43e1137d33 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 07b28b0fdf 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 1634c730fd 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 6e47ab221b Added some new code that's not in use yet 1999-10-16 00:55:48 +00:00
rickg%netscape.com 8bdd92edf1 WIP for bug13536; r=plinss 1999-10-16 00:39:24 +00:00
kipp%netscape.com ad778d6889 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 88cf2d89c8 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 df637716d1 Wiped out another warning 1999-10-15 23:29:21 +00:00
kipp%netscape.com f1de715e5e new 1999-10-15 23:25:02 +00:00
peterl%netscape.com 757c0b5f01 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 dd4552d22a 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 65ccea28a4 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 113e2f5178 Added some new code that isn't being used 1999-10-15 22:53:24 +00:00
waqar%netscape.com 6f1456a88d #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 0d3284929f Nuke some more warnings 1999-10-15 21:18:32 +00:00
shaver%netscape.com e220469f04 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 96a343d96c Eliminate need for networked loaded images 1999-10-15 19:44:09 +00:00
kipp%netscape.com 019d25a0ef nuked 1999-10-15 16:58:21 +00:00
buster%netscape.com 9d23a1dcea 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 a43629a285 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 cd84903c09 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 27c06f0a19 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 f83fa03f9d 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 91b6e1598b Fix for 16479. r=waterson 1999-10-15 07:54:43 +00:00
kin%netscape.com 2c6c5d65d1 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 af1a63e33f new regression test. 1999-10-15 04:29:09 +00:00
karnaze%netscape.com 7c57ea6ff0 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 9c8c55333f 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 04abe430df 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 688c155440 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 31e48e3bdc 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 f9c3c010dc Removed two more warnings 1999-10-15 00:29:28 +00:00
shaver%netscape.com e362bed5fa 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 9cf7094f5f oops. for got to check this in last time. bug number is 14795 1999-10-14 23:52:42 +00:00
kmcclusk%netscape.com 601d5e377d 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 7c60c9a28d 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 2122c10911 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 8216078009 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 4655f53a5f 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 540d7bc136 r=Tomi.Leppikangas@oulu.fi; landed his patch for solaris build issues 1999-10-14 23:11:44 +00:00
kipp%netscape.com 5bf72a1120 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 ec14991303 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 444b9e431c 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 11fc60f14d 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 8c6fbed636 r=troy; Added a #define to prevent future code crashes 1999-10-14 23:08:04 +00:00
kipp%netscape.com 6afbea515b Added a new table regression test 1999-10-14 22:58:41 +00:00
ftang%netscape.com bd9000ea54 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 65cddaa40f This corrects an erroneous checkin made on monday, fixes bug #16362 r=dcone 1999-10-14 14:55:08 +00:00
hyatt%netscape.com 270cb15012 Fixing warnings. r=travis 1999-10-14 12:02:32 +00:00
tbogard%aol.net 3b567a8691 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 49c910aa7a Adding construction for new XUL tags "iframe", "editor", and "browser". r=hyatt. 1999-10-14 10:55:24 +00:00
tbogard%aol.net 9839174e85 Adding new XUL tags, "iframe", "browser", "editor". r=hyatt. 1999-10-14 10:54:32 +00:00
troy%netscape.com a71b08f611 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 8f6a874ca9 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 dde4d695d7 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 48636f76cd bug 15247 - ComputeAvailableTableWidth accounts for margins 1999-10-14 04:03:20 +00:00
karnaze%netscape.com 17bd205286 cells with width=0 become auto, added comments 1999-10-14 04:01:26 +00:00
karnaze%netscape.com 777ed186ad new regression tests 1999-10-14 03:59:42 +00:00
peterl%netscape.com e9c78ceb0d 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 f479d5d074 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 eee3a86181 added an assertion to help track down Bug 14238
r=troy
1999-10-14 00:56:30 +00:00
rbs%maths.uq.edu.au 8da96e7a6e [MathML] Fix to get the scriptlevel style context back, and minor cleanups. 1999-10-13 15:10:14 +00:00
karnaze%netscape.com 6603bb1392 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 0ca94b84af 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 a97d9c7bca added comments 1999-10-13 14:36:28 +00:00
waterson%netscape.com be3ea9dd42 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 5682341c3d 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 da443ccf66 new regression tests, file images for others. Does not affect the build. 1999-10-13 05:40:53 +00:00
vidur%netscape.com 8b5a3290c2 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 712864410c 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 45b14c6a42 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 21ba41e280 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 8ca2604934 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 6236da7013 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 5bef82c933 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 5409ec57f4 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 8c66e4f435 [MathML] Update MathML hooks 1999-10-13 00:33:17 +00:00
kipp%netscape.com aa30c6fc9b 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 26f3bc9b5b 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 4bc8037d2a New API for bug 16176 1999-10-12 23:26:41 +00:00
kipp%netscape.com 4845abe2cb Factored common code into a single method (UseComputedHeight) 1999-10-12 23:25:49 +00:00
kipp%netscape.com 5d5bafb2c1 Port to new nsILineIterator api 1999-10-12 23:25:19 +00:00
kipp%netscape.com 3a1c740c05 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 cfd8498ab1 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 12f1321db1 Removed silly NS_IMETHOD decls 1999-10-12 23:22:53 +00:00
kipp%netscape.com 2b4c0a8c97 Added two new atoms to help meter large vs. small line boxes 1999-10-12 23:22:34 +00:00
kipp%netscape.com 09d8122e54 Removed two warnings 1999-10-12 23:21:40 +00:00
kipp%netscape.com 3e283e4c3b new 1999-10-12 23:20:40 +00:00
mgleeson1%netscape.com 57f24ad909 r=evaughan friend declaration needs to declare object is function or class (HPUX) 1999-10-12 22:58:04 +00:00
kmcclusk%netscape.com 8ad1e5225d 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 279b5cf069 Backing out change made while tree was closed 1999-10-12 22:07:24 +00:00
kmcclusk%netscape.com b0ffb501bc Backing out changes made while tree was closed. 1999-10-12 22:01:49 +00:00
kmcclusk%netscape.com bd519238a9 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 dae35eeddf Fixed mail/news regression. Code review Saari, Hyatt 1999-10-12 20:50:01 +00:00
karnaze%netscape.com 4d94b4519e new regression test. 1999-10-12 14:50:38 +00:00
pollmann%netscape.com 110dc42745 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
pollmann%netscape.com 324dcfff7b Bug 15769: Default select item 0 when adding or removing opt to combo
r=harishd
1999-10-12 08:47:22 +00:00
rbs%maths.uq.edu.au 5e1d2e2f84 [MathML] Updates and initial landing of the example mixing.xml to illustrate how to mix MathML with other markups 1999-10-12 05:00:32 +00:00
rbs%maths.uq.edu.au 1f3415b86a [MathML] Removing unecessary #include of header files 1999-10-12 04:53:41 +00:00
rbs%maths.uq.edu.au fefad09693 [MathML] Additional missing hooks 1999-10-12 04:47:55 +00:00
rbs%maths.uq.edu.au 85fd7b1b72 [MathML] Removing unecessary #include of header files 1999-10-12 04:42:15 +00:00
rbs%maths.uq.edu.au a4f4be922c [MathML] Portability: adding explicit get() on pointers coming from nsCOMPtr 1999-10-12 04:38:21 +00:00
waterson%netscape.com c7347c6be0 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 03:05:10 +00:00
rbs%maths.uq.edu.au c70a44c9e4 Revamp of the architecture for stretchy symbols so that nsMathMLChar only deals with the atomic stretchy task. 1999-10-12 02:12:36 +00:00
rbs%maths.uq.edu.au 18e4220aae Removing a duplicate reference to a src file 1999-10-12 02:06:05 +00:00
rbs%maths.uq.edu.au cd1e2ea32a Removing a typedef and adding a new NS_MATHML_OPERATOR_MUTABLE flag 1999-10-12 01:58:27 +00:00
rbs%maths.uq.edu.au 55214258fb [MathML] removing registration hooks. They are now handled by nsLayoutModule. 1999-10-12 01:48:05 +00:00
peterl%netscape.com 62cd20de05 store system colors as int rather than enums
return proper result code when setting system color
r=rods
1999-10-12 01:31:33 +00:00
rbs%maths.uq.edu.au fecc51577e [MathML] Setting a bolean to PR_TRUE to allow generated pseudo content (e.g., :before, :after) in MathML. 1999-10-12 01:19:34 +00:00
peterl%netscape.com 5790174000 better result code testing in recreate frames for content
part of fix for 14134
r=pierre
1999-10-12 00:32:13 +00:00
peterl%netscape.com bcce57c3d1 added ignore value to user-focus
r=hyatt
1999-10-12 00:30:54 +00:00
peterl%netscape.com e47dff5c24 added 'ignore' keyword
r=hyatt
1999-10-12 00:30:19 +00:00
warren%netscape.com 3ddf68af5c Added NS_LOG_RELEASE for bloat stats. r=kmcclusk 1999-10-12 00:28:14 +00:00
peterl%netscape.com 99a7831a26 fix return type for append reflow command (was returning PRBool for nsresult)
part of fix for 14134
r=pierre
1999-10-12 00:23:10 +00:00
peterl%netscape.com 8823304c74 dont strip multiple changes with nsnull frames
part of fix for 14134
r=pierre
1999-10-12 00:22:18 +00:00
peterl%netscape.com 0aa8e8a9c7 add 'ignore' to user focus
r=hyatt
1999-10-12 00:21:06 +00:00
evaughan%netscape.com dd8734ed83 Integrated Gfx scrollbars. 1999-10-12 00:16:06 +00:00
rods%netscape.com 93c7749963 changed fonts for select and optgroup to match r=kmcclusk b=12230 1999-10-11 23:48:41 +00:00
rods%netscape.com 7eb1900ae8 removed css system color references (not implemented on Mac yet)
changed all checkbox borders to 2 pixels r=kmcclusk b=13854
1999-10-11 23:44:36 +00:00
nisheeth%netscape.com 7890852e87 We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers. 1999-10-11 23:42:56 +00:00
rpotts%netscape.com 9457969237 Removed 2 *extra* calls to NS_RELEASE in failure cases... 1999-10-10 06:58:42 +00:00
warren%netscape.com 91caa711bd Fixed refcounting problem and possible out-of-memory condition. r=kipp 1999-10-10 02:08:08 +00:00
dveditz%netscape.com 2b60c91417 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
av%netscape.com 1590a56c74 Bug 15178, r=vidur adding check for return value avoiding crash 1999-10-08 23:47:03 +00:00
av%netscape.com 132357b3c7 Bug 15178, r=vidur adding check for null-pointer avoiding crash 1999-10-08 23:46:23 +00:00
kipp%netscape.com 7f60bda117 Fixed cellmap ctor/dtor logging to not show up negative 1999-10-08 23:42:13 +00:00
jfrancis%netscape.com 918d5493a1 applying same fix as rev 1.28 (initializing mIsDone) to the rest of the Init() methods. 1999-10-08 23:34:07 +00:00
troy%netscape.com 18cb7981d3 Changes to SizeOf() code only. This code is debug code that only runs
when you chose the "Show Frame Sizes" menu item...
1999-10-08 23:18:19 +00:00
troy%netscape.com 49838148df Fix for blocker #15839. r=kipp@netscape.com,kin@netscape.com
Typing into a text area wasn't working properly. Problem was that when the text
changed we were reflowing the text frames with a resize reflow command and
we thought we could optimize the reflow. So I changed ContentChanged() to
mark each text frame dirty so we would know not to do the optimization
1999-10-08 22:04:31 +00:00
kipp%netscape.com b0dcc883f8 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
slamm%netscape.com ba6f525b36 Backout troy's last set of changes. Caused bug #15790, 'opening bookmarks window and expanding mail folders crashes'. r=waterson. 1999-10-08 18:52:19 +00:00
rods%netscape.com dedfd2be24 ifdef'ed out a static counter for debugging. r=kmcclusk b=15637 1999-10-08 12:24:11 +00:00
troy%netscape.com a5add6d414 Change to SizeOf() code (diagnostic code only). Changed table frame
code to split the column cache size out into a separate listing
1999-10-08 05:12:55 +00:00
troy%netscape.com 0c3a74b8be Removed some dead code and moved some #if 0 code from the area frame
to the block frame. This completes the previous checkin
1999-10-08 04:45:12 +00:00
troy%netscape.com 104c0f8c7e Frame space reductions. r=kipp@netscape.com
Table cell frames and table caption frames now use block frames and not area
frames. This saves 24 bytes per frame instance
1999-10-08 04:32:46 +00:00
peterl%netscape.com d023d57dc3 First step at fixing 12106, factored out style rule processing from
style sheets into a seperate style rule processor interface
r=troy
1999-10-08 03:09:31 +00:00