Граф коммитов

2320 Коммитов

Автор SHA1 Сообщение Дата
rods%netscape.com a61962cb2b Added IsFontScaleable method 1999-05-18 13:46:49 +00:00
pierre%netscape.com 2316f79aca removed last week's hack to access the 'ldes' resource, replaced it with the new nsMacResources 1999-05-18 04:43:03 +00:00
pierre%netscape.com ab286c7e9f use local resources in SetCursor 1999-05-18 04:41:03 +00:00
pierre%netscape.com e626bfa6c2 added nsMacResources, changed DLL entry points to __initializeResources and __terminateResources 1999-05-18 04:40:33 +00:00
pierre%netscape.com fba2ef3e66 First Checked In. 1999-05-18 04:37:22 +00:00
pierre%netscape.com 051e759660 updated comments the Profiler 1999-05-18 03:05:07 +00:00
sdagley%netscape.com bf485012f1 Added code to use Internet Config to convert .ext filters into Mac file types. Currently #ifdef'ed out until we actually support filters on the Mac. 1999-05-18 02:04:47 +00:00
rods%netscape.com 1c2a3b12fa Initial check in not in build yet 1999-05-17 22:04:09 +00:00
pinkerton%netscape.com 6cfef56d66 stuff for starting drags. Register the sendDataProc and register the data flavors for all the items with the DragManager. 1999-05-17 21:57:31 +00:00
pinkerton%netscape.com d995fbf2a9 add mapping from macOS flavor back to mime. 1999-05-17 21:55:25 +00:00
blizzard%redhat.com aeb6ab095b catch up with prototype changes 1999-05-17 03:42:04 +00:00
pavlov%pavlov.net 159597d323 more work on nsMenu::RemoveAll() 1999-05-16 20:01:24 +00:00
pavlov%pavlov.net 86c5d68294 revert some changes that broke menu clicking in apprunner 1999-05-16 19:27:43 +00:00
pavlov%pavlov.net b52fb3801e revert accidential change that broke typing in to the url bar (; 1999-05-16 18:16:24 +00:00
pavlov%pavlov.net 8378177c71 fix the massive ammount of warnings that are generated by this code. 1999-05-16 17:47:46 +00:00
bruce%cybersight.com 808f9434ef Remove Toolbar stuff completely as it no longer exists elsewhere in the tree. 1999-05-16 14:28:14 +00:00
bruce%cybersight.com 0db4f1058c Fix Motif build bustage (minimally). Header file updated earlier with mcmullen's checkin. 1999-05-16 04:16:13 +00:00
pavlov%pavlov.net 605cfb2fc3 more menu cleanups 1999-05-16 03:09:13 +00:00
pavlov%pavlov.net 985e8b2ff1 left off the ns_imethodimp type for the function 1999-05-16 02:14:57 +00:00
pavlov%pavlov.net 81ceb7cb68 fix HP-UX build brokenness 1999-05-16 01:46:40 +00:00
mcmullen%netscape.com 88ffd6705c Fixed filewidget to use filespec. Fixed some input params to be const. 1999-05-15 22:56:27 +00:00
mcmullen%netscape.com db38deab4b Fixed file widget to use filespec, instead of string. Made input params const. 1999-05-15 22:54:17 +00:00
mcmullen%netscape.com 501ac5f442 Ended the use of strings to describe files in the file widget API. Made some nsString input parameters const. 1999-05-15 22:50:20 +00:00
bruce%cybersight.com b21bac1658 Fix ANSI C++ violation that was breaking Solaris Workshop and HP-UX aCC builds. 1999-05-15 22:10:39 +00:00
mcmullen%netscape.com 09542a4692 Fix "no prototype" warning by including the nsIComponentManager header. 1999-05-15 21:00:13 +00:00
mcmullen%netscape.com 72f7d22bdf Removing illegal trailing semicolon 1999-05-15 20:54:38 +00:00
pavlov%pavlov.net cc14b6b2bf fix build bustage 1999-05-15 19:15:44 +00:00
pavlov%pavlov.net 3c05c7ff56 minor cleanup 1999-05-15 18:39:09 +00:00
pavlov%pavlov.net 0408b78221 fix menu assertions 1999-05-15 18:34:49 +00:00
pavlov%pavlov.net 273a80d4b8 clean up of menu code to remove excess code 1999-05-15 18:13:11 +00:00
shaver%netscape.com c4676acaf9 don't need to keep handle to EventQueueService after ::Run 1999-05-15 16:43:48 +00:00
shaver%netscape.com 17efe9d108 fix command line stuff 1999-05-15 16:39:40 +00:00
pavlov%pavlov.net 41802abebe fix assertions when adding events 1999-05-15 16:14:48 +00:00
rods%netscape.com c1c0276f47 Added new method GetAnyTransferData 1999-05-15 14:29:32 +00:00
pavlov%pavlov.net 50676ebcbc fix for 5494 and 2nd attempt at command line services (if 0'd out atm) 1999-05-15 05:13:21 +00:00
pavlov%pavlov.net 923a51615f fix for bug #5496 1999-05-15 04:29:00 +00:00
hyatt%netscape.com 5305728adc Fixing a crash when you clicked outside the popup. 1999-05-15 03:53:19 +00:00
hyatt%netscape.com 397b9eae1e Fix. 1999-05-15 03:47:44 +00:00
hyatt%netscape.com 15421ffb24 Fixes to the windows implementation. 1999-05-15 03:19:49 +00:00
hyatt%netscape.com 2f135deae8 Popup cleanup. 1999-05-15 02:52:51 +00:00
rods%netscape.com 9447c0d1e7 removed them they are in xpwidgets now 1999-05-15 02:50:03 +00:00
rods%netscape.com d508d116fa keycode are incorrect when ALT key pressed. I have added code to convert these
to the proper value to match the the control key values. Fixes bug #6449
1999-05-15 02:30:42 +00:00
rods%netscape.com 9cd0ab9678 Two return keys were being sent for a single press. both Key down was sending one and
WM_CHAR was sending one. Commented out the SPECIAL_KEY case for the return key. Now, it
only generates a down event via WM_CHAR
1999-05-15 01:20:37 +00:00
briano%netscape.com 5dc91c144f These headers no longer exist. 1999-05-15 00:27:14 +00:00
sspitzer%netscape.com 9857aaf894 fix UNIX build bustage 1999-05-15 00:12:19 +00:00
mcmullen%netscape.com 24968629cb Added some forward declarations so that this file would, well, er, compile. 1999-05-14 23:23:08 +00:00
saari%netscape.com 82b33a9377 Add context menus to mac build 1999-05-14 22:57:11 +00:00
briano%netscape.com e7fc9021da Hacks to get it to compile. Needs help from someone with a clue. 1999-05-14 22:33:42 +00:00
saari%netscape.com 3b2958251d Adding mac context menu files. 1999-05-14 22:27:31 +00:00
saari%netscape.com 499e9a819f fixed up to date error 1999-05-14 22:23:53 +00:00
saari%netscape.com 0684643e44 First Checked In. 1999-05-14 22:01:15 +00:00
saari%netscape.com 45c3ca3247 Add context menus to factory 1999-05-14 22:00:43 +00:00
saari%netscape.com b869fa5d42 Minor mac menu change to facilitate context menus 1999-05-14 22:00:21 +00:00
saari%netscape.com 0798cec94c fixing build break 1999-05-14 21:46:51 +00:00
pollmann%netscape.com 5089f15839 Bug 5944,3322: Bringing GTK <SELECT> events on par with Windows 1999-05-14 21:35:49 +00:00
mcafee%netscape.com 2896f82e9b Adding font interfaces for Linux. 1999-05-14 21:13:50 +00:00
mcafee%netscape.com 1f76c659e1 Adding nsIFileListTransferable to the Linux build. 1999-05-14 21:11:00 +00:00
saari%netscape.com e8d4fa941c adding context menus to windows build 1999-05-14 20:42:50 +00:00
pinkerton%netscape.com c5b1279916 pipe all drag events into Gecko, not just drop events. Also work with the new nsIDragSessionMac interface. 1999-05-14 18:50:57 +00:00
pinkerton%netscape.com 1b77c4d7d8 implements nsIDragSessionMac to get the dragRef from external drags. GetData() implemented (mostly). 1999-05-14 18:50:20 +00:00
pinkerton%netscape.com 89078c8ed2 Accept any kind of drag event, not just drops. 1999-05-14 18:49:42 +00:00
pinkerton%netscape.com d39a38bda4 add nsIDragSessionMac.h 1999-05-14 18:43:30 +00:00
pinkerton%netscape.com 65a4ff71ee First Checked In. 1999-05-14 18:43:10 +00:00
rods%netscape.com c652abbaed added nsFileListTransferable 1999-05-14 12:35:29 +00:00
rods%netscape.com 6bec5afe20 added nsFileListTransferable to build 1999-05-14 12:34:54 +00:00
rods%netscape.com 88ad67c603 Changed to adhere to interface changes 1999-05-14 12:34:33 +00:00
rods%netscape.com d457ab3656 added font iterators 1999-05-14 12:27:06 +00:00
rods%netscape.com d800f80ba8 Each font has a struct and keeps track of its sizes in a nsVoidArray 1999-05-14 12:26:40 +00:00
rods%netscape.com 980ac6ef68 Added FontIterator 1999-05-14 12:26:03 +00:00
rods%netscape.com ad25d7547c Added Font Iterator interfaces 1999-05-14 12:25:18 +00:00
pierre%netscape.com fafa26fac7 fixed a glitch due to the TARGET_CARBON conversion in nsWindow::Update() 1999-05-14 10:18:33 +00:00
pierre%netscape.com 894db0f6a9 hooked up DoDisk() to handle disk events 1999-05-14 10:15:55 +00:00
pierre%netscape.com 019c19fdbd The constructor takes a nsMacWindow instead of a nsWindow. Removed HandleDiskEvent(): disk events are handled in our message pump or left to the embedding apps. 1999-05-14 10:14:46 +00:00
pierre%netscape.com e88056bb38 fix list boxes with a temporary hack to access the 'ldes' resource from the Finder 1999-05-14 10:09:14 +00:00
akkana%netscape.com 009f19afaa Fix crash introduced by change of APIs 1999-05-14 00:40:13 +00:00
rods%netscape.com e4e1251da9 Initial checkin 1999-05-13 22:41:37 +00:00
rods%netscape.com 4f26aec55f Inital checkin 1999-05-13 22:39:31 +00:00
rods%netscape.com 3e1db37926 moved nsITransferable include from header to impl 1999-05-13 22:32:49 +00:00
mcafee%netscape.com 9b65904c6a Removing nsDataFlavor.cpp from the build. 1999-05-13 22:29:57 +00:00
rods%netscape.com 00a24aede0 removing nsIDataFlavor and nsIGenericTransferable 1999-05-13 22:24:53 +00:00
pinkerton%netscape.com 51ddd7b2da removing nsDataFlavor.cpp 1999-05-13 22:24:35 +00:00
mcafee%netscape.com cb0c08588c Clipboard restructuring. 1999-05-13 22:24:26 +00:00
pinkerton%netscape.com 2719f1d7b3 removing nsidataFlavor and nsIGenericTransferable 1999-05-13 22:24:25 +00:00
rods%netscape.com 63d991ecf2 removed nsIDataFlavor and merged transferable interfaces 1999-05-13 21:56:23 +00:00
mcafee%netscape.com a34ac7796e Clipboard restructuring. 1999-05-13 21:55:40 +00:00
pinkerton%netscape.com e26dbba2f5 updated clipboard apis and merging transferable into one api and getting rid of nsiDataFlavor. 1999-05-13 21:54:14 +00:00
rods%netscape.com b08406885d removed reference to nsIDataFlavor and merged nsITransferable and nsIGenericTransferable 1999-05-13 21:53:57 +00:00
donm%netscape.com 878418efaf backing out linux build bustage. see bug #6331 1999-05-13 18:24:31 +00:00
warren%netscape.com 8cbc32da03 Fixed mac and linux uses of Count 1999-05-13 05:28:31 +00:00
warren%netscape.com 7a41ef7d73 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
sspitzer%netscape.com b6ae38dae6 cvs ignorage 1999-05-13 03:53:42 +00:00
pavlov%pavlov.net 5b994dcb54 misc changes including things to attempt to get command line things working in
apprunner
1999-05-13 00:53:50 +00:00
briano%netscape.com ca7fc8c716 Fix for Motif builds. 1999-05-13 00:52:06 +00:00
pinkerton%netscape.com 08d97f846e put code that didn't compile yesterday back in. Now i know that ::Foo doesn't work too well if Foo is a macro. 1999-05-13 00:14:22 +00:00
pinkerton%netscape.com a5be17cf30 dispatch the drag and drop event to the correct widget 1999-05-13 00:13:44 +00:00
pinkerton%netscape.com 6292e8f7db somehow, these files got extra blank lines in them between every source file line. Removing them. Also removing duplicate implementations of addref, release, and QI, since we inherit them from nsBaseDragService. 1999-05-13 00:13:06 +00:00
pierre%netscape.com ddb408f173 profiler-ready + put added mMouseRgn 1999-05-12 07:26:55 +00:00
pinkerton%netscape.com 0c3ee073c5 disposing of event proc has changed under Carbon. tweaking. 1999-05-12 02:35:28 +00:00
blizzard%redhat.com e2135532b5 catch up with the new nsIMenuBar interface 1999-05-12 01:27:06 +00:00
pinkerton%netscape.com ad0eaae62d fix bustage. 1999-05-12 00:28:20 +00:00
pinkerton%netscape.com 2842910072 using accessors when required by Carbon. Also adding lots of preliminary macOS drag and drop stuff. Wish I could have separated these into multiple checkins, but not possible. 1999-05-12 00:02:09 +00:00
pinkerton%netscape.com 4ebeb3e6ce use accessors for opaque data structs where required for carbon. Make sure we return grafptrs when asking for graphics and windowptrs when asking for windows, since they are very different under Carbon. 1999-05-11 21:56:17 +00:00
pinkerton%netscape.com a62a2efd36 scroll action proc's need keyword pascal for Carbon. conditionally added it. Ugly, but it works. 1999-05-11 21:51:33 +00:00
pinkerton%netscape.com 773f27b7bc using accessors for opaque data structs where necessary for Carbon. 1999-05-11 21:46:10 +00:00
pinkerton%netscape.com 52f87501bd moved the ifdefs around the printing code to be more correct. 1999-05-11 21:40:25 +00:00
pinkerton%netscape.com 1f9b97b2d4 comment out printing code under carbon. The api's have all been obsoleted and we need to rework them. Also font/encoding stuff is messed up in WWDC builds so some hacks are in here to work around. That code should all go away when Carbon is fixed. 1999-05-11 21:36:19 +00:00
pinkerton%netscape.com 4a596f816d add "MacOS Support:Universal Headers" access path to debug and opt targets in order to pick up new carbon includes. This will not effect non-carbon builds since this path exists already. Just compiler weirdness makes this necessary. 1999-05-11 21:29:07 +00:00
saari%netscape.com 0c72a693e4 break fix attempt 1999-05-11 19:03:25 +00:00
saari%netscape.com 789be39b20 missed a file 1999-05-11 18:21:39 +00:00
saari%netscape.com 53aeaf5d49 changing nsIMenuItem for context menu support 1999-05-11 18:16:25 +00:00
saari%netscape.com 7eeb4072f4 nsIMenuItem changes for context menus 1999-05-11 18:15:48 +00:00
jdunn%netscape.com 1de730257b Fix error with OR'ing ENUMS. ansi C++ doesn't allow the direct OR'ing of them. 1999-05-11 00:03:17 +00:00
pinkerton%netscape.com bf9ec846bf Using ControlDefinition.h for Carbon. 1999-05-10 23:36:19 +00:00
pinkerton%netscape.com 918ed92b40 add GetIID() method. 1999-05-10 23:15:21 +00:00
pinkerton%netscape.com 59e8c83c5e use ControlDefinitions.h and use new popup menu APIs for Carbon. 1999-05-10 23:14:40 +00:00
pinkerton%netscape.com 952a793641 use ControlDefinitions.h and new APIs for Carbon for ValidRect. Doesn't affect normal builds. 1999-05-10 23:13:16 +00:00
pinkerton%netscape.com 7e71e66346 use ControlDefinitions.h under Carbon 1999-05-10 23:12:08 +00:00
pinkerton%netscape.com 0577d4a17e don't use OpenDeskAcc under Carbon. 1999-05-10 23:10:55 +00:00
pinkerton%netscape.com 6c1c5980fd added ControlDefinitions.h for Carbon. 1999-05-10 23:09:34 +00:00
pinkerton%netscape.com 21523d60ac adding ControlDefinitions.h for Carbon. 1999-05-10 23:07:34 +00:00
kmcclusk%netscape.com f04cc10ceb bug #2115 - Removed src/windows/nsStringUtil.h and src/windows/nsStringUtil.cpp. Moved GetACPString to
nsMenu. widget/public now contains an updated nsStringUtil.h with fixes for bug #2115.
bug #2226 - Modified nsFileWidget.cpp - Removed code which saved and restored the current directory.
1999-05-10 22:55:16 +00:00
saari%netscape.com 714ee665b3 Adding mac context menu files. These are not yet in the build 1999-05-10 20:14:05 +00:00
syd%netscape.com e17ed3730e Remove SetModal interface. 1999-05-08 23:14:35 +00:00
syd%netscape.com f0273ef530 Cleaned up Create function. Make sure that variables are not NULL before use.
Also, don't free the "home" variable -- this will cause memory corruption the
second time Create is called and will result in weirdo behavior in Gtk+/Glib.
Implemented nsAppShell::GetNativeEvent, nsAppShell::DispatchNativeEvent,
and nsAppShell::EventIsForModalWindow.
1999-05-08 23:13:45 +00:00
syd%netscape.com c03600049f Remove SetModal() native implementation for Gtk+. 1999-05-08 23:09:44 +00:00
syd%netscape.com a8f54ca7be Remove SetModal() native implementation. 1999-05-08 23:09:05 +00:00
syd%netscape.com 4ed101a866 Remove nsBaseWidget::SetModal. 1999-05-08 23:08:23 +00:00
sspitzer%netscape.com 8bfb1b69f2 fix spelling mistake and wrap printf behind #ifdef DEBUG 1999-05-08 17:47:00 +00:00
mcafee%netscape.com 12074545df Adding support for dataFlavor cache: GetPredefinedDataFlavor(). 1999-05-08 01:29:52 +00:00
saari%netscape.com 7c448b42e5 First Checked In. 1999-05-08 00:19:33 +00:00
rods%netscape.com eb1aee2a86 Fixed strict cast on HDROP 1999-05-07 20:38:11 +00:00
kmcclusk%netscape.com 7f2300c16a Fix for Bug #2115 Modified nsStringUtil.h as suggested in Bugzilla.
Fix for Bug #4219 Fix for scribble. Removed NET_PollSockets()
call from AfterDispatch. Scribble works now under WIN32.
1999-05-07 20:14:16 +00:00
rods%netscape.com 7b724dcfe2 Added nsISupportArray include 1999-05-07 20:11:46 +00:00
rods%netscape.com d6b3471cf3 Removed methods and put them in nsIDragSession.h 1999-05-07 20:04:43 +00:00
rods%netscape.com 90f013f159 fixed DragService creation 1999-05-07 19:59:02 +00:00
rods%netscape.com fede4d3cf3 Some lcean up and error checking 1999-05-07 19:56:30 +00:00
rods%netscape.com 83dd8270ae Added file drop support 1999-05-07 19:55:45 +00:00
rods%netscape.com f7fdf41e2f Changed DragService and added nsDragSession 1999-05-07 19:55:00 +00:00
pinkerton%netscape.com 1b9944082f create a drag service. 1999-05-07 19:52:44 +00:00
pinkerton%netscape.com c77b5c7257 new drag session interface and lots of work to get d&d going. 1999-05-07 19:52:15 +00:00
pinkerton%netscape.com 6b8d71eb41 work for new drag session interface. 1999-05-07 19:51:50 +00:00
rods%netscape.com 3c5aff322d Changed GetFileList from nsVoidArray ** to nsVoidArray *
It now copies it contents instead of giving you a pointer to it
1999-05-07 14:14:48 +00:00
rods%netscape.com 4b0cb3efa1 Added the Equals method 1999-05-07 14:13:09 +00:00
rods%netscape.com cf5b021334 Initial checkin 1999-05-07 14:07:51 +00:00
ramiro%netscape.com f00df2aab5 Resurrect. 1999-05-07 07:35:36 +00:00
bruce%cybersight.com 85e25f46a5 Fixes for event queue changes. Still crash because of clipboard problems. 1999-05-07 06:48:55 +00:00
pierre%netscape.com 2abc3c47bd Fix scrolling bug with test11. Clip out the siblings from the main window region as well as its visible region. 1999-05-07 04:00:57 +00:00
rods%netscape.com 762b2f1830 removed some old D&D code that was commented out, fixed processing of arrows
keys by returning the status from dispatch.
1999-05-06 14:00:25 +00:00
dcone%netscape.com 985214ab32 fixed a bug with using mString to use the unicode value 1999-05-06 06:57:24 +00:00
saari%netscape.com f2a113df1d Fixing Mac menu bug 1999-05-06 01:45:48 +00:00
saari%netscape.com ad6d368f92 Plug a leak 1999-05-06 01:43:12 +00:00
hyatt%netscape.com fded43adc1 Switching from PLEventQueues to nsIEventQueues. 1999-05-04 23:34:41 +00:00
rods%netscape.com a77d491024 Fixed it up for image support 1999-05-04 23:14:57 +00:00
rods%netscape.com 141446af8b Changed ref counting, removed the kiknown for ref counting
reworked and reformated the code.
1999-05-04 22:44:21 +00:00
rods%netscape.com 4256a1cdd4 Removed the factory class that was unecessary, added some error checking
made fixes for changes to ienumfe
1999-05-04 22:44:16 +00:00
rods%netscape.com 6c919a4ea9 Initial check in 1999-05-04 22:40:30 +00:00
rods%netscape.com b02f223d42 Initial checkin 1999-05-04 22:40:20 +00:00
rods%netscape.com a6191f460a Commented out some debug statements and commented out the SetFocus on mouse down event 1999-05-04 22:38:45 +00:00
rods%netscape.com 83e49d2831 Commented out debug print statements 1999-05-04 22:37:57 +00:00
rods%netscape.com d6feb5cbb6 Added (uncommented) nsIFileListTransferable 1999-05-04 22:36:40 +00:00
rods%netscape.com 707594aef2 Added kDropFilesMime 1999-05-04 22:35:51 +00:00
rods%netscape.com a24b487b69 Initial checkin 1999-05-04 22:34:56 +00:00
rods%netscape.com 0ea06142bc Added RemovedDataFlavor 1999-05-04 22:27:40 +00:00
rods%netscape.com b290eddaea Added RemovedDataFlavor and some error checking 1999-05-04 22:27:35 +00:00
rods%netscape.com cf01a6b931 Added nsIFileListTransferable CID 1999-05-04 22:22:31 +00:00
mcafee%netscape.com f9739f46af Forgot one whitespace problem. 1999-05-04 20:22:24 +00:00
mcafee%netscape.com 3001aee3b7 This file got checked in ? double-spaced. 1999-05-04 20:20:50 +00:00
rods%netscape.com 81cb2fa466 Added nsIDragSession.h 1999-05-04 20:07:30 +00:00
mcafee%netscape.com 54f32de13c Exporting nsIDragSession.h 1999-05-04 19:14:17 +00:00
pinkerton%netscape.com 9c8e4baf21 exporting nsIDragSession.h 1999-05-04 18:14:03 +00:00
pinkerton%netscape.com ef65f1032e First Checked In. 1999-05-04 18:10:27 +00:00
pierre%netscape.com 2410a8c786 Fixed #2236 "Frame scrolling is broken". Appr chofmann for M5 branch. 1999-05-04 02:24:43 +00:00
kipp%netscape.com 5fd55fa2a6 Made DestroySignal protected instead of private (as it should have been) so it builds on AIX 1999-05-03 23:10:30 +00:00
tague%netscape.com b23c932029 Fixed bug #5527 (Editor is not able to accumulate successive Japanese input) 1999-05-03 22:57:48 +00:00
ramiro%netscape.com d308fd2b2a Comment out unused code that was breaking aix, dec and some others. 1999-05-03 21:36:18 +00:00
ramiro%netscape.com d9b4f2b379 Fix bugs 4445, 4768. Make form widgets work a little better. This includes:
1) Radio/Toggle button initial state properly set.
2) Radio/Toggle button toggling works as expected.
3) Form Buttons work/submit on the first click as expected.

The problem was that enter/leave events expected by the form controlling
frames were not properly emitted.  They were being emitted for the parent
widget and not the buttons.

I also had to add a pathetically lame hack to work around artificial
intelligence in the GtkToggleButton widget.  Because the gtk toggle widget
changes its state on button press, we are out of whack by one.

Finally, some minor cleanup to event debug code in nsWidget.
1999-05-03 21:29:28 +00:00
kipp%netscape.com fcbc8770ac Fix menubar bug to avoid dup menubars 1999-05-03 20:50:01 +00:00
kipp%netscape.com 8d37bcea26 Added more null pointer checks to avoid crashes 1999-05-03 20:49:45 +00:00
kostello%netscape.com bb6e458742 Changed to match new API for the nsHTMLContentSinkStream 1999-05-03 18:49:59 +00:00
pierre%netscape.com 0f4a5429b5 Copied Pink's fix for #4883 from nsTextWidget. 1999-04-30 22:57:33 +00:00
pierre%netscape.com ad422f35b8 Fixed previous checkin: Destroy() calls the inherited function and returns a value. 1999-04-30 22:55:58 +00:00
pierre%netscape.com 0064b96553 Oops... CalcWindowRegions() was hiding the inherited function from nsWindow. For some reason, I missed the compiler warning in my previous checkin. 1999-04-30 22:54:34 +00:00
mcafee%netscape.com 59e548ccbd Switching to NS_WITH_SERIVICE() to properly release services (5403). a=chofmann, r=warren@netscap.com 1999-04-30 22:20:24 +00:00
pinkerton%netscape.com 63c269a7cc Fix for bug 4883. Added Destroy() method to do the same as the Repeater dtor would do but it wasn't getting called because the timer still held a ref to the widget. Appr chofmann. 1999-04-30 22:14:01 +00:00
saari%netscape.com 18fb917c67 Fix for bug 5676 1999-04-30 21:13:42 +00:00
rods%netscape.com db02eba2f0 Fixes for bug #4698
Win98 allocates global in DWORD chunks, WinNT does not. CF_TEXT on the
clipboard must be null terminated. The copy to the clipboard makes sure the proper
amount of memory is allocated and zeroed. he get from the clipboard makes no asummptions
about CF_Text's length other than they are null terminated, so it now removed the extra
terminating zeros, there can be more than one.
1999-04-30 19:41:14 +00:00
pierre%netscape.com 3e6f000fa3 Landing framesets changes. Numerous changes, essentially around mVisRegion and CalcWindowRegions(). Approved: choffmann. Bug #2236 et al. 1999-04-30 13:54:51 +00:00
pierre%netscape.com a4220df258 Landing framesets changes. Added mVisRegion, mResizingChildren and mSaveVisible. Approved: choffmann. Bug #2236 et al. 1999-04-30 13:54:28 +00:00
pierre%netscape.com e68bcaddb8 Landing framesets changes. Made nsMacWindow inherit from nsChildWindow. Approved: choffmann. Bug #2236 et al. 1999-04-30 13:54:04 +00:00
pierre%netscape.com 102aa07860 Landing framesets changes. Enabled the file. 1999-04-30 13:51:35 +00:00
kipp%netscape.com 12389b25dd Wired up gtk widget destruction to nsWidget and related classes so that we don't ever have dangling points to dead gtk objects 1999-04-30 00:13:47 +00:00
akkana%netscape.com 8f52ec5394 5674: temp fix to prevent dialogs from grabbing selection ownership forever. r=mcafee/a=chofmann 1999-04-29 20:43:37 +00:00
bruce%cybersight.com 762b6b7eec s/NULL/nsnull/ 1999-04-29 00:45:41 +00:00
ramiro%netscape.com 7359aadb19 WIP for changing widget colors on the fly. Its commented out for the time
being.
1999-04-28 05:57:45 +00:00
ramiro%netscape.com 2be9e7ee0d Fix radio and check buttons some more. There are still some issues with
the default values for radio buttons being off by one.
1999-04-28 05:53:36 +00:00
bruce%cybersight.com b375ec7b75 Remove -lnetlib from link lines. Not needed. 1999-04-28 05:30:09 +00:00
pierre%netscape.com 7bcb35c379 end of the debate? changing the defaults back to 96 dpi and do display small fonts 1999-04-28 05:06:41 +00:00
sfraser%netscape.com 5cc9e0c25c Temporary, #ifdeffed hack to get Apple Menu on Mac. reviewed saari. 1999-04-28 04:51:40 +00:00
bruce%cybersight.com f0c8034546 Remove dependency upon (and use of) -lnetutil on Unix. 1999-04-28 04:40:46 +00:00
pierre%netscape.com c760c127d2 fixed a syntax error in DisplayVerySmallFonts(): the first time only we were returning a wrong value 1999-04-28 03:32:52 +00:00
pierre%netscape.com bda4b11e44 added the "browser.display_very_small_fonts" pref changed the default dpi to 72 1999-04-28 02:45:49 +00:00
saari%netscape.com d645082bc0 fixing more win menu bugs. Fixing dynamics. Fixing webshell refcounts 1999-04-28 01:45:33 +00:00
saari%netscape.com 3d0d6656c4 fixing bug 4942 1999-04-28 00:40:09 +00:00
pierre%netscape.com 38586e088b #5000: added "browser.screen_resolution" pref 1999-04-28 00:20:58 +00:00
pinkerton%netscape.com e468eac0ee add nsMimeMapper.cpp 1999-04-27 22:51:13 +00:00
pinkerton%netscape.com 61f0f71406 move mapping of mime type -> OS type to nsMimeMapperMac instead of implementing it here. THis way drag and drop can use it to. 1999-04-27 22:50:44 +00:00
pinkerton%netscape.com a22c8eede9 First Checked In. 1999-04-27 22:49:51 +00:00
ramiro%netscape.com 55e2286f34 Removed gratuitous semicolon. 1999-04-27 22:20:45 +00:00
ramiro%netscape.com c80ff69098 Add cast to quiet compiler. 1999-04-27 21:40:05 +00:00
ramiro%netscape.com bbb3d12b07 Adding a gtk utilities class to the build. 1999-04-27 21:26:10 +00:00
saari%netscape.com cba85df791 fixing double submenu bug on win32 1999-04-27 18:41:07 +00:00
ramiro%netscape.com 64e04bcb34 Fixing event mask being set on wrong widget, dumb typo from a previous checkin. 1999-04-27 18:27:29 +00:00
ramiro%netscape.com 50baa336b6 Fix for bug 4647. Could not resize frames (ie, the apprunner side bar). 1999-04-27 18:15:47 +00:00
saari%netscape.com 0b8daf49f7 fix double menus on GTK 1999-04-27 18:10:47 +00:00
saari%netscape.com 5a8429863b Mac menu cleanup. No more holding onto the nsWebShell 1999-04-27 09:09:44 +00:00
pierre%netscape.com e732383034 #5000 "GFX changes required to assume 96 dpi default scaling": enabled the 96 dpi checked in earlier 1999-04-27 08:20:49 +00:00
pierre%netscape.com cc14f63658 #5000 "GFX changes required to assume 96 dpi default scaling" 1999-04-27 06:45:09 +00:00
pierre%netscape.com 9201db823c fixed a flicker when the control is deleted 1999-04-27 05:32:50 +00:00
pierre%netscape.com 91d314bca7 #4777 "cannot do multiple selection of menulist" 1999-04-27 05:32:36 +00:00
mcafee%netscape.com 880f3ef6c1 Implementing folder picker by hiding the file column of the file selection dialog. Thanks to Syd for the hint to do this. 1999-04-27 04:49:53 +00:00
saari%netscape.com cfd4904dc0 more cleaning 1999-04-27 04:23:05 +00:00
sdagley%netscape.com 705300ce2d Fix bug #4095 - zoom widget now works to re-size windows on Mac. 1999-04-27 03:41:17 +00:00
saari%netscape.com ff4bcab26d more menu cleanup. Menus should no longer be holding on to WebShells in any way on GTK 1999-04-27 03:12:29 +00:00
sdagley%netscape.com ffb700e7c8 Renaming nsMode to nsFileDlgMode for mcafee 1999-04-27 03:11:21 +00:00
mcafee%netscape.com 7e925d0967 Renaming nsMode enum to something a little more descriptive, nsFileDlgMode. r=sdagley 1999-04-27 03:11:13 +00:00
briano%netscape.com 1cded1290c Backed out my overly zealous conversion of gtk_{true,false} to PR_{TRUE,FALSE}. 1999-04-27 03:03:50 +00:00
briano%netscape.com bf67adeb4b Converted all the 'non-standard' uses of true and false to PR_TRUE and PR_FALSE. 1999-04-27 02:35:02 +00:00
bruce%cybersight.com 9f135dd429 Yet another instance of 'false' in XP code. Please return to using PR_FALSE. 1999-04-27 01:44:07 +00:00
rods%netscape.com 089f7bb090 Commented out some debug statements
Unknown formats are now get their data via GetText
1999-04-27 01:03:54 +00:00
rods%netscape.com b5b9c9b134 Using FlavorsTransferableCanExport in CreateNativeDataObject
and changed param to GetData
1999-04-27 01:01:38 +00:00
saari%netscape.com 3f0a304635 menu ownership cleaning 1999-04-27 00:21:15 +00:00
saari%netscape.com 174a23f0f1 more menu ownership model cleaning 1999-04-26 23:35:41 +00:00
saari%netscape.com c50cc8d55f more menu ownership changes 1999-04-26 22:07:45 +00:00
saari%netscape.com 12ca1dfc0e starting to clean up ownership model 1999-04-26 20:56:08 +00:00
dcone%netscape.com 34e7c3f783 fixed bug so refcount is inited 1999-04-26 17:25:00 +00:00
blizzard%redhat.com e34ab4441f little more xlib work 1999-04-25 02:58:15 +00:00
pavlov%pavlov.net 3b205e8663 add supporting code for eBorderStyle_BorderlessTopLevel 1999-04-24 16:54:54 +00:00
pavlov%pavlov.net c8e875740a add eBorderStyle_BorderlessTopLevel 1999-04-24 16:33:12 +00:00
pavlov%pavlov.net cc5faa7ed9 s/NULL/nsnull/ in nsGtkEventHandler
use a few macros in nsWidget
1999-04-24 15:00:11 +00:00
blizzard%redhat.com f5389ea30c fix gfx .so definition in makefile 1999-04-24 12:20:53 +00:00
blizzard%redhat.com b775d91c9e make xlib build again 1999-04-24 12:20:28 +00:00
bruce%cybersight.com 63241d78cf Missed an instance of 'false' earlier. Fixes AIX and Solaris builds. 1999-04-24 07:52:36 +00:00
bruce%cybersight.com fe8f8da5c1 Fix Solaris CC and AIX build bustage. Can't use 'bool', must use PRBool. 1999-04-24 06:32:38 +00:00
sdagley%netscape.com c96702c60f updating/fixing for current syntax 1999-04-24 05:07:18 +00:00
sfraser%netscape.com 684d95631f c2pstr on a "inline" string is bad, with VM on. Fixed. 1999-04-24 05:00:32 +00:00
saari%netscape.com c9c9c649a0 menu item enabling/disabling for GTK 1999-04-24 03:26:10 +00:00
saari%netscape.com 79ad28ab22 dynamic menu changes 1999-04-23 22:39:32 +00:00
rods%netscape.com 8a43838a78 DragEnter now sets the IDataObject into the DragService 1999-04-23 21:57:44 +00:00
rods%netscape.com fe045b2f8f Made method GetFormat so nsDragService can use it. 1999-04-23 21:56:05 +00:00
rods%netscape.com d61d21abe9 Remap control alpha keys to VK_XXX equivalent 1999-04-23 20:56:32 +00:00
rods%netscape.com 5397995e62 OnChar now returns FALSE to widget typ in works 1999-04-23 19:44:47 +00:00
saari%netscape.com 294a1a46a3 Dynamic menus changes 1999-04-23 19:00:51 +00:00
ramiro%netscape.com 6ab0049a18 Add SetBackgroundColor() stubs.
Add signals/methods from tracking realization.
1999-04-23 18:16:11 +00:00
ramiro%netscape.com 582d73340c quiet a compiler warning. 1999-04-23 18:04:49 +00:00
mcafee%netscape.com 8590a7ae86 Removing nsSelectionMgr from the build. 1999-04-23 17:53:51 +00:00
pinkerton%netscape.com 7f40809eb2 File Removed. 1999-04-23 17:33:19 +00:00
blizzard%redhat.com 2543402d4e make tests work with more than just gtk 1999-04-23 16:59:35 +00:00
blizzard%redhat.com ce650b4262 make xlib code build again 1999-04-23 16:59:09 +00:00
rods%netscape.com c577e3b49e removing them 1999-04-23 16:58:05 +00:00
mcafee%netscape.com 8cb63795c9 Removing nsSelectionMgr from the build 1999-04-23 16:50:17 +00:00
pinkerton%netscape.com 8cd15d220e removing selection manager 1999-04-23 16:47:56 +00:00
pinkerton%netscape.com 859f56c23d removing selection manager. 1999-04-23 16:47:11 +00:00
rods%netscape.com a60e410c3d removed nsSelectionMgr 1999-04-23 16:47:09 +00:00
rods%netscape.com f5a51dd56b Removed SelectionMgr 1999-04-23 16:47:05 +00:00
rods%netscape.com f4104ed763 Added nsCOMPtr support 1999-04-23 14:38:27 +00:00
rods%netscape.com 77cf60159f Reworked for nsCOMPtr 1999-04-23 14:35:26 +00:00
rods%netscape.com 0547d59b77 Fixed key event support 1999-04-23 14:30:51 +00:00
rods%netscape.com 6d4d3b4eb9 Added Get/Set DragAction 1999-04-23 14:13:06 +00:00
rods%netscape.com 67a6ddc081 Added Set/Get DragAction 1999-04-23 14:12:31 +00:00
rods%netscape.com 8eff44dd85 Added two new support methods 1999-04-23 14:10:55 +00:00
rods%netscape.com 172bd95771 Switch over to nsCOMPtr
Added better cursor feedback support
1999-04-23 14:10:39 +00:00
rods%netscape.com 5a61d5bba5 Added GetIID method 1999-04-22 14:16:30 +00:00
saari%netscape.com 4a77810895 Making dynamic menus on windows better behaved (but still leaky) 1999-04-22 08:17:03 +00:00
mcafee%netscape.com 2c796b4d98 Removing nsSelectionMgr reference. 1999-04-22 08:00:44 +00:00
mcafee%netscape.com ecef301872 Backing out nsSelectionMgr removal for now. 1999-04-22 07:55:25 +00:00
mcafee%netscape.com a9442a9929 Removing nsSelectionMgr references from the build. 1999-04-22 07:40:46 +00:00
mcafee%netscape.com 19002051d8 Removing NEWW_CLIPBOARD_SUPPORT ifdef. 1999-04-22 06:48:51 +00:00
mcafee%netscape.com 26e586cbf2 Test-removal of NEW_CLIPBOARD_SUPPORT ifdef. 1999-04-22 00:22:15 +00:00
pierre%netscape.com 7eafa61459 SetCursor on mouseEnter / mouseExit 1999-04-21 23:15:05 +00:00
pierre%netscape.com 6e1f33ab11 removed a spurious SetCursor when creating a widget 1999-04-21 23:14:07 +00:00
bruce%cybersight.com 67006f74d7 Fix for Solaris CC build. 1999-04-21 12:11:11 +00:00
akkana%netscape.com eab41c6d3c Remove correction subtracting 1 from transferable data length on copy;
tracking rods' change removing bogus extra byte in XIF format converter.
1999-04-21 00:17:12 +00:00
rods%netscape.com d245ef1eab Fixed native CF_TEXT copy, to decrement the size by one when it is a null
terminated string. Apps like MS-Word pass back the size including the terminating
zero. This fixes that.
1999-04-21 00:15:08 +00:00
akkana%netscape.com 69c1590820 Handle paste when we're already the selection owner 1999-04-21 00:04:53 +00:00
rods%netscape.com e2e54a9f17 Removed the adding of an additional 1 to the length on conversions. 1999-04-21 00:03:01 +00:00
akkana%netscape.com ea7af39bac Fix crash on second paste -- don't free our own memory, rely on transferable to do it 1999-04-20 23:54:54 +00:00
saari%netscape.com d241300d9c fix bug #3379 1999-04-20 23:02:16 +00:00
saari%netscape.com 59813410b8 Mods for menu enabling and disabling. 1999-04-20 22:41:44 +00:00
akkana%netscape.com 6a75c849e3 Make Linux paste work 1999-04-20 22:40:53 +00:00
rods%netscape.com f22482f1a6 removed some commented out code 1999-04-20 18:11:07 +00:00
rods%netscape.com fb860866a3 changed the kTextMime from "text/txt" to "text/plain" 1999-04-20 18:09:23 +00:00
mcafee%netscape.com 12e0aeae5d Replacing hard-coded string with named constant (kTextMime). 1999-04-20 18:02:16 +00:00
pierre%netscape.com 3d1e56630e removed spurious pairs of StartDraw/EndDraw 1999-04-20 04:03:10 +00:00
pierre%netscape.com 7d0b5e45db fixed some spurious redraws 1999-04-20 04:02:53 +00:00
pierre%netscape.com 2dc802db03 restore the GrafPort origin on mouseEvents 1999-04-20 04:02:35 +00:00
pierre%netscape.com ff610dcad5 moved string utilities from nsWindow to nsMacControl 1999-04-20 04:02:20 +00:00
pierre%netscape.com dd65cecf34 fixed some XPCOM issues (removed spurious nsISupport stuff) 1999-04-20 04:00:53 +00:00
pierre%netscape.com b5f80f2ff5 fixed some XPCOM issues (removed spurious nsISupport stuff) / fixed #4780 "[BLOCKER] Mac Borderless top-level windows" 1999-04-20 04:00:40 +00:00
pierre%netscape.com 190101547c removed the NS_IWINDOW_IID hack 1999-04-20 03:58:29 +00:00
pierre%netscape.com d91336fe18 added nsChildWindow.cpp 1999-04-20 03:56:45 +00:00
pierre%netscape.com 84ba7b9ba4 First Checked In. 1999-04-20 03:56:24 +00:00
bruce%cybersight.com 32e1d7b343 Add blank lines at end of files for native compilers. 1999-04-20 03:40:17 +00:00
akkana%netscape.com 029a4fcd1e Fix copy code in nsClipboard 1999-04-20 02:12:30 +00:00
saari%netscape.com 1095f4d215 fixing menu bug 1999-04-20 01:18:55 +00:00
akkana%netscape.com eb02fe24d6 Get callbacks and transferable/data flavor hooked up so we can
collaborate on tracking down the gtk_selection_data_set crash.
1999-04-20 00:02:36 +00:00
kipp%netscape.com 06d894c0db Fixed some refcnt bugs 1999-04-19 23:24:52 +00:00
kipp%netscape.com e011ac79d4 Added in some missing addref/release's 1999-04-19 23:24:40 +00:00
jdunn%netscape.com 2fffdd0b56 Fix unix native compiler error 1999-04-19 22:00:24 +00:00
syd%netscape.com ca4d9925f4 Support for modal dialogs in Gtk+ xpfe. Reviewed by rods. 1999-04-19 21:18:50 +00:00
pinkerton%netscape.com 48d88a6275 add nsBaseDragService.cpp and groups services together, pulling them out of the mac/xp widget groups into new ones. 1999-04-19 20:43:02 +00:00
pinkerton%netscape.com a481b9b90d add nsDragService.cpp 1999-04-19 20:28:27 +00:00
pinkerton%netscape.com bf5e8ab65b First Checked In. 1999-04-19 20:28:10 +00:00
rods%netscape.com 48f192ac4c removed VERIFY 1999-04-19 20:09:15 +00:00
rods%netscape.com 0d45b7c0e2 fixed it again 1999-04-19 20:06:24 +00:00
rods%netscape.com ed7ab01f25 removed nsObject.cpp 1999-04-19 20:00:13 +00:00
rods%netscape.com 830099d735 Removed it 1999-04-19 19:07:25 +00:00
rods%netscape.com cb5052df4b Fixed a comment/documentation 1999-04-19 19:05:01 +00:00
rods%netscape.com 83f3766509 removed references to nsObject 1999-04-19 19:04:12 +00:00
rods%netscape.com cbca3a7d6e Updated some comments/documentation 1999-04-19 19:02:52 +00:00
mcafee%netscape.com 2cf3488392 Cleaning up clipboard files. 1999-04-19 10:49:47 +00:00
mcafee%netscape.com 4f8bdb6b7a Adding nsDragService to Linux build. 1999-04-19 10:46:56 +00:00
saari%netscape.com c740592c89 breakage fix 1999-04-19 08:50:26 +00:00
saari%netscape.com 3fc71cf9aa This should be the last of this round of menu checkins 1999-04-19 08:27:57 +00:00
saari%netscape.com 7ae9fd7cda *** empty log message *** 1999-04-19 08:24:08 +00:00
saari%netscape.com ce93f515d9 First of a series of menu checkins 1999-04-19 08:23:18 +00:00
ramiro%netscape.com 25b079119a Remove duplicate link flags. 1999-04-19 06:21:29 +00:00
ramiro%netscape.com 12ad519a21 Remove not needed link flag. 1999-04-19 06:15:12 +00:00
bruce%cybersight.com 9396214a5b I can spell. Really! 1999-04-18 19:45:46 +00:00
bruce%cybersight.com 3aed0c46ee Fix linking errors, add some new class/interface ids, make it run. 1999-04-18 19:44:41 +00:00
bruce%cybersight.com c6baa88158 Makes this run again. Adds the event queue service code. Fix most warnings. 1999-04-18 19:02:18 +00:00
shaver%netscape.com 52d480c4b2 fix my dumb bustage, etc. (darned src/build) 1999-04-17 17:37:30 +00:00
shaver%netscape.com c063cf0602 cache the GtkStyle * while we're at it 1999-04-17 16:17:00 +00:00
shaver%netscape.com 951e910c8e cache the LookAndFeel object as long as we have any widgets 1999-04-17 15:55:21 +00:00
shaver%netscape.com 73634c7eba let's try commenting out _all_ of the D&D stuff 1999-04-17 15:07:58 +00:00
rods%netscape.com 0f967598dc Removed unneeded DragTarget/Source and Dragged object 1999-04-17 14:53:02 +00:00
rods%netscape.com 5aaf6ace1a fixed ambigous cast 1999-04-17 14:24:31 +00:00
rods%netscape.com a3376bdc3b Fixed factory to use kCGenericTransferableCID 1999-04-17 14:09:29 +00:00
rods%netscape.com 6586a8916d Changed over to nsIGenericTransferable for setting transferables
Added Drag & Drag Support ifdef'ed out with NEW_DRAG_AND_DROP
1999-04-17 13:49:39 +00:00
rods%netscape.com dbe1de9108 fixed WM_CHAR processing. And D&D ifdef 1999-04-17 13:45:10 +00:00
rods%netscape.com 62954db828 Changed the DRAG & Drop ifdef 1999-04-17 13:44:42 +00:00
rods%netscape.com 1368566915 Added nsIGenericTransferable 1999-04-17 13:43:04 +00:00
rods%netscape.com 26e9c95924 New interface for setting data into a transferable 1999-04-17 13:42:25 +00:00
bruce%cybersight.com 69fcac3b86 Fix for library changes (old). 1999-04-17 01:02:31 +00:00
mcafee%netscape.com f7b7ba5e99 More clipboard build bustage fixes. 1999-04-17 00:21:16 +00:00
sspitzer%netscape.com 5008cd4e54 scribble is bogus, I'm turning this off for now 1999-04-17 00:18:09 +00:00
mcafee%netscape.com 6e8b6f7d69 Re-adding nsBaseClipboard, ifdef'd NEW_CLIPBOARD_SUPPORT this time. 1999-04-16 23:52:13 +00:00
mcafee%netscape.com 4d6b876dbd Wrapping nsClipboard in NEW_CLIPBOARD_SUPPORT to make tinderbox happy building tests. 1999-04-16 23:42:34 +00:00
slamm%netscape.com c157774b17 Backing out clipboard stuff on mcafee's request. 1999-04-16 22:21:56 +00:00
mcafee%netscape.com 7156184a89 Woops, error on last checkin, fixing it here. 1999-04-16 21:26:05 +00:00
mcafee%netscape.com f91906c854 Adding nsBaseClipboard.cpp to Linux build, improving some error reporting. ifdef'd NEW_CLIPBOARD_SUPPORT. 1999-04-16 21:25:20 +00:00