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

2984 Коммитов

Автор SHA1 Сообщение Дата
rods%netscape.com 363066896b *** empty log message *** 1999-09-21 11:22:21 +00:00
pinkerton%netscape.com afa96f78e8 First Checked In. 1999-09-21 00:08:25 +00:00
akkana%netscape.com 152df0f9a0 13447: fix regression in backspace/delete handling. Send char code or key code, but never both 1999-09-20 22:10:03 +00:00
buster%netscape.com 23798c4eef fixed bug 14271, delete key not generating a keyPress event on windows 1999-09-20 21:07:39 +00:00
Jerry.Kirk%Nexwarecorp.com ddbfd98bdd Code Cleanup for Photon and a couple of strategic strikes to get the
new text widget to work.
1999-09-20 11:44:23 +00:00
mccabe%netscape.com 39e5fe6519 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
davidm%netscape.com d398844172 3924 [PP]Can't make an apprunner window as narrow as Comm 4.51- Change min width to 125 1999-09-19 06:44:26 +00:00
pinkerton%netscape.com e24c83a66c respond to the paint flashing debug pref in debug builds by flashing the area to be repainted. 1999-09-17 23:09:54 +00:00
danm%netscape.com e85708bef6 implement HasDataMatchingFlavors 1999-09-17 02:43:08 +00:00
Jerry.Kirk%Nexwarecorp.com 60d1b380e3 Checkin changes to sorta make the URLBar work at the top of apprunner for Photon 1999-09-16 19:18:15 +00:00
pavlov%netscape.com 2565636ec1 fix bustage 1999-09-16 07:07:26 +00:00
pavlov%netscape.com 422ab25990 add css2 color support for native colors to unix 1999-09-16 06:38:19 +00:00
pinkerton%netscape.com 0ea3f1517d adding the css2, win32-centric enums to GetColor. Not implemented yet. 1999-09-16 03:44:14 +00:00
briano%netscape.com daf5c2e0b1 Fixed my breakage. 1999-09-16 03:07:57 +00:00
briano%netscape.com eeaaec1cad Fixed the breakage caused by MOZ_GTK_CFLAGS not being defined in INCLUDES. 1999-09-16 03:02:37 +00:00
briano%netscape.com ce50e33d17 General cleanup. 1999-09-16 01:09:42 +00:00
ramiro%netscape.com 26dd94b010 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
sfraser%netscape.com 948f302454 Ooops, I didn't mean to change the caret width. Putting that back to 20 twips. 1999-09-15 01:03:52 +00:00
sfraser%netscape.com c72b08b8c9 Change assertion to warning, because it's so damn annoying. 1999-09-15 00:43:46 +00:00
sfraser%netscape.com f549ca9efa Change border width of HTML input fields from 4 to 2. 1999-09-15 00:43:19 +00:00
akkana%netscape.com 411d4a729e I'm tired of seeing all the clipboard debug messages 1999-09-14 21:31:32 +00:00
pierre%netscape.com 3701332b19 Fixed #9456 "[PP]DOM Event listeners don't get MouseOut events when mouse leaves window": mLastWidgetHit and mLastWidgetPointed are now static variables. 1999-09-13 23:18:28 +00:00
kmcclusk%netscape.com c5aa24634c Use HWND_TOPMOST instead of HWNT_TOP when setting the window z-order for popups. 1999-09-13 20:33:34 +00:00
pavlov%netscape.com 1401d9e382 change a few comments 1999-09-13 20:30:36 +00:00
Jerry.Kirk%Nexwarecorp.com a8385f677b Lots of changes to try and get modal preferences dialog to work. 1999-09-13 18:35:19 +00:00
dcone%netscape.com 1eacc9f717 Added popup support. 1999-09-13 15:05:16 +00:00
dcone%netscape.com d89d6ca681 Added popup support 1999-09-13 15:00:07 +00:00
cls%seawood.org fb6ccf14b6 Add -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 as appropriate with __STRICT_ANSI__ defined in <prinet.h> 1999-09-13 05:09:53 +00:00
pavlov%netscape.com 35dd12b55c remove warning 1999-09-13 03:40:34 +00:00
pavlov%netscape.com 21d6fccc72 new file. not built. work in progress. 1999-09-13 02:23:47 +00:00
cls%seawood.org 1a2e16af42 Add -D_POSIX_SOURCE to DEFS to get rid of those useless 'index shadow' warnings. Add either -D_BSD_SOURCE or -D_XOPEN_SOURCE=500 to whichever Makefile.ins need it to accommodate for Posix' strictness. Add check for getopt.h for nsinstall.c. 1999-09-12 14:25:28 +00:00
colin%theblakes.com a4b30eee58 Build widget/timer before gfx, dom, etc since they all need the timer code 1999-09-12 12:33:52 +00:00
pavlov%netscape.com 7199693c11 release the rendering context after we paint 1999-09-11 02:51:38 +00:00
pavlov%netscape.com ed40b65922 fix gfx combo boxes on unix r=mcafee a=trudelle 1999-09-11 00:20:56 +00:00
pavlov%netscape.com 34a544b69b nsIWidget::CaptureMouse works almost 1999-09-10 23:09:32 +00:00
dougt%netscape.com 82c52d63e8 changing GetDiskSpaceAvailable to return a signed 64 bit value 1999-09-10 20:03:56 +00:00
rods%netscape.com 305f054324 Added new CSS 2 color values, not being used yet by nsCSSProps 1999-09-10 18:30:55 +00:00
rods%netscape.com b96b071603 Changes SelectPalette forground/background param to TRUE from FALSE
this is a stop gap to stop 8 bit from crashing Bug# 7426
1999-09-10 14:24:20 +00:00
pavlov%netscape.com 18103c9bac remove debugging printf 1999-09-10 09:31:17 +00:00
pavlov%netscape.com 2ea49fe6ca workaround for x,y positioning problems, window showing before resized and moved problem 1999-09-10 09:31:00 +00:00
pinkerton%netscape.com 643ead7249 fix crash when can't load data from a file for some reason. GetData couldn't handle a null data pointer. 1999-09-10 05:45:08 +00:00
akhil.arora%sun.com 894a53c252 cast needed for building with workshop4.2 compiler on solaris 1999-09-10 01:28:25 +00:00
dougt%netscape.com d8fcfee5c9 nsFileSpec::GetDiskSpace now returns a PRUint64. (12479)
thanks to Chet Murphy <cmurphy@modelworks.com> for the windows code!
1999-09-09 19:20:35 +00:00
akkana%netscape.com bc18bbd8fe Temporarily disable XIM code, to fix editor/gfx text widget bustage 1999-09-09 19:16:29 +00:00
rods%netscape.com 1fdbca2505 Bizzare edge case where click and then dragging outside the window into the console
window crashes in MouseTrailer. This had to do with an invalid window getting set
into the MouseTrailer. The invalid window comes from the mouse hitting the frame of
the app and then the console window. Bug #12848
1999-09-09 13:38:30 +00:00
Jerry.Kirk%Nexwarecorp.com 4298616f30 The Clipboard for Photon is now totally bit rotted but this fix will
at least keep it compiling until I get around to fixing it.
1999-09-09 13:05:39 +00:00
duncan%be.com 50e74b950a One last fix to the BeOS build. Now compiles fully. 1999-09-09 12:24:29 +00:00
cls%seawood.org f9ae73741c Removed check for usleep() as it did not fix the OSF/1 build and does not appear to be needed for anyone else 1999-09-09 06:24:11 +00:00
ramiro%netscape.com b480b4bd8f Make event debuggin more useful on windows. 1999-09-09 03:47:26 +00:00
ramiro%netscape.com eac02114e5 Fix typo. 1999-09-09 02:41:13 +00:00
ramiro%netscape.com 5a3f0aef0e Add better event debugging. 1999-09-09 02:32:54 +00:00
briano%netscape.com 0b1a816ba5 General cleanup. 1999-09-09 02:14:10 +00:00
briano%netscape.com 827386358c Removed the obsolete non-NECKO leftovers. 1999-09-09 00:21:43 +00:00
pavlov%netscape.com 7a4dcdc40a explaination of key event signals here so i don't get confused later 1999-09-08 19:40:12 +00:00
pavlov%netscape.com 10571564c6 fix for my XIM changes that broke the original XIM stuff the other day 1999-09-08 19:18:22 +00:00
briano%netscape.com 09e98bf1cc Hack to get this to compile with DEC's picky C++ compiler. 1999-09-08 04:15:00 +00:00
ramiro%netscape.com 3fef85b1a2 Make paint flashing respond to a pref instead of an #ifdef. 1999-09-07 19:37:43 +00:00
ramiro%netscape.com 748c9a8e76 Fix update event bounds (width and height were reversed). Also set the event
time to PR_Now().
1999-09-07 14:11:13 +00:00
ramiro%netscape.com 5a267d72d7 Make TRACE_PAINT_FLASH flash only the event rect area. Remove some duplicate
code in GetNativeData().
1999-09-07 13:05:46 +00:00
ramiro%netscape.com 614e74dc50 Another beos fix. 1999-09-06 08:52:06 +00:00
cls%seawood.org b470d817e2 Added test for usleep() as OSF/1 apparently does not have it. Use select if usleep is not found. 1999-09-06 07:47:08 +00:00
beard%netscape.com d057e6841d changed superclass to nsChildWindow, to inherit proper sibling clipping. 1999-09-06 04:32:10 +00:00
beard%netscape.com a690e60721 added option to UpdateWidget() to draw from front to back, to see sibling clipping bugs. 1999-09-06 04:30:44 +00:00
beard%netscape.com 3597dd08e1 bug #10503's test case didn't display correctly, because sibling clipping wasn't working properly. fixed CalcWindowRegions() to correctly transform sibling rectangles into widget coordinates, and to subtract only siblings that are in front of the child window. 1999-09-06 04:29:07 +00:00
ramiro%netscape.com 28ea70a985 Add Invalidate() and OnPaint() skid marks. 1999-09-06 03:22:42 +00:00
duncan%be.com 57e6a9d249 More changes to fix the BeOS build. 1999-09-06 02:03:19 +00:00
pinkerton%netscape.com cd51c6adfd get rid of unknown pragma warning. 1999-09-05 22:14:44 +00:00
cls%seawood.org 8470fb8df4 Casts needed to compile using WorkShop 4.2 (fugu tinderbox). Thanks to Brian Ryner <bryner@uiuc.edu> for providing the fix. 1999-09-05 21:46:19 +00:00
cls%seawood.org 2238220a4e Casts needed to compile with GNUPro v2.0. 1999-09-05 21:15:57 +00:00
shaver%netscape.com eb07b78674 native Sun compiler doesn't like NULL for non-|void *| pointer init, thanks to bryner@uiuc.edu for the catch 1999-09-05 17:14:18 +00:00
ramiro%netscape.com ff7035fc7a Add gle support. 1999-09-05 15:53:04 +00:00
ramiro%netscape.com fc3cf578f2 Add some invalidate and paint skid marks. 1999-09-05 13:50:54 +00:00
pavlov%netscape.com bd32846e45 remove more code duplication 1999-09-05 03:40:32 +00:00
pinkerton%netscape.com 8a87fdb3bc add mac code to see if there is any data on the clipboard. 1999-09-05 02:29:02 +00:00
pinkerton%netscape.com 7fce70e22f use new mime mapper flag where appropriate. 1999-09-05 02:28:49 +00:00
pinkerton%netscape.com 0ef072c7c5 use xpidl macros. 1999-09-05 02:28:38 +00:00
pinkerton%netscape.com 5bc18bec82 add a new flag so mime types aren't added to the mapper if they are not found. 1999-09-05 02:27:54 +00:00
bienvenu%netscape.com 924a5ec71f fix build bustage 1999-09-04 21:23:08 +00:00
pinkerton%netscape.com a6975d1016 another attempt to stop copying data so much. 1999-09-04 20:04:26 +00:00
pinkerton%netscape.com d58481938d idl-ifying nsIclipboard 1999-09-04 19:59:38 +00:00
pinkerton%netscape.com 2e44bfa7ca IDL'ing nsIClipboard. 1999-09-04 19:58:06 +00:00
pinkerton%netscape.com 94eb5b68be First Checked In. 1999-09-04 19:57:42 +00:00
pavlov%netscape.com f6e75d4d4f use macros for getiid, isupport, etc 1999-09-04 08:13:41 +00:00
pavlov%netscape.com 32fc68a239 remove more code duplication 1999-09-04 08:12:23 +00:00
pavlov%netscape.com 4359dee165 remove more unused code.
work on getting pointer grabs working properly
1999-09-04 01:30:25 +00:00
shaver%netscape.com 8096bac717 add IsChildOf 1999-09-03 23:45:50 +00:00
pavlov%netscape.com e66b9ff38a move XIM code to the right place, fix crash on linux 1999-09-03 16:44:56 +00:00
rods%netscape.com 49c9658d83 Added metric for native TextField Border width 1999-09-03 14:19:08 +00:00
rods%netscape.com 7de14d98b7 Added new Metric that provides the TextField's native border width 1999-09-03 14:15:16 +00:00
bruce%cybersight.com ec72544aa8 Use nsCRT::free() instead of delete[] for char* data. 1999-09-03 14:08:47 +00:00
bruce%cybersight.com 67a15346bc Use nsCRT::free() instead of delete[] for char* data. Also, use nsAllocator instead of new[]. 1999-09-03 14:03:21 +00:00
bruce%cybersight.com 53bfc36a73 Use nsCRT::free() instead of delete[] for char* data. 1999-09-03 13:45:10 +00:00
duncan%be.com f96a5f0ec0 A bunch of things to get the BeOS build to work. Mostly
BeOS specific fixes, except for the change to nsinstall.c
that ignores trailing "/." in the function mkdirs (as
creating a "." dir fails under BeOS).
1999-09-03 12:54:05 +00:00
sspitzer%netscape.com 189dd57d74 add newline to end of file to please certain UNIX compilers. 1999-09-03 10:43:00 +00:00
jefft%netscape.com 0c6911452e made chooseOutputFile() more complete; imaplemented QueryInterface() to return nsIFileSpec too 1999-09-03 05:30:33 +00:00
jefft%netscape.com 48f25ac001 revise chooseOutputFile() interface to take output filter mask 1999-09-03 02:24:39 +00:00
beard%netscape.com 195e01f7f8 bug 9534: moved SetOrigin(0, 0) in HandleUpdateEvent so that updateRgn is in correct coordinate system. added BLINK_DEBUGGING code. 1999-09-03 02:08:44 +00:00
beard%netscape.com 78d6967427 Cleaned up indentation. 1999-09-03 02:01:45 +00:00
ramiro%netscape.com bc5bef32f5 Comment out the stupid native menus to cut down on the daily saari carnage.
How ironic that changes to fix the one platform that uses native menus
breaks a bunch of others that dont...
1999-09-03 01:54:31 +00:00
bruce%cybersight.com 86d75c0cf7 Stub out functions for Saari so that this will build. 1999-09-03 01:53:42 +00:00
ramiro%netscape.com fe8795534f quiet pavlov's debug noise 1999-09-03 01:44:17 +00:00
jdunn%netscape.com aafaaebd10 Fixing int/enum conversion which the native unix compilers don't like.
( |= produces an int which you can't assign to an enum so you need the cast)
1999-09-03 00:24:23 +00:00
saari%netscape.com 5463aa2188 Chages to nsIMenu and nsIMenuItem for checkbox support and a more general way of IDing the Help menu (necessary for MacOS). Also, some changes to try and stop crashing when Palm software is installed on MacOS. 1999-09-02 23:48:39 +00:00
pinkerton%netscape.com 9c2d1b71b2 fix a comment a=mcafee. 1999-09-02 23:17:21 +00:00
pinkerton%netscape.com 4a0e263d64 making sure we call StartDragSession and EndDragSession. a=mcafee 1999-09-02 23:17:07 +00:00
cata%netscape.com f3252a682a Fixed the fix. 1999-09-02 22:35:00 +00:00
cata%netscape.com 916f222b5e Fixed problem when calling deprecated method. 1999-09-02 22:20:23 +00:00
pavlov%netscape.com 93145abc11 clean up uses of QI and friends to use the macros correctly
clean up resizing and moving code.
wrote initial unix drag and drop code
more good things to come soon.
1999-09-02 21:30:31 +00:00
erik%netscape.com eb74d6a831 Thanks to Sun, we now have input method support (e.g. Japanese keyboard
input) on Unix. Contact erik and/or tague if there are any problems.
1999-09-02 21:26:40 +00:00
kipp%netscape.com a99f5ec06a Use nsAutoString instead of nsString for temps 1999-09-02 18:13:07 +00:00
rickg%netscape.com 04ae16b6b0 trying to clear dependency build problem 1999-09-02 09:32:40 +00:00
pinkerton%netscape.com 69d64c3a85 try not to copy the data so much. still working on this. 1999-09-02 06:57:38 +00:00
pinkerton%netscape.com 1c74e883e1 fix it so that we still get default drag rectangle when there is no region passed in. 1999-09-02 06:52:54 +00:00
danm%netscape.com 378fa0edc3 adding nsIDeviceContext::GetClientRect. a:dcone. 1999-09-02 05:37:14 +00:00
pavlov%netscape.com fe64a5b42a stub out current api 1999-09-02 04:38:11 +00:00
ramiro%netscape.com 59631f35a1 Fix licensing dumbness which I cut-n-pasted before. Silence debug noise
in non debug builds.
1999-09-02 03:25:31 +00:00
Jerry.Kirk%Nexwarecorp.com 24e2be9ec5 Removed PR_LOG Hack that was keeping us from linking correctly. 1999-09-02 01:04:14 +00:00
Jerry.Kirk%Nexwarecorp.com 4e731e57e5 Make the Photon timer safer so it doesn't give an error if its destroyed
before its used or multiple times. Also takes care of problem:

"Assertion: "Time to next timeout func is null." (nsnull != sFunc) at
 file nsAppShell.cpp, line 117"  as seen at the start of apprunner.
1999-09-02 00:59:06 +00:00
sdagley%netscape.com f42377a8fc Need InternetConfig lib for future Mac file widget work. Adding now so I don't have to keep updating the project. 1999-09-01 23:53:19 +00:00
sfraser%netscape.com 5d022396fd Use an empty pascal string for the menu name. 1999-09-01 22:06:01 +00:00
sfraser%netscape.com 8ac77ab75a Make sure we lock the MDEF handle, otherwise all hell breaks loose. 1999-09-01 22:05:36 +00:00
saari%netscape.com 0aa0e05e2e MacOS fix for 5562; menus should update their titles now 1999-09-01 20:57:39 +00:00
dcone%netscape.com a18edf0c1d Fixed the NS_DIALOG_CID problem 1999-09-01 20:33:07 +00:00
tague%netscape.com 27e99c527e Fixed NS_OK direct comparisons. 1999-09-01 20:19:47 +00:00
pinkerton%netscape.com e1a3608eb5 new clipboard apis and trying to reduce the number of copies we do in clipboard/d&d code. 1999-09-01 20:14:48 +00:00
dcone%netscape.com 247169c62e Added 2 CID's NS_POPUP_CID and NS_DIALOG_CID 1999-09-01 19:57:23 +00:00
akkana%netscape.com 6d7fb057ef control as well as alt events should return lower-case if shift isn't pressed 1999-09-01 19:56:35 +00:00
ramiro%netscape.com 4a4f5c85e2 add stubs for that evil bastard saari 1999-09-01 11:48:39 +00:00
Jerry.Kirk%Nexwarecorp.com 7a7bc3dce3 Added SetEnabled Method stub. 1999-09-01 11:46:25 +00:00
saari%netscape.com a4835fb7cd Changes to allow menus to enable and disable. This should only be run on MacOS, but nsIMenu::SetEnable(PRBool) was added to all platforms. 1999-09-01 08:40:18 +00:00
saari%netscape.com c01eb0253d Changing Mac Help menu to be non-dynamic to prevent crashing on some machines. Got permission from sdagley 1999-09-01 03:26:03 +00:00
cyeh%netscape.com 26effbde96 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:13:14 +00:00
ramiro%netscape.com eadd4f2d2b Removed bogus assertions. 1999-08-31 14:36:53 +00:00
rods%netscape.com 277cdad0ed changed the passing of the virtual key code from a zero to what is passed in 1999-08-31 13:36:40 +00:00
tague%netscape.com d22744e0e1 Added support for a reply from the StartComposition message. Necessary for XIM support on UNIX. 1999-08-31 01:20:32 +00:00
pinkerton%netscape.com 86c9ab2de7 using new nsIScriptableRegion interface. 1999-08-30 21:54:33 +00:00
pinkerton%netscape.com a23b74b3b1 lowecased to match JS syntax. using new nsIScriptableRegion interface. 1999-08-30 21:54:23 +00:00
shawnp%earthling.net 6e9df6bcb1 Now set the title of the window properly. Now pass the correct parameters
into bitBlt() to handle partial repainting requests.
1999-08-30 02:59:54 +00:00
shawnp%earthling.net 5d0904a087 Now implement WidgetToScreen() and ScreenToWidget(). Now resize the QPixmap
associated with a widget in Resize() as well as the widget. OnResize() now
passes the correct size parameters to DispatchWindowEvent(). No longer
erase the widget when repainting it. Added code that gets animated gifs
going, but at too high a price for other web pages - so it's currently
commented out until I find a better solution. Added more code to output
logging info.
1999-08-30 02:57:46 +00:00
shawnp%earthling.net 06dea018ae Disabled code that was trying to outsmart the painting mechanism. Added
code in SetSelection() to handle the case where the caller wants to clear
the selection.
1999-08-30 02:47:25 +00:00
shawnp%earthling.net 2de60cfbd6 Removed AdjustScrollBarPosition() function. 1999-08-30 02:45:47 +00:00
shawnp%earthling.net f16ffb661a Now listen for the valueChanged() signal from Qt so that we don't have an
echoing effect dealing with scrolling. Removed AdjustScrollBarPosition()
function. Adjusted the value that is given to Qt as the maximum scroll
position - I now discount the thumb size.
1999-08-30 02:45:04 +00:00
shawnp%earthling.net 7b644ad1f0 nsQRadioButton now uses nsQEventHandler event handling. Added debugging
code to make sure that radio buttons actually work as they're supposed to.
1999-08-30 02:41:52 +00:00
shawnp%earthling.net b9b1cd0a4f Added MouseMovedEvent(), KeyPressEvent(), KeyReleaseEvent() and GetNSKey()
functions.
1999-08-30 02:39:42 +00:00
shawnp%earthling.net 29bd99b051 Now catch MouseMove, KeyPress and KeyRelease events. Cleaned up the
handling of mouse press and release events. Added GetNSKey() function.
1999-08-30 02:38:38 +00:00
shawnp%earthling.net 6fedd73ad2 Corrected comments and improved logging output. 1999-08-30 02:31:34 +00:00
shawnp%earthling.net eeb2c1f237 Removed unneeded member variable. 1999-08-30 02:30:47 +00:00
shawnp%earthling.net 218ae44301 Don't need to free the QStyle (it's freed by QApplication). 1999-08-30 02:30:21 +00:00
blizzard%redhat.com 50678acf82 get rid of the focus madness. start tracking focus virtually instead of dealing with X's completely broken focus handling. 1999-08-30 00:38:35 +00:00
bruce%cybersight.com 6b8a763887 Init refcnt. 1999-08-29 11:10:31 +00:00