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

271 Коммитов

Автор SHA1 Сообщение Дата
ramiro 78af1b7a6e Make the Navigation center mroe useable. Allow the user to resize it. 1998-06-04 09:04:36 +00:00
ramiro 17421de602 Comment out a printf. 1998-06-04 08:51:10 +00:00
ramiro 3ca033e573 Allow XmNpaneChildType to be changed. So that panes can swap children
on the fly.
1998-06-04 08:50:26 +00:00
ramiro 44bf1c9f54 Dont redefine _XfeSwap(). 1998-06-04 08:49:52 +00:00
ramiro b48f2c8b4d Use _XfeGetValuesCastAndAssign(). 1998-06-04 08:49:17 +00:00
ramiro b2a4135f74 Fix problems (like core dumps) with static strings. Use malloc instead. 1998-06-04 08:48:30 +00:00
ramiro 8eec034d0a Add _XfeGetValuesCastAndAssign() and _XfeSwap(). 1998-06-04 08:47:34 +00:00
slamm 6762a9b0e1 Tie selections to the rdf backend and hookup the context menu 1998-06-03 21:50:55 +00:00
slamm 90cc2d4550 Split the XFE_PopupMenu class into two classes. This way we can derive XFE_SimplePopupMenu that does not depend on the XFE command system. 1998-06-03 21:50:52 +00:00
slamm ef57960f31 Add support for popup menus. 1998-06-03 21:50:48 +00:00
slamm 3f8f7f30d5 Fix visual problem on solaris. Thanks to Juergen Keil <jk@tools.de> for the patch. 1998-06-03 21:42:48 +00:00
jgellman 3eed711ae4 merge from OJI branch 1998-06-03 00:37:20 +00:00
scullin 7330e55193 Add libmimetype.a 1998-06-02 01:44:27 +00:00
mcafee 7cf9a07ac5 XP_FindNameContextInList() can return null if looking for a target of type _new, adding a check for this case (122092) r=toshok, a=chofmann 1998-06-02 00:16:29 +00:00
ramiro 083e48543c Add resources for toolbar toggle behavior. 1998-06-01 23:44:42 +00:00
raman c120a77e7d Added linking of libcaps library as part of MOZ_JAVA build. 1998-06-01 22:10:13 +00:00
ramiro 0be09f87c8 Cleanup menu pane creation code. Use ONE function instead of cut-and-pasting
the code all over.
1998-06-01 11:43:43 +00:00
ramiro 647d8d54b3 Add XfeMenuCreatePulldownPane() and XfeMenuCreateCascadeItem(). 1998-06-01 11:42:30 +00:00
ramiro f07fe93d3f Cleanup the XfeBm library. Remove circular dependancy on XfeBm from
XfeWidgets.
1998-06-01 07:49:21 +00:00
ftang a64ae5e262 add new font info 1998-05-30 08:37:40 +00:00
ramiro 6f63db6d27 ToolTip abstraction step one: Move XmLGrid hacks to the XmL library. 1998-05-29 21:03:26 +00:00
slamm 5ed6341096 Hook up cell editing. 1998-05-29 18:27:21 +00:00
slamm 9637cf9007 Make editing work with cell of type XmICON_CELL and Tree cells. Make edit start when user clicks twice on a cell. Rename a few functions. 1998-05-29 18:26:49 +00:00
toshok 79f8f0e214 Use LO_GetDocumentMargins, not fe_GetMargin, since the latter always returns 8/8 instead of what the document specifies. For example, resizing www.mozilla.org puts an 8x8 margin on the document, when the HTML specifies 0x0 1998-05-28 23:49:37 +00:00
akkana 8c42c3b9db Fix XtWarnings at startup 1998-05-28 23:09:27 +00:00
pnunn 8b8e501d44 fix #84300. print images at printer rez not screen rez. 1998-05-28 18:58:11 +00:00
pnunn 1c604c6f59 fix #84300. print image at printer rez not screen rez. 1998-05-28 18:57:05 +00:00
slamm b0fc58086a change getURL() to take one less argument. 1998-05-28 18:14:00 +00:00
slamm 0358f5ecdf Make a distinction between stand-alone and embedded views. Stand-alone views show all the columns. Views embedded in the browser only show one column. 1998-05-28 17:41:47 +00:00
slamm c0bbdf6e0d Change the nav center context from MWContextHistory to MWContextPane. 1998-05-28 17:41:44 +00:00
slamm fb731cfd52 Change getURL() to take only the urlStruct and not skip_get_url. It wasn't being used and it was confusing.src/BrowserDrop.cpp 1998-05-28 17:41:40 +00:00
slamm 6063a3aa9a Add a test case for the show/hide column behavior. 1998-05-28 17:41:34 +00:00
slamm 9ab3acf7be Add show/hide column buttons. Overload XmNvisibleColumns to set the actual number of visible columns when XmRESIZE_IF_POSIBLE is set. Previously, XmNvisibleColumns was used to request a width equal to an average column width times the number given. That behavior is still available when the horizontal size policy is XmCONSTANT. 1998-05-28 17:41:31 +00:00
ramiro 9a286400a0 Add macros to build unused widgets. 1998-05-28 07:26:08 +00:00
akkana 843eda083d Re-enable -composer and -edit flags (they were disabled under MOZ_MAIL_NEWS).
Also clean up a couple of warnings.
1998-05-27 20:26:01 +00:00
radha 97511e3259 Re-fix for earlier fix for bug # 104761. Re-fix provided by timm. See bug report
for further details.
1998-05-26 19:05:32 +00:00
radha 72c15de347 New resources for the "Show/Hide Navigation Center" menu option 1998-05-26 18:52:01 +00:00
radha f391f149d7 Add new command xfeToggleNavCenter to show/hide Aurora pane 1998-05-26 18:51:12 +00:00
radha 3f3c3a1bd6 Add BrowserView to the source files list. 1998-05-26 18:50:25 +00:00
radha 40c93b0e3b Use BrowserView instead of HTML View. BrowserView holds a HTML view and a
NavCenter. Create a new menu option "Show/Hide NavCenter".
1998-05-26 18:49:53 +00:00
radha 6c93611ee0 Initial Checkin. This is the new view for all browser frames. It holds a HTML
View and a Nav Center View. Navcenter is currently turned off by default. It
can be  turned on with the "Show Navigation Center"  menu option.
1998-05-26 18:48:14 +00:00
ramiro 31df203979 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 bd326f454f 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 91201b026d 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 0bf109e306 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 c9403c3184 land XPCOM_BRANCH 1998-05-22 21:55:49 +00:00
slamm 1941ab9166 Fix crash on bringing up second NavCenter. 1998-05-22 17:15:03 +00:00
ramiro 2ae9ad132e Fix a dyslexic typo. Geez, how long was this here for ? 1998-05-22 06:52:57 +00:00
ramiro fabf4411d2 Add initial support for layable children resource. 1998-05-22 06:50:41 +00:00
toshok ac843eb704 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 4575f5dc3e 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 638890d793 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 985d8b5381 Moved cvactive.h from include to network/cnvts 1998-05-19 00:07:47 +00:00
toshok d4bb7f0d08 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 b3bc68954d 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 ced69452e0 Add support for dropping to toolbox tabs. 1998-05-15 14:32:43 +00:00
ramiro 8cbb77e211 Add XfeTabDrawRaised(). 1998-05-15 14:14:17 +00:00
ramiro 6c6834537c Add XfeToolBarGetFirstItem(). 1998-05-15 13:30:24 +00:00
ramiro 916a9edcc3 Use a define instead of a hard coded '-1' constant. 1998-05-15 11:37:38 +00:00
ramiro b1d545b3ee Remove dead code. 1998-05-15 11:32:28 +00:00
ramiro b8c26f7819 Add icon to indicator if needed. 1998-05-15 11:23:24 +00:00
ramiro 27c2c457a4 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 0fcf9fb41f 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 2ccdbc615d Dont move dead widgets.
Thanks to Dirk Laessig <d.laessig@tu-bs.de>
1998-05-15 10:01:54 +00:00
spence b9a4238325 correctly set position for shack elements 1998-05-15 01:15:01 +00:00
spence af392d687b improve shack widget mgmt 1998-05-15 00:13:57 +00:00
spence e8621518d9 xfe shack changes 1998-05-14 23:43:26 +00:00
slamm 3b9a841c57 Make page proxy hot spot fit the icon. 1998-05-14 20:32:03 +00:00
ramiro d88786c836 TASKBAR define should be MOZ_TASKBAR. 1998-05-14 09:18:26 +00:00
montulli deac0ebfd9 use network dir instead of libnet 1998-05-11 22:07:07 +00:00
ftang 423e7d6ce9 Add Armenian XFE support. thanks for Hovik Melikyan from hovik@undp.am 1998-05-11 16:49:30 +00:00
radha 7f870c5027 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 0d9e0ed86d 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 c6fb3808d9 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 2b59720049 Add .cvsignore for xfe 1998-05-06 16:46:53 +00:00
mcafee a0b7f2b8a6 Comment about moz-export 1998-05-04 07:03:58 +00:00
ramiro 49737e9945 add missing -lXmu on irix and solaris 1998-05-03 12:26:58 +00:00
ramiro 19dc30cf11 comment out gcc-ism 1998-05-03 12:26:08 +00:00
ramiro e9723242aa Add comments describing the makefiles. Dont force the initial value of
XFE_{SHARED,STATIC}_LIBS.
1998-05-03 12:10:33 +00:00
ramiro 1c5942f479 move XfeWidgets tests to their own directory 1998-05-03 11:59:23 +00:00
ramiro 94d042859f add XmL tests 1998-05-03 11:52:01 +00:00
ramiro eef534f1d1 remove ad2c from a hardcoded location 1998-05-03 11:49:36 +00:00
ramiro 16898fc295 add ad2c in a shared location 1998-05-03 11:49:07 +00:00
ramiro 93928591c5 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 a3ac50b27f Update for edit support. 1998-05-03 11:47:01 +00:00
ramiro c56f8b9f0d 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 002968a5f6 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 7690c86215 Add mapping for windows-1251 fon 1998-05-01 21:41:12 +00:00
ftang aabce4b010 Check in locale independent form select/button handling change Approvaled by XFE owner 1998-05-01 21:40:38 +00:00
ramiro 3b62429491 Add an extra sanity check on the children argument. 1998-04-30 01:48:30 +00:00
ramiro d4717dde3b 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 b6769b0ecd 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 9d581f79e0 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 30ef93cdca get the damn function name right 1998-04-29 08:38:27 +00:00
ftang 5091dc41b0 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 0e08193ea3 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 e61014c7e0 Add a few more EDITOR ifdefs 1998-04-28 20:59:01 +00:00
jsw 8d4fdd77da move xp_sec to secnav 1998-04-28 05:13:41 +00:00
ramiro 2a28a21476 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 803bd1858a 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 eca112a60d 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 dec99c9236 Add beginnings of context menu support 1998-04-24 22:26:55 +00:00
slamm 11dc32b2aa 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 7cf2699917 Minor logic fix. 1998-04-24 22:23:13 +00:00
ramiro 726cd48ecd Add preliminary support for editting items in toolbars. 1998-04-24 12:43:28 +00:00
ramiro a9600bded1 Cleanup string utils. 1998-04-24 12:34:16 +00:00
ramiro 01671a9bc5 Add one more personal toolbar command: xfeCmdPersonalToolbarItemProperties. 1998-04-24 11:49:20 +00:00
ramiro 1ab224a352 Add personal toolbar commands. 1998-04-24 11:44:28 +00:00
ramiro e50851a4b8 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 87930b7d95 Add support ffor dynamic indicators. 1998-04-24 06:57:18 +00:00
ramiro 0fbc9a8bc8 Add support for dynamic indicators. 1998-04-24 06:47:37 +00:00
ramiro 91f6f565ca Always insert private components at end of widget list. 1998-04-24 06:44:28 +00:00
slamm 642d03f241 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 064c092ade 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 57736fb8d9 Fix print remote to take file argument. 1998-04-23 01:29:26 +00:00
ramiro fe1f7bb74a Move headers from unused to used. 1998-04-22 23:48:50 +00:00
ramiro 24fd107ecb Make sure the indicator widget is always at the WidgetList tail. 1998-04-21 19:11:20 +00:00
ramiro 2c6aaa776b Prevent toolbars from screwing with private XfeManager components. 1998-04-21 18:14:13 +00:00
ramiro da131f86db Add XfeIsPrivateComponent().
Test whether a widget is a private component of an XfeManager parent.
1998-04-21 17:57:20 +00:00
ramiro 4a35dd0727 New and improved filing of bookmarks to Personal Toolbar. 1998-04-21 16:18:00 +00:00
ramiro f7cb668143 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 34225ee217 Make it more paranoid. 1998-04-21 15:25:45 +00:00
ramiro e4c5293a66 Add XfeDestroyMenuWidgetTree(). 1998-04-21 15:24:01 +00:00
ramiro 461321ba6d Handle bogus input for XfeCascadeGetSubMenu(). 1998-04-21 14:55:16 +00:00
ramiro 8a09029cbf Add XfeToolBarGetLastItem(). 1998-04-21 13:29:37 +00:00
ramiro d16c4d0d46 Removed unused combobox dir and define. 1998-04-21 12:46:48 +00:00
ramiro 173fdf030d Update for indicator support. Dont hardcode button layout. 1998-04-21 12:41:46 +00:00
ramiro f28eeb3678 Dont hardcode button layout in XfeCreateLoadedToolBar. Update Makefile for
XfeWidgets.mk.
1998-04-21 12:39:49 +00:00
ramiro d67959154f Improve the indicator support. 1998-04-21 12:38:44 +00:00
ramiro 1b63cfc5d6 Un hard code /usr/lib/libm.a. Replace with -lm. (Linux) 1998-04-21 00:52:35 +00:00
ramiro 0438c64732 Update to 1998. 1998-04-21 00:51:45 +00:00
ramiro f8f4ab89bd Un hardcode XmINDICATOR_DONT_SHOW. 1998-04-19 17:36:48 +00:00
ramiro 9679096321 Fix typos. 1998-04-19 16:15:00 +00:00
ramiro ec651cd23c Update for new XmNindicatorPosition resource. 1998-04-19 16:14:30 +00:00
ramiro 1ceb1bbdf5 Add XmNindicatorPosition resource. For toolbar dropping fedback. 1998-04-19 16:13:54 +00:00
ramiro a981b2eab4 Add XmNnumPrivateComponents resource. 1998-04-19 16:12:26 +00:00
ramiro 390d861652 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 f7c245cbd1 Add some geometry debugging assertions and comments. 1998-04-19 11:16:43 +00:00
ftang 53a7221556 add big5 and gb2312 charset name for free font found at ifcss.org site 1998-04-17 02:56:00 +00:00
ramiro 00197467d4 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 6f8d4c63e4 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 1732f5506c fix name in comment 1998-04-15 09:10:25 +00:00
ramiro 0c70e784b9 first checked in 1998-04-15 09:09:52 +00:00
ramiro ef3ca69a4e Use DLL_SUFFIX from ns/config instead of random hack. 1998-04-15 09:08:25 +00:00
ramiro 65c4f479e0 Remove unuised XfeToolBoxForm*() hackery. Chrome widget does all the
magic now.
1998-04-15 02:08:30 +00:00
ramiro 1f93e62770 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 56fc02843e fix feCharSetInfoArray warnning. Thanks djm@indirect.com (Dan McGuirk) from the net 1998-04-14 19:24:53 +00:00
ramiro d60d604342 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 7770266c12 Make the frame shell dimensions something reasonable for the time being. 1998-04-14 17:01:41 +00:00
slamm f084ece51c 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