19 Commits

Author SHA1 Message Date
disttsc%bart.nl
abd8de21e5 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88947 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 08:05:05 +00:00
pinkerton%netscape.com
ec054af628 prepare for image copying r=saari, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85333 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 00:48:53 +00:00
pinkerton%netscape.com
82076d1b2d updating a comment
git-svn-id: svn://10.0.0.236/trunk@78429 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 23:07:09 +00:00
scc%mozilla.org
a57c788e93 fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76728 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 22:35:49 +00:00
beard%netscape.com
225060e4fa bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser
git-svn-id: svn://10.0.0.236/trunk@72686 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 23:10:06 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
pinkerton%netscape.com
cc18c1fadd preliminary support for dragging files from the desktop into mozilla. works on macos for now.
git-svn-id: svn://10.0.0.236/trunk@67070 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:10:35 +00:00
rjc%netscape.com
8ef399a920 Part of fix for bug # 25876: bookmarks drag&drop behavior modification. Approval: jevering Review: pinkerton
git-svn-id: svn://10.0.0.236/trunk@61718 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 01:27:29 +00:00
pinkerton%netscape.com
b6685db9bb add a comment so that we don't try to reuse the 4.x composer's data flavor (which is binary) by accident. r=brade.
git-svn-id: svn://10.0.0.236/trunk@57987 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 01:34:58 +00:00
pinkerton%netscape.com
230ce7b8c2 fix for bug 19590, writing to nil during a drag. Also fixed a memory corruptor with deleting bad memory when there was no flavor mapping table (no bug filed). r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@54326 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 22:19:26 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
pinkerton%netscape.com
ef81e356c3 add a new flag so mime types aren't added to the mapper if they are not found.
git-svn-id: svn://10.0.0.236/trunk@46040 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-05 02:27:54 +00:00
pinkerton%netscape.com
441d183083 new clipboard apis and trying to reduce the number of copies we do in clipboard/d&d code.
git-svn-id: svn://10.0.0.236/trunk@45493 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:14:48 +00:00
pinkerton%netscape.com
f4ecdaa51d correctly check result codes of OS calls and null terminate the exported mappings for placing on the clipboard. Fixes bug #11569 (appr chofmann).
git-svn-id: svn://10.0.0.236/trunk@43301 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-13 21:05:49 +00:00
pinkerton%netscape.com
b6de79e75d rewritten to use the new nsMimeMapper class, which now correctly maps arbitrary mime types to mac types and back by generating a separate mapping data flavor which needs to accompany the data.
git-svn-id: svn://10.0.0.236/trunk@40235 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 04:38:10 +00:00
pinkerton%netscape.com
7094a71204 temp hacks for toolbar drag and drop until a general mime->flavor mechanism is implemented.
git-svn-id: svn://10.0.0.236/trunk@39432 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:55:27 +00:00
pinkerton%netscape.com
9602ec4d21 add mapping from macOS flavor back to mime.
git-svn-id: svn://10.0.0.236/trunk@31951 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:55:25 +00:00
pinkerton%netscape.com
6fb14800ce updated clipboard apis and merging transferable into one api and getting rid of nsiDataFlavor.
git-svn-id: svn://10.0.0.236/trunk@31464 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:54:14 +00:00
pinkerton%netscape.com
9fdea90e25 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@29566 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 22:49:51 +00:00