Commit Graph

163 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
4efa8c423c modeGetFolder should have some different wording from modeOpen. Bug
160672, r=caillon,timeless, sr=bryner
2002-09-11 07:38:14 +00:00
sspitzer@netscape.com
04a799d41f fix for #121122 (nsIFilePicker should allow picking multiple files) and #43015 (Cannot add multiple attachment in Attach File dialog).
right now, only supported on windows.  bugs logged for mac, beos, cocoa, os/2, qnx
and the xpfilepicker (linux).

r=bz, sr=bienvenu, a=asa
2002-09-07 05:23:45 +00:00
timeless@mac.com
83394a7c7a Bug 132209 Many XUL documents are invalid XML (<!DOCTYPE window ...>) patch by riceman+bmo@mail.rit.edu r=timeless rs=jag 2002-09-02 03:36:38 +00:00
timeless@mac.com
dbf0cbd897 Bug 161722 nsFilePicker.js has unreachable code (try block)
reverting errant reorder of typeof call
r=kaie sr=bz
2002-08-13 08:58:43 +00:00
seawood@netscape.com
f31500b018 Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
timeless@mac.com
b732766c81 Bug 161722 nsFilePicker.js has unreachable code (try block)
r=db48x sr=bzbarsky
2002-08-08 18:27:16 +00:00
bzbarsky@mit.edu
7cb04aef0a linux filepicker should remember size when it's resized. Bug 159131,
r=caillon, sr=jag
2002-08-06 05:04:34 +00:00
alecf@netscape.com
fff3bf6fe2 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
bryner@netscape.com
a142e1361b Add the ability to filter on applications to nsIFilePicker (bug 97321). r=law, sr=blake. 2002-07-07 07:21:45 +00:00
bzbarsky@mit.edu
0542f5300c Fix NS_WildCardMatch to actually pay attention to the case_insensitive
arg.  Bug 146187, r=sicking, sr=shaver
2002-07-04 09:33:52 +00:00
bzbarsky@mit.edu
0c9fac0350 Add a "new directory" button to the XP filepicker. Bug 58311, patch by
johann@ai.univie.ac.at, r=bzbarsky, sr=jag
2002-05-15 20:19:12 +00:00
dougt@netscape.com
00d8c29c64 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
cbiesinger@web.de
520e8b0b4c bug 139044 r=doron sr=alecf
js strict warnings in filepicker.js
2002-05-08 18:58:53 +00:00
darin@netscape.com
09c17695e3 fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
darin@netscape.com
cdd08719da fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
seawood@netscape.com
a4af5f77bb Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components
2002-04-25 02:52:44 +00:00
katakai@japan.sun.com
1ad5d1f44a bug 131161
mozilla crashed when open file where there is an chinese name file under the directory
check return value of GetUnicodeLeafName() also call Reset() for encoder and decoder to reset the state
r=shanjian,sr=darin,a=asa
2002-04-09 01:54:09 +00:00
hewitt@netscape.com
ffbc59afea bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327
2002-03-29 02:46:01 +00:00
caillon@returnzero.com
a3d4203de6 Bug 125133. Add 'Go to Home' and 'Go up a level' buttons to the XUL filepicker. Patch contributed by johann@ai.univie.ac.at; r=fabian (jar.mn changes) r=bzbarsky,caillon. sr=jag. a=asa 2002-03-27 07:47:08 +00:00
jst@netscape.com
abf2e6d972 Checking in Boris Zbarsky's <bzbarsky@mit.edu> fix for bug 117269. Making mozilla not invent silly file extensions when saving files. r=law@netscape.com, rs=jaggernaut@netscape.com, jst@netscape.com 2002-02-20 07:50:52 +00:00
bryner@netscape.com
0dcad51403 Oops, I meant to remove this unneeded pack=end before checking in, per jag's comments. 2002-02-12 07:24:20 +00:00
bryner@netscape.com
a737c157aa Bug 39036 - add a checkbox to allow showing hidden files (dot files). r=ben, sr=jag. 2002-02-12 07:21:22 +00:00
bzbarsky@mit.edu
9251143c2c Make the "You can't read this dir" error appear in the filepicker
window, not as an alert.  Bug 123869, r=bryner, sr=jag
2002-02-12 00:45:52 +00:00
bzbarsky@mit.edu
612296b280 Ditch the history dropdown (which is nearly useless) in the XP
filepicker.  Convert it to an ancestor list instead.  Big 121354,
r=bryner, sr=jag
2002-02-06 21:10:01 +00:00
sfraser@netscape.com
a2578325bc Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
dougt@netscape.com
c3e0a303eb 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com
2002-01-29 21:22:13 +00:00
pinkerton@netscape.com
23165f6dad allow --enable-default-toolkit=cocoa in makefiles and default toolkit can now be overridden on platform that don't use X11. r=cls/sr=hyatt. bug#121496 2002-01-24 15:11:18 +00:00
bzbarsky@mit.edu
de8fa74cd7 Bug 117228 -- error alert for XP filepicker when the file user wants
opened is not readable.
Bug 121035 -- "Save" button gets disabled when scrolling dir view.  Both
r=bryner, sr=jag
2002-01-24 02:46:11 +00:00
bzbarsky@mit.edu
a23621fb94 Make the XP filepicker throw up alerts when the user picks a location
that the user does not have permissions to write to.  Bug 114399, patch
by Antonio Xu <antonio.xu@sun.com>, r=bryner, sr=jag
2002-01-16 05:09:48 +00:00
varga@utcru.sk
0f4f4ed5db Fixes for:
94653  - can't right align text in outliner cell
95730  - White block displays/artifacts in the highlight area after Move/Drag mail to folder.
112238 - [RFE] Outliner widget should support line-through
116855 - Modify outliner builder syntax to match outliner content model
118093 - Make -moz-image-region work in the outliner
118113 - Too little space between pref category tree and pref page
118154 - Category now has a column picker
118647 - Memory leak of 52 bytes from 1 block allocated in nsOutlinerBodyFrame::CheckVerticalOverflow
118660 - left arrow no longer moves to parent category
119751 - Branches are open by default and then closed after launch.

- outermost <outlinerchildren> has "-moz-box-flex: 1" by default
  and it actaully replaced <outlinerbody>
- all event handlers moved on <outliner>
- content builder, outliner builder and content view use <outliner> as root
  element
- nsIBoxObject has a new attribute "element"
- all CSS rules outlinerbody:foo replaced with outlinerchildren:foo
- drop feedback is now skinable

r=waterson for the changes in mozilla/content
r=sspitzer on the mailnews parts
r=blake on the bookmarks/history
r=bryner on the OutlinerBodyFrame and OutlinerContentView changes

sr=hyatt,hewitt
2002-01-16 03:01:28 +00:00
dbaron@fas.harvard.edu
4683d97a78 Fix filter reporting in XP filepicker, and thus fix distinction between HTML-only and complete web page saving. b=116418 r=bzbarsky sr=brendan 2002-01-16 00:41:49 +00:00
varga@utcru.sk
1d0040480d Fix for 116739. Many assertions when moving over the blank area of outliners.
Fix for 118632. file picker can display all column arrows.
r=bryner, sr=hyatt

- getCellAt() now checks for correct mouse coordinates and sets row value
  to -1 for invalid coordinates.
- added bail out checks to all callers.
2002-01-10 04:47:52 +00:00
bryner@netscape.com
d27ec2b046 Bug 116499 - convert nsIOutlinerView::GetCellText to return an nsAString, so we can avoid copying strings. r=blake, sr=jag. 2001-12-29 22:05:16 +00:00
hewitt@netscape.com
7fb4af0c2e XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt 2001-12-19 12:04:11 +00:00
dougt@netscape.com
32ebf7f11f nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
varga@utcru.sk
a3ab646050 Fix for 113477. Group outlinercols. r=bryner sr=hyatt 2001-12-18 13:42:28 +00:00
seawood@netscape.com
3e2680506d Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
bryner@netscape.com
dc3cca422d Ignore the makefile. 2001-12-18 09:00:51 +00:00
ben@netscape.com
72a992a8a1 fix oops (remove </pre>s from file) 2001-12-12 05:52:05 +00:00
ben@netscape.com
bcc31c785b bug 11632 - save page with images, stylesheets, objects and applets.
r=hewitt, brade, sr=hyatt
2001-12-12 05:05:12 +00:00
bryner@netscape.com
cb74f6e33d Bug 96981 - filepicker scrollbar stays in same position when switching directories. r=jag, sr=hewitt. 2001-11-29 00:28:27 +00:00
bryner@netscape.com
26ad54981b Bug 105809 - filepicker crash if the user does not have read permission for the directory. r=jag, sr=shaver. 2001-11-27 23:02:07 +00:00
timeless@mac.com
5408f70625 Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan
2001-11-26 08:05:05 +00:00
hewitt@netscape.com
74b333ab97 96154 - Remove class=outlinercol-header outlinercol-inset-header from outliner, r=ben, sr=hyatt 2001-11-21 11:00:22 +00:00
seawood@netscape.com
5b18dcd3d4 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
seawood@netscape.com
260d555966 Renaming 'install' build phase to 'libs'
Bug #56601 r=pavlov
2001-11-21 08:55:59 +00:00
bryner@netscape.com
5e2c05c9b0 Make sure the state of the ok button is correct even if the window does not get initial focus (bug 98480). r=jag, sr=ben. 2001-11-15 05:37:32 +00:00
seawood@netscape.com
0ac1919022 Fixing AIX bustage. Resolve symbols at link time. r=bryner 2001-11-14 22:00:16 +00:00
bryner@netscape.com
b42052ac99 Fixing win32 bustage 2001-11-14 08:46:46 +00:00
bryner@netscape.com
f7a9d8913b Turning on new C++ filepicker code (bug 82854). r=jag, sr=ben. 2001-11-14 08:19:23 +00:00