lyx_mirror/src
Abdelrazak Younes c7e365365e This commit saves the need to check for lyx::use_gui in a number of places.
* lyx_main.h: define "extern bool lyx::use_gui" here.

* NoGuiFontMetrics.h: new class for command-line LyX

* NoGuiFontLoader.h: new class for command-line LyX

* Application.C:
  - theFontMetrics(): returns the above dummy FontMetrics when use_gui is false.
  - theFontLoader(): returns the above dummy FontLoader when use_gui is false.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15339 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-15 21:47:29 +00:00
..
client link lyxclient against iconv 2006-09-15 09:39:10 +00:00
frontends This commit saves the need to check for lyx::use_gui in a number of places. 2006-10-15 21:47:29 +00:00
graphics This commit is purely mechanical and get rid of lyx_gui.[Ch]. 2006-10-12 14:10:13 +00:00
insets This commit saves the need to check for lyx::use_gui in a number of places. 2006-10-15 21:47:29 +00:00
mathed This commit saves the need to check for lyx::use_gui in a number of places. 2006-10-15 21:47:29 +00:00
support Add missing convert<> specialization for unsigned long. 2006-10-13 15:35:18 +00:00
tex2lyx * src/factory.C 2006-10-15 08:32:37 +00:00
aspell_local.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
aspell.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
author.C
author.h
Bidi.C
Bidi.h
boost.C do not define boost::throw_exceptions if we are compiling with exceptions 2006-04-05 23:55:36 +00:00
box.C
box.h
BranchList.C This commit is purely mechanical and get rid of lyx_gui.[Ch]. 2006-10-12 14:10:13 +00:00
BranchList.h Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
buffer_funcs.C This commit cleans up everything related to singleton. The other important change is that lyx::dispatch() and lyx::getStatus become _the_ official way to use LyXFunc equivalent methods. 2006-10-11 17:24:46 +00:00
buffer_funcs.h This commit creates a error_lists map member inside the Buffer class. 2006-08-13 16:16:43 +00:00
buffer.C Support for optional arguments for environments. No material format change. 2006-10-12 20:21:14 +00:00
buffer.h Convert labels to unicode 2006-10-12 10:50:45 +00:00
bufferlist.C Rename namespace Alert to lyx::frontend::Alert. 2006-10-07 16:47:54 +00:00
bufferlist.h Add comments WRT to where the function implementations are. 2006-10-14 19:58:42 +00:00
bufferparams.C Rename namespace Alert to lyx::frontend::Alert. 2006-10-07 16:47:54 +00:00
bufferparams.h Change tracking: 2006-10-06 18:53:35 +00:00
bufferview_funcs.C In order to support multiple LyXView each BufferView needs its own CoordCache. This is what's implemented in this commit. 2006-10-13 16:44:44 +00:00
bufferview_funcs.h In order to support multiple LyXView each BufferView needs its own CoordCache. This is what's implemented in this commit. 2006-10-13 16:44:44 +00:00
BufferView.C In order to support multiple LyXView each BufferView needs its own CoordCache. This is what's implemented in this commit. 2006-10-13 16:44:44 +00:00
BufferView.h In order to support multiple LyXView each BufferView needs its own CoordCache. This is what's implemented in this commit. 2006-10-13 16:44:44 +00:00
Bullet.C
Bullet.h
ChangeLog merge booktabs branch 2006-07-03 19:13:56 +00:00
changes.C src/paragraph.h: 2006-05-08 20:30:52 +00:00
changes.h Change tracking: 2006-10-11 20:01:32 +00:00
Chktex.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
Chktex.h
chset.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
chset.h
Color.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
Color.h Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
converter.C Rename namespace Alert to lyx::frontend::Alert. 2006-10-07 16:47:54 +00:00
converter.h This commit creates a error_lists map member inside the Buffer class. 2006-08-13 16:16:43 +00:00
coordcache.C In order to support multiple LyXView each BufferView needs its own CoordCache. This is what's implemented in this commit. 2006-10-13 16:44:44 +00:00
coordcache.h MacOSX comiplation fix. 2006-10-14 12:39:18 +00:00
counters.C
counters.h
cursor_slice.C avoid comparing the addresses of dereferenced 0 pointers 2006-09-27 16:10:47 +00:00
cursor_slice.h rename Math*Inset into InsetMath* 2006-09-16 18:11:38 +00:00
cursor.C In order to support multiple LyXView each BufferView needs its own CoordCache. This is what's implemented in this commit. 2006-10-13 16:44:44 +00:00
cursor.h rename Math*Inset into InsetMath* 2006-09-16 18:11:38 +00:00
CutAndPaste.C Change tracking: 2006-10-11 20:01:32 +00:00
CutAndPaste.h Introduce wide streams. This fixes the remaining problems of plain text 2006-10-11 19:40:50 +00:00
debug.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
debug.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
DepTable.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
DepTable.h
dimension.C This commit cleans up everything related to singleton. The other important change is that lyx::dispatch() and lyx::getStatus become _the_ official way to use LyXFunc equivalent methods. 2006-10-11 17:24:46 +00:00
dimension.h
dispatchresult.h
dociterator.C rename mathed/math_xinset into mathed/InsetMathX 2006-09-17 09:14:18 +00:00
dociterator.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
encoding.C * src/lyx_main.C (readRcFile): do not report an error if file is not 2006-05-02 12:53:48 +00:00
encoding.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
errorlist.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
errorlist.h Use wchar_t as lyx::char_type if it is 32 bit wide. 2006-09-13 21:13:49 +00:00
exporter.C Rename namespace Alert to lyx::frontend::Alert. 2006-10-07 16:47:54 +00:00
exporter.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
factory.C * src/factory.C 2006-10-15 08:32:37 +00:00
factory.h
Floating.C
Floating.h
FloatList.C
FloatList.h
FontIterator.C
FontIterator.h
format.C Rename namespace Alert to lyx::frontend::Alert. 2006-10-07 16:47:54 +00:00
format.h Fix bug 2868 2006-10-03 08:34:59 +00:00
funcrequest.C convert lfun arguments to docstring 2006-09-01 15:41:38 +00:00
funcrequest.h convert lfun arguments to docstring 2006-09-01 15:41:38 +00:00
FuncStatus.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
FuncStatus.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
gettext.C remove unused function _(docstring const &) 2006-09-19 16:41:18 +00:00
gettext.h Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
graph.C Small fixes for STLPort compliance 2006-09-28 00:42:47 +00:00
graph.h
importer.C Rename namespace Alert to lyx::frontend::Alert. 2006-10-07 16:47:54 +00:00
importer.h This commit creates a error_lists map member inside the Buffer class. 2006-08-13 16:16:43 +00:00
insetiterator.C
insetiterator.h
InsetList.C delete unneeded BufferView.h declaration. 2006-09-26 21:11:22 +00:00
InsetList.h
intl.C * src/intl.C (InitKeyMapper): reset kbmap file names if the files 2006-05-31 10:34:30 +00:00
intl.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
ispell.C * src/client/debug.C (showLevel): 2006-09-11 10:27:48 +00:00
ispell.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
kbmap.C rename LFUN enum values according to their command (as used in th minibuffer/bind files 2006-05-05 20:23:12 +00:00
kbmap.h rename LFUN enum values according to their command (as used in th minibuffer/bind files 2006-05-05 20:23:12 +00:00
kbsequence.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
kbsequence.h * lyxfunc.h: 2006-04-13 12:18:42 +00:00
language.C * src/lyx_main.C (readRcFile): do not report an error if file is not 2006-05-02 12:53:48 +00:00
language.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
LaTeX.C This commit cleans up everything related to singleton. The other important change is that lyx::dispatch() and lyx::getStatus become _the_ official way to use LyXFunc equivalent methods. 2006-10-11 17:24:46 +00:00
LaTeX.h Use wchar_t as lyx::char_type if it is 32 bit wide. 2006-09-13 21:13:49 +00:00
LaTeXFeatures.C merge booktabs branch 2006-07-03 19:13:56 +00:00
LaTeXFeatures.h drop linuxdoc support (part 5) 2006-08-23 12:43:46 +00:00
layout.h drop linuxdoc support (part 3) 2006-08-23 10:57:45 +00:00
LColor.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
LColor.h Add support for framed.sty 2006-06-03 16:46:27 +00:00
lengthcommon.C * lengthCommon.C: add an empty string as the last element 2006-07-19 18:17:23 +00:00
lengthcommon.h * lengthcommon.[Ch]: remove obsolete unit_name_ltx; 2006-07-18 21:56:07 +00:00
lfuns.h remove LFUN_TOOLTIPS_TOGGLE and associated Dialog::tooltipsEnabled() method. 2006-10-06 21:49:13 +00:00
lyx_cb.C This commit saves the need to check for lyx::use_gui in a number of places. 2006-10-15 21:47:29 +00:00
lyx_cb.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
lyx_main.C enable buffer-export without loading the GUI. 2006-10-13 21:27:55 +00:00
lyx_main.h This commit saves the need to check for lyx::use_gui in a number of places. 2006-10-15 21:47:29 +00:00
lyx_sty.C Fix bug 2723 2006-08-13 17:36:49 +00:00
lyx_sty.h
LyXAction.C remove LFUN_TOOLTIPS_TOGGLE and associated Dialog::tooltipsEnabled() method. 2006-10-06 21:49:13 +00:00
LyXAction.h
lyxfind.C Rename namespace Alert to lyx::frontend::Alert. 2006-10-07 16:47:54 +00:00
lyxfind.h
lyxfont.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
lyxfont.h
lyxfunc.C This commit saves the need to check for lyx::use_gui in a number of places. 2006-10-15 21:47:29 +00:00
lyxfunc.h Add comments WRT to where the function implementations are. 2006-10-14 19:58:42 +00:00
lyxgluelength.C
lyxgluelength.h
lyxlayout_ptr_fwd.h
lyxlayout.C * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
lyxlayout.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
lyxlength.C This commit cleans up everything related to singleton. The other important change is that lyx::dispatch() and lyx::getStatus become _the_ official way to use LyXFunc equivalent methods. 2006-10-11 17:24:46 +00:00
lyxlength.h better documentation for isValidLength and stringFromUnit 2006-05-12 19:06:19 +00:00
lyxlex_pimpl.C s/boost::uint32_t/lyx::char_type/g except in the definition of lyx::docstring 2006-09-13 17:11:39 +00:00
lyxlex_pimpl.h Merge the unicode branch into trunk. 2006-08-13 22:54:59 +00:00
lyxlex.C Merge the unicode branch into trunk. 2006-08-13 22:54:59 +00:00
lyxlex.h Use wchar_t as lyx::char_type if it is 32 bit wide. 2006-09-13 21:13:49 +00:00
lyxrc.C Fix bug 2868 2006-10-03 08:34:59 +00:00
lyxrc.h * lyxrc.h: 2006-07-10 18:51:17 +00:00
lyxrow_funcs.C
lyxrow_funcs.h
lyxrow.C
lyxrow.h
lyxserver.C This commit is purely mechanical and get rid of lyx_gui.[Ch]. 2006-10-12 14:10:13 +00:00
lyxserver.h
lyxsocket.C This commit is purely mechanical and get rid of lyx_gui.[Ch]. 2006-10-12 14:10:13 +00:00
lyxsocket.h
lyxtext.h Improve Inset dissolve capability (bug 2201). 2006-09-08 14:08:26 +00:00
lyxtextclass.C Give a better error message for missing layout include files 2006-10-04 16:22:38 +00:00
lyxtextclass.h drop linuxdoc support (part 5) 2006-08-23 12:43:46 +00:00
lyxtextclasslist.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
lyxtextclasslist.h Reduce calls of ::exit() 2006-07-05 17:01:26 +00:00
lyxvc.C Rename namespace Alert to lyx::frontend::Alert. 2006-10-07 16:47:54 +00:00
lyxvc.h
main.C Reduce calls of ::exit() 2006-07-05 17:01:26 +00:00
Makefile.am Merge BufferView and BufferView_pimpl 2006-09-16 10:08:51 +00:00
MenuBackend.C Introduce wide streams. This fixes the remaining problems of plain text 2006-10-11 19:40:50 +00:00
MenuBackend.h This commit splits the add() method in two methods add() and 2006-09-29 21:40:56 +00:00
messages.C This is the continuation of my BufferView/LyXView cleanup. This commit replaces BufferView->LyXView->getDialogs().[show(), update()] with BufferView signal emissions. 2006-09-19 13:36:20 +00:00
messages.h Make the l10n machinery work with ucs4. Update (as wip) callers to do manual conversion and a FIXME comment. Lots of work to do. 2006-09-09 11:16:28 +00:00
metricsinfo.C rename mathed/math_xinset into mathed/InsetMathX 2006-09-17 09:14:18 +00:00
metricsinfo.h Use wchar_t as lyx::char_type if it is 32 bit wide. 2006-09-13 21:13:49 +00:00
mover.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
mover.h remove remaining references to fig_copy.sh 2006-08-08 21:12:50 +00:00
output_docbook.C view-source feature, from Bo Peng <ben.bob@gmail.com> 2006-04-09 02:48:54 +00:00
output_docbook.h * output_latex.h: 2006-03-23 20:11:06 +00:00
output_latex.C Support for optional arguments for environments. No material format change. 2006-10-12 20:21:14 +00:00
output_latex.h * output_latex.h: 2006-03-23 20:11:06 +00:00
output_plaintext.C Introduce wide streams. This fixes the remaining problems of plain text 2006-10-11 19:40:50 +00:00
output_plaintext.h Introduce wide streams. This fixes the remaining problems of plain text 2006-10-11 19:40:50 +00:00
output.C Introduce wide streams. This fixes the remaining problems of plain text 2006-10-11 19:40:50 +00:00
output.h Introduce wide streams. This fixes the remaining problems of plain text 2006-10-11 19:40:50 +00:00
outputparams.C view-source feature, from Bo Peng <ben.bob@gmail.com> 2006-04-09 02:48:54 +00:00
outputparams.h view-source feature, from Bo Peng <ben.bob@gmail.com> 2006-04-09 02:48:54 +00:00
paper.h
paragraph_funcs.C Change tracking: 2006-10-11 20:01:32 +00:00
paragraph_funcs.h * output_latex.h: 2006-03-23 20:11:06 +00:00
paragraph_pimpl.C Introduce wide streams. This fixes the remaining problems of plain text 2006-10-11 19:40:50 +00:00
paragraph_pimpl.h Change tracking: 2006-10-06 19:59:41 +00:00
paragraph.C Change tracking: 2006-10-11 20:01:32 +00:00
paragraph.h Change tracking: 2006-10-11 20:01:32 +00:00
ParagraphList_fwd.h * output_latex.h: 2006-03-23 20:11:06 +00:00
ParagraphList.h * output_latex.h: 2006-03-23 20:11:06 +00:00
ParagraphParameters.C delete unneeded BufferView.h declaration. 2006-09-26 21:11:22 +00:00
ParagraphParameters.h
pariterator.C
pariterator.h * TocBackend.[Ch]: new files defining class TocBackend. This class contains adapted code from former toc.C 2006-04-22 18:48:28 +00:00
pch.h fix nullstream also in pch files 2006-03-07 10:02:07 +00:00
PrinterParams.C
PrinterParams.h * remove various xforms relicts, in particular: 2006-07-06 19:28:59 +00:00
pspell.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
pspell.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
RowList_fwd.h
rowpainter.C In order to support multiple LyXView each BufferView needs its own CoordCache. This is what's implemented in this commit. 2006-10-13 16:44:44 +00:00
rowpainter.h In order to support multiple LyXView each BufferView needs its own CoordCache. This is what's implemented in this commit. 2006-10-13 16:44:44 +00:00
Sectioning.C
Sectioning.h
session.C Fix a few issues with session/lastopenedfiles, Bo Peng (ben.bob@gmail.com) 2006-04-28 14:29:38 +00:00
session.h Fix a few issues with session/lastopenedfiles, Bo Peng (ben.bob@gmail.com) 2006-04-28 14:29:38 +00:00
sgml.C
sgml.h
Spacing.C
Spacing.h
SpellBase.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
SpellBase.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
stamp-h.in
tabular.C Introduce wide streams. This fixes the remaining problems of plain text 2006-10-11 19:40:50 +00:00
tabular.h Introduce wide streams. This fixes the remaining problems of plain text 2006-10-11 19:40:50 +00:00
tex-accent.C rename LFUN enum values according to their command (as used in th minibuffer/bind files 2006-05-05 20:23:12 +00:00
tex-accent.h rename LFUN enum values according to their command (as used in th minibuffer/bind files 2006-05-05 20:23:12 +00:00
tex-strings.C The Grand Font Selection Redesign: 2006-06-19 08:10:17 +00:00
tex-strings.h The Grand Font Selection Redesign: 2006-06-19 08:10:17 +00:00
texrow.C
texrow.h
text2.C In order to support multiple LyXView each BufferView needs its own CoordCache. This is what's implemented in this commit. 2006-10-13 16:44:44 +00:00
text3.C This commit cleans up everything related to singleton. The other important change is that lyx::dispatch() and lyx::getStatus become _the_ official way to use LyXFunc equivalent methods. 2006-10-11 17:24:46 +00:00
text.C In order to support multiple LyXView each BufferView needs its own CoordCache. This is what's implemented in this commit. 2006-10-13 16:44:44 +00:00
Thesaurus.C
Thesaurus.h
toc.C Introduce wide streams. This fixes the remaining problems of plain text 2006-10-11 19:40:50 +00:00
toc.h Introduce wide streams. This fixes the remaining problems of plain text 2006-10-11 19:40:50 +00:00
TocBackend.C Introduce wide streams. This fixes the remaining problems of plain text 2006-10-11 19:40:50 +00:00
TocBackend.h Introduce wide streams. This fixes the remaining problems of plain text 2006-10-11 19:40:50 +00:00
ToolbarBackend.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
ToolbarBackend.h
trans_decl.h
trans_mgr.C * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
trans_mgr.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
trans.C * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
trans.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
undo.C rename mathed/math_xinset into mathed/InsetMathX 2006-09-17 09:14:18 +00:00
undo.h Whitespace cleanup. 2006-04-05 23:56:29 +00:00
Variables.C
Variables.h
vc-backend.C Avoid a name clash with boost 1.34 2006-09-12 17:41:50 +00:00
vc-backend.h
version.C.in * configure.ac: add LYX_DATE variable for release date. 2006-08-16 21:54:55 +00:00
version.h
vspace.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
vspace.h
WordLangTuple.h