Commit Graph

260 Commits

Author SHA1 Message Date
kin%netscape.com
550bde7477 Fix for bug #313408: Need to update HG10297 and HG81272 macros in rosetta.h
and fix for Memory leak introduced in yesterdays checkin.
Files checked in: Command.cpp, Command.h and EditorView.cpp
1998-08-12 12:38:38 +00:00
donm%netscape.com
ea1ac52aeb Fixing 5.0 bustage. This is a big hack. Kin will fix soon. 1998-08-12 01:14:26 +00:00
kin%netscape.com
73e6b514f3 Modifications neccessary to route commands to the correct ENDER object
(HTMLArea) on the page. Approved and reviewd by ramiro and akkana.

Command.cpp
Command.h
    - Modified the XFE_ViewCommand constructor to take a view
      argument (defaults to NULL when not provided). If not NULL,
      this view is used to dispatch the command.

EditorView.cpp
EditorView.h
    - Modified all XFE_EditorViewCommands to take a view argument
      for their constructors to pass on to XFE_ViewCommand. Only
      ENDERs pass non-NULL views to the constructors, so the Editor
      still dispatches commands the way it always has.

Frame.cpp
Frame.h
    - Modified xfe_ExecuteCommand to take a cmdDispatcher argument.
      If non-null, it is casted to either a frame or view and then
      used to dispatch the command passed in. If it is null,
      xfe_ExecuteCommand dispatches as it always has.

Menu.cpp
Menu.h
PopupMenu.cpp
PopupMenu.h
    - Modified XFE_Menu and XFE_PopupMenu constructors to take a
      cmdDispatch argument. If it is non null, it is used to dispatch
      the command that is attatched to the menuitem.

MozillaApp.cpp
    - Modified xfeDoCommandAction ENDER code to call xfe_ExecuteCommand(),
      passing in the view as the cmdDispatcher.

View.cpp
    - Removed unused local variable in removeView(), to fix compiler
      warning.
    - Modified getCommandView() to recurse down the entire View tree
      to find a view that can handle a command. The old code only looked
      one level deep.
1998-08-11 21:50:47 +00:00
ramiro%netscape.com
53d82b0839 Move the tree widgetry from XFE_RDFView to XFE_RDFTreeView. 1998-08-11 11:51:25 +00:00
ramiro%netscape.com
c6716d0131 Make the stand alone state of XFE_RDFView a member that can be toggled.
Fix a bunch of warnings.
Make the notif_cb a static member of XFE_NavCenterView as it should be.
1998-08-11 09:10:23 +00:00
kin%netscape.com
2c8e580668 Commented out some debug statements with ifdef DEBUG_kin. 1998-08-10 21:08:10 +00:00
mcafee%netscape.com
c27502fec7 Compiler warning on IRIX. 1998-08-09 09:10:55 +00:00
ramiro%netscape.com
35ea10ba77 Fix the unix build bustage cause of undefined NET_DisplayCookieInfoAsHTML(). 1998-08-07 15:37:30 +00:00
ramiro%netscape.com
c6a59fc40e dfm's privacy tools menu. 1998-08-07 09:51:55 +00:00
ramiro%netscape.com
ba7177f6c6 Granting some dude's wish. 1998-08-07 08:44:04 +00:00
akkana%netscape.com
79086deceb ifdef Ender: calculate row/column size of Ender htmlareas, and put a
frame around embeded editor components.
1998-08-06 22:40:24 +00:00
kin%netscape.com
84f6b1146e Updated DisplayPixmap() prototype to use PRInt32 to match function definition
in Frame.cpp.
1998-08-06 20:12:29 +00:00
radha%netscape.com
448f0684a7 Change usage of jint to PRint32. One of he fixes from the net. 1998-08-06 01:31:57 +00:00
kin%netscape.com
4a709151f5 Initial check-in of HTMLArea (embedded composer widget) form
element feature. All Ender related code is ifdef'd ENDER.
1998-08-05 19:08:58 +00:00
ftang%netscape.com
f817bc4659 check in KOI8-U support for XFE. Thanks
Dmitry Kohmanyuk dk+@ua.net from the net
1998-08-05 07:29:55 +00:00
radha%netscape.com
26a07cadaa Context menu changes 1998-08-04 21:20:45 +00:00
radha%netscape.com
7a48df0e7b Implement some of the RDFView context menu features. 1998-08-04 21:20:13 +00:00
dfm%netscape.com
02eec4b07b Removed ifdefs from dependency on privacy module. 1998-08-04 04:16:53 +00:00
akkana%netscape.com
a099c35d47 Bring Table menu and table properties dialog up to intended 5.0 functionality. 1998-08-03 20:51:45 +00:00
akkana%netscape.com
1edc2b68e6 Add new option menu convenience routine: fe_get_current_attribute_option 1998-08-03 20:49:30 +00:00
akkana%netscape.com
1f610248cc fix a warning 1998-08-03 20:48:21 +00:00
warren%netscape.com
c9bd5d8074 Landing changes in the OJI_19980727_BRANCH since the OJI_19980727_TIP_MERGE tag. 1998-07-31 20:19:50 +00:00
akkana%netscape.com
a0f224e6c9 EditHdrDialog should be part of MOZ_MAIL_NEWS. 1998-07-29 20:46:18 +00:00
akkana%netscape.com
1fc88b2358 Fix build bustage for MOZ_MEDIUM (which doesn't show up on Tinderbox!):
Move fe_make_option_menu and friends from MOZ_MAIL_NEWS to all.
1998-07-29 20:04:14 +00:00
sar%netscape.com
a360890d64 backing out Akanna's changes that broke Irix 1998-07-28 08:33:24 +00:00
akkana%netscape.com
824d7d087b Move fe_make_option_menu from SearchRuleView to Menu so that it no
longer is bound to MOZ_MAIL_NEWS.
1998-07-28 00:58:40 +00:00
ramiro%netscape.com
fe38b67bed Add xfe pref for toggling PORT and PASV ftp modes.
Thanks to Christopher Seawood <cls@seawood.org>.
1998-07-27 11:19:28 +00:00
ramiro%netscape.com
d25f02e13e Add xfe pref for toggling PORT and PASV ftp modes.
Thanks to Christopher Seawood <cls@seawood.org>.
1998-07-27 10:41:02 +00:00
ramiro%netscape.com
1820e221a5 Insert an intermediate cast when casting (void *) to enum. Fixes the OSF
build.
Thanks to wtc@netscape.com for providing the fix.
1998-07-25 08:26:42 +00:00
akkana%netscape.com
772be14e89 New composer Table menu. 1998-07-24 23:26:39 +00:00
akkana%netscape.com
fbdeb64da2 Split off find dialog into new file; add optional Replace functionality to it. 1998-07-24 23:25:16 +00:00
slamm%netscape.com
8c731c9fd7 Clear dropdown history in location bar when the user clears the history (in Prefs). Bug #114674 (P1 & TS1). This change also keeps all the dropdown lists in sync. 1998-07-24 00:19:21 +00:00
slamm%netscape.com
9244fbc782 Change some extern'd functions to static. Fixes Solaris build bustage. 1998-07-23 19:51:30 +00:00
slamm%netscape.com
23b0937f49 Fix more Solaris build bustage. 1998-07-23 19:43:11 +00:00
slamm%netscape.com
da79321e51 Fix more build bustage on Solaris. 1998-07-23 19:39:37 +00:00
slamm%netscape.com
f91582d836 Kill a warning. 1998-07-23 19:26:31 +00:00
slamm%netscape.com
ba1f0229ad Add some casts to fix build bustage. 1998-07-23 19:12:31 +00:00
ramiro%netscape.com
0247aae5e3 Mege from RDF_BRANCH_060398 branch. Also known as RDF landing. 1998-07-23 18:38:03 +00:00
ftang%netscape.com
0550633dbd seperate Encoding menu into different menu spec so it will make sense
according to the type of window. Approved by ramiro
1998-07-23 08:44:30 +00:00
ramiro%netscape.com
e435f90244 Fix build bustage. Remove unused ",". 1998-07-21 04:01:14 +00:00
akkana%netscape.com
f25a4f4190 Add new functionality for the new 5.0 table dialog.
Consolidate "new table" and "table properties" dialogs into one.
Includes massive move/redesign of code out of editordialogs.c
into new C++ class XFE_EditTableDialog.
1998-07-21 02:14:23 +00:00
dfm%netscape.com
0b7890852b Landed privacy features from PRIVACY_BRANCH_070898; Transaction Receipts
and Privacy Policies are still switched off, so mozilla/privacy doesn't
build by default.
1998-07-20 18:40:09 +00:00
ramiro
b63af0dce3 Turn editres off on hpux. Declare missing XmString function on motif 2.x.
HP-UX patches from http://hpux.csc.liv.ac.uk/hppd/mozilla/patch.html.
1998-07-15 10:09:51 +00:00
ramiro
cda04e1392 Protect debug printf with #ifdef. 1998-07-15 00:56:51 +00:00
slamm
5120554a27 Fix off by one error. Messed up inplace editing. 1998-07-09 16:42:08 +00:00
ricardob
6bfd2ad9da Fix unix bustage on xxx 1998-07-08 19:17:11 +00:00
ricardob
90033d3059 free mail unix fixes 1998-07-07 18:27:05 +00:00
ricardob
a77d1ca368 Free mail unix fixes 1998-07-07 18:26:15 +00:00
ramiro
89d57e46bd Documentation fixes. Cleanups for dead/changed file/class names.
No code changes, only comments.  Makes the xfe LXR pages better.
Approved by don.
Thanks do Dawn Endico <dawn@cannibal.mi.org> for providing the patch.
1998-07-07 06:15:49 +00:00
akkana
58564ba4b4 226857: Normandy landing didn't include kini's notification center fix. 1998-07-02 01:31:12 +00:00
spider
2898c77dee Attempt to fix Solaris bustage 1998-06-25 16:25:15 +00:00
spider
cb94dae31e NORMANDY_DDAY merge... 1998-06-25 05:50:45 +00:00
spider
5d5d533e2c Normandy Merge .... 1998-06-22 21:19:46 +00:00
slamm
5bc849f37c Pull extra warning message. #123912 (SF1 in). 1998-06-20 00:41:43 +00:00
slamm
20ac8f4334 Fix for crash after opening/closing NavCenter. Thanks to Juergen Keil <jk@tools.de> for the fix. Fixes bugs #148369(P0 & SF1 in) & mozilla #423. 1998-06-17 21:35:22 +00:00
akkana
def4fddc08 124129: Editor prefs should be under EDITOR, not MOZ_MAIL_NEWS 1998-06-09 23:36:50 +00:00
akkana
3f37cf9e49 122182: fix periodic crashes from no-longer extant editor frames 1998-06-09 22:23:24 +00:00
ramiro
feaf873fae Make the Navigation center mroe useable. Allow the user to resize it. 1998-06-04 09:04:36 +00:00
slamm
30375e7a01 Tie selections to the rdf backend and hookup the context menu 1998-06-03 21:50:55 +00:00
slamm
9cfeed1bcf 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
10f5ffed5d Fix visual problem on solaris. Thanks to Juergen Keil <jk@tools.de> for the patch. 1998-06-03 21:42:48 +00:00
jgellman
9f800f1e0e merge from OJI branch 1998-06-03 00:37:20 +00:00
ramiro
a860c51014 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
slamm
33682412b8 Hook up cell editing. 1998-05-29 18:27:21 +00:00
slamm
2ba5d005af change getURL() to take one less argument. 1998-05-28 18:14:00 +00:00
slamm
89136e49db 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
1f6cf4d380 Change the nav center context from MWContextHistory to MWContextPane. 1998-05-28 17:41:44 +00:00
slamm
c75df1d914 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
radha
d214063f78 Add new command xfeToggleNavCenter to show/hide Aurora pane 1998-05-26 18:51:12 +00:00
radha
cfede3a172 Add BrowserView to the source files list. 1998-05-26 18:50:25 +00:00
radha
1e12e3b576 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
c8c5138a99 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
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
slamm
8602d9867f Fix crash on bringing up second NavCenter. 1998-05-22 17:15:03 +00:00
scullin
caa794ae2b Moved cvactive.h from include to network/cnvts 1998-05-19 00:07:47 +00:00
ramiro
4a3029301d Add support for dropping to toolbox tabs. 1998-05-15 14:32:43 +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
spence
0d927d2a5f improve shack widget mgmt 1998-05-15 00:13:57 +00:00
slamm
b49f293596 Make page proxy hot spot fit the icon. 1998-05-14 20:32:03 +00:00
ftang
9e66c329d9 Add Armenian XFE support. thanks for Hovik Melikyan from hovik@undp.am 1998-05-11 16:49:30 +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
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
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
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
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
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
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
03d180937e Fix print remote to take file argument. 1998-04-23 01:29:26 +00:00
ramiro
19d9803131 Prevent toolbars from screwing with private XfeManager components. 1998-04-21 18:14:13 +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
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
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
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
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