86 Commits

Author SHA1 Message Date
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
danm%netscape.com
11b37438fb add 'activate' parameter to nsIWidget::PlaceBehind. bug 22658 r=rods,kmcclusk
git-svn-id: svn://10.0.0.236/trunk@77643 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 21:21:39 +00:00
sfraser%netscape.com
ca8a0239e2 Fix for 42269 -- leakage of nsAppShell and nsToolkit on Mac. r=pinkerton, a=beppe
git-svn-id: svn://10.0.0.236/trunk@72065 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:24:24 +00:00
mkaply%us.ibm.com
90f6977406 # 34082
r= pinkerton
OS/2 bring up continues - PR_CALLBACKs for VisualAge


git-svn-id: svn://10.0.0.236/trunk@67951 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:13:01 +00:00
scc%netscape.com
ad149b30bf making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66185 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 08:21:30 +00:00
mstoltz%netscape.com
e8a0e8479c Made prefapi.h private and removed all #includes of it outside of libpref. r=norris
git-svn-id: svn://10.0.0.236/trunk@66060 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 03:43:09 +00:00
danm%netscape.com
5923e169e1 add PlaceBehind (other widget) method
git-svn-id: svn://10.0.0.236/trunk@64899 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:10:22 +00:00
scc%netscape.com
c342abbc24 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64168 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 10:18:25 +00:00
danm%netscape.com
3513417ecb adding methods to set and get the size mode (normal,minimized...). bug 30116 r=scc a=jevering
git-svn-id: svn://10.0.0.236/trunk@62435 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-09 01:55:48 +00:00
kmcclusk%netscape.com
8c6ad56e81 Added ScrollWidgets method to nsIWidget. Added stub for ScrollWidgets to nsBaseWidget. Implemented nsScrollWidgets and nsScrollRect on WIN32. bug 22067; r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@57866 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 01:38:50 +00:00
bryner%uiuc.edu
23db985639 Removing unused code that is #ifdef LOSER. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@57468 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 00:27:01 +00:00
danm%netscape.com
e674f89210 base implementation of new method GetScreenBounds. part of bug 5998. r:pierre.
git-svn-id: svn://10.0.0.236/trunk@56923 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 01:29:19 +00:00
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