96 Commits

Author SHA1 Message Date
jaggernaut%netscape.com
173b301199 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106325 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 04:24:06 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
hyatt%netscape.com
c49a03b7be Fix for 71106. r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@100428 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 21:49:35 +00:00
pollmann%netscape.com
9e376203cf Bug 43410: Correct z-index ordering of iframes. This PlaceBehind() call is needed on Windows to cause the actual ::SetWindowPos system call that reorders the widgets to be made. Mac and Gtk do not implement PlaceBehind and should not be affected by this change. Fix includes work by beard@netscape.com. r=beard@netscape.com,self sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99478 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-18 08:21:22 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
pchen%netscape.com
fc01c4c229 bug 78409, r=pinkerton, sr=hyatt, a=asa, apply patch for bug 66848 which fixes submenus not knowing that its parent menu popped up in the opposite direction (usually because of hitting a screen boundary)
git-svn-id: svn://10.0.0.236/trunk@96344 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 23:03:24 +00:00
hyatt%netscape.com
6e7aecd636 Fix for 76495. r=danm, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@93570 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 22:50:16 +00:00
law%netscape.com
ba24c14426 Bug 57576; add SetIcon method to widgets and add code to nsXULWindow to set icons per window; no icons available yet, unless you roll your own; see bug for details; r=mcafee, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@92262 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-14 00:57:30 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
e83a41018c Removed extra 0 arg from macro.
git-svn-id: svn://10.0.0.236/trunk@81896 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 23:37:22 +00:00
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