1 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
3 * lyxtext.h (init): remove reinit argument (act as if always true)
4 * text2.C: adjust to that
6 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8 * bufferview_funcs.[Ch]: introduce function replaceSelection()
9 * text3.C: use it to delete selections in some cases
10 (bugs 441, 673, 702, 954).
12 2003-07-14 André Pönitz <poenitz@gmx.net>
14 * rowpainter.[Ch]: reduce interface
16 2003-07-14 André Pönitz <poenitz@gmx.net>
19 * text2.C: adjust after removing unused BufferView * argument
21 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
23 * text2.C (init): fix a crash fired on resize
25 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
27 * buffer.[Ch]: added new closing signal
28 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
29 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
30 BufferView::Pimpl via the closing the signal
32 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
34 * buffer.[Ch]: take out all bv-related from buffer
36 * BufferView_pimpl.[Ch]: connect to new signals
37 * CutAndPaste.C: removed useless asserts
38 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
41 * lyxfunc.C: moved view-related funciontality from vc here
42 * paragraph.C: removed outdated comments
45 2003-07-10 André Pönitz <poenitz@gmx.net>
51 * text2.C: remove InsetText::InnerCache, clean up consequences
53 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
55 * ispell.C: fix two typos in error messages
57 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
59 * Extend Note inset to other forms of annotation like Comment
60 and Greyedout. Right button click gives dialog.
62 Files modified or added (+):
68 * Makefile.am in frontends/xforms, frontends/xforms/forms,
73 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
75 * aspell.C: add missing namespace lyx::support
77 2003-07-07 Alfredo Brauntein <abraunst@libero.it>
79 * BufferView.[Ch] (newFile): Add
80 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
81 * LaTeX.[Ch] (message): added this signal and use it
82 * buffer.[Ch] (busy, message): added these signals and use them
83 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
87 * importer.C: use buffer signals instead of direct bv calling
88 * lyx_cb.[Ch] (ShowMessage): removed
92 * text2.C: use buffer signals
94 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
96 * introduce namespace lyx::graphics
98 2003-07-02 André Pönitz <poenitz@gmx.net>
100 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
102 2003-07-01 André Pönitz <poenitz@gmx.net>
109 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
110 text*.C to text_func.C
112 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
114 * introduce namespace lyx::support
116 2003-06-30 André Pönitz <poenitz@gmx.net>
121 * text.C: re-enable --with-included-string
123 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
125 * textcursor.C: add <config.h>
127 * text.C (getWord): remove const from word_location arg
129 * lyxvc.C (getLogFile): fix const type order
131 * lyxtext.h: remove const from word_location arg, add arg name
133 * lyxlayout.h: currect type on labeltype.
135 * importer.C: correct \file
137 * converter.C (intToFormat): use std:: on ret val, ws changes
139 * bufferlist.h: correct \file
141 * buffer.C (makeLinuxDocFile): fix const type order
142 (makeDocBookFile): ditto
143 (fillWithBibKeys): use std:: on stdlib args.
145 * CutAndPaste.C: fix authors.
146 (availableSelections): use std:: on return vector
148 2003-06-27 André Pönitz <poenitz@gmx.net>
150 * BufferView_pimpl.C:
151 * bufferview_funcs.C:
159 * text3.C: remove LyXCursor::row_ member
162 * text.C: rename fullRebreak() to partialRebreak() and implement
163 a fullRebreak() that really bereks fully
165 * textcursor.h: new struct for cursor-related data
167 2003-06-26 Alfredo Brauntein <abraunst@lyx.org>
169 * lyx_main.C (LyX): get full path of document loaded on the
172 2003-06-26 André Pönitz <poenitz@gmx.net>
174 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
175 remove unused/broken operator>,<,>=.
177 * text.C: remove only use of broken operator<= in an Assert().
179 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
181 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
182 moved errorlist_.clear to showErrorList
184 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
186 * converter.C (scanLog, runLaTeX):
187 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
188 move the bv->showErrorList call to the callers
189 * lyxfunc.C: i.e. here...
191 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
192 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
193 namespace, the second to...
194 * buffer_funcs (BufferFormat, parseErrors): added
195 * errorlist.C (ErrorList(TeXErrors const &)): removed
197 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
199 * ToolbarBackend.C (getIcon): complain when icon cannot be found
201 2003-06-24 "Garst R. Reese" <reese@isn.net>
205 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
207 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
209 * version.C.in: change docversion to 1.4
211 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
213 * buffer.C: fix a bug just introduced
215 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
217 * buffer.[Ch]: added the parseError signal and use it, removed
219 * BufferView.[Ch] (addError): moved to ...
220 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
221 to the Buffer::parseError signal to catch (guess what) parse errors
222 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
224 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
226 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
227 ability to create a buffer and to return an existing one from
228 the list. Moved these functions to...
229 * buffer_funcs.[Ch]: added
230 * BufferView.[Ch] (loadLyXFile): added
231 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
232 job removed from bufferlist::loadLyXFile.
233 * buffer.C (setReadOnly): make it work without view
234 (i.e added an if (users))
236 2003-06-19 Angus Leeming <leeming@lyx.org>
239 * LyXAction.C (init):
240 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
241 with LFUN_DIALOG_SHOW <name> <data>.
243 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
245 * CutAndPaste.C (availableSelections): small compilation fix for
246 ancient (gcc 2.9x) compilers
248 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
250 * text3.C (cursorNext): add tmp var
252 * text2.C (updateCounters): for function calling out of for clause
253 (replaceSelectionWithString): ditto
254 (insertStringAsParagraphs): ditto
255 (getColumnNearX): add tmp var
256 (setCursorFromCoordinates): add tmp var
257 (cursorDownParagraph): add tmp var
258 (deleteEmptyParagraphMechanism): add tmp var
260 * text.C (insertChar): add tmp var
262 * rowpainter.C (paintDepthBar): add tmp var
264 * CutAndPaste.C (availableSelections): potentially check all
265 paragraphs in a cut to fill the shown strings.
267 2003-06-18 André Pönitz <poenitz@gmx.net>
269 * kbmap.[Ch]: use vector<> instead of list<>
271 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
273 * text3.C (dispatch): handle arg to LFUN_PASTE, call
274 pasteSelection with index
276 * text2.C (pasteSelection): modify, call pasteSelection with index
278 * paragraph.C (asString): reimplement version with no interval to
279 call the one with interval.
281 * lyxtext.h: add index arg to pasteSelection
283 * MenuBackend.C (MenuItem): handle PasteRecent
284 (Menu::read::Menutags): add md_pasterecent
286 (expandPasteRecent): new function
289 * MenuBackend.h: add PasteRecent to MenuItem::Kind
291 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
293 (availableSelections): new function
295 2003-06-17 Angus Leeming <leeming@lyx.org>
297 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
299 2003-06-17 Angus Leeming <leeming@lyx.org>
302 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
304 * lyxfunc.C (dispatch): invoke it.
306 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
308 * iterators.C (operator++, ParPosition): reintroduce some
309 const_cast for the benefit of older compilers.
311 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
313 * text3.C (dispatch): do not modify clipboard when doing
314 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
315 LFUN_DELETE_SKIP on a selection selection
317 2003-06-16 André Pönitz <poenitz@gmx.net>
323 * tabular.[Ch]: IU of clone() and getLabelList();
325 2003-06-13 André Pönitz <poenitz@gmx.net>
327 * tabular.h: compactification
329 2003-06-12 André Pönitz <poenitz@gmx.net>
333 * tabular_funcs.h: some renaming plus whitespace
335 2003-06-12 André Pönitz <poenitz@gmx.net>
338 * BufferView_pimpl.C:
344 * toc.C: Return a Paragraph & for ParIterator::operator*()
346 2003-06-11 John Levon <levon@movementarian.org>
350 * ToolbarBackend.C: add "Toolbars" section and
353 2003-06-10 Angus Leeming <leeming@lyx.org>
356 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
358 * lyxfunc.C (dispatch): invoke it.
360 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
362 * main.C: protect <ios> with HAVE_IOS
363 (main): protect sync_with_stdio with HAVE_IOS
365 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
367 * text2.C (cutSelection): adjust
368 (pasteSelection): adjust
370 * messages.C: handle get of empty string
372 * main.C (main): use sync_with_stdio(false)
374 * lyxfunc.C (dispatch): adjust
376 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
377 (WriteAs): remove unneeded BufferView arg.
379 * bufferparams.h: use correct types on papersize, papersize2 and
382 * bufferparams.C (readToken): adjust for type
383 (writeLaTeX): add missing cases to switch.
385 * bufferlist.C (quitWriteBuffer): adjust
388 * buffer.C (asciiParagraph): remove some commented code.
390 * CutAndPaste.C: remove current_view extern variable.
391 (cutSelection): add BufferParams arg.
392 (eraseSelection): add BufferParams arg.
393 (pasteSelection): add Buffer const & arg
395 2003-06-07 John Levon <levon@movementarian.org>
403 * paragraph.C: allow InsetERT to freely space lines,
404 and some consolidation of code
406 2003-06-06 José Matos <jamatos@fep.up.pt>
408 * buffer.C (makeDocBookFile): fix bug #821
410 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
412 * BufferView_pimpl.C (dispatch): use Dialogs::visible
414 2003-06-04 Angus Leeming <leeming@lyx.org>
416 * buffer.C: bump format to 224.
418 2003-06-05 André Pönitz <poenitz@gmx.net>
420 * text2.C (redoParagraphs): remove two const_cast<>
422 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
424 * ParagraphList.h: remove last remnants of NO_STD_LIST
426 2003-06-03 Angus Leeming <leeming@lyx.org>
428 * factory.C (createInset): small change to the way InsetExternal's params
431 2003-06-04 André Pönitz <poenitz@gmx.net>
433 * buffer.h: use Undo directly instead of shared_ptr<Undo>
436 * paragraph.[Ch]: some Inset -> UpdatableInset changes
438 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
440 * undo_funcs.C: make some simple cases of undo work again
442 2003-06-03 John Levon <levon@movementarian.org>
444 * ispell.C: HPUX doesn't have sys/select.h
447 2003-06-03 John Levon <levon@movementarian.org>
449 * CutAndPaste.C: update tabular and include inset
454 * paragraph.C: remove owningBuffer(), don't pass Buffer
457 * factory.C: insetGraphicsParams changed
459 2003-06-02 John Levon <levon@movementarian.org>
465 * text3.C: remove insetparent
467 2003-06-02 John Levon <levon@movementarian.org>
470 * buffer.C: fix inset_iterator.end(), move out of line
473 2003-06-01 John Levon <levon@movementarian.org>
475 * text3.C: use a proper cut/paste when doing inset
476 insert (from Jürgen Spitzmüller)
478 2003-06-01 John Levon <levon@movementarian.org>
480 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
482 2003-05-30 André Pönitz <poenitz@gmx.net>
484 * rowpainter.C: unify second drawing phase
486 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
488 * trans_mgr.C: remove one case of current_view
490 * text2.C (cursorBottom): delete NO_STD_LIST stuff
492 * paragraph_funcs.h: remove paragraph.h include
494 * paragraph.h: delete NO_STD_LIST stuff
496 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
498 * buffer.h: remove paragraph.h include
500 * ParagraphList.C: delete file
502 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
504 * toc.C (getTocList): adjust
506 * paragraph_pimpl.C (validate): adjust
508 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
510 * paragraph.C (Paragraph): adjust
511 (getPositionOfInset): use const_iterator, adjust
512 (bibitem): use const_iterator, adjust
513 (setInsetOwner): adjust
515 * iterators.C (operator++): adjust
517 * InsetList.[Ch]: Replace selfmade iterator with standard
518 vector::iterator also introduce const_iterator. Remove getPos,
519 getInset and setInset from InsetTable. Adjust accordingly.
521 * BufferView.C (lockInset): adjust
522 (ChangeInsets): adjust
524 * tabular.[Ch]: delete commented same_id functions
526 2003-05-28 John Levon <levon@movementarian.org>
528 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
530 2003-05-28 André Pönitz <poenitz@gmx.net>
532 * metricsinfo.[Ch]: remove 'fullredraw' member
534 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
536 * lyxtextclass.C (operator): remove caching.
538 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
542 * text2.C (cursorBottom): adjust
543 (setCounter): use ParagraphList::find, adjust
545 * text.C (workWidth): use ParagraphList::find, adjust
547 * lyxcursor.C (LyXCursor): adjust
549 * buffer.C (inset_iterator): adjust
551 * ParagraphList.h: make iterator(value_type) private, make
552 ParagraphList a friend of iterator.
554 * ParagraphList.C (find): new function
556 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
558 2003-05-27 André Pönitz <poenitz@gmx.net>
560 * dimension.[Ch]: a -> asc, d -> des, w -> wid
562 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
564 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
566 2003-05-26 John Levon <levon@movementarian.org>
568 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
570 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
572 * remove same_id from function signatures, adjust.
574 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
576 * undo_funcs.C (createUndo): use the id functions directly, adjust.
578 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
580 * paragraph.C (Paragraph): get rid of same_ids parameter
582 * ParagraphList.C (insert): adjust
585 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
587 * paragraph_funcs.C (breakParagraph): adjust
588 (breakParagraphConservative): adjust
590 * buffer.C (readParagraph): adjust
592 * ParagraphList.C (insert): take a reference instead of a pointer
595 * paragraph.[Ch] (id): new function
597 * bufferlist.C (newFile): adjust
599 * ParagraphList.C (ParagraphList): adjust
601 (push_back): take a reference instead of a pointer.
603 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
605 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
608 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
609 set else use old code.
611 * ParagraphList.C: remove all NO_NEXT code and only compile this
612 code of NO_STD_LIST is set.
614 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
616 * BufferView_pimpl.C:
626 * graphics/GraphicsConverter.C:
627 * graphics/PreviewLoader.C: header adjustment
629 2003-05-23 Angus Leeming <leeming@lyx.org>
631 * LaTeXFeatures.[Ch] (useBabel): new method.
632 * bufferparams.C (writeLaTeX): use it.
634 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
636 * ParagraphList.h (set): remove unused function.
638 2003-05-23 André Pönitz <poenitz@gmx.net>
641 * BufferView_pimpl.C:
645 * undo_funcs.C: setUndo reworked
647 * iterators.[Ch]: add access to topmost ParagraphList
649 * lyxtext.[Ch] (workWidth): add a const
651 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
653 * texrow.[Ch] (increasePos): remove function
654 * exporter.C (export): removed unused var and outdated comment
656 2003-05-23 Angus Leeming <leeming@lyx.org>
658 * latexrunparams.h: rename fragile as moving_arg.
659 * paragraph.C (simpleTeXOnePar): ditto.
660 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
662 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
664 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
666 (textUndoOrRedo): comment out a currently unused var.
668 * paragraph.h (NO_NEXT): enable NO_NEXT
670 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
672 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
674 * exporter.C (Export): adjust for removeAutoInsets removal.
676 * buffer.C (runChktex): adjust for removeAutoInsets removal.
678 * LyXAction.C (init): remove LFUN_REMOVEERRORS
680 * BufferView.[Ch] (removeAutoInsets): delete function
682 2003-05-22 Angus Leeming <leeming@lyx.org>
684 * latexrunparams.h: add a free_spacing variable.
686 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
687 to pass moving_arg, as the data is stored in runparams.fragile.
689 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
690 to Inset::latexOptional or to simpleTeXOnePar.
692 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
693 free_spacing arg to Inset::latexOptional.
695 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
698 2003-05-22 Angus Leeming <leeming@lyx.org>
700 * latexrunparams.h: add fragile and use_babel variables.
702 * bufferparams.[Ch] (writeLaTeX): return use_babel.
703 * buffer.C (makeLaTeXFile): store this returned value in
704 runparams.use_babel, thus passing it to the inset::latex methods.
706 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
707 simpleTeXSpecialChars as it is now stored in runparams.fragile.
709 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
710 longer has a fragile arg, as it is stored in runparams.fragile.
712 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
713 moving_arg parameter as the data is stored in runparams.fragile.
715 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
716 a fragile parameter as the data is stored in runparams.fragile.
718 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
720 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
722 2003-05-22 Angus Leeming <leeming@lyx.org>
724 * latexrunparams.h: add a 'bool nice' which defaults to false.
726 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
727 now encapsulated within runparams.
729 * bufferlist.C (updateIncludedTeXfiles):
730 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
732 2003-05-22 Angus Leeming <leeming@lyx.org>
734 * latexrunparams.h: new file containing struct LatexRunParams.
735 * Makefile.am: add new file.
737 * LaTeX.[Ch] (c-tor, run):
738 * buffer.[Ch] (makeLaTeXFile):
739 * bufferlist.[Ch] (updateIncludedTeXfiles):
740 * converter.C (convert, scanLog):
741 * converter.[Ch] (runLaTeX):
742 * exporter.C (Export):
743 * paragraph.[Ch] (simpleTeXOnePar):
744 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
745 * paragraph_funcs.[Ch] (latexParagraphs):
746 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
747 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
748 pass around a LatexRunParams parameter.
750 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
752 * paragraph.[Ch]: remove unused constructor
754 * ParagraphList.C (erase): new function, taking two iterators
756 2003-05-22 André Pönitz <poenitz@gmx.net>
758 * undo_funcs.C: remove duplicated code
760 * iterator.[Ch]: operator=
762 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
764 * tabular.C (SetMultiColumn): ws changes
766 * rowpainter.C (paintFirst): get rid of a ->previous
768 * lyx_cb.C (getPossibleLabel): parlist simplification
770 * BufferView.C (ChangeInsets): simplify slightly.
772 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
774 * LyXAction.C: new lfun space-insert, kill protected-space-insert
775 * lfuns.h: new LFUN_SPACE
776 * lyxfunc.C: protected space has a new lfun
777 * paragraph_funcs.C: read new space insets
779 * factory.C: handle new space insets
781 2003-05-22 André Pönitz <poenitz@gmx.net>
784 * BufferView_pimpl.C:
787 * undo_funcs.C: return a ParIterator from getParFromID.
789 * iterators.[Ch]: add two const's
791 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
793 * toc.C (getTocList): adjust
795 * iterators.[Ch]: rework for parlist
797 * buffer.C (par_iterator_begin): adjust
798 (par_iterator_end): adjust
800 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
802 * BufferView.C (removeAutoInsets): adjust
803 (ChangeInsets): adjust
805 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
807 * text.C (top_y): fix bug 1110
809 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
811 * errorlist.[Ch]: added
814 * BufferView_pimpl.C:
815 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
818 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
820 * Makefile.am: ensure that lyx is relinked upon changes to the
821 various "convenience" libs.
823 2003-05-20 Angus Leeming <leeming@lyx.org>
825 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
826 files are compiled in alphabetical order again.
828 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
830 2003-05-19 Angus Leeming <leeming@lyx.org>
832 * gettext.[Ch]: remove "char const * _(char const *)".
834 2003-05-19 André Pönitz <poenitz@gmx.net>
836 * dimension.[Ch]: promote from mathed/dimension.[Ch]
845 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
847 2003-05-19 André Pönitz <poenitz@gmx.net>
853 * paragraph_funcs.[Ch]:
855 * text3.C: more insetenv work
857 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
859 * ParagraphParameters.C (params2string): small bug fixed
861 2003-05-16 André Pönitz <poenitz@gmx.net>
864 * bufferview_funcs.C: patch from Kornel Benko to prevent
865 crash when _(...) is called twice in a statement
867 2003-05-16 André Pönitz <poenitz@gmx.net>
874 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
876 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
878 * lyx_main.C (init): remove spurious static_cast
880 2003-05-14 André Pönitz <poenitz@gmx.net>
882 * BufferView.C: fix format string
884 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
886 * BufferView.[Ch] (insertErrors): removed
887 * BufferView.[Ch] (showErrorList): added
888 * buffer.C (runChkTeX):
889 * converter.C (scanLog): call showErrorList instead of inserterrors
891 2003-05-13 André Pönitz <poenitz@gmx.net>
893 * BufferView_pimpl.C:
902 * tabular_funcs.h: tostr() from its own header
904 * ParagraphParameters.C:
911 2003-05-12 André Pönitz <poenitz@gmx.net>
914 * BufferView_pimpl.C:
918 * ParagraphParameters.C:
922 * bufferview_funcs.C:
939 * text3.C: boost::format -> bformat all over the place
942 2003-05-09 André Pönitz <poenitz@gmx.net>
944 * LColor.[Ch]: Pimpl the #include <map> away
946 2003-05-09 John Levon <levon@movementarian.org>
948 * bufferlist.C: never remove emergency saves
950 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
952 * Makefile.am: better lib building
954 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
956 * texrow.[Ch]: remove dependency on Paragraph and just store a id
958 * paragraph_pimpl.C (simpleTeXBlanks): adjust
959 (simpleTeXSpecialChars): adjust
960 (simpleTeXSpecialChars): adjust
961 * paragraph.C (simpleTeXOnePar): adjust
962 * buffer.C (makeLaTeXFile): adjust
964 * Makefile.am (BOOST_LIBS): allow boost as system lib.
966 * text2.C (changeDepth): parlist cleanup
967 (getColumnNearX): ditto
969 * rowpainter.C (getLabelFont): parlist cleanup
971 * bufferlist.C (newFile): parlist cleanup
973 * CutAndPaste.C (eraseSelection): parlist cleanup
975 * BufferView_pimpl.C (trackChanges): parlist cleanup
978 * BufferView.C (lockInset): parlist cleanup.
979 (ChangeInsets): ditto
981 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
983 * CutAndPaste.h: Update file header.
985 * CutAndPaste.C: Update file header.
986 Store the parts cut out of the Document in a limited_stack.
987 (copySelection): adjust
988 (pasteSelection): new function, takes the index in the limited stack.
989 (nrOfParagraphs): adjust
990 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
991 simplify error inset insertion.
992 (checkPastePossible): adjust
994 2003-05-06 John Levon <levon@movementarian.org>
996 * text2.C: don't cast wrap inset to float
998 2003-05-05 André Pönitz <poenitz@gmx.net>
1001 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1003 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1004 few naked Paragraph *.
1006 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1008 * bufferparams.C: Output warning if a document with missing
1009 TeX document class is loaded
1010 * exporter.C: Disable TeX exports if the document class is missing
1013 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1014 isTeXClassAvailable()
1016 2003-05-03 John Levon <levon@movementarian.org>
1019 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1020 explicit cursor show/hide
1022 * BufferView_pimpl.h:
1023 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1024 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1026 * lyxfunc.C: hide cursor before dispatching.
1031 * text3.C: remove explicit cursor hides
1033 2003-05-02 André Pönitz <poenitz@gmx.net>
1035 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1038 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1041 * text2.C: tiny whitespace
1043 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1045 * undo_funcs.C: almost only ws changes.
1047 * ParagraphList.C (splice): just return if pl is empty.
1049 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1051 * ParagraphList.C (splice): new function.
1053 * CutAndPaste.C (pasteSelection): use it
1055 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1057 * CutAndPaste.C (pasteSelection): remove the last next and
1058 previous from this file.
1060 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1062 * CutAndPaste.C (pasteSelection): more clean up, user proper
1063 ParagraphList functions for pasteing.
1065 * ParagraphList.C (insert): new function, three arg insert
1067 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1069 * ParagraphList.C (insert): new function, three arg insert
1071 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1074 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1076 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1078 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1080 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1082 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1084 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1085 (copySelection): clean up a bit.
1086 (pasteSelection): use make_pair
1088 * ParagraphList.C (ParagraphList): implement copy constructor
1089 (operator=): implement, base on copy constructor.
1092 * paragraph.C (erase): return a bool
1094 * paragraph_pimpl.C (erasePos): remove function, move contents...
1095 (erase): ... here. Return a bool.
1096 (erase): call erase instead of erasePos.
1098 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1100 * ParagraphList.h: define PitPosPair
1101 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1102 ParagraphList, fix a bug on pasting multiple pars
1103 * text2.C: change interface to C&P
1105 2003-04-30 André Pönitz <poenitz@gmx.net>
1107 * undo_func.C: revert part of yesterday's patch 2
1109 2003-04-30 John Levon <levon@movementarian.org>
1111 * LColor.C: s/tabular/table/
1113 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1115 * text3.C (dispatch): do not convert iterator -> pointer
1116 * undo_funcs.C (setCursorParUndo): ditto
1117 * text_funcs.C (transposeChars): ditto
1119 * text2.C (setLayout): ws changes only
1121 * text.C (breakParagraph): do not convert iterator -> pointer
1123 (acceptChange): ditto
1124 (rejectChange): ditto
1129 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1132 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1134 * text3.C (gotoInset): YABG (yet another bad getChar)
1136 2003-04-29 André Pönitz <poenitz@gmx.net>
1138 * paragraph.h: make operator= private unimplemented as long as
1141 * ParagraphList.C: whitespace
1144 * paragraph_pimpl.[Ch]:
1145 * paragraph_funcs.C:
1147 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1150 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1152 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1154 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1155 * paragraph.[Ch] (erase):
1156 * paragraph_pimpl.[Ch] (erase): change return type and value
1157 * text2.C (cutSelection): some rework
1159 2003-04-28 John Levon <levon@movementarian.org>
1161 * bufferlist.C: changes for unsaved changes dialog
1163 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1165 * bufferlist.C (newFile): set language (messages_) for new
1168 * buffer.C (readFile): ws changes only.
1170 2003-04-28 André Pönitz <poenitz@gmx.net>
1175 * BufferView_pimpl.C:
1176 * BufferView.C: getParFromID related ParagraphList::iterator changes
1178 2003-04-28 André Pönitz <poenitz@gmx.net>
1180 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1183 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1185 * messages.C: remove one more localedir class variable.
1187 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1189 * messages.C (getLocaleDir): singleton generation function
1191 (Messages): add a default constructor.
1193 * main.C (main): do not setup localedir here, do not call
1196 * gettext.C (_): use it.
1197 (gettext_init): delete funciton
1199 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1201 * gettext.C (getLyXMessages): new singleton generating function.
1203 * buffer.C (updateDocLang): adjust
1205 * Makefile.am (messages.o): add target
1206 (main.o): remove target
1208 2003-04-27 John Levon <levon@movementarian.org>
1213 * lyxvc.C: specify cancel button in Alert::prompt
1215 2003-04-26 John Levon <levon@movementarian.org>
1220 * LyXAction.C: add LFUN_INSET_SETTINGS
1222 * lyxfunc.C: don't enable tabular-feature when there's
1223 just any locking inset
1225 2003-04-26 John Levon <levon@movementarian.org>
1227 * bufferlist.C: re-add Cancel to buffer close question
1229 * lyxfunc.C: fix import UI a bit
1231 2003-04-25 John Levon <levon@movementarian.org>
1233 * gettext.C: remove the broken asserts for now
1235 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1237 * messages.C: make case where setlocale cannot comply work better.
1239 * buffer.C (updateDocLang): new function
1240 (changeLanguage): use it
1243 * text2.C (setCounter): use B_ a bit.
1245 * lyxlayout.C (Read): be sure to trim the label strings.
1247 * messages.C (Messages): fix typo in comment
1249 * buffer.C (readFile): set message_ after file is loaded.
1250 (makeDocBookFile): remove double return
1251 (changeLanguage): reset message_ upon language change.
1252 (B_): new func, use this to get translated buffer strings.
1254 * main.C: add myself and Jean Marc as authors.
1256 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1258 * messages.[hC]: pimplify Messages, and three different pimpls to be
1259 used in different circumstances.
1261 * gettext.[Ch]: change for use with new message code.
1263 2003-04-24 André Pönitz <poenitz@gmx.net>
1265 * factory.C: support for eqref
1267 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1269 * messages.[Ch]: add missing char
1271 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1273 * messages.[Ch]: New files
1275 2003-04-18 John Levon <levon@movementarian.org>
1279 * BufferView_pimpl.C:
1283 * text2.C: remove layout-copy/paste (bug 778)
1285 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1287 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1289 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1291 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1292 if they succeed. Act accordingly.
1294 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1296 * text2.C (setCharFont): adjust
1297 (setCounter): adjust
1298 (insertStringAsLines): adjust
1300 * text.C (leftMargin): adjust
1301 (setHeightOfRow): adjust
1303 * rowpainter.C (paintFirst): adjust
1306 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1308 (isFirstInSequence): ditto
1309 (getEndLabel): ditto
1312 * paragraph.C (getParLanguage): comment out some hard stuff.
1314 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1316 (simpleDocBookOnePar): ditto
1317 (makeDocBookFile): use ParagraphList::iterator
1319 * CutAndPaste.C (pasteSelection): adjust
1321 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1323 * text2.C (getFont): adjust
1324 (getLayoutFont): adjust
1325 (getLabelFont): adjust
1327 * paragraph_funcs.C (TeXOnePar): adjust
1329 * buffer.C (simpleLinuxDocOnePar): adjust
1330 (simpleDocBookOnePar): adjust
1332 * CutAndPaste.C (pasteSelection): adjust
1334 * BufferView.C (getEncoding): adjust
1336 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1338 2003-04-16 John Levon <levon@movementarian.org>
1340 * lyxfind.C: use parlist stuff for search/changes
1342 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1344 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1346 * text2.C (deleteEmptyParagraphMechanism): adjust
1348 * text2.[Ch] (ownerParagraph): delete func (both of them
1350 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1352 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1354 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1356 * ParagraphList.C: prepare for NO_NEXT
1358 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1360 * text2.C (getFont): adjust
1361 (getLayoutFont): adjust
1362 (getLabelFont): adjust
1364 * paragraph.C (getFont): adjust
1365 (getLabelFont): adjust
1366 (getLayoutFont): adjust
1368 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1370 2003-04-15 John Levon <levon@movementarian.org>
1374 * lyx_main.C: handle Include in .ui files
1376 2003-04-15 John Levon <levon@movementarian.org>
1378 * MenuBackend.C: make the doc files length shorter
1381 * ToolbarBackend.C: handle toolbar placement flags,
1384 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1386 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1389 * paragraph_funcs.C (TeXOnePar): adjust
1391 * paragraph.C (getLabelFont): add outerfont arg, adjust
1392 (getLayoutFont): ditto
1393 (simpleTeXOnePar): adjust
1395 * paragraph_pimpl.C (realizeFont): delete func
1397 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1399 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1400 row argument, constify cur argument.
1402 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1404 * text2.C (getFont): adjust
1405 (getLayoutFont): adjust
1406 (getLabelFont): adjust
1408 * paragraph_funcs.C (TeXOnePar): adjust
1409 (outerFont): new func...
1410 (realizeFont): ...moved out from here, changed this to facilitate
1413 * paragraph.C (getFont): take outerfont as arg, adjust
1414 (simpleTeXOnePar): add outerfont arg, adjust
1416 * buffer.C (simpleLinuxDocOnePar): adjust
1417 (simpleDocBookOnePar): adjust
1419 * CutAndPaste.C (pasteSelection): adjust
1421 * BufferView.C (getEncoding): adjust
1423 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1425 * text2.C (setCharFont): adjust
1426 (setCounter): adjust
1428 * text.C (leftMargin): adjust
1429 (setHeightOfRow): adjust
1431 * rowpainter.C (paintFirst): adjust
1434 * paragraph_pimpl.C (realizeFont): adjust
1436 * paragraph.C (isFirstInSequence): move from here...
1437 * paragraph_funcs.C (isFirstInSequence): ...to here
1439 * paragraph.C (outerHook): move from here...
1440 * paragraph_funcs.C (outerHook): ...to here
1442 * paragraph.C (depthHook): move from here...
1443 * paragraph_funcs.C (depthHook): ...to here
1445 * paragraph.C (getEndLabel): move from here...
1446 * paragraph_funcs.C (getEndLabel): ...to here
1448 * text2.C (realizeFont): move from here...
1449 * paragraph_funcs.C (realizeFont): ...to here
1451 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1453 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1455 2003-04-14 Angus Leeming <leeming@lyx.org>
1457 * LColor.[Ch]: scrap LColor mathcursor.
1459 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1461 * lyxlex.[Ch] (text): delete function
1462 * trans.C (Load): adjust
1463 * paragraph_funcs.C (readParToken): adjust
1465 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1467 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1468 vector<char> instead of a char[].
1470 * lyxlex_pimpl.C (getString): adjust
1472 (lex): use getString
1476 * lyxlex.C (text): use pimpl_->getString()
1480 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1482 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1483 (makeFontEntriesLayoutSpecific): temp var for par.size()
1484 (setLayout): temp var for ownerParagraphs().end()
1485 (fullRebreak): temp var for rows().end()
1486 (selectionAsString): temp var for boost::next(startpit), realize
1487 that the while really is a regular for loop.
1488 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1489 setCursor in one place.
1490 (setParagraph): temp vr for ownerParagraphs().end()
1491 (updateCounters): make the while loop a for loop
1492 (cutSelection): temp var for ownerParagraphs().end()
1493 (updateInset): make the do {} while() a regular for loop
1494 (getCursorX): use temp vars
1495 (setCurrentFont): use temp vars
1496 (getColumnNearX): use temp vars
1498 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1500 * text.C (transformChar): use temp var for getChar
1501 (computeBidiTables): use temp var for row->par()
1502 (fill): move temp vars for row->par() and pit->layout() earlier in
1504 (labelFill): use temp var for row->par()
1505 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1506 asc and desc, realize that pit never changes and that firstpit is
1507 just a duplicate and not needed. Exchange rit->par() with pit in a
1509 (breakAgain): use a temp var for boost::next(rit)
1510 (breakAgainOneRow): ditto
1511 (breakParagraph): use a temp var for rows().begin()
1512 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1513 (cursorRightOneWord): use temp var for cursor.par() and
1514 cursor.pos(), remove usage of tmpcursor.
1515 (cursorLeftOneWord): use temp var for cursor.par() and
1516 cursor.pos() only set cur at end of function.
1518 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1520 * text.C, text2.C: exchange all usage of Paragraph::next with
1521 boost::next(ParagraphList::iterator)
1523 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1525 * text2.C (cursorTop): simplify implementation
1526 (cursorBottom): ditto
1527 (setParagraph): use ParagraphList::iterator
1528 (setCurrentFont): adjust
1529 (getColumnNearX): adjust
1530 (cursorRight): adjust
1531 (cursorLeft): remove usage of Paragraph::previous
1532 (cursorUpParagraph): ditto
1533 (deleteEmptyParagraphMechanism): slight cleanup
1535 * text.C (isBoundary): take a Paragraph const & instead of a
1537 (addressBreakPoint): ditto
1538 (leftMargin): remove usage of Paragraph::previous.
1539 (setHeightOfRow): ditto
1540 (cursorLeftOneWord): ditto
1541 (selectNextWordToSpellcheck): ditto
1544 (breakParagraph): remove one usage of Paragraph::next
1545 (redoParagraph): ditto
1546 (acceptChange): ditto
1547 (insertChar): adjust
1548 (rowBreakPoint): adjust
1550 * bufferview_funcs.C (toggleAndShow): adjust
1552 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1554 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1555 methods to access it.
1557 * text.C: Added updateRowPositions to compute all row positions.
1558 Make top_y and getRowNearY() to use the cached y position
1560 2003-04-11 John Levon <levon@movementarian.org>
1562 * text.C (rowBreakPoint): reintroduce the labelEnd
1563 checks, code copied from the row fill stuff. Deep voodoo.
1565 * text.C (fill): add a comment and debugging for the
1568 2003-04-11 John Levon <levon@movementarian.org>
1570 * text.C: make sure fullrow insets get wrapped to the next line,
1571 even when they're in a manual label
1573 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1575 * text2.C (insertParagraph): make it take ParagraphList::iterator
1577 (setLayout): make it return ParagraphList::iterator
1578 (redoParagraphs): ditto
1580 (checkParagraph): ditto
1582 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1584 * text2.C: adjust several funcs.
1585 (realizeFont): take a ParagraphList::iterator as arg.
1586 (getLayoutFont): ditto
1587 (getLabelFont): ditto
1588 (setCharFont): ditto
1590 * text.C: adjust several funcs.
1592 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1594 * text.C (selectNextWordToSpellcheck): don't accidentally
1597 2003-04-10 John Levon <levon@movementarian.org>
1599 * ToolbarBackend.C (getIcon): special handling for
1602 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1604 * text2.C (cursorRight): a getChar assert fixed
1606 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1608 * text2.C (getFont): change to take a ParagraphList::iterator
1609 instead of Paragraph*
1610 Adjust several functions.
1612 * text.C (transformChar): change to take a ParagraphList::iterator
1613 instead of Paragraph*
1614 (singleWidth): ditto
1615 Adjust several functions.
1617 * rowpainter.C: adjust several functions
1618 * rowpainter.h:store a ParagraphList::iterator and not a
1622 2003-04-09 John Levon <levon@movementarian.org>
1627 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1628 and the "help" bits as well
1630 2003-04-09 John Levon <levon@movementarian.org>
1633 * ToolbarBackend.C: allow multiple toolbars
1635 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1637 * undo_funcs.C (setCursorParUndo): adjust
1639 * text_funcs.C (transposeChars): adjust
1641 * text3.C (gotoNextInset): adjust
1644 * text2.C (setLayout): adjust
1645 (changeDepth): adjust
1647 (redoParagraphs): adjust
1648 (selectionAsString): adjust
1649 (setParagraph): adjust
1650 (insertInset): adjust
1651 (cutSelection): adjust
1652 (copySelection): adjust
1653 (pasteSelection): adjust
1654 (insertStringAsLines): adjust
1655 (updateInset): adjust
1656 (setCursor): change to take a ParagraphList::iterator parameter
1657 (setCursorIntern): change to take a ParagraphList::iterator parameter
1658 (setCurrentFont): adjust
1659 (cursorLeft): adjust
1660 (cursorRight): adjust
1661 (deleteEmptyParagraphMechanism): adjust
1663 * text.C (breakParagraph): adjust
1664 (insertChar): adjust
1665 (acceptChange): adjust
1666 (rejectChange): adjust
1667 (selectNextWordToSpellcheck): adjust
1668 (changeCase): adjust
1672 * lyxfind.C (SearchForward): adjust
1673 (SearchBackward): adjust
1674 (nextChange): adjust
1676 * lyxcursor.C (par): adjust
1678 * lyxcursor.h: store a ParagraphList::iterator instead of a
1681 * lyx_cb.C (getPossibleLabel): adjust
1683 * bufferview_funcs.C (toggleAndShow): adjust
1685 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1688 * BufferView.C (removeAutoInsets): adjust
1689 (lockedInsetStoreUndo): adjust
1691 2003-04-09 John Levon <levon@movementarian.org>
1693 * ToolbarBackend.C: try icon without argument
1694 if with argument fails
1696 2003-04-08 John Levon <levon@movementarian.org>
1699 * ToolbarBackend.C: add getIcon(), handle tooltip,
1700 and change from "Icon" to "Item".
1702 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1704 * BufferView.C (lockInset): another bad getchar crunched
1706 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1708 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1711 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1713 * lyxfind.C (searchForward, searchBackwards): bug 782
1715 2003-04-07 John Levon <levon@movementarian.org>
1717 * paragraph.C: remove dead comment
1719 * text.C: remove troublesome depth-fiddling code
1720 in leftMargin() and rightMargin() (bug 1017)
1722 * text.C: fix breaking of rows in nested lists
1725 * text2.C (updateCounters): fix up depth values
1728 2003-04-07 John Levon <levon@movementarian.org>
1730 * BufferView_pimpl.C: clear message when doc finishes resizing,
1731 and after a mouse event
1733 * lyxfunc.C: clear message after exiting inset
1735 2003-04-07 John Levon <levon@movementarian.org>
1737 * bufferview_funcs.C: show math status not outside
1738 status in the statusbar
1740 2003-04-07 John Levon <levon@movementarian.org>
1742 * lyxfunc.C: note status changed after a depth change
1744 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1746 * LaTeX.h: move AuxInfo operator==, != out of line.
1747 Remove LaTeX virtual destructor; nothing derives from it.
1748 Move operator()() out of public area and rename it startscript().
1749 Change protected for private.
1751 2003-04-04 Angus Leeming <leeming@lyx.org>
1754 * text2.C: remove unneeded #includes.
1756 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1758 * text2.C (dEPM): fix the heigth of the next row
1760 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1762 * text.C: squashed an invalid getChar requester + some ws changes
1764 2003-04-03 John Levon <levon@movementarian.org>
1766 * bufferview_funcs.h:
1767 * bufferview_funcs.C:
1770 * text2.C: make getStatus work for the env depth lfuns
1772 2003-04-03 John Levon <levon@movementarian.org>
1774 * bufferview_funcs.h:
1775 * bufferview_funcs.C:
1778 * text2.C: parlistize decDepth(), by merging it with incDepth()
1780 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1782 * lyxrow.h: store a ParagraphList::iterator instead of a
1783 Paragraph* and adjust other class functions to suit.
1785 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1788 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1790 * text2.C (setCursor): do not anchor to cursor row for the time being
1792 2003-04-02 John Levon <levon@movementarian.org>
1799 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1801 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1803 * paragraph.h: make ParagraphList and ParagraphList::iterator
1804 friends of Paragraph.
1806 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1808 * ParagraphList.C: Use the private next_ and previous_ from
1811 2003-04-01 John Levon <levon@movementarian.org>
1815 * Makefile.am: rename, remove defaults gunk
1818 * MenuBackend.C: remove defaults gunk
1821 * Languages.C: remove defaults gunk
1824 * lyx_main.C: error out if files couldn't be found.
1826 2003-04-02 John Levon <levon@movementarian.org>
1828 * text2.C: make incDepth() use parlist
1830 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1832 * undo_funcs.C (firstUndoParagraph): adjust
1834 * text3.C (gotoInset): adjust
1835 (dispatch): adjust, and rewrite loop.
1837 * text2.C (init): adjust, and rewrite loop.
1838 (redoParagraphs): adjust
1839 (updateInset): adjust, and rewrite loop.
1840 (deleteEmptyParagraphMechanism): adjust
1842 * tabular.C (LyXTabular): adjust
1843 (SetMultiColumn): adjust
1846 * lyxtext.[Ch] (ownerParagraph): delete function
1847 (ownerParagraphs): new function returns a ParagraphList.
1849 * BufferView.C (removeAutoInsets): adjust
1850 (insertErrors): adjust
1851 (setCursorFromRow): adjust
1853 2003-04-01 Angus Leeming <leeming@lyx.org>
1855 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1858 2003-04-02 John Levon <levon@movementarian.org>
1864 * text_funcs.C: make transposeChars a free function
1866 * lyxrow_funcs.C: remove wrong comment
1868 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1871 * rowpainter.C: adjust
1876 * lyxrow_funcs. [Ch]: new files
1878 * lyxrow.[Ch]: remove next and previous pointers
1879 (next,previous): remove accessor functions
1880 (isParEnd): move to lyxrow_funcs
1881 (lastPos): move to lyxrow_funcs
1882 (nextRowIsAllInset): move to lyxrow_funcs
1883 (lastPrintablePos): move to lyxrow_funcs
1884 (numberOfSeparators): move to lyxrow_funcs
1885 (numberOfHfills): move to lyxrow_funcs
1886 (numberOfLabelHfills): move to lyxrow_funcs
1887 (hfillExpansion): move to lyxrow_funcs
1891 * bufferview_funcs.C (toggleAndShow): adjust
1893 * RowList.h: Remove class RowList from file leave just a
1896 * RowList.C: delete file
1898 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1901 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1903 * text3.C (cursorPrevious): adjust
1904 (cursorNext): adjust
1907 * text2.C (redoHeightOfParagraph): adjust
1908 (redoDrawingOfParagraph): adjust
1911 * text.C (breakParagraph): adjust
1912 (insertChar): adjust
1915 * rowpainter.C (RowPainter): adjust
1916 (leftMargin): simplify and adjust
1917 (most rowpainter functions): adjust.
1919 * rowpainter.h: store the row as RowList::iterator not as Row*
1921 * lyxcursor.C (row): taka RowList::iterator as arg
1924 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1927 2003-04-01 Angus Leeming <leeming@lyx.org>
1929 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1930 stuff like bool Bool.
1932 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1934 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1937 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1939 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1942 * lyxtext.h (rows): drop one version and leve a const variant that
1943 returns a RowList::iterator.
1945 2003-03-31 Angus Leeming <leeming@lyx.org>
1947 * text.C (fill): ensure that the signature is the same as that in the
1950 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1952 * text2.C (redoParagraphs): adjust
1953 (updateCounters): adjust
1954 (checkParagraph): adjust
1955 (getColumnNearX): adjust and reformat a bit.
1957 * text.C (top_y): adjust
1959 (leftMargin): adjust
1960 (prepareToPrint): adjust
1962 (getRowNearY): adjust
1964 * lyxtext.h: make rowlist_ mutable.
1966 * RowList.h: add const_iterator
1967 * RowList.C: adjust for RowList::const_iterator.
1969 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1972 2003-03-31 John Levon <levon@movementarian.org>
1975 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1977 * lyx_main.C: set default fonts from using lyx_gui funcs
1979 * exporter.C: pdf_mode moved from lyxrc
1982 * lyxfunc.C: changes from above
1984 2003-03-31 John Levon <levon@movementarian.org>
1986 * lyx_main.C: fix to the last fix
1988 2003-03-31 John Levon <levon@movementarian.org>
1990 * bufferlist.C: "Load original" -> "Load Original"
1996 * format.C: more Alert cleanups
1998 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2000 * text2.C (removeParagraph): make it take a RowList::iterator as
2002 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2003 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2005 * text.C (anchor_row): make it take a RowList::iterator as arg,
2007 (computeBidiTables): make it take a const reference to Row instead
2008 of Row pointer, adjust.
2009 (leftMargin): make it take a RowList::iterator as arg, adjust.
2010 (rowBreakPoint): adjust
2011 (breakAgainOneRow): make it take a RowList::iterator as arg,
2013 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2015 * bufferview_funcs.C (toggleAndShow): adjust
2017 2003-03-30 John Levon <levon@movementarian.org>
2021 * boost-inst.C: moved to support
2023 * several files: changes as a result
2025 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2027 * text2.C (LyXText): adjust.
2029 (removeRow): make it take a RowList::iterator as arg, adjust.
2030 (fullRebreak): adjust
2031 (deleteEmptyParagraphMechanism): adjust
2032 (clearPaint): adjust
2035 * text.C (top_y): adjust
2036 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2037 (breakAgain): make it take a RowList::iterator as arg, adjust.
2038 (breakParagraph): adjust
2039 (insertChar): adjust
2042 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2043 need_break_row, and refresh_row.
2045 * text3.C (dispatch): adjust
2047 * text2.C (checkParagraph): adjust
2049 (setCursorFromCoordinates): adjust
2051 * text.C (top_y): adjust
2053 (getRow): make it return a RowList::iterator, adjust
2054 (getRowNearY): make it return a RowList::iterator, adjust
2056 * text2.C (init): adjust
2057 (insertRow): remove function
2058 (insertParagraph): adjust
2059 (redoParagraphs): adjust
2060 (fullRebreak): adjust
2061 (updateCounters): adjust
2063 * text.C (top_y): rewrite to use RowList iterators.
2065 (setHeightOfRow): rewrite to sue RowList iterators.
2066 (appendParagraph): adjust
2067 (breakAgain): adjust
2068 (breakAgainOneRow): adjust
2069 (breakParagraph): adjust
2071 (getRowNearY): adjust, and remove commented code.
2073 * lyxtext.h (firstRow): delete function
2074 (lastRow): delete function
2075 (rows): new function (const and non-const versions.)
2076 (insertRow): delete function
2078 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2080 2003-03-29 John Levon <levon@movementarian.org>
2082 * BufferView_pimpl.C: always update scrollbar top
2083 because pasting text when we're anchored could mean we
2084 miss an update altogether
2086 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2088 * text2.C (init): use rowlist_.end() and not 0.
2089 (insertRow): change to take a RowList::iterator as arg, adjust
2091 (insertParagraph): change to take a RowList::iterator as arg,
2093 (redoParagraphs): remove some debug msgs.
2095 * text.C (appendParagraph): change to take a RowList::iterator
2096 arg, adjust for this.
2097 (breakAgain): add an assert
2098 (breakAgainOneRow): ditto
2100 2003-03-29 John Levon <levon@movementarian.org>
2102 * text2.C: do not clear selection after inc/decDepth
2105 2003-03-29 John Levon <levon@movementarian.org>
2108 * buffer.C: fix broken strerrors according to Lars
2110 2003-03-29 John Levon <levon@movementarian.org>
2112 * converters.C: more Alert cleanups
2114 2003-03-29 John Levon <levon@movementarian.org>
2116 * bufferview_funcs.C: remove pointless Alert
2118 * buffer.C: fix confusing error message when
2119 a template is chmoded 000
2121 2003-03-29 John Levon <levon@movementarian.org>
2125 * BufferView_pimpl.C: Alert fixes
2129 * tabular-old.C: remove unused table compat reading
2131 2003-03-29 John Levon <levon@movementarian.org>
2136 * lyx_cb.C: more Alert cleanups
2138 * lyxfunc.C: don't allow chktex if not latex document
2140 2003-03-29 John Levon <levon@movementarian.org>
2144 * buffer.C: warnings pushed down from support/,
2147 2003-03-29 John Levon <levon@movementarian.org>
2149 * lyxfunc.C: safety check for C-r (revert)
2151 2003-03-29 John Levon <levon@movementarian.org>
2154 * bufferlist.C: several UI fixes using Alert::prompt.
2155 Fix the pointless looping quit code. Fix stupid revert
2160 * lyx_cb.C: use Alert::prompt
2162 * lyx_main.C: remove a silly question
2164 * lyxfunc.C: remove a couple of silly questions,
2167 2003-03-28 John Levon <levon@movementarian.org>
2169 * text2.C: fix bug 974 (End on empty par)
2171 2003-03-28 John Levon <levon@movementarian.org>
2173 * BufferView_pimpl.C:
2175 * lfuns.h: remove do-nothing math greek lfuns
2177 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2179 * lyxgluelength.h (isValidGlueLength): add default arg on
2180 parameter 2. Remove default arg from friend in class.
2182 * lyxlength.h (isValidLength): add default arg on parameter 2.
2183 Remove default arg from friend in class.
2185 * text2.C (LyXText): adjust, initialize refresh_row.
2189 (insertParagraph): adjst
2190 (redoParagraphs): adjust
2191 (fullRebreak): adjust
2192 (updateCounters): adjust
2193 (deleteEmptyParagraphMechanism): first attempt at fixing a
2196 * text.C (top_y): adjust
2197 (setHeightOfRow): adjust
2199 (getRowNearY): adjust
2201 * lyxtext.h: include RowList.h
2202 (~LyXText): not needed anymore, deleted.
2203 (firstRow): modify for RowList
2204 (lastRow): new function
2205 Delete firstrow and lastrow class variables, add a Rowlist
2206 rowlist_ class variable.
2208 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2211 * RowList.C (insert): fix case where it == begin().
2213 2003-03-26 Angus Leeming <leeming@lyx.org>
2215 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2216 the thesaurus dialog.
2218 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2220 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2222 * RowList.[Ch]: new files
2224 * ParagraphList.C (erase): handle the case where it == begin
2227 2003-03-25 John Levon <levon@movementarian.org>
2231 * aspell.C: add new aspell support
2234 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2237 2003-03-25 Angus Leeming <leeming@lyx.org>
2240 * LyXAction.C (init): new LFUN_INSET_INSERT.
2242 * BufferView_pimpl.C (dispatch): split out part of the
2243 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2245 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2248 2003-03-25 Angus Leeming <leeming@lyx.org>
2250 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2252 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2255 * text3.C: remove useless row->height(0)
2257 2003-03-25 John Levon <levon@movementarian.org>
2261 * text3.C: rename the refreshing stuff to better names
2263 2003-03-24 John Levon <levon@movementarian.org>
2265 * BufferView_pimpl.h:
2266 * BufferView_pimpl.C: update layout choice on a mouse
2269 2003-03-23 John Levon <levon@movementarian.org>
2271 * Makefile.am: fix commandtags.h reference
2273 2003-03-22 John Levon <levon@movementarian.org>
2275 * BufferView_pimpl.C:
2280 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2282 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2285 * text.C: take the rtl methods out of line
2287 2003-03-21 André Pönitz <poenitz@gmx.net>
2289 * metricsinfo.[Ch]: new files containing structures to be passed around
2290 during the two-phase-drawing...
2292 2003-03-21 André Pönitz <poenitz@gmx.net>
2294 * lyxtextclass.C: read 'environment' tag.
2296 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2298 * text2.C (removeRow): fix bug 964
2300 2003-03-20 John Levon <levon@movementarian.org>
2304 * text2.C: paint cleanups. Inset::update() dropped font
2307 2003-03-19 John Levon <levon@movementarian.org>
2309 * lyxfunc.C: only fitcursor/markDirty if available()
2311 2003-03-19 John Levon <levon@movementarian.org>
2313 * commandtags.h: rename to ...
2315 * lfuns.h: ... this, and renumber / cleanup
2317 2003-03-19 John Levon <levon@movementarian.org>
2319 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2320 fit the cursor after an lfun
2324 * BufferView_pimpl.h:
2325 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2327 * LyXAction.C: layout-character should have ReadOnly
2329 * ParagraphParameters.C:
2331 * bufferview_funcs.C:
2338 * undo_funcs.C: changes from above
2340 2003-03-18 John Levon <levon@movementarian.org>
2342 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2343 remove it from update()
2345 * lyxfunc.C: update layout choice after an lfun
2347 * text3.C: remove extra updateLayoutChoice()s
2349 2003-03-18 John Levon <levon@movementarian.org>
2351 * text.C: top_y change means full repaint, fix
2352 a drawing bug with cursor movement
2354 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2358 * text2.C: anchor row on setCursor
2360 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2362 * lyxtext.h: remove almost all mutable keywords
2365 * text3.C: remove const keywords accordingly
2367 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2369 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2371 (TeXEnvironment): ditto
2374 2003-03-17 John Levon <levon@movementarian.org>
2376 * text.C (rowBreakPoint): remove attempt to fix displayed
2377 math insets inside a manual label
2379 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2381 * lyxtext.h: remove BufferView* as first arg from almost all class
2383 * other files: adjust.
2385 2003-03-17 John Levon <levon@movementarian.org>
2389 * text2.C: more paint cleanups
2391 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2394 * rowpainter.C: remove "smart" background painting code
2396 2003-03-16 John Levon <levon@movementarian.org>
2401 * text3.C: add helper functions for setting refresh_row/y
2403 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2405 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2406 newline inset which *can* get inserted in the pass_thru layouts.
2407 This is primarily for literate documents.
2409 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2411 * buffer.C: increment LYX_FORMAT to 223
2413 2003-03-14 André Pönitz <poenitz@gmx.net>
2415 * textclass.h: prepare for environment handling, ws changes
2416 * lyxlayout.C: read latexheader and latexfooter tags
2418 2003-03-14 John Levon <levon@movementarian.org>
2420 * text2.C: rewrite ::status() a bit
2422 2003-03-13 John Levon <levon@movementarian.org>
2424 * lyxtext.h: add some docs
2426 2003-03-13 John Levon <levon@movementarian.org>
2431 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2433 2003-03-13 John Levon <levon@movementarian.org>
2435 * text3.C: fix appendix redrawing
2437 2003-03-13 John Levon <levon@movementarian.org>
2439 * text.C (setHeightOfRow):
2441 * rowpainter.C: make appendix mark have the text
2442 "Appendix" so the user knows what it is
2445 * LColor.C: s/appendixline/appendix/ from above
2447 2003-03-13 John Levon <levon@movementarian.org>
2449 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2451 * text.C: fix a getChar(pos) bug properly
2453 2003-03-13 Angus Leeming <leeming@lyx.org>
2456 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2457 Probably only temporary. Let's see how things pan out.
2459 * BufferView.C (unlockInset):
2460 * BufferView_pimpl.C (fitCursor):
2461 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2463 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2464 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2466 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2467 new functions that convert ParagraphParameters to and from a string.
2469 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2470 BufferView::Pimpl's dispatch.
2471 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2473 2003-03-13 André Pönitz <poenitz@gmx.net>
2477 * factory.C: make it aware of InsetEnv
2479 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2481 * text2.C (setCursor): never ask for one past last
2482 (setCursor): add some debugging messages.
2484 * text.C (singleWidth): never ask for one past last
2485 (singleWidth): ditto
2487 (rightMargin): ditto
2488 (rowBreakPoint): ditto
2489 (setHeightOfRow): ditto
2490 (prepareToPrint): ditto
2492 * rowpainter.C (paintBackground): never ask for one past last
2493 (paintText): never ask for one past last
2495 * paragraph_pimpl.C (getChar): make the assert stricter, never
2496 allow the one past last pos to be taken
2498 * paragraph.C (getChar): ws changes only
2500 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2501 (numberOfSeparators): ditto
2502 (numberOfHfills): ditto
2504 2003-03-12 John Levon <levon@movementarian.org>
2510 * paragraph_funcs.C: fix per-buffer authorlists
2512 2003-03-12 John Levon <levon@movementarian.org>
2514 * text.C: fix newline in right address
2516 2003-03-12 Angus Leeming <leeming@lyx.org>
2518 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2519 duplicate those in LyXFunc::dispatch.
2523 * ToolbarDefaults.C:
2524 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2525 Add LFUN_FONTFREE_UPDATE.
2527 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2528 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2530 * bufferview_func.[Ch]: several new functions to facilliate
2531 transfer of data to and from the character dialog.
2533 2003-03-12 John Levon <levon@movementarian.org>
2538 * paragraph_funcs.C:
2539 * paragraph_pimpl.C:
2543 * text3.C: remove META_NEWLINE in favour of an inset
2546 * rowpainter.C: remove paintNewline (done by inset)
2548 2003-03-12 John Levon <levon@movementarian.org>
2550 * paragraph_pimpl.C: complain about bad getChar()s
2551 for a while at least
2553 2003-03-12 John Levon <levon@movementarian.org>
2556 * buffer.C: move paragraph read into a separate function,
2557 a little renaming to reflect that.
2560 * bufferparams.C: remove the author_ids map, not necessary now
2563 * factory.C: moved Buffer::readInset to here
2565 * paragraph_funcs.h:
2566 * paragraph_funcs.C: readParagraph free function moved from
2569 * tabular.C: name change
2571 2003-03-12 John Levon <levon@movementarian.org>
2574 * ParagraphParameters.C: move par params input to
2577 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2578 behave like a normal read from the stream wrt reading
2579 a line vs. a \\token
2581 2003-03-12 John Levon <levon@movementarian.org>
2584 * ParagraphParameters.h:
2585 * ParagraphParameters.C: move output code to a
2588 2003-03-12 John Levon <levon@movementarian.org>
2590 * BufferView.C (insertLyXFile):
2593 * tabular.C: use a parlist iterator for creating the
2596 2003-03-12 John Levon <levon@movementarian.org>
2598 * buffer.C: make current_change static local not
2601 2003-03-12 John Levon <levon@movementarian.org>
2603 * buffer.C: fix insertStringAsLines for change tracking
2605 2003-03-12 John Levon <levon@movementarian.org>
2612 * bufferparams.C: move author list into params. Rename some
2613 functions. Move the header reading into a separate token
2614 loop. Move the header token reading into BufferParams.
2616 2003-03-12 John Levon <levon@movementarian.org>
2618 * changes.C: put debug inside lyxerr.debugging() checks
2620 2003-03-11 André Pönitz <poenitz@gmx.net>
2622 * factory.C: make it aware of InsetHFill
2624 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2626 * buffer.C (latexParagraphs): move function from here...
2627 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2630 2003-03-10 Angus Leeming <leeming@lyx.org>
2632 * LyXAction.C (init): fix bug in poplating array with multiple entries
2633 with the same LFUN (spotted by JMarc).
2635 2003-03-10 John Levon <levon@movementarian.org>
2638 * text2.C: move getColumnNearX() near its
2641 2003-03-10 John Levon <levon@movementarian.org>
2643 * text.C: fix break before a minipage
2645 2003-03-10 John Levon <levon@movementarian.org>
2647 * text.C: fix the last commit
2649 2003-03-09 John Levon <levon@movementarian.org>
2653 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2654 bug 365 (don't break before insets unless needed). Don't
2655 return a value > last under any circumstances.
2657 2003-03-09 Angus Leeming <leeming@lyx.org>
2659 * BufferView_pimpl.C (trackChanges, dispatch): call
2660 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2662 2003-03-09 Angus Leeming <leeming@lyx.org>
2664 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2665 than Dialogs::showAboutlyx().
2667 2003-03-09 Angus Leeming <leeming@lyx.org>
2669 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2670 than Dialogs::showTabularCreate().
2672 2003-03-09 John Levon <levon@movementarian.org>
2676 * text2.C: 3rd arg to nextBreakPoint was always the same.
2679 2003-03-08 John Levon <levon@movementarian.org>
2686 * text2.C: Remove the "main" bit from the "main body"
2689 2003-03-08 John Levon <levon@movementarian.org>
2691 * text.C (leftMargin): The left margin of an empty
2692 manual label paragraph should not include the label width
2695 * text.C (prepareToPrint): don't attempt to measure hfills
2696 for empty manual label paragraphs - the answer should be 0
2698 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2700 * CutAndPaste.C: remove commented code and reindent.
2702 2003-03-08 John Levon <levon@movementarian.org>
2705 * lyxfunc.C: move reloadBuffer()
2708 * BufferView.C: to here
2710 * lyxvc.C: add comment
2713 * vc-backend.C: call bv->reload() to avoid
2714 getStatus() check on MENURELOAD
2716 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2718 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2719 to an old format .dep file.
2721 2003-03-07 Angus Leeming <leeming@lyx.org>
2723 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2724 when the LFUN_MOUSE_RELEASE should have been handled by
2725 inset->localDispatch.
2727 2003-03-07 Angus Leeming <leeming@lyx.org>
2729 * BufferView_pimpl.C (dispatch):
2730 * LyXAction.C (init):
2731 * ToolbarDefaults.C (init):
2733 * lyxfunc.C (getStatus):
2734 remove LFUN_INSET_GRAPHICS.
2736 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2738 2003-03-07 Angus Leeming <leeming@lyx.org>
2741 * LyXAction.C (init):
2742 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2744 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2747 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2749 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2750 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2752 2003-03-07 Angus Leeming <leeming@lyx.org>
2754 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2757 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2759 * ParagraphList.C (front): new function
2762 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2764 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2765 and top_row_offset_. removed var first_y.
2767 * text2.C (LyXText, removeRow):
2769 * BufferView_pimpl.C:
2770 use these methods instead of using first_y
2772 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2774 * text2.C (pasteSelection): adjust for checkPastePossible
2776 * CutAndPaste.C: remove Paragraph * buf and replace with
2777 ParagraphList paragraphs.
2778 (DeleteBuffer): delete
2779 (cutSelection): change the tc type to textclass_type
2780 (copySelection): change the tc type to textclass_type
2781 (copySelection): adjust for ParagraphList
2782 (pasteSelection): change the tc type to textclass_type
2783 (pasteSelection): adjust for Paragraphlist
2784 (nrOfParagraphs): simplify for ParagraphList
2785 (checkPastePossible): simplify for ParagraphList
2786 (checkPastePossible): remove unused arg
2788 * ParagraphList.C (insert): handle the case where there are no
2791 * CutAndPaste.h: make CutAndPaste a namespace.
2793 * text3.C (dispatch): adjust
2795 * text.C (breakParagraph): add a ParagraphList as arg
2797 * paragraph_funcs.C (breakParagraph): change to take a
2798 BufferParams and a ParagraphList as args.
2799 (breakParagraphConservative): ditto
2800 (mergeParagraph): ditto
2801 (TeXDeeper): add a ParagraphList arg
2802 (TeXEnvironment): ditto
2805 * buffer.C (readLyXformat2): adjust
2806 (insertStringAsLines): adjust
2807 (latexParagraphs): adjust
2809 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2810 (cutSelection): adjust
2811 (pasteSelection): adjust
2813 * BufferView_pimpl.C (insertInset): adjust
2815 2003-03-05 Angus Leeming <leeming@lyx.org>
2818 * LyXAction.C (init):
2819 * BufferView_pimpl.C (dispatch):
2820 * lyxfunc.C (getStatus):
2821 remove LFUN_CHILD_INSERT.
2823 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2825 2003-03-05 Angus Leeming <leeming@lyx.org>
2828 * LyXAction.C (init):
2829 * src/factory.C (createInset):
2830 * lyxfunc.C (getStatus):
2831 * text3.C (dispatch):
2832 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2834 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2836 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2838 * ParagraphList.C (insert): handle insert right before end()
2839 (erase): fix cases where it can be first or last paragraph.
2841 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2843 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2844 Paragraph::next and Paragraph::previous
2847 * text.C (breakParagraph): adjust
2849 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2850 BufferParams& as arg.
2851 (breakParagraph): use ParagraphList::insert
2852 (breakParagraphConservative): take a Buffer* instead of a
2853 BufferParams& as arg.
2854 (breakParagraphConservative): use ParagraphList::insert.
2856 * buffer.C (insertStringAsLines): un-const it
2857 (insertStringAsLines): adjust
2859 * ParagraphList.C (insert): new function
2861 * CutAndPaste.C (pasteSelection): adjust
2863 * text.C (backspace): adjust
2865 * tabular.C (SetMultiColumn): adjust
2867 * CutAndPaste.C (cutSelection): adjust
2868 (pasteSelection): adjust
2870 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2871 Buffer const * as arg
2873 * ParagraphList.C (erase): new function
2874 * paragraph_funcs.C (mergeParagraph): use it
2875 (mergeParagraph): make it take a Buffer* instead of a
2876 BufferParams* as arg
2878 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2880 (breakParagraphConservative): ditto
2882 * paragraph.h: remove the breakParagraph friend
2884 * paragraph.C (eraseIntern): new function
2885 (setChange): new function
2887 * paragraph_funcs.C (mergeParagraph): make it take a
2888 ParagraphList::iterator instead of a Paragraph *, adjust
2891 * paragraph.h: move an #endif so that the change tracking stuff
2892 also works in the NO_NEXT case.
2894 2003-03-04 Angus Leeming <leeming@lyx.org>
2897 * LyXAction.C: new LFUN_INSET_MODIFY.
2899 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2900 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2902 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2904 * several files: ws changes only
2906 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2907 (TeXEnvironment): ditto
2910 * buffer.C (makeLaTeXFile): adjust
2911 (latexParagraphs): make it take ParagraphList::iterator as args
2913 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2915 * buffer.C (latexParagraphs): adjust
2917 * paragraph.C (TeXOnePar): move function...
2918 (optArgInset): move function...
2919 (TeXEnvironment): move function...
2920 * paragraph_pimpl.C (TeXDeeper): move function...
2921 * paragraph_funcs.C: ...here
2923 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2925 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2927 * buffer.C (readInset): remove compability code for old Figure and
2930 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2932 * buffer.C: ws changes
2935 * BufferView_pimpl.C: ditto
2938 * bufferlist.h: ditto
2942 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2944 * converter.[Ch]: split into itself +
2947 * Makefile.am: += graph.[Ch] + format.[Ch]
2954 * lyxrc.C: added #include "format.h"
2956 2003-02-27 Angus Leeming <leeming@lyx.org>
2958 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2961 * factory.C (createInset): add "label" to the factory.
2963 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2964 string and do no more.
2966 2003-02-27 Angus Leeming <leeming@lyx.org>
2969 * LyXAction.C (init):
2970 * factory.C (createInset):
2971 * BufferView_pimpl.C (dispatch):
2972 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2974 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2976 * lyxfunc.C (dispatch):
2977 * text3.C (dispatch): pass name to params2string.
2979 2003-02-26 Angus Leeming <leeming@lyx.org>
2981 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2983 Rearrange the ~includes. Strip out the unnecessary ones.
2985 * factory.C (createInset): reformat.
2986 create new insets for the various LFUN_XYZ_APPLY lfuns.
2988 2003-02-26 John Levon <levon@movementarian.org>
2991 * lyxrow.C: add isParStart,isParEnd helpers
2993 * paragraph.h: make isInserted/DeletedText take refs
2995 * paragraph_funcs.h:
2996 * paragraph_funcs.C: remove #if 0'd code
3001 * text.C: use lyxrow helpers above.
3002 Move draw and paint routines to RowPainter.
3003 Make several methods use refs not pointers.
3004 Make backgroundColor() const.
3005 Add markChangeInDraw(), isInInset().
3006 Merge changeRegionCase into changeCase.
3007 Make workWidth() shouldn't-happen code into an Assert.
3010 * rowpainter.C: new class for painting a row.
3013 * vspace.C: make inPixels take a ref
3015 2003-02-26 Angus Leeming <leeming@lyx.org>
3017 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3020 2003-02-25 John Levon <levon@movementarian.org>
3022 * ispell.C: give the forked command a more accurate name
3024 2003-02-22 John Levon <levon@movementarian.org>
3027 * toc.C: make TocItem store an id not a Paragraph *
3030 2003-02-21 Angus Leeming <leeming@lyx.org>
3032 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3033 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3034 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3035 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3036 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3037 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3039 * BufferView_pimpl.C (dispatch):
3040 * LyXAction.C (init):
3041 * factory.C (createInset):
3042 * lyxfunc.C (getStatus, dispatch):
3043 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3045 2003-02-21 Angus Leeming <leeming@lyx.org>
3047 * BufferView_pimpl.C (MenuInsertLyXFile):
3048 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3049 * lyxfunc.C (menuNew, open, doImport):
3050 no longer pass a LyXView & to fileDlg.
3052 2003-02-21 Angus Leeming <leeming@lyx.org>
3054 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3055 * LyXAction.C: change, BIBKEY to BIBITEM.
3056 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3057 Change InsetBibKey to InsetBibitem.
3058 Change BIBKEY_CODE to BIBITEM_CODE.
3059 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3060 * factory.C: replace insetbib.h with insetbibitem.h.
3061 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3062 * paragraph.C: replace insetbib.h with insetbibitem.h.
3063 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3064 Change bibkey() to bibitem().
3065 * text.C: remove insetbib.h.
3066 * text2.C: replace insetbib.h with insetbibitem.h.
3067 change bibkey() to bibitem().
3068 * text3.C: remove insetbib.h.
3069 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3071 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3073 * lyxrc.C (output): enclose user email in quotes (in case there are
3076 2003-02-18 John Levon <levon@movementarian.org>
3078 * buffer.h: add std::
3080 2003-02-17 John Levon <levon@movementarian.org>
3086 * pspell.C: reworking. Especially in ispell, a large
3087 number of clean ups and bug fixes.
3089 * lyxfunc.C: fix revert to behave sensibly
3091 2003-02-17 André Pönitz <poenitz@gmx.net>
3094 * commandtags.h: new LFUN_INSERT_BIBKEY
3104 * paragraph_func.C: remove special bibkey handling
3106 2003-02-17 John Levon <levon@movementarian.org>
3108 * text.C (Delete): fix case where delete at the end of
3109 the very first paragraph would not merge the pars
3111 2003-02-17 John Levon <levon@movementarian.org>
3113 * lyxrow.C: fix lastPrintablePos()
3115 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3117 * bufferparams.C (writeLaTeX): add a std:here
3119 * buffer.C: and remove a using directive there
3121 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3123 * buffer.C (makeLaTeXFile): move the code that generates the
3126 * bufferparams.C (writeLaTeX): ... in this new method
3128 * LaTeXFeatures.C (getEncodingSet): make const
3129 (getLanguages): make const
3131 * MenuBackend.C (binding): returns the binding associated to this
3133 (add): sets the status of each item by calling getStatus. Adds
3135 (read): add support for OptSubMenu
3136 (expand): remove extra separator at the end of expanded menu
3138 2003-02-15 John Levon <levon@movementarian.org>
3141 * BufferView_pimpl.C:
3143 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3144 inset code that had no actual effect. Remove unneeded status
3147 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3149 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3152 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3154 * text.C (drawLengthMarker): also draw an arrow marker for
3155 symbolic lengths (medskip...)
3157 2003-02-14 John Levon <levon@movementarian.org>
3160 * tabular.C: better method names
3162 2003-02-14 John Levon <levon@movementarian.org>
3164 * BufferView_pimpl.C:
3169 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3170 it's a more accurate name. Remove some pointless uses.
3172 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3174 * text2.C (LyXText): change order of initilizers to shut off
3177 2003-02-14 John Levon <levon@movementarian.org>
3179 * buffer.C: use ParIterator for getParFromID()
3183 * paragraph_pimpl.h:
3184 * paragraph_pimpl.C: remove unused getParFromID()
3186 2003-02-14 John Levon <levon@movementarian.org>
3188 * buffer.C: remove some very old #if 0'd parse code
3190 2003-02-13 John Levon <levon@movementarian.org>
3194 * text2.C: move hfillExpansion(), numberOfSeparators(),
3195 rowLast(), rowLastPrintable(), numberofHfills(),
3196 numberOfLabelHfills() ...
3199 * lyxrow.C: ... to member functions here.
3204 * text.C: remove LyXText::beginningOfMainBody(), and call
3205 p->beginningOfMainBody() directly. Move the check for
3206 LABEL_MANUAL into the latter.
3213 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3219 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3220 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3222 2003-02-13 John Levon <levon@movementarian.org>
3224 * CutAndPaste.C: remove debug
3226 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3228 * paragraph.C (asString): remove two unused variables
3230 * lyxtextclass.C (readTitleType):
3232 (LyXTextClass): handle new members titletype_ and titlename_
3234 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3236 2003-02-09 John Levon <levon@movementarian.org>
3239 * buffer.C: replace hand-coded list with a map for the dep clean
3241 2003-02-08 John Levon <levon@movementarian.org>
3243 * LaTeX.C: consolidate code into showRunMessage() helper
3245 2003-02-08 John Levon <levon@movementarian.org>
3250 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3251 and pass the size in explicitly
3253 * BufferView_pimpl.h:
3254 * BufferView_pimpl.C:
3256 * BufferView.C: add getCurrentChange()
3258 * BufferView_pimpl.h:
3259 * BufferView_pimpl.C: handle change lfuns
3261 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3262 for changes. Mark pasted paragraphs as new.
3264 * support/lyxtime.h:
3265 * support/lyxtime.C:
3266 * DepTable.C: abstract time_t as lyx::time_type
3269 * LColor.C: add colours for new text, deleted text, changebars
3271 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3272 package use "usenames" option.
3276 * LyXAction.C: add change lfuns
3280 * author.C: author handling
3283 * buffer.C: add a per-buffer author list, with first entry as
3284 current author. Handle new .lyx tokens for change tracking. Output
3285 author list to .lyx file. Output dvipost stuff to .tex preamble.
3286 Bump lyx format to 222.
3289 * bufferlist.C: add setCurrentAuthor() to reset current author details
3293 * bufferparams.C: add param for tracking
3295 * bufferview_funcs.C: output change info in minibuffer
3299 * changes.C: add change-tracking structure
3302 * debug.C: add CHANGES debug flag
3305 * lyxfind.C: add code for finding the next change piece
3308 * lyxrc.C: add user_name and user_email
3311 * lyxrow.C: add a metric for the top of the text line
3314 * text.C: implement accept/rejectChange()
3317 * text.C: paint changebars. Paint new/deleted text in the chosen
3318 colours. Strike through deleted text.
3322 * paragraph_pimpl.h:
3323 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3324 in the current change to the insert functions. Rework erase to
3325 mark text as deleted, adding an eraseIntern() and a range-based
3326 erase(). Implement per-paragraph change lookup and
3329 * paragraph_funcs.C: Fixup paste for change tracking.
3331 * tabular.C: mark added row/columns as new.
3333 * text.C: fix rowLast() to never return -1. Don't allow
3334 spellchecking of deleted text. Track transpose changes. Don't
3335 allow paragraph break or merge where appropriate.
3337 * text2.C: leave cursor at end of selection after a cut.
3339 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3341 * text.C (getLengthMarkerHeight):
3342 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3343 visible on screen too.
3345 2003-02-07 John Levon <levon@movementarian.org>
3347 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3349 2003-02-05 Angus Leeming <leeming@lyx.org>
3351 * lyxserver.C (read_ready): revert my patch of 11 September last year
3352 as it sends PC cpu through the roof. Presumably this means that
3353 the lyxserver will no longer run on an Alpha...
3355 2003-01-30 Angus Leeming <leeming@lyx.org>
3357 * factory.C (createInset): create an InsetCommandParam of type "index"
3358 and use it to 'do the right thing'.
3360 * text2.C (getStringToIndex): ensure that cursor position is always
3361 reset to the reset_cursor position.
3363 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3365 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3368 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3372 * lyxfunc.C: Output messages with identical spelling, punctuation,
3375 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3377 * MenuBackend.C (expandFormats): List only viewable export formats
3380 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3383 * lyxfunc.C (getStatus): Make sure that formats other than
3384 "fax" can also be disabled
3386 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3388 * text3.C (dispatch): put the lfuns that insert insets in 3
3389 groups, and call doInsertInset with appropriate arguments.
3390 (doInsertInset): new function, that creates an inset and inserts
3391 it according to some boolean parameters.
3393 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3395 * buffer.C (readFile): remember to pass on 'par' when calling
3396 readFile recursively.
3398 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3400 * MenuBackend.C (expandFormats): add "..." to import formats.
3402 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3404 * paragraph.C (asString): Remove XForms RTL hacks.
3406 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3407 * buffer.C: fix typo
3409 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3411 * Makefile.am (LIBS): delete var
3412 (lyx_LDADD): add @LIBS@ here instead.
3414 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3416 * Clarify the meaning of "wheel mouse jump"
3418 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3420 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3423 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3425 * importer.C (Loaders): do not preallocate 3 elements in the
3426 vector, since one ends up with 6 elements otherwise
3428 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3430 * DepTable.C (write): write the file name as last element of the
3431 .dep file (because it may contain spaces)
3432 (read): read info in the right order
3434 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3436 * paragraph_pimpl.C (simpleTeXBlanks):
3437 (simpleTeXSpecialChars):
3438 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3440 * tabular.C (latex): add some missing case statements. Reindent.
3442 * MenuBackend.C (expandToc): remove unused variable.
3444 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3453 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3456 2003-01-05 John Levon <levon@movementarian.org>
3459 * BufferView.C: add getEncoding()
3462 * kbsequence.C: do not store last keypress
3465 * lyxfunc.C: store last keypress here instead. Pass encoding
3468 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3470 * lyx_main.C (init): remove annoying error message when following
3471 symbolic links (bug #780)
3473 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3475 * text.C (insertChar):
3476 * lyxrc.C (getDescription): remove extra spaces
3478 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3480 * lyxrc.C (getDescription): remove extra spaces
3482 2002-12-20 John Levon <levon@movementarian.org>
3484 * text3.C: hack fix for page up/down across tall rows
3486 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3488 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3491 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3493 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3494 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3495 thesaurus is not compiled in
3497 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3499 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3501 2002-12-16 Angus Leeming <leeming@lyx.org>
3504 * lyx_main.C (init): remove override_x_deadkeys stuff.
3506 2002-12-12 John Levon <levon@movementarian.org>
3508 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3509 insert. Only remove shift modifier under strict
3512 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3514 * MenuBackend.C (expandToc): fix crash.
3516 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3518 * MenuBackend.C (expandToc): gettext on float names.
3520 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3522 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3523 implement bool empty() [bug 490]
3525 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3527 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3529 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3531 * several files: ws changes
3533 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3535 * text2.C (setCounter): clean up a bit, use boost.format.
3536 (updateCounters): initialize par upon declaration.
3538 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3539 if the layout exists. We do not just store the layout any more.
3540 (SwitchLayoutsBetweenClasses): use boost.format
3542 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3544 * converter.C (convert): if from and to files are the same, use a
3545 temporary files as intermediary
3547 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3550 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3552 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3554 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3556 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3558 * tabular.C (asciiPrintCell): use string(size, char) instead of
3561 * sgml.C (openTag): fix order of arguments to string constructor
3564 * lyxfunc.C (dispatch): use boost.format
3566 * lots of files: change "c" -> 'c'
3568 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3570 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3572 2002-11-25 Angus Leeming <leeming@lyx.org>
3574 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3576 * lyx_main.C (init): compile fix.
3578 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3580 * lyx_cb.C (start): boost.formatify
3581 do not include <iostream>
3583 * lengthcommon.C: ws only
3585 * boost-inst.C,BoostFormat.h: add more explict instantations
3587 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3589 * lots of files: handle USE_BOOST_FORMAT
3591 2002-11-21 John Levon <levon@movementarian.org>
3593 * pspell.C: fix compile
3595 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3597 * lyxfunc.C (dispatch): use boost::format
3601 * lyxfont.C (stateText): use boost::format
3603 * lyx_main.C (LyX): use boost::format
3605 (queryUserLyXDir): ditto
3608 (typedef boost::function): use the recommened syntax.
3610 * importer.C (Import): use boost::format
3612 * debug.C (showLevel): use boost::format
3614 * converter.C (view): use boost::format
3619 * bufferview_funcs.C (currentState): use boost::format
3621 * bufferlist.C (emergencyWrite): use boost::format
3623 * buffer.C (readLyXformat2): use boost::format
3624 (parseSingleLyXformat2Token): ditto
3626 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3628 * LaTeX.C (run): use boost::format
3630 * Chktex.C (scanLogFile): use boost::format
3632 * BufferView_pimpl.C (savePosition): use boost::format
3633 (restorePosition): ditto
3634 (MenuInsertLyXFile): ditto
3636 * BoostFormat.h: help file for explicit instation.
3638 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3640 * tabular.C (latex): Support for block alignment in fixed width
3643 2002-11-17 John Levon <levon@movementarian.org>
3645 * BufferView_pimpl.C:
3647 * lyxfunc.C: split filedialog into open/save
3649 2002-11-08 Juergen Vigna <jug@sad.it>
3651 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3652 by my last patch (hopefully).
3654 2002-11-08 John Levon <levon@movementarian.org>
3663 * toc.C: ParConstIterator, and use it (from Lars)
3665 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3667 * lyxtextclass.[Ch]: revise and add doxygen comments
3669 2002-11-07 John Levon <levon@movementarian.org>
3671 * text.C: fix progress value for spellchecker
3673 * toc.C: fix navigate menu for insetwrap inside minipage
3675 * paragraph_funcs.C: added FIXME for suspect code
3677 2002-11-07 John Levon <levon@movementarian.org>
3679 * BufferView_pimpl.C: fix redrawing of insets
3682 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3684 * text2.C (updateCounters): fix bug 668
3686 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3688 * text3.C (dispatch): Do not make the buffer dirty when moving the
3691 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3693 * vc-backend.C: STRCONV
3696 * text2.C (setCounter): STRCONV
3698 * paragraph.C (asString): STRCONV
3700 * lyxlength.C (asString): STRCONV
3701 (asLatexString): ditto
3703 * lyxgluelength.C (asString): STRCONV
3704 (asLatexString): ditto
3706 * lyxfunc.C (dispatch): STRCONV
3709 * lyxfont.C (stateText): STRCONV
3711 * importer.C (Import): STRCONV
3713 * counters.C (labelItem): STRCONV
3714 (numberLabel): ditto
3715 (numberLabel): remove unused ostringstream o
3720 * bufferview_funcs.C (currentState): STRCONV
3722 * buffer.C (readFile): STRCONV
3723 (asciiParagraph): ditto
3724 (makeLaTeXFile): ditto
3726 * Spacing.C (writeEnvirBegin): STRCONV
3728 * LaTeXFeatures.C (getLanguages): STRCONV
3729 (getPackages): ditto
3731 (getBabelOptions): ditto
3732 (getTClassPreamble): ditto
3733 (getLyXSGMLEntities): ditto
3734 (getIncludedFiles): ditto
3738 (scanAuxFile): ditto
3741 * LString.h: add the STRCONV macros
3743 * BufferView_pimpl.C (savePosition): STRCONV
3744 (restorePosition): ditto
3745 (MenuInsertLyXFile): ditto
3747 * vc-backend.C (scanMaster): change from submatch[...] to
3750 * funcrequest.C: include config.h
3752 * factory.C: include config.h
3754 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3756 * box.C: include config.h
3758 * LaTeX.C (scanAuxFile): change from submatch[...] to
3762 2002-10-25 Angus Leeming <leeming@lyx.org>
3764 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3766 * ispell.[Ch] (setError): new method.
3767 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3768 Use setError() insetead of goto END.
3770 * lyx_cb.C (AutoSave): move out child process into new class
3773 2002-10-30 John Levon <levon@movementarian.org>
3775 * text3.C: make start appendix undoable
3777 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3779 * lyxlength.C (inPixels): Fix returned value.
3781 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3784 2002-10-24 Angus Leeming <leeming@lyx.org>
3786 * lyxgluelength.h: no need to forward declare BufferParams
3787 or BufferView, so don't.
3789 2002-10-21 John Levon <levon@movementarian.org>
3791 * BufferView.C: menuUndo ->undo, redo
3793 * BufferView.h: document, remove dead, make some methods private
3795 * paragraph_funcs.h:
3796 * paragraph_funcs.C:
3797 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3802 * sgml.C: move sgml open/close tag into sgml.C
3804 * bufferview_funcs.h: unused prototype
3807 * lyxfunc.C: remove unused
3810 * text.C: remove unused
3812 2002-10-21 John Levon <levon@movementarian.org>
3816 * BufferView_pimpl.h:
3817 * BufferView_pimpl.C: fix mouse wheel handling based on
3818 patch from Darren Freeman
3820 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3822 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3824 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3826 * lyxlength.C (inPixels): Fix hanfling of negative length.
3827 Fix LyXLength::MU case.
3829 2002-10-16 John Levon <levon@movementarian.org>
3831 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3833 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3835 * converter.C (view): add support for $$i (file name) and $$p
3836 (file path) for the viewer command. If $$i is not specified, then
3837 it is appended to the command (for compatibility with old syntax)
3839 2002-10-14 Juergen Vigna <jug@sad.it>
3841 * undo_funcs.C (textHandleUndo): alter the order in which the
3842 new undopar is added to the LyXText, as we have to set first
3843 the right prev/next and then add it as otherwise the rebuild of
3844 LyXText is not correct. Also reset the cursor to the right paragraph,
3845 with this IMO we could remove the hack in "redoParagraphs()".
3847 2002-10-09 Angus Leeming <leeming@lyx.org>
3849 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3850 to turn off an optimisation if a new inset is to be inserted.
3852 2002-10-11 André Pönitz <poenitz@gmx.net>
3854 * lyxtext.h: make some functions public to allow access
3855 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3857 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3859 * text3.C (dispatch): when changing layout, avoid an infinite loop
3862 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3864 * lyxrc.C (read): treat a viewer or converter command of "none" as
3867 * MenuBackend.C (expandFormats): for an update, also allow the
3868 formats that are not viewable
3870 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3871 script if it is newer than the lyxrc.defaults in user directory
3873 2002-10-07 André Pönitz <poenitz@gmx.net>
3875 * text.C: Vitaly Lipatov's small i18n fix
3877 2002-09-25 Angus Leeming <leeming@lyx.org>
3879 * ispell.h: doxygen fix.
3881 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3883 * buffer.h (readFile): Add a new argument to the method, to allow
3884 reading of old-format templates.
3886 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3888 * toc.C (getTocList): Get TOC from InsetWrap.
3890 2002-09-16 John Levon <levon@movementarian.org>
3892 * lyxfunc.C: check tabular for cut/copy too
3894 2002-09-12 John Levon <levon@movementarian.org>
3899 * factory.C: add header
3901 * paragraph_funcs.h:
3902 * paragraph_funcs.C: cleanup
3904 2002-09-11 John Levon <levon@movementarian.org>
3906 * PrinterParams.h: odd/even default to true
3908 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3910 * PrinterParams.h: update printer parameters for new xforms dialog
3912 2002-09-11 Angus Leeming <leeming@lyx.org>
3914 * lyxserver.C (read_ready): re-write to make it more transparent
3915 and to make it work in coherent fashion under Tru64 Unix.
3917 2002-09-11 André Pönitz <poenitz@gmx.net>
3921 * text3.C: implement LFUN_WORDSEL
3923 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3925 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3926 make floatlist_ a boost::shared_ptr<FloatList>
3928 * lyxtextclass.C: include FloatList.h
3929 (LyXTextClass): initialize floatlist_
3930 (TextClassTags): add TC_NOFLOAT
3931 (Read): match "nofloat" to TC_NOFLOAT and use it.
3932 (readFloat): modify call to floatlist_
3936 * FloatList.[Ch] (FloatList): remove commented out float
3938 (erase): new function
3940 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3942 * MenuBackend.C (expandToc): fix crash when there is no document
3945 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3947 * many files: Add insetwrap.
3949 2002-09-09 John Levon <levon@movementarian.org>
3951 * text2.C: remove confusing and awkward depth wraparound
3953 2002-09-09 John Levon <levon@movementarian.org>
3955 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3958 * buffer.C: remove getIncludeonlyList()
3961 * lyxfunc.C: remove headers
3963 2002-09-09 Juergen Vigna <jug@sad.it>
3965 * text.C (getColumnNearX): fix form Michael this is most
3966 probably a cut&paste bug.
3968 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3970 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3972 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3973 references, ws changes.
3975 * text2.C (init): update counters after init
3976 (insertParagraph): no need to set counter on idividual paragraphs.
3977 (setCounter): access the counters object in the textclass object
3978 on in the buffer object.
3979 (updateCounters): ditto
3981 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3982 shared_ptr<Counters> to avoid loading counters.h in all
3984 (LyXTextClass): initialize ctrs_
3985 (TextClassTags): add TC_COUNTER, and ...
3986 (Read): use it here.
3987 (CounterTags): new tags
3988 (readCounter): new function
3989 (counters): new funtion
3990 (defaultLayoutName): return a const reference
3992 * counters.C (Counters): remove contructor
3993 (newCounter): remove a couple of unneeded statements.
3994 (newCounter): simplify a bit.
3995 (numberLabel): some small formatting changes.
3997 * buffer.[Ch]: remove all traces of counters, move the Counters
3998 object to the LyXTextClass.
4000 2002-09-06 Alain Castera <castera@in2p3.fr>
4002 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4003 package to set the horizontal alignment on fixed width columns.
4006 * lyx_sty.h: added tabularnewline macro def.
4008 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4010 2002-09-06 John Levon <levon@movementarian.org>
4012 * LyXAction.C: tooltips for sub/superscript
4014 * MenuBackend.C: a bit more verbose
4016 * lyxfunc.C: tiny clean
4018 * undo_funcs.C: document undo_frozen
4020 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4022 * counters.C (Counters): add missing algorithm counter.
4024 * text2.C (setCounter): lookup the counter with layouts latexname
4025 instead of by section number.
4026 (setCounter): use a hackish way to lookup the correct enum
4028 a float name->type change
4029 reset enum couners with counter name directly instead of depth value.
4031 * counters.C (Counters): remove the push_backs, change to use the
4032 float type not the float name.
4033 (labelItem): remove unused string, float name->type change
4035 * counters.h: don't include vector, loose the enums and sects vectors
4037 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4039 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4040 (Read): add float->TC_FLOAT to textclassTags
4041 (Read): and handle it in the switch
4042 (readFloat): new function
4044 * FloatList.C (FloatList): comment out the hardcoded float
4047 * lyxlayout.h: ws change.
4049 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4051 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4053 2002-09-03 Angus Leeming <leeming@lyx.org>
4055 * BufferView_pimpl.h: qualified name is not allowed in member
4056 declaration: WorkArea & Pimpl::workarea() const;
4058 * factory.C: added using std::endl directive.
4060 * text3.C: added using std::find and std::vector directives.
4062 2002-08-29 André Pönitz <poenitz@gmx.net>
4065 * text2.C: remove unused member number_of_rows
4068 * BufferView2.C: remove file, move contents to...
4069 * BufferView.C: ... here
4071 * BufferView_pimpl.C:
4072 * factory.C: move more inset creation to factory
4074 * vspace.C: avoid direct usage of LyXText, ws changes
4077 don't provide direct access to WorkArea, use two simple
4078 acessors haveSelction() and workHeight() instead
4081 2002-08-29 John Levon <levon@movementarian.org>
4083 * BufferView_pimpl.C (dispatch): do not continue when
4086 2002-08-28 André Pönitz <poenitz@gmx.net>
4088 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4091 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4093 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4095 * buffer.C: increment LYX_FORMAT to 221
4097 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4098 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4100 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4102 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4104 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4106 * factory.C (createInset): use LyXTextClass::floats
4108 * MenuBackend.C (expandFloatListInsert):
4109 (expandFloatInsert):
4112 * text2.C (setCounter):
4114 * LaTeXFeatures.C (useFloat):
4115 (getFloatDefinitions):
4117 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4119 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4120 floatlist_, with accessor floats().
4122 * FloatList.h: remove global FloatList
4124 2002-08-26 André Pönitz <poenitz@gmx.net>
4126 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4130 * BufferView_pimpl.C:
4131 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4133 2002-08-25 John Levon <levon@movementarian.org>
4135 * LyXAction.C: fix margin note description
4137 2002-08-24 John Levon <levon@movementarian.org>
4141 * bufferview_funcs.C:
4143 * undo_funcs.C: cleanups
4145 * lyxfunc.C: disable CUT/COPY when no selection
4147 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4149 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4150 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4152 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4153 Add backward compatibility to "mono", "gray" and "no".
4155 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4157 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4158 (and file_format >= 200).
4160 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4162 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4164 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4166 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4168 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4170 * BufferView_pimpl.C:
4177 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4178 inset and code to make it work with the paragraph code. The inset
4179 can be anywhere in the paragraph, but will only do the expected
4180 thing in LaTeX if the layout file contains the parameter line
4182 (or more generally, a nonzero value) for that layout.
4184 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4186 * paragraph.h: remove the declaration of undefined counters class
4189 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4191 * text2.C (setCounter): fixed enumeration mis-count as reported by
4192 Dr. Richard Hawkins.
4194 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4196 * paragraph_funcs.h: remove some unneeded includes
4198 * text.C (backspace): pasteParagraph now in global scipe
4200 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4201 (pasteSelection): ditto
4203 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4204 * paragraph_funcs.C (pasteParagraph): ... here
4206 2002-08-20 André Pönitz <poenitz@gmx.net>
4208 * commandtags.h: new LFUNs for swapping/copying table row/colums
4211 * lyxfunc.C: support for new lfuns
4213 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4216 * buffer.[Ch]: remove NO_COMPABILITY stuff
4218 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4220 * boost.C (throw_exception): new file, with helper function for
4221 boost compiled without exceptions.
4226 * ParameterStruct.h:
4227 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4229 * bufferlist.C (emergencyWriteAll): use boost bind
4231 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4233 * text.C: include paragraph_funcs.h
4234 (breakParagraph): breakParagraph is now in global scope
4236 * paragraph_funcs.[Ch]: new files
4238 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4241 * buffer.C: include paragraph_funcs.h
4242 (insertStringAsLines): breakParagraph is now in global scope
4244 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4247 * CutAndPaste.C: include paragraph_funcs.h
4248 (cutSelection): breakParagraphConservative is now in global scope
4249 (pasteSelection): ditto
4251 * buffer.h: declare oprator== and operator!= for
4252 Buffer::inset_iterator
4254 * bufferlist.C (emergencyWrite): don't use fmt(...)
4256 * text3.C: add using std::endl
4258 * BufferView.C (moveCursorUpdate): remove default arg
4260 2002-08-20 André Pönitz <poenitz@gmx.net>
4262 * buffer.[Ch]: move inline functions to .C
4265 * BufferView_pimpl.C:
4267 * buffer.[Ch]: use improved inset_iterator
4270 * paragraph.[Ch]: write one paragraph at a time
4272 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4274 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4275 style if style is not specified.
4277 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4279 * text2.C (setCounter): when searching for right label for a
4280 caption, make sure to recurse to parent insets (so that a caption
4281 in a minipage in a figure float works) (bug #568)
4283 2002-08-20 André Pönitz <poenitz@gmx.net>
4285 * text3.C: new file for LyXText::dispatch() and helpers
4287 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4289 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4291 2002-08-19 André Pönitz <poenitz@gmx.net>
4294 * text.C: new LyXText::dispatch()
4296 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4298 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4300 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4302 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4305 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4307 * Makefile.am: use $(variables) instead of @substitutions@
4309 2002-08-15 André Pönitz <poenitz@gmx.net>
4312 * BufferView_pimpl.C: streamlining mathed <-> outer world
4316 * LyXAction.C: remove unused LFUN_MATH
4318 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4320 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4322 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4324 * paragraph.C (Paragraph): reformat a bit
4325 (cutIntoMinibuffer): use builtin InsetList function instad of
4329 * buffer.C: include boost/bind.hpp, add using std::for_each
4330 (writeFileAscii): use ParagraphList iterators
4331 (validate): use for_each for validate traversal of paragraphs
4332 (getBibkeyList): use ParagraphList iterators
4333 (resizeInsets): use for_each to resizeInsetsLyXText for all
4335 (getParFromID): use ParagraphList iterators
4337 * BufferView2.C (lockInset): use paragraph list and iterators
4339 2002-08-14 John Levon <levon@movementarian.org>
4341 * lyxserver.C: remove spurious xforms include
4343 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4345 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4347 2002-08-13 André Pönitz <poenitz@gmx.net>
4350 * lyxfunc.C: further cleaning
4352 2002-08-13 André Pönitz <poenitz@gmx.net>
4354 * funcrequest.h: new constructor
4356 * funcrequest.C: move stuff here from .h
4359 * BufferView_pimpl.C:
4362 * lyxfunc.C: subsequent changes
4364 * lyxfunc.h: new view() member function
4366 * lyxfunc.C: subsequent changes
4368 2002-08-13 Angus Leeming <leeming@lyx.org>
4371 * BufferView_pimpl.C:
4379 changes due to the changed LyXView interface that now returns references
4380 to member variables not pointers.
4382 2002-08-13 Angus Leeming <leeming@lyx.org>
4384 * WordLangTuple (word, lang_code): return references to strings,
4389 * lyxtext.h: forward-declare WordLangTuple.
4394 * text.C: #include "WordLangTuple.h".
4397 * text.C: (selectNextWordToSpellcheck): constify return type.
4399 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4405 * paragraph_pimpl.h:
4408 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4410 Made updateCounter always count from start of buffer, and removed
4411 second argument (par).
4412 Reverted floats number display to '#'. Perhaps I'll try again when the
4413 code base is sanitized a bit.
4415 2002-08-12 Angus Leeming <leeming@lyx.org>
4417 * buffer.[Ch] (getLabelList): constify.
4419 2002-08-07 André Pönitz <poenitz@gmx.net>
4421 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4423 * funcrequest.h: extension to keep mouse (x,y) position
4425 2002-08-12 Juergen Vigna <jug@sad.it>
4427 * BufferView2.C (insertErrors): forbid undo when inserting error
4430 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4432 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4434 * ParagraphList.[Ch]: new files
4436 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4438 * BufferView2.C (lockInset): ParagraphList changes
4441 * bufferlist.C: ditto
4445 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4447 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4448 unused class variable counter_,
4450 * paragraph.[Ch] (getFirstCounter): delete unused function
4452 * counters.C: include LAssert.h
4453 (reset): add a new function with no arg, change other version to
4454 not have def. arg and to not allow empty arg.
4456 * text2.C (setCounter): remove empty arg from call to Counters::reset
4458 2002-08-11 John Levon <levon@movementarian.org>
4460 * Makefile.am: add WordLangTuple.h
4462 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4464 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4465 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4467 * insets/insettext.C: InsetList changes
4469 * graphics/GraphicsSupport.C (operator()): InsetList changes
4471 * toc.C (getTocList): InsetList changes
4473 * paragraph_pimpl.[Ch]: InsetList changes
4475 * paragraph.[Ch]: InsetList changes
4477 * buffer.C (inset_iterator): InsetList changes
4478 (setParagraph): ditto
4479 * buffer.h (inset_iterator): ditto
4480 * iterators.C (operator++): ditto
4481 * iterators.h: ditto
4483 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4485 * InsetList.[Ch]: new files, most InsetList handling moved out of
4488 * BufferView2.C (removeAutoInsets): InsetList changes
4490 (ChangeInsets): ditto
4492 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4494 * paragraph_pimpl.h (empty): new function
4496 * paragraph.[Ch] (empty): new function
4498 * other files: use the new Paragraph::empty function
4500 2002-08-09 John Levon <levon@movementarian.org>
4502 * lyxtext.h: remove unused refresh_height
4504 2002-08-09 John Levon <levon@movementarian.org>
4511 * paragraph.C: move sgml char escaping out of paragraph
4514 * paragraph.C: remove id setter
4518 * paragraph_pimpl.C: remove dead tex_code_break_column
4520 * bufferview_funcs.C: small cleanup
4522 * lyxfunc.C: remove dead proto
4524 * lyxtext.h: make some stuff private. Remove some dead stuff.
4526 * lyxgluelength.C: make as[LyX]String() readable
4528 2002-08-08 John Levon <levon@movementarian.org>
4533 * ToolbarDefaults.C:
4536 * toc.C: lyxaction cleanup
4538 2002-08-08 John Levon <levon@movementarian.org>
4540 * BufferView2.C: small cleanup
4543 * lyxfind.C: move unnecessary header into the .C
4545 2002-08-08 John Levon <levon@movementarian.org>
4547 * funcrequest.h: just tedious nonsense
4550 * lyx_main.C: cleanups
4553 * vspace.C: remove dead header lyx_main.h
4555 2002-08-07 Angus Leeming <leeming@lyx.org>
4558 * paragraph_pimpl.h:
4559 Forward declare class Counters in paragraph.h by moving the ctrs member
4560 variable into Paragraph::Pimpl.
4561 (counters): new method, returning a reference to pimpl_->ctrs.
4563 * text2.C: ensuing changes.
4565 2002-08-07 John Levon <levon@movementarian.org>
4567 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4569 * BufferView_pimpl.C: announce X selection on double/triple
4572 * lyx_main.C: use correct bool in batch dispatch
4574 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4576 2002-08-07 André Pönitz <poenitz@gmx.net>
4578 * funcrequest.h: new class to wrap a kb_action and its argument
4581 * BufferView_pimpl[Ch]:
4585 * lyxrc.C: subsequent changes
4588 2002-08-07 John Levon <levon@movementarian.org>
4590 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4591 document options change.
4593 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4598 * makefile.am: move counters functionality over from
4599 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4601 2002-08-06 John Levon <levon@movementarian.org>
4603 * WordLangTuple.h: new file for word + language code tuple
4614 * BufferView2.C: use WordLangTuple
4617 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4619 2002-08-06 John Levon <levon@movementarian.org>
4621 * lyx_main.C: fix cmdline batch handling
4623 2002-08-06 André Pönitz <poenitz@gmx.net>
4625 * lyxrc.C: set default for show_banner to true
4627 2002-08-06 John Levon <levon@movementarian.org>
4629 * pspell.C: fix a crash, and allow new aspell to work
4631 2002-08-06 John Levon <levon@movementarian.org>
4634 * kbmap.C: small cleanup
4637 * vspace.C: add const
4639 2002-08-05 John Levon <levon@movementarian.org>
4641 * LyXAction.C: back to tabular-insert
4643 2002-08-04 John Levon <levon@movementarian.org>
4646 * BufferView.C: cosmetic change
4648 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4658 * BufferView2.C: purge all "Lyx" not "LyX" strings
4661 * lyxcursor.C: attempt to add some documentation
4666 * ToolbarDefaults.C:
4667 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4668 merge with LFUN_TABULAR_INSERT
4675 * pspell.C: split up i/pspell implementations into separate
4676 files, many cleanups
4678 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4680 * text2.C: some cleanup
4682 * lyxfunc.C: don't check for isp_command == "none" any more, it
4683 didn't make any sense
4685 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4690 * makefile.am: move counters functionality over
4691 from text2.C/paragraph.[Ch] to counters.[Ch], and
4693 2002-08-02 John Levon <levon@movementarian.org>
4695 * buffer.C: s/lyxconvert/lyx2lyx/
4697 2002-08-02 Angus Leeming <leeming@lyx.org>
4699 * lyxlex.C: revert John's change as it breaks reading of the user
4702 2002-08-02 Angus Leeming <leeming@lyx.org>
4704 * importer.C (Import):
4705 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4706 changes due to LyXView::view() now returning a boost::shared_ptr.
4708 2002-08-02 John Levon <levon@movementarian.org>
4710 * lyxlex.C: small cleanup
4712 2002-08-02 John Levon <levon@movementarian.org>
4714 * text2.C (status): small cleanup, no logic change
4716 2002-08-01 John Levon <levon@movementarian.org>
4719 * buffer.C (writeFile): don't output alerts, caller
4723 * lyx_cb.C: from above
4725 * lyxfunc.C: allow to open non-existent files
4727 2002-07-31 John Levon <levon@movementarian.org>
4729 * lyxserver.C: don't let incidental errors get
4732 2002-07-30 John Levon <levon@movementarian.org>
4734 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4736 2002-07-30 John Levon <levon@movementarian.org>
4739 * lyxserver.C: remove I/O callback too
4741 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4743 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4746 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4748 * many files: strip,frontStrip -> trim,ltrim,rtrim
4750 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4752 * PrinterParams.h: remove extern containsOnly, and include
4753 support/lstrings.h instead.
4755 * LaTeX.C (scanAuxFile): modify because of strip changes
4757 * buffer.C (makeLaTeXFile): ditto
4758 * bufferparams.C (writeFile): ditt
4759 * lyxfont.C (stateText): ditto
4760 * lyxserver.C (read_ready): ditto
4761 * vc-backend.C (scanMaster): ditto
4763 * BufferView_pimpl.h: ws changes
4765 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4767 2002-07-26 André Pönitz <poenitz@gmx.net>
4769 * kb_sequence.C: remove unnedred usings
4771 2002-07-26 Juergen Vigna <jug@sad.it>
4773 * lyxfind.C (LyXReplace): we have to check better if the returned
4774 text is not of theLockingInset()->getLockingInset().
4776 2002-07-25 Juergen Vigna <jug@sad.it>
4778 * lyxfind.C (LyXReplace): don't replace if we don't get the
4781 * undo_funcs.C (createUndo): remove debugging code.
4783 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4785 * buffer.C (parseSingleLyXformat2Token): Use default placement
4786 when reading old floats.
4788 * FloatList.C (FloatList): Change the default placement of figure
4789 and tables to "tbp".
4791 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4793 * MenuBackend.C: using std::max
4795 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4797 * MenuBackend.C (expandToc):
4798 (expandToc2): code moved from xforms menu frontend. It is now
4799 generic and TOCs are transparent to menu frontends.
4801 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4803 * toc.C (getTocList): protect against buf=0
4805 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4806 Menu as first parameter. Now, this calls itself recursively to
4807 expand a whole tree (this will be useful for TOC handling)
4808 (expandFloatInsert): remove 'wide' version of floats
4810 * MenuBackend.h (submenuname): returns the name of the submenu.
4811 (submenu): returns the submenu itself, provided it has been
4812 created by MenuBackend::expand
4814 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4816 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4817 insets which have noFontChange == true. (bug #172)
4819 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4821 * BufferView_pimpl.C: add connection objects and use them...
4824 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4826 * MenuBackend.C (expandLastfiles):
4829 (expandFloatListInsert):
4830 (expandFloatInsert):
4831 (expand): split expand in parts
4833 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4835 * lyx_gui.C: use lyx_gui::exit()
4837 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4839 * LyXAction.C: show the failing pseudo action
4841 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4843 * buffer.C (readFile): Run the lyxconvert script in order to read
4846 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4850 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4852 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4856 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4858 2002-07-22 Herbert Voss <voss@lyx.org>
4861 * lyxlength.[Ch]: add support for the vertical lengths
4863 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4865 * toc.[Ch]: std:: fixes
4867 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4869 * lyxrc.C: do not include lyx_main.h
4871 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4877 * BufferView2.C: include "lyxlex.h"
4880 * bufferparams.h: do not #include "lyxlex.h"
4882 * lyxtextclasslist.C (Add): remove method
4883 (classlist): renamed to classlist_
4885 * paragraph_pimpl.C:
4889 * bufferview_funcs.C:
4894 * toc.C (getTocList): use BufferParams::getLyXTextClass
4896 * toc.C (getTocList): use InsetFloat::addToToc
4898 * toc.[Ch]: new files, containing helper functions to handle table
4901 * lyxfunc.C (dispatch): no need to remove spaces around command
4903 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4904 first command of the sequence; it is not very clever, but I do not
4905 have a better idea, actually
4907 * LyXAction.C (LookupFunc): make sure to remove space at the
4908 beginning and end of the command
4910 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4912 * MenuBackend.C (getMenubar): new method: return the menubar of
4914 (read): treat differently reading of menu and menubar (in
4915 particular, the menubar has no name now)
4916 (Menu::menubar): remove
4918 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4921 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4923 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4924 a bibitem inset in a RTL paragraph.
4926 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4928 * paragraph_pimpl.C: constify
4930 * BufferView_pimpl.C:
4932 * lyxfunc.C: fix dispatch in a nicer way
4934 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4936 * lyxfunc.C (dispatch):
4937 * BufferView_pimpl.C:
4938 * BufferView_pimpl.h:
4940 * BufferView.h: rename Dispatch() to dispatch()
4942 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4944 * lyxlayout.C (Read): honor DependsOn tag
4946 * lyxlayout.[Ch] (depends_on): new method
4948 * version.C.in: update lyx_docversion
4950 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4952 * paragraph.C (validate): remove from here...
4953 * paragraph_pimpl.C (validate): ... and move here
4954 (isTextAt): make it const
4956 * buffer.C (getLists): ws cleanup
4958 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4960 * language.C (read): Use iso8859-1 encoding in latex_lang
4961 (this prevents LyX from crashing when using iso10646-1 encoding).
4963 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4965 * text2.C (toggleInset): if cursor is inside an inset, close the
4966 inset and leave cursor _after_ it
4968 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4970 * lyxfunc.C: move minibuffer completion handling out of here
4972 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4974 * BufferView_pimpl.C:
4975 * LaTeX.C: fix dispatch calls
4977 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4979 * text.C (drawChars): Fix Arabic text rendering.
4981 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4985 * lyxfunc.C: remove message-push/pop
4989 * lyxfunc.C: rationalise some code by removing verboseDispatch
4990 in favour of a bool argument to dispatch()
4992 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4994 * lyx_main.C (init): make sure to read symlinks as absolute paths
4996 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4999 * lyxfunc.C: no need for commandshortcut to be a member
5001 2002-07-15 André Pönitz <poenitz@gmx.net>
5003 * converter.C: add support for $$s (scripts from lib/scripts dir)
5004 * lyx_main.C: white space
5006 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5010 * lyxrc.C: remove second exit confirmation
5012 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5017 * BufferView_pimpl.h:
5018 * BufferView_pimpl.C:
5019 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5021 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5023 * MenuBackend.C (expand): add numeric shortcuts to document menu
5025 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5027 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5029 * lyxfont.C (setLyXFamily):
5036 * buffer.C (asciiParagraph): use ascii_lowercase
5038 2002-07-15 Mike Fabian <mfabian@suse.de>
5040 * lyxlex_pimpl.C (search_kw):
5041 * lyxlex.C (getLongString):
5042 * converter.h (operator<):
5043 * converter.C (operator<):
5044 * buffer.C (parseSingleLyXformat2Token):
5046 * ToolbarDefaults.C (read):
5047 * MenuBackend.C (checkShortcuts):
5049 * LColor.C (getFromGUIName):
5050 (getFromLyXName): use the compare_ascii_no_case instead of
5051 compare_no_case, because in turkish, 'i' is not the lowercase
5052 version of 'I', and thus turkish locale breaks parsing of tags.
5054 2002-07-16 Angus Leeming <leeming@lyx.org>
5056 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5057 now takes a Buffer const & argument.
5059 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5061 * BufferView.C (resize): check there's a buffer to resize
5063 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5065 * lyxfunc.C: remove dead code
5068 * lyxserver.C: use lyx_guii::set_read_callback
5070 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5072 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5073 an inset in a RTL paragraph.
5075 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5077 * lyxfunc.C: repaint after a font size update
5079 2002-07-15 André Pönitz <poenitz@gmx.net>
5081 * lyxlength.C: inBP should be able to return negative values
5083 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5085 * lyxfunc.C: use lyx_gui::update_fonts()
5087 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5089 * lyxfunc.C: use lyx_gui::update_color()
5091 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5097 * lyxrc.C: remove file->new asks for name option, and let
5098 buffer-new take an argument
5100 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5102 * BufferView_pimpl.C: remove unneeded extra repaint()
5104 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5106 * LyXAction.C: allow command-sequence with NoBuffer
5108 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5110 2002-07-10 Angus Leeming <leeming@lyx.org>
5112 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5114 2002-07-09 Angus Leeming <leeming@lyx.org>
5116 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5118 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5120 * lengthcommon.h: whitespace
5122 * lyxfunc.C: update scrollbar after goto paragraph
5124 * lyxtext.h: factor out page break drawing, and fix it so
5125 page break/added space paints as selected nicely
5127 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5129 * BufferView_pimpl.C: add FIXMEs, clean up a little
5131 2002-07-09 André Pönitz <poenitz@gmx.net>
5133 * lyxfont.[Ch]: support for wasy symbols
5135 2002-07-08 André Pönitz <poenitz@gmx.net>
5137 * BufferView_pimpl.C: apply John's patch for #93.
5139 2002-07-05 Angus Leeming <leeming@lyx.org>
5141 * BufferView_pimpl.C (buffer): generate previews if desired.
5143 * LColor.h: add "preview" to the color enum.
5145 * LColor.C (LColor): add a corresponding entry to the items array.
5147 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5150 2002-07-05 Angus Leeming <leeming@lyx.org>
5152 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5153 The body of the code is now in the method that is passed an ostream &
5154 rather than a file name.
5155 Pass an additional only_preamble parameter, useful for the forthcoming
5158 2002-07-03 André Pönitz <poenitz@gmx.net>
5160 * lyxfunc.C: simplify getStatus() a bit for math stuff
5162 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5164 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5166 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5168 * text.C (changeRegionCase): do not change case of all the
5169 document when region ends at paragraph end (bug #461)
5171 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5173 * paragraph.C (startTeXParParams):
5174 (endTeXParParams): add \protect when necessary
5176 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5178 * BufferView_pimpl.C (workAreaExpose): remove warning
5180 2002-06-27 Angus Leeming <leeming@lyx.org>
5182 * Makefile.am: add lyxlayout_ptr_fwd.h.
5184 2002-06-26 André Pönitz <poenitz@gmx.net>
5186 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5188 2002-06-25 Angus Leeming <leeming@lyx.org>
5190 * lyxfunc.C (dispatch): Comment out the call to
5191 grfx::GCache::changeDisplay. The method no longer exists now that the
5192 pixmap generation part of the graphics loader has been moved into
5195 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5197 * text2.C: layout as layout
5199 * text.C: layout as layout
5201 * tabular.C (OldFormatRead): layout as layout
5203 * paragraph_pimpl.C (TeXDeeper): layout as layout
5204 (realizeFont): layout as layout
5206 * paragraph.C (writeFile): layout as layout
5207 (validate): layout as layout
5208 (getFont): layout as layout
5209 (getLabelFont): layout as layout
5210 (getLayoutFont): layout as layout
5211 (breakParagraph): layout as layout
5212 (stripLeadingSpaces): layout as layout
5213 (getEndLabel): layout as layout
5214 (getMaxDepthAfter): layout as layout
5215 (applyLayout): layout as layout
5216 (TeXOnePar): layout as layout
5217 (simpleTeXOnePar): layout as layout
5218 (TeXEnvironment): layout as layout
5219 (layout): layout as layout
5220 (layout): layout as layout
5222 * lyxtextclass.C (compare_name): new functor to work with
5223 shared_ptr, layout as layout
5224 (Read): layout as layout
5225 (hasLayout): layout as layout
5226 (operator): layout as layout
5227 (delete_layout): layout as layout
5228 (defaultLayout): layout as layout
5230 * lyxlayout_ptr_fwd.h: new file
5232 * lyxlayout.C (Read): layout as layout
5234 * lyx_cb.C (MenuInsertLabel): layout as layout
5236 * bufferlist.C (newFile): layout as layout
5238 * buffer.C (readLyXformat2): layout as layout
5239 (parseSingleLyXformat2Token): layout as layout
5240 (insertStringAsLines): layout as layout
5241 (asciiParagraph): layout as layout
5242 (latexParagraphs): layout as layout
5243 (makeLinuxDocFile): layout as layout
5244 (simpleLinuxDocOnePar): layout as layout
5245 (makeDocBookFile): layout as layout
5246 (simpleDocBookOnePar): layout as layout
5247 (getLists): layout as layout
5249 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5251 * CutAndPaste.C (cutSelection): layout as layout
5252 (pasteSelection): layout as layout
5253 (SwitchLayoutsBetweenClasses): layout as layout
5255 * BufferView_pimpl.C (Dispatch): layout as layout
5256 (smartQuote): layout as layout
5258 * BufferView2.C (unlockInset): layout as layout
5260 2002-06-24 André Pönitz <poenitz@gmx.net>
5262 * lyxfunc.C: fix #487
5264 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5268 * lyxfunc.C: remove display_shortcuts, show_banner
5270 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5272 * Buffer_pimpl.C: oops, update on resize
5274 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5281 * BufferView.C: use repaint()
5283 * BufferView_pimpl.h:
5284 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5285 as it's a clearer description. Remove superfluous
5288 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5290 * text.C: fix bug 488. Not ideal, but getting
5291 getWord() to work properly for the insets that
5292 matter is more difficult ...
5294 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5296 * BufferView_pimpl.C:
5299 * lyxfunc.C: remove the six million index lyxfuncs to just
5300 one, and DTRT (bug 458)
5302 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5306 * BufferView_pimpl.h:
5307 * BufferView_pimpl.C: clean up resize() stuff,
5308 and unnecessary updateScreen()s
5310 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5314 * BufferView_pimpl.h:
5315 * BufferView_pimpl.C:
5318 * minibuffer.C: remove focus management of workarea,
5319 not needed. Use screen's greyOut()
5321 2002-06-17 Herbert Voss <voss@lyx.org>
5323 * converter.C: (convert) do not post a message, when converting
5324 fails, let the calling function decide what to do in this case
5326 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5328 * lyxfunc.C: tidy up a little
5330 2002-06-16 <alstrup@diku.dk>
5332 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5333 Got rid of FORMS_H_LOCATION include. Now we are
5336 2002-06-15 LyX Development team <lyx@rilke>
5338 * buffer.[Ch] (sgmlOpenTag):
5339 (sgmlCloseTag): Added support for avoiding pernicious mixed
5340 content. Return number of lines written.
5343 (makeDocBookFile): Fixed calls to sgml*Tag.
5344 Simple white space clean.
5346 (simpleDocBookOnePar): Simple white space clean.
5348 * tabular.[Ch] (docBook): Renamed to docbook and got another
5349 argument to related with the pernicious mixed content.
5351 (docbookRow): Fixed calls for docbook inset method.
5353 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5355 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5356 so it's X11 independent.
5360 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5362 2002-06-15 Lyx Development team <lyx@electronia>
5364 * intl.h: Renamed getTrans to getTransManager.
5366 2002-06-14 Angus Leeming <leeming@lyx.org>
5368 * Makefile.am: nuke forgotten stl_string_fwd.h.
5370 2002-06-12 Angus Leeming <leeming@lyx.org>
5372 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5374 2002-06-13 Angus Leeming <leeming@lyx.org>
5377 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5379 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5381 * kbmap.C (getiso): add support for cyrillic and greek
5383 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5387 * BufferView_pimpl.h:
5388 * BufferView_pimpl.C: move bogus scrolling logic
5391 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5394 * BufferView_pimpl.C: view->resize() change
5396 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5398 * BufferView_pimpl.C: topCursorVisible
5401 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5405 * lyx_gui.C: move to frontends/
5409 * lyx_main.C: changes from above
5411 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5418 * lyx_main.C: minor tidy
5420 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5422 * BufferView_pimpl.h:
5423 * BufferView_pimpl.C:
5425 * BufferView.C: make painter() const,
5428 * BufferView2.C: use screen() accessor
5431 * lyx_main.C: some minor cleanup
5433 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5435 * BufferView_pimpl.h:
5436 * BufferView_pimpl.C: remove enter/leaveView,
5439 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5444 * BufferView_pimpl.h:
5445 * BufferView_pimpl.C: only construct screen once,
5448 * lyxrc.C: remove pointless comment
5450 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5453 * BufferView.C: remove active() and belowMouse()
5455 * BufferView_pimpl.h:
5456 * BufferView_pimpl.C: use workarea() not workarea_,
5457 and make it use a scoped_ptr instead
5459 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5461 * lyx_gui.C: add debug message on BadWindow
5463 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5465 * sp_spell.C: fdopen is not part of the C++ standard.
5467 * paragraph.C (InsetIterator): use >= instead of ==
5469 2002-06-07 Angus Leeming <leeming@lyx.org>
5471 Fixes needed to compile with Compaq cxx 6.5.
5472 * BufferView_pimpl.C:
5479 * lyxtextclasslist.C:
5484 all c-library variables have been moved into namespace std. Wrap
5485 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5490 Add a using std::abs declaration.
5492 * kbmap.h (modifier_pair):
5493 * paragraph.h (InsetTable, InsetList):
5494 * lyxfont.h (FontBits):
5495 type definition made public.
5497 * bufferlist.C (emergencyWriteAll): the compiler complains that
5498 there is more than one possible lyx::class_fun template to choose from.
5499 I re-named the void specialisation as lyx::void_class_fun.
5501 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5503 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5504 the compiler is is unable to find tostr in write_attribute.
5506 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5508 * buffer.C (sgmlError): hide #warning
5510 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5512 * xtl/*: get rid of xtl, which is not in use anyway
5514 * LyXAction.C (init):
5515 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5516 were unimplemented xtl experimentation
5518 2002-06-04 André Pönitz <poenitz@gmx.net>
5520 * lyxfunc.C: disable array operation on simple formulae
5522 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5524 * converter.C: constify a bit
5526 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5528 * lyx_gui.C: check xforms version correctly
5530 2002-04-30 Herbert Voss <voss@lyx.org>
5532 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5535 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5537 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5538 attempt to register it with a VCS)
5540 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5542 * lyx_main.C (init): honor variables LYX_DIR_13x and
5545 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5549 * lyx_main.C: fix a crash on bad command line,
5550 and give a useful exit status on error
5552 * lyxfunc.C (doImport): allow -i lyx to work
5554 2002-03-30 André Pönitz <poenitz@gmx.net>
5556 * lyxfunc.C: mathed font changes
5558 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5573 * trans_mgr.h: srcdocs, and some minor cleanups
5575 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5577 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5578 call getFont all the time)
5580 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5582 * switch from SigC signals to boost::signals
5584 2002-05-29 André Pönitz <poenitz@gmx.net>
5586 * paragraph_pimpl.C (getChar): don't call size() too often...
5588 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5590 * paragraph_pimpl.C (insertChar): do not try to update tables when
5591 appending (pos == size())
5593 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5594 in order to reduce drastically the number of comparisons needed to
5595 parse a large document
5597 2002-05-29 André Pönitz <poenitz@gmx.net>
5603 * textclasslist.[Ch]:
5604 * sp_ispell.h: whitespace change
5606 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5608 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5609 lyxaction directly now.
5611 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5615 * lyxvc.C: remove unused headers
5617 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5624 * undo_funcs.C: some cleanups. Use shared_ptr
5625 and a template for the undo stacks.
5627 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5629 * BufferView_pimpl.h:
5630 * BufferView_pimpl.C:
5637 * text2.C: use key_state/mouse_state
5639 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5641 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5644 * chset.C: change include order
5645 (loadFile): use boost regex and get rid of LRegex and LSubstring
5647 * Makefile.am (BOOST_LIBS): new variable
5650 * LaTeX.C: change include order.
5651 (scanAuxFile): use boost regex and get rid of LRegex and
5655 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5660 * FontInfo.C: moved to frontends/xforms/
5663 * FontLoader.C: moved into frontends for GUIIzation
5668 * lyxfunc.C: changes from above
5670 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5672 * LColor.C: remove spurious X include
5674 * BufferView_pimpl.C:
5679 * text2.C: move font metrics to frontends/
5681 2002-05-24 Juergen Vigna <jug@sad.it>
5683 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5684 setting the undo_cursor.
5686 * ParagraphParameters.h: include local includes first.
5688 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5690 * BufferView_pimpl.C:
5691 * BufferView_pimpl.h:
5695 * screen.C: move WorkArea into frontends/
5701 * BufferView2.C: move LyXScreen into frontends/
5705 * lyx_gui.C: move lyxlookup into frontends/xforms/
5707 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5710 * BufferView_pimpl.C:
5720 * bufferview_funcs.C:
5733 * vc-backend.C: move LyX/XFormsView into frontends/
5735 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5747 * text2.C: move Painter to frontends/
5749 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5751 * buffer.C: comment out some some code that depend upon lyx_format
5754 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5755 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5757 * buffer.h (NO_COMPABILITY): turn off compability
5759 * ColorHandler.C: include scoped_array.hpp
5761 * font.C: Use more specific smart_ptr header.
5764 * ShareContainer.h: ditto
5768 * BufferView_pimpl.h: ditto
5769 * ColorHandler.h: ditto
5771 * kbmap.C (defkey): change call to shared_ptr::reset
5773 2002-05-21 Juergen Vigna <jug@sad.it>
5775 * buffer.C (insertErtContents): fix to insert ert asis if it is
5776 non empty. Skip it completely if it contains only whitespaces.
5778 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5780 * BufferView_pimpl.C:
5781 * BufferView2.C: clear selection on paste (bug 393)
5783 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5785 * DepTable.C: include ctime
5787 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5789 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5791 2002-05-14 Juergen Vigna <jug@sad.it>
5793 * text.C (breakParagraph): fixed function to honor the keepempty
5794 layout in the right maner and also to permit the right breaking
5795 algorithm on empty or non empyt keepempty paragraphs.
5797 * paragraph.C (breakParagraph): we have to check also if the par
5798 is really empty (!size()) for isempty otherwise we do the wrong
5801 2002-05-10 Juergen Vigna <jug@sad.it>
5803 * buffer.[Ch] : The following are only changes to the ert
5804 compatibility read reading old LaTeX layout and font stuff and
5805 convert it to ERTInsets.
5807 * buffer.h: added isErtInset().
5809 * buffer.C (struct ErtComp): add a fromlayout bool to check
5810 if we're inside a LaTeX layout.
5811 (isErtInset): new helper function.
5812 (insertErtContents): look for other ert insets before this one
5813 and insert the contents there, so that we don't have subsequent
5814 ERT insets with nothing between them. This way we create only one
5815 inset with multiple paragraphs. Also check if we don't insert only
5816 spaces ' ' as they are ignored anyway afterwards in the .tex file
5817 so if we have only spaces we will ignore this latex part in the
5819 (parseSingleLyXformat2Token \\layout): better compatibility when
5820 reading layout-latex stuff.
5821 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5823 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5824 stuff after reading the inset only get the information back from
5827 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5829 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5831 * LaTeXFeatures.C (getBabelOptions): New method.
5833 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5835 * BufferView_pimpl.C (Dispatch): work around missing argument for
5838 2002-05-08 Juergen Vigna <jug@sad.it>
5840 * text.C (leftMargin): handle paragraph leftindent.
5842 * paragraph.C (writeFile): write the new \\leftindent tag.
5843 (validate): handle leftindent code.
5844 (TeXEnvironment): handle paragraphleftindent code again.
5846 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5848 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5849 for paragrap_extra indent code and new token \\leftindent.
5850 (latexParagraphs): handle the leftindent as environment.
5852 * ParameterStruct.h: added leftindent support.
5854 * ParagraphParameters.C (leftIndent): added support functions for
5855 the paragraph left indent.
5857 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5860 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5862 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5865 * text.C (computeBidiTables): No bidi in insetERT.
5867 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5870 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5872 * version.C.in: pre 5
5874 2002-05-02 José Matos <jamatos@fep.up.pt>
5875 * buffer.C (makeDocBookFile): white space changes, add newline to
5877 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5879 * tabular.C (docBook): fix typo.
5881 2002-05-03 Juergen Vigna <jug@sad.it>
5883 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5884 change in LyXText as we can not be sure it was not freed.
5885 (drawOneRow): remove unused code.
5887 * text.C (drawInset): redo the calculation of the need_break_row as
5888 it could have a row which was already freed.
5889 (draw): look at the return value of drawInset and return false if
5890 it also returned false.
5891 (paintRowText): look at the return value of draw and return false if
5892 it also returned false.
5894 * lyxtext.h: added bool return type to drawInset() and draw() so that
5895 if we have a change in the row so that the rowbreak has to be redone
5896 we abort drawing as it will be called again.
5898 2002-05-02 Juergen Vigna <jug@sad.it>
5900 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5901 a change in the maintext also if we're inside an inset.
5902 (Dispatch): set the cursor again after a break line and after the
5903 screen has been updated as it could be we're in a different row.
5905 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5906 to set the cursor behind the pargraph with > size().
5907 (setCursor): check also for the same paragraph when checking where
5908 to put the cursor if we have a NFR inset.
5910 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5911 parts of layout read further up as it still was in the wrong
5914 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5916 * screen.C (drawFromTo): change sine fullRebreak always return
5919 * buffer.C (parseSingleLyXformat2Token): reindent some
5921 * BufferView_pimpl.C (update): change since fullRebreak always
5923 (Dispatch): git rid of the last hardcoded "Standard"s.
5925 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5927 * text2.[Ch] (fullRebreak): make it return void now that we always
5930 2002-04-30 Juergen Vigna <jug@sad.it>
5932 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5933 ert compatibility check for "latex" layout.
5935 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5937 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5938 minipages: use col% instead of p%, and also use the current font.
5939 (makeLaTeXFile): Fix use babel condition.
5940 (parseSingleLyXformat2Token): Correct font when reading old floats.
5942 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5944 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5945 inserting list of floats.
5947 2002-04-25 Herbert Voss <voss@lyx.org>
5949 * MenuBackend.C (expand): don't add the graphics extensions to the
5952 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5954 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5955 non-existing layout, do not complain if it was the default layout
5956 of the original class (bug #342)
5958 2002-04-24 Juergen Vigna <jug@sad.it>
5960 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5961 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5963 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5965 * buffer.C (getBibkeyList): If using \bibliography, return the
5966 option field with the reference itself. Enables us to provide natbib
5967 support when using \bibliography.
5969 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5971 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5973 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5974 natbib is provided by the LaTeX class.
5976 2002-04-23 Juergen Vigna <jug@sad.it>
5978 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5981 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5983 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5985 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5987 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5988 ensuremath around textordmasculine, textordfeminine and
5991 2002-04-19 Juergen Vigna <jug@sad.it>
5993 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5994 reinitializing the buffer otherwise row-dimensions may be wrong.
5995 (update): reset also the selection cursors if they do exits otherwise
5996 their x/y positions may be wrong.
5998 * text2.C (cursorDown): don't enter the inset if we came from a row
5999 above and are one row over the inset.
6001 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6002 really leaving an inset.
6004 2002-04-18 Juergen Vigna <jug@sad.it>
6006 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6007 of the selected paragraph does not have the selected layout also if
6010 * text2.C (setLayout): fixed bug which did not change last selected
6013 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6014 changed the read and substituted \\end_float with \\end_inset!
6016 * BufferView_pimpl.C (cursorPrevious):
6017 (cursorNext): fixed to make it work with rows heigher than the work
6018 area without moving the cursor only the draw of the row.
6019 (workAreaMotionNotify): fix jumping over high rows.
6021 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6023 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6026 2002-04-16 Juergen Vigna <jug@sad.it>
6028 * text2.C (setCursor): set also the irow().
6029 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6031 (cursorDown): support for locking an inset if the x_fix value goes
6032 inside it. That way I can transverse insets too with cursor up/down.
6034 * lyxrow.h: added irow helper function same as other (i) functions.
6036 * BufferView_pimpl.C (cursorPrevious):
6037 (cursorNext): fixed for insets!
6039 2002-04-15 Juergen Vigna <jug@sad.it>
6041 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6042 position otherwise it is wrong in some cases.
6044 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6045 inside the inset before the call.
6047 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6049 * buffer.[Ch] (getBibkeyList): make it const.
6051 2002-04-12 Juergen Vigna <jug@sad.it>
6053 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6055 * text2.C (getCursorX): new helper function
6056 (setCursor): compute also ix_
6057 (setCursorFromCoordinates): set also ix.
6059 * lyxcursor.h: added ix_ and helper functions.
6061 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6063 * buffer.C (insertStringAsLines): dont break paragraph if the this
6064 paragraph is inside an inset which does not permit it!
6066 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6067 also with no chars on this paragraph.
6068 (paintRowText): only paint stuff if it's inside the workarea!
6070 * paragraph.C (breakParagraph): honor keepempty flag and break the
6071 paragraph always below not above.
6073 * BufferView2.C (unlockInset): update the paragraph layout on inset
6074 unlock as we changed paragraph in such a case.
6076 * lyxfind.C (LyXFind): clear the former selection if not found!
6078 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6079 again called in insertChar().
6081 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6082 an inset which uses the whole row!
6083 (rightMargin): ditto.
6084 (insertChar): force a rebreak if we inserted an inset!
6086 2002-03-28 Herbert Voss <voss@lyx.org>
6088 * lyxlength.[Ch]: add inBP() to get the right PS-point
6089 units (BigPoint). With inPixels we have rounding errors
6091 2002-04-11 Juergen Vigna <jug@sad.it>
6093 * text2.C (setCursorFromCoordinates): set iy to the right value.
6094 (setCursor): add check if row->previous exists!
6096 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6097 an old float_type as this was the case in the old code!
6099 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6101 * BufferView2.C (showLockedInsetCursor): use iy
6102 (fitLockedInsetCursor): ditto
6104 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6105 locked insets as there we have the right value now.
6107 * lyxcursor.C: added iy_ variable and iy functions to set to the
6108 baseline of cursor-y of the locked inset.
6110 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6111 (setCursor): fixed for insets which need a full row.
6113 * text.C (rowLastPrintable): don't ignore the last space when before
6114 an inset which needs a full row.
6115 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6116 as last character of a row when before a inset which needs a full row.
6118 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6120 * version.C.in: update date
6122 * text2.C (fullRebreak): try to always return true and see what
6125 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6127 * MenuBackend.C (expand): use Floating::listName
6129 * FloatList.C (FloatList): add listName argument to the built-in
6132 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6133 text associated with the float.
6135 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6137 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6139 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6141 * ShareContainer.h: add a couple of missing typenames.
6143 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6145 * lyxrc.C (getDescription): use _() correctly rather than N_().
6147 2002-03-28 Herbert Voss <voss@lyx.org>
6149 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6150 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6152 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6154 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6155 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6157 2002-03-29 Juergen Vigna <jug@sad.it>
6159 * lyxfunc.C (dispatch): add a missing fitCursor call.
6161 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6162 it was scrolled by a cursor move, so return the bool status.
6164 * BufferView.C (fitCursor): return the bool flag also to the outside
6165 world as this is needed.
6167 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6169 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6170 call the edit() as it is not needed (and wrong) IMO.
6171 (workAreaButtonPress): set the screen_first variable before evt.
6172 unlock the inset as this may change screen_first and then we have
6173 a wrong y position for the click!
6175 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6177 * MenuBackend.C (expand): another translation that I missed
6179 2002-03-28 Juergen Vigna <jug@sad.it>
6181 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6183 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6185 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6187 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6189 * MenuBackend.C (expand): fix export/view/update when there is no
6192 2002-03-27 Herbert Voss <voss@lyx.org>
6194 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6197 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6199 * bufferview_funcs.C (currentState): only show paragraph number
6200 for is DEVEL_VERSION is set.
6202 * lyxfunc.C (dispatch): put warning in INFO channel
6204 * MenuBackend.C (expand): translate the name of floats
6206 * FloatList.C (FloatList): mark the float names for translation
6208 * converter.C (convert): use LibScriptSearch
6210 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6212 * MenuBackend.C (defaults): fix default menu (we might as well get
6215 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6217 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6220 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6222 * lyxvc.C: reorder includes.
6224 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6226 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6229 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6231 * CutAndPaste.C: change layouts earlier on paste
6232 to avoid crashing when calling getFont()
6234 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6236 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6239 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6241 * WorkArea.C: remove 'Pending' debug message.
6243 * most files: ws cleanup
6245 * buffer.[Ch]: ws changes
6247 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6249 2002-03-21 Juergen Vigna <jug@sad.it>
6251 * tabular.C (SetMultiColumn): collapse also the contents of the
6252 cells and set the last border right. Added a Buffer const * param.
6254 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6256 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6259 2002-03-19 Juergen Vigna <jug@sad.it>
6261 * text2.C (clearSelection): reset also xsel_cache.
6263 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6264 where it needs to be called (John tells us to do so too :)
6265 (selectionLost): reset sel_cache.
6267 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6269 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6271 * text2.C (setCursorIntern): put debuging code in INSETS channel
6273 2002-03-19 André Pönitz <poenitz@gmx.net>
6275 * lyxfunc.C: tiny whitespace change
6277 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6279 * ToolbarDefaults.C (init):
6280 * LyXAction.C (init):
6282 * BufferView_pimpl.C (Dispatch):
6283 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6285 2002-03-19 Allan Rae <rae@lyx.org>
6287 * exporter.C (Export): removeAutoInsets before doing anything else.
6288 While I've just introduced a dependency on BufferView this really is
6289 the best place to clean the buffer otherwise you need to cleanup in
6290 a dozen places before calling export or cleanup in a dozen functions
6293 * converter.C (runLaTeX):
6294 (scanLog): Better handling of removeAutoInsets and screen updates.
6296 * lyxfunc.C (dispatch): small whitespace changes
6298 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6300 * WorkArea.C (C_WorkAreaEvent): return a value.
6301 (event_cb): return 1 if we handled the event, 0 otherwise.
6303 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6305 2002-03-18 Juergen Vigna <jug@sad.it>
6307 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6308 (GetAdditionalWidth): ditto.
6312 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6313 inset if we're there actually (probably not used right now but this
6314 is the direction to go for unifying code).
6315 (paste): disable code to clear the selection.
6317 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6318 inside an InsetText and move the check further up as it is in the
6321 * text2.C (pasteSelection): set a selection over the pasted text.
6323 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6325 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6326 and libgraphics to build on Cygwin.
6328 2002-03-15 Juergen Vigna <jug@sad.it>
6330 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6331 inserting an Inset into the paragraph. I know this is not the best
6332 fix but we already use current_view in CutAndPaste so we will remove
6333 all of it's using at the same time.
6335 * buffer.C (sgmlError): deactivated function till it is rewritten in
6336 the right mode, now it can create problems.
6338 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6339 before accessing it.
6341 2002-03-14 Juergen Vigna <jug@sad.it>
6343 * undo_funcs.C (textHandleUndo): do the right thing when updating
6344 the inset after the undo/redo.
6346 * text2.C (setCursor): just some testcode for #44 not ready yet.
6348 * undo_funcs.C (textHandleUndo): set the next() and previous()
6349 pointers of the paragraph to 0 before deleting otherwise we have
6350 problems with the Paragraph::[destructor].
6352 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6353 on a paragraph insertion.
6355 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6357 * buffer.C (asciiParagraph): use += operator for char append to
6360 * paragraph.C (getFontSettings): compare >= not just >
6361 (highestFontInRange): ditto
6364 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6366 * paragraph.C: change several algorithm to be more appripriate for
6367 the problem domain. This is lookip in FontList and in the InsetList.
6369 2002-03-13 André Pönitz <poenitz@gmx.net>
6372 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6374 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6379 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6381 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6383 * Painter.C (display): anon helper function, adjust code for this
6385 (pixmap): remove function.
6387 * Painter.h: remove private display variable.
6389 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6391 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6393 * WorkArea.[Ch]: remove figinset_canvas cruft.
6395 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6397 * lyxtextclass.C (operator): add one item cache optimization.
6399 * bufferlist.h: doxy changes
6401 * bufferlist.C: ws changes
6403 * DepTable.[Ch] (ext_exist): place const in the right spot.
6405 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6407 (workAreaExpose): call resizeInsets when the with BufferView changes.
6408 (Dispatch): adjust for protectedBlank removal
6409 (specialChar): call updateInset if the insert went ok.
6411 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6412 specialChar instead.
6414 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6416 * BufferView.h: doxy change
6418 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6420 * lyxtextclass.C (operator[]): remove non-const version
6421 (defaultLayout): remove non-const version
6423 2002-03-12 Juergen Vigna <jug@sad.it>
6425 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6426 did resize the LyXText too.
6428 * buffer.C (readLyXformat2): set layout information on newly allocated
6431 * tabular.C (OldFormatRead): set layout information on the paragraph.
6433 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6435 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6437 2002-03-11 Juergen Vigna <jug@sad.it>
6439 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6441 (resizeCurrentBuffer): force also the insets to resize themselfes.
6442 (moveCursorUpdate): fixed up for InsetText.
6444 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6447 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6448 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6449 value of Dialogs::tooltipsEnabled().
6450 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6452 2002-03-08 Juergen Vigna <jug@sad.it>
6454 * BufferView_pimpl.C (updateInset): update inset inside inset also
6455 if it isn't inside theLockingInset().
6457 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6459 * buffer.C (asciiParagraph): redo some of the word and line length
6461 (getLists): look for Caption instead of caption.
6463 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6465 * buffer.C (Buffer): initialize niceFile to true
6468 (makeDocBookFile): make sure niceFile is true on exit
6470 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6472 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6474 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6476 * LyXSendto.C: remove.
6477 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6478 * lyx_gui.C: remove now-redundant comment.
6479 * ColorHandler.h: remove forward declaration of class WorkArea.
6480 * lyxfunc.C: remove #include "WorkArea.h".
6482 2002-03-07 Juergen Vigna <jug@sad.it>
6484 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6485 got moved away with the DEPM and also set the inset_owner always
6486 right which before could have been omitted.
6488 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6490 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6491 wanted layout is not found.
6493 2002-03-07 Juergen Vigna <jug@sad.it>
6495 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6497 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6499 * paragraph.C (breakParagraph): use default layout not layout of
6501 (Paragraph): clear ParagraphParameters.
6503 2002-03-06 Juergen Vigna <jug@sad.it>
6505 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6506 otherwise it would not be a valid lenght. Fixed a special case in
6507 the minipage compatibility read where we end the document with a
6510 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6511 was set as it could be 0 for InsetTexts first entry.
6513 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6515 * paragraph.C (writeFile): if layout is empty write out
6516 defaultLayoutName().
6518 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6519 file without named layout we set layout to defaultLayoutName().
6521 2002-03-06 Juergen Vigna <jug@sad.it>
6523 * CutAndPaste.C (copySelection): set layout for new paragraph.
6525 * text.C (prepareToPrint): leave ERT inset left aligned
6526 (leftMargin): don't indent paragraphs inside ERT insets
6528 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6530 * paragraph.C (breakParagraph): dont call clear do the work manually
6532 * paragraph.[Ch] (clear): remove function
6534 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6536 * paragraph.C (Paragraph): dont call clear, the work has already
6539 * lyxtextclass.C (operator): assert if n is empty
6541 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6542 work manually instead.
6544 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6546 * BufferView_pimpl.C: protect selectionLost against text == 0
6548 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6550 * text.C (breakParagraph): fix a setting layout to '0' problem.
6552 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6554 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6555 final location of file, for the included files, and graphics.
6557 2002-03-05 Juergen Vigna <jug@sad.it>
6559 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6561 2002-03-04 Juergen Vigna <jug@sad.it>
6563 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6565 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6566 last column of multicolumn cells.
6567 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6569 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6571 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6572 file if it doesn't go to a temporary file.
6574 * buffer.C (sgmlOpenTag):
6575 (sgmlCloseTag): remove extra newline insertion.
6577 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6579 * text.C (getRowNearY): comment out debug msg
6581 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6583 * text2.C: first -> first_y
6585 * text.C (getRowNearY): add some attemts at a possible
6586 optimization, not working.
6588 * tabular.[Ch]: add BufferParams to several function so that newly
6589 created paragraph can be initialized to he default layotu for the
6592 * tabular-old.C (ReadOld): add buf->params to call of Init
6594 * screen.C: rename text->first to text->first_y
6596 * paragraph.C (breakParagraph): always set layout in the broken
6599 * lyxtextclass.C (Read): remove lowercase
6602 (delete_layout): ditto
6604 * lyxtext.h: rename first -> first_y
6606 * lyxlayout.C (Read): remove lowercase
6609 (obsoleted_by): ditto
6611 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6613 * buffer.C (insertErtContents): add params are to InsetERT
6614 (parseSingleLyXformat2Token): add code to check if a paragraphs
6615 layout really exist.
6616 (parseSingleLyXformat2Token): add params to several inset
6618 (asciiParagraph): remove lowercase, do the layout comparisons with
6621 * BufferView_pimpl.C (cursorNext): first -> first_y
6622 (resizeCurrentBuffer): first -> first_y
6623 (updateScrollbar): first -> first_y
6624 (scrollCB): first -> first_y
6625 (workAreaMotionNotify): first -> first_y
6626 (workAreaButtonPress): first -> first_y
6627 (checkInsetHit): first -> first_y
6628 (cursorPrevious): first -> first_y
6629 (cursorNext): first -> first_y
6630 (Dispatch): add buffer_->params to severl inset contructors
6632 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6634 * lyxlayout.C (Read): remove some debug info that I forgot.
6636 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6637 clean up the code slightly.
6638 (makeLinuxDocFile): ditto
6639 (makeDocBookFile): ditto
6641 * text2.C: layout as string
6643 * text.C: layout as string
6645 * paragraph_pimpl.C: layout as string
6647 * paragraph.[Ch]: layout as string
6649 * lyxtextclasslist.[Ch]: layout as string
6651 * lyxtextclass.[Ch]: layout as string
6653 * lyxtext.h: layout as string
6655 * lyxlayout.[Ch]: layout as string
6657 * lyx_cb.C: layout as string
6659 * bufferview_funcs.C: layout as string
6661 * bufferparams.C: layout as string
6663 * buffer.C: layout as string
6665 * LyXView.[Ch]: layout as string
6667 * LaTeXFeatures.[Ch]: layout as string
6669 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6671 * BufferView_pimpl.C: change current_layout to string, remove
6676 (workAreaButtonRelease): layout as string
6678 * BufferView2.C (unlockInset): adjust
6680 * vspace.C (asLatexCommand): use an explict temp variable.
6682 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6684 * Makefile.am: use FRONTEND_*
6686 2002-03-01 Juergen Vigna <jug@sad.it>
6688 * tabular.C (SetWidthOfMulticolCell): changed to something better
6689 I hope but still work in progress.
6690 (recalculateMulticolumnsOfColumn): renamed function from
6691 recalculateMulticolCells as it is more appropriate now.
6692 (SetWidthOfCell): calculate multicols better.
6694 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6696 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6698 * lyxfunc.C (processKeySym): print sequence also if it is
6699 `deleted' (complete)
6701 * kbsequence.C (print): print sequence even if it is deleted
6702 (complete would be a better word, actually).
6704 * lyxfunc.C (dispatch): print complete options after a prefix key
6706 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6708 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6710 * text2.C (setCharFont): eliminate setCharFont code duplication.
6712 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6714 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6715 LFUN_TABULAR_FEATURE (bug #177)
6717 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6719 * Makefile.am: remove figure.h
6721 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6723 * Bufferview_pimpl.C:
6735 * text2.C: remove #include "lyx_gui_misc.h".
6737 * LaTeX.C: added #include <cstdio>
6739 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6741 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6742 that the paragraph following this one can have.
6744 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6746 * vspace.C (asLatexCommand): fix bogus gcc warning
6748 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6750 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6752 * text2.C (setLayout): get rid of redundant code
6754 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6756 * text2.C (incDepth): make sure depth cannot be increased beyond
6759 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6761 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6762 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6764 * PainterBase.h (image):
6765 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6768 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6772 * BufferView_pimpl.C:
6773 * BufferView_pimpl.h:
6793 * sp_spell.C: remove fig inset, and the crap house of
6794 cards that follows it
6796 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6802 * nt_defines.h: move .h into support/
6804 * vms_defines.h: remove
6806 * WorkArea.C: add space in debug output
6810 * buffer.C: add WITH_WARNINGS
6814 * bufferlist.C: s/retrive/retrieve/, add docs
6825 * lyxgui.C: add ID to X error handler
6827 * lyxtestclass.c: fix typo
6829 2002-02-26 Juergen Vigna <jug@sad.it>
6831 * tabular_funcs.C (write_attribute): changed so that some default
6832 attributes are not written at all.
6833 (getTokenValue): set default values before trying to read the
6834 value so we have the return value always set as default if we don't
6835 find the token we search for.
6837 * tabular.C (Write): write bools as bools not as strings!
6839 2002-02-22 Juergen Vigna <jug@sad.it>
6841 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6842 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6844 * text.C (leftMargin): don't add an indent for paragraphs inside
6845 tabular cells (fix #208).
6847 2002-02-21 José Matos <jamatos@fep.up.pt>
6849 * tabular.C (docBook): fixed support for long tables.
6851 2002-02-20 Juergen Vigna <jug@sad.it>
6853 * text2.C (getFont): get the drawing font of the Inset if this
6854 paragraph is inside an inset (only important for InsetERT for now).
6856 * buffer.C (insertErtContents): use new lanugage params in ERT
6859 * CutAndPaste.C: commenting out seemingly uneeded code.
6861 2002-02-19 Allan Rae <rae@lyx.org>
6863 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6864 Iterators might be simple to use but they also get invalidated.
6865 (removeAutoInsets): renamed saved cursor tracking variables and added
6866 some comments to clarify what everything does.
6868 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6875 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6876 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6879 * vc-backend.h: remove #include "support/syscall.h"
6883 * converter.C: rearrange #includes in Lars' approved fashion.
6885 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6886 forward declare class Timeout in the header file.
6888 * XFormsView.C: changes due to the above.
6890 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6893 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6894 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6896 2002-02-18 José Matos <jamatos@fep.up.pt>
6898 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6901 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6903 * a lot of small ws changes
6904 * add a lot of using std::XXX
6905 * use std construcs some places where approp.
6906 * use some exisint stuff from lyxfunctional where approp.
6907 * Make file changes to use partial linking (lets test this now...)
6909 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6913 remove #include "support/syscontr.h" as it's redundant. Always has been.
6921 change Systemcalls::System to Systemcalls::Wait and
6922 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6923 No change of functionality, just reflects the stripped down Systemcalls
6926 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6928 * debug.[Ch]: add a GRAPHICS type to the enum.
6930 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6932 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6934 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6937 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6939 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6940 match the changes below.
6942 * text2.C (toggleInset): if there is not editable inset at cursor
6943 position, try to see if cursor is _inside_ a collapsable inset
6946 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6948 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6949 document menu has a nice checkbox
6951 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6953 * lyxlength.C (asLatexString): change PW to output as percent of
6956 * lengthcommon.C: change '%' to 't%'
6958 * lyxfunc.C (dispatch): a few comments from Martin
6960 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6964 * BufferView_pimpl.h:
6965 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6968 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6970 * vspace.C (inPixels): fix compiler warning
6972 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6974 * lyxfunc.C (getStatus): fix status message for disabled commands.
6976 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6978 * BufferView_pimpl.C: fix crash on close buffer
6979 during selection (#227)
6981 2002-01-27 Herbert Voss <voss@lyx.org>
6983 * buffer.C: link old Figure to new graphic inset
6985 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6987 * FontLoader.C (getFontinfo): Change the latex font names in order
6988 to match the names of type1inst.
6990 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6992 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6994 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6997 (remove_files_with_extension): ditto
6998 (remove_file): ditto
7001 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7002 document is smaller than the work area height. Do not initialize
7003 static variables to 0.
7005 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7007 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7009 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7010 LFUN_LAYOUT_PARAGRAPHS.
7012 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7013 tabular. It is possible to provide a possible cell, which will
7014 typically be the actcell from the corresponding insettabular
7016 * lyxfunc.C (getStatus): small cleanup; disable
7017 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7020 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7022 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7024 * paragraph.C (startTeXParParams):
7025 (endTeXParParams): new methods. The LaTeX code to
7026 start/end paragraph formatting
7027 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7028 empty (fixes bug #200)
7030 * vspace.C (inPixels): adapt to the change below
7031 (inPixels): [later] more cleanups (remove unused variables)
7033 * lyxlength.C (inPixels): change to use a width and a height as
7036 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7038 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7039 Replaced with \paperwidth
7041 * DepTable.C (insert): add std:: qualifier
7043 2002-01-18 Allan Rae <rae@lyx.org>
7045 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7048 * text.C (drawInset): Turned out I didn't know enough about how
7049 rebreaking worked. This fixes most of the redraw problems. I see
7050 an occasional cursor trail when a line is broken now and the cursor
7051 placement can seem out by a few pixels also after a rebreak.
7053 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7055 * buffer.C (parseSingleLyXformat2Token): update because minipage
7056 width is now a LyXLength
7058 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7060 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7063 2002-01-17 Juergen Vigna <jug@sad.it>
7065 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7067 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7068 is set correctly and the inset is updated correctly.
7070 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7072 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7073 the beginning of the loop.
7075 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7077 * lyxrc.C: improve help for use_scalable_fonts
7079 2002-01-17 Allan Rae <rae@lyx.org>
7081 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7083 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7085 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7086 make sure to set their inset_owner to the right value (bug #171)
7088 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7091 * DepTable.C: Implement mtime checking to reduce time spent doing
7094 2002-01-16 Juergen Vigna <jug@sad.it>
7096 * tabular.C (GetAdditionalHeight): one of error fixed.
7098 * lyxrc.C (output): small fix in writing use_pspell.
7100 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7102 * sp_base.h: #include LString.h
7104 2002-01-16 Allan Rae <rae@lyx.org>
7106 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7107 Can someone check this please?
7109 * text.C (drawInset): It was possible that p.row would be removed by
7110 breakAgainOneRow upsetting a few other settings. There may be another
7111 small tweak possible by setting need_break_row = 0 when p.row has been
7112 removed but I don't know enough about the logic here.
7114 2002-01-15 Allan Rae <rae@lyx.org>
7116 * text.C (insertChar): removed conditional truism.
7118 * BufferView2.C (removeAutoInsets): More tweaks.
7119 cur_par_prev could be a stray pointer. Check for trailing empty line
7120 in case last line was cur_par and only had an error inset on it.
7122 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7124 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7127 * vc-backend.C (most methods):
7128 * exporter.C (Export):
7129 * converter.C (convert):
7131 * LyXSendto.C (SendtoApplyCB):
7132 * lyxfunc.C (dispatch):
7136 * lyx_cb.C (AutoSave):
7138 * BufferView_pimpl.C (MenuInsertLyXFile):
7139 * buffer.C (runChktex): use Buffer::filePath().
7141 * buffer.h: rename filename to filename_; rename filepath to
7142 filepath_ and make it private
7143 (filePath): new method
7145 * buffer.C (writeFile): use fileName()
7148 * lyx_main.C (init): fix starting of LyX when the binary is a
7149 link from so,ewhere else.
7151 * minibuffer.C: include <cctype> for isprint
7153 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7155 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7156 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7157 name clash with InsetCollapsable's width function.
7159 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7161 * lastfiles.C: include <iterator>
7163 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7165 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7168 * buffer.C (makeLaTeXFile): ditto.
7169 Also make loop operation more transparent.
7171 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7173 * ToolbarDefaults.C: remove trailing comma closing namespace.
7175 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7177 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7180 * trans.C (Load): comment out unused variable, allowed.
7182 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7184 * minibuffer.[Ch] (append_char): new method to recieve input from the
7185 drop-down completion browser. If a key was pressed, then recieve this
7186 char and append it to the existing string.
7187 (peek_event): modify the positioning data passed to the completion
7188 browser so that it can be placed above the minibuffer rather than below.
7189 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7191 * LyXAction.C (init): alloe error-next for readonly documents.
7193 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7196 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7198 * bufferlist.C (readFile): create the buffer _after_ checking that
7201 * lyxfunc.C (verboseDispatch): fix handling of arguments
7203 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7205 * lyxrc.C: use string::erase() instead of initializing to "".
7208 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7210 * BufferView_pimpl.h:
7211 * BufferView_pimpl.C:
7214 * text2.C: tell X when we have made a selection for copying
7216 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7218 * BufferView_pimpl.C (MenuInsertLyXFile):
7219 * lyxfunc.C (menuNew):
7221 (doImport): add shortcuts to directory buttons
7223 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7226 * lyxfunc.C (setStatusMessage):
7227 (getStatusMessage): new methods
7228 (getStatus):use setStatusMessage instead of setErrorMessage
7229 (dispatch): when function is disabled, set error message here
7230 [instead of in getStatus previously]
7232 * BufferView_pimpl.C (workAreaButtonRelease): update
7233 toolbar/menubar here too.
7235 2002-01-13 Allan Rae <rae@lyx.org>
7237 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7238 Now seems indestructible. Remaining task is to audit all other
7239 code affected by deleteEmptyParagraphMechanism. One small quirk
7240 left is that an empty document with an error in the preamble can
7241 be made to report an error but no error box appears. I don't know
7243 (removeAutoInsets): Improved comments.
7245 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7248 * Thesaurus.C: update for Aiksaurus 0.14
7250 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7252 * text2.C (firstParagraph): removed member function, all uses
7253 replaces with ownerParagraph
7254 (redoParagraphs): here
7256 (toggleAppendix): here
7257 * BufferView2.C (insertErrors): here
7258 (setCursorFromRow): here
7260 2002-01-13 Allan Rae <rae@lyx.org>
7262 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7263 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7264 There is still a way to segfault this although you may have to do this
7265 multiple times: Have an InsetERT with an unknown command in it.
7266 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7267 <down-arrow>, <Enter> again, View->DVI, BANG!
7269 * text2.C (setCursor):
7270 (deleteEmptyParagraphMechanism):
7271 * lyxtext.h (setCursor):
7272 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7273 Making use of the return value may help fix other bugs.
7275 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7277 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7279 * LyXView.C (updateMenubar): call MenuBar::update here
7280 (updateToolbar): but not here
7281 (showState): do not update toolbar/menubar
7283 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7284 should need to care about that.
7286 * lyxfunc.C (verboseDispatch): simplify a bit
7287 (getStatus): have a version which takes a pseudoaction, and
7288 another which requires a (kb_action,string).
7290 * LyXAction.C (retrieveActionArg): make it work also when action
7291 is not a pseudo-action.
7292 (getActionName): simplify a bit
7295 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7297 * lyxfunc.C (verboseDispatch): new families of methods with
7298 several ways to specify a command and a bool to indicate whether
7299 the command name and shortcut should be displayed in minibuffer
7300 (eventually, we could extend that to a finer bitmask like
7301 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7302 (dispatch): the pristine dispatch command which just, well,
7303 dispatchs! Note it still sets its result to minibuffer; I'm not
7306 * lyxfunc.h: remove setHintMessage
7308 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7310 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7312 * BufferView_pimpl.C (specialChar): delete new inset if we have
7313 not been able to insert it.
7315 * kbmap.C: revert to using int instead of kb_action, since all we
7316 are dealing with is pseudo-actions.
7318 * LyXAction.C (searchActionArg): change to return int instead of
7319 kb_action, since the result is a pseudoaction.
7321 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7323 * buffer.C (insertErtContents): Fix (partially) the font bug.
7325 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7327 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7328 as the other one is broken on my machine!
7330 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7333 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7335 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7337 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7338 reflect their actual use. Provide compatibility code for older lyxrc
7341 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7343 change names of popup font variables in line with the changes to lyxrc.C
7345 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7347 * buffer.C (asciiParagraph): avoid outputing a word twice after
7350 * lyxrc.C (getDescription): document that document_path and
7351 template_path can be empty.
7353 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7355 * LaTeXFeatures.C (getMacros):
7356 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7358 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7360 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7362 (getPackages): rename feature "floats" to "float". Use an array to
7363 iterate over 'simple' features (i.e. just a \usepackage). Add
7364 handling of "amsmath" (renamed from "amsstyle").
7366 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7368 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7371 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7373 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7374 FuncStaus::FuncStatus & FuncStaus::some_method().
7376 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7378 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7379 of the func_satus stuff. Edited and massaged in various ways by
7382 * lyxfunc.C (getStatus): use FuncStatus
7384 2002-01-08 Juergen Vigna <jug@sad.it>
7386 * text.C (nextBreakPoint): use function Inset::isChar().
7388 * paragraph.C (TeXOnePar): use function
7389 Inset::forceDefaultParagraphs.
7391 * buffer.C (latexParagraphs): use function
7392 Inset::forceDefaultParagraphs.
7394 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7396 * lyx_gui.C (init): set the style of the menu popups to
7397 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7399 2002-01-07 Juergen Vigna <jug@sad.it>
7401 * text.C (setHeightOfRow): small fix
7402 (prepareToPrint): don't look at alignment if we don't have the place
7405 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7407 * box.C: New file. Move the Box methods and functions out of box.h,
7408 following Lars' suggestion.
7410 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7412 * box.h: #include "support/LOstream.h", needed for inlined function.
7415 * lyxtextclasslist.C: added some using std declarations.
7417 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7419 * box.h: make signed dimensions to allow insets wider than
7420 the screen (bug #162)
7422 * BufferView_pimpl.C: add some insetHit debug
7424 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7426 * vc-backend.C: add FIXME
7428 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7430 * lyxfunc.C (getStatus): enable code for showing math font status
7433 2002-01-07 Juergen Vigna <jug@sad.it>
7435 * text.C (nextBreakPoint): removed debug output not needed anymore.
7437 2002-01-06 Juergen Vigna <jug@sad.it>
7439 * text.C (nextBreakPoint): fixed up this function we had this bug
7440 since ever but now hopefully we break row better.
7441 (insertChar): we have to check if an inset is the next char as it
7442 could now happen that a large inset is causing a break.
7444 2002-01-05 Juergen Vigna <jug@sad.it>
7446 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7447 if it doesn't like to be drawed.
7449 2002-01-04 Juergen Vigna <jug@sad.it>
7451 * BufferView2.C (lockInset): forgot to set a cursor.
7453 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7455 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7460 * form_maths_panel.C:
7461 * form_maths_panel.h:
7462 * form_maths_panel.fd: implemented sub- and super- buttons in math
7465 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7466 (or ^ space) to be used as in TeX (req'd by André).
7468 * lyxfunc.C: Allow ^ and _ again to be used both as
7469 super/subscript (mathed) and as themselves (in text).
7471 2002-01-03 Allan Rae <rae@lyx.org>
7473 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7474 "LyX" or the filename of the current buffer if it has one. This is a
7475 modified form of John Levon's patch.
7477 * XFormsView.C (setWindowTitle): also set icon title.
7479 * LyXView.h (setWindowTitle): signature changed.
7480 * XFormsView.h (setWindowTitle): ditto.
7482 2002-01-02 Juergen Vigna <jug@sad.it>
7484 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7486 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7488 * screen.C (topCursorVisible): introduce a temp var for
7489 text->cursor.row(), handle the case where this row is null. (kindo
7492 * text2.C (setCursor): add a couple of asserts.
7494 * paragraph.h (inset_iterator): add -> operator
7496 * paragraph.[Ch] (autoDeleteInsets): remove member function
7498 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7499 cursor pos correctly and handle inset deletion by itself.
7500 (insertErrors): move iterator declaration out of for expression
7502 * lyxtextclass.C: add <algorithm>
7504 * Makefile.am: added the new files to sources, removed layout.C
7506 * layout.C: removed file
7508 * layout.h: remove LYX_DUMMY_LAYOUT
7510 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7514 * lyxtextclass.[Ch]:
7515 * lyxtextclasslist.[Ch]: new files
7517 * include order changes to a lot of files, also changes because of
7520 2001-12-27 Juergen Vigna <jug@sad.it>
7522 * buffer.C (asciiParagraph): more fixes.
7524 * tabular.C (ascii): make ascii export support export of only the
7525 data separated by a column-delimiter.
7526 (ascii): better support for ascii export.
7528 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7530 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7532 * tabular_funcs.C: use a "using std::getline" instead of the
7533 previous fix from Angus (necessary for cxx + lyxstring)
7535 2001-12-24 Juergen Vigna <jug@sad.it>
7537 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7539 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7540 problems. First check a minipage also if we have some ert-contents
7541 (not only on par->size(), second set the right depth of the paragraph
7542 on the relink to the root-paragraph-list!
7544 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7545 which then did not anymore update the main paragraphs on undo/redo!
7547 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7549 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7550 code. Support all font-changing funcs (even those which are not in
7551 menu currently). Support for reporting font settings in
7552 mathed (disabled until Andre provides a function on mathed's side).
7554 * func_status.h (toggle): small helper function to set toggle
7557 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7559 * tabular_funcs.C: getline -> std::getline
7561 2001-12-21 Juergen Vigna <jug@sad.it>
7563 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7564 accessed and could be 0 (I couldn't generate this but it seems
7567 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7569 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7570 * tabular_funcs.h: here and include iosfwd
7572 2001-12-20 Juergen Vigna <jug@sad.it>
7574 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7575 inside inset but undo_par was.
7577 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7579 * Thesaurus.C: always include <config.h> in sources.
7583 * box.h: do not include <config.h> in header files
7585 * text.C (paintLastRow): remove unused variable
7587 * text.C (transformChar):
7589 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7592 * font.C (width): rewrite to use uppercase() instead of
7595 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7597 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7599 * lyxfind.C: clean up of find failure position change
7601 2001-12-20 Juergen Vigna <jug@sad.it>
7603 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7605 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7606 (TeXRow): added to LaTeX a single tabular row.
7607 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7608 (Latex): simplified and finally good LT-h/f support.
7609 (various_functions): just small adaptions for LT-h/f support.
7611 * tabular_funcs.[hC]: added and moved here all not classfunctions
7614 2001-12-19 Juergen Vigna <jug@sad.it>
7616 * tabular.[Ch]: better support for longtabular options (not finished
7619 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7621 * text.C (paintLastRow): use the label font instead of the font of
7622 the last character to compute the size of *_BOX. This makes more
7623 sense and avoids a crash with empty paragraphs.
7624 Use Painter::rectangle to draw EMPTY_BOX.
7626 2001-12-19 Juergen Vigna <jug@sad.it>
7628 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7629 the paragraphs if the replaced paragraph is not the first one!
7630 Tried to delete not used paragraphs but does not work yet so for
7631 now it's inside #ifdef's and by default off!
7633 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7635 * MenuBackend.C: include "lyx_main.h" instead of declaring
7636 lastfiles (actually was declared as LastFiles* instead of a
7639 2001-12-17 Juergen Vigna <jug@sad.it>
7641 * tabular.C (AppendColumn): applied John's fix
7643 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7647 * BufferView_pimpl.h:
7648 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7651 * box.h: new start of class for above
7653 * lyxfunc.C: ignore space-only minibuffer dispatches.
7654 Show the command name when it doesn't exist
7656 * minibuffer.C: don't add empty lines to the history
7658 * minibuffer.C: add a space on dropdown completion
7660 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7662 * text.C: fix line above/below drawing in insets
7664 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7666 * lyxlength.C (LyXLength): Initialize private variables.
7668 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7670 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7671 when inserting error insets.
7673 2001-12-13 Juergen Vigna <jug@sad.it>
7675 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7676 actually sometimes the before-paragraph.
7677 (setUndo): don't clear the redostack if we're not actually undoing!
7679 2001-12-06 Juergen Vigna <jug@sad.it>
7681 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7682 and fixed redoing of main paragraph, so we can use it now ;)
7684 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7686 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7688 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7691 2001-12-13 André Pönitz <poenitz@gmx.net>
7694 * undo_func.C: minor cleanup
7696 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7698 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7699 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7700 font in urw-fonts package which is marked as -urw-fontspecific and
7701 does not work (incidentally, changing the encoding in the
7702 fonts.dir of this package to -adobe-fontspecific fixes the
7705 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7706 is a crash when undoing first paragraph (Juergen, please take a
7707 look). THis does not mean the undo fix is wrong, just that it
7710 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7711 the (Paragraph*) version when needed instead of duplicating the
7714 * text.C (workWidth): use Inset::parOwner to find out where the
7715 inset has been inserted. This is a huge performance gain for large
7716 documents with lots of insets. If Inset::parOwner is not set, fall
7717 back on the brute force method
7719 * paragraph_pimpl.C (insertInset):
7720 * paragraph.C (Paragraph):
7721 (cutIntoMinibuffer): set parOwner of insets when
7722 inserting/removing them
7724 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7726 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7732 * mathed/formulabase.C:
7733 * mathed/math_cursor.[Ch]:
7734 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7737 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7739 * lyxlength.[Ch] (operator!=): new function
7741 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7743 * text.C (workWidth): use Inset::parOwner to find out where the
7744 inset has been inserted. This is a huge performance gain for large
7745 documents with lots of insets. If Inset::parOwner is not set, fall
7746 back on the brute force method
7748 * paragraph_pimpl.C (insertInset):
7749 * paragraph.C (Paragraph):
7750 (cutIntoMinibuffer): set parOwner of insets when
7751 inserting/removing them
7753 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7755 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7757 * tabular-old.C (getTokenValue):
7758 * tabular.C (getTokenValue):
7759 (write_attribute): new versions for LyXLength
7760 (everywhere): adjust the use of widths
7762 * tabular.h: change the type of widths from string to LyXLength
7764 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7766 * paragraph.C: fixed missing line number count when exporting
7767 Environments to LaTeX file
7769 * buffer.C: added informational message for checking line numbers.
7771 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7773 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7774 paragraph, do the 'double space' part, but not the 'empty
7777 * text.C (workWidth): small optimization
7778 (getLengthMarkerHeight): use minimal size for negative lengths.
7780 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7782 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7784 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7786 2001-12-11 André Pönitz <poenitz@gmx.net>
7789 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7791 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7793 * text2.C: keep selection on a setFont()
7795 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7797 * lyx_cb.C: another bv->text misuse, from insert label
7799 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7802 * kbsequence.C: re-instate nmodifier mask
7804 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7806 * lyx_main.h: make lyxGUI private.
7808 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7810 * lyxfind.C: place the cursor correctly on failed search
7812 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7814 * text.C (getLengthMarkerHeight): for small heights, the arrows
7815 are not always on top/bottom of the text
7816 (drawLengthMarker): smaller arrows; take the left margin in
7817 account; draw also vfills.
7819 (paintLastRow): remove special code for vfill and standard spaces,
7820 since everything is handled in drawLengthMarker now.
7822 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7824 * buffer.C (insertErtContents): try to handle font and language
7825 interaction a bit better.g
7827 * ColorHandler.C (updateColor): change the hash to cover the whole
7828 LColor enum, ws cleanup
7829 (getGCLinepars): ditto
7830 (getGCLinepars): only lookup in the linecache once.
7832 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7834 * iterators.C (operator++): Make the iterator more robust
7836 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7838 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7840 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7843 * text.C: better added space drawing
7845 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7848 * BufferView2.C: fix layout combo update on inset unlock
7850 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7852 * Makefile.am: don't compile unused files
7854 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7858 * LyXAction.C: remove old LFUN_LAYOUTNO
7860 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7862 * paragraph_pimpl.h:
7863 * paragraph_pimpl.C: isTextAt() doesn't need font param
7865 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7868 * lyxlex.C: little cleanup
7870 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7872 * BufferView_pimpl.C: fix insertAscii for insets
7874 2001-12-05 Juergen Vigna <jug@sad.it>
7876 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7877 set the right font on the "multi" paragraph paste!
7879 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7885 * lyxlength.C: remove out-commented code.
7901 * vc-backend.C: change "while(" to "while ("
7903 * lyxlength.[Ch]: add zero function to check if length is zero or
7905 * lyxgluelength.C: use it
7907 2001-12-05 Allan Rae <rae@lyx.org>
7909 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7910 Works for 2.95.3, from what I understand of Garst's reports this should
7911 work for other g++ versions. We're screwed if the abs(int) definition
7912 changed between bugfix releases of gcc.
7914 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7916 * text.C: fix chapter label offset !
7918 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7921 * text.C: fix hfill at end of line, clean up
7923 2001-12-04 Juergen Vigna <jug@sad.it>
7925 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7926 that we force an update of the inset and it's owners if neccessary.
7928 2001-12-03 Juergen Vigna <jug@sad.it>
7930 * text.C (rowLast): simplified code
7932 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7934 * lyxfunc.C: fix show options on timeout
7936 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7938 * screen.C (topCursorVisible): scroll half a page when the cursor
7939 reached top of bottom of screen
7941 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7943 * minibuffer.C: deactivate on loss of focus
7945 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7947 * vspace.[Ch] (operator!=): add operator.
7949 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7951 * BufferView_pimpl.C: refuse to open an inset when
7952 there's a selection.
7954 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7956 * BufferView_pimpl.C: allow to click on RHS of full row insets
7958 2001-11-30 Juergen Vigna <jug@sad.it>
7960 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7961 insets for undo reasons.
7963 2001-11-28 André Pönitz <poenitz@gmx.net>
7965 * vspace.[Ch]: cosmetical changes
7967 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7977 * kbsequence.C: part re-write of old kb code
7980 * WorkArea.C: remove Lgb_bug_find_hack
7982 2001-11-30 José Matos <jamatos@fep.up.pt>
7984 * buffer.C (makeDocBookFile): add a comment to point a hack.
7985 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7986 Fixed a double write of labels.
7988 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7991 * LaTeX.h Fixed bug in LaTeX class where it would not
7992 re-run latex if no depfiles were changed, but the .dvi was removed.
7994 2001-11-28 André Pönitz <poenitz@gmx.net>
7996 * all the files from the change on 2001/11/26:
7997 use lyx::layout_type instead of LyXTextClass::size_type
7998 use lyx::textclass_type instead of LyXTextClassList::size_type
8000 2001-11-29 Juergen Vigna <jug@sad.it>
8002 * text.C: added support for paragraph::isFreeSpacing()
8004 * buffer.C: same as above
8006 * paragraph.h: inserted isFreeSpacing() function to enable
8007 FreeSpacing inside InsetERT.
8009 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8010 of the paragraph's in the cut/copy buffer to 0!
8012 * text2.C (removeRow): remove the assert as it can!
8014 * lyxtext.h: added helper function firstRow returning firstrow and
8015 made firstrow private again.
8017 * BufferView2.C (lockInset): don't relock if we're already locked!
8019 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8021 (removeRow): added Assert::(firstrow)
8023 * debug.C: forgot to add INSETTEXT here.
8025 2001-11-28 Juergen Vigna <jug@sad.it>
8027 * sp_spell.C (initialize): changed error text to more general
8028 spellchecker command use (not only ispell!)
8030 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8032 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8034 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8036 * vspace.C: initialise lyxgluelength on failure
8038 2001-11-28 Allan Rae <rae@lyx.org>
8040 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8041 declaration & definition that looks like a function declaration.
8043 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8045 * BufferView2.C (copy):
8046 (copyEnvironment): do not clear the selection when doing a copy.
8048 * text.C (paintFirstRow): compilation fix
8050 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8052 * tabular.C (Latex): correct line count when writing latex.
8054 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8056 * paragraph_pimpl.h:
8057 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8060 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8064 * LColor.C: change vfillline->added_space
8066 * text.C: add markers and text for added space
8068 * vspace.C: fix comment
8070 2001-11-28 André Pönitz <poenitz@gmx.net>
8072 * paragraph.C: whitespace changes
8073 * all the other files from the change on 2001/11/26:
8074 change *::pos_type into lyx::pos_type
8076 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8078 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8079 language of the document when inserting error insets.
8081 2001-11-26 André Pönitz <poenitz@gmx.net>
8083 * BufferView_pimpl.[Ch]:
8091 * paragraph_pimpl.[Ch]:
8094 * text2.C: reduce header dependencies, introduce type for positions
8096 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8098 * <various>: change to use Alert.h
8100 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8102 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8103 when encountering an unknown token.
8104 (readLyXformat2): Show an error message if there were unknown tokens.
8106 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8109 * BufferView_pimpl.C:
8113 * text2.C: use par->isInset()
8115 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8117 * paragraph_pimpl.h:
8118 * paragraph_pimpl.C: cleanup
8120 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8122 * text2.C (removeRow):
8123 * text.C (setHeightOfRow): remove useless (and costly) call to
8126 2001-11-20 Allan Rae <rae@lyx.org>
8128 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8129 Now need Inset*::checkInsertChar() to return true for appropriate
8130 cases so that the characters in the minibuffer will actually be
8133 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8135 * text.C: change the order of the includes.
8136 (workWidth): initialize it at once.
8137 (workWidth): make maxw unsigned
8138 (setHeightOfRow): remove unused variable (inset)
8139 (selectSelectedWord): remove unused variable (inset)
8140 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8142 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8144 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8145 server is not running.
8147 (closeConnection): add debug info when server is disabled.
8149 * ColorHandler.C (getGCForeground): send debug message to GUI
8152 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8154 * kbmap.C (bind): modify because return conventions of
8155 kb_sequence::parse have changed.
8157 * kbsequence.C (parse): only ignore spaces and not any stupid
8158 control character. This avoids tests like s[i] <= ' ', which are
8159 guaranteed to fail with 8bit characters and signed chars.
8160 Change return code to string::npos when there have been no error
8161 (0 was a bad idea when error is at first character)
8163 2001-11-14 José Matos <jamatos@fep.up.pt>
8166 * buffer.C (simpleDocBookOnePar): removed unused argument.
8168 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8170 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8171 insets which are part of a word. Paragraph::isLetter takes care of
8172 that now. Use Paragraph::isInset to identify insets.
8173 (selectSelectedWord): do not test for hyphenation break.
8175 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8176 that protected spaces are considered as spaces.
8178 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8181 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8184 * lyxserver.C: fix it. and small cleanup.
8186 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8188 * BufferView_pimpl.C: use inline helpers
8191 * LaTeXFeatures.C: fix typos
8194 * Spacing.C: move spacing_string into class
8196 * ToolbarDefaults.C: move stuff into namespace anon
8198 * layout.h: update enum
8200 * lyxfunc.C: use better debug
8202 * minibuffer.h: fix typo
8206 * WorkArea.C: add and use Debug::WORKAREA
8210 * text2.C: code re-organisation, inline helpers
8212 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8214 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8215 std::vector.empty().
8217 2001-11-09 Allan Rae <rae@lyx.org>
8219 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8220 '\n's after tables. Tabular and ERT inset work now makes this no
8223 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8226 * minibuffer.C: fix crash, improve drop-down completion
8228 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8231 * lyxserver.C: invalidate fd's when doing endPipe()
8233 2001-11-08 José Matos <jamatos@fep.up.pt>
8235 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8236 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8239 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8241 2001-11-07 José Matos <jamatos@fep.up.pt>
8244 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8247 * buffer.C (sgmlOpenTag):
8248 * buffer.C (sgmlCloseTag): removed debug info.
8250 * buffer.h (sgmlOpenTag):
8251 * buffer.h (sgmlCloseTag): made public.
8253 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8255 * buffer.C (saveParamsAsDefaults):
8256 * lyx_cb.C (MenuLayoutSave): remove
8258 * LyXAction.C (init):
8260 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8262 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8264 * buffer.C (setPaperStuff): removed from here...
8266 * bufferparams.C (setPaperStuff): ... and moved there.
8268 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8272 * XFormsView.C: add support for drop-down completion
8274 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8276 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8279 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8281 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8284 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8286 * lyx_main.C: change ref to known bugs
8288 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8290 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8291 to work around older babel problems.
8293 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8295 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8297 2001-10-24 Juergen Vigna <jug@sad.it>
8299 * tabular-old.C (ReadOld): below variable changes reflected.
8301 * tabular.[Ch]: added ltType struct for longtable header/footer
8302 defines and changed all instances where they are used. Added
8303 future support for double top/bottom rows.
8305 2001-10-24 José Matos <jamatos@fep.up.pt>
8307 * buffer.h (docbookHandleCaption):
8308 * buffer.C (docbookHandleCaption): removed unused function.
8309 (makeDocBookFile): moved docbook supported version to v4.1.
8311 2001-10-24 José Matos <jamatos@fep.up.pt>
8314 * tabular.C (docbookRow): new function to export docbook code of a row.
8315 (DocBook): now honors the longtable flags.
8317 2001-10-23 José Matos <jamatos@fep.up.pt>
8320 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8321 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8323 * buffer.C (makeLinuxDocFile):
8324 (makeDocBookFile): reworked the preamble, more clean, and with
8325 support for lyx defined entities. Changed the document declaration
8326 to be more XML friendly.
8328 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8329 if we need to output XML that should be done with a filter.
8331 2001-10-22 Juergen Vigna <jug@sad.it>
8333 * sp_pspell.h (class PSpell): add alive function needed in the
8334 controller to see if the spellchecker could be started.
8336 2001-10-22 Juergen Vigna <jug@sad.it>
8338 * buffer.C (insertStringAsLines): modify the font for inserting
8339 chars in certain conditions by calling checkInsertChar(font).
8341 2001-10-19 Juergen Vigna <jug@sad.it>
8343 * text.C (workWidth): use getRow instead of wrong algorithm.
8344 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8346 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8351 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8353 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8355 * text.C (workWidth): do not search for the exact row when
8356 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8357 optimization for big documents.
8359 2001-10-18 Juergen Vigna <jug@sad.it>
8361 * text.C (workWidth): new function with added Inset * parameter.
8363 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8365 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8367 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8368 change return type of getColumnNearX.
8371 * text.C (changeRegionCase): use uppercase/lowercase instead of
8374 (rightMargin): simplify code by factoring out the uses of
8379 (appendParagraph): use Paragraph::size_type
8381 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8383 * vspace.C (asLatexString): add a missing break
8385 2001-10-15 Herbert Voss <voss@perce.de>
8387 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8389 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8391 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8394 2001-10-10 André Pönitz <poenitz@gmx.net>
8396 * lyxfunc.C: removed greek_kb_flag.
8398 2001-10-10 Herbert Voss <voss@perce.de>
8400 * lyx_main.C: delete global string help_lyxdir.
8402 2001-10-09 Herbert Voss <voss@perce.de>
8404 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8406 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8408 * lyx_main.C: added global string help_lyxdir.
8410 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8412 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8414 * lyxrc.C (set_font_norm_type): support iso8859-4
8416 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8418 * LaTeX.C (deplog): add another regex for MikTeX
8420 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8422 * lyxrc.C (set_font_norm_type): support iso8859-3
8424 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8426 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8428 * LaTeXFeatures.C: remove special case of french and index
8430 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8431 before \begin{document}). This solves several incompatibilities.
8433 2001-10-03 Garst Reese <reese@isn.net>
8435 * lyx_cb.C: change CheckTex error msg.
8437 2001-10-03 José Matos <jamatos@fep.up.pt>
8439 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8441 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8443 * .cvsignore: update
8445 * lyx_main.C (commandLineVersionInfo): use new style version info.
8447 * buffer.C (writeFile):
8450 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8452 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8454 * version.h: update to use stuff in version.C
8456 * version.C.in: new file. Contains version information determined
8457 at compile time. This is a merging of version.h and
8460 2001-10-03 Juergen Vigna <jug@sad.it>
8462 * BufferView_pimpl.C (update): don't change "dirty" status in
8465 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8467 * WorkArea.C (c-tor): re-position version string slightly.
8469 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8471 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8472 revert to previous code.
8474 WorkArea.[Ch]: (show, destroySplash): methods removed.
8476 WorkArea.C: rework code so that it's an amalgam of the codes before and
8477 after the splash screen was moved to WorkArea.
8479 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8482 * vspace.C (inPixels):
8485 * buffer.C (insertStringAsLines):
8486 (asciiParagraph): fix types to be large enough
8488 * lyxlex_pimpl.h: change member status from short to int
8490 * layout.h: fix type of endlabeltype
8493 * kbsequence.C (parse): change return type to string::size_type
8495 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8498 * Bullet.C (bulletSize):
8499 (bulletEntry): do not use short ints as parameters
8501 * BufferView2.C (insertLyXFile): change a char to an int.
8503 * WorkArea.C (WorkArea): remove unneeded floats in computation
8505 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8507 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8509 * paragraph.C (asString): Do not ignore newline/hfill chars when
8510 copying to the clipboard.
8512 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8514 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8515 after a multi-line inset.
8517 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8519 * paragraph.C (validate): Set NeedLyXFootnoteCode
8521 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8523 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8524 and decrease-error to decrease.
8526 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8528 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8529 it more readable (should be equivalent)
8531 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8533 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8535 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8537 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8538 of a cursor (row, etc.) after a character has been deleted
8539 (deleteEmptyParagraphMechanism): call the method above on _all_
8540 cursors held by the LyXText when a double space has been
8543 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8545 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8547 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8549 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8550 background. Use greyOut() and the new show() methods to toggle between
8551 the foreground and background. Add code to remove the splash after
8552 its initial showing.
8554 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8555 (create_forms): no longer call Dialogs::showSplash.
8557 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8559 * .cvsignore: add version_info.h
8561 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8563 * version_info.h.in: new file
8565 * Makefile.am: add version_info.h.in
8567 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8568 version_info.h instead of VERSION_INFO
8570 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8572 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8573 The ERT inset now returns string().
8575 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8577 * lyxtext.h, text.C (selectNextWord): renamed as
8578 selectNextWordToSpellcheck.
8580 * text.C (selectNextWordToSpellcheck): Modified to not select
8581 words inside an ERT inset.
8583 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8585 * lyx_cb.C (MenuLayoutSave): change a bit the question
8587 * sp_base.h: include <sys/types.h>
8589 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8591 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8593 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8595 * several files: fix typos in user-visible strings
8597 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8599 * text2.C (pasteSelection): do not set the selection, since it
8600 will be cleared later. Actually, the intent was to fix the way the
8601 selection was set, but I figured rmoving the code was just as good.
8603 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8605 * FontLoader.C (available): Check if font is available without
8608 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8610 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8612 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8614 * lyxrc.[Ch]: added display_graphics variable and associated code.
8616 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8618 * bufferparams.C (hasClassDefaults): new method. Returns true if
8619 the buffer parameters correspond to known class defaults
8621 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8623 * XFormsView.C (show): set minimum size to the main window.
8625 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8627 * text2.C (copySelection):
8629 * lyxfind.C (LyXReplace):
8630 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8631 LyXText::selectionAsString.
8633 * paragraph.C (asString): add "label" argument to the second form
8635 * text2.C (selectionAsString): add "label" argument and pass it to
8636 Paragraph::asString.
8638 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8640 * lyx_main.C (commandLineHelp): remove version information
8642 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8644 * lyx_main.C: add -version commandline option
8646 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8648 * paragraph.h: make the optional constructor arg required instead.
8649 some modifications to other files because of this.
8651 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8653 * lyxserver.C (C_LyXComm_callback): make it static
8655 * lyx_main.C (error_handler): make it static
8657 * lyx_gui.C (LyX_XErrHandler): make it static
8659 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8661 * WorkArea.C: make the extern "C" methods static.
8663 * Makefile.am (lyx_LDADD): simplify
8665 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8667 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8668 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8670 * LyXAction.C (init):
8671 * lyxfunc.C (dispatch): associated code removal.
8673 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8675 * lyxfont.h (isSymbolFont): shut off warning
8677 * text.C (setHeightOfRow):
8678 (getVisibleRow): fix crash with empty paragraphs which have a
8681 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8683 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8686 2001-09-04 José Matos <jamatos@fep.up.pt>
8689 * tabular.C (docbook): rename docBook method to docbook.
8691 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8693 * Makefile.am: add dependencies to main.o.
8695 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8697 * FontLoader.C (available): Return false if !lyxrc.use_gui
8699 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8701 * FontInfo.C (query):
8702 * converter.C (view):
8703 * importer.C (Import):
8704 * exporter.C (Export): Can not -> cannot.
8706 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8708 * BufferView_pimpl.C: allow to create index inset even if
8711 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8713 * buffer.C (getLists): replace boost::tie code with an explicit pair
8714 as boost::tie can break some compilers.
8716 * iterators.h: Added a std:: declaration to the return type of
8719 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8721 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8724 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8726 * iterators.[Ch]: New files. Provide paragraph iterators.
8728 * buffer.C (changeLanguage): Use paragraph iterators.
8729 (isMultiLingual): ditto
8731 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8733 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8735 * FontLoader.C: Support for cmr font.
8737 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8739 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8740 (available): New method.
8742 * FontInfo.C (getFontname): Use scalable fonts even when
8743 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8746 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8748 * converter.C (Formats::view): reverted! Incorrect fix.
8750 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8752 * converter.C (Formats::view): only output the -paper option
8753 if the dvi viewer is xdvi, thereby fixing bug #233429.
8755 2001-08-23 Herbert Voss <voss@perce>
8757 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8759 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8761 * Spacing.h (Spacing): Set space to Default on in the default
8764 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8766 * vc-backend.h (RCS::versionString): add RCS to version
8767 (CVS::versionString): add CVS to version
8769 * vc-backend.C (scanMaster): do not add CVS to version.
8770 (scanMaster): do not add RCS to version
8772 * lyxvc.C (versionString): new method
8774 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8776 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8778 * Spacing.C (set): initialize fval
8780 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8782 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8785 2001-08-16 Juergen Vigna <jug@sad.it>
8787 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8789 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8791 * BufferView_pimpl.C:
8794 * text2.C: setParagraph takes linespacing now
8796 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8798 * LyxAction.C: add internal LFUN_CITATION_INSERT
8800 * LyXView.C: actually apply fix
8802 * bufferlist.C: fix open non-existent file
8804 * lyxfind.C: fix indentation
8806 * lyxfunc.C: remove unneeded assert, fix typo
8808 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8810 * MenuBackend.C: use "Floatname List"
8812 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8814 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8815 when converting LaTeX layout to insetERT.
8816 Generate a non-collapsed float when reading old float
8818 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8820 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8823 2001-08-13 Juergen Vigna <jug@sad.it>
8825 * text.C (fill): return 0 instead of 20 as this seems to be the more
8828 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8830 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8833 2001-08-13 Juergen Vigna <jug@sad.it>
8835 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8837 (SearchBackward): comment out the unlocking of the inset_owner this
8838 should not be needed!
8840 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8842 * Many files: Remove inherit_language, and add latex_language
8844 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8847 2001-08-10 Juergen Vigna <jug@sad.it>
8849 * text.C (prepareToPrint): fixed hfill-width in draw!
8851 * BufferView2.C (selectLastWord): save the selection cursor as this
8852 now is cleared in the function LyXText::clearSelection!
8854 2001-08-08 Juergen Vigna <jug@sad.it>
8856 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8857 BACKSPACE type functions.
8859 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8860 is only cutted from the document but not put in the cut-buffer, where
8861 still the old stuff should be.
8863 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8865 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8867 * tabular.C (SetWidthOfCell): fixed special case where the width
8869 (LeftLine): handle '|' in align_special.
8871 (LeftAlreadyDrawed): ditto
8872 (SetWidthOfCell): ditto
8874 2001-08-07 Juergen Vigna <jug@sad.it>
8876 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8878 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8880 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8881 * lyxlex.[hC]: ditto
8883 2001-08-06 Juergen Vigna <jug@sad.it>
8885 * text.C (getVisibleRow): fix up row clearing a bit.
8887 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8889 * minibuffer.C: make sure the X server sees the changes in the input.
8891 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8893 * paragraph.C (getFont): split into...
8894 (getLabelFont): this
8895 (getLayoutFont): and this
8896 * paragraph_pimpl.C (realizeFont): calling this
8898 * text2.C (getFont): split into...
8899 (getLayoutFont): this
8900 (getLabelFont): and this
8901 (realizeFont): all three calling this
8903 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8906 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8908 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8910 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8912 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8913 layouts from the Quote inset insertion.
8915 2001-08-03 Juergen Vigna <jug@sad.it>
8917 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8919 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8920 only if status not is already CHANGED_IN_DRAW (second level).
8922 * text.C (draw): don't set the need_break_row when inside an
8925 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8927 * buffer.C (parseSingleLyXformat2Token): handle more latex
8930 * bufferview_funcs.[hC]: change function names to
8931 begin with small char, adjust other files.
8933 2001-08-02 André Pönitz <poenitz@gmx.net>
8936 BufferView_pimpl.C: remove broken special code for math-greek
8938 2001-08-02 Juergen Vigna <jug@sad.it>
8940 * BufferView_pimpl.C (update): redone this function so that we
8941 update the text again if there was a CHANGE_IN_DRAW.
8943 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8944 (drawFromTo): added a new internal bool which is used by draw() and
8946 (general): some cursor drawing problems fixed.
8948 2001-08-01 Juergen Vigna <jug@sad.it>
8950 * lyxfind.C (LyXFind): fixed
8951 (SearchForward): ditto
8952 (SearchBackward): ditto
8954 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8955 spurius drawing of the cursor in the main area.
8957 * text2.C (status): small fix which could lead to a segfault!
8958 (clearSelection): remove unneeded BufferView param.
8960 2001-08-01 André Pönitz <poenitz@gmx.net>
8962 * lyxfunc.C: small change due to changed mathed interface
8964 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8966 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8968 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8970 * lyxfunc.c: fail gracefully if file doesn't exist
8975 * BufferView_pimpl.C: IsDirWriteable() proto changed
8977 * LyXView.C: fix updateWindowTitle() to store the last title
8979 2001-07-31 Juergen Vigna <jug@sad.it>
8981 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8982 the font (wrong since using of Paragraph::highestFontInRange).
8984 * paragraph.C (highestFontInRange): added a default_size parameter.
8986 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8987 (setHeightOfRow): reformat
8989 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8991 * converter.[hC] + affected files: move to (inital-char)lowercase
8994 * ParagraphParameters.C (ParagraphParameters): remove commented code
8996 * PainterBase.[Ch]: remove commented code
8998 * LaTeXFeatures.h: add "bool floats" for float.sty
9000 * LaTeXFeatures.C (LaTeXFeatures): init floats
9001 (require): handle float
9002 (getPackages): do it with floats
9004 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9006 * BufferView_pimpl.C (Dispatch): improve handling of
9007 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9009 * commandtags.h: #include lyxfont.h here temporarily to avoid
9012 * bufferlist.h: include LString.h here.
9014 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9016 * text2.C (getStringToIndex): new method.
9018 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9020 * *: Reduced header file dependencies all over.
9022 2001-07-30 Baruch Even <baruch@lyx.org>
9024 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9026 2001-07-29 Baruch Even <baruch@lyx.org>
9028 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9030 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9032 * ParameterStruct.h (endif): add a default constructor to make
9033 sure that all variables is initialized.
9035 * ParagraphParameters.C (ParagraphParameters): adjust
9037 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9039 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9040 index; also, check that there is something to index, and that it
9041 does not span over several paragraphs.
9042 (doubleClick): use WHOLE_WORD_STRICT for double click.
9044 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9046 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9049 2001-07-26 Baruch Even <baruch@lyx.org>
9051 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9052 an InsetFig figure, backwards compatible reading of old figure code.
9054 2001-07-27 Juergen Vigna <jug@sad.it>
9056 * text2.C: font.realize function adaption.
9058 * text.C (draw): add a warnings lyxerr text if needed.
9060 * layout.C: font.realize function adaption.
9062 * language.C: add inherit_language and implement it's handlings
9064 * bufferview_funcs.C (StyleReset): remove language parameter from
9065 font creation (should be language_inherit now).
9067 * bufferparams.C (writeFile): handle ignore_language.
9069 * paragraph.C (getFontSettings): the language has to be resolved
9070 otherwise we have problems in LyXFont!
9072 * lyxfont.C (lyxWriteChanges): added document_language parameter
9073 (update): removed unneeded language parameter
9075 * paragraph.C (validate): fixed wrong output of color-package when
9076 using interface colors for certain fonts in certain environments,
9077 which should not seen as that on the final output.
9079 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9081 * BufferView_pimpl.C:
9086 * LyXAction.C: add thesaurus support
9089 * lyxfind.C: add "once" parameter, for thesaurus, to not
9090 move to the next match
9092 2001-07-26 Juergen Vigna <jug@sad.it>
9094 * lyxfont.C (realize): honor ignore_language too!
9097 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9099 * text.C (draw): one place more for ignore_language to not draw
9102 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9104 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9106 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9108 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9109 the minipage conversion problem.
9111 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9113 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9116 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9118 * BufferView.h: don't forward declare WorkArea
9120 * BufferView.C: don't include WorkArea.h
9122 2001-07-25 André Pönitz <poenitz@gmx.net>
9126 * lyxfunc.C: new LFUN 'math-space'
9128 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9130 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9132 * text2.C (toggleInset): call open/close
9134 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9136 * lyxfunc.C (dispatch): add debug for the disabled case
9138 * font.C (buttonText): make similar to rectText
9140 * buffer.C (readInset): comment out parsing of insetlist and
9143 * PainterBase.C (rectText): small correction
9145 * BufferView_pimpl.C: comment out insettheorem and insetlist
9146 * LyXAction.C: ditto
9147 * commandtags.h: ditto
9149 2001-07-24 Juergen Vigna <jug@sad.it>
9151 * text.C (draw): honor the ignore_language.
9153 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9155 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9157 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9160 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9162 * lyxtext.h: remove unused (and unimplemented) methods
9164 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9166 * text.C (getVisibleRow): honor background color
9169 * Painter.h: remove default color argument for fillRectangle
9171 * text.C (backgroundColor): new method
9173 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9175 * text.C (getVisibleRow): adjust
9177 * font.[Ch] (rectText): new method, metrics
9178 (buttonText): new method, metrics
9180 * PainterBase.[hC]: make rectText and buttonText always draw and take
9183 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9185 * ToolbarDefaults.C (read):
9186 * MenuBackend.C (read): allow escaping in all strings
9188 * BufferView_pimpl.C (insertAndEditInset): new method.
9189 (Dispatch): use insertAndEditInset whenever appropriate.
9191 * BufferView_pimpl.C (insertNote): removed
9193 * BufferView_pimpl.C (smartQuote): new method, moved from
9194 BufferView; if an insetquote cannot be inserted, insert a '"'
9197 * BufferView2.C: remove insertCorrectQuote();
9199 * lyxfunc.C (getStatus): Add support for all remaingin
9202 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9204 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9205 command (necessary to pass " as parameter of self-insert.
9207 * text.C (selectWordWhenUnderCursor):
9208 (selectWord): add word_location parameter
9209 (selectWordWhenUnderCursor): same + remove special code for word
9211 (selectNextWord): use kind() to guess type of insetspecialchar,
9214 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9215 (insertErtContents): create ert insets as collapsed.
9216 (readInset): better compatibility code for Info inset.
9218 2001-07-20 Juergen Vigna <jug@sad.it>
9220 * lyxfunc.C (dispatch): use always LyXFind now!
9222 * text2.C (init): add a reinit flag so that the LyXText can be
9223 reinited instead of deleted and reallocated (used in InsetText).
9225 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9231 2001-07-18 Juergen Vigna <jug@sad.it>
9233 * text.C (selectNextWord): handle insets inside inset by calling
9234 always the bv->text functions so that we can go up the_locking_inset!
9236 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9237 in strange locations when inside an inset!
9239 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9240 handling to include insets.
9242 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9244 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9246 * LyXAction.C (init):
9248 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9249 LIGATURE_BREAK, since the name is so stupid.
9251 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9253 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9256 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9258 * sp_form.[Ch]: remove.
9260 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9262 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9265 * src/buffer.C (readInset): ditto.
9267 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9269 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9270 menuSeparator(), endOfSentenceDot(), ldots() and
9271 hyphenationPoint(), which are therefore removed.
9272 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9274 * LyXAction.C (init):
9275 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9277 * paragraph.C (getWord): removed.
9279 * BufferView_pimpl.C (Dispatch): use last word or selection for
9280 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9282 * lyx_main.C (queryUserLyXDir): do not ask before creating
9283 user_dir, except if it has been named explicitely.
9285 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9287 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9288 a document of zero size.
9290 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9292 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9293 approriately in the c-tor and in require().
9294 (getPackages): output the appropriate LaTeX for natbib support.
9296 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9297 variables "use_natbib" and "use_numerical_citations" when reading the
9299 (readInset): read the various natbib cite commands.
9300 (validate): white-space change.
9302 * bufferparams.[Ch]: new variables "bool use_natbib" and
9303 "bool use_numerical_citations".
9304 (writeFile): output them in the LyX file.
9306 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9308 * lyxfunc.C (getStatus): add support for all the inset insertion
9311 * text2.C (insertInset):
9312 * paragraph.C (insetAllowed):
9313 * BufferView_pimpl.C (insertInset): update to take in account the
9314 renaming of insertInsetAllowed
9316 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9318 * text2.C (getInset): new method. returns inset at cursor position.
9320 * BufferView_pimpl.C (Dispatch): changes because of this.
9322 * LyXAction.C (init): rename open-stuff to inset-toggle.
9324 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9326 * text2.C (toggleInset): renamed from openStuff; use
9329 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9331 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9333 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9335 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9337 * buffer.C (readLyXformat2): Add filename to the error dialog
9339 2001-07-18 Juergen Vigna <jug@sad.it>
9341 * tabular.C (GetCellNumber): put an assert here instead of the check!
9343 2001-07-17 Juergen Vigna <jug@sad.it>
9345 * BufferView_pimpl.C (toggleSelection): adapted too.
9347 * text.C (selectNextWord): adapted for use with insets.
9348 (selectSelectedWord): ditto
9350 2001-07-17 Juergen Vigna <jug@sad.it>
9352 * sp_spell.C (PSpell): fix initialitation order.
9354 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9356 * paragraph.C: spacing
9358 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9360 * sp_spell.C: repair language selection for pspell
9362 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9364 * lyxfunc.h: change more methods to begin with lower char.
9366 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9368 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9369 for unknown layouts.
9371 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9373 * buffer.C (readLyXformat2): Generate an error dialog if there are
9376 2001-07-16 Juergen Vigna <jug@sad.it>
9378 * sp_spell.C: always compile ISpell part.
9380 * lyxrc.C: added use_pspell entry and it's handling.
9382 2001-07-13 Juergen Vigna <jug@sad.it>
9384 * sp_spell.C: removed double includes.
9386 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9388 Consistent use of Lsstream.h:
9389 * Lsstream.h: added using std::stringstream for consistencies sake.
9391 * buffer.C: removed using std::stringstream
9393 * lyxfont.C (stateText):
9394 * paragraph.C (asString):
9395 * text.C (selectNextWord, selectSelectedWord):
9396 * text2.C (setCounter):
9397 * vspace.C (asString, asLatexString):
9398 std::ostringstream -> ostringstream.
9400 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9402 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9403 * commandtags.h: add LFUN_HELP_ABOUTLYX
9404 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9406 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9408 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9410 * lyx_gui_misc.C: remove spellchecker
9411 * lyxfunc.C: showSpellchecker
9413 * sp_ispell.h: added
9414 * sp_pspell.h: added
9416 * sp_form.[Ch]: removed
9417 * spellchecker.[Ch]: removed
9419 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9421 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9423 (simpleTeXSpecialChars): Simply print the input character without
9424 any special translation if pass_thru is set.
9426 * layout.h: Added bool pass_thru to layout class for being able to
9427 implement pass through of a paragraph for Literate Programming.
9429 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9430 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9431 * layout.C (Read): add "passthru" to list of layout tags and add
9432 code to set the pass_thru boolean when it is read.
9434 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9436 * trans_decl.h: remove allowed from KmodInfo
9438 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9442 * paragraph_pimpl.C (erase): use boost::prior
9444 * Painter.C (text): use data() instead of c_str() when length is
9446 * WorkArea.C (putClipboard): ditto
9447 * font.h (width): ditto
9449 * BufferView2.C: use it-> instead of (*it). for iterators
9451 * paragraph_pimpl.C: ditto
9452 * paragraph.C: ditto
9453 * minibuffer.C: ditto
9458 * converter.C: ditto
9460 * Variables.C: ditto
9461 * TextCache.C: ditto
9462 * MenuBackend.C: ditto
9463 * LyXAction.C: ditto
9465 * FloatList.C: ditto
9467 * ColorHandler.C (LyXColorHandler): ditto
9469 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9471 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9473 * text2.C (openStuff): reintroduce this method (which had been
9474 nuked in NEW_INSETS frenzy).
9476 * lyxfunc.C (Dispatch): when an action has not been handled, use
9477 its name in the error message, not its number.
9479 * paragraph.C (inInset): change method name to begin with lowercase.
9482 * text2.C: updates because of this.
9484 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9486 * ToolbarDefaults.C (add): add spaces in error message
9488 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9490 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9491 (readLyXformat2): rename return_par to first_par, use lyxlex's
9492 pushToken and remove the manual push handling.
9493 (parseSingleLyXformat2Token): add another ert comp. variable:
9494 in_tabular, rename return_par to first_par. handle newlines better
9496 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9498 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9500 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9502 * text2.C (getParFromID): removed
9504 * buffer.C (getParFromID): new method moved form lyxtext.
9505 * BufferView2.C (insertErrors): adjust
9506 (setCursorFromRow): adjust
9507 * BufferView_pimpl.C (restorePosition): adjust
9508 * lyxfunc.C (Dispatch): adjust
9509 * undo_funcs.C (textUndo): adjust
9511 (textHandleUndo): adjust
9512 (textHandleUndo): adjust
9514 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9516 * buffer.C: up' the LYX_FORMAT
9518 * lyxfont.h: turn NO_LATEX on as default
9520 * buffer.C (insertErtContents): new methods of tex style compability.
9521 (parseSingleLyXformat2Token): use it several places.
9522 * tabular.C (OldFormatRead): and here
9524 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9526 * text2.C: remove some commented code.
9529 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9530 * trans.C: changes because of the above.
9532 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9534 * text2.C (setCounter): Fix counters bug with bibliography layout.
9536 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9538 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9539 own member functions
9540 (simpleTeXSpecialChars): ditto
9542 2001-07-06 Juergen Vigna <jug@sad.it>
9544 * a lot of files: changed the access to LyXText::status and the
9545 call of undo-functions.
9547 * undo.[Ch]: added a inset_id to the undo informations.
9549 * undo_funcs.[Ch]: added and moved here all undo functions.
9551 * lyxtext.h: give the status enum a weight, made status_ a private
9552 variable and made accessor functions for it, removed the whole bunch
9553 of undo-functions as they are now in their own file, make some
9554 functions publically available. Added function ownerParagraph with
9557 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9558 made InInset() a const function, added getParFromID() function.
9560 * buffer.[Ch]: added const version for inset_iterator functions,
9561 added getInsetFromID() function.
9563 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9564 changed undo functions for new version.
9566 2001-07-05 Juergen Vigna <jug@sad.it>
9568 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9569 unknow mechanism does not call the proper constructor but only this
9570 one also if I request the other!?
9572 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9574 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9576 * text2.C (LyXText): use initialization lists.
9578 * lyxtext.h (Selection): initialize set_ and mark_
9579 (init): remove method
9581 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9583 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9585 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9587 * screen.[Ch]: change method names to begin with lowercase
9589 * BufferView_pimpl.C (updateScrollbar): simplify further and
9590 hopefully make it a bit faster.
9592 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9594 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9595 calling directly xforms functions.
9597 * Painter.C (Painter):
9598 * lyx_cb.C (MenuWrite):
9599 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9602 * lyx_gui.C: remove bogus guiruntime extern declaration.
9604 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9606 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9608 (redoDrawingOfParagraph): ditto
9609 (redoParagraphs): ditto
9610 (cutSelection): don't create a object for CutAndPaste use the
9611 static method directly
9612 (pasteSelection): ditto
9614 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9617 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9619 * modifications to some other files because of this.
9621 * Makefile.am (lyx_SOURCES): add XFormsView
9623 * XFormsView.[Ch]: new files
9625 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9626 the main window. Move the gui dependent stuff to XFormsView
9628 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9630 * tabular.C (GetCellInset): update cur_cell also in the row/col
9631 version of this function.
9633 * lyxfunc.C: no need to include figure_form.h here.
9639 * lyxvc.C: no need to include forms.h here.
9641 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9643 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9645 * lyxfunc.C (Dispatch):
9647 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9648 constructor argument.
9650 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9652 * paragraph.C (Paragraph): dont't clear, and just set layout.
9653 (makeSameLayout): use params's copy contructor.
9655 * ParagraphParameters.[Ch] (makeSame): delete method
9657 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9659 * Variables.[Ch]: fix indentation, rename set to isSet
9661 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9663 * lyxfunc.C (Dispatch): fix typo
9665 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9667 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9670 * bufferlist.C: include assert.h for emergencyWrite().
9672 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9674 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9675 give up at last (bug #425202) !
9677 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9683 * spellchecker.C: strip spellchecker options and bring up
9684 preferences tab instead
9686 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9688 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9689 the istringstream constructor
9691 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9693 * paragraph.C (getLayout): fix return value
9695 * paragraph.h: do not declare getLayout as inline.
9697 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9699 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9701 * lyxcursor.h (operator<): new func
9702 (operator>): new func
9703 (operator>=): new func
9704 (operator<=): new func
9706 * text.C (changeCase): use selection.start and selection.end
9707 (changeRegionCase): require from to be <= to. Require par to be a
9710 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9712 2001-06-27 Juergen Vigna <jug@sad.it>
9714 * text.C (cursorLeftOneWord): changed to return the cursor and added
9715 overlay with BufferView * parameter which calls this one.
9717 (selectWord): use new getWord function.
9718 (changeCase): renamed from changeWordCase as and extended to work
9721 * lyxtext.h: added enum word_location
9723 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9724 changeCase as this operates now also on selections.
9726 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9728 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9730 * many files: send debug output to Debug::INFO instead of
9733 * converter.C (View):
9735 (Move): send debug output to Debug::FILES instead of console.
9737 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9739 * lyxfunc.C (getStatus): use func_status
9741 * func_status.h: new header, describing the results of
9744 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9747 2001-06-25 The LyX Project <jug@sad.it>
9749 * buffer.C (sgmlOpenTag):
9751 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9753 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9755 * text2.C: remove some dead code
9757 * tabular.C (GetCellInset): store the last cell checked (gotten)
9759 * tabular.h: add the helper for the speedup
9761 * lyxtext.h: remove some dead code
9763 2001-06-26 The LyX Project <Asger>
9765 * paragraph.C: Change export to LaTeX of alignment to
9766 \begin{center} and family for better roundtrip work with reLyX.
9768 * Tune the math drawing a bit.
9770 2001-06-25 The LyX Project <Asger>
9772 * LColor.C (LColor): New color for math background. New color
9775 2001-06-25 The LyX Project <jug@sad.it>
9777 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9780 * bufferlist.C (newFile): do not restrict to files ending with
9783 * BufferView_pimpl.C (MenuInsertLyXFile):
9785 2001-06-24 The LyX Project <jug@sad.it>
9787 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9790 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9792 * lyxtext.h: rename most methods to begin with a small char.
9793 Lots of changes because of this.
9795 * paragraph.C (Paragraph): do not call fitToSize
9796 (erase): call Pimpl::erase
9797 (insertChar): call Pimpl::insertChar
9798 (insertInset): call Pipl::insertInset
9799 (breakParagraph): do not call fitToSize
9800 (breakParagraphConservative): do not call fitToSize
9801 (fitToSize): remove method
9803 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9805 2001-06-24 The LyX Project <Asger>
9807 * Fix Qt compilation^2
9809 2001-06-24 The LyX Project <jug@sad.it>
9811 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9812 depthHook(getDepth()-1).
9815 * ParagraphParameters.h:
9816 * ParameterStruct.h: change type of depth to unsigned int ==
9817 depth_type. Many adaptations to other files before of that.
9819 2001-06-24 The LyX Project <Asger>
9821 * Fix Qt compilation.
9823 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9825 * paragraph.h: renamed several methods to begin with small letter.
9826 several changes to many parts of the code because of this.
9828 2001-06-23 The LyX Project <jug@sad.it>
9830 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9831 rewritten to discard all double spaces when KeepEmpty is off
9832 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9833 to only handle newlines but not fiddle with spaces and friends.
9835 * lyxfunc.C (MenuNew): when doing 'new from template', use
9836 template_path as default directory
9838 2001-06-23 The LyX Project <Asger>
9840 * Clean-up of header file includes all over
9841 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9843 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9845 * paragraph.h: renamed from lyxparagraph.h
9847 2001-06-23 Asger <lyx@violet.home.sad.it>
9849 * Buffer.h: Removed Buffer::resize
9850 * BufferList.h: Removed BufferList::resize
9851 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9852 the document lazily when we change the width, or the font settings.
9854 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9856 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9858 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9860 * buffer.h: remove out of date comment
9862 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9865 * screen.C: fix "theoretical" GC leak
9867 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9869 * LaTeX.C (scanAuxFile):
9870 (deplog): remove trailing \r when reading stream (useful under
9873 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9875 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9876 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9877 and BufferView::theLockingInset(Inset*), so should use them and not
9878 access bv_->text->the_locking_inset directly.
9880 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9882 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9885 * tex-defs.h: remove old unused file
9887 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9889 * BufferView_pimpl.C: fix typo, remove minibuffer message
9890 when buffer has loaded
9892 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9894 * lyxfunc.C (Dispatch): use stringstream
9895 (MenuNew): use stringstream
9896 (Open): use stringstream
9898 * importer.C (Import): use stringstream
9900 * bufferview_funcs.C (CurrentState): use stringstream
9902 * LaTeX.C (run): use stringstream
9904 * BufferView_pimpl.C (savePosition): use stringstream
9905 (restorePosition): use stringstream
9906 (MenuInsertLyXFile): use stringstream
9908 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9921 * vspace.C: removed // -*- C++ -*- as first line.
9924 * version.h: added // -*- C++ -*- as first line.
9926 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9928 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9930 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9933 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9935 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9938 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9940 * gettext.C: include LString.h even when --disable-nls is on.
9942 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9944 * converter.h (Get): changed argument type from int to
9945 FormatList::size_type to avoid unnecessary conversion.
9947 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9950 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9952 * gettext.h: include LString.h even when --disable-nls is on.
9954 2001-06-07 Juergen Vigna <jug@sad.it>
9956 * text.C (BreakAgain): subst spaces with tabs.
9958 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9959 (resizeInsetsLyXText): set force on resizeLyXText.
9961 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9963 * gettext.h (gettext_init):
9964 (locale_init): use a real definition instead of a macro
9966 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9968 * Bufferview_pimpl.C:
9970 * LColor.C: further lcolor tidies
9972 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9974 * BufferView_pimpl.C (updateScrollbar): simplify.
9976 * BufferView2.C: don't include insets/insetinfo.h, change
9977 prototype for insertInset and call the Pimpl version. let
9978 updateInset call Pimpl version.
9980 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9981 gotoInset to BufferView::Pimpl
9983 2001-06-01 Juergen Vigna <jug@sad.it>
9985 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9986 inside a LockingInset (is the update needed at all?).
9988 2001-05-31 Juergen Vigna <jug@sad.it>
9990 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9991 here not the old one otherwise how should we compare it afterwards
9994 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9999 * FontInfo.C: bring C functions into global namespace when
10002 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10004 * LString.h: make sure config.h has been loaded before LString.h.
10006 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10007 (one for each char read by EatLine!).
10009 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10012 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10014 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10015 to the same as the par we break from
10017 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10019 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10021 * MenuBackend.C (expand): also create menu entries for wide
10022 versions of the floats.
10024 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10026 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10028 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10029 frontends/Makefile.am
10035 * tabular.C (getTokenValue): add std::
10037 * tabular-old.C (getTokenValue): add std::
10038 (getTokenValue): ditto
10039 (getTokenValue): ditto
10041 * screen.C (ToggleSelection): adjust
10043 * lyxtext.h: put selection cursors inside a Selection struct.
10045 * lyxfunc.C (moveCursorUpdate): adjust
10047 * lyxfont.C (latexWriteStartChanges): add std::
10049 * lyxfind.C: adjust
10051 * font.h: delete with(char const *, LyXFont const &)
10053 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10055 * FontInfo.C (getFontname): add std::
10057 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10058 (workAreaButtonPress): adjust
10059 (tripleClick): adjust
10061 (moveCursorUpdate): adjust
10064 * BufferView2.C (gotoInset): adjust
10066 2001-05-30 Juergen Vigna <jug@sad.it>
10068 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10069 to check pspell I add this as default as I now have new pspell
10070 libraries and they seem to use this.
10072 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10074 * text2.C (CutSelection): make the cursor valid before the call to
10077 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10079 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10080 relied on 0 terminated strings and other horrors. Bug found due to
10081 the new assert in lyxstring!
10083 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10086 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10088 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10091 * lyxfunc.C (processKeySym): change method of getting to the
10094 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10095 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10096 * BufferView_pimpl.[Ch]: here as private methods.
10098 2001-05-28 Juergen Vigna <jug@sad.it>
10100 * text.C (SetHeightOfRow): added the update() call again as it is
10101 needed to initialize inset dimensions!
10103 2001-05-16 Juergen Vigna <jug@sad.it>
10105 * text2.C (SetCharFont): Add new function with BufferView * and
10106 bool toggleall parameters for setting insets internal fonts.
10107 (SetFont): Freeze the undo as we may change fonts in Insets and
10108 all this change should be inside only one Undo!
10110 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10111 setting font's in insets as for them we have the SetFont function!
10113 2001-05-15 Juergen Vigna <jug@sad.it>
10115 * text2.C (ClearSelection): to be sure we REALLY don't have any
10118 * tabular.C (TeXCellPreamble): fixed the left border problem for
10121 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10123 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10126 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10128 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10129 LFUN_BREAKPARAGRAPH.
10131 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10132 help test to "internal only", similar for LFUN_INSERT_URL
10134 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10135 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10136 auto_region_delete and deadkeys.
10138 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10141 * LColor.C: remove some dead entries, tidy a little
10143 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10145 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10147 (Dispatch): implement LFUN_ESCAPE
10149 * commandtags.h: add LFUN_ESCAPE
10151 * LyXAction.C (init): add entry for LFUN_ESCAPE
10153 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10154 Remove commented code.
10155 (insertNote): moved here
10156 (open_new_inset): moved here
10158 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10161 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10163 * kbmap.C (findbinding): clean it up and make it work correctly.
10165 * lyx_main.C (init): do not pass argc and argv as parameters
10167 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10169 * buffer.C: fix path for OS/2 & Win32
10173 * lyx_main.C: Added os:: class.
10175 * os2_defines.h: update
10177 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10179 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10180 better by trying again with reduced state.
10182 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10184 * lyxrc.C (read): print error about invalid key sequence only when
10185 debugging (because not all latinX keysyms are known to some X
10188 * kbsequence.C (getiso): add a few std:: qualifiers
10189 (getiso): comment out extra return statement.
10191 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10193 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10195 (Dispatch): enhance the accent inset a bit. (not perfect)
10197 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10199 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10201 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10203 * bufferlist.C (emergencyWrite): fix assert() call
10205 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10207 * text.C (InsertChar): Added trivial patch to only send the "you
10208 can not do multiple spaces this way" message once during a
10211 2001-05-08 Baruch Even <baruch@lyx.org>
10213 * Makefile.am: Changed order of libraries to get LyX to link properly
10214 with the gnome frontend.
10216 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10218 * LaTeXFeatures.h: add a std:: qualifier
10220 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10222 * paragraph.C (String): use stringstream
10224 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10226 * paragraph.C (writeFile): remove footflag arg
10228 * buffer.C (makeLaTeXFile): use stringstream
10229 (latexParagraphs): remove footnot gurba
10231 * LaTeXFeatures.C (getPackages): use stringstream
10232 (getMacros): likewise
10233 (getTClassPreamble): likewise
10234 (getFloatDefinitions): new method
10236 * paragraph.C (writeFile): reindent
10239 * WorkArea.h: revert the xpos + etc changes.
10241 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10243 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10245 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10246 (pasteSelection): likewise
10247 * text2.C (CreateUndo): likewise
10249 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10251 * minibuffer.C (peek_event): temporarily reduce the functionality
10252 of the minibuffer (to allow args on lfuns)
10254 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10255 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10257 * buffer.C (readInset): add compability reading of old float
10258 lists, add reading of new style float list.
10259 (readInset): avoid reevaluation of inscmd.getCmdName()
10260 (getLists): reindent
10262 * MenuBackend.C (MenuItem): implement parsing of
10263 md_floatlistinsert and md_floatinsert.
10264 (expand::LastFiles): move initalizaton of iterators out of loop,
10265 avoid reevaluation.
10266 (expand::Documents): introduce typdedef vector<string> Strings,
10268 (expand::ExportFormats): introduce typedef vector<Format const *>
10269 Formats, and use it.
10270 (expand): implement FloatListInsert and FloatInsert.
10272 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10273 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10274 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10276 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10278 (Dispatch::LFUN_FLOAT_LIST): implement
10280 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10282 * LaTeX.C (run): Fix problem with --export code.
10284 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10286 * BufferView.[Ch] (workarea): removed.
10287 (getClipboard) new method; wrapper for workarea()->getClipboard()
10289 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10292 * WorkArea.h (width, height, xpos, ypos): These methods all
10293 returned the dimensions of the work_area sub-area of WorkArea,
10294 resulting in a position error if the WorkArea were resized. Now
10295 return the dimensions of the entire WorkArea.
10297 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10299 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10301 * LaTeX.C (deplog): correct the syntax of regex reg1
10303 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10305 * undo.C: remove !NEW_INSETS cruft
10307 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10309 * text2.C: remove !NEW_INSETS cruft
10311 * text.C: remove !NEW_INSETS cruft
10313 * tabular.C: remove !NEW_INSETS cruft
10315 * spellchecker.C: remove !NEW_INSETS cruft
10317 * lyxtext.h: remove !NEW_INSETS cruft
10319 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10321 * lyxfunc.C: remove !NEW_INSETS cruft
10323 * lyxfind.C: remove !NEW_INSETS cruft
10325 * lyx_cb.C: remove !NEW_INSETS cruft
10327 * figureForm.C: remove !NEW_INSETS cruft
10329 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10331 * buffer.[Ch]: remove !NEW_INSETS cruft
10333 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10335 * CutAndPaste.C: remove !NEW_INSETS cruft
10337 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10339 * BufferView2.C: remove !NEW_INSETS cruft
10341 * BufferView.h: remove !NEW_INSETS cruft
10343 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10345 * Lsstream.h: include LString.h before the sstream headers to
10346 fix problem with gcc 2.95.3 and lyxstring
10348 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10350 * lyx_main.C: add using directives when needed for C functions
10351 declared in std:: namespace.
10353 2001-04-27 Juergen Vigna <jug@sad.it>
10355 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10356 (SetHeightOfRow): comment out the update call should not be needed!
10358 2001-04-13 Juergen Vigna <jug@sad.it>
10360 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10361 (LyXTabular): tried to minimize operator= operations (and realized
10362 hopfully Lars wish).
10364 2001-04-27 Juergen Vigna <jug@sad.it>
10366 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10368 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10370 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10372 * buffer.C (readInset): hack to make listof algorithm work
10374 * BufferView_pimpl.C: hack to make listof algorithm work
10376 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10378 * LyXAction.C: removed all !NEW_INSETS cruft
10379 (init): moved lfun_item in method
10381 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10383 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10385 * BufferView2.C (theLockingInset): white space.
10387 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10389 * minibuffer.C: include <iostream>
10391 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10393 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10395 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10397 * text.[Ch] (TransposeChars): new method
10399 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10401 * call message directly through LyXView instead of through LyXFunc
10402 * BufferView2.C: adjust
10403 * BufferView_pimpl.C: adjust
10404 * FontLoader.C: adjust
10406 * bufferview_funcs.C: adjust
10407 * converter.C: adjust
10408 * figureForm.C: adjust
10409 * importer.C: adjust
10411 * lyx_gui_misc.C: adjust
10412 * lyxfunc.C: adjust
10415 + more files in subdirs
10417 * lyxparagraph.h (size): move up int file
10420 * adjust all uses of Assert to lyx::Assert.
10422 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10423 lyxfunctional in namespace lyx
10424 * layout.C (hasLayout): ditto
10427 (delete_layout): ditto
10428 (NumberOfClass): ditto
10429 * converter.C (GetFormat): ditto
10434 * bufferlist.C (getFileNames): ditto
10435 (emergencyWriteAll): ditto
10438 * MenuBackend.C (hasSubmenu): ditto
10441 * BufferView_pimpl.C (getInsetByCode): ditto
10443 2001-04-18 Juergen Vigna <jug@sad.it>
10445 * vspace.C (asLatexString): fixed the 100% problem.
10447 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10449 * lyxfunc.C (Dispatch):
10451 * minibuffer.h: add a few std:: qualifiers
10453 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10455 * minibuffer.[Ch]: reimplement so that commands is initiated and
10456 run from lyxfunc, simplified som handling, and made the completion
10457 and history code for complete. wip.
10459 * lyxfunc.C (processKeySym): call message
10460 (miniDispatch): new temporary method
10461 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10462 (LFUN_MESSAGE): implement
10463 (LFUN_MESSAGE_PUSH): implement
10464 (LFUN_MESSAGE_POP): implement
10465 (initMiniBuffer): the initial/defualt minibuffer message.
10467 * lyxfont.[Ch]: inline some more getters
10469 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10471 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10473 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10474 (AutoSave): use LFUN_MESSAGE
10475 (Reconfigure): ditto
10477 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10479 * figureForm.C: use LFUN_MESSAGE
10481 * converter.C (runLaTeX): use LFUN_MESSAGE
10483 * bufferview_funcs.C: use LFUN_MESSAGE
10485 (changeDepth): ditto
10487 * bufferparams.h: use boost::
10489 * bufferlist.h: inherit privately from noncopyable
10491 * bufferlist.C (loadLyXFile): remove some commented code.
10493 * buffer.C (runChktex): use LFUN_MESSAGE
10495 * ShareContainer.h: inherit privately from noncopyable
10497 * ParagraphParameters.[hC] (depth): inline it.
10499 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10501 (message): new method
10502 (messagePush): ditto
10503 (messagePop): ditto
10504 (show): init minibuffer
10505 (showState): direct call
10507 * LaTeX.[Ch]: inherit privately from noncopyable
10508 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10509 instead of WriteStatus.
10511 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10513 * BufferView_pimpl.C (buffer): don't init minibuffer
10514 (workAreaButtonPress): use LFUN_MESSAGE
10515 (workAreaButtonRelease): ditto
10516 (savePosition): ditto
10517 (restorePosition): ditto
10518 (MenuInsertLyXFile): ditto
10519 (workAreaExpose): don't init minibuffer
10520 (update): remove commented code, simplify
10522 * BufferView2.C (openStuff): use LFUN_MESSAGE
10523 (toggleFloat): ditto
10526 (copyEnvironment): ditto
10527 (pasteEnvironment): ditto
10532 (updateInset): remove some commented code
10534 * lastfiles.h: inherit privately from noncopyable
10537 * lyx_main.h: ditto
10539 * lyxlex_pimpl.h: ditto
10541 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10542 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10543 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10545 * LyXAction.h: inherit privately from noncopyable, add methods
10546 func_begin, func_end, returning iterators to the func map.
10548 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10549 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10550 (func_begin): new method
10551 (func_end): new method
10553 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10555 (copySelection): ditto
10556 (pasteSelection): ditto
10558 * BufferView.C: whitespace change
10559 * BufferView.h: inherit privately from noncopyable
10561 2001-04-16 Allan Rae <rae@lyx.org>
10563 * tabular-old.C (l_getline):
10564 * spellchecker.C (sc_check_word):
10565 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10566 an unrecognised preprocessor directive. So ensure they're wrapped.
10568 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10570 * src/exporter.C (Export): Give an error message when path to file
10573 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10575 * LaTeX.C (deplog): Always check that foundfile exists.
10577 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10580 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10582 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10584 * tabular.[Ch] (getLabelList): implement new method
10586 * minibuffer.h: comment ouf setTiimer
10588 * minibuffer.C (ExecutingCB): constify res
10589 (peek_event): constify s
10590 (Set): constify ntext
10591 (Init): constify nicename
10593 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10595 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10596 (savePosition): use two params to Minibuffer::Set
10597 (restorePosition): ditto
10599 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10601 * lyx_main.C: include language.h
10603 * Makefile.am (lyx_main.o): add language.h
10605 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10611 * CutAndPaste.C: include gettext.h
10613 * lyxfont.h: remove old hack with ON and OFF.
10616 * lyxfont.h: do not include language.h...
10621 * bufferview_funcs.C:
10627 * paragraph.C: ... but do it here instead
10629 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10631 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10633 * tabular.C: small reformat
10635 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10638 (BreakParagraph): ditto
10639 (SetOnlyLayout): ditto
10642 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10645 * lastfiles.C: removed most using decl, add std:: where needed
10647 * buffer.C: ws changes
10649 * MenuBackend.C (class compare_format): put into anon namespace
10650 (expand): constify label, names, action, action2
10653 * text.C (SingleWidth): constify font
10654 (IsBoundary): constify rtl2
10655 (GetVisibleRow): constify ww
10657 * LaTeX.C (deplog): constify logfile
10659 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10661 (workAreaExpose): constify widthChange, heightChange
10663 * lyxrow.C (par): moved
10666 * lyxrow.h: as inlines here
10668 * lyxfont.h (shape): moved from lyxfont.C
10669 (emph): moved from lyxfont.C
10671 * lyxfont.C (LyXFont): use initialization list for all
10673 (shape): move to lyxfont.h as inline
10674 (emph): move to lyxfont.h as inline
10677 2001-04-04 Juergen Vigna <jug@sad.it>
10679 * vspace.C: had to include stdio.h for use of sscanf
10681 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10684 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10685 independent of xforms.
10687 2001-04-02 Juergen Vigna <jug@sad.it>
10689 * spellchecker.C: fixed namespace placing!
10691 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10693 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10694 the LyXParagraph * is 0.
10696 2001-03-29 Juergen Vigna <jug@sad.it>
10698 * vspace.C: added support for %, c%, p%, l%.
10699 (stringFromUnit): added helper function.
10700 (asLatexString): changed to give right results for the %-values.
10702 * buffer.C: convert the widthp in a width%.
10704 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10706 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10709 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10710 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10712 * lyx_cb.[Ch]: see above.
10714 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10718 * lyx.[Ch]: replaced by figure_form.[Ch].
10722 * lyxfunc.C: changed headers associated with above changes.
10724 2001-03-27 Juergen Vigna <jug@sad.it>
10726 * BufferView_pimpl.C: set the temporary cursor right!
10728 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10730 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10732 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10734 * LString.h: removed "using std::getline"!
10736 * BufferView_pimpl.C (Dispatch): changes due to changes in
10737 InsetInclude::Params.
10739 * buffer.C (tag_name): removed redundant break statements as they were
10740 producing lots of warnings with my compiler.
10742 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10744 * LString.h: add "using std::getline" when using the real <string>.
10746 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10748 * buffer.C: removed bitset usage.
10749 PAR_TAG moved to an anonymous name space.
10750 (tag_name): new funtion, also in the anonymous namespace.
10751 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10752 (makeDocBookFile): clean code. Completed transition from string arrays
10754 (SimpleDocBookOnePar): code clean.
10756 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10758 * tabular.C: add some comments.
10760 2001-03-22 Juergen Vigna <jug@sad.it>
10762 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10763 compatibility read a bit and fixed bug with minipage in different
10766 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10768 * buffer.C (pop_tag): removed.
10769 (push_tag): removed.
10770 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10771 array replaced with vector. Added support for CDATA sections.
10772 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10774 (makeDocBookFile): XML conformant declaration of CDATA section,
10775 fixed bug related to <emphasis> in the first paragraph char.
10776 (sgmlOpenTag): exclude empty tags.
10777 (sgmlCloseTag): ditto.
10779 * buffer.h (pop_tag): removed.
10780 (push_tag): removed.
10782 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10784 * language.h (Languages): added size_type and size().
10786 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10788 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10789 response on compability reading of minipages. One probliem is that
10790 the old usage of minipages was «flertydig»
10792 * several files here and in subdirs: don't use static at file
10793 scope use anon namespaces instead.
10795 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10797 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10798 LaTeX output. This is necessary for Literate document
10801 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10803 * buffer.C: insert hfill when needed.
10805 * tabular.C (l_getline): use string::erase, small whitespace change.
10807 * BufferView_pimpl.C: try the anon namespace.
10808 * WorkArea.C: ditto
10810 2001-03-16 Juergen Vigna <jug@sad.it>
10812 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10813 otherwise it won't open options-dialogs.
10815 * buffer.C: honor pextraWidth(p) on converting minipages.
10817 * tabular.C (l_getline): changed the functions to strip trailing \r.
10819 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10821 * BufferView_pimpl.C:
10822 * minibuffer..C: added "using SigC::slot" declaration.
10824 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10826 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10832 * paragraph.C: ditto
10834 * lyxtext.h: NO_PEXTRA
10836 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10838 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10839 * ParameterStruct.h: ditto
10840 * ParagraphParameters.h: ditto
10841 * lyxparagraph.h: ditto
10843 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10845 * buffer.C: add compability for minipage alignment.
10846 (latexParagraphs): remove unwanted pextra check.
10848 * several files: remove CXX_WORKING_NAMESPACES
10850 * buffer.C (pop_tag): tie is in namespace boost
10852 * BufferView.h: noncopyable is in namespace boost
10854 * lyx_main.h: ditto
10857 * lastfiles.h: ditto
10858 * bufferlist.h: ditto
10859 * ShareContainer.h: ditto
10861 * LyXAction.h: ditto
10864 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10866 * Merging changes from BRANCH_MVC back into HEAD.
10868 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10870 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10872 * BufferView_pimpl.C: change from intl.C
10876 * Makefile.am: move combox.*
10882 * intl.C: remove dialog (covered by prefs)
10884 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10886 * lyxfunc.C (Dispatch): removed redundant break statement.
10888 2001-03-14 Juergen Vigna <jug@sad.it>
10890 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10892 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10894 * buffer.C: add hack to fix compability reading of minipages.
10896 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10898 * buffer.C (getLists): Cleanup.
10900 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10902 * lyxfont.C (update): don't honor toggleall on font size.
10904 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10908 * Makefile.am: moved to frontends/xforms/
10912 * BufferView_pimpl.C: changes for moved mathpanel
10914 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10916 * gettext.h: fix gettext_init() in --disable-nls
10918 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10920 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10922 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10925 * lyx.h: strip external form
10927 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10929 * BufferView_pimpl.C: add comment, destroySplash()
10931 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10933 * BufferView_pimpl.C:
10937 * lyxfunc.C: use re-worked insetinclude
10939 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10941 * buffer.C: add using std::stringstream.
10943 * lyx_cb.C: readd using std::ios.
10945 * buffer.C: add using std::map.
10947 * BufferView_pimpl.C: add using std::vector.
10949 * ShareContainer.h: add std:: to swap.
10951 * buffer.h: add some typedefs
10952 * buffer.C (getLists): use them
10953 (getLists): renamed from getTocList.
10954 add a counter for the different float types and use it in the
10956 (getLists): use the same counter for the NEW_INSETS and the "non"
10959 * lyx_cb.h: remove unused items, includes, using etc.
10961 * ShareContainer.h: remove some commented code, add more comments
10962 and "documentation".
10964 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10966 * buffer.C (getTocList): make the list also when NEW_INSETS is
10969 * buffer.h: remove TocType
10971 * buffer.C (getTocList): change to return a map<string,
10972 vector<TocItem> >, implement for dynamic number of list.
10974 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10975 * text2.C (PasteSelection): adjust
10976 * CutAndPaste.C (pasteSelection): adjust
10978 * FloatList.C (FloatList): update from the new_insets branch.
10979 * Floating.[Ch]: ditto
10980 * LaTeXFeatures.C: ditto
10982 * lyxlex_pimpl.C: ditto
10984 * paragraph.C (Last): remove when NEW_INSETS is defined.
10986 * other file: changes because of the above.
10988 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10990 * lyxparagraph.h: rename next to next_, previous to previous_,
10991 make them private for NEW_INSETS. Rename Next() to next(),
10992 Previous() to previous().
10994 * other files: changes because of the above.
10996 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10999 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11002 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11004 * main.C (main): pass lyx_localedir to gettext_init().
11006 * gettext.h: remove locale_init and gettext_init macros
11008 * gettext.C (locale_init): new function
11009 (gettext_init): new function
11011 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11014 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11016 * Moved credits to frontends:
11017 * credits.[Ch]: removed
11018 * credits_form.[Ch]: removed
11019 * lyx_gui_misc.C: remove credits stuff
11022 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11024 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11026 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11027 unneeded destructor.
11029 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11030 a standalone pointer again.
11032 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11034 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11040 * ToolbarDefaults.C:
11049 * BufferView_pimpl.C: use new file dialog in GUII
11052 * lyx_cb.C: remove LayoutsCB to Toolbar
11054 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11056 * ShareContainer.h (get): add std:: qualifier
11058 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11060 * ShareContainer.h: define a proper ShareContainer::value_type
11061 type (and use typename to please compaq cxx)
11063 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11065 * lyxparagraph.h: move serveral local vars to
11066 ParameterStruct/ParagraphParameters., use ShareContainer in
11067 FontTable., make vars in FontTable private and add getter and
11070 * paragraph.C: changes because of the above.
11072 * lyxfont.h: remove copy constructor and copy assignment. (the
11073 default ones is ok), move number inside FontBits. move inlines to
11076 * lyxfont.C: add number to initializaton of statics, move several
11077 inlines here. constify several local vars. some whitespace
11078 cleanup. Dont hide outerscope variables.
11080 * Spacing.h: add two new constructors to match the set methods.
11082 * ShareContainer.h: new file, will perhaps be moved to support
11084 * ParameterStruct.h: new file
11086 * ParagraphParameters.h: new file
11088 * ParagraphParameters.C: new file
11090 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11091 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11093 * BufferView_pimpl.C: ParagraphParameter changes.
11094 * buffer.C: Likewise.
11095 * bufferview_funcs.C: Likewise.
11096 * text.C: Likewise.
11097 * text2.C: Likewise.
11099 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11101 * lyxfind.C (LyXReplace): do not redefine default argument in
11103 (IsStringInText): ditto
11104 (SearchForward): ditto
11105 (SearchBackward): ditto
11107 2001-03-06 Juergen Vigna <jug@sad.it>
11109 * lyxfind.C (IsStringInText): put parentes around expressions.
11111 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11113 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11115 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11117 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11119 * stl_string_fwd.h: add comment
11121 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11124 * tabular.C: remove unused DocBook methods
11130 killed DO_USE_DEFAULT_LANGUAGE
11132 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11134 * lyx_gui.C: do not include language.h.
11136 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11137 arguments in function implementation.
11139 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11141 * BufferView_pimpl.C: add <ctime>
11143 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11145 * BufferView_pimpl.C: add using std::find_if
11147 2001-02-27 José Matos <jamatos@fep.up.pt>
11149 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11152 2001-02-11 José Matos <jamatos@fep.up.pt>
11154 * buffer.C (makeDocBookFile): command styles now have a parameter as
11155 "title" by default.
11157 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11159 * layout_forms.[Ch]: removed
11160 * lyx_cb.[Ch]: out character
11161 * lyx_gui.C: out character
11162 * lyx_gui_misc.C: out character
11163 * bufferview_funcs.C: : out character,
11164 added toggleall as parameter in ToggleAndShow
11166 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11168 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11170 * text2.C (SetCurrentFont): Disable number property at boundary.
11172 2001-02-26 Juergen Vigna <jug@sad.it>
11174 * lyxfunc.C (getStatus): added a string argument override function so
11175 that this is correctly called from LyXFunc::Dispatch if it contains a
11176 do_not_use_argument which is used!
11177 (Dispatch): added check for "custom" export and call appropriate func.
11179 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11181 * lyxrc.C: Add language_command_local, language_use_babel and
11182 language_global_options.
11184 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11186 * buffer.C (makeLaTeXFile): Use language_use_babel and
11187 language_global_options.
11189 2001-02-23 Juergen Vigna <jug@sad.it>
11191 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11192 which works with LyXText and putted it inside BufferView. Here now we
11193 only call for that part the BufferView::Dispatch() function.
11195 * BufferView.C (Dispatch): added.
11197 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11198 functions which needs to use a LyXText over from LyXFunc.
11199 (MenuInsertLyXFile): added
11200 (getInsetByCode): added
11201 (moveCursorUpdate): added
11202 (static TEXT): added
11204 2001-02-22 Juergen Vigna <jug@sad.it>
11206 * BufferView_pimpl.C (update): call a status update to see if LyXText
11209 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11211 * vc-backend.C (revert): implement for CVS
11212 (getLog): implement for CVS
11214 2001-02-20 Juergen Vigna <jug@sad.it>
11216 * text2.C (ClearSelection): added BufferView param for inset_owner call
11218 * lyxfunc.C (TEXT): added this function and use it instead of
11219 directly owner->view()-text of getLyXText().
11221 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11223 * src/layout_forms.C: out preamble
11224 * src/layout_forms.h: out preamble
11225 * src/lyx_cb.C: out preamble
11226 * src/lyx_cb.h: out preamble
11227 * src/lyx_gui.C: out preamble
11228 * src/lyx_gui_misc.C: out preamble
11229 * src/lyxfunc.C: connect with guii preamble
11231 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11233 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11235 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11237 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11238 whether to run bibtex.
11240 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11242 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11244 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11246 * Makefile.am (lyx_SOURCES): removed bibforms.h
11248 * vspace.h: doxygen
11250 * text.C (GetVisibleRow): make several local vars const
11252 * tabular.C: small cleanup.
11254 * lyxserver.C (callback): use compare instead of strncmp
11256 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11257 inlines to after class or to paragraph.C
11259 * lyxfont.h: remove friend operator!=
11261 * converter.h: move friend bool operator< to non friend and after
11264 * combox.h: small cleanup
11266 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11267 to inlines after class def.
11269 * buffer.C (pop_tag): use string operations instead of strcmp
11271 * bmtable.c: doxygen, small cleanup
11273 * LaTeX.h: remove friend operator==
11275 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11287 * BufferView_pimpl.C:
11288 * BufferView.[Ch]: remove cruft
11290 2001-02-14 Juergen Vigna <jug@sad.it>
11292 * lyxfunc.C: removed #if 0 unused code
11294 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11296 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11298 * text2.C (SetSelection): added a BufferView * parameter
11300 2001-02-13 Juergen Vigna <jug@sad.it>
11302 * lyxfunc.C (Dispatch): fixed protected blank problem.
11303 * BufferView2.C (protectedBlank): added LyxText * parameter.
11305 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11306 (AppendColumn): same as above for column_info.
11308 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11309 (moveCursorUpdate): use a LyXText param for support of InsetText.
11311 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11312 (tripleClick): ditto
11314 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11316 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11318 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11320 * text2.C (SetSelection): set correct update status if inset_owner
11321 (ToggleFree): ditto
11323 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11325 * tabular.C: remove some commented code.
11327 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11329 * BufferView_pimpl.C: call hideSplash()
11331 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11334 * bibforms.h: remove
11337 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11338 add LFUN_CHILD_CREATE
11340 * counters.h: fix tiny typo
11345 * lyx.C: move splash to frontends/xforms/
11347 * lyx_gui_misc.C: move Include and Bibform to frontends
11349 * lyxvc.h: clarify comment
11351 * vspace.C: tiny housekeeping
11353 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11355 * text.C (PrepareToPrint): RTL Fix.
11357 * paragraph.C (GetUChar): New method.
11358 (String): Use GetUChar.
11360 * buffer.C (asciiParagraph): Use GetUChar.
11362 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11364 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11366 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11369 * buffer.C: rename to getLogName(), handle
11370 build log / latex log nicely
11372 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11375 * MenuBackend.h: remove support for reference menuitem type.
11377 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11379 * BufferView_pimpl.C: housekeeping
11380 * BufferView_pimpl.h:
11385 * minibuffer.h: move Timeout GUI-I
11387 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11389 * lyxrc.C (read): Update converters data-structures.
11391 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11393 * LaTeX.h (operator!=): add operator != for Aux_Info
11395 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11397 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11399 * LaTeXLog.C: deleted, useful code moved to Buffer
11402 * buffer.C: new function getLatexLogName()
11408 * lyxfunc.C: use frontends for LaTeX and VC logs
11410 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11412 * LaTeX.h: yet another std:: that Allan forgot.
11414 * Variables.C (set): renamed from isset(), because this clashes
11415 with some HP-UX macros (grr).
11417 2001-02-06 Allan Rae <rae@lyx.org>
11419 * LaTeX.h: Another bug fix. Missing std:: this time.
11421 2001-02-04 Allan Rae <rae@lyx.org>
11423 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11424 floats problem. I've left it commented out because it's not quite
11425 correct. It should also test that the current object is a table or
11426 figure inset. But I haven't gotten around to figuring out how to do
11427 that. I *think* it'll be something like: "table" == inset.type()
11429 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11432 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11434 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11435 all the citation/databases/styles in the auxilary file.
11436 (run): Rerun latex if there was a babel language error.
11438 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11440 * text.C (Backspace): Preserve the font when changing newline char
11442 (BreakParagraph): If the cursor is before a space, delete the space.
11444 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11446 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11448 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11449 new argument (code).
11450 (ChangeCitationsIfUnique): New method.
11452 * paragraph.C (GetPositionOfInset): Handle bibkey.
11454 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11456 * BufferView_pimpl.h: change type of Position::par_pos to
11457 LyXParagraph::size_type.
11459 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11461 * BufferView_pimpl.C (savePosition, restorePosition): Write
11462 messages to minibuffer.
11464 2001-01-28 José Matos <jamatos@fep.up.pt>
11466 * buffer.C (makeDocBookFile): adds support for document language.
11467 A silly restriction on the name of LatexCommand types where removed.
11468 Added support for CDATA sections, allows to chars unescaped, used
11469 among others in code, to avoid escape < and >.
11471 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11473 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11474 saved positions instrad of a stack. Furthermore, a position is
11475 stored using paragraph id/paragraph position.
11477 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11478 Remove LFUN_REF_BACK.
11480 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11482 * converter.C (dvipdfm_options): New method.
11484 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11486 * vspace.C (isValidLength): Fix for empty input string.
11488 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11490 * LyXAction.C (init): change description of LFUN_FIGURE to
11493 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11495 * LaTeX.C: add using directive
11497 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11499 * MenuBackend.C (expand): Fix the sorting of the formats.
11501 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11503 * lyx_main.C: tiny error message fix
11505 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11507 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11508 calling fl_initialize(). This fixes the problem with ',' as
11509 decimal separator in text files.
11511 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11513 * trans.C (process): Fix the keymap bug.
11515 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11517 * LaTeX.C (scanAuxFiles): New method. Provides support for
11518 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11519 (scanLogFile) Scan for "run BibTeX" messages.
11521 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11522 OT1 font encoding. Also, load the aecompl package if the ae
11525 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11527 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11529 * texrow.C (increasePos): turn two error messages into debug
11532 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11534 * LaTeX.C (scanAux): Handle the \@input macro.
11535 (runBibTeX): Use scanAux().
11537 * language.C (latex_options_): New field.
11539 * LaTeXFeatures.C (getMacros): Add language macros.
11541 * buffer.C (makeLaTeXFile): Small fix.
11543 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11545 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11547 * text2.C: add a using directive.
11549 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11554 * lyxfunc.C: kill LyXBell.
11556 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11558 * text.C (IsBoundary): Remove the error message
11560 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11562 * lyxrc.C (setDefaults): Correct initialization value for
11565 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11567 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11570 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11571 and GotoNextNote().
11573 * src/LyXAction.C: Added reference-next.
11575 * text.C (InsertChar): Use contains instead of strchr.
11577 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11579 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11581 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11582 alignment commands (when needed).
11584 * text.C (InsertChar): Add ':' to number separator chars.