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

5088 Коммитов

Автор SHA1 Сообщение Дата
mjudge%netscape.com d63fe70c95 minor changes to tweak fix from before. GetPositionSlowly was returning wrong thing causing small caps and other wierd spacing letters to be selected incorrectly. 1999-06-10 21:55:14 +00:00
sfraser%netscape.com c4ec54057e Comment out useless assert. 1999-06-10 21:43:08 +00:00
mjudge%netscape.com 9fe26c4a47 adding kins fix for the bitrotted addrange code. never was used before 1999-06-10 21:24:04 +00:00
mjudge%netscape.com 1e4bbda958 fixing table selection again. also adding parameter to nsIFocusTracker that allows us to get the current caret location. I am also stopping nsTableRowFrame from putting blue border around itself since cells are a high enough granularity. made a change to nsIFrame GetPosition to remove some useless parameters ect. this caused me to change nsDOMEvent.cpp and some other places.
MJ
1999-06-10 21:08:17 +00:00
waterson%netscape.com f1532a63aa Back out Hyatt's changes to use DOM APIs. This is busting mailnews. Use content APIs until we figure out persistence story. 1999-06-10 19:51:35 +00:00
hyatt%netscape.com 29dd30bc47 Tweak to the tree frame construction code. 1999-06-10 09:31:30 +00:00
hyatt%netscape.com 1f4efa1f8a Using DOM calls for setting/removing selection and hover attributes. 1999-06-10 05:53:01 +00:00
peterl%netscape.com 903764ae77 added code to ignore unknown namespace prefix for attributes
(actually the parser should've rejected it before here)
1999-06-10 05:33:47 +00:00
peterl%netscape.com 7687bd0106 added files: mozilla/layout/html/style/src/nsCSSRule.cpp, mozilla/layout/html/style/src/nsCSSRules.cpp 1999-06-10 05:32:57 +00:00
peterl%netscape.com 791b4e55f5 added new rule interfaces & base class 1999-06-10 05:32:38 +00:00
peterl%netscape.com fd88fa6e86 better namespace support
made descend from nsICSSRule
1999-06-10 05:30:36 +00:00
peterl%netscape.com e1f892fa06 removed cruft 1999-06-10 05:29:53 +00:00
peterl%netscape.com 7972860145 added support for other rule types
cleaned up api
1999-06-10 05:29:22 +00:00
peterl%netscape.com 8cca0da687 better namespace support
made descend from nsCSSRule base class
1999-06-10 05:28:32 +00:00
peterl%netscape.com 109ba803cf added helper method to token 1999-06-10 05:27:01 +00:00
peterl%netscape.com 118e9f9265 added support for @namespace & @media
stubbed out support for other @rules
sync to sheet api changes
1999-06-10 05:25:23 +00:00
peterl%netscape.com 4c5a011021 added support for attribute namespaces on generated content
stubed out improvements to style change painting code
1999-06-10 05:24:00 +00:00
peterl%netscape.com 56a1156cd5 Cleanup API
Added support for other rule types
Added namespace support
1999-06-10 05:22:13 +00:00
peterl%netscape.com 9df8ff0558 sync to style sheet api change
added support for detecting other css rule types
1999-06-10 05:21:22 +00:00
peterl%netscape.com aa83ade7e0 made query for attributes in other namespaces legal, just not work 1999-06-10 05:20:28 +00:00
peterl%netscape.com e4693f9f9a added code to ignore unknown namespace prefix for attributes
(actually the parser should've rejected it before here)
1999-06-10 05:18:46 +00:00
peterl%netscape.com 5af713b6eb removed equals and hashvalue methods 1999-06-10 05:17:27 +00:00
karnaze%netscape.com 323406a152 removed temp windows code added by accident 1999-06-10 03:48:06 +00:00
peterl%netscape.com 16cb87848e #ifdef'd out windows specific timer code 1999-06-10 03:43:43 +00:00
karnaze%netscape.com 5bf51e9a40 bug 6459 - incremental reflow methods call DeleteFrame instead of RemoveFrame 1999-06-10 02:29:34 +00:00
kostello%netscape.com 30d8323d5c Fix build bustage: changed include to be the right case 1999-06-10 01:06:35 +00:00
kostello%netscape.com af8311bbc4 Akkana set up a service for encoding a document.
This checkin adds the implementations for encoding
HTML and plain text:

nsTextEncoder::EncodeToString(..)
nsHTMLEncoder::EncodeToStream(..)

Hooked these services into the nsHTMLEditor implemenation

We probably want to update the clipboard code to
use the same pattern as in nsHTMLEditor.cpp
1999-06-10 00:35:02 +00:00
Jerry.Kirk%Nexwarecorp.com b80124ca53 - Bug 7794 Move $(TK_LIBS) further down in the library list. 1999-06-09 19:48:58 +00:00
hyatt%netscape.com cb12cfde0e Fixing build bustage. 1999-06-09 07:51:52 +00:00
joki%netscape.com b63a729e33 Fixing event coordinates to give screen based info. Also fixing direct reference to frames via their names. 1999-06-09 07:38:26 +00:00
tague%netscape.com 3f79fc52e2 Conditional fix for #7629. Only builds with a conditional set in my environment 1999-06-09 03:17:56 +00:00
hyatt%netscape.com 8a979e092e Changed events names to "create" and "destroy". 1999-06-09 01:11:22 +00:00
akkana%netscape.com 8dd6c30502 7720: fix regression caused by attempting to fix XIF handling of comments 1999-06-09 00:48:21 +00:00
hyatt%netscape.com 82d4c0af7b Fixing a bug with allowevents in the tree view. 1999-06-09 00:04:25 +00:00
putterman%netscape.com ec857a1846 Check in fix for hyatt. Don't crash when closing a window after onchange
has been called.
1999-06-08 21:04:02 +00:00
joki%netscape.com e298ea1f6c Fixing coords for click event since by not setting them at all before they were unlikely to be correct. 1999-06-08 19:28:52 +00:00
joki%netscape.com d3e02af6be Fix hover state crash at document change. Bug 6580 1999-06-08 19:01:56 +00:00
hyatt%netscape.com 0b61b4bf92 Fix for a crash in the onchange handler of tree views on exit. 1999-06-08 18:12:47 +00:00
kmcclusk%netscape.com c0d7d3b338 Replaced reference with pointer for accessing plainFont in nsTextFrame::Reflow. 1999-06-08 18:12:20 +00:00
av%netscape.com c9ea8157ef *** empty log message *** 1999-06-08 06:07:51 +00:00
hyatt%netscape.com 38576d64e3 Added construct and destruct events to the DOM. 1999-06-08 05:10:13 +00:00
karnaze%netscape.com 1d057db431 empty table cells ignore their background 1999-06-08 05:04:22 +00:00
joki%netscape.com 6f1a265019 Adding new method to nsIDOMNSUIEvent to give event pos as range offset. 1999-06-08 02:19:26 +00:00
rickg%netscape.com 3b00713051 fixed bug 7713 1999-06-08 00:30:26 +00:00
akkana%netscape.com 411b9335fd Add Init method to pass in the document and mime type 1999-06-08 00:01:55 +00:00
karnaze%netscape.com 9c763cd7a9 removed background rules for table elements 1999-06-07 21:19:05 +00:00
kmcclusk%netscape.com 50fad27afd Modified TextStyle constructor to reuse the TextFrame's mFont rather than creating
a new font. The creation of the new font show up during profiling as a big hit.
1999-06-07 21:18:51 +00:00
karnaze%netscape.com a94daf6764 background regression test 1999-06-07 21:14:19 +00:00
karnaze%netscape.com 45d73d88de support for backgrounds on table elements in both compatibility modes 1999-06-07 21:10:25 +00:00
karnaze%netscape.com 124ffff8d5 new style rule for table elements inheriting backgrounds in Nav Quirks mode 1999-06-07 21:09:07 +00:00
hyatt%netscape.com e7963f7525 Notification of a change in selection. 1999-06-07 20:57:34 +00:00
pinkerton%netscape.com 26fdcb06d3 changes so that transferable no longer takes ownership of dataflavor string, but correctly copies it. fix some memory leaks as well. 1999-06-07 20:43:23 +00:00
akkana%netscape.com b6db890d57 Split document encoder's Encode() method into a stream method and a string method 1999-06-07 19:32:36 +00:00
av%netscape.com 673d695799 *** empty log message *** 1999-06-05 20:47:14 +00:00
av%netscape.com 810f5b6875 Hooking up events for winless plugins 1999-06-05 20:09:21 +00:00
bruce%cybersight.com e9dc3a4488 Explicitly include nsFileSpec.h. This will be necessary for some changes coming post-M7. 1999-06-05 11:49:04 +00:00
bruce%cybersight.com 4628b7944a Tokens may not follow '#endif'. This fixes the HP-UX build. 1999-06-05 11:35:36 +00:00
nisheeth%netscape.com 5406520710 Patch from alecf to do a null pointer check on argument to GetSelectedIndex(). 1999-06-05 00:18:58 +00:00
nisheeth%netscape.com b4dd4f1342 Patch from alecf to do a null pointer check in FindFrameWithContent(). 1999-06-05 00:18:03 +00:00
sspitzer%netscape.com 099c1e995a fix build breakage on UNIX. tindebox builds with --enable-pedantic, which
catches stuff like this.
1999-06-04 23:57:35 +00:00
akkana%netscape.com 365b822bb1 attempt to fix win build bustage 1999-06-04 23:45:25 +00:00
mjudge%netscape.com 69a5dfd797 fixes for selection and memory leaks 1999-06-04 23:00:24 +00:00
akkana%netscape.com a6d85f64a3 cast away constness for a temporary fix to windows build bustage 1999-06-04 22:58:47 +00:00
amusil%netscape.com 6092bca042 Fixed bug with Java-targeted object tags. 1999-06-04 22:33:13 +00:00
akkana%netscape.com 3d54e784c0 XIF Document Encoder; and partial fix for XIF-to-html conversion of comments 1999-06-04 22:22:53 +00:00
briano%netscape.com e9e302b454 Handle the (Unix) platform-specific DLL naming conventions properly. 1999-06-04 22:17:30 +00:00
sfraser%netscape.com fee9669b1c Added nsDocumentEncoder.cpp for akkana 1999-06-04 22:04:44 +00:00
nisheeth%netscape.com d258a2fb2b Fix for bug 6892. We should not set focus each time a document viewer creates a new window but leave it to the embedding application to decide when to set focus. 1999-06-04 01:48:38 +00:00
nisheeth%netscape.com af5727b090 Fix for bug 4924. Attributes created with no namespace prefix are now assigned no namespace. They were erroneously being assigned the default namespace earlier. 1999-06-04 01:16:18 +00:00
akkana%netscape.com 7eb99ffcd0 Checking in the non-dangerous parts of the XIF document/html encoder 1999-06-04 01:04:08 +00:00
warren%netscape.com 080972f891 Fixed CPP_OBJS to build nsHTMLFragmentContentSink.obj not nsHTMLFragmentContentSink.cpp. 1999-06-04 00:12:43 +00:00
akkana%netscape.com 8b73938c4d Vidur's initial implementation of Insert HTML Fragment 1999-06-03 22:38:38 +00:00
sfraser%netscape.com 6a8215a679 Added nsHTMLFragmentContentSink.cpp for akkana 1999-06-03 22:36:44 +00:00
akkana%netscape.com d95e3b93e3 Part of Vidur's html fragment changes: files which aren't in the build yet 1999-06-03 22:30:12 +00:00
warren%netscape.com 856c122c19 Left over from mozilla/base/src. 1999-06-03 21:50:54 +00:00
pinkerton%netscape.com 850bab971a unpatch leaf's hack in 1.73 since form submission now works correctly. Mac now once again submits the form when return is pressed. 1999-06-03 18:05:40 +00:00
karnaze%netscape.com dd4be14bd5 bug 1252, check for null view 1999-06-03 04:34:49 +00:00
karnaze%netscape.com d38de4bb0d additional regression tests 1999-06-03 04:33:47 +00:00
karnaze%netscape.com 71c0191f75 new regression test 1999-06-03 02:43:45 +00:00
karnaze%netscape.com cf6f1e2d5a bug 7243. Rewrote FixedTableLayoutStrategy::AssignPreliminaryColumnWidths 1999-06-03 02:42:33 +00:00
peterl%netscape.com ea2a67cdbd fixed warnings 1999-06-03 02:09:03 +00:00
peterl%netscape.com 294da6f59e added cloning 1999-06-03 01:58:11 +00:00
peterl%netscape.com 4358f69fcb added modified state
added cloning with actual copy on write
1999-06-03 01:57:52 +00:00
peterl%netscape.com 5360affc5e added cloning and dirtying of sheet on modify 1999-06-03 01:57:13 +00:00
peterl%netscape.com b37990bb21 added modified test for loaded sheets 1999-06-03 01:56:14 +00:00
peterl%netscape.com 7f70332c59 added modified test to api 1999-06-03 01:55:02 +00:00
alecf%netscape.com 1e37044d42 first cut at scriptifying nsISupportsArray - remove constness from all methods, add new XPCOM compatible methods and fix layout code to handle lack of const methods 1999-06-02 02:06:32 +00:00
jfrancis%netscape.com 7dd79a4cfd fix for subtree iter Init - now works when inited over a single textnode 1999-06-02 00:41:45 +00:00
mjudge%netscape.com 789f8c3ebc invalid != for unix I will investigate this later. What i am checkin in now SHOULD remove any ambiguity in the code. 1999-06-01 23:53:01 +00:00
mjudge%netscape.com 51faf8cbdb new table selection code drag inside and outside of tables with ease. added some overriding methods to nsTableCellFrame and nsTableFrame to make selection "draw" correctly for those containers. 1999-06-01 23:04:13 +00:00
pierre%netscape.com 101342182f Don't printf() like crazy when displaying very long pages such as http://slip/res-lib/morte1.htm in DEBUG builds. 1999-06-01 22:11:32 +00:00
evaughan%netscape.com 4b0b0ef6f4 Reworked fieldsets to fix numerous bugs. 1999-06-01 21:52:11 +00:00
beard%netscape.com ebb42e275f bug #7354: arrow key scrolling, force the update to deal with different event priorities. 1999-05-31 01:45:23 +00:00
beard%netscape.com 49aa6c81c8 make sure mScriptContextOwner isn't NULL (apologies to sspitzer, made the test consistent with line #2283, hope you don't mind) 1999-05-29 21:43:24 +00:00
sspitzer%netscape.com 9cea6738a5 fix for #7344. check for nsnull before dereferencing. 1999-05-29 20:55:48 +00:00
bruce%cybersight.com 0d5fd43f0b Use $(DLL_SUFFIX) here as well. 1999-05-29 02:25:28 +00:00
bruce%cybersight.com 7d69045948 Use $(DLL_SUFFIX) for shared lib linking. 1999-05-29 02:19:03 +00:00
vidur%netscape.com fca71d812c possibly temporary sink implementation to build a document fragment. 1999-05-29 01:29:01 +00:00
hyatt%netscape.com f17e7aa8a6 More accurate tracking of chrome shells. 1999-05-28 22:26:48 +00:00
kmcclusk%netscape.com fd468cfbd4 fix for bug #6971. Added support for clicking and dragging over items in single
and multiselect listboxes. Also supports holding down the shift and ctrl keys
while dragging.
1999-05-28 21:12:09 +00:00
nhotta%netscape.com a40a8715a8 Added a check for force charset. 1999-05-28 20:53:29 +00:00
peterl%netscape.com 1a121d89d6 clone URLs before handing to netlib. "chrome:" and "resource:" urls get munged destroying hash keys... 1999-05-28 06:50:52 +00:00
pollmann%netscape.com 39397b161d Bug 3322: nsSelectControlFrames's ControlChanged does what MouseClicked used to - checks for selection changes and sends out onChange DOM events. 1999-05-28 01:06:42 +00:00
pollmann%netscape.com 4ba580c20a Bug 3322: NS_CONTROL_CHANGE events call ControlChanged on the form frame. 1999-05-28 01:05:19 +00:00
alecf%netscape.com 16c8c3a8d1 GetCharPref is going away for nsIPref scriptability - use CopyCharPref instead 1999-05-28 00:51:34 +00:00
pierre%netscape.com d23f607b69 #3930 "file selection control displays complete path" 1999-05-28 00:40:18 +00:00
vidur%netscape.com 2206692fcd Fix for bug 6125. DOMImplementation::hasFeature() now works better 1999-05-28 00:22:47 +00:00
vidur%netscape.com b8ecc55881 Added noscript qualifier to HTMLDocument::Open, Write and Writeln and moved the JS-specific versions over to NSHTMLDocument. 1999-05-28 00:18:48 +00:00
av%netscape.com e2a089381e Getting windowless plugin stuff into 1999-05-27 23:20:09 +00:00
pinkerton%netscape.com 8c68a96e62 remove references and cid's for tree, toolbar, and content connector widgets. These no longer exist. 1999-05-27 23:17:14 +00:00
pinkerton%netscape.com d95eaf2068 fixes to get collapsed grippies to be the same size as the toolbar that was collapsed. It was my error that I caught earlier, but forgot to go back to it. Chris' code did the right thing. 1999-05-27 22:39:10 +00:00
nisheeth%netscape.com 1dab45d1ff Accept percentage values for the LEFT and TOP attributes of the LAYER tag. 1999-05-27 22:26:23 +00:00
pinkerton%netscape.com 5bd6ef13da more toolbar expanding/collapsing work. Significant portions donated by Chris Lattner. Thanks, Chris! 1999-05-27 22:17:25 +00:00
mcmullen%netscape.com f4bd7dc337 Removed obsolete base.shlb/baseDebug.shlb 1999-05-27 21:40:58 +00:00
kmcclusk%netscape.com 56cb572831 fixes for bugs #5809, #5852, #6828, #6973.
Added a new test16.html sample to test gfx-rendered widgets to viewer.
Added support for test17.html sample to test printing.
1999-05-27 21:17:10 +00:00
hyatt%netscape.com 25c31fd9a3 (1) The document now checks the window for capture.
(2) Frames and iframes now know their nearest enclosing chrome shells.
1999-05-27 21:04:52 +00:00
bruce%cybersight.com f658916b7a should've been a forward declaration of nsIPresContext. This will remove 117 warnings. 1999-05-27 20:48:01 +00:00
dp%netscape.com 12789cc1b1 Fixing tests to link with components/libraptorhtml.so. This aint the right thing. The test should be modified to use the componentmanager to get to the object 1999-05-27 04:21:30 +00:00
dp%netscape.com e8b7bddb41 Fixing tests by linking in a component dll raptorhtml 1999-05-27 02:46:26 +00:00
sspitzer%netscape.com c1c89f9464 fixed this test to go through the component manager. turn it back on. 1999-05-27 02:41:16 +00:00
sspitzer%netscape.com 13dea2bed1 commenting out tests until we get them to work 1999-05-27 02:25:56 +00:00
sspitzer%netscape.com 046a9dcc9e fix the makefile. looks like this test will need to be worked on to
get it to link.  commenting out of build for now.
1999-05-27 01:46:01 +00:00
peterl%netscape.com 9142b76d62 tweaks to css loader handling 1999-05-26 23:59:00 +00:00
peterl%netscape.com 49aae09b5a use css loader to load css sheets
better css handling
1999-05-26 23:58:06 +00:00
peterl%netscape.com 5846e500d5 fixed ref counting of global atoms 1999-05-26 23:56:57 +00:00
peterl%netscape.com 8f088167e0 sync to nsIStyledContent API change 1999-05-26 23:55:49 +00:00
peterl%netscape.com 0ff2cb742d changed cascading code to include rules from children
added rule cascade per media
1999-05-26 23:55:12 +00:00
peterl%netscape.com 4acc03a176 better handling of CR/LF after escapes 1999-05-26 23:53:39 +00:00
peterl%netscape.com fbcf6e8b5d better handling of bad @imports 1999-05-26 23:53:16 +00:00
peterl%netscape.com 0e8ebe075d added load agent sheet
added support for non-blocking inline sheets
1999-05-26 23:52:37 +00:00
peterl%netscape.com 9533665652 added Clearmedia 1999-05-26 23:51:42 +00:00
peterl%netscape.com c7644ee0fc added drop doc reference
added load agent sheet
added usage notes
1999-05-26 23:51:25 +00:00
peterl%netscape.com 766ffe4aa0 drop doc reference on CSS loader 1999-05-26 23:50:26 +00:00
peterl%netscape.com 325e454ccd made inline style sheet non-blocking
fixed processing of link type ("rel")
fixed handling of mime type
1999-05-26 23:49:33 +00:00
peterl%netscape.com 716232e145 prepped MapAttributeInto for use with table cells too 1999-05-26 23:48:19 +00:00
peterl%netscape.com ae8ececefd sync to nsIStyledContent API change
add table style rule to table cell
1999-05-26 23:47:19 +00:00
peterl%netscape.com 3437a3de76 sync to nsIStyledContent API change 1999-05-26 23:46:45 +00:00
peterl%netscape.com 4653e9246b use CSS loader to load ua.css 1999-05-26 23:45:37 +00:00
peterl%netscape.com bd656c4fbd added assertion to resolve style 1999-05-26 23:44:56 +00:00
peterl%netscape.com 7a42466c4f changed style rule API to use array 1999-05-26 23:44:32 +00:00
bruce%cybersight.com e73f9d9713 Fix a free memory mismatch. 1999-05-26 22:53:12 +00:00
morse%netscape.com aa3c35f565 added modal dialogs for wallet 1999-05-26 22:50:49 +00:00
jfrancis%netscape.com cb89b3b4db fixed dom range gravity error 1999-05-26 22:28:04 +00:00
karnaze%netscape.com 8f59339b67 Rewrote DistributeRemainingSpace a 2nd time and added compat mode.
bug 6068, 6933. nsTableRowGroupFrame::CalculateRowHeights - changed row spans to consider
top and bottom margins during height calculations. Calculations using percentages ensure that the sum of
rows sum exactly to excess.

bug 6404 BasicTableLayoutStrategy::BalanceColumnsConstrained cols in span other than 1st col was
not getting additional allocations from cell. ::DistributeRemainSpace uses max width of col
instead of max effective width. Also added checks for negative value during percentage calculations.
1999-05-26 22:22:23 +00:00
karnaze%netscape.com 413803f598 bug 7083, nsFormFrame doesn't involve netlib if the action is not specified 1999-05-26 22:20:53 +00:00
karnaze%netscape.com f272c5cfa3 new regression tests 1999-05-26 22:19:02 +00:00
pinkerton%netscape.com 5135f5d4a6 new multiple-item drag and drop apis. 1999-05-26 21:08:14 +00:00
dp%netscape.com b242ae36b2 Fixing tests 1999-05-26 07:46:01 +00:00
dp%netscape.com 0443b20e33 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
leaf%mozilla.org d9cb231ace Filtering out form submission in all cases, to get location bar working
for mac. This will be fixed RSN.
1999-05-25 23:25:19 +00:00