Commit Graph

50 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
ae25fa5fe0 Update MacOSX Readme to latest fileformat 2014-03-23 17:49:37 +01:00
Vincent van Ravesteijn
fc22ba1642 MacOSX/lyxrc.dist.in: update to Format 14 2014-03-19 22:29:14 +01:00
Stephan Witt
dff79377f4 add the background image to distribution tarball 2014-03-09 19:49:31 +01:00
Benjamin Piwowarski
908c92e831 Updates to AppleScript support, and documentaoin for it. 2014-03-05 15:46:27 -05:00
Stephan Witt
75c631df7f On Mac, moving down a paragraph should place the cursor at the end of the current paragraph
(unless it's already there, in which case it should move to the end of the next paragraph).
Change the preference setting name (mac_like_word_movement to mac_like_cursor_movement)
to better reflect its function.

Patch and description from Bennett Helm
2013-05-25 18:02:21 +02:00
Stephan Witt
8eea20ba4b use MKDIR_P macro 2013-02-03 19:26:21 +01:00
Stephan Witt
e72c56dc20 fix bundle executable name 2012-10-15 22:52:12 +02:00
Kornel Benko
20359572ed Patch from Benjamin Piwowarski
Just some comments on the patch:

- The executable name has to match the information in Info.plist (development/MacOSX/Info.plist.in and CMakeLists.txt).  The autoconf config/lyxinclude.m4 file has been modified to make it work with autotools.

- The process to build OS X bundle is to first add all the files to be included to the bundle when calling add_executable (src/CMakeLists.txt) and then by calling setting the source file property of each of these files (development/cmake/Install.cmake, l.14) so that the files are properly located into the bundle. This is also why Install.cmake has to be included two times in src/CMakeLists.txt (once to build the list of files, once to set the location of the list of files).

- in CMakeLists.txt there is a line
install(CODE "set(BU_CHMOD_BUNDLE_ITEMS 1)")
What it does is to fix the owner permissions within the bundle - this is necessary because some libraries are copied within the bundle and might be owned by root

- An empty qt.conf is included in the bundle so that QT does not try to link to other QT libraries (which will not be included in the bundle)

- In development/cmake/Install.cmake, some OS X specific files (*.sdef, qt.conf, *.icns) have to be included in the bundle

Benjamin
2012-10-13 09:53:20 +02:00
Stephan Witt
99e53ffce0 add high resolution display support 2012-09-23 16:06:56 +02:00
Stephan Witt
4674c3e1c5 Patch from Benjamin Piwowar - see ticket #8185:
In order to interact with native osx applications, AppleScript support is a plus.
Here is a patch that makes LyX respond to a simple command (run) and that allows to communicate with LyX as with the LyX client.
Example of use:
	tell application "LyX" to run "server-get-filename" with argument ""'
returns
	message:/Users/bpiwowar/newfile1.lyx, code:0
with a message and the error code
2012-08-19 22:27:20 +02:00
Lars Gullik Bjønnes
c7bb190fd3 Setup .gitignore for generated files
Setting up .gitignore or .git/info/excludes is something that should
be done. Not doing it makes it a lot harder to see actual new files
that should be added.

Signed-off-by: Lars Gullik Bjønnes <larsbj@gullik.org>
2012-03-22 02:16:12 +01:00
Stephan Witt
1ec212ab75 add finder background image for mac os dmg, use Cocoa mac API for builds
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38873 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-28 12:35:38 +00:00
Stephan Witt
154b06766c last revised version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38672 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 18:59:29 +00:00
Stephan Witt
88286b471a add the source for the readme files to place in the disk image of 2.0 release
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38576 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-03 20:32:52 +00:00
Stephan Witt
c20e885331 on mac use system colors by default
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37878 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-08 11:27:36 +00:00
Stephan Witt
37d8cbc3a6 adjust distributed default lyxrc for mac, spell_command is outdated (r37255)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37319 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-24 16:30:06 +00:00
Stephan Witt
2d776b0de1 check for presence of pipe, care for LyX-2.0 user dir
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35018 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-27 19:37:35 +00:00
Stephan Witt
4f4d32da4b change key-bindings to support cmd-plus/minus text size adjust on mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35006 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-22 16:38:26 +00:00
Stephan Witt
1d7564561a add LyX-2.0 to the list of potential ABS_USER_LYXDIR values
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35005 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-22 16:35:25 +00:00
Jean-Marc Lasgouttes
20f3fbd521 set version correctly for mac bundle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27697 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-24 21:34:02 +00:00
Pavel Sanda
d36e010fdf Patch from Bennett.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26434 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-17 21:28:57 +00:00
Jean-Marc Lasgouttes
759f32fe75 make sure that installation can be made with parallel make; remove unused directory
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25582 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 19:32:46 +00:00
Jean-Marc Lasgouttes
5cef8b6887 * LyXRC.cpp:
* development/MacOSX/lyxrc.dist.in: new variable mac_like_word_movement,
	set to true on Mac OS X. There is no GUI for it now.

	* src/Paragraph.cpp (isSpace): new method
	(isChar): return false for a space.

	* src/Text.cpp (cursorForwardOneWord, cursorBackWardOneWord): implement
	mac-like cursor movement.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25413 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-01 14:42:32 +00:00
Jean-Marc Lasgouttes
6e74e240ff do not use #ifdef in main code; use the lyxrc.dist mechanism to provide defaults for mac osx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24083 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-01 09:18:03 +00:00
Jean-Marc Lasgouttes
fb82e23a44 use mkdir -p directly since (1) we know darwin supports it and (2) we do not know whether to use $(mkdir_p) (automake 1.10) or $(MKDIR_P) (automake 1.9) (bug 4216)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20238 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-12 10:30:25 +00:00
Jean-Marc Lasgouttes
1afbb2301e also install en.lproj file in the bundle on the mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19463 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-12 17:49:50 +00:00
Jean-Marc Lasgouttes
3463ce7c4a * config/lyxinclude (LYX_VERSION_SUFFIX): make $with_version available
* development/MacOSX/lyxrc.dist.in: use it here instead of program_suffix


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19392 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-10 08:34:29 +00:00
Jean-Marc Lasgouttes
483dba4588 Generate auto matically lyxrc.dist and Info.plist for LyX/Mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19381 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-09 20:54:16 +00:00
Jean-Marc Lasgouttes
951701394e [the "translation" patch series] Part 4: translating the LyX menu on the mac
* development/MacOSX/Makefile.am: when installing, create bogus 
	language directories to allow translation through Qt.

	* src/frontends/qt4/GuiApplication.cpp (MenuTranslator): new class, 
	redirects some Qt translation requests to gettext.
	(GuiApplication): install the MenuTranslator.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19354 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 21:23:40 +00:00
Jean-Marc Lasgouttes
7f74740ca7 update mac bundle version for devt release
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19323 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-05 14:43:45 +00:00
Jean-Marc Lasgouttes
68b3ad672d Do not forget to distribute lyxeditor script too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18472 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-23 10:27:30 +00:00
Jean-Marc Lasgouttes
732f7c8866 properly distribute LyX-Metadata on OS X
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18453 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-22 12:34:23 +00:00
Jean-Marc Lasgouttes
6977164d68 Use the automake framework to install the LyX/Mac stuff. Probably more
work to do.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17982 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-25 13:24:22 +00:00
José Matox
86098c52f0 quote files for mac script (Bennett)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17257 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-19 20:15:43 +00:00
José Matox
0efd48242c Update from Bennett to mac installer files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17247 a592a061-630c-0410-9148-cb99ea01b6c8
2007-02-18 22:35:22 +00:00
Michael Schmitt
e6aa1c9b38 * lib/CREDITS:
* lib/generate_contributions.py:
	* development/MacOSX/LyX.app/Contents/Resources/lyxrc.dist: rename "ascii" to "plain text"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16715 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-16 22:33:44 +00:00
Jean-Marc Lasgouttes
88a45ab222 2006-08-08 Bennett Helm <bennett.helm@fandm.edu>
* MacOSX/LyX.app/Contents/Resources/lyxrc.dist: improve viewers
	that require X11; tweak the path_prefix search order.

	* MacOSX/LyX.app/Contents/Info.plist: update version.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14562 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-08 10:03:09 +00:00
Jean-Marc Lasgouttes
1b4d5f20e3 adapt lyxrc.dist to autoopen patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13957 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-29 16:31:21 +00:00
Jean-Marc Lasgouttes
59c9d541c0 rename preferences to lyxrc.dist
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13956 a592a061-630c-0410-9148-cb99ea01b6c8
2006-05-29 16:30:31 +00:00
Jean-Marc Lasgouttes
51cfe91667 compatibility with new intel macs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13506 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-28 09:28:24 +00:00
Jean-Marc Lasgouttes
c910aee38e * development/MacOSX/LyX.app/Contents/Library/Spotlight/LyX-Metadata.mdimporter/: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13482 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 15:47:09 +00:00
Jean-Marc Lasgouttes
0a0f9c31f7 * MacOSX/LyX.app/Contents/MacOS/lyxeditor: update location of
preferences file within LyX.app bundle 
	
	* MacOSX/LyX.app/Contents/Resources/preferences: update
	path_prefix to include /opt/local/bin, and remove references to
	"-1.4" version suffix



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13481 a592a061-630c-0410-9148-cb99ea01b6c8
2006-03-24 15:30:40 +00:00
Jean-Marc Lasgouttes
364d096eee small tweak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13276 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-24 15:05:50 +00:00
Jean-Marc Lasgouttes
33381332fc move and update preference file in LyX.app bundle; do not append version suffix to binaries for osx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13231 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-13 21:54:04 +00:00
Jean-Marc Lasgouttes
33974b8ae2 update preferences
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10802 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-01 15:17:00 +00:00
Lars Gullik Bjønnes
6a05cd6a5c couple of mac updates from Bennet Helm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10539 a592a061-630c-0410-9148-cb99ea01b6c8
2005-10-11 17:58:38 +00:00
Jean-Marc Lasgouttes
f8a0dbd1d3 fix the the LyX.app skeleton and removal of qt patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10474 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-21 13:55:05 +00:00
Jean-Marc Lasgouttes
3b6e50ea33 add the LyX/Mac skeleton to the repository
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10470 a592a061-630c-0410-9148-cb99ea01b6c8
2005-09-21 10:04:26 +00:00
Jean-Marc Lasgouttes
4880f71471 osx updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7734 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-11 14:36:22 +00:00
Jean-Marc Lasgouttes
ccc118437a some files useful for MacOSX support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7720 a592a061-630c-0410-9148-cb99ea01b6c8
2003-09-09 15:12:56 +00:00