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

927 Коммитов

Автор SHA1 Сообщение Дата
pinkerton%netscape.com a530a48ff9 fix PRBool and an unwanted assignment in an if(). 1998-12-02 19:48:28 +00:00
dcone%netscape.com 26ca8b6da1 Changed the name so the file can be used on the Mac 1998-12-02 16:06:31 +00:00
pierre%netscape.com 67e6a0fc37 changed eMetric_TextFieldHeight to 16 from 30 1998-12-02 10:15:55 +00:00
pierre%netscape.com aa5b68b953 removed the 2 Resize() methods 1998-12-02 10:15:41 +00:00
pierre%netscape.com 2f80120a28 Update() receives the rendering context as a parameter and passes it to the children 1998-12-02 10:15:22 +00:00
hyatt%netscape.com 4f81d4781a Eliminated my usage of the "mutable" keyword, since VC4.2 chokes on it. 1998-12-02 07:20:39 +00:00
saari%netscape.com 6691a47a01 ---------------------------------------- mozilla/widget/src/mac/nsMacWindow.cpp - Line 112: fixed bug with rect bottom not being set correctly 1998-12-02 02:43:19 +00:00
saari%netscape.com 1bbd74bf37 This is the first in what will probably be a series of checkins addressing rendering on the Mac. Changed files: ---------------------------------------- mozilla/gfx/src/mac/nsRenderingContextMac.h mozilla/gfx/src/mac/nsRenderingContextMac.cpp - Major changes to the Mac rendering context implementation. nsRenderingContextMac now keeps the majority of its state in a GraphicsState object, not in member variables. Setting ports and origins is now a more tightly controlled process. Offscreen buffers don't work correctly yet. To Do: - Remove ::SetOrigin calls from most nsRenderingContextMac drawing methods - Some old variables need to be fully obsoleted - Offscreen GWorlds currently do not work correctly. This will be addressed shortly. ---------------------------------------- mozilla/widget/src/mac/nsMacWindow.cpp - Line 112: fixed bug with rect bottom not being set correctly ---------------------------------------- mozilla/widget/public/nsIWidget.h - Added some more #defines for GetNativeData. I don't like this and want to remove them ASAP. /\/\/\/\/\//\ mozilla/widget/src/mac/nsWindow.h mozilla/widget/src/mac/nsWindow.cpp - Added mMacPortRelativeRegion ---------------------------------------- mozilla/widget/src/mac/nsScrollbar.cpp - Support the new nsWindow constructs ---------------------------------------- 1998-12-02 02:42:19 +00:00
saari%netscape.com 6091559407 This is the first in what will probably be a series of checkins addressing rendering on the Mac. Changed files: ---------------------------------------- mozilla/gfx/src/mac/nsRenderingContextMac.h mozilla/gfx/src/mac/nsRenderingContextMac.cpp - Major changes to the Mac rendering context implementation. nsRenderingContextMac now keeps the majority of its state in a GraphicsState object, not in member variables. Setting ports and origins is now a more tightly controlled process. Offscreen buffers don't work correctly yet. To Do: - Remove ::SetOrigin calls from most nsRenderingContextMac drawing methods - Some old variables need to be fully obsoleted - Offscreen GWorlds currently do not work correctly. This will be addressed shortly. ---------------------------------------- mozilla/widget/src/mac/nsMacWindow.cpp - Line 112: fixed bug with rect bottom not being set correctly ---------------------------------------- mozilla/widget/public/nsIWidget.h - Added some more #defines for GetNativeData. I don't like this and want to remove them ASAP. /\/\/\/\/\//\ mozilla/widget/src/mac/nsWindow.h mozilla/widget/src/mac/nsWindow.cpp - Added mMacPortRelativeRegion ---------------------------------------- mozilla/widget/src/mac/nsScrollbar.cpp - Support the new nsWindow constructs ---------------------------------------- 1998-12-02 02:26:08 +00:00
hyatt%netscape.com 748accd789 Fixing the widget factory for tree views. 1998-12-02 01:45:15 +00:00
hyatt%netscape.com a1d435f489 Fixing the widget factory for the tree view. 1998-12-02 01:44:53 +00:00
hyatt%netscape.com d973cca63c The tree view interface. 1998-12-02 01:44:24 +00:00
hyatt%netscape.com eea32baf14 Initial checkin of the tree widget and the data model architecture (that will
be used for toolbars and trees).
1998-12-02 01:43:26 +00:00
hyatt%netscape.com 6ba325dd88 Deletion of outdated tree widget and toolbar interfaces and updating of
the appropriate makefiles.
1998-12-02 01:38:54 +00:00
beard%netscape.com c504261ae7 Moved to shared libraries, building in mozilla/dist, linking against many fewer libraries. 1998-12-01 22:25:36 +00:00
mjudge%netscape.com 46a8b56138 fix for mac no ')' 1998-12-01 21:39:13 +00:00
mjudge%netscape.com 076c10919b didnt check in the one file i needed!! not my day 1998-12-01 21:04:33 +00:00
mjudge%netscape.com b52a87e5f8 fixing mac build bustages 1998-12-01 20:58:53 +00:00
mjudge%netscape.com d6fc29ce6a casting like mad 1998-12-01 20:56:29 +00:00
mjudge%netscape.com d3453f41c2 fixing build bustage! 1998-12-01 20:28:34 +00:00
mjudge%netscape.com dd39138c7f fixing bug in windows code for build 1998-12-01 20:20:40 +00:00
mjudge%netscape.com b29ecad268 fixing mac build bustage 1998-12-01 20:17:01 +00:00
beard%netscape.com 1cc22fb274 Uses shared libraries, targets get built in mozilla/dist/viewer[Debug]. 1998-12-01 20:00:35 +00:00
mjudge%netscape.com ab27bd9d39 fixing tests to use the enumerator correctly 1998-12-01 17:58:50 +00:00
mjudge%netscape.com 43d3cd4a56 fixing enumerator to do the right thing 1998-12-01 17:58:27 +00:00
mjudge%netscape.com 5969fa01ca changes enumerator to do the right thing 1998-12-01 17:58:10 +00:00
beard%netscape.com c0c7bc482d Mac shared library migration. 1998-11-30 22:15:00 +00:00
msw%gimp.org ada6ca7ced Rewrote the resize handler. This fixes the crashes at startup. There are
still conditions to make this go into infinite loop.
All callbacks/event handlers now return proper values.
1998-11-30 05:53:17 +00:00
michaelp%netscape.com 337fdd7b1a fixed resource leak. 1998-11-28 04:24:15 +00:00
michaelp%netscape.com 6458aae507 added missing NS_INIT_REFCNT(). 1998-11-28 04:21:40 +00:00
shaver%netscape.com b1bc8c407e revert pavlov's changes at his request 1998-11-25 17:50:35 +00:00
pavlov%pavlov.net 2eefc27dbf remove my last commit. these caused more bugs than they were intended to
catch
1998-11-25 12:51:53 +00:00
kipp%netscape.com 0b34fa58c9 Fixed compilation bug with method signature not matching baseclass method 1998-11-25 04:14:55 +00:00
pavlov%pavlov.net c73b9d994a updated gtklayout code. Added lots of assertions to the widget code 1998-11-25 02:34:40 +00:00
rods%netscape.com b05e123c34 Added paint method for printing (and possible future owner draw) 1998-11-24 14:57:09 +00:00
joki%netscape.com 16d400d1bf Add keypress event type to nsGUIEvent 1998-11-24 07:45:26 +00:00
pavlov%pavlov.net 4b088bfcea import of new gtk code by Owen Taylor <otaylor@redhat.com>. This code should
support GTK_NO_WINDOW widgets now.
1998-11-24 02:06:29 +00:00
pavlov%pavlov.net 63d7de7066 remove shadow from menubar to provide a consistant look. 1998-11-23 23:41:47 +00:00
rpotts%netscape.com 3dd54dd7bb Add a missing NS_RELEASE(...) for a QI(...) 1998-11-22 09:27:30 +00:00
pavlov%pavlov.net b57394f76f fix transparent icons and flipped the nscolor to gdkcolor R and B colors 1998-11-22 04:43:24 +00:00
pavlov%pavlov.net 5cf32dcba0 Setup the X hints for when mozilla is minimized. Added icon. 1998-11-21 21:49:17 +00:00
cyeh%netscape.com 65038e9551 Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.
1998-11-21 00:34:32 +00:00
pavlov%pavlov.net 17ead6a5c6 small bug fix. 1998-11-20 04:42:03 +00:00
pavlov%pavlov.net fcfddbd59f initial files for the tab widget 1998-11-20 04:27:32 +00:00
saari%netscape.com 19c5ad3406 Just a comment on nsWindow's mBounds member 1998-11-20 01:10:44 +00:00
pinkerton%netscape.com feabe7080f Added SetCursor() override so that we will change the cursor when layout tells us. 1998-11-19 21:54:35 +00:00
msw%gimp.org b7e208be32 This is a hack to service the PLEventQueue that nsWebShell posts events to
such as anchor clicking.  This is only a temporary fix.  We need some other
way to do this.
1998-11-19 21:12:02 +00:00
msw%gimp.org aabc8206e0 Implemented the start of the text widget onkey callback. You can now type
URLs in the location field of xpviewer and hit enter.
1998-11-19 05:33:13 +00:00
joki%netscape.com 77fd9c2652 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
pavlov%pavlov.net b08b22d323 made the gdkcolor to nscolor code a tad cleaner. removed the
gtk_layout_freeze and gtk_layout_thaw calls as the object being resized was
not always a layout.
1998-11-18 03:58:54 +00:00
jfrancis%netscape.com 150af5ea50 more shared lib conversion work. 1998-11-18 02:44:02 +00:00
jfrancis%netscape.com cd1419e599 more shared lib conversion work 1998-11-18 02:43:45 +00:00
jfrancis%netscape.com f6a60f606a shared lib conversion, phase 1 1998-11-18 00:55:05 +00:00
jfrancis%netscape.com 4b6357d0df First Checked In. 1998-11-18 00:54:26 +00:00
pinkerton%netscape.com 6b9ba62564 Don't use screenbits.bounds for determining constraints on moving or growing windows. Use bounding rect of GetGrayRgn(). 1998-11-18 00:46:22 +00:00
pinkerton%netscape.com 3441cc43d6 Added comments that these are the default implementations and that they can (and should) be replaced by embedding applications. 1998-11-17 17:34:47 +00:00
pinkerton%netscape.com 03125acd0c since nsMacMessagePump is back (as a default imp), export it as well. 1998-11-17 17:22:05 +00:00
pinkerton%netscape.com 83a64aac74 Move default imps of AppShell and MessagePump back into widget. Clients may still provide their own. 1998-11-17 17:20:06 +00:00
pinkerton%netscape.com e019f297bb First Checked In. 1998-11-17 17:19:01 +00:00
msw%gimp.org 0f07dff43c Implemented Invalidate class members, reverted Resize funkiness 1998-11-17 05:57:27 +00:00
jfrancis%netscape.com 798674dd4a Shared Lib conversion 1998-11-17 05:37:42 +00:00
msw%gimp.org b9efc8615c Resizes are faster, deleted old Motif code in nsWindow::Scroll 1998-11-17 01:30:27 +00:00
pinkerton%netscape.com 75adbe82f7 fix in SupportsNativeWidgets() to draw so we can continue working, but things are not fixed for real. Read the comment in that method for more details. 1998-11-17 01:08:01 +00:00
rods%netscape.com 3ab253fc87 Added checks for null objects so printing would work. 1998-11-16 22:18:30 +00:00
hyatt%netscape.com ec9902304f Tweaking interfaces to move some functionality out of the treedatamodel and into the base. 1998-11-16 20:53:27 +00:00
hyatt%netscape.com 23413a2894 Added SetOpenState. 1998-11-16 20:11:06 +00:00
pinkerton%netscape.com e7bbdc3354 Turn on debugging info for message sink and text area cpp files. 1998-11-16 18:45:30 +00:00
beard%netscape.com a4f8f936e9 Added ConvertToLocalCoordinates, WindowToLocalCoordinate for converting from window (device) coordinates to widget coordinates. Moved some calls from Destroy to the destructor to deal with a refcounting bug. 1998-11-15 23:31:37 +00:00
beard%netscape.com 468bed8b7c Added ConvertToLocalCoordinates, WindowToLocalCoordinate for converting from window (device) coordinates to widget coordinates. 1998-11-15 23:30:19 +00:00
pavlov%pavlov.net cd756a5873 removed unused files 1998-11-15 22:27:32 +00:00
beard%netscape.com 2395b90562 Fixed SetThumbSize to not crash when mContext == NULL. 1998-11-15 21:58:09 +00:00
beard%netscape.com b78b9df184 Changed COLOR8TOCOLOR16 to an inline function that simply returns (color8 << 8) | color8. This properly maps 0xFF to 0xFFFF, etc. 1998-11-15 21:56:40 +00:00
pavlov%pavlov.net 9c932f10f0 removed lots of printf's that were no longer needed 1998-11-15 19:32:36 +00:00
pavlov%pavlov.net 6a78ddfb2c more work on the resizing. this works a tad better 1998-11-15 18:59:09 +00:00
pavlov%pavlov.net 15a87bb4f4 Initial work on resizing. This works somewhat 1998-11-15 18:28:16 +00:00
msw%gimp.org ce8640cd4f Oops - scrolling was set up backwards. 1998-11-15 17:30:31 +00:00
pavlov%pavlov.net 40b7030271 Impliment the key press events 1998-11-15 07:38:43 +00:00
msw%gimp.org ee9e2e7e0d Initial scrolling support - it's jumpy, but it works 1998-11-15 07:24:57 +00:00
pavlov%pavlov.net f52a3251b8 add and remove items correctly. this fixes crashes on pages with comboboxes 1998-11-15 06:22:03 +00:00
pavlov%pavlov.net 311fa18fc8 use gtk styles for the look and feel. this makes everything look much more
together.  use the correct window when we create the GC for nsWidgets, and
move one of the callbacks into the correct place.
1998-11-14 21:08:27 +00:00
pavlov%pavlov.net aa71fe03bd use the gdkrgb colormap/visual for the widget creation. put nscoord() around
two doubles in nsGtkEventHandler to fix a compiler warning.  call gdk_rgb_init
in nsAppShell and not in the gfx stuff multiple times
1998-11-14 19:40:31 +00:00
pavlov%pavlov.net 64f20c0083 fix for removing children, add gtk_exit() to the exit call of nsAppShell and
redid a few move functions
1998-11-14 02:15:06 +00:00
michaelp%netscape.com b731d5dc2c changes to support printing architecture and actual printing under windows. 1998-11-14 02:05:13 +00:00
pavlov%pavlov.net fbe9c5461a fix gtklayout so that it removes children properly. add a few more debugging
messages to nsWidget and nsWindow
1998-11-14 01:42:42 +00:00
pavlov%pavlov.net 6bc7fc2e02 Fix gtklayout child sizing problems, add gtk_widget_set_name to all of the
widgets for a bunch of debugging into that is being printf'd.  Fixed most all
of nsListBox so that it works correctly.  We now have widgets working! yippie!
I almost have gfx working too... heehee :-)
1998-11-13 16:37:03 +00:00
akkana%netscape.com 17fcf4b232 Fix more build bustage (IRIX) 1998-11-13 02:12:55 +00:00
akkana%netscape.com 25fac01ed2 Define gAppContext -- fix crash on startup 1998-11-13 00:23:16 +00:00
shaver%netscape.com 0b3a802ec5 add proper QI and Create calls for RO text widget 1998-11-12 23:54:34 +00:00
pinkerton%netscape.com 0ed71f1c71 Replacing message pump with message sink. The pump is "client" code and has been moved out there to better separate the event handling. 1998-11-12 21:25:26 +00:00
pinkerton%netscape.com 8af57bf976 Separate the event loop in the client from the nglayout/widget provided code. Now creates a message pump (client side) and a message sink (nglayout side) for event handling. 1998-11-12 21:24:16 +00:00
pinkerton%netscape.com b3af37fea6 export nsMacMessageSink instead to separate the client from the internals of the event loop. 1998-11-12 21:23:02 +00:00
pinkerton%netscape.com eb064c927c Moved into viewer, since these are "client" routines and don't belong under
Widget.
1998-11-12 21:22:24 +00:00
pinkerton%netscape.com 73e3f11c22 First Checked In. 1998-11-12 21:20:36 +00:00
alecf%netscape.com 422187a877 fix Solaris/gcc bustage 1998-11-12 19:19:09 +00:00
pinkerton%netscape.com 29bed225ad Use the correct prefix files to pick up all our settings. 1998-11-12 06:00:05 +00:00
pinkerton%netscape.com 1c038ee24d Added specific mac toolbox include files (and helper macros) not covered in the widget prefix file. 1998-11-12 05:59:31 +00:00
pinkerton%netscape.com 4de682c0ce First Checked In. 1998-11-12 05:57:33 +00:00
waterson%netscape.com 0de40c76c3 Added forward decl of nsIDMItem. 1998-11-12 02:11:07 +00:00
hyatt%netscape.com 57a1394928 Added a method for counting columns in the tree. 1998-11-12 01:03:25 +00:00
hyatt%netscape.com 05d245d2d1 Added initializers to the DataModel. Changed the interface hierarchy
again (after much debate).
1998-11-12 00:02:26 +00:00