Commit Graph

880 Commits

Author SHA1 Message Date
ramiro
271e289e0c Change the logic of the || operators. This fixes a problem where the
bookmark window was asserting for no reason.
Thanks to Andrew Veliath <andrewtv@usa.net>
1998-05-26 12:15:44 +00:00
ramiro
e5809132df In mozilla.c it says that XFE_InitDNS_Early is called before NSPR, etc.; but
the LOG macro calls PR_smprintf which fires up NSPR.    Use fprintf instead
of LOG() for this case.
Thanks to tenthumbs@cybernex.net.
1998-05-26 11:08:10 +00:00
ramiro
799191354f Mozilla crashed after visiting a page with plugin. This is caused
by an access to a NULL pointer (plugin->handle).
Thanks to weitsang@yahoo.com
Fixes bugzilla #409.
1998-05-26 10:58:59 +00:00
briano
61ae0639a8 Fixing the SCO OpenServer builds. Need to define _SVID3 in this special case so including statvfs.h will give us what we need. Anyone want to volunteer a more elegant solution? Approved by ramiro@netscape.com. 1998-05-23 03:46:19 +00:00
hardts
d9c700cb8b land XPCOM_BRANCH 1998-05-22 21:55:49 +00:00
slamm
8602d9867f Fix crash on bringing up second NavCenter. 1998-05-22 17:15:03 +00:00
ramiro
47f5a571b5 Fix a dyslexic typo. Geez, how long was this here for ? 1998-05-22 06:52:57 +00:00
ramiro
4cb2e40aa6 Add initial support for layable children resource. 1998-05-22 06:50:41 +00:00
toshok
6625b23211 fix the bug where form reset with textarea's would segfault. just cut-n-pasted one line from the text input element's reset method. 1998-05-21 07:18:51 +00:00
slamm
ffd7ba4873 Fix Mozilla bug #385. Global history file would not get recreated if it was deleted. Thanks to Ronan Waide <waider@cognotec.com> for reporting the problem and developing a patch. 1998-05-21 01:39:25 +00:00
slamm
9b09aaf8dd Use the winning animation from the Mozilla Logo Contest. Congratulations go to Urs Streidl <urs@gigaperls.org>. 1998-05-20 23:33:44 +00:00
scullin
caa794ae2b Moved cvactive.h from include to network/cnvts 1998-05-19 00:07:47 +00:00
toshok
448e297c63 this change may look like a lot, but it's really only one line. the rest is formatting. at any rate, this fixes the problem where the underlines were drawn at places other than the proper place for links. 1998-05-18 20:42:30 +00:00
toshok
5b12e2dbf7 Fix bugzilla entries 134 (javascript crashing setting text in textarea) and 346 (missing & in call to fe_convertToXmString) thanks to waider@waider.ie (Ronan Waide) for the fixes. 1998-05-18 18:28:55 +00:00
ramiro
4a3029301d Add support for dropping to toolbox tabs. 1998-05-15 14:32:43 +00:00
ramiro
43071cc7a5 Add XfeTabDrawRaised(). 1998-05-15 14:14:17 +00:00
ramiro
19868a15c8 Add XfeToolBarGetFirstItem(). 1998-05-15 13:30:24 +00:00
ramiro
afe766bcf9 Use a define instead of a hard coded '-1' constant. 1998-05-15 11:37:38 +00:00
ramiro
b834e51067 Remove dead code. 1998-05-15 11:32:28 +00:00
ramiro
643dba7680 Add icon to indicator if needed. 1998-05-15 11:23:24 +00:00
ramiro
c9ae415b14 Add a check for a NULL str before passing it to strcmp().
Otherwise, Linux and possibly other platforms with strict strcmp()
implementations will crash when the plugin list is NULL.  Thanks to
pollmann@netscape.com.
1998-05-15 11:21:09 +00:00
ramiro
4f6c1e3cc1 Take out row column assertion. Any manager can be a parent of this widget.
Thanks to Dirk Laessig <d.laessig@tu-bs.de>
1998-05-15 10:01:57 +00:00
ramiro
643383c02a Dont move dead widgets.
Thanks to Dirk Laessig <d.laessig@tu-bs.de>
1998-05-15 10:01:54 +00:00
spence
a375745066 correctly set position for shack elements 1998-05-15 01:15:01 +00:00
spence
0d927d2a5f improve shack widget mgmt 1998-05-15 00:13:57 +00:00
spence
ab10fef87d xfe shack changes 1998-05-14 23:43:26 +00:00
slamm
b49f293596 Make page proxy hot spot fit the icon. 1998-05-14 20:32:03 +00:00
ramiro
9e6979e082 TASKBAR define should be MOZ_TASKBAR. 1998-05-14 09:18:26 +00:00
montulli
99121c4c00 use network dir instead of libnet 1998-05-11 22:07:07 +00:00
ftang
9e66c329d9 Add Armenian XFE support. thanks for Hovik Melikyan from hovik@undp.am 1998-05-11 16:49:30 +00:00
radha
715d468d91 Checkin for fix 104761. If the target window has a context associated with it, use it.
Fix was originally provided by toshok.
1998-05-08 19:24:28 +00:00
ramiro
2bebc6d333 Fix build problem reported by avogel@bdm.com (Andy Vogel). The PopupCommand
class defined in 2 different *.cpp files and was confusing thr dgux linker.
Add {Rdf,Editor} prefix to PopupCommand class to avoid ambiguity.
1998-05-06 17:49:57 +00:00
ramiro
18be686676 Move the bookmark widgets to their own library. Componetize things a bit.
Should make it easier to completely bypass these widgets if needed - as
will probably be the case for lite browsers and "motifs" that break cause
of them.
1998-05-06 17:36:34 +00:00
ramiro
0584498484 Add .cvsignore for xfe 1998-05-06 16:46:53 +00:00
mcafee
ccba69ba83 Comment about moz-export 1998-05-04 07:03:58 +00:00
ramiro
ade764f12e add missing -lXmu on irix and solaris 1998-05-03 12:26:58 +00:00
ramiro
25729ecfdc comment out gcc-ism 1998-05-03 12:26:08 +00:00
ramiro
b1bcb6d56d Add comments describing the makefiles. Dont force the initial value of
XFE_{SHARED,STATIC}_LIBS.
1998-05-03 12:10:33 +00:00
ramiro
d724bee220 move XfeWidgets tests to their own directory 1998-05-03 11:59:23 +00:00
ramiro
c01c75fdc3 add XmL tests 1998-05-03 11:52:01 +00:00
ramiro
42d44aac7b remove ad2c from a hardcoded location 1998-05-03 11:49:36 +00:00
ramiro
95cc9a03e4 add ad2c in a shared location 1998-05-03 11:49:07 +00:00
ramiro
2a60b82f0f Simplify the tests Makefil. Move all the defines and rules to a shared
makefile that can be included from different dirs.  Make creating tests in
subdirectories that depend on different libraries a lot easier and cleaner.
1998-05-03 11:48:15 +00:00
ramiro
4ead33e036 Update for edit support. 1998-05-03 11:47:01 +00:00
ramiro
4c3f9250dd Make sure the client can properly link with motif 2.1 and gnu libc2 on
linux.  Also link with libBrokenLocale.so since locale support in
motif 2.1 with GLIBC is currently broken.
1998-05-03 06:36:27 +00:00
radha
c830d1d270 Fix for bug 107058. Increase the size of the executable name holder in
fe_showConference() from 32 to 1024 so that conference can be loaded
successfully.
1998-05-01 23:52:12 +00:00
ftang
664708bdb4 Add mapping for windows-1251 fon 1998-05-01 21:41:12 +00:00
ftang
8dd7624bd3 Check in locale independent form select/button handling change Approvaled by XFE owner 1998-05-01 21:40:38 +00:00
ramiro
a0a877255e Add an extra sanity check on the children argument. 1998-04-30 01:48:30 +00:00
ramiro
90db4943dc Fix crash on startup in mozilla Personal Toolbar. Make the recursive
children killing function more robust.
1998-04-30 01:39:28 +00:00
ramiro
4078c9b767 The reallyUpdateRoot() call seems to be crashing the browser for some people.
I cannot reproduce the problem yet.  Im working on finding a real solution,
but I dont want the browser to crash on startup on the next mozilla release,
so im commenting it out.
1998-04-29 14:45:52 +00:00
ramiro
1882a496df Dont update the menu accent if the widget is dead. Fixes core dump in
Mozilla that occurs on filing of bookmarks.
1998-04-29 11:14:05 +00:00
jsw
9b3ffd32e8 get the damn function name right 1998-04-29 08:38:27 +00:00
ftang
cb11eb36b9 Check in additional KOI8-R font registry name. Thanks for
sorlov@con.mcst.ru
from the net
1998-04-29 00:56:23 +00:00
slamm
8154a8030f Fix shutdown bug. Set NavCenter to really close, not just hide. This fixes the problem where you are unable to exit after opening NavCenter. 1998-04-28 21:04:36 +00:00
slamm
6919c23c56 Add a few more EDITOR ifdefs 1998-04-28 20:59:01 +00:00
jsw
7bdfd53011 move xp_sec to secnav 1998-04-28 05:13:41 +00:00
ramiro
a3af594e82 Unhardcode the motif lib on x86 linux. Replace /usr/X11R6/lib/libXm.a
with -L/usr/X11R6/lib -lXm.
1998-04-28 01:22:18 +00:00
ramiro
731ca7f0a1 Add void to baggage prototypes. Fix from derkjan@reli.student.utwente.nl
(Derkjan de Haan) to make mozilla build with egcs.
1998-04-28 00:28:04 +00:00
slamm
f95329aca1 Remove some unused code including old-style command handling. Examples of the new command handling can be seen in EditorView.cpp and RDFView.cpp 1998-04-24 22:33:18 +00:00
slamm
54c27f7fe2 Add beginnings of context menu support 1998-04-24 22:26:55 +00:00
slamm
a15c2ac09b Fix attachments and specify resources to make it look better. The resources can later be moved down to xfe/resources 1998-04-24 22:26:29 +00:00
slamm
5fe8450fa8 Minor logic fix. 1998-04-24 22:23:13 +00:00
ramiro
2fedc0af97 Add preliminary support for editting items in toolbars. 1998-04-24 12:43:28 +00:00
ramiro
6b5de30de6 Cleanup string utils. 1998-04-24 12:34:16 +00:00
ramiro
0adf14224b Add one more personal toolbar command: xfeCmdPersonalToolbarItemProperties. 1998-04-24 11:49:20 +00:00
ramiro
0c5280372a Add personal toolbar commands. 1998-04-24 11:44:28 +00:00
ramiro
f884eccd2b Cleanup the toggleShowingState() and setShowingState() madness. These
XFE_Component methods can be used instead of various other toggle/hide/show
hacks.
1998-04-24 11:41:36 +00:00
ramiro
98c1b7d918 Add support ffor dynamic indicators. 1998-04-24 06:57:18 +00:00
ramiro
c6847d61c3 Add support for dynamic indicators. 1998-04-24 06:47:37 +00:00
ramiro
89ab44eb03 Always insert private components at end of widget list. 1998-04-24 06:44:28 +00:00
slamm
cd231647d6 Change NavCenter (aka Aurora) to use the XmLTree instead
of the Outliner class.  This will be cleaner in the end and will give
us an easy way to do dynamic columns.
1998-04-23 01:29:34 +00:00
slamm
03e5c90207 Add a new horizontalSizePolicy, XmRESIZE_IF_POSSIBLE.
This resizes the columns to make the fit in the available widget width
without scrollbars.  This is made possible by a new function,
SizeColumnsToFit(), which is adapted from Outliner.cpp:applyDelta().
Also add a resource for minColumnWidth.
1998-04-23 01:29:30 +00:00
slamm
03d180937e Fix print remote to take file argument. 1998-04-23 01:29:26 +00:00
ramiro
78b4db3cce Move headers from unused to used. 1998-04-22 23:48:50 +00:00
ramiro
1b54eda150 Make sure the indicator widget is always at the WidgetList tail. 1998-04-21 19:11:20 +00:00
ramiro
19d9803131 Prevent toolbars from screwing with private XfeManager components. 1998-04-21 18:14:13 +00:00
ramiro
b49bcefbdc Add XfeIsPrivateComponent().
Test whether a widget is a private component of an XfeManager parent.
1998-04-21 17:57:20 +00:00
ramiro
0a04e4182e New and improved filing of bookmarks to Personal Toolbar. 1998-04-21 16:18:00 +00:00
ramiro
5b4bc81397 Move fe_DestroyWidgetTree() to XfeWidgets/MenuUtils.c as
XfeDestroyMenuWidgetTree().  Make it safe for killing private components.
1998-04-21 15:52:01 +00:00
ramiro
c0f7f90f73 Make it more paranoid. 1998-04-21 15:25:45 +00:00
ramiro
ba7b80b3b7 Add XfeDestroyMenuWidgetTree(). 1998-04-21 15:24:01 +00:00
ramiro
f65b3df79d Handle bogus input for XfeCascadeGetSubMenu(). 1998-04-21 14:55:16 +00:00
ramiro
4c4cb0b654 Add XfeToolBarGetLastItem(). 1998-04-21 13:29:37 +00:00
ramiro
0f3d2587ce Removed unused combobox dir and define. 1998-04-21 12:46:48 +00:00
ramiro
c4527bff27 Update for indicator support. Dont hardcode button layout. 1998-04-21 12:41:46 +00:00
ramiro
e8e4c884ed Dont hardcode button layout in XfeCreateLoadedToolBar. Update Makefile for
XfeWidgets.mk.
1998-04-21 12:39:49 +00:00
ramiro
e8cb38425e Improve the indicator support. 1998-04-21 12:38:44 +00:00
ramiro
e8c118a6e8 Un hard code /usr/lib/libm.a. Replace with -lm. (Linux) 1998-04-21 00:52:35 +00:00
ramiro
a3e177c480 Update to 1998. 1998-04-21 00:51:45 +00:00
ramiro
56af2384ea Un hardcode XmINDICATOR_DONT_SHOW. 1998-04-19 17:36:48 +00:00
ramiro
9be0d034aa Fix typos. 1998-04-19 16:15:00 +00:00
ramiro
0fb9908ec6 Update for new XmNindicatorPosition resource. 1998-04-19 16:14:30 +00:00
ramiro
39a525a180 Add XmNindicatorPosition resource. For toolbar dropping fedback. 1998-04-19 16:13:54 +00:00
ramiro
741a847cdb Add XmNnumPrivateComponents resource. 1998-04-19 16:12:26 +00:00
ramiro
82dfe24654 Fix a core dump on resizing the toolbox. The problem was a recursive geometry
call into PreferredGeometry().  Fixed by plugin in the trivial geomtry manager
instead of the one that does complicated things.
1998-04-19 11:20:17 +00:00
ramiro
7b58e6bf76 Add some geometry debugging assertions and comments. 1998-04-19 11:16:43 +00:00
ftang
ed00822b6a add big5 and gb2312 charset name for free font found at ifcss.org site 1998-04-17 02:56:00 +00:00
ramiro
16fdfe3078 Add a makefile that actualy works. Update tree4.c for slamm's
XmLTreeDeleteChildren() improvement.
Coded by slamm@netscape.com.
1998-04-15 09:19:34 +00:00
ramiro
c3bb235f20 Fix problem in grid delete callback. It didn't set the row or column
position.  Plus, it updated the row/column count before making the callback,
so you could no longer access the userData with XtVaGetValues.

Also add XmLTreeDeleteChildren() to XmLTree.

This code written by Steve Lamm <slamm@netscape.com> and reviewed by
ramiro.
1998-04-15 09:15:00 +00:00
ramiro
14745663aa fix name in comment 1998-04-15 09:10:25 +00:00
ramiro
710feadcdc first checked in 1998-04-15 09:09:52 +00:00
ramiro
d27d96a5d8 Use DLL_SUFFIX from ns/config instead of random hack. 1998-04-15 09:08:25 +00:00
ramiro
51e3cb9f18 Remove unuised XfeToolBoxForm*() hackery. Chrome widget does all the
magic now.
1998-04-15 02:08:30 +00:00
ramiro
5de51ecf40 The Great Chrome Rewrite of 1998. Use a chrome manager instead of
doAttachments().  Fixes numerous toolbox bugs and completely simplifies
the way xfe does chrome.  Reviewed by slamm.
1998-04-15 02:06:22 +00:00
ftang
578f13a015 fix feCharSetInfoArray warnning. Thanks djm@indirect.com (Dan McGuirk) from the net 1998-04-14 19:24:53 +00:00
ramiro
15b49b40e7 Mark the hardcoded geometry as HACKERY. We sill fix this later. Its
important that we get the new chrome mechanism out soon.
1998-04-14 18:26:31 +00:00
ramiro
93822e2607 Make the frame shell dimensions something reasonable for the time being. 1998-04-14 17:01:41 +00:00
slamm
e455e1837b Allocate memory for the url window target because we free it later. Fix from Dan McGuirk <djm@indirect.com>. a=ramiro. 1998-04-14 16:49:20 +00:00
ramiro
d072c0ef4c Update REQUIRES to properly include Microline and XfeWidgets. 1998-04-14 15:03:50 +00:00
ramiro
5530fcc007 Request geometry request when geom flag gets set in the ConstraintSetValues
operation.
1998-04-14 14:59:44 +00:00
ramiro
e5c957357c XfeChrome is now a used widget. 1998-04-14 14:58:51 +00:00
ramiro
a2cff20c63 Add a blurb for previous checkin. 1998-04-14 14:45:39 +00:00
ramiro
7c8cc6ddcb Layout children/components on geometry management. 1998-04-14 14:43:52 +00:00
ramiro
2b932f119c Implement PreferredGeometry(). Add a good GeometryManager(). 1998-04-14 14:43:12 +00:00
ramiro
228fc57db2 Add _XfeLiberalGeometryManager() and _XfeMakeGeometryRequest(). 1998-04-14 10:49:34 +00:00
briano
befbf5c05b Changed the 'MACLINUX' macro reference to 'MKLINUX'. Again. 1998-04-14 00:15:11 +00:00
ramiro
a6c5440cee Add editor back to the preferences and fix the editor startup problem.
Thanks to Dan McGuirk <djm@indirect.com>
1998-04-13 01:30:26 +00:00
ramiro
a98b646759 Dont change the cursor to a watch when space-ing through a document.
thanks to Darrell Kindred <dkindred@cmu.edu>
reviewed by djw@netscape.com.
1998-04-09 02:41:49 +00:00
ramiro
67489b61c3 make sure XmNlist gets defined 1998-04-09 01:47:59 +00:00
ramiro
5cd4167bae Make XfeWidgets and company behave like other modules in the tree. They
now export their headers as all good modules should.
Also, dont build widgets and demos that are not needed.
r=slamm,a=ramiro.
1998-04-08 04:25:42 +00:00
ramiro
d73e263efe Add XmCR_XFE_LAST_REASON marker 1998-04-08 04:23:58 +00:00
ramiro
407097c63c Make the demo widget buildable 1998-04-08 04:23:33 +00:00
ramiro
e2f3546c87 Cleanup prepare macros. Add font list resource callprocs. r=slamm,a=ramiro. 1998-04-08 04:22:56 +00:00
ramiro
00715d578a Add XmNiconSpacing resource. r=slamm,a=ramiro. 1998-04-08 04:21:40 +00:00
ramiro
66bedeb768 Add XmNignorePixmaps resource. r=slamm,a=ramiro 1998-04-08 04:20:39 +00:00
guha
ca6bc6c3d4 XML - dp(for guha) 1998-04-08 04:04:58 +00:00
slamm
b755cd5867 Fix for swaped sorting columns. Had mapped the wrong enumerations to the wrong commands. Fix from Juergen Keil <jk@tools.de>. R&A-ramiro 1998-04-08 00:11:05 +00:00
ltabb
4556a7c89c bump rev to 3.1 1998-03-28 03:38:53 +00:00
ltabb
3b56a9af51 Free the lizard 1998-03-28 02:44:41 +00:00