[LyX/master] Compile fix

2022-03-04 Thread Enrico Forestieri
commit 8496b7dc9ae6fff7c35446f00c1fb937e399ddea
Author: Enrico Forestieri 
Date:   Sat Mar 5 02:19:38 2022 +0100

Compile fix
---
 src/support/os_cygwin.cpp |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/support/os_cygwin.cpp b/src/support/os_cygwin.cpp
index 5d43737..0261e2c 100644
--- a/src/support/os_cygwin.cpp
+++ b/src/support/os_cygwin.cpp
@@ -342,7 +342,7 @@ string latex_path(string const & p)
 
if (windows_style_tex_paths_ && FileName::isAbsolute(p)) {
string dos_path = convert_path(p, PathStyle(windows));
-   LYXERR(Debug::LATEX, " ["
+   LYXERR(Debug::OUTFILE, " ["
<< p << "]->>[" << dos_path << ']');
return dos_path;
}
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Compile fix for mingw

2019-04-27 Thread Enrico Forestieri
commit d5567ac36f65b31aaf4e1c055c966f15e2bbc94b
Author: Enrico Forestieri 
Date:   Sat Apr 27 12:53:05 2019 +0200

Compile fix for mingw

This was probably overlooked at [7bb08f10/lyxgit].
---
 src/support/userinfo.cpp |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/support/userinfo.cpp b/src/support/userinfo.cpp
index 30a7c54..4496a28 100644
--- a/src/support/userinfo.cpp
+++ b/src/support/userinfo.cpp
@@ -42,7 +42,7 @@ string const user_name()
char name[UNLEN + 1];
DWORD size = UNLEN + 1;
if (!GetUserName(name, ))
-   return _("Unknown user");
+   return to_utf8(_("Unknown user"));
return to_utf8(from_local8bit(name));
 #else
struct passwd * pw = getpwuid(geteuid());


[LyX/master] Compile fix for Qt < 5.7

2018-12-21 Thread Juergen Spitzmueller
commit 7c31bfa423c2da7c41f53ecde6c159fca35f3d54
Author: Juergen Spitzmueller 
Date:   Fri Dec 21 13:37:07 2018 +0100

Compile fix for Qt < 5.7

Only after that version, the QAction argument is optional.
---
 src/frontends/qt4/GuiCharacter.h |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/frontends/qt4/GuiCharacter.h b/src/frontends/qt4/GuiCharacter.h
index ca55f33..40da643 100644
--- a/src/frontends/qt4/GuiCharacter.h
+++ b/src/frontends/qt4/GuiCharacter.h
@@ -112,9 +112,9 @@ private:
bool nospellcheck_;
 
///
-   QAction * resetdefault_ = new QAction;
+   QAction * resetdefault_ = new QAction(this);
///
-   QAction * resetnochange_ = new QAction;
+   QAction * resetnochange_ = new QAction(this);
 };
 
 } // namespace frontend


[LyX master] Compile fix

2012-07-22 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit f30d6acb04ad4b3a28ff2c17b6c4bcfeddf012e7
Author: Juergen Spitzmueller sp...@lyx.org
Date:   Sun Jul 22 11:45:39 2012 +0200

Compile fix

Richard, please check.

diff --git a/src/output_xhtml.cpp b/src/output_xhtml.cpp
index 3653c5e..336f5a8 100644
--- a/src/output_xhtml.cpp
+++ b/src/output_xhtml.cpp
@@ -972,7 +972,7 @@ void xhtmlParagraphs(Text const  text,

buf.masterBuffer()-params().documentClass().getTOCLayout();
docstring const cnt = lay.counter;
if (!cnt.empty()) {
-   Counters const  cnts =
+   Counters  cnts =

buf.masterBuffer()-params().documentClass().counters();
cnts.reset(cnt);
}

---

Summary of changes:
 src/output_xhtml.cpp |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Compile fix

2012-07-22 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit f30d6acb04ad4b3a28ff2c17b6c4bcfeddf012e7
Author: Juergen Spitzmueller 
Date:   Sun Jul 22 11:45:39 2012 +0200

Compile fix

Richard, please check.

diff --git a/src/output_xhtml.cpp b/src/output_xhtml.cpp
index 3653c5e..336f5a8 100644
--- a/src/output_xhtml.cpp
+++ b/src/output_xhtml.cpp
@@ -972,7 +972,7 @@ void xhtmlParagraphs(Text const & text,

buf.masterBuffer()->params().documentClass().getTOCLayout();
docstring const cnt = lay.counter;
if (!cnt.empty()) {
-   Counters const & cnts =
+   Counters & cnts =

buf.masterBuffer()->params().documentClass().counters();
cnts.reset(cnt);
}

---

Summary of changes:
 src/output_xhtml.cpp |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] compile fix

2012-05-26 Thread Pavel Sanda
The branch, master, has been updated.

- Log -

commit 1b1f9d05d9d30760882c1f7ff14106196166c98c
Author: Pavel Sanda sa...@lyx.org
Date:   Sat May 26 10:16:20 2012 +0200

compile fix

diff --git a/src/frontends/qt4/GuiWorkArea.cpp 
b/src/frontends/qt4/GuiWorkArea.cpp
index 362f062..b0dd01e 100644
--- a/src/frontends/qt4/GuiWorkArea.cpp
+++ b/src/frontends/qt4/GuiWorkArea.cpp
@@ -66,6 +66,7 @@
 #include QPalette
 #include QPixmapCache
 #include QScrollBar
+#include QStylePainter
 #include QTimer
 #include QToolButton
 #include QToolTip

---

Summary of changes:
 src/frontends/qt4/GuiWorkArea.cpp |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] compile fix

2012-05-26 Thread Pavel Sanda
The branch, master, has been updated.

- Log -

commit 1b1f9d05d9d30760882c1f7ff14106196166c98c
Author: Pavel Sanda 
Date:   Sat May 26 10:16:20 2012 +0200

compile fix

diff --git a/src/frontends/qt4/GuiWorkArea.cpp 
b/src/frontends/qt4/GuiWorkArea.cpp
index 362f062..b0dd01e 100644
--- a/src/frontends/qt4/GuiWorkArea.cpp
+++ b/src/frontends/qt4/GuiWorkArea.cpp
@@ -66,6 +66,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 

---

Summary of changes:
 src/frontends/qt4/GuiWorkArea.cpp |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository