Commit Graph

240 Commits

Author SHA1 Message Date
kipp%netscape.com
de44833a85 Added in ctor/dtor counting 1999-10-05 14:53:40 +00:00
kipp%netscape.com
6b151c623e backed out dps erroneous fix 1999-10-05 01:44:35 +00:00
dp%netscape.com
82c29aa82a Fixing build bustage. 1999-10-05 01:25:55 +00:00
kipp%netscape.com
d47f06d32d r=troy; missed checkin from last weeks module carpool 1999-10-04 23:56:57 +00:00
nisheeth%netscape.com
3685df8b69 Move implementation of nsITimeRecorder from the pres context to the style set. 1999-09-20 06:53:40 +00:00
rpotts%netscape.com
f7a23e30ca Changed GetDocumentLoadGroup(...) to be XPCom complient. THis helps prevent leaks when using nsCOMPtrs. 1999-09-18 06:34:24 +00:00
slamm%netscape.com
5e096d00eb Add newline to file. 1999-09-18 02:19:47 +00:00
nisheeth%netscape.com
7b40327a78 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
troy%netscape.com
f521d3ac1b Fix for bug #13780. Added NULL pointer check to PreferenceChanged() 1999-09-14 22:16:42 +00:00
dcone%netscape.com
49a95cf8c8 Turned on the Mac GFX Widget code 1999-09-14 21:32:27 +00:00
peterl%netscape.com
e76b661939 added look and feel accessor to pres context 1999-09-10 05:51:08 +00:00
kmcclusk%netscape.com
541c8bfb5d 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
b5b37d859e added reparent style context 1999-09-03 23:35:41 +00:00
kmcclusk%netscape.com
3bfabeee91 Backing out to PartialGfx instead of full Gfx mode. 1999-08-20 18:57:32 +00:00
kmcclusk%netscape.com
c0fde0b47a bug #5944, Changed default widget rendering mode from PartialGfx to Gfx 1999-08-19 22:38:44 +00:00
peterl%netscape.com
7e4e82dade added note 1999-08-08 01:14:50 +00:00
kmcclusk%netscape.com
9716e9ec80 Enable PartialGfx rendering as the default widget rendering mode. 1999-07-21 23:12:23 +00:00
kmcclusk%netscape.com
af9e15b5e3 nsPresContext.cpp,.h - Added eWidgetRendering_PartialGfx as a rendering mode to PresContext.
ua.css - Added select[multiple] rule for multi-select listboxes without a size
Fixed form submission for gfx checkboxes,radiobuttons, and select by rewriting GetNamesValues.
Added nsListControlFrame::GetSizeAttribute and nsListControlFrame::GetNumberOfRows
Added logic to nsCSSFrameConstructor::ConstructSelectFrame and nsListControlFrame::Reflow
to handle the case of a multiselect select without a size specified.
1999-07-20 22:32:41 +00:00
peterl%netscape.com
218b13580e fix layout atoms api 1999-07-18 00:16:01 +00:00
peterl%netscape.com
0bb56976c5 made compatibility mode pref an override of auto 1999-07-07 01:21:25 +00:00
warren%netscape.com
7391e7f588 Fix for necko crash trying to load pages with images. 1999-07-03 08:56:26 +00:00
warren%netscape.com
4001aade80 Renamed nsIURLGroup to nsILoadGroup in preparation for necko. 1999-06-25 02:17:37 +00:00
warren%netscape.com
1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
buster%netscape.com
a9f36a0958 added support for style contexts getting background and font defaults from
the pres context.
1999-06-12 22:31:15 +00:00
alecf%netscape.com
b133ab936f GetCharPref is going away for nsIPref scriptability - use CopyCharPref instead 1999-05-28 00:51:34 +00:00
vidur%netscape.com
01db52ed8a Enabled the frame loader to work without a specified frame. This is used for precaching images. 1999-05-07 00:06:03 +00:00
ramiro%netscape.com
5052d3c4c8 Part of fix for bugs 4445, 4768. Let the default rendering mode on unix
be "native" as it is on mac and win.
1999-05-03 21:32:15 +00:00
pinkerton%netscape.com
f4a6e3e199 fix win32 bustage. 1999-04-30 09:52:22 +00:00
pinkerton%netscape.com
1680448437 pinkerton/scc. appr chofmann. Bug #4127, et al. Fixing ownership models (more work to come). 1999-04-30 09:04:36 +00:00
kipp%netscape.com
86ed071b16 Remember to stop image loads to break connection back to pres context 1999-04-23 19:57:49 +00:00
kipp%netscape.com
4760249344 Fixed bug where image loading during stopped state would not properly set the out parameter 1999-04-20 21:50:32 +00:00
syd%netscape.com
65b71910d3 For Unix only (Gtk+): make the default rendering mode Gfx. The Gtk+
implementation is buggy, and we'll eventually be going in this direction anyway
of using gfx to render controls. Need to take out this #ifdef eventually for
Win and Mac.

To enable the native widgets, edit ~/.mozilla/prefs50.js, and add the line
user_pref("nglayout.widget.mode", 1);.
1999-04-20 21:34:34 +00:00
kipp%netscape.com
cb0b54647a Reworked to support mulitple frames per image loader 1999-04-13 21:49:28 +00:00
mcmullen%netscape.com
694d407546 Since I changed prefapi.h to use prtypes instead of the obsolete XP_ things, I have to change calls to match. 1999-04-02 20:41:58 +00:00
kmcclusk%netscape.com
82dac76411 gfx vs native widget rendering can now be specified in the viewer at run-time.
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN
1999-03-02 22:43:26 +00:00
kipp%netscape.com
f76ba9c5e6 Support desired image size during loading 1999-02-26 17:02:37 +00:00
ftang%netscape.com
0ba6980fad change font preference code so it will pick the font setting for the defalt charset instead of always latin 1. Reviewed by peterl, kipp and troy 1999-02-17 15:52:02 +00:00
troy%netscape.com
0debd6f0d1 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp%netscape.com
36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
troy%netscape.com
3b9ef6ef19 Changed ResolveStyleContextFor and ResolvePseudoStyleContextFor to use pointer
arguments instead of references for OUT parameters
1999-02-11 15:53:26 +00:00
troy%netscape.com
b974e26cea Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
troy%netscape.com
bcc69e2898 Work-in-progress for replaced elements that can't be rendered 1999-02-04 17:03:46 +00:00
peterl%netscape.com
5cc1370c12 better base url support
Checkin during red tree approved by sar
1999-01-15 02:07:46 +00:00
troy%netscape.com
583682a5c1 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
warren%netscape.com
0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
peterl%netscape.com
14a4bc76a8 added nsLayoutAtoms 1998-12-02 00:32:20 +00:00
kipp%netscape.com
8fa850977c XPCOMized more of the API; added new operator to avoid future bugs; implement Stop method 1998-11-26 18:10:10 +00:00
kipp%netscape.com
fb1cee54da Added some debug noise (disabled by default) for image loading 1998-11-23 17:18:34 +00:00
joki%netscape.com
77fd9c2652 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
michaelp%netscape.com
7a9e1a4bc1 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
vidur%netscape.com
0e59484bfd Null check for prefs. The MozillaControl doesn't set up prefs correctly quite yet (and might never will). 1998-11-13 02:47:33 +00:00
troy%netscape.com
e71a43a32a Changed to make the Mac compiler happy... 1998-11-06 17:24:08 +00:00
troy%netscape.com
1fa3a99941 Added a comment 1998-11-06 16:24:21 +00:00
troy%netscape.com
3c62625d97 Added support for using foreground color and background color from user
preferences. Also made it so we observe the preferences, get a callback if
they change, and then do a style change reflow
1998-11-06 16:16:01 +00:00
peterl%netscape.com
9a58917a1a decoupled style context resolution from frames 1998-11-03 20:20:07 +00:00
rpotts%netscape.com
e21835bcfc Pass the nsIURLGroup into the ImageGroup... 1998-10-01 21:44:16 +00:00
peterl%netscape.com
3c04fa64fd removed style frame construction methods 1998-09-29 23:44:53 +00:00
kipp%netscape.com
bb57a6d08f Added callback to image loading api 1998-09-26 18:36:59 +00:00
karnaze%netscape.com
3219f036ec support for getting compatibility mode from preferences 1998-09-23 23:02:02 +00:00
kipp%netscape.com
9ac3b81c32 Removed a bunch of bogus code that (a) did very little (b) doesn't work for image documents 1998-09-11 04:17:07 +00:00
troy%netscape.com
effef91cf6 Phase one of frame construction changes 1998-09-10 19:32:14 +00:00
peterl%netscape.com
167791ee6f added base url 1998-09-05 03:52:40 +00:00
troy%netscape.com
cfeab4e543 More changes to nsIDeviceContext interface 1998-08-27 22:45:35 +00:00
troy%netscape.com
4b29cb414e API change to nsIDeviceContext 1998-08-27 20:45:56 +00:00
troy%netscape.com
c8e5750085 More API changes to nsIDeviceContext 1998-08-27 20:43:04 +00:00
troy%netscape.com
8f260929b1 Re-ordered code that adds loader object to the array of loaders 1998-08-19 18:07:27 +00:00
troy%netscape.com
8b23990b90 Changed destructor to Interrupt() image group before realeasing reference 1998-08-18 01:43:35 +00:00
troy%netscape.com
09c36ef1f5 Device context changes 1998-08-03 04:51:17 +00:00
peterl%netscape.com
714146a525 rounding support 1998-07-31 23:34:45 +00:00
peterl%netscape.com
9dc8df6594 connected prefs
added compatibility mode
1998-07-31 05:54:59 +00:00
peterl%netscape.com
d6a3e2103a added Nav's magic font scaler 1998-07-25 01:11:49 +00:00
peterl%netscape.com
4ee7bc6970 added setters for default colors 1998-07-23 17:57:00 +00:00
peterl%netscape.com
2122fae9c9 added default fixed pitch font & default colors 1998-07-17 05:41:41 +00:00
troy%netscape.com
8a3882d546 Added background color to image loading member functions 1998-07-16 04:34:59 +00:00
michaelp
ec4811f612 added init() method to prescontext.
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00
joki
e820a618d7 Event handling additions for DOM suport. Adding additional event pathway through HandleDOMEvent 1998-06-23 21:53:02 +00:00
rpotts
58123235cc Some reference counting to make things go away... 1998-06-23 18:40:18 +00:00
peterl
9c18b6fa69 added flag to get unique style context during resolve 1998-06-05 06:00:55 +00:00
kipp
748fce93e0 removed blather code 1998-06-04 20:41:14 +00:00
michaelp
a948d320c3 prevented infinite paint/damage loop. 1998-06-02 22:05:45 +00:00
kipp
f2ba7b689f Removed includes; updated GetVisibleArea API 1998-05-22 18:36:40 +00:00
peterl
c440da74c3 added pseudo style support 1998-05-18 21:06:33 +00:00
kipp
d0ae47e340 Pass on stop image load to the image loader too so that circular references can be broken and memory can get released properly 1998-05-12 01:30:15 +00:00
kipp
4542f9f903 Removed image loading code (factored out into nsFrameImageLoader); revised API for image loading 1998-05-11 22:56:58 +00:00
kipp
d2e721ddd9 Reworked load image support and provided content changed calls to the shell when image sizes arrive 1998-05-09 03:22:01 +00:00
michaelp
33997423e6 minor tweaks to UpdateView() in view manager. if you want to invalidate a whole
view, pass in nsnull for the nsRegion param.
viewmanager InsertChild() above/below now does the right thing.
fixed cujo's table thingie.
1998-04-30 02:41:14 +00:00
kipp
941c955ed8 Fix porting bugs - made it compile on IRIX 1998-04-26 02:59:29 +00:00
troy
3ce8e88882 Changed nsIFrame member functions to return a nsresult 1998-04-17 01:41:24 +00:00
peterl
74502df8bb fix leaks 1998-04-16 21:51:16 +00:00
kipp
098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00