170 Commits

Author SHA1 Message Date
timeless%mozdev.org
0e5f07166f Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose


git-svn-id: svn://10.0.0.236/trunk@140130 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 04:15:34 +00:00
bryner%netscape.com
7840839c8e Add support for opening multiple files with the unix filepicker (bug 167152). r=varga, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@139566 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 09:20:40 +00:00
amardare%qnx.com
8338b44815 The photon platform is using a native filepicker now.
This should not affect building/runtime on other platforms.


git-svn-id: svn://10.0.0.236/trunk@139195 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-10 15:20:56 +00:00
bryner%netscape.com
009809a482 Bug 60707, filepicker should not treat a right double-click as a left double-click. Patch by kazhik@mozilla.gr.jp, r=sspitzer, sr=me.
git-svn-id: svn://10.0.0.236/trunk@138835 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-04 02:33:29 +00:00
danm%netscape.com
69aa964c1b suppress blur events to parent widget. bug 68454 r=bryner,jst,kmcclusk
git-svn-id: svn://10.0.0.236/trunk@138364 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 20:15:48 +00:00
kairo%kairo.at
58fe8411de bug 191471 - Add accesskeys to the xp filepicker, r=dean_tessman, sr=dmose, checking in for piersc@cogs.susx.ac.uk
git-svn-id: svn://10.0.0.236/trunk@138185 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 14:06:14 +00:00
dbaron%dbaron.org
6ed727cbe8 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
akkana%netscape.com
7859f90a48 181330: fix assert bringing up the overwrite confirmation dialog. r=timeless sr=bz
git-svn-id: svn://10.0.0.236/trunk@134291 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 00:41:33 +00:00
bzbarsky%mit.edu
77aeb90c46 modeGetFolder should have some different wording from modeOpen. Bug
160672, r=caillon,timeless, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@129245 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 07:38:14 +00:00
sspitzer%netscape.com
cc4151498a 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


git-svn-id: svn://10.0.0.236/trunk@129035 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 05:23:45 +00:00
timeless%mac.com
5903d72194 Bug 132209 Many XUL documents are invalid XML (<!DOCTYPE window ...>) patch by riceman+bmo@mail.rit.edu r=timeless rs=jag
git-svn-id: svn://10.0.0.236/trunk@128655 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-02 03:36:38 +00:00
timeless%mac.com
7918198e43 Bug 161722 nsFilePicker.js has unreachable code (try block)
reverting errant reorder of typeof call
r=kaie sr=bz


git-svn-id: svn://10.0.0.236/trunk@127145 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 08:58:43 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
timeless%mac.com
370d9d19a4 Bug 161722 nsFilePicker.js has unreachable code (try block)
r=db48x sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@126778 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 18:27:16 +00:00
bzbarsky%mit.edu
6ebdb1be58 linux filepicker should remember size when it's resized. Bug 159131,
r=caillon, sr=jag


git-svn-id: svn://10.0.0.236/trunk@126439 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 05:04:34 +00:00
alecf%netscape.com
7e8aa74093 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


git-svn-id: svn://10.0.0.236/trunk@125791 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 18:31:10 +00:00
bryner%netscape.com
9901b85357 Add the ability to filter on applications to nsIFilePicker (bug 97321). r=law, sr=blake.
git-svn-id: svn://10.0.0.236/trunk@124737 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-07 07:21:45 +00:00
bzbarsky%mit.edu
18bd36d2ff Fix NS_WildCardMatch to actually pay attention to the case_insensitive
arg.  Bug 146187, r=sicking, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@124674 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-04 09:33:52 +00:00
bzbarsky%mit.edu
2a7d5994ae Add a "new directory" button to the XP filepicker. Bug 58311, patch by
johann@ai.univie.ac.at, r=bzbarsky, sr=jag


git-svn-id: svn://10.0.0.236/trunk@121547 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 20:19:12 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
cbiesinger%web.de
b790e31842 bug 139044 r=doron sr=alecf
js strict warnings in filepicker.js


git-svn-id: svn://10.0.0.236/trunk@121076 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 18:58:53 +00:00
darin%netscape.com
24feadaaed fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
seawood%netscape.com
7e4c3987ab 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


git-svn-id: svn://10.0.0.236/trunk@119809 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 02:52:44 +00:00
katakai%japan.sun.com
163e69b679 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


git-svn-id: svn://10.0.0.236/trunk@118518 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 01:54:09 +00:00
hewitt%netscape.com
7fd03a3524 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


git-svn-id: svn://10.0.0.236/trunk@117710 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 02:46:01 +00:00
caillon%returnzero.com
6a9fbfcd11 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
git-svn-id: svn://10.0.0.236/trunk@117628 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 07:47:08 +00:00
jst%netscape.com
0604f64bed 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
git-svn-id: svn://10.0.0.236/trunk@115098 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:50:52 +00:00
bryner%netscape.com
cf529000b4 Oops, I meant to remove this unneeded pack=end before checking in, per jag's comments.
git-svn-id: svn://10.0.0.236/trunk@114267 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 07:24:20 +00:00
bryner%netscape.com
1fb6aae399 Bug 39036 - add a checkbox to allow showing hidden files (dot files). r=ben, sr=jag.
git-svn-id: svn://10.0.0.236/trunk@114266 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 07:21:22 +00:00
bzbarsky%mit.edu
b720991101 Make the "You can't read this dir" error appear in the filepicker
window, not as an alert.  Bug 123869, r=bryner, sr=jag


git-svn-id: svn://10.0.0.236/trunk@114219 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 00:45:52 +00:00
bzbarsky%mit.edu
4265df0559 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


git-svn-id: svn://10.0.0.236/trunk@113823 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 21:10:01 +00:00
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00
dougt%netscape.com
011f9b10e5 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


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
pinkerton%netscape.com
435ba291f1 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
git-svn-id: svn://10.0.0.236/trunk@112696 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 15:11:18 +00:00
bzbarsky%mit.edu
52ea69e77c 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


git-svn-id: svn://10.0.0.236/trunk@112633 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 02:46:11 +00:00
bzbarsky%mit.edu
cddd354756 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


git-svn-id: svn://10.0.0.236/trunk@112306 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 05:09:48 +00:00
varga%utcru.sk
763dd8095d 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


git-svn-id: svn://10.0.0.236/trunk@112268 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:01:28 +00:00
dbaron%fas.harvard.edu
91e2a14e0f Fix filter reporting in XP filepicker, and thus fix distinction between HTML-only and complete web page saving. b=116418 r=bzbarsky sr=brendan
git-svn-id: svn://10.0.0.236/trunk@112252 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 00:41:49 +00:00
varga%utcru.sk
8174569821 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.


git-svn-id: svn://10.0.0.236/trunk@111793 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 04:47:52 +00:00
bryner%netscape.com
c540a1d8bf Bug 116499 - convert nsIOutlinerView::GetCellText to return an nsAString, so we can avoid copying strings. r=blake, sr=jag.
git-svn-id: svn://10.0.0.236/trunk@111160 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-29 22:05:16 +00:00
hewitt%netscape.com
9c84d46002 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
git-svn-id: svn://10.0.0.236/trunk@110792 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 12:04:11 +00:00
dougt%netscape.com
c01e94cad7 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


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
varga%utcru.sk
f15fc9d47a Fix for 113477. Group outlinercols. r=bryner sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@110713 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 13:42:28 +00:00
seawood%netscape.com
0bd62df729 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


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
ben%netscape.com
3b23f82f90 fix oops (remove </pre>s from file)
git-svn-id: svn://10.0.0.236/trunk@110369 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 05:52:05 +00:00
ben%netscape.com
2f91c5f6d9 bug 11632 - save page with images, stylesheets, objects and applets.
r=hewitt, brade, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@110364 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 05:05:12 +00:00
bryner%netscape.com
af8a9989d9 Bug 96981 - filepicker scrollbar stays in same position when switching directories. r=jag, sr=hewitt.
git-svn-id: svn://10.0.0.236/trunk@109154 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 00:28:27 +00:00
bryner%netscape.com
d597acb80e Bug 105809 - filepicker crash if the user does not have read permission for the directory. r=jag, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@109046 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 23:02:07 +00:00
timeless%mac.com
535b6f20f2 Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan


git-svn-id: svn://10.0.0.236/trunk@108891 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 08:05:05 +00:00