Abdelrazak Younes
e7bb71ff4e
header cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22178 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 22:09:28 +00:00
Abdelrazak Younes
f2f7ec1a05
Cleanup the mess I introduced in rev 22165. This happened frequently lately, I am very sorry!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22167 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 11:46:34 +00:00
Abdelrazak Younes
efbd1d30cb
Sanitize the way we use abort() and exit(). With this commit, we should never crash in release mode, even when assertions are enabled. In debug mode, we crash with abort in order to get a useful backtrace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22165 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-16 11:34:29 +00:00
Abdelrazak Younes
7c392af6ea
getting rid of superfluous lyx::support:: statements.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22106 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 19:57:42 +00:00
Abdelrazak Younes
9abb7db468
getting rid of superfluous std:: statements.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22104 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 19:28:07 +00:00
Abdelrazak Younes
b89cc942eb
'using namespace lyx::support' instead of 'using support::xxx'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22103 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 18:57:56 +00:00
Abdelrazak Younes
9383f4c3c6
'using namespace std' instead of 'using std::xxx'
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-12 10:16:00 +00:00
Enrico Forestieri
40dd6a1b08
Shutdown LyX server and socket before trying to remove the tempdir,
...
otherwise it would not be empty and could not be removed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21992 a592a061-630c-0410-9148-cb99ea01b6c8
2007-12-06 18:52:17 +00:00
André Pönitz
9b93a45374
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21855 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 07:41:23 +00:00
André Pönitz
9d0ea8aeff
Move debug.{cpp,h}, Messages.{cpp,h} and gettext.{cpp,h} to support/.
...
Now support/* should have no dependencies on src/* anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21851 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-29 07:04:28 +00:00
Uwe Stöhr
58135f8b27
support to set the examples folder in the preferences
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21776 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 18:26:58 +00:00
Abdelrazak Younes
94c0fc55de
Getting rid of Application::createView()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21760 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-24 08:51:11 +00:00
Abdelrazak Younes
d4b02ad711
simplify window creation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21735 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 09:56:33 +00:00
Abdelrazak Younes
37a5647be1
Transfer LyXView::loadLyXFile() to lyxFunc::loadAndViewFile(). This enables to get rid of the flashing tabbar bug and is more correct anyway.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21677 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-19 12:03:38 +00:00
Abdelrazak Younes
1b147f12b0
Spoiling some fun from Andre': put Application on a diet and remove unnecessary string conversions and method indirections.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21665 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 20:36:52 +00:00
André Pönitz
dac06728cb
shuffle code around
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21653 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 15:32:12 +00:00
André Pönitz
72e3177e3d
shuffle some code around
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21636 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 22:30:16 +00:00
André Pönitz
e1ce2f92db
reduce line noise
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21631 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 20:04:51 +00:00
Pavel Sanda
a5449f2b7d
Add format hint for command line export
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21623 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 12:14:39 +00:00
André Pönitz
f4292fcec7
usr strfwd
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21617 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 21:36:01 +00:00
Abdelrazak Younes
e5eabfe067
Transfer geometry related session code from LyX::newLyXView() to GuiView::setGeometry().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21606 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 13:56:13 +00:00
André Pönitz
f625dd7ea0
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21593 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 23:50:28 +00:00
Abdelrazak Younes
12ecafd76e
Transfer createView() from Application to GuiApplication and get rid of LyXView::setGeometry() pure virtual interface. The goal is to switch to Qt session handling for geometry instead of our own house made one.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21585 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 15:29:15 +00:00
André Pönitz
8d06b3049b
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21544 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-10 13:44:50 +00:00
André Pönitz
b55a179d51
more de-boostification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21493 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-07 20:14:30 +00:00
Bo Peng
7fb4a57ab9
Put bindings in defaultKeyBindings() to site.bind
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21268 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-29 19:45:43 +00:00
Abdelrazak Younes
eea79637c7
Move Color::color enum to ColorCode.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21198 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-25 12:41:02 +00:00
Dov Feldstern
662b58497e
Getting rid of LTR bias --- part 1/?
...
This is the first patch in a series meant to remove LTR bias from the code.
Currently, there are many places in the code where "right" and "left" are used,
but where we actually mean "forward" and "backwards" --- which is the same
thing in LTR text, but not in RTL/Bidi text.
See full details in http://permalink.gmane.org/gmane.editors.lyx.devel/97550 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21128 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-22 22:18:52 +00:00
André Pönitz
f934b86850
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-21 10:50:56 +00:00
Bernhard Roider
1a77c867a2
CmdDef.cpp/h: A class that manages command definitions. The definitions are
...
by default read from lib/commands/default.def
A .def file allows to define a command with
\define "Name" "lfun"
where Name is the name of the new command and lfun is the code
to be executed.
\def_file "FileName"
allows to include another .def file.
The implementation of CmdDef is similar to KeyMap, i.e. there is
one instance created in the LyX.cpp that reads the .def file, holds
a list containing all definitions, and supplies access methods.
LFUN_CALL: The new lfun is used to execute a command definition, e.g.
call Name
If a toolbar item has the associated action "call Name" then the image
lib/images/commands/Name.png is used for the button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21093 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 23:27:03 +00:00
Bo Peng
0755a1c9dc
PrefShortcuts: Roughly finish the shortcut configuration panel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21090 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 20:50:56 +00:00
André Pönitz
fbb3abfeac
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21085 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 17:35:27 +00:00
André Pönitz
f762cbf3c6
mainly cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21079 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-20 10:03:45 +00:00
André Pönitz
988f372843
use FileName::isDirectory()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21047 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 21:10:35 +00:00
André Pönitz
0e08bc5e16
start using FileName::exists()
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21044 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-18 19:29:32 +00:00
Bo Peng
e224999ae6
InsetInfo: load bind file and menu backend in batch mode as well. Otherwise, InsetInfo will yield different output in batch mode
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20909 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-11 15:27:24 +00:00
André Pönitz
58ab972f71
last commit was incomplete... not sure how I managed this..
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20710 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 20:15:49 +00:00
André Pönitz
df2318f823
move some buffere related stuff from callback.cpp tpo Buffer.cpp.
...
simpler code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20694 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 11:00:18 +00:00
Martin Vermeer
15b8abe4b8
lyx -> LyX
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20529 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 06:30:12 +00:00
Martin Vermeer
a80e1981bd
src/LyX.cpp: style corrections for trunk
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20528 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 01:05:20 +00:00
Bo Peng
b762358eec
Lyx now starts and asks for reconfigure if no textclass is found (bug 2829)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20522 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 19:36:09 +00:00
Lars Gullik Bjønnes
26f336769a
Remove warnings reported with gcc 4.3:
...
- Modifier on return type ignored
- Ambigous else
- Ambigous logical operators
- Semi-colon instead of empty block
- Missing header files
- Missing using std::XX
- Initialization out of order
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20304 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 10:36:57 +00:00
Abdelrazak Younes
7efb007296
Clear out selection and cut stack buffers on exit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20293 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 17:24:08 +00:00
Enrico Forestieri
92065820e5
Register math fonts with Qt 4.2 or higher. Using Qt 4.1, the old
...
xft-fonts package is still required. However, on *nix there seem
to be no way to tell fontconfig to prefer our fonts instead of
others matching the requirements, so, in case of conflict, the
fontconfig files should be manually adjusted, or some existing
font package used (note that the quality of the bakoma fonts is
better than that of the xft ones). There is no such problem on
Windows where our private fonts are always preferred over the
installed ones (and I hope the same holds true for Mac).
* src/LyX.cpp
(LyX::exec): don't call addFontResources() and restoreFontResources()
anymore, as the frontend code will do the job.
* src/frontends/qt4/GuiFontLoader.{cpp,h}
(GuiFontLoader::GuiFontLoader): register math fonts with Qt.
(GuiFontLoader::~GuiFontLoader): unregister math fonts.
* src/support/os.h
* src/support/os_unix.cpp
* src/support/os_win32.cpp
* src/support/os_cygwin.cpp:
remove code dealing with fonts.
* configure.ac: don't check for fontconfig headers anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20128 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 16:22:05 +00:00
Richard Heck
8a947f63da
This is one of a series of patches that will merge the layout modules development in personal/branches/rgheck back into the tree.
...
Design goal: Allow the use of layout "modules", which are to LaTeX packages as layout files are to LaTeX document classes. Thus, one could have a module that defined certain character styles, environments, commands, or what have you, and include it in various documents, each of which uses a different document class, without having to modify the layout files themselves. For example, a theorems.module could be used with article.layout to provide support for theorem-type environments, without having to modify article.layout itself, and the same module could be used with book.layout, etc.
This patch adds the backend. The ModuleList class holds a list of the available modules, which are retrieved from lyxmodules.lst, itself generated by configure.py. There are two LFUNs available: modules-clear and module-add, which do the obvious thing; you can test by typing these into the minibuffer, along with the name of one of the available modules: URL (a CharStyle), Endnote (a Custom Inset), and---with the spaces---End To Foot (View>LaTeX and look at the user preamble), which are themselves in lib/layouts. There are some others, too, that allow theorems to be added to classes like article and book.
The GUI will come next.
Issues: (i) The configure.py script could be improved. It'd be nice, for example, if it tested for the presence of the LaTeX packages a particular module needs. But this would mean re-working the LaTeX script, and I don't know how to do that. Note that at present, the packages are ignored. This will change shortly. (ii) I've used std::string in LyXModule, following what seemed to be a precedent in TextClass. If some of these should be docstrings, please let me know, and I'll change them. (iii) There is at present no distinction between LaTeX and DocBook modules. Should there be? That is: Should there be modules that are available when the document class is a LaTeX class and others that are available only when it is DocBook? Or should there just be one set of modules? Each module can of course indicate for what it is suitable in its description.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19893 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-29 17:59:49 +00:00
Abdelrazak Younes
2419c80657
Fix crash when session is empty.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19716 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-22 08:34:48 +00:00
Abdelrazak Younes
1356543c45
The BufferView/WorkArea/LyXView reorg a.k.a Multiple WorkAreas:
...
* Buffer:
- get rid of cursor_ and anchor_
- ~Buffer(): update the labels of its master buffer before closing
- closing(): pass the Buffer address.
* BufferView():
- BufferView(): needs a valid Buffer (should be const in the future.
- most of the change is about removing all test of buffer_ nullity.
- resize(): deleted.
- setBuffer(): deleted.
* Application:
- newLyXView(): simplification
- updated design description in Application.h
* Gui/GuiImplementation: remove all WorkAreas and BufferView creation/Deletion. Workareas are directly handled by LyXView/GuiView and BufferView is created/delete by WorkArea.
* LyXView/GuiView: implement the new design
What is not working yet:
- the close tab button: it is implemented but does not show up.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19686 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 07:33:46 +00:00
Abdelrazak Younes
32268e2632
cosmetics + move frontends/* to frontend namespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19553 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 09:54:59 +00:00
Jean-Marc Lasgouttes
12dbcf2ee1
[the "translation" patch series] Part 2: fixing document label translations
...
* src/gettext.cpp (locale_init): factor some code; call Messages::init().
* LyX.cpp (exec): call Messages::init() after initializing package().
* Messages.cpp (init): new method, factor some code from get().
(get): change the method used to set the locale. Should be much more robust
than it was (and simpler too).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19360 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 22:24:47 +00:00
Richard Heck
3419382919
Fix bugs 4077 and 4086.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19293 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-03 16:09:42 +00:00
Abdelrazak Younes
a3abe11974
another safe guard.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19134 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 09:12:34 +00:00
Abdelrazak Younes
ad91d27c28
Obvious crash-fix introduced by 19094.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19132 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-19 07:24:21 +00:00
Abdelrazak Younes
4863cfdf78
Fix this bug:
...
1) create a doc
2) insert an ert inset
3) right-click the inset
4) new window
5) delete the ert inset: BOOM!
This commit replace the static hideDialog signal which was in effect shared by all views with a direct call to Dialog::hide().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19094 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 09:20:39 +00:00
Richard Heck
d3003c1022
Polish the Toc and labels updating when loading a child document.
...
Fix Bug 3860: Toc crash when loading a child documents.
* BufferView::loadLyXFile(): simplify, transfer last part to
LyXView::loadLyXFile().
Change return value to Buffer created by load (or 0 if none).
Ultimately, this should all be moved to buffer_funcs.cpp, as it is no
longer needed here.
* Buffer::setParentName(): small fix to avoid recursive includes.
* LyXView:
- setBuffer(): properly update the labels and the Toc if this is [LOAD Child
Document] command. Move buffer connection and disconnection, simplifying
earlier code.
- loadLyXFile(): get some code from BufferView::loadLyXFile() and from
LyXFunc::LFUN_BUFFER_CHILD_OPEN, properly handle the child document case.
There's a lot of overlap with setBuffer() here. This needs cleaning.
* LyXFunc: add optional argument to LFUN_BUFFER_CHILD_OPEN to indicate if
the document is being opened by LyX itself rather than the user (as on
View>DVI, for example).
* LyX: adapt to loadLyXFile() API changes.
* insets/InsetInclude: use LFUN_BUFFER_CHILD_OPEN rather than calling
loadLyXFile() directly. Make use of new optional argument.
With this in place, the only thing missing for proper multipart document support is to automatically update the parent Buffer when switching from the parent Buffer. This would be very useful when you work with multiple document sharing the same child documents (as I often do).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18825 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 14:56:52 +00:00
Lars Gullik Bjønnes
897436efbb
Whitespace cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18550 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-28 22:27:45 +00:00
Abdelrazak Younes
1becd845c1
* LyX::addFileToLoad(): new method for double-clicked file icons on MacOS.
...
* GuiApplication::event():
special case for FileOpen events: memorize the filenames if LyX is not properly started yet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18201 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-04 17:20:53 +00:00
André Pönitz
6add1994c7
rename LyXTextClass* into TextClass*
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18097 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 19:53:54 +00:00
André Pönitz
d079c908b3
rename LyXServer into Server
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18092 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 16:22:46 +00:00
André Pönitz
32871c1284
rename InsetBase to Inset
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18089 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-29 13:39:47 +00:00
Bo Peng
e36fba33ab
Last (?) batch of renames:
...
src/frontends/Alert.h src/frontends/alert.h
src/frontends/Alert.cpp src/frontends/alert.cpp
src/frontends/Alert_pimpl.cpp src/frontends/alert_pimpl.cpp
src/frontends/qt4/Alert_pimpl.cpp src/frontends/qt4/alert_pimpl.cpp
src/frontends/controllers/ButtonPolicies.cpp src/frontends/controllers/ButtonPolicy.cpp
src/frontends/controllers/ButtonPolicies.h src/frontends/controllers/ButtonPolicy.h
src/insets/InsetEnv.cpp src/insets/InsetEnvironment.cpp
src/insets/InsetEnv.h src/insets/InsetEnvironment.h
src/mathed/MathMacroTable.h src/mathed/MacroTable.h
src/mathed/MathMacroTable.cpp src/mathed/MacroTable.cpp
src/lyx_cb.h src/callback.h
src/lyx_cb.cpp src/callback.cpp
src/UpdateFlags.h src/update_flags.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18076 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-28 20:44:46 +00:00
André Pönitz
1d6c4787f9
rename kb_keymap into KeyMap
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18056 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-27 08:05:58 +00:00
André Pönitz
5008ee540f
rename LColor into Color
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18046 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 17:34:20 +00:00
André Pönitz
39e79d8602
rename LyXLex into Lexer
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18033 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 11:30:54 +00:00
Bo Peng
138b23fac8
Rename files in src/support, step one.
...
src/support/package.h src/support/Package.h Package
src/support/package.C.in src/support/Package.C.in Package
src/support/path.h src/support/Path.h Path
src/support/fs_extras.h src/support/fs_extras.h NOCLASSES
src/support/RandomAccessList.h src/support/RandomAccessList.h RandomAccessList
src/support/lyxmanip.h src/support/lyxmanip.h NOCLASSES
src/support/rename.C src/support/rename.cpp NOCLASSES
src/support/abort.C src/support/abort.cpp NOCLASSES
src/support/lyxlib.h src/support/lyxlib.h NOCLASSES
src/support/ExceptionMessage.h src/support/ExceptionMessage.h ExceptionMessage
src/support/copy.C src/support/copy.cpp NOCLASSES
src/support/limited_stack.h src/support/limited_stack.h limited_stack
src/support/filefilterlist.C src/support/FileFilterList.cpp ['FileFilterList', 'Filter']
src/support/cow_ptr.h src/support/cow_ptr.h cow_ptr
src/support/os_unix.C src/support/os_unix.cpp NOCLASSES
src/support/socktools.h src/support/socktools.h NOCLASSES
src/support/forkedcontr.h src/support/ForkedcallsController.h ForkedcallsController
src/support/os.h src/support/os.h NOCLASSES
src/support/FileMonitor.h src/support/FileMonitor.h FileMonitor
src/support/copied_ptr.h src/support/copied_ptr.h copied_ptr
src/support/translator.h src/support/Translator.h Translator
src/support/filetools.C src/support/filetools.cpp NOCLASSES
src/support/unlink.C src/support/unlink.cpp NOCLASSES
src/support/os_win32.C src/support/os_win32.cpp GetFolderPath
src/support/lstrings.C src/support/lstrings.cpp NOCLASSES
src/support/qstring_helpers.C src/support/qstring_helpers.cpp NOCLASSES
src/support/getcwd.C src/support/getcwd.cpp NOCLASSES
src/support/systemcall.C src/support/Systemcall.cpp Systemcall
src/support/lyxalgo.h src/support/lyxalgo.h NOCLASSES
src/support/filefilterlist.h src/support/FileFilterList.h ['FileFilterList', 'Filter']
src/support/unicode.C src/support/unicode.cpp IconvProcessor
src/support/userinfo.C src/support/userinfo.cpp NOCLASSES
src/support/lyxtime.C src/support/lyxtime.cpp NOCLASSES
src/support/kill.C src/support/kill.cpp NOCLASSES
src/support/docstring.C src/support/docstring.cpp to_local8bit_failure
src/support/os_cygwin.C src/support/os_cygwin.cpp NOCLASSES
src/support/lyxsum.C src/support/lyxsum.cpp NOCLASSES
src/support/environment.C src/support/environment.cpp NOCLASSES
src/support/filetools.h src/support/filetools.h NOCLASSES
src/support/textutils.C src/support/textutils.cpp NOCLASSES
src/support/mkdir.C src/support/mkdir.cpp NOCLASSES
src/support/forkedcall.C src/support/Forkedcall.cpp ['ForkedProcess', 'Forkedcall']
src/support/tempname.C src/support/tempname.cpp NOCLASSES
src/support/os_win32.h src/support/os_win32.h GetFolderPath
src/support/types.h src/support/types.h NOCLASSES
src/support/lstrings.h src/support/lstrings.h NOCLASSES
src/support/forkedcallqueue.C src/support/ForkedCallQueue.cpp ForkedCallQueue
src/support/qstring_helpers.h src/support/qstring_helpers.h NOCLASSES
src/support/convert.C src/support/convert.cpp NOCLASSES
src/support/filename.C src/support/FileName.cpp ['FileName', 'DocFileName']
src/support/tests/convert.C src/support/tests/convert.cpp NOCLASSES
src/support/tests/filetools.C src/support/tests/filetools.cpp NOCLASSES
src/support/tests/lstrings.C src/support/tests/lstrings.cpp NOCLASSES
src/support/tests/boost.C src/support/tests/boost.cpp NOCLASSES
src/support/docstream.C src/support/docstream.cpp ['iconv_codecvt_facet_exception', 'idocfstream', 'odocfstream']
src/support/std_istream.h src/support/std_istream.h NOCLASSES
src/support/systemcall.h src/support/Systemcall.h Systemcall
src/support/chdir.C src/support/chdir.cpp NOCLASSES
src/support/std_ostream.h src/support/std_ostream.h NOCLASSES
src/support/unicode.h src/support/unicode.h IconvProcessor
src/support/path.C src/support/Path.cpp Path
src/support/fs_extras.C src/support/fs_extras.cpp NOCLASSES
src/support/userinfo.h src/support/userinfo.h NOCLASSES
src/support/lyxtime.h src/support/lyxtime.h NOCLASSES
src/support/docstring.h src/support/docstring.h to_local8bit_failure
src/support/debugstream.h src/support/debugstream.h basic_debugstream
src/support/environment.h src/support/environment.h NOCLASSES
src/support/textutils.h src/support/textutils.h NOCLASSES
src/support/forkedcall.h src/support/Forkedcall.h ['ForkedProcess', 'Forkedcall']
src/support/socktools.C src/support/socktools.cpp NOCLASSES
src/support/forkedcallqueue.h src/support/ForkedCallQueue.h ForkedCallQueue
src/support/forkedcontr.C src/support/ForkedcallsController.cpp ForkedcallsController
src/support/os.C src/support/os.cpp NOCLASSES
src/support/convert.h src/support/convert.h NOCLASSES
src/support/filename.h src/support/FileName.h ['FileName', 'DocFileName']
src/support/docstream.h src/support/docstream.h ['iconv_codecvt_facet_exception', 'idocfstream', 'odocfstream']
src/support/FileMonitor.C src/support/FileMonitor.cpp FileMonitor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18024 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 05:12:52 +00:00
Bo Peng
f630be8904
Rename .C ==> .cpp for files in src/
...
Oldname, newname, classes
src/pspell.C src/PSpell.cpp PSpell
src/ParagraphMetrics.h src/ParagraphMetrics.h ParagraphMetrics
src/author.C src/Author.cpp ['Author', 'AuthorList']
src/Floating.C src/Floating.cpp Floating
src/lyxvc.C src/LyXVC.cpp LyXVC
src/intl.C src/Intl.cpp Intl
src/paragraph.h src/Paragraph.h ['FontSpan', 'Paragraph']
src/LyXAction.C src/LyXAction.cpp LyXAction
src/SpellBase.C src/SpellBase.cpp SpellBase
src/TextMetrics.C src/TextMetrics.cpp TextMetrics
src/LaTeXFeatures.C src/LaTeXFeatures.cpp LaTeXFeatures
src/buffer_funcs.h src/buffer_funcs.h NOCLASSES
src/Variables.h src/Variables.h Variables
src/cursor.C src/LCursor.cpp LCursor
src/lyx_cb.C src/lyx_cb.cpp NOCLASSES
src/DepTable.C src/DepTable.cpp ['DepTable', 'dep_info']
src/vspace.C src/VSpace.cpp VSpace
src/Thesaurus.C src/Thesaurus.cpp Thesaurus
src/Color.h src/color.h NOCLASSES
src/Spacing.C src/Spacing.cpp Spacing
src/dociterator.h src/DocIterator.h ['DocIterator', 'StableDocIterator']
src/trans.C src/Trans.cpp Trans
src/metricsinfo.h src/MetricsInfo.h ['MetricsBase', 'MetricsInfo', 'PainterInfo', 'TextMetricsInfo', 'ViewMetricsInfo', 'Changer', 'FontChanger', 'FontSetChanger', 'StyleChanger', 'ScriptChanger', 'FracChanger', 'ArrayChanger', 'ShapeChanger', 'WidthChanger', 'ColorChanger']
src/box.C src/Box.cpp Box
src/language.h src/Language.h ['Language', 'Languages']
src/output_plaintext.C src/output_plaintext.cpp NOCLASSES
src/coordcache.C src/CoordCache.cpp ['Point', 'CoordCache']
src/lyxlex.h src/LyXLex.h ['LyXLex', 'pushpophelper']
src/encoding.h src/Encoding.h ['Encoding', 'Encodings', 'const_iterator']
src/debug.h src/debug.h lyx_debug_trait
src/Chktex.h src/Chktex.h Chktex
src/output.C src/output.cpp NOCLASSES
src/output_latex.h src/output_latex.h NOCLASSES
src/sgml.C src/sgml.cpp NOCLASSES
src/pspell.h src/PSpell.h PSpell
src/bufferlist.C src/BufferList.cpp BufferList
src/author.h src/Author.h ['Author', 'AuthorList']
src/Bidi.C src/Bidi.cpp Bidi
src/exporter.C src/Exporter.cpp ['Exporter', 'ExportedFile', 'ExportData']
src/Floating.h src/Floating.h Floating
src/lyxvc.h src/LyXVC.h LyXVC
src/intl.h src/Intl.h Intl
src/lyxlength.C src/LyXLength.cpp LyXLength
src/LyXAction.h src/LyXAction.h LyXAction
src/SpellBase.h src/SpellBase.h SpellBase
src/TextMetrics.h src/TextMetrics.h TextMetrics
src/LaTeXFeatures.h src/LaTeXFeatures.h LaTeXFeatures
src/cursor.h src/LCursor.h LCursor
src/layout.h src/layout.h NOCLASSES
src/DepTable.h src/DepTable.h ['DepTable', 'dep_info']
src/lyx_cb.h src/lyx_cb.h NOCLASSES
src/vspace.h src/VSpace.h VSpace
src/PrinterParams.C src/PrinterParams.cpp PrinterParams
src/tex-strings.C src/tex-strings.cpp NOCLASSES
src/Thesaurus.h src/Thesaurus.h Thesaurus
src/Spacing.h src/Spacing.h Spacing
src/BranchList.C src/BranchList.cpp ['Branch', 'BranchList', 'BranchNamesEqual']
src/trans.h src/Trans.h Trans
src/output_plaintext.h src/output_plaintext.h NOCLASSES
src/box.h src/Box.h Box
src/coordcache.h src/CoordCache.h ['Point', 'CoordCache']
src/graph.C src/Graph.cpp ['Graph', 'Vertex']
src/lyxserver.C src/LyXServer.cpp ['LyXComm', 'LyXServer']
src/undo.C src/Undo.cpp Undo
src/output.h src/output.h NOCLASSES
src/text2.C src/text2.cpp NOCLASSES
src/ParagraphList_fwd.h src/ParagraphList_fwd.h NOCLASSES
src/sgml.h src/sgml.h NOCLASSES
src/converter.C src/Converter.cpp ['Converter', 'Converters']
src/factory.C src/factory.cpp NOCLASSES
src/RowList_fwd.h src/RowList_fwd.h NOCLASSES
src/buffer.C src/Buffer.cpp Buffer
src/bufferlist.h src/BufferList.h BufferList
src/CutAndPaste.C src/CutAndPaste.cpp NOCLASSES
src/Bidi.h src/Bidi.h Bidi
src/exporter.h src/Exporter.h ['Exporter', 'ExportedFile', 'ExportData']
src/InsetList.C src/InsetList.cpp ['InsetList', 'InsetTable']
src/FontIterator.C src/FontIterator.cpp FontIterator
src/session.C src/Session.cpp ['SessionSection', 'LastFilesSection', 'LastOpenedSection', 'LastFilePosSection', 'BookmarksSection', 'Bookmark', 'ToolbarSection', 'ToolbarInfo', 'SessionInfoSection', 'Session']
src/lyxlength.h src/LyXLength.h LyXLength
src/main.C src/main.cpp LyXLength
src/lyxsocket.C src/LyXServerSocket.cpp ['LyXServerSocket', 'LyXDataSocket']
src/errorlist.C src/ErrorList.cpp ['ErrorItem', 'ErrorList']
src/lyxtext.h src/LyXText.h LyXText
src/lyxfunc.C src/LyXFunc.cpp LyXFunc
src/format.C src/Format.cpp ['Format', 'Formats']
src/lengthcommon.C src/lengthcommon.cpp NOCLASSES
src/tex-strings.h src/tex-strings.h NOCLASSES
src/PrinterParams.h src/PrinterParams.h PrinterParams
src/insetiterator.C src/InsetIterator.cpp InsetIterator
src/vc-backend.C src/VCBackend.cpp ['VCS', 'RCS', 'CVS']
src/TocBackend.C src/TocBackend.cpp ['TocItem', 'TocList', 'TocBackend']
src/BranchList.h src/BranchList.h ['Branch', 'BranchList', 'BranchNamesEqual']
src/FuncStatus.C src/FuncStatus.cpp FuncStatus
src/Sectioning.C src/Section.cpp ['Section', 'SectioningList']
src/counters.C src/Counters.cpp ['Counter', 'Counters']
src/graph.h src/Graph.h ['Graph', 'Vertex']
src/lyxserver.h src/LyXServer.h ['LyXComm', 'LyXServer']
src/undo.h src/Undo.h Undo
src/paper.h src/paper.h NOCLASSES
src/converter.h src/Converter.h ['Converter', 'Converters']
src/factory.h src/factory.h NOCLASSES
src/LaTeX.C src/LaTeX.cpp ['TeXErrors', 'Error', 'Aux_Info', 'LaTeX']
src/bufferparams.C src/BufferParams.cpp ['BufferParams', 'MemoryTraits']
src/buffer.h src/Buffer.h Buffer
src/CutAndPaste.h src/CutAndPaste.h NOCLASSES
src/InsetList.h src/InsetList.h ['InsetList', 'InsetTable']
src/kbsequence.C src/kb_sequence.cpp kb_sequence
src/FontIterator.h src/FontIterator.h FontIterator
src/dimension.C src/Dimension.cpp Dimension
src/Bullet.C src/Bullet.cpp Bullet
src/texrow.C src/TexRow.cpp ['TexRow', 'RowItem']
src/session.h src/Session.h ['SessionSection', 'LastFilesSection', 'LastOpenedSection', 'LastFilePosSection', 'BookmarksSection', 'Bookmark', 'ToolbarSection', 'ToolbarInfo', 'SessionInfoSection', 'Session']
src/ParagraphParameters.C src/ParagraphParameters.cpp ParagraphParameters
src/lyxsocket.h src/LyXServerSocket.h ['LyXServerSocket', 'LyXDataSocket']
src/errorlist.h src/ErrorList.h ['ErrorItem', 'ErrorList']
src/tabular.C src/LyXTabular.cpp ['LyXTabular', 'ltType', 'cellstruct', 'rowstruct', 'columnstruct']
src/pariterator.C src/ParIterator.cpp ['ParIterator', 'ParConstIterator']
src/lyxfunc.h src/LyXFunc.h LyXFunc
src/format.h src/Format.h ['Format', 'Formats']
src/aspell_local.h src/ASpell_local.h ASpell
src/lengthcommon.h src/lengthcommon.h NOCLASSES
src/insetiterator.h src/InsetIterator.h InsetIterator
src/lyxrc.C src/LyXRC.cpp ['LyXRC', 'LyXRC_PreviewStatus']
src/TocBackend.h src/TocBackend.h ['TocItem', 'TocList', 'TocBackend']
src/vc-backend.h src/VCBackend.h ['VCS', 'RCS', 'CVS']
src/dispatchresult.h src/DispatchResult.h DispatchResult
src/lyxtextclasslist.C src/LyXTextClassList.cpp LyXTextClassList
src/paragraph_funcs.C src/paragraph_funcs.cpp NOCLASSES
src/funcrequest.C src/FuncRequest.cpp FuncRequest
src/FuncStatus.h src/FuncStatus.h FuncStatus
src/UpdateFlags.h src/UpdateFlags.h NOCLASSES
src/lyxrow.C src/Row.cpp ['Row', 'RowMetrics']
src/outputparams.C src/OutputParams.cpp OutputParams
src/counters.h src/Counters.h ['Counter', 'Counters']
src/Sectioning.h src/Section.h ['Section', 'SectioningList']
src/text3.C src/text3.cpp ['Section', 'SectioningList']
src/lyxlayout.C src/LyXLayout.cpp LyXLayout
src/lyxfind.C src/lyxfind.cpp NOCLASSES
src/bufferparams.h src/BufferParams.h ['BufferParams', 'MemoryTraits']
src/LaTeX.h src/LaTeX.h ['TeXErrors', 'Error', 'Aux_Info', 'LaTeX']
src/trans_decl.h src/KmodInfo.h KmodInfo
src/gettext.C src/gettext.cpp NOCLASSES
src/dimension.h src/Dimension.h Dimension
src/kbmap.C src/kb_keymap.cpp kb_keymap
src/kbsequence.h src/kb_sequence.h kb_sequence
src/rowpainter.C src/rowpainter.cpp NOCLASSES
src/ConverterCache.C src/ConverterCache.cpp ConverterCache
src/lyxgluelength.C src/LyXGlueLength.cpp LyXGlueLength
src/tex-accent.C src/tex-accent.cpp NOCLASSES
src/Bullet.h src/Bullet.h Bullet
src/texrow.h src/TexRow.h ['TexRow', 'RowItem']
src/ParagraphParameters.h src/ParagraphParameters.h ParagraphParameters
src/tabular.h src/LyXTabular.h ['LyXTabular', 'ltType', 'cellstruct', 'rowstruct', 'columnstruct']
src/importer.C src/Importer.cpp Importer
src/pariterator.h src/ParIterator.h ['ParIterator', 'ParConstIterator']
src/lyxfont.C src/LyXFont.cpp ['LyXFont', 'LyXFont_size']
src/BufferView.C src/BufferView.cpp BufferView
src/ParagraphList.h src/ParagraphList.h NOCLASSES
src/lyxrc.h src/LyXRC.h ['LyXRC', 'LyXRC_PreviewStatus']
src/lyxtextclass.C src/LyXTextClass.cpp ['CharStyle', 'LyXTextClass']
src/changes.C src/Changes.cpp ['Change', 'Changes', 'Range', 'ChangeRange']
src/lyxtextclasslist.h src/LyXTextClassList.h LyXTextClassList
src/paragraph_funcs.h src/paragraph_funcs.h NOCLASSES
src/funcrequest.h src/FuncRequest.h FuncRequest
src/lyxrow.h src/Row.h ['Row', 'RowMetrics']
src/outputparams.h src/OutputParams.h OutputParams
src/MenuBackend.C src/MenuBackend.cpp ['MenuItem', 'Menu', 'MenuBackend']
src/lyxlayout.h src/LyXLayout.h LyXLayout
src/lyxfind.h src/lyxfind.h NOCLASSES
src/gettext.h src/gettext.h NOCLASSES
src/LColor.C src/LColor.cpp ['LColor', 'LColor_color']
src/version.h src/version.h NOCLASSES
src/cursor_slice.C src/CursorSlice.cpp CursorSlice
src/WordLangTuple.h src/WordLangTuple.h WordLangTuple
src/lfuns.h src/lfuns.h NOCLASSES
src/trans_mgr.C src/TransState.cpp ['TransState', 'TransFSMData', 'TransInitState', 'TransDeadkeyState', 'TransCombinedState', 'TransFSM', 'TransManager']
src/kbmap.h src/kb_keymap.h kb_keymap
src/rowpainter.h src/rowpainter.h NOCLASSES
src/ConverterCache.h src/ConverterCache.h ConverterCache
src/lyxgluelength.h src/LyXGlueLength.h LyXGlueLength
src/output_docbook.C src/output_docbook.cpp NOCLASSES
src/tex-accent.h src/tex-accent.h NOCLASSES
src/FloatList.C src/FloatList.cpp FloatList
src/bufferview_funcs.C src/bufferview_funcs.cpp NOCLASSES
src/importer.h src/Importer.h Importer
src/messages.C src/Messages.cpp Messages
src/lyxfont.h src/LyXFont.h ['LyXFont', 'LyXFont_size']
src/BufferView.h src/BufferView.h BufferView
src/ToolbarBackend.C src/ToolbarBackend.cpp ['ToolbarItem', 'ToolbarInfo', 'ToolbarBackend']
src/lyx_sty.C src/lyx_sty.cpp NOCLASSES
src/lyxtextclass.h src/LyXTextClass.h ['CharStyle', 'LyXTextClass']
src/changes.h src/Changes.h ['Change', 'Changes', 'Range', 'ChangeRange']
src/aspell.C src/ASpell.cpp
src/lyx_main.C src/LyX.cpp LyX
src/MenuBackend.h src/MenuBackend.h ['MenuItem', 'Menu', 'MenuBackend']
src/toc.C src/toc.cpp NOCLASSES
src/boost.C src/boost.cpp NOCLASSES
src/ispell.C src/ISpell.cpp ISpell
src/mover.C src/Mover.cpp ['Mover', 'SpecialisedMover', 'Movers']
src/ParagraphMetrics.C src/ParagraphMetrics.cpp ParagraphMetrics
src/LColor.h src/LColor.h ['LColor', 'LColor_color']
src/cursor_slice.h src/CursorSlice.h CursorSlice
src/trans_mgr.h src/TransState.h ['TransState', 'TransFSMData', 'TransInitState', 'TransDeadkeyState', 'TransCombinedState', 'TransFSM', 'TransManager']
src/lyxlayout_ptr_fwd.h src/lyxlayout_ptr_fwd.h NOCLASSES
src/output_docbook.h src/output_docbook.h NOCLASSES
src/paragraph.C src/Paragraph.cpp ['FontSpan', 'Paragraph']
src/FloatList.h src/FloatList.h FloatList
src/bufferview_funcs.h src/bufferview_funcs.h NOCLASSES
src/buffer_funcs.C src/buffer_funcs.cpp NOCLASSES
src/Variables.C src/Variables.cpp Variables
src/messages.h src/Messages.h Messages
src/Color.C src/color.cpp NOCLASSES
src/dociterator.C src/DocIterator.cpp ['DocIterator', 'StableDocIterator']
src/ToolbarBackend.h src/ToolbarBackend.h ['ToolbarItem', 'ToolbarInfo', 'ToolbarBackend']
src/lyx_sty.h src/lyx_sty.h NOCLASSES
src/metricsinfo.C src/MetricsInfo.cpp ['MetricsBase', 'MetricsInfo', 'PainterInfo', 'TextMetricsInfo', 'ViewMetricsInfo', 'Changer', 'FontChanger', 'FontSetChanger', 'StyleChanger', 'ScriptChanger', 'FracChanger', 'ArrayChanger', 'ShapeChanger', 'WidthChanger', 'ColorChanger']
src/language.C src/Language.cpp ['Language', 'Languages']
src/text.C src/text.cpp ['Language', 'Languages']
src/lyx_main.h src/LyX.h LyX
src/lyxlex.C src/LyXLex.cpp ['LyXLex', 'pushpophelper']
src/encoding.C src/Encoding.cpp ['Encoding', 'Encodings', 'const_iterator']
src/debug.C src/debug.cpp lyx_debug_trait
src/Chktex.C src/Chktex.cpp Chktex
src/toc.h src/toc.h NOCLASSES
src/ispell.h src/ISpell.h ISpell
src/mover.h src/Mover.h ['Mover', 'SpecialisedMover', 'Movers']
src/output_latex.C src/output_latex.cpp NOCLASSES
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18019 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:46:45 +00:00