mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
Mac OS X is macOS these days
This commit is contained in:
parent
19ef7a2dea
commit
438fed6b62
@ -125,7 +125,7 @@ architecture at a time in the source code directory. After you have
|
||||
installed the package for one architecture, use 'make distclean' before
|
||||
reconfiguring for another architecture.
|
||||
|
||||
On MacOS X 10.5 and later systems, you can create libraries and
|
||||
On Mac OS X 10.5 and later systems, you can create libraries and
|
||||
executables that work on multiple system types--known as "fat" or
|
||||
"universal" binaries--by specifying multiple '-arch' options to the
|
||||
compiler but only a single '-arch' option to the preprocessor. Like
|
||||
|
6
NEWS
6
NEWS
@ -106,7 +106,7 @@ python 2.x and python 3.x.
|
||||
|
||||
One oft-requested enhancement was to restore a keyboard shortcut for opening
|
||||
the 'settings' menu of graphics, reference, etc, insets. This is now Control-
|
||||
Alt-i, on Windows and Linux, and Control-Option-i on OSX (assuming you are
|
||||
Alt-i, on Windows and Linux, and Control-Option-i on macOS (assuming you are
|
||||
using the default keybindings).
|
||||
|
||||
|
||||
@ -1143,7 +1143,7 @@ All current 1.3.x users are encouraged to upgrade to this version.
|
||||
What's new in version 1.3.6?
|
||||
----------------------------
|
||||
|
||||
Unix and MacOSX users should consider this to be a bugfix release.
|
||||
Unix and Mac OS X users should consider this to be a bugfix release.
|
||||
|
||||
To Windows users, however, LyX 1.3.6 is the first version of LyX
|
||||
to support the platform officially. This means that we've put a huge
|
||||
@ -1195,7 +1195,7 @@ This is a maintenance release which improves upon 1.3.2 in
|
||||
four main areas:
|
||||
* import of old LyX files and export to DocBook have been improved;
|
||||
* many small bugs in the Qt frontend have been fixed;
|
||||
* MacOSX users can now compile LyX and enjoy the native MacOSX interface;
|
||||
* Mac OS X users can now compile LyX and enjoy the native Mac OS X interface;
|
||||
* several languages now benefit from an improved translation of
|
||||
the user interface and documentation.
|
||||
|
||||
|
@ -102,7 +102,7 @@ struct AspellChecker::Private
|
||||
return "data";
|
||||
}
|
||||
/// os package directory constants
|
||||
/// macports on Mac OS X or
|
||||
/// macports on macOS or
|
||||
/// aspell rpms on Linux
|
||||
const string osPackageBase(void)
|
||||
{
|
||||
|
@ -733,7 +733,7 @@ bool Formats::edit(Buffer const & buffer, FileName const & filename,
|
||||
return editLinkBackFile(filename.absFileName().c_str());
|
||||
#else
|
||||
Alert::error(_("Cannot edit file"),
|
||||
_("LinkBack files can only be edited on Apple Mac OSX."));
|
||||
_("LinkBack files can only be edited on macOS."));
|
||||
return false;
|
||||
#endif // USE_MACOSX_PACKAGING
|
||||
}
|
||||
|
@ -3203,7 +3203,7 @@ string const LyXRC::getDescription(LyXRCTags tag)
|
||||
break;
|
||||
|
||||
case RC_MAC_LIKE_CURSOR_MOVEMENT:
|
||||
str = _("Use the Mac OS X conventions for cursor movement");
|
||||
str = _("Use the macOS conventions for cursor movement");
|
||||
break;
|
||||
|
||||
case RC_SHOW_MACRO_LABEL:
|
||||
|
@ -72,7 +72,7 @@
|
||||
using namespace std;
|
||||
using namespace lyx::support;
|
||||
|
||||
// OSX clang and msvc < 2015 do not support C++11 thread_local
|
||||
// (old?) macOS clang and msvc < 2015 do not support C++11 thread_local
|
||||
#if defined(__APPLE__)
|
||||
#define THREAD_LOCAL_STATIC static __thread
|
||||
#elif defined(_MSC_VER) && (_MSC_VER < 1900)
|
||||
|
@ -1094,7 +1094,7 @@ struct GuiApplication::Private
|
||||
Qt::ApplicationState last_state_;
|
||||
|
||||
#if defined(Q_OS_MAC) && (QT_VERSION < QT_VERSION_CHECK(6, 0, 0))
|
||||
/// Linkback mime handler for MacOSX.
|
||||
/// Linkback mime handler for macOS.
|
||||
QMacPasteboardMimeGraphics mac_pasteboard_mime_;
|
||||
#endif
|
||||
|
||||
@ -1172,7 +1172,7 @@ GuiApplication::GuiApplication(int & argc, char ** argv)
|
||||
|
||||
if (platformName() == "xcb") {
|
||||
// doubleClickInterval() is 400 ms on X11 which is just too long.
|
||||
// On Windows and Mac OS X, the operating system's value is used.
|
||||
// On Windows and macOS, the operating system's value is used.
|
||||
// On Microsoft Windows, calling this function sets the double
|
||||
// click interval for all applications. So we don't!
|
||||
QApplication::setDoubleClickInterval(300);
|
||||
@ -2972,7 +2972,7 @@ bool GuiApplication::event(QEvent * e)
|
||||
{
|
||||
switch(e->type()) {
|
||||
case QEvent::FileOpen: {
|
||||
// Open a file; this happens only on Mac OS X for now.
|
||||
// Open a file; this happens only on macOS for now.
|
||||
//
|
||||
// We do this asynchronously because on startup the batch
|
||||
// commands are not executed here yet and the gui is not ready
|
||||
|
@ -541,11 +541,11 @@ bool GuiClipboard::isInternal() const
|
||||
|
||||
bool GuiClipboard::hasInternal() const
|
||||
{
|
||||
// Windows and Mac OS X does not have the concept of ownership;
|
||||
// Windows and macOS does not have the concept of ownership;
|
||||
// the clipboard is a fully global resource so all applications
|
||||
// are notified of changes. However, on Windows ownership is
|
||||
// emulated by Qt through the OleIsCurrentClipboard() API, while
|
||||
// on Mac OS X we deal with this issue by ourself.
|
||||
// on macOS we deal with this issue by ourself.
|
||||
#ifndef Q_OS_MAC
|
||||
return true;
|
||||
#else
|
||||
|
@ -1523,7 +1523,7 @@ void GuiView::updateWindowTitle(GuiWorkArea * wa)
|
||||
}
|
||||
title += from_ascii(" - LyX");
|
||||
setWindowTitle(toqstr(title));
|
||||
// Sets the path for the window: this is used by OSX to
|
||||
// Sets the path for the window: this is used by macOS to
|
||||
// allow a context click on the title bar showing a menu
|
||||
// with the path up to the file
|
||||
setWindowFilePath(toqstr(buf.absFileName()));
|
||||
@ -1788,7 +1788,7 @@ bool GuiView::event(QEvent * e)
|
||||
}
|
||||
#else
|
||||
// Pre 6.8: OS-dependent
|
||||
// 1. Mac OS X
|
||||
// 1. macOS
|
||||
// Limit to Q_OS_MAC as this unnecessarily would also
|
||||
// trigger on Linux with grave performance issues
|
||||
#ifdef Q_OS_MAC
|
||||
|
@ -92,7 +92,7 @@ namespace frontend {
|
||||
|
||||
namespace {
|
||||
|
||||
// MacOSX specific stuff is at the end.
|
||||
// macOS specific stuff is at the end.
|
||||
|
||||
class MenuDefinition;
|
||||
|
||||
@ -2327,8 +2327,8 @@ struct Menus::Impl {
|
||||
void expand(MenuDefinition const & frommenu, MenuDefinition & tomenu,
|
||||
BufferView const *) const;
|
||||
|
||||
/// Initialize specific MACOS X menubar
|
||||
void macxMenuBarInit(QMenuBar * qmb);
|
||||
/// Initialize specific macOS menubar
|
||||
void macMenuBarInit(QMenuBar * qmb);
|
||||
|
||||
/// Mac special menu.
|
||||
/** This defines a menu whose entries list the FuncRequests
|
||||
@ -2378,9 +2378,9 @@ MenuDefinition Menus::Impl::mac_special_menu_;
|
||||
that this menubar will be used also when one of LyX' dialogs has
|
||||
focus. (JMarc)
|
||||
*/
|
||||
void Menus::Impl::macxMenuBarInit(QMenuBar * qmb)
|
||||
void Menus::Impl::macMenuBarInit(QMenuBar * qmb)
|
||||
{
|
||||
/* The qt/mac menu code has special code for specifying the role
|
||||
/* The macOS menu code has special code for specifying the role
|
||||
of a menu entry. However, it does not work very well with our
|
||||
scheme of creating menus on demand, and therefore we need to
|
||||
put these entries in a special invisible menu. (JMarc)
|
||||
@ -2410,7 +2410,7 @@ void Menus::Impl::macxMenuBarInit(QMenuBar * qmb)
|
||||
const size_t num_entries = sizeof(entries) / sizeof(entries[0]);
|
||||
const bool first_call = mac_special_menu_.empty();
|
||||
|
||||
LYXERR(Debug::GUI, "Creating Mac OS X special menu bar");
|
||||
LYXERR(Debug::GUI, "Creating macOS special menu bar");
|
||||
// the special menu for Menus. Fill it up only once.
|
||||
if (first_call) {
|
||||
for (size_t i = 0 ; i < num_entries ; ++i) {
|
||||
@ -2726,13 +2726,13 @@ void Menus::fillMenuBar(QMenuBar * qmb, GuiView * view, bool initial)
|
||||
// the first time a QMenuBar is created. Otherwise Qt will
|
||||
// create duplicate items in the application menu. It seems
|
||||
// that Qt does not remove them when the QMenubar is cleared.
|
||||
d->macxMenuBarInit(qmb);
|
||||
d->macMenuBarInit(qmb);
|
||||
#endif
|
||||
} else {
|
||||
// Clear all menubar contents before filling it.
|
||||
qmb->clear();
|
||||
#if (defined(Q_OS_MAC))
|
||||
d->macxMenuBarInit(qmb);
|
||||
d->macMenuBarInit(qmb);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -98,7 +98,7 @@
|
||||
<item row="3" column="0" colspan="3">
|
||||
<widget class="QCheckBox" name="dontswapCB">
|
||||
<property name="toolTip">
|
||||
<string>Mac OS X specific setting for use with emacs bindings. Takes effect next time LyX is launched.</string>
|
||||
<string>macOS specific setting for use with emacs bindings. Takes effect next time LyX is launched.</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Do not swap Apple and Control keys</string>
|
||||
|
@ -10,7 +10,7 @@
|
||||
*
|
||||
* A store of the paths to the various different directories used
|
||||
* by LyX. These paths differ markedly from one OS to another,
|
||||
* following the local Windows, MacOS X or Posix conventions.
|
||||
* following the local Windows, macOS or Posix conventions.
|
||||
*/
|
||||
|
||||
#ifndef PACKAGE_H
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include "support/docstring.h"
|
||||
|
||||
#include <sstream>
|
||||
//needed for Mac OSX 10.5.2 Leopard
|
||||
// needed for Mac OS X 10.5.2 Leopard
|
||||
#include <cstdlib>
|
||||
|
||||
using namespace std;
|
||||
|
@ -51,7 +51,7 @@ int accept(int)
|
||||
|
||||
#include <cerrno>
|
||||
#include <string>
|
||||
//needed for Mac OSX 10.5.2 Leopard
|
||||
// needed for Mac OS X 10.5.2 Leopard
|
||||
#include <cstring>
|
||||
|
||||
using namespace std;
|
||||
|
Loading…
Reference in New Issue
Block a user