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

2144 Коммитов

Автор SHA1 Сообщение Дата
mjudge%netscape.com 3aec561aba reviewed by hyatt bug of someone elses but in my code. dont know number. simple check for null 1999-10-29 23:12:44 +00:00
akkana%netscape.com a538ace307 Only output the xif.xif debug file if DEBUG_XIF is defined. Requested by sfraser 1999-10-29 19:36:30 +00:00
kipp%netscape.com f5ee0b886e Fixed solaris build bustage 1999-10-29 15:20:20 +00:00
kipp%netscape.com 6f71ddcd0e r=troy; bugs 12958 and 12760; reworked the way that first-letter frames are created and updated. We now support incremental content changes even when first-letter style applies. 1999-10-29 14:39:48 +00:00
kin%netscape.com 46b69e20ca Fix for bug #16176: [DOGFOOD] need to annotate line frames with whitespace trim
layout/base/src/nsCaret.cpp
        - Modified DrawCaretWithContext so that we only
          adjust the caret position if we are within the
          frame's bounds.

    layout/html/base/src/nsTextFrame.cpp
        - Modified GetPointFromOffset() to add the width
          of a space if the offset is after a trailing space
          and it was trimmed off the frame.

r=sfraser@netscape.com
1999-10-29 13:43:11 +00:00
kipp%netscape.com f434122964 r=troy; fixed code to properly remove reflowc ommands when cancelling 1999-10-29 01:53:56 +00:00
troy%netscape.com f7a1247e17 Eliminated compiler warning 1999-10-28 14:46:06 +00:00
braddr%puremagic.com d92727dc68 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc
1999-10-28 03:16:48 +00:00
nisheeth%netscape.com c35d1635e7 r=dp. Fix for bug 17411. Commenting out the call to nsFrameManager::CantRenderReplacedElement for now. This should let us open up the tree while dp and pnunn figure out the right fix. 1999-10-28 01:20:34 +00:00
kipp%netscape.com 0c6d8445a7 r=troy; fixed bug #17346 - the nsTextFormatter self test code found a bug in the nsTextFragment ctor code... 1999-10-27 23:01:16 +00:00
nisheeth%netscape.com 5de3b69218 r=pollmann, troy. Fix for bug 10564. Added some error checking code to prevent crashes reported on low memory configurations. 1999-10-27 22:45:05 +00:00
braddr%puremagic.com b49b3dbdce Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com b2ea5b4c45 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
troy%netscape.com e2dfeedb8d Changed view to be stored as a frame property instead of a member data
of nsFrame
1999-10-27 03:56:14 +00:00
rods%netscape.com 31eba9c93d changed param in the initializer to aContent instead of nsnull
r=kmcclusk,b=17015
1999-10-26 23:21:14 +00:00
dcone%netscape.com 610d17b6f7 Added a clip for the borders and fixed how they are rendered. r=karnaze
bugs:10311,8737,14566
1999-10-26 14:34:17 +00:00
troy%netscape.com a47e8db44b Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
waqar%netscape.com e9ff1627d1 # 15904
r vidur
d fixes a problem where first character of the comment was being destroyed.
1999-10-26 01:30:55 +00:00
kin%netscape.com bb3caa6434 Fix for bug #16701: Editor API Log playback of Insert HRule crashes in DOM code
and     bug #16848: DOM Crash
  - Removed extra NS_RELEASE(attrPrivate) call that was releasing
    attrPrivate one too many times, and causing nsDOMAttributeMap::SetNamedItem() to crash.
r=vidur@netscape.com
1999-10-25 14:15:34 +00:00
sdagley%netscape.com 28c140b8cf Pre-emptive fix for Mac (and possibly some ports) build bustage - if you're going to use a variable to contain a debug output file name it helps if the variable is declared on all platforms the code compiles for. 1999-10-25 00:29:15 +00:00
rickg%netscape.com 9aeb6d28f8 fixed FMM (in debug code); r=kmcclusk 1999-10-24 23:48:00 +00:00
troy%netscape.com dac6d1119c Changed nsTextFrame to be derived from nsFrame instead of nsSplittableFrame.
nsTextFrame now has only a next-in-flow pointer and no prev-in-flow pointer.
Subclass nsContinuingTextFrame is used for continuing text frames; it has a
prev-in-flow pointer. This saves 4 bytes
1999-10-23 23:19:14 +00:00
nisheeth%netscape.com 2b68bfc6a2 r=troy. Siblings of frames get traversed iteratively during capturing/restoring of state. Earlier they were traversed recursively which was causing the call stack to grow too large. 1999-10-23 01:43:49 +00:00
troy%netscape.com 918255682c Removed 5 convenience functions from nsIFrame 1999-10-22 14:53:52 +00:00
kipp%netscape.com 705faaa709 Removed some more warnings 1999-10-22 14:51:41 +00:00
dcone%netscape.com 32f1e6a663 Fixed warning. 1999-10-22 13:29:06 +00:00
braddr%puremagic.com bf95f832dd 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 d4abf23615 Change NS_COMFALSE instances to NS_ERROR_ABORT's 1999-10-22 05:32:31 +00:00
troy%netscape.com d0190a7f34 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
mjudge%netscape.com 3d3eb16f9a 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 1685387656 Whoops, missed this during my checkin :-( 1999-10-22 00:11:31 +00:00
jst%citec.fi fc1c8f3ca2 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 548649505f 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 29c7b60e60 r=troy; added nsTextContentChangeData to the build 1999-10-21 20:48:43 +00:00
kipp%netscape.com d6547a4baf 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 8ea39cafa7 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 70376de659 new file for text reflow optimiziation 1999-10-21 20:40:25 +00:00
kipp%netscape.com dadfeff627 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 6485ca4fb3 r=troy; Added nsITextContetChangeData to help optimize modifications of large text elements 1999-10-21 20:22:02 +00:00
troy%netscape.com 01cf059769 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
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
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
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
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
dp%netscape.com 9874dc7ab6 Removing prototype of NS_NewDocumentElementFrame. r=evaughan 1999-10-19 21:40:54 +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
troy%netscape.com fb99c83e01 Changes to frame property API (code's not being used yet) 1999-10-19 14:41: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
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
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
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 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
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
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
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 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
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
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
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
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 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
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
tbogard%aol.net 49c910aa7a Adding construction for new XUL tags "iframe", "editor", and "browser". r=hyatt. 1999-10-14 10:55:24 +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
peterl%netscape.com eee3a86181 added an assertion to help track down Bug 14238
r=troy
1999-10-14 00:56: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
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
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
evaughan%netscape.com dae35eeddf Fixed mail/news regression. Code review Saari, Hyatt 1999-10-12 20:50:01 +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 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 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
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
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
kipp%netscape.com b0dcc883f8 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +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
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
warren%netscape.com b90a06a288 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
dcone%netscape.com b06e2be4db Fixed some warnings 1999-10-07 20:40:00 +00:00
dcone%netscape.com 7a407f8887 Turned on the background tiling optimization.. Reviewed By rods 1999-10-07 14:57:32 +00:00
kipp%netscape.com 969a1ccfe3 Updated SizeOf methods for html content objects to be more accurate; implemented MOZ_DECL_CTOR_COUNTER for all html content objects 1999-10-07 00:35:04 +00:00
kipp%netscape.com ef137fcd90 Tweaked call of log_release 1999-10-07 00:32:25 +00:00
kipp%netscape.com f36a6b1cd9 Added some atoms to support SizeOf metrics 1999-10-07 00:31:41 +00:00
kipp%netscape.com 81fc79eab8 Work around a crash by stubbing out some pointers that are weak links that are not to be used during shutdown 1999-10-07 00:31:21 +00:00
kipp%netscape.com baf76cecb9 Eliminate a memory leak of a style context (which ends up leaking all the stylecontexts upward) 1999-10-07 00:29:28 +00:00
harishd%netscape.com bc51f73549 Bug 13647
In nsXIFConverter::BeginContainer(const nsString& aTag)
newline was getting appended by default at the end of a tag.
Setting the default value to PR_FALSE to avoid newline insertion
at the end of a tag.
R=akkana
1999-10-07 00:28:58 +00:00
troy%netscape.com 1efdd6c9b6 b=11971, r=peterl@netscape,karnaze@netscape.com
Changed ContentInserted() to use GetFrameFor() so we target the table cell's
area frame
1999-10-06 23:17:28 +00:00
vidur%netscape.com a6f094da8e Implemented document.width/document.height by looking at the dimensions of the view of the frame of the document element. Bug 961. R: troy 1999-10-06 20:32:49 +00:00
troy%netscape.com a0c07c636e Space issue. r=kipp@netscape.com
Replaced hash table which used lots of memory with simple linked list of
FrameInfo* structs
1999-10-06 04:22:51 +00:00
waqar%netscape.com 36d4e3a464 # 9777
r vidur
d When splitText has an index error, it used to send NS_ERROR not it sends
  the proper DOM index size error.
1999-10-06 00:06:53 +00:00
kipp%netscape.com 2738c38f7f Support SizeOf methods 1999-10-05 23:47:46 +00:00
kipp%netscape.com 0efe46b221 Added in ctor/dtor counting 1999-10-05 14:53:40 +00:00
kipp%netscape.com 3741d5254a r=troy; Added in ctor/dtor counting 1999-10-05 14:51:12 +00:00
norris%netscape.com 9c950a3a20 Fix 15458 "onLoadHandler does not work"
Reviewed by mstoltz.
1999-10-05 04:08:14 +00:00
waterson%netscape.com a36df2ea1f Bug 15511. Make sure container element sets 'parent' backpointer to null before releasing child; prevents dangling references if child is still referenced from elsewhere. r=vidur 1999-10-05 03:20:57 +00:00
kipp%netscape.com cf55908efd backed out dps erroneous fix 1999-10-05 01:44:35 +00:00
dp%netscape.com 0282ee613a Fixing build bustage. 1999-10-05 01:25:55 +00:00
kipp%netscape.com c67e1a6204 r=troy; missed checkin from last weeks module carpool 1999-10-04 23:56:57 +00:00
troy%netscape.com a30cba0af1 Made sure mOutsideEdge is initizlied 1999-10-04 23:44:44 +00:00
peterl%netscape.com 2359b25588 fixed leak of undisplayed content map nodes (which leak style contexts)
r=kipp
1999-10-04 23:33:23 +00:00
peterl%netscape.com cfc03182aa Don't access undisplayed content map if it isn't there... 1999-10-02 19:45:18 +00:00
rbs%maths.uq.edu.au 19aa495191 Adding remaining MathML hooks and changing ifdef INCLUDE_MATHML to ifdef MOZ_MATHML to avoid thinking autoconf-related. r:peterl 1999-10-02 10:41:40 +00:00
peterl%netscape.com 8ab0555a0c added hooks to track content that doesn't get a frame
Fix for bug 9013 (and any dynamic change from display:none) r=troy
1999-10-02 04:27:40 +00:00
peterl%netscape.com c6f780fac5 Added ability to track changes to content without frame
Fix for bug 9013 (and any dynamic change from display:none) r=troy
1999-10-02 04:26:53 +00:00
peterl%netscape.com c0b6883ad3 added API to track content that didn't get a frame
Fix for bug 9013 (and any dynamic change from display:none) r=troy
1999-10-02 04:26:24 +00:00
peterl%netscape.com 95550bd4b8 added multimap to track content that didn't get a frame
Fix for bug 9013 (and any dynamic change from display:none) r=troy
1999-10-02 04:25:29 +00:00
norris%netscape.com 3c14af2f14 Fix the following bugs:
14443 "Same origin" security policy may be circumvented using docu
14820 Fixing up the relationship between nsCodeBasePrincipal and n
14919 Crash in JS MM code
Reviewed by mstoltz, approved by scc.
1999-10-02 03:41:37 +00:00
troy%netscape.com d219ef5e29 Added SizeOf() handler for floater information maintained by the
line box
1999-10-02 02:51:03 +00:00
troy%netscape.com 6f0d3813a7 Added SizeOf() handler for space manager 1999-10-02 00:52:01 +00:00
troy%netscape.com e2ac00fe47 Hooked up SizeOf() for cell map and table layout strategies. Also added in
some table frame data that was missed
1999-10-02 00:02:54 +00:00
av%netscape.com 435d460fb3 Fixing dereferencing null-pointer. Caused crash, #14496 1999-10-01 20:10:39 +00:00
dcone%netscape.com 36f6d2f011 added background fix.. commented out for now until other platforms are tested 1999-10-01 14:35:20 +00:00
kin%netscape.com c6a1730309 Fix for bug #12195: [DOGFOOD] caret cruft left after a backspace at end of line
Added code to DrawCaretWithContext() that makes sure that the caret
doesn't hang outiside the left edge of a frame.
r=sfraser@netscape.com
1999-10-01 13:16:30 +00:00
cmanske%netscape.com fa36f1fe66 Changed ifdef so we can use ToString for non-debug purposes. r=akkana 1999-09-29 21:52:10 +00:00
mjudge%netscape.com d5261a4cad fixing optimizations for table selection as well as making sure all flags are turned on/off for text frames when one frame is selected.. 1999-09-29 20:36:00 +00:00
akkana%netscape.com 770ed40a0a Add OutputWrap flag, and add comments for the other flags 1999-09-29 20:17:51 +00:00
kin%netscape.com ff2c034123 First pass implementation of selection auto scrolling.
layout/base/public/nsIFrame.h
        - Added GetContentAndOffsetsFromPoint() method. This
          method will eventually replace GetPosition().

    layout/base/public/nsIFrameSelection.h
        - Added HandleDrag() and Start/StopAutoScrollTimer() methods.

    layout/base/src/nsRangeList.cpp
        - Added implementation for HandleDrag() and
          Start/StopAutoScrollTimer() methods.

    layout/html/base/src/nsBRFrame.cpp
        - Added implementation for GetContentAndOffsetsFromPoint().

    layout/html/base/src/nsFrame.cpp
    layout/html/base/src/nsFrame.h
        - Added implementation for GetContentAndOffsetsFromPoint().
        - Added GetClosestViewForFrame() utility method.
        - Modified HandleEvent() to call HandleRelease() which now
          stops the auto scrolling timers.
        - Modified HandleDrag() to call nsIFrameSelection's HandleDrag()
          and Start/StopAutoScrollTimer() methods.

    layout/html/base/src/nsTextFrame.cpp
        - Added implementation for GetContentAndOffsetsFromPoint().
1999-09-29 20:04:05 +00:00
troy%netscape.com f649d6c597 Fix for bug #11633. Changed ConstructFrameByDisplayType() to use the correct
parent frame for absolutely positioned tables
1999-09-29 05:06:17 +00:00
peterl%netscape.com 45ae24d59f manage view visibility better, hide collapsed views and hidden views with widgets 1999-09-29 03:37:02 +00:00
peterl%netscape.com c2098b8450 remap style contexts that don't get swapped when computing style changes 1999-09-29 03:32:19 +00:00
peterl%netscape.com 870b54137e make remap style optionally not go recursive 1999-09-29 03:30:47 +00:00
hyatt%netscape.com 8d9e9ee8c9 Fixing tree widget updating problem (bienvenu). 1999-09-28 00:57:31 +00:00
mcafee%netscape.com f86ea05aa6 Backing out latest change, apprunner menus were totally screwed up. a=shaver, r=ramiro,pavlov 1999-09-27 07:28:06 +00:00
troy%netscape.com 3b9c13faa9 Fixes for bug #2552 and bug #10961 1999-09-26 20:40:29 +00:00
warren%netscape.com 18d426d338 Fixed uninitialized variables 1999-09-26 10:07:16 +00:00
mjudge%netscape.com 0bb65d1fc8 fixes for M11 a=shaver r=cmanske. this will add 1 enumerator value to en enum in nsIFrame so dont be scared. this is for tweaking selection should not affect anyone outside of selection/editor 1999-09-25 23:33:02 +00:00
peterl%netscape.com ebc6169f45 fix bug 5458 - made ApplyRenderingChangeToTree handle overflow content
as well as floaters and positioned children
also improved handling of view invalidation and syncing
removed warning
approved chofman
1999-09-25 05:02:52 +00:00
peterl%netscape.com d1882ffe5e remove warnings
fix bug 10007 - when style change needs to regenerate frame do not set new context into frame
approved chofman
1999-09-25 05:00:41 +00:00
troy%netscape.com 7e6db4684e Fix for bug #14814. Changed GetFloaterContainingBlock() to also check for floated
or absolutely positioned inline elements
1999-09-24 17:14:19 +00:00
nisheeth%netscape.com 0c537f8bad Use NSPR logging rather than printf's for stopwatch output. 1999-09-24 08:57:36 +00:00
nisheeth%netscape.com d4a69386fa a=chofmann. Include time spent in ProbePseudoStyleFor() in time measurement of style resolution. 1999-09-24 07:16:20 +00:00
troy%netscape.com 19b7877ab3 Fix for bug #14737. Made sure that captionFrame is initialized before
we use it
1999-09-24 03:15:49 +00:00
nisheeth%netscape.com c3a1494f88 bug 13630, r=troy, a=leaf, Added a null check to prevent a crash. 1999-09-24 01:58:32 +00:00
putterman%netscape.com 06c534cac5 Fix for 13815. Implement OnContentInserted. Approved by chofmann and reviewed by hyatt. 1999-09-23 21:11:02 +00:00
mgleeson1%netscape.com e7cbff5298 fix for UNIX ports r=kipp, a=hofmann,kipp 1999-09-23 19:02:23 +00:00
saari%netscape.com 113c961c8f A better fix for blocker #14464. Reviewed by Hyatt w. permission from leaf/choffman 1999-09-23 02:31:37 +00:00
saari%netscape.com 990e5367a8 Fix for blocker bug #14464. Reviewed by Hyatt, checkin permission by leaf. 1999-09-23 01:55:41 +00:00
rpotts%netscape.com 6fc5c2e45e Changed the printing to use the ImageGroup notifications rather than the document loader because a document is *not* being loaded... This fixes printing after the changes to the document loader notifications. 1999-09-22 07:34:31 +00:00
mjudge%netscape.com f4d520bbf9 approved by Dagley. fixes for CTRL_LEFT and CTRL_RIGHT navigation and wrapping 1999-09-22 05:56:44 +00:00
mjudge%netscape.com bfe297f681 fixes for hint code 1999-09-22 04:11:38 +00:00
nisheeth%netscape.com 4476a32ca1 Stop the stopwatches before you print them. 1999-09-22 01:49:31 +00:00
mjudge%netscape.com 87d56d55b9 fix for nsRangeList get frame for node was not lookin at the node at the "offset" even if the parent node could have children. this would return invalid stuff when get primary frame for content was called. 1999-09-22 01:20:29 +00:00
peterl%netscape.com dc83c08aaa remap style before rebuilding frames when style rule changes 1999-09-22 01:18:45 +00:00
kipp%netscape.com f49c28ef15 Work around purify nonsense with bitfields 1999-09-22 00:38:57 +00:00
mjudge%netscape.com f9f66c8c83 changes to selection code to stop a never ending loop 1999-09-21 22:58:14 +00:00
akkana%netscape.com 1b9d570d32 Fix a warning 1999-09-21 20:29:12 +00:00
dcone%netscape.com 6a77a6e288 added debugging for printing 1999-09-21 14:34:28 +00:00
joki%netscape.com 70f5a105ba Adding old 4.x capture/release compatibility code, changing dom event VK_* names to DOM_VK_* 1999-09-21 14:18:52 +00:00
peterl%netscape.com 35bba3528e moved re resolve style logic into frame manager 1999-09-21 07:55:37 +00:00
peterl%netscape.com 8bc6d1cf31 added calls to verify style tree 1999-09-21 07:53:49 +00:00
peterl%netscape.com 64fa4848dc made style changes handle floaters and positioned children
added style tree verify
moved re-resolve style logic from frames
1999-09-21 07:53:14 +00:00
peterl%netscape.com 33ccf7c1c9 stop sharing contexts with parents 1999-09-21 07:50:16 +00:00
peterl%netscape.com 8697ad0929 filter out multiple changes to content when framechange in effect 1999-09-21 07:49:55 +00:00
peterl%netscape.com 3e1015d0ab Added compute style change
Added style tree verify
1999-09-21 07:48:57 +00:00
peterl%netscape.com 5c809530ca removed ReResolveStyleContext
added flag for style tree verify
1999-09-21 07:48:34 +00:00
rpotts%netscape.com 83ade485d7 The document LoadGroup is now a nsWeakPtr... 1999-09-21 06:44:56 +00:00
nisheeth%netscape.com a80cdbbff7 Add prefix string to style resolution timer output. 1999-09-21 06:24:17 +00:00
troy%netscape.com 126f788fe1 Part of the fix for bug #11389. Changed CantRenderReplacedElement() to
reset the placeholder frame's out-of-flow frame after replacing the primary
frame. This allows the block frame code to find the floater in the line's
list of floaters
1999-09-21 05:20:11 +00:00
cmanske%netscape.com d85e4842ea Adding CollapseToStart and CollapseToEnd to selection 1999-09-21 01:27:37 +00:00
shaver%netscape.com 1292b5636a conditional support for mathml, for Roger Sidje <rbs@maths.uq.edu.au> 1999-09-21 01:15:30 +00:00
nisheeth%netscape.com c456489505 Fixed build warning and removed NS_TIMER_STYLE_RESOLUTION define. 1999-09-20 21:36:53 +00:00
akkana%netscape.com 7af5b4431e Add ToString API to nsIDOMSelection 1999-09-20 21:05:01 +00:00
nisheeth%netscape.com 7481b6c14f Include nsITimeRecorder.h in the pres shell. 1999-09-20 08:23:33 +00:00
nisheeth%netscape.com 1761b33d85 Add calls to reset and print the stopwatch maintained by the styleset for tracking style resolution time. 1999-09-20 06:55:24 +00:00
nisheeth%netscape.com f0640e8063 Move implementation of nsITimeRecorder from the pres context to the style set. 1999-09-20 06:53:40 +00:00
kipp%netscape.com 300b84d008 Fixed UMR bug that purify found (14171) 1999-09-20 03:46:09 +00:00
waterson%netscape.com 049da82413 Bug 14291. Fix some more of the same kind of leaks. 1999-09-20 03:42:02 +00:00
waterson%netscape.com 16e9a195c1 Bug 14291. Stop leaking entire XUL document when anonymous frames are
constructed.
1999-09-20 00:02:59 +00:00
rpotts%netscape.com dd7e4f99f6 Changed GetDocumentLoadGroup(...) to be XPCom complient. THis helps prevent leaks when using nsCOMPtrs. 1999-09-18 06:34:24 +00:00
rpotts%netscape.com 93d54d8076 Changed GetDocumentLoadGroup(...) to be XPCom complient. This helps prevent leaks when using nsCOMPtrs. 1999-09-18 06:20:49 +00:00
slamm%netscape.com a079420bb3 Add newline to file. 1999-09-18 02:19:47 +00:00
mjudge%netscape.com c5dad98607 adding change for selection. modifing inside out behavior for table selection. drawing tables being seleted different. 1999-09-17 23:33:39 +00:00
jfrancis%netscape.com 7af46daf54 tidying up 1999-09-17 23:12:17 +00:00
troy%netscape.com 11eb9684ae Fix for bug #14157. Changed ConstructAlternateImageFrame() to set the document
pointer and the parent content pointer for the text frame
1999-09-17 20:57:06 +00:00
nisheeth%netscape.com 04cc0030fb Make nsPresContext implement the nsITimeRecorder interface. This interface is used by the pres shell to tell the pres context to stop the stopwatch that measures time spent in style resolution. 1999-09-17 20:32:45 +00:00
kipp%netscape.com ef095efd3a Squish a warning or two 1999-09-17 20:16:37 +00:00
nisheeth%netscape.com 652575941e Added measurement of reflow time and frame creation time during the loading of a page. 1999-09-17 07:16:42 +00:00
alecf%netscape.com a20a31c3c2 fix scrollbar crash 1999-09-17 05:15:00 +00:00
kipp%netscape.com b9d4f1196a Zapped mCompatFloatMargin hack 1999-09-17 00:57:06 +00:00
kipp%netscape.com 2afe2536dd Added in mCompatFloaterMargin 1999-09-16 19:55:28 +00:00
kipp%netscape.com 19a37db3dc Hid an unused function 1999-09-16 19:55:08 +00:00
rpotts%netscape.com 2ce6e7be9b Added a missing NS_DEFINE_STATIC_IID_ACCESSOR... 1999-09-16 08:50:18 +00:00
kipp%netscape.com b0465e28f0 formatting sillyness 1999-09-15 20:30:36 +00:00
slamm%netscape.com e650a94848 Fix build warnigns. 1999-09-15 19:19:51 +00:00
harishd%netscape.com 47b1297e30 Fixing build bustage...hopefully.
Missed a file
1999-09-15 18:28:10 +00:00
harishd%netscape.com d90199cd22 Adding support for htmlL DOCTYPE for
XIF conversion.
1999-09-15 17:55:26 +00:00
troy%netscape.com 994aaa4cee Fix for bug #13233. Changed CantRenderReplacedEledment() so it handles OBJECT
frames that are out-of-flow
1999-09-15 04:03:08 +00:00
pollmann%netscape.com a170712586 Bug 13058: Make global enum a public member. 1999-09-15 02:30:39 +00:00
ramiro%netscape.com 26dd94b010 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
nisheeth%netscape.com a6c1224662 Start of instrumentation of the presshell to calculate timing data for the reflow process. 1999-09-15 00:43:53 +00:00
kipp%netscape.com b02bfdc7a7 Upgraded incremental reflow debugging support 1999-09-15 00:27:05 +00:00
kipp%netscape.com 147322f9aa Implement List method 1999-09-15 00:24:54 +00:00
kipp%netscape.com f89f3350dd Added List method 1999-09-15 00:24:41 +00:00
sfraser%netscape.com 6d4c754b37 Remove some redundant caret methods in the pres shell, and use my funky new stack-based caret hider class to manage caret visibility during difficult times. 1999-09-14 23:43:35 +00:00
sfraser%netscape.com 801132e5a9 Super duper new caret 1999-09-14 23:41:19 +00:00
sfraser%netscape.com be15e2b879 Make function static to eliminate warning. 1999-09-14 23:40:52 +00:00
mjudge%netscape.com 3c1962540f content iter not initing properly for reuse. text frame not selecting slowly properly, bad bounds checking :(. rangelist now traversing each node in a spaniter with a normal iter to make SURE we get all the children! 1999-09-14 23:16:22 +00:00
troy%netscape.com bec9503c6c Fix for bug #13780. Added NULL pointer check to PreferenceChanged() 1999-09-14 22:16:42 +00:00
dcone%netscape.com 47bad4bd67 Turned on the Mac GFX Widget code 1999-09-14 21:32:27 +00:00
akkana%netscape.com 952d2760c9 Set default wrap column to 72 instead of 0 1999-09-14 21:32:06 +00:00
troy%netscape.com f3aef8a45e Fix for bug #13700. Removed a warning that's no longer needed 1999-09-14 04:43:16 +00:00
vidur%netscape.com af6f46f9ea Fix for bug 13192. Document is parented by the global object of the container context, not the calling context. 1999-09-14 04:17:07 +00:00
pollmann%netscape.com 0f1ba8312f Bug 13058: Tweaks to StatefulFrame interface - and not keeping state for anonymous content 1999-09-14 02:00:20 +00:00
pollmann%netscape.com 1df3429e0e Bug 13058: Tweaks to StatefulFrame interface - and the hash key formula 1999-09-14 01:59:33 +00:00
pollmann%netscape.com 82013ad7ea Bug 13058: Tweaks to StatefulFrame interface 1999-09-14 01:58:49 +00:00
briano%netscape.com cfc3c850ed General cleanup. 1999-09-14 01:02:20 +00:00
troy%netscape.com c2cfe1c269 Added back all of Peter's changes to ConstructRootFrame() to use the correct
pseudo element styles. Somehow evaughan commented out his code and reverted
to the old wrong code...
1999-09-14 00:40:16 +00:00
troy%netscape.com 6b471d3222 Changed ConstructRootFrame() to use the ":canvas" pseudo element style for
the root frame
1999-09-13 23:26:21 +00:00
mjudge%netscape.com 6062bf5382 fixes for selection. up/down arrow behavior and also extending selection. all should be in peek offset ect. Also adding in a slight change to the hack (which should go away soon) that will stop the editor from scrolling when up/down left/right ect are clicked. when key events go in this code will be removed 1999-09-13 22:19:31 +00:00
troy%netscape.com 5b3a578374 Added NULL pointer check 1999-09-13 22:07:15 +00:00
troy%netscape.com bde4ac61db Added frame type for OBJECT frame 1999-09-13 21:26:05 +00:00
troy%netscape.com cf36a84698 Fix for bug #13570. Changed ContentAppended() and ContentInserted() to check
for an "object" frame
1999-09-13 21:25:43 +00:00
pavlov%netscape.com 375275fe31 make the caret draw on linux - fix for 13487 1999-09-13 18:24:48 +00:00
troy%netscape.com 013af1bcea Fix for bug #13497. Made sure to use NS_BLOCK_MARGIN_ROOT flag when creating
the area frame for a scrolled block element
1999-09-13 14:28:34 +00:00
troy%netscape.com 870e17255a Eliminated compiler warning 1999-09-13 04:45:43 +00:00
alecf%netscape.com 5ddb295b7e bulletproof to prevent crashing
(asserts will still go off)
1999-09-11 19:11:53 +00:00
warren%netscape.com fec02a32a9 Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel. 1999-09-11 18:45:36 +00:00
sfraser%netscape.com 91da925711 Fix one cause of GFX text widget crashes. If you're going to mess with my code, Mike, at least get the return values right. 1999-09-11 06:00:00 +00:00
mjudge%netscape.com 24a5d270fd fixes for crasher in tree 1999-09-11 00:18:02 +00:00
mjudge%netscape.com 719cb1d7f5 fixing memory leak. my bad what was i thinking. forgot to delete the new nsDOMSelection instantiations inside nsRangeList::nsRangeList 1999-09-10 19:25:12 +00:00
akkana%netscape.com eb01850e89 Fix UMRs 1999-09-10 19:12:46 +00:00
kipp%netscape.com d7e1750a01 Tweaked incremental reflow support logic 1999-09-10 18:49:23 +00:00
mjudge%netscape.com 8a55b0d40e changes for peekoffset removal of extra parameters. also fixing some ownership issues with nsIenumerator and the rangelist iterator. fixing also some hit tests for line frames. 1999-09-10 18:29:37 +00:00
hyatt%netscape.com 4ffac223a4 Working on XP menus. 1999-09-10 08:47:12 +00:00
peterl%netscape.com c61c871073 changed content state change notification rule to match attribute changed
made a seperate notification method
1999-09-10 05:54:00 +00:00
peterl%netscape.com 788f9934ec added look and feel accessor to pres context 1999-09-10 05:51:08 +00:00
peterl%netscape.com ed08f30641 changed font weight step to 1 (from 101) 1999-09-10 05:50:30 +00:00
peterl%netscape.com f653338e5d added content state changed (vs content changed) notification 1999-09-10 05:50:02 +00:00
kipp%netscape.com 328399a76c Fixed up line-height calc code to be more optimal; tweak changes to list-style properties to trigger reflows 1999-09-09 20:51:57 +00:00
kmcclusk%netscape.com 8304e30e32 Changed widget rendering mode default from partial-gfx to gfx for Linux and WIN32. 1999-09-09 19:43:27 +00:00
peterl%netscape.com 3d824c49e2 set line height to inherit only as needed
init ref count before first remap style
1999-09-09 05:37:37 +00:00
vidur%netscape.com 43cd996594 Reporting better nsresults to DOM methods. 1999-09-08 23:18:27 +00:00
jfrancis%netscape.com bfcdf147d0 fixing dom range gravity bug (see bug 13251) 1999-09-08 05:27:44 +00:00
hyatt%netscape.com 396133bbee Landing AttributeChanged alteration. AttributeChanged now fires even when the
style hint is REFLOW or VISUAL (and not just CONTENT).
1999-09-08 03:51:41 +00:00