Commit Graph

2818 Commits

Author SHA1 Message Date
beard%netscape.com
f04efea49f fixing a smashed memory block problem, wasn't allocating enough space for the '\0' terminator. 1999-08-26 02:39:53 +00:00
pavlov%netscape.com
e9a4611715 fix for 12501 and make the rest of the widgets use NS_* macros 1999-08-26 02:06:24 +00:00
sdagley%netscape.com
6925331053 Fix #6860. We were using the wrong constant in nsFileWidget::PutFile which resulted in the open file dialog being displayed instead of the save file dialog. Yes the Windows build is red as I check this in but it's not related to the problem and mcafee has approved the checkin. 1999-08-26 00:59:16 +00:00
ramiro%netscape.com
245edac916 stub 1999-08-25 23:43:25 +00:00
saari%netscape.com
4396733119 Continuing previous checking w. merge 1999-08-25 23:02:16 +00:00
saari%netscape.com
f9a4da9ef0 Adding SetNativeData(void*) to nsIMenu, which was needed for making the Help menu on MacOS merge with the XUL help menu. The rest of the code is to achive the merge. 1999-08-25 22:53:25 +00:00
pinkerton%netscape.com
019167bea9 fix QI lameness and use macros. 1999-08-25 22:04:02 +00:00
sfraser%netscape.com
4a7f7b54e2 #ifdef out SysBeep()s in menu code 1999-08-25 21:55:01 +00:00
beard%netscape.com
524a121598 bug 11312: fixed calls to Invalidate() when widget has (x, y) <> (0, 0). 1999-08-25 21:28:19 +00:00
jdunn%netscape.com
39babcedbe HP won't allow a delete on a 'void *' so change cast using REINTERPRET 1999-08-25 21:23:21 +00:00
akkana%netscape.com
68e327729e Pass KeyPress events even if modifier key is pressed; un-break editor control key bindings. a=leaf,mcafee 1999-08-25 19:24:18 +00:00
ramiro%netscape.com
99e19a1241 Fix the timer names for these platforms. 1999-08-25 14:12:04 +00:00
ramiro%netscape.com
5c9835cc68 Cleanup linking of libimg. 1999-08-25 13:37:11 +00:00
ramiro%netscape.com
aed2f968ba Remove extraneous AddRef(). 1999-08-25 11:45:14 +00:00
pinkerton%netscape.com
7e95a7e21e dumb compiler things. 1999-08-25 09:47:32 +00:00
pinkerton%netscape.com
72c115383c toString -> ToString idl change. 1999-08-25 09:15:18 +00:00
pinkerton%netscape.com
268234cadd IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter. 1999-08-25 08:35:06 +00:00
pinkerton%netscape.com
e6c7e84a6c First Checked In. 1999-08-25 08:34:46 +00:00
brendan%mozilla.org
9cd191ad4f Missed one during final precheckin update/merge. 1999-08-25 05:59:09 +00:00
brendan%mozilla.org
defeffaabd Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +00:00
blizzard%redhat.com
03c4790395 remove crufty comments 1999-08-25 01:51:25 +00:00
jdunn%netscape.com
a646f41fd3 Fix AIX compiler errors. 1999-08-25 01:14:11 +00:00
saari%netscape.com
48cb6ffc78 Fix for bug 12145 and enabling check marks on mac menus. Both mac only changes. 1999-08-24 21:55:02 +00:00
tague%netscape.com
9e7fd8b55c Added support for WM_INPUTLANGCHANGEREQUEST and WM_INPUTLANGCHANGE. Fixes bug #12317. 1999-08-24 21:46:43 +00:00
akkana%netscape.com
ff7a19a5bd Revise the doc encoder and content sink APIs yet again to make it easier
to add new flags (pass a flag in the constructor, rather than specific
booleans.  This in order to fix:
11249: Add flag to write only the body in html output.
1999-08-24 18:30:19 +00:00
ramiro%netscape.com
7f374f6c96 Fix for the sunos build. 1999-08-24 15:26:31 +00:00
ramiro%netscape.com
2d131e53c9 Set the timer libs in one place. 1999-08-24 14:58:43 +00:00
ramiro%netscape.com
ec21b9ecbc Set the timer lib flags in one place. 1999-08-24 14:54:59 +00:00
ramiro%netscape.com
d8ed9e19ea Fix for bug 11964. Leaking timers. This time ita a real fix. Refcnt was
one too much cause of an extra QueryInterface() call.
1999-08-24 14:09:48 +00:00
sfraser%netscape.com
3d71ad3bff Make chooseDirectory return a file URL string, like chooseFile does. 1999-08-24 01:01:38 +00:00
sfraser%netscape.com
a646de73bc Make sure we initialize members of the base widget 1999-08-24 01:00:01 +00:00
pavlov%netscape.com
0613595047 initial work on doing filtering 1999-08-24 00:43:27 +00:00
pavlov%netscape.com
1a8e0b9388 fix clipboard brokeness on unix 1999-08-24 00:43:12 +00:00
briano%netscape.com
a0f7330b4b Cleaned it up and made it descend into unix_services for all Unix platforms. 1999-08-24 00:38:01 +00:00
briano%netscape.com
ed962ad7ba Cleanup. 1999-08-24 00:37:05 +00:00
briano%netscape.com
10afe608e0 Other files use nsIUnixToolkitService.h, so this now gets built on all Unix platforms. 1999-08-24 00:36:32 +00:00
briano%netscape.com
c7af4180f9 Slight rewrite to allow other platforms to build the toolkit_service stuff without problems. 1999-08-24 00:34:47 +00:00
blizzard%redhat.com
bf7f63e205 take out some extra XSync() calls and _Xdebug symbol. should make it a bit faster. also, if an X event is passed in and we don't know anything about the window then don't crash. 1999-08-23 12:50:53 +00:00
Jerry.Kirk%Nexwarecorp.com
e1ed42a402 remove unused tab widget and tooltip widget as they have never been used 1999-08-23 12:15:57 +00:00
ramiro%netscape.com
996b924d66 Comment out un impl class. 1999-08-22 16:07:43 +00:00
ramiro%netscape.com
58ef89909d Remove hack. 1999-08-22 16:07:19 +00:00
mccabe%netscape.com
381fb81c4f Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
ramiro%netscape.com
56b62f3790 Cleanup the jsdom and jsurl linking mess. 1999-08-22 11:05:45 +00:00
beard%netscape.com
c2c8296420 Added DispatchWindowEvent, added keyboard focus, and default keyboard input behavior. 1999-08-22 05:43:39 +00:00
cls%seawood.org
d0c364352b gcc 2.95 ANSI C++ compliance fix 1999-08-21 19:29:01 +00:00
ramiro%netscape.com
2c19866af3 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
ramiro%netscape.com
5d2ddafb08 No longer needed. 1999-08-21 12:13:17 +00:00
ramiro%netscape.com
a613bf91af Fix pavlov's bustage. 1999-08-21 10:29:34 +00:00
mccabe%netscape.com
d98f4dca1d First cut at removing manual declaration of interface methods in implementation classes and replacing with xpidl-generated NS_DECL_NSIFOO macro.
Hopefully this'll help turn the copy-n-paste tide towards using this macro.
1999-08-21 08:54:47 +00:00
pavlov%netscape.com
c34a3bbbba change #define that I was using for debugging 1999-08-21 08:43:07 +00:00
pavlov%netscape.com
ebd04ecb57 remove unused tab widget and tooltip widget as they have never been used 1999-08-21 08:41:46 +00:00
pavlov%netscape.com
0c77f9a8c8 fix brokeness from my previous checkin 1999-08-21 08:40:30 +00:00
beard%netscape.com
389e93e774 added mozilla/widget/src/support to access paths, to find new location for nsWidgetSupport.cpp. 1999-08-21 01:31:01 +00:00
beard%netscape.com
003986dfd2 fixed zoom mouse tracking, now calls TrackBox properly. 1999-08-20 23:20:04 +00:00
beard%netscape.com
ff33cdfed8 Moved StRegionFromPool to header file, using more consistently, fixed some child widget clipping bugs, changed scrolling to just repaint when complex clipping in use. 1999-08-20 23:19:06 +00:00
beard%netscape.com
11e51e17d9 Using StRegionFromPool, fixed some widget clipping bugs (invisible siblings). 1999-08-20 23:17:45 +00:00
pollmann%netscape.com
a1f15c0597 Fixing GTK widget tabbing for text inputs. 1999-08-20 23:10:54 +00:00
hyatt%netscape.com
d819a08a33 Renaming onaction to oncommand. 1999-08-20 22:58:32 +00:00
pavlov%netscape.com
0c67c7e7d4 clipboard fixes 1999-08-20 22:54:45 +00:00
akkana%netscape.com
456b84ab15 Handle backslash character 1999-08-20 22:38:08 +00:00
Dale.Stansberry%Nexwarecorp.com
6735fdc415 - Major changes to reduce excess paints/widget damage 1999-08-20 14:15:16 +00:00
blizzard%redhat.com
c466ab950f fix xlib timer bug. this is not part of the build. 1999-08-20 03:26:54 +00:00
ramiro%netscape.com
d1d6e2ff62 Fix bugs 6023, 8565 10077 and possibly 12091. All of these are gtk keyboard
scrolling problems or related.
1999-08-19 20:50:09 +00:00
pavlov%netscape.com
1e540fc022 make resizing not suck!!!!!!!, fix clipboard bug were you couldn't copy/paste two times in a row, remove excess widget baggage 1999-08-19 19:51:33 +00:00
pinkerton%netscape.com
2258de2dfa remove InvokeDragSessionSingle 1999-08-19 19:49:20 +00:00
pinkerton%netscape.com
d1206fe5a3 add drag gesture event. 1999-08-19 19:48:58 +00:00
pinkerton%netscape.com
38ebcd20fd remove InvokeDragSessionSingle. 1999-08-19 19:48:18 +00:00
mcafee%netscape.com
024ea35904 Compiler warnings. 1999-08-19 05:21:34 +00:00
rods%netscape.com
727c58b298 HTML is placed on clipboard as Unicode and no longer stips remaining zeroes 1999-08-18 14:58:05 +00:00
rods%netscape.com
65f9671b23 fixed minor casting warning 1999-08-18 14:57:06 +00:00
rods%netscape.com
eb1c5bef67 added Unicode support and multiply the length now by 2 because and changed it to put Unicode on the clipboard for HTML 1999-08-18 14:56:39 +00:00
rods%netscape.com
60f9b3d9e4 Cleanup warnings 1999-08-18 14:40:21 +00:00
saari%netscape.com
57bcf41380 Fix for bug 11949 1999-08-18 01:20:52 +00:00
ramiro%netscape.com
6eeeaf7730 Fix for -lpref linking problems. Dont link with libpref, its not needed. 1999-08-18 00:27:50 +00:00
ramiro%netscape.com
dcc2f02b46 Fix for crash on startup. 1999-08-17 18:59:44 +00:00
ramiro%netscape.com
abdd53997b Fix windows bustage. My fault, i missed an EXPORTS. Sorry. 1999-08-17 17:56:55 +00:00
ramiro%netscape.com
4ef23c965a CLeanup the nsWidgetSupport.cpp mess on windows. Moved it to its own place. Its only
needed by test apps.
1999-08-17 16:31:52 +00:00
ramiro%netscape.com
fc948c159d Cleanup the nsWidgetSupport.cpp mess on unix. Windows next. 1999-08-17 16:09:40 +00:00
ramiro%netscape.com
ee33c47ded Link in secfree dynamically only where needed. 1999-08-17 15:46:57 +00:00
ramiro%netscape.com
038e16b3a1 Dont link in the parser into the app. Link it in dynamically where needed.
This makes the link depenencies on unix be more like windows.  Makes it
easier to track dependency problems and simplifies makefiles.
1999-08-17 13:54:48 +00:00
ramiro%netscape.com
1d14f921fa Move nsIXlibWindowService.h to its own place. 1999-08-17 13:26:13 +00:00
ramiro%netscape.com
04349cdd68 Link expat and xmltok into the htmlparser statically. Not into the app. 1999-08-17 12:46:23 +00:00
ramiro%netscape.com
2835075ab2 Remove the TOOLKIT_EXORCISM hack. Make non-monolithic toolkit linking the
default for Linux and Solaris.  Need testing on other platforms (HELP!)
That means that toolkit libraries are not linked into the app - for truly
XP apps such as the apprunner.  The gecko viewer still needs to link in
the toolkit, cause it has toolkit code in its main().
Replace the hack with something more useful.  There is a
--enable-monolithic-toolkit flag for platforms with dumb linkers and runtime
loaders.

Also landed the remainder of Shawn Packwood's qt port.
1999-08-17 09:33:48 +00:00
ramiro%netscape.com
1f3e145c8d Update for api change. Ignore generated files. 1999-08-17 06:57:31 +00:00
ramiro%netscape.com
9b64a66483 Fix the qt timers. 1999-08-17 06:56:13 +00:00
ramiro%netscape.com
336a61a9ec Fix for bug 11964. Timers were leaking again. Approved by jevering. 1999-08-17 01:05:09 +00:00
saari%netscape.com
744f6d1377 Fix for Mac menu crasher. Same fix as hyatt did for XPMenus. Permission ala chofmann 1999-08-13 23:52:49 +00:00
pinkerton%netscape.com
6fe0e9d480 correctly check result codes of OS calls and null terminate the exported mappings for placing on the clipboard. Fixes bug #11569 (appr chofmann). 1999-08-13 21:05:49 +00:00
ramiro%netscape.com
8189904e06 Fix for bug 2595. Thats the evil bug that causes widgets to be "messed up"
whenever a reflow happens.  The offset were being computed from the wrong
origin.  See comments in nsWidget::Move() if you want to be confused.
1999-08-13 20:56:40 +00:00
pavlov%netscape.com
1f0e6637c5 ifdef out some printfs to make akkana happy a=chofmann 1999-08-13 20:39:34 +00:00
pavlov%netscape.com
9b3f0a16e9 fix for bug 9446. only seen in viewer, doesn't effect apprunner a=gramps 1999-08-12 23:54:23 +00:00
danm%netscape.com
3da241e524 Landing modal dialogs from JS. More like a feature than stabilization. Apologies. approved: chofmann,don 1999-08-12 22:08:17 +00:00
pavlov%netscape.com
f2284ad072 fix for bug 11564. a=gramps 1999-08-12 21:48:43 +00:00
shawnp%earthling.net
c28c984e19 Initial version of qt timer files. Did just enough work to get it to work. 1999-08-12 02:33:43 +00:00
shawnp%earthling.net
a8a62d2f24 Initial version of qt widget files. I've put quite a lot of work into most
of the classes, but there are still some major gaping holes in
functionality.
1999-08-12 02:30:02 +00:00
ramiro%netscape.com
76605cc5e9 Add NS_NATIVE_PLUGIN_PORT case to GetNativeData() so that plugins will work. 1999-08-11 05:01:36 +00:00
blizzard%redhat.com
4963aaadbd expose event compression from aljones@lbl.gov. some refcnt fixes. a=mcafee 1999-08-11 02:07:47 +00:00
saari%netscape.com
0d22b54ded Mac only change Make Mac menu command symbol (clover leaf) show up in menus. 1999-08-11 00:00:55 +00:00
blizzard%redhat.com
3fee529ef2 fixes for scrolling and layout bounds calculation lameness. a=mcafee, doesn't affect build. 1999-08-10 21:14:27 +00:00
blizzard%redhat.com
ee51d555d9 xlib fixes. menus work now. 1999-08-10 19:19:33 +00:00
ramiro%netscape.com
54f0e20ba7 Build bustage - add stubs. 1999-08-10 14:54:54 +00:00
mccabe%netscape.com
2a403483de Changes to the xpidl compiler -
Error if an interface is declared [scriptable], but contains methods that can't be scripted because they refer to native-declared types, unless the method is declared [noscript].

This change is intended to make it easier to determine when an interface is not scriptable, and to make it easier to see what changes need to be made to make it scriptable.

As many of the .idl files in the tree defined [scriptable] interfaces that contained non-scriptable methods, I've sprinkled [noscript] throughout.  As the interfaces weren't scriptable anyway, this shouldn't change their visibility to javascript.
1999-08-10 12:18:01 +00:00
pavlov%netscape.com
2b294fe8f3 fix compileation issues on stupid sun compilers 1999-08-10 08:08:05 +00:00
pavlov%netscape.com
41525e161f first go at nsIWidget::CaptureMouse() 1999-08-10 07:38:26 +00:00
saari%netscape.com
b7ad7241f9 Fixing bug 4960, mac menu items reflect enabled/disabled state 1999-08-10 06:25:34 +00:00
saari%netscape.com
9725722a0b Fix for bug 9706, menu shortcut characters should be capitalized 1999-08-10 05:49:40 +00:00
pavlov%netscape.com
76c5fc7dad fix for popups being too big 1999-08-10 05:31:06 +00:00
Jerry.Kirk%Nexwarecorp.com
8cb978981d Adding SetDOMNode and GetDOMNOde to Photon UI 1999-08-10 00:57:57 +00:00
saari%netscape.com
6880f16fad Fix for build break, one too many *s 1999-08-09 20:06:11 +00:00
sfraser%netscape.com
a43c71eae4 Optimization: don't invalidate and update the scroll bar if the value has not changed. 1999-08-09 19:34:34 +00:00
saari%netscape.com
556759446f First Checked In. 1999-08-09 19:15:01 +00:00
saari%netscape.com
3979d88e03 Adding Mac dynamic menus support. This touches a little XP code, notably, adding GetDOMNode and SetDOMNode to nsIMenuItem. 1999-08-09 19:14:38 +00:00
danm%netscape.com
47baece26c adding "default" window border type 1999-08-08 03:08:24 +00:00
joki%netscape.com
11585608e8 Adding new onselect event. Also slight modification to ender text widget focus behavior 1999-08-07 23:18:35 +00:00
danm%netscape.com
36cefdc1d3 corrected chrome behaviour in window.open. removed warnings in nsWebShellWindow. 1999-08-07 02:51:03 +00:00
tague%netscape.com
2caefffc6a Fix build bustage 1999-08-06 08:31:38 +00:00
tague%netscape.com
521eaee3e5 Added candidate window positioning for Win32 input methods 1999-08-06 07:42:35 +00:00
pierre%netscape.com
3c3be2f293 Re-enabled the live-resizing just to see if people like it better now because the rendering is much faster. 1999-08-06 05:22:31 +00:00
tague%netscape.com
0912a6ece6 Found missing file from checkin 1999-08-06 03:14:57 +00:00
pavlov%netscape.com
de5383fa93 lets try this again 1999-08-05 23:13:07 +00:00
rods%netscape.com
d42873b0dc Fixes bug# 11300, when mouse capture is on the wrong window is being set into
the MouseTrialer timer object. This gets the window under the cursor during
a mouse capture.
1999-08-05 14:56:21 +00:00
ramiro%netscape.com
692e429935 Add support for building more than one toolkit at once. Currently #ifdefed
off as part of the toolkit link time exorcism.
1999-08-05 05:12:56 +00:00
pinkerton%netscape.com
a4354658d0 using the region pool stuff so we're not constantly creating/destroying regions in the smooth scrolling code. Also use a stackbased helper to simplify error handling. 1999-08-04 20:15:44 +00:00
mcafee%netscape.com
28c4f4d101 REALLY backing pavlov out 1999-08-04 03:09:28 +00:00
pavlov%netscape.com
fedfe3401d i suck. i broke the tree. 1999-08-04 01:59:30 +00:00
pavlov%netscape.com
dd767fe13d revert context menus to rev 1.2 and turn them on by default.. these don't work yet and may do bad things if you try and use them. 1999-08-04 01:37:21 +00:00
briano%netscape.com
e2cc541f86 Cleaned it up and got rid of the redundant HP-specific SHARED_LIBRARY_LIBS stuff. 1999-08-03 21:40:56 +00:00
pavlov%netscape.com
3396fd7b49 empty clipboard when we receive a clear notification 1999-08-03 20:46:50 +00:00
danm%netscape.com
27430e415c modal dialogs from C off the UI thread. a bit premature: works on Win and Mac. Issue addressed on gtk, but not there yet. 1999-08-03 07:06:32 +00:00
ramiro%netscape.com
9dc55ef31b Portability fixes. 1999-08-03 00:28:55 +00:00
sfraser%netscape.com
77acd9653c Cleanup, and fix for bug 6678. 1999-08-02 21:38:42 +00:00
sfraser%netscape.com
5f5ffd13d5 Add stack-based GrafPtr setting class. 1999-08-02 21:38:24 +00:00
pinkerton%netscape.com
2a242ff59e Add new smooth scrolling code from 4.5/MozClassic that uses CopyBits instead of ScrollRect to avoid those ugly gray flashes while scrolling quickly. 1999-08-02 21:35:53 +00:00
ramiro%netscape.com
00c3e1d976 Forgot a slash. 1999-08-02 14:48:05 +00:00
ramiro%netscape.com
e560b3661b Landing unix toolkit exorcism changes. #ifdef-ed OFF for now. 1999-08-02 13:53:49 +00:00
ramiro%netscape.com
40722a6bbc Fix debug typo. 1999-08-02 11:58:11 +00:00
ramiro%netscape.com
59f44df465 Add toolkit service. 1999-08-02 11:57:38 +00:00
Jerry.Kirk%Nexwarecorp.com
b57fe2f4b6 Fix early realization problem with the nsMenuBar
Fix an "off-by-one" problem when redrawing rects with Photon
and other bugs.
1999-08-01 23:48:21 +00:00
blizzard%redhat.com
507a7c53b6 support WM_DELETE window mananger protocol 1999-08-01 21:00:22 +00:00
blizzard%redhat.com
8c845b3fb5 implement nsAppShell::Exit() 1999-08-01 03:52:12 +00:00
sspitzer%netscape.com
25e52a8e93 changes to make nsIFileSpecWithUI useful from javascript.
now, this works from js:

var filePicker = Components.classes["component://netscape/filespecwithui"].createInstance();
filePicker = filePicker.QueryInterface(Components.interfaces.nsIFileSpecWithUI);
file = filePicker.chooseFile("Select a file");
1999-07-31 18:45:22 +00:00
hyatt%netscape.com
f88f8912b5 Patching native menu implementations for phase 2. Mac is not patched
yet, so menus will not work on the Mac right now.  Patch for Mac
coming shortly.
1999-07-31 07:06:53 +00:00
hyatt%netscape.com
19678d492e Beginning phase 2 of the XP menu landing. Menus will be horked intermittently
on all platforms until I complete this landing.  Do not pull if this will be
a problem for you.
1999-07-31 06:30:43 +00:00
hyatt%netscape.com
75e03ee20f Fixing Pav's bustage. Bad Pav for going to dinner! 1999-07-31 03:49:25 +00:00
pavlov%netscape.com
f69d3461a8 back out previous changes 1999-07-31 02:28:56 +00:00
hyatt%netscape.com
f7bbedf17f Phase 1 of the XP menu landing. Massaging the native menu syntax to make
it interoperable with the XP menu syntax.

Specific changes:
  (a) separator has been renamed to menuseparator
  (b) onclick has been renamed to onaction
  (c) name has been renamed to value
1999-07-31 02:07:17 +00:00
pavlov%netscape.com
b823aec86c fix it for real this time... 1999-07-31 01:54:26 +00:00
pavlov%netscape.com
43bc5a6517 fix mac bustage 1999-07-31 00:57:58 +00:00
Jerry.Kirk%Nexwarecorp.com
43f88e77b2 Fix Move and Resize methods change from PRUint to PRInt 1999-07-30 23:58:35 +00:00
pavlov%netscape.com
f60786e94f minimize/maximize/restore code 1999-07-30 23:53:17 +00:00