2 2003-07-15 André Pönitz <poenitz@gmx.net>
5 * text2.C: remove no more needed refresh_row
7 2003-07-15 André Pönitz <poenitz@gmx.net>
12 * text3.C: refresh_status tristate -> need_update bool
14 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
16 * lyxtext.h (init): remove reinit argument (act as if always true)
17 * text2.C: adjust to that
19 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
21 * bufferview_funcs.[Ch]: introduce function replaceSelection()
22 * text3.C: use it to delete selections in some cases
23 (bugs 441, 673, 702, 954).
25 2003-07-14 André Pönitz <poenitz@gmx.net>
27 * rowpainter.[Ch]: reduce interface
29 2003-07-14 André Pönitz <poenitz@gmx.net>
32 * text2.C: adjust after removing unused BufferView * argument
34 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
36 * text2.C (init): fix a crash fired on resize
38 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
40 * buffer.[Ch]: added new closing signal
41 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
42 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
43 BufferView::Pimpl via the closing the signal
45 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
47 * buffer.[Ch]: take out all bv-related from buffer
49 * BufferView_pimpl.[Ch]: connect to new signals
50 * CutAndPaste.C: removed useless asserts
51 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
54 * lyxfunc.C: moved view-related funciontality from vc here
55 * paragraph.C: removed outdated comments
58 2003-07-10 André Pönitz <poenitz@gmx.net>
64 * text2.C: remove InsetText::InnerCache, clean up consequences
66 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
68 * ispell.C: fix two typos in error messages
70 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
72 * Extend Note inset to other forms of annotation like Comment
73 and Greyedout. Right button click gives dialog.
75 Files modified or added (+):
81 * Makefile.am in frontends/xforms, frontends/xforms/forms,
86 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
88 * aspell.C: add missing namespace lyx::support
90 2003-07-07 Alfredo Brauntein <abraunst@libero.it>
92 * BufferView.[Ch] (newFile): Add
93 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
94 * LaTeX.[Ch] (message): added this signal and use it
95 * buffer.[Ch] (busy, message): added these signals and use them
96 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
100 * importer.C: use buffer signals instead of direct bv calling
101 * lyx_cb.[Ch] (ShowMessage): removed
105 * text2.C: use buffer signals
107 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
109 * introduce namespace lyx::graphics
111 2003-07-02 André Pönitz <poenitz@gmx.net>
113 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
115 2003-07-01 André Pönitz <poenitz@gmx.net>
122 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
123 text*.C to text_func.C
125 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
127 * introduce namespace lyx::support
129 2003-06-30 André Pönitz <poenitz@gmx.net>
134 * text.C: re-enable --with-included-string
136 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
138 * textcursor.C: add <config.h>
140 * text.C (getWord): remove const from word_location arg
142 * lyxvc.C (getLogFile): fix const type order
144 * lyxtext.h: remove const from word_location arg, add arg name
146 * lyxlayout.h: currect type on labeltype.
148 * importer.C: correct \file
150 * converter.C (intToFormat): use std:: on ret val, ws changes
152 * bufferlist.h: correct \file
154 * buffer.C (makeLinuxDocFile): fix const type order
155 (makeDocBookFile): ditto
156 (fillWithBibKeys): use std:: on stdlib args.
158 * CutAndPaste.C: fix authors.
159 (availableSelections): use std:: on return vector
161 2003-06-27 André Pönitz <poenitz@gmx.net>
163 * BufferView_pimpl.C:
164 * bufferview_funcs.C:
172 * text3.C: remove LyXCursor::row_ member
175 * text.C: rename fullRebreak() to partialRebreak() and implement
176 a fullRebreak() that really bereks fully
178 * textcursor.h: new struct for cursor-related data
180 2003-06-26 Alfredo Brauntein <abraunst@lyx.org>
182 * lyx_main.C (LyX): get full path of document loaded on the
185 2003-06-26 André Pönitz <poenitz@gmx.net>
187 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
188 remove unused/broken operator>,<,>=.
190 * text.C: remove only use of broken operator<= in an Assert().
192 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
194 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
195 moved errorlist_.clear to showErrorList
197 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
199 * converter.C (scanLog, runLaTeX):
200 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
201 move the bv->showErrorList call to the callers
202 * lyxfunc.C: i.e. here...
204 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
205 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
206 namespace, the second to...
207 * buffer_funcs (BufferFormat, parseErrors): added
208 * errorlist.C (ErrorList(TeXErrors const &)): removed
210 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
212 * ToolbarBackend.C (getIcon): complain when icon cannot be found
214 2003-06-24 "Garst R. Reese" <reese@isn.net>
218 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
220 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
222 * version.C.in: change docversion to 1.4
224 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
226 * buffer.C: fix a bug just introduced
228 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
230 * buffer.[Ch]: added the parseError signal and use it, removed
232 * BufferView.[Ch] (addError): moved to ...
233 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
234 to the Buffer::parseError signal to catch (guess what) parse errors
235 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
237 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
239 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
240 ability to create a buffer and to return an existing one from
241 the list. Moved these functions to...
242 * buffer_funcs.[Ch]: added
243 * BufferView.[Ch] (loadLyXFile): added
244 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
245 job removed from bufferlist::loadLyXFile.
246 * buffer.C (setReadOnly): make it work without view
247 (i.e added an if (users))
249 2003-06-19 Angus Leeming <leeming@lyx.org>
252 * LyXAction.C (init):
253 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
254 with LFUN_DIALOG_SHOW <name> <data>.
256 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 * CutAndPaste.C (availableSelections): small compilation fix for
259 ancient (gcc 2.9x) compilers
261 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
263 * text3.C (cursorNext): add tmp var
265 * text2.C (updateCounters): for function calling out of for clause
266 (replaceSelectionWithString): ditto
267 (insertStringAsParagraphs): ditto
268 (getColumnNearX): add tmp var
269 (setCursorFromCoordinates): add tmp var
270 (cursorDownParagraph): add tmp var
271 (deleteEmptyParagraphMechanism): add tmp var
273 * text.C (insertChar): add tmp var
275 * rowpainter.C (paintDepthBar): add tmp var
277 * CutAndPaste.C (availableSelections): potentially check all
278 paragraphs in a cut to fill the shown strings.
280 2003-06-18 André Pönitz <poenitz@gmx.net>
282 * kbmap.[Ch]: use vector<> instead of list<>
284 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
286 * text3.C (dispatch): handle arg to LFUN_PASTE, call
287 pasteSelection with index
289 * text2.C (pasteSelection): modify, call pasteSelection with index
291 * paragraph.C (asString): reimplement version with no interval to
292 call the one with interval.
294 * lyxtext.h: add index arg to pasteSelection
296 * MenuBackend.C (MenuItem): handle PasteRecent
297 (Menu::read::Menutags): add md_pasterecent
299 (expandPasteRecent): new function
302 * MenuBackend.h: add PasteRecent to MenuItem::Kind
304 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
306 (availableSelections): new function
308 2003-06-17 Angus Leeming <leeming@lyx.org>
310 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
312 2003-06-17 Angus Leeming <leeming@lyx.org>
315 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
317 * lyxfunc.C (dispatch): invoke it.
319 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
321 * iterators.C (operator++, ParPosition): reintroduce some
322 const_cast for the benefit of older compilers.
324 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
326 * text3.C (dispatch): do not modify clipboard when doing
327 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
328 LFUN_DELETE_SKIP on a selection selection
330 2003-06-16 André Pönitz <poenitz@gmx.net>
336 * tabular.[Ch]: IU of clone() and getLabelList();
338 2003-06-13 André Pönitz <poenitz@gmx.net>
340 * tabular.h: compactification
342 2003-06-12 André Pönitz <poenitz@gmx.net>
346 * tabular_funcs.h: some renaming plus whitespace
348 2003-06-12 André Pönitz <poenitz@gmx.net>
351 * BufferView_pimpl.C:
357 * toc.C: Return a Paragraph & for ParIterator::operator*()
359 2003-06-11 John Levon <levon@movementarian.org>
363 * ToolbarBackend.C: add "Toolbars" section and
366 2003-06-10 Angus Leeming <leeming@lyx.org>
369 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
371 * lyxfunc.C (dispatch): invoke it.
373 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
375 * main.C: protect <ios> with HAVE_IOS
376 (main): protect sync_with_stdio with HAVE_IOS
378 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
380 * text2.C (cutSelection): adjust
381 (pasteSelection): adjust
383 * messages.C: handle get of empty string
385 * main.C (main): use sync_with_stdio(false)
387 * lyxfunc.C (dispatch): adjust
389 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
390 (WriteAs): remove unneeded BufferView arg.
392 * bufferparams.h: use correct types on papersize, papersize2 and
395 * bufferparams.C (readToken): adjust for type
396 (writeLaTeX): add missing cases to switch.
398 * bufferlist.C (quitWriteBuffer): adjust
401 * buffer.C (asciiParagraph): remove some commented code.
403 * CutAndPaste.C: remove current_view extern variable.
404 (cutSelection): add BufferParams arg.
405 (eraseSelection): add BufferParams arg.
406 (pasteSelection): add Buffer const & arg
408 2003-06-07 John Levon <levon@movementarian.org>
416 * paragraph.C: allow InsetERT to freely space lines,
417 and some consolidation of code
419 2003-06-06 José Matos <jamatos@fep.up.pt>
421 * buffer.C (makeDocBookFile): fix bug #821
423 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
425 * BufferView_pimpl.C (dispatch): use Dialogs::visible
427 2003-06-04 Angus Leeming <leeming@lyx.org>
429 * buffer.C: bump format to 224.
431 2003-06-05 André Pönitz <poenitz@gmx.net>
433 * text2.C (redoParagraphs): remove two const_cast<>
435 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
437 * ParagraphList.h: remove last remnants of NO_STD_LIST
439 2003-06-03 Angus Leeming <leeming@lyx.org>
441 * factory.C (createInset): small change to the way InsetExternal's params
444 2003-06-04 André Pönitz <poenitz@gmx.net>
446 * buffer.h: use Undo directly instead of shared_ptr<Undo>
449 * paragraph.[Ch]: some Inset -> UpdatableInset changes
451 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
453 * undo_funcs.C: make some simple cases of undo work again
455 2003-06-03 John Levon <levon@movementarian.org>
457 * ispell.C: HPUX doesn't have sys/select.h
460 2003-06-03 John Levon <levon@movementarian.org>
462 * CutAndPaste.C: update tabular and include inset
467 * paragraph.C: remove owningBuffer(), don't pass Buffer
470 * factory.C: insetGraphicsParams changed
472 2003-06-02 John Levon <levon@movementarian.org>
478 * text3.C: remove insetparent
480 2003-06-02 John Levon <levon@movementarian.org>
483 * buffer.C: fix inset_iterator.end(), move out of line
486 2003-06-01 John Levon <levon@movementarian.org>
488 * text3.C: use a proper cut/paste when doing inset
489 insert (from Jürgen Spitzmüller)
491 2003-06-01 John Levon <levon@movementarian.org>
493 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
495 2003-05-30 André Pönitz <poenitz@gmx.net>
497 * rowpainter.C: unify second drawing phase
499 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
501 * trans_mgr.C: remove one case of current_view
503 * text2.C (cursorBottom): delete NO_STD_LIST stuff
505 * paragraph_funcs.h: remove paragraph.h include
507 * paragraph.h: delete NO_STD_LIST stuff
509 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
511 * buffer.h: remove paragraph.h include
513 * ParagraphList.C: delete file
515 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
517 * toc.C (getTocList): adjust
519 * paragraph_pimpl.C (validate): adjust
521 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
523 * paragraph.C (Paragraph): adjust
524 (getPositionOfInset): use const_iterator, adjust
525 (bibitem): use const_iterator, adjust
526 (setInsetOwner): adjust
528 * iterators.C (operator++): adjust
530 * InsetList.[Ch]: Replace selfmade iterator with standard
531 vector::iterator also introduce const_iterator. Remove getPos,
532 getInset and setInset from InsetTable. Adjust accordingly.
534 * BufferView.C (lockInset): adjust
535 (ChangeInsets): adjust
537 * tabular.[Ch]: delete commented same_id functions
539 2003-05-28 John Levon <levon@movementarian.org>
541 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
543 2003-05-28 André Pönitz <poenitz@gmx.net>
545 * metricsinfo.[Ch]: remove 'fullredraw' member
547 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
549 * lyxtextclass.C (operator): remove caching.
551 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
555 * text2.C (cursorBottom): adjust
556 (setCounter): use ParagraphList::find, adjust
558 * text.C (workWidth): use ParagraphList::find, adjust
560 * lyxcursor.C (LyXCursor): adjust
562 * buffer.C (inset_iterator): adjust
564 * ParagraphList.h: make iterator(value_type) private, make
565 ParagraphList a friend of iterator.
567 * ParagraphList.C (find): new function
569 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
571 2003-05-27 André Pönitz <poenitz@gmx.net>
573 * dimension.[Ch]: a -> asc, d -> des, w -> wid
575 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
577 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
579 2003-05-26 John Levon <levon@movementarian.org>
581 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
583 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
585 * remove same_id from function signatures, adjust.
587 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
589 * undo_funcs.C (createUndo): use the id functions directly, adjust.
591 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
593 * paragraph.C (Paragraph): get rid of same_ids parameter
595 * ParagraphList.C (insert): adjust
598 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
600 * paragraph_funcs.C (breakParagraph): adjust
601 (breakParagraphConservative): adjust
603 * buffer.C (readParagraph): adjust
605 * ParagraphList.C (insert): take a reference instead of a pointer
608 * paragraph.[Ch] (id): new function
610 * bufferlist.C (newFile): adjust
612 * ParagraphList.C (ParagraphList): adjust
614 (push_back): take a reference instead of a pointer.
616 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
618 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
621 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
622 set else use old code.
624 * ParagraphList.C: remove all NO_NEXT code and only compile this
625 code of NO_STD_LIST is set.
627 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
629 * BufferView_pimpl.C:
639 * graphics/GraphicsConverter.C:
640 * graphics/PreviewLoader.C: header adjustment
642 2003-05-23 Angus Leeming <leeming@lyx.org>
644 * LaTeXFeatures.[Ch] (useBabel): new method.
645 * bufferparams.C (writeLaTeX): use it.
647 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
649 * ParagraphList.h (set): remove unused function.
651 2003-05-23 André Pönitz <poenitz@gmx.net>
654 * BufferView_pimpl.C:
658 * undo_funcs.C: setUndo reworked
660 * iterators.[Ch]: add access to topmost ParagraphList
662 * lyxtext.[Ch] (workWidth): add a const
664 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
666 * texrow.[Ch] (increasePos): remove function
667 * exporter.C (export): removed unused var and outdated comment
669 2003-05-23 Angus Leeming <leeming@lyx.org>
671 * latexrunparams.h: rename fragile as moving_arg.
672 * paragraph.C (simpleTeXOnePar): ditto.
673 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
675 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
677 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
679 (textUndoOrRedo): comment out a currently unused var.
681 * paragraph.h (NO_NEXT): enable NO_NEXT
683 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
685 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
687 * exporter.C (Export): adjust for removeAutoInsets removal.
689 * buffer.C (runChktex): adjust for removeAutoInsets removal.
691 * LyXAction.C (init): remove LFUN_REMOVEERRORS
693 * BufferView.[Ch] (removeAutoInsets): delete function
695 2003-05-22 Angus Leeming <leeming@lyx.org>
697 * latexrunparams.h: add a free_spacing variable.
699 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
700 to pass moving_arg, as the data is stored in runparams.fragile.
702 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
703 to Inset::latexOptional or to simpleTeXOnePar.
705 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
706 free_spacing arg to Inset::latexOptional.
708 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
711 2003-05-22 Angus Leeming <leeming@lyx.org>
713 * latexrunparams.h: add fragile and use_babel variables.
715 * bufferparams.[Ch] (writeLaTeX): return use_babel.
716 * buffer.C (makeLaTeXFile): store this returned value in
717 runparams.use_babel, thus passing it to the inset::latex methods.
719 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
720 simpleTeXSpecialChars as it is now stored in runparams.fragile.
722 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
723 longer has a fragile arg, as it is stored in runparams.fragile.
725 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
726 moving_arg parameter as the data is stored in runparams.fragile.
728 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
729 a fragile parameter as the data is stored in runparams.fragile.
731 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
733 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
735 2003-05-22 Angus Leeming <leeming@lyx.org>
737 * latexrunparams.h: add a 'bool nice' which defaults to false.
739 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
740 now encapsulated within runparams.
742 * bufferlist.C (updateIncludedTeXfiles):
743 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
745 2003-05-22 Angus Leeming <leeming@lyx.org>
747 * latexrunparams.h: new file containing struct LatexRunParams.
748 * Makefile.am: add new file.
750 * LaTeX.[Ch] (c-tor, run):
751 * buffer.[Ch] (makeLaTeXFile):
752 * bufferlist.[Ch] (updateIncludedTeXfiles):
753 * converter.C (convert, scanLog):
754 * converter.[Ch] (runLaTeX):
755 * exporter.C (Export):
756 * paragraph.[Ch] (simpleTeXOnePar):
757 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
758 * paragraph_funcs.[Ch] (latexParagraphs):
759 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
760 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
761 pass around a LatexRunParams parameter.
763 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
765 * paragraph.[Ch]: remove unused constructor
767 * ParagraphList.C (erase): new function, taking two iterators
769 2003-05-22 André Pönitz <poenitz@gmx.net>
771 * undo_funcs.C: remove duplicated code
773 * iterator.[Ch]: operator=
775 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
777 * tabular.C (SetMultiColumn): ws changes
779 * rowpainter.C (paintFirst): get rid of a ->previous
781 * lyx_cb.C (getPossibleLabel): parlist simplification
783 * BufferView.C (ChangeInsets): simplify slightly.
785 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
787 * LyXAction.C: new lfun space-insert, kill protected-space-insert
788 * lfuns.h: new LFUN_SPACE
789 * lyxfunc.C: protected space has a new lfun
790 * paragraph_funcs.C: read new space insets
792 * factory.C: handle new space insets
794 2003-05-22 André Pönitz <poenitz@gmx.net>
797 * BufferView_pimpl.C:
800 * undo_funcs.C: return a ParIterator from getParFromID.
802 * iterators.[Ch]: add two const's
804 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
806 * toc.C (getTocList): adjust
808 * iterators.[Ch]: rework for parlist
810 * buffer.C (par_iterator_begin): adjust
811 (par_iterator_end): adjust
813 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
815 * BufferView.C (removeAutoInsets): adjust
816 (ChangeInsets): adjust
818 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
820 * text.C (top_y): fix bug 1110
822 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
824 * errorlist.[Ch]: added
827 * BufferView_pimpl.C:
828 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
831 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
833 * Makefile.am: ensure that lyx is relinked upon changes to the
834 various "convenience" libs.
836 2003-05-20 Angus Leeming <leeming@lyx.org>
838 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
839 files are compiled in alphabetical order again.
841 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
843 2003-05-19 Angus Leeming <leeming@lyx.org>
845 * gettext.[Ch]: remove "char const * _(char const *)".
847 2003-05-19 André Pönitz <poenitz@gmx.net>
849 * dimension.[Ch]: promote from mathed/dimension.[Ch]
858 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
860 2003-05-19 André Pönitz <poenitz@gmx.net>
866 * paragraph_funcs.[Ch]:
868 * text3.C: more insetenv work
870 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
872 * ParagraphParameters.C (params2string): small bug fixed
874 2003-05-16 André Pönitz <poenitz@gmx.net>
877 * bufferview_funcs.C: patch from Kornel Benko to prevent
878 crash when _(...) is called twice in a statement
880 2003-05-16 André Pönitz <poenitz@gmx.net>
887 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
889 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
891 * lyx_main.C (init): remove spurious static_cast
893 2003-05-14 André Pönitz <poenitz@gmx.net>
895 * BufferView.C: fix format string
897 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
899 * BufferView.[Ch] (insertErrors): removed
900 * BufferView.[Ch] (showErrorList): added
901 * buffer.C (runChkTeX):
902 * converter.C (scanLog): call showErrorList instead of inserterrors
904 2003-05-13 André Pönitz <poenitz@gmx.net>
906 * BufferView_pimpl.C:
915 * tabular_funcs.h: tostr() from its own header
917 * ParagraphParameters.C:
924 2003-05-12 André Pönitz <poenitz@gmx.net>
927 * BufferView_pimpl.C:
931 * ParagraphParameters.C:
935 * bufferview_funcs.C:
952 * text3.C: boost::format -> bformat all over the place
955 2003-05-09 André Pönitz <poenitz@gmx.net>
957 * LColor.[Ch]: Pimpl the #include <map> away
959 2003-05-09 John Levon <levon@movementarian.org>
961 * bufferlist.C: never remove emergency saves
963 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
965 * Makefile.am: better lib building
967 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
969 * texrow.[Ch]: remove dependency on Paragraph and just store a id
971 * paragraph_pimpl.C (simpleTeXBlanks): adjust
972 (simpleTeXSpecialChars): adjust
973 (simpleTeXSpecialChars): adjust
974 * paragraph.C (simpleTeXOnePar): adjust
975 * buffer.C (makeLaTeXFile): adjust
977 * Makefile.am (BOOST_LIBS): allow boost as system lib.
979 * text2.C (changeDepth): parlist cleanup
980 (getColumnNearX): ditto
982 * rowpainter.C (getLabelFont): parlist cleanup
984 * bufferlist.C (newFile): parlist cleanup
986 * CutAndPaste.C (eraseSelection): parlist cleanup
988 * BufferView_pimpl.C (trackChanges): parlist cleanup
991 * BufferView.C (lockInset): parlist cleanup.
992 (ChangeInsets): ditto
994 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
996 * CutAndPaste.h: Update file header.
998 * CutAndPaste.C: Update file header.
999 Store the parts cut out of the Document in a limited_stack.
1000 (copySelection): adjust
1001 (pasteSelection): new function, takes the index in the limited stack.
1002 (nrOfParagraphs): adjust
1003 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1004 simplify error inset insertion.
1005 (checkPastePossible): adjust
1007 2003-05-06 John Levon <levon@movementarian.org>
1009 * text2.C: don't cast wrap inset to float
1011 2003-05-05 André Pönitz <poenitz@gmx.net>
1014 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1016 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1017 few naked Paragraph *.
1019 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1021 * bufferparams.C: Output warning if a document with missing
1022 TeX document class is loaded
1023 * exporter.C: Disable TeX exports if the document class is missing
1026 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1027 isTeXClassAvailable()
1029 2003-05-03 John Levon <levon@movementarian.org>
1032 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1033 explicit cursor show/hide
1035 * BufferView_pimpl.h:
1036 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1037 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1039 * lyxfunc.C: hide cursor before dispatching.
1044 * text3.C: remove explicit cursor hides
1046 2003-05-02 André Pönitz <poenitz@gmx.net>
1048 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1051 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1054 * text2.C: tiny whitespace
1056 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1058 * undo_funcs.C: almost only ws changes.
1060 * ParagraphList.C (splice): just return if pl is empty.
1062 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1064 * ParagraphList.C (splice): new function.
1066 * CutAndPaste.C (pasteSelection): use it
1068 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1070 * CutAndPaste.C (pasteSelection): remove the last next and
1071 previous from this file.
1073 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1075 * CutAndPaste.C (pasteSelection): more clean up, user proper
1076 ParagraphList functions for pasteing.
1078 * ParagraphList.C (insert): new function, three arg insert
1080 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1082 * ParagraphList.C (insert): new function, three arg insert
1084 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1087 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1089 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1091 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1093 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1095 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1097 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1098 (copySelection): clean up a bit.
1099 (pasteSelection): use make_pair
1101 * ParagraphList.C (ParagraphList): implement copy constructor
1102 (operator=): implement, base on copy constructor.
1105 * paragraph.C (erase): return a bool
1107 * paragraph_pimpl.C (erasePos): remove function, move contents...
1108 (erase): ... here. Return a bool.
1109 (erase): call erase instead of erasePos.
1111 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1113 * ParagraphList.h: define PitPosPair
1114 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1115 ParagraphList, fix a bug on pasting multiple pars
1116 * text2.C: change interface to C&P
1118 2003-04-30 André Pönitz <poenitz@gmx.net>
1120 * undo_func.C: revert part of yesterday's patch 2
1122 2003-04-30 John Levon <levon@movementarian.org>
1124 * LColor.C: s/tabular/table/
1126 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1128 * text3.C (dispatch): do not convert iterator -> pointer
1129 * undo_funcs.C (setCursorParUndo): ditto
1130 * text_funcs.C (transposeChars): ditto
1132 * text2.C (setLayout): ws changes only
1134 * text.C (breakParagraph): do not convert iterator -> pointer
1136 (acceptChange): ditto
1137 (rejectChange): ditto
1142 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1145 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1147 * text3.C (gotoInset): YABG (yet another bad getChar)
1149 2003-04-29 André Pönitz <poenitz@gmx.net>
1151 * paragraph.h: make operator= private unimplemented as long as
1154 * ParagraphList.C: whitespace
1157 * paragraph_pimpl.[Ch]:
1158 * paragraph_funcs.C:
1160 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1163 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1165 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1167 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1168 * paragraph.[Ch] (erase):
1169 * paragraph_pimpl.[Ch] (erase): change return type and value
1170 * text2.C (cutSelection): some rework
1172 2003-04-28 John Levon <levon@movementarian.org>
1174 * bufferlist.C: changes for unsaved changes dialog
1176 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1178 * bufferlist.C (newFile): set language (messages_) for new
1181 * buffer.C (readFile): ws changes only.
1183 2003-04-28 André Pönitz <poenitz@gmx.net>
1188 * BufferView_pimpl.C:
1189 * BufferView.C: getParFromID related ParagraphList::iterator changes
1191 2003-04-28 André Pönitz <poenitz@gmx.net>
1193 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1196 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1198 * messages.C: remove one more localedir class variable.
1200 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1202 * messages.C (getLocaleDir): singleton generation function
1204 (Messages): add a default constructor.
1206 * main.C (main): do not setup localedir here, do not call
1209 * gettext.C (_): use it.
1210 (gettext_init): delete funciton
1212 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1214 * gettext.C (getLyXMessages): new singleton generating function.
1216 * buffer.C (updateDocLang): adjust
1218 * Makefile.am (messages.o): add target
1219 (main.o): remove target
1221 2003-04-27 John Levon <levon@movementarian.org>
1226 * lyxvc.C: specify cancel button in Alert::prompt
1228 2003-04-26 John Levon <levon@movementarian.org>
1233 * LyXAction.C: add LFUN_INSET_SETTINGS
1235 * lyxfunc.C: don't enable tabular-feature when there's
1236 just any locking inset
1238 2003-04-26 John Levon <levon@movementarian.org>
1240 * bufferlist.C: re-add Cancel to buffer close question
1242 * lyxfunc.C: fix import UI a bit
1244 2003-04-25 John Levon <levon@movementarian.org>
1246 * gettext.C: remove the broken asserts for now
1248 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1250 * messages.C: make case where setlocale cannot comply work better.
1252 * buffer.C (updateDocLang): new function
1253 (changeLanguage): use it
1256 * text2.C (setCounter): use B_ a bit.
1258 * lyxlayout.C (Read): be sure to trim the label strings.
1260 * messages.C (Messages): fix typo in comment
1262 * buffer.C (readFile): set message_ after file is loaded.
1263 (makeDocBookFile): remove double return
1264 (changeLanguage): reset message_ upon language change.
1265 (B_): new func, use this to get translated buffer strings.
1267 * main.C: add myself and Jean Marc as authors.
1269 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1271 * messages.[hC]: pimplify Messages, and three different pimpls to be
1272 used in different circumstances.
1274 * gettext.[Ch]: change for use with new message code.
1276 2003-04-24 André Pönitz <poenitz@gmx.net>
1278 * factory.C: support for eqref
1280 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1282 * messages.[Ch]: add missing char
1284 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1286 * messages.[Ch]: New files
1288 2003-04-18 John Levon <levon@movementarian.org>
1292 * BufferView_pimpl.C:
1296 * text2.C: remove layout-copy/paste (bug 778)
1298 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1300 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1302 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1304 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1305 if they succeed. Act accordingly.
1307 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1309 * text2.C (setCharFont): adjust
1310 (setCounter): adjust
1311 (insertStringAsLines): adjust
1313 * text.C (leftMargin): adjust
1314 (setHeightOfRow): adjust
1316 * rowpainter.C (paintFirst): adjust
1319 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1321 (isFirstInSequence): ditto
1322 (getEndLabel): ditto
1325 * paragraph.C (getParLanguage): comment out some hard stuff.
1327 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1329 (simpleDocBookOnePar): ditto
1330 (makeDocBookFile): use ParagraphList::iterator
1332 * CutAndPaste.C (pasteSelection): adjust
1334 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1336 * text2.C (getFont): adjust
1337 (getLayoutFont): adjust
1338 (getLabelFont): adjust
1340 * paragraph_funcs.C (TeXOnePar): adjust
1342 * buffer.C (simpleLinuxDocOnePar): adjust
1343 (simpleDocBookOnePar): adjust
1345 * CutAndPaste.C (pasteSelection): adjust
1347 * BufferView.C (getEncoding): adjust
1349 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1351 2003-04-16 John Levon <levon@movementarian.org>
1353 * lyxfind.C: use parlist stuff for search/changes
1355 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1357 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1359 * text2.C (deleteEmptyParagraphMechanism): adjust
1361 * text2.[Ch] (ownerParagraph): delete func (both of them
1363 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1365 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1367 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1369 * ParagraphList.C: prepare for NO_NEXT
1371 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1373 * text2.C (getFont): adjust
1374 (getLayoutFont): adjust
1375 (getLabelFont): adjust
1377 * paragraph.C (getFont): adjust
1378 (getLabelFont): adjust
1379 (getLayoutFont): adjust
1381 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1383 2003-04-15 John Levon <levon@movementarian.org>
1387 * lyx_main.C: handle Include in .ui files
1389 2003-04-15 John Levon <levon@movementarian.org>
1391 * MenuBackend.C: make the doc files length shorter
1394 * ToolbarBackend.C: handle toolbar placement flags,
1397 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1399 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1402 * paragraph_funcs.C (TeXOnePar): adjust
1404 * paragraph.C (getLabelFont): add outerfont arg, adjust
1405 (getLayoutFont): ditto
1406 (simpleTeXOnePar): adjust
1408 * paragraph_pimpl.C (realizeFont): delete func
1410 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1412 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1413 row argument, constify cur argument.
1415 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1417 * text2.C (getFont): adjust
1418 (getLayoutFont): adjust
1419 (getLabelFont): adjust
1421 * paragraph_funcs.C (TeXOnePar): adjust
1422 (outerFont): new func...
1423 (realizeFont): ...moved out from here, changed this to facilitate
1426 * paragraph.C (getFont): take outerfont as arg, adjust
1427 (simpleTeXOnePar): add outerfont arg, adjust
1429 * buffer.C (simpleLinuxDocOnePar): adjust
1430 (simpleDocBookOnePar): adjust
1432 * CutAndPaste.C (pasteSelection): adjust
1434 * BufferView.C (getEncoding): adjust
1436 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1438 * text2.C (setCharFont): adjust
1439 (setCounter): adjust
1441 * text.C (leftMargin): adjust
1442 (setHeightOfRow): adjust
1444 * rowpainter.C (paintFirst): adjust
1447 * paragraph_pimpl.C (realizeFont): adjust
1449 * paragraph.C (isFirstInSequence): move from here...
1450 * paragraph_funcs.C (isFirstInSequence): ...to here
1452 * paragraph.C (outerHook): move from here...
1453 * paragraph_funcs.C (outerHook): ...to here
1455 * paragraph.C (depthHook): move from here...
1456 * paragraph_funcs.C (depthHook): ...to here
1458 * paragraph.C (getEndLabel): move from here...
1459 * paragraph_funcs.C (getEndLabel): ...to here
1461 * text2.C (realizeFont): move from here...
1462 * paragraph_funcs.C (realizeFont): ...to here
1464 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1466 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1468 2003-04-14 Angus Leeming <leeming@lyx.org>
1470 * LColor.[Ch]: scrap LColor mathcursor.
1472 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1474 * lyxlex.[Ch] (text): delete function
1475 * trans.C (Load): adjust
1476 * paragraph_funcs.C (readParToken): adjust
1478 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1480 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1481 vector<char> instead of a char[].
1483 * lyxlex_pimpl.C (getString): adjust
1485 (lex): use getString
1489 * lyxlex.C (text): use pimpl_->getString()
1493 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1495 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1496 (makeFontEntriesLayoutSpecific): temp var for par.size()
1497 (setLayout): temp var for ownerParagraphs().end()
1498 (fullRebreak): temp var for rows().end()
1499 (selectionAsString): temp var for boost::next(startpit), realize
1500 that the while really is a regular for loop.
1501 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1502 setCursor in one place.
1503 (setParagraph): temp vr for ownerParagraphs().end()
1504 (updateCounters): make the while loop a for loop
1505 (cutSelection): temp var for ownerParagraphs().end()
1506 (updateInset): make the do {} while() a regular for loop
1507 (getCursorX): use temp vars
1508 (setCurrentFont): use temp vars
1509 (getColumnNearX): use temp vars
1511 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1513 * text.C (transformChar): use temp var for getChar
1514 (computeBidiTables): use temp var for row->par()
1515 (fill): move temp vars for row->par() and pit->layout() earlier in
1517 (labelFill): use temp var for row->par()
1518 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1519 asc and desc, realize that pit never changes and that firstpit is
1520 just a duplicate and not needed. Exchange rit->par() with pit in a
1522 (breakAgain): use a temp var for boost::next(rit)
1523 (breakAgainOneRow): ditto
1524 (breakParagraph): use a temp var for rows().begin()
1525 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1526 (cursorRightOneWord): use temp var for cursor.par() and
1527 cursor.pos(), remove usage of tmpcursor.
1528 (cursorLeftOneWord): use temp var for cursor.par() and
1529 cursor.pos() only set cur at end of function.
1531 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1533 * text.C, text2.C: exchange all usage of Paragraph::next with
1534 boost::next(ParagraphList::iterator)
1536 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1538 * text2.C (cursorTop): simplify implementation
1539 (cursorBottom): ditto
1540 (setParagraph): use ParagraphList::iterator
1541 (setCurrentFont): adjust
1542 (getColumnNearX): adjust
1543 (cursorRight): adjust
1544 (cursorLeft): remove usage of Paragraph::previous
1545 (cursorUpParagraph): ditto
1546 (deleteEmptyParagraphMechanism): slight cleanup
1548 * text.C (isBoundary): take a Paragraph const & instead of a
1550 (addressBreakPoint): ditto
1551 (leftMargin): remove usage of Paragraph::previous.
1552 (setHeightOfRow): ditto
1553 (cursorLeftOneWord): ditto
1554 (selectNextWordToSpellcheck): ditto
1557 (breakParagraph): remove one usage of Paragraph::next
1558 (redoParagraph): ditto
1559 (acceptChange): ditto
1560 (insertChar): adjust
1561 (rowBreakPoint): adjust
1563 * bufferview_funcs.C (toggleAndShow): adjust
1565 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1567 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1568 methods to access it.
1570 * text.C: Added updateRowPositions to compute all row positions.
1571 Make top_y and getRowNearY() to use the cached y position
1573 2003-04-11 John Levon <levon@movementarian.org>
1575 * text.C (rowBreakPoint): reintroduce the labelEnd
1576 checks, code copied from the row fill stuff. Deep voodoo.
1578 * text.C (fill): add a comment and debugging for the
1581 2003-04-11 John Levon <levon@movementarian.org>
1583 * text.C: make sure fullrow insets get wrapped to the next line,
1584 even when they're in a manual label
1586 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1588 * text2.C (insertParagraph): make it take ParagraphList::iterator
1590 (setLayout): make it return ParagraphList::iterator
1591 (redoParagraphs): ditto
1593 (checkParagraph): ditto
1595 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1597 * text2.C: adjust several funcs.
1598 (realizeFont): take a ParagraphList::iterator as arg.
1599 (getLayoutFont): ditto
1600 (getLabelFont): ditto
1601 (setCharFont): ditto
1603 * text.C: adjust several funcs.
1605 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1607 * text.C (selectNextWordToSpellcheck): don't accidentally
1610 2003-04-10 John Levon <levon@movementarian.org>
1612 * ToolbarBackend.C (getIcon): special handling for
1615 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1617 * text2.C (cursorRight): a getChar assert fixed
1619 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1621 * text2.C (getFont): change to take a ParagraphList::iterator
1622 instead of Paragraph*
1623 Adjust several functions.
1625 * text.C (transformChar): change to take a ParagraphList::iterator
1626 instead of Paragraph*
1627 (singleWidth): ditto
1628 Adjust several functions.
1630 * rowpainter.C: adjust several functions
1631 * rowpainter.h:store a ParagraphList::iterator and not a
1635 2003-04-09 John Levon <levon@movementarian.org>
1640 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1641 and the "help" bits as well
1643 2003-04-09 John Levon <levon@movementarian.org>
1646 * ToolbarBackend.C: allow multiple toolbars
1648 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1650 * undo_funcs.C (setCursorParUndo): adjust
1652 * text_funcs.C (transposeChars): adjust
1654 * text3.C (gotoNextInset): adjust
1657 * text2.C (setLayout): adjust
1658 (changeDepth): adjust
1660 (redoParagraphs): adjust
1661 (selectionAsString): adjust
1662 (setParagraph): adjust
1663 (insertInset): adjust
1664 (cutSelection): adjust
1665 (copySelection): adjust
1666 (pasteSelection): adjust
1667 (insertStringAsLines): adjust
1668 (updateInset): adjust
1669 (setCursor): change to take a ParagraphList::iterator parameter
1670 (setCursorIntern): change to take a ParagraphList::iterator parameter
1671 (setCurrentFont): adjust
1672 (cursorLeft): adjust
1673 (cursorRight): adjust
1674 (deleteEmptyParagraphMechanism): adjust
1676 * text.C (breakParagraph): adjust
1677 (insertChar): adjust
1678 (acceptChange): adjust
1679 (rejectChange): adjust
1680 (selectNextWordToSpellcheck): adjust
1681 (changeCase): adjust
1685 * lyxfind.C (SearchForward): adjust
1686 (SearchBackward): adjust
1687 (nextChange): adjust
1689 * lyxcursor.C (par): adjust
1691 * lyxcursor.h: store a ParagraphList::iterator instead of a
1694 * lyx_cb.C (getPossibleLabel): adjust
1696 * bufferview_funcs.C (toggleAndShow): adjust
1698 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1701 * BufferView.C (removeAutoInsets): adjust
1702 (lockedInsetStoreUndo): adjust
1704 2003-04-09 John Levon <levon@movementarian.org>
1706 * ToolbarBackend.C: try icon without argument
1707 if with argument fails
1709 2003-04-08 John Levon <levon@movementarian.org>
1712 * ToolbarBackend.C: add getIcon(), handle tooltip,
1713 and change from "Icon" to "Item".
1715 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1717 * BufferView.C (lockInset): another bad getchar crunched
1719 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1721 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1724 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1726 * lyxfind.C (searchForward, searchBackwards): bug 782
1728 2003-04-07 John Levon <levon@movementarian.org>
1730 * paragraph.C: remove dead comment
1732 * text.C: remove troublesome depth-fiddling code
1733 in leftMargin() and rightMargin() (bug 1017)
1735 * text.C: fix breaking of rows in nested lists
1738 * text2.C (updateCounters): fix up depth values
1741 2003-04-07 John Levon <levon@movementarian.org>
1743 * BufferView_pimpl.C: clear message when doc finishes resizing,
1744 and after a mouse event
1746 * lyxfunc.C: clear message after exiting inset
1748 2003-04-07 John Levon <levon@movementarian.org>
1750 * bufferview_funcs.C: show math status not outside
1751 status in the statusbar
1753 2003-04-07 John Levon <levon@movementarian.org>
1755 * lyxfunc.C: note status changed after a depth change
1757 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1759 * LaTeX.h: move AuxInfo operator==, != out of line.
1760 Remove LaTeX virtual destructor; nothing derives from it.
1761 Move operator()() out of public area and rename it startscript().
1762 Change protected for private.
1764 2003-04-04 Angus Leeming <leeming@lyx.org>
1767 * text2.C: remove unneeded #includes.
1769 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1771 * text2.C (dEPM): fix the heigth of the next row
1773 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1775 * text.C: squashed an invalid getChar requester + some ws changes
1777 2003-04-03 John Levon <levon@movementarian.org>
1779 * bufferview_funcs.h:
1780 * bufferview_funcs.C:
1783 * text2.C: make getStatus work for the env depth lfuns
1785 2003-04-03 John Levon <levon@movementarian.org>
1787 * bufferview_funcs.h:
1788 * bufferview_funcs.C:
1791 * text2.C: parlistize decDepth(), by merging it with incDepth()
1793 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1795 * lyxrow.h: store a ParagraphList::iterator instead of a
1796 Paragraph* and adjust other class functions to suit.
1798 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1801 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1803 * text2.C (setCursor): do not anchor to cursor row for the time being
1805 2003-04-02 John Levon <levon@movementarian.org>
1812 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1814 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1816 * paragraph.h: make ParagraphList and ParagraphList::iterator
1817 friends of Paragraph.
1819 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1821 * ParagraphList.C: Use the private next_ and previous_ from
1824 2003-04-01 John Levon <levon@movementarian.org>
1828 * Makefile.am: rename, remove defaults gunk
1831 * MenuBackend.C: remove defaults gunk
1834 * Languages.C: remove defaults gunk
1837 * lyx_main.C: error out if files couldn't be found.
1839 2003-04-02 John Levon <levon@movementarian.org>
1841 * text2.C: make incDepth() use parlist
1843 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1845 * undo_funcs.C (firstUndoParagraph): adjust
1847 * text3.C (gotoInset): adjust
1848 (dispatch): adjust, and rewrite loop.
1850 * text2.C (init): adjust, and rewrite loop.
1851 (redoParagraphs): adjust
1852 (updateInset): adjust, and rewrite loop.
1853 (deleteEmptyParagraphMechanism): adjust
1855 * tabular.C (LyXTabular): adjust
1856 (SetMultiColumn): adjust
1859 * lyxtext.[Ch] (ownerParagraph): delete function
1860 (ownerParagraphs): new function returns a ParagraphList.
1862 * BufferView.C (removeAutoInsets): adjust
1863 (insertErrors): adjust
1864 (setCursorFromRow): adjust
1866 2003-04-01 Angus Leeming <leeming@lyx.org>
1868 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1871 2003-04-02 John Levon <levon@movementarian.org>
1877 * text_funcs.C: make transposeChars a free function
1879 * lyxrow_funcs.C: remove wrong comment
1881 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1884 * rowpainter.C: adjust
1889 * lyxrow_funcs. [Ch]: new files
1891 * lyxrow.[Ch]: remove next and previous pointers
1892 (next,previous): remove accessor functions
1893 (isParEnd): move to lyxrow_funcs
1894 (lastPos): move to lyxrow_funcs
1895 (nextRowIsAllInset): move to lyxrow_funcs
1896 (lastPrintablePos): move to lyxrow_funcs
1897 (numberOfSeparators): move to lyxrow_funcs
1898 (numberOfHfills): move to lyxrow_funcs
1899 (numberOfLabelHfills): move to lyxrow_funcs
1900 (hfillExpansion): move to lyxrow_funcs
1904 * bufferview_funcs.C (toggleAndShow): adjust
1906 * RowList.h: Remove class RowList from file leave just a
1909 * RowList.C: delete file
1911 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1914 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1916 * text3.C (cursorPrevious): adjust
1917 (cursorNext): adjust
1920 * text2.C (redoHeightOfParagraph): adjust
1921 (redoDrawingOfParagraph): adjust
1924 * text.C (breakParagraph): adjust
1925 (insertChar): adjust
1928 * rowpainter.C (RowPainter): adjust
1929 (leftMargin): simplify and adjust
1930 (most rowpainter functions): adjust.
1932 * rowpainter.h: store the row as RowList::iterator not as Row*
1934 * lyxcursor.C (row): taka RowList::iterator as arg
1937 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1940 2003-04-01 Angus Leeming <leeming@lyx.org>
1942 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1943 stuff like bool Bool.
1945 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1947 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1950 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1952 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1955 * lyxtext.h (rows): drop one version and leve a const variant that
1956 returns a RowList::iterator.
1958 2003-03-31 Angus Leeming <leeming@lyx.org>
1960 * text.C (fill): ensure that the signature is the same as that in the
1963 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1965 * text2.C (redoParagraphs): adjust
1966 (updateCounters): adjust
1967 (checkParagraph): adjust
1968 (getColumnNearX): adjust and reformat a bit.
1970 * text.C (top_y): adjust
1972 (leftMargin): adjust
1973 (prepareToPrint): adjust
1975 (getRowNearY): adjust
1977 * lyxtext.h: make rowlist_ mutable.
1979 * RowList.h: add const_iterator
1980 * RowList.C: adjust for RowList::const_iterator.
1982 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1985 2003-03-31 John Levon <levon@movementarian.org>
1988 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1990 * lyx_main.C: set default fonts from using lyx_gui funcs
1992 * exporter.C: pdf_mode moved from lyxrc
1995 * lyxfunc.C: changes from above
1997 2003-03-31 John Levon <levon@movementarian.org>
1999 * lyx_main.C: fix to the last fix
2001 2003-03-31 John Levon <levon@movementarian.org>
2003 * bufferlist.C: "Load original" -> "Load Original"
2009 * format.C: more Alert cleanups
2011 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2013 * text2.C (removeParagraph): make it take a RowList::iterator as
2015 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2016 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2018 * text.C (anchor_row): make it take a RowList::iterator as arg,
2020 (computeBidiTables): make it take a const reference to Row instead
2021 of Row pointer, adjust.
2022 (leftMargin): make it take a RowList::iterator as arg, adjust.
2023 (rowBreakPoint): adjust
2024 (breakAgainOneRow): make it take a RowList::iterator as arg,
2026 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2028 * bufferview_funcs.C (toggleAndShow): adjust
2030 2003-03-30 John Levon <levon@movementarian.org>
2034 * boost-inst.C: moved to support
2036 * several files: changes as a result
2038 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2040 * text2.C (LyXText): adjust.
2042 (removeRow): make it take a RowList::iterator as arg, adjust.
2043 (fullRebreak): adjust
2044 (deleteEmptyParagraphMechanism): adjust
2045 (clearPaint): adjust
2048 * text.C (top_y): adjust
2049 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2050 (breakAgain): make it take a RowList::iterator as arg, adjust.
2051 (breakParagraph): adjust
2052 (insertChar): adjust
2055 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2056 need_break_row, and refresh_row.
2058 * text3.C (dispatch): adjust
2060 * text2.C (checkParagraph): adjust
2062 (setCursorFromCoordinates): adjust
2064 * text.C (top_y): adjust
2066 (getRow): make it return a RowList::iterator, adjust
2067 (getRowNearY): make it return a RowList::iterator, adjust
2069 * text2.C (init): adjust
2070 (insertRow): remove function
2071 (insertParagraph): adjust
2072 (redoParagraphs): adjust
2073 (fullRebreak): adjust
2074 (updateCounters): adjust
2076 * text.C (top_y): rewrite to use RowList iterators.
2078 (setHeightOfRow): rewrite to sue RowList iterators.
2079 (appendParagraph): adjust
2080 (breakAgain): adjust
2081 (breakAgainOneRow): adjust
2082 (breakParagraph): adjust
2084 (getRowNearY): adjust, and remove commented code.
2086 * lyxtext.h (firstRow): delete function
2087 (lastRow): delete function
2088 (rows): new function (const and non-const versions.)
2089 (insertRow): delete function
2091 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2093 2003-03-29 John Levon <levon@movementarian.org>
2095 * BufferView_pimpl.C: always update scrollbar top
2096 because pasting text when we're anchored could mean we
2097 miss an update altogether
2099 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2101 * text2.C (init): use rowlist_.end() and not 0.
2102 (insertRow): change to take a RowList::iterator as arg, adjust
2104 (insertParagraph): change to take a RowList::iterator as arg,
2106 (redoParagraphs): remove some debug msgs.
2108 * text.C (appendParagraph): change to take a RowList::iterator
2109 arg, adjust for this.
2110 (breakAgain): add an assert
2111 (breakAgainOneRow): ditto
2113 2003-03-29 John Levon <levon@movementarian.org>
2115 * text2.C: do not clear selection after inc/decDepth
2118 2003-03-29 John Levon <levon@movementarian.org>
2121 * buffer.C: fix broken strerrors according to Lars
2123 2003-03-29 John Levon <levon@movementarian.org>
2125 * converters.C: more Alert cleanups
2127 2003-03-29 John Levon <levon@movementarian.org>
2129 * bufferview_funcs.C: remove pointless Alert
2131 * buffer.C: fix confusing error message when
2132 a template is chmoded 000
2134 2003-03-29 John Levon <levon@movementarian.org>
2138 * BufferView_pimpl.C: Alert fixes
2142 * tabular-old.C: remove unused table compat reading
2144 2003-03-29 John Levon <levon@movementarian.org>
2149 * lyx_cb.C: more Alert cleanups
2151 * lyxfunc.C: don't allow chktex if not latex document
2153 2003-03-29 John Levon <levon@movementarian.org>
2157 * buffer.C: warnings pushed down from support/,
2160 2003-03-29 John Levon <levon@movementarian.org>
2162 * lyxfunc.C: safety check for C-r (revert)
2164 2003-03-29 John Levon <levon@movementarian.org>
2167 * bufferlist.C: several UI fixes using Alert::prompt.
2168 Fix the pointless looping quit code. Fix stupid revert
2173 * lyx_cb.C: use Alert::prompt
2175 * lyx_main.C: remove a silly question
2177 * lyxfunc.C: remove a couple of silly questions,
2180 2003-03-28 John Levon <levon@movementarian.org>
2182 * text2.C: fix bug 974 (End on empty par)
2184 2003-03-28 John Levon <levon@movementarian.org>
2186 * BufferView_pimpl.C:
2188 * lfuns.h: remove do-nothing math greek lfuns
2190 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2192 * lyxgluelength.h (isValidGlueLength): add default arg on
2193 parameter 2. Remove default arg from friend in class.
2195 * lyxlength.h (isValidLength): add default arg on parameter 2.
2196 Remove default arg from friend in class.
2198 * text2.C (LyXText): adjust, initialize refresh_row.
2202 (insertParagraph): adjst
2203 (redoParagraphs): adjust
2204 (fullRebreak): adjust
2205 (updateCounters): adjust
2206 (deleteEmptyParagraphMechanism): first attempt at fixing a
2209 * text.C (top_y): adjust
2210 (setHeightOfRow): adjust
2212 (getRowNearY): adjust
2214 * lyxtext.h: include RowList.h
2215 (~LyXText): not needed anymore, deleted.
2216 (firstRow): modify for RowList
2217 (lastRow): new function
2218 Delete firstrow and lastrow class variables, add a Rowlist
2219 rowlist_ class variable.
2221 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2224 * RowList.C (insert): fix case where it == begin().
2226 2003-03-26 Angus Leeming <leeming@lyx.org>
2228 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2229 the thesaurus dialog.
2231 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2233 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2235 * RowList.[Ch]: new files
2237 * ParagraphList.C (erase): handle the case where it == begin
2240 2003-03-25 John Levon <levon@movementarian.org>
2244 * aspell.C: add new aspell support
2247 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2250 2003-03-25 Angus Leeming <leeming@lyx.org>
2253 * LyXAction.C (init): new LFUN_INSET_INSERT.
2255 * BufferView_pimpl.C (dispatch): split out part of the
2256 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2258 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2261 2003-03-25 Angus Leeming <leeming@lyx.org>
2263 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2265 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2268 * text3.C: remove useless row->height(0)
2270 2003-03-25 John Levon <levon@movementarian.org>
2274 * text3.C: rename the refreshing stuff to better names
2276 2003-03-24 John Levon <levon@movementarian.org>
2278 * BufferView_pimpl.h:
2279 * BufferView_pimpl.C: update layout choice on a mouse
2282 2003-03-23 John Levon <levon@movementarian.org>
2284 * Makefile.am: fix commandtags.h reference
2286 2003-03-22 John Levon <levon@movementarian.org>
2288 * BufferView_pimpl.C:
2293 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2295 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2298 * text.C: take the rtl methods out of line
2300 2003-03-21 André Pönitz <poenitz@gmx.net>
2302 * metricsinfo.[Ch]: new files containing structures to be passed around
2303 during the two-phase-drawing...
2305 2003-03-21 André Pönitz <poenitz@gmx.net>
2307 * lyxtextclass.C: read 'environment' tag.
2309 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2311 * text2.C (removeRow): fix bug 964
2313 2003-03-20 John Levon <levon@movementarian.org>
2317 * text2.C: paint cleanups. Inset::update() dropped font
2320 2003-03-19 John Levon <levon@movementarian.org>
2322 * lyxfunc.C: only fitcursor/markDirty if available()
2324 2003-03-19 John Levon <levon@movementarian.org>
2326 * commandtags.h: rename to ...
2328 * lfuns.h: ... this, and renumber / cleanup
2330 2003-03-19 John Levon <levon@movementarian.org>
2332 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2333 fit the cursor after an lfun
2337 * BufferView_pimpl.h:
2338 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2340 * LyXAction.C: layout-character should have ReadOnly
2342 * ParagraphParameters.C:
2344 * bufferview_funcs.C:
2351 * undo_funcs.C: changes from above
2353 2003-03-18 John Levon <levon@movementarian.org>
2355 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2356 remove it from update()
2358 * lyxfunc.C: update layout choice after an lfun
2360 * text3.C: remove extra updateLayoutChoice()s
2362 2003-03-18 John Levon <levon@movementarian.org>
2364 * text.C: top_y change means full repaint, fix
2365 a drawing bug with cursor movement
2367 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2371 * text2.C: anchor row on setCursor
2373 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2375 * lyxtext.h: remove almost all mutable keywords
2378 * text3.C: remove const keywords accordingly
2380 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2382 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2384 (TeXEnvironment): ditto
2387 2003-03-17 John Levon <levon@movementarian.org>
2389 * text.C (rowBreakPoint): remove attempt to fix displayed
2390 math insets inside a manual label
2392 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2394 * lyxtext.h: remove BufferView* as first arg from almost all class
2396 * other files: adjust.
2398 2003-03-17 John Levon <levon@movementarian.org>
2402 * text2.C: more paint cleanups
2404 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2407 * rowpainter.C: remove "smart" background painting code
2409 2003-03-16 John Levon <levon@movementarian.org>
2414 * text3.C: add helper functions for setting refresh_row/y
2416 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2418 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2419 newline inset which *can* get inserted in the pass_thru layouts.
2420 This is primarily for literate documents.
2422 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2424 * buffer.C: increment LYX_FORMAT to 223
2426 2003-03-14 André Pönitz <poenitz@gmx.net>
2428 * textclass.h: prepare for environment handling, ws changes
2429 * lyxlayout.C: read latexheader and latexfooter tags
2431 2003-03-14 John Levon <levon@movementarian.org>
2433 * text2.C: rewrite ::status() a bit
2435 2003-03-13 John Levon <levon@movementarian.org>
2437 * lyxtext.h: add some docs
2439 2003-03-13 John Levon <levon@movementarian.org>
2444 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2446 2003-03-13 John Levon <levon@movementarian.org>
2448 * text3.C: fix appendix redrawing
2450 2003-03-13 John Levon <levon@movementarian.org>
2452 * text.C (setHeightOfRow):
2454 * rowpainter.C: make appendix mark have the text
2455 "Appendix" so the user knows what it is
2458 * LColor.C: s/appendixline/appendix/ from above
2460 2003-03-13 John Levon <levon@movementarian.org>
2462 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2464 * text.C: fix a getChar(pos) bug properly
2466 2003-03-13 Angus Leeming <leeming@lyx.org>
2469 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2470 Probably only temporary. Let's see how things pan out.
2472 * BufferView.C (unlockInset):
2473 * BufferView_pimpl.C (fitCursor):
2474 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2476 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2477 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2479 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2480 new functions that convert ParagraphParameters to and from a string.
2482 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2483 BufferView::Pimpl's dispatch.
2484 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2486 2003-03-13 André Pönitz <poenitz@gmx.net>
2490 * factory.C: make it aware of InsetEnv
2492 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2494 * text2.C (setCursor): never ask for one past last
2495 (setCursor): add some debugging messages.
2497 * text.C (singleWidth): never ask for one past last
2498 (singleWidth): ditto
2500 (rightMargin): ditto
2501 (rowBreakPoint): ditto
2502 (setHeightOfRow): ditto
2503 (prepareToPrint): ditto
2505 * rowpainter.C (paintBackground): never ask for one past last
2506 (paintText): never ask for one past last
2508 * paragraph_pimpl.C (getChar): make the assert stricter, never
2509 allow the one past last pos to be taken
2511 * paragraph.C (getChar): ws changes only
2513 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2514 (numberOfSeparators): ditto
2515 (numberOfHfills): ditto
2517 2003-03-12 John Levon <levon@movementarian.org>
2523 * paragraph_funcs.C: fix per-buffer authorlists
2525 2003-03-12 John Levon <levon@movementarian.org>
2527 * text.C: fix newline in right address
2529 2003-03-12 Angus Leeming <leeming@lyx.org>
2531 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2532 duplicate those in LyXFunc::dispatch.
2536 * ToolbarDefaults.C:
2537 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2538 Add LFUN_FONTFREE_UPDATE.
2540 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2541 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2543 * bufferview_func.[Ch]: several new functions to facilliate
2544 transfer of data to and from the character dialog.
2546 2003-03-12 John Levon <levon@movementarian.org>
2551 * paragraph_funcs.C:
2552 * paragraph_pimpl.C:
2556 * text3.C: remove META_NEWLINE in favour of an inset
2559 * rowpainter.C: remove paintNewline (done by inset)
2561 2003-03-12 John Levon <levon@movementarian.org>
2563 * paragraph_pimpl.C: complain about bad getChar()s
2564 for a while at least
2566 2003-03-12 John Levon <levon@movementarian.org>
2569 * buffer.C: move paragraph read into a separate function,
2570 a little renaming to reflect that.
2573 * bufferparams.C: remove the author_ids map, not necessary now
2576 * factory.C: moved Buffer::readInset to here
2578 * paragraph_funcs.h:
2579 * paragraph_funcs.C: readParagraph free function moved from
2582 * tabular.C: name change
2584 2003-03-12 John Levon <levon@movementarian.org>
2587 * ParagraphParameters.C: move par params input to
2590 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2591 behave like a normal read from the stream wrt reading
2592 a line vs. a \\token
2594 2003-03-12 John Levon <levon@movementarian.org>
2597 * ParagraphParameters.h:
2598 * ParagraphParameters.C: move output code to a
2601 2003-03-12 John Levon <levon@movementarian.org>
2603 * BufferView.C (insertLyXFile):
2606 * tabular.C: use a parlist iterator for creating the
2609 2003-03-12 John Levon <levon@movementarian.org>
2611 * buffer.C: make current_change static local not
2614 2003-03-12 John Levon <levon@movementarian.org>
2616 * buffer.C: fix insertStringAsLines for change tracking
2618 2003-03-12 John Levon <levon@movementarian.org>
2625 * bufferparams.C: move author list into params. Rename some
2626 functions. Move the header reading into a separate token
2627 loop. Move the header token reading into BufferParams.
2629 2003-03-12 John Levon <levon@movementarian.org>
2631 * changes.C: put debug inside lyxerr.debugging() checks
2633 2003-03-11 André Pönitz <poenitz@gmx.net>
2635 * factory.C: make it aware of InsetHFill
2637 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2639 * buffer.C (latexParagraphs): move function from here...
2640 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2643 2003-03-10 Angus Leeming <leeming@lyx.org>
2645 * LyXAction.C (init): fix bug in poplating array with multiple entries
2646 with the same LFUN (spotted by JMarc).
2648 2003-03-10 John Levon <levon@movementarian.org>
2651 * text2.C: move getColumnNearX() near its
2654 2003-03-10 John Levon <levon@movementarian.org>
2656 * text.C: fix break before a minipage
2658 2003-03-10 John Levon <levon@movementarian.org>
2660 * text.C: fix the last commit
2662 2003-03-09 John Levon <levon@movementarian.org>
2666 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2667 bug 365 (don't break before insets unless needed). Don't
2668 return a value > last under any circumstances.
2670 2003-03-09 Angus Leeming <leeming@lyx.org>
2672 * BufferView_pimpl.C (trackChanges, dispatch): call
2673 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2675 2003-03-09 Angus Leeming <leeming@lyx.org>
2677 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2678 than Dialogs::showAboutlyx().
2680 2003-03-09 Angus Leeming <leeming@lyx.org>
2682 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2683 than Dialogs::showTabularCreate().
2685 2003-03-09 John Levon <levon@movementarian.org>
2689 * text2.C: 3rd arg to nextBreakPoint was always the same.
2692 2003-03-08 John Levon <levon@movementarian.org>
2699 * text2.C: Remove the "main" bit from the "main body"
2702 2003-03-08 John Levon <levon@movementarian.org>
2704 * text.C (leftMargin): The left margin of an empty
2705 manual label paragraph should not include the label width
2708 * text.C (prepareToPrint): don't attempt to measure hfills
2709 for empty manual label paragraphs - the answer should be 0
2711 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2713 * CutAndPaste.C: remove commented code and reindent.
2715 2003-03-08 John Levon <levon@movementarian.org>
2718 * lyxfunc.C: move reloadBuffer()
2721 * BufferView.C: to here
2723 * lyxvc.C: add comment
2726 * vc-backend.C: call bv->reload() to avoid
2727 getStatus() check on MENURELOAD
2729 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2731 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2732 to an old format .dep file.
2734 2003-03-07 Angus Leeming <leeming@lyx.org>
2736 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2737 when the LFUN_MOUSE_RELEASE should have been handled by
2738 inset->localDispatch.
2740 2003-03-07 Angus Leeming <leeming@lyx.org>
2742 * BufferView_pimpl.C (dispatch):
2743 * LyXAction.C (init):
2744 * ToolbarDefaults.C (init):
2746 * lyxfunc.C (getStatus):
2747 remove LFUN_INSET_GRAPHICS.
2749 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2751 2003-03-07 Angus Leeming <leeming@lyx.org>
2754 * LyXAction.C (init):
2755 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2757 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2760 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2762 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2763 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2765 2003-03-07 Angus Leeming <leeming@lyx.org>
2767 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2770 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2772 * ParagraphList.C (front): new function
2775 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2777 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2778 and top_row_offset_. removed var first_y.
2780 * text2.C (LyXText, removeRow):
2782 * BufferView_pimpl.C:
2783 use these methods instead of using first_y
2785 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2787 * text2.C (pasteSelection): adjust for checkPastePossible
2789 * CutAndPaste.C: remove Paragraph * buf and replace with
2790 ParagraphList paragraphs.
2791 (DeleteBuffer): delete
2792 (cutSelection): change the tc type to textclass_type
2793 (copySelection): change the tc type to textclass_type
2794 (copySelection): adjust for ParagraphList
2795 (pasteSelection): change the tc type to textclass_type
2796 (pasteSelection): adjust for Paragraphlist
2797 (nrOfParagraphs): simplify for ParagraphList
2798 (checkPastePossible): simplify for ParagraphList
2799 (checkPastePossible): remove unused arg
2801 * ParagraphList.C (insert): handle the case where there are no
2804 * CutAndPaste.h: make CutAndPaste a namespace.
2806 * text3.C (dispatch): adjust
2808 * text.C (breakParagraph): add a ParagraphList as arg
2810 * paragraph_funcs.C (breakParagraph): change to take a
2811 BufferParams and a ParagraphList as args.
2812 (breakParagraphConservative): ditto
2813 (mergeParagraph): ditto
2814 (TeXDeeper): add a ParagraphList arg
2815 (TeXEnvironment): ditto
2818 * buffer.C (readLyXformat2): adjust
2819 (insertStringAsLines): adjust
2820 (latexParagraphs): adjust
2822 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2823 (cutSelection): adjust
2824 (pasteSelection): adjust
2826 * BufferView_pimpl.C (insertInset): adjust
2828 2003-03-05 Angus Leeming <leeming@lyx.org>
2831 * LyXAction.C (init):
2832 * BufferView_pimpl.C (dispatch):
2833 * lyxfunc.C (getStatus):
2834 remove LFUN_CHILD_INSERT.
2836 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2838 2003-03-05 Angus Leeming <leeming@lyx.org>
2841 * LyXAction.C (init):
2842 * src/factory.C (createInset):
2843 * lyxfunc.C (getStatus):
2844 * text3.C (dispatch):
2845 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2847 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2849 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2851 * ParagraphList.C (insert): handle insert right before end()
2852 (erase): fix cases where it can be first or last paragraph.
2854 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2856 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2857 Paragraph::next and Paragraph::previous
2860 * text.C (breakParagraph): adjust
2862 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2863 BufferParams& as arg.
2864 (breakParagraph): use ParagraphList::insert
2865 (breakParagraphConservative): take a Buffer* instead of a
2866 BufferParams& as arg.
2867 (breakParagraphConservative): use ParagraphList::insert.
2869 * buffer.C (insertStringAsLines): un-const it
2870 (insertStringAsLines): adjust
2872 * ParagraphList.C (insert): new function
2874 * CutAndPaste.C (pasteSelection): adjust
2876 * text.C (backspace): adjust
2878 * tabular.C (SetMultiColumn): adjust
2880 * CutAndPaste.C (cutSelection): adjust
2881 (pasteSelection): adjust
2883 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2884 Buffer const * as arg
2886 * ParagraphList.C (erase): new function
2887 * paragraph_funcs.C (mergeParagraph): use it
2888 (mergeParagraph): make it take a Buffer* instead of a
2889 BufferParams* as arg
2891 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2893 (breakParagraphConservative): ditto
2895 * paragraph.h: remove the breakParagraph friend
2897 * paragraph.C (eraseIntern): new function
2898 (setChange): new function
2900 * paragraph_funcs.C (mergeParagraph): make it take a
2901 ParagraphList::iterator instead of a Paragraph *, adjust
2904 * paragraph.h: move an #endif so that the change tracking stuff
2905 also works in the NO_NEXT case.
2907 2003-03-04 Angus Leeming <leeming@lyx.org>
2910 * LyXAction.C: new LFUN_INSET_MODIFY.
2912 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2913 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2915 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2917 * several files: ws changes only
2919 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2920 (TeXEnvironment): ditto
2923 * buffer.C (makeLaTeXFile): adjust
2924 (latexParagraphs): make it take ParagraphList::iterator as args
2926 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2928 * buffer.C (latexParagraphs): adjust
2930 * paragraph.C (TeXOnePar): move function...
2931 (optArgInset): move function...
2932 (TeXEnvironment): move function...
2933 * paragraph_pimpl.C (TeXDeeper): move function...
2934 * paragraph_funcs.C: ...here
2936 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2938 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2940 * buffer.C (readInset): remove compability code for old Figure and
2943 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2945 * buffer.C: ws changes
2948 * BufferView_pimpl.C: ditto
2951 * bufferlist.h: ditto
2955 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2957 * converter.[Ch]: split into itself +
2960 * Makefile.am: += graph.[Ch] + format.[Ch]
2967 * lyxrc.C: added #include "format.h"
2969 2003-02-27 Angus Leeming <leeming@lyx.org>
2971 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2974 * factory.C (createInset): add "label" to the factory.
2976 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2977 string and do no more.
2979 2003-02-27 Angus Leeming <leeming@lyx.org>
2982 * LyXAction.C (init):
2983 * factory.C (createInset):
2984 * BufferView_pimpl.C (dispatch):
2985 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2987 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2989 * lyxfunc.C (dispatch):
2990 * text3.C (dispatch): pass name to params2string.
2992 2003-02-26 Angus Leeming <leeming@lyx.org>
2994 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2996 Rearrange the ~includes. Strip out the unnecessary ones.
2998 * factory.C (createInset): reformat.
2999 create new insets for the various LFUN_XYZ_APPLY lfuns.
3001 2003-02-26 John Levon <levon@movementarian.org>
3004 * lyxrow.C: add isParStart,isParEnd helpers
3006 * paragraph.h: make isInserted/DeletedText take refs
3008 * paragraph_funcs.h:
3009 * paragraph_funcs.C: remove #if 0'd code
3014 * text.C: use lyxrow helpers above.
3015 Move draw and paint routines to RowPainter.
3016 Make several methods use refs not pointers.
3017 Make backgroundColor() const.
3018 Add markChangeInDraw(), isInInset().
3019 Merge changeRegionCase into changeCase.
3020 Make workWidth() shouldn't-happen code into an Assert.
3023 * rowpainter.C: new class for painting a row.
3026 * vspace.C: make inPixels take a ref
3028 2003-02-26 Angus Leeming <leeming@lyx.org>
3030 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3033 2003-02-25 John Levon <levon@movementarian.org>
3035 * ispell.C: give the forked command a more accurate name
3037 2003-02-22 John Levon <levon@movementarian.org>
3040 * toc.C: make TocItem store an id not a Paragraph *
3043 2003-02-21 Angus Leeming <leeming@lyx.org>
3045 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3046 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3047 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3048 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3049 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3050 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3052 * BufferView_pimpl.C (dispatch):
3053 * LyXAction.C (init):
3054 * factory.C (createInset):
3055 * lyxfunc.C (getStatus, dispatch):
3056 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3058 2003-02-21 Angus Leeming <leeming@lyx.org>
3060 * BufferView_pimpl.C (MenuInsertLyXFile):
3061 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3062 * lyxfunc.C (menuNew, open, doImport):
3063 no longer pass a LyXView & to fileDlg.
3065 2003-02-21 Angus Leeming <leeming@lyx.org>
3067 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3068 * LyXAction.C: change, BIBKEY to BIBITEM.
3069 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3070 Change InsetBibKey to InsetBibitem.
3071 Change BIBKEY_CODE to BIBITEM_CODE.
3072 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3073 * factory.C: replace insetbib.h with insetbibitem.h.
3074 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3075 * paragraph.C: replace insetbib.h with insetbibitem.h.
3076 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3077 Change bibkey() to bibitem().
3078 * text.C: remove insetbib.h.
3079 * text2.C: replace insetbib.h with insetbibitem.h.
3080 change bibkey() to bibitem().
3081 * text3.C: remove insetbib.h.
3082 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3084 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3086 * lyxrc.C (output): enclose user email in quotes (in case there are
3089 2003-02-18 John Levon <levon@movementarian.org>
3091 * buffer.h: add std::
3093 2003-02-17 John Levon <levon@movementarian.org>
3099 * pspell.C: reworking. Especially in ispell, a large
3100 number of clean ups and bug fixes.
3102 * lyxfunc.C: fix revert to behave sensibly
3104 2003-02-17 André Pönitz <poenitz@gmx.net>
3107 * commandtags.h: new LFUN_INSERT_BIBKEY
3117 * paragraph_func.C: remove special bibkey handling
3119 2003-02-17 John Levon <levon@movementarian.org>
3121 * text.C (Delete): fix case where delete at the end of
3122 the very first paragraph would not merge the pars
3124 2003-02-17 John Levon <levon@movementarian.org>
3126 * lyxrow.C: fix lastPrintablePos()
3128 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3130 * bufferparams.C (writeLaTeX): add a std:here
3132 * buffer.C: and remove a using directive there
3134 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3136 * buffer.C (makeLaTeXFile): move the code that generates the
3139 * bufferparams.C (writeLaTeX): ... in this new method
3141 * LaTeXFeatures.C (getEncodingSet): make const
3142 (getLanguages): make const
3144 * MenuBackend.C (binding): returns the binding associated to this
3146 (add): sets the status of each item by calling getStatus. Adds
3148 (read): add support for OptSubMenu
3149 (expand): remove extra separator at the end of expanded menu
3151 2003-02-15 John Levon <levon@movementarian.org>
3154 * BufferView_pimpl.C:
3156 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3157 inset code that had no actual effect. Remove unneeded status
3160 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3162 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3165 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3167 * text.C (drawLengthMarker): also draw an arrow marker for
3168 symbolic lengths (medskip...)
3170 2003-02-14 John Levon <levon@movementarian.org>
3173 * tabular.C: better method names
3175 2003-02-14 John Levon <levon@movementarian.org>
3177 * BufferView_pimpl.C:
3182 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3183 it's a more accurate name. Remove some pointless uses.
3185 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3187 * text2.C (LyXText): change order of initilizers to shut off
3190 2003-02-14 John Levon <levon@movementarian.org>
3192 * buffer.C: use ParIterator for getParFromID()
3196 * paragraph_pimpl.h:
3197 * paragraph_pimpl.C: remove unused getParFromID()
3199 2003-02-14 John Levon <levon@movementarian.org>
3201 * buffer.C: remove some very old #if 0'd parse code
3203 2003-02-13 John Levon <levon@movementarian.org>
3207 * text2.C: move hfillExpansion(), numberOfSeparators(),
3208 rowLast(), rowLastPrintable(), numberofHfills(),
3209 numberOfLabelHfills() ...
3212 * lyxrow.C: ... to member functions here.
3217 * text.C: remove LyXText::beginningOfMainBody(), and call
3218 p->beginningOfMainBody() directly. Move the check for
3219 LABEL_MANUAL into the latter.
3226 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3232 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3233 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3235 2003-02-13 John Levon <levon@movementarian.org>
3237 * CutAndPaste.C: remove debug
3239 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3241 * paragraph.C (asString): remove two unused variables
3243 * lyxtextclass.C (readTitleType):
3245 (LyXTextClass): handle new members titletype_ and titlename_
3247 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3249 2003-02-09 John Levon <levon@movementarian.org>
3252 * buffer.C: replace hand-coded list with a map for the dep clean
3254 2003-02-08 John Levon <levon@movementarian.org>
3256 * LaTeX.C: consolidate code into showRunMessage() helper
3258 2003-02-08 John Levon <levon@movementarian.org>
3263 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3264 and pass the size in explicitly
3266 * BufferView_pimpl.h:
3267 * BufferView_pimpl.C:
3269 * BufferView.C: add getCurrentChange()
3271 * BufferView_pimpl.h:
3272 * BufferView_pimpl.C: handle change lfuns
3274 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3275 for changes. Mark pasted paragraphs as new.
3277 * support/lyxtime.h:
3278 * support/lyxtime.C:
3279 * DepTable.C: abstract time_t as lyx::time_type
3282 * LColor.C: add colours for new text, deleted text, changebars
3284 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3285 package use "usenames" option.
3289 * LyXAction.C: add change lfuns
3293 * author.C: author handling
3296 * buffer.C: add a per-buffer author list, with first entry as
3297 current author. Handle new .lyx tokens for change tracking. Output
3298 author list to .lyx file. Output dvipost stuff to .tex preamble.
3299 Bump lyx format to 222.
3302 * bufferlist.C: add setCurrentAuthor() to reset current author details
3306 * bufferparams.C: add param for tracking
3308 * bufferview_funcs.C: output change info in minibuffer
3312 * changes.C: add change-tracking structure
3315 * debug.C: add CHANGES debug flag
3318 * lyxfind.C: add code for finding the next change piece
3321 * lyxrc.C: add user_name and user_email
3324 * lyxrow.C: add a metric for the top of the text line
3327 * text.C: implement accept/rejectChange()
3330 * text.C: paint changebars. Paint new/deleted text in the chosen
3331 colours. Strike through deleted text.
3335 * paragraph_pimpl.h:
3336 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3337 in the current change to the insert functions. Rework erase to
3338 mark text as deleted, adding an eraseIntern() and a range-based
3339 erase(). Implement per-paragraph change lookup and
3342 * paragraph_funcs.C: Fixup paste for change tracking.
3344 * tabular.C: mark added row/columns as new.
3346 * text.C: fix rowLast() to never return -1. Don't allow
3347 spellchecking of deleted text. Track transpose changes. Don't
3348 allow paragraph break or merge where appropriate.
3350 * text2.C: leave cursor at end of selection after a cut.
3352 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3354 * text.C (getLengthMarkerHeight):
3355 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3356 visible on screen too.
3358 2003-02-07 John Levon <levon@movementarian.org>
3360 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3362 2003-02-05 Angus Leeming <leeming@lyx.org>
3364 * lyxserver.C (read_ready): revert my patch of 11 September last year
3365 as it sends PC cpu through the roof. Presumably this means that
3366 the lyxserver will no longer run on an Alpha...
3368 2003-01-30 Angus Leeming <leeming@lyx.org>
3370 * factory.C (createInset): create an InsetCommandParam of type "index"
3371 and use it to 'do the right thing'.
3373 * text2.C (getStringToIndex): ensure that cursor position is always
3374 reset to the reset_cursor position.
3376 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3378 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3381 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3385 * lyxfunc.C: Output messages with identical spelling, punctuation,
3388 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3390 * MenuBackend.C (expandFormats): List only viewable export formats
3393 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3396 * lyxfunc.C (getStatus): Make sure that formats other than
3397 "fax" can also be disabled
3399 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3401 * text3.C (dispatch): put the lfuns that insert insets in 3
3402 groups, and call doInsertInset with appropriate arguments.
3403 (doInsertInset): new function, that creates an inset and inserts
3404 it according to some boolean parameters.
3406 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3408 * buffer.C (readFile): remember to pass on 'par' when calling
3409 readFile recursively.
3411 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3413 * MenuBackend.C (expandFormats): add "..." to import formats.
3415 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3417 * paragraph.C (asString): Remove XForms RTL hacks.
3419 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3420 * buffer.C: fix typo
3422 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3424 * Makefile.am (LIBS): delete var
3425 (lyx_LDADD): add @LIBS@ here instead.
3427 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3429 * Clarify the meaning of "wheel mouse jump"
3431 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3433 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3436 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3438 * importer.C (Loaders): do not preallocate 3 elements in the
3439 vector, since one ends up with 6 elements otherwise
3441 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3443 * DepTable.C (write): write the file name as last element of the
3444 .dep file (because it may contain spaces)
3445 (read): read info in the right order
3447 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3449 * paragraph_pimpl.C (simpleTeXBlanks):
3450 (simpleTeXSpecialChars):
3451 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3453 * tabular.C (latex): add some missing case statements. Reindent.
3455 * MenuBackend.C (expandToc): remove unused variable.
3457 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3466 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3469 2003-01-05 John Levon <levon@movementarian.org>
3472 * BufferView.C: add getEncoding()
3475 * kbsequence.C: do not store last keypress
3478 * lyxfunc.C: store last keypress here instead. Pass encoding
3481 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3483 * lyx_main.C (init): remove annoying error message when following
3484 symbolic links (bug #780)
3486 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3488 * text.C (insertChar):
3489 * lyxrc.C (getDescription): remove extra spaces
3491 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3493 * lyxrc.C (getDescription): remove extra spaces
3495 2002-12-20 John Levon <levon@movementarian.org>
3497 * text3.C: hack fix for page up/down across tall rows
3499 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3501 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3504 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3506 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3507 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3508 thesaurus is not compiled in
3510 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3512 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3514 2002-12-16 Angus Leeming <leeming@lyx.org>
3517 * lyx_main.C (init): remove override_x_deadkeys stuff.
3519 2002-12-12 John Levon <levon@movementarian.org>
3521 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3522 insert. Only remove shift modifier under strict
3525 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3527 * MenuBackend.C (expandToc): fix crash.
3529 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3531 * MenuBackend.C (expandToc): gettext on float names.
3533 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3535 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3536 implement bool empty() [bug 490]
3538 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3540 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3542 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3544 * several files: ws changes
3546 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3548 * text2.C (setCounter): clean up a bit, use boost.format.
3549 (updateCounters): initialize par upon declaration.
3551 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3552 if the layout exists. We do not just store the layout any more.
3553 (SwitchLayoutsBetweenClasses): use boost.format
3555 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3557 * converter.C (convert): if from and to files are the same, use a
3558 temporary files as intermediary
3560 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3563 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3565 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3567 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3569 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3571 * tabular.C (asciiPrintCell): use string(size, char) instead of
3574 * sgml.C (openTag): fix order of arguments to string constructor
3577 * lyxfunc.C (dispatch): use boost.format
3579 * lots of files: change "c" -> 'c'
3581 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3583 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3585 2002-11-25 Angus Leeming <leeming@lyx.org>
3587 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3589 * lyx_main.C (init): compile fix.
3591 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3593 * lyx_cb.C (start): boost.formatify
3594 do not include <iostream>
3596 * lengthcommon.C: ws only
3598 * boost-inst.C,BoostFormat.h: add more explict instantations
3600 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3602 * lots of files: handle USE_BOOST_FORMAT
3604 2002-11-21 John Levon <levon@movementarian.org>
3606 * pspell.C: fix compile
3608 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3610 * lyxfunc.C (dispatch): use boost::format
3614 * lyxfont.C (stateText): use boost::format
3616 * lyx_main.C (LyX): use boost::format
3618 (queryUserLyXDir): ditto
3621 (typedef boost::function): use the recommened syntax.
3623 * importer.C (Import): use boost::format
3625 * debug.C (showLevel): use boost::format
3627 * converter.C (view): use boost::format
3632 * bufferview_funcs.C (currentState): use boost::format
3634 * bufferlist.C (emergencyWrite): use boost::format
3636 * buffer.C (readLyXformat2): use boost::format
3637 (parseSingleLyXformat2Token): ditto
3639 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3641 * LaTeX.C (run): use boost::format
3643 * Chktex.C (scanLogFile): use boost::format
3645 * BufferView_pimpl.C (savePosition): use boost::format
3646 (restorePosition): ditto
3647 (MenuInsertLyXFile): ditto
3649 * BoostFormat.h: help file for explicit instation.
3651 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3653 * tabular.C (latex): Support for block alignment in fixed width
3656 2002-11-17 John Levon <levon@movementarian.org>
3658 * BufferView_pimpl.C:
3660 * lyxfunc.C: split filedialog into open/save
3662 2002-11-08 Juergen Vigna <jug@sad.it>
3664 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3665 by my last patch (hopefully).
3667 2002-11-08 John Levon <levon@movementarian.org>
3676 * toc.C: ParConstIterator, and use it (from Lars)
3678 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3680 * lyxtextclass.[Ch]: revise and add doxygen comments
3682 2002-11-07 John Levon <levon@movementarian.org>
3684 * text.C: fix progress value for spellchecker
3686 * toc.C: fix navigate menu for insetwrap inside minipage
3688 * paragraph_funcs.C: added FIXME for suspect code
3690 2002-11-07 John Levon <levon@movementarian.org>
3692 * BufferView_pimpl.C: fix redrawing of insets
3695 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3697 * text2.C (updateCounters): fix bug 668
3699 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3701 * text3.C (dispatch): Do not make the buffer dirty when moving the
3704 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3706 * vc-backend.C: STRCONV
3709 * text2.C (setCounter): STRCONV
3711 * paragraph.C (asString): STRCONV
3713 * lyxlength.C (asString): STRCONV
3714 (asLatexString): ditto
3716 * lyxgluelength.C (asString): STRCONV
3717 (asLatexString): ditto
3719 * lyxfunc.C (dispatch): STRCONV
3722 * lyxfont.C (stateText): STRCONV
3724 * importer.C (Import): STRCONV
3726 * counters.C (labelItem): STRCONV
3727 (numberLabel): ditto
3728 (numberLabel): remove unused ostringstream o
3733 * bufferview_funcs.C (currentState): STRCONV
3735 * buffer.C (readFile): STRCONV
3736 (asciiParagraph): ditto
3737 (makeLaTeXFile): ditto
3739 * Spacing.C (writeEnvirBegin): STRCONV
3741 * LaTeXFeatures.C (getLanguages): STRCONV
3742 (getPackages): ditto
3744 (getBabelOptions): ditto
3745 (getTClassPreamble): ditto
3746 (getLyXSGMLEntities): ditto
3747 (getIncludedFiles): ditto
3751 (scanAuxFile): ditto
3754 * LString.h: add the STRCONV macros
3756 * BufferView_pimpl.C (savePosition): STRCONV
3757 (restorePosition): ditto
3758 (MenuInsertLyXFile): ditto
3760 * vc-backend.C (scanMaster): change from submatch[...] to
3763 * funcrequest.C: include config.h
3765 * factory.C: include config.h
3767 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3769 * box.C: include config.h
3771 * LaTeX.C (scanAuxFile): change from submatch[...] to
3775 2002-10-25 Angus Leeming <leeming@lyx.org>
3777 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3779 * ispell.[Ch] (setError): new method.
3780 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3781 Use setError() insetead of goto END.
3783 * lyx_cb.C (AutoSave): move out child process into new class
3786 2002-10-30 John Levon <levon@movementarian.org>
3788 * text3.C: make start appendix undoable
3790 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3792 * lyxlength.C (inPixels): Fix returned value.
3794 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3797 2002-10-24 Angus Leeming <leeming@lyx.org>
3799 * lyxgluelength.h: no need to forward declare BufferParams
3800 or BufferView, so don't.
3802 2002-10-21 John Levon <levon@movementarian.org>
3804 * BufferView.C: menuUndo ->undo, redo
3806 * BufferView.h: document, remove dead, make some methods private
3808 * paragraph_funcs.h:
3809 * paragraph_funcs.C:
3810 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3815 * sgml.C: move sgml open/close tag into sgml.C
3817 * bufferview_funcs.h: unused prototype
3820 * lyxfunc.C: remove unused
3823 * text.C: remove unused
3825 2002-10-21 John Levon <levon@movementarian.org>
3829 * BufferView_pimpl.h:
3830 * BufferView_pimpl.C: fix mouse wheel handling based on
3831 patch from Darren Freeman
3833 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3835 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3837 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3839 * lyxlength.C (inPixels): Fix hanfling of negative length.
3840 Fix LyXLength::MU case.
3842 2002-10-16 John Levon <levon@movementarian.org>
3844 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3846 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3848 * converter.C (view): add support for $$i (file name) and $$p
3849 (file path) for the viewer command. If $$i is not specified, then
3850 it is appended to the command (for compatibility with old syntax)
3852 2002-10-14 Juergen Vigna <jug@sad.it>
3854 * undo_funcs.C (textHandleUndo): alter the order in which the
3855 new undopar is added to the LyXText, as we have to set first
3856 the right prev/next and then add it as otherwise the rebuild of
3857 LyXText is not correct. Also reset the cursor to the right paragraph,
3858 with this IMO we could remove the hack in "redoParagraphs()".
3860 2002-10-09 Angus Leeming <leeming@lyx.org>
3862 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3863 to turn off an optimisation if a new inset is to be inserted.
3865 2002-10-11 André Pönitz <poenitz@gmx.net>
3867 * lyxtext.h: make some functions public to allow access
3868 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3870 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3872 * text3.C (dispatch): when changing layout, avoid an infinite loop
3875 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3877 * lyxrc.C (read): treat a viewer or converter command of "none" as
3880 * MenuBackend.C (expandFormats): for an update, also allow the
3881 formats that are not viewable
3883 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3884 script if it is newer than the lyxrc.defaults in user directory
3886 2002-10-07 André Pönitz <poenitz@gmx.net>
3888 * text.C: Vitaly Lipatov's small i18n fix
3890 2002-09-25 Angus Leeming <leeming@lyx.org>
3892 * ispell.h: doxygen fix.
3894 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3896 * buffer.h (readFile): Add a new argument to the method, to allow
3897 reading of old-format templates.
3899 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3901 * toc.C (getTocList): Get TOC from InsetWrap.
3903 2002-09-16 John Levon <levon@movementarian.org>
3905 * lyxfunc.C: check tabular for cut/copy too
3907 2002-09-12 John Levon <levon@movementarian.org>
3912 * factory.C: add header
3914 * paragraph_funcs.h:
3915 * paragraph_funcs.C: cleanup
3917 2002-09-11 John Levon <levon@movementarian.org>
3919 * PrinterParams.h: odd/even default to true
3921 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3923 * PrinterParams.h: update printer parameters for new xforms dialog
3925 2002-09-11 Angus Leeming <leeming@lyx.org>
3927 * lyxserver.C (read_ready): re-write to make it more transparent
3928 and to make it work in coherent fashion under Tru64 Unix.
3930 2002-09-11 André Pönitz <poenitz@gmx.net>
3934 * text3.C: implement LFUN_WORDSEL
3936 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3938 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3939 make floatlist_ a boost::shared_ptr<FloatList>
3941 * lyxtextclass.C: include FloatList.h
3942 (LyXTextClass): initialize floatlist_
3943 (TextClassTags): add TC_NOFLOAT
3944 (Read): match "nofloat" to TC_NOFLOAT and use it.
3945 (readFloat): modify call to floatlist_
3949 * FloatList.[Ch] (FloatList): remove commented out float
3951 (erase): new function
3953 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3955 * MenuBackend.C (expandToc): fix crash when there is no document
3958 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3960 * many files: Add insetwrap.
3962 2002-09-09 John Levon <levon@movementarian.org>
3964 * text2.C: remove confusing and awkward depth wraparound
3966 2002-09-09 John Levon <levon@movementarian.org>
3968 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3971 * buffer.C: remove getIncludeonlyList()
3974 * lyxfunc.C: remove headers
3976 2002-09-09 Juergen Vigna <jug@sad.it>
3978 * text.C (getColumnNearX): fix form Michael this is most
3979 probably a cut&paste bug.
3981 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3983 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3985 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3986 references, ws changes.
3988 * text2.C (init): update counters after init
3989 (insertParagraph): no need to set counter on idividual paragraphs.
3990 (setCounter): access the counters object in the textclass object
3991 on in the buffer object.
3992 (updateCounters): ditto
3994 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3995 shared_ptr<Counters> to avoid loading counters.h in all
3997 (LyXTextClass): initialize ctrs_
3998 (TextClassTags): add TC_COUNTER, and ...
3999 (Read): use it here.
4000 (CounterTags): new tags
4001 (readCounter): new function
4002 (counters): new funtion
4003 (defaultLayoutName): return a const reference
4005 * counters.C (Counters): remove contructor
4006 (newCounter): remove a couple of unneeded statements.
4007 (newCounter): simplify a bit.
4008 (numberLabel): some small formatting changes.
4010 * buffer.[Ch]: remove all traces of counters, move the Counters
4011 object to the LyXTextClass.
4013 2002-09-06 Alain Castera <castera@in2p3.fr>
4015 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4016 package to set the horizontal alignment on fixed width columns.
4019 * lyx_sty.h: added tabularnewline macro def.
4021 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4023 2002-09-06 John Levon <levon@movementarian.org>
4025 * LyXAction.C: tooltips for sub/superscript
4027 * MenuBackend.C: a bit more verbose
4029 * lyxfunc.C: tiny clean
4031 * undo_funcs.C: document undo_frozen
4033 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4035 * counters.C (Counters): add missing algorithm counter.
4037 * text2.C (setCounter): lookup the counter with layouts latexname
4038 instead of by section number.
4039 (setCounter): use a hackish way to lookup the correct enum
4041 a float name->type change
4042 reset enum couners with counter name directly instead of depth value.
4044 * counters.C (Counters): remove the push_backs, change to use the
4045 float type not the float name.
4046 (labelItem): remove unused string, float name->type change
4048 * counters.h: don't include vector, loose the enums and sects vectors
4050 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4052 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4053 (Read): add float->TC_FLOAT to textclassTags
4054 (Read): and handle it in the switch
4055 (readFloat): new function
4057 * FloatList.C (FloatList): comment out the hardcoded float
4060 * lyxlayout.h: ws change.
4062 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4064 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4066 2002-09-03 Angus Leeming <leeming@lyx.org>
4068 * BufferView_pimpl.h: qualified name is not allowed in member
4069 declaration: WorkArea & Pimpl::workarea() const;
4071 * factory.C: added using std::endl directive.
4073 * text3.C: added using std::find and std::vector directives.
4075 2002-08-29 André Pönitz <poenitz@gmx.net>
4078 * text2.C: remove unused member number_of_rows
4081 * BufferView2.C: remove file, move contents to...
4082 * BufferView.C: ... here
4084 * BufferView_pimpl.C:
4085 * factory.C: move more inset creation to factory
4087 * vspace.C: avoid direct usage of LyXText, ws changes
4090 don't provide direct access to WorkArea, use two simple
4091 acessors haveSelction() and workHeight() instead
4094 2002-08-29 John Levon <levon@movementarian.org>
4096 * BufferView_pimpl.C (dispatch): do not continue when
4099 2002-08-28 André Pönitz <poenitz@gmx.net>
4101 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4104 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4106 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4108 * buffer.C: increment LYX_FORMAT to 221
4110 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4111 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4113 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4115 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4117 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4119 * factory.C (createInset): use LyXTextClass::floats
4121 * MenuBackend.C (expandFloatListInsert):
4122 (expandFloatInsert):
4125 * text2.C (setCounter):
4127 * LaTeXFeatures.C (useFloat):
4128 (getFloatDefinitions):
4130 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4132 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4133 floatlist_, with accessor floats().
4135 * FloatList.h: remove global FloatList
4137 2002-08-26 André Pönitz <poenitz@gmx.net>
4139 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4143 * BufferView_pimpl.C:
4144 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4146 2002-08-25 John Levon <levon@movementarian.org>
4148 * LyXAction.C: fix margin note description
4150 2002-08-24 John Levon <levon@movementarian.org>
4154 * bufferview_funcs.C:
4156 * undo_funcs.C: cleanups
4158 * lyxfunc.C: disable CUT/COPY when no selection
4160 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4162 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4163 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4165 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4166 Add backward compatibility to "mono", "gray" and "no".
4168 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4170 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4171 (and file_format >= 200).
4173 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4175 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4177 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4179 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4181 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4183 * BufferView_pimpl.C:
4190 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4191 inset and code to make it work with the paragraph code. The inset
4192 can be anywhere in the paragraph, but will only do the expected
4193 thing in LaTeX if the layout file contains the parameter line
4195 (or more generally, a nonzero value) for that layout.
4197 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4199 * paragraph.h: remove the declaration of undefined counters class
4202 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4204 * text2.C (setCounter): fixed enumeration mis-count as reported by
4205 Dr. Richard Hawkins.
4207 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4209 * paragraph_funcs.h: remove some unneeded includes
4211 * text.C (backspace): pasteParagraph now in global scipe
4213 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4214 (pasteSelection): ditto
4216 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4217 * paragraph_funcs.C (pasteParagraph): ... here
4219 2002-08-20 André Pönitz <poenitz@gmx.net>
4221 * commandtags.h: new LFUNs for swapping/copying table row/colums
4224 * lyxfunc.C: support for new lfuns
4226 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4229 * buffer.[Ch]: remove NO_COMPABILITY stuff
4231 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4233 * boost.C (throw_exception): new file, with helper function for
4234 boost compiled without exceptions.
4239 * ParameterStruct.h:
4240 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4242 * bufferlist.C (emergencyWriteAll): use boost bind
4244 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4246 * text.C: include paragraph_funcs.h
4247 (breakParagraph): breakParagraph is now in global scope
4249 * paragraph_funcs.[Ch]: new files
4251 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4254 * buffer.C: include paragraph_funcs.h
4255 (insertStringAsLines): breakParagraph is now in global scope
4257 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4260 * CutAndPaste.C: include paragraph_funcs.h
4261 (cutSelection): breakParagraphConservative is now in global scope
4262 (pasteSelection): ditto
4264 * buffer.h: declare oprator== and operator!= for
4265 Buffer::inset_iterator
4267 * bufferlist.C (emergencyWrite): don't use fmt(...)
4269 * text3.C: add using std::endl
4271 * BufferView.C (moveCursorUpdate): remove default arg
4273 2002-08-20 André Pönitz <poenitz@gmx.net>
4275 * buffer.[Ch]: move inline functions to .C
4278 * BufferView_pimpl.C:
4280 * buffer.[Ch]: use improved inset_iterator
4283 * paragraph.[Ch]: write one paragraph at a time
4285 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4287 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4288 style if style is not specified.
4290 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4292 * text2.C (setCounter): when searching for right label for a
4293 caption, make sure to recurse to parent insets (so that a caption
4294 in a minipage in a figure float works) (bug #568)
4296 2002-08-20 André Pönitz <poenitz@gmx.net>
4298 * text3.C: new file for LyXText::dispatch() and helpers
4300 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4302 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4304 2002-08-19 André Pönitz <poenitz@gmx.net>
4307 * text.C: new LyXText::dispatch()
4309 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4311 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4313 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4315 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4318 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4320 * Makefile.am: use $(variables) instead of @substitutions@
4322 2002-08-15 André Pönitz <poenitz@gmx.net>
4325 * BufferView_pimpl.C: streamlining mathed <-> outer world
4329 * LyXAction.C: remove unused LFUN_MATH
4331 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4333 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4335 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4337 * paragraph.C (Paragraph): reformat a bit
4338 (cutIntoMinibuffer): use builtin InsetList function instad of
4342 * buffer.C: include boost/bind.hpp, add using std::for_each
4343 (writeFileAscii): use ParagraphList iterators
4344 (validate): use for_each for validate traversal of paragraphs
4345 (getBibkeyList): use ParagraphList iterators
4346 (resizeInsets): use for_each to resizeInsetsLyXText for all
4348 (getParFromID): use ParagraphList iterators
4350 * BufferView2.C (lockInset): use paragraph list and iterators
4352 2002-08-14 John Levon <levon@movementarian.org>
4354 * lyxserver.C: remove spurious xforms include
4356 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4358 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4360 2002-08-13 André Pönitz <poenitz@gmx.net>
4363 * lyxfunc.C: further cleaning
4365 2002-08-13 André Pönitz <poenitz@gmx.net>
4367 * funcrequest.h: new constructor
4369 * funcrequest.C: move stuff here from .h
4372 * BufferView_pimpl.C:
4375 * lyxfunc.C: subsequent changes
4377 * lyxfunc.h: new view() member function
4379 * lyxfunc.C: subsequent changes
4381 2002-08-13 Angus Leeming <leeming@lyx.org>
4384 * BufferView_pimpl.C:
4392 changes due to the changed LyXView interface that now returns references
4393 to member variables not pointers.
4395 2002-08-13 Angus Leeming <leeming@lyx.org>
4397 * WordLangTuple (word, lang_code): return references to strings,
4402 * lyxtext.h: forward-declare WordLangTuple.
4407 * text.C: #include "WordLangTuple.h".
4410 * text.C: (selectNextWordToSpellcheck): constify return type.
4412 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4418 * paragraph_pimpl.h:
4421 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4423 Made updateCounter always count from start of buffer, and removed
4424 second argument (par).
4425 Reverted floats number display to '#'. Perhaps I'll try again when the
4426 code base is sanitized a bit.
4428 2002-08-12 Angus Leeming <leeming@lyx.org>
4430 * buffer.[Ch] (getLabelList): constify.
4432 2002-08-07 André Pönitz <poenitz@gmx.net>
4434 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4436 * funcrequest.h: extension to keep mouse (x,y) position
4438 2002-08-12 Juergen Vigna <jug@sad.it>
4440 * BufferView2.C (insertErrors): forbid undo when inserting error
4443 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4445 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4447 * ParagraphList.[Ch]: new files
4449 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4451 * BufferView2.C (lockInset): ParagraphList changes
4454 * bufferlist.C: ditto
4458 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4460 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4461 unused class variable counter_,
4463 * paragraph.[Ch] (getFirstCounter): delete unused function
4465 * counters.C: include LAssert.h
4466 (reset): add a new function with no arg, change other version to
4467 not have def. arg and to not allow empty arg.
4469 * text2.C (setCounter): remove empty arg from call to Counters::reset
4471 2002-08-11 John Levon <levon@movementarian.org>
4473 * Makefile.am: add WordLangTuple.h
4475 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4477 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4478 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4480 * insets/insettext.C: InsetList changes
4482 * graphics/GraphicsSupport.C (operator()): InsetList changes
4484 * toc.C (getTocList): InsetList changes
4486 * paragraph_pimpl.[Ch]: InsetList changes
4488 * paragraph.[Ch]: InsetList changes
4490 * buffer.C (inset_iterator): InsetList changes
4491 (setParagraph): ditto
4492 * buffer.h (inset_iterator): ditto
4493 * iterators.C (operator++): ditto
4494 * iterators.h: ditto
4496 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4498 * InsetList.[Ch]: new files, most InsetList handling moved out of
4501 * BufferView2.C (removeAutoInsets): InsetList changes
4503 (ChangeInsets): ditto
4505 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4507 * paragraph_pimpl.h (empty): new function
4509 * paragraph.[Ch] (empty): new function
4511 * other files: use the new Paragraph::empty function
4513 2002-08-09 John Levon <levon@movementarian.org>
4515 * lyxtext.h: remove unused refresh_height
4517 2002-08-09 John Levon <levon@movementarian.org>
4524 * paragraph.C: move sgml char escaping out of paragraph
4527 * paragraph.C: remove id setter
4531 * paragraph_pimpl.C: remove dead tex_code_break_column
4533 * bufferview_funcs.C: small cleanup
4535 * lyxfunc.C: remove dead proto
4537 * lyxtext.h: make some stuff private. Remove some dead stuff.
4539 * lyxgluelength.C: make as[LyX]String() readable
4541 2002-08-08 John Levon <levon@movementarian.org>
4546 * ToolbarDefaults.C:
4549 * toc.C: lyxaction cleanup
4551 2002-08-08 John Levon <levon@movementarian.org>
4553 * BufferView2.C: small cleanup
4556 * lyxfind.C: move unnecessary header into the .C
4558 2002-08-08 John Levon <levon@movementarian.org>
4560 * funcrequest.h: just tedious nonsense
4563 * lyx_main.C: cleanups
4566 * vspace.C: remove dead header lyx_main.h
4568 2002-08-07 Angus Leeming <leeming@lyx.org>
4571 * paragraph_pimpl.h:
4572 Forward declare class Counters in paragraph.h by moving the ctrs member
4573 variable into Paragraph::Pimpl.
4574 (counters): new method, returning a reference to pimpl_->ctrs.
4576 * text2.C: ensuing changes.
4578 2002-08-07 John Levon <levon@movementarian.org>
4580 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4582 * BufferView_pimpl.C: announce X selection on double/triple
4585 * lyx_main.C: use correct bool in batch dispatch
4587 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4589 2002-08-07 André Pönitz <poenitz@gmx.net>
4591 * funcrequest.h: new class to wrap a kb_action and its argument
4594 * BufferView_pimpl[Ch]:
4598 * lyxrc.C: subsequent changes
4601 2002-08-07 John Levon <levon@movementarian.org>
4603 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4604 document options change.
4606 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4611 * makefile.am: move counters functionality over from
4612 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4614 2002-08-06 John Levon <levon@movementarian.org>
4616 * WordLangTuple.h: new file for word + language code tuple
4627 * BufferView2.C: use WordLangTuple
4630 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4632 2002-08-06 John Levon <levon@movementarian.org>
4634 * lyx_main.C: fix cmdline batch handling
4636 2002-08-06 André Pönitz <poenitz@gmx.net>
4638 * lyxrc.C: set default for show_banner to true
4640 2002-08-06 John Levon <levon@movementarian.org>
4642 * pspell.C: fix a crash, and allow new aspell to work
4644 2002-08-06 John Levon <levon@movementarian.org>
4647 * kbmap.C: small cleanup
4650 * vspace.C: add const
4652 2002-08-05 John Levon <levon@movementarian.org>
4654 * LyXAction.C: back to tabular-insert
4656 2002-08-04 John Levon <levon@movementarian.org>
4659 * BufferView.C: cosmetic change
4661 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4671 * BufferView2.C: purge all "Lyx" not "LyX" strings
4674 * lyxcursor.C: attempt to add some documentation
4679 * ToolbarDefaults.C:
4680 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4681 merge with LFUN_TABULAR_INSERT
4688 * pspell.C: split up i/pspell implementations into separate
4689 files, many cleanups
4691 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4693 * text2.C: some cleanup
4695 * lyxfunc.C: don't check for isp_command == "none" any more, it
4696 didn't make any sense
4698 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4703 * makefile.am: move counters functionality over
4704 from text2.C/paragraph.[Ch] to counters.[Ch], and
4706 2002-08-02 John Levon <levon@movementarian.org>
4708 * buffer.C: s/lyxconvert/lyx2lyx/
4710 2002-08-02 Angus Leeming <leeming@lyx.org>
4712 * lyxlex.C: revert John's change as it breaks reading of the user
4715 2002-08-02 Angus Leeming <leeming@lyx.org>
4717 * importer.C (Import):
4718 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4719 changes due to LyXView::view() now returning a boost::shared_ptr.
4721 2002-08-02 John Levon <levon@movementarian.org>
4723 * lyxlex.C: small cleanup
4725 2002-08-02 John Levon <levon@movementarian.org>
4727 * text2.C (status): small cleanup, no logic change
4729 2002-08-01 John Levon <levon@movementarian.org>
4732 * buffer.C (writeFile): don't output alerts, caller
4736 * lyx_cb.C: from above
4738 * lyxfunc.C: allow to open non-existent files
4740 2002-07-31 John Levon <levon@movementarian.org>
4742 * lyxserver.C: don't let incidental errors get
4745 2002-07-30 John Levon <levon@movementarian.org>
4747 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4749 2002-07-30 John Levon <levon@movementarian.org>
4752 * lyxserver.C: remove I/O callback too
4754 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4756 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4759 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4761 * many files: strip,frontStrip -> trim,ltrim,rtrim
4763 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4765 * PrinterParams.h: remove extern containsOnly, and include
4766 support/lstrings.h instead.
4768 * LaTeX.C (scanAuxFile): modify because of strip changes
4770 * buffer.C (makeLaTeXFile): ditto
4771 * bufferparams.C (writeFile): ditt
4772 * lyxfont.C (stateText): ditto
4773 * lyxserver.C (read_ready): ditto
4774 * vc-backend.C (scanMaster): ditto
4776 * BufferView_pimpl.h: ws changes
4778 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4780 2002-07-26 André Pönitz <poenitz@gmx.net>
4782 * kb_sequence.C: remove unnedred usings
4784 2002-07-26 Juergen Vigna <jug@sad.it>
4786 * lyxfind.C (LyXReplace): we have to check better if the returned
4787 text is not of theLockingInset()->getLockingInset().
4789 2002-07-25 Juergen Vigna <jug@sad.it>
4791 * lyxfind.C (LyXReplace): don't replace if we don't get the
4794 * undo_funcs.C (createUndo): remove debugging code.
4796 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4798 * buffer.C (parseSingleLyXformat2Token): Use default placement
4799 when reading old floats.
4801 * FloatList.C (FloatList): Change the default placement of figure
4802 and tables to "tbp".
4804 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4806 * MenuBackend.C: using std::max
4808 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4810 * MenuBackend.C (expandToc):
4811 (expandToc2): code moved from xforms menu frontend. It is now
4812 generic and TOCs are transparent to menu frontends.
4814 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4816 * toc.C (getTocList): protect against buf=0
4818 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4819 Menu as first parameter. Now, this calls itself recursively to
4820 expand a whole tree (this will be useful for TOC handling)
4821 (expandFloatInsert): remove 'wide' version of floats
4823 * MenuBackend.h (submenuname): returns the name of the submenu.
4824 (submenu): returns the submenu itself, provided it has been
4825 created by MenuBackend::expand
4827 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4829 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4830 insets which have noFontChange == true. (bug #172)
4832 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4834 * BufferView_pimpl.C: add connection objects and use them...
4837 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4839 * MenuBackend.C (expandLastfiles):
4842 (expandFloatListInsert):
4843 (expandFloatInsert):
4844 (expand): split expand in parts
4846 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4848 * lyx_gui.C: use lyx_gui::exit()
4850 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4852 * LyXAction.C: show the failing pseudo action
4854 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4856 * buffer.C (readFile): Run the lyxconvert script in order to read
4859 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4863 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4865 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4869 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4871 2002-07-22 Herbert Voss <voss@lyx.org>
4874 * lyxlength.[Ch]: add support for the vertical lengths
4876 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4878 * toc.[Ch]: std:: fixes
4880 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4882 * lyxrc.C: do not include lyx_main.h
4884 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4890 * BufferView2.C: include "lyxlex.h"
4893 * bufferparams.h: do not #include "lyxlex.h"
4895 * lyxtextclasslist.C (Add): remove method
4896 (classlist): renamed to classlist_
4898 * paragraph_pimpl.C:
4902 * bufferview_funcs.C:
4907 * toc.C (getTocList): use BufferParams::getLyXTextClass
4909 * toc.C (getTocList): use InsetFloat::addToToc
4911 * toc.[Ch]: new files, containing helper functions to handle table
4914 * lyxfunc.C (dispatch): no need to remove spaces around command
4916 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4917 first command of the sequence; it is not very clever, but I do not
4918 have a better idea, actually
4920 * LyXAction.C (LookupFunc): make sure to remove space at the
4921 beginning and end of the command
4923 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4925 * MenuBackend.C (getMenubar): new method: return the menubar of
4927 (read): treat differently reading of menu and menubar (in
4928 particular, the menubar has no name now)
4929 (Menu::menubar): remove
4931 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4934 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4936 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4937 a bibitem inset in a RTL paragraph.
4939 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4941 * paragraph_pimpl.C: constify
4943 * BufferView_pimpl.C:
4945 * lyxfunc.C: fix dispatch in a nicer way
4947 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4949 * lyxfunc.C (dispatch):
4950 * BufferView_pimpl.C:
4951 * BufferView_pimpl.h:
4953 * BufferView.h: rename Dispatch() to dispatch()
4955 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4957 * lyxlayout.C (Read): honor DependsOn tag
4959 * lyxlayout.[Ch] (depends_on): new method
4961 * version.C.in: update lyx_docversion
4963 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4965 * paragraph.C (validate): remove from here...
4966 * paragraph_pimpl.C (validate): ... and move here
4967 (isTextAt): make it const
4969 * buffer.C (getLists): ws cleanup
4971 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4973 * language.C (read): Use iso8859-1 encoding in latex_lang
4974 (this prevents LyX from crashing when using iso10646-1 encoding).
4976 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4978 * text2.C (toggleInset): if cursor is inside an inset, close the
4979 inset and leave cursor _after_ it
4981 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4983 * lyxfunc.C: move minibuffer completion handling out of here
4985 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4987 * BufferView_pimpl.C:
4988 * LaTeX.C: fix dispatch calls
4990 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4992 * text.C (drawChars): Fix Arabic text rendering.
4994 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4998 * lyxfunc.C: remove message-push/pop
5002 * lyxfunc.C: rationalise some code by removing verboseDispatch
5003 in favour of a bool argument to dispatch()
5005 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5007 * lyx_main.C (init): make sure to read symlinks as absolute paths
5009 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5012 * lyxfunc.C: no need for commandshortcut to be a member
5014 2002-07-15 André Pönitz <poenitz@gmx.net>
5016 * converter.C: add support for $$s (scripts from lib/scripts dir)
5017 * lyx_main.C: white space
5019 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5023 * lyxrc.C: remove second exit confirmation
5025 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5030 * BufferView_pimpl.h:
5031 * BufferView_pimpl.C:
5032 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5034 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5036 * MenuBackend.C (expand): add numeric shortcuts to document menu
5038 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5040 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5042 * lyxfont.C (setLyXFamily):
5049 * buffer.C (asciiParagraph): use ascii_lowercase
5051 2002-07-15 Mike Fabian <mfabian@suse.de>
5053 * lyxlex_pimpl.C (search_kw):
5054 * lyxlex.C (getLongString):
5055 * converter.h (operator<):
5056 * converter.C (operator<):
5057 * buffer.C (parseSingleLyXformat2Token):
5059 * ToolbarDefaults.C (read):
5060 * MenuBackend.C (checkShortcuts):
5062 * LColor.C (getFromGUIName):
5063 (getFromLyXName): use the compare_ascii_no_case instead of
5064 compare_no_case, because in turkish, 'i' is not the lowercase
5065 version of 'I', and thus turkish locale breaks parsing of tags.
5067 2002-07-16 Angus Leeming <leeming@lyx.org>
5069 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5070 now takes a Buffer const & argument.
5072 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5074 * BufferView.C (resize): check there's a buffer to resize
5076 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5078 * lyxfunc.C: remove dead code
5081 * lyxserver.C: use lyx_guii::set_read_callback
5083 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5085 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5086 an inset in a RTL paragraph.
5088 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5090 * lyxfunc.C: repaint after a font size update
5092 2002-07-15 André Pönitz <poenitz@gmx.net>
5094 * lyxlength.C: inBP should be able to return negative values
5096 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5098 * lyxfunc.C: use lyx_gui::update_fonts()
5100 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5102 * lyxfunc.C: use lyx_gui::update_color()
5104 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5110 * lyxrc.C: remove file->new asks for name option, and let
5111 buffer-new take an argument
5113 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5115 * BufferView_pimpl.C: remove unneeded extra repaint()
5117 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5119 * LyXAction.C: allow command-sequence with NoBuffer
5121 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5123 2002-07-10 Angus Leeming <leeming@lyx.org>
5125 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5127 2002-07-09 Angus Leeming <leeming@lyx.org>
5129 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5131 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5133 * lengthcommon.h: whitespace
5135 * lyxfunc.C: update scrollbar after goto paragraph
5137 * lyxtext.h: factor out page break drawing, and fix it so
5138 page break/added space paints as selected nicely
5140 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5142 * BufferView_pimpl.C: add FIXMEs, clean up a little
5144 2002-07-09 André Pönitz <poenitz@gmx.net>
5146 * lyxfont.[Ch]: support for wasy symbols
5148 2002-07-08 André Pönitz <poenitz@gmx.net>
5150 * BufferView_pimpl.C: apply John's patch for #93.
5152 2002-07-05 Angus Leeming <leeming@lyx.org>
5154 * BufferView_pimpl.C (buffer): generate previews if desired.
5156 * LColor.h: add "preview" to the color enum.
5158 * LColor.C (LColor): add a corresponding entry to the items array.
5160 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5163 2002-07-05 Angus Leeming <leeming@lyx.org>
5165 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5166 The body of the code is now in the method that is passed an ostream &
5167 rather than a file name.
5168 Pass an additional only_preamble parameter, useful for the forthcoming
5171 2002-07-03 André Pönitz <poenitz@gmx.net>
5173 * lyxfunc.C: simplify getStatus() a bit for math stuff
5175 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5177 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5179 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5181 * text.C (changeRegionCase): do not change case of all the
5182 document when region ends at paragraph end (bug #461)
5184 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5186 * paragraph.C (startTeXParParams):
5187 (endTeXParParams): add \protect when necessary
5189 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5191 * BufferView_pimpl.C (workAreaExpose): remove warning
5193 2002-06-27 Angus Leeming <leeming@lyx.org>
5195 * Makefile.am: add lyxlayout_ptr_fwd.h.
5197 2002-06-26 André Pönitz <poenitz@gmx.net>
5199 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5201 2002-06-25 Angus Leeming <leeming@lyx.org>
5203 * lyxfunc.C (dispatch): Comment out the call to
5204 grfx::GCache::changeDisplay. The method no longer exists now that the
5205 pixmap generation part of the graphics loader has been moved into
5208 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5210 * text2.C: layout as layout
5212 * text.C: layout as layout
5214 * tabular.C (OldFormatRead): layout as layout
5216 * paragraph_pimpl.C (TeXDeeper): layout as layout
5217 (realizeFont): layout as layout
5219 * paragraph.C (writeFile): layout as layout
5220 (validate): layout as layout
5221 (getFont): layout as layout
5222 (getLabelFont): layout as layout
5223 (getLayoutFont): layout as layout
5224 (breakParagraph): layout as layout
5225 (stripLeadingSpaces): layout as layout
5226 (getEndLabel): layout as layout
5227 (getMaxDepthAfter): layout as layout
5228 (applyLayout): layout as layout
5229 (TeXOnePar): layout as layout
5230 (simpleTeXOnePar): layout as layout
5231 (TeXEnvironment): layout as layout
5232 (layout): layout as layout
5233 (layout): layout as layout
5235 * lyxtextclass.C (compare_name): new functor to work with
5236 shared_ptr, layout as layout
5237 (Read): layout as layout
5238 (hasLayout): layout as layout
5239 (operator): layout as layout
5240 (delete_layout): layout as layout
5241 (defaultLayout): layout as layout
5243 * lyxlayout_ptr_fwd.h: new file
5245 * lyxlayout.C (Read): layout as layout
5247 * lyx_cb.C (MenuInsertLabel): layout as layout
5249 * bufferlist.C (newFile): layout as layout
5251 * buffer.C (readLyXformat2): layout as layout
5252 (parseSingleLyXformat2Token): layout as layout
5253 (insertStringAsLines): layout as layout
5254 (asciiParagraph): layout as layout
5255 (latexParagraphs): layout as layout
5256 (makeLinuxDocFile): layout as layout
5257 (simpleLinuxDocOnePar): layout as layout
5258 (makeDocBookFile): layout as layout
5259 (simpleDocBookOnePar): layout as layout
5260 (getLists): layout as layout
5262 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5264 * CutAndPaste.C (cutSelection): layout as layout
5265 (pasteSelection): layout as layout
5266 (SwitchLayoutsBetweenClasses): layout as layout
5268 * BufferView_pimpl.C (Dispatch): layout as layout
5269 (smartQuote): layout as layout
5271 * BufferView2.C (unlockInset): layout as layout
5273 2002-06-24 André Pönitz <poenitz@gmx.net>
5275 * lyxfunc.C: fix #487
5277 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5281 * lyxfunc.C: remove display_shortcuts, show_banner
5283 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5285 * Buffer_pimpl.C: oops, update on resize
5287 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5294 * BufferView.C: use repaint()
5296 * BufferView_pimpl.h:
5297 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5298 as it's a clearer description. Remove superfluous
5301 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5303 * text.C: fix bug 488. Not ideal, but getting
5304 getWord() to work properly for the insets that
5305 matter is more difficult ...
5307 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5309 * BufferView_pimpl.C:
5312 * lyxfunc.C: remove the six million index lyxfuncs to just
5313 one, and DTRT (bug 458)
5315 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5319 * BufferView_pimpl.h:
5320 * BufferView_pimpl.C: clean up resize() stuff,
5321 and unnecessary updateScreen()s
5323 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5327 * BufferView_pimpl.h:
5328 * BufferView_pimpl.C:
5331 * minibuffer.C: remove focus management of workarea,
5332 not needed. Use screen's greyOut()
5334 2002-06-17 Herbert Voss <voss@lyx.org>
5336 * converter.C: (convert) do not post a message, when converting
5337 fails, let the calling function decide what to do in this case
5339 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5341 * lyxfunc.C: tidy up a little
5343 2002-06-16 <alstrup@diku.dk>
5345 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5346 Got rid of FORMS_H_LOCATION include. Now we are
5349 2002-06-15 LyX Development team <lyx@rilke>
5351 * buffer.[Ch] (sgmlOpenTag):
5352 (sgmlCloseTag): Added support for avoiding pernicious mixed
5353 content. Return number of lines written.
5356 (makeDocBookFile): Fixed calls to sgml*Tag.
5357 Simple white space clean.
5359 (simpleDocBookOnePar): Simple white space clean.
5361 * tabular.[Ch] (docBook): Renamed to docbook and got another
5362 argument to related with the pernicious mixed content.
5364 (docbookRow): Fixed calls for docbook inset method.
5366 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5368 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5369 so it's X11 independent.
5373 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5375 2002-06-15 Lyx Development team <lyx@electronia>
5377 * intl.h: Renamed getTrans to getTransManager.
5379 2002-06-14 Angus Leeming <leeming@lyx.org>
5381 * Makefile.am: nuke forgotten stl_string_fwd.h.
5383 2002-06-12 Angus Leeming <leeming@lyx.org>
5385 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5387 2002-06-13 Angus Leeming <leeming@lyx.org>
5390 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5392 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5394 * kbmap.C (getiso): add support for cyrillic and greek
5396 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5400 * BufferView_pimpl.h:
5401 * BufferView_pimpl.C: move bogus scrolling logic
5404 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5407 * BufferView_pimpl.C: view->resize() change
5409 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5411 * BufferView_pimpl.C: topCursorVisible
5414 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5418 * lyx_gui.C: move to frontends/
5422 * lyx_main.C: changes from above
5424 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5431 * lyx_main.C: minor tidy
5433 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5435 * BufferView_pimpl.h:
5436 * BufferView_pimpl.C:
5438 * BufferView.C: make painter() const,
5441 * BufferView2.C: use screen() accessor
5444 * lyx_main.C: some minor cleanup
5446 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5448 * BufferView_pimpl.h:
5449 * BufferView_pimpl.C: remove enter/leaveView,
5452 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5457 * BufferView_pimpl.h:
5458 * BufferView_pimpl.C: only construct screen once,
5461 * lyxrc.C: remove pointless comment
5463 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5466 * BufferView.C: remove active() and belowMouse()
5468 * BufferView_pimpl.h:
5469 * BufferView_pimpl.C: use workarea() not workarea_,
5470 and make it use a scoped_ptr instead
5472 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5474 * lyx_gui.C: add debug message on BadWindow
5476 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5478 * sp_spell.C: fdopen is not part of the C++ standard.
5480 * paragraph.C (InsetIterator): use >= instead of ==
5482 2002-06-07 Angus Leeming <leeming@lyx.org>
5484 Fixes needed to compile with Compaq cxx 6.5.
5485 * BufferView_pimpl.C:
5492 * lyxtextclasslist.C:
5497 all c-library variables have been moved into namespace std. Wrap
5498 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5503 Add a using std::abs declaration.
5505 * kbmap.h (modifier_pair):
5506 * paragraph.h (InsetTable, InsetList):
5507 * lyxfont.h (FontBits):
5508 type definition made public.
5510 * bufferlist.C (emergencyWriteAll): the compiler complains that
5511 there is more than one possible lyx::class_fun template to choose from.
5512 I re-named the void specialisation as lyx::void_class_fun.
5514 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5516 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5517 the compiler is is unable to find tostr in write_attribute.
5519 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5521 * buffer.C (sgmlError): hide #warning
5523 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5525 * xtl/*: get rid of xtl, which is not in use anyway
5527 * LyXAction.C (init):
5528 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5529 were unimplemented xtl experimentation
5531 2002-06-04 André Pönitz <poenitz@gmx.net>
5533 * lyxfunc.C: disable array operation on simple formulae
5535 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5537 * converter.C: constify a bit
5539 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5541 * lyx_gui.C: check xforms version correctly
5543 2002-04-30 Herbert Voss <voss@lyx.org>
5545 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5548 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5550 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5551 attempt to register it with a VCS)
5553 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5555 * lyx_main.C (init): honor variables LYX_DIR_13x and
5558 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5562 * lyx_main.C: fix a crash on bad command line,
5563 and give a useful exit status on error
5565 * lyxfunc.C (doImport): allow -i lyx to work
5567 2002-03-30 André Pönitz <poenitz@gmx.net>
5569 * lyxfunc.C: mathed font changes
5571 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5586 * trans_mgr.h: srcdocs, and some minor cleanups
5588 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5590 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5591 call getFont all the time)
5593 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5595 * switch from SigC signals to boost::signals
5597 2002-05-29 André Pönitz <poenitz@gmx.net>
5599 * paragraph_pimpl.C (getChar): don't call size() too often...
5601 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5603 * paragraph_pimpl.C (insertChar): do not try to update tables when
5604 appending (pos == size())
5606 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5607 in order to reduce drastically the number of comparisons needed to
5608 parse a large document
5610 2002-05-29 André Pönitz <poenitz@gmx.net>
5616 * textclasslist.[Ch]:
5617 * sp_ispell.h: whitespace change
5619 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5621 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5622 lyxaction directly now.
5624 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5628 * lyxvc.C: remove unused headers
5630 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5637 * undo_funcs.C: some cleanups. Use shared_ptr
5638 and a template for the undo stacks.
5640 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5642 * BufferView_pimpl.h:
5643 * BufferView_pimpl.C:
5650 * text2.C: use key_state/mouse_state
5652 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5654 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5657 * chset.C: change include order
5658 (loadFile): use boost regex and get rid of LRegex and LSubstring
5660 * Makefile.am (BOOST_LIBS): new variable
5663 * LaTeX.C: change include order.
5664 (scanAuxFile): use boost regex and get rid of LRegex and
5668 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5673 * FontInfo.C: moved to frontends/xforms/
5676 * FontLoader.C: moved into frontends for GUIIzation
5681 * lyxfunc.C: changes from above
5683 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5685 * LColor.C: remove spurious X include
5687 * BufferView_pimpl.C:
5692 * text2.C: move font metrics to frontends/
5694 2002-05-24 Juergen Vigna <jug@sad.it>
5696 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5697 setting the undo_cursor.
5699 * ParagraphParameters.h: include local includes first.
5701 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5703 * BufferView_pimpl.C:
5704 * BufferView_pimpl.h:
5708 * screen.C: move WorkArea into frontends/
5714 * BufferView2.C: move LyXScreen into frontends/
5718 * lyx_gui.C: move lyxlookup into frontends/xforms/
5720 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5723 * BufferView_pimpl.C:
5733 * bufferview_funcs.C:
5746 * vc-backend.C: move LyX/XFormsView into frontends/
5748 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5760 * text2.C: move Painter to frontends/
5762 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5764 * buffer.C: comment out some some code that depend upon lyx_format
5767 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5768 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5770 * buffer.h (NO_COMPABILITY): turn off compability
5772 * ColorHandler.C: include scoped_array.hpp
5774 * font.C: Use more specific smart_ptr header.
5777 * ShareContainer.h: ditto
5781 * BufferView_pimpl.h: ditto
5782 * ColorHandler.h: ditto
5784 * kbmap.C (defkey): change call to shared_ptr::reset
5786 2002-05-21 Juergen Vigna <jug@sad.it>
5788 * buffer.C (insertErtContents): fix to insert ert asis if it is
5789 non empty. Skip it completely if it contains only whitespaces.
5791 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5793 * BufferView_pimpl.C:
5794 * BufferView2.C: clear selection on paste (bug 393)
5796 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5798 * DepTable.C: include ctime
5800 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5802 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5804 2002-05-14 Juergen Vigna <jug@sad.it>
5806 * text.C (breakParagraph): fixed function to honor the keepempty
5807 layout in the right maner and also to permit the right breaking
5808 algorithm on empty or non empyt keepempty paragraphs.
5810 * paragraph.C (breakParagraph): we have to check also if the par
5811 is really empty (!size()) for isempty otherwise we do the wrong
5814 2002-05-10 Juergen Vigna <jug@sad.it>
5816 * buffer.[Ch] : The following are only changes to the ert
5817 compatibility read reading old LaTeX layout and font stuff and
5818 convert it to ERTInsets.
5820 * buffer.h: added isErtInset().
5822 * buffer.C (struct ErtComp): add a fromlayout bool to check
5823 if we're inside a LaTeX layout.
5824 (isErtInset): new helper function.
5825 (insertErtContents): look for other ert insets before this one
5826 and insert the contents there, so that we don't have subsequent
5827 ERT insets with nothing between them. This way we create only one
5828 inset with multiple paragraphs. Also check if we don't insert only
5829 spaces ' ' as they are ignored anyway afterwards in the .tex file
5830 so if we have only spaces we will ignore this latex part in the
5832 (parseSingleLyXformat2Token \\layout): better compatibility when
5833 reading layout-latex stuff.
5834 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5836 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5837 stuff after reading the inset only get the information back from
5840 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5842 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5844 * LaTeXFeatures.C (getBabelOptions): New method.
5846 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5848 * BufferView_pimpl.C (Dispatch): work around missing argument for
5851 2002-05-08 Juergen Vigna <jug@sad.it>
5853 * text.C (leftMargin): handle paragraph leftindent.
5855 * paragraph.C (writeFile): write the new \\leftindent tag.
5856 (validate): handle leftindent code.
5857 (TeXEnvironment): handle paragraphleftindent code again.
5859 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5861 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5862 for paragrap_extra indent code and new token \\leftindent.
5863 (latexParagraphs): handle the leftindent as environment.
5865 * ParameterStruct.h: added leftindent support.
5867 * ParagraphParameters.C (leftIndent): added support functions for
5868 the paragraph left indent.
5870 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5873 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5875 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5878 * text.C (computeBidiTables): No bidi in insetERT.
5880 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5883 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5885 * version.C.in: pre 5
5887 2002-05-02 José Matos <jamatos@fep.up.pt>
5888 * buffer.C (makeDocBookFile): white space changes, add newline to
5890 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5892 * tabular.C (docBook): fix typo.
5894 2002-05-03 Juergen Vigna <jug@sad.it>
5896 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5897 change in LyXText as we can not be sure it was not freed.
5898 (drawOneRow): remove unused code.
5900 * text.C (drawInset): redo the calculation of the need_break_row as
5901 it could have a row which was already freed.
5902 (draw): look at the return value of drawInset and return false if
5903 it also returned false.
5904 (paintRowText): look at the return value of draw and return false if
5905 it also returned false.
5907 * lyxtext.h: added bool return type to drawInset() and draw() so that
5908 if we have a change in the row so that the rowbreak has to be redone
5909 we abort drawing as it will be called again.
5911 2002-05-02 Juergen Vigna <jug@sad.it>
5913 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5914 a change in the maintext also if we're inside an inset.
5915 (Dispatch): set the cursor again after a break line and after the
5916 screen has been updated as it could be we're in a different row.
5918 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5919 to set the cursor behind the pargraph with > size().
5920 (setCursor): check also for the same paragraph when checking where
5921 to put the cursor if we have a NFR inset.
5923 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5924 parts of layout read further up as it still was in the wrong
5927 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5929 * screen.C (drawFromTo): change sine fullRebreak always return
5932 * buffer.C (parseSingleLyXformat2Token): reindent some
5934 * BufferView_pimpl.C (update): change since fullRebreak always
5936 (Dispatch): git rid of the last hardcoded "Standard"s.
5938 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5940 * text2.[Ch] (fullRebreak): make it return void now that we always
5943 2002-04-30 Juergen Vigna <jug@sad.it>
5945 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5946 ert compatibility check for "latex" layout.
5948 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5950 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5951 minipages: use col% instead of p%, and also use the current font.
5952 (makeLaTeXFile): Fix use babel condition.
5953 (parseSingleLyXformat2Token): Correct font when reading old floats.
5955 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5957 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5958 inserting list of floats.
5960 2002-04-25 Herbert Voss <voss@lyx.org>
5962 * MenuBackend.C (expand): don't add the graphics extensions to the
5965 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5967 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5968 non-existing layout, do not complain if it was the default layout
5969 of the original class (bug #342)
5971 2002-04-24 Juergen Vigna <jug@sad.it>
5973 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5974 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5976 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5978 * buffer.C (getBibkeyList): If using \bibliography, return the
5979 option field with the reference itself. Enables us to provide natbib
5980 support when using \bibliography.
5982 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5984 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5986 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5987 natbib is provided by the LaTeX class.
5989 2002-04-23 Juergen Vigna <jug@sad.it>
5991 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5994 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5996 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5998 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6000 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6001 ensuremath around textordmasculine, textordfeminine and
6004 2002-04-19 Juergen Vigna <jug@sad.it>
6006 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6007 reinitializing the buffer otherwise row-dimensions may be wrong.
6008 (update): reset also the selection cursors if they do exits otherwise
6009 their x/y positions may be wrong.
6011 * text2.C (cursorDown): don't enter the inset if we came from a row
6012 above and are one row over the inset.
6014 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6015 really leaving an inset.
6017 2002-04-18 Juergen Vigna <jug@sad.it>
6019 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6020 of the selected paragraph does not have the selected layout also if
6023 * text2.C (setLayout): fixed bug which did not change last selected
6026 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6027 changed the read and substituted \\end_float with \\end_inset!
6029 * BufferView_pimpl.C (cursorPrevious):
6030 (cursorNext): fixed to make it work with rows heigher than the work
6031 area without moving the cursor only the draw of the row.
6032 (workAreaMotionNotify): fix jumping over high rows.
6034 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6036 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6039 2002-04-16 Juergen Vigna <jug@sad.it>
6041 * text2.C (setCursor): set also the irow().
6042 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6044 (cursorDown): support for locking an inset if the x_fix value goes
6045 inside it. That way I can transverse insets too with cursor up/down.
6047 * lyxrow.h: added irow helper function same as other (i) functions.
6049 * BufferView_pimpl.C (cursorPrevious):
6050 (cursorNext): fixed for insets!
6052 2002-04-15 Juergen Vigna <jug@sad.it>
6054 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6055 position otherwise it is wrong in some cases.
6057 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6058 inside the inset before the call.
6060 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6062 * buffer.[Ch] (getBibkeyList): make it const.
6064 2002-04-12 Juergen Vigna <jug@sad.it>
6066 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6068 * text2.C (getCursorX): new helper function
6069 (setCursor): compute also ix_
6070 (setCursorFromCoordinates): set also ix.
6072 * lyxcursor.h: added ix_ and helper functions.
6074 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6076 * buffer.C (insertStringAsLines): dont break paragraph if the this
6077 paragraph is inside an inset which does not permit it!
6079 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6080 also with no chars on this paragraph.
6081 (paintRowText): only paint stuff if it's inside the workarea!
6083 * paragraph.C (breakParagraph): honor keepempty flag and break the
6084 paragraph always below not above.
6086 * BufferView2.C (unlockInset): update the paragraph layout on inset
6087 unlock as we changed paragraph in such a case.
6089 * lyxfind.C (LyXFind): clear the former selection if not found!
6091 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6092 again called in insertChar().
6094 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6095 an inset which uses the whole row!
6096 (rightMargin): ditto.
6097 (insertChar): force a rebreak if we inserted an inset!
6099 2002-03-28 Herbert Voss <voss@lyx.org>
6101 * lyxlength.[Ch]: add inBP() to get the right PS-point
6102 units (BigPoint). With inPixels we have rounding errors
6104 2002-04-11 Juergen Vigna <jug@sad.it>
6106 * text2.C (setCursorFromCoordinates): set iy to the right value.
6107 (setCursor): add check if row->previous exists!
6109 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6110 an old float_type as this was the case in the old code!
6112 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6114 * BufferView2.C (showLockedInsetCursor): use iy
6115 (fitLockedInsetCursor): ditto
6117 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6118 locked insets as there we have the right value now.
6120 * lyxcursor.C: added iy_ variable and iy functions to set to the
6121 baseline of cursor-y of the locked inset.
6123 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6124 (setCursor): fixed for insets which need a full row.
6126 * text.C (rowLastPrintable): don't ignore the last space when before
6127 an inset which needs a full row.
6128 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6129 as last character of a row when before a inset which needs a full row.
6131 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6133 * version.C.in: update date
6135 * text2.C (fullRebreak): try to always return true and see what
6138 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6140 * MenuBackend.C (expand): use Floating::listName
6142 * FloatList.C (FloatList): add listName argument to the built-in
6145 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6146 text associated with the float.
6148 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6150 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6152 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6154 * ShareContainer.h: add a couple of missing typenames.
6156 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6158 * lyxrc.C (getDescription): use _() correctly rather than N_().
6160 2002-03-28 Herbert Voss <voss@lyx.org>
6162 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6163 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6165 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6167 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6168 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6170 2002-03-29 Juergen Vigna <jug@sad.it>
6172 * lyxfunc.C (dispatch): add a missing fitCursor call.
6174 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6175 it was scrolled by a cursor move, so return the bool status.
6177 * BufferView.C (fitCursor): return the bool flag also to the outside
6178 world as this is needed.
6180 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6182 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6183 call the edit() as it is not needed (and wrong) IMO.
6184 (workAreaButtonPress): set the screen_first variable before evt.
6185 unlock the inset as this may change screen_first and then we have
6186 a wrong y position for the click!
6188 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6190 * MenuBackend.C (expand): another translation that I missed
6192 2002-03-28 Juergen Vigna <jug@sad.it>
6194 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6196 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6198 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6200 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6202 * MenuBackend.C (expand): fix export/view/update when there is no
6205 2002-03-27 Herbert Voss <voss@lyx.org>
6207 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6210 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6212 * bufferview_funcs.C (currentState): only show paragraph number
6213 for is DEVEL_VERSION is set.
6215 * lyxfunc.C (dispatch): put warning in INFO channel
6217 * MenuBackend.C (expand): translate the name of floats
6219 * FloatList.C (FloatList): mark the float names for translation
6221 * converter.C (convert): use LibScriptSearch
6223 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6225 * MenuBackend.C (defaults): fix default menu (we might as well get
6228 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6230 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6233 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6235 * lyxvc.C: reorder includes.
6237 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6239 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6242 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6244 * CutAndPaste.C: change layouts earlier on paste
6245 to avoid crashing when calling getFont()
6247 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6249 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6252 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6254 * WorkArea.C: remove 'Pending' debug message.
6256 * most files: ws cleanup
6258 * buffer.[Ch]: ws changes
6260 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6262 2002-03-21 Juergen Vigna <jug@sad.it>
6264 * tabular.C (SetMultiColumn): collapse also the contents of the
6265 cells and set the last border right. Added a Buffer const * param.
6267 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6269 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6272 2002-03-19 Juergen Vigna <jug@sad.it>
6274 * text2.C (clearSelection): reset also xsel_cache.
6276 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6277 where it needs to be called (John tells us to do so too :)
6278 (selectionLost): reset sel_cache.
6280 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6282 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6284 * text2.C (setCursorIntern): put debuging code in INSETS channel
6286 2002-03-19 André Pönitz <poenitz@gmx.net>
6288 * lyxfunc.C: tiny whitespace change
6290 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6292 * ToolbarDefaults.C (init):
6293 * LyXAction.C (init):
6295 * BufferView_pimpl.C (Dispatch):
6296 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6298 2002-03-19 Allan Rae <rae@lyx.org>
6300 * exporter.C (Export): removeAutoInsets before doing anything else.
6301 While I've just introduced a dependency on BufferView this really is
6302 the best place to clean the buffer otherwise you need to cleanup in
6303 a dozen places before calling export or cleanup in a dozen functions
6306 * converter.C (runLaTeX):
6307 (scanLog): Better handling of removeAutoInsets and screen updates.
6309 * lyxfunc.C (dispatch): small whitespace changes
6311 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6313 * WorkArea.C (C_WorkAreaEvent): return a value.
6314 (event_cb): return 1 if we handled the event, 0 otherwise.
6316 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6318 2002-03-18 Juergen Vigna <jug@sad.it>
6320 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6321 (GetAdditionalWidth): ditto.
6325 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6326 inset if we're there actually (probably not used right now but this
6327 is the direction to go for unifying code).
6328 (paste): disable code to clear the selection.
6330 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6331 inside an InsetText and move the check further up as it is in the
6334 * text2.C (pasteSelection): set a selection over the pasted text.
6336 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6338 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6339 and libgraphics to build on Cygwin.
6341 2002-03-15 Juergen Vigna <jug@sad.it>
6343 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6344 inserting an Inset into the paragraph. I know this is not the best
6345 fix but we already use current_view in CutAndPaste so we will remove
6346 all of it's using at the same time.
6348 * buffer.C (sgmlError): deactivated function till it is rewritten in
6349 the right mode, now it can create problems.
6351 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6352 before accessing it.
6354 2002-03-14 Juergen Vigna <jug@sad.it>
6356 * undo_funcs.C (textHandleUndo): do the right thing when updating
6357 the inset after the undo/redo.
6359 * text2.C (setCursor): just some testcode for #44 not ready yet.
6361 * undo_funcs.C (textHandleUndo): set the next() and previous()
6362 pointers of the paragraph to 0 before deleting otherwise we have
6363 problems with the Paragraph::[destructor].
6365 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6366 on a paragraph insertion.
6368 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6370 * buffer.C (asciiParagraph): use += operator for char append to
6373 * paragraph.C (getFontSettings): compare >= not just >
6374 (highestFontInRange): ditto
6377 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6379 * paragraph.C: change several algorithm to be more appripriate for
6380 the problem domain. This is lookip in FontList and in the InsetList.
6382 2002-03-13 André Pönitz <poenitz@gmx.net>
6385 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6387 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6392 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6394 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6396 * Painter.C (display): anon helper function, adjust code for this
6398 (pixmap): remove function.
6400 * Painter.h: remove private display variable.
6402 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6404 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6406 * WorkArea.[Ch]: remove figinset_canvas cruft.
6408 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6410 * lyxtextclass.C (operator): add one item cache optimization.
6412 * bufferlist.h: doxy changes
6414 * bufferlist.C: ws changes
6416 * DepTable.[Ch] (ext_exist): place const in the right spot.
6418 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6420 (workAreaExpose): call resizeInsets when the with BufferView changes.
6421 (Dispatch): adjust for protectedBlank removal
6422 (specialChar): call updateInset if the insert went ok.
6424 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6425 specialChar instead.
6427 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6429 * BufferView.h: doxy change
6431 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6433 * lyxtextclass.C (operator[]): remove non-const version
6434 (defaultLayout): remove non-const version
6436 2002-03-12 Juergen Vigna <jug@sad.it>
6438 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6439 did resize the LyXText too.
6441 * buffer.C (readLyXformat2): set layout information on newly allocated
6444 * tabular.C (OldFormatRead): set layout information on the paragraph.
6446 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6448 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6450 2002-03-11 Juergen Vigna <jug@sad.it>
6452 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6454 (resizeCurrentBuffer): force also the insets to resize themselfes.
6455 (moveCursorUpdate): fixed up for InsetText.
6457 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6460 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6461 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6462 value of Dialogs::tooltipsEnabled().
6463 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6465 2002-03-08 Juergen Vigna <jug@sad.it>
6467 * BufferView_pimpl.C (updateInset): update inset inside inset also
6468 if it isn't inside theLockingInset().
6470 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6472 * buffer.C (asciiParagraph): redo some of the word and line length
6474 (getLists): look for Caption instead of caption.
6476 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6478 * buffer.C (Buffer): initialize niceFile to true
6481 (makeDocBookFile): make sure niceFile is true on exit
6483 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6485 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6487 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6489 * LyXSendto.C: remove.
6490 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6491 * lyx_gui.C: remove now-redundant comment.
6492 * ColorHandler.h: remove forward declaration of class WorkArea.
6493 * lyxfunc.C: remove #include "WorkArea.h".
6495 2002-03-07 Juergen Vigna <jug@sad.it>
6497 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6498 got moved away with the DEPM and also set the inset_owner always
6499 right which before could have been omitted.
6501 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6503 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6504 wanted layout is not found.
6506 2002-03-07 Juergen Vigna <jug@sad.it>
6508 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6510 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6512 * paragraph.C (breakParagraph): use default layout not layout of
6514 (Paragraph): clear ParagraphParameters.
6516 2002-03-06 Juergen Vigna <jug@sad.it>
6518 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6519 otherwise it would not be a valid lenght. Fixed a special case in
6520 the minipage compatibility read where we end the document with a
6523 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6524 was set as it could be 0 for InsetTexts first entry.
6526 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6528 * paragraph.C (writeFile): if layout is empty write out
6529 defaultLayoutName().
6531 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6532 file without named layout we set layout to defaultLayoutName().
6534 2002-03-06 Juergen Vigna <jug@sad.it>
6536 * CutAndPaste.C (copySelection): set layout for new paragraph.
6538 * text.C (prepareToPrint): leave ERT inset left aligned
6539 (leftMargin): don't indent paragraphs inside ERT insets
6541 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6543 * paragraph.C (breakParagraph): dont call clear do the work manually
6545 * paragraph.[Ch] (clear): remove function
6547 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6549 * paragraph.C (Paragraph): dont call clear, the work has already
6552 * lyxtextclass.C (operator): assert if n is empty
6554 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6555 work manually instead.
6557 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6559 * BufferView_pimpl.C: protect selectionLost against text == 0
6561 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6563 * text.C (breakParagraph): fix a setting layout to '0' problem.
6565 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6567 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6568 final location of file, for the included files, and graphics.
6570 2002-03-05 Juergen Vigna <jug@sad.it>
6572 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6574 2002-03-04 Juergen Vigna <jug@sad.it>
6576 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6578 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6579 last column of multicolumn cells.
6580 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6582 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6584 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6585 file if it doesn't go to a temporary file.
6587 * buffer.C (sgmlOpenTag):
6588 (sgmlCloseTag): remove extra newline insertion.
6590 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6592 * text.C (getRowNearY): comment out debug msg
6594 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6596 * text2.C: first -> first_y
6598 * text.C (getRowNearY): add some attemts at a possible
6599 optimization, not working.
6601 * tabular.[Ch]: add BufferParams to several function so that newly
6602 created paragraph can be initialized to he default layotu for the
6605 * tabular-old.C (ReadOld): add buf->params to call of Init
6607 * screen.C: rename text->first to text->first_y
6609 * paragraph.C (breakParagraph): always set layout in the broken
6612 * lyxtextclass.C (Read): remove lowercase
6615 (delete_layout): ditto
6617 * lyxtext.h: rename first -> first_y
6619 * lyxlayout.C (Read): remove lowercase
6622 (obsoleted_by): ditto
6624 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6626 * buffer.C (insertErtContents): add params are to InsetERT
6627 (parseSingleLyXformat2Token): add code to check if a paragraphs
6628 layout really exist.
6629 (parseSingleLyXformat2Token): add params to several inset
6631 (asciiParagraph): remove lowercase, do the layout comparisons with
6634 * BufferView_pimpl.C (cursorNext): first -> first_y
6635 (resizeCurrentBuffer): first -> first_y
6636 (updateScrollbar): first -> first_y
6637 (scrollCB): first -> first_y
6638 (workAreaMotionNotify): first -> first_y
6639 (workAreaButtonPress): first -> first_y
6640 (checkInsetHit): first -> first_y
6641 (cursorPrevious): first -> first_y
6642 (cursorNext): first -> first_y
6643 (Dispatch): add buffer_->params to severl inset contructors
6645 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6647 * lyxlayout.C (Read): remove some debug info that I forgot.
6649 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6650 clean up the code slightly.
6651 (makeLinuxDocFile): ditto
6652 (makeDocBookFile): ditto
6654 * text2.C: layout as string
6656 * text.C: layout as string
6658 * paragraph_pimpl.C: layout as string
6660 * paragraph.[Ch]: layout as string
6662 * lyxtextclasslist.[Ch]: layout as string
6664 * lyxtextclass.[Ch]: layout as string
6666 * lyxtext.h: layout as string
6668 * lyxlayout.[Ch]: layout as string
6670 * lyx_cb.C: layout as string
6672 * bufferview_funcs.C: layout as string
6674 * bufferparams.C: layout as string
6676 * buffer.C: layout as string
6678 * LyXView.[Ch]: layout as string
6680 * LaTeXFeatures.[Ch]: layout as string
6682 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6684 * BufferView_pimpl.C: change current_layout to string, remove
6689 (workAreaButtonRelease): layout as string
6691 * BufferView2.C (unlockInset): adjust
6693 * vspace.C (asLatexCommand): use an explict temp variable.
6695 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6697 * Makefile.am: use FRONTEND_*
6699 2002-03-01 Juergen Vigna <jug@sad.it>
6701 * tabular.C (SetWidthOfMulticolCell): changed to something better
6702 I hope but still work in progress.
6703 (recalculateMulticolumnsOfColumn): renamed function from
6704 recalculateMulticolCells as it is more appropriate now.
6705 (SetWidthOfCell): calculate multicols better.
6707 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6709 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6711 * lyxfunc.C (processKeySym): print sequence also if it is
6712 `deleted' (complete)
6714 * kbsequence.C (print): print sequence even if it is deleted
6715 (complete would be a better word, actually).
6717 * lyxfunc.C (dispatch): print complete options after a prefix key
6719 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6721 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6723 * text2.C (setCharFont): eliminate setCharFont code duplication.
6725 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6727 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6728 LFUN_TABULAR_FEATURE (bug #177)
6730 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6732 * Makefile.am: remove figure.h
6734 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6736 * Bufferview_pimpl.C:
6748 * text2.C: remove #include "lyx_gui_misc.h".
6750 * LaTeX.C: added #include <cstdio>
6752 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6754 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6755 that the paragraph following this one can have.
6757 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6759 * vspace.C (asLatexCommand): fix bogus gcc warning
6761 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6763 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6765 * text2.C (setLayout): get rid of redundant code
6767 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6769 * text2.C (incDepth): make sure depth cannot be increased beyond
6772 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6774 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6775 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6777 * PainterBase.h (image):
6778 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6781 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6785 * BufferView_pimpl.C:
6786 * BufferView_pimpl.h:
6806 * sp_spell.C: remove fig inset, and the crap house of
6807 cards that follows it
6809 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6815 * nt_defines.h: move .h into support/
6817 * vms_defines.h: remove
6819 * WorkArea.C: add space in debug output
6823 * buffer.C: add WITH_WARNINGS
6827 * bufferlist.C: s/retrive/retrieve/, add docs
6838 * lyxgui.C: add ID to X error handler
6840 * lyxtestclass.c: fix typo
6842 2002-02-26 Juergen Vigna <jug@sad.it>
6844 * tabular_funcs.C (write_attribute): changed so that some default
6845 attributes are not written at all.
6846 (getTokenValue): set default values before trying to read the
6847 value so we have the return value always set as default if we don't
6848 find the token we search for.
6850 * tabular.C (Write): write bools as bools not as strings!
6852 2002-02-22 Juergen Vigna <jug@sad.it>
6854 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6855 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6857 * text.C (leftMargin): don't add an indent for paragraphs inside
6858 tabular cells (fix #208).
6860 2002-02-21 José Matos <jamatos@fep.up.pt>
6862 * tabular.C (docBook): fixed support for long tables.
6864 2002-02-20 Juergen Vigna <jug@sad.it>
6866 * text2.C (getFont): get the drawing font of the Inset if this
6867 paragraph is inside an inset (only important for InsetERT for now).
6869 * buffer.C (insertErtContents): use new lanugage params in ERT
6872 * CutAndPaste.C: commenting out seemingly uneeded code.
6874 2002-02-19 Allan Rae <rae@lyx.org>
6876 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6877 Iterators might be simple to use but they also get invalidated.
6878 (removeAutoInsets): renamed saved cursor tracking variables and added
6879 some comments to clarify what everything does.
6881 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6888 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6889 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6892 * vc-backend.h: remove #include "support/syscall.h"
6896 * converter.C: rearrange #includes in Lars' approved fashion.
6898 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6899 forward declare class Timeout in the header file.
6901 * XFormsView.C: changes due to the above.
6903 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6906 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6907 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6909 2002-02-18 José Matos <jamatos@fep.up.pt>
6911 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6914 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6916 * a lot of small ws changes
6917 * add a lot of using std::XXX
6918 * use std construcs some places where approp.
6919 * use some exisint stuff from lyxfunctional where approp.
6920 * Make file changes to use partial linking (lets test this now...)
6922 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6926 remove #include "support/syscontr.h" as it's redundant. Always has been.
6934 change Systemcalls::System to Systemcalls::Wait and
6935 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6936 No change of functionality, just reflects the stripped down Systemcalls
6939 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6941 * debug.[Ch]: add a GRAPHICS type to the enum.
6943 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6945 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6947 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6950 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6952 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6953 match the changes below.
6955 * text2.C (toggleInset): if there is not editable inset at cursor
6956 position, try to see if cursor is _inside_ a collapsable inset
6959 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6961 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6962 document menu has a nice checkbox
6964 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6966 * lyxlength.C (asLatexString): change PW to output as percent of
6969 * lengthcommon.C: change '%' to 't%'
6971 * lyxfunc.C (dispatch): a few comments from Martin
6973 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6977 * BufferView_pimpl.h:
6978 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6981 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6983 * vspace.C (inPixels): fix compiler warning
6985 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6987 * lyxfunc.C (getStatus): fix status message for disabled commands.
6989 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6991 * BufferView_pimpl.C: fix crash on close buffer
6992 during selection (#227)
6994 2002-01-27 Herbert Voss <voss@lyx.org>
6996 * buffer.C: link old Figure to new graphic inset
6998 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7000 * FontLoader.C (getFontinfo): Change the latex font names in order
7001 to match the names of type1inst.
7003 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7005 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7007 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7010 (remove_files_with_extension): ditto
7011 (remove_file): ditto
7014 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7015 document is smaller than the work area height. Do not initialize
7016 static variables to 0.
7018 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7020 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7022 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7023 LFUN_LAYOUT_PARAGRAPHS.
7025 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7026 tabular. It is possible to provide a possible cell, which will
7027 typically be the actcell from the corresponding insettabular
7029 * lyxfunc.C (getStatus): small cleanup; disable
7030 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7033 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7035 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7037 * paragraph.C (startTeXParParams):
7038 (endTeXParParams): new methods. The LaTeX code to
7039 start/end paragraph formatting
7040 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7041 empty (fixes bug #200)
7043 * vspace.C (inPixels): adapt to the change below
7044 (inPixels): [later] more cleanups (remove unused variables)
7046 * lyxlength.C (inPixels): change to use a width and a height as
7049 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7051 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7052 Replaced with \paperwidth
7054 * DepTable.C (insert): add std:: qualifier
7056 2002-01-18 Allan Rae <rae@lyx.org>
7058 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7061 * text.C (drawInset): Turned out I didn't know enough about how
7062 rebreaking worked. This fixes most of the redraw problems. I see
7063 an occasional cursor trail when a line is broken now and the cursor
7064 placement can seem out by a few pixels also after a rebreak.
7066 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7068 * buffer.C (parseSingleLyXformat2Token): update because minipage
7069 width is now a LyXLength
7071 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7073 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7076 2002-01-17 Juergen Vigna <jug@sad.it>
7078 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7080 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7081 is set correctly and the inset is updated correctly.
7083 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7085 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7086 the beginning of the loop.
7088 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7090 * lyxrc.C: improve help for use_scalable_fonts
7092 2002-01-17 Allan Rae <rae@lyx.org>
7094 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7096 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7098 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7099 make sure to set their inset_owner to the right value (bug #171)
7101 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7104 * DepTable.C: Implement mtime checking to reduce time spent doing
7107 2002-01-16 Juergen Vigna <jug@sad.it>
7109 * tabular.C (GetAdditionalHeight): one of error fixed.
7111 * lyxrc.C (output): small fix in writing use_pspell.
7113 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7115 * sp_base.h: #include LString.h
7117 2002-01-16 Allan Rae <rae@lyx.org>
7119 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7120 Can someone check this please?
7122 * text.C (drawInset): It was possible that p.row would be removed by
7123 breakAgainOneRow upsetting a few other settings. There may be another
7124 small tweak possible by setting need_break_row = 0 when p.row has been
7125 removed but I don't know enough about the logic here.
7127 2002-01-15 Allan Rae <rae@lyx.org>
7129 * text.C (insertChar): removed conditional truism.
7131 * BufferView2.C (removeAutoInsets): More tweaks.
7132 cur_par_prev could be a stray pointer. Check for trailing empty line
7133 in case last line was cur_par and only had an error inset on it.
7135 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7137 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7140 * vc-backend.C (most methods):
7141 * exporter.C (Export):
7142 * converter.C (convert):
7144 * LyXSendto.C (SendtoApplyCB):
7145 * lyxfunc.C (dispatch):
7149 * lyx_cb.C (AutoSave):
7151 * BufferView_pimpl.C (MenuInsertLyXFile):
7152 * buffer.C (runChktex): use Buffer::filePath().
7154 * buffer.h: rename filename to filename_; rename filepath to
7155 filepath_ and make it private
7156 (filePath): new method
7158 * buffer.C (writeFile): use fileName()
7161 * lyx_main.C (init): fix starting of LyX when the binary is a
7162 link from so,ewhere else.
7164 * minibuffer.C: include <cctype> for isprint
7166 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7168 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7169 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7170 name clash with InsetCollapsable's width function.
7172 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7174 * lastfiles.C: include <iterator>
7176 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7178 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7181 * buffer.C (makeLaTeXFile): ditto.
7182 Also make loop operation more transparent.
7184 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7186 * ToolbarDefaults.C: remove trailing comma closing namespace.
7188 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7190 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7193 * trans.C (Load): comment out unused variable, allowed.
7195 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7197 * minibuffer.[Ch] (append_char): new method to recieve input from the
7198 drop-down completion browser. If a key was pressed, then recieve this
7199 char and append it to the existing string.
7200 (peek_event): modify the positioning data passed to the completion
7201 browser so that it can be placed above the minibuffer rather than below.
7202 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7204 * LyXAction.C (init): alloe error-next for readonly documents.
7206 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7209 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7211 * bufferlist.C (readFile): create the buffer _after_ checking that
7214 * lyxfunc.C (verboseDispatch): fix handling of arguments
7216 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7218 * lyxrc.C: use string::erase() instead of initializing to "".
7221 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7223 * BufferView_pimpl.h:
7224 * BufferView_pimpl.C:
7227 * text2.C: tell X when we have made a selection for copying
7229 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7231 * BufferView_pimpl.C (MenuInsertLyXFile):
7232 * lyxfunc.C (menuNew):
7234 (doImport): add shortcuts to directory buttons
7236 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7239 * lyxfunc.C (setStatusMessage):
7240 (getStatusMessage): new methods
7241 (getStatus):use setStatusMessage instead of setErrorMessage
7242 (dispatch): when function is disabled, set error message here
7243 [instead of in getStatus previously]
7245 * BufferView_pimpl.C (workAreaButtonRelease): update
7246 toolbar/menubar here too.
7248 2002-01-13 Allan Rae <rae@lyx.org>
7250 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7251 Now seems indestructible. Remaining task is to audit all other
7252 code affected by deleteEmptyParagraphMechanism. One small quirk
7253 left is that an empty document with an error in the preamble can
7254 be made to report an error but no error box appears. I don't know
7256 (removeAutoInsets): Improved comments.
7258 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7261 * Thesaurus.C: update for Aiksaurus 0.14
7263 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7265 * text2.C (firstParagraph): removed member function, all uses
7266 replaces with ownerParagraph
7267 (redoParagraphs): here
7269 (toggleAppendix): here
7270 * BufferView2.C (insertErrors): here
7271 (setCursorFromRow): here
7273 2002-01-13 Allan Rae <rae@lyx.org>
7275 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7276 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7277 There is still a way to segfault this although you may have to do this
7278 multiple times: Have an InsetERT with an unknown command in it.
7279 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7280 <down-arrow>, <Enter> again, View->DVI, BANG!
7282 * text2.C (setCursor):
7283 (deleteEmptyParagraphMechanism):
7284 * lyxtext.h (setCursor):
7285 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7286 Making use of the return value may help fix other bugs.
7288 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7290 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7292 * LyXView.C (updateMenubar): call MenuBar::update here
7293 (updateToolbar): but not here
7294 (showState): do not update toolbar/menubar
7296 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7297 should need to care about that.
7299 * lyxfunc.C (verboseDispatch): simplify a bit
7300 (getStatus): have a version which takes a pseudoaction, and
7301 another which requires a (kb_action,string).
7303 * LyXAction.C (retrieveActionArg): make it work also when action
7304 is not a pseudo-action.
7305 (getActionName): simplify a bit
7308 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7310 * lyxfunc.C (verboseDispatch): new families of methods with
7311 several ways to specify a command and a bool to indicate whether
7312 the command name and shortcut should be displayed in minibuffer
7313 (eventually, we could extend that to a finer bitmask like
7314 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7315 (dispatch): the pristine dispatch command which just, well,
7316 dispatchs! Note it still sets its result to minibuffer; I'm not
7319 * lyxfunc.h: remove setHintMessage
7321 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7323 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7325 * BufferView_pimpl.C (specialChar): delete new inset if we have
7326 not been able to insert it.
7328 * kbmap.C: revert to using int instead of kb_action, since all we
7329 are dealing with is pseudo-actions.
7331 * LyXAction.C (searchActionArg): change to return int instead of
7332 kb_action, since the result is a pseudoaction.
7334 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7336 * buffer.C (insertErtContents): Fix (partially) the font bug.
7338 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7340 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7341 as the other one is broken on my machine!
7343 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7346 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7348 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7350 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7351 reflect their actual use. Provide compatibility code for older lyxrc
7354 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7356 change names of popup font variables in line with the changes to lyxrc.C
7358 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7360 * buffer.C (asciiParagraph): avoid outputing a word twice after
7363 * lyxrc.C (getDescription): document that document_path and
7364 template_path can be empty.
7366 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7368 * LaTeXFeatures.C (getMacros):
7369 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7371 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7373 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7375 (getPackages): rename feature "floats" to "float". Use an array to
7376 iterate over 'simple' features (i.e. just a \usepackage). Add
7377 handling of "amsmath" (renamed from "amsstyle").
7379 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7381 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7384 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7386 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7387 FuncStaus::FuncStatus & FuncStaus::some_method().
7389 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7391 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7392 of the func_satus stuff. Edited and massaged in various ways by
7395 * lyxfunc.C (getStatus): use FuncStatus
7397 2002-01-08 Juergen Vigna <jug@sad.it>
7399 * text.C (nextBreakPoint): use function Inset::isChar().
7401 * paragraph.C (TeXOnePar): use function
7402 Inset::forceDefaultParagraphs.
7404 * buffer.C (latexParagraphs): use function
7405 Inset::forceDefaultParagraphs.
7407 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7409 * lyx_gui.C (init): set the style of the menu popups to
7410 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7412 2002-01-07 Juergen Vigna <jug@sad.it>
7414 * text.C (setHeightOfRow): small fix
7415 (prepareToPrint): don't look at alignment if we don't have the place
7418 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7420 * box.C: New file. Move the Box methods and functions out of box.h,
7421 following Lars' suggestion.
7423 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7425 * box.h: #include "support/LOstream.h", needed for inlined function.
7428 * lyxtextclasslist.C: added some using std declarations.
7430 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7432 * box.h: make signed dimensions to allow insets wider than
7433 the screen (bug #162)
7435 * BufferView_pimpl.C: add some insetHit debug
7437 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7439 * vc-backend.C: add FIXME
7441 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7443 * lyxfunc.C (getStatus): enable code for showing math font status
7446 2002-01-07 Juergen Vigna <jug@sad.it>
7448 * text.C (nextBreakPoint): removed debug output not needed anymore.
7450 2002-01-06 Juergen Vigna <jug@sad.it>
7452 * text.C (nextBreakPoint): fixed up this function we had this bug
7453 since ever but now hopefully we break row better.
7454 (insertChar): we have to check if an inset is the next char as it
7455 could now happen that a large inset is causing a break.
7457 2002-01-05 Juergen Vigna <jug@sad.it>
7459 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7460 if it doesn't like to be drawed.
7462 2002-01-04 Juergen Vigna <jug@sad.it>
7464 * BufferView2.C (lockInset): forgot to set a cursor.
7466 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7468 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7473 * form_maths_panel.C:
7474 * form_maths_panel.h:
7475 * form_maths_panel.fd: implemented sub- and super- buttons in math
7478 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7479 (or ^ space) to be used as in TeX (req'd by André).
7481 * lyxfunc.C: Allow ^ and _ again to be used both as
7482 super/subscript (mathed) and as themselves (in text).
7484 2002-01-03 Allan Rae <rae@lyx.org>
7486 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7487 "LyX" or the filename of the current buffer if it has one. This is a
7488 modified form of John Levon's patch.
7490 * XFormsView.C (setWindowTitle): also set icon title.
7492 * LyXView.h (setWindowTitle): signature changed.
7493 * XFormsView.h (setWindowTitle): ditto.
7495 2002-01-02 Juergen Vigna <jug@sad.it>
7497 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7499 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7501 * screen.C (topCursorVisible): introduce a temp var for
7502 text->cursor.row(), handle the case where this row is null. (kindo
7505 * text2.C (setCursor): add a couple of asserts.
7507 * paragraph.h (inset_iterator): add -> operator
7509 * paragraph.[Ch] (autoDeleteInsets): remove member function
7511 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7512 cursor pos correctly and handle inset deletion by itself.
7513 (insertErrors): move iterator declaration out of for expression
7515 * lyxtextclass.C: add <algorithm>
7517 * Makefile.am: added the new files to sources, removed layout.C
7519 * layout.C: removed file
7521 * layout.h: remove LYX_DUMMY_LAYOUT
7523 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7527 * lyxtextclass.[Ch]:
7528 * lyxtextclasslist.[Ch]: new files
7530 * include order changes to a lot of files, also changes because of
7533 2001-12-27 Juergen Vigna <jug@sad.it>
7535 * buffer.C (asciiParagraph): more fixes.
7537 * tabular.C (ascii): make ascii export support export of only the
7538 data separated by a column-delimiter.
7539 (ascii): better support for ascii export.
7541 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7543 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7545 * tabular_funcs.C: use a "using std::getline" instead of the
7546 previous fix from Angus (necessary for cxx + lyxstring)
7548 2001-12-24 Juergen Vigna <jug@sad.it>
7550 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7552 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7553 problems. First check a minipage also if we have some ert-contents
7554 (not only on par->size(), second set the right depth of the paragraph
7555 on the relink to the root-paragraph-list!
7557 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7558 which then did not anymore update the main paragraphs on undo/redo!
7560 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7562 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7563 code. Support all font-changing funcs (even those which are not in
7564 menu currently). Support for reporting font settings in
7565 mathed (disabled until Andre provides a function on mathed's side).
7567 * func_status.h (toggle): small helper function to set toggle
7570 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7572 * tabular_funcs.C: getline -> std::getline
7574 2001-12-21 Juergen Vigna <jug@sad.it>
7576 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7577 accessed and could be 0 (I couldn't generate this but it seems
7580 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7582 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7583 * tabular_funcs.h: here and include iosfwd
7585 2001-12-20 Juergen Vigna <jug@sad.it>
7587 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7588 inside inset but undo_par was.
7590 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7592 * Thesaurus.C: always include <config.h> in sources.
7596 * box.h: do not include <config.h> in header files
7598 * text.C (paintLastRow): remove unused variable
7600 * text.C (transformChar):
7602 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7605 * font.C (width): rewrite to use uppercase() instead of
7608 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7610 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7612 * lyxfind.C: clean up of find failure position change
7614 2001-12-20 Juergen Vigna <jug@sad.it>
7616 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7618 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7619 (TeXRow): added to LaTeX a single tabular row.
7620 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7621 (Latex): simplified and finally good LT-h/f support.
7622 (various_functions): just small adaptions for LT-h/f support.
7624 * tabular_funcs.[hC]: added and moved here all not classfunctions
7627 2001-12-19 Juergen Vigna <jug@sad.it>
7629 * tabular.[Ch]: better support for longtabular options (not finished
7632 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7634 * text.C (paintLastRow): use the label font instead of the font of
7635 the last character to compute the size of *_BOX. This makes more
7636 sense and avoids a crash with empty paragraphs.
7637 Use Painter::rectangle to draw EMPTY_BOX.
7639 2001-12-19 Juergen Vigna <jug@sad.it>
7641 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7642 the paragraphs if the replaced paragraph is not the first one!
7643 Tried to delete not used paragraphs but does not work yet so for
7644 now it's inside #ifdef's and by default off!
7646 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7648 * MenuBackend.C: include "lyx_main.h" instead of declaring
7649 lastfiles (actually was declared as LastFiles* instead of a
7652 2001-12-17 Juergen Vigna <jug@sad.it>
7654 * tabular.C (AppendColumn): applied John's fix
7656 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7660 * BufferView_pimpl.h:
7661 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7664 * box.h: new start of class for above
7666 * lyxfunc.C: ignore space-only minibuffer dispatches.
7667 Show the command name when it doesn't exist
7669 * minibuffer.C: don't add empty lines to the history
7671 * minibuffer.C: add a space on dropdown completion
7673 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7675 * text.C: fix line above/below drawing in insets
7677 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7679 * lyxlength.C (LyXLength): Initialize private variables.
7681 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7683 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7684 when inserting error insets.
7686 2001-12-13 Juergen Vigna <jug@sad.it>
7688 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7689 actually sometimes the before-paragraph.
7690 (setUndo): don't clear the redostack if we're not actually undoing!
7692 2001-12-06 Juergen Vigna <jug@sad.it>
7694 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7695 and fixed redoing of main paragraph, so we can use it now ;)
7697 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7699 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7701 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7704 2001-12-13 André Pönitz <poenitz@gmx.net>
7707 * undo_func.C: minor cleanup
7709 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7711 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7712 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7713 font in urw-fonts package which is marked as -urw-fontspecific and
7714 does not work (incidentally, changing the encoding in the
7715 fonts.dir of this package to -adobe-fontspecific fixes the
7718 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7719 is a crash when undoing first paragraph (Juergen, please take a
7720 look). THis does not mean the undo fix is wrong, just that it
7723 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7724 the (Paragraph*) version when needed instead of duplicating the
7727 * text.C (workWidth): use Inset::parOwner to find out where the
7728 inset has been inserted. This is a huge performance gain for large
7729 documents with lots of insets. If Inset::parOwner is not set, fall
7730 back on the brute force method
7732 * paragraph_pimpl.C (insertInset):
7733 * paragraph.C (Paragraph):
7734 (cutIntoMinibuffer): set parOwner of insets when
7735 inserting/removing them
7737 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7739 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7745 * mathed/formulabase.C:
7746 * mathed/math_cursor.[Ch]:
7747 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7750 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7752 * lyxlength.[Ch] (operator!=): new function
7754 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7756 * text.C (workWidth): use Inset::parOwner to find out where the
7757 inset has been inserted. This is a huge performance gain for large
7758 documents with lots of insets. If Inset::parOwner is not set, fall
7759 back on the brute force method
7761 * paragraph_pimpl.C (insertInset):
7762 * paragraph.C (Paragraph):
7763 (cutIntoMinibuffer): set parOwner of insets when
7764 inserting/removing them
7766 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7768 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7770 * tabular-old.C (getTokenValue):
7771 * tabular.C (getTokenValue):
7772 (write_attribute): new versions for LyXLength
7773 (everywhere): adjust the use of widths
7775 * tabular.h: change the type of widths from string to LyXLength
7777 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7779 * paragraph.C: fixed missing line number count when exporting
7780 Environments to LaTeX file
7782 * buffer.C: added informational message for checking line numbers.
7784 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7786 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7787 paragraph, do the 'double space' part, but not the 'empty
7790 * text.C (workWidth): small optimization
7791 (getLengthMarkerHeight): use minimal size for negative lengths.
7793 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7795 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7797 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7799 2001-12-11 André Pönitz <poenitz@gmx.net>
7802 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7804 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7806 * text2.C: keep selection on a setFont()
7808 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7810 * lyx_cb.C: another bv->text misuse, from insert label
7812 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7815 * kbsequence.C: re-instate nmodifier mask
7817 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7819 * lyx_main.h: make lyxGUI private.
7821 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7823 * lyxfind.C: place the cursor correctly on failed search
7825 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7827 * text.C (getLengthMarkerHeight): for small heights, the arrows
7828 are not always on top/bottom of the text
7829 (drawLengthMarker): smaller arrows; take the left margin in
7830 account; draw also vfills.
7832 (paintLastRow): remove special code for vfill and standard spaces,
7833 since everything is handled in drawLengthMarker now.
7835 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7837 * buffer.C (insertErtContents): try to handle font and language
7838 interaction a bit better.g
7840 * ColorHandler.C (updateColor): change the hash to cover the whole
7841 LColor enum, ws cleanup
7842 (getGCLinepars): ditto
7843 (getGCLinepars): only lookup in the linecache once.
7845 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7847 * iterators.C (operator++): Make the iterator more robust
7849 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7851 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7853 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7856 * text.C: better added space drawing
7858 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7861 * BufferView2.C: fix layout combo update on inset unlock
7863 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7865 * Makefile.am: don't compile unused files
7867 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7871 * LyXAction.C: remove old LFUN_LAYOUTNO
7873 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7875 * paragraph_pimpl.h:
7876 * paragraph_pimpl.C: isTextAt() doesn't need font param
7878 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7881 * lyxlex.C: little cleanup
7883 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7885 * BufferView_pimpl.C: fix insertAscii for insets
7887 2001-12-05 Juergen Vigna <jug@sad.it>
7889 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7890 set the right font on the "multi" paragraph paste!
7892 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7898 * lyxlength.C: remove out-commented code.
7914 * vc-backend.C: change "while(" to "while ("
7916 * lyxlength.[Ch]: add zero function to check if length is zero or
7918 * lyxgluelength.C: use it
7920 2001-12-05 Allan Rae <rae@lyx.org>
7922 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7923 Works for 2.95.3, from what I understand of Garst's reports this should
7924 work for other g++ versions. We're screwed if the abs(int) definition
7925 changed between bugfix releases of gcc.
7927 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7929 * text.C: fix chapter label offset !
7931 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7934 * text.C: fix hfill at end of line, clean up
7936 2001-12-04 Juergen Vigna <jug@sad.it>
7938 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7939 that we force an update of the inset and it's owners if neccessary.
7941 2001-12-03 Juergen Vigna <jug@sad.it>
7943 * text.C (rowLast): simplified code
7945 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7947 * lyxfunc.C: fix show options on timeout
7949 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7951 * screen.C (topCursorVisible): scroll half a page when the cursor
7952 reached top of bottom of screen
7954 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7956 * minibuffer.C: deactivate on loss of focus
7958 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7960 * vspace.[Ch] (operator!=): add operator.
7962 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7964 * BufferView_pimpl.C: refuse to open an inset when
7965 there's a selection.
7967 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7969 * BufferView_pimpl.C: allow to click on RHS of full row insets
7971 2001-11-30 Juergen Vigna <jug@sad.it>
7973 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7974 insets for undo reasons.
7976 2001-11-28 André Pönitz <poenitz@gmx.net>
7978 * vspace.[Ch]: cosmetical changes
7980 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7990 * kbsequence.C: part re-write of old kb code
7993 * WorkArea.C: remove Lgb_bug_find_hack
7995 2001-11-30 José Matos <jamatos@fep.up.pt>
7997 * buffer.C (makeDocBookFile): add a comment to point a hack.
7998 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7999 Fixed a double write of labels.
8001 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8004 * LaTeX.h Fixed bug in LaTeX class where it would not
8005 re-run latex if no depfiles were changed, but the .dvi was removed.
8007 2001-11-28 André Pönitz <poenitz@gmx.net>
8009 * all the files from the change on 2001/11/26:
8010 use lyx::layout_type instead of LyXTextClass::size_type
8011 use lyx::textclass_type instead of LyXTextClassList::size_type
8013 2001-11-29 Juergen Vigna <jug@sad.it>
8015 * text.C: added support for paragraph::isFreeSpacing()
8017 * buffer.C: same as above
8019 * paragraph.h: inserted isFreeSpacing() function to enable
8020 FreeSpacing inside InsetERT.
8022 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8023 of the paragraph's in the cut/copy buffer to 0!
8025 * text2.C (removeRow): remove the assert as it can!
8027 * lyxtext.h: added helper function firstRow returning firstrow and
8028 made firstrow private again.
8030 * BufferView2.C (lockInset): don't relock if we're already locked!
8032 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8034 (removeRow): added Assert::(firstrow)
8036 * debug.C: forgot to add INSETTEXT here.
8038 2001-11-28 Juergen Vigna <jug@sad.it>
8040 * sp_spell.C (initialize): changed error text to more general
8041 spellchecker command use (not only ispell!)
8043 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8045 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8047 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8049 * vspace.C: initialise lyxgluelength on failure
8051 2001-11-28 Allan Rae <rae@lyx.org>
8053 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8054 declaration & definition that looks like a function declaration.
8056 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8058 * BufferView2.C (copy):
8059 (copyEnvironment): do not clear the selection when doing a copy.
8061 * text.C (paintFirstRow): compilation fix
8063 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8065 * tabular.C (Latex): correct line count when writing latex.
8067 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8069 * paragraph_pimpl.h:
8070 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8073 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8077 * LColor.C: change vfillline->added_space
8079 * text.C: add markers and text for added space
8081 * vspace.C: fix comment
8083 2001-11-28 André Pönitz <poenitz@gmx.net>
8085 * paragraph.C: whitespace changes
8086 * all the other files from the change on 2001/11/26:
8087 change *::pos_type into lyx::pos_type
8089 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8091 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8092 language of the document when inserting error insets.
8094 2001-11-26 André Pönitz <poenitz@gmx.net>
8096 * BufferView_pimpl.[Ch]:
8104 * paragraph_pimpl.[Ch]:
8107 * text2.C: reduce header dependencies, introduce type for positions
8109 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8111 * <various>: change to use Alert.h
8113 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8115 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8116 when encountering an unknown token.
8117 (readLyXformat2): Show an error message if there were unknown tokens.
8119 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8122 * BufferView_pimpl.C:
8126 * text2.C: use par->isInset()
8128 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8130 * paragraph_pimpl.h:
8131 * paragraph_pimpl.C: cleanup
8133 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8135 * text2.C (removeRow):
8136 * text.C (setHeightOfRow): remove useless (and costly) call to
8139 2001-11-20 Allan Rae <rae@lyx.org>
8141 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8142 Now need Inset*::checkInsertChar() to return true for appropriate
8143 cases so that the characters in the minibuffer will actually be
8146 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8148 * text.C: change the order of the includes.
8149 (workWidth): initialize it at once.
8150 (workWidth): make maxw unsigned
8151 (setHeightOfRow): remove unused variable (inset)
8152 (selectSelectedWord): remove unused variable (inset)
8153 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8155 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8157 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8158 server is not running.
8160 (closeConnection): add debug info when server is disabled.
8162 * ColorHandler.C (getGCForeground): send debug message to GUI
8165 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8167 * kbmap.C (bind): modify because return conventions of
8168 kb_sequence::parse have changed.
8170 * kbsequence.C (parse): only ignore spaces and not any stupid
8171 control character. This avoids tests like s[i] <= ' ', which are
8172 guaranteed to fail with 8bit characters and signed chars.
8173 Change return code to string::npos when there have been no error
8174 (0 was a bad idea when error is at first character)
8176 2001-11-14 José Matos <jamatos@fep.up.pt>
8179 * buffer.C (simpleDocBookOnePar): removed unused argument.
8181 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8183 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8184 insets which are part of a word. Paragraph::isLetter takes care of
8185 that now. Use Paragraph::isInset to identify insets.
8186 (selectSelectedWord): do not test for hyphenation break.
8188 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8189 that protected spaces are considered as spaces.
8191 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8194 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8197 * lyxserver.C: fix it. and small cleanup.
8199 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8201 * BufferView_pimpl.C: use inline helpers
8204 * LaTeXFeatures.C: fix typos
8207 * Spacing.C: move spacing_string into class
8209 * ToolbarDefaults.C: move stuff into namespace anon
8211 * layout.h: update enum
8213 * lyxfunc.C: use better debug
8215 * minibuffer.h: fix typo
8219 * WorkArea.C: add and use Debug::WORKAREA
8223 * text2.C: code re-organisation, inline helpers
8225 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8227 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8228 std::vector.empty().
8230 2001-11-09 Allan Rae <rae@lyx.org>
8232 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8233 '\n's after tables. Tabular and ERT inset work now makes this no
8236 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8239 * minibuffer.C: fix crash, improve drop-down completion
8241 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8244 * lyxserver.C: invalidate fd's when doing endPipe()
8246 2001-11-08 José Matos <jamatos@fep.up.pt>
8248 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8249 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8252 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8254 2001-11-07 José Matos <jamatos@fep.up.pt>
8257 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8260 * buffer.C (sgmlOpenTag):
8261 * buffer.C (sgmlCloseTag): removed debug info.
8263 * buffer.h (sgmlOpenTag):
8264 * buffer.h (sgmlCloseTag): made public.
8266 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8268 * buffer.C (saveParamsAsDefaults):
8269 * lyx_cb.C (MenuLayoutSave): remove
8271 * LyXAction.C (init):
8273 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8275 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8277 * buffer.C (setPaperStuff): removed from here...
8279 * bufferparams.C (setPaperStuff): ... and moved there.
8281 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8285 * XFormsView.C: add support for drop-down completion
8287 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8289 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8292 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8294 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8297 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8299 * lyx_main.C: change ref to known bugs
8301 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8303 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8304 to work around older babel problems.
8306 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8308 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8310 2001-10-24 Juergen Vigna <jug@sad.it>
8312 * tabular-old.C (ReadOld): below variable changes reflected.
8314 * tabular.[Ch]: added ltType struct for longtable header/footer
8315 defines and changed all instances where they are used. Added
8316 future support for double top/bottom rows.
8318 2001-10-24 José Matos <jamatos@fep.up.pt>
8320 * buffer.h (docbookHandleCaption):
8321 * buffer.C (docbookHandleCaption): removed unused function.
8322 (makeDocBookFile): moved docbook supported version to v4.1.
8324 2001-10-24 José Matos <jamatos@fep.up.pt>
8327 * tabular.C (docbookRow): new function to export docbook code of a row.
8328 (DocBook): now honors the longtable flags.
8330 2001-10-23 José Matos <jamatos@fep.up.pt>
8333 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8334 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8336 * buffer.C (makeLinuxDocFile):
8337 (makeDocBookFile): reworked the preamble, more clean, and with
8338 support for lyx defined entities. Changed the document declaration
8339 to be more XML friendly.
8341 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8342 if we need to output XML that should be done with a filter.
8344 2001-10-22 Juergen Vigna <jug@sad.it>
8346 * sp_pspell.h (class PSpell): add alive function needed in the
8347 controller to see if the spellchecker could be started.
8349 2001-10-22 Juergen Vigna <jug@sad.it>
8351 * buffer.C (insertStringAsLines): modify the font for inserting
8352 chars in certain conditions by calling checkInsertChar(font).
8354 2001-10-19 Juergen Vigna <jug@sad.it>
8356 * text.C (workWidth): use getRow instead of wrong algorithm.
8357 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8359 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8364 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8366 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8368 * text.C (workWidth): do not search for the exact row when
8369 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8370 optimization for big documents.
8372 2001-10-18 Juergen Vigna <jug@sad.it>
8374 * text.C (workWidth): new function with added Inset * parameter.
8376 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8378 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8380 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8381 change return type of getColumnNearX.
8384 * text.C (changeRegionCase): use uppercase/lowercase instead of
8387 (rightMargin): simplify code by factoring out the uses of
8392 (appendParagraph): use Paragraph::size_type
8394 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8396 * vspace.C (asLatexString): add a missing break
8398 2001-10-15 Herbert Voss <voss@perce.de>
8400 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8402 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8404 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8407 2001-10-10 André Pönitz <poenitz@gmx.net>
8409 * lyxfunc.C: removed greek_kb_flag.
8411 2001-10-10 Herbert Voss <voss@perce.de>
8413 * lyx_main.C: delete global string help_lyxdir.
8415 2001-10-09 Herbert Voss <voss@perce.de>
8417 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8419 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8421 * lyx_main.C: added global string help_lyxdir.
8423 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8425 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8427 * lyxrc.C (set_font_norm_type): support iso8859-4
8429 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8431 * LaTeX.C (deplog): add another regex for MikTeX
8433 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8435 * lyxrc.C (set_font_norm_type): support iso8859-3
8437 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8439 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8441 * LaTeXFeatures.C: remove special case of french and index
8443 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8444 before \begin{document}). This solves several incompatibilities.
8446 2001-10-03 Garst Reese <reese@isn.net>
8448 * lyx_cb.C: change CheckTex error msg.
8450 2001-10-03 José Matos <jamatos@fep.up.pt>
8452 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8454 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8456 * .cvsignore: update
8458 * lyx_main.C (commandLineVersionInfo): use new style version info.
8460 * buffer.C (writeFile):
8463 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8465 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8467 * version.h: update to use stuff in version.C
8469 * version.C.in: new file. Contains version information determined
8470 at compile time. This is a merging of version.h and
8473 2001-10-03 Juergen Vigna <jug@sad.it>
8475 * BufferView_pimpl.C (update): don't change "dirty" status in
8478 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8480 * WorkArea.C (c-tor): re-position version string slightly.
8482 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8484 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8485 revert to previous code.
8487 WorkArea.[Ch]: (show, destroySplash): methods removed.
8489 WorkArea.C: rework code so that it's an amalgam of the codes before and
8490 after the splash screen was moved to WorkArea.
8492 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8495 * vspace.C (inPixels):
8498 * buffer.C (insertStringAsLines):
8499 (asciiParagraph): fix types to be large enough
8501 * lyxlex_pimpl.h: change member status from short to int
8503 * layout.h: fix type of endlabeltype
8506 * kbsequence.C (parse): change return type to string::size_type
8508 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8511 * Bullet.C (bulletSize):
8512 (bulletEntry): do not use short ints as parameters
8514 * BufferView2.C (insertLyXFile): change a char to an int.
8516 * WorkArea.C (WorkArea): remove unneeded floats in computation
8518 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8520 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8522 * paragraph.C (asString): Do not ignore newline/hfill chars when
8523 copying to the clipboard.
8525 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8527 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8528 after a multi-line inset.
8530 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8532 * paragraph.C (validate): Set NeedLyXFootnoteCode
8534 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8536 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8537 and decrease-error to decrease.
8539 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8541 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8542 it more readable (should be equivalent)
8544 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8546 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8548 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8550 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8551 of a cursor (row, etc.) after a character has been deleted
8552 (deleteEmptyParagraphMechanism): call the method above on _all_
8553 cursors held by the LyXText when a double space has been
8556 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8558 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8560 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8562 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8563 background. Use greyOut() and the new show() methods to toggle between
8564 the foreground and background. Add code to remove the splash after
8565 its initial showing.
8567 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8568 (create_forms): no longer call Dialogs::showSplash.
8570 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8572 * .cvsignore: add version_info.h
8574 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8576 * version_info.h.in: new file
8578 * Makefile.am: add version_info.h.in
8580 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8581 version_info.h instead of VERSION_INFO
8583 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8585 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8586 The ERT inset now returns string().
8588 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8590 * lyxtext.h, text.C (selectNextWord): renamed as
8591 selectNextWordToSpellcheck.
8593 * text.C (selectNextWordToSpellcheck): Modified to not select
8594 words inside an ERT inset.
8596 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8598 * lyx_cb.C (MenuLayoutSave): change a bit the question
8600 * sp_base.h: include <sys/types.h>
8602 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8604 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8606 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8608 * several files: fix typos in user-visible strings
8610 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8612 * text2.C (pasteSelection): do not set the selection, since it
8613 will be cleared later. Actually, the intent was to fix the way the
8614 selection was set, but I figured rmoving the code was just as good.
8616 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8618 * FontLoader.C (available): Check if font is available without
8621 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8623 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8625 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8627 * lyxrc.[Ch]: added display_graphics variable and associated code.
8629 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8631 * bufferparams.C (hasClassDefaults): new method. Returns true if
8632 the buffer parameters correspond to known class defaults
8634 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8636 * XFormsView.C (show): set minimum size to the main window.
8638 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8640 * text2.C (copySelection):
8642 * lyxfind.C (LyXReplace):
8643 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8644 LyXText::selectionAsString.
8646 * paragraph.C (asString): add "label" argument to the second form
8648 * text2.C (selectionAsString): add "label" argument and pass it to
8649 Paragraph::asString.
8651 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8653 * lyx_main.C (commandLineHelp): remove version information
8655 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8657 * lyx_main.C: add -version commandline option
8659 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8661 * paragraph.h: make the optional constructor arg required instead.
8662 some modifications to other files because of this.
8664 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8666 * lyxserver.C (C_LyXComm_callback): make it static
8668 * lyx_main.C (error_handler): make it static
8670 * lyx_gui.C (LyX_XErrHandler): make it static
8672 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8674 * WorkArea.C: make the extern "C" methods static.
8676 * Makefile.am (lyx_LDADD): simplify
8678 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8680 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8681 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8683 * LyXAction.C (init):
8684 * lyxfunc.C (dispatch): associated code removal.
8686 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8688 * lyxfont.h (isSymbolFont): shut off warning
8690 * text.C (setHeightOfRow):
8691 (getVisibleRow): fix crash with empty paragraphs which have a
8694 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8696 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8699 2001-09-04 José Matos <jamatos@fep.up.pt>
8702 * tabular.C (docbook): rename docBook method to docbook.
8704 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8706 * Makefile.am: add dependencies to main.o.
8708 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8710 * FontLoader.C (available): Return false if !lyxrc.use_gui
8712 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8714 * FontInfo.C (query):
8715 * converter.C (view):
8716 * importer.C (Import):
8717 * exporter.C (Export): Can not -> cannot.
8719 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8721 * BufferView_pimpl.C: allow to create index inset even if
8724 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8726 * buffer.C (getLists): replace boost::tie code with an explicit pair
8727 as boost::tie can break some compilers.
8729 * iterators.h: Added a std:: declaration to the return type of
8732 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8734 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8737 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8739 * iterators.[Ch]: New files. Provide paragraph iterators.
8741 * buffer.C (changeLanguage): Use paragraph iterators.
8742 (isMultiLingual): ditto
8744 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8746 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8748 * FontLoader.C: Support for cmr font.
8750 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8752 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8753 (available): New method.
8755 * FontInfo.C (getFontname): Use scalable fonts even when
8756 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8759 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8761 * converter.C (Formats::view): reverted! Incorrect fix.
8763 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8765 * converter.C (Formats::view): only output the -paper option
8766 if the dvi viewer is xdvi, thereby fixing bug #233429.
8768 2001-08-23 Herbert Voss <voss@perce>
8770 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8772 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8774 * Spacing.h (Spacing): Set space to Default on in the default
8777 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8779 * vc-backend.h (RCS::versionString): add RCS to version
8780 (CVS::versionString): add CVS to version
8782 * vc-backend.C (scanMaster): do not add CVS to version.
8783 (scanMaster): do not add RCS to version
8785 * lyxvc.C (versionString): new method
8787 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8789 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8791 * Spacing.C (set): initialize fval
8793 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8795 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8798 2001-08-16 Juergen Vigna <jug@sad.it>
8800 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8802 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8804 * BufferView_pimpl.C:
8807 * text2.C: setParagraph takes linespacing now
8809 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8811 * LyxAction.C: add internal LFUN_CITATION_INSERT
8813 * LyXView.C: actually apply fix
8815 * bufferlist.C: fix open non-existent file
8817 * lyxfind.C: fix indentation
8819 * lyxfunc.C: remove unneeded assert, fix typo
8821 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8823 * MenuBackend.C: use "Floatname List"
8825 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8827 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8828 when converting LaTeX layout to insetERT.
8829 Generate a non-collapsed float when reading old float
8831 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8833 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8836 2001-08-13 Juergen Vigna <jug@sad.it>
8838 * text.C (fill): return 0 instead of 20 as this seems to be the more
8841 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8843 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8846 2001-08-13 Juergen Vigna <jug@sad.it>
8848 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8850 (SearchBackward): comment out the unlocking of the inset_owner this
8851 should not be needed!
8853 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8855 * Many files: Remove inherit_language, and add latex_language
8857 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8860 2001-08-10 Juergen Vigna <jug@sad.it>
8862 * text.C (prepareToPrint): fixed hfill-width in draw!
8864 * BufferView2.C (selectLastWord): save the selection cursor as this
8865 now is cleared in the function LyXText::clearSelection!
8867 2001-08-08 Juergen Vigna <jug@sad.it>
8869 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8870 BACKSPACE type functions.
8872 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8873 is only cutted from the document but not put in the cut-buffer, where
8874 still the old stuff should be.
8876 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8878 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8880 * tabular.C (SetWidthOfCell): fixed special case where the width
8882 (LeftLine): handle '|' in align_special.
8884 (LeftAlreadyDrawed): ditto
8885 (SetWidthOfCell): ditto
8887 2001-08-07 Juergen Vigna <jug@sad.it>
8889 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8891 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8893 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8894 * lyxlex.[hC]: ditto
8896 2001-08-06 Juergen Vigna <jug@sad.it>
8898 * text.C (getVisibleRow): fix up row clearing a bit.
8900 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8902 * minibuffer.C: make sure the X server sees the changes in the input.
8904 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8906 * paragraph.C (getFont): split into...
8907 (getLabelFont): this
8908 (getLayoutFont): and this
8909 * paragraph_pimpl.C (realizeFont): calling this
8911 * text2.C (getFont): split into...
8912 (getLayoutFont): this
8913 (getLabelFont): and this
8914 (realizeFont): all three calling this
8916 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8919 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8921 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8923 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8925 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8926 layouts from the Quote inset insertion.
8928 2001-08-03 Juergen Vigna <jug@sad.it>
8930 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8932 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8933 only if status not is already CHANGED_IN_DRAW (second level).
8935 * text.C (draw): don't set the need_break_row when inside an
8938 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8940 * buffer.C (parseSingleLyXformat2Token): handle more latex
8943 * bufferview_funcs.[hC]: change function names to
8944 begin with small char, adjust other files.
8946 2001-08-02 André Pönitz <poenitz@gmx.net>
8949 BufferView_pimpl.C: remove broken special code for math-greek
8951 2001-08-02 Juergen Vigna <jug@sad.it>
8953 * BufferView_pimpl.C (update): redone this function so that we
8954 update the text again if there was a CHANGE_IN_DRAW.
8956 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8957 (drawFromTo): added a new internal bool which is used by draw() and
8959 (general): some cursor drawing problems fixed.
8961 2001-08-01 Juergen Vigna <jug@sad.it>
8963 * lyxfind.C (LyXFind): fixed
8964 (SearchForward): ditto
8965 (SearchBackward): ditto
8967 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8968 spurius drawing of the cursor in the main area.
8970 * text2.C (status): small fix which could lead to a segfault!
8971 (clearSelection): remove unneeded BufferView param.
8973 2001-08-01 André Pönitz <poenitz@gmx.net>
8975 * lyxfunc.C: small change due to changed mathed interface
8977 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8979 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8981 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8983 * lyxfunc.c: fail gracefully if file doesn't exist
8988 * BufferView_pimpl.C: IsDirWriteable() proto changed
8990 * LyXView.C: fix updateWindowTitle() to store the last title
8992 2001-07-31 Juergen Vigna <jug@sad.it>
8994 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8995 the font (wrong since using of Paragraph::highestFontInRange).
8997 * paragraph.C (highestFontInRange): added a default_size parameter.
8999 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9000 (setHeightOfRow): reformat
9002 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9004 * converter.[hC] + affected files: move to (inital-char)lowercase
9007 * ParagraphParameters.C (ParagraphParameters): remove commented code
9009 * PainterBase.[Ch]: remove commented code
9011 * LaTeXFeatures.h: add "bool floats" for float.sty
9013 * LaTeXFeatures.C (LaTeXFeatures): init floats
9014 (require): handle float
9015 (getPackages): do it with floats
9017 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9019 * BufferView_pimpl.C (Dispatch): improve handling of
9020 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9022 * commandtags.h: #include lyxfont.h here temporarily to avoid
9025 * bufferlist.h: include LString.h here.
9027 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9029 * text2.C (getStringToIndex): new method.
9031 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9033 * *: Reduced header file dependencies all over.
9035 2001-07-30 Baruch Even <baruch@lyx.org>
9037 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9039 2001-07-29 Baruch Even <baruch@lyx.org>
9041 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9043 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9045 * ParameterStruct.h (endif): add a default constructor to make
9046 sure that all variables is initialized.
9048 * ParagraphParameters.C (ParagraphParameters): adjust
9050 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9052 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9053 index; also, check that there is something to index, and that it
9054 does not span over several paragraphs.
9055 (doubleClick): use WHOLE_WORD_STRICT for double click.
9057 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9059 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9062 2001-07-26 Baruch Even <baruch@lyx.org>
9064 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9065 an InsetFig figure, backwards compatible reading of old figure code.
9067 2001-07-27 Juergen Vigna <jug@sad.it>
9069 * text2.C: font.realize function adaption.
9071 * text.C (draw): add a warnings lyxerr text if needed.
9073 * layout.C: font.realize function adaption.
9075 * language.C: add inherit_language and implement it's handlings
9077 * bufferview_funcs.C (StyleReset): remove language parameter from
9078 font creation (should be language_inherit now).
9080 * bufferparams.C (writeFile): handle ignore_language.
9082 * paragraph.C (getFontSettings): the language has to be resolved
9083 otherwise we have problems in LyXFont!
9085 * lyxfont.C (lyxWriteChanges): added document_language parameter
9086 (update): removed unneeded language parameter
9088 * paragraph.C (validate): fixed wrong output of color-package when
9089 using interface colors for certain fonts in certain environments,
9090 which should not seen as that on the final output.
9092 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9094 * BufferView_pimpl.C:
9099 * LyXAction.C: add thesaurus support
9102 * lyxfind.C: add "once" parameter, for thesaurus, to not
9103 move to the next match
9105 2001-07-26 Juergen Vigna <jug@sad.it>
9107 * lyxfont.C (realize): honor ignore_language too!
9110 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9112 * text.C (draw): one place more for ignore_language to not draw
9115 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9117 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9119 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9121 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9122 the minipage conversion problem.
9124 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9126 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9129 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9131 * BufferView.h: don't forward declare WorkArea
9133 * BufferView.C: don't include WorkArea.h
9135 2001-07-25 André Pönitz <poenitz@gmx.net>
9139 * lyxfunc.C: new LFUN 'math-space'
9141 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9143 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9145 * text2.C (toggleInset): call open/close
9147 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9149 * lyxfunc.C (dispatch): add debug for the disabled case
9151 * font.C (buttonText): make similar to rectText
9153 * buffer.C (readInset): comment out parsing of insetlist and
9156 * PainterBase.C (rectText): small correction
9158 * BufferView_pimpl.C: comment out insettheorem and insetlist
9159 * LyXAction.C: ditto
9160 * commandtags.h: ditto
9162 2001-07-24 Juergen Vigna <jug@sad.it>
9164 * text.C (draw): honor the ignore_language.
9166 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9168 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9170 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9173 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9175 * lyxtext.h: remove unused (and unimplemented) methods
9177 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9179 * text.C (getVisibleRow): honor background color
9182 * Painter.h: remove default color argument for fillRectangle
9184 * text.C (backgroundColor): new method
9186 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9188 * text.C (getVisibleRow): adjust
9190 * font.[Ch] (rectText): new method, metrics
9191 (buttonText): new method, metrics
9193 * PainterBase.[hC]: make rectText and buttonText always draw and take
9196 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9198 * ToolbarDefaults.C (read):
9199 * MenuBackend.C (read): allow escaping in all strings
9201 * BufferView_pimpl.C (insertAndEditInset): new method.
9202 (Dispatch): use insertAndEditInset whenever appropriate.
9204 * BufferView_pimpl.C (insertNote): removed
9206 * BufferView_pimpl.C (smartQuote): new method, moved from
9207 BufferView; if an insetquote cannot be inserted, insert a '"'
9210 * BufferView2.C: remove insertCorrectQuote();
9212 * lyxfunc.C (getStatus): Add support for all remaingin
9215 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9217 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9218 command (necessary to pass " as parameter of self-insert.
9220 * text.C (selectWordWhenUnderCursor):
9221 (selectWord): add word_location parameter
9222 (selectWordWhenUnderCursor): same + remove special code for word
9224 (selectNextWord): use kind() to guess type of insetspecialchar,
9227 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9228 (insertErtContents): create ert insets as collapsed.
9229 (readInset): better compatibility code for Info inset.
9231 2001-07-20 Juergen Vigna <jug@sad.it>
9233 * lyxfunc.C (dispatch): use always LyXFind now!
9235 * text2.C (init): add a reinit flag so that the LyXText can be
9236 reinited instead of deleted and reallocated (used in InsetText).
9238 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9244 2001-07-18 Juergen Vigna <jug@sad.it>
9246 * text.C (selectNextWord): handle insets inside inset by calling
9247 always the bv->text functions so that we can go up the_locking_inset!
9249 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9250 in strange locations when inside an inset!
9252 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9253 handling to include insets.
9255 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9257 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9259 * LyXAction.C (init):
9261 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9262 LIGATURE_BREAK, since the name is so stupid.
9264 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9266 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9269 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9271 * sp_form.[Ch]: remove.
9273 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9275 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9278 * src/buffer.C (readInset): ditto.
9280 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9282 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9283 menuSeparator(), endOfSentenceDot(), ldots() and
9284 hyphenationPoint(), which are therefore removed.
9285 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9287 * LyXAction.C (init):
9288 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9290 * paragraph.C (getWord): removed.
9292 * BufferView_pimpl.C (Dispatch): use last word or selection for
9293 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9295 * lyx_main.C (queryUserLyXDir): do not ask before creating
9296 user_dir, except if it has been named explicitely.
9298 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9300 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9301 a document of zero size.
9303 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9305 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9306 approriately in the c-tor and in require().
9307 (getPackages): output the appropriate LaTeX for natbib support.
9309 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9310 variables "use_natbib" and "use_numerical_citations" when reading the
9312 (readInset): read the various natbib cite commands.
9313 (validate): white-space change.
9315 * bufferparams.[Ch]: new variables "bool use_natbib" and
9316 "bool use_numerical_citations".
9317 (writeFile): output them in the LyX file.
9319 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9321 * lyxfunc.C (getStatus): add support for all the inset insertion
9324 * text2.C (insertInset):
9325 * paragraph.C (insetAllowed):
9326 * BufferView_pimpl.C (insertInset): update to take in account the
9327 renaming of insertInsetAllowed
9329 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9331 * text2.C (getInset): new method. returns inset at cursor position.
9333 * BufferView_pimpl.C (Dispatch): changes because of this.
9335 * LyXAction.C (init): rename open-stuff to inset-toggle.
9337 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9339 * text2.C (toggleInset): renamed from openStuff; use
9342 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9344 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9346 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9348 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9350 * buffer.C (readLyXformat2): Add filename to the error dialog
9352 2001-07-18 Juergen Vigna <jug@sad.it>
9354 * tabular.C (GetCellNumber): put an assert here instead of the check!
9356 2001-07-17 Juergen Vigna <jug@sad.it>
9358 * BufferView_pimpl.C (toggleSelection): adapted too.
9360 * text.C (selectNextWord): adapted for use with insets.
9361 (selectSelectedWord): ditto
9363 2001-07-17 Juergen Vigna <jug@sad.it>
9365 * sp_spell.C (PSpell): fix initialitation order.
9367 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9369 * paragraph.C: spacing
9371 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9373 * sp_spell.C: repair language selection for pspell
9375 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9377 * lyxfunc.h: change more methods to begin with lower char.
9379 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9381 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9382 for unknown layouts.
9384 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9386 * buffer.C (readLyXformat2): Generate an error dialog if there are
9389 2001-07-16 Juergen Vigna <jug@sad.it>
9391 * sp_spell.C: always compile ISpell part.
9393 * lyxrc.C: added use_pspell entry and it's handling.
9395 2001-07-13 Juergen Vigna <jug@sad.it>
9397 * sp_spell.C: removed double includes.
9399 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9401 Consistent use of Lsstream.h:
9402 * Lsstream.h: added using std::stringstream for consistencies sake.
9404 * buffer.C: removed using std::stringstream
9406 * lyxfont.C (stateText):
9407 * paragraph.C (asString):
9408 * text.C (selectNextWord, selectSelectedWord):
9409 * text2.C (setCounter):
9410 * vspace.C (asString, asLatexString):
9411 std::ostringstream -> ostringstream.
9413 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9415 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9416 * commandtags.h: add LFUN_HELP_ABOUTLYX
9417 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9419 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9421 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9423 * lyx_gui_misc.C: remove spellchecker
9424 * lyxfunc.C: showSpellchecker
9426 * sp_ispell.h: added
9427 * sp_pspell.h: added
9429 * sp_form.[Ch]: removed
9430 * spellchecker.[Ch]: removed
9432 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9434 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9436 (simpleTeXSpecialChars): Simply print the input character without
9437 any special translation if pass_thru is set.
9439 * layout.h: Added bool pass_thru to layout class for being able to
9440 implement pass through of a paragraph for Literate Programming.
9442 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9443 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9444 * layout.C (Read): add "passthru" to list of layout tags and add
9445 code to set the pass_thru boolean when it is read.
9447 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9449 * trans_decl.h: remove allowed from KmodInfo
9451 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9455 * paragraph_pimpl.C (erase): use boost::prior
9457 * Painter.C (text): use data() instead of c_str() when length is
9459 * WorkArea.C (putClipboard): ditto
9460 * font.h (width): ditto
9462 * BufferView2.C: use it-> instead of (*it). for iterators
9464 * paragraph_pimpl.C: ditto
9465 * paragraph.C: ditto
9466 * minibuffer.C: ditto
9471 * converter.C: ditto
9473 * Variables.C: ditto
9474 * TextCache.C: ditto
9475 * MenuBackend.C: ditto
9476 * LyXAction.C: ditto
9478 * FloatList.C: ditto
9480 * ColorHandler.C (LyXColorHandler): ditto
9482 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9484 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9486 * text2.C (openStuff): reintroduce this method (which had been
9487 nuked in NEW_INSETS frenzy).
9489 * lyxfunc.C (Dispatch): when an action has not been handled, use
9490 its name in the error message, not its number.
9492 * paragraph.C (inInset): change method name to begin with lowercase.
9495 * text2.C: updates because of this.
9497 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9499 * ToolbarDefaults.C (add): add spaces in error message
9501 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9503 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9504 (readLyXformat2): rename return_par to first_par, use lyxlex's
9505 pushToken and remove the manual push handling.
9506 (parseSingleLyXformat2Token): add another ert comp. variable:
9507 in_tabular, rename return_par to first_par. handle newlines better
9509 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9511 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9513 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9515 * text2.C (getParFromID): removed
9517 * buffer.C (getParFromID): new method moved form lyxtext.
9518 * BufferView2.C (insertErrors): adjust
9519 (setCursorFromRow): adjust
9520 * BufferView_pimpl.C (restorePosition): adjust
9521 * lyxfunc.C (Dispatch): adjust
9522 * undo_funcs.C (textUndo): adjust
9524 (textHandleUndo): adjust
9525 (textHandleUndo): adjust
9527 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9529 * buffer.C: up' the LYX_FORMAT
9531 * lyxfont.h: turn NO_LATEX on as default
9533 * buffer.C (insertErtContents): new methods of tex style compability.
9534 (parseSingleLyXformat2Token): use it several places.
9535 * tabular.C (OldFormatRead): and here
9537 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9539 * text2.C: remove some commented code.
9542 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9543 * trans.C: changes because of the above.
9545 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9547 * text2.C (setCounter): Fix counters bug with bibliography layout.
9549 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9551 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9552 own member functions
9553 (simpleTeXSpecialChars): ditto
9555 2001-07-06 Juergen Vigna <jug@sad.it>
9557 * a lot of files: changed the access to LyXText::status and the
9558 call of undo-functions.
9560 * undo.[Ch]: added a inset_id to the undo informations.
9562 * undo_funcs.[Ch]: added and moved here all undo functions.
9564 * lyxtext.h: give the status enum a weight, made status_ a private
9565 variable and made accessor functions for it, removed the whole bunch
9566 of undo-functions as they are now in their own file, make some
9567 functions publically available. Added function ownerParagraph with
9570 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9571 made InInset() a const function, added getParFromID() function.
9573 * buffer.[Ch]: added const version for inset_iterator functions,
9574 added getInsetFromID() function.
9576 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9577 changed undo functions for new version.
9579 2001-07-05 Juergen Vigna <jug@sad.it>
9581 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9582 unknow mechanism does not call the proper constructor but only this
9583 one also if I request the other!?
9585 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9587 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9589 * text2.C (LyXText): use initialization lists.
9591 * lyxtext.h (Selection): initialize set_ and mark_
9592 (init): remove method
9594 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9596 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9598 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9600 * screen.[Ch]: change method names to begin with lowercase
9602 * BufferView_pimpl.C (updateScrollbar): simplify further and
9603 hopefully make it a bit faster.
9605 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9607 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9608 calling directly xforms functions.
9610 * Painter.C (Painter):
9611 * lyx_cb.C (MenuWrite):
9612 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9615 * lyx_gui.C: remove bogus guiruntime extern declaration.
9617 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9619 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9621 (redoDrawingOfParagraph): ditto
9622 (redoParagraphs): ditto
9623 (cutSelection): don't create a object for CutAndPaste use the
9624 static method directly
9625 (pasteSelection): ditto
9627 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9630 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9632 * modifications to some other files because of this.
9634 * Makefile.am (lyx_SOURCES): add XFormsView
9636 * XFormsView.[Ch]: new files
9638 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9639 the main window. Move the gui dependent stuff to XFormsView
9641 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9643 * tabular.C (GetCellInset): update cur_cell also in the row/col
9644 version of this function.
9646 * lyxfunc.C: no need to include figure_form.h here.
9652 * lyxvc.C: no need to include forms.h here.
9654 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9656 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9658 * lyxfunc.C (Dispatch):
9660 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9661 constructor argument.
9663 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9665 * paragraph.C (Paragraph): dont't clear, and just set layout.
9666 (makeSameLayout): use params's copy contructor.
9668 * ParagraphParameters.[Ch] (makeSame): delete method
9670 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9672 * Variables.[Ch]: fix indentation, rename set to isSet
9674 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9676 * lyxfunc.C (Dispatch): fix typo
9678 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9680 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9683 * bufferlist.C: include assert.h for emergencyWrite().
9685 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9687 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9688 give up at last (bug #425202) !
9690 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9696 * spellchecker.C: strip spellchecker options and bring up
9697 preferences tab instead
9699 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9701 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9702 the istringstream constructor
9704 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9706 * paragraph.C (getLayout): fix return value
9708 * paragraph.h: do not declare getLayout as inline.
9710 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9712 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9714 * lyxcursor.h (operator<): new func
9715 (operator>): new func
9716 (operator>=): new func
9717 (operator<=): new func
9719 * text.C (changeCase): use selection.start and selection.end
9720 (changeRegionCase): require from to be <= to. Require par to be a
9723 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9725 2001-06-27 Juergen Vigna <jug@sad.it>
9727 * text.C (cursorLeftOneWord): changed to return the cursor and added
9728 overlay with BufferView * parameter which calls this one.
9730 (selectWord): use new getWord function.
9731 (changeCase): renamed from changeWordCase as and extended to work
9734 * lyxtext.h: added enum word_location
9736 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9737 changeCase as this operates now also on selections.
9739 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9741 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9743 * many files: send debug output to Debug::INFO instead of
9746 * converter.C (View):
9748 (Move): send debug output to Debug::FILES instead of console.
9750 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9752 * lyxfunc.C (getStatus): use func_status
9754 * func_status.h: new header, describing the results of
9757 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9760 2001-06-25 The LyX Project <jug@sad.it>
9762 * buffer.C (sgmlOpenTag):
9764 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9766 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9768 * text2.C: remove some dead code
9770 * tabular.C (GetCellInset): store the last cell checked (gotten)
9772 * tabular.h: add the helper for the speedup
9774 * lyxtext.h: remove some dead code
9776 2001-06-26 The LyX Project <Asger>
9778 * paragraph.C: Change export to LaTeX of alignment to
9779 \begin{center} and family for better roundtrip work with reLyX.
9781 * Tune the math drawing a bit.
9783 2001-06-25 The LyX Project <Asger>
9785 * LColor.C (LColor): New color for math background. New color
9788 2001-06-25 The LyX Project <jug@sad.it>
9790 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9793 * bufferlist.C (newFile): do not restrict to files ending with
9796 * BufferView_pimpl.C (MenuInsertLyXFile):
9798 2001-06-24 The LyX Project <jug@sad.it>
9800 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9803 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9805 * lyxtext.h: rename most methods to begin with a small char.
9806 Lots of changes because of this.
9808 * paragraph.C (Paragraph): do not call fitToSize
9809 (erase): call Pimpl::erase
9810 (insertChar): call Pimpl::insertChar
9811 (insertInset): call Pipl::insertInset
9812 (breakParagraph): do not call fitToSize
9813 (breakParagraphConservative): do not call fitToSize
9814 (fitToSize): remove method
9816 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9818 2001-06-24 The LyX Project <Asger>
9820 * Fix Qt compilation^2
9822 2001-06-24 The LyX Project <jug@sad.it>
9824 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9825 depthHook(getDepth()-1).
9828 * ParagraphParameters.h:
9829 * ParameterStruct.h: change type of depth to unsigned int ==
9830 depth_type. Many adaptations to other files before of that.
9832 2001-06-24 The LyX Project <Asger>
9834 * Fix Qt compilation.
9836 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9838 * paragraph.h: renamed several methods to begin with small letter.
9839 several changes to many parts of the code because of this.
9841 2001-06-23 The LyX Project <jug@sad.it>
9843 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9844 rewritten to discard all double spaces when KeepEmpty is off
9845 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9846 to only handle newlines but not fiddle with spaces and friends.
9848 * lyxfunc.C (MenuNew): when doing 'new from template', use
9849 template_path as default directory
9851 2001-06-23 The LyX Project <Asger>
9853 * Clean-up of header file includes all over
9854 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9856 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9858 * paragraph.h: renamed from lyxparagraph.h
9860 2001-06-23 Asger <lyx@violet.home.sad.it>
9862 * Buffer.h: Removed Buffer::resize
9863 * BufferList.h: Removed BufferList::resize
9864 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9865 the document lazily when we change the width, or the font settings.
9867 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9869 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9871 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9873 * buffer.h: remove out of date comment
9875 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9878 * screen.C: fix "theoretical" GC leak
9880 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9882 * LaTeX.C (scanAuxFile):
9883 (deplog): remove trailing \r when reading stream (useful under
9886 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9888 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9889 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9890 and BufferView::theLockingInset(Inset*), so should use them and not
9891 access bv_->text->the_locking_inset directly.
9893 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9895 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9898 * tex-defs.h: remove old unused file
9900 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9902 * BufferView_pimpl.C: fix typo, remove minibuffer message
9903 when buffer has loaded
9905 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9907 * lyxfunc.C (Dispatch): use stringstream
9908 (MenuNew): use stringstream
9909 (Open): use stringstream
9911 * importer.C (Import): use stringstream
9913 * bufferview_funcs.C (CurrentState): use stringstream
9915 * LaTeX.C (run): use stringstream
9917 * BufferView_pimpl.C (savePosition): use stringstream
9918 (restorePosition): use stringstream
9919 (MenuInsertLyXFile): use stringstream
9921 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9934 * vspace.C: removed // -*- C++ -*- as first line.
9937 * version.h: added // -*- C++ -*- as first line.
9939 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9941 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9943 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9946 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9948 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9951 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9953 * gettext.C: include LString.h even when --disable-nls is on.
9955 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9957 * converter.h (Get): changed argument type from int to
9958 FormatList::size_type to avoid unnecessary conversion.
9960 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9963 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9965 * gettext.h: include LString.h even when --disable-nls is on.
9967 2001-06-07 Juergen Vigna <jug@sad.it>
9969 * text.C (BreakAgain): subst spaces with tabs.
9971 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9972 (resizeInsetsLyXText): set force on resizeLyXText.
9974 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9976 * gettext.h (gettext_init):
9977 (locale_init): use a real definition instead of a macro
9979 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9981 * Bufferview_pimpl.C:
9983 * LColor.C: further lcolor tidies
9985 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9987 * BufferView_pimpl.C (updateScrollbar): simplify.
9989 * BufferView2.C: don't include insets/insetinfo.h, change
9990 prototype for insertInset and call the Pimpl version. let
9991 updateInset call Pimpl version.
9993 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9994 gotoInset to BufferView::Pimpl
9996 2001-06-01 Juergen Vigna <jug@sad.it>
9998 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9999 inside a LockingInset (is the update needed at all?).
10001 2001-05-31 Juergen Vigna <jug@sad.it>
10003 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10004 here not the old one otherwise how should we compare it afterwards
10007 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10012 * FontInfo.C: bring C functions into global namespace when
10015 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10017 * LString.h: make sure config.h has been loaded before LString.h.
10019 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10020 (one for each char read by EatLine!).
10022 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10025 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10027 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10028 to the same as the par we break from
10030 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10032 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10034 * MenuBackend.C (expand): also create menu entries for wide
10035 versions of the floats.
10037 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10039 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10041 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10042 frontends/Makefile.am
10048 * tabular.C (getTokenValue): add std::
10050 * tabular-old.C (getTokenValue): add std::
10051 (getTokenValue): ditto
10052 (getTokenValue): ditto
10054 * screen.C (ToggleSelection): adjust
10056 * lyxtext.h: put selection cursors inside a Selection struct.
10058 * lyxfunc.C (moveCursorUpdate): adjust
10060 * lyxfont.C (latexWriteStartChanges): add std::
10062 * lyxfind.C: adjust
10064 * font.h: delete with(char const *, LyXFont const &)
10066 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10068 * FontInfo.C (getFontname): add std::
10070 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10071 (workAreaButtonPress): adjust
10072 (tripleClick): adjust
10074 (moveCursorUpdate): adjust
10077 * BufferView2.C (gotoInset): adjust
10079 2001-05-30 Juergen Vigna <jug@sad.it>
10081 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10082 to check pspell I add this as default as I now have new pspell
10083 libraries and they seem to use this.
10085 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10087 * text2.C (CutSelection): make the cursor valid before the call to
10090 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10092 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10093 relied on 0 terminated strings and other horrors. Bug found due to
10094 the new assert in lyxstring!
10096 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10099 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10101 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10104 * lyxfunc.C (processKeySym): change method of getting to the
10107 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10108 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10109 * BufferView_pimpl.[Ch]: here as private methods.
10111 2001-05-28 Juergen Vigna <jug@sad.it>
10113 * text.C (SetHeightOfRow): added the update() call again as it is
10114 needed to initialize inset dimensions!
10116 2001-05-16 Juergen Vigna <jug@sad.it>
10118 * text2.C (SetCharFont): Add new function with BufferView * and
10119 bool toggleall parameters for setting insets internal fonts.
10120 (SetFont): Freeze the undo as we may change fonts in Insets and
10121 all this change should be inside only one Undo!
10123 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10124 setting font's in insets as for them we have the SetFont function!
10126 2001-05-15 Juergen Vigna <jug@sad.it>
10128 * text2.C (ClearSelection): to be sure we REALLY don't have any
10131 * tabular.C (TeXCellPreamble): fixed the left border problem for
10134 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10136 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10139 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10141 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10142 LFUN_BREAKPARAGRAPH.
10144 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10145 help test to "internal only", similar for LFUN_INSERT_URL
10147 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10148 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10149 auto_region_delete and deadkeys.
10151 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10154 * LColor.C: remove some dead entries, tidy a little
10156 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10158 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10160 (Dispatch): implement LFUN_ESCAPE
10162 * commandtags.h: add LFUN_ESCAPE
10164 * LyXAction.C (init): add entry for LFUN_ESCAPE
10166 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10167 Remove commented code.
10168 (insertNote): moved here
10169 (open_new_inset): moved here
10171 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10174 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10176 * kbmap.C (findbinding): clean it up and make it work correctly.
10178 * lyx_main.C (init): do not pass argc and argv as parameters
10180 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10182 * buffer.C: fix path for OS/2 & Win32
10186 * lyx_main.C: Added os:: class.
10188 * os2_defines.h: update
10190 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10192 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10193 better by trying again with reduced state.
10195 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10197 * lyxrc.C (read): print error about invalid key sequence only when
10198 debugging (because not all latinX keysyms are known to some X
10201 * kbsequence.C (getiso): add a few std:: qualifiers
10202 (getiso): comment out extra return statement.
10204 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10206 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10208 (Dispatch): enhance the accent inset a bit. (not perfect)
10210 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10212 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10214 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10216 * bufferlist.C (emergencyWrite): fix assert() call
10218 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10220 * text.C (InsertChar): Added trivial patch to only send the "you
10221 can not do multiple spaces this way" message once during a
10224 2001-05-08 Baruch Even <baruch@lyx.org>
10226 * Makefile.am: Changed order of libraries to get LyX to link properly
10227 with the gnome frontend.
10229 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10231 * LaTeXFeatures.h: add a std:: qualifier
10233 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10235 * paragraph.C (String): use stringstream
10237 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10239 * paragraph.C (writeFile): remove footflag arg
10241 * buffer.C (makeLaTeXFile): use stringstream
10242 (latexParagraphs): remove footnot gurba
10244 * LaTeXFeatures.C (getPackages): use stringstream
10245 (getMacros): likewise
10246 (getTClassPreamble): likewise
10247 (getFloatDefinitions): new method
10249 * paragraph.C (writeFile): reindent
10252 * WorkArea.h: revert the xpos + etc changes.
10254 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10256 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10258 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10259 (pasteSelection): likewise
10260 * text2.C (CreateUndo): likewise
10262 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10264 * minibuffer.C (peek_event): temporarily reduce the functionality
10265 of the minibuffer (to allow args on lfuns)
10267 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10268 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10270 * buffer.C (readInset): add compability reading of old float
10271 lists, add reading of new style float list.
10272 (readInset): avoid reevaluation of inscmd.getCmdName()
10273 (getLists): reindent
10275 * MenuBackend.C (MenuItem): implement parsing of
10276 md_floatlistinsert and md_floatinsert.
10277 (expand::LastFiles): move initalizaton of iterators out of loop,
10278 avoid reevaluation.
10279 (expand::Documents): introduce typdedef vector<string> Strings,
10281 (expand::ExportFormats): introduce typedef vector<Format const *>
10282 Formats, and use it.
10283 (expand): implement FloatListInsert and FloatInsert.
10285 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10286 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10287 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10289 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10291 (Dispatch::LFUN_FLOAT_LIST): implement
10293 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10295 * LaTeX.C (run): Fix problem with --export code.
10297 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10299 * BufferView.[Ch] (workarea): removed.
10300 (getClipboard) new method; wrapper for workarea()->getClipboard()
10302 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10305 * WorkArea.h (width, height, xpos, ypos): These methods all
10306 returned the dimensions of the work_area sub-area of WorkArea,
10307 resulting in a position error if the WorkArea were resized. Now
10308 return the dimensions of the entire WorkArea.
10310 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10312 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10314 * LaTeX.C (deplog): correct the syntax of regex reg1
10316 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10318 * undo.C: remove !NEW_INSETS cruft
10320 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10322 * text2.C: remove !NEW_INSETS cruft
10324 * text.C: remove !NEW_INSETS cruft
10326 * tabular.C: remove !NEW_INSETS cruft
10328 * spellchecker.C: remove !NEW_INSETS cruft
10330 * lyxtext.h: remove !NEW_INSETS cruft
10332 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10334 * lyxfunc.C: remove !NEW_INSETS cruft
10336 * lyxfind.C: remove !NEW_INSETS cruft
10338 * lyx_cb.C: remove !NEW_INSETS cruft
10340 * figureForm.C: remove !NEW_INSETS cruft
10342 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10344 * buffer.[Ch]: remove !NEW_INSETS cruft
10346 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10348 * CutAndPaste.C: remove !NEW_INSETS cruft
10350 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10352 * BufferView2.C: remove !NEW_INSETS cruft
10354 * BufferView.h: remove !NEW_INSETS cruft
10356 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10358 * Lsstream.h: include LString.h before the sstream headers to
10359 fix problem with gcc 2.95.3 and lyxstring
10361 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10363 * lyx_main.C: add using directives when needed for C functions
10364 declared in std:: namespace.
10366 2001-04-27 Juergen Vigna <jug@sad.it>
10368 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10369 (SetHeightOfRow): comment out the update call should not be needed!
10371 2001-04-13 Juergen Vigna <jug@sad.it>
10373 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10374 (LyXTabular): tried to minimize operator= operations (and realized
10375 hopfully Lars wish).
10377 2001-04-27 Juergen Vigna <jug@sad.it>
10379 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10381 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10383 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10385 * buffer.C (readInset): hack to make listof algorithm work
10387 * BufferView_pimpl.C: hack to make listof algorithm work
10389 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10391 * LyXAction.C: removed all !NEW_INSETS cruft
10392 (init): moved lfun_item in method
10394 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10396 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10398 * BufferView2.C (theLockingInset): white space.
10400 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10402 * minibuffer.C: include <iostream>
10404 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10406 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10408 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10410 * text.[Ch] (TransposeChars): new method
10412 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10414 * call message directly through LyXView instead of through LyXFunc
10415 * BufferView2.C: adjust
10416 * BufferView_pimpl.C: adjust
10417 * FontLoader.C: adjust
10419 * bufferview_funcs.C: adjust
10420 * converter.C: adjust
10421 * figureForm.C: adjust
10422 * importer.C: adjust
10424 * lyx_gui_misc.C: adjust
10425 * lyxfunc.C: adjust
10428 + more files in subdirs
10430 * lyxparagraph.h (size): move up int file
10433 * adjust all uses of Assert to lyx::Assert.
10435 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10436 lyxfunctional in namespace lyx
10437 * layout.C (hasLayout): ditto
10440 (delete_layout): ditto
10441 (NumberOfClass): ditto
10442 * converter.C (GetFormat): ditto
10447 * bufferlist.C (getFileNames): ditto
10448 (emergencyWriteAll): ditto
10451 * MenuBackend.C (hasSubmenu): ditto
10454 * BufferView_pimpl.C (getInsetByCode): ditto
10456 2001-04-18 Juergen Vigna <jug@sad.it>
10458 * vspace.C (asLatexString): fixed the 100% problem.
10460 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10462 * lyxfunc.C (Dispatch):
10464 * minibuffer.h: add a few std:: qualifiers
10466 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10468 * minibuffer.[Ch]: reimplement so that commands is initiated and
10469 run from lyxfunc, simplified som handling, and made the completion
10470 and history code for complete. wip.
10472 * lyxfunc.C (processKeySym): call message
10473 (miniDispatch): new temporary method
10474 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10475 (LFUN_MESSAGE): implement
10476 (LFUN_MESSAGE_PUSH): implement
10477 (LFUN_MESSAGE_POP): implement
10478 (initMiniBuffer): the initial/defualt minibuffer message.
10480 * lyxfont.[Ch]: inline some more getters
10482 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10484 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10486 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10487 (AutoSave): use LFUN_MESSAGE
10488 (Reconfigure): ditto
10490 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10492 * figureForm.C: use LFUN_MESSAGE
10494 * converter.C (runLaTeX): use LFUN_MESSAGE
10496 * bufferview_funcs.C: use LFUN_MESSAGE
10498 (changeDepth): ditto
10500 * bufferparams.h: use boost::
10502 * bufferlist.h: inherit privately from noncopyable
10504 * bufferlist.C (loadLyXFile): remove some commented code.
10506 * buffer.C (runChktex): use LFUN_MESSAGE
10508 * ShareContainer.h: inherit privately from noncopyable
10510 * ParagraphParameters.[hC] (depth): inline it.
10512 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10514 (message): new method
10515 (messagePush): ditto
10516 (messagePop): ditto
10517 (show): init minibuffer
10518 (showState): direct call
10520 * LaTeX.[Ch]: inherit privately from noncopyable
10521 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10522 instead of WriteStatus.
10524 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10526 * BufferView_pimpl.C (buffer): don't init minibuffer
10527 (workAreaButtonPress): use LFUN_MESSAGE
10528 (workAreaButtonRelease): ditto
10529 (savePosition): ditto
10530 (restorePosition): ditto
10531 (MenuInsertLyXFile): ditto
10532 (workAreaExpose): don't init minibuffer
10533 (update): remove commented code, simplify
10535 * BufferView2.C (openStuff): use LFUN_MESSAGE
10536 (toggleFloat): ditto
10539 (copyEnvironment): ditto
10540 (pasteEnvironment): ditto
10545 (updateInset): remove some commented code
10547 * lastfiles.h: inherit privately from noncopyable
10550 * lyx_main.h: ditto
10552 * lyxlex_pimpl.h: ditto
10554 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10555 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10556 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10558 * LyXAction.h: inherit privately from noncopyable, add methods
10559 func_begin, func_end, returning iterators to the func map.
10561 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10562 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10563 (func_begin): new method
10564 (func_end): new method
10566 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10568 (copySelection): ditto
10569 (pasteSelection): ditto
10571 * BufferView.C: whitespace change
10572 * BufferView.h: inherit privately from noncopyable
10574 2001-04-16 Allan Rae <rae@lyx.org>
10576 * tabular-old.C (l_getline):
10577 * spellchecker.C (sc_check_word):
10578 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10579 an unrecognised preprocessor directive. So ensure they're wrapped.
10581 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10583 * src/exporter.C (Export): Give an error message when path to file
10586 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10588 * LaTeX.C (deplog): Always check that foundfile exists.
10590 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10593 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10595 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10597 * tabular.[Ch] (getLabelList): implement new method
10599 * minibuffer.h: comment ouf setTiimer
10601 * minibuffer.C (ExecutingCB): constify res
10602 (peek_event): constify s
10603 (Set): constify ntext
10604 (Init): constify nicename
10606 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10608 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10609 (savePosition): use two params to Minibuffer::Set
10610 (restorePosition): ditto
10612 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10614 * lyx_main.C: include language.h
10616 * Makefile.am (lyx_main.o): add language.h
10618 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10624 * CutAndPaste.C: include gettext.h
10626 * lyxfont.h: remove old hack with ON and OFF.
10629 * lyxfont.h: do not include language.h...
10634 * bufferview_funcs.C:
10640 * paragraph.C: ... but do it here instead
10642 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10644 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10646 * tabular.C: small reformat
10648 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10651 (BreakParagraph): ditto
10652 (SetOnlyLayout): ditto
10655 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10658 * lastfiles.C: removed most using decl, add std:: where needed
10660 * buffer.C: ws changes
10662 * MenuBackend.C (class compare_format): put into anon namespace
10663 (expand): constify label, names, action, action2
10666 * text.C (SingleWidth): constify font
10667 (IsBoundary): constify rtl2
10668 (GetVisibleRow): constify ww
10670 * LaTeX.C (deplog): constify logfile
10672 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10674 (workAreaExpose): constify widthChange, heightChange
10676 * lyxrow.C (par): moved
10679 * lyxrow.h: as inlines here
10681 * lyxfont.h (shape): moved from lyxfont.C
10682 (emph): moved from lyxfont.C
10684 * lyxfont.C (LyXFont): use initialization list for all
10686 (shape): move to lyxfont.h as inline
10687 (emph): move to lyxfont.h as inline
10690 2001-04-04 Juergen Vigna <jug@sad.it>
10692 * vspace.C: had to include stdio.h for use of sscanf
10694 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10697 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10698 independent of xforms.
10700 2001-04-02 Juergen Vigna <jug@sad.it>
10702 * spellchecker.C: fixed namespace placing!
10704 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10706 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10707 the LyXParagraph * is 0.
10709 2001-03-29 Juergen Vigna <jug@sad.it>
10711 * vspace.C: added support for %, c%, p%, l%.
10712 (stringFromUnit): added helper function.
10713 (asLatexString): changed to give right results for the %-values.
10715 * buffer.C: convert the widthp in a width%.
10717 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10719 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10722 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10723 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10725 * lyx_cb.[Ch]: see above.
10727 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10731 * lyx.[Ch]: replaced by figure_form.[Ch].
10735 * lyxfunc.C: changed headers associated with above changes.
10737 2001-03-27 Juergen Vigna <jug@sad.it>
10739 * BufferView_pimpl.C: set the temporary cursor right!
10741 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10743 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10745 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10747 * LString.h: removed "using std::getline"!
10749 * BufferView_pimpl.C (Dispatch): changes due to changes in
10750 InsetInclude::Params.
10752 * buffer.C (tag_name): removed redundant break statements as they were
10753 producing lots of warnings with my compiler.
10755 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10757 * LString.h: add "using std::getline" when using the real <string>.
10759 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10761 * buffer.C: removed bitset usage.
10762 PAR_TAG moved to an anonymous name space.
10763 (tag_name): new funtion, also in the anonymous namespace.
10764 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10765 (makeDocBookFile): clean code. Completed transition from string arrays
10767 (SimpleDocBookOnePar): code clean.
10769 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10771 * tabular.C: add some comments.
10773 2001-03-22 Juergen Vigna <jug@sad.it>
10775 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10776 compatibility read a bit and fixed bug with minipage in different
10779 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10781 * buffer.C (pop_tag): removed.
10782 (push_tag): removed.
10783 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10784 array replaced with vector. Added support for CDATA sections.
10785 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10787 (makeDocBookFile): XML conformant declaration of CDATA section,
10788 fixed bug related to <emphasis> in the first paragraph char.
10789 (sgmlOpenTag): exclude empty tags.
10790 (sgmlCloseTag): ditto.
10792 * buffer.h (pop_tag): removed.
10793 (push_tag): removed.
10795 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10797 * language.h (Languages): added size_type and size().
10799 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10801 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10802 response on compability reading of minipages. One probliem is that
10803 the old usage of minipages was «flertydig»
10805 * several files here and in subdirs: don't use static at file
10806 scope use anon namespaces instead.
10808 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10810 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10811 LaTeX output. This is necessary for Literate document
10814 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10816 * buffer.C: insert hfill when needed.
10818 * tabular.C (l_getline): use string::erase, small whitespace change.
10820 * BufferView_pimpl.C: try the anon namespace.
10821 * WorkArea.C: ditto
10823 2001-03-16 Juergen Vigna <jug@sad.it>
10825 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10826 otherwise it won't open options-dialogs.
10828 * buffer.C: honor pextraWidth(p) on converting minipages.
10830 * tabular.C (l_getline): changed the functions to strip trailing \r.
10832 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10834 * BufferView_pimpl.C:
10835 * minibuffer..C: added "using SigC::slot" declaration.
10837 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10839 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10845 * paragraph.C: ditto
10847 * lyxtext.h: NO_PEXTRA
10849 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10851 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10852 * ParameterStruct.h: ditto
10853 * ParagraphParameters.h: ditto
10854 * lyxparagraph.h: ditto
10856 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10858 * buffer.C: add compability for minipage alignment.
10859 (latexParagraphs): remove unwanted pextra check.
10861 * several files: remove CXX_WORKING_NAMESPACES
10863 * buffer.C (pop_tag): tie is in namespace boost
10865 * BufferView.h: noncopyable is in namespace boost
10867 * lyx_main.h: ditto
10870 * lastfiles.h: ditto
10871 * bufferlist.h: ditto
10872 * ShareContainer.h: ditto
10874 * LyXAction.h: ditto
10877 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10879 * Merging changes from BRANCH_MVC back into HEAD.
10881 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10883 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10885 * BufferView_pimpl.C: change from intl.C
10889 * Makefile.am: move combox.*
10895 * intl.C: remove dialog (covered by prefs)
10897 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10899 * lyxfunc.C (Dispatch): removed redundant break statement.
10901 2001-03-14 Juergen Vigna <jug@sad.it>
10903 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10905 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10907 * buffer.C: add hack to fix compability reading of minipages.
10909 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10911 * buffer.C (getLists): Cleanup.
10913 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10915 * lyxfont.C (update): don't honor toggleall on font size.
10917 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10921 * Makefile.am: moved to frontends/xforms/
10925 * BufferView_pimpl.C: changes for moved mathpanel
10927 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10929 * gettext.h: fix gettext_init() in --disable-nls
10931 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10933 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10935 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10938 * lyx.h: strip external form
10940 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10942 * BufferView_pimpl.C: add comment, destroySplash()
10944 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10946 * BufferView_pimpl.C:
10950 * lyxfunc.C: use re-worked insetinclude
10952 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10954 * buffer.C: add using std::stringstream.
10956 * lyx_cb.C: readd using std::ios.
10958 * buffer.C: add using std::map.
10960 * BufferView_pimpl.C: add using std::vector.
10962 * ShareContainer.h: add std:: to swap.
10964 * buffer.h: add some typedefs
10965 * buffer.C (getLists): use them
10966 (getLists): renamed from getTocList.
10967 add a counter for the different float types and use it in the
10969 (getLists): use the same counter for the NEW_INSETS and the "non"
10972 * lyx_cb.h: remove unused items, includes, using etc.
10974 * ShareContainer.h: remove some commented code, add more comments
10975 and "documentation".
10977 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10979 * buffer.C (getTocList): make the list also when NEW_INSETS is
10982 * buffer.h: remove TocType
10984 * buffer.C (getTocList): change to return a map<string,
10985 vector<TocItem> >, implement for dynamic number of list.
10987 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10988 * text2.C (PasteSelection): adjust
10989 * CutAndPaste.C (pasteSelection): adjust
10991 * FloatList.C (FloatList): update from the new_insets branch.
10992 * Floating.[Ch]: ditto
10993 * LaTeXFeatures.C: ditto
10995 * lyxlex_pimpl.C: ditto
10997 * paragraph.C (Last): remove when NEW_INSETS is defined.
10999 * other file: changes because of the above.
11001 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11003 * lyxparagraph.h: rename next to next_, previous to previous_,
11004 make them private for NEW_INSETS. Rename Next() to next(),
11005 Previous() to previous().
11007 * other files: changes because of the above.
11009 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11012 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11015 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11017 * main.C (main): pass lyx_localedir to gettext_init().
11019 * gettext.h: remove locale_init and gettext_init macros
11021 * gettext.C (locale_init): new function
11022 (gettext_init): new function
11024 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11027 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11029 * Moved credits to frontends:
11030 * credits.[Ch]: removed
11031 * credits_form.[Ch]: removed
11032 * lyx_gui_misc.C: remove credits stuff
11035 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11037 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11039 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11040 unneeded destructor.
11042 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11043 a standalone pointer again.
11045 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11047 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11053 * ToolbarDefaults.C:
11062 * BufferView_pimpl.C: use new file dialog in GUII
11065 * lyx_cb.C: remove LayoutsCB to Toolbar
11067 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11069 * ShareContainer.h (get): add std:: qualifier
11071 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11073 * ShareContainer.h: define a proper ShareContainer::value_type
11074 type (and use typename to please compaq cxx)
11076 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11078 * lyxparagraph.h: move serveral local vars to
11079 ParameterStruct/ParagraphParameters., use ShareContainer in
11080 FontTable., make vars in FontTable private and add getter and
11083 * paragraph.C: changes because of the above.
11085 * lyxfont.h: remove copy constructor and copy assignment. (the
11086 default ones is ok), move number inside FontBits. move inlines to
11089 * lyxfont.C: add number to initializaton of statics, move several
11090 inlines here. constify several local vars. some whitespace
11091 cleanup. Dont hide outerscope variables.
11093 * Spacing.h: add two new constructors to match the set methods.
11095 * ShareContainer.h: new file, will perhaps be moved to support
11097 * ParameterStruct.h: new file
11099 * ParagraphParameters.h: new file
11101 * ParagraphParameters.C: new file
11103 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11104 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11106 * BufferView_pimpl.C: ParagraphParameter changes.
11107 * buffer.C: Likewise.
11108 * bufferview_funcs.C: Likewise.
11109 * text.C: Likewise.
11110 * text2.C: Likewise.
11112 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11114 * lyxfind.C (LyXReplace): do not redefine default argument in
11116 (IsStringInText): ditto
11117 (SearchForward): ditto
11118 (SearchBackward): ditto
11120 2001-03-06 Juergen Vigna <jug@sad.it>
11122 * lyxfind.C (IsStringInText): put parentes around expressions.
11124 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11126 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11128 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11130 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11132 * stl_string_fwd.h: add comment
11134 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11137 * tabular.C: remove unused DocBook methods
11143 killed DO_USE_DEFAULT_LANGUAGE
11145 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11147 * lyx_gui.C: do not include language.h.
11149 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11150 arguments in function implementation.
11152 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11154 * BufferView_pimpl.C: add <ctime>
11156 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11158 * BufferView_pimpl.C: add using std::find_if
11160 2001-02-27 José Matos <jamatos@fep.up.pt>
11162 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11165 2001-02-11 José Matos <jamatos@fep.up.pt>
11167 * buffer.C (makeDocBookFile): command styles now have a parameter as
11168 "title" by default.
11170 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11172 * layout_forms.[Ch]: removed
11173 * lyx_cb.[Ch]: out character
11174 * lyx_gui.C: out character
11175 * lyx_gui_misc.C: out character
11176 * bufferview_funcs.C: : out character,
11177 added toggleall as parameter in ToggleAndShow
11179 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11181 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11183 * text2.C (SetCurrentFont): Disable number property at boundary.
11185 2001-02-26 Juergen Vigna <jug@sad.it>
11187 * lyxfunc.C (getStatus): added a string argument override function so
11188 that this is correctly called from LyXFunc::Dispatch if it contains a
11189 do_not_use_argument which is used!
11190 (Dispatch): added check for "custom" export and call appropriate func.
11192 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11194 * lyxrc.C: Add language_command_local, language_use_babel and
11195 language_global_options.
11197 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11199 * buffer.C (makeLaTeXFile): Use language_use_babel and
11200 language_global_options.
11202 2001-02-23 Juergen Vigna <jug@sad.it>
11204 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11205 which works with LyXText and putted it inside BufferView. Here now we
11206 only call for that part the BufferView::Dispatch() function.
11208 * BufferView.C (Dispatch): added.
11210 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11211 functions which needs to use a LyXText over from LyXFunc.
11212 (MenuInsertLyXFile): added
11213 (getInsetByCode): added
11214 (moveCursorUpdate): added
11215 (static TEXT): added
11217 2001-02-22 Juergen Vigna <jug@sad.it>
11219 * BufferView_pimpl.C (update): call a status update to see if LyXText
11222 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11224 * vc-backend.C (revert): implement for CVS
11225 (getLog): implement for CVS
11227 2001-02-20 Juergen Vigna <jug@sad.it>
11229 * text2.C (ClearSelection): added BufferView param for inset_owner call
11231 * lyxfunc.C (TEXT): added this function and use it instead of
11232 directly owner->view()-text of getLyXText().
11234 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11236 * src/layout_forms.C: out preamble
11237 * src/layout_forms.h: out preamble
11238 * src/lyx_cb.C: out preamble
11239 * src/lyx_cb.h: out preamble
11240 * src/lyx_gui.C: out preamble
11241 * src/lyx_gui_misc.C: out preamble
11242 * src/lyxfunc.C: connect with guii preamble
11244 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11246 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11248 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11250 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11251 whether to run bibtex.
11253 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11255 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11257 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11259 * Makefile.am (lyx_SOURCES): removed bibforms.h
11261 * vspace.h: doxygen
11263 * text.C (GetVisibleRow): make several local vars const
11265 * tabular.C: small cleanup.
11267 * lyxserver.C (callback): use compare instead of strncmp
11269 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11270 inlines to after class or to paragraph.C
11272 * lyxfont.h: remove friend operator!=
11274 * converter.h: move friend bool operator< to non friend and after
11277 * combox.h: small cleanup
11279 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11280 to inlines after class def.
11282 * buffer.C (pop_tag): use string operations instead of strcmp
11284 * bmtable.c: doxygen, small cleanup
11286 * LaTeX.h: remove friend operator==
11288 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11300 * BufferView_pimpl.C:
11301 * BufferView.[Ch]: remove cruft
11303 2001-02-14 Juergen Vigna <jug@sad.it>
11305 * lyxfunc.C: removed #if 0 unused code
11307 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11309 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11311 * text2.C (SetSelection): added a BufferView * parameter
11313 2001-02-13 Juergen Vigna <jug@sad.it>
11315 * lyxfunc.C (Dispatch): fixed protected blank problem.
11316 * BufferView2.C (protectedBlank): added LyxText * parameter.
11318 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11319 (AppendColumn): same as above for column_info.
11321 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11322 (moveCursorUpdate): use a LyXText param for support of InsetText.
11324 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11325 (tripleClick): ditto
11327 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11329 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11331 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11333 * text2.C (SetSelection): set correct update status if inset_owner
11334 (ToggleFree): ditto
11336 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11338 * tabular.C: remove some commented code.
11340 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11342 * BufferView_pimpl.C: call hideSplash()
11344 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11347 * bibforms.h: remove
11350 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11351 add LFUN_CHILD_CREATE
11353 * counters.h: fix tiny typo
11358 * lyx.C: move splash to frontends/xforms/
11360 * lyx_gui_misc.C: move Include and Bibform to frontends
11362 * lyxvc.h: clarify comment
11364 * vspace.C: tiny housekeeping
11366 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11368 * text.C (PrepareToPrint): RTL Fix.
11370 * paragraph.C (GetUChar): New method.
11371 (String): Use GetUChar.
11373 * buffer.C (asciiParagraph): Use GetUChar.
11375 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11377 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11379 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11382 * buffer.C: rename to getLogName(), handle
11383 build log / latex log nicely
11385 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11388 * MenuBackend.h: remove support for reference menuitem type.
11390 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11392 * BufferView_pimpl.C: housekeeping
11393 * BufferView_pimpl.h:
11398 * minibuffer.h: move Timeout GUI-I
11400 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11402 * lyxrc.C (read): Update converters data-structures.
11404 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11406 * LaTeX.h (operator!=): add operator != for Aux_Info
11408 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11410 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11412 * LaTeXLog.C: deleted, useful code moved to Buffer
11415 * buffer.C: new function getLatexLogName()
11421 * lyxfunc.C: use frontends for LaTeX and VC logs
11423 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11425 * LaTeX.h: yet another std:: that Allan forgot.
11427 * Variables.C (set): renamed from isset(), because this clashes
11428 with some HP-UX macros (grr).
11430 2001-02-06 Allan Rae <rae@lyx.org>
11432 * LaTeX.h: Another bug fix. Missing std:: this time.
11434 2001-02-04 Allan Rae <rae@lyx.org>
11436 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11437 floats problem. I've left it commented out because it's not quite
11438 correct. It should also test that the current object is a table or
11439 figure inset. But I haven't gotten around to figuring out how to do
11440 that. I *think* it'll be something like: "table" == inset.type()
11442 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11445 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11447 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11448 all the citation/databases/styles in the auxilary file.
11449 (run): Rerun latex if there was a babel language error.
11451 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11453 * text.C (Backspace): Preserve the font when changing newline char
11455 (BreakParagraph): If the cursor is before a space, delete the space.
11457 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11459 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11461 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11462 new argument (code).
11463 (ChangeCitationsIfUnique): New method.
11465 * paragraph.C (GetPositionOfInset): Handle bibkey.
11467 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11469 * BufferView_pimpl.h: change type of Position::par_pos to
11470 LyXParagraph::size_type.
11472 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11474 * BufferView_pimpl.C (savePosition, restorePosition): Write
11475 messages to minibuffer.
11477 2001-01-28 José Matos <jamatos@fep.up.pt>
11479 * buffer.C (makeDocBookFile): adds support for document language.
11480 A silly restriction on the name of LatexCommand types where removed.
11481 Added support for CDATA sections, allows to chars unescaped, used
11482 among others in code, to avoid escape < and >.
11484 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11486 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11487 saved positions instrad of a stack. Furthermore, a position is
11488 stored using paragraph id/paragraph position.
11490 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11491 Remove LFUN_REF_BACK.
11493 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11495 * converter.C (dvipdfm_options): New method.
11497 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11499 * vspace.C (isValidLength): Fix for empty input string.
11501 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11503 * LyXAction.C (init): change description of LFUN_FIGURE to
11506 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11508 * LaTeX.C: add using directive
11510 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11512 * MenuBackend.C (expand): Fix the sorting of the formats.
11514 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11516 * lyx_main.C: tiny error message fix
11518 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11520 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11521 calling fl_initialize(). This fixes the problem with ',' as
11522 decimal separator in text files.
11524 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11526 * trans.C (process): Fix the keymap bug.
11528 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11530 * LaTeX.C (scanAuxFiles): New method. Provides support for
11531 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11532 (scanLogFile) Scan for "run BibTeX" messages.
11534 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11535 OT1 font encoding. Also, load the aecompl package if the ae
11538 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11540 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11542 * texrow.C (increasePos): turn two error messages into debug
11545 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11547 * LaTeX.C (scanAux): Handle the \@input macro.
11548 (runBibTeX): Use scanAux().
11550 * language.C (latex_options_): New field.
11552 * LaTeXFeatures.C (getMacros): Add language macros.
11554 * buffer.C (makeLaTeXFile): Small fix.
11556 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11558 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11560 * text2.C: add a using directive.
11562 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11567 * lyxfunc.C: kill LyXBell.
11569 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11571 * text.C (IsBoundary): Remove the error message
11573 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11575 * lyxrc.C (setDefaults): Correct initialization value for
11578 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11580 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11583 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11584 and GotoNextNote().
11586 * src/LyXAction.C: Added reference-next.
11588 * text.C (InsertChar): Use contains instead of strchr.
11590 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11592 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11594 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11595 alignment commands (when needed).
11597 * text.C (InsertChar): Add ':' to number separator chars.