Closed Bug 218312 Opened 22 years ago Closed 22 years ago

OS/2 drag/drop & copy/paste updates

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, enhancement)

x86
OS/2
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dragtext, Assigned: mkaply)

Details

Attachments

(2 files, 1 obsolete file)

User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.5b) Gecko/20030813 Build Identifier: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.5b) Gecko/20030813 The attached patch offers some minor changes for OS/2: - Mouse copy/paste has been revised to more nearly emulate native behavior. It now uses mouse movement rather than button-press order when deciding whether to copy or paste. - Drags from Mozilla have been given more informative icons. Urls display the standard WPS Url icon while text uses a fairly generic textfile icon. Mozilla-only drags continue to use the system file icon. - Per the comment on Bugzilla #216920, nsWindow::ReleaseDragHPS has been reworked and renamed ReleaseIfDragHPS. Files affected: Makefile.in nsDragService.cpp nsWindow.h nsWindow.cpp resource.h widget.rc res/dndtext.ico [new] res/dndurl.ico [new] Reproducible: Always Steps to Reproduce:
Over to someone who knows something about OS/2 and is (unlike Blake) working on Mozilla.
Assignee: blake → mkaply
> test -f ./res/aliasb.ptr || cp $(srcdir)/res/*.ptr ./res > + test -f ./res/dndurl.ico || cp $(srcdir)/res/*.ico ./res The first line is just a simple hack to keep from trying to copy the PTRs over themselves when building in the source tree. So rather than duplicating the hack, it might be best to just do this: > - test -f ./res/aliasb.ptr || cp $(srcdir)/res/*.ptr ./res > + test -f ./res/aliasb.ptr || cp $(srcdir)/res/*.* ./res > +extern "C" { > + APIRET APIENTRY DosQueryModFromEIP(HMODULE *phMod, ULONG *pObjNum, > + ULONG BuffLen, PCHAR pBuff, > + ULONG *pOffset, ULONG Address); > +} This is also declared in nsWindow.cpp. Just get rid of both references in the CPP files and add it to nsWidgetDefs.h. Otherwise, it looks good to me. Still, mkaply should take a look at it, too.
Attachment #130916 - Flags: review?(mkaply)
Attachment #130916 - Attachment is obsolete: true
OS: other → OS/2
Comment on attachment 131050 [details] [diff] [review] revised diff per comment #4 We need to get this checked in. Kaply, take a look and check it in.
Attachment #131050 - Flags: review+
Fix checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Attachment #130916 - Flags: review?(mkaply)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: