Merge pull request #44 from macoslib/master

Merge changes
Added NSRegEx classes to Additional Modules
Merge branch 'macoslib-master'
- Generalized the use of SizeOfInteger and SizeOfPointer instead of repeating erroneous "const" statements everywhere in the code.

Signed-off-by: Stéphane Mons <st.mons.lists@free.fr>
Revert "- Generalized the use of SizeOfInteger and SizeOfPointer instead of repeating erroneous "const" statements everywhere in the code."

This reverts commit 33d73167c94815f0e2d5bb437429cc8a1ed5e95c.
- Added PDFView and PDFThumbnailView which work together to display, edit and print a PDFDocument.
- Display of built-in PDFs are now using the "single-page continuous" option and has a thumbnail view.
- Documented PDFView and PDFThumbnailView.
- Created a CanvasForNSView object to serve as a parent class for all NSView subclasses using a Canvas at the Xojo level.

Signed-off-by: Stéphane Mons <st.mons.lists@free.fr>
- Cleaned unwanted commented-out code

Signed-off-by: Stéphane Mons <st.mons.lists@free.fr>
- Created module macoslib_32_64bits_savviness in Misc. folder to hold 64bits compatibility functions:    - SizeOfInteger and SizeOfPointer return the size of an Integer or a Pointer.    - bsPtrValueFromCArray, bsIntegerValueFromCArray return a Ptr or Integer in 32/64 bits given a C-Array index.    - bsPtrValue, bsIntegerValue return a Ptr or Integer in 32/64 bits given the offset.- Methods using SizeOfPointer now raise a warning at compilation time. This could be improved later.- Stripped off most of my dead code. For work in progress, made clearer why some code is commented out, per TT's recommendation.- Set "FPtr" function as a global function in the new macoslibModule and removed multiple definitions of it as Shared Methods.- For CanvasForNSView, created a LoadRequiredFrameworks which will ask for and load all the required frameworks. It can be called several times and returns more quickly than RequireFramework.

Signed-off-by: Stéphane Mons <st.mons.lists@free.fr>
Merge pull request #45 from macoslib/master

Merge changes
Test code to be deleted
Merge branch 'macoslib-master'
Better explanation on how to try out and add the code to one's own project, by Gavin Smith (https://forum.xojo.com/4225-macoslib/p2#p39675)
Merge pull request #93 from tempelmann/master

Better explanation on how to try out and add the code to one's own project, by Gavin Smith (https://forum.xojo.com/4225-macoslib/p2#p39675)
Readme: Changes refs from Real Studio to Xojo
Merge pull request #94 from tempelmann/master

Readme: Changes refs from Real Studio to Xojo
- Improved "macoslib for Advanced Users"
- Rebased PDFView on CanvasForNSView.- Implemented events to PDFView from NSNotifications: DocumentChanged, PageChanged, ScaleChanged, SelectionChanged, HistoryChanged, DisplayModeChanged.- NSObject: added Superclass and PerformSelectorOnMainThread (untested).- Enabled the close widget of the Welcome to macoslib window. Window can be opened from the Help menu.

Signed-off-by: Stéphane Mons <st.mons.lists@free.fr>
Merge commit 'b7fcf40e8903a057099bbb1d57d4a219ba88f53d'

Signed-off-by: Stéphane Mons <st.mons.lists@free.fr>
Fix a bug in LaunchServices.SendURLToApplication; the FSRef created for the application file is no longer destroyed too soon. Increment version to 152.
Merge pull request #96 from declaresub/master

Fix a bug in LaunchServices.SendURLToApplication; the FSRef created for ...
- Fixed dependency of some macoslib objects on StringExtensions or DebugReport

Signed-off-by: Stéphane Mons <st.mons.lists@free.fr>