2 2003-07-14 André Pönitz <poenitz@gmx.net>
4 * rowpainter.[Ch]: reduce interface
6 2003-07-14 André Pönitz <poenitz@gmx.net>
9 * text2.C: adjust after removing unused BufferView * argument
11 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
13 * text2.C (init): fix a crash fired on resize
15 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
17 * buffer.[Ch]: added new closing signal
18 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
19 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
20 BufferView::Pimpl via the closing the signal
22 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
24 * buffer.[Ch]: take out all bv-related from buffer
26 * BufferView_pimpl.[Ch]: connect to new signals
27 * CutAndPaste.C: removed useless asserts
28 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
31 * lyxfunc.C: moved view-related funciontality from vc here
32 * paragraph.C: removed outdated comments
35 2003-07-10 André Pönitz <poenitz@gmx.net>
41 * text2.C: remove InsetText::InnerCache, clean up consequences
43 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
45 * ispell.C: fix two typos in error messages
47 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
49 * Extend Note inset to other forms of annotation like Comment
50 and Greyedout. Right button click gives dialog.
52 Files modified or added (+):
58 * Makefile.am in frontends/xforms, frontends/xforms/forms,
63 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
65 * aspell.C: add missing namespace lyx::support
67 2003-07-07 Alfredo Brauntein <abraunst@libero.it>
69 * BufferView.[Ch] (newFile): Add
70 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
71 * LaTeX.[Ch] (message): added this signal and use it
72 * buffer.[Ch] (busy, message): added these signals and use them
73 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
77 * importer.C: use buffer signals instead of direct bv calling
78 * lyx_cb.[Ch] (ShowMessage): removed
82 * text2.C: use buffer signals
84 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
86 * introduce namespace lyx::graphics
88 2003-07-02 André Pönitz <poenitz@gmx.net>
90 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
92 2003-07-01 André Pönitz <poenitz@gmx.net>
99 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
100 text*.C to text_func.C
102 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
104 * introduce namespace lyx::support
106 2003-06-30 André Pönitz <poenitz@gmx.net>
111 * text.C: re-enable --with-included-string
113 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
115 * textcursor.C: add <config.h>
117 * text.C (getWord): remove const from word_location arg
119 * lyxvc.C (getLogFile): fix const type order
121 * lyxtext.h: remove const from word_location arg, add arg name
123 * lyxlayout.h: currect type on labeltype.
125 * importer.C: correct \file
127 * converter.C (intToFormat): use std:: on ret val, ws changes
129 * bufferlist.h: correct \file
131 * buffer.C (makeLinuxDocFile): fix const type order
132 (makeDocBookFile): ditto
133 (fillWithBibKeys): use std:: on stdlib args.
135 * CutAndPaste.C: fix authors.
136 (availableSelections): use std:: on return vector
138 2003-06-27 André Pönitz <poenitz@gmx.net>
140 * BufferView_pimpl.C:
141 * bufferview_funcs.C:
149 * text3.C: remove LyXCursor::row_ member
152 * text.C: rename fullRebreak() to partialRebreak() and implement
153 a fullRebreak() that really bereks fully
155 * textcursor.h: new struct for cursor-related data
157 2003-06-26 Alfredo Brauntein <abraunst@lyx.org>
159 * lyx_main.C (LyX): get full path of document loaded on the
162 2003-06-26 André Pönitz <poenitz@gmx.net>
164 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
165 remove unused/broken operator>,<,>=.
167 * text.C: remove only use of broken operator<= in an Assert().
169 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
171 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
172 moved errorlist_.clear to showErrorList
174 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
176 * converter.C (scanLog, runLaTeX):
177 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
178 move the bv->showErrorList call to the callers
179 * lyxfunc.C: i.e. here...
181 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
182 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
183 namespace, the second to...
184 * buffer_funcs (BufferFormat, parseErrors): added
185 * errorlist.C (ErrorList(TeXErrors const &)): removed
187 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
189 * ToolbarBackend.C (getIcon): complain when icon cannot be found
191 2003-06-24 "Garst R. Reese" <reese@isn.net>
195 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
197 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
199 * version.C.in: change docversion to 1.4
201 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
203 * buffer.C: fix a bug just introduced
205 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
207 * buffer.[Ch]: added the parseError signal and use it, removed
209 * BufferView.[Ch] (addError): moved to ...
210 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
211 to the Buffer::parseError signal to catch (guess what) parse errors
212 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
214 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
216 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
217 ability to create a buffer and to return an existing one from
218 the list. Moved these functions to...
219 * buffer_funcs.[Ch]: added
220 * BufferView.[Ch] (loadLyXFile): added
221 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
222 job removed from bufferlist::loadLyXFile.
223 * buffer.C (setReadOnly): make it work without view
224 (i.e added an if (users))
226 2003-06-19 Angus Leeming <leeming@lyx.org>
229 * LyXAction.C (init):
230 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
231 with LFUN_DIALOG_SHOW <name> <data>.
233 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
235 * CutAndPaste.C (availableSelections): small compilation fix for
236 ancient (gcc 2.9x) compilers
238 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
240 * text3.C (cursorNext): add tmp var
242 * text2.C (updateCounters): for function calling out of for clause
243 (replaceSelectionWithString): ditto
244 (insertStringAsParagraphs): ditto
245 (getColumnNearX): add tmp var
246 (setCursorFromCoordinates): add tmp var
247 (cursorDownParagraph): add tmp var
248 (deleteEmptyParagraphMechanism): add tmp var
250 * text.C (insertChar): add tmp var
252 * rowpainter.C (paintDepthBar): add tmp var
254 * CutAndPaste.C (availableSelections): potentially check all
255 paragraphs in a cut to fill the shown strings.
257 2003-06-18 André Pönitz <poenitz@gmx.net>
259 * kbmap.[Ch]: use vector<> instead of list<>
261 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
263 * text3.C (dispatch): handle arg to LFUN_PASTE, call
264 pasteSelection with index
266 * text2.C (pasteSelection): modify, call pasteSelection with index
268 * paragraph.C (asString): reimplement version with no interval to
269 call the one with interval.
271 * lyxtext.h: add index arg to pasteSelection
273 * MenuBackend.C (MenuItem): handle PasteRecent
274 (Menu::read::Menutags): add md_pasterecent
276 (expandPasteRecent): new function
279 * MenuBackend.h: add PasteRecent to MenuItem::Kind
281 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
283 (availableSelections): new function
285 2003-06-17 Angus Leeming <leeming@lyx.org>
287 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
289 2003-06-17 Angus Leeming <leeming@lyx.org>
292 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
294 * lyxfunc.C (dispatch): invoke it.
296 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
298 * iterators.C (operator++, ParPosition): reintroduce some
299 const_cast for the benefit of older compilers.
301 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
303 * text3.C (dispatch): do not modify clipboard when doing
304 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
305 LFUN_DELETE_SKIP on a selection selection
307 2003-06-16 André Pönitz <poenitz@gmx.net>
313 * tabular.[Ch]: IU of clone() and getLabelList();
315 2003-06-13 André Pönitz <poenitz@gmx.net>
317 * tabular.h: compactification
319 2003-06-12 André Pönitz <poenitz@gmx.net>
323 * tabular_funcs.h: some renaming plus whitespace
325 2003-06-12 André Pönitz <poenitz@gmx.net>
328 * BufferView_pimpl.C:
334 * toc.C: Return a Paragraph & for ParIterator::operator*()
336 2003-06-11 John Levon <levon@movementarian.org>
340 * ToolbarBackend.C: add "Toolbars" section and
343 2003-06-10 Angus Leeming <leeming@lyx.org>
346 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
348 * lyxfunc.C (dispatch): invoke it.
350 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
352 * main.C: protect <ios> with HAVE_IOS
353 (main): protect sync_with_stdio with HAVE_IOS
355 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
357 * text2.C (cutSelection): adjust
358 (pasteSelection): adjust
360 * messages.C: handle get of empty string
362 * main.C (main): use sync_with_stdio(false)
364 * lyxfunc.C (dispatch): adjust
366 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
367 (WriteAs): remove unneeded BufferView arg.
369 * bufferparams.h: use correct types on papersize, papersize2 and
372 * bufferparams.C (readToken): adjust for type
373 (writeLaTeX): add missing cases to switch.
375 * bufferlist.C (quitWriteBuffer): adjust
378 * buffer.C (asciiParagraph): remove some commented code.
380 * CutAndPaste.C: remove current_view extern variable.
381 (cutSelection): add BufferParams arg.
382 (eraseSelection): add BufferParams arg.
383 (pasteSelection): add Buffer const & arg
385 2003-06-07 John Levon <levon@movementarian.org>
393 * paragraph.C: allow InsetERT to freely space lines,
394 and some consolidation of code
396 2003-06-06 José Matos <jamatos@fep.up.pt>
398 * buffer.C (makeDocBookFile): fix bug #821
400 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
402 * BufferView_pimpl.C (dispatch): use Dialogs::visible
404 2003-06-04 Angus Leeming <leeming@lyx.org>
406 * buffer.C: bump format to 224.
408 2003-06-05 André Pönitz <poenitz@gmx.net>
410 * text2.C (redoParagraphs): remove two const_cast<>
412 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
414 * ParagraphList.h: remove last remnants of NO_STD_LIST
416 2003-06-03 Angus Leeming <leeming@lyx.org>
418 * factory.C (createInset): small change to the way InsetExternal's params
421 2003-06-04 André Pönitz <poenitz@gmx.net>
423 * buffer.h: use Undo directly instead of shared_ptr<Undo>
426 * paragraph.[Ch]: some Inset -> UpdatableInset changes
428 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
430 * undo_funcs.C: make some simple cases of undo work again
432 2003-06-03 John Levon <levon@movementarian.org>
434 * ispell.C: HPUX doesn't have sys/select.h
437 2003-06-03 John Levon <levon@movementarian.org>
439 * CutAndPaste.C: update tabular and include inset
444 * paragraph.C: remove owningBuffer(), don't pass Buffer
447 * factory.C: insetGraphicsParams changed
449 2003-06-02 John Levon <levon@movementarian.org>
455 * text3.C: remove insetparent
457 2003-06-02 John Levon <levon@movementarian.org>
460 * buffer.C: fix inset_iterator.end(), move out of line
463 2003-06-01 John Levon <levon@movementarian.org>
465 * text3.C: use a proper cut/paste when doing inset
466 insert (from Jürgen Spitzmüller)
468 2003-06-01 John Levon <levon@movementarian.org>
470 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
472 2003-05-30 André Pönitz <poenitz@gmx.net>
474 * rowpainter.C: unify second drawing phase
476 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
478 * trans_mgr.C: remove one case of current_view
480 * text2.C (cursorBottom): delete NO_STD_LIST stuff
482 * paragraph_funcs.h: remove paragraph.h include
484 * paragraph.h: delete NO_STD_LIST stuff
486 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
488 * buffer.h: remove paragraph.h include
490 * ParagraphList.C: delete file
492 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
494 * toc.C (getTocList): adjust
496 * paragraph_pimpl.C (validate): adjust
498 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
500 * paragraph.C (Paragraph): adjust
501 (getPositionOfInset): use const_iterator, adjust
502 (bibitem): use const_iterator, adjust
503 (setInsetOwner): adjust
505 * iterators.C (operator++): adjust
507 * InsetList.[Ch]: Replace selfmade iterator with standard
508 vector::iterator also introduce const_iterator. Remove getPos,
509 getInset and setInset from InsetTable. Adjust accordingly.
511 * BufferView.C (lockInset): adjust
512 (ChangeInsets): adjust
514 * tabular.[Ch]: delete commented same_id functions
516 2003-05-28 John Levon <levon@movementarian.org>
518 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
520 2003-05-28 André Pönitz <poenitz@gmx.net>
522 * metricsinfo.[Ch]: remove 'fullredraw' member
524 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
526 * lyxtextclass.C (operator): remove caching.
528 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
532 * text2.C (cursorBottom): adjust
533 (setCounter): use ParagraphList::find, adjust
535 * text.C (workWidth): use ParagraphList::find, adjust
537 * lyxcursor.C (LyXCursor): adjust
539 * buffer.C (inset_iterator): adjust
541 * ParagraphList.h: make iterator(value_type) private, make
542 ParagraphList a friend of iterator.
544 * ParagraphList.C (find): new function
546 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
548 2003-05-27 André Pönitz <poenitz@gmx.net>
550 * dimension.[Ch]: a -> asc, d -> des, w -> wid
552 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
554 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
556 2003-05-26 John Levon <levon@movementarian.org>
558 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
560 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
562 * remove same_id from function signatures, adjust.
564 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
566 * undo_funcs.C (createUndo): use the id functions directly, adjust.
568 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
570 * paragraph.C (Paragraph): get rid of same_ids parameter
572 * ParagraphList.C (insert): adjust
575 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
577 * paragraph_funcs.C (breakParagraph): adjust
578 (breakParagraphConservative): adjust
580 * buffer.C (readParagraph): adjust
582 * ParagraphList.C (insert): take a reference instead of a pointer
585 * paragraph.[Ch] (id): new function
587 * bufferlist.C (newFile): adjust
589 * ParagraphList.C (ParagraphList): adjust
591 (push_back): take a reference instead of a pointer.
593 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
595 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
598 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
599 set else use old code.
601 * ParagraphList.C: remove all NO_NEXT code and only compile this
602 code of NO_STD_LIST is set.
604 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
606 * BufferView_pimpl.C:
616 * graphics/GraphicsConverter.C:
617 * graphics/PreviewLoader.C: header adjustment
619 2003-05-23 Angus Leeming <leeming@lyx.org>
621 * LaTeXFeatures.[Ch] (useBabel): new method.
622 * bufferparams.C (writeLaTeX): use it.
624 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
626 * ParagraphList.h (set): remove unused function.
628 2003-05-23 André Pönitz <poenitz@gmx.net>
631 * BufferView_pimpl.C:
635 * undo_funcs.C: setUndo reworked
637 * iterators.[Ch]: add access to topmost ParagraphList
639 * lyxtext.[Ch] (workWidth): add a const
641 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
643 * texrow.[Ch] (increasePos): remove function
644 * exporter.C (export): removed unused var and outdated comment
646 2003-05-23 Angus Leeming <leeming@lyx.org>
648 * latexrunparams.h: rename fragile as moving_arg.
649 * paragraph.C (simpleTeXOnePar): ditto.
650 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
652 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
654 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
656 (textUndoOrRedo): comment out a currently unused var.
658 * paragraph.h (NO_NEXT): enable NO_NEXT
660 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
662 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
664 * exporter.C (Export): adjust for removeAutoInsets removal.
666 * buffer.C (runChktex): adjust for removeAutoInsets removal.
668 * LyXAction.C (init): remove LFUN_REMOVEERRORS
670 * BufferView.[Ch] (removeAutoInsets): delete function
672 2003-05-22 Angus Leeming <leeming@lyx.org>
674 * latexrunparams.h: add a free_spacing variable.
676 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
677 to pass moving_arg, as the data is stored in runparams.fragile.
679 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
680 to Inset::latexOptional or to simpleTeXOnePar.
682 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
683 free_spacing arg to Inset::latexOptional.
685 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
688 2003-05-22 Angus Leeming <leeming@lyx.org>
690 * latexrunparams.h: add fragile and use_babel variables.
692 * bufferparams.[Ch] (writeLaTeX): return use_babel.
693 * buffer.C (makeLaTeXFile): store this returned value in
694 runparams.use_babel, thus passing it to the inset::latex methods.
696 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
697 simpleTeXSpecialChars as it is now stored in runparams.fragile.
699 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
700 longer has a fragile arg, as it is stored in runparams.fragile.
702 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
703 moving_arg parameter as the data is stored in runparams.fragile.
705 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
706 a fragile parameter as the data is stored in runparams.fragile.
708 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
710 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
712 2003-05-22 Angus Leeming <leeming@lyx.org>
714 * latexrunparams.h: add a 'bool nice' which defaults to false.
716 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
717 now encapsulated within runparams.
719 * bufferlist.C (updateIncludedTeXfiles):
720 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
722 2003-05-22 Angus Leeming <leeming@lyx.org>
724 * latexrunparams.h: new file containing struct LatexRunParams.
725 * Makefile.am: add new file.
727 * LaTeX.[Ch] (c-tor, run):
728 * buffer.[Ch] (makeLaTeXFile):
729 * bufferlist.[Ch] (updateIncludedTeXfiles):
730 * converter.C (convert, scanLog):
731 * converter.[Ch] (runLaTeX):
732 * exporter.C (Export):
733 * paragraph.[Ch] (simpleTeXOnePar):
734 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
735 * paragraph_funcs.[Ch] (latexParagraphs):
736 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
737 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
738 pass around a LatexRunParams parameter.
740 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
742 * paragraph.[Ch]: remove unused constructor
744 * ParagraphList.C (erase): new function, taking two iterators
746 2003-05-22 André Pönitz <poenitz@gmx.net>
748 * undo_funcs.C: remove duplicated code
750 * iterator.[Ch]: operator=
752 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
754 * tabular.C (SetMultiColumn): ws changes
756 * rowpainter.C (paintFirst): get rid of a ->previous
758 * lyx_cb.C (getPossibleLabel): parlist simplification
760 * BufferView.C (ChangeInsets): simplify slightly.
762 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
764 * LyXAction.C: new lfun space-insert, kill protected-space-insert
765 * lfuns.h: new LFUN_SPACE
766 * lyxfunc.C: protected space has a new lfun
767 * paragraph_funcs.C: read new space insets
769 * factory.C: handle new space insets
771 2003-05-22 André Pönitz <poenitz@gmx.net>
774 * BufferView_pimpl.C:
777 * undo_funcs.C: return a ParIterator from getParFromID.
779 * iterators.[Ch]: add two const's
781 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
783 * toc.C (getTocList): adjust
785 * iterators.[Ch]: rework for parlist
787 * buffer.C (par_iterator_begin): adjust
788 (par_iterator_end): adjust
790 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
792 * BufferView.C (removeAutoInsets): adjust
793 (ChangeInsets): adjust
795 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
797 * text.C (top_y): fix bug 1110
799 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
801 * errorlist.[Ch]: added
804 * BufferView_pimpl.C:
805 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
808 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
810 * Makefile.am: ensure that lyx is relinked upon changes to the
811 various "convenience" libs.
813 2003-05-20 Angus Leeming <leeming@lyx.org>
815 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
816 files are compiled in alphabetical order again.
818 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
820 2003-05-19 Angus Leeming <leeming@lyx.org>
822 * gettext.[Ch]: remove "char const * _(char const *)".
824 2003-05-19 André Pönitz <poenitz@gmx.net>
826 * dimension.[Ch]: promote from mathed/dimension.[Ch]
835 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
837 2003-05-19 André Pönitz <poenitz@gmx.net>
843 * paragraph_funcs.[Ch]:
845 * text3.C: more insetenv work
847 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
849 * ParagraphParameters.C (params2string): small bug fixed
851 2003-05-16 André Pönitz <poenitz@gmx.net>
854 * bufferview_funcs.C: patch from Kornel Benko to prevent
855 crash when _(...) is called twice in a statement
857 2003-05-16 André Pönitz <poenitz@gmx.net>
864 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
866 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
868 * lyx_main.C (init): remove spurious static_cast
870 2003-05-14 André Pönitz <poenitz@gmx.net>
872 * BufferView.C: fix format string
874 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
876 * BufferView.[Ch] (insertErrors): removed
877 * BufferView.[Ch] (showErrorList): added
878 * buffer.C (runChkTeX):
879 * converter.C (scanLog): call showErrorList instead of inserterrors
881 2003-05-13 André Pönitz <poenitz@gmx.net>
883 * BufferView_pimpl.C:
892 * tabular_funcs.h: tostr() from its own header
894 * ParagraphParameters.C:
901 2003-05-12 André Pönitz <poenitz@gmx.net>
904 * BufferView_pimpl.C:
908 * ParagraphParameters.C:
912 * bufferview_funcs.C:
929 * text3.C: boost::format -> bformat all over the place
932 2003-05-09 André Pönitz <poenitz@gmx.net>
934 * LColor.[Ch]: Pimpl the #include <map> away
936 2003-05-09 John Levon <levon@movementarian.org>
938 * bufferlist.C: never remove emergency saves
940 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
942 * Makefile.am: better lib building
944 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
946 * texrow.[Ch]: remove dependency on Paragraph and just store a id
948 * paragraph_pimpl.C (simpleTeXBlanks): adjust
949 (simpleTeXSpecialChars): adjust
950 (simpleTeXSpecialChars): adjust
951 * paragraph.C (simpleTeXOnePar): adjust
952 * buffer.C (makeLaTeXFile): adjust
954 * Makefile.am (BOOST_LIBS): allow boost as system lib.
956 * text2.C (changeDepth): parlist cleanup
957 (getColumnNearX): ditto
959 * rowpainter.C (getLabelFont): parlist cleanup
961 * bufferlist.C (newFile): parlist cleanup
963 * CutAndPaste.C (eraseSelection): parlist cleanup
965 * BufferView_pimpl.C (trackChanges): parlist cleanup
968 * BufferView.C (lockInset): parlist cleanup.
969 (ChangeInsets): ditto
971 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
973 * CutAndPaste.h: Update file header.
975 * CutAndPaste.C: Update file header.
976 Store the parts cut out of the Document in a limited_stack.
977 (copySelection): adjust
978 (pasteSelection): new function, takes the index in the limited stack.
979 (nrOfParagraphs): adjust
980 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
981 simplify error inset insertion.
982 (checkPastePossible): adjust
984 2003-05-06 John Levon <levon@movementarian.org>
986 * text2.C: don't cast wrap inset to float
988 2003-05-05 André Pönitz <poenitz@gmx.net>
991 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
993 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
994 few naked Paragraph *.
996 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
998 * bufferparams.C: Output warning if a document with missing
999 TeX document class is loaded
1000 * exporter.C: Disable TeX exports if the document class is missing
1003 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1004 isTeXClassAvailable()
1006 2003-05-03 John Levon <levon@movementarian.org>
1009 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1010 explicit cursor show/hide
1012 * BufferView_pimpl.h:
1013 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1014 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1016 * lyxfunc.C: hide cursor before dispatching.
1021 * text3.C: remove explicit cursor hides
1023 2003-05-02 André Pönitz <poenitz@gmx.net>
1025 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1028 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1031 * text2.C: tiny whitespace
1033 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1035 * undo_funcs.C: almost only ws changes.
1037 * ParagraphList.C (splice): just return if pl is empty.
1039 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1041 * ParagraphList.C (splice): new function.
1043 * CutAndPaste.C (pasteSelection): use it
1045 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1047 * CutAndPaste.C (pasteSelection): remove the last next and
1048 previous from this file.
1050 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1052 * CutAndPaste.C (pasteSelection): more clean up, user proper
1053 ParagraphList functions for pasteing.
1055 * ParagraphList.C (insert): new function, three arg insert
1057 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1059 * ParagraphList.C (insert): new function, three arg insert
1061 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1064 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1066 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1068 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1070 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1072 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1074 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1075 (copySelection): clean up a bit.
1076 (pasteSelection): use make_pair
1078 * ParagraphList.C (ParagraphList): implement copy constructor
1079 (operator=): implement, base on copy constructor.
1082 * paragraph.C (erase): return a bool
1084 * paragraph_pimpl.C (erasePos): remove function, move contents...
1085 (erase): ... here. Return a bool.
1086 (erase): call erase instead of erasePos.
1088 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1090 * ParagraphList.h: define PitPosPair
1091 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1092 ParagraphList, fix a bug on pasting multiple pars
1093 * text2.C: change interface to C&P
1095 2003-04-30 André Pönitz <poenitz@gmx.net>
1097 * undo_func.C: revert part of yesterday's patch 2
1099 2003-04-30 John Levon <levon@movementarian.org>
1101 * LColor.C: s/tabular/table/
1103 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1105 * text3.C (dispatch): do not convert iterator -> pointer
1106 * undo_funcs.C (setCursorParUndo): ditto
1107 * text_funcs.C (transposeChars): ditto
1109 * text2.C (setLayout): ws changes only
1111 * text.C (breakParagraph): do not convert iterator -> pointer
1113 (acceptChange): ditto
1114 (rejectChange): ditto
1119 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1122 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1124 * text3.C (gotoInset): YABG (yet another bad getChar)
1126 2003-04-29 André Pönitz <poenitz@gmx.net>
1128 * paragraph.h: make operator= private unimplemented as long as
1131 * ParagraphList.C: whitespace
1134 * paragraph_pimpl.[Ch]:
1135 * paragraph_funcs.C:
1137 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1140 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1142 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1144 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1145 * paragraph.[Ch] (erase):
1146 * paragraph_pimpl.[Ch] (erase): change return type and value
1147 * text2.C (cutSelection): some rework
1149 2003-04-28 John Levon <levon@movementarian.org>
1151 * bufferlist.C: changes for unsaved changes dialog
1153 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1155 * bufferlist.C (newFile): set language (messages_) for new
1158 * buffer.C (readFile): ws changes only.
1160 2003-04-28 André Pönitz <poenitz@gmx.net>
1165 * BufferView_pimpl.C:
1166 * BufferView.C: getParFromID related ParagraphList::iterator changes
1168 2003-04-28 André Pönitz <poenitz@gmx.net>
1170 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1173 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1175 * messages.C: remove one more localedir class variable.
1177 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1179 * messages.C (getLocaleDir): singleton generation function
1181 (Messages): add a default constructor.
1183 * main.C (main): do not setup localedir here, do not call
1186 * gettext.C (_): use it.
1187 (gettext_init): delete funciton
1189 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1191 * gettext.C (getLyXMessages): new singleton generating function.
1193 * buffer.C (updateDocLang): adjust
1195 * Makefile.am (messages.o): add target
1196 (main.o): remove target
1198 2003-04-27 John Levon <levon@movementarian.org>
1203 * lyxvc.C: specify cancel button in Alert::prompt
1205 2003-04-26 John Levon <levon@movementarian.org>
1210 * LyXAction.C: add LFUN_INSET_SETTINGS
1212 * lyxfunc.C: don't enable tabular-feature when there's
1213 just any locking inset
1215 2003-04-26 John Levon <levon@movementarian.org>
1217 * bufferlist.C: re-add Cancel to buffer close question
1219 * lyxfunc.C: fix import UI a bit
1221 2003-04-25 John Levon <levon@movementarian.org>
1223 * gettext.C: remove the broken asserts for now
1225 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1227 * messages.C: make case where setlocale cannot comply work better.
1229 * buffer.C (updateDocLang): new function
1230 (changeLanguage): use it
1233 * text2.C (setCounter): use B_ a bit.
1235 * lyxlayout.C (Read): be sure to trim the label strings.
1237 * messages.C (Messages): fix typo in comment
1239 * buffer.C (readFile): set message_ after file is loaded.
1240 (makeDocBookFile): remove double return
1241 (changeLanguage): reset message_ upon language change.
1242 (B_): new func, use this to get translated buffer strings.
1244 * main.C: add myself and Jean Marc as authors.
1246 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1248 * messages.[hC]: pimplify Messages, and three different pimpls to be
1249 used in different circumstances.
1251 * gettext.[Ch]: change for use with new message code.
1253 2003-04-24 André Pönitz <poenitz@gmx.net>
1255 * factory.C: support for eqref
1257 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1259 * messages.[Ch]: add missing char
1261 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1263 * messages.[Ch]: New files
1265 2003-04-18 John Levon <levon@movementarian.org>
1269 * BufferView_pimpl.C:
1273 * text2.C: remove layout-copy/paste (bug 778)
1275 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1277 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1279 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1281 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1282 if they succeed. Act accordingly.
1284 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1286 * text2.C (setCharFont): adjust
1287 (setCounter): adjust
1288 (insertStringAsLines): adjust
1290 * text.C (leftMargin): adjust
1291 (setHeightOfRow): adjust
1293 * rowpainter.C (paintFirst): adjust
1296 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1298 (isFirstInSequence): ditto
1299 (getEndLabel): ditto
1302 * paragraph.C (getParLanguage): comment out some hard stuff.
1304 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1306 (simpleDocBookOnePar): ditto
1307 (makeDocBookFile): use ParagraphList::iterator
1309 * CutAndPaste.C (pasteSelection): adjust
1311 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1313 * text2.C (getFont): adjust
1314 (getLayoutFont): adjust
1315 (getLabelFont): adjust
1317 * paragraph_funcs.C (TeXOnePar): adjust
1319 * buffer.C (simpleLinuxDocOnePar): adjust
1320 (simpleDocBookOnePar): adjust
1322 * CutAndPaste.C (pasteSelection): adjust
1324 * BufferView.C (getEncoding): adjust
1326 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1328 2003-04-16 John Levon <levon@movementarian.org>
1330 * lyxfind.C: use parlist stuff for search/changes
1332 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1334 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1336 * text2.C (deleteEmptyParagraphMechanism): adjust
1338 * text2.[Ch] (ownerParagraph): delete func (both of them
1340 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1342 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1344 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1346 * ParagraphList.C: prepare for NO_NEXT
1348 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1350 * text2.C (getFont): adjust
1351 (getLayoutFont): adjust
1352 (getLabelFont): adjust
1354 * paragraph.C (getFont): adjust
1355 (getLabelFont): adjust
1356 (getLayoutFont): adjust
1358 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1360 2003-04-15 John Levon <levon@movementarian.org>
1364 * lyx_main.C: handle Include in .ui files
1366 2003-04-15 John Levon <levon@movementarian.org>
1368 * MenuBackend.C: make the doc files length shorter
1371 * ToolbarBackend.C: handle toolbar placement flags,
1374 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1376 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1379 * paragraph_funcs.C (TeXOnePar): adjust
1381 * paragraph.C (getLabelFont): add outerfont arg, adjust
1382 (getLayoutFont): ditto
1383 (simpleTeXOnePar): adjust
1385 * paragraph_pimpl.C (realizeFont): delete func
1387 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1389 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1390 row argument, constify cur argument.
1392 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1394 * text2.C (getFont): adjust
1395 (getLayoutFont): adjust
1396 (getLabelFont): adjust
1398 * paragraph_funcs.C (TeXOnePar): adjust
1399 (outerFont): new func...
1400 (realizeFont): ...moved out from here, changed this to facilitate
1403 * paragraph.C (getFont): take outerfont as arg, adjust
1404 (simpleTeXOnePar): add outerfont arg, adjust
1406 * buffer.C (simpleLinuxDocOnePar): adjust
1407 (simpleDocBookOnePar): adjust
1409 * CutAndPaste.C (pasteSelection): adjust
1411 * BufferView.C (getEncoding): adjust
1413 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1415 * text2.C (setCharFont): adjust
1416 (setCounter): adjust
1418 * text.C (leftMargin): adjust
1419 (setHeightOfRow): adjust
1421 * rowpainter.C (paintFirst): adjust
1424 * paragraph_pimpl.C (realizeFont): adjust
1426 * paragraph.C (isFirstInSequence): move from here...
1427 * paragraph_funcs.C (isFirstInSequence): ...to here
1429 * paragraph.C (outerHook): move from here...
1430 * paragraph_funcs.C (outerHook): ...to here
1432 * paragraph.C (depthHook): move from here...
1433 * paragraph_funcs.C (depthHook): ...to here
1435 * paragraph.C (getEndLabel): move from here...
1436 * paragraph_funcs.C (getEndLabel): ...to here
1438 * text2.C (realizeFont): move from here...
1439 * paragraph_funcs.C (realizeFont): ...to here
1441 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1443 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1445 2003-04-14 Angus Leeming <leeming@lyx.org>
1447 * LColor.[Ch]: scrap LColor mathcursor.
1449 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1451 * lyxlex.[Ch] (text): delete function
1452 * trans.C (Load): adjust
1453 * paragraph_funcs.C (readParToken): adjust
1455 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1457 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1458 vector<char> instead of a char[].
1460 * lyxlex_pimpl.C (getString): adjust
1462 (lex): use getString
1466 * lyxlex.C (text): use pimpl_->getString()
1470 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1472 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1473 (makeFontEntriesLayoutSpecific): temp var for par.size()
1474 (setLayout): temp var for ownerParagraphs().end()
1475 (fullRebreak): temp var for rows().end()
1476 (selectionAsString): temp var for boost::next(startpit), realize
1477 that the while really is a regular for loop.
1478 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1479 setCursor in one place.
1480 (setParagraph): temp vr for ownerParagraphs().end()
1481 (updateCounters): make the while loop a for loop
1482 (cutSelection): temp var for ownerParagraphs().end()
1483 (updateInset): make the do {} while() a regular for loop
1484 (getCursorX): use temp vars
1485 (setCurrentFont): use temp vars
1486 (getColumnNearX): use temp vars
1488 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1490 * text.C (transformChar): use temp var for getChar
1491 (computeBidiTables): use temp var for row->par()
1492 (fill): move temp vars for row->par() and pit->layout() earlier in
1494 (labelFill): use temp var for row->par()
1495 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1496 asc and desc, realize that pit never changes and that firstpit is
1497 just a duplicate and not needed. Exchange rit->par() with pit in a
1499 (breakAgain): use a temp var for boost::next(rit)
1500 (breakAgainOneRow): ditto
1501 (breakParagraph): use a temp var for rows().begin()
1502 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1503 (cursorRightOneWord): use temp var for cursor.par() and
1504 cursor.pos(), remove usage of tmpcursor.
1505 (cursorLeftOneWord): use temp var for cursor.par() and
1506 cursor.pos() only set cur at end of function.
1508 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1510 * text.C, text2.C: exchange all usage of Paragraph::next with
1511 boost::next(ParagraphList::iterator)
1513 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1515 * text2.C (cursorTop): simplify implementation
1516 (cursorBottom): ditto
1517 (setParagraph): use ParagraphList::iterator
1518 (setCurrentFont): adjust
1519 (getColumnNearX): adjust
1520 (cursorRight): adjust
1521 (cursorLeft): remove usage of Paragraph::previous
1522 (cursorUpParagraph): ditto
1523 (deleteEmptyParagraphMechanism): slight cleanup
1525 * text.C (isBoundary): take a Paragraph const & instead of a
1527 (addressBreakPoint): ditto
1528 (leftMargin): remove usage of Paragraph::previous.
1529 (setHeightOfRow): ditto
1530 (cursorLeftOneWord): ditto
1531 (selectNextWordToSpellcheck): ditto
1534 (breakParagraph): remove one usage of Paragraph::next
1535 (redoParagraph): ditto
1536 (acceptChange): ditto
1537 (insertChar): adjust
1538 (rowBreakPoint): adjust
1540 * bufferview_funcs.C (toggleAndShow): adjust
1542 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1544 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1545 methods to access it.
1547 * text.C: Added updateRowPositions to compute all row positions.
1548 Make top_y and getRowNearY() to use the cached y position
1550 2003-04-11 John Levon <levon@movementarian.org>
1552 * text.C (rowBreakPoint): reintroduce the labelEnd
1553 checks, code copied from the row fill stuff. Deep voodoo.
1555 * text.C (fill): add a comment and debugging for the
1558 2003-04-11 John Levon <levon@movementarian.org>
1560 * text.C: make sure fullrow insets get wrapped to the next line,
1561 even when they're in a manual label
1563 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1565 * text2.C (insertParagraph): make it take ParagraphList::iterator
1567 (setLayout): make it return ParagraphList::iterator
1568 (redoParagraphs): ditto
1570 (checkParagraph): ditto
1572 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1574 * text2.C: adjust several funcs.
1575 (realizeFont): take a ParagraphList::iterator as arg.
1576 (getLayoutFont): ditto
1577 (getLabelFont): ditto
1578 (setCharFont): ditto
1580 * text.C: adjust several funcs.
1582 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1584 * text.C (selectNextWordToSpellcheck): don't accidentally
1587 2003-04-10 John Levon <levon@movementarian.org>
1589 * ToolbarBackend.C (getIcon): special handling for
1592 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1594 * text2.C (cursorRight): a getChar assert fixed
1596 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1598 * text2.C (getFont): change to take a ParagraphList::iterator
1599 instead of Paragraph*
1600 Adjust several functions.
1602 * text.C (transformChar): change to take a ParagraphList::iterator
1603 instead of Paragraph*
1604 (singleWidth): ditto
1605 Adjust several functions.
1607 * rowpainter.C: adjust several functions
1608 * rowpainter.h:store a ParagraphList::iterator and not a
1612 2003-04-09 John Levon <levon@movementarian.org>
1617 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1618 and the "help" bits as well
1620 2003-04-09 John Levon <levon@movementarian.org>
1623 * ToolbarBackend.C: allow multiple toolbars
1625 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1627 * undo_funcs.C (setCursorParUndo): adjust
1629 * text_funcs.C (transposeChars): adjust
1631 * text3.C (gotoNextInset): adjust
1634 * text2.C (setLayout): adjust
1635 (changeDepth): adjust
1637 (redoParagraphs): adjust
1638 (selectionAsString): adjust
1639 (setParagraph): adjust
1640 (insertInset): adjust
1641 (cutSelection): adjust
1642 (copySelection): adjust
1643 (pasteSelection): adjust
1644 (insertStringAsLines): adjust
1645 (updateInset): adjust
1646 (setCursor): change to take a ParagraphList::iterator parameter
1647 (setCursorIntern): change to take a ParagraphList::iterator parameter
1648 (setCurrentFont): adjust
1649 (cursorLeft): adjust
1650 (cursorRight): adjust
1651 (deleteEmptyParagraphMechanism): adjust
1653 * text.C (breakParagraph): adjust
1654 (insertChar): adjust
1655 (acceptChange): adjust
1656 (rejectChange): adjust
1657 (selectNextWordToSpellcheck): adjust
1658 (changeCase): adjust
1662 * lyxfind.C (SearchForward): adjust
1663 (SearchBackward): adjust
1664 (nextChange): adjust
1666 * lyxcursor.C (par): adjust
1668 * lyxcursor.h: store a ParagraphList::iterator instead of a
1671 * lyx_cb.C (getPossibleLabel): adjust
1673 * bufferview_funcs.C (toggleAndShow): adjust
1675 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1678 * BufferView.C (removeAutoInsets): adjust
1679 (lockedInsetStoreUndo): adjust
1681 2003-04-09 John Levon <levon@movementarian.org>
1683 * ToolbarBackend.C: try icon without argument
1684 if with argument fails
1686 2003-04-08 John Levon <levon@movementarian.org>
1689 * ToolbarBackend.C: add getIcon(), handle tooltip,
1690 and change from "Icon" to "Item".
1692 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1694 * BufferView.C (lockInset): another bad getchar crunched
1696 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1698 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1701 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1703 * lyxfind.C (searchForward, searchBackwards): bug 782
1705 2003-04-07 John Levon <levon@movementarian.org>
1707 * paragraph.C: remove dead comment
1709 * text.C: remove troublesome depth-fiddling code
1710 in leftMargin() and rightMargin() (bug 1017)
1712 * text.C: fix breaking of rows in nested lists
1715 * text2.C (updateCounters): fix up depth values
1718 2003-04-07 John Levon <levon@movementarian.org>
1720 * BufferView_pimpl.C: clear message when doc finishes resizing,
1721 and after a mouse event
1723 * lyxfunc.C: clear message after exiting inset
1725 2003-04-07 John Levon <levon@movementarian.org>
1727 * bufferview_funcs.C: show math status not outside
1728 status in the statusbar
1730 2003-04-07 John Levon <levon@movementarian.org>
1732 * lyxfunc.C: note status changed after a depth change
1734 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1736 * LaTeX.h: move AuxInfo operator==, != out of line.
1737 Remove LaTeX virtual destructor; nothing derives from it.
1738 Move operator()() out of public area and rename it startscript().
1739 Change protected for private.
1741 2003-04-04 Angus Leeming <leeming@lyx.org>
1744 * text2.C: remove unneeded #includes.
1746 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1748 * text2.C (dEPM): fix the heigth of the next row
1750 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1752 * text.C: squashed an invalid getChar requester + some ws changes
1754 2003-04-03 John Levon <levon@movementarian.org>
1756 * bufferview_funcs.h:
1757 * bufferview_funcs.C:
1760 * text2.C: make getStatus work for the env depth lfuns
1762 2003-04-03 John Levon <levon@movementarian.org>
1764 * bufferview_funcs.h:
1765 * bufferview_funcs.C:
1768 * text2.C: parlistize decDepth(), by merging it with incDepth()
1770 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1772 * lyxrow.h: store a ParagraphList::iterator instead of a
1773 Paragraph* and adjust other class functions to suit.
1775 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1778 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1780 * text2.C (setCursor): do not anchor to cursor row for the time being
1782 2003-04-02 John Levon <levon@movementarian.org>
1789 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1791 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1793 * paragraph.h: make ParagraphList and ParagraphList::iterator
1794 friends of Paragraph.
1796 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1798 * ParagraphList.C: Use the private next_ and previous_ from
1801 2003-04-01 John Levon <levon@movementarian.org>
1805 * Makefile.am: rename, remove defaults gunk
1808 * MenuBackend.C: remove defaults gunk
1811 * Languages.C: remove defaults gunk
1814 * lyx_main.C: error out if files couldn't be found.
1816 2003-04-02 John Levon <levon@movementarian.org>
1818 * text2.C: make incDepth() use parlist
1820 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1822 * undo_funcs.C (firstUndoParagraph): adjust
1824 * text3.C (gotoInset): adjust
1825 (dispatch): adjust, and rewrite loop.
1827 * text2.C (init): adjust, and rewrite loop.
1828 (redoParagraphs): adjust
1829 (updateInset): adjust, and rewrite loop.
1830 (deleteEmptyParagraphMechanism): adjust
1832 * tabular.C (LyXTabular): adjust
1833 (SetMultiColumn): adjust
1836 * lyxtext.[Ch] (ownerParagraph): delete function
1837 (ownerParagraphs): new function returns a ParagraphList.
1839 * BufferView.C (removeAutoInsets): adjust
1840 (insertErrors): adjust
1841 (setCursorFromRow): adjust
1843 2003-04-01 Angus Leeming <leeming@lyx.org>
1845 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1848 2003-04-02 John Levon <levon@movementarian.org>
1854 * text_funcs.C: make transposeChars a free function
1856 * lyxrow_funcs.C: remove wrong comment
1858 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1861 * rowpainter.C: adjust
1866 * lyxrow_funcs. [Ch]: new files
1868 * lyxrow.[Ch]: remove next and previous pointers
1869 (next,previous): remove accessor functions
1870 (isParEnd): move to lyxrow_funcs
1871 (lastPos): move to lyxrow_funcs
1872 (nextRowIsAllInset): move to lyxrow_funcs
1873 (lastPrintablePos): move to lyxrow_funcs
1874 (numberOfSeparators): move to lyxrow_funcs
1875 (numberOfHfills): move to lyxrow_funcs
1876 (numberOfLabelHfills): move to lyxrow_funcs
1877 (hfillExpansion): move to lyxrow_funcs
1881 * bufferview_funcs.C (toggleAndShow): adjust
1883 * RowList.h: Remove class RowList from file leave just a
1886 * RowList.C: delete file
1888 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1891 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1893 * text3.C (cursorPrevious): adjust
1894 (cursorNext): adjust
1897 * text2.C (redoHeightOfParagraph): adjust
1898 (redoDrawingOfParagraph): adjust
1901 * text.C (breakParagraph): adjust
1902 (insertChar): adjust
1905 * rowpainter.C (RowPainter): adjust
1906 (leftMargin): simplify and adjust
1907 (most rowpainter functions): adjust.
1909 * rowpainter.h: store the row as RowList::iterator not as Row*
1911 * lyxcursor.C (row): taka RowList::iterator as arg
1914 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1917 2003-04-01 Angus Leeming <leeming@lyx.org>
1919 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1920 stuff like bool Bool.
1922 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1924 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1927 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1929 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1932 * lyxtext.h (rows): drop one version and leve a const variant that
1933 returns a RowList::iterator.
1935 2003-03-31 Angus Leeming <leeming@lyx.org>
1937 * text.C (fill): ensure that the signature is the same as that in the
1940 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1942 * text2.C (redoParagraphs): adjust
1943 (updateCounters): adjust
1944 (checkParagraph): adjust
1945 (getColumnNearX): adjust and reformat a bit.
1947 * text.C (top_y): adjust
1949 (leftMargin): adjust
1950 (prepareToPrint): adjust
1952 (getRowNearY): adjust
1954 * lyxtext.h: make rowlist_ mutable.
1956 * RowList.h: add const_iterator
1957 * RowList.C: adjust for RowList::const_iterator.
1959 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1962 2003-03-31 John Levon <levon@movementarian.org>
1965 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1967 * lyx_main.C: set default fonts from using lyx_gui funcs
1969 * exporter.C: pdf_mode moved from lyxrc
1972 * lyxfunc.C: changes from above
1974 2003-03-31 John Levon <levon@movementarian.org>
1976 * lyx_main.C: fix to the last fix
1978 2003-03-31 John Levon <levon@movementarian.org>
1980 * bufferlist.C: "Load original" -> "Load Original"
1986 * format.C: more Alert cleanups
1988 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1990 * text2.C (removeParagraph): make it take a RowList::iterator as
1992 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1993 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1995 * text.C (anchor_row): make it take a RowList::iterator as arg,
1997 (computeBidiTables): make it take a const reference to Row instead
1998 of Row pointer, adjust.
1999 (leftMargin): make it take a RowList::iterator as arg, adjust.
2000 (rowBreakPoint): adjust
2001 (breakAgainOneRow): make it take a RowList::iterator as arg,
2003 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2005 * bufferview_funcs.C (toggleAndShow): adjust
2007 2003-03-30 John Levon <levon@movementarian.org>
2011 * boost-inst.C: moved to support
2013 * several files: changes as a result
2015 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2017 * text2.C (LyXText): adjust.
2019 (removeRow): make it take a RowList::iterator as arg, adjust.
2020 (fullRebreak): adjust
2021 (deleteEmptyParagraphMechanism): adjust
2022 (clearPaint): adjust
2025 * text.C (top_y): adjust
2026 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2027 (breakAgain): make it take a RowList::iterator as arg, adjust.
2028 (breakParagraph): adjust
2029 (insertChar): adjust
2032 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2033 need_break_row, and refresh_row.
2035 * text3.C (dispatch): adjust
2037 * text2.C (checkParagraph): adjust
2039 (setCursorFromCoordinates): adjust
2041 * text.C (top_y): adjust
2043 (getRow): make it return a RowList::iterator, adjust
2044 (getRowNearY): make it return a RowList::iterator, adjust
2046 * text2.C (init): adjust
2047 (insertRow): remove function
2048 (insertParagraph): adjust
2049 (redoParagraphs): adjust
2050 (fullRebreak): adjust
2051 (updateCounters): adjust
2053 * text.C (top_y): rewrite to use RowList iterators.
2055 (setHeightOfRow): rewrite to sue RowList iterators.
2056 (appendParagraph): adjust
2057 (breakAgain): adjust
2058 (breakAgainOneRow): adjust
2059 (breakParagraph): adjust
2061 (getRowNearY): adjust, and remove commented code.
2063 * lyxtext.h (firstRow): delete function
2064 (lastRow): delete function
2065 (rows): new function (const and non-const versions.)
2066 (insertRow): delete function
2068 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2070 2003-03-29 John Levon <levon@movementarian.org>
2072 * BufferView_pimpl.C: always update scrollbar top
2073 because pasting text when we're anchored could mean we
2074 miss an update altogether
2076 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2078 * text2.C (init): use rowlist_.end() and not 0.
2079 (insertRow): change to take a RowList::iterator as arg, adjust
2081 (insertParagraph): change to take a RowList::iterator as arg,
2083 (redoParagraphs): remove some debug msgs.
2085 * text.C (appendParagraph): change to take a RowList::iterator
2086 arg, adjust for this.
2087 (breakAgain): add an assert
2088 (breakAgainOneRow): ditto
2090 2003-03-29 John Levon <levon@movementarian.org>
2092 * text2.C: do not clear selection after inc/decDepth
2095 2003-03-29 John Levon <levon@movementarian.org>
2098 * buffer.C: fix broken strerrors according to Lars
2100 2003-03-29 John Levon <levon@movementarian.org>
2102 * converters.C: more Alert cleanups
2104 2003-03-29 John Levon <levon@movementarian.org>
2106 * bufferview_funcs.C: remove pointless Alert
2108 * buffer.C: fix confusing error message when
2109 a template is chmoded 000
2111 2003-03-29 John Levon <levon@movementarian.org>
2115 * BufferView_pimpl.C: Alert fixes
2119 * tabular-old.C: remove unused table compat reading
2121 2003-03-29 John Levon <levon@movementarian.org>
2126 * lyx_cb.C: more Alert cleanups
2128 * lyxfunc.C: don't allow chktex if not latex document
2130 2003-03-29 John Levon <levon@movementarian.org>
2134 * buffer.C: warnings pushed down from support/,
2137 2003-03-29 John Levon <levon@movementarian.org>
2139 * lyxfunc.C: safety check for C-r (revert)
2141 2003-03-29 John Levon <levon@movementarian.org>
2144 * bufferlist.C: several UI fixes using Alert::prompt.
2145 Fix the pointless looping quit code. Fix stupid revert
2150 * lyx_cb.C: use Alert::prompt
2152 * lyx_main.C: remove a silly question
2154 * lyxfunc.C: remove a couple of silly questions,
2157 2003-03-28 John Levon <levon@movementarian.org>
2159 * text2.C: fix bug 974 (End on empty par)
2161 2003-03-28 John Levon <levon@movementarian.org>
2163 * BufferView_pimpl.C:
2165 * lfuns.h: remove do-nothing math greek lfuns
2167 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2169 * lyxgluelength.h (isValidGlueLength): add default arg on
2170 parameter 2. Remove default arg from friend in class.
2172 * lyxlength.h (isValidLength): add default arg on parameter 2.
2173 Remove default arg from friend in class.
2175 * text2.C (LyXText): adjust, initialize refresh_row.
2179 (insertParagraph): adjst
2180 (redoParagraphs): adjust
2181 (fullRebreak): adjust
2182 (updateCounters): adjust
2183 (deleteEmptyParagraphMechanism): first attempt at fixing a
2186 * text.C (top_y): adjust
2187 (setHeightOfRow): adjust
2189 (getRowNearY): adjust
2191 * lyxtext.h: include RowList.h
2192 (~LyXText): not needed anymore, deleted.
2193 (firstRow): modify for RowList
2194 (lastRow): new function
2195 Delete firstrow and lastrow class variables, add a Rowlist
2196 rowlist_ class variable.
2198 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2201 * RowList.C (insert): fix case where it == begin().
2203 2003-03-26 Angus Leeming <leeming@lyx.org>
2205 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2206 the thesaurus dialog.
2208 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2210 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2212 * RowList.[Ch]: new files
2214 * ParagraphList.C (erase): handle the case where it == begin
2217 2003-03-25 John Levon <levon@movementarian.org>
2221 * aspell.C: add new aspell support
2224 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2227 2003-03-25 Angus Leeming <leeming@lyx.org>
2230 * LyXAction.C (init): new LFUN_INSET_INSERT.
2232 * BufferView_pimpl.C (dispatch): split out part of the
2233 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2235 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2238 2003-03-25 Angus Leeming <leeming@lyx.org>
2240 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2242 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2245 * text3.C: remove useless row->height(0)
2247 2003-03-25 John Levon <levon@movementarian.org>
2251 * text3.C: rename the refreshing stuff to better names
2253 2003-03-24 John Levon <levon@movementarian.org>
2255 * BufferView_pimpl.h:
2256 * BufferView_pimpl.C: update layout choice on a mouse
2259 2003-03-23 John Levon <levon@movementarian.org>
2261 * Makefile.am: fix commandtags.h reference
2263 2003-03-22 John Levon <levon@movementarian.org>
2265 * BufferView_pimpl.C:
2270 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2272 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2275 * text.C: take the rtl methods out of line
2277 2003-03-21 André Pönitz <poenitz@gmx.net>
2279 * metricsinfo.[Ch]: new files containing structures to be passed around
2280 during the two-phase-drawing...
2282 2003-03-21 André Pönitz <poenitz@gmx.net>
2284 * lyxtextclass.C: read 'environment' tag.
2286 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2288 * text2.C (removeRow): fix bug 964
2290 2003-03-20 John Levon <levon@movementarian.org>
2294 * text2.C: paint cleanups. Inset::update() dropped font
2297 2003-03-19 John Levon <levon@movementarian.org>
2299 * lyxfunc.C: only fitcursor/markDirty if available()
2301 2003-03-19 John Levon <levon@movementarian.org>
2303 * commandtags.h: rename to ...
2305 * lfuns.h: ... this, and renumber / cleanup
2307 2003-03-19 John Levon <levon@movementarian.org>
2309 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2310 fit the cursor after an lfun
2314 * BufferView_pimpl.h:
2315 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2317 * LyXAction.C: layout-character should have ReadOnly
2319 * ParagraphParameters.C:
2321 * bufferview_funcs.C:
2328 * undo_funcs.C: changes from above
2330 2003-03-18 John Levon <levon@movementarian.org>
2332 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2333 remove it from update()
2335 * lyxfunc.C: update layout choice after an lfun
2337 * text3.C: remove extra updateLayoutChoice()s
2339 2003-03-18 John Levon <levon@movementarian.org>
2341 * text.C: top_y change means full repaint, fix
2342 a drawing bug with cursor movement
2344 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2348 * text2.C: anchor row on setCursor
2350 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2352 * lyxtext.h: remove almost all mutable keywords
2355 * text3.C: remove const keywords accordingly
2357 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2359 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2361 (TeXEnvironment): ditto
2364 2003-03-17 John Levon <levon@movementarian.org>
2366 * text.C (rowBreakPoint): remove attempt to fix displayed
2367 math insets inside a manual label
2369 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2371 * lyxtext.h: remove BufferView* as first arg from almost all class
2373 * other files: adjust.
2375 2003-03-17 John Levon <levon@movementarian.org>
2379 * text2.C: more paint cleanups
2381 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2384 * rowpainter.C: remove "smart" background painting code
2386 2003-03-16 John Levon <levon@movementarian.org>
2391 * text3.C: add helper functions for setting refresh_row/y
2393 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2395 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2396 newline inset which *can* get inserted in the pass_thru layouts.
2397 This is primarily for literate documents.
2399 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2401 * buffer.C: increment LYX_FORMAT to 223
2403 2003-03-14 André Pönitz <poenitz@gmx.net>
2405 * textclass.h: prepare for environment handling, ws changes
2406 * lyxlayout.C: read latexheader and latexfooter tags
2408 2003-03-14 John Levon <levon@movementarian.org>
2410 * text2.C: rewrite ::status() a bit
2412 2003-03-13 John Levon <levon@movementarian.org>
2414 * lyxtext.h: add some docs
2416 2003-03-13 John Levon <levon@movementarian.org>
2421 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2423 2003-03-13 John Levon <levon@movementarian.org>
2425 * text3.C: fix appendix redrawing
2427 2003-03-13 John Levon <levon@movementarian.org>
2429 * text.C (setHeightOfRow):
2431 * rowpainter.C: make appendix mark have the text
2432 "Appendix" so the user knows what it is
2435 * LColor.C: s/appendixline/appendix/ from above
2437 2003-03-13 John Levon <levon@movementarian.org>
2439 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2441 * text.C: fix a getChar(pos) bug properly
2443 2003-03-13 Angus Leeming <leeming@lyx.org>
2446 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2447 Probably only temporary. Let's see how things pan out.
2449 * BufferView.C (unlockInset):
2450 * BufferView_pimpl.C (fitCursor):
2451 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2453 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2454 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2456 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2457 new functions that convert ParagraphParameters to and from a string.
2459 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2460 BufferView::Pimpl's dispatch.
2461 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2463 2003-03-13 André Pönitz <poenitz@gmx.net>
2467 * factory.C: make it aware of InsetEnv
2469 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2471 * text2.C (setCursor): never ask for one past last
2472 (setCursor): add some debugging messages.
2474 * text.C (singleWidth): never ask for one past last
2475 (singleWidth): ditto
2477 (rightMargin): ditto
2478 (rowBreakPoint): ditto
2479 (setHeightOfRow): ditto
2480 (prepareToPrint): ditto
2482 * rowpainter.C (paintBackground): never ask for one past last
2483 (paintText): never ask for one past last
2485 * paragraph_pimpl.C (getChar): make the assert stricter, never
2486 allow the one past last pos to be taken
2488 * paragraph.C (getChar): ws changes only
2490 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2491 (numberOfSeparators): ditto
2492 (numberOfHfills): ditto
2494 2003-03-12 John Levon <levon@movementarian.org>
2500 * paragraph_funcs.C: fix per-buffer authorlists
2502 2003-03-12 John Levon <levon@movementarian.org>
2504 * text.C: fix newline in right address
2506 2003-03-12 Angus Leeming <leeming@lyx.org>
2508 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2509 duplicate those in LyXFunc::dispatch.
2513 * ToolbarDefaults.C:
2514 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2515 Add LFUN_FONTFREE_UPDATE.
2517 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2518 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2520 * bufferview_func.[Ch]: several new functions to facilliate
2521 transfer of data to and from the character dialog.
2523 2003-03-12 John Levon <levon@movementarian.org>
2528 * paragraph_funcs.C:
2529 * paragraph_pimpl.C:
2533 * text3.C: remove META_NEWLINE in favour of an inset
2536 * rowpainter.C: remove paintNewline (done by inset)
2538 2003-03-12 John Levon <levon@movementarian.org>
2540 * paragraph_pimpl.C: complain about bad getChar()s
2541 for a while at least
2543 2003-03-12 John Levon <levon@movementarian.org>
2546 * buffer.C: move paragraph read into a separate function,
2547 a little renaming to reflect that.
2550 * bufferparams.C: remove the author_ids map, not necessary now
2553 * factory.C: moved Buffer::readInset to here
2555 * paragraph_funcs.h:
2556 * paragraph_funcs.C: readParagraph free function moved from
2559 * tabular.C: name change
2561 2003-03-12 John Levon <levon@movementarian.org>
2564 * ParagraphParameters.C: move par params input to
2567 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2568 behave like a normal read from the stream wrt reading
2569 a line vs. a \\token
2571 2003-03-12 John Levon <levon@movementarian.org>
2574 * ParagraphParameters.h:
2575 * ParagraphParameters.C: move output code to a
2578 2003-03-12 John Levon <levon@movementarian.org>
2580 * BufferView.C (insertLyXFile):
2583 * tabular.C: use a parlist iterator for creating the
2586 2003-03-12 John Levon <levon@movementarian.org>
2588 * buffer.C: make current_change static local not
2591 2003-03-12 John Levon <levon@movementarian.org>
2593 * buffer.C: fix insertStringAsLines for change tracking
2595 2003-03-12 John Levon <levon@movementarian.org>
2602 * bufferparams.C: move author list into params. Rename some
2603 functions. Move the header reading into a separate token
2604 loop. Move the header token reading into BufferParams.
2606 2003-03-12 John Levon <levon@movementarian.org>
2608 * changes.C: put debug inside lyxerr.debugging() checks
2610 2003-03-11 André Pönitz <poenitz@gmx.net>
2612 * factory.C: make it aware of InsetHFill
2614 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2616 * buffer.C (latexParagraphs): move function from here...
2617 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2620 2003-03-10 Angus Leeming <leeming@lyx.org>
2622 * LyXAction.C (init): fix bug in poplating array with multiple entries
2623 with the same LFUN (spotted by JMarc).
2625 2003-03-10 John Levon <levon@movementarian.org>
2628 * text2.C: move getColumnNearX() near its
2631 2003-03-10 John Levon <levon@movementarian.org>
2633 * text.C: fix break before a minipage
2635 2003-03-10 John Levon <levon@movementarian.org>
2637 * text.C: fix the last commit
2639 2003-03-09 John Levon <levon@movementarian.org>
2643 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2644 bug 365 (don't break before insets unless needed). Don't
2645 return a value > last under any circumstances.
2647 2003-03-09 Angus Leeming <leeming@lyx.org>
2649 * BufferView_pimpl.C (trackChanges, dispatch): call
2650 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2652 2003-03-09 Angus Leeming <leeming@lyx.org>
2654 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2655 than Dialogs::showAboutlyx().
2657 2003-03-09 Angus Leeming <leeming@lyx.org>
2659 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2660 than Dialogs::showTabularCreate().
2662 2003-03-09 John Levon <levon@movementarian.org>
2666 * text2.C: 3rd arg to nextBreakPoint was always the same.
2669 2003-03-08 John Levon <levon@movementarian.org>
2676 * text2.C: Remove the "main" bit from the "main body"
2679 2003-03-08 John Levon <levon@movementarian.org>
2681 * text.C (leftMargin): The left margin of an empty
2682 manual label paragraph should not include the label width
2685 * text.C (prepareToPrint): don't attempt to measure hfills
2686 for empty manual label paragraphs - the answer should be 0
2688 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2690 * CutAndPaste.C: remove commented code and reindent.
2692 2003-03-08 John Levon <levon@movementarian.org>
2695 * lyxfunc.C: move reloadBuffer()
2698 * BufferView.C: to here
2700 * lyxvc.C: add comment
2703 * vc-backend.C: call bv->reload() to avoid
2704 getStatus() check on MENURELOAD
2706 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2708 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2709 to an old format .dep file.
2711 2003-03-07 Angus Leeming <leeming@lyx.org>
2713 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2714 when the LFUN_MOUSE_RELEASE should have been handled by
2715 inset->localDispatch.
2717 2003-03-07 Angus Leeming <leeming@lyx.org>
2719 * BufferView_pimpl.C (dispatch):
2720 * LyXAction.C (init):
2721 * ToolbarDefaults.C (init):
2723 * lyxfunc.C (getStatus):
2724 remove LFUN_INSET_GRAPHICS.
2726 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2728 2003-03-07 Angus Leeming <leeming@lyx.org>
2731 * LyXAction.C (init):
2732 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2734 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2737 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2739 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2740 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2742 2003-03-07 Angus Leeming <leeming@lyx.org>
2744 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2747 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2749 * ParagraphList.C (front): new function
2752 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2754 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2755 and top_row_offset_. removed var first_y.
2757 * text2.C (LyXText, removeRow):
2759 * BufferView_pimpl.C:
2760 use these methods instead of using first_y
2762 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2764 * text2.C (pasteSelection): adjust for checkPastePossible
2766 * CutAndPaste.C: remove Paragraph * buf and replace with
2767 ParagraphList paragraphs.
2768 (DeleteBuffer): delete
2769 (cutSelection): change the tc type to textclass_type
2770 (copySelection): change the tc type to textclass_type
2771 (copySelection): adjust for ParagraphList
2772 (pasteSelection): change the tc type to textclass_type
2773 (pasteSelection): adjust for Paragraphlist
2774 (nrOfParagraphs): simplify for ParagraphList
2775 (checkPastePossible): simplify for ParagraphList
2776 (checkPastePossible): remove unused arg
2778 * ParagraphList.C (insert): handle the case where there are no
2781 * CutAndPaste.h: make CutAndPaste a namespace.
2783 * text3.C (dispatch): adjust
2785 * text.C (breakParagraph): add a ParagraphList as arg
2787 * paragraph_funcs.C (breakParagraph): change to take a
2788 BufferParams and a ParagraphList as args.
2789 (breakParagraphConservative): ditto
2790 (mergeParagraph): ditto
2791 (TeXDeeper): add a ParagraphList arg
2792 (TeXEnvironment): ditto
2795 * buffer.C (readLyXformat2): adjust
2796 (insertStringAsLines): adjust
2797 (latexParagraphs): adjust
2799 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2800 (cutSelection): adjust
2801 (pasteSelection): adjust
2803 * BufferView_pimpl.C (insertInset): adjust
2805 2003-03-05 Angus Leeming <leeming@lyx.org>
2808 * LyXAction.C (init):
2809 * BufferView_pimpl.C (dispatch):
2810 * lyxfunc.C (getStatus):
2811 remove LFUN_CHILD_INSERT.
2813 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2815 2003-03-05 Angus Leeming <leeming@lyx.org>
2818 * LyXAction.C (init):
2819 * src/factory.C (createInset):
2820 * lyxfunc.C (getStatus):
2821 * text3.C (dispatch):
2822 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2824 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2826 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2828 * ParagraphList.C (insert): handle insert right before end()
2829 (erase): fix cases where it can be first or last paragraph.
2831 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2833 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2834 Paragraph::next and Paragraph::previous
2837 * text.C (breakParagraph): adjust
2839 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2840 BufferParams& as arg.
2841 (breakParagraph): use ParagraphList::insert
2842 (breakParagraphConservative): take a Buffer* instead of a
2843 BufferParams& as arg.
2844 (breakParagraphConservative): use ParagraphList::insert.
2846 * buffer.C (insertStringAsLines): un-const it
2847 (insertStringAsLines): adjust
2849 * ParagraphList.C (insert): new function
2851 * CutAndPaste.C (pasteSelection): adjust
2853 * text.C (backspace): adjust
2855 * tabular.C (SetMultiColumn): adjust
2857 * CutAndPaste.C (cutSelection): adjust
2858 (pasteSelection): adjust
2860 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2861 Buffer const * as arg
2863 * ParagraphList.C (erase): new function
2864 * paragraph_funcs.C (mergeParagraph): use it
2865 (mergeParagraph): make it take a Buffer* instead of a
2866 BufferParams* as arg
2868 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2870 (breakParagraphConservative): ditto
2872 * paragraph.h: remove the breakParagraph friend
2874 * paragraph.C (eraseIntern): new function
2875 (setChange): new function
2877 * paragraph_funcs.C (mergeParagraph): make it take a
2878 ParagraphList::iterator instead of a Paragraph *, adjust
2881 * paragraph.h: move an #endif so that the change tracking stuff
2882 also works in the NO_NEXT case.
2884 2003-03-04 Angus Leeming <leeming@lyx.org>
2887 * LyXAction.C: new LFUN_INSET_MODIFY.
2889 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2890 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2892 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2894 * several files: ws changes only
2896 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2897 (TeXEnvironment): ditto
2900 * buffer.C (makeLaTeXFile): adjust
2901 (latexParagraphs): make it take ParagraphList::iterator as args
2903 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2905 * buffer.C (latexParagraphs): adjust
2907 * paragraph.C (TeXOnePar): move function...
2908 (optArgInset): move function...
2909 (TeXEnvironment): move function...
2910 * paragraph_pimpl.C (TeXDeeper): move function...
2911 * paragraph_funcs.C: ...here
2913 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2915 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2917 * buffer.C (readInset): remove compability code for old Figure and
2920 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2922 * buffer.C: ws changes
2925 * BufferView_pimpl.C: ditto
2928 * bufferlist.h: ditto
2932 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2934 * converter.[Ch]: split into itself +
2937 * Makefile.am: += graph.[Ch] + format.[Ch]
2944 * lyxrc.C: added #include "format.h"
2946 2003-02-27 Angus Leeming <leeming@lyx.org>
2948 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2951 * factory.C (createInset): add "label" to the factory.
2953 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2954 string and do no more.
2956 2003-02-27 Angus Leeming <leeming@lyx.org>
2959 * LyXAction.C (init):
2960 * factory.C (createInset):
2961 * BufferView_pimpl.C (dispatch):
2962 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2964 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2966 * lyxfunc.C (dispatch):
2967 * text3.C (dispatch): pass name to params2string.
2969 2003-02-26 Angus Leeming <leeming@lyx.org>
2971 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2973 Rearrange the ~includes. Strip out the unnecessary ones.
2975 * factory.C (createInset): reformat.
2976 create new insets for the various LFUN_XYZ_APPLY lfuns.
2978 2003-02-26 John Levon <levon@movementarian.org>
2981 * lyxrow.C: add isParStart,isParEnd helpers
2983 * paragraph.h: make isInserted/DeletedText take refs
2985 * paragraph_funcs.h:
2986 * paragraph_funcs.C: remove #if 0'd code
2991 * text.C: use lyxrow helpers above.
2992 Move draw and paint routines to RowPainter.
2993 Make several methods use refs not pointers.
2994 Make backgroundColor() const.
2995 Add markChangeInDraw(), isInInset().
2996 Merge changeRegionCase into changeCase.
2997 Make workWidth() shouldn't-happen code into an Assert.
3000 * rowpainter.C: new class for painting a row.
3003 * vspace.C: make inPixels take a ref
3005 2003-02-26 Angus Leeming <leeming@lyx.org>
3007 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3010 2003-02-25 John Levon <levon@movementarian.org>
3012 * ispell.C: give the forked command a more accurate name
3014 2003-02-22 John Levon <levon@movementarian.org>
3017 * toc.C: make TocItem store an id not a Paragraph *
3020 2003-02-21 Angus Leeming <leeming@lyx.org>
3022 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3023 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3024 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3025 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3026 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3027 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3029 * BufferView_pimpl.C (dispatch):
3030 * LyXAction.C (init):
3031 * factory.C (createInset):
3032 * lyxfunc.C (getStatus, dispatch):
3033 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3035 2003-02-21 Angus Leeming <leeming@lyx.org>
3037 * BufferView_pimpl.C (MenuInsertLyXFile):
3038 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3039 * lyxfunc.C (menuNew, open, doImport):
3040 no longer pass a LyXView & to fileDlg.
3042 2003-02-21 Angus Leeming <leeming@lyx.org>
3044 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3045 * LyXAction.C: change, BIBKEY to BIBITEM.
3046 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3047 Change InsetBibKey to InsetBibitem.
3048 Change BIBKEY_CODE to BIBITEM_CODE.
3049 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3050 * factory.C: replace insetbib.h with insetbibitem.h.
3051 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3052 * paragraph.C: replace insetbib.h with insetbibitem.h.
3053 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3054 Change bibkey() to bibitem().
3055 * text.C: remove insetbib.h.
3056 * text2.C: replace insetbib.h with insetbibitem.h.
3057 change bibkey() to bibitem().
3058 * text3.C: remove insetbib.h.
3059 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3061 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3063 * lyxrc.C (output): enclose user email in quotes (in case there are
3066 2003-02-18 John Levon <levon@movementarian.org>
3068 * buffer.h: add std::
3070 2003-02-17 John Levon <levon@movementarian.org>
3076 * pspell.C: reworking. Especially in ispell, a large
3077 number of clean ups and bug fixes.
3079 * lyxfunc.C: fix revert to behave sensibly
3081 2003-02-17 André Pönitz <poenitz@gmx.net>
3084 * commandtags.h: new LFUN_INSERT_BIBKEY
3094 * paragraph_func.C: remove special bibkey handling
3096 2003-02-17 John Levon <levon@movementarian.org>
3098 * text.C (Delete): fix case where delete at the end of
3099 the very first paragraph would not merge the pars
3101 2003-02-17 John Levon <levon@movementarian.org>
3103 * lyxrow.C: fix lastPrintablePos()
3105 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3107 * bufferparams.C (writeLaTeX): add a std:here
3109 * buffer.C: and remove a using directive there
3111 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3113 * buffer.C (makeLaTeXFile): move the code that generates the
3116 * bufferparams.C (writeLaTeX): ... in this new method
3118 * LaTeXFeatures.C (getEncodingSet): make const
3119 (getLanguages): make const
3121 * MenuBackend.C (binding): returns the binding associated to this
3123 (add): sets the status of each item by calling getStatus. Adds
3125 (read): add support for OptSubMenu
3126 (expand): remove extra separator at the end of expanded menu
3128 2003-02-15 John Levon <levon@movementarian.org>
3131 * BufferView_pimpl.C:
3133 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3134 inset code that had no actual effect. Remove unneeded status
3137 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3139 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3142 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3144 * text.C (drawLengthMarker): also draw an arrow marker for
3145 symbolic lengths (medskip...)
3147 2003-02-14 John Levon <levon@movementarian.org>
3150 * tabular.C: better method names
3152 2003-02-14 John Levon <levon@movementarian.org>
3154 * BufferView_pimpl.C:
3159 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3160 it's a more accurate name. Remove some pointless uses.
3162 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3164 * text2.C (LyXText): change order of initilizers to shut off
3167 2003-02-14 John Levon <levon@movementarian.org>
3169 * buffer.C: use ParIterator for getParFromID()
3173 * paragraph_pimpl.h:
3174 * paragraph_pimpl.C: remove unused getParFromID()
3176 2003-02-14 John Levon <levon@movementarian.org>
3178 * buffer.C: remove some very old #if 0'd parse code
3180 2003-02-13 John Levon <levon@movementarian.org>
3184 * text2.C: move hfillExpansion(), numberOfSeparators(),
3185 rowLast(), rowLastPrintable(), numberofHfills(),
3186 numberOfLabelHfills() ...
3189 * lyxrow.C: ... to member functions here.
3194 * text.C: remove LyXText::beginningOfMainBody(), and call
3195 p->beginningOfMainBody() directly. Move the check for
3196 LABEL_MANUAL into the latter.
3203 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3209 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3210 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3212 2003-02-13 John Levon <levon@movementarian.org>
3214 * CutAndPaste.C: remove debug
3216 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3218 * paragraph.C (asString): remove two unused variables
3220 * lyxtextclass.C (readTitleType):
3222 (LyXTextClass): handle new members titletype_ and titlename_
3224 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3226 2003-02-09 John Levon <levon@movementarian.org>
3229 * buffer.C: replace hand-coded list with a map for the dep clean
3231 2003-02-08 John Levon <levon@movementarian.org>
3233 * LaTeX.C: consolidate code into showRunMessage() helper
3235 2003-02-08 John Levon <levon@movementarian.org>
3240 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3241 and pass the size in explicitly
3243 * BufferView_pimpl.h:
3244 * BufferView_pimpl.C:
3246 * BufferView.C: add getCurrentChange()
3248 * BufferView_pimpl.h:
3249 * BufferView_pimpl.C: handle change lfuns
3251 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3252 for changes. Mark pasted paragraphs as new.
3254 * support/lyxtime.h:
3255 * support/lyxtime.C:
3256 * DepTable.C: abstract time_t as lyx::time_type
3259 * LColor.C: add colours for new text, deleted text, changebars
3261 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3262 package use "usenames" option.
3266 * LyXAction.C: add change lfuns
3270 * author.C: author handling
3273 * buffer.C: add a per-buffer author list, with first entry as
3274 current author. Handle new .lyx tokens for change tracking. Output
3275 author list to .lyx file. Output dvipost stuff to .tex preamble.
3276 Bump lyx format to 222.
3279 * bufferlist.C: add setCurrentAuthor() to reset current author details
3283 * bufferparams.C: add param for tracking
3285 * bufferview_funcs.C: output change info in minibuffer
3289 * changes.C: add change-tracking structure
3292 * debug.C: add CHANGES debug flag
3295 * lyxfind.C: add code for finding the next change piece
3298 * lyxrc.C: add user_name and user_email
3301 * lyxrow.C: add a metric for the top of the text line
3304 * text.C: implement accept/rejectChange()
3307 * text.C: paint changebars. Paint new/deleted text in the chosen
3308 colours. Strike through deleted text.
3312 * paragraph_pimpl.h:
3313 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3314 in the current change to the insert functions. Rework erase to
3315 mark text as deleted, adding an eraseIntern() and a range-based
3316 erase(). Implement per-paragraph change lookup and
3319 * paragraph_funcs.C: Fixup paste for change tracking.
3321 * tabular.C: mark added row/columns as new.
3323 * text.C: fix rowLast() to never return -1. Don't allow
3324 spellchecking of deleted text. Track transpose changes. Don't
3325 allow paragraph break or merge where appropriate.
3327 * text2.C: leave cursor at end of selection after a cut.
3329 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3331 * text.C (getLengthMarkerHeight):
3332 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3333 visible on screen too.
3335 2003-02-07 John Levon <levon@movementarian.org>
3337 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3339 2003-02-05 Angus Leeming <leeming@lyx.org>
3341 * lyxserver.C (read_ready): revert my patch of 11 September last year
3342 as it sends PC cpu through the roof. Presumably this means that
3343 the lyxserver will no longer run on an Alpha...
3345 2003-01-30 Angus Leeming <leeming@lyx.org>
3347 * factory.C (createInset): create an InsetCommandParam of type "index"
3348 and use it to 'do the right thing'.
3350 * text2.C (getStringToIndex): ensure that cursor position is always
3351 reset to the reset_cursor position.
3353 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3355 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3358 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3362 * lyxfunc.C: Output messages with identical spelling, punctuation,
3365 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3367 * MenuBackend.C (expandFormats): List only viewable export formats
3370 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3373 * lyxfunc.C (getStatus): Make sure that formats other than
3374 "fax" can also be disabled
3376 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3378 * text3.C (dispatch): put the lfuns that insert insets in 3
3379 groups, and call doInsertInset with appropriate arguments.
3380 (doInsertInset): new function, that creates an inset and inserts
3381 it according to some boolean parameters.
3383 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3385 * buffer.C (readFile): remember to pass on 'par' when calling
3386 readFile recursively.
3388 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3390 * MenuBackend.C (expandFormats): add "..." to import formats.
3392 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3394 * paragraph.C (asString): Remove XForms RTL hacks.
3396 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3397 * buffer.C: fix typo
3399 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3401 * Makefile.am (LIBS): delete var
3402 (lyx_LDADD): add @LIBS@ here instead.
3404 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3406 * Clarify the meaning of "wheel mouse jump"
3408 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3410 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3413 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3415 * importer.C (Loaders): do not preallocate 3 elements in the
3416 vector, since one ends up with 6 elements otherwise
3418 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3420 * DepTable.C (write): write the file name as last element of the
3421 .dep file (because it may contain spaces)
3422 (read): read info in the right order
3424 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3426 * paragraph_pimpl.C (simpleTeXBlanks):
3427 (simpleTeXSpecialChars):
3428 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3430 * tabular.C (latex): add some missing case statements. Reindent.
3432 * MenuBackend.C (expandToc): remove unused variable.
3434 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3443 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3446 2003-01-05 John Levon <levon@movementarian.org>
3449 * BufferView.C: add getEncoding()
3452 * kbsequence.C: do not store last keypress
3455 * lyxfunc.C: store last keypress here instead. Pass encoding
3458 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3460 * lyx_main.C (init): remove annoying error message when following
3461 symbolic links (bug #780)
3463 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3465 * text.C (insertChar):
3466 * lyxrc.C (getDescription): remove extra spaces
3468 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3470 * lyxrc.C (getDescription): remove extra spaces
3472 2002-12-20 John Levon <levon@movementarian.org>
3474 * text3.C: hack fix for page up/down across tall rows
3476 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3478 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3481 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3483 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3484 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3485 thesaurus is not compiled in
3487 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3489 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3491 2002-12-16 Angus Leeming <leeming@lyx.org>
3494 * lyx_main.C (init): remove override_x_deadkeys stuff.
3496 2002-12-12 John Levon <levon@movementarian.org>
3498 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3499 insert. Only remove shift modifier under strict
3502 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3504 * MenuBackend.C (expandToc): fix crash.
3506 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3508 * MenuBackend.C (expandToc): gettext on float names.
3510 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3512 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3513 implement bool empty() [bug 490]
3515 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3517 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3519 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3521 * several files: ws changes
3523 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3525 * text2.C (setCounter): clean up a bit, use boost.format.
3526 (updateCounters): initialize par upon declaration.
3528 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3529 if the layout exists. We do not just store the layout any more.
3530 (SwitchLayoutsBetweenClasses): use boost.format
3532 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3534 * converter.C (convert): if from and to files are the same, use a
3535 temporary files as intermediary
3537 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3540 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3542 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3544 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3546 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3548 * tabular.C (asciiPrintCell): use string(size, char) instead of
3551 * sgml.C (openTag): fix order of arguments to string constructor
3554 * lyxfunc.C (dispatch): use boost.format
3556 * lots of files: change "c" -> 'c'
3558 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3560 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3562 2002-11-25 Angus Leeming <leeming@lyx.org>
3564 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3566 * lyx_main.C (init): compile fix.
3568 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3570 * lyx_cb.C (start): boost.formatify
3571 do not include <iostream>
3573 * lengthcommon.C: ws only
3575 * boost-inst.C,BoostFormat.h: add more explict instantations
3577 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3579 * lots of files: handle USE_BOOST_FORMAT
3581 2002-11-21 John Levon <levon@movementarian.org>
3583 * pspell.C: fix compile
3585 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3587 * lyxfunc.C (dispatch): use boost::format
3591 * lyxfont.C (stateText): use boost::format
3593 * lyx_main.C (LyX): use boost::format
3595 (queryUserLyXDir): ditto
3598 (typedef boost::function): use the recommened syntax.
3600 * importer.C (Import): use boost::format
3602 * debug.C (showLevel): use boost::format
3604 * converter.C (view): use boost::format
3609 * bufferview_funcs.C (currentState): use boost::format
3611 * bufferlist.C (emergencyWrite): use boost::format
3613 * buffer.C (readLyXformat2): use boost::format
3614 (parseSingleLyXformat2Token): ditto
3616 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3618 * LaTeX.C (run): use boost::format
3620 * Chktex.C (scanLogFile): use boost::format
3622 * BufferView_pimpl.C (savePosition): use boost::format
3623 (restorePosition): ditto
3624 (MenuInsertLyXFile): ditto
3626 * BoostFormat.h: help file for explicit instation.
3628 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3630 * tabular.C (latex): Support for block alignment in fixed width
3633 2002-11-17 John Levon <levon@movementarian.org>
3635 * BufferView_pimpl.C:
3637 * lyxfunc.C: split filedialog into open/save
3639 2002-11-08 Juergen Vigna <jug@sad.it>
3641 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3642 by my last patch (hopefully).
3644 2002-11-08 John Levon <levon@movementarian.org>
3653 * toc.C: ParConstIterator, and use it (from Lars)
3655 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3657 * lyxtextclass.[Ch]: revise and add doxygen comments
3659 2002-11-07 John Levon <levon@movementarian.org>
3661 * text.C: fix progress value for spellchecker
3663 * toc.C: fix navigate menu for insetwrap inside minipage
3665 * paragraph_funcs.C: added FIXME for suspect code
3667 2002-11-07 John Levon <levon@movementarian.org>
3669 * BufferView_pimpl.C: fix redrawing of insets
3672 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3674 * text2.C (updateCounters): fix bug 668
3676 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3678 * text3.C (dispatch): Do not make the buffer dirty when moving the
3681 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3683 * vc-backend.C: STRCONV
3686 * text2.C (setCounter): STRCONV
3688 * paragraph.C (asString): STRCONV
3690 * lyxlength.C (asString): STRCONV
3691 (asLatexString): ditto
3693 * lyxgluelength.C (asString): STRCONV
3694 (asLatexString): ditto
3696 * lyxfunc.C (dispatch): STRCONV
3699 * lyxfont.C (stateText): STRCONV
3701 * importer.C (Import): STRCONV
3703 * counters.C (labelItem): STRCONV
3704 (numberLabel): ditto
3705 (numberLabel): remove unused ostringstream o
3710 * bufferview_funcs.C (currentState): STRCONV
3712 * buffer.C (readFile): STRCONV
3713 (asciiParagraph): ditto
3714 (makeLaTeXFile): ditto
3716 * Spacing.C (writeEnvirBegin): STRCONV
3718 * LaTeXFeatures.C (getLanguages): STRCONV
3719 (getPackages): ditto
3721 (getBabelOptions): ditto
3722 (getTClassPreamble): ditto
3723 (getLyXSGMLEntities): ditto
3724 (getIncludedFiles): ditto
3728 (scanAuxFile): ditto
3731 * LString.h: add the STRCONV macros
3733 * BufferView_pimpl.C (savePosition): STRCONV
3734 (restorePosition): ditto
3735 (MenuInsertLyXFile): ditto
3737 * vc-backend.C (scanMaster): change from submatch[...] to
3740 * funcrequest.C: include config.h
3742 * factory.C: include config.h
3744 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3746 * box.C: include config.h
3748 * LaTeX.C (scanAuxFile): change from submatch[...] to
3752 2002-10-25 Angus Leeming <leeming@lyx.org>
3754 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3756 * ispell.[Ch] (setError): new method.
3757 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3758 Use setError() insetead of goto END.
3760 * lyx_cb.C (AutoSave): move out child process into new class
3763 2002-10-30 John Levon <levon@movementarian.org>
3765 * text3.C: make start appendix undoable
3767 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3769 * lyxlength.C (inPixels): Fix returned value.
3771 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3774 2002-10-24 Angus Leeming <leeming@lyx.org>
3776 * lyxgluelength.h: no need to forward declare BufferParams
3777 or BufferView, so don't.
3779 2002-10-21 John Levon <levon@movementarian.org>
3781 * BufferView.C: menuUndo ->undo, redo
3783 * BufferView.h: document, remove dead, make some methods private
3785 * paragraph_funcs.h:
3786 * paragraph_funcs.C:
3787 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3792 * sgml.C: move sgml open/close tag into sgml.C
3794 * bufferview_funcs.h: unused prototype
3797 * lyxfunc.C: remove unused
3800 * text.C: remove unused
3802 2002-10-21 John Levon <levon@movementarian.org>
3806 * BufferView_pimpl.h:
3807 * BufferView_pimpl.C: fix mouse wheel handling based on
3808 patch from Darren Freeman
3810 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3812 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3814 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3816 * lyxlength.C (inPixels): Fix hanfling of negative length.
3817 Fix LyXLength::MU case.
3819 2002-10-16 John Levon <levon@movementarian.org>
3821 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3823 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3825 * converter.C (view): add support for $$i (file name) and $$p
3826 (file path) for the viewer command. If $$i is not specified, then
3827 it is appended to the command (for compatibility with old syntax)
3829 2002-10-14 Juergen Vigna <jug@sad.it>
3831 * undo_funcs.C (textHandleUndo): alter the order in which the
3832 new undopar is added to the LyXText, as we have to set first
3833 the right prev/next and then add it as otherwise the rebuild of
3834 LyXText is not correct. Also reset the cursor to the right paragraph,
3835 with this IMO we could remove the hack in "redoParagraphs()".
3837 2002-10-09 Angus Leeming <leeming@lyx.org>
3839 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3840 to turn off an optimisation if a new inset is to be inserted.
3842 2002-10-11 André Pönitz <poenitz@gmx.net>
3844 * lyxtext.h: make some functions public to allow access
3845 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3847 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3849 * text3.C (dispatch): when changing layout, avoid an infinite loop
3852 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3854 * lyxrc.C (read): treat a viewer or converter command of "none" as
3857 * MenuBackend.C (expandFormats): for an update, also allow the
3858 formats that are not viewable
3860 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3861 script if it is newer than the lyxrc.defaults in user directory
3863 2002-10-07 André Pönitz <poenitz@gmx.net>
3865 * text.C: Vitaly Lipatov's small i18n fix
3867 2002-09-25 Angus Leeming <leeming@lyx.org>
3869 * ispell.h: doxygen fix.
3871 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3873 * buffer.h (readFile): Add a new argument to the method, to allow
3874 reading of old-format templates.
3876 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3878 * toc.C (getTocList): Get TOC from InsetWrap.
3880 2002-09-16 John Levon <levon@movementarian.org>
3882 * lyxfunc.C: check tabular for cut/copy too
3884 2002-09-12 John Levon <levon@movementarian.org>
3889 * factory.C: add header
3891 * paragraph_funcs.h:
3892 * paragraph_funcs.C: cleanup
3894 2002-09-11 John Levon <levon@movementarian.org>
3896 * PrinterParams.h: odd/even default to true
3898 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3900 * PrinterParams.h: update printer parameters for new xforms dialog
3902 2002-09-11 Angus Leeming <leeming@lyx.org>
3904 * lyxserver.C (read_ready): re-write to make it more transparent
3905 and to make it work in coherent fashion under Tru64 Unix.
3907 2002-09-11 André Pönitz <poenitz@gmx.net>
3911 * text3.C: implement LFUN_WORDSEL
3913 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3915 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3916 make floatlist_ a boost::shared_ptr<FloatList>
3918 * lyxtextclass.C: include FloatList.h
3919 (LyXTextClass): initialize floatlist_
3920 (TextClassTags): add TC_NOFLOAT
3921 (Read): match "nofloat" to TC_NOFLOAT and use it.
3922 (readFloat): modify call to floatlist_
3926 * FloatList.[Ch] (FloatList): remove commented out float
3928 (erase): new function
3930 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3932 * MenuBackend.C (expandToc): fix crash when there is no document
3935 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3937 * many files: Add insetwrap.
3939 2002-09-09 John Levon <levon@movementarian.org>
3941 * text2.C: remove confusing and awkward depth wraparound
3943 2002-09-09 John Levon <levon@movementarian.org>
3945 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3948 * buffer.C: remove getIncludeonlyList()
3951 * lyxfunc.C: remove headers
3953 2002-09-09 Juergen Vigna <jug@sad.it>
3955 * text.C (getColumnNearX): fix form Michael this is most
3956 probably a cut&paste bug.
3958 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3960 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3962 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3963 references, ws changes.
3965 * text2.C (init): update counters after init
3966 (insertParagraph): no need to set counter on idividual paragraphs.
3967 (setCounter): access the counters object in the textclass object
3968 on in the buffer object.
3969 (updateCounters): ditto
3971 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3972 shared_ptr<Counters> to avoid loading counters.h in all
3974 (LyXTextClass): initialize ctrs_
3975 (TextClassTags): add TC_COUNTER, and ...
3976 (Read): use it here.
3977 (CounterTags): new tags
3978 (readCounter): new function
3979 (counters): new funtion
3980 (defaultLayoutName): return a const reference
3982 * counters.C (Counters): remove contructor
3983 (newCounter): remove a couple of unneeded statements.
3984 (newCounter): simplify a bit.
3985 (numberLabel): some small formatting changes.
3987 * buffer.[Ch]: remove all traces of counters, move the Counters
3988 object to the LyXTextClass.
3990 2002-09-06 Alain Castera <castera@in2p3.fr>
3992 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3993 package to set the horizontal alignment on fixed width columns.
3996 * lyx_sty.h: added tabularnewline macro def.
3998 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4000 2002-09-06 John Levon <levon@movementarian.org>
4002 * LyXAction.C: tooltips for sub/superscript
4004 * MenuBackend.C: a bit more verbose
4006 * lyxfunc.C: tiny clean
4008 * undo_funcs.C: document undo_frozen
4010 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4012 * counters.C (Counters): add missing algorithm counter.
4014 * text2.C (setCounter): lookup the counter with layouts latexname
4015 instead of by section number.
4016 (setCounter): use a hackish way to lookup the correct enum
4018 a float name->type change
4019 reset enum couners with counter name directly instead of depth value.
4021 * counters.C (Counters): remove the push_backs, change to use the
4022 float type not the float name.
4023 (labelItem): remove unused string, float name->type change
4025 * counters.h: don't include vector, loose the enums and sects vectors
4027 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4029 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4030 (Read): add float->TC_FLOAT to textclassTags
4031 (Read): and handle it in the switch
4032 (readFloat): new function
4034 * FloatList.C (FloatList): comment out the hardcoded float
4037 * lyxlayout.h: ws change.
4039 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4041 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4043 2002-09-03 Angus Leeming <leeming@lyx.org>
4045 * BufferView_pimpl.h: qualified name is not allowed in member
4046 declaration: WorkArea & Pimpl::workarea() const;
4048 * factory.C: added using std::endl directive.
4050 * text3.C: added using std::find and std::vector directives.
4052 2002-08-29 André Pönitz <poenitz@gmx.net>
4055 * text2.C: remove unused member number_of_rows
4058 * BufferView2.C: remove file, move contents to...
4059 * BufferView.C: ... here
4061 * BufferView_pimpl.C:
4062 * factory.C: move more inset creation to factory
4064 * vspace.C: avoid direct usage of LyXText, ws changes
4067 don't provide direct access to WorkArea, use two simple
4068 acessors haveSelction() and workHeight() instead
4071 2002-08-29 John Levon <levon@movementarian.org>
4073 * BufferView_pimpl.C (dispatch): do not continue when
4076 2002-08-28 André Pönitz <poenitz@gmx.net>
4078 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4081 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4083 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4085 * buffer.C: increment LYX_FORMAT to 221
4087 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4088 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4090 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4092 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4094 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4096 * factory.C (createInset): use LyXTextClass::floats
4098 * MenuBackend.C (expandFloatListInsert):
4099 (expandFloatInsert):
4102 * text2.C (setCounter):
4104 * LaTeXFeatures.C (useFloat):
4105 (getFloatDefinitions):
4107 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4109 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4110 floatlist_, with accessor floats().
4112 * FloatList.h: remove global FloatList
4114 2002-08-26 André Pönitz <poenitz@gmx.net>
4116 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4120 * BufferView_pimpl.C:
4121 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4123 2002-08-25 John Levon <levon@movementarian.org>
4125 * LyXAction.C: fix margin note description
4127 2002-08-24 John Levon <levon@movementarian.org>
4131 * bufferview_funcs.C:
4133 * undo_funcs.C: cleanups
4135 * lyxfunc.C: disable CUT/COPY when no selection
4137 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4139 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4140 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4142 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4143 Add backward compatibility to "mono", "gray" and "no".
4145 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4147 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4148 (and file_format >= 200).
4150 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4152 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4154 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4156 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4158 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4160 * BufferView_pimpl.C:
4167 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4168 inset and code to make it work with the paragraph code. The inset
4169 can be anywhere in the paragraph, but will only do the expected
4170 thing in LaTeX if the layout file contains the parameter line
4172 (or more generally, a nonzero value) for that layout.
4174 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4176 * paragraph.h: remove the declaration of undefined counters class
4179 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4181 * text2.C (setCounter): fixed enumeration mis-count as reported by
4182 Dr. Richard Hawkins.
4184 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4186 * paragraph_funcs.h: remove some unneeded includes
4188 * text.C (backspace): pasteParagraph now in global scipe
4190 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4191 (pasteSelection): ditto
4193 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4194 * paragraph_funcs.C (pasteParagraph): ... here
4196 2002-08-20 André Pönitz <poenitz@gmx.net>
4198 * commandtags.h: new LFUNs for swapping/copying table row/colums
4201 * lyxfunc.C: support for new lfuns
4203 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4206 * buffer.[Ch]: remove NO_COMPABILITY stuff
4208 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4210 * boost.C (throw_exception): new file, with helper function for
4211 boost compiled without exceptions.
4216 * ParameterStruct.h:
4217 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4219 * bufferlist.C (emergencyWriteAll): use boost bind
4221 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4223 * text.C: include paragraph_funcs.h
4224 (breakParagraph): breakParagraph is now in global scope
4226 * paragraph_funcs.[Ch]: new files
4228 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4231 * buffer.C: include paragraph_funcs.h
4232 (insertStringAsLines): breakParagraph is now in global scope
4234 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4237 * CutAndPaste.C: include paragraph_funcs.h
4238 (cutSelection): breakParagraphConservative is now in global scope
4239 (pasteSelection): ditto
4241 * buffer.h: declare oprator== and operator!= for
4242 Buffer::inset_iterator
4244 * bufferlist.C (emergencyWrite): don't use fmt(...)
4246 * text3.C: add using std::endl
4248 * BufferView.C (moveCursorUpdate): remove default arg
4250 2002-08-20 André Pönitz <poenitz@gmx.net>
4252 * buffer.[Ch]: move inline functions to .C
4255 * BufferView_pimpl.C:
4257 * buffer.[Ch]: use improved inset_iterator
4260 * paragraph.[Ch]: write one paragraph at a time
4262 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4264 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4265 style if style is not specified.
4267 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4269 * text2.C (setCounter): when searching for right label for a
4270 caption, make sure to recurse to parent insets (so that a caption
4271 in a minipage in a figure float works) (bug #568)
4273 2002-08-20 André Pönitz <poenitz@gmx.net>
4275 * text3.C: new file for LyXText::dispatch() and helpers
4277 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4279 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4281 2002-08-19 André Pönitz <poenitz@gmx.net>
4284 * text.C: new LyXText::dispatch()
4286 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4288 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4290 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4292 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4295 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4297 * Makefile.am: use $(variables) instead of @substitutions@
4299 2002-08-15 André Pönitz <poenitz@gmx.net>
4302 * BufferView_pimpl.C: streamlining mathed <-> outer world
4306 * LyXAction.C: remove unused LFUN_MATH
4308 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4310 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4312 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4314 * paragraph.C (Paragraph): reformat a bit
4315 (cutIntoMinibuffer): use builtin InsetList function instad of
4319 * buffer.C: include boost/bind.hpp, add using std::for_each
4320 (writeFileAscii): use ParagraphList iterators
4321 (validate): use for_each for validate traversal of paragraphs
4322 (getBibkeyList): use ParagraphList iterators
4323 (resizeInsets): use for_each to resizeInsetsLyXText for all
4325 (getParFromID): use ParagraphList iterators
4327 * BufferView2.C (lockInset): use paragraph list and iterators
4329 2002-08-14 John Levon <levon@movementarian.org>
4331 * lyxserver.C: remove spurious xforms include
4333 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4335 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4337 2002-08-13 André Pönitz <poenitz@gmx.net>
4340 * lyxfunc.C: further cleaning
4342 2002-08-13 André Pönitz <poenitz@gmx.net>
4344 * funcrequest.h: new constructor
4346 * funcrequest.C: move stuff here from .h
4349 * BufferView_pimpl.C:
4352 * lyxfunc.C: subsequent changes
4354 * lyxfunc.h: new view() member function
4356 * lyxfunc.C: subsequent changes
4358 2002-08-13 Angus Leeming <leeming@lyx.org>
4361 * BufferView_pimpl.C:
4369 changes due to the changed LyXView interface that now returns references
4370 to member variables not pointers.
4372 2002-08-13 Angus Leeming <leeming@lyx.org>
4374 * WordLangTuple (word, lang_code): return references to strings,
4379 * lyxtext.h: forward-declare WordLangTuple.
4384 * text.C: #include "WordLangTuple.h".
4387 * text.C: (selectNextWordToSpellcheck): constify return type.
4389 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4395 * paragraph_pimpl.h:
4398 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4400 Made updateCounter always count from start of buffer, and removed
4401 second argument (par).
4402 Reverted floats number display to '#'. Perhaps I'll try again when the
4403 code base is sanitized a bit.
4405 2002-08-12 Angus Leeming <leeming@lyx.org>
4407 * buffer.[Ch] (getLabelList): constify.
4409 2002-08-07 André Pönitz <poenitz@gmx.net>
4411 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4413 * funcrequest.h: extension to keep mouse (x,y) position
4415 2002-08-12 Juergen Vigna <jug@sad.it>
4417 * BufferView2.C (insertErrors): forbid undo when inserting error
4420 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4422 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4424 * ParagraphList.[Ch]: new files
4426 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4428 * BufferView2.C (lockInset): ParagraphList changes
4431 * bufferlist.C: ditto
4435 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4437 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4438 unused class variable counter_,
4440 * paragraph.[Ch] (getFirstCounter): delete unused function
4442 * counters.C: include LAssert.h
4443 (reset): add a new function with no arg, change other version to
4444 not have def. arg and to not allow empty arg.
4446 * text2.C (setCounter): remove empty arg from call to Counters::reset
4448 2002-08-11 John Levon <levon@movementarian.org>
4450 * Makefile.am: add WordLangTuple.h
4452 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4454 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4455 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4457 * insets/insettext.C: InsetList changes
4459 * graphics/GraphicsSupport.C (operator()): InsetList changes
4461 * toc.C (getTocList): InsetList changes
4463 * paragraph_pimpl.[Ch]: InsetList changes
4465 * paragraph.[Ch]: InsetList changes
4467 * buffer.C (inset_iterator): InsetList changes
4468 (setParagraph): ditto
4469 * buffer.h (inset_iterator): ditto
4470 * iterators.C (operator++): ditto
4471 * iterators.h: ditto
4473 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4475 * InsetList.[Ch]: new files, most InsetList handling moved out of
4478 * BufferView2.C (removeAutoInsets): InsetList changes
4480 (ChangeInsets): ditto
4482 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4484 * paragraph_pimpl.h (empty): new function
4486 * paragraph.[Ch] (empty): new function
4488 * other files: use the new Paragraph::empty function
4490 2002-08-09 John Levon <levon@movementarian.org>
4492 * lyxtext.h: remove unused refresh_height
4494 2002-08-09 John Levon <levon@movementarian.org>
4501 * paragraph.C: move sgml char escaping out of paragraph
4504 * paragraph.C: remove id setter
4508 * paragraph_pimpl.C: remove dead tex_code_break_column
4510 * bufferview_funcs.C: small cleanup
4512 * lyxfunc.C: remove dead proto
4514 * lyxtext.h: make some stuff private. Remove some dead stuff.
4516 * lyxgluelength.C: make as[LyX]String() readable
4518 2002-08-08 John Levon <levon@movementarian.org>
4523 * ToolbarDefaults.C:
4526 * toc.C: lyxaction cleanup
4528 2002-08-08 John Levon <levon@movementarian.org>
4530 * BufferView2.C: small cleanup
4533 * lyxfind.C: move unnecessary header into the .C
4535 2002-08-08 John Levon <levon@movementarian.org>
4537 * funcrequest.h: just tedious nonsense
4540 * lyx_main.C: cleanups
4543 * vspace.C: remove dead header lyx_main.h
4545 2002-08-07 Angus Leeming <leeming@lyx.org>
4548 * paragraph_pimpl.h:
4549 Forward declare class Counters in paragraph.h by moving the ctrs member
4550 variable into Paragraph::Pimpl.
4551 (counters): new method, returning a reference to pimpl_->ctrs.
4553 * text2.C: ensuing changes.
4555 2002-08-07 John Levon <levon@movementarian.org>
4557 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4559 * BufferView_pimpl.C: announce X selection on double/triple
4562 * lyx_main.C: use correct bool in batch dispatch
4564 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4566 2002-08-07 André Pönitz <poenitz@gmx.net>
4568 * funcrequest.h: new class to wrap a kb_action and its argument
4571 * BufferView_pimpl[Ch]:
4575 * lyxrc.C: subsequent changes
4578 2002-08-07 John Levon <levon@movementarian.org>
4580 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4581 document options change.
4583 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4588 * makefile.am: move counters functionality over from
4589 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4591 2002-08-06 John Levon <levon@movementarian.org>
4593 * WordLangTuple.h: new file for word + language code tuple
4604 * BufferView2.C: use WordLangTuple
4607 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4609 2002-08-06 John Levon <levon@movementarian.org>
4611 * lyx_main.C: fix cmdline batch handling
4613 2002-08-06 André Pönitz <poenitz@gmx.net>
4615 * lyxrc.C: set default for show_banner to true
4617 2002-08-06 John Levon <levon@movementarian.org>
4619 * pspell.C: fix a crash, and allow new aspell to work
4621 2002-08-06 John Levon <levon@movementarian.org>
4624 * kbmap.C: small cleanup
4627 * vspace.C: add const
4629 2002-08-05 John Levon <levon@movementarian.org>
4631 * LyXAction.C: back to tabular-insert
4633 2002-08-04 John Levon <levon@movementarian.org>
4636 * BufferView.C: cosmetic change
4638 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4648 * BufferView2.C: purge all "Lyx" not "LyX" strings
4651 * lyxcursor.C: attempt to add some documentation
4656 * ToolbarDefaults.C:
4657 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4658 merge with LFUN_TABULAR_INSERT
4665 * pspell.C: split up i/pspell implementations into separate
4666 files, many cleanups
4668 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4670 * text2.C: some cleanup
4672 * lyxfunc.C: don't check for isp_command == "none" any more, it
4673 didn't make any sense
4675 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4680 * makefile.am: move counters functionality over
4681 from text2.C/paragraph.[Ch] to counters.[Ch], and
4683 2002-08-02 John Levon <levon@movementarian.org>
4685 * buffer.C: s/lyxconvert/lyx2lyx/
4687 2002-08-02 Angus Leeming <leeming@lyx.org>
4689 * lyxlex.C: revert John's change as it breaks reading of the user
4692 2002-08-02 Angus Leeming <leeming@lyx.org>
4694 * importer.C (Import):
4695 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4696 changes due to LyXView::view() now returning a boost::shared_ptr.
4698 2002-08-02 John Levon <levon@movementarian.org>
4700 * lyxlex.C: small cleanup
4702 2002-08-02 John Levon <levon@movementarian.org>
4704 * text2.C (status): small cleanup, no logic change
4706 2002-08-01 John Levon <levon@movementarian.org>
4709 * buffer.C (writeFile): don't output alerts, caller
4713 * lyx_cb.C: from above
4715 * lyxfunc.C: allow to open non-existent files
4717 2002-07-31 John Levon <levon@movementarian.org>
4719 * lyxserver.C: don't let incidental errors get
4722 2002-07-30 John Levon <levon@movementarian.org>
4724 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4726 2002-07-30 John Levon <levon@movementarian.org>
4729 * lyxserver.C: remove I/O callback too
4731 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4733 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4736 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4738 * many files: strip,frontStrip -> trim,ltrim,rtrim
4740 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4742 * PrinterParams.h: remove extern containsOnly, and include
4743 support/lstrings.h instead.
4745 * LaTeX.C (scanAuxFile): modify because of strip changes
4747 * buffer.C (makeLaTeXFile): ditto
4748 * bufferparams.C (writeFile): ditt
4749 * lyxfont.C (stateText): ditto
4750 * lyxserver.C (read_ready): ditto
4751 * vc-backend.C (scanMaster): ditto
4753 * BufferView_pimpl.h: ws changes
4755 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4757 2002-07-26 André Pönitz <poenitz@gmx.net>
4759 * kb_sequence.C: remove unnedred usings
4761 2002-07-26 Juergen Vigna <jug@sad.it>
4763 * lyxfind.C (LyXReplace): we have to check better if the returned
4764 text is not of theLockingInset()->getLockingInset().
4766 2002-07-25 Juergen Vigna <jug@sad.it>
4768 * lyxfind.C (LyXReplace): don't replace if we don't get the
4771 * undo_funcs.C (createUndo): remove debugging code.
4773 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4775 * buffer.C (parseSingleLyXformat2Token): Use default placement
4776 when reading old floats.
4778 * FloatList.C (FloatList): Change the default placement of figure
4779 and tables to "tbp".
4781 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4783 * MenuBackend.C: using std::max
4785 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4787 * MenuBackend.C (expandToc):
4788 (expandToc2): code moved from xforms menu frontend. It is now
4789 generic and TOCs are transparent to menu frontends.
4791 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4793 * toc.C (getTocList): protect against buf=0
4795 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4796 Menu as first parameter. Now, this calls itself recursively to
4797 expand a whole tree (this will be useful for TOC handling)
4798 (expandFloatInsert): remove 'wide' version of floats
4800 * MenuBackend.h (submenuname): returns the name of the submenu.
4801 (submenu): returns the submenu itself, provided it has been
4802 created by MenuBackend::expand
4804 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4806 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4807 insets which have noFontChange == true. (bug #172)
4809 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4811 * BufferView_pimpl.C: add connection objects and use them...
4814 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4816 * MenuBackend.C (expandLastfiles):
4819 (expandFloatListInsert):
4820 (expandFloatInsert):
4821 (expand): split expand in parts
4823 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4825 * lyx_gui.C: use lyx_gui::exit()
4827 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4829 * LyXAction.C: show the failing pseudo action
4831 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4833 * buffer.C (readFile): Run the lyxconvert script in order to read
4836 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4840 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4842 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4846 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4848 2002-07-22 Herbert Voss <voss@lyx.org>
4851 * lyxlength.[Ch]: add support for the vertical lengths
4853 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4855 * toc.[Ch]: std:: fixes
4857 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4859 * lyxrc.C: do not include lyx_main.h
4861 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4867 * BufferView2.C: include "lyxlex.h"
4870 * bufferparams.h: do not #include "lyxlex.h"
4872 * lyxtextclasslist.C (Add): remove method
4873 (classlist): renamed to classlist_
4875 * paragraph_pimpl.C:
4879 * bufferview_funcs.C:
4884 * toc.C (getTocList): use BufferParams::getLyXTextClass
4886 * toc.C (getTocList): use InsetFloat::addToToc
4888 * toc.[Ch]: new files, containing helper functions to handle table
4891 * lyxfunc.C (dispatch): no need to remove spaces around command
4893 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4894 first command of the sequence; it is not very clever, but I do not
4895 have a better idea, actually
4897 * LyXAction.C (LookupFunc): make sure to remove space at the
4898 beginning and end of the command
4900 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4902 * MenuBackend.C (getMenubar): new method: return the menubar of
4904 (read): treat differently reading of menu and menubar (in
4905 particular, the menubar has no name now)
4906 (Menu::menubar): remove
4908 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4911 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4913 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4914 a bibitem inset in a RTL paragraph.
4916 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4918 * paragraph_pimpl.C: constify
4920 * BufferView_pimpl.C:
4922 * lyxfunc.C: fix dispatch in a nicer way
4924 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4926 * lyxfunc.C (dispatch):
4927 * BufferView_pimpl.C:
4928 * BufferView_pimpl.h:
4930 * BufferView.h: rename Dispatch() to dispatch()
4932 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4934 * lyxlayout.C (Read): honor DependsOn tag
4936 * lyxlayout.[Ch] (depends_on): new method
4938 * version.C.in: update lyx_docversion
4940 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4942 * paragraph.C (validate): remove from here...
4943 * paragraph_pimpl.C (validate): ... and move here
4944 (isTextAt): make it const
4946 * buffer.C (getLists): ws cleanup
4948 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4950 * language.C (read): Use iso8859-1 encoding in latex_lang
4951 (this prevents LyX from crashing when using iso10646-1 encoding).
4953 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4955 * text2.C (toggleInset): if cursor is inside an inset, close the
4956 inset and leave cursor _after_ it
4958 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4960 * lyxfunc.C: move minibuffer completion handling out of here
4962 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4964 * BufferView_pimpl.C:
4965 * LaTeX.C: fix dispatch calls
4967 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4969 * text.C (drawChars): Fix Arabic text rendering.
4971 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4975 * lyxfunc.C: remove message-push/pop
4979 * lyxfunc.C: rationalise some code by removing verboseDispatch
4980 in favour of a bool argument to dispatch()
4982 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4984 * lyx_main.C (init): make sure to read symlinks as absolute paths
4986 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4989 * lyxfunc.C: no need for commandshortcut to be a member
4991 2002-07-15 André Pönitz <poenitz@gmx.net>
4993 * converter.C: add support for $$s (scripts from lib/scripts dir)
4994 * lyx_main.C: white space
4996 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5000 * lyxrc.C: remove second exit confirmation
5002 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5007 * BufferView_pimpl.h:
5008 * BufferView_pimpl.C:
5009 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5011 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5013 * MenuBackend.C (expand): add numeric shortcuts to document menu
5015 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5017 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5019 * lyxfont.C (setLyXFamily):
5026 * buffer.C (asciiParagraph): use ascii_lowercase
5028 2002-07-15 Mike Fabian <mfabian@suse.de>
5030 * lyxlex_pimpl.C (search_kw):
5031 * lyxlex.C (getLongString):
5032 * converter.h (operator<):
5033 * converter.C (operator<):
5034 * buffer.C (parseSingleLyXformat2Token):
5036 * ToolbarDefaults.C (read):
5037 * MenuBackend.C (checkShortcuts):
5039 * LColor.C (getFromGUIName):
5040 (getFromLyXName): use the compare_ascii_no_case instead of
5041 compare_no_case, because in turkish, 'i' is not the lowercase
5042 version of 'I', and thus turkish locale breaks parsing of tags.
5044 2002-07-16 Angus Leeming <leeming@lyx.org>
5046 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5047 now takes a Buffer const & argument.
5049 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5051 * BufferView.C (resize): check there's a buffer to resize
5053 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5055 * lyxfunc.C: remove dead code
5058 * lyxserver.C: use lyx_guii::set_read_callback
5060 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5062 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5063 an inset in a RTL paragraph.
5065 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5067 * lyxfunc.C: repaint after a font size update
5069 2002-07-15 André Pönitz <poenitz@gmx.net>
5071 * lyxlength.C: inBP should be able to return negative values
5073 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5075 * lyxfunc.C: use lyx_gui::update_fonts()
5077 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5079 * lyxfunc.C: use lyx_gui::update_color()
5081 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5087 * lyxrc.C: remove file->new asks for name option, and let
5088 buffer-new take an argument
5090 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5092 * BufferView_pimpl.C: remove unneeded extra repaint()
5094 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5096 * LyXAction.C: allow command-sequence with NoBuffer
5098 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5100 2002-07-10 Angus Leeming <leeming@lyx.org>
5102 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5104 2002-07-09 Angus Leeming <leeming@lyx.org>
5106 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5108 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5110 * lengthcommon.h: whitespace
5112 * lyxfunc.C: update scrollbar after goto paragraph
5114 * lyxtext.h: factor out page break drawing, and fix it so
5115 page break/added space paints as selected nicely
5117 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5119 * BufferView_pimpl.C: add FIXMEs, clean up a little
5121 2002-07-09 André Pönitz <poenitz@gmx.net>
5123 * lyxfont.[Ch]: support for wasy symbols
5125 2002-07-08 André Pönitz <poenitz@gmx.net>
5127 * BufferView_pimpl.C: apply John's patch for #93.
5129 2002-07-05 Angus Leeming <leeming@lyx.org>
5131 * BufferView_pimpl.C (buffer): generate previews if desired.
5133 * LColor.h: add "preview" to the color enum.
5135 * LColor.C (LColor): add a corresponding entry to the items array.
5137 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5140 2002-07-05 Angus Leeming <leeming@lyx.org>
5142 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5143 The body of the code is now in the method that is passed an ostream &
5144 rather than a file name.
5145 Pass an additional only_preamble parameter, useful for the forthcoming
5148 2002-07-03 André Pönitz <poenitz@gmx.net>
5150 * lyxfunc.C: simplify getStatus() a bit for math stuff
5152 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5154 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5156 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5158 * text.C (changeRegionCase): do not change case of all the
5159 document when region ends at paragraph end (bug #461)
5161 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5163 * paragraph.C (startTeXParParams):
5164 (endTeXParParams): add \protect when necessary
5166 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5168 * BufferView_pimpl.C (workAreaExpose): remove warning
5170 2002-06-27 Angus Leeming <leeming@lyx.org>
5172 * Makefile.am: add lyxlayout_ptr_fwd.h.
5174 2002-06-26 André Pönitz <poenitz@gmx.net>
5176 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5178 2002-06-25 Angus Leeming <leeming@lyx.org>
5180 * lyxfunc.C (dispatch): Comment out the call to
5181 grfx::GCache::changeDisplay. The method no longer exists now that the
5182 pixmap generation part of the graphics loader has been moved into
5185 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5187 * text2.C: layout as layout
5189 * text.C: layout as layout
5191 * tabular.C (OldFormatRead): layout as layout
5193 * paragraph_pimpl.C (TeXDeeper): layout as layout
5194 (realizeFont): layout as layout
5196 * paragraph.C (writeFile): layout as layout
5197 (validate): layout as layout
5198 (getFont): layout as layout
5199 (getLabelFont): layout as layout
5200 (getLayoutFont): layout as layout
5201 (breakParagraph): layout as layout
5202 (stripLeadingSpaces): layout as layout
5203 (getEndLabel): layout as layout
5204 (getMaxDepthAfter): layout as layout
5205 (applyLayout): layout as layout
5206 (TeXOnePar): layout as layout
5207 (simpleTeXOnePar): layout as layout
5208 (TeXEnvironment): layout as layout
5209 (layout): layout as layout
5210 (layout): layout as layout
5212 * lyxtextclass.C (compare_name): new functor to work with
5213 shared_ptr, layout as layout
5214 (Read): layout as layout
5215 (hasLayout): layout as layout
5216 (operator): layout as layout
5217 (delete_layout): layout as layout
5218 (defaultLayout): layout as layout
5220 * lyxlayout_ptr_fwd.h: new file
5222 * lyxlayout.C (Read): layout as layout
5224 * lyx_cb.C (MenuInsertLabel): layout as layout
5226 * bufferlist.C (newFile): layout as layout
5228 * buffer.C (readLyXformat2): layout as layout
5229 (parseSingleLyXformat2Token): layout as layout
5230 (insertStringAsLines): layout as layout
5231 (asciiParagraph): layout as layout
5232 (latexParagraphs): layout as layout
5233 (makeLinuxDocFile): layout as layout
5234 (simpleLinuxDocOnePar): layout as layout
5235 (makeDocBookFile): layout as layout
5236 (simpleDocBookOnePar): layout as layout
5237 (getLists): layout as layout
5239 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5241 * CutAndPaste.C (cutSelection): layout as layout
5242 (pasteSelection): layout as layout
5243 (SwitchLayoutsBetweenClasses): layout as layout
5245 * BufferView_pimpl.C (Dispatch): layout as layout
5246 (smartQuote): layout as layout
5248 * BufferView2.C (unlockInset): layout as layout
5250 2002-06-24 André Pönitz <poenitz@gmx.net>
5252 * lyxfunc.C: fix #487
5254 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5258 * lyxfunc.C: remove display_shortcuts, show_banner
5260 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5262 * Buffer_pimpl.C: oops, update on resize
5264 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5271 * BufferView.C: use repaint()
5273 * BufferView_pimpl.h:
5274 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5275 as it's a clearer description. Remove superfluous
5278 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5280 * text.C: fix bug 488. Not ideal, but getting
5281 getWord() to work properly for the insets that
5282 matter is more difficult ...
5284 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5286 * BufferView_pimpl.C:
5289 * lyxfunc.C: remove the six million index lyxfuncs to just
5290 one, and DTRT (bug 458)
5292 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5296 * BufferView_pimpl.h:
5297 * BufferView_pimpl.C: clean up resize() stuff,
5298 and unnecessary updateScreen()s
5300 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5304 * BufferView_pimpl.h:
5305 * BufferView_pimpl.C:
5308 * minibuffer.C: remove focus management of workarea,
5309 not needed. Use screen's greyOut()
5311 2002-06-17 Herbert Voss <voss@lyx.org>
5313 * converter.C: (convert) do not post a message, when converting
5314 fails, let the calling function decide what to do in this case
5316 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5318 * lyxfunc.C: tidy up a little
5320 2002-06-16 <alstrup@diku.dk>
5322 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5323 Got rid of FORMS_H_LOCATION include. Now we are
5326 2002-06-15 LyX Development team <lyx@rilke>
5328 * buffer.[Ch] (sgmlOpenTag):
5329 (sgmlCloseTag): Added support for avoiding pernicious mixed
5330 content. Return number of lines written.
5333 (makeDocBookFile): Fixed calls to sgml*Tag.
5334 Simple white space clean.
5336 (simpleDocBookOnePar): Simple white space clean.
5338 * tabular.[Ch] (docBook): Renamed to docbook and got another
5339 argument to related with the pernicious mixed content.
5341 (docbookRow): Fixed calls for docbook inset method.
5343 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5345 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5346 so it's X11 independent.
5350 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5352 2002-06-15 Lyx Development team <lyx@electronia>
5354 * intl.h: Renamed getTrans to getTransManager.
5356 2002-06-14 Angus Leeming <leeming@lyx.org>
5358 * Makefile.am: nuke forgotten stl_string_fwd.h.
5360 2002-06-12 Angus Leeming <leeming@lyx.org>
5362 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5364 2002-06-13 Angus Leeming <leeming@lyx.org>
5367 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5369 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5371 * kbmap.C (getiso): add support for cyrillic and greek
5373 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5377 * BufferView_pimpl.h:
5378 * BufferView_pimpl.C: move bogus scrolling logic
5381 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5384 * BufferView_pimpl.C: view->resize() change
5386 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5388 * BufferView_pimpl.C: topCursorVisible
5391 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5395 * lyx_gui.C: move to frontends/
5399 * lyx_main.C: changes from above
5401 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5408 * lyx_main.C: minor tidy
5410 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5412 * BufferView_pimpl.h:
5413 * BufferView_pimpl.C:
5415 * BufferView.C: make painter() const,
5418 * BufferView2.C: use screen() accessor
5421 * lyx_main.C: some minor cleanup
5423 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5425 * BufferView_pimpl.h:
5426 * BufferView_pimpl.C: remove enter/leaveView,
5429 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5434 * BufferView_pimpl.h:
5435 * BufferView_pimpl.C: only construct screen once,
5438 * lyxrc.C: remove pointless comment
5440 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5443 * BufferView.C: remove active() and belowMouse()
5445 * BufferView_pimpl.h:
5446 * BufferView_pimpl.C: use workarea() not workarea_,
5447 and make it use a scoped_ptr instead
5449 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5451 * lyx_gui.C: add debug message on BadWindow
5453 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5455 * sp_spell.C: fdopen is not part of the C++ standard.
5457 * paragraph.C (InsetIterator): use >= instead of ==
5459 2002-06-07 Angus Leeming <leeming@lyx.org>
5461 Fixes needed to compile with Compaq cxx 6.5.
5462 * BufferView_pimpl.C:
5469 * lyxtextclasslist.C:
5474 all c-library variables have been moved into namespace std. Wrap
5475 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5480 Add a using std::abs declaration.
5482 * kbmap.h (modifier_pair):
5483 * paragraph.h (InsetTable, InsetList):
5484 * lyxfont.h (FontBits):
5485 type definition made public.
5487 * bufferlist.C (emergencyWriteAll): the compiler complains that
5488 there is more than one possible lyx::class_fun template to choose from.
5489 I re-named the void specialisation as lyx::void_class_fun.
5491 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5493 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5494 the compiler is is unable to find tostr in write_attribute.
5496 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5498 * buffer.C (sgmlError): hide #warning
5500 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5502 * xtl/*: get rid of xtl, which is not in use anyway
5504 * LyXAction.C (init):
5505 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5506 were unimplemented xtl experimentation
5508 2002-06-04 André Pönitz <poenitz@gmx.net>
5510 * lyxfunc.C: disable array operation on simple formulae
5512 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5514 * converter.C: constify a bit
5516 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5518 * lyx_gui.C: check xforms version correctly
5520 2002-04-30 Herbert Voss <voss@lyx.org>
5522 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5525 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5527 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5528 attempt to register it with a VCS)
5530 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5532 * lyx_main.C (init): honor variables LYX_DIR_13x and
5535 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5539 * lyx_main.C: fix a crash on bad command line,
5540 and give a useful exit status on error
5542 * lyxfunc.C (doImport): allow -i lyx to work
5544 2002-03-30 André Pönitz <poenitz@gmx.net>
5546 * lyxfunc.C: mathed font changes
5548 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5563 * trans_mgr.h: srcdocs, and some minor cleanups
5565 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5567 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5568 call getFont all the time)
5570 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5572 * switch from SigC signals to boost::signals
5574 2002-05-29 André Pönitz <poenitz@gmx.net>
5576 * paragraph_pimpl.C (getChar): don't call size() too often...
5578 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5580 * paragraph_pimpl.C (insertChar): do not try to update tables when
5581 appending (pos == size())
5583 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5584 in order to reduce drastically the number of comparisons needed to
5585 parse a large document
5587 2002-05-29 André Pönitz <poenitz@gmx.net>
5593 * textclasslist.[Ch]:
5594 * sp_ispell.h: whitespace change
5596 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5598 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5599 lyxaction directly now.
5601 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5605 * lyxvc.C: remove unused headers
5607 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5614 * undo_funcs.C: some cleanups. Use shared_ptr
5615 and a template for the undo stacks.
5617 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5619 * BufferView_pimpl.h:
5620 * BufferView_pimpl.C:
5627 * text2.C: use key_state/mouse_state
5629 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5631 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5634 * chset.C: change include order
5635 (loadFile): use boost regex and get rid of LRegex and LSubstring
5637 * Makefile.am (BOOST_LIBS): new variable
5640 * LaTeX.C: change include order.
5641 (scanAuxFile): use boost regex and get rid of LRegex and
5645 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5650 * FontInfo.C: moved to frontends/xforms/
5653 * FontLoader.C: moved into frontends for GUIIzation
5658 * lyxfunc.C: changes from above
5660 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5662 * LColor.C: remove spurious X include
5664 * BufferView_pimpl.C:
5669 * text2.C: move font metrics to frontends/
5671 2002-05-24 Juergen Vigna <jug@sad.it>
5673 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5674 setting the undo_cursor.
5676 * ParagraphParameters.h: include local includes first.
5678 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5680 * BufferView_pimpl.C:
5681 * BufferView_pimpl.h:
5685 * screen.C: move WorkArea into frontends/
5691 * BufferView2.C: move LyXScreen into frontends/
5695 * lyx_gui.C: move lyxlookup into frontends/xforms/
5697 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5700 * BufferView_pimpl.C:
5710 * bufferview_funcs.C:
5723 * vc-backend.C: move LyX/XFormsView into frontends/
5725 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5737 * text2.C: move Painter to frontends/
5739 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5741 * buffer.C: comment out some some code that depend upon lyx_format
5744 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5745 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5747 * buffer.h (NO_COMPABILITY): turn off compability
5749 * ColorHandler.C: include scoped_array.hpp
5751 * font.C: Use more specific smart_ptr header.
5754 * ShareContainer.h: ditto
5758 * BufferView_pimpl.h: ditto
5759 * ColorHandler.h: ditto
5761 * kbmap.C (defkey): change call to shared_ptr::reset
5763 2002-05-21 Juergen Vigna <jug@sad.it>
5765 * buffer.C (insertErtContents): fix to insert ert asis if it is
5766 non empty. Skip it completely if it contains only whitespaces.
5768 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5770 * BufferView_pimpl.C:
5771 * BufferView2.C: clear selection on paste (bug 393)
5773 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5775 * DepTable.C: include ctime
5777 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5779 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5781 2002-05-14 Juergen Vigna <jug@sad.it>
5783 * text.C (breakParagraph): fixed function to honor the keepempty
5784 layout in the right maner and also to permit the right breaking
5785 algorithm on empty or non empyt keepempty paragraphs.
5787 * paragraph.C (breakParagraph): we have to check also if the par
5788 is really empty (!size()) for isempty otherwise we do the wrong
5791 2002-05-10 Juergen Vigna <jug@sad.it>
5793 * buffer.[Ch] : The following are only changes to the ert
5794 compatibility read reading old LaTeX layout and font stuff and
5795 convert it to ERTInsets.
5797 * buffer.h: added isErtInset().
5799 * buffer.C (struct ErtComp): add a fromlayout bool to check
5800 if we're inside a LaTeX layout.
5801 (isErtInset): new helper function.
5802 (insertErtContents): look for other ert insets before this one
5803 and insert the contents there, so that we don't have subsequent
5804 ERT insets with nothing between them. This way we create only one
5805 inset with multiple paragraphs. Also check if we don't insert only
5806 spaces ' ' as they are ignored anyway afterwards in the .tex file
5807 so if we have only spaces we will ignore this latex part in the
5809 (parseSingleLyXformat2Token \\layout): better compatibility when
5810 reading layout-latex stuff.
5811 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5813 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5814 stuff after reading the inset only get the information back from
5817 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5819 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5821 * LaTeXFeatures.C (getBabelOptions): New method.
5823 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5825 * BufferView_pimpl.C (Dispatch): work around missing argument for
5828 2002-05-08 Juergen Vigna <jug@sad.it>
5830 * text.C (leftMargin): handle paragraph leftindent.
5832 * paragraph.C (writeFile): write the new \\leftindent tag.
5833 (validate): handle leftindent code.
5834 (TeXEnvironment): handle paragraphleftindent code again.
5836 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5838 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5839 for paragrap_extra indent code and new token \\leftindent.
5840 (latexParagraphs): handle the leftindent as environment.
5842 * ParameterStruct.h: added leftindent support.
5844 * ParagraphParameters.C (leftIndent): added support functions for
5845 the paragraph left indent.
5847 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5850 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5852 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5855 * text.C (computeBidiTables): No bidi in insetERT.
5857 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5860 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5862 * version.C.in: pre 5
5864 2002-05-02 José Matos <jamatos@fep.up.pt>
5865 * buffer.C (makeDocBookFile): white space changes, add newline to
5867 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5869 * tabular.C (docBook): fix typo.
5871 2002-05-03 Juergen Vigna <jug@sad.it>
5873 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5874 change in LyXText as we can not be sure it was not freed.
5875 (drawOneRow): remove unused code.
5877 * text.C (drawInset): redo the calculation of the need_break_row as
5878 it could have a row which was already freed.
5879 (draw): look at the return value of drawInset and return false if
5880 it also returned false.
5881 (paintRowText): look at the return value of draw and return false if
5882 it also returned false.
5884 * lyxtext.h: added bool return type to drawInset() and draw() so that
5885 if we have a change in the row so that the rowbreak has to be redone
5886 we abort drawing as it will be called again.
5888 2002-05-02 Juergen Vigna <jug@sad.it>
5890 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5891 a change in the maintext also if we're inside an inset.
5892 (Dispatch): set the cursor again after a break line and after the
5893 screen has been updated as it could be we're in a different row.
5895 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5896 to set the cursor behind the pargraph with > size().
5897 (setCursor): check also for the same paragraph when checking where
5898 to put the cursor if we have a NFR inset.
5900 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5901 parts of layout read further up as it still was in the wrong
5904 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5906 * screen.C (drawFromTo): change sine fullRebreak always return
5909 * buffer.C (parseSingleLyXformat2Token): reindent some
5911 * BufferView_pimpl.C (update): change since fullRebreak always
5913 (Dispatch): git rid of the last hardcoded "Standard"s.
5915 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5917 * text2.[Ch] (fullRebreak): make it return void now that we always
5920 2002-04-30 Juergen Vigna <jug@sad.it>
5922 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5923 ert compatibility check for "latex" layout.
5925 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5927 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5928 minipages: use col% instead of p%, and also use the current font.
5929 (makeLaTeXFile): Fix use babel condition.
5930 (parseSingleLyXformat2Token): Correct font when reading old floats.
5932 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5934 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5935 inserting list of floats.
5937 2002-04-25 Herbert Voss <voss@lyx.org>
5939 * MenuBackend.C (expand): don't add the graphics extensions to the
5942 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5944 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5945 non-existing layout, do not complain if it was the default layout
5946 of the original class (bug #342)
5948 2002-04-24 Juergen Vigna <jug@sad.it>
5950 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5951 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5953 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5955 * buffer.C (getBibkeyList): If using \bibliography, return the
5956 option field with the reference itself. Enables us to provide natbib
5957 support when using \bibliography.
5959 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5961 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5963 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5964 natbib is provided by the LaTeX class.
5966 2002-04-23 Juergen Vigna <jug@sad.it>
5968 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5971 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5973 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5975 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5977 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5978 ensuremath around textordmasculine, textordfeminine and
5981 2002-04-19 Juergen Vigna <jug@sad.it>
5983 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5984 reinitializing the buffer otherwise row-dimensions may be wrong.
5985 (update): reset also the selection cursors if they do exits otherwise
5986 their x/y positions may be wrong.
5988 * text2.C (cursorDown): don't enter the inset if we came from a row
5989 above and are one row over the inset.
5991 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5992 really leaving an inset.
5994 2002-04-18 Juergen Vigna <jug@sad.it>
5996 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5997 of the selected paragraph does not have the selected layout also if
6000 * text2.C (setLayout): fixed bug which did not change last selected
6003 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6004 changed the read and substituted \\end_float with \\end_inset!
6006 * BufferView_pimpl.C (cursorPrevious):
6007 (cursorNext): fixed to make it work with rows heigher than the work
6008 area without moving the cursor only the draw of the row.
6009 (workAreaMotionNotify): fix jumping over high rows.
6011 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6013 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6016 2002-04-16 Juergen Vigna <jug@sad.it>
6018 * text2.C (setCursor): set also the irow().
6019 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6021 (cursorDown): support for locking an inset if the x_fix value goes
6022 inside it. That way I can transverse insets too with cursor up/down.
6024 * lyxrow.h: added irow helper function same as other (i) functions.
6026 * BufferView_pimpl.C (cursorPrevious):
6027 (cursorNext): fixed for insets!
6029 2002-04-15 Juergen Vigna <jug@sad.it>
6031 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6032 position otherwise it is wrong in some cases.
6034 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6035 inside the inset before the call.
6037 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6039 * buffer.[Ch] (getBibkeyList): make it const.
6041 2002-04-12 Juergen Vigna <jug@sad.it>
6043 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6045 * text2.C (getCursorX): new helper function
6046 (setCursor): compute also ix_
6047 (setCursorFromCoordinates): set also ix.
6049 * lyxcursor.h: added ix_ and helper functions.
6051 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6053 * buffer.C (insertStringAsLines): dont break paragraph if the this
6054 paragraph is inside an inset which does not permit it!
6056 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6057 also with no chars on this paragraph.
6058 (paintRowText): only paint stuff if it's inside the workarea!
6060 * paragraph.C (breakParagraph): honor keepempty flag and break the
6061 paragraph always below not above.
6063 * BufferView2.C (unlockInset): update the paragraph layout on inset
6064 unlock as we changed paragraph in such a case.
6066 * lyxfind.C (LyXFind): clear the former selection if not found!
6068 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6069 again called in insertChar().
6071 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6072 an inset which uses the whole row!
6073 (rightMargin): ditto.
6074 (insertChar): force a rebreak if we inserted an inset!
6076 2002-03-28 Herbert Voss <voss@lyx.org>
6078 * lyxlength.[Ch]: add inBP() to get the right PS-point
6079 units (BigPoint). With inPixels we have rounding errors
6081 2002-04-11 Juergen Vigna <jug@sad.it>
6083 * text2.C (setCursorFromCoordinates): set iy to the right value.
6084 (setCursor): add check if row->previous exists!
6086 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6087 an old float_type as this was the case in the old code!
6089 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6091 * BufferView2.C (showLockedInsetCursor): use iy
6092 (fitLockedInsetCursor): ditto
6094 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6095 locked insets as there we have the right value now.
6097 * lyxcursor.C: added iy_ variable and iy functions to set to the
6098 baseline of cursor-y of the locked inset.
6100 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6101 (setCursor): fixed for insets which need a full row.
6103 * text.C (rowLastPrintable): don't ignore the last space when before
6104 an inset which needs a full row.
6105 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6106 as last character of a row when before a inset which needs a full row.
6108 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6110 * version.C.in: update date
6112 * text2.C (fullRebreak): try to always return true and see what
6115 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6117 * MenuBackend.C (expand): use Floating::listName
6119 * FloatList.C (FloatList): add listName argument to the built-in
6122 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6123 text associated with the float.
6125 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6127 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6129 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6131 * ShareContainer.h: add a couple of missing typenames.
6133 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6135 * lyxrc.C (getDescription): use _() correctly rather than N_().
6137 2002-03-28 Herbert Voss <voss@lyx.org>
6139 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6140 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6142 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6144 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6145 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6147 2002-03-29 Juergen Vigna <jug@sad.it>
6149 * lyxfunc.C (dispatch): add a missing fitCursor call.
6151 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6152 it was scrolled by a cursor move, so return the bool status.
6154 * BufferView.C (fitCursor): return the bool flag also to the outside
6155 world as this is needed.
6157 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6159 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6160 call the edit() as it is not needed (and wrong) IMO.
6161 (workAreaButtonPress): set the screen_first variable before evt.
6162 unlock the inset as this may change screen_first and then we have
6163 a wrong y position for the click!
6165 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6167 * MenuBackend.C (expand): another translation that I missed
6169 2002-03-28 Juergen Vigna <jug@sad.it>
6171 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6173 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6175 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6177 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6179 * MenuBackend.C (expand): fix export/view/update when there is no
6182 2002-03-27 Herbert Voss <voss@lyx.org>
6184 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6187 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6189 * bufferview_funcs.C (currentState): only show paragraph number
6190 for is DEVEL_VERSION is set.
6192 * lyxfunc.C (dispatch): put warning in INFO channel
6194 * MenuBackend.C (expand): translate the name of floats
6196 * FloatList.C (FloatList): mark the float names for translation
6198 * converter.C (convert): use LibScriptSearch
6200 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6202 * MenuBackend.C (defaults): fix default menu (we might as well get
6205 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6207 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6210 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6212 * lyxvc.C: reorder includes.
6214 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6216 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6219 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6221 * CutAndPaste.C: change layouts earlier on paste
6222 to avoid crashing when calling getFont()
6224 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6226 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6229 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6231 * WorkArea.C: remove 'Pending' debug message.
6233 * most files: ws cleanup
6235 * buffer.[Ch]: ws changes
6237 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6239 2002-03-21 Juergen Vigna <jug@sad.it>
6241 * tabular.C (SetMultiColumn): collapse also the contents of the
6242 cells and set the last border right. Added a Buffer const * param.
6244 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6246 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6249 2002-03-19 Juergen Vigna <jug@sad.it>
6251 * text2.C (clearSelection): reset also xsel_cache.
6253 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6254 where it needs to be called (John tells us to do so too :)
6255 (selectionLost): reset sel_cache.
6257 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6259 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6261 * text2.C (setCursorIntern): put debuging code in INSETS channel
6263 2002-03-19 André Pönitz <poenitz@gmx.net>
6265 * lyxfunc.C: tiny whitespace change
6267 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6269 * ToolbarDefaults.C (init):
6270 * LyXAction.C (init):
6272 * BufferView_pimpl.C (Dispatch):
6273 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6275 2002-03-19 Allan Rae <rae@lyx.org>
6277 * exporter.C (Export): removeAutoInsets before doing anything else.
6278 While I've just introduced a dependency on BufferView this really is
6279 the best place to clean the buffer otherwise you need to cleanup in
6280 a dozen places before calling export or cleanup in a dozen functions
6283 * converter.C (runLaTeX):
6284 (scanLog): Better handling of removeAutoInsets and screen updates.
6286 * lyxfunc.C (dispatch): small whitespace changes
6288 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6290 * WorkArea.C (C_WorkAreaEvent): return a value.
6291 (event_cb): return 1 if we handled the event, 0 otherwise.
6293 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6295 2002-03-18 Juergen Vigna <jug@sad.it>
6297 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6298 (GetAdditionalWidth): ditto.
6302 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6303 inset if we're there actually (probably not used right now but this
6304 is the direction to go for unifying code).
6305 (paste): disable code to clear the selection.
6307 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6308 inside an InsetText and move the check further up as it is in the
6311 * text2.C (pasteSelection): set a selection over the pasted text.
6313 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6315 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6316 and libgraphics to build on Cygwin.
6318 2002-03-15 Juergen Vigna <jug@sad.it>
6320 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6321 inserting an Inset into the paragraph. I know this is not the best
6322 fix but we already use current_view in CutAndPaste so we will remove
6323 all of it's using at the same time.
6325 * buffer.C (sgmlError): deactivated function till it is rewritten in
6326 the right mode, now it can create problems.
6328 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6329 before accessing it.
6331 2002-03-14 Juergen Vigna <jug@sad.it>
6333 * undo_funcs.C (textHandleUndo): do the right thing when updating
6334 the inset after the undo/redo.
6336 * text2.C (setCursor): just some testcode for #44 not ready yet.
6338 * undo_funcs.C (textHandleUndo): set the next() and previous()
6339 pointers of the paragraph to 0 before deleting otherwise we have
6340 problems with the Paragraph::[destructor].
6342 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6343 on a paragraph insertion.
6345 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6347 * buffer.C (asciiParagraph): use += operator for char append to
6350 * paragraph.C (getFontSettings): compare >= not just >
6351 (highestFontInRange): ditto
6354 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6356 * paragraph.C: change several algorithm to be more appripriate for
6357 the problem domain. This is lookip in FontList and in the InsetList.
6359 2002-03-13 André Pönitz <poenitz@gmx.net>
6362 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6364 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6369 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6371 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6373 * Painter.C (display): anon helper function, adjust code for this
6375 (pixmap): remove function.
6377 * Painter.h: remove private display variable.
6379 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6381 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6383 * WorkArea.[Ch]: remove figinset_canvas cruft.
6385 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6387 * lyxtextclass.C (operator): add one item cache optimization.
6389 * bufferlist.h: doxy changes
6391 * bufferlist.C: ws changes
6393 * DepTable.[Ch] (ext_exist): place const in the right spot.
6395 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6397 (workAreaExpose): call resizeInsets when the with BufferView changes.
6398 (Dispatch): adjust for protectedBlank removal
6399 (specialChar): call updateInset if the insert went ok.
6401 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6402 specialChar instead.
6404 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6406 * BufferView.h: doxy change
6408 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6410 * lyxtextclass.C (operator[]): remove non-const version
6411 (defaultLayout): remove non-const version
6413 2002-03-12 Juergen Vigna <jug@sad.it>
6415 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6416 did resize the LyXText too.
6418 * buffer.C (readLyXformat2): set layout information on newly allocated
6421 * tabular.C (OldFormatRead): set layout information on the paragraph.
6423 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6425 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6427 2002-03-11 Juergen Vigna <jug@sad.it>
6429 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6431 (resizeCurrentBuffer): force also the insets to resize themselfes.
6432 (moveCursorUpdate): fixed up for InsetText.
6434 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6437 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6438 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6439 value of Dialogs::tooltipsEnabled().
6440 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6442 2002-03-08 Juergen Vigna <jug@sad.it>
6444 * BufferView_pimpl.C (updateInset): update inset inside inset also
6445 if it isn't inside theLockingInset().
6447 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6449 * buffer.C (asciiParagraph): redo some of the word and line length
6451 (getLists): look for Caption instead of caption.
6453 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6455 * buffer.C (Buffer): initialize niceFile to true
6458 (makeDocBookFile): make sure niceFile is true on exit
6460 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6462 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6464 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6466 * LyXSendto.C: remove.
6467 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6468 * lyx_gui.C: remove now-redundant comment.
6469 * ColorHandler.h: remove forward declaration of class WorkArea.
6470 * lyxfunc.C: remove #include "WorkArea.h".
6472 2002-03-07 Juergen Vigna <jug@sad.it>
6474 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6475 got moved away with the DEPM and also set the inset_owner always
6476 right which before could have been omitted.
6478 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6480 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6481 wanted layout is not found.
6483 2002-03-07 Juergen Vigna <jug@sad.it>
6485 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6487 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6489 * paragraph.C (breakParagraph): use default layout not layout of
6491 (Paragraph): clear ParagraphParameters.
6493 2002-03-06 Juergen Vigna <jug@sad.it>
6495 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6496 otherwise it would not be a valid lenght. Fixed a special case in
6497 the minipage compatibility read where we end the document with a
6500 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6501 was set as it could be 0 for InsetTexts first entry.
6503 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6505 * paragraph.C (writeFile): if layout is empty write out
6506 defaultLayoutName().
6508 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6509 file without named layout we set layout to defaultLayoutName().
6511 2002-03-06 Juergen Vigna <jug@sad.it>
6513 * CutAndPaste.C (copySelection): set layout for new paragraph.
6515 * text.C (prepareToPrint): leave ERT inset left aligned
6516 (leftMargin): don't indent paragraphs inside ERT insets
6518 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6520 * paragraph.C (breakParagraph): dont call clear do the work manually
6522 * paragraph.[Ch] (clear): remove function
6524 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6526 * paragraph.C (Paragraph): dont call clear, the work has already
6529 * lyxtextclass.C (operator): assert if n is empty
6531 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6532 work manually instead.
6534 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6536 * BufferView_pimpl.C: protect selectionLost against text == 0
6538 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6540 * text.C (breakParagraph): fix a setting layout to '0' problem.
6542 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6544 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6545 final location of file, for the included files, and graphics.
6547 2002-03-05 Juergen Vigna <jug@sad.it>
6549 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6551 2002-03-04 Juergen Vigna <jug@sad.it>
6553 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6555 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6556 last column of multicolumn cells.
6557 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6559 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6561 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6562 file if it doesn't go to a temporary file.
6564 * buffer.C (sgmlOpenTag):
6565 (sgmlCloseTag): remove extra newline insertion.
6567 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6569 * text.C (getRowNearY): comment out debug msg
6571 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6573 * text2.C: first -> first_y
6575 * text.C (getRowNearY): add some attemts at a possible
6576 optimization, not working.
6578 * tabular.[Ch]: add BufferParams to several function so that newly
6579 created paragraph can be initialized to he default layotu for the
6582 * tabular-old.C (ReadOld): add buf->params to call of Init
6584 * screen.C: rename text->first to text->first_y
6586 * paragraph.C (breakParagraph): always set layout in the broken
6589 * lyxtextclass.C (Read): remove lowercase
6592 (delete_layout): ditto
6594 * lyxtext.h: rename first -> first_y
6596 * lyxlayout.C (Read): remove lowercase
6599 (obsoleted_by): ditto
6601 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6603 * buffer.C (insertErtContents): add params are to InsetERT
6604 (parseSingleLyXformat2Token): add code to check if a paragraphs
6605 layout really exist.
6606 (parseSingleLyXformat2Token): add params to several inset
6608 (asciiParagraph): remove lowercase, do the layout comparisons with
6611 * BufferView_pimpl.C (cursorNext): first -> first_y
6612 (resizeCurrentBuffer): first -> first_y
6613 (updateScrollbar): first -> first_y
6614 (scrollCB): first -> first_y
6615 (workAreaMotionNotify): first -> first_y
6616 (workAreaButtonPress): first -> first_y
6617 (checkInsetHit): first -> first_y
6618 (cursorPrevious): first -> first_y
6619 (cursorNext): first -> first_y
6620 (Dispatch): add buffer_->params to severl inset contructors
6622 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6624 * lyxlayout.C (Read): remove some debug info that I forgot.
6626 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6627 clean up the code slightly.
6628 (makeLinuxDocFile): ditto
6629 (makeDocBookFile): ditto
6631 * text2.C: layout as string
6633 * text.C: layout as string
6635 * paragraph_pimpl.C: layout as string
6637 * paragraph.[Ch]: layout as string
6639 * lyxtextclasslist.[Ch]: layout as string
6641 * lyxtextclass.[Ch]: layout as string
6643 * lyxtext.h: layout as string
6645 * lyxlayout.[Ch]: layout as string
6647 * lyx_cb.C: layout as string
6649 * bufferview_funcs.C: layout as string
6651 * bufferparams.C: layout as string
6653 * buffer.C: layout as string
6655 * LyXView.[Ch]: layout as string
6657 * LaTeXFeatures.[Ch]: layout as string
6659 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6661 * BufferView_pimpl.C: change current_layout to string, remove
6666 (workAreaButtonRelease): layout as string
6668 * BufferView2.C (unlockInset): adjust
6670 * vspace.C (asLatexCommand): use an explict temp variable.
6672 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6674 * Makefile.am: use FRONTEND_*
6676 2002-03-01 Juergen Vigna <jug@sad.it>
6678 * tabular.C (SetWidthOfMulticolCell): changed to something better
6679 I hope but still work in progress.
6680 (recalculateMulticolumnsOfColumn): renamed function from
6681 recalculateMulticolCells as it is more appropriate now.
6682 (SetWidthOfCell): calculate multicols better.
6684 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6686 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6688 * lyxfunc.C (processKeySym): print sequence also if it is
6689 `deleted' (complete)
6691 * kbsequence.C (print): print sequence even if it is deleted
6692 (complete would be a better word, actually).
6694 * lyxfunc.C (dispatch): print complete options after a prefix key
6696 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6698 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6700 * text2.C (setCharFont): eliminate setCharFont code duplication.
6702 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6704 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6705 LFUN_TABULAR_FEATURE (bug #177)
6707 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6709 * Makefile.am: remove figure.h
6711 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6713 * Bufferview_pimpl.C:
6725 * text2.C: remove #include "lyx_gui_misc.h".
6727 * LaTeX.C: added #include <cstdio>
6729 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6731 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6732 that the paragraph following this one can have.
6734 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6736 * vspace.C (asLatexCommand): fix bogus gcc warning
6738 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6740 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6742 * text2.C (setLayout): get rid of redundant code
6744 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6746 * text2.C (incDepth): make sure depth cannot be increased beyond
6749 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6751 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6752 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6754 * PainterBase.h (image):
6755 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6758 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6762 * BufferView_pimpl.C:
6763 * BufferView_pimpl.h:
6783 * sp_spell.C: remove fig inset, and the crap house of
6784 cards that follows it
6786 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6792 * nt_defines.h: move .h into support/
6794 * vms_defines.h: remove
6796 * WorkArea.C: add space in debug output
6800 * buffer.C: add WITH_WARNINGS
6804 * bufferlist.C: s/retrive/retrieve/, add docs
6815 * lyxgui.C: add ID to X error handler
6817 * lyxtestclass.c: fix typo
6819 2002-02-26 Juergen Vigna <jug@sad.it>
6821 * tabular_funcs.C (write_attribute): changed so that some default
6822 attributes are not written at all.
6823 (getTokenValue): set default values before trying to read the
6824 value so we have the return value always set as default if we don't
6825 find the token we search for.
6827 * tabular.C (Write): write bools as bools not as strings!
6829 2002-02-22 Juergen Vigna <jug@sad.it>
6831 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6832 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6834 * text.C (leftMargin): don't add an indent for paragraphs inside
6835 tabular cells (fix #208).
6837 2002-02-21 José Matos <jamatos@fep.up.pt>
6839 * tabular.C (docBook): fixed support for long tables.
6841 2002-02-20 Juergen Vigna <jug@sad.it>
6843 * text2.C (getFont): get the drawing font of the Inset if this
6844 paragraph is inside an inset (only important for InsetERT for now).
6846 * buffer.C (insertErtContents): use new lanugage params in ERT
6849 * CutAndPaste.C: commenting out seemingly uneeded code.
6851 2002-02-19 Allan Rae <rae@lyx.org>
6853 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6854 Iterators might be simple to use but they also get invalidated.
6855 (removeAutoInsets): renamed saved cursor tracking variables and added
6856 some comments to clarify what everything does.
6858 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6865 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6866 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6869 * vc-backend.h: remove #include "support/syscall.h"
6873 * converter.C: rearrange #includes in Lars' approved fashion.
6875 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6876 forward declare class Timeout in the header file.
6878 * XFormsView.C: changes due to the above.
6880 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6883 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6884 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6886 2002-02-18 José Matos <jamatos@fep.up.pt>
6888 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6891 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6893 * a lot of small ws changes
6894 * add a lot of using std::XXX
6895 * use std construcs some places where approp.
6896 * use some exisint stuff from lyxfunctional where approp.
6897 * Make file changes to use partial linking (lets test this now...)
6899 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6903 remove #include "support/syscontr.h" as it's redundant. Always has been.
6911 change Systemcalls::System to Systemcalls::Wait and
6912 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6913 No change of functionality, just reflects the stripped down Systemcalls
6916 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6918 * debug.[Ch]: add a GRAPHICS type to the enum.
6920 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6922 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6924 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6927 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6929 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6930 match the changes below.
6932 * text2.C (toggleInset): if there is not editable inset at cursor
6933 position, try to see if cursor is _inside_ a collapsable inset
6936 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6938 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6939 document menu has a nice checkbox
6941 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6943 * lyxlength.C (asLatexString): change PW to output as percent of
6946 * lengthcommon.C: change '%' to 't%'
6948 * lyxfunc.C (dispatch): a few comments from Martin
6950 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6954 * BufferView_pimpl.h:
6955 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6958 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6960 * vspace.C (inPixels): fix compiler warning
6962 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6964 * lyxfunc.C (getStatus): fix status message for disabled commands.
6966 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6968 * BufferView_pimpl.C: fix crash on close buffer
6969 during selection (#227)
6971 2002-01-27 Herbert Voss <voss@lyx.org>
6973 * buffer.C: link old Figure to new graphic inset
6975 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6977 * FontLoader.C (getFontinfo): Change the latex font names in order
6978 to match the names of type1inst.
6980 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6982 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6984 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6987 (remove_files_with_extension): ditto
6988 (remove_file): ditto
6991 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6992 document is smaller than the work area height. Do not initialize
6993 static variables to 0.
6995 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6997 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6999 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7000 LFUN_LAYOUT_PARAGRAPHS.
7002 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7003 tabular. It is possible to provide a possible cell, which will
7004 typically be the actcell from the corresponding insettabular
7006 * lyxfunc.C (getStatus): small cleanup; disable
7007 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7010 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7012 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7014 * paragraph.C (startTeXParParams):
7015 (endTeXParParams): new methods. The LaTeX code to
7016 start/end paragraph formatting
7017 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7018 empty (fixes bug #200)
7020 * vspace.C (inPixels): adapt to the change below
7021 (inPixels): [later] more cleanups (remove unused variables)
7023 * lyxlength.C (inPixels): change to use a width and a height as
7026 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7028 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7029 Replaced with \paperwidth
7031 * DepTable.C (insert): add std:: qualifier
7033 2002-01-18 Allan Rae <rae@lyx.org>
7035 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7038 * text.C (drawInset): Turned out I didn't know enough about how
7039 rebreaking worked. This fixes most of the redraw problems. I see
7040 an occasional cursor trail when a line is broken now and the cursor
7041 placement can seem out by a few pixels also after a rebreak.
7043 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7045 * buffer.C (parseSingleLyXformat2Token): update because minipage
7046 width is now a LyXLength
7048 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7050 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7053 2002-01-17 Juergen Vigna <jug@sad.it>
7055 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7057 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7058 is set correctly and the inset is updated correctly.
7060 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7062 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7063 the beginning of the loop.
7065 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7067 * lyxrc.C: improve help for use_scalable_fonts
7069 2002-01-17 Allan Rae <rae@lyx.org>
7071 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7073 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7075 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7076 make sure to set their inset_owner to the right value (bug #171)
7078 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7081 * DepTable.C: Implement mtime checking to reduce time spent doing
7084 2002-01-16 Juergen Vigna <jug@sad.it>
7086 * tabular.C (GetAdditionalHeight): one of error fixed.
7088 * lyxrc.C (output): small fix in writing use_pspell.
7090 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7092 * sp_base.h: #include LString.h
7094 2002-01-16 Allan Rae <rae@lyx.org>
7096 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7097 Can someone check this please?
7099 * text.C (drawInset): It was possible that p.row would be removed by
7100 breakAgainOneRow upsetting a few other settings. There may be another
7101 small tweak possible by setting need_break_row = 0 when p.row has been
7102 removed but I don't know enough about the logic here.
7104 2002-01-15 Allan Rae <rae@lyx.org>
7106 * text.C (insertChar): removed conditional truism.
7108 * BufferView2.C (removeAutoInsets): More tweaks.
7109 cur_par_prev could be a stray pointer. Check for trailing empty line
7110 in case last line was cur_par and only had an error inset on it.
7112 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7114 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7117 * vc-backend.C (most methods):
7118 * exporter.C (Export):
7119 * converter.C (convert):
7121 * LyXSendto.C (SendtoApplyCB):
7122 * lyxfunc.C (dispatch):
7126 * lyx_cb.C (AutoSave):
7128 * BufferView_pimpl.C (MenuInsertLyXFile):
7129 * buffer.C (runChktex): use Buffer::filePath().
7131 * buffer.h: rename filename to filename_; rename filepath to
7132 filepath_ and make it private
7133 (filePath): new method
7135 * buffer.C (writeFile): use fileName()
7138 * lyx_main.C (init): fix starting of LyX when the binary is a
7139 link from so,ewhere else.
7141 * minibuffer.C: include <cctype> for isprint
7143 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7145 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7146 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7147 name clash with InsetCollapsable's width function.
7149 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7151 * lastfiles.C: include <iterator>
7153 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7155 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7158 * buffer.C (makeLaTeXFile): ditto.
7159 Also make loop operation more transparent.
7161 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7163 * ToolbarDefaults.C: remove trailing comma closing namespace.
7165 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7167 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7170 * trans.C (Load): comment out unused variable, allowed.
7172 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7174 * minibuffer.[Ch] (append_char): new method to recieve input from the
7175 drop-down completion browser. If a key was pressed, then recieve this
7176 char and append it to the existing string.
7177 (peek_event): modify the positioning data passed to the completion
7178 browser so that it can be placed above the minibuffer rather than below.
7179 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7181 * LyXAction.C (init): alloe error-next for readonly documents.
7183 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7186 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7188 * bufferlist.C (readFile): create the buffer _after_ checking that
7191 * lyxfunc.C (verboseDispatch): fix handling of arguments
7193 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7195 * lyxrc.C: use string::erase() instead of initializing to "".
7198 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7200 * BufferView_pimpl.h:
7201 * BufferView_pimpl.C:
7204 * text2.C: tell X when we have made a selection for copying
7206 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7208 * BufferView_pimpl.C (MenuInsertLyXFile):
7209 * lyxfunc.C (menuNew):
7211 (doImport): add shortcuts to directory buttons
7213 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7216 * lyxfunc.C (setStatusMessage):
7217 (getStatusMessage): new methods
7218 (getStatus):use setStatusMessage instead of setErrorMessage
7219 (dispatch): when function is disabled, set error message here
7220 [instead of in getStatus previously]
7222 * BufferView_pimpl.C (workAreaButtonRelease): update
7223 toolbar/menubar here too.
7225 2002-01-13 Allan Rae <rae@lyx.org>
7227 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7228 Now seems indestructible. Remaining task is to audit all other
7229 code affected by deleteEmptyParagraphMechanism. One small quirk
7230 left is that an empty document with an error in the preamble can
7231 be made to report an error but no error box appears. I don't know
7233 (removeAutoInsets): Improved comments.
7235 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7238 * Thesaurus.C: update for Aiksaurus 0.14
7240 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7242 * text2.C (firstParagraph): removed member function, all uses
7243 replaces with ownerParagraph
7244 (redoParagraphs): here
7246 (toggleAppendix): here
7247 * BufferView2.C (insertErrors): here
7248 (setCursorFromRow): here
7250 2002-01-13 Allan Rae <rae@lyx.org>
7252 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7253 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7254 There is still a way to segfault this although you may have to do this
7255 multiple times: Have an InsetERT with an unknown command in it.
7256 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7257 <down-arrow>, <Enter> again, View->DVI, BANG!
7259 * text2.C (setCursor):
7260 (deleteEmptyParagraphMechanism):
7261 * lyxtext.h (setCursor):
7262 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7263 Making use of the return value may help fix other bugs.
7265 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7267 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7269 * LyXView.C (updateMenubar): call MenuBar::update here
7270 (updateToolbar): but not here
7271 (showState): do not update toolbar/menubar
7273 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7274 should need to care about that.
7276 * lyxfunc.C (verboseDispatch): simplify a bit
7277 (getStatus): have a version which takes a pseudoaction, and
7278 another which requires a (kb_action,string).
7280 * LyXAction.C (retrieveActionArg): make it work also when action
7281 is not a pseudo-action.
7282 (getActionName): simplify a bit
7285 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7287 * lyxfunc.C (verboseDispatch): new families of methods with
7288 several ways to specify a command and a bool to indicate whether
7289 the command name and shortcut should be displayed in minibuffer
7290 (eventually, we could extend that to a finer bitmask like
7291 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7292 (dispatch): the pristine dispatch command which just, well,
7293 dispatchs! Note it still sets its result to minibuffer; I'm not
7296 * lyxfunc.h: remove setHintMessage
7298 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7300 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7302 * BufferView_pimpl.C (specialChar): delete new inset if we have
7303 not been able to insert it.
7305 * kbmap.C: revert to using int instead of kb_action, since all we
7306 are dealing with is pseudo-actions.
7308 * LyXAction.C (searchActionArg): change to return int instead of
7309 kb_action, since the result is a pseudoaction.
7311 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7313 * buffer.C (insertErtContents): Fix (partially) the font bug.
7315 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7317 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7318 as the other one is broken on my machine!
7320 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7323 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7325 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7327 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7328 reflect their actual use. Provide compatibility code for older lyxrc
7331 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7333 change names of popup font variables in line with the changes to lyxrc.C
7335 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7337 * buffer.C (asciiParagraph): avoid outputing a word twice after
7340 * lyxrc.C (getDescription): document that document_path and
7341 template_path can be empty.
7343 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7345 * LaTeXFeatures.C (getMacros):
7346 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7348 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7350 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7352 (getPackages): rename feature "floats" to "float". Use an array to
7353 iterate over 'simple' features (i.e. just a \usepackage). Add
7354 handling of "amsmath" (renamed from "amsstyle").
7356 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7358 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7361 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7363 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7364 FuncStaus::FuncStatus & FuncStaus::some_method().
7366 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7368 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7369 of the func_satus stuff. Edited and massaged in various ways by
7372 * lyxfunc.C (getStatus): use FuncStatus
7374 2002-01-08 Juergen Vigna <jug@sad.it>
7376 * text.C (nextBreakPoint): use function Inset::isChar().
7378 * paragraph.C (TeXOnePar): use function
7379 Inset::forceDefaultParagraphs.
7381 * buffer.C (latexParagraphs): use function
7382 Inset::forceDefaultParagraphs.
7384 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7386 * lyx_gui.C (init): set the style of the menu popups to
7387 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7389 2002-01-07 Juergen Vigna <jug@sad.it>
7391 * text.C (setHeightOfRow): small fix
7392 (prepareToPrint): don't look at alignment if we don't have the place
7395 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7397 * box.C: New file. Move the Box methods and functions out of box.h,
7398 following Lars' suggestion.
7400 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7402 * box.h: #include "support/LOstream.h", needed for inlined function.
7405 * lyxtextclasslist.C: added some using std declarations.
7407 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7409 * box.h: make signed dimensions to allow insets wider than
7410 the screen (bug #162)
7412 * BufferView_pimpl.C: add some insetHit debug
7414 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7416 * vc-backend.C: add FIXME
7418 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7420 * lyxfunc.C (getStatus): enable code for showing math font status
7423 2002-01-07 Juergen Vigna <jug@sad.it>
7425 * text.C (nextBreakPoint): removed debug output not needed anymore.
7427 2002-01-06 Juergen Vigna <jug@sad.it>
7429 * text.C (nextBreakPoint): fixed up this function we had this bug
7430 since ever but now hopefully we break row better.
7431 (insertChar): we have to check if an inset is the next char as it
7432 could now happen that a large inset is causing a break.
7434 2002-01-05 Juergen Vigna <jug@sad.it>
7436 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7437 if it doesn't like to be drawed.
7439 2002-01-04 Juergen Vigna <jug@sad.it>
7441 * BufferView2.C (lockInset): forgot to set a cursor.
7443 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7445 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7450 * form_maths_panel.C:
7451 * form_maths_panel.h:
7452 * form_maths_panel.fd: implemented sub- and super- buttons in math
7455 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7456 (or ^ space) to be used as in TeX (req'd by André).
7458 * lyxfunc.C: Allow ^ and _ again to be used both as
7459 super/subscript (mathed) and as themselves (in text).
7461 2002-01-03 Allan Rae <rae@lyx.org>
7463 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7464 "LyX" or the filename of the current buffer if it has one. This is a
7465 modified form of John Levon's patch.
7467 * XFormsView.C (setWindowTitle): also set icon title.
7469 * LyXView.h (setWindowTitle): signature changed.
7470 * XFormsView.h (setWindowTitle): ditto.
7472 2002-01-02 Juergen Vigna <jug@sad.it>
7474 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7476 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7478 * screen.C (topCursorVisible): introduce a temp var for
7479 text->cursor.row(), handle the case where this row is null. (kindo
7482 * text2.C (setCursor): add a couple of asserts.
7484 * paragraph.h (inset_iterator): add -> operator
7486 * paragraph.[Ch] (autoDeleteInsets): remove member function
7488 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7489 cursor pos correctly and handle inset deletion by itself.
7490 (insertErrors): move iterator declaration out of for expression
7492 * lyxtextclass.C: add <algorithm>
7494 * Makefile.am: added the new files to sources, removed layout.C
7496 * layout.C: removed file
7498 * layout.h: remove LYX_DUMMY_LAYOUT
7500 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7504 * lyxtextclass.[Ch]:
7505 * lyxtextclasslist.[Ch]: new files
7507 * include order changes to a lot of files, also changes because of
7510 2001-12-27 Juergen Vigna <jug@sad.it>
7512 * buffer.C (asciiParagraph): more fixes.
7514 * tabular.C (ascii): make ascii export support export of only the
7515 data separated by a column-delimiter.
7516 (ascii): better support for ascii export.
7518 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7520 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7522 * tabular_funcs.C: use a "using std::getline" instead of the
7523 previous fix from Angus (necessary for cxx + lyxstring)
7525 2001-12-24 Juergen Vigna <jug@sad.it>
7527 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7529 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7530 problems. First check a minipage also if we have some ert-contents
7531 (not only on par->size(), second set the right depth of the paragraph
7532 on the relink to the root-paragraph-list!
7534 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7535 which then did not anymore update the main paragraphs on undo/redo!
7537 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7539 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7540 code. Support all font-changing funcs (even those which are not in
7541 menu currently). Support for reporting font settings in
7542 mathed (disabled until Andre provides a function on mathed's side).
7544 * func_status.h (toggle): small helper function to set toggle
7547 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7549 * tabular_funcs.C: getline -> std::getline
7551 2001-12-21 Juergen Vigna <jug@sad.it>
7553 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7554 accessed and could be 0 (I couldn't generate this but it seems
7557 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7559 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7560 * tabular_funcs.h: here and include iosfwd
7562 2001-12-20 Juergen Vigna <jug@sad.it>
7564 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7565 inside inset but undo_par was.
7567 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7569 * Thesaurus.C: always include <config.h> in sources.
7573 * box.h: do not include <config.h> in header files
7575 * text.C (paintLastRow): remove unused variable
7577 * text.C (transformChar):
7579 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7582 * font.C (width): rewrite to use uppercase() instead of
7585 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7587 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7589 * lyxfind.C: clean up of find failure position change
7591 2001-12-20 Juergen Vigna <jug@sad.it>
7593 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7595 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7596 (TeXRow): added to LaTeX a single tabular row.
7597 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7598 (Latex): simplified and finally good LT-h/f support.
7599 (various_functions): just small adaptions for LT-h/f support.
7601 * tabular_funcs.[hC]: added and moved here all not classfunctions
7604 2001-12-19 Juergen Vigna <jug@sad.it>
7606 * tabular.[Ch]: better support for longtabular options (not finished
7609 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7611 * text.C (paintLastRow): use the label font instead of the font of
7612 the last character to compute the size of *_BOX. This makes more
7613 sense and avoids a crash with empty paragraphs.
7614 Use Painter::rectangle to draw EMPTY_BOX.
7616 2001-12-19 Juergen Vigna <jug@sad.it>
7618 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7619 the paragraphs if the replaced paragraph is not the first one!
7620 Tried to delete not used paragraphs but does not work yet so for
7621 now it's inside #ifdef's and by default off!
7623 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7625 * MenuBackend.C: include "lyx_main.h" instead of declaring
7626 lastfiles (actually was declared as LastFiles* instead of a
7629 2001-12-17 Juergen Vigna <jug@sad.it>
7631 * tabular.C (AppendColumn): applied John's fix
7633 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7637 * BufferView_pimpl.h:
7638 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7641 * box.h: new start of class for above
7643 * lyxfunc.C: ignore space-only minibuffer dispatches.
7644 Show the command name when it doesn't exist
7646 * minibuffer.C: don't add empty lines to the history
7648 * minibuffer.C: add a space on dropdown completion
7650 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7652 * text.C: fix line above/below drawing in insets
7654 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7656 * lyxlength.C (LyXLength): Initialize private variables.
7658 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7660 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7661 when inserting error insets.
7663 2001-12-13 Juergen Vigna <jug@sad.it>
7665 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7666 actually sometimes the before-paragraph.
7667 (setUndo): don't clear the redostack if we're not actually undoing!
7669 2001-12-06 Juergen Vigna <jug@sad.it>
7671 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7672 and fixed redoing of main paragraph, so we can use it now ;)
7674 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7676 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7678 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7681 2001-12-13 André Pönitz <poenitz@gmx.net>
7684 * undo_func.C: minor cleanup
7686 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7688 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7689 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7690 font in urw-fonts package which is marked as -urw-fontspecific and
7691 does not work (incidentally, changing the encoding in the
7692 fonts.dir of this package to -adobe-fontspecific fixes the
7695 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7696 is a crash when undoing first paragraph (Juergen, please take a
7697 look). THis does not mean the undo fix is wrong, just that it
7700 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7701 the (Paragraph*) version when needed instead of duplicating the
7704 * text.C (workWidth): use Inset::parOwner to find out where the
7705 inset has been inserted. This is a huge performance gain for large
7706 documents with lots of insets. If Inset::parOwner is not set, fall
7707 back on the brute force method
7709 * paragraph_pimpl.C (insertInset):
7710 * paragraph.C (Paragraph):
7711 (cutIntoMinibuffer): set parOwner of insets when
7712 inserting/removing them
7714 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7716 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7722 * mathed/formulabase.C:
7723 * mathed/math_cursor.[Ch]:
7724 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7727 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7729 * lyxlength.[Ch] (operator!=): new function
7731 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7733 * text.C (workWidth): use Inset::parOwner to find out where the
7734 inset has been inserted. This is a huge performance gain for large
7735 documents with lots of insets. If Inset::parOwner is not set, fall
7736 back on the brute force method
7738 * paragraph_pimpl.C (insertInset):
7739 * paragraph.C (Paragraph):
7740 (cutIntoMinibuffer): set parOwner of insets when
7741 inserting/removing them
7743 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7745 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7747 * tabular-old.C (getTokenValue):
7748 * tabular.C (getTokenValue):
7749 (write_attribute): new versions for LyXLength
7750 (everywhere): adjust the use of widths
7752 * tabular.h: change the type of widths from string to LyXLength
7754 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7756 * paragraph.C: fixed missing line number count when exporting
7757 Environments to LaTeX file
7759 * buffer.C: added informational message for checking line numbers.
7761 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7763 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7764 paragraph, do the 'double space' part, but not the 'empty
7767 * text.C (workWidth): small optimization
7768 (getLengthMarkerHeight): use minimal size for negative lengths.
7770 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7772 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7774 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7776 2001-12-11 André Pönitz <poenitz@gmx.net>
7779 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7781 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7783 * text2.C: keep selection on a setFont()
7785 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7787 * lyx_cb.C: another bv->text misuse, from insert label
7789 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7792 * kbsequence.C: re-instate nmodifier mask
7794 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7796 * lyx_main.h: make lyxGUI private.
7798 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7800 * lyxfind.C: place the cursor correctly on failed search
7802 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7804 * text.C (getLengthMarkerHeight): for small heights, the arrows
7805 are not always on top/bottom of the text
7806 (drawLengthMarker): smaller arrows; take the left margin in
7807 account; draw also vfills.
7809 (paintLastRow): remove special code for vfill and standard spaces,
7810 since everything is handled in drawLengthMarker now.
7812 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7814 * buffer.C (insertErtContents): try to handle font and language
7815 interaction a bit better.g
7817 * ColorHandler.C (updateColor): change the hash to cover the whole
7818 LColor enum, ws cleanup
7819 (getGCLinepars): ditto
7820 (getGCLinepars): only lookup in the linecache once.
7822 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7824 * iterators.C (operator++): Make the iterator more robust
7826 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7828 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7830 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7833 * text.C: better added space drawing
7835 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7838 * BufferView2.C: fix layout combo update on inset unlock
7840 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7842 * Makefile.am: don't compile unused files
7844 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7848 * LyXAction.C: remove old LFUN_LAYOUTNO
7850 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7852 * paragraph_pimpl.h:
7853 * paragraph_pimpl.C: isTextAt() doesn't need font param
7855 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7858 * lyxlex.C: little cleanup
7860 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7862 * BufferView_pimpl.C: fix insertAscii for insets
7864 2001-12-05 Juergen Vigna <jug@sad.it>
7866 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7867 set the right font on the "multi" paragraph paste!
7869 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7875 * lyxlength.C: remove out-commented code.
7891 * vc-backend.C: change "while(" to "while ("
7893 * lyxlength.[Ch]: add zero function to check if length is zero or
7895 * lyxgluelength.C: use it
7897 2001-12-05 Allan Rae <rae@lyx.org>
7899 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7900 Works for 2.95.3, from what I understand of Garst's reports this should
7901 work for other g++ versions. We're screwed if the abs(int) definition
7902 changed between bugfix releases of gcc.
7904 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7906 * text.C: fix chapter label offset !
7908 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7911 * text.C: fix hfill at end of line, clean up
7913 2001-12-04 Juergen Vigna <jug@sad.it>
7915 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7916 that we force an update of the inset and it's owners if neccessary.
7918 2001-12-03 Juergen Vigna <jug@sad.it>
7920 * text.C (rowLast): simplified code
7922 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7924 * lyxfunc.C: fix show options on timeout
7926 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7928 * screen.C (topCursorVisible): scroll half a page when the cursor
7929 reached top of bottom of screen
7931 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7933 * minibuffer.C: deactivate on loss of focus
7935 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7937 * vspace.[Ch] (operator!=): add operator.
7939 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7941 * BufferView_pimpl.C: refuse to open an inset when
7942 there's a selection.
7944 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7946 * BufferView_pimpl.C: allow to click on RHS of full row insets
7948 2001-11-30 Juergen Vigna <jug@sad.it>
7950 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7951 insets for undo reasons.
7953 2001-11-28 André Pönitz <poenitz@gmx.net>
7955 * vspace.[Ch]: cosmetical changes
7957 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7967 * kbsequence.C: part re-write of old kb code
7970 * WorkArea.C: remove Lgb_bug_find_hack
7972 2001-11-30 José Matos <jamatos@fep.up.pt>
7974 * buffer.C (makeDocBookFile): add a comment to point a hack.
7975 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7976 Fixed a double write of labels.
7978 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7981 * LaTeX.h Fixed bug in LaTeX class where it would not
7982 re-run latex if no depfiles were changed, but the .dvi was removed.
7984 2001-11-28 André Pönitz <poenitz@gmx.net>
7986 * all the files from the change on 2001/11/26:
7987 use lyx::layout_type instead of LyXTextClass::size_type
7988 use lyx::textclass_type instead of LyXTextClassList::size_type
7990 2001-11-29 Juergen Vigna <jug@sad.it>
7992 * text.C: added support for paragraph::isFreeSpacing()
7994 * buffer.C: same as above
7996 * paragraph.h: inserted isFreeSpacing() function to enable
7997 FreeSpacing inside InsetERT.
7999 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8000 of the paragraph's in the cut/copy buffer to 0!
8002 * text2.C (removeRow): remove the assert as it can!
8004 * lyxtext.h: added helper function firstRow returning firstrow and
8005 made firstrow private again.
8007 * BufferView2.C (lockInset): don't relock if we're already locked!
8009 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8011 (removeRow): added Assert::(firstrow)
8013 * debug.C: forgot to add INSETTEXT here.
8015 2001-11-28 Juergen Vigna <jug@sad.it>
8017 * sp_spell.C (initialize): changed error text to more general
8018 spellchecker command use (not only ispell!)
8020 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8022 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8024 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8026 * vspace.C: initialise lyxgluelength on failure
8028 2001-11-28 Allan Rae <rae@lyx.org>
8030 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8031 declaration & definition that looks like a function declaration.
8033 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8035 * BufferView2.C (copy):
8036 (copyEnvironment): do not clear the selection when doing a copy.
8038 * text.C (paintFirstRow): compilation fix
8040 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8042 * tabular.C (Latex): correct line count when writing latex.
8044 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8046 * paragraph_pimpl.h:
8047 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8050 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8054 * LColor.C: change vfillline->added_space
8056 * text.C: add markers and text for added space
8058 * vspace.C: fix comment
8060 2001-11-28 André Pönitz <poenitz@gmx.net>
8062 * paragraph.C: whitespace changes
8063 * all the other files from the change on 2001/11/26:
8064 change *::pos_type into lyx::pos_type
8066 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8068 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8069 language of the document when inserting error insets.
8071 2001-11-26 André Pönitz <poenitz@gmx.net>
8073 * BufferView_pimpl.[Ch]:
8081 * paragraph_pimpl.[Ch]:
8084 * text2.C: reduce header dependencies, introduce type for positions
8086 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8088 * <various>: change to use Alert.h
8090 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8092 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8093 when encountering an unknown token.
8094 (readLyXformat2): Show an error message if there were unknown tokens.
8096 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8099 * BufferView_pimpl.C:
8103 * text2.C: use par->isInset()
8105 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8107 * paragraph_pimpl.h:
8108 * paragraph_pimpl.C: cleanup
8110 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8112 * text2.C (removeRow):
8113 * text.C (setHeightOfRow): remove useless (and costly) call to
8116 2001-11-20 Allan Rae <rae@lyx.org>
8118 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8119 Now need Inset*::checkInsertChar() to return true for appropriate
8120 cases so that the characters in the minibuffer will actually be
8123 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8125 * text.C: change the order of the includes.
8126 (workWidth): initialize it at once.
8127 (workWidth): make maxw unsigned
8128 (setHeightOfRow): remove unused variable (inset)
8129 (selectSelectedWord): remove unused variable (inset)
8130 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8132 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8134 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8135 server is not running.
8137 (closeConnection): add debug info when server is disabled.
8139 * ColorHandler.C (getGCForeground): send debug message to GUI
8142 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8144 * kbmap.C (bind): modify because return conventions of
8145 kb_sequence::parse have changed.
8147 * kbsequence.C (parse): only ignore spaces and not any stupid
8148 control character. This avoids tests like s[i] <= ' ', which are
8149 guaranteed to fail with 8bit characters and signed chars.
8150 Change return code to string::npos when there have been no error
8151 (0 was a bad idea when error is at first character)
8153 2001-11-14 José Matos <jamatos@fep.up.pt>
8156 * buffer.C (simpleDocBookOnePar): removed unused argument.
8158 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8160 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8161 insets which are part of a word. Paragraph::isLetter takes care of
8162 that now. Use Paragraph::isInset to identify insets.
8163 (selectSelectedWord): do not test for hyphenation break.
8165 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8166 that protected spaces are considered as spaces.
8168 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8171 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8174 * lyxserver.C: fix it. and small cleanup.
8176 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8178 * BufferView_pimpl.C: use inline helpers
8181 * LaTeXFeatures.C: fix typos
8184 * Spacing.C: move spacing_string into class
8186 * ToolbarDefaults.C: move stuff into namespace anon
8188 * layout.h: update enum
8190 * lyxfunc.C: use better debug
8192 * minibuffer.h: fix typo
8196 * WorkArea.C: add and use Debug::WORKAREA
8200 * text2.C: code re-organisation, inline helpers
8202 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8204 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8205 std::vector.empty().
8207 2001-11-09 Allan Rae <rae@lyx.org>
8209 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8210 '\n's after tables. Tabular and ERT inset work now makes this no
8213 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8216 * minibuffer.C: fix crash, improve drop-down completion
8218 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8221 * lyxserver.C: invalidate fd's when doing endPipe()
8223 2001-11-08 José Matos <jamatos@fep.up.pt>
8225 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8226 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8229 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8231 2001-11-07 José Matos <jamatos@fep.up.pt>
8234 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8237 * buffer.C (sgmlOpenTag):
8238 * buffer.C (sgmlCloseTag): removed debug info.
8240 * buffer.h (sgmlOpenTag):
8241 * buffer.h (sgmlCloseTag): made public.
8243 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8245 * buffer.C (saveParamsAsDefaults):
8246 * lyx_cb.C (MenuLayoutSave): remove
8248 * LyXAction.C (init):
8250 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8252 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8254 * buffer.C (setPaperStuff): removed from here...
8256 * bufferparams.C (setPaperStuff): ... and moved there.
8258 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8262 * XFormsView.C: add support for drop-down completion
8264 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8266 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8269 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8271 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8274 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8276 * lyx_main.C: change ref to known bugs
8278 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8280 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8281 to work around older babel problems.
8283 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8285 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8287 2001-10-24 Juergen Vigna <jug@sad.it>
8289 * tabular-old.C (ReadOld): below variable changes reflected.
8291 * tabular.[Ch]: added ltType struct for longtable header/footer
8292 defines and changed all instances where they are used. Added
8293 future support for double top/bottom rows.
8295 2001-10-24 José Matos <jamatos@fep.up.pt>
8297 * buffer.h (docbookHandleCaption):
8298 * buffer.C (docbookHandleCaption): removed unused function.
8299 (makeDocBookFile): moved docbook supported version to v4.1.
8301 2001-10-24 José Matos <jamatos@fep.up.pt>
8304 * tabular.C (docbookRow): new function to export docbook code of a row.
8305 (DocBook): now honors the longtable flags.
8307 2001-10-23 José Matos <jamatos@fep.up.pt>
8310 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8311 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8313 * buffer.C (makeLinuxDocFile):
8314 (makeDocBookFile): reworked the preamble, more clean, and with
8315 support for lyx defined entities. Changed the document declaration
8316 to be more XML friendly.
8318 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8319 if we need to output XML that should be done with a filter.
8321 2001-10-22 Juergen Vigna <jug@sad.it>
8323 * sp_pspell.h (class PSpell): add alive function needed in the
8324 controller to see if the spellchecker could be started.
8326 2001-10-22 Juergen Vigna <jug@sad.it>
8328 * buffer.C (insertStringAsLines): modify the font for inserting
8329 chars in certain conditions by calling checkInsertChar(font).
8331 2001-10-19 Juergen Vigna <jug@sad.it>
8333 * text.C (workWidth): use getRow instead of wrong algorithm.
8334 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8336 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8341 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8343 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8345 * text.C (workWidth): do not search for the exact row when
8346 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8347 optimization for big documents.
8349 2001-10-18 Juergen Vigna <jug@sad.it>
8351 * text.C (workWidth): new function with added Inset * parameter.
8353 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8355 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8357 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8358 change return type of getColumnNearX.
8361 * text.C (changeRegionCase): use uppercase/lowercase instead of
8364 (rightMargin): simplify code by factoring out the uses of
8369 (appendParagraph): use Paragraph::size_type
8371 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8373 * vspace.C (asLatexString): add a missing break
8375 2001-10-15 Herbert Voss <voss@perce.de>
8377 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8379 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8381 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8384 2001-10-10 André Pönitz <poenitz@gmx.net>
8386 * lyxfunc.C: removed greek_kb_flag.
8388 2001-10-10 Herbert Voss <voss@perce.de>
8390 * lyx_main.C: delete global string help_lyxdir.
8392 2001-10-09 Herbert Voss <voss@perce.de>
8394 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8396 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8398 * lyx_main.C: added global string help_lyxdir.
8400 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8402 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8404 * lyxrc.C (set_font_norm_type): support iso8859-4
8406 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8408 * LaTeX.C (deplog): add another regex for MikTeX
8410 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8412 * lyxrc.C (set_font_norm_type): support iso8859-3
8414 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8416 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8418 * LaTeXFeatures.C: remove special case of french and index
8420 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8421 before \begin{document}). This solves several incompatibilities.
8423 2001-10-03 Garst Reese <reese@isn.net>
8425 * lyx_cb.C: change CheckTex error msg.
8427 2001-10-03 José Matos <jamatos@fep.up.pt>
8429 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8431 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8433 * .cvsignore: update
8435 * lyx_main.C (commandLineVersionInfo): use new style version info.
8437 * buffer.C (writeFile):
8440 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8442 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8444 * version.h: update to use stuff in version.C
8446 * version.C.in: new file. Contains version information determined
8447 at compile time. This is a merging of version.h and
8450 2001-10-03 Juergen Vigna <jug@sad.it>
8452 * BufferView_pimpl.C (update): don't change "dirty" status in
8455 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8457 * WorkArea.C (c-tor): re-position version string slightly.
8459 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8461 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8462 revert to previous code.
8464 WorkArea.[Ch]: (show, destroySplash): methods removed.
8466 WorkArea.C: rework code so that it's an amalgam of the codes before and
8467 after the splash screen was moved to WorkArea.
8469 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8472 * vspace.C (inPixels):
8475 * buffer.C (insertStringAsLines):
8476 (asciiParagraph): fix types to be large enough
8478 * lyxlex_pimpl.h: change member status from short to int
8480 * layout.h: fix type of endlabeltype
8483 * kbsequence.C (parse): change return type to string::size_type
8485 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8488 * Bullet.C (bulletSize):
8489 (bulletEntry): do not use short ints as parameters
8491 * BufferView2.C (insertLyXFile): change a char to an int.
8493 * WorkArea.C (WorkArea): remove unneeded floats in computation
8495 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8497 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8499 * paragraph.C (asString): Do not ignore newline/hfill chars when
8500 copying to the clipboard.
8502 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8504 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8505 after a multi-line inset.
8507 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8509 * paragraph.C (validate): Set NeedLyXFootnoteCode
8511 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8513 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8514 and decrease-error to decrease.
8516 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8518 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8519 it more readable (should be equivalent)
8521 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8523 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8525 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8527 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8528 of a cursor (row, etc.) after a character has been deleted
8529 (deleteEmptyParagraphMechanism): call the method above on _all_
8530 cursors held by the LyXText when a double space has been
8533 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8535 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8537 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8539 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8540 background. Use greyOut() and the new show() methods to toggle between
8541 the foreground and background. Add code to remove the splash after
8542 its initial showing.
8544 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8545 (create_forms): no longer call Dialogs::showSplash.
8547 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8549 * .cvsignore: add version_info.h
8551 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8553 * version_info.h.in: new file
8555 * Makefile.am: add version_info.h.in
8557 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8558 version_info.h instead of VERSION_INFO
8560 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8562 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8563 The ERT inset now returns string().
8565 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8567 * lyxtext.h, text.C (selectNextWord): renamed as
8568 selectNextWordToSpellcheck.
8570 * text.C (selectNextWordToSpellcheck): Modified to not select
8571 words inside an ERT inset.
8573 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8575 * lyx_cb.C (MenuLayoutSave): change a bit the question
8577 * sp_base.h: include <sys/types.h>
8579 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8581 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8583 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8585 * several files: fix typos in user-visible strings
8587 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8589 * text2.C (pasteSelection): do not set the selection, since it
8590 will be cleared later. Actually, the intent was to fix the way the
8591 selection was set, but I figured rmoving the code was just as good.
8593 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8595 * FontLoader.C (available): Check if font is available without
8598 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8600 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8602 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8604 * lyxrc.[Ch]: added display_graphics variable and associated code.
8606 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8608 * bufferparams.C (hasClassDefaults): new method. Returns true if
8609 the buffer parameters correspond to known class defaults
8611 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8613 * XFormsView.C (show): set minimum size to the main window.
8615 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8617 * text2.C (copySelection):
8619 * lyxfind.C (LyXReplace):
8620 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8621 LyXText::selectionAsString.
8623 * paragraph.C (asString): add "label" argument to the second form
8625 * text2.C (selectionAsString): add "label" argument and pass it to
8626 Paragraph::asString.
8628 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8630 * lyx_main.C (commandLineHelp): remove version information
8632 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8634 * lyx_main.C: add -version commandline option
8636 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8638 * paragraph.h: make the optional constructor arg required instead.
8639 some modifications to other files because of this.
8641 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8643 * lyxserver.C (C_LyXComm_callback): make it static
8645 * lyx_main.C (error_handler): make it static
8647 * lyx_gui.C (LyX_XErrHandler): make it static
8649 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8651 * WorkArea.C: make the extern "C" methods static.
8653 * Makefile.am (lyx_LDADD): simplify
8655 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8657 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8658 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8660 * LyXAction.C (init):
8661 * lyxfunc.C (dispatch): associated code removal.
8663 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8665 * lyxfont.h (isSymbolFont): shut off warning
8667 * text.C (setHeightOfRow):
8668 (getVisibleRow): fix crash with empty paragraphs which have a
8671 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8673 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8676 2001-09-04 José Matos <jamatos@fep.up.pt>
8679 * tabular.C (docbook): rename docBook method to docbook.
8681 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8683 * Makefile.am: add dependencies to main.o.
8685 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8687 * FontLoader.C (available): Return false if !lyxrc.use_gui
8689 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8691 * FontInfo.C (query):
8692 * converter.C (view):
8693 * importer.C (Import):
8694 * exporter.C (Export): Can not -> cannot.
8696 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8698 * BufferView_pimpl.C: allow to create index inset even if
8701 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8703 * buffer.C (getLists): replace boost::tie code with an explicit pair
8704 as boost::tie can break some compilers.
8706 * iterators.h: Added a std:: declaration to the return type of
8709 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8711 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8714 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8716 * iterators.[Ch]: New files. Provide paragraph iterators.
8718 * buffer.C (changeLanguage): Use paragraph iterators.
8719 (isMultiLingual): ditto
8721 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8723 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8725 * FontLoader.C: Support for cmr font.
8727 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8729 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8730 (available): New method.
8732 * FontInfo.C (getFontname): Use scalable fonts even when
8733 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8736 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8738 * converter.C (Formats::view): reverted! Incorrect fix.
8740 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8742 * converter.C (Formats::view): only output the -paper option
8743 if the dvi viewer is xdvi, thereby fixing bug #233429.
8745 2001-08-23 Herbert Voss <voss@perce>
8747 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8749 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8751 * Spacing.h (Spacing): Set space to Default on in the default
8754 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8756 * vc-backend.h (RCS::versionString): add RCS to version
8757 (CVS::versionString): add CVS to version
8759 * vc-backend.C (scanMaster): do not add CVS to version.
8760 (scanMaster): do not add RCS to version
8762 * lyxvc.C (versionString): new method
8764 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8766 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8768 * Spacing.C (set): initialize fval
8770 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8772 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8775 2001-08-16 Juergen Vigna <jug@sad.it>
8777 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8779 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8781 * BufferView_pimpl.C:
8784 * text2.C: setParagraph takes linespacing now
8786 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8788 * LyxAction.C: add internal LFUN_CITATION_INSERT
8790 * LyXView.C: actually apply fix
8792 * bufferlist.C: fix open non-existent file
8794 * lyxfind.C: fix indentation
8796 * lyxfunc.C: remove unneeded assert, fix typo
8798 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8800 * MenuBackend.C: use "Floatname List"
8802 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8804 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8805 when converting LaTeX layout to insetERT.
8806 Generate a non-collapsed float when reading old float
8808 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8810 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8813 2001-08-13 Juergen Vigna <jug@sad.it>
8815 * text.C (fill): return 0 instead of 20 as this seems to be the more
8818 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8820 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8823 2001-08-13 Juergen Vigna <jug@sad.it>
8825 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8827 (SearchBackward): comment out the unlocking of the inset_owner this
8828 should not be needed!
8830 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8832 * Many files: Remove inherit_language, and add latex_language
8834 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8837 2001-08-10 Juergen Vigna <jug@sad.it>
8839 * text.C (prepareToPrint): fixed hfill-width in draw!
8841 * BufferView2.C (selectLastWord): save the selection cursor as this
8842 now is cleared in the function LyXText::clearSelection!
8844 2001-08-08 Juergen Vigna <jug@sad.it>
8846 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8847 BACKSPACE type functions.
8849 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8850 is only cutted from the document but not put in the cut-buffer, where
8851 still the old stuff should be.
8853 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8855 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8857 * tabular.C (SetWidthOfCell): fixed special case where the width
8859 (LeftLine): handle '|' in align_special.
8861 (LeftAlreadyDrawed): ditto
8862 (SetWidthOfCell): ditto
8864 2001-08-07 Juergen Vigna <jug@sad.it>
8866 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8868 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8870 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8871 * lyxlex.[hC]: ditto
8873 2001-08-06 Juergen Vigna <jug@sad.it>
8875 * text.C (getVisibleRow): fix up row clearing a bit.
8877 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8879 * minibuffer.C: make sure the X server sees the changes in the input.
8881 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8883 * paragraph.C (getFont): split into...
8884 (getLabelFont): this
8885 (getLayoutFont): and this
8886 * paragraph_pimpl.C (realizeFont): calling this
8888 * text2.C (getFont): split into...
8889 (getLayoutFont): this
8890 (getLabelFont): and this
8891 (realizeFont): all three calling this
8893 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8896 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8898 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8900 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8902 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8903 layouts from the Quote inset insertion.
8905 2001-08-03 Juergen Vigna <jug@sad.it>
8907 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8909 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8910 only if status not is already CHANGED_IN_DRAW (second level).
8912 * text.C (draw): don't set the need_break_row when inside an
8915 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8917 * buffer.C (parseSingleLyXformat2Token): handle more latex
8920 * bufferview_funcs.[hC]: change function names to
8921 begin with small char, adjust other files.
8923 2001-08-02 André Pönitz <poenitz@gmx.net>
8926 BufferView_pimpl.C: remove broken special code for math-greek
8928 2001-08-02 Juergen Vigna <jug@sad.it>
8930 * BufferView_pimpl.C (update): redone this function so that we
8931 update the text again if there was a CHANGE_IN_DRAW.
8933 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8934 (drawFromTo): added a new internal bool which is used by draw() and
8936 (general): some cursor drawing problems fixed.
8938 2001-08-01 Juergen Vigna <jug@sad.it>
8940 * lyxfind.C (LyXFind): fixed
8941 (SearchForward): ditto
8942 (SearchBackward): ditto
8944 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8945 spurius drawing of the cursor in the main area.
8947 * text2.C (status): small fix which could lead to a segfault!
8948 (clearSelection): remove unneeded BufferView param.
8950 2001-08-01 André Pönitz <poenitz@gmx.net>
8952 * lyxfunc.C: small change due to changed mathed interface
8954 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8956 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8958 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8960 * lyxfunc.c: fail gracefully if file doesn't exist
8965 * BufferView_pimpl.C: IsDirWriteable() proto changed
8967 * LyXView.C: fix updateWindowTitle() to store the last title
8969 2001-07-31 Juergen Vigna <jug@sad.it>
8971 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8972 the font (wrong since using of Paragraph::highestFontInRange).
8974 * paragraph.C (highestFontInRange): added a default_size parameter.
8976 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8977 (setHeightOfRow): reformat
8979 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8981 * converter.[hC] + affected files: move to (inital-char)lowercase
8984 * ParagraphParameters.C (ParagraphParameters): remove commented code
8986 * PainterBase.[Ch]: remove commented code
8988 * LaTeXFeatures.h: add "bool floats" for float.sty
8990 * LaTeXFeatures.C (LaTeXFeatures): init floats
8991 (require): handle float
8992 (getPackages): do it with floats
8994 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8996 * BufferView_pimpl.C (Dispatch): improve handling of
8997 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8999 * commandtags.h: #include lyxfont.h here temporarily to avoid
9002 * bufferlist.h: include LString.h here.
9004 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9006 * text2.C (getStringToIndex): new method.
9008 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9010 * *: Reduced header file dependencies all over.
9012 2001-07-30 Baruch Even <baruch@lyx.org>
9014 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9016 2001-07-29 Baruch Even <baruch@lyx.org>
9018 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9020 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9022 * ParameterStruct.h (endif): add a default constructor to make
9023 sure that all variables is initialized.
9025 * ParagraphParameters.C (ParagraphParameters): adjust
9027 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9029 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9030 index; also, check that there is something to index, and that it
9031 does not span over several paragraphs.
9032 (doubleClick): use WHOLE_WORD_STRICT for double click.
9034 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9036 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9039 2001-07-26 Baruch Even <baruch@lyx.org>
9041 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9042 an InsetFig figure, backwards compatible reading of old figure code.
9044 2001-07-27 Juergen Vigna <jug@sad.it>
9046 * text2.C: font.realize function adaption.
9048 * text.C (draw): add a warnings lyxerr text if needed.
9050 * layout.C: font.realize function adaption.
9052 * language.C: add inherit_language and implement it's handlings
9054 * bufferview_funcs.C (StyleReset): remove language parameter from
9055 font creation (should be language_inherit now).
9057 * bufferparams.C (writeFile): handle ignore_language.
9059 * paragraph.C (getFontSettings): the language has to be resolved
9060 otherwise we have problems in LyXFont!
9062 * lyxfont.C (lyxWriteChanges): added document_language parameter
9063 (update): removed unneeded language parameter
9065 * paragraph.C (validate): fixed wrong output of color-package when
9066 using interface colors for certain fonts in certain environments,
9067 which should not seen as that on the final output.
9069 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9071 * BufferView_pimpl.C:
9076 * LyXAction.C: add thesaurus support
9079 * lyxfind.C: add "once" parameter, for thesaurus, to not
9080 move to the next match
9082 2001-07-26 Juergen Vigna <jug@sad.it>
9084 * lyxfont.C (realize): honor ignore_language too!
9087 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9089 * text.C (draw): one place more for ignore_language to not draw
9092 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9094 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9096 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9098 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9099 the minipage conversion problem.
9101 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9103 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9106 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9108 * BufferView.h: don't forward declare WorkArea
9110 * BufferView.C: don't include WorkArea.h
9112 2001-07-25 André Pönitz <poenitz@gmx.net>
9116 * lyxfunc.C: new LFUN 'math-space'
9118 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9120 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9122 * text2.C (toggleInset): call open/close
9124 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9126 * lyxfunc.C (dispatch): add debug for the disabled case
9128 * font.C (buttonText): make similar to rectText
9130 * buffer.C (readInset): comment out parsing of insetlist and
9133 * PainterBase.C (rectText): small correction
9135 * BufferView_pimpl.C: comment out insettheorem and insetlist
9136 * LyXAction.C: ditto
9137 * commandtags.h: ditto
9139 2001-07-24 Juergen Vigna <jug@sad.it>
9141 * text.C (draw): honor the ignore_language.
9143 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9145 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9147 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9150 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9152 * lyxtext.h: remove unused (and unimplemented) methods
9154 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9156 * text.C (getVisibleRow): honor background color
9159 * Painter.h: remove default color argument for fillRectangle
9161 * text.C (backgroundColor): new method
9163 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9165 * text.C (getVisibleRow): adjust
9167 * font.[Ch] (rectText): new method, metrics
9168 (buttonText): new method, metrics
9170 * PainterBase.[hC]: make rectText and buttonText always draw and take
9173 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9175 * ToolbarDefaults.C (read):
9176 * MenuBackend.C (read): allow escaping in all strings
9178 * BufferView_pimpl.C (insertAndEditInset): new method.
9179 (Dispatch): use insertAndEditInset whenever appropriate.
9181 * BufferView_pimpl.C (insertNote): removed
9183 * BufferView_pimpl.C (smartQuote): new method, moved from
9184 BufferView; if an insetquote cannot be inserted, insert a '"'
9187 * BufferView2.C: remove insertCorrectQuote();
9189 * lyxfunc.C (getStatus): Add support for all remaingin
9192 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9194 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9195 command (necessary to pass " as parameter of self-insert.
9197 * text.C (selectWordWhenUnderCursor):
9198 (selectWord): add word_location parameter
9199 (selectWordWhenUnderCursor): same + remove special code for word
9201 (selectNextWord): use kind() to guess type of insetspecialchar,
9204 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9205 (insertErtContents): create ert insets as collapsed.
9206 (readInset): better compatibility code for Info inset.
9208 2001-07-20 Juergen Vigna <jug@sad.it>
9210 * lyxfunc.C (dispatch): use always LyXFind now!
9212 * text2.C (init): add a reinit flag so that the LyXText can be
9213 reinited instead of deleted and reallocated (used in InsetText).
9215 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9221 2001-07-18 Juergen Vigna <jug@sad.it>
9223 * text.C (selectNextWord): handle insets inside inset by calling
9224 always the bv->text functions so that we can go up the_locking_inset!
9226 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9227 in strange locations when inside an inset!
9229 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9230 handling to include insets.
9232 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9234 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9236 * LyXAction.C (init):
9238 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9239 LIGATURE_BREAK, since the name is so stupid.
9241 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9243 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9246 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9248 * sp_form.[Ch]: remove.
9250 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9252 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9255 * src/buffer.C (readInset): ditto.
9257 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9259 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9260 menuSeparator(), endOfSentenceDot(), ldots() and
9261 hyphenationPoint(), which are therefore removed.
9262 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9264 * LyXAction.C (init):
9265 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9267 * paragraph.C (getWord): removed.
9269 * BufferView_pimpl.C (Dispatch): use last word or selection for
9270 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9272 * lyx_main.C (queryUserLyXDir): do not ask before creating
9273 user_dir, except if it has been named explicitely.
9275 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9277 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9278 a document of zero size.
9280 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9282 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9283 approriately in the c-tor and in require().
9284 (getPackages): output the appropriate LaTeX for natbib support.
9286 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9287 variables "use_natbib" and "use_numerical_citations" when reading the
9289 (readInset): read the various natbib cite commands.
9290 (validate): white-space change.
9292 * bufferparams.[Ch]: new variables "bool use_natbib" and
9293 "bool use_numerical_citations".
9294 (writeFile): output them in the LyX file.
9296 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9298 * lyxfunc.C (getStatus): add support for all the inset insertion
9301 * text2.C (insertInset):
9302 * paragraph.C (insetAllowed):
9303 * BufferView_pimpl.C (insertInset): update to take in account the
9304 renaming of insertInsetAllowed
9306 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9308 * text2.C (getInset): new method. returns inset at cursor position.
9310 * BufferView_pimpl.C (Dispatch): changes because of this.
9312 * LyXAction.C (init): rename open-stuff to inset-toggle.
9314 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9316 * text2.C (toggleInset): renamed from openStuff; use
9319 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9321 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9323 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9325 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9327 * buffer.C (readLyXformat2): Add filename to the error dialog
9329 2001-07-18 Juergen Vigna <jug@sad.it>
9331 * tabular.C (GetCellNumber): put an assert here instead of the check!
9333 2001-07-17 Juergen Vigna <jug@sad.it>
9335 * BufferView_pimpl.C (toggleSelection): adapted too.
9337 * text.C (selectNextWord): adapted for use with insets.
9338 (selectSelectedWord): ditto
9340 2001-07-17 Juergen Vigna <jug@sad.it>
9342 * sp_spell.C (PSpell): fix initialitation order.
9344 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9346 * paragraph.C: spacing
9348 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9350 * sp_spell.C: repair language selection for pspell
9352 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9354 * lyxfunc.h: change more methods to begin with lower char.
9356 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9358 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9359 for unknown layouts.
9361 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9363 * buffer.C (readLyXformat2): Generate an error dialog if there are
9366 2001-07-16 Juergen Vigna <jug@sad.it>
9368 * sp_spell.C: always compile ISpell part.
9370 * lyxrc.C: added use_pspell entry and it's handling.
9372 2001-07-13 Juergen Vigna <jug@sad.it>
9374 * sp_spell.C: removed double includes.
9376 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9378 Consistent use of Lsstream.h:
9379 * Lsstream.h: added using std::stringstream for consistencies sake.
9381 * buffer.C: removed using std::stringstream
9383 * lyxfont.C (stateText):
9384 * paragraph.C (asString):
9385 * text.C (selectNextWord, selectSelectedWord):
9386 * text2.C (setCounter):
9387 * vspace.C (asString, asLatexString):
9388 std::ostringstream -> ostringstream.
9390 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9392 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9393 * commandtags.h: add LFUN_HELP_ABOUTLYX
9394 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9396 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9398 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9400 * lyx_gui_misc.C: remove spellchecker
9401 * lyxfunc.C: showSpellchecker
9403 * sp_ispell.h: added
9404 * sp_pspell.h: added
9406 * sp_form.[Ch]: removed
9407 * spellchecker.[Ch]: removed
9409 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9411 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9413 (simpleTeXSpecialChars): Simply print the input character without
9414 any special translation if pass_thru is set.
9416 * layout.h: Added bool pass_thru to layout class for being able to
9417 implement pass through of a paragraph for Literate Programming.
9419 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9420 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9421 * layout.C (Read): add "passthru" to list of layout tags and add
9422 code to set the pass_thru boolean when it is read.
9424 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9426 * trans_decl.h: remove allowed from KmodInfo
9428 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9432 * paragraph_pimpl.C (erase): use boost::prior
9434 * Painter.C (text): use data() instead of c_str() when length is
9436 * WorkArea.C (putClipboard): ditto
9437 * font.h (width): ditto
9439 * BufferView2.C: use it-> instead of (*it). for iterators
9441 * paragraph_pimpl.C: ditto
9442 * paragraph.C: ditto
9443 * minibuffer.C: ditto
9448 * converter.C: ditto
9450 * Variables.C: ditto
9451 * TextCache.C: ditto
9452 * MenuBackend.C: ditto
9453 * LyXAction.C: ditto
9455 * FloatList.C: ditto
9457 * ColorHandler.C (LyXColorHandler): ditto
9459 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9461 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9463 * text2.C (openStuff): reintroduce this method (which had been
9464 nuked in NEW_INSETS frenzy).
9466 * lyxfunc.C (Dispatch): when an action has not been handled, use
9467 its name in the error message, not its number.
9469 * paragraph.C (inInset): change method name to begin with lowercase.
9472 * text2.C: updates because of this.
9474 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9476 * ToolbarDefaults.C (add): add spaces in error message
9478 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9480 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9481 (readLyXformat2): rename return_par to first_par, use lyxlex's
9482 pushToken and remove the manual push handling.
9483 (parseSingleLyXformat2Token): add another ert comp. variable:
9484 in_tabular, rename return_par to first_par. handle newlines better
9486 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9488 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9490 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9492 * text2.C (getParFromID): removed
9494 * buffer.C (getParFromID): new method moved form lyxtext.
9495 * BufferView2.C (insertErrors): adjust
9496 (setCursorFromRow): adjust
9497 * BufferView_pimpl.C (restorePosition): adjust
9498 * lyxfunc.C (Dispatch): adjust
9499 * undo_funcs.C (textUndo): adjust
9501 (textHandleUndo): adjust
9502 (textHandleUndo): adjust
9504 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9506 * buffer.C: up' the LYX_FORMAT
9508 * lyxfont.h: turn NO_LATEX on as default
9510 * buffer.C (insertErtContents): new methods of tex style compability.
9511 (parseSingleLyXformat2Token): use it several places.
9512 * tabular.C (OldFormatRead): and here
9514 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9516 * text2.C: remove some commented code.
9519 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9520 * trans.C: changes because of the above.
9522 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9524 * text2.C (setCounter): Fix counters bug with bibliography layout.
9526 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9528 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9529 own member functions
9530 (simpleTeXSpecialChars): ditto
9532 2001-07-06 Juergen Vigna <jug@sad.it>
9534 * a lot of files: changed the access to LyXText::status and the
9535 call of undo-functions.
9537 * undo.[Ch]: added a inset_id to the undo informations.
9539 * undo_funcs.[Ch]: added and moved here all undo functions.
9541 * lyxtext.h: give the status enum a weight, made status_ a private
9542 variable and made accessor functions for it, removed the whole bunch
9543 of undo-functions as they are now in their own file, make some
9544 functions publically available. Added function ownerParagraph with
9547 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9548 made InInset() a const function, added getParFromID() function.
9550 * buffer.[Ch]: added const version for inset_iterator functions,
9551 added getInsetFromID() function.
9553 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9554 changed undo functions for new version.
9556 2001-07-05 Juergen Vigna <jug@sad.it>
9558 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9559 unknow mechanism does not call the proper constructor but only this
9560 one also if I request the other!?
9562 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9564 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9566 * text2.C (LyXText): use initialization lists.
9568 * lyxtext.h (Selection): initialize set_ and mark_
9569 (init): remove method
9571 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9573 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9575 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9577 * screen.[Ch]: change method names to begin with lowercase
9579 * BufferView_pimpl.C (updateScrollbar): simplify further and
9580 hopefully make it a bit faster.
9582 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9584 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9585 calling directly xforms functions.
9587 * Painter.C (Painter):
9588 * lyx_cb.C (MenuWrite):
9589 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9592 * lyx_gui.C: remove bogus guiruntime extern declaration.
9594 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9596 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9598 (redoDrawingOfParagraph): ditto
9599 (redoParagraphs): ditto
9600 (cutSelection): don't create a object for CutAndPaste use the
9601 static method directly
9602 (pasteSelection): ditto
9604 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9607 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9609 * modifications to some other files because of this.
9611 * Makefile.am (lyx_SOURCES): add XFormsView
9613 * XFormsView.[Ch]: new files
9615 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9616 the main window. Move the gui dependent stuff to XFormsView
9618 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9620 * tabular.C (GetCellInset): update cur_cell also in the row/col
9621 version of this function.
9623 * lyxfunc.C: no need to include figure_form.h here.
9629 * lyxvc.C: no need to include forms.h here.
9631 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9633 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9635 * lyxfunc.C (Dispatch):
9637 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9638 constructor argument.
9640 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9642 * paragraph.C (Paragraph): dont't clear, and just set layout.
9643 (makeSameLayout): use params's copy contructor.
9645 * ParagraphParameters.[Ch] (makeSame): delete method
9647 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9649 * Variables.[Ch]: fix indentation, rename set to isSet
9651 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9653 * lyxfunc.C (Dispatch): fix typo
9655 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9657 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9660 * bufferlist.C: include assert.h for emergencyWrite().
9662 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9664 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9665 give up at last (bug #425202) !
9667 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9673 * spellchecker.C: strip spellchecker options and bring up
9674 preferences tab instead
9676 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9678 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9679 the istringstream constructor
9681 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9683 * paragraph.C (getLayout): fix return value
9685 * paragraph.h: do not declare getLayout as inline.
9687 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9689 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9691 * lyxcursor.h (operator<): new func
9692 (operator>): new func
9693 (operator>=): new func
9694 (operator<=): new func
9696 * text.C (changeCase): use selection.start and selection.end
9697 (changeRegionCase): require from to be <= to. Require par to be a
9700 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9702 2001-06-27 Juergen Vigna <jug@sad.it>
9704 * text.C (cursorLeftOneWord): changed to return the cursor and added
9705 overlay with BufferView * parameter which calls this one.
9707 (selectWord): use new getWord function.
9708 (changeCase): renamed from changeWordCase as and extended to work
9711 * lyxtext.h: added enum word_location
9713 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9714 changeCase as this operates now also on selections.
9716 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9718 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9720 * many files: send debug output to Debug::INFO instead of
9723 * converter.C (View):
9725 (Move): send debug output to Debug::FILES instead of console.
9727 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9729 * lyxfunc.C (getStatus): use func_status
9731 * func_status.h: new header, describing the results of
9734 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9737 2001-06-25 The LyX Project <jug@sad.it>
9739 * buffer.C (sgmlOpenTag):
9741 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9743 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9745 * text2.C: remove some dead code
9747 * tabular.C (GetCellInset): store the last cell checked (gotten)
9749 * tabular.h: add the helper for the speedup
9751 * lyxtext.h: remove some dead code
9753 2001-06-26 The LyX Project <Asger>
9755 * paragraph.C: Change export to LaTeX of alignment to
9756 \begin{center} and family for better roundtrip work with reLyX.
9758 * Tune the math drawing a bit.
9760 2001-06-25 The LyX Project <Asger>
9762 * LColor.C (LColor): New color for math background. New color
9765 2001-06-25 The LyX Project <jug@sad.it>
9767 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9770 * bufferlist.C (newFile): do not restrict to files ending with
9773 * BufferView_pimpl.C (MenuInsertLyXFile):
9775 2001-06-24 The LyX Project <jug@sad.it>
9777 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9780 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9782 * lyxtext.h: rename most methods to begin with a small char.
9783 Lots of changes because of this.
9785 * paragraph.C (Paragraph): do not call fitToSize
9786 (erase): call Pimpl::erase
9787 (insertChar): call Pimpl::insertChar
9788 (insertInset): call Pipl::insertInset
9789 (breakParagraph): do not call fitToSize
9790 (breakParagraphConservative): do not call fitToSize
9791 (fitToSize): remove method
9793 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9795 2001-06-24 The LyX Project <Asger>
9797 * Fix Qt compilation^2
9799 2001-06-24 The LyX Project <jug@sad.it>
9801 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9802 depthHook(getDepth()-1).
9805 * ParagraphParameters.h:
9806 * ParameterStruct.h: change type of depth to unsigned int ==
9807 depth_type. Many adaptations to other files before of that.
9809 2001-06-24 The LyX Project <Asger>
9811 * Fix Qt compilation.
9813 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9815 * paragraph.h: renamed several methods to begin with small letter.
9816 several changes to many parts of the code because of this.
9818 2001-06-23 The LyX Project <jug@sad.it>
9820 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9821 rewritten to discard all double spaces when KeepEmpty is off
9822 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9823 to only handle newlines but not fiddle with spaces and friends.
9825 * lyxfunc.C (MenuNew): when doing 'new from template', use
9826 template_path as default directory
9828 2001-06-23 The LyX Project <Asger>
9830 * Clean-up of header file includes all over
9831 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9833 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9835 * paragraph.h: renamed from lyxparagraph.h
9837 2001-06-23 Asger <lyx@violet.home.sad.it>
9839 * Buffer.h: Removed Buffer::resize
9840 * BufferList.h: Removed BufferList::resize
9841 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9842 the document lazily when we change the width, or the font settings.
9844 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9846 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9848 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9850 * buffer.h: remove out of date comment
9852 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9855 * screen.C: fix "theoretical" GC leak
9857 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9859 * LaTeX.C (scanAuxFile):
9860 (deplog): remove trailing \r when reading stream (useful under
9863 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9865 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9866 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9867 and BufferView::theLockingInset(Inset*), so should use them and not
9868 access bv_->text->the_locking_inset directly.
9870 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9872 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9875 * tex-defs.h: remove old unused file
9877 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9879 * BufferView_pimpl.C: fix typo, remove minibuffer message
9880 when buffer has loaded
9882 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9884 * lyxfunc.C (Dispatch): use stringstream
9885 (MenuNew): use stringstream
9886 (Open): use stringstream
9888 * importer.C (Import): use stringstream
9890 * bufferview_funcs.C (CurrentState): use stringstream
9892 * LaTeX.C (run): use stringstream
9894 * BufferView_pimpl.C (savePosition): use stringstream
9895 (restorePosition): use stringstream
9896 (MenuInsertLyXFile): use stringstream
9898 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9911 * vspace.C: removed // -*- C++ -*- as first line.
9914 * version.h: added // -*- C++ -*- as first line.
9916 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9918 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9920 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9923 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9925 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9928 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9930 * gettext.C: include LString.h even when --disable-nls is on.
9932 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9934 * converter.h (Get): changed argument type from int to
9935 FormatList::size_type to avoid unnecessary conversion.
9937 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9940 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9942 * gettext.h: include LString.h even when --disable-nls is on.
9944 2001-06-07 Juergen Vigna <jug@sad.it>
9946 * text.C (BreakAgain): subst spaces with tabs.
9948 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9949 (resizeInsetsLyXText): set force on resizeLyXText.
9951 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9953 * gettext.h (gettext_init):
9954 (locale_init): use a real definition instead of a macro
9956 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9958 * Bufferview_pimpl.C:
9960 * LColor.C: further lcolor tidies
9962 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9964 * BufferView_pimpl.C (updateScrollbar): simplify.
9966 * BufferView2.C: don't include insets/insetinfo.h, change
9967 prototype for insertInset and call the Pimpl version. let
9968 updateInset call Pimpl version.
9970 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9971 gotoInset to BufferView::Pimpl
9973 2001-06-01 Juergen Vigna <jug@sad.it>
9975 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9976 inside a LockingInset (is the update needed at all?).
9978 2001-05-31 Juergen Vigna <jug@sad.it>
9980 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9981 here not the old one otherwise how should we compare it afterwards
9984 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9989 * FontInfo.C: bring C functions into global namespace when
9992 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9994 * LString.h: make sure config.h has been loaded before LString.h.
9996 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9997 (one for each char read by EatLine!).
9999 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10002 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10004 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10005 to the same as the par we break from
10007 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10009 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10011 * MenuBackend.C (expand): also create menu entries for wide
10012 versions of the floats.
10014 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10016 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10018 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10019 frontends/Makefile.am
10025 * tabular.C (getTokenValue): add std::
10027 * tabular-old.C (getTokenValue): add std::
10028 (getTokenValue): ditto
10029 (getTokenValue): ditto
10031 * screen.C (ToggleSelection): adjust
10033 * lyxtext.h: put selection cursors inside a Selection struct.
10035 * lyxfunc.C (moveCursorUpdate): adjust
10037 * lyxfont.C (latexWriteStartChanges): add std::
10039 * lyxfind.C: adjust
10041 * font.h: delete with(char const *, LyXFont const &)
10043 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10045 * FontInfo.C (getFontname): add std::
10047 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10048 (workAreaButtonPress): adjust
10049 (tripleClick): adjust
10051 (moveCursorUpdate): adjust
10054 * BufferView2.C (gotoInset): adjust
10056 2001-05-30 Juergen Vigna <jug@sad.it>
10058 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10059 to check pspell I add this as default as I now have new pspell
10060 libraries and they seem to use this.
10062 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10064 * text2.C (CutSelection): make the cursor valid before the call to
10067 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10069 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10070 relied on 0 terminated strings and other horrors. Bug found due to
10071 the new assert in lyxstring!
10073 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10076 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10078 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10081 * lyxfunc.C (processKeySym): change method of getting to the
10084 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10085 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10086 * BufferView_pimpl.[Ch]: here as private methods.
10088 2001-05-28 Juergen Vigna <jug@sad.it>
10090 * text.C (SetHeightOfRow): added the update() call again as it is
10091 needed to initialize inset dimensions!
10093 2001-05-16 Juergen Vigna <jug@sad.it>
10095 * text2.C (SetCharFont): Add new function with BufferView * and
10096 bool toggleall parameters for setting insets internal fonts.
10097 (SetFont): Freeze the undo as we may change fonts in Insets and
10098 all this change should be inside only one Undo!
10100 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10101 setting font's in insets as for them we have the SetFont function!
10103 2001-05-15 Juergen Vigna <jug@sad.it>
10105 * text2.C (ClearSelection): to be sure we REALLY don't have any
10108 * tabular.C (TeXCellPreamble): fixed the left border problem for
10111 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10113 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10116 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10118 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10119 LFUN_BREAKPARAGRAPH.
10121 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10122 help test to "internal only", similar for LFUN_INSERT_URL
10124 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10125 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10126 auto_region_delete and deadkeys.
10128 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10131 * LColor.C: remove some dead entries, tidy a little
10133 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10135 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10137 (Dispatch): implement LFUN_ESCAPE
10139 * commandtags.h: add LFUN_ESCAPE
10141 * LyXAction.C (init): add entry for LFUN_ESCAPE
10143 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10144 Remove commented code.
10145 (insertNote): moved here
10146 (open_new_inset): moved here
10148 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10151 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10153 * kbmap.C (findbinding): clean it up and make it work correctly.
10155 * lyx_main.C (init): do not pass argc and argv as parameters
10157 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10159 * buffer.C: fix path for OS/2 & Win32
10163 * lyx_main.C: Added os:: class.
10165 * os2_defines.h: update
10167 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10169 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10170 better by trying again with reduced state.
10172 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10174 * lyxrc.C (read): print error about invalid key sequence only when
10175 debugging (because not all latinX keysyms are known to some X
10178 * kbsequence.C (getiso): add a few std:: qualifiers
10179 (getiso): comment out extra return statement.
10181 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10183 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10185 (Dispatch): enhance the accent inset a bit. (not perfect)
10187 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10189 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10191 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10193 * bufferlist.C (emergencyWrite): fix assert() call
10195 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10197 * text.C (InsertChar): Added trivial patch to only send the "you
10198 can not do multiple spaces this way" message once during a
10201 2001-05-08 Baruch Even <baruch@lyx.org>
10203 * Makefile.am: Changed order of libraries to get LyX to link properly
10204 with the gnome frontend.
10206 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10208 * LaTeXFeatures.h: add a std:: qualifier
10210 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10212 * paragraph.C (String): use stringstream
10214 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10216 * paragraph.C (writeFile): remove footflag arg
10218 * buffer.C (makeLaTeXFile): use stringstream
10219 (latexParagraphs): remove footnot gurba
10221 * LaTeXFeatures.C (getPackages): use stringstream
10222 (getMacros): likewise
10223 (getTClassPreamble): likewise
10224 (getFloatDefinitions): new method
10226 * paragraph.C (writeFile): reindent
10229 * WorkArea.h: revert the xpos + etc changes.
10231 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10233 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10235 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10236 (pasteSelection): likewise
10237 * text2.C (CreateUndo): likewise
10239 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10241 * minibuffer.C (peek_event): temporarily reduce the functionality
10242 of the minibuffer (to allow args on lfuns)
10244 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10245 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10247 * buffer.C (readInset): add compability reading of old float
10248 lists, add reading of new style float list.
10249 (readInset): avoid reevaluation of inscmd.getCmdName()
10250 (getLists): reindent
10252 * MenuBackend.C (MenuItem): implement parsing of
10253 md_floatlistinsert and md_floatinsert.
10254 (expand::LastFiles): move initalizaton of iterators out of loop,
10255 avoid reevaluation.
10256 (expand::Documents): introduce typdedef vector<string> Strings,
10258 (expand::ExportFormats): introduce typedef vector<Format const *>
10259 Formats, and use it.
10260 (expand): implement FloatListInsert and FloatInsert.
10262 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10263 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10264 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10266 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10268 (Dispatch::LFUN_FLOAT_LIST): implement
10270 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10272 * LaTeX.C (run): Fix problem with --export code.
10274 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10276 * BufferView.[Ch] (workarea): removed.
10277 (getClipboard) new method; wrapper for workarea()->getClipboard()
10279 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10282 * WorkArea.h (width, height, xpos, ypos): These methods all
10283 returned the dimensions of the work_area sub-area of WorkArea,
10284 resulting in a position error if the WorkArea were resized. Now
10285 return the dimensions of the entire WorkArea.
10287 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10289 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10291 * LaTeX.C (deplog): correct the syntax of regex reg1
10293 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10295 * undo.C: remove !NEW_INSETS cruft
10297 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10299 * text2.C: remove !NEW_INSETS cruft
10301 * text.C: remove !NEW_INSETS cruft
10303 * tabular.C: remove !NEW_INSETS cruft
10305 * spellchecker.C: remove !NEW_INSETS cruft
10307 * lyxtext.h: remove !NEW_INSETS cruft
10309 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10311 * lyxfunc.C: remove !NEW_INSETS cruft
10313 * lyxfind.C: remove !NEW_INSETS cruft
10315 * lyx_cb.C: remove !NEW_INSETS cruft
10317 * figureForm.C: remove !NEW_INSETS cruft
10319 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10321 * buffer.[Ch]: remove !NEW_INSETS cruft
10323 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10325 * CutAndPaste.C: remove !NEW_INSETS cruft
10327 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10329 * BufferView2.C: remove !NEW_INSETS cruft
10331 * BufferView.h: remove !NEW_INSETS cruft
10333 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10335 * Lsstream.h: include LString.h before the sstream headers to
10336 fix problem with gcc 2.95.3 and lyxstring
10338 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10340 * lyx_main.C: add using directives when needed for C functions
10341 declared in std:: namespace.
10343 2001-04-27 Juergen Vigna <jug@sad.it>
10345 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10346 (SetHeightOfRow): comment out the update call should not be needed!
10348 2001-04-13 Juergen Vigna <jug@sad.it>
10350 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10351 (LyXTabular): tried to minimize operator= operations (and realized
10352 hopfully Lars wish).
10354 2001-04-27 Juergen Vigna <jug@sad.it>
10356 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10358 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10360 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10362 * buffer.C (readInset): hack to make listof algorithm work
10364 * BufferView_pimpl.C: hack to make listof algorithm work
10366 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10368 * LyXAction.C: removed all !NEW_INSETS cruft
10369 (init): moved lfun_item in method
10371 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10373 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10375 * BufferView2.C (theLockingInset): white space.
10377 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10379 * minibuffer.C: include <iostream>
10381 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10383 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10385 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10387 * text.[Ch] (TransposeChars): new method
10389 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10391 * call message directly through LyXView instead of through LyXFunc
10392 * BufferView2.C: adjust
10393 * BufferView_pimpl.C: adjust
10394 * FontLoader.C: adjust
10396 * bufferview_funcs.C: adjust
10397 * converter.C: adjust
10398 * figureForm.C: adjust
10399 * importer.C: adjust
10401 * lyx_gui_misc.C: adjust
10402 * lyxfunc.C: adjust
10405 + more files in subdirs
10407 * lyxparagraph.h (size): move up int file
10410 * adjust all uses of Assert to lyx::Assert.
10412 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10413 lyxfunctional in namespace lyx
10414 * layout.C (hasLayout): ditto
10417 (delete_layout): ditto
10418 (NumberOfClass): ditto
10419 * converter.C (GetFormat): ditto
10424 * bufferlist.C (getFileNames): ditto
10425 (emergencyWriteAll): ditto
10428 * MenuBackend.C (hasSubmenu): ditto
10431 * BufferView_pimpl.C (getInsetByCode): ditto
10433 2001-04-18 Juergen Vigna <jug@sad.it>
10435 * vspace.C (asLatexString): fixed the 100% problem.
10437 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10439 * lyxfunc.C (Dispatch):
10441 * minibuffer.h: add a few std:: qualifiers
10443 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10445 * minibuffer.[Ch]: reimplement so that commands is initiated and
10446 run from lyxfunc, simplified som handling, and made the completion
10447 and history code for complete. wip.
10449 * lyxfunc.C (processKeySym): call message
10450 (miniDispatch): new temporary method
10451 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10452 (LFUN_MESSAGE): implement
10453 (LFUN_MESSAGE_PUSH): implement
10454 (LFUN_MESSAGE_POP): implement
10455 (initMiniBuffer): the initial/defualt minibuffer message.
10457 * lyxfont.[Ch]: inline some more getters
10459 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10461 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10463 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10464 (AutoSave): use LFUN_MESSAGE
10465 (Reconfigure): ditto
10467 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10469 * figureForm.C: use LFUN_MESSAGE
10471 * converter.C (runLaTeX): use LFUN_MESSAGE
10473 * bufferview_funcs.C: use LFUN_MESSAGE
10475 (changeDepth): ditto
10477 * bufferparams.h: use boost::
10479 * bufferlist.h: inherit privately from noncopyable
10481 * bufferlist.C (loadLyXFile): remove some commented code.
10483 * buffer.C (runChktex): use LFUN_MESSAGE
10485 * ShareContainer.h: inherit privately from noncopyable
10487 * ParagraphParameters.[hC] (depth): inline it.
10489 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10491 (message): new method
10492 (messagePush): ditto
10493 (messagePop): ditto
10494 (show): init minibuffer
10495 (showState): direct call
10497 * LaTeX.[Ch]: inherit privately from noncopyable
10498 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10499 instead of WriteStatus.
10501 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10503 * BufferView_pimpl.C (buffer): don't init minibuffer
10504 (workAreaButtonPress): use LFUN_MESSAGE
10505 (workAreaButtonRelease): ditto
10506 (savePosition): ditto
10507 (restorePosition): ditto
10508 (MenuInsertLyXFile): ditto
10509 (workAreaExpose): don't init minibuffer
10510 (update): remove commented code, simplify
10512 * BufferView2.C (openStuff): use LFUN_MESSAGE
10513 (toggleFloat): ditto
10516 (copyEnvironment): ditto
10517 (pasteEnvironment): ditto
10522 (updateInset): remove some commented code
10524 * lastfiles.h: inherit privately from noncopyable
10527 * lyx_main.h: ditto
10529 * lyxlex_pimpl.h: ditto
10531 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10532 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10533 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10535 * LyXAction.h: inherit privately from noncopyable, add methods
10536 func_begin, func_end, returning iterators to the func map.
10538 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10539 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10540 (func_begin): new method
10541 (func_end): new method
10543 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10545 (copySelection): ditto
10546 (pasteSelection): ditto
10548 * BufferView.C: whitespace change
10549 * BufferView.h: inherit privately from noncopyable
10551 2001-04-16 Allan Rae <rae@lyx.org>
10553 * tabular-old.C (l_getline):
10554 * spellchecker.C (sc_check_word):
10555 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10556 an unrecognised preprocessor directive. So ensure they're wrapped.
10558 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10560 * src/exporter.C (Export): Give an error message when path to file
10563 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10565 * LaTeX.C (deplog): Always check that foundfile exists.
10567 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10570 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10572 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10574 * tabular.[Ch] (getLabelList): implement new method
10576 * minibuffer.h: comment ouf setTiimer
10578 * minibuffer.C (ExecutingCB): constify res
10579 (peek_event): constify s
10580 (Set): constify ntext
10581 (Init): constify nicename
10583 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10585 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10586 (savePosition): use two params to Minibuffer::Set
10587 (restorePosition): ditto
10589 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10591 * lyx_main.C: include language.h
10593 * Makefile.am (lyx_main.o): add language.h
10595 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10601 * CutAndPaste.C: include gettext.h
10603 * lyxfont.h: remove old hack with ON and OFF.
10606 * lyxfont.h: do not include language.h...
10611 * bufferview_funcs.C:
10617 * paragraph.C: ... but do it here instead
10619 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10621 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10623 * tabular.C: small reformat
10625 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10628 (BreakParagraph): ditto
10629 (SetOnlyLayout): ditto
10632 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10635 * lastfiles.C: removed most using decl, add std:: where needed
10637 * buffer.C: ws changes
10639 * MenuBackend.C (class compare_format): put into anon namespace
10640 (expand): constify label, names, action, action2
10643 * text.C (SingleWidth): constify font
10644 (IsBoundary): constify rtl2
10645 (GetVisibleRow): constify ww
10647 * LaTeX.C (deplog): constify logfile
10649 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10651 (workAreaExpose): constify widthChange, heightChange
10653 * lyxrow.C (par): moved
10656 * lyxrow.h: as inlines here
10658 * lyxfont.h (shape): moved from lyxfont.C
10659 (emph): moved from lyxfont.C
10661 * lyxfont.C (LyXFont): use initialization list for all
10663 (shape): move to lyxfont.h as inline
10664 (emph): move to lyxfont.h as inline
10667 2001-04-04 Juergen Vigna <jug@sad.it>
10669 * vspace.C: had to include stdio.h for use of sscanf
10671 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10674 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10675 independent of xforms.
10677 2001-04-02 Juergen Vigna <jug@sad.it>
10679 * spellchecker.C: fixed namespace placing!
10681 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10683 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10684 the LyXParagraph * is 0.
10686 2001-03-29 Juergen Vigna <jug@sad.it>
10688 * vspace.C: added support for %, c%, p%, l%.
10689 (stringFromUnit): added helper function.
10690 (asLatexString): changed to give right results for the %-values.
10692 * buffer.C: convert the widthp in a width%.
10694 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10696 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10699 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10700 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10702 * lyx_cb.[Ch]: see above.
10704 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10708 * lyx.[Ch]: replaced by figure_form.[Ch].
10712 * lyxfunc.C: changed headers associated with above changes.
10714 2001-03-27 Juergen Vigna <jug@sad.it>
10716 * BufferView_pimpl.C: set the temporary cursor right!
10718 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10720 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10722 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10724 * LString.h: removed "using std::getline"!
10726 * BufferView_pimpl.C (Dispatch): changes due to changes in
10727 InsetInclude::Params.
10729 * buffer.C (tag_name): removed redundant break statements as they were
10730 producing lots of warnings with my compiler.
10732 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10734 * LString.h: add "using std::getline" when using the real <string>.
10736 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10738 * buffer.C: removed bitset usage.
10739 PAR_TAG moved to an anonymous name space.
10740 (tag_name): new funtion, also in the anonymous namespace.
10741 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10742 (makeDocBookFile): clean code. Completed transition from string arrays
10744 (SimpleDocBookOnePar): code clean.
10746 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10748 * tabular.C: add some comments.
10750 2001-03-22 Juergen Vigna <jug@sad.it>
10752 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10753 compatibility read a bit and fixed bug with minipage in different
10756 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10758 * buffer.C (pop_tag): removed.
10759 (push_tag): removed.
10760 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10761 array replaced with vector. Added support for CDATA sections.
10762 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10764 (makeDocBookFile): XML conformant declaration of CDATA section,
10765 fixed bug related to <emphasis> in the first paragraph char.
10766 (sgmlOpenTag): exclude empty tags.
10767 (sgmlCloseTag): ditto.
10769 * buffer.h (pop_tag): removed.
10770 (push_tag): removed.
10772 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10774 * language.h (Languages): added size_type and size().
10776 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10778 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10779 response on compability reading of minipages. One probliem is that
10780 the old usage of minipages was «flertydig»
10782 * several files here and in subdirs: don't use static at file
10783 scope use anon namespaces instead.
10785 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10787 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10788 LaTeX output. This is necessary for Literate document
10791 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10793 * buffer.C: insert hfill when needed.
10795 * tabular.C (l_getline): use string::erase, small whitespace change.
10797 * BufferView_pimpl.C: try the anon namespace.
10798 * WorkArea.C: ditto
10800 2001-03-16 Juergen Vigna <jug@sad.it>
10802 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10803 otherwise it won't open options-dialogs.
10805 * buffer.C: honor pextraWidth(p) on converting minipages.
10807 * tabular.C (l_getline): changed the functions to strip trailing \r.
10809 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10811 * BufferView_pimpl.C:
10812 * minibuffer..C: added "using SigC::slot" declaration.
10814 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10816 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10822 * paragraph.C: ditto
10824 * lyxtext.h: NO_PEXTRA
10826 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10828 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10829 * ParameterStruct.h: ditto
10830 * ParagraphParameters.h: ditto
10831 * lyxparagraph.h: ditto
10833 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10835 * buffer.C: add compability for minipage alignment.
10836 (latexParagraphs): remove unwanted pextra check.
10838 * several files: remove CXX_WORKING_NAMESPACES
10840 * buffer.C (pop_tag): tie is in namespace boost
10842 * BufferView.h: noncopyable is in namespace boost
10844 * lyx_main.h: ditto
10847 * lastfiles.h: ditto
10848 * bufferlist.h: ditto
10849 * ShareContainer.h: ditto
10851 * LyXAction.h: ditto
10854 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10856 * Merging changes from BRANCH_MVC back into HEAD.
10858 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10860 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10862 * BufferView_pimpl.C: change from intl.C
10866 * Makefile.am: move combox.*
10872 * intl.C: remove dialog (covered by prefs)
10874 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10876 * lyxfunc.C (Dispatch): removed redundant break statement.
10878 2001-03-14 Juergen Vigna <jug@sad.it>
10880 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10882 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10884 * buffer.C: add hack to fix compability reading of minipages.
10886 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10888 * buffer.C (getLists): Cleanup.
10890 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10892 * lyxfont.C (update): don't honor toggleall on font size.
10894 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10898 * Makefile.am: moved to frontends/xforms/
10902 * BufferView_pimpl.C: changes for moved mathpanel
10904 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10906 * gettext.h: fix gettext_init() in --disable-nls
10908 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10910 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10912 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10915 * lyx.h: strip external form
10917 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10919 * BufferView_pimpl.C: add comment, destroySplash()
10921 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10923 * BufferView_pimpl.C:
10927 * lyxfunc.C: use re-worked insetinclude
10929 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10931 * buffer.C: add using std::stringstream.
10933 * lyx_cb.C: readd using std::ios.
10935 * buffer.C: add using std::map.
10937 * BufferView_pimpl.C: add using std::vector.
10939 * ShareContainer.h: add std:: to swap.
10941 * buffer.h: add some typedefs
10942 * buffer.C (getLists): use them
10943 (getLists): renamed from getTocList.
10944 add a counter for the different float types and use it in the
10946 (getLists): use the same counter for the NEW_INSETS and the "non"
10949 * lyx_cb.h: remove unused items, includes, using etc.
10951 * ShareContainer.h: remove some commented code, add more comments
10952 and "documentation".
10954 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10956 * buffer.C (getTocList): make the list also when NEW_INSETS is
10959 * buffer.h: remove TocType
10961 * buffer.C (getTocList): change to return a map<string,
10962 vector<TocItem> >, implement for dynamic number of list.
10964 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10965 * text2.C (PasteSelection): adjust
10966 * CutAndPaste.C (pasteSelection): adjust
10968 * FloatList.C (FloatList): update from the new_insets branch.
10969 * Floating.[Ch]: ditto
10970 * LaTeXFeatures.C: ditto
10972 * lyxlex_pimpl.C: ditto
10974 * paragraph.C (Last): remove when NEW_INSETS is defined.
10976 * other file: changes because of the above.
10978 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10980 * lyxparagraph.h: rename next to next_, previous to previous_,
10981 make them private for NEW_INSETS. Rename Next() to next(),
10982 Previous() to previous().
10984 * other files: changes because of the above.
10986 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10989 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10992 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10994 * main.C (main): pass lyx_localedir to gettext_init().
10996 * gettext.h: remove locale_init and gettext_init macros
10998 * gettext.C (locale_init): new function
10999 (gettext_init): new function
11001 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11004 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11006 * Moved credits to frontends:
11007 * credits.[Ch]: removed
11008 * credits_form.[Ch]: removed
11009 * lyx_gui_misc.C: remove credits stuff
11012 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11014 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11016 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11017 unneeded destructor.
11019 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11020 a standalone pointer again.
11022 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11024 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11030 * ToolbarDefaults.C:
11039 * BufferView_pimpl.C: use new file dialog in GUII
11042 * lyx_cb.C: remove LayoutsCB to Toolbar
11044 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11046 * ShareContainer.h (get): add std:: qualifier
11048 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11050 * ShareContainer.h: define a proper ShareContainer::value_type
11051 type (and use typename to please compaq cxx)
11053 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11055 * lyxparagraph.h: move serveral local vars to
11056 ParameterStruct/ParagraphParameters., use ShareContainer in
11057 FontTable., make vars in FontTable private and add getter and
11060 * paragraph.C: changes because of the above.
11062 * lyxfont.h: remove copy constructor and copy assignment. (the
11063 default ones is ok), move number inside FontBits. move inlines to
11066 * lyxfont.C: add number to initializaton of statics, move several
11067 inlines here. constify several local vars. some whitespace
11068 cleanup. Dont hide outerscope variables.
11070 * Spacing.h: add two new constructors to match the set methods.
11072 * ShareContainer.h: new file, will perhaps be moved to support
11074 * ParameterStruct.h: new file
11076 * ParagraphParameters.h: new file
11078 * ParagraphParameters.C: new file
11080 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11081 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11083 * BufferView_pimpl.C: ParagraphParameter changes.
11084 * buffer.C: Likewise.
11085 * bufferview_funcs.C: Likewise.
11086 * text.C: Likewise.
11087 * text2.C: Likewise.
11089 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11091 * lyxfind.C (LyXReplace): do not redefine default argument in
11093 (IsStringInText): ditto
11094 (SearchForward): ditto
11095 (SearchBackward): ditto
11097 2001-03-06 Juergen Vigna <jug@sad.it>
11099 * lyxfind.C (IsStringInText): put parentes around expressions.
11101 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11103 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11105 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11107 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11109 * stl_string_fwd.h: add comment
11111 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11114 * tabular.C: remove unused DocBook methods
11120 killed DO_USE_DEFAULT_LANGUAGE
11122 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11124 * lyx_gui.C: do not include language.h.
11126 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11127 arguments in function implementation.
11129 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11131 * BufferView_pimpl.C: add <ctime>
11133 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11135 * BufferView_pimpl.C: add using std::find_if
11137 2001-02-27 José Matos <jamatos@fep.up.pt>
11139 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11142 2001-02-11 José Matos <jamatos@fep.up.pt>
11144 * buffer.C (makeDocBookFile): command styles now have a parameter as
11145 "title" by default.
11147 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11149 * layout_forms.[Ch]: removed
11150 * lyx_cb.[Ch]: out character
11151 * lyx_gui.C: out character
11152 * lyx_gui_misc.C: out character
11153 * bufferview_funcs.C: : out character,
11154 added toggleall as parameter in ToggleAndShow
11156 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11158 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11160 * text2.C (SetCurrentFont): Disable number property at boundary.
11162 2001-02-26 Juergen Vigna <jug@sad.it>
11164 * lyxfunc.C (getStatus): added a string argument override function so
11165 that this is correctly called from LyXFunc::Dispatch if it contains a
11166 do_not_use_argument which is used!
11167 (Dispatch): added check for "custom" export and call appropriate func.
11169 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11171 * lyxrc.C: Add language_command_local, language_use_babel and
11172 language_global_options.
11174 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11176 * buffer.C (makeLaTeXFile): Use language_use_babel and
11177 language_global_options.
11179 2001-02-23 Juergen Vigna <jug@sad.it>
11181 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11182 which works with LyXText and putted it inside BufferView. Here now we
11183 only call for that part the BufferView::Dispatch() function.
11185 * BufferView.C (Dispatch): added.
11187 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11188 functions which needs to use a LyXText over from LyXFunc.
11189 (MenuInsertLyXFile): added
11190 (getInsetByCode): added
11191 (moveCursorUpdate): added
11192 (static TEXT): added
11194 2001-02-22 Juergen Vigna <jug@sad.it>
11196 * BufferView_pimpl.C (update): call a status update to see if LyXText
11199 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11201 * vc-backend.C (revert): implement for CVS
11202 (getLog): implement for CVS
11204 2001-02-20 Juergen Vigna <jug@sad.it>
11206 * text2.C (ClearSelection): added BufferView param for inset_owner call
11208 * lyxfunc.C (TEXT): added this function and use it instead of
11209 directly owner->view()-text of getLyXText().
11211 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11213 * src/layout_forms.C: out preamble
11214 * src/layout_forms.h: out preamble
11215 * src/lyx_cb.C: out preamble
11216 * src/lyx_cb.h: out preamble
11217 * src/lyx_gui.C: out preamble
11218 * src/lyx_gui_misc.C: out preamble
11219 * src/lyxfunc.C: connect with guii preamble
11221 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11223 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11225 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11227 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11228 whether to run bibtex.
11230 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11232 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11234 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11236 * Makefile.am (lyx_SOURCES): removed bibforms.h
11238 * vspace.h: doxygen
11240 * text.C (GetVisibleRow): make several local vars const
11242 * tabular.C: small cleanup.
11244 * lyxserver.C (callback): use compare instead of strncmp
11246 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11247 inlines to after class or to paragraph.C
11249 * lyxfont.h: remove friend operator!=
11251 * converter.h: move friend bool operator< to non friend and after
11254 * combox.h: small cleanup
11256 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11257 to inlines after class def.
11259 * buffer.C (pop_tag): use string operations instead of strcmp
11261 * bmtable.c: doxygen, small cleanup
11263 * LaTeX.h: remove friend operator==
11265 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11277 * BufferView_pimpl.C:
11278 * BufferView.[Ch]: remove cruft
11280 2001-02-14 Juergen Vigna <jug@sad.it>
11282 * lyxfunc.C: removed #if 0 unused code
11284 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11286 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11288 * text2.C (SetSelection): added a BufferView * parameter
11290 2001-02-13 Juergen Vigna <jug@sad.it>
11292 * lyxfunc.C (Dispatch): fixed protected blank problem.
11293 * BufferView2.C (protectedBlank): added LyxText * parameter.
11295 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11296 (AppendColumn): same as above for column_info.
11298 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11299 (moveCursorUpdate): use a LyXText param for support of InsetText.
11301 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11302 (tripleClick): ditto
11304 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11306 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11308 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11310 * text2.C (SetSelection): set correct update status if inset_owner
11311 (ToggleFree): ditto
11313 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11315 * tabular.C: remove some commented code.
11317 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11319 * BufferView_pimpl.C: call hideSplash()
11321 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11324 * bibforms.h: remove
11327 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11328 add LFUN_CHILD_CREATE
11330 * counters.h: fix tiny typo
11335 * lyx.C: move splash to frontends/xforms/
11337 * lyx_gui_misc.C: move Include and Bibform to frontends
11339 * lyxvc.h: clarify comment
11341 * vspace.C: tiny housekeeping
11343 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11345 * text.C (PrepareToPrint): RTL Fix.
11347 * paragraph.C (GetUChar): New method.
11348 (String): Use GetUChar.
11350 * buffer.C (asciiParagraph): Use GetUChar.
11352 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11354 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11356 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11359 * buffer.C: rename to getLogName(), handle
11360 build log / latex log nicely
11362 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11365 * MenuBackend.h: remove support for reference menuitem type.
11367 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11369 * BufferView_pimpl.C: housekeeping
11370 * BufferView_pimpl.h:
11375 * minibuffer.h: move Timeout GUI-I
11377 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11379 * lyxrc.C (read): Update converters data-structures.
11381 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11383 * LaTeX.h (operator!=): add operator != for Aux_Info
11385 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11387 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11389 * LaTeXLog.C: deleted, useful code moved to Buffer
11392 * buffer.C: new function getLatexLogName()
11398 * lyxfunc.C: use frontends for LaTeX and VC logs
11400 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11402 * LaTeX.h: yet another std:: that Allan forgot.
11404 * Variables.C (set): renamed from isset(), because this clashes
11405 with some HP-UX macros (grr).
11407 2001-02-06 Allan Rae <rae@lyx.org>
11409 * LaTeX.h: Another bug fix. Missing std:: this time.
11411 2001-02-04 Allan Rae <rae@lyx.org>
11413 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11414 floats problem. I've left it commented out because it's not quite
11415 correct. It should also test that the current object is a table or
11416 figure inset. But I haven't gotten around to figuring out how to do
11417 that. I *think* it'll be something like: "table" == inset.type()
11419 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11422 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11424 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11425 all the citation/databases/styles in the auxilary file.
11426 (run): Rerun latex if there was a babel language error.
11428 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11430 * text.C (Backspace): Preserve the font when changing newline char
11432 (BreakParagraph): If the cursor is before a space, delete the space.
11434 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11436 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11438 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11439 new argument (code).
11440 (ChangeCitationsIfUnique): New method.
11442 * paragraph.C (GetPositionOfInset): Handle bibkey.
11444 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11446 * BufferView_pimpl.h: change type of Position::par_pos to
11447 LyXParagraph::size_type.
11449 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11451 * BufferView_pimpl.C (savePosition, restorePosition): Write
11452 messages to minibuffer.
11454 2001-01-28 José Matos <jamatos@fep.up.pt>
11456 * buffer.C (makeDocBookFile): adds support for document language.
11457 A silly restriction on the name of LatexCommand types where removed.
11458 Added support for CDATA sections, allows to chars unescaped, used
11459 among others in code, to avoid escape < and >.
11461 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11463 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11464 saved positions instrad of a stack. Furthermore, a position is
11465 stored using paragraph id/paragraph position.
11467 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11468 Remove LFUN_REF_BACK.
11470 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11472 * converter.C (dvipdfm_options): New method.
11474 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11476 * vspace.C (isValidLength): Fix for empty input string.
11478 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11480 * LyXAction.C (init): change description of LFUN_FIGURE to
11483 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11485 * LaTeX.C: add using directive
11487 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11489 * MenuBackend.C (expand): Fix the sorting of the formats.
11491 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11493 * lyx_main.C: tiny error message fix
11495 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11497 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11498 calling fl_initialize(). This fixes the problem with ',' as
11499 decimal separator in text files.
11501 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11503 * trans.C (process): Fix the keymap bug.
11505 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11507 * LaTeX.C (scanAuxFiles): New method. Provides support for
11508 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11509 (scanLogFile) Scan for "run BibTeX" messages.
11511 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11512 OT1 font encoding. Also, load the aecompl package if the ae
11515 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11517 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11519 * texrow.C (increasePos): turn two error messages into debug
11522 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11524 * LaTeX.C (scanAux): Handle the \@input macro.
11525 (runBibTeX): Use scanAux().
11527 * language.C (latex_options_): New field.
11529 * LaTeXFeatures.C (getMacros): Add language macros.
11531 * buffer.C (makeLaTeXFile): Small fix.
11533 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11535 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11537 * text2.C: add a using directive.
11539 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11544 * lyxfunc.C: kill LyXBell.
11546 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11548 * text.C (IsBoundary): Remove the error message
11550 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11552 * lyxrc.C (setDefaults): Correct initialization value for
11555 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11557 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11560 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11561 and GotoNextNote().
11563 * src/LyXAction.C: Added reference-next.
11565 * text.C (InsertChar): Use contains instead of strchr.
11567 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11569 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11571 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11572 alignment commands (when needed).
11574 * text.C (InsertChar): Add ':' to number separator chars.