Commit Graph

1768 Commits

Author SHA1 Message Date
rods%netscape.com
ca1906c14c Initial checkin 1999-04-16 21:03:22 +00:00
ramiro%netscape.com
2edabf965d More event work. Install button handlers for radio and check buttons.
These are still not fully functional.
Install events on text field, so that its parent does trigger button
events for it.
1999-04-16 19:48:56 +00:00
kmcclusk%netscape.com
a92a163175 fix for bug#2442. Textarea now wrap. 1999-04-16 19:19:41 +00:00
ramiro%netscape.com
f16f605750 More event cleanup. Move button and crossing events into nsWidget. 1999-04-16 14:33:52 +00:00
rods%netscape.com
877d64444f Added Folder picker 1999-04-16 13:58:40 +00:00
ramiro%netscape.com
1177a08276 First part of event cleanup checkins. Move the motion event handler into
the widget superclass and provide methods to install it and catch signals
dispatch by the GtkWidget.  The actual handling is done in a virtual
method, which subclasses can override.
1999-04-16 10:20:44 +00:00
bruce%cybersight.com
833772ba3d Fix for ANSI C++ violation. Clipboard data was passed in a void* and the GTK fu
nction wanted an unsigned char*.  That type of implicit conversion is not permis
sible in ANSI C++. This was breaking most of the unix builds with commercial com
pilers (AIX, Solaris, HP-UX).
1999-04-16 03:58:07 +00:00
mcafee%netscape.com
c00ab46c5b Minor formatting. 1999-04-15 21:49:36 +00:00
mcafee%netscape.com
f06d3c677b New clipboard stuff, still off by default. --enable-new-clipboard turns this on. 1999-04-15 21:48:09 +00:00
mcafee%netscape.com
ee2e76ec38 Remove windows call from XP code. 1999-04-15 21:45:22 +00:00
law%netscape.com
c074b98d42 Set proper OK result in GetFile 1999-04-15 21:00:11 +00:00
mcafee%netscape.com
909b804663 Fixing linux bustage. 1999-04-15 05:16:05 +00:00
alecf%netscape.com
420b45283a fix build bustage (someone forgot to rename mWidget to sWidget) 1999-04-15 03:58:06 +00:00
mcafee%netscape.com
213d70bba0 Adding static SetTopLevelWidget() call to nsClipboard. 1999-04-15 02:08:55 +00:00
mcafee%netscape.com
ab93e0af8d Comment only. 1999-04-15 02:07:17 +00:00
kipp%netscape.com
465ca78733 Added missing addref 1999-04-13 21:54:22 +00:00
ramiro%netscape.com
9acabb375a Scrub super class names - in anticipation of fixing the signal mess. 1999-04-13 14:57:24 +00:00
mcafee%netscape.com
532c2dfe01 Changing return value for IsLargeDataSet() to PRBool. 1999-04-13 10:11:30 +00:00
bruce%cybersight.com
5b0e694071 Adding blank lines for native compilers. 1999-04-13 06:35:42 +00:00
sfraser%netscape.com
63a20023ad Null check on focused widget to avoid crash. 1999-04-13 01:21:25 +00:00
saari%netscape.com
07cb5b84da Menu changes getting ready for dynamic menus 1999-04-13 00:12:59 +00:00
saari%netscape.com
b63a2e9a5e menu changes getting ready for dynamic menus 1999-04-13 00:12:40 +00:00
davidm%netscape.com
a7e8bce3f0 use nsIEventQueueService rather than our own private event queue. Leads to the removal of a bunch of #ifdef mac code. 1999-04-12 22:52:52 +00:00
beard%netscape.com
c42a0a66e2 removed <PP_Types.h>, getting PL_EventQueue from the nsIEventQueueService, added calls to handle the PL_Events posted from other threads. 1999-04-12 03:23:55 +00:00
beard%netscape.com
a18c31a939 added mEventQueue, a PL_EventQueue 1999-04-12 03:21:25 +00:00
blizzard%redhat.com
4be0ff3ad1 add nsSelectionMgr stubs so this thing will run again 1999-04-12 02:31:52 +00:00
beard%netscape.com
d0169bf4f9 nsToolkit::SetFocus, fully initializing the guiEvent struct. 1999-04-11 00:05:51 +00:00
danm%netscape.com
9e77881973 disabling annoying spam debug messages in modal windows 1999-04-10 22:43:46 +00:00
sspitzer%netscape.com
8b08c06722 some more cvs ignore work 1999-04-10 21:22:31 +00:00
blizzard%redhat.com
2a07ac3487 skel code for xlib based widgets 1999-04-10 15:26:39 +00:00
briano%netscape.com
95083e0ab1 It turns out that other platforms besides NTO don't have PATH_MAX, so this change should fix them all. 1999-04-10 01:05:53 +00:00
sspitzer%netscape.com
68f6ae805b fixes to get the test to build 1999-04-10 00:36:18 +00:00
sspitzer%netscape.com
a15acbf418 heed the ENABLE_TESTS variable 1999-04-10 00:36:05 +00:00
pinkerton%netscape.com
fc0abb60de Move all apple libs into MacOS target of interfaces.mcp. Only "apple" lib in each project should now be InterfacesStubs (with some minor exceptions). permission to checkin granted by cyeh. 1999-04-10 00:15:14 +00:00
danm%netscape.com
21d66ba15b disabling drag and drop for current milestone. fixes bug 4871. r:rods a:chofmann. 1999-04-09 20:59:54 +00:00
ramiro%netscape.com
4953a3a830 Fix for 2986.
Radio buttons and checkbuttons on form not rendering.
The problem was that the parent widget was rendering on top of them, because
they are windowless.
The fix is to wrap the radio/check buttons in an event box to give them a
window.  Not the most effecient solution, but will do for now until the devil
is exorcised from the event system.
1999-04-09 19:58:37 +00:00
ramiro%netscape.com
11456f2556 Fix for editor bug 3249.
Second non-text key doesn't get through.
1999-04-09 19:53:50 +00:00
syd%netscape.com
0c3f7d98bc Re-applied code for 4560. Reviewed by ramiro, kipp. 1999-04-09 02:01:34 +00:00
sdagley%netscape.com
ef248ed739 Fix call to PutFile to show the put file dialog insted of the get file dialog. 1999-04-08 21:20:42 +00:00
saari%netscape.com
897f0bc9af fix for bug #4562 > mozilla/widget/src/mac/nsMacEventHandler.cpp - commented out 3 lines mozilla/xpfe/appshell/src/nsWebShellWindow.cpp - Added 2 #ifdef XP_MAC changes that should go away by M5. The problem is that the nsMenuBar class doesn't know when it is through building a menubar from XUL since nsWebShellWindow actually does the construction today. That will change when menus build themselves, which needs to be done for M5's dynamic menu construction. So the hack would go away sometime soon. Previously, the nsMacEventHandler would get a deactivate event before bringing up a dialog or another window... why this isn't happening anymore, I don't know. Perhaps this is a bug in itself, but I was the only one relying on the behavior, and that reliance was a hack to begin with. 1999-04-08 04:29:37 +00:00
ramiro%netscape.com
d04fd37d2b Move draw and crossing signals into nsWindow. 1999-04-07 06:55:50 +00:00
pinkerton%netscape.com
9b349e54af fix error checking. helps to assign into the return code that you check for an error ;) 1999-04-07 06:25:17 +00:00
pavlov%pavlov.net
3580abf5a5 more work on the clipboard 1999-04-07 05:53:10 +00:00
pavlov%pavlov.net
6ec79c0411 add 2 casts in an attempt to fix a build bustage 1999-04-07 05:40:49 +00:00
mcafee%netscape.com
7298ce63e0 Gtk callback stubs. 1999-04-07 05:40:37 +00:00
mcafee%netscape.com
30be3b777f Gtk callback stuff. 1999-04-07 05:32:21 +00:00
mcafee%netscape.com
4d3ee18120 Moving old clipboard into #ifdef-land. 1999-04-07 05:31:55 +00:00
mcafee%netscape.com
716d966c7a More clipboard stuff 1999-04-07 03:41:20 +00:00
rods%netscape.com
c612139986 Implemented GetFile, PutFile, PutFolder does not work correctly 1999-04-07 03:19:33 +00:00
rods%netscape.com
7434d12c96 Commented out debug printf in OnKey 1999-04-07 03:11:46 +00:00
rods%netscape.com
55405af1af Commenting out WM_CHAR changes for I18N 1999-04-07 03:03:23 +00:00
mcafee%netscape.com
ba2d40c207 Implementing GetFile(), GetFolder(), PutFile(). r=sdagley 1999-04-07 01:05:24 +00:00
hyatt%netscape.com
ac92bf3456 Adding stubs for the file widget. 1999-04-07 00:55:05 +00:00
mcafee%netscape.com
fa1c367a8e Checking in file dialog stubs for sdagley. 1999-04-07 00:51:33 +00:00
sdagley%netscape.com
e16a6f3859 Adding GetFile, GetFolder and PutFile wrappers to hide widgetness of file dialogs. 1999-04-07 00:49:38 +00:00
mcmullen%netscape.com
853a40da22 Bug #4296. Support insertion of floppies. One more change (the event mask). 1999-04-06 23:53:06 +00:00
saari%netscape.com
5fd72182a8 Mac menus destroying themselves more properly 1999-04-06 22:19:09 +00:00
mcmullen%netscape.com
14cf6edd57 Added support for inserting floppies. 1999-04-06 22:13:41 +00:00
mcmullen%netscape.com
8c20f3fe46 Remove spurious semicolon. 1999-04-06 22:03:45 +00:00
mcmullen%netscape.com
3065d1487e Bug #4296. Support insertion of floppies. 1999-04-06 22:03:36 +00:00
mcmullen%netscape.com
bdd941f4a1 Removing illegal trailing semicolon 1999-04-06 21:31:47 +00:00
ftang%netscape.com
7fbd9b3985 add nsStringUtil.cpp - fix bustage 1999-04-06 21:27:42 +00:00
ftang%netscape.com
8f56b423b8 make window menu convert Unicode to ACP before pass it to window API 1999-04-06 20:30:08 +00:00
rods%netscape.com
8097761fe0 addeditional support for Drag & Drop 1999-04-06 20:25:09 +00:00
rods%netscape.com
eb40ebf9de Added new D&D events and removed D&D specific event struct 1999-04-06 20:24:46 +00:00
rods%netscape.com
57f2204f7a Added nsNAtiveDragSource and nNativeDragTarget 1999-04-06 20:24:02 +00:00
rods%netscape.com
1e93d89dd4 Cmmented out DROP_FILE event handle and added WM_CHAR support 1999-04-06 20:23:55 +00:00
rods%netscape.com
f20581abd5 removed "int" definition from two for loops and am using PRUin32 to remove warnings. 1999-04-06 20:13:48 +00:00
rods%netscape.com
3028d55fda Implemented GetFile 1999-04-06 19:45:08 +00:00
rods%netscape.com
17b23cd83f It is removed. (it is in build now) 1999-04-06 19:40:17 +00:00
rods%netscape.com
dc1a6e5087 It is removed 1999-04-06 19:39:39 +00:00
rods%netscape.com
9d30e57580 Initial checkin 1999-04-06 19:39:21 +00:00
rods%netscape.com
5ae26d237f Made sure "in" parameter pointer is set to null when transferable is null
on GetTransferable
1999-04-06 19:37:45 +00:00
pinkerton%netscape.com
bc6b14d08f implementation using NavServices. Makes things easier for Carbon. 1999-04-06 18:46:54 +00:00
ramiro%netscape.com
8de88ee40c The (x,y) components of the bounds are always zero. Dont change
them here or the compositor (and other things probably) freaks out.
1999-04-06 13:23:08 +00:00
ramiro%netscape.com
d6fae6175b Backout pavlov refcount/cleanup changes. They are causing core dumps in
strange places.
1999-04-06 12:45:23 +00:00
pavlov%pavlov.net
6955e85efd refcounting cleanups. more to come. 1999-04-06 05:50:37 +00:00
pavlov%pavlov.net
45e6de7d85 remove extra member that wasn't being used. 1999-04-06 03:25:34 +00:00
davidm%netscape.com
020ff3537f Added code to pass handle keyevents in modal windows 1999-04-06 01:41:02 +00:00
hyatt%netscape.com
e50b1f72ce This assert shouldn't be present. 1999-04-06 00:49:50 +00:00
danm%netscape.com
3ba29450fc shortcut events and updates while window is being deleted 1999-04-06 00:11:43 +00:00
sdagley%netscape.com
3d1bc8d320 Mac specific hack to address bug #3976. Add code to pin bottom of created window to bottom of grayregion so user can grab resize area of window. This should be removed when we have a real cross platform method of addressing this issue. 1999-04-05 22:07:06 +00:00
rods%netscape.com
67492db671 Removed. It is now in xpwidgets 1999-04-05 21:45:17 +00:00
syd%netscape.com
91ce66fe70 Get PATH_MAX right for Neutrino 2.0 (QNX - photon UI). 1999-04-05 21:45:08 +00:00
ftang%netscape.com
c006f4fb85 Fix breakage. Add #include <Resources.h> 1999-04-05 18:38:27 +00:00
ftang%netscape.com
d5b29173d7 Fix non ASCII font name problem by using a hashtable . It also improve the performance for GetMacFontNum 25.4 time faster. Reviewed and approved by pierre 1999-04-05 18:06:55 +00:00
mcafee%netscape.com
a2f985005e Adding XIFFormatConverter to widget factory. 1999-04-04 08:44:05 +00:00
mcafee%netscape.com
37dd3316b2 Adding default window icon; SetIcon() method for nsWindow. Gtk-only for now. 1999-04-04 08:20:51 +00:00
mcafee%netscape.com
03365c9622 Removing a duplicate if-then clause, this looks like a cut & paste error. 1999-04-04 01:05:57 +00:00
kipp%netscape.com
088dde4ed7 Spanked the way refcnt'ing was done for event flow; fixed up destruction code a bunch; cleaned up inheritance of addref/release 1999-04-03 18:39:52 +00:00
kipp%netscape.com
c9c6dba638 Eliminate compiler warnings 1999-04-03 18:38:47 +00:00
mcafee%netscape.com
18155ba3fe Cleaning up some debug cruft. 1999-04-02 20:38:39 +00:00
sdagley%netscape.com
6444ca8f25 Implemented GetFile(nsFileSpec&) method for Mac 1999-04-02 20:19:25 +00:00
pinkerton%netscape.com
25da6e65fa fix win32 bustage with nsCOMPtr. doh! 1999-04-02 19:00:51 +00:00
pinkerton%netscape.com
30b7bab824 use new transferable interfaces that were previously in here as placeholders. 1999-04-02 18:22:59 +00:00
pinkerton%netscape.com
d10b0e7c3d added new interfaces for closure over all flavors and converters when clients ask for a list of known flavors. 1999-04-02 18:22:36 +00:00
pinkerton%netscape.com
a814e3cd7b some comments about data ownership. 1999-04-02 03:57:31 +00:00
pinkerton%netscape.com
5c3cd09cfd getting data from clipboard now works. Factored code into FlavorsTransferableCanImport/Export() as temp holding ground before moving into nsITransferable. 1999-04-02 03:56:11 +00:00
pinkerton%netscape.com
a5e81d74aa use the right delete in all places (delete[]) 1999-04-02 03:01:57 +00:00
mcafee%netscape.com
e1ac89cf8e Implement GetFile(). 1999-04-02 02:16:28 +00:00
mcafee%netscape.com
038ba314d9 Adding nsFileSpec version of GetFile(). a=sdagley@netscape.com 1999-04-02 02:07:34 +00:00
hyatt%netscape.com
4336a65c75 Landing new GetFile(nsFileSpec&) method on windows. 1999-04-02 02:07:15 +00:00
sdagley%netscape.com
1a4f805e40 Add new GetFile method that uses an nsFileSpec instead of an nsString 1999-04-02 02:06:16 +00:00
pinkerton%netscape.com
ff1d650929 copy to macos clipboard implemented. 1999-04-02 01:33:56 +00:00
pinkerton%netscape.com
51c4a71898 don't addref list items going into the list of data flavors. AppendElement addrefs for us. 1999-04-02 01:32:41 +00:00
pinkerton%netscape.com
d5bf54ed32 add IID method. 1999-04-02 00:10:10 +00:00
pinkerton%netscape.com
ef2d0d18d7 add IID methods so we can use nsCOMPtr w/ them. 1999-04-02 00:06:37 +00:00
pinkerton%netscape.com
a7c8e9b6ba adding data flavor, clipboard, xif converter, and transferable. 1999-04-01 18:40:34 +00:00
pinkerton%netscape.com
858b5206d6 adding nsClipboard, nsBaseClipboard, and nsXIFConverter. Also add dependency on htmlParser for the xif converter stuff. This now must build after htmlParser. 1999-04-01 18:38:58 +00:00
pinkerton%netscape.com
8d59fb9425 First Checked In. 1999-04-01 18:37:45 +00:00
pinkerton%netscape.com
3752fe962a changes to get mac to build. same as unix for now. 1999-04-01 18:37:19 +00:00
mcafee%netscape.com
9200c01c42 Removing an old comment. 1999-04-01 18:20:14 +00:00
mcafee%netscape.com
9b5972205c cleanup, added nsXIFFormatConverter.cpp. 1999-04-01 18:11:14 +00:00
mcafee%netscape.com
7780586d23 cleanup, added nsIClipboardOwner, nsIFormatConverter. 1999-04-01 18:09:04 +00:00
rods%netscape.com
b6b6bf53aa removed nsIXIFConverter include 1999-04-01 15:23:03 +00:00
rods%netscape.com
ffc12c27a5 Added nsIFormatConverter 1999-04-01 15:03:12 +00:00
rods%netscape.com
2db0c9a4a3 added nsIFormatConverter 1999-04-01 14:53:34 +00:00
rods%netscape.com
63afec866b added nsXIFFormatConverter 1999-04-01 14:42:29 +00:00
rods%netscape.com
a3a8f77f46 Updated clipboard support to use converters 1999-04-01 14:40:52 +00:00
rods%netscape.com
2c1e32528e removed include of Transferable 1999-04-01 14:40:36 +00:00
rods%netscape.com
fffcdad912 Minor change for debugging 1999-04-01 14:39:55 +00:00
rods%netscape.com
46df2f2cd7 Added converter support 1999-04-01 14:39:00 +00:00
rods%netscape.com
d0d50184e8 Added nsXIFFormatCOnverter 1999-04-01 14:38:45 +00:00
rods%netscape.com
9f957a9164 Updated comments and added converter methods 1999-04-01 14:37:52 +00:00
rods%netscape.com
25a52f8016 Added nsIFormatConverter 1999-04-01 14:37:22 +00:00
mcafee%netscape.com
d75981ae77 Adding NS_XIFFORMATCONVERTER_CID define. 1999-04-01 02:08:40 +00:00
mcafee%netscape.com
f7349c629b Solaris needs newline at end of file. 1999-04-01 02:06:32 +00:00
mcafee%netscape.com
0351e9d225 First checkin. Converter for clipboard. 1999-04-01 02:04:53 +00:00
mcafee%netscape.com
a24018d3c2 First checkin. Converts text/HTML selection to XIF format. 1999-04-01 01:05:43 +00:00
jdunn%netscape.com
6f521e21f1 link in xmltok and expat to fix linking error 1999-04-01 00:20:47 +00:00
jdunn%netscape.com
424be13edf Include prenv to get PR_GetEnv prototype 1999-03-31 22:55:29 +00:00
pinkerton%netscape.com
91a1ba7c85 File Removed. 1999-03-31 22:19:31 +00:00
syd%netscape.com
9a4f6a4898 Fix for AIX compatibility 1999-03-31 20:18:11 +00:00
syd%netscape.com
c8989121cb Replace getenv with NSPR function, remove stdlib.h include. Partially done
for AIX build.
1999-03-31 20:17:01 +00:00
mcafee%netscape.com
30efc98a78 Comments only. 1999-03-31 19:53:40 +00:00
mcafee%netscape.com
8f86ec98c0 Some code got stomped, putting it back. Specifically we need a prototype for UnixPrData() for Solaris/CC. 1999-03-31 09:14:07 +00:00
kipp%netscape.com
6c8a8e4919 landed HPUX patch from Kartik Subbarao <subbarao@computer.org> 1999-03-31 04:54:42 +00:00
jdunn%netscape.com
2740fcabcc Fix compiler problem on AIX 1999-03-31 04:19:48 +00:00
Jerry.Kirk%Nexwarecorp.com
c051f651c7 Initial checkin of Photon Widget Factory for Photon UI
Added Files: Phdlldeps.cpp nsPhWidgetFactory.cpp
1999-03-30 19:05:42 +00:00
sdagley%netscape.com
305b9eb997 First Checked In. 1999-03-30 05:39:30 +00:00
ramiro%netscape.com
532f507e84 delete vs. delete[] vs. free fixes.
Thanks to "Bruce Mitchener, Jr." <bruce@cybersight.com for finding all these
and making patches.
1999-03-30 05:26:59 +00:00
sdagley%netscape.com
92cf5ee8b4 Added KeyBindMgr to build (but nobody is calling it yet) 1999-03-30 04:53:37 +00:00
sdagley%netscape.com
972500a229 First Checked In. 1999-03-30 04:52:13 +00:00
waterson%netscape.com
d9f1b31bb8 Fixed a syntax error. Loser. 1999-03-30 02:49:33 +00:00
pierre%netscape.com
fcf9ca4c61 Use delete[] for strings allocated with ToNewCString(). 1999-03-30 01:12:13 +00:00
pierre%netscape.com
046409214e Fixed strings allocated with ToNewCString() that were either not disposed at all, either disposed with 'delete' instead of 'delete[]'. Thanks to Bruce Mitchener Jr. <bruce@cybersight.com>. 1999-03-30 00:40:04 +00:00
pinkerton%netscape.com
f0ca1e2882 strstream -> strstream.h for linux 1999-03-29 23:46:57 +00:00
pinkerton%netscape.com
25ca57afdd temp tweaks to get mac to build. 1999-03-29 23:26:01 +00:00
pinkerton%netscape.com
62c74954d1 adding nsDataFlavor and nsTransferrable to mac build. 1999-03-29 23:21:53 +00:00
akkana%netscape.com
48b49d453f fix hang that can result from pasting a null selection 1999-03-29 22:02:36 +00:00