Commit Graph

228 Commits

Author SHA1 Message Date
nisheeth%netscape.com
d64e97f2c2 PRTime is a struct on the Mac. I'm going to need to time to make changes so that everything works on the Mac. Commenting out the offending code for now as it is not used in the default case. 1999-12-23 03:47:02 +00:00
nisheeth%netscape.com
0b66a8a4df Attempt to fix Mac bustage. 1999-12-23 03:08:57 +00:00
nisheeth%netscape.com
9d77060d0e a=donm, r=vidur.
- Added support for two prefs:
a) a boolean pref "layout.reflow.async" that turns asynchronous reflow on/off.  The default is off.
b) an integer pref "layout.reflow.timeslice" that specifies a reflow timeslice, in microseconds.  When asynchronous reflow is on, the reflow command processing loop in ProcessReflowCommands() tries to return to the event loop if the time spent processing reflow commands exceeds this timeslice.  The default value is 1 second.
1999-12-23 02:02:33 +00:00
tbogard%aol.net
22cbc2c1bb Fixing some places when talking to the webshell object to start talking through the new docshell interfaces. 1999-12-18 02:09:29 +00:00
mjudge%netscape.com
fbbf78681f Precursor change to akkana and hyatts fix for platform dependent key-bindings. HOME and END will now implement the scroll to top and scroll to bottom for mac. Scroll and Move for pageup/pagedown and CTRL-HOME and CTRL-END on windows will not work until m13. This is ok for now and will hurry up completion of M12. r=akkana. simple fix like 10 lines really. 1999-12-16 22:48:02 +00:00
mjudge%netscape.com
7831406607 adding in nsISelectioncontroller idl for line up/down. fixing editor controller usage for input and textareas. changin nsGfxTextControlFrame.cpp to add editor controllers at the time we need them, not when the control is created due to the delay of the nsEditor creation. nsPresShell implements the new nsISelectionController interfaces. changed makefiles to reflect missing nsEditorController also. 1999-12-15 03:54:52 +00:00
mjudge%netscape.com
b51f84b3de massive changes a=jar.hoffman, r=akkana 1999-12-11 00:02:08 +00:00
evaughan%netscape.com
f1a7fc061d Fix for PDP+ bug #20712
-r beard
1999-12-07 05:28:32 +00:00
troy%netscape.com
ab459de478 b=20873. Switched to using underlying NSPR arena for frame memory allocation,
and reduced the recycler array.
1999-12-07 04:36:08 +00:00
nisheeth%netscape.com
24d990e18b Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed. 1999-12-06 07:44:18 +00:00
hyatt%netscape.com
de2eaede42 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
sspitzer%netscape.com
d0dbc95b12 fix warning. 1999-12-04 21:37:38 +00:00
akkana%netscape.com
fcd5b16fd6 18046: IDL implementation of nsISelectionController from sford4@netscape.net,
and the infrastructure to hook it up.
  This also changes the spelling from nsISelectionControler. r=mjudge
1999-12-02 21:45:21 +00:00
dougt%netscape.com
f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
tbogard%aol.net
af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
troy%netscape.com
597b5f236b WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
beard%netscape.com
65a3476676 pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov 1999-11-14 02:51:25 +00:00
karnaze%netscape.com
fcfef2de8f disabled delayed handling of reflow commands (pre rev 3.208). r=nisheeth 1999-11-12 04:41:34 +00:00
jdunn%netscape.com
0c7a249849 removing ';' from the end of the macros, since the macro in nsTimer.h
already handles the trailing ';'.
NOTE: trying to compile a ';' fails on AIX
1999-11-11 21:35:34 +00:00
nisheeth%netscape.com
ecf204e501 a=sdagley. Move over to new timing macros... 1999-11-10 03:41:09 +00:00
nisheeth%netscape.com
ab25264f7b r=vidur. a=chofmann. Post a reflow event instead of doing reflow command processing synchronously. Currently this only happens on content appended and content inserted notificaitions in the pres shell. 1999-11-09 03:23:26 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
mcafee%netscape.com
f535f208dc Switching to use NS_WITH_SERVICE macro as specified in (5403); removing spurious clipboard service instance in nsEditorEventListeners.cpp. r=akkana, a=chofmann. 1999-11-05 01:29:49 +00:00
joki%netscape.com
1675be15e0 Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur 1999-11-03 07:11:45 +00:00
troy%netscape.com
1585a751fb Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
troy%netscape.com
a12c3d6c5d Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
nisheeth%netscape.com
bc4b9ff0f5 Fix for bug 17540. Uncommented the call to nsFrameManager::CantRenderReplacedElement(). 1999-10-30 01:31:49 +00:00
kipp%netscape.com
4b3c19334b r=troy; fixed code to properly remove reflowc ommands when cancelling 1999-10-29 01:53:56 +00:00
nisheeth%netscape.com
9c4e5b9c15 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
troy%netscape.com
87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +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
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
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
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
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
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
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
peterl%netscape.com
e80ae8cff9 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
nisheeth%netscape.com
b052eec318 We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers. 1999-10-11 23:42:56 +00:00
kipp%netscape.com
65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
warren%netscape.com
8c71c45537 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
kipp%netscape.com
59d158d535 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
a2f1c7cf5a r=troy; Added in ctor/dtor counting 1999-10-05 14:51:12 +00:00
nisheeth%netscape.com
38d524ab94 Use NSPR logging rather than printf's for stopwatch output. 1999-09-24 08:57:36 +00:00
nisheeth%netscape.com
19143aa5fe bug 13630, r=troy, a=leaf, Added a null check to prevent a crash. 1999-09-24 01:58:32 +00:00
nisheeth%netscape.com
6fff19fc5b Stop the stopwatches before you print them. 1999-09-22 01:49:31 +00:00
peterl%netscape.com
0c1d5c4837 added calls to verify style tree 1999-09-21 07:53:49 +00:00
nisheeth%netscape.com
f5d9af7ae9 Add prefix string to style resolution timer output. 1999-09-21 06:24:17 +00:00
nisheeth%netscape.com
1158ccf423 Include nsITimeRecorder.h in the pres shell. 1999-09-20 08:23:33 +00:00
nisheeth%netscape.com
ba965a8d79 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