]> git.lyx.org Git - lyx.git/log
lyx.git
17 years agocleanup after svn hang-up, #undef CursorShape. Should be compilable ganin now.
André Pönitz [Sun, 17 Sep 2006 10:00:15 +0000 (10:00 +0000)]
cleanup after svn hang-up, #undef CursorShape. Should be compilable ganin now.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15029 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agocompilation fixes
Abdelrazak Younes [Sun, 17 Sep 2006 09:55:13 +0000 (09:55 +0000)]
compilation fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15028 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agorename mathed/math_xinset into mathed/InsetMathX
André Pönitz [Sun, 17 Sep 2006 09:14:18 +0000 (09:14 +0000)]
rename mathed/math_xinset into mathed/InsetMathX

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15026 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agodelete unsetXSel() method
Abdelrazak Younes [Sun, 17 Sep 2006 08:48:06 +0000 (08:48 +0000)]
delete unsetXSel() method

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15025 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoMove X11 specific selection code from BufferView to the frontends.
Abdelrazak Younes [Sun, 17 Sep 2006 08:35:12 +0000 (08:35 +0000)]
Move X11 specific selection code from BufferView to the frontends.

* BufferView:
 - selectionRequested(): renamed to requestSelection() and cleaned up.
 - selectionLost(): renamed to clearSelection()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15024 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agorename Math*Inset into InsetMath*
André Pönitz [Sat, 16 Sep 2006 18:11:38 +0000 (18:11 +0000)]
rename Math*Inset into InsetMath*

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15023 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoUpdate in-source boost to latest updates from boost 1.34 branch.
Lars Gullik Bjønnes [Sat, 16 Sep 2006 16:39:04 +0000 (16:39 +0000)]
Update in-source boost to latest updates from boost 1.34 branch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15022 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoKernel::isBufferAvailable(): replace the implicit pointer cast.
Abdelrazak Younes [Sat, 16 Sep 2006 14:27:27 +0000 (14:27 +0000)]
Kernel::isBufferAvailable(): replace the implicit pointer cast.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15020 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix trying to translate docstring/non-ascii text.
Lars Gullik Bjønnes [Sat, 16 Sep 2006 14:03:30 +0000 (14:03 +0000)]
Fix trying to translate docstring/non-ascii text.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15019 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agodeledelete BufferView::available() method because buffer serves the same purpose.
Abdelrazak Younes [Sat, 16 Sep 2006 14:00:13 +0000 (14:00 +0000)]
deledelete BufferView::available() method because buffer serves the same purpose.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15018 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agodelete BufferView::text() method and add two FIXME in text.C
Abdelrazak Younes [Sat, 16 Sep 2006 13:34:09 +0000 (13:34 +0000)]
delete BufferView::text() method and add two FIXME in text.C

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15017 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoMerge BufferView and BufferView_pimpl
Abdelrazak Younes [Sat, 16 Sep 2006 10:08:51 +0000 (10:08 +0000)]
Merge BufferView and BufferView_pimpl

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15013 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoadd copyright notice
Peter Kümmel [Fri, 15 Sep 2006 17:05:20 +0000 (17:05 +0000)]
add copyright notice

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15012 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd phantom icons from Uwe and me (last part of bug 1473)
Georg Baum [Fri, 15 Sep 2006 10:58:58 +0000 (10:58 +0000)]
Add phantom icons from Uwe and me (last part of bug 1473)
* src/frontends/controllers/ControlMath.C
(latex_misc): Add phnatom, vphantom and hphantom

* lib/images/math/hphantom.xpm: new
* lib/images/math/phantom.xpm: new
* lib/images/math/vphantom.xpm: new

* lib/Makefile.am: add new files
* development/scons/scons_manifest.py: ditto

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15009 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * text.C (setCursorFromCoordinates):
Jean-Marc Lasgouttes [Fri, 15 Sep 2006 09:51:41 +0000 (09:51 +0000)]
* text.C (setCursorFromCoordinates):
* text2.C (setCursorIntern): add an assertion.

* BufferView_pimpl.C (scrollDocView): reset cursor before setting
it from coordinates (bug 2830).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15004 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agolink lyxclient against iconv
Jean-Marc Lasgouttes [Fri, 15 Sep 2006 09:39:10 +0000 (09:39 +0000)]
link lyxclient against iconv

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15003 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * paragraph_funcs.C (breakParagraph): make sure to respect nesting
Jean-Marc Lasgouttes [Fri, 15 Sep 2006 09:38:40 +0000 (09:38 +0000)]
* paragraph_funcs.C (breakParagraph): make sure to respect nesting
when depth > 0 (bug 2445)/

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15002 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoScons: add HAVE_WCHAR_T to two config.h files
Bo Peng [Thu, 14 Sep 2006 17:04:11 +0000 (17:04 +0000)]
Scons: add HAVE_WCHAR_T to two config.h files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14998 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoScons: add SIZEOF_WCHAR_T
Bo Peng [Thu, 14 Sep 2006 15:40:06 +0000 (15:40 +0000)]
Scons: add SIZEOF_WCHAR_T

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14997 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoScons: add support for system iconv function (from glibc)
Bo Peng [Thu, 14 Sep 2006 14:09:08 +0000 (14:09 +0000)]
Scons: add support for system iconv function (from glibc)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14995 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* src/text3.C (doInsertInset): reset first paragraph to default after selected conten...
Jürgen Spitzmüller [Thu, 14 Sep 2006 13:44:53 +0000 (13:44 +0000)]
* src/text3.C (doInsertInset): reset first paragraph to default after selected content has been pasted (bug 2802)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14993 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agotest for the size of wchar_t and define the macro SIZEOF_WCHAR_T with the size
Peter Kümmel [Wed, 13 Sep 2006 21:45:52 +0000 (21:45 +0000)]
test for the size of wchar_t and define the macro SIZEOF_WCHAR_T with the size

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14992 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoUse wchar_t as lyx::char_type if it is 32 bit wide.
Georg Baum [Wed, 13 Sep 2006 21:13:49 +0000 (21:13 +0000)]
Use wchar_t as lyx::char_type if it is 32 bit wide.

No scons and cmake support! scons and cmake need to find out the size of
wchar_t and define this macro in config.h (example for 32bit wchar_t):

* The size of a `wchar_t', as computed by sizeof. */
#define SIZEOF_WCHAR_T 4

* configure.ac: Test size of wchar_t

* src/support/types.h: don't include docstring.h anymore.
Use wchar_t as lyx::char_type if it is 32 bit wide.

* src/support/docstring.h: Use lyx::char_type for defining docstring

* src/metricsinfo.h: include support/docstring.h instead of
support/types.h
* src/lyxlex.h: ditto
* src/frontends/font_metrics.h: ditto
* src/frontends/qt4/qt_helpers.h: ditto
* src/frontends/Painter.h: ditto
* src/errorlist.h: ditto
* src/support/lstrings.h: ditto
* src/lyxfunc.h: ditto
* src/LaTeX.h: ditto

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14991 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agos/boost::uint32_t/lyx::char_type/g except in the definition of lyx::docstring
Georg Baum [Wed, 13 Sep 2006 17:11:39 +0000 (17:11 +0000)]
s/boost::uint32_t/lyx::char_type/g except in the definition of lyx::docstring
and lyx::char_type

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14990 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/frontends/qt4/QLToolbar.C
Georg Baum [Wed, 13 Sep 2006 17:04:42 +0000 (17:04 +0000)]
* src/frontends/qt4/QLToolbar.C
(QLToolbar::QLToolbar): Fix initialization order

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14989 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/frontends/qt3/QLPopupMenu.C
Georg Baum [Wed, 13 Sep 2006 16:36:56 +0000 (16:36 +0000)]
* src/frontends/qt3/QLPopupMenu.C
(QLPopupMenu::populate): Don't append a lyx::char_type to a qstring

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14988 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoadd missing menu short-cuts for capitalize/uppercase/lowercase
Michael Schmitt [Wed, 13 Sep 2006 16:13:41 +0000 (16:13 +0000)]
add missing menu short-cuts for capitalize/uppercase/lowercase

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14987 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agomove character styles from "insert" to "edit";
Michael Schmitt [Wed, 13 Sep 2006 15:33:26 +0000 (15:33 +0000)]
move character styles from "insert" to "edit";
move word-capitalize/upcase/locase to "Text Styles" submenu

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14986 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoCompile fix for the case when USE_BOOST_FORMAT is 0
Georg Baum [Wed, 13 Sep 2006 11:18:13 +0000 (11:18 +0000)]
Compile fix for the case when USE_BOOST_FORMAT is 0
* src/support/lstrings.C
(bformat): Add missing lyx::from_ascii()

* src/support/convert.C
(docstring convert<docstring>(unsigned int)): Add specialization
(docstring convert<docstring>(long)): ditto

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14983 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAvoid a name clash with boost 1.34
Enrico Forestieri [Tue, 12 Sep 2006 17:41:50 +0000 (17:41 +0000)]
Avoid a name clash with boost 1.34

* src/lyx_cb.C (reconfigure):
* src/buffer.C (runChktex):
* src/lyxfunc.C (dispatch):
* src/vc-backend.C (doVCCommand):
* src/lyx_main.C (reconfigureUserLyXDir):
Explicitly specify lyx::support::Path.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14982 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix combo box items in the delimiter GUI
Enrico Forestieri [Tue, 12 Sep 2006 01:17:03 +0000 (01:17 +0000)]
Fix combo box items in the delimiter GUI

* src/frontends/qt4/QDelimiterDialog.C
(QDelimiterDialog::QDelimiterDialog): add missing "Variable size" item.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14981 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd defines needed on cygwin
Enrico Forestieri [Tue, 12 Sep 2006 00:54:07 +0000 (00:54 +0000)]
Add defines needed on cygwin

* configure.ac: define BOOST_POSIX_API and BOOST_POSIX_PATH
on cygwin (needed by boost 1.34).

* development/scons/SConstruct: ditto.

* development/cmake/config.h.cmake: ditto.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14980 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix converters in our scripts directory
Georg Baum [Mon, 11 Sep 2006 16:07:49 +0000 (16:07 +0000)]
Fix converters in our scripts directory
* src/graphics/GraphicsConverter.C
(build_script): quote filenames in the python script properly
(build_script):
(build_script):

* src/support/filetools.[Ch]
(quoteName): Add quote_style argument and quoting of python filenames
(libScriptSearch): Add quote_style argument

* src/support/filetools.C
(quote_style): New enum to specify the quoting style

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14978 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoanother compile fix I forgot
Georg Baum [Mon, 11 Sep 2006 13:18:41 +0000 (13:18 +0000)]
another compile fix I forgot

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14977 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix from George to deal with the --disable-nls case
José Matox [Mon, 11 Sep 2006 11:58:47 +0000 (11:58 +0000)]
Fix from George to deal with the --disable-nls case

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14976 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agocompile fix
Georg Baum [Mon, 11 Sep 2006 11:02:36 +0000 (11:02 +0000)]
compile fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14975 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * src/client/debug.C (showLevel):
Jean-Marc Lasgouttes [Mon, 11 Sep 2006 10:27:48 +0000 (10:27 +0000)]
    * src/client/debug.C (showLevel):
        * src/ispell.C (ISpell,check): compilation fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14974 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agomake it compile again
Georg Baum [Mon, 11 Sep 2006 10:07:39 +0000 (10:07 +0000)]
make it compile again

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14973 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoA bunch of conversion to docstring.
Abdelrazak Younes [Mon, 11 Sep 2006 08:54:10 +0000 (08:54 +0000)]
A bunch of conversion to docstring.

- bformat(): contributed by Georg Beaum
- Alert::XXX
- error(): in SpellBase, ispell, psell, aspell, buffer, etc.
- message(), message signal
- displayMessage(), setMessage,
- ErrorItems
- prettyName()
- makeDisplayPath()

and maybe some more...

- etc...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14970 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd operator+ for ASCII characters and ASCII C strings
Georg Baum [Mon, 11 Sep 2006 07:13:56 +0000 (07:13 +0000)]
Add operator+ for ASCII characters and ASCII C strings

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14969 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoMore unicode work. Fixup some usages.
Lars Gullik Bjønnes [Sun, 10 Sep 2006 18:34:24 +0000 (18:34 +0000)]
More unicode work. Fixup some usages.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14968 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoSome further work and simplification. Now the conversion engine is only restarted...
Lars Gullik Bjønnes [Sun, 10 Sep 2006 16:59:36 +0000 (16:59 +0000)]
Some further work and simplification. Now the conversion engine is only restarted on error.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14967 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoCleanup and speedup some of the conversion functions a bit.
Lars Gullik Bjønnes [Sun, 10 Sep 2006 11:39:57 +0000 (11:39 +0000)]
Cleanup and speedup some of the conversion functions a bit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14966 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoRevision 14964: forgot this...
Abdelrazak Younes [Sun, 10 Sep 2006 11:09:25 +0000 (11:09 +0000)]
Revision 14964: forgot this...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14965 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* LyXView.h:
Abdelrazak Younes [Sun, 10 Sep 2006 11:03:21 +0000 (11:03 +0000)]
* LyXView.h:
  - makeToolbar(): new pure virtual method

* qt4/GuiView.h:
  - makeToolbar(): new method transferred from QLToolbar

* qt4/QLToolbar: derive from QToolBar instead of owning a QToolBar member.

* Toolbars.h: remove make_toolbar() prototype (use LyXView::makeToolbar instead).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14964 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agowinwin32 compilation fix
Abdelrazak Younes [Sun, 10 Sep 2006 10:53:23 +0000 (10:53 +0000)]
winwin32 compilation fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14963 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agowin32 compilation fix
Abdelrazak Younes [Sun, 10 Sep 2006 10:32:41 +0000 (10:32 +0000)]
win32 compilation fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14962 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoupgrade to latest package.C.in
Abdelrazak Younes [Sun, 10 Sep 2006 10:28:41 +0000 (10:28 +0000)]
upgrade to latest package.C.in

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14961 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove unused "using" directives
Georg Baum [Sun, 10 Sep 2006 09:54:51 +0000 (09:54 +0000)]
remove unused "using" directives

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14960 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoDon't lie in debug messages: s/GuiClipboard/GuiSelection/
Georg Baum [Sun, 10 Sep 2006 09:42:02 +0000 (09:42 +0000)]
Don't lie in debug messages: s/GuiClipboard/GuiSelection/

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14959 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix return value of InsetInclude::plaintext
Georg Baum [Sun, 10 Sep 2006 09:28:00 +0000 (09:28 +0000)]
Fix return value of InsetInclude::plaintext
* src/insets/insetinclude.C
(InsetInclude::plaintext): Add line counting code

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14958 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix return value of InsetText::plaintext
Georg Baum [Sun, 10 Sep 2006 08:41:39 +0000 (08:41 +0000)]
Fix return value of InsetText::plaintext
* src/insets/insetnote.C
(InsetNote::plaintext): Move line counting code from here ...

* src/insets/insettext.C
(InsetText::plaintext): ... here.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14957 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agocompile fix: add missing lyx::to_utf8() around _()
Georg Baum [Sun, 10 Sep 2006 08:14:30 +0000 (08:14 +0000)]
compile fix: add missing lyx::to_utf8() around _()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14956 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoChange MenuBackend and the other menuclasses to store a docstring. Do the required...
Lars Gullik Bjønnes [Sat, 9 Sep 2006 22:27:22 +0000 (22:27 +0000)]
Change MenuBackend and the other menuclasses to store a docstring. Do the required updates to lstrings/convert.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14955 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAdd a virtual in the child as well.
Lars Gullik Bjønnes [Sat, 9 Sep 2006 22:18:05 +0000 (22:18 +0000)]
Add a virtual in the child as well.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14954 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoChange editMessage to return a docstring, change functions to not use to_utf8.
Lars Gullik Bjønnes [Sat, 9 Sep 2006 18:52:00 +0000 (18:52 +0000)]
Change editMessage to return a docstring, change functions to not use to_utf8.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14953 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoChange _() to return a docstring. Fixup callers with the help of lyx::to_utf8.
Lars Gullik Bjønnes [Sat, 9 Sep 2006 15:27:44 +0000 (15:27 +0000)]
Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14952 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoMake the l10n machinery work with ucs4. Update (as wip) callers to do manual conversi...
Lars Gullik Bjønnes [Sat, 9 Sep 2006 11:16:28 +0000 (11:16 +0000)]
Make the l10n machinery work with ucs4. Update (as wip) callers to do manual conversion and a FIXME comment. Lots of work to do.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14951 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoRemerge. Update nb.po a bit.
Lars Gullik Bjønnes [Sat, 9 Sep 2006 11:10:26 +0000 (11:10 +0000)]
Remerge. Update nb.po a bit.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14950 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoRemove deleted files
Lars Gullik Bjønnes [Sat, 9 Sep 2006 11:08:19 +0000 (11:08 +0000)]
Remove deleted files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14949 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoactivate table/math toolbar in table/math mode
Michael Schmitt [Sat, 9 Sep 2006 06:52:55 +0000 (06:52 +0000)]
activate table/math toolbar in table/math mode

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14947 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove unused 'using lyx::support::quoteName;'
Georg Baum [Fri, 8 Sep 2006 15:32:20 +0000 (15:32 +0000)]
remove unused 'using lyx::support::quoteName;'

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14946 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoMinor os_cygwin.C change, from Enrico
Bo Peng [Fri, 8 Sep 2006 15:07:22 +0000 (15:07 +0000)]
Minor os_cygwin.C change, from Enrico

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14945 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoScons: handle LYX_DATE in src/version.C
Bo Peng [Fri, 8 Sep 2006 15:02:26 +0000 (15:02 +0000)]
Scons: handle LYX_DATE in src/version.C

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14943 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoDo not print locale warning under cygwin, from Enrico
Bo Peng [Fri, 8 Sep 2006 14:43:50 +0000 (14:43 +0000)]
Do not print locale warning under cygwin, from Enrico

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14942 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoImprove Inset dissolve capability (bug 2201).
Jean-Marc Lasgouttes [Fri, 8 Sep 2006 14:08:26 +0000 (14:08 +0000)]
Improve Inset dissolve capability (bug 2201).

* src/insets/insettabular.C (getStatus):
* src/insets/insettext.C (doDispatch,getStatus): remove special code
for LFUN_INSET_DISSOLVE.

* src/text.C (dissolveInset): new method.
(erase, backspace): use dissolveInset.

* src/text3.C (dispatch): use dissolveInset for LFUN_INSET_DISSOLVE.
(getStatus): disable LFUN_INSET_DISSOLVE if the inset has more than one  cell.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14940 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bug 2251 (from G Baum)
Jean-Marc Lasgouttes [Fri, 8 Sep 2006 13:52:41 +0000 (13:52 +0000)]
Fix bug 2251 (from G Baum)

* src/mathed/math_hullinset.h (displayMargin): new static method.
* src/mathed/math_hullinset.C (metrics): use displayMargin().

* src/text2.C (cursorUp, cursorDown): use MathHullInset::displayMargin.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14939 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago * BufferView_pimpl.C (getCurrentChange): do not assume that
Jean-Marc Lasgouttes [Fri, 8 Sep 2006 12:17:45 +0000 (12:17 +0000)]
* BufferView_pimpl.C (getCurrentChange): do not assume that
LyXText at cursor position is the same as LyXText at
cursor.selBegin() position. Fixes a crash (bug 2600).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14936 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoScons: produce cygwin-compatible binary package
Bo Peng [Fri, 8 Sep 2006 02:01:45 +0000 (02:01 +0000)]
Scons: produce cygwin-compatible binary package

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14934 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agos/errno.h/cerrno/
Georg Baum [Thu, 7 Sep 2006 15:23:16 +0000 (15:23 +0000)]
s/errno.h/cerrno/

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14932 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix compile error
Georg Baum [Thu, 7 Sep 2006 13:08:33 +0000 (13:08 +0000)]
Fix compile error
* src/support/fs_extras.C: include errno.h

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14931 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bug 2660
Georg Baum [Thu, 7 Sep 2006 12:47:13 +0000 (12:47 +0000)]
Fix bug 2660
* lib/doc/de_UserGuide.lyx: fix image paths

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14930 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoforgot this
Georg Baum [Thu, 7 Sep 2006 09:58:47 +0000 (09:58 +0000)]
forgot this

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14926 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix bug 2698 (new images from Uwe Stöhr)
Georg Baum [Thu, 7 Sep 2006 09:51:50 +0000 (09:51 +0000)]
Fix bug 2698 (new images from Uwe Stöhr)

* src/frontends/controllers/ControlMath.C
(latex_misc): Add intop and ointop

* lib/images/math/intop.xpm: New
* lib/images/math/ointop.xpm: Ditto

* lib/images/math/int.xpm: Add box to make the difference to intop clear
* lib/images/math/oint.xpm: ditto

* lib/Makefile.am: add new files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14924 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago- remove static_filters: fix crash of the aspell executable by using only cygwin...
Peter Kümmel [Thu, 7 Sep 2006 09:06:07 +0000 (09:06 +0000)]
- remove static_filters: fix crash of the aspell executable by using only cygwin generated files
- CMakelists.txt: add shared lib option (mingw only)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14922 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoadd comments on the purpose and status of some LFUNs
Michael Schmitt [Wed, 6 Sep 2006 18:34:57 +0000 (18:34 +0000)]
add comments on the purpose and status of some LFUNs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14921 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoremove LFUN_INSET_SCROLL and LFUN_DIALOG_SHOW_NEXT_INSET
Michael Schmitt [Wed, 6 Sep 2006 18:20:35 +0000 (18:20 +0000)]
remove LFUN_INSET_SCROLL and LFUN_DIALOG_SHOW_NEXT_INSET

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14920 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoupdate POTFILES.in
Jean-Marc Lasgouttes [Wed, 6 Sep 2006 12:57:17 +0000 (12:57 +0000)]
update POTFILES.in

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14914 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoadd/fix menu prefix for submenus;
Michael Schmitt [Wed, 6 Sep 2006 11:33:06 +0000 (11:33 +0000)]
add/fix menu prefix for submenus;
remove "Document/Read-Only" entry

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14913 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix file list for the updated boost library
Michael Schmitt [Wed, 6 Sep 2006 11:18:57 +0000 (11:18 +0000)]
fix file list for the updated boost library

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14912 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoupdate to boost 1.34 cvs
Peter Kümmel [Wed, 6 Sep 2006 09:47:45 +0000 (09:47 +0000)]
update to boost 1.34 cvs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14911 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agocheck PATH for iconv.dll
Peter Kümmel [Wed, 6 Sep 2006 08:43:48 +0000 (08:43 +0000)]
check PATH for iconv.dll

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14901 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoupdate to boost 1.34 cvs
Peter Kümmel [Wed, 6 Sep 2006 08:43:10 +0000 (08:43 +0000)]
update to boost 1.34 cvs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14900 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agopatch and build system for cvs version of aspell
Peter Kümmel [Tue, 5 Sep 2006 07:30:27 +0000 (07:30 +0000)]
patch and build system for cvs version of aspell

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14896 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoUpdate in-tree boost to latest from boost 1.34 cvs.
Lars Gullik Bjønnes [Tue, 5 Sep 2006 07:18:36 +0000 (07:18 +0000)]
Update in-tree boost to latest from boost 1.34 cvs.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14895 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoadd forgotten comma
Georg Baum [Mon, 4 Sep 2006 15:54:57 +0000 (15:54 +0000)]
add forgotten comma

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14893 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFix byte order problems
Georg Baum [Mon, 4 Sep 2006 14:43:25 +0000 (14:43 +0000)]
Fix byte order problems
* src/support/unicode.C
(bytes_to_ucs4): make it work on big endian machines
(bytes_to_ucs2): make it work on little endian machines
(ucs2_to_ucs4): ditto
(utf8_to_ucs4): Invoke iconv with explicit BE suffix
(ucs2_to_ucs4): ditto
(ucs4_to_ucs2): ditto
(ucs4_to_utf8): ditto

* configure.ac: Check for byte order

* development/scons/SConstruct: Ditto

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14890 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoFixes a MSVC/Qt4 crash when closing the Document Settings dialog.
Abdelrazak Younes [Mon, 4 Sep 2006 09:48:51 +0000 (09:48 +0000)]
Fixes a MSVC/Qt4 crash when closing the Document Settings dialog.

* Dialogs::disconnect(string const & name): check if the dialog is an inset before resetting open_insets_

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14889 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agomove project_source_group macro into an extra file: ProjectSourceGroup.cmake
Peter Kümmel [Sun, 3 Sep 2006 23:52:51 +0000 (23:52 +0000)]
move project_source_group macro into an extra file: ProjectSourceGroup.cmake

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14888 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agomore flexible msvc project folder generation, flat is default
Peter Kümmel [Sun, 3 Sep 2006 23:50:16 +0000 (23:50 +0000)]
more flexible msvc project folder generation, flat is default

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14887 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agodon't overwrite the command line value
Peter Kümmel [Sun, 3 Sep 2006 18:04:23 +0000 (18:04 +0000)]
don't overwrite the command line value

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14884 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoHeaders and .C files are now in The Golden Code folder
Peter Kümmel [Sun, 3 Sep 2006 17:51:53 +0000 (17:51 +0000)]
Headers and .C files are now in The Golden Code folder

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14883 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agouse enums instead of strings to distinguish different types of math hull
André Pönitz [Sun, 3 Sep 2006 16:14:51 +0000 (16:14 +0000)]
use enums instead of strings to distinguish different types of math hull

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14882 a592a061-630c-0410-9148-cb99ea01b6c8

17 years ago* MSVC compilation fix: replace subst template with subst_char and sub_string
Abdelrazak Younes [Sun, 3 Sep 2006 14:09:24 +0000 (14:09 +0000)]
* MSVC compilation fix: replace subst template with subst_char and sub_string
* add lowercase() and uppercase() functions for unicode char_type.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14881 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agosearch also for other names of iconv.dll
Peter Kümmel [Sun, 3 Sep 2006 13:46:47 +0000 (13:46 +0000)]
search also for other names of iconv.dll

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14880 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agofix getStatus of LFUN_DISSOLVE_INSET:
Jürgen Spitzmüller [Sun, 3 Sep 2006 13:39:54 +0000 (13:39 +0000)]
fix getStatus of LFUN_DISSOLVE_INSET:
* src/text3.C (getStatus):
disable the lfun in MainText.
* src/insets/insettabular.C (getStatus):
disable inset-dissolve completely.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14879 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoalso work with MSYS
Peter Kümmel [Sun, 3 Sep 2006 13:20:38 +0000 (13:20 +0000)]
also work with MSYS

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14878 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoAll methods: use char_type as argument instead of char.
Abdelrazak Younes [Sun, 3 Sep 2006 12:12:53 +0000 (12:12 +0000)]
All methods: use char_type as argument instead of char.
isLetterChar(): verify also that this is a one-byte char (<256).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14877 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoThis fixes the crash when PageDown scrolling UserGuide.lyx
Abdelrazak Younes [Sun, 3 Sep 2006 11:54:17 +0000 (11:54 +0000)]
This fixes the crash when PageDown scrolling UserGuide.lyx

* MathMacroTemplate::prefix(): now return docstring.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14876 a592a061-630c-0410-9148-cb99ea01b6c8

17 years agoadd \n
Peter Kümmel [Sun, 3 Sep 2006 10:51:46 +0000 (10:51 +0000)]
add \n

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14875 a592a061-630c-0410-9148-cb99ea01b6c8