Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Code changes for Mac OS X 10.7 Lion
Code changes for Mac OS X 10.7 Lion
 
   NeoOffice Forum Index -> NeoOffice Testing
View previous topic :: View next topic  
Author Message
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Jan 11, 2011 8:13 am    Post subject: Code changes for Mac OS X 10.7 Lion

I have reimplemented NeoOffice's copy and paste code so that NeoOffice no longer uses functions that Apple is likely to remove in their upcoming Mac OS X 10.7 Lion release.

Below are links to the test patch. If you find any breakage in NeoOffice's copy and paste functionality after installing the test patch, please let us know so that I can fix any breakage before we put this code into an official patch:

Intel:
http://joe.neooffice.org/test/NeoOffice-3.1.2-Patch-2-Test-2-Intel.dmg

PowerPC:
http://joe.neooffice.org/test/NeoOffice-3.1.2-Patch-2-Test-2-PowerPC.dmg

Patrick


Last edited by pluby on Sun Jan 23, 2011 2:12 pm; edited 2 times in total
Back to top
djpimley
The Anomaly
(earlier version)


Joined: Jun 11, 2006
Posts: 481
Location: Great Britain

PostPosted: Tue Jan 11, 2011 12:21 pm    Post subject:

I'm very pleased to see work is underway! Smile

I'll install and report any problems I encounter.
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Jan 11, 2011 12:28 pm    Post subject:

FYI. One big change that I made in newly implemented code is that when you copy an image in Safari and paste in NeoOffice, the image will be pasted.

Previously, the URL of the image would be pasted because Safari put both text and image data flavors on the system clipboard and it was difficult to figure out which data flavor best represented the what was copied in Safari.

Hopefully the new code that I added to identify such copied images does not cause images to be pasted when text is expected.

Patrick
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sun Jan 23, 2011 2:11 pm    Post subject:

I have finished reimplementing NeoOffice's drag and drop code so that NeoOffice no longer uses functions that Apple is likely to remove in their upcoming Mac OS X 10.7 Lion release.

If possible, can anyone install the following test patch and tell us if you find any breakage in NeoOffice's drag and drop functionality?:

Intel:
http://joe.neooffice.org/test/NeoOffice-3.1.2-Patch-2-Test-3-Intel.dmg

PowerPC:
http://joe.neooffice.org/test/NeoOffice-3.1.2-Patch-2-Test-3-PowerPC.dmg

Patrick
Back to top
djpimley
The Anomaly
(earlier version)


Joined: Jun 11, 2006
Posts: 481
Location: Great Britain

PostPosted: Mon Jan 24, 2011 6:21 am    Post subject:

I've tested copy and paste and drag and drop to NeoOffice Writer from a variety of applications:

Safari
Camino
Chrome
Mellel
Preview
Finder
TextEdit

I've copied URLs, images, text, icons, PDF text, file names, block text, tables, and unformatted text. In all cases I got the result I was expecting when pasted/dropped into a NeoOffice Writer document. I haven't tried going the other way yet, or tested any other NeoOffice components. I'm on Snowy 10.6.6.
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Jan 25, 2011 9:54 am    Post subject:

Thanks for testing my new code. I am glad to hear that you found no bugs.

However, I found a small bug and I have fixed the bug in the following test patch. The bug that I fixed was when you press the Alt key while dragging within a NeoOffice document, the dragging would still only move the contents instead of copying the contents.

With my fix, you can force copying of the dragged content by holding the Alt key while dropping the contents just like in Apple's TextEdit application:

Intel:
http://joe.neooffice.org/test/NeoOffice-3.1.2-Patch-2-Test-4-Intel.dmg

PowerPC:
http://joe.neooffice.org/test/NeoOffice-3.1.2-Patch-2-Test-4-PowerPC.dmg

Patrick
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Testing All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.