syd%netscape.com
a9c6930f9b
Change calls to Flash(void) in nsIWidget, nsWindow to GetAttention().
...
r=sdagley a=chofmann. Add support for GetAttention API to nsIDOMWindow.
r=vidur, a=chofmann. To do, make call to WebShell from nsIDOMWindow,
this will come once travis lands some webshell code.
git-svn-id: svn://10.0.0.236/trunk@56140 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-17 06:11:45 +00:00
law%netscape.com
f6869e82d6
18518; Add nsIWidget::Flash with null default implementation in nsBaseWidget and real functionality in Windows version of nsWindow; r=syd@netscape.com, a=chofmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@55844 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 07:20:51 +00:00
ramiro%fateware.com
471748a3e5
Take out some debuggin printf noise dumbness left in there by me last nite.
...
git-svn-id: svn://10.0.0.236/trunk@55227 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 23:44:47 +00:00
ramiro%fateware.com
119acf2584
Update the paint flashing and event debuggin code. The problem was that it
...
was leaking an nsIPref thing for "efficiency" reasons (actually, the truth
is I was just lazy when I wrote the code, but dont tell my mom) The fix was
to register pref changed callbacks to avoid having to keep an nsIPref alive
and thus avoiding some memory leaks which were adding noise to the leak logs.
r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@55170 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 07:23:22 +00:00
danm%netscape.com
3f552485cf
Add ModalEventFilter (originally nsAppShell::EventIsForModalWindow) and add parameter to SetModal. part of fix for bug 14131. r:rods@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@53374 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 23:46:30 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
braddr%puremagic.com
d8fb5871d7
Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
...
r=scc
git-svn-id: svn://10.0.0.236/trunk@52044 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-28 03:16:48 +00:00
braddr%puremagic.com
1dde1a4f56
Ooops.. tree closed, better back these out for now. Sorry.
...
git-svn-id: svn://10.0.0.236/trunk@51979 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 21:01:37 +00:00
braddr%puremagic.com
7767d9393b
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)
git-svn-id: svn://10.0.0.236/trunk@51977 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-27 20:24:21 +00:00
pavlov%netscape.com
da0e9ca233
add ScrollRect method to nsIWidget -- implimented on linux and stubbed in nsBaseWidget for mac and windows. Added ifdef'd scrolling code that makes scrolling really fast on linux. Updated nsIWidget.idl (not built) to merge some changes from a branch and added ScrollRect. Added ifdefs for using gtk_fixed instead of gtk_layout as part of the new scrolling code.
...
git-svn-id: svn://10.0.0.236/trunk@51610 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-23 01:17:20 +00:00
rpotts%netscape.com
fa27c68f3e
bug #16328 . Share a single nsToolkit instance among all widgets.
...
git-svn-id: svn://10.0.0.236/trunk@50749 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 00:49:11 +00:00
kipp%netscape.com
e18af2d0ee
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
...
git-svn-id: svn://10.0.0.236/trunk@50239 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 20:41:19 +00:00
warren%netscape.com
c9fbdb8075
Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty.
...
git-svn-id: svn://10.0.0.236/trunk@50188 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 01:49:06 +00:00
kipp%netscape.com
a87258a834
Added in ctor/dtor counting
...
git-svn-id: svn://10.0.0.236/trunk@49839 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 14:53:40 +00:00
beard%netscape.com
689cfab411
fixing leaking toolkit and device contexts.
...
git-svn-id: svn://10.0.0.236/trunk@49269 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-29 01:25:19 +00:00
pavlov%netscape.com
a27e5441c4
work to get drawing done based on regions and not rects. remove unneeded code in nsBaseWidget and removed tabs. add InvalidateRegion() method to nsIWidget. did InvalidateRegion implimentation on unix. a=shaver r=beard
...
git-svn-id: svn://10.0.0.236/trunk@49180 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 01:31:41 +00:00
beard%netscape.com
677002e392
bug #10503 : added SetZIndex & GetZIndex. a=leaf, r=troy
...
git-svn-id: svn://10.0.0.236/trunk@48933 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-23 23:26:25 +00:00
saari%netscape.com
ca9d9659f4
Changing broadcaster to use onbroadcast instead of oncommand. Adding the "braodcast" "commandupdate" and "input" events. Changed all xul observes nodes to use onbroadcast instead of onchange.
...
git-svn-id: svn://10.0.0.236/trunk@48667 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 23:02:35 +00:00
rods%netscape.com
d7dc9174e8
added CaptureRollupEvents for indicating when a dropdown should be rolled up
...
git-svn-id: svn://10.0.0.236/trunk@48565 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 11:25:03 +00:00
ramiro%netscape.com
5fc6af2ae2
Add better event debugging.
...
git-svn-id: svn://10.0.0.236/trunk@46490 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 02:32:54 +00:00
pavlov%netscape.com
fe6dfe465c
use macros for getiid, isupport, etc
...
git-svn-id: svn://10.0.0.236/trunk@46003 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 08:13:41 +00:00
rods%netscape.com
bec1bc2434
Changed EnableDropFile to EnableDragDrop. D&D is now NOT automatically registered for all windows during
...
creation and initialization. The method EnableDragDrop is not used to "turn it on".
The method nsIView::CreateView has parameter that indicates whether it should be turned on or not
This make it configurable from the outside, it is needed for the editor
git-svn-id: svn://10.0.0.236/trunk@44672 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 14:41:17 +00:00
sfraser%netscape.com
fb1cee7a7e
Make sure we initialize members of the base widget
...
git-svn-id: svn://10.0.0.236/trunk@44212 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 01:00:01 +00:00
pavlov%netscape.com
caa1f84ed3
remove unused tab widget and tooltip widget as they have never been used
...
git-svn-id: svn://10.0.0.236/trunk@43984 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 08:41:46 +00:00
pinkerton%netscape.com
aac003c882
remove InvokeDragSessionSingle.
...
git-svn-id: svn://10.0.0.236/trunk@43634 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 19:48:18 +00:00
joki%netscape.com
25eb777ec4
Adding new onselect event. Also slight modification to ender text widget focus behavior
...
git-svn-id: svn://10.0.0.236/trunk@42676 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 23:18:35 +00:00
kmcclusk%netscape.com
4da058a9e8
bug #7032 Changed nsIWidget::Resize(...), nsIWidget::Move(...) to
...
use PRInt32 instead of PRUInt32. Modified Mac, and Linux to match.
bug #2010 Applied David Barrons patch for MakeSide ins CSSRendering.
nsIWidget - removed GetAbsoluteBounds - Not needed. Can use WidgetToScreen instead.
git-svn-id: svn://10.0.0.236/trunk@41353 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:26:36 +00:00
pavlov%netscape.com
947d846be6
window creation changes
...
git-svn-id: svn://10.0.0.236/trunk@41241 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 04:27:17 +00:00
hyatt%netscape.com
d4acb5353f
Defining the menu GUI events.
...
git-svn-id: svn://10.0.0.236/trunk@41126 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 09:19:18 +00:00
rods%netscape.com
63c01b6b6b
switched to using nsCOMTypeInfo
...
git-svn-id: svn://10.0.0.236/trunk@39691 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 14:11:43 +00:00
kmcclusk%netscape.com
12a07070be
fixed bugs #6303 , #6753 , #6756 , #6759
...
Re-wrote nsComboboxFrame.
removed the obsolete nsHTMLAtoms: comboText,comoTextSelected,comTextSelectedFocus,dropDownVisible,
dropdownHidden, dropDownBtnOut, dropDownBtnPressed,
Added nsHTMLAtoms::combobox, nsLayoutAtoms::popupList
Renamed dropDownList to dropDownListPseudo
Added "arrow.gif" as to be used the background-image for the combobox button
ua.css - added rules for select to differentiate between comboboxes and listboxes.
Added style rules to more closely match the XPTOOLKIT XPWidgets look.
removed the following :-moz-combobox-text, -moz-combobox-textselected
nsIFormControlFrame.h - Added SetSuggestedSize method.
nsButtonControlFrame - Implemented SetSuggestedSize.
nsCSSFrameConstructor.cpp - Rewrote ConstructSelectFrame.
nsIWidget.h -Added GetAbsoluteBounds method.
nsWindow.cpp - Implemented GetAbsoluteBounds.
git-svn-id: svn://10.0.0.236/trunk@39401 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:00:24 +00:00
ramiro%netscape.com
741b7499a8
Take out extra semicolon that is sure to break some compiler out there.
...
git-svn-id: svn://10.0.0.236/trunk@38898 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 12:15:12 +00:00
ramiro%netscape.com
3ed4603f2f
Add some useful debuggin information. This change does not affect any
...
functionality at all. Its just a rearranging of some code and adding debug
stuff so that we can debug event related bugs. In particular (but not
limited to) focus events.
git-svn-id: svn://10.0.0.236/trunk@38897 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 12:11:12 +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
pinkerton%netscape.com
3502f1548c
Fix signed/unsigned problems by making enumerator keep an PRUint32 to match the result of nsICollection::Count(PRUint32*).
...
git-svn-id: svn://10.0.0.236/trunk@36331 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 20:41:28 +00:00
rods%netscape.com
12cfd6b8d2
Changed remain unsigned int to PRUint32
...
git-svn-id: svn://10.0.0.236/trunk@36296 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 19:07:03 +00:00
kmcclusk%netscape.com
44272bfdbf
Added CaptureMouse method to nsIWidget. Implemented CaptureMouse in nsWindow.cpp
...
Added a base implementation to nsBaseWidget.cpp.
git-svn-id: svn://10.0.0.236/trunk@36076 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 20:37:50 +00:00
pierre%netscape.com
43b859ff7b
#8214 "[PP] Mac - Closing browser window with text field focused crashes apprunner". Removed an extra addRef in nsBaseWidget::Enumerator::CurrentItem()
...
git-svn-id: svn://10.0.0.236/trunk@35636 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:34:44 +00:00
rods%netscape.com
42dab97dc9
Changed "unsigned int" to PRUint32
...
git-svn-id: svn://10.0.0.236/trunk@35443 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 14:25:31 +00:00
syd%netscape.com
c009860f8f
Add SetModal() widget interface to nsIWidget, and provide an implementation
...
for Gtk+. Now, when we do modal dialogs, Gtk+ calls a routine that makes the
dialog modal within Gtk+; this is in addition to the code in nsWebShellWindow
that is being invoked to support modals on the other platforms. For Gtk+, the
nsWebShellWindow code doesn't appear to be enough; in order for the event
plumbing to stay alive, we need to call into Gtk+, and unless we actually make
the dialog modal using Gtk+ mechanisms, the user can still get to the menu bar, which is not good.
git-svn-id: svn://10.0.0.236/trunk@35095 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 20:56:08 +00:00
pinkerton%netscape.com
fc7ff68029
fix GetChildren() to not copy the child list and to use a proper enumerator.
...
git-svn-id: svn://10.0.0.236/trunk@32709 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:12:54 +00:00
syd%netscape.com
8440768e53
Remove nsBaseWidget::SetModal.
...
git-svn-id: svn://10.0.0.236/trunk@30865 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 23:08:23 +00:00
pierre%netscape.com
09fa689a63
removed a spurious SetCursor when creating a widget
...
git-svn-id: svn://10.0.0.236/trunk@28567 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:14:07 +00:00
kipp%netscape.com
eebe897d99
Added in some missing addref/release's
...
git-svn-id: svn://10.0.0.236/trunk@28153 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 23:24:40 +00:00
syd%netscape.com
1848a42f66
Support for modal dialogs in Gtk+ xpfe. Reviewed by rods.
...
git-svn-id: svn://10.0.0.236/trunk@28085 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 21:18:50 +00:00
hyatt%netscape.com
a7df744a8e
This assert shouldn't be present.
...
git-svn-id: svn://10.0.0.236/trunk@26388 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 00:49:50 +00:00
kipp%netscape.com
7cea9031d0
Eliminate compiler warnings
...
git-svn-id: svn://10.0.0.236/trunk@26149 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-03 18:38:47 +00:00
beard%netscape.com
5c6e5f4422
now reference counts all listeners
...
git-svn-id: svn://10.0.0.236/trunk@23875 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 04:29:48 +00:00
rods%netscape.com
d6db2acd54
Added method EnableFileDrop (temporary for D&D work)
...
git-svn-id: svn://10.0.0.236/trunk@23406 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 23:47: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