Commit Graph

109 Commits

Author SHA1 Message Date
jfrancis%netscape.com
e29b5f2101 making nsRangeList be more like a model nsCOMPtr citizen...
git-svn-id: svn://10.0.0.236/trunk@37680 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 08:19:44 +00:00
scc%netscape.com
a2d0be4d64 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()|
git-svn-id: svn://10.0.0.236/trunk@37444 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 21:01:31 +00:00
akkana%netscape.com
819c9d4ce0 Add some error checking, for robustness; fix some warnings
git-svn-id: svn://10.0.0.236/trunk@36347 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 21:45:00 +00:00
mjudge%netscape.com
83a23355fc fix for crasher in browser. check for null
git-svn-id: svn://10.0.0.236/trunk@36310 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 19:41:41 +00:00
sfraser%netscape.com
60704ce592 Add a null check to avoid crashing when typing in the profile window text fields.
git-svn-id: svn://10.0.0.236/trunk@35952 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-20 00:15:40 +00:00
mjudge%netscape.com
571f2a1a16 up/down selection BRFrames dont allow selecting upon them for now. horizontal bars are now drawn selected. ect.
git-svn-id: svn://10.0.0.236/trunk@35903 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 20:36:44 +00:00
mjudge%netscape.com
8650f1059b adding kins fix for the bitrotted addrange code. never was used before
git-svn-id: svn://10.0.0.236/trunk@34643 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:24:04 +00:00
mjudge%netscape.com
21a15def92 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


git-svn-id: svn://10.0.0.236/trunk@34640 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:08:17 +00:00
bruce%cybersight.com
905a6365ef Tokens may not follow '#endif'. This fixes the HP-UX build.
git-svn-id: svn://10.0.0.236/trunk@33916 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 11:35:36 +00:00
mjudge%netscape.com
2b31837503 fixes for selection and memory leaks
git-svn-id: svn://10.0.0.236/trunk@33844 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:00:24 +00:00
mjudge%netscape.com
cd7086a430 invalid != for unix I will investigate this later. What i am checkin in now SHOULD remove any ambiguity in the code.
git-svn-id: svn://10.0.0.236/trunk@33361 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 23:53:01 +00:00
mjudge%netscape.com
45583c2b3d 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.
git-svn-id: svn://10.0.0.236/trunk@33352 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 23:04:13 +00:00
mjudge%netscape.com
85ff7d2a69 reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply
git-svn-id: svn://10.0.0.236/trunk@32354 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 00:52:00 +00:00
joki%netscape.com
5ff7e26f51 Breaking nsIDOMEvent out into nsIDOMEvent and nsIDOMUIEvent.
git-svn-id: svn://10.0.0.236/trunk@32168 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:51:04 +00:00
mjudge%netscape.com
ff933f4f73 adding in selection of non text frames in editor only
git-svn-id: svn://10.0.0.236/trunk@31872 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 00:21:18 +00:00
cmanske%netscape.com
0992ccb525 Fixed isCollapsed not working for a selection with 1 range
git-svn-id: svn://10.0.0.236/trunk@31461 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:49:12 +00:00
warren%netscape.com
fe7d7e2e69 Fixed nsICollection (and Count in particular) to be xpidl friendly.
git-svn-id: svn://10.0.0.236/trunk@31413 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 04:56:04 +00:00
jfrancis%netscape.com
710bff6a24 updated to new iter behavior
git-svn-id: svn://10.0.0.236/trunk@31387 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:50:15 +00:00
mjudge%netscape.com
3eb321b254 fixing lame compiler bug in SunOS gcc we are using wont accept this template call in nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@31376 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:14:32 +00:00
mjudge%netscape.com
09deaec2f5 adding back in keyboard navigation. removing const from peekoffset to stop the const creep
git-svn-id: svn://10.0.0.236/trunk@31346 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:43:47 +00:00
mjudge%netscape.com
aa270a2af0 forgot checkin
git-svn-id: svn://10.0.0.236/trunk@30748 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:17:59 +00:00
mjudge%netscape.com
644a9e449d massive checkin for selection modifications and removing static state variables for selection in nsFrame.h.
git-svn-id: svn://10.0.0.236/trunk@30744 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:12:59 +00:00
akkana%netscape.com
7665b5ba68 comment out annoying debug message
git-svn-id: svn://10.0.0.236/trunk@30431 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:24:58 +00:00
cyeh%netscape.com
3392afd90c backout mjudge checkin against closed tree. it also breaks mac as well, so
mjudge will try again when tree reopens


git-svn-id: svn://10.0.0.236/trunk@30428 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:05:41 +00:00
mjudge%netscape.com
6249ea5e27 adding new state to nsRangeList to track mousedown and dragging criteria. much better than static variables in nsFrame.h!!
git-svn-id: svn://10.0.0.236/trunk@30424 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 22:32:58 +00:00
mjudge%netscape.com
266e1da5ec m5 BUGS Choffman approved. simon reviewed. removing possible memory leak and getting anchor and focus frame to use the proper range instead of addreffing a node each! tested this afternoon
git-svn-id: svn://10.0.0.236/trunk@29801 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 20:24:21 +00:00
mjudge%netscape.com
1c6fe6802e bug fix simon reviewed hoffman approved
git-svn-id: svn://10.0.0.236/trunk@29763 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:09:59 +00:00
sfraser%netscape.com
cd38b34ec8 Break out of the loop when iter->Next() fails (nil parent problem in the content iterator).
git-svn-id: svn://10.0.0.236/trunk@29723 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:38:19 +00:00
mjudge%netscape.com
1405be0696 oops left debug statement on
git-svn-id: svn://10.0.0.236/trunk@29663 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 03:01:27 +00:00
mjudge%netscape.com
1a77716261 fixing a plethora of bugs here. This will only set selection on the difference in the ranges before and after the ::Extend call. This will stop unnecessary drawing ect. The flickering that may be seen now is due to an invalidate compositor bug that will not allow me to queue up invalidate calls. this should be safe.
git-svn-id: svn://10.0.0.236/trunk@29660 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 02:45:19 +00:00
mjudge%netscape.com
0352ad75c6 selection changes for new model of content only. frames no longer contain variables referring to selection state outside of 1 bit. keyboard selection will now be disabled until i can get it working in the new selection world order.
git-svn-id: svn://10.0.0.236/trunk@29153 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 04:02:04 +00:00
sfraser%netscape.com
7ec6297b08 Implement the ScriptObjectOwner interface, and adapt to fixed selection interfaces.
git-svn-id: svn://10.0.0.236/trunk@27658 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:19:26 +00:00
joki%netscape.com
23264d13d7 Modifying auto-scrolling to not happen after every keystroke.
git-svn-id: svn://10.0.0.236/trunk@27429 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 01:22:09 +00:00
sfraser%netscape.com
bbda90e2b0 Updated to conform to new IDL-ized selection interfaces.
git-svn-id: svn://10.0.0.236/trunk@27289 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 01:33:32 +00:00
mjudge%netscape.com
a7f6edd45f bug 4539 approved by hoffman. fix gives us nested selection batch changes.
git-svn-id: svn://10.0.0.236/trunk@26769 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-08 01:27:29 +00:00
mjudge%netscape.com
e8328ec579 Simon reviewed. Hoffman approved bug number 4584 fixes clicking in alternate text.
git-svn-id: svn://10.0.0.236/trunk@26753 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 22:49:07 +00:00
sfraser%netscape.com
ed63072871 Turn off debug selection, and fix some debug code that crashed sometimes.
git-svn-id: svn://10.0.0.236/trunk@26125 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 01:46:58 +00:00
sfraser%netscape.com
240d4982a4 #ifdef out the navigation printfs, and remove some unused variables.
git-svn-id: svn://10.0.0.236/trunk@25947 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:44:15 +00:00
jfrancis%netscape.com
356ea1dcd5 fixed 4057: Clear() now resets focus and anchor nodes
git-svn-id: svn://10.0.0.236/trunk@24663 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-22 09:02:30 +00:00
tague%netscape.com
b473550518 Added support for basic Japanese input on Win32
git-svn-id: svn://10.0.0.236/trunk@24498 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 23:36:20 +00:00
mjudge%netscape.com
d86bbf4046 M3 bug reviewed by joe francis. simply adding 0 initiializers to variables
git-svn-id: svn://10.0.0.236/trunk@24184 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 23:08:27 +00:00
jfrancis%netscape.com
da1fc8ea13 fixed 3632 - selection turds after delete.
fixed 3751 - resizing page with selected image crashes.

reviewed mjudge and kin.  checkin approval chofmann.


git-svn-id: svn://10.0.0.236/trunk@24183 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 22:52:06 +00:00
buster%netscape.com
099c42d8d3 small bug fix in Collapse. If the range array has 0 children, the selection should be considered collapsed.
git-svn-id: svn://10.0.0.236/trunk@24158 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 05:04:34 +00:00
buster%netscape.com
fdd92cdedf added some debugging code. uncomment the #define DELETE_SELECTION
to see some output about what node is selected.


git-svn-id: svn://10.0.0.236/trunk@24053 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 04:36:03 +00:00
sdagley%netscape.com
f1888f3f4e Fixing the Mac build bustage by calling the get() accessor for comparison
git-svn-id: svn://10.0.0.236/trunk@23817 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:16:08 +00:00
mjudge%netscape.com
2531ba7a64 need to swap positions for mac. need to put COMPtr on right side of ==
git-svn-id: svn://10.0.0.236/trunk@23810 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 01:02:34 +00:00
mjudge%netscape.com
5876940d2e fixed memory leaks in nsRangelist.cpp. uninitialized memory in nsTextframe, simplified APIs in nsIFrame and the underlying implementations. see layout.checkins
git-svn-id: svn://10.0.0.236/trunk@23802 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 00:17:14 +00:00
akkana%netscape.com
c6464d3004 Fix UMR, caught with purify by bruce@portland.puremagic.com
git-svn-id: svn://10.0.0.236/trunk@23423 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 00:28:47 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
scc%netscape.com
817f56596f rename |IID()| --> |GetIID()|
git-svn-id: svn://10.0.0.236/trunk@22744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 19:48:57 +00:00