1 2003-07-23 Angus Leeming <leeming@lyx.org>
3 * factory.C (createInset): changed interface to the external and
4 graphics mailers' string2params functions.
6 2003-07-23 Angus Leeming <leeming@lyx.org>
8 * factory.C (createInset): pass a
9 Buffer const * parameter to InsetExternalMailer's string2params.
11 2003-07-22 John Levon <levon@movementarian.org>
13 * Thesaurus.h: include the right aiksaurus header
15 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
17 * MenuBackend.C (expand): check menu shortcuts unconditionally
19 2003-07-21 Angus Leeming <leeming@lyx.org>
21 * factory.C (createInset): pass a
22 buffer_path parameter to InsetGraphicsMailer's string2params.
24 2003-07-21 Angus Leeming <leeming@lyx.org>
26 * BufferView_pimpl.C (buffer):
29 * lyxfunc.C (dispatch):
30 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
31 rather than the grfx shortcut.
33 2003-07-21 André Pönitz <poenitz@gmx.net>
35 * rowpainter.C: remove unused variables
38 * tabular_funcs.h: move to tabular.C
41 * tabular.[Ch]: basic optical cleaning
43 * author.h: pass references, not values
45 2003-07-18 André Pönitz <poenitz@gmx.net>
53 * text3.C: two-phase drawing for InsetText and InsetTabular
54 some float -> int changes.
56 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
58 * lyx_main.C: fix the fix
60 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
62 * lyx_main.C: fix a crash in batch mode if no files specified
65 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
67 * format.[Ch] (papersize): moved to BufferParams
68 * converter.[Ch] (dvips_options): moved to BufferParams
69 (dvipdfm_options): moved to anon namespace
70 * bufferparams.[Ch]: added above functions.
72 2003-07-17 André Pönitz <poenitz@gmx.net>
76 * text2.C: don't call inset->update() anymore
78 * metricsinfo.[Ch]: add convenience constructor
80 2003-07-16 André Pönitz <poenitz@gmx.net>
85 * text2.C: replace the LyXCursor::irow_ member with
86 on-demand computation of the value
88 2003-07-16 John Levon <levon@movementarian.org>
90 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
92 2003-07-15 André Pönitz <poenitz@gmx.net>
95 * text2.C: remove no more needed refresh_row
97 2003-07-15 André Pönitz <poenitz@gmx.net>
102 * text3.C: refresh_status tristate -> need_update bool
104 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
106 * lyxtext.h (init): remove reinit argument (act as if always true)
107 * text2.C: adjust to that
109 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
111 * bufferview_funcs.[Ch]: introduce function replaceSelection()
112 * text3.C: use it to delete selections in some cases
113 (bugs 441, 673, 702, 954).
115 2003-07-14 André Pönitz <poenitz@gmx.net>
117 * rowpainter.[Ch]: reduce interface
119 2003-07-14 André Pönitz <poenitz@gmx.net>
121 * BufferView_pimpl.C:
122 * text2.C: adjust after removing unused BufferView * argument
124 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
126 * text2.C (init): fix a crash fired on resize
128 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
130 * buffer.[Ch]: added new closing signal
131 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
132 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
133 BufferView::Pimpl via the closing the signal
135 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
137 * buffer.[Ch]: take out all bv-related from buffer
139 * BufferView_pimpl.[Ch]: connect to new signals
140 * CutAndPaste.C: removed useless asserts
141 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
144 * lyxfunc.C: moved view-related funciontality from vc here
145 * paragraph.C: removed outdated comments
148 2003-07-10 André Pönitz <poenitz@gmx.net>
150 * BufferView_pimpl.C:
154 * text2.C: remove InsetText::InnerCache, clean up consequences
156 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
158 * ispell.C: fix two typos in error messages
160 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
162 * Extend Note inset to other forms of annotation like Comment
163 and Greyedout. Right button click gives dialog.
165 Files modified or added (+):
171 * Makefile.am in frontends/xforms, frontends/xforms/forms,
172 frontends/controllers
176 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
178 * aspell.C: add missing namespace lyx::support
180 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
182 * BufferView.[Ch] (newFile): Add
183 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
184 * LaTeX.[Ch] (message): added this signal and use it
185 * buffer.[Ch] (busy, message): added these signals and use them
186 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
190 * importer.C: use buffer signals instead of direct bv calling
191 * lyx_cb.[Ch] (ShowMessage): removed
195 * text2.C: use buffer signals
197 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
199 * introduce namespace lyx::graphics
201 2003-07-02 André Pönitz <poenitz@gmx.net>
203 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
205 2003-07-01 André Pönitz <poenitz@gmx.net>
212 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
213 text*.C to text_func.C
215 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
217 * introduce namespace lyx::support
219 2003-06-30 André Pönitz <poenitz@gmx.net>
224 * text.C: re-enable --with-included-string
226 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
228 * textcursor.C: add <config.h>
230 * text.C (getWord): remove const from word_location arg
232 * lyxvc.C (getLogFile): fix const type order
234 * lyxtext.h: remove const from word_location arg, add arg name
236 * lyxlayout.h: currect type on labeltype.
238 * importer.C: correct \file
240 * converter.C (intToFormat): use std:: on ret val, ws changes
242 * bufferlist.h: correct \file
244 * buffer.C (makeLinuxDocFile): fix const type order
245 (makeDocBookFile): ditto
246 (fillWithBibKeys): use std:: on stdlib args.
248 * CutAndPaste.C: fix authors.
249 (availableSelections): use std:: on return vector
251 2003-06-27 André Pönitz <poenitz@gmx.net>
253 * BufferView_pimpl.C:
254 * bufferview_funcs.C:
262 * text3.C: remove LyXCursor::row_ member
265 * text.C: rename fullRebreak() to partialRebreak() and implement
266 a fullRebreak() that really bereks fully
268 * textcursor.h: new struct for cursor-related data
270 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
272 * lyx_main.C (LyX): get full path of document loaded on the
275 2003-06-26 André Pönitz <poenitz@gmx.net>
277 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
278 remove unused/broken operator>,<,>=.
280 * text.C: remove only use of broken operator<= in an Assert().
282 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
284 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
285 moved errorlist_.clear to showErrorList
287 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
289 * converter.C (scanLog, runLaTeX):
290 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
291 move the bv->showErrorList call to the callers
292 * lyxfunc.C: i.e. here...
294 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
295 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
296 namespace, the second to...
297 * buffer_funcs (BufferFormat, parseErrors): added
298 * errorlist.C (ErrorList(TeXErrors const &)): removed
300 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
302 * ToolbarBackend.C (getIcon): complain when icon cannot be found
304 2003-06-24 "Garst R. Reese" <reese@isn.net>
308 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
310 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
312 * version.C.in: change docversion to 1.4
314 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
316 * buffer.C: fix a bug just introduced
318 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
320 * buffer.[Ch]: added the parseError signal and use it, removed
322 * BufferView.[Ch] (addError): moved to ...
323 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
324 to the Buffer::parseError signal to catch (guess what) parse errors
325 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
327 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
329 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
330 ability to create a buffer and to return an existing one from
331 the list. Moved these functions to...
332 * buffer_funcs.[Ch]: added
333 * BufferView.[Ch] (loadLyXFile): added
334 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
335 job removed from bufferlist::loadLyXFile.
336 * buffer.C (setReadOnly): make it work without view
337 (i.e added an if (users))
339 2003-06-19 Angus Leeming <leeming@lyx.org>
342 * LyXAction.C (init):
343 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
344 with LFUN_DIALOG_SHOW <name> <data>.
346 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
348 * CutAndPaste.C (availableSelections): small compilation fix for
349 ancient (gcc 2.9x) compilers
351 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
353 * text3.C (cursorNext): add tmp var
355 * text2.C (updateCounters): for function calling out of for clause
356 (replaceSelectionWithString): ditto
357 (insertStringAsParagraphs): ditto
358 (getColumnNearX): add tmp var
359 (setCursorFromCoordinates): add tmp var
360 (cursorDownParagraph): add tmp var
361 (deleteEmptyParagraphMechanism): add tmp var
363 * text.C (insertChar): add tmp var
365 * rowpainter.C (paintDepthBar): add tmp var
367 * CutAndPaste.C (availableSelections): potentially check all
368 paragraphs in a cut to fill the shown strings.
370 2003-06-18 André Pönitz <poenitz@gmx.net>
372 * kbmap.[Ch]: use vector<> instead of list<>
374 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
376 * text3.C (dispatch): handle arg to LFUN_PASTE, call
377 pasteSelection with index
379 * text2.C (pasteSelection): modify, call pasteSelection with index
381 * paragraph.C (asString): reimplement version with no interval to
382 call the one with interval.
384 * lyxtext.h: add index arg to pasteSelection
386 * MenuBackend.C (MenuItem): handle PasteRecent
387 (Menu::read::Menutags): add md_pasterecent
389 (expandPasteRecent): new function
392 * MenuBackend.h: add PasteRecent to MenuItem::Kind
394 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
396 (availableSelections): new function
398 2003-06-17 Angus Leeming <leeming@lyx.org>
400 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
402 2003-06-17 Angus Leeming <leeming@lyx.org>
405 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
407 * lyxfunc.C (dispatch): invoke it.
409 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
411 * iterators.C (operator++, ParPosition): reintroduce some
412 const_cast for the benefit of older compilers.
414 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
416 * text3.C (dispatch): do not modify clipboard when doing
417 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
418 LFUN_DELETE_SKIP on a selection selection
420 2003-06-16 André Pönitz <poenitz@gmx.net>
426 * tabular.[Ch]: IU of clone() and getLabelList();
428 2003-06-13 André Pönitz <poenitz@gmx.net>
430 * tabular.h: compactification
432 2003-06-12 André Pönitz <poenitz@gmx.net>
436 * tabular_funcs.h: some renaming plus whitespace
438 2003-06-12 André Pönitz <poenitz@gmx.net>
441 * BufferView_pimpl.C:
447 * toc.C: Return a Paragraph & for ParIterator::operator*()
449 2003-06-11 John Levon <levon@movementarian.org>
453 * ToolbarBackend.C: add "Toolbars" section and
456 2003-06-10 Angus Leeming <leeming@lyx.org>
459 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
461 * lyxfunc.C (dispatch): invoke it.
463 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
465 * main.C: protect <ios> with HAVE_IOS
466 (main): protect sync_with_stdio with HAVE_IOS
468 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
470 * text2.C (cutSelection): adjust
471 (pasteSelection): adjust
473 * messages.C: handle get of empty string
475 * main.C (main): use sync_with_stdio(false)
477 * lyxfunc.C (dispatch): adjust
479 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
480 (WriteAs): remove unneeded BufferView arg.
482 * bufferparams.h: use correct types on papersize, papersize2 and
485 * bufferparams.C (readToken): adjust for type
486 (writeLaTeX): add missing cases to switch.
488 * bufferlist.C (quitWriteBuffer): adjust
491 * buffer.C (asciiParagraph): remove some commented code.
493 * CutAndPaste.C: remove current_view extern variable.
494 (cutSelection): add BufferParams arg.
495 (eraseSelection): add BufferParams arg.
496 (pasteSelection): add Buffer const & arg
498 2003-06-07 John Levon <levon@movementarian.org>
506 * paragraph.C: allow InsetERT to freely space lines,
507 and some consolidation of code
509 2003-06-06 José Matos <jamatos@fep.up.pt>
511 * buffer.C (makeDocBookFile): fix bug #821
513 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
515 * BufferView_pimpl.C (dispatch): use Dialogs::visible
517 2003-06-04 Angus Leeming <leeming@lyx.org>
519 * buffer.C: bump format to 224.
521 2003-06-05 André Pönitz <poenitz@gmx.net>
523 * text2.C (redoParagraphs): remove two const_cast<>
525 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
527 * ParagraphList.h: remove last remnants of NO_STD_LIST
529 2003-06-03 Angus Leeming <leeming@lyx.org>
531 * factory.C (createInset): small change to the way InsetExternal's params
534 2003-06-04 André Pönitz <poenitz@gmx.net>
536 * buffer.h: use Undo directly instead of shared_ptr<Undo>
539 * paragraph.[Ch]: some Inset -> UpdatableInset changes
541 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
543 * undo_funcs.C: make some simple cases of undo work again
545 2003-06-03 John Levon <levon@movementarian.org>
547 * ispell.C: HPUX doesn't have sys/select.h
550 2003-06-03 John Levon <levon@movementarian.org>
552 * CutAndPaste.C: update tabular and include inset
557 * paragraph.C: remove owningBuffer(), don't pass Buffer
560 * factory.C: insetGraphicsParams changed
562 2003-06-02 John Levon <levon@movementarian.org>
568 * text3.C: remove insetparent
570 2003-06-02 John Levon <levon@movementarian.org>
573 * buffer.C: fix inset_iterator.end(), move out of line
576 2003-06-01 John Levon <levon@movementarian.org>
578 * text3.C: use a proper cut/paste when doing inset
579 insert (from Jürgen Spitzmüller)
581 2003-06-01 John Levon <levon@movementarian.org>
583 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
585 2003-05-30 André Pönitz <poenitz@gmx.net>
587 * rowpainter.C: unify second drawing phase
589 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
591 * trans_mgr.C: remove one case of current_view
593 * text2.C (cursorBottom): delete NO_STD_LIST stuff
595 * paragraph_funcs.h: remove paragraph.h include
597 * paragraph.h: delete NO_STD_LIST stuff
599 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
601 * buffer.h: remove paragraph.h include
603 * ParagraphList.C: delete file
605 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
607 * toc.C (getTocList): adjust
609 * paragraph_pimpl.C (validate): adjust
611 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
613 * paragraph.C (Paragraph): adjust
614 (getPositionOfInset): use const_iterator, adjust
615 (bibitem): use const_iterator, adjust
616 (setInsetOwner): adjust
618 * iterators.C (operator++): adjust
620 * InsetList.[Ch]: Replace selfmade iterator with standard
621 vector::iterator also introduce const_iterator. Remove getPos,
622 getInset and setInset from InsetTable. Adjust accordingly.
624 * BufferView.C (lockInset): adjust
625 (ChangeInsets): adjust
627 * tabular.[Ch]: delete commented same_id functions
629 2003-05-28 John Levon <levon@movementarian.org>
631 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
633 2003-05-28 André Pönitz <poenitz@gmx.net>
635 * metricsinfo.[Ch]: remove 'fullredraw' member
637 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
639 * lyxtextclass.C (operator): remove caching.
641 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
645 * text2.C (cursorBottom): adjust
646 (setCounter): use ParagraphList::find, adjust
648 * text.C (workWidth): use ParagraphList::find, adjust
650 * lyxcursor.C (LyXCursor): adjust
652 * buffer.C (inset_iterator): adjust
654 * ParagraphList.h: make iterator(value_type) private, make
655 ParagraphList a friend of iterator.
657 * ParagraphList.C (find): new function
659 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
661 2003-05-27 André Pönitz <poenitz@gmx.net>
663 * dimension.[Ch]: a -> asc, d -> des, w -> wid
665 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
667 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
669 2003-05-26 John Levon <levon@movementarian.org>
671 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
673 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
675 * remove same_id from function signatures, adjust.
677 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
679 * undo_funcs.C (createUndo): use the id functions directly, adjust.
681 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
683 * paragraph.C (Paragraph): get rid of same_ids parameter
685 * ParagraphList.C (insert): adjust
688 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
690 * paragraph_funcs.C (breakParagraph): adjust
691 (breakParagraphConservative): adjust
693 * buffer.C (readParagraph): adjust
695 * ParagraphList.C (insert): take a reference instead of a pointer
698 * paragraph.[Ch] (id): new function
700 * bufferlist.C (newFile): adjust
702 * ParagraphList.C (ParagraphList): adjust
704 (push_back): take a reference instead of a pointer.
706 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
708 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
711 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
712 set else use old code.
714 * ParagraphList.C: remove all NO_NEXT code and only compile this
715 code of NO_STD_LIST is set.
717 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
719 * BufferView_pimpl.C:
729 * graphics/GraphicsConverter.C:
730 * graphics/PreviewLoader.C: header adjustment
732 2003-05-23 Angus Leeming <leeming@lyx.org>
734 * LaTeXFeatures.[Ch] (useBabel): new method.
735 * bufferparams.C (writeLaTeX): use it.
737 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
739 * ParagraphList.h (set): remove unused function.
741 2003-05-23 André Pönitz <poenitz@gmx.net>
744 * BufferView_pimpl.C:
748 * undo_funcs.C: setUndo reworked
750 * iterators.[Ch]: add access to topmost ParagraphList
752 * lyxtext.[Ch] (workWidth): add a const
754 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
756 * texrow.[Ch] (increasePos): remove function
757 * exporter.C (export): removed unused var and outdated comment
759 2003-05-23 Angus Leeming <leeming@lyx.org>
761 * latexrunparams.h: rename fragile as moving_arg.
762 * paragraph.C (simpleTeXOnePar): ditto.
763 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
765 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
767 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
769 (textUndoOrRedo): comment out a currently unused var.
771 * paragraph.h (NO_NEXT): enable NO_NEXT
773 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
775 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
777 * exporter.C (Export): adjust for removeAutoInsets removal.
779 * buffer.C (runChktex): adjust for removeAutoInsets removal.
781 * LyXAction.C (init): remove LFUN_REMOVEERRORS
783 * BufferView.[Ch] (removeAutoInsets): delete function
785 2003-05-22 Angus Leeming <leeming@lyx.org>
787 * latexrunparams.h: add a free_spacing variable.
789 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
790 to pass moving_arg, as the data is stored in runparams.fragile.
792 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
793 to Inset::latexOptional or to simpleTeXOnePar.
795 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
796 free_spacing arg to Inset::latexOptional.
798 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
801 2003-05-22 Angus Leeming <leeming@lyx.org>
803 * latexrunparams.h: add fragile and use_babel variables.
805 * bufferparams.[Ch] (writeLaTeX): return use_babel.
806 * buffer.C (makeLaTeXFile): store this returned value in
807 runparams.use_babel, thus passing it to the inset::latex methods.
809 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
810 simpleTeXSpecialChars as it is now stored in runparams.fragile.
812 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
813 longer has a fragile arg, as it is stored in runparams.fragile.
815 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
816 moving_arg parameter as the data is stored in runparams.fragile.
818 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
819 a fragile parameter as the data is stored in runparams.fragile.
821 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
823 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
825 2003-05-22 Angus Leeming <leeming@lyx.org>
827 * latexrunparams.h: add a 'bool nice' which defaults to false.
829 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
830 now encapsulated within runparams.
832 * bufferlist.C (updateIncludedTeXfiles):
833 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
835 2003-05-22 Angus Leeming <leeming@lyx.org>
837 * latexrunparams.h: new file containing struct LatexRunParams.
838 * Makefile.am: add new file.
840 * LaTeX.[Ch] (c-tor, run):
841 * buffer.[Ch] (makeLaTeXFile):
842 * bufferlist.[Ch] (updateIncludedTeXfiles):
843 * converter.C (convert, scanLog):
844 * converter.[Ch] (runLaTeX):
845 * exporter.C (Export):
846 * paragraph.[Ch] (simpleTeXOnePar):
847 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
848 * paragraph_funcs.[Ch] (latexParagraphs):
849 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
850 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
851 pass around a LatexRunParams parameter.
853 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
855 * paragraph.[Ch]: remove unused constructor
857 * ParagraphList.C (erase): new function, taking two iterators
859 2003-05-22 André Pönitz <poenitz@gmx.net>
861 * undo_funcs.C: remove duplicated code
863 * iterator.[Ch]: operator=
865 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
867 * tabular.C (SetMultiColumn): ws changes
869 * rowpainter.C (paintFirst): get rid of a ->previous
871 * lyx_cb.C (getPossibleLabel): parlist simplification
873 * BufferView.C (ChangeInsets): simplify slightly.
875 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
877 * LyXAction.C: new lfun space-insert, kill protected-space-insert
878 * lfuns.h: new LFUN_SPACE
879 * lyxfunc.C: protected space has a new lfun
880 * paragraph_funcs.C: read new space insets
882 * factory.C: handle new space insets
884 2003-05-22 André Pönitz <poenitz@gmx.net>
887 * BufferView_pimpl.C:
890 * undo_funcs.C: return a ParIterator from getParFromID.
892 * iterators.[Ch]: add two const's
894 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
896 * toc.C (getTocList): adjust
898 * iterators.[Ch]: rework for parlist
900 * buffer.C (par_iterator_begin): adjust
901 (par_iterator_end): adjust
903 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
905 * BufferView.C (removeAutoInsets): adjust
906 (ChangeInsets): adjust
908 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
910 * text.C (top_y): fix bug 1110
912 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
914 * errorlist.[Ch]: added
917 * BufferView_pimpl.C:
918 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
921 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
923 * Makefile.am: ensure that lyx is relinked upon changes to the
924 various "convenience" libs.
926 2003-05-20 Angus Leeming <leeming@lyx.org>
928 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
929 files are compiled in alphabetical order again.
931 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
933 2003-05-19 Angus Leeming <leeming@lyx.org>
935 * gettext.[Ch]: remove "char const * _(char const *)".
937 2003-05-19 André Pönitz <poenitz@gmx.net>
939 * dimension.[Ch]: promote from mathed/dimension.[Ch]
948 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
950 2003-05-19 André Pönitz <poenitz@gmx.net>
956 * paragraph_funcs.[Ch]:
958 * text3.C: more insetenv work
960 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
962 * ParagraphParameters.C (params2string): small bug fixed
964 2003-05-16 André Pönitz <poenitz@gmx.net>
967 * bufferview_funcs.C: patch from Kornel Benko to prevent
968 crash when _(...) is called twice in a statement
970 2003-05-16 André Pönitz <poenitz@gmx.net>
977 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
979 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
981 * lyx_main.C (init): remove spurious static_cast
983 2003-05-14 André Pönitz <poenitz@gmx.net>
985 * BufferView.C: fix format string
987 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
989 * BufferView.[Ch] (insertErrors): removed
990 * BufferView.[Ch] (showErrorList): added
991 * buffer.C (runChkTeX):
992 * converter.C (scanLog): call showErrorList instead of inserterrors
994 2003-05-13 André Pönitz <poenitz@gmx.net>
996 * BufferView_pimpl.C:
1005 * tabular_funcs.h: tostr() from its own header
1007 * ParagraphParameters.C:
1012 * text3.C: STRCONV()
1014 2003-05-12 André Pönitz <poenitz@gmx.net>
1017 * BufferView_pimpl.C:
1021 * ParagraphParameters.C:
1025 * bufferview_funcs.C:
1038 * paragraph_funcs.C:
1042 * text3.C: boost::format -> bformat all over the place
1045 2003-05-09 André Pönitz <poenitz@gmx.net>
1047 * LColor.[Ch]: Pimpl the #include <map> away
1049 2003-05-09 John Levon <levon@movementarian.org>
1051 * bufferlist.C: never remove emergency saves
1053 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1055 * Makefile.am: better lib building
1057 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1059 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1061 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1062 (simpleTeXSpecialChars): adjust
1063 (simpleTeXSpecialChars): adjust
1064 * paragraph.C (simpleTeXOnePar): adjust
1065 * buffer.C (makeLaTeXFile): adjust
1067 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1069 * text2.C (changeDepth): parlist cleanup
1070 (getColumnNearX): ditto
1072 * rowpainter.C (getLabelFont): parlist cleanup
1074 * bufferlist.C (newFile): parlist cleanup
1076 * CutAndPaste.C (eraseSelection): parlist cleanup
1078 * BufferView_pimpl.C (trackChanges): parlist cleanup
1081 * BufferView.C (lockInset): parlist cleanup.
1082 (ChangeInsets): ditto
1084 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1086 * CutAndPaste.h: Update file header.
1088 * CutAndPaste.C: Update file header.
1089 Store the parts cut out of the Document in a limited_stack.
1090 (copySelection): adjust
1091 (pasteSelection): new function, takes the index in the limited stack.
1092 (nrOfParagraphs): adjust
1093 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1094 simplify error inset insertion.
1095 (checkPastePossible): adjust
1097 2003-05-06 John Levon <levon@movementarian.org>
1099 * text2.C: don't cast wrap inset to float
1101 2003-05-05 André Pönitz <poenitz@gmx.net>
1104 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1106 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1107 few naked Paragraph *.
1109 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1111 * bufferparams.C: Output warning if a document with missing
1112 TeX document class is loaded
1113 * exporter.C: Disable TeX exports if the document class is missing
1116 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1117 isTeXClassAvailable()
1119 2003-05-03 John Levon <levon@movementarian.org>
1122 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1123 explicit cursor show/hide
1125 * BufferView_pimpl.h:
1126 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1127 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1129 * lyxfunc.C: hide cursor before dispatching.
1134 * text3.C: remove explicit cursor hides
1136 2003-05-02 André Pönitz <poenitz@gmx.net>
1138 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1141 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1144 * text2.C: tiny whitespace
1146 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1148 * undo_funcs.C: almost only ws changes.
1150 * ParagraphList.C (splice): just return if pl is empty.
1152 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1154 * ParagraphList.C (splice): new function.
1156 * CutAndPaste.C (pasteSelection): use it
1158 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1160 * CutAndPaste.C (pasteSelection): remove the last next and
1161 previous from this file.
1163 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1165 * CutAndPaste.C (pasteSelection): more clean up, user proper
1166 ParagraphList functions for pasteing.
1168 * ParagraphList.C (insert): new function, three arg insert
1170 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1172 * ParagraphList.C (insert): new function, three arg insert
1174 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1177 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1179 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1181 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1183 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1185 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1187 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1188 (copySelection): clean up a bit.
1189 (pasteSelection): use make_pair
1191 * ParagraphList.C (ParagraphList): implement copy constructor
1192 (operator=): implement, base on copy constructor.
1195 * paragraph.C (erase): return a bool
1197 * paragraph_pimpl.C (erasePos): remove function, move contents...
1198 (erase): ... here. Return a bool.
1199 (erase): call erase instead of erasePos.
1201 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1203 * ParagraphList.h: define PitPosPair
1204 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1205 ParagraphList, fix a bug on pasting multiple pars
1206 * text2.C: change interface to C&P
1208 2003-04-30 André Pönitz <poenitz@gmx.net>
1210 * undo_func.C: revert part of yesterday's patch 2
1212 2003-04-30 John Levon <levon@movementarian.org>
1214 * LColor.C: s/tabular/table/
1216 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1218 * text3.C (dispatch): do not convert iterator -> pointer
1219 * undo_funcs.C (setCursorParUndo): ditto
1220 * text_funcs.C (transposeChars): ditto
1222 * text2.C (setLayout): ws changes only
1224 * text.C (breakParagraph): do not convert iterator -> pointer
1226 (acceptChange): ditto
1227 (rejectChange): ditto
1232 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1235 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1237 * text3.C (gotoInset): YABG (yet another bad getChar)
1239 2003-04-29 André Pönitz <poenitz@gmx.net>
1241 * paragraph.h: make operator= private unimplemented as long as
1244 * ParagraphList.C: whitespace
1247 * paragraph_pimpl.[Ch]:
1248 * paragraph_funcs.C:
1250 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1253 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1255 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1257 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1258 * paragraph.[Ch] (erase):
1259 * paragraph_pimpl.[Ch] (erase): change return type and value
1260 * text2.C (cutSelection): some rework
1262 2003-04-28 John Levon <levon@movementarian.org>
1264 * bufferlist.C: changes for unsaved changes dialog
1266 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1268 * bufferlist.C (newFile): set language (messages_) for new
1271 * buffer.C (readFile): ws changes only.
1273 2003-04-28 André Pönitz <poenitz@gmx.net>
1278 * BufferView_pimpl.C:
1279 * BufferView.C: getParFromID related ParagraphList::iterator changes
1281 2003-04-28 André Pönitz <poenitz@gmx.net>
1283 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1286 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1288 * messages.C: remove one more localedir class variable.
1290 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1292 * messages.C (getLocaleDir): singleton generation function
1294 (Messages): add a default constructor.
1296 * main.C (main): do not setup localedir here, do not call
1299 * gettext.C (_): use it.
1300 (gettext_init): delete funciton
1302 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1304 * gettext.C (getLyXMessages): new singleton generating function.
1306 * buffer.C (updateDocLang): adjust
1308 * Makefile.am (messages.o): add target
1309 (main.o): remove target
1311 2003-04-27 John Levon <levon@movementarian.org>
1316 * lyxvc.C: specify cancel button in Alert::prompt
1318 2003-04-26 John Levon <levon@movementarian.org>
1323 * LyXAction.C: add LFUN_INSET_SETTINGS
1325 * lyxfunc.C: don't enable tabular-feature when there's
1326 just any locking inset
1328 2003-04-26 John Levon <levon@movementarian.org>
1330 * bufferlist.C: re-add Cancel to buffer close question
1332 * lyxfunc.C: fix import UI a bit
1334 2003-04-25 John Levon <levon@movementarian.org>
1336 * gettext.C: remove the broken asserts for now
1338 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1340 * messages.C: make case where setlocale cannot comply work better.
1342 * buffer.C (updateDocLang): new function
1343 (changeLanguage): use it
1346 * text2.C (setCounter): use B_ a bit.
1348 * lyxlayout.C (Read): be sure to trim the label strings.
1350 * messages.C (Messages): fix typo in comment
1352 * buffer.C (readFile): set message_ after file is loaded.
1353 (makeDocBookFile): remove double return
1354 (changeLanguage): reset message_ upon language change.
1355 (B_): new func, use this to get translated buffer strings.
1357 * main.C: add myself and Jean Marc as authors.
1359 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1361 * messages.[hC]: pimplify Messages, and three different pimpls to be
1362 used in different circumstances.
1364 * gettext.[Ch]: change for use with new message code.
1366 2003-04-24 André Pönitz <poenitz@gmx.net>
1368 * factory.C: support for eqref
1370 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1372 * messages.[Ch]: add missing char
1374 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1376 * messages.[Ch]: New files
1378 2003-04-18 John Levon <levon@movementarian.org>
1382 * BufferView_pimpl.C:
1386 * text2.C: remove layout-copy/paste (bug 778)
1388 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1390 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1392 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1394 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1395 if they succeed. Act accordingly.
1397 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1399 * text2.C (setCharFont): adjust
1400 (setCounter): adjust
1401 (insertStringAsLines): adjust
1403 * text.C (leftMargin): adjust
1404 (setHeightOfRow): adjust
1406 * rowpainter.C (paintFirst): adjust
1409 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1411 (isFirstInSequence): ditto
1412 (getEndLabel): ditto
1415 * paragraph.C (getParLanguage): comment out some hard stuff.
1417 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1419 (simpleDocBookOnePar): ditto
1420 (makeDocBookFile): use ParagraphList::iterator
1422 * CutAndPaste.C (pasteSelection): adjust
1424 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1426 * text2.C (getFont): adjust
1427 (getLayoutFont): adjust
1428 (getLabelFont): adjust
1430 * paragraph_funcs.C (TeXOnePar): adjust
1432 * buffer.C (simpleLinuxDocOnePar): adjust
1433 (simpleDocBookOnePar): adjust
1435 * CutAndPaste.C (pasteSelection): adjust
1437 * BufferView.C (getEncoding): adjust
1439 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1441 2003-04-16 John Levon <levon@movementarian.org>
1443 * lyxfind.C: use parlist stuff for search/changes
1445 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1447 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1449 * text2.C (deleteEmptyParagraphMechanism): adjust
1451 * text2.[Ch] (ownerParagraph): delete func (both of them
1453 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1455 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1457 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1459 * ParagraphList.C: prepare for NO_NEXT
1461 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1463 * text2.C (getFont): adjust
1464 (getLayoutFont): adjust
1465 (getLabelFont): adjust
1467 * paragraph.C (getFont): adjust
1468 (getLabelFont): adjust
1469 (getLayoutFont): adjust
1471 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1473 2003-04-15 John Levon <levon@movementarian.org>
1477 * lyx_main.C: handle Include in .ui files
1479 2003-04-15 John Levon <levon@movementarian.org>
1481 * MenuBackend.C: make the doc files length shorter
1484 * ToolbarBackend.C: handle toolbar placement flags,
1487 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1489 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1492 * paragraph_funcs.C (TeXOnePar): adjust
1494 * paragraph.C (getLabelFont): add outerfont arg, adjust
1495 (getLayoutFont): ditto
1496 (simpleTeXOnePar): adjust
1498 * paragraph_pimpl.C (realizeFont): delete func
1500 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1502 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1503 row argument, constify cur argument.
1505 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1507 * text2.C (getFont): adjust
1508 (getLayoutFont): adjust
1509 (getLabelFont): adjust
1511 * paragraph_funcs.C (TeXOnePar): adjust
1512 (outerFont): new func...
1513 (realizeFont): ...moved out from here, changed this to facilitate
1516 * paragraph.C (getFont): take outerfont as arg, adjust
1517 (simpleTeXOnePar): add outerfont arg, adjust
1519 * buffer.C (simpleLinuxDocOnePar): adjust
1520 (simpleDocBookOnePar): adjust
1522 * CutAndPaste.C (pasteSelection): adjust
1524 * BufferView.C (getEncoding): adjust
1526 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1528 * text2.C (setCharFont): adjust
1529 (setCounter): adjust
1531 * text.C (leftMargin): adjust
1532 (setHeightOfRow): adjust
1534 * rowpainter.C (paintFirst): adjust
1537 * paragraph_pimpl.C (realizeFont): adjust
1539 * paragraph.C (isFirstInSequence): move from here...
1540 * paragraph_funcs.C (isFirstInSequence): ...to here
1542 * paragraph.C (outerHook): move from here...
1543 * paragraph_funcs.C (outerHook): ...to here
1545 * paragraph.C (depthHook): move from here...
1546 * paragraph_funcs.C (depthHook): ...to here
1548 * paragraph.C (getEndLabel): move from here...
1549 * paragraph_funcs.C (getEndLabel): ...to here
1551 * text2.C (realizeFont): move from here...
1552 * paragraph_funcs.C (realizeFont): ...to here
1554 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1556 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1558 2003-04-14 Angus Leeming <leeming@lyx.org>
1560 * LColor.[Ch]: scrap LColor mathcursor.
1562 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1564 * lyxlex.[Ch] (text): delete function
1565 * trans.C (Load): adjust
1566 * paragraph_funcs.C (readParToken): adjust
1568 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1570 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1571 vector<char> instead of a char[].
1573 * lyxlex_pimpl.C (getString): adjust
1575 (lex): use getString
1579 * lyxlex.C (text): use pimpl_->getString()
1583 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1585 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1586 (makeFontEntriesLayoutSpecific): temp var for par.size()
1587 (setLayout): temp var for ownerParagraphs().end()
1588 (fullRebreak): temp var for rows().end()
1589 (selectionAsString): temp var for boost::next(startpit), realize
1590 that the while really is a regular for loop.
1591 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1592 setCursor in one place.
1593 (setParagraph): temp vr for ownerParagraphs().end()
1594 (updateCounters): make the while loop a for loop
1595 (cutSelection): temp var for ownerParagraphs().end()
1596 (updateInset): make the do {} while() a regular for loop
1597 (getCursorX): use temp vars
1598 (setCurrentFont): use temp vars
1599 (getColumnNearX): use temp vars
1601 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1603 * text.C (transformChar): use temp var for getChar
1604 (computeBidiTables): use temp var for row->par()
1605 (fill): move temp vars for row->par() and pit->layout() earlier in
1607 (labelFill): use temp var for row->par()
1608 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1609 asc and desc, realize that pit never changes and that firstpit is
1610 just a duplicate and not needed. Exchange rit->par() with pit in a
1612 (breakAgain): use a temp var for boost::next(rit)
1613 (breakAgainOneRow): ditto
1614 (breakParagraph): use a temp var for rows().begin()
1615 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1616 (cursorRightOneWord): use temp var for cursor.par() and
1617 cursor.pos(), remove usage of tmpcursor.
1618 (cursorLeftOneWord): use temp var for cursor.par() and
1619 cursor.pos() only set cur at end of function.
1621 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1623 * text.C, text2.C: exchange all usage of Paragraph::next with
1624 boost::next(ParagraphList::iterator)
1626 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1628 * text2.C (cursorTop): simplify implementation
1629 (cursorBottom): ditto
1630 (setParagraph): use ParagraphList::iterator
1631 (setCurrentFont): adjust
1632 (getColumnNearX): adjust
1633 (cursorRight): adjust
1634 (cursorLeft): remove usage of Paragraph::previous
1635 (cursorUpParagraph): ditto
1636 (deleteEmptyParagraphMechanism): slight cleanup
1638 * text.C (isBoundary): take a Paragraph const & instead of a
1640 (addressBreakPoint): ditto
1641 (leftMargin): remove usage of Paragraph::previous.
1642 (setHeightOfRow): ditto
1643 (cursorLeftOneWord): ditto
1644 (selectNextWordToSpellcheck): ditto
1647 (breakParagraph): remove one usage of Paragraph::next
1648 (redoParagraph): ditto
1649 (acceptChange): ditto
1650 (insertChar): adjust
1651 (rowBreakPoint): adjust
1653 * bufferview_funcs.C (toggleAndShow): adjust
1655 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1657 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1658 methods to access it.
1660 * text.C: Added updateRowPositions to compute all row positions.
1661 Make top_y and getRowNearY() to use the cached y position
1663 2003-04-11 John Levon <levon@movementarian.org>
1665 * text.C (rowBreakPoint): reintroduce the labelEnd
1666 checks, code copied from the row fill stuff. Deep voodoo.
1668 * text.C (fill): add a comment and debugging for the
1671 2003-04-11 John Levon <levon@movementarian.org>
1673 * text.C: make sure fullrow insets get wrapped to the next line,
1674 even when they're in a manual label
1676 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1678 * text2.C (insertParagraph): make it take ParagraphList::iterator
1680 (setLayout): make it return ParagraphList::iterator
1681 (redoParagraphs): ditto
1683 (checkParagraph): ditto
1685 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1687 * text2.C: adjust several funcs.
1688 (realizeFont): take a ParagraphList::iterator as arg.
1689 (getLayoutFont): ditto
1690 (getLabelFont): ditto
1691 (setCharFont): ditto
1693 * text.C: adjust several funcs.
1695 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1697 * text.C (selectNextWordToSpellcheck): don't accidentally
1700 2003-04-10 John Levon <levon@movementarian.org>
1702 * ToolbarBackend.C (getIcon): special handling for
1705 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1707 * text2.C (cursorRight): a getChar assert fixed
1709 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1711 * text2.C (getFont): change to take a ParagraphList::iterator
1712 instead of Paragraph*
1713 Adjust several functions.
1715 * text.C (transformChar): change to take a ParagraphList::iterator
1716 instead of Paragraph*
1717 (singleWidth): ditto
1718 Adjust several functions.
1720 * rowpainter.C: adjust several functions
1721 * rowpainter.h:store a ParagraphList::iterator and not a
1725 2003-04-09 John Levon <levon@movementarian.org>
1730 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1731 and the "help" bits as well
1733 2003-04-09 John Levon <levon@movementarian.org>
1736 * ToolbarBackend.C: allow multiple toolbars
1738 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1740 * undo_funcs.C (setCursorParUndo): adjust
1742 * text_funcs.C (transposeChars): adjust
1744 * text3.C (gotoNextInset): adjust
1747 * text2.C (setLayout): adjust
1748 (changeDepth): adjust
1750 (redoParagraphs): adjust
1751 (selectionAsString): adjust
1752 (setParagraph): adjust
1753 (insertInset): adjust
1754 (cutSelection): adjust
1755 (copySelection): adjust
1756 (pasteSelection): adjust
1757 (insertStringAsLines): adjust
1758 (updateInset): adjust
1759 (setCursor): change to take a ParagraphList::iterator parameter
1760 (setCursorIntern): change to take a ParagraphList::iterator parameter
1761 (setCurrentFont): adjust
1762 (cursorLeft): adjust
1763 (cursorRight): adjust
1764 (deleteEmptyParagraphMechanism): adjust
1766 * text.C (breakParagraph): adjust
1767 (insertChar): adjust
1768 (acceptChange): adjust
1769 (rejectChange): adjust
1770 (selectNextWordToSpellcheck): adjust
1771 (changeCase): adjust
1775 * lyxfind.C (SearchForward): adjust
1776 (SearchBackward): adjust
1777 (nextChange): adjust
1779 * lyxcursor.C (par): adjust
1781 * lyxcursor.h: store a ParagraphList::iterator instead of a
1784 * lyx_cb.C (getPossibleLabel): adjust
1786 * bufferview_funcs.C (toggleAndShow): adjust
1788 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1791 * BufferView.C (removeAutoInsets): adjust
1792 (lockedInsetStoreUndo): adjust
1794 2003-04-09 John Levon <levon@movementarian.org>
1796 * ToolbarBackend.C: try icon without argument
1797 if with argument fails
1799 2003-04-08 John Levon <levon@movementarian.org>
1802 * ToolbarBackend.C: add getIcon(), handle tooltip,
1803 and change from "Icon" to "Item".
1805 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1807 * BufferView.C (lockInset): another bad getchar crunched
1809 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1811 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1814 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1816 * lyxfind.C (searchForward, searchBackwards): bug 782
1818 2003-04-07 John Levon <levon@movementarian.org>
1820 * paragraph.C: remove dead comment
1822 * text.C: remove troublesome depth-fiddling code
1823 in leftMargin() and rightMargin() (bug 1017)
1825 * text.C: fix breaking of rows in nested lists
1828 * text2.C (updateCounters): fix up depth values
1831 2003-04-07 John Levon <levon@movementarian.org>
1833 * BufferView_pimpl.C: clear message when doc finishes resizing,
1834 and after a mouse event
1836 * lyxfunc.C: clear message after exiting inset
1838 2003-04-07 John Levon <levon@movementarian.org>
1840 * bufferview_funcs.C: show math status not outside
1841 status in the statusbar
1843 2003-04-07 John Levon <levon@movementarian.org>
1845 * lyxfunc.C: note status changed after a depth change
1847 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1849 * LaTeX.h: move AuxInfo operator==, != out of line.
1850 Remove LaTeX virtual destructor; nothing derives from it.
1851 Move operator()() out of public area and rename it startscript().
1852 Change protected for private.
1854 2003-04-04 Angus Leeming <leeming@lyx.org>
1857 * text2.C: remove unneeded #includes.
1859 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1861 * text2.C (dEPM): fix the heigth of the next row
1863 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1865 * text.C: squashed an invalid getChar requester + some ws changes
1867 2003-04-03 John Levon <levon@movementarian.org>
1869 * bufferview_funcs.h:
1870 * bufferview_funcs.C:
1873 * text2.C: make getStatus work for the env depth lfuns
1875 2003-04-03 John Levon <levon@movementarian.org>
1877 * bufferview_funcs.h:
1878 * bufferview_funcs.C:
1881 * text2.C: parlistize decDepth(), by merging it with incDepth()
1883 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1885 * lyxrow.h: store a ParagraphList::iterator instead of a
1886 Paragraph* and adjust other class functions to suit.
1888 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1891 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1893 * text2.C (setCursor): do not anchor to cursor row for the time being
1895 2003-04-02 John Levon <levon@movementarian.org>
1902 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1904 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1906 * paragraph.h: make ParagraphList and ParagraphList::iterator
1907 friends of Paragraph.
1909 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1911 * ParagraphList.C: Use the private next_ and previous_ from
1914 2003-04-01 John Levon <levon@movementarian.org>
1918 * Makefile.am: rename, remove defaults gunk
1921 * MenuBackend.C: remove defaults gunk
1924 * Languages.C: remove defaults gunk
1927 * lyx_main.C: error out if files couldn't be found.
1929 2003-04-02 John Levon <levon@movementarian.org>
1931 * text2.C: make incDepth() use parlist
1933 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1935 * undo_funcs.C (firstUndoParagraph): adjust
1937 * text3.C (gotoInset): adjust
1938 (dispatch): adjust, and rewrite loop.
1940 * text2.C (init): adjust, and rewrite loop.
1941 (redoParagraphs): adjust
1942 (updateInset): adjust, and rewrite loop.
1943 (deleteEmptyParagraphMechanism): adjust
1945 * tabular.C (LyXTabular): adjust
1946 (SetMultiColumn): adjust
1949 * lyxtext.[Ch] (ownerParagraph): delete function
1950 (ownerParagraphs): new function returns a ParagraphList.
1952 * BufferView.C (removeAutoInsets): adjust
1953 (insertErrors): adjust
1954 (setCursorFromRow): adjust
1956 2003-04-01 Angus Leeming <leeming@lyx.org>
1958 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1961 2003-04-02 John Levon <levon@movementarian.org>
1967 * text_funcs.C: make transposeChars a free function
1969 * lyxrow_funcs.C: remove wrong comment
1971 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1974 * rowpainter.C: adjust
1979 * lyxrow_funcs. [Ch]: new files
1981 * lyxrow.[Ch]: remove next and previous pointers
1982 (next,previous): remove accessor functions
1983 (isParEnd): move to lyxrow_funcs
1984 (lastPos): move to lyxrow_funcs
1985 (nextRowIsAllInset): move to lyxrow_funcs
1986 (lastPrintablePos): move to lyxrow_funcs
1987 (numberOfSeparators): move to lyxrow_funcs
1988 (numberOfHfills): move to lyxrow_funcs
1989 (numberOfLabelHfills): move to lyxrow_funcs
1990 (hfillExpansion): move to lyxrow_funcs
1994 * bufferview_funcs.C (toggleAndShow): adjust
1996 * RowList.h: Remove class RowList from file leave just a
1999 * RowList.C: delete file
2001 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2004 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2006 * text3.C (cursorPrevious): adjust
2007 (cursorNext): adjust
2010 * text2.C (redoHeightOfParagraph): adjust
2011 (redoDrawingOfParagraph): adjust
2014 * text.C (breakParagraph): adjust
2015 (insertChar): adjust
2018 * rowpainter.C (RowPainter): adjust
2019 (leftMargin): simplify and adjust
2020 (most rowpainter functions): adjust.
2022 * rowpainter.h: store the row as RowList::iterator not as Row*
2024 * lyxcursor.C (row): taka RowList::iterator as arg
2027 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2030 2003-04-01 Angus Leeming <leeming@lyx.org>
2032 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2033 stuff like bool Bool.
2035 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2037 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2040 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2042 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2045 * lyxtext.h (rows): drop one version and leve a const variant that
2046 returns a RowList::iterator.
2048 2003-03-31 Angus Leeming <leeming@lyx.org>
2050 * text.C (fill): ensure that the signature is the same as that in the
2053 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2055 * text2.C (redoParagraphs): adjust
2056 (updateCounters): adjust
2057 (checkParagraph): adjust
2058 (getColumnNearX): adjust and reformat a bit.
2060 * text.C (top_y): adjust
2062 (leftMargin): adjust
2063 (prepareToPrint): adjust
2065 (getRowNearY): adjust
2067 * lyxtext.h: make rowlist_ mutable.
2069 * RowList.h: add const_iterator
2070 * RowList.C: adjust for RowList::const_iterator.
2072 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2075 2003-03-31 John Levon <levon@movementarian.org>
2078 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2080 * lyx_main.C: set default fonts from using lyx_gui funcs
2082 * exporter.C: pdf_mode moved from lyxrc
2085 * lyxfunc.C: changes from above
2087 2003-03-31 John Levon <levon@movementarian.org>
2089 * lyx_main.C: fix to the last fix
2091 2003-03-31 John Levon <levon@movementarian.org>
2093 * bufferlist.C: "Load original" -> "Load Original"
2099 * format.C: more Alert cleanups
2101 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2103 * text2.C (removeParagraph): make it take a RowList::iterator as
2105 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2106 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2108 * text.C (anchor_row): make it take a RowList::iterator as arg,
2110 (computeBidiTables): make it take a const reference to Row instead
2111 of Row pointer, adjust.
2112 (leftMargin): make it take a RowList::iterator as arg, adjust.
2113 (rowBreakPoint): adjust
2114 (breakAgainOneRow): make it take a RowList::iterator as arg,
2116 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2118 * bufferview_funcs.C (toggleAndShow): adjust
2120 2003-03-30 John Levon <levon@movementarian.org>
2124 * boost-inst.C: moved to support
2126 * several files: changes as a result
2128 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2130 * text2.C (LyXText): adjust.
2132 (removeRow): make it take a RowList::iterator as arg, adjust.
2133 (fullRebreak): adjust
2134 (deleteEmptyParagraphMechanism): adjust
2135 (clearPaint): adjust
2138 * text.C (top_y): adjust
2139 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2140 (breakAgain): make it take a RowList::iterator as arg, adjust.
2141 (breakParagraph): adjust
2142 (insertChar): adjust
2145 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2146 need_break_row, and refresh_row.
2148 * text3.C (dispatch): adjust
2150 * text2.C (checkParagraph): adjust
2152 (setCursorFromCoordinates): adjust
2154 * text.C (top_y): adjust
2156 (getRow): make it return a RowList::iterator, adjust
2157 (getRowNearY): make it return a RowList::iterator, adjust
2159 * text2.C (init): adjust
2160 (insertRow): remove function
2161 (insertParagraph): adjust
2162 (redoParagraphs): adjust
2163 (fullRebreak): adjust
2164 (updateCounters): adjust
2166 * text.C (top_y): rewrite to use RowList iterators.
2168 (setHeightOfRow): rewrite to sue RowList iterators.
2169 (appendParagraph): adjust
2170 (breakAgain): adjust
2171 (breakAgainOneRow): adjust
2172 (breakParagraph): adjust
2174 (getRowNearY): adjust, and remove commented code.
2176 * lyxtext.h (firstRow): delete function
2177 (lastRow): delete function
2178 (rows): new function (const and non-const versions.)
2179 (insertRow): delete function
2181 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2183 2003-03-29 John Levon <levon@movementarian.org>
2185 * BufferView_pimpl.C: always update scrollbar top
2186 because pasting text when we're anchored could mean we
2187 miss an update altogether
2189 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2191 * text2.C (init): use rowlist_.end() and not 0.
2192 (insertRow): change to take a RowList::iterator as arg, adjust
2194 (insertParagraph): change to take a RowList::iterator as arg,
2196 (redoParagraphs): remove some debug msgs.
2198 * text.C (appendParagraph): change to take a RowList::iterator
2199 arg, adjust for this.
2200 (breakAgain): add an assert
2201 (breakAgainOneRow): ditto
2203 2003-03-29 John Levon <levon@movementarian.org>
2205 * text2.C: do not clear selection after inc/decDepth
2208 2003-03-29 John Levon <levon@movementarian.org>
2211 * buffer.C: fix broken strerrors according to Lars
2213 2003-03-29 John Levon <levon@movementarian.org>
2215 * converters.C: more Alert cleanups
2217 2003-03-29 John Levon <levon@movementarian.org>
2219 * bufferview_funcs.C: remove pointless Alert
2221 * buffer.C: fix confusing error message when
2222 a template is chmoded 000
2224 2003-03-29 John Levon <levon@movementarian.org>
2228 * BufferView_pimpl.C: Alert fixes
2232 * tabular-old.C: remove unused table compat reading
2234 2003-03-29 John Levon <levon@movementarian.org>
2239 * lyx_cb.C: more Alert cleanups
2241 * lyxfunc.C: don't allow chktex if not latex document
2243 2003-03-29 John Levon <levon@movementarian.org>
2247 * buffer.C: warnings pushed down from support/,
2250 2003-03-29 John Levon <levon@movementarian.org>
2252 * lyxfunc.C: safety check for C-r (revert)
2254 2003-03-29 John Levon <levon@movementarian.org>
2257 * bufferlist.C: several UI fixes using Alert::prompt.
2258 Fix the pointless looping quit code. Fix stupid revert
2263 * lyx_cb.C: use Alert::prompt
2265 * lyx_main.C: remove a silly question
2267 * lyxfunc.C: remove a couple of silly questions,
2270 2003-03-28 John Levon <levon@movementarian.org>
2272 * text2.C: fix bug 974 (End on empty par)
2274 2003-03-28 John Levon <levon@movementarian.org>
2276 * BufferView_pimpl.C:
2278 * lfuns.h: remove do-nothing math greek lfuns
2280 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2282 * lyxgluelength.h (isValidGlueLength): add default arg on
2283 parameter 2. Remove default arg from friend in class.
2285 * lyxlength.h (isValidLength): add default arg on parameter 2.
2286 Remove default arg from friend in class.
2288 * text2.C (LyXText): adjust, initialize refresh_row.
2292 (insertParagraph): adjst
2293 (redoParagraphs): adjust
2294 (fullRebreak): adjust
2295 (updateCounters): adjust
2296 (deleteEmptyParagraphMechanism): first attempt at fixing a
2299 * text.C (top_y): adjust
2300 (setHeightOfRow): adjust
2302 (getRowNearY): adjust
2304 * lyxtext.h: include RowList.h
2305 (~LyXText): not needed anymore, deleted.
2306 (firstRow): modify for RowList
2307 (lastRow): new function
2308 Delete firstrow and lastrow class variables, add a Rowlist
2309 rowlist_ class variable.
2311 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2314 * RowList.C (insert): fix case where it == begin().
2316 2003-03-26 Angus Leeming <leeming@lyx.org>
2318 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2319 the thesaurus dialog.
2321 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2323 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2325 * RowList.[Ch]: new files
2327 * ParagraphList.C (erase): handle the case where it == begin
2330 2003-03-25 John Levon <levon@movementarian.org>
2334 * aspell.C: add new aspell support
2337 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2340 2003-03-25 Angus Leeming <leeming@lyx.org>
2343 * LyXAction.C (init): new LFUN_INSET_INSERT.
2345 * BufferView_pimpl.C (dispatch): split out part of the
2346 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2348 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2351 2003-03-25 Angus Leeming <leeming@lyx.org>
2353 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2355 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2358 * text3.C: remove useless row->height(0)
2360 2003-03-25 John Levon <levon@movementarian.org>
2364 * text3.C: rename the refreshing stuff to better names
2366 2003-03-24 John Levon <levon@movementarian.org>
2368 * BufferView_pimpl.h:
2369 * BufferView_pimpl.C: update layout choice on a mouse
2372 2003-03-23 John Levon <levon@movementarian.org>
2374 * Makefile.am: fix commandtags.h reference
2376 2003-03-22 John Levon <levon@movementarian.org>
2378 * BufferView_pimpl.C:
2383 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2385 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2388 * text.C: take the rtl methods out of line
2390 2003-03-21 André Pönitz <poenitz@gmx.net>
2392 * metricsinfo.[Ch]: new files containing structures to be passed around
2393 during the two-phase-drawing...
2395 2003-03-21 André Pönitz <poenitz@gmx.net>
2397 * lyxtextclass.C: read 'environment' tag.
2399 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2401 * text2.C (removeRow): fix bug 964
2403 2003-03-20 John Levon <levon@movementarian.org>
2407 * text2.C: paint cleanups. Inset::update() dropped font
2410 2003-03-19 John Levon <levon@movementarian.org>
2412 * lyxfunc.C: only fitcursor/markDirty if available()
2414 2003-03-19 John Levon <levon@movementarian.org>
2416 * commandtags.h: rename to ...
2418 * lfuns.h: ... this, and renumber / cleanup
2420 2003-03-19 John Levon <levon@movementarian.org>
2422 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2423 fit the cursor after an lfun
2427 * BufferView_pimpl.h:
2428 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2430 * LyXAction.C: layout-character should have ReadOnly
2432 * ParagraphParameters.C:
2434 * bufferview_funcs.C:
2441 * undo_funcs.C: changes from above
2443 2003-03-18 John Levon <levon@movementarian.org>
2445 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2446 remove it from update()
2448 * lyxfunc.C: update layout choice after an lfun
2450 * text3.C: remove extra updateLayoutChoice()s
2452 2003-03-18 John Levon <levon@movementarian.org>
2454 * text.C: top_y change means full repaint, fix
2455 a drawing bug with cursor movement
2457 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2461 * text2.C: anchor row on setCursor
2463 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2465 * lyxtext.h: remove almost all mutable keywords
2468 * text3.C: remove const keywords accordingly
2470 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2472 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2474 (TeXEnvironment): ditto
2477 2003-03-17 John Levon <levon@movementarian.org>
2479 * text.C (rowBreakPoint): remove attempt to fix displayed
2480 math insets inside a manual label
2482 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2484 * lyxtext.h: remove BufferView* as first arg from almost all class
2486 * other files: adjust.
2488 2003-03-17 John Levon <levon@movementarian.org>
2492 * text2.C: more paint cleanups
2494 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2497 * rowpainter.C: remove "smart" background painting code
2499 2003-03-16 John Levon <levon@movementarian.org>
2504 * text3.C: add helper functions for setting refresh_row/y
2506 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2508 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2509 newline inset which *can* get inserted in the pass_thru layouts.
2510 This is primarily for literate documents.
2512 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2514 * buffer.C: increment LYX_FORMAT to 223
2516 2003-03-14 André Pönitz <poenitz@gmx.net>
2518 * textclass.h: prepare for environment handling, ws changes
2519 * lyxlayout.C: read latexheader and latexfooter tags
2521 2003-03-14 John Levon <levon@movementarian.org>
2523 * text2.C: rewrite ::status() a bit
2525 2003-03-13 John Levon <levon@movementarian.org>
2527 * lyxtext.h: add some docs
2529 2003-03-13 John Levon <levon@movementarian.org>
2534 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2536 2003-03-13 John Levon <levon@movementarian.org>
2538 * text3.C: fix appendix redrawing
2540 2003-03-13 John Levon <levon@movementarian.org>
2542 * text.C (setHeightOfRow):
2544 * rowpainter.C: make appendix mark have the text
2545 "Appendix" so the user knows what it is
2548 * LColor.C: s/appendixline/appendix/ from above
2550 2003-03-13 John Levon <levon@movementarian.org>
2552 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2554 * text.C: fix a getChar(pos) bug properly
2556 2003-03-13 Angus Leeming <leeming@lyx.org>
2559 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2560 Probably only temporary. Let's see how things pan out.
2562 * BufferView.C (unlockInset):
2563 * BufferView_pimpl.C (fitCursor):
2564 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2566 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2567 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2569 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2570 new functions that convert ParagraphParameters to and from a string.
2572 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2573 BufferView::Pimpl's dispatch.
2574 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2576 2003-03-13 André Pönitz <poenitz@gmx.net>
2580 * factory.C: make it aware of InsetEnv
2582 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2584 * text2.C (setCursor): never ask for one past last
2585 (setCursor): add some debugging messages.
2587 * text.C (singleWidth): never ask for one past last
2588 (singleWidth): ditto
2590 (rightMargin): ditto
2591 (rowBreakPoint): ditto
2592 (setHeightOfRow): ditto
2593 (prepareToPrint): ditto
2595 * rowpainter.C (paintBackground): never ask for one past last
2596 (paintText): never ask for one past last
2598 * paragraph_pimpl.C (getChar): make the assert stricter, never
2599 allow the one past last pos to be taken
2601 * paragraph.C (getChar): ws changes only
2603 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2604 (numberOfSeparators): ditto
2605 (numberOfHfills): ditto
2607 2003-03-12 John Levon <levon@movementarian.org>
2613 * paragraph_funcs.C: fix per-buffer authorlists
2615 2003-03-12 John Levon <levon@movementarian.org>
2617 * text.C: fix newline in right address
2619 2003-03-12 Angus Leeming <leeming@lyx.org>
2621 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2622 duplicate those in LyXFunc::dispatch.
2626 * ToolbarDefaults.C:
2627 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2628 Add LFUN_FONTFREE_UPDATE.
2630 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2631 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2633 * bufferview_func.[Ch]: several new functions to facilliate
2634 transfer of data to and from the character dialog.
2636 2003-03-12 John Levon <levon@movementarian.org>
2641 * paragraph_funcs.C:
2642 * paragraph_pimpl.C:
2646 * text3.C: remove META_NEWLINE in favour of an inset
2649 * rowpainter.C: remove paintNewline (done by inset)
2651 2003-03-12 John Levon <levon@movementarian.org>
2653 * paragraph_pimpl.C: complain about bad getChar()s
2654 for a while at least
2656 2003-03-12 John Levon <levon@movementarian.org>
2659 * buffer.C: move paragraph read into a separate function,
2660 a little renaming to reflect that.
2663 * bufferparams.C: remove the author_ids map, not necessary now
2666 * factory.C: moved Buffer::readInset to here
2668 * paragraph_funcs.h:
2669 * paragraph_funcs.C: readParagraph free function moved from
2672 * tabular.C: name change
2674 2003-03-12 John Levon <levon@movementarian.org>
2677 * ParagraphParameters.C: move par params input to
2680 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2681 behave like a normal read from the stream wrt reading
2682 a line vs. a \\token
2684 2003-03-12 John Levon <levon@movementarian.org>
2687 * ParagraphParameters.h:
2688 * ParagraphParameters.C: move output code to a
2691 2003-03-12 John Levon <levon@movementarian.org>
2693 * BufferView.C (insertLyXFile):
2696 * tabular.C: use a parlist iterator for creating the
2699 2003-03-12 John Levon <levon@movementarian.org>
2701 * buffer.C: make current_change static local not
2704 2003-03-12 John Levon <levon@movementarian.org>
2706 * buffer.C: fix insertStringAsLines for change tracking
2708 2003-03-12 John Levon <levon@movementarian.org>
2715 * bufferparams.C: move author list into params. Rename some
2716 functions. Move the header reading into a separate token
2717 loop. Move the header token reading into BufferParams.
2719 2003-03-12 John Levon <levon@movementarian.org>
2721 * changes.C: put debug inside lyxerr.debugging() checks
2723 2003-03-11 André Pönitz <poenitz@gmx.net>
2725 * factory.C: make it aware of InsetHFill
2727 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2729 * buffer.C (latexParagraphs): move function from here...
2730 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2733 2003-03-10 Angus Leeming <leeming@lyx.org>
2735 * LyXAction.C (init): fix bug in poplating array with multiple entries
2736 with the same LFUN (spotted by JMarc).
2738 2003-03-10 John Levon <levon@movementarian.org>
2741 * text2.C: move getColumnNearX() near its
2744 2003-03-10 John Levon <levon@movementarian.org>
2746 * text.C: fix break before a minipage
2748 2003-03-10 John Levon <levon@movementarian.org>
2750 * text.C: fix the last commit
2752 2003-03-09 John Levon <levon@movementarian.org>
2756 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2757 bug 365 (don't break before insets unless needed). Don't
2758 return a value > last under any circumstances.
2760 2003-03-09 Angus Leeming <leeming@lyx.org>
2762 * BufferView_pimpl.C (trackChanges, dispatch): call
2763 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2765 2003-03-09 Angus Leeming <leeming@lyx.org>
2767 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2768 than Dialogs::showAboutlyx().
2770 2003-03-09 Angus Leeming <leeming@lyx.org>
2772 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2773 than Dialogs::showTabularCreate().
2775 2003-03-09 John Levon <levon@movementarian.org>
2779 * text2.C: 3rd arg to nextBreakPoint was always the same.
2782 2003-03-08 John Levon <levon@movementarian.org>
2789 * text2.C: Remove the "main" bit from the "main body"
2792 2003-03-08 John Levon <levon@movementarian.org>
2794 * text.C (leftMargin): The left margin of an empty
2795 manual label paragraph should not include the label width
2798 * text.C (prepareToPrint): don't attempt to measure hfills
2799 for empty manual label paragraphs - the answer should be 0
2801 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2803 * CutAndPaste.C: remove commented code and reindent.
2805 2003-03-08 John Levon <levon@movementarian.org>
2808 * lyxfunc.C: move reloadBuffer()
2811 * BufferView.C: to here
2813 * lyxvc.C: add comment
2816 * vc-backend.C: call bv->reload() to avoid
2817 getStatus() check on MENURELOAD
2819 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2821 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2822 to an old format .dep file.
2824 2003-03-07 Angus Leeming <leeming@lyx.org>
2826 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2827 when the LFUN_MOUSE_RELEASE should have been handled by
2828 inset->localDispatch.
2830 2003-03-07 Angus Leeming <leeming@lyx.org>
2832 * BufferView_pimpl.C (dispatch):
2833 * LyXAction.C (init):
2834 * ToolbarDefaults.C (init):
2836 * lyxfunc.C (getStatus):
2837 remove LFUN_INSET_GRAPHICS.
2839 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2841 2003-03-07 Angus Leeming <leeming@lyx.org>
2844 * LyXAction.C (init):
2845 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2847 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2850 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2852 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2853 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2855 2003-03-07 Angus Leeming <leeming@lyx.org>
2857 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2860 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2862 * ParagraphList.C (front): new function
2865 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2867 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2868 and top_row_offset_. removed var first_y.
2870 * text2.C (LyXText, removeRow):
2872 * BufferView_pimpl.C:
2873 use these methods instead of using first_y
2875 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2877 * text2.C (pasteSelection): adjust for checkPastePossible
2879 * CutAndPaste.C: remove Paragraph * buf and replace with
2880 ParagraphList paragraphs.
2881 (DeleteBuffer): delete
2882 (cutSelection): change the tc type to textclass_type
2883 (copySelection): change the tc type to textclass_type
2884 (copySelection): adjust for ParagraphList
2885 (pasteSelection): change the tc type to textclass_type
2886 (pasteSelection): adjust for Paragraphlist
2887 (nrOfParagraphs): simplify for ParagraphList
2888 (checkPastePossible): simplify for ParagraphList
2889 (checkPastePossible): remove unused arg
2891 * ParagraphList.C (insert): handle the case where there are no
2894 * CutAndPaste.h: make CutAndPaste a namespace.
2896 * text3.C (dispatch): adjust
2898 * text.C (breakParagraph): add a ParagraphList as arg
2900 * paragraph_funcs.C (breakParagraph): change to take a
2901 BufferParams and a ParagraphList as args.
2902 (breakParagraphConservative): ditto
2903 (mergeParagraph): ditto
2904 (TeXDeeper): add a ParagraphList arg
2905 (TeXEnvironment): ditto
2908 * buffer.C (readLyXformat2): adjust
2909 (insertStringAsLines): adjust
2910 (latexParagraphs): adjust
2912 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2913 (cutSelection): adjust
2914 (pasteSelection): adjust
2916 * BufferView_pimpl.C (insertInset): adjust
2918 2003-03-05 Angus Leeming <leeming@lyx.org>
2921 * LyXAction.C (init):
2922 * BufferView_pimpl.C (dispatch):
2923 * lyxfunc.C (getStatus):
2924 remove LFUN_CHILD_INSERT.
2926 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2928 2003-03-05 Angus Leeming <leeming@lyx.org>
2931 * LyXAction.C (init):
2932 * src/factory.C (createInset):
2933 * lyxfunc.C (getStatus):
2934 * text3.C (dispatch):
2935 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2937 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2939 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2941 * ParagraphList.C (insert): handle insert right before end()
2942 (erase): fix cases where it can be first or last paragraph.
2944 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2946 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2947 Paragraph::next and Paragraph::previous
2950 * text.C (breakParagraph): adjust
2952 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2953 BufferParams& as arg.
2954 (breakParagraph): use ParagraphList::insert
2955 (breakParagraphConservative): take a Buffer* instead of a
2956 BufferParams& as arg.
2957 (breakParagraphConservative): use ParagraphList::insert.
2959 * buffer.C (insertStringAsLines): un-const it
2960 (insertStringAsLines): adjust
2962 * ParagraphList.C (insert): new function
2964 * CutAndPaste.C (pasteSelection): adjust
2966 * text.C (backspace): adjust
2968 * tabular.C (SetMultiColumn): adjust
2970 * CutAndPaste.C (cutSelection): adjust
2971 (pasteSelection): adjust
2973 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2974 Buffer const * as arg
2976 * ParagraphList.C (erase): new function
2977 * paragraph_funcs.C (mergeParagraph): use it
2978 (mergeParagraph): make it take a Buffer* instead of a
2979 BufferParams* as arg
2981 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2983 (breakParagraphConservative): ditto
2985 * paragraph.h: remove the breakParagraph friend
2987 * paragraph.C (eraseIntern): new function
2988 (setChange): new function
2990 * paragraph_funcs.C (mergeParagraph): make it take a
2991 ParagraphList::iterator instead of a Paragraph *, adjust
2994 * paragraph.h: move an #endif so that the change tracking stuff
2995 also works in the NO_NEXT case.
2997 2003-03-04 Angus Leeming <leeming@lyx.org>
3000 * LyXAction.C: new LFUN_INSET_MODIFY.
3002 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3003 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3005 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3007 * several files: ws changes only
3009 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3010 (TeXEnvironment): ditto
3013 * buffer.C (makeLaTeXFile): adjust
3014 (latexParagraphs): make it take ParagraphList::iterator as args
3016 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3018 * buffer.C (latexParagraphs): adjust
3020 * paragraph.C (TeXOnePar): move function...
3021 (optArgInset): move function...
3022 (TeXEnvironment): move function...
3023 * paragraph_pimpl.C (TeXDeeper): move function...
3024 * paragraph_funcs.C: ...here
3026 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3028 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3030 * buffer.C (readInset): remove compability code for old Figure and
3033 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3035 * buffer.C: ws changes
3038 * BufferView_pimpl.C: ditto
3041 * bufferlist.h: ditto
3045 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3047 * converter.[Ch]: split into itself +
3050 * Makefile.am: += graph.[Ch] + format.[Ch]
3057 * lyxrc.C: added #include "format.h"
3059 2003-02-27 Angus Leeming <leeming@lyx.org>
3061 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3064 * factory.C (createInset): add "label" to the factory.
3066 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3067 string and do no more.
3069 2003-02-27 Angus Leeming <leeming@lyx.org>
3072 * LyXAction.C (init):
3073 * factory.C (createInset):
3074 * BufferView_pimpl.C (dispatch):
3075 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3077 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3079 * lyxfunc.C (dispatch):
3080 * text3.C (dispatch): pass name to params2string.
3082 2003-02-26 Angus Leeming <leeming@lyx.org>
3084 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3086 Rearrange the ~includes. Strip out the unnecessary ones.
3088 * factory.C (createInset): reformat.
3089 create new insets for the various LFUN_XYZ_APPLY lfuns.
3091 2003-02-26 John Levon <levon@movementarian.org>
3094 * lyxrow.C: add isParStart,isParEnd helpers
3096 * paragraph.h: make isInserted/DeletedText take refs
3098 * paragraph_funcs.h:
3099 * paragraph_funcs.C: remove #if 0'd code
3104 * text.C: use lyxrow helpers above.
3105 Move draw and paint routines to RowPainter.
3106 Make several methods use refs not pointers.
3107 Make backgroundColor() const.
3108 Add markChangeInDraw(), isInInset().
3109 Merge changeRegionCase into changeCase.
3110 Make workWidth() shouldn't-happen code into an Assert.
3113 * rowpainter.C: new class for painting a row.
3116 * vspace.C: make inPixels take a ref
3118 2003-02-26 Angus Leeming <leeming@lyx.org>
3120 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3123 2003-02-25 John Levon <levon@movementarian.org>
3125 * ispell.C: give the forked command a more accurate name
3127 2003-02-22 John Levon <levon@movementarian.org>
3130 * toc.C: make TocItem store an id not a Paragraph *
3133 2003-02-21 Angus Leeming <leeming@lyx.org>
3135 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3136 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3137 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3138 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3139 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3140 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3142 * BufferView_pimpl.C (dispatch):
3143 * LyXAction.C (init):
3144 * factory.C (createInset):
3145 * lyxfunc.C (getStatus, dispatch):
3146 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3148 2003-02-21 Angus Leeming <leeming@lyx.org>
3150 * BufferView_pimpl.C (MenuInsertLyXFile):
3151 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3152 * lyxfunc.C (menuNew, open, doImport):
3153 no longer pass a LyXView & to fileDlg.
3155 2003-02-21 Angus Leeming <leeming@lyx.org>
3157 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3158 * LyXAction.C: change, BIBKEY to BIBITEM.
3159 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3160 Change InsetBibKey to InsetBibitem.
3161 Change BIBKEY_CODE to BIBITEM_CODE.
3162 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3163 * factory.C: replace insetbib.h with insetbibitem.h.
3164 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3165 * paragraph.C: replace insetbib.h with insetbibitem.h.
3166 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3167 Change bibkey() to bibitem().
3168 * text.C: remove insetbib.h.
3169 * text2.C: replace insetbib.h with insetbibitem.h.
3170 change bibkey() to bibitem().
3171 * text3.C: remove insetbib.h.
3172 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3174 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3176 * lyxrc.C (output): enclose user email in quotes (in case there are
3179 2003-02-18 John Levon <levon@movementarian.org>
3181 * buffer.h: add std::
3183 2003-02-17 John Levon <levon@movementarian.org>
3189 * pspell.C: reworking. Especially in ispell, a large
3190 number of clean ups and bug fixes.
3192 * lyxfunc.C: fix revert to behave sensibly
3194 2003-02-17 André Pönitz <poenitz@gmx.net>
3197 * commandtags.h: new LFUN_INSERT_BIBKEY
3207 * paragraph_func.C: remove special bibkey handling
3209 2003-02-17 John Levon <levon@movementarian.org>
3211 * text.C (Delete): fix case where delete at the end of
3212 the very first paragraph would not merge the pars
3214 2003-02-17 John Levon <levon@movementarian.org>
3216 * lyxrow.C: fix lastPrintablePos()
3218 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3220 * bufferparams.C (writeLaTeX): add a std:here
3222 * buffer.C: and remove a using directive there
3224 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3226 * buffer.C (makeLaTeXFile): move the code that generates the
3229 * bufferparams.C (writeLaTeX): ... in this new method
3231 * LaTeXFeatures.C (getEncodingSet): make const
3232 (getLanguages): make const
3234 * MenuBackend.C (binding): returns the binding associated to this
3236 (add): sets the status of each item by calling getStatus. Adds
3238 (read): add support for OptSubMenu
3239 (expand): remove extra separator at the end of expanded menu
3241 2003-02-15 John Levon <levon@movementarian.org>
3244 * BufferView_pimpl.C:
3246 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3247 inset code that had no actual effect. Remove unneeded status
3250 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3252 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3255 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3257 * text.C (drawLengthMarker): also draw an arrow marker for
3258 symbolic lengths (medskip...)
3260 2003-02-14 John Levon <levon@movementarian.org>
3263 * tabular.C: better method names
3265 2003-02-14 John Levon <levon@movementarian.org>
3267 * BufferView_pimpl.C:
3272 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3273 it's a more accurate name. Remove some pointless uses.
3275 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3277 * text2.C (LyXText): change order of initilizers to shut off
3280 2003-02-14 John Levon <levon@movementarian.org>
3282 * buffer.C: use ParIterator for getParFromID()
3286 * paragraph_pimpl.h:
3287 * paragraph_pimpl.C: remove unused getParFromID()
3289 2003-02-14 John Levon <levon@movementarian.org>
3291 * buffer.C: remove some very old #if 0'd parse code
3293 2003-02-13 John Levon <levon@movementarian.org>
3297 * text2.C: move hfillExpansion(), numberOfSeparators(),
3298 rowLast(), rowLastPrintable(), numberofHfills(),
3299 numberOfLabelHfills() ...
3302 * lyxrow.C: ... to member functions here.
3307 * text.C: remove LyXText::beginningOfMainBody(), and call
3308 p->beginningOfMainBody() directly. Move the check for
3309 LABEL_MANUAL into the latter.
3316 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3322 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3323 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3325 2003-02-13 John Levon <levon@movementarian.org>
3327 * CutAndPaste.C: remove debug
3329 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3331 * paragraph.C (asString): remove two unused variables
3333 * lyxtextclass.C (readTitleType):
3335 (LyXTextClass): handle new members titletype_ and titlename_
3337 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3339 2003-02-09 John Levon <levon@movementarian.org>
3342 * buffer.C: replace hand-coded list with a map for the dep clean
3344 2003-02-08 John Levon <levon@movementarian.org>
3346 * LaTeX.C: consolidate code into showRunMessage() helper
3348 2003-02-08 John Levon <levon@movementarian.org>
3353 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3354 and pass the size in explicitly
3356 * BufferView_pimpl.h:
3357 * BufferView_pimpl.C:
3359 * BufferView.C: add getCurrentChange()
3361 * BufferView_pimpl.h:
3362 * BufferView_pimpl.C: handle change lfuns
3364 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3365 for changes. Mark pasted paragraphs as new.
3367 * support/lyxtime.h:
3368 * support/lyxtime.C:
3369 * DepTable.C: abstract time_t as lyx::time_type
3372 * LColor.C: add colours for new text, deleted text, changebars
3374 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3375 package use "usenames" option.
3379 * LyXAction.C: add change lfuns
3383 * author.C: author handling
3386 * buffer.C: add a per-buffer author list, with first entry as
3387 current author. Handle new .lyx tokens for change tracking. Output
3388 author list to .lyx file. Output dvipost stuff to .tex preamble.
3389 Bump lyx format to 222.
3392 * bufferlist.C: add setCurrentAuthor() to reset current author details
3396 * bufferparams.C: add param for tracking
3398 * bufferview_funcs.C: output change info in minibuffer
3402 * changes.C: add change-tracking structure
3405 * debug.C: add CHANGES debug flag
3408 * lyxfind.C: add code for finding the next change piece
3411 * lyxrc.C: add user_name and user_email
3414 * lyxrow.C: add a metric for the top of the text line
3417 * text.C: implement accept/rejectChange()
3420 * text.C: paint changebars. Paint new/deleted text in the chosen
3421 colours. Strike through deleted text.
3425 * paragraph_pimpl.h:
3426 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3427 in the current change to the insert functions. Rework erase to
3428 mark text as deleted, adding an eraseIntern() and a range-based
3429 erase(). Implement per-paragraph change lookup and
3432 * paragraph_funcs.C: Fixup paste for change tracking.
3434 * tabular.C: mark added row/columns as new.
3436 * text.C: fix rowLast() to never return -1. Don't allow
3437 spellchecking of deleted text. Track transpose changes. Don't
3438 allow paragraph break or merge where appropriate.
3440 * text2.C: leave cursor at end of selection after a cut.
3442 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3444 * text.C (getLengthMarkerHeight):
3445 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3446 visible on screen too.
3448 2003-02-07 John Levon <levon@movementarian.org>
3450 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3452 2003-02-05 Angus Leeming <leeming@lyx.org>
3454 * lyxserver.C (read_ready): revert my patch of 11 September last year
3455 as it sends PC cpu through the roof. Presumably this means that
3456 the lyxserver will no longer run on an Alpha...
3458 2003-01-30 Angus Leeming <leeming@lyx.org>
3460 * factory.C (createInset): create an InsetCommandParam of type "index"
3461 and use it to 'do the right thing'.
3463 * text2.C (getStringToIndex): ensure that cursor position is always
3464 reset to the reset_cursor position.
3466 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3468 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3471 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3475 * lyxfunc.C: Output messages with identical spelling, punctuation,
3478 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3480 * MenuBackend.C (expandFormats): List only viewable export formats
3483 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3486 * lyxfunc.C (getStatus): Make sure that formats other than
3487 "fax" can also be disabled
3489 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3491 * text3.C (dispatch): put the lfuns that insert insets in 3
3492 groups, and call doInsertInset with appropriate arguments.
3493 (doInsertInset): new function, that creates an inset and inserts
3494 it according to some boolean parameters.
3496 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3498 * buffer.C (readFile): remember to pass on 'par' when calling
3499 readFile recursively.
3501 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3503 * MenuBackend.C (expandFormats): add "..." to import formats.
3505 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3507 * paragraph.C (asString): Remove XForms RTL hacks.
3509 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3510 * buffer.C: fix typo
3512 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3514 * Makefile.am (LIBS): delete var
3515 (lyx_LDADD): add @LIBS@ here instead.
3517 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3519 * Clarify the meaning of "wheel mouse jump"
3521 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3523 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3526 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3528 * importer.C (Loaders): do not preallocate 3 elements in the
3529 vector, since one ends up with 6 elements otherwise
3531 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3533 * DepTable.C (write): write the file name as last element of the
3534 .dep file (because it may contain spaces)
3535 (read): read info in the right order
3537 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3539 * paragraph_pimpl.C (simpleTeXBlanks):
3540 (simpleTeXSpecialChars):
3541 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3543 * tabular.C (latex): add some missing case statements. Reindent.
3545 * MenuBackend.C (expandToc): remove unused variable.
3547 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3556 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3559 2003-01-05 John Levon <levon@movementarian.org>
3562 * BufferView.C: add getEncoding()
3565 * kbsequence.C: do not store last keypress
3568 * lyxfunc.C: store last keypress here instead. Pass encoding
3571 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3573 * lyx_main.C (init): remove annoying error message when following
3574 symbolic links (bug #780)
3576 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3578 * text.C (insertChar):
3579 * lyxrc.C (getDescription): remove extra spaces
3581 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3583 * lyxrc.C (getDescription): remove extra spaces
3585 2002-12-20 John Levon <levon@movementarian.org>
3587 * text3.C: hack fix for page up/down across tall rows
3589 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3591 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3594 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3596 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3597 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3598 thesaurus is not compiled in
3600 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3602 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3604 2002-12-16 Angus Leeming <leeming@lyx.org>
3607 * lyx_main.C (init): remove override_x_deadkeys stuff.
3609 2002-12-12 John Levon <levon@movementarian.org>
3611 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3612 insert. Only remove shift modifier under strict
3615 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3617 * MenuBackend.C (expandToc): fix crash.
3619 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3621 * MenuBackend.C (expandToc): gettext on float names.
3623 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3625 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3626 implement bool empty() [bug 490]
3628 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3630 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3632 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3634 * several files: ws changes
3636 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3638 * text2.C (setCounter): clean up a bit, use boost.format.
3639 (updateCounters): initialize par upon declaration.
3641 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3642 if the layout exists. We do not just store the layout any more.
3643 (SwitchLayoutsBetweenClasses): use boost.format
3645 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3647 * converter.C (convert): if from and to files are the same, use a
3648 temporary files as intermediary
3650 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3653 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3655 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3657 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3659 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3661 * tabular.C (asciiPrintCell): use string(size, char) instead of
3664 * sgml.C (openTag): fix order of arguments to string constructor
3667 * lyxfunc.C (dispatch): use boost.format
3669 * lots of files: change "c" -> 'c'
3671 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3673 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3675 2002-11-25 Angus Leeming <leeming@lyx.org>
3677 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3679 * lyx_main.C (init): compile fix.
3681 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3683 * lyx_cb.C (start): boost.formatify
3684 do not include <iostream>
3686 * lengthcommon.C: ws only
3688 * boost-inst.C,BoostFormat.h: add more explict instantations
3690 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3692 * lots of files: handle USE_BOOST_FORMAT
3694 2002-11-21 John Levon <levon@movementarian.org>
3696 * pspell.C: fix compile
3698 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3700 * lyxfunc.C (dispatch): use boost::format
3704 * lyxfont.C (stateText): use boost::format
3706 * lyx_main.C (LyX): use boost::format
3708 (queryUserLyXDir): ditto
3711 (typedef boost::function): use the recommened syntax.
3713 * importer.C (Import): use boost::format
3715 * debug.C (showLevel): use boost::format
3717 * converter.C (view): use boost::format
3722 * bufferview_funcs.C (currentState): use boost::format
3724 * bufferlist.C (emergencyWrite): use boost::format
3726 * buffer.C (readLyXformat2): use boost::format
3727 (parseSingleLyXformat2Token): ditto
3729 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3731 * LaTeX.C (run): use boost::format
3733 * Chktex.C (scanLogFile): use boost::format
3735 * BufferView_pimpl.C (savePosition): use boost::format
3736 (restorePosition): ditto
3737 (MenuInsertLyXFile): ditto
3739 * BoostFormat.h: help file for explicit instation.
3741 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3743 * tabular.C (latex): Support for block alignment in fixed width
3746 2002-11-17 John Levon <levon@movementarian.org>
3748 * BufferView_pimpl.C:
3750 * lyxfunc.C: split filedialog into open/save
3752 2002-11-08 Juergen Vigna <jug@sad.it>
3754 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3755 by my last patch (hopefully).
3757 2002-11-08 John Levon <levon@movementarian.org>
3766 * toc.C: ParConstIterator, and use it (from Lars)
3768 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3770 * lyxtextclass.[Ch]: revise and add doxygen comments
3772 2002-11-07 John Levon <levon@movementarian.org>
3774 * text.C: fix progress value for spellchecker
3776 * toc.C: fix navigate menu for insetwrap inside minipage
3778 * paragraph_funcs.C: added FIXME for suspect code
3780 2002-11-07 John Levon <levon@movementarian.org>
3782 * BufferView_pimpl.C: fix redrawing of insets
3785 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3787 * text2.C (updateCounters): fix bug 668
3789 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3791 * text3.C (dispatch): Do not make the buffer dirty when moving the
3794 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3796 * vc-backend.C: STRCONV
3799 * text2.C (setCounter): STRCONV
3801 * paragraph.C (asString): STRCONV
3803 * lyxlength.C (asString): STRCONV
3804 (asLatexString): ditto
3806 * lyxgluelength.C (asString): STRCONV
3807 (asLatexString): ditto
3809 * lyxfunc.C (dispatch): STRCONV
3812 * lyxfont.C (stateText): STRCONV
3814 * importer.C (Import): STRCONV
3816 * counters.C (labelItem): STRCONV
3817 (numberLabel): ditto
3818 (numberLabel): remove unused ostringstream o
3823 * bufferview_funcs.C (currentState): STRCONV
3825 * buffer.C (readFile): STRCONV
3826 (asciiParagraph): ditto
3827 (makeLaTeXFile): ditto
3829 * Spacing.C (writeEnvirBegin): STRCONV
3831 * LaTeXFeatures.C (getLanguages): STRCONV
3832 (getPackages): ditto
3834 (getBabelOptions): ditto
3835 (getTClassPreamble): ditto
3836 (getLyXSGMLEntities): ditto
3837 (getIncludedFiles): ditto
3841 (scanAuxFile): ditto
3844 * LString.h: add the STRCONV macros
3846 * BufferView_pimpl.C (savePosition): STRCONV
3847 (restorePosition): ditto
3848 (MenuInsertLyXFile): ditto
3850 * vc-backend.C (scanMaster): change from submatch[...] to
3853 * funcrequest.C: include config.h
3855 * factory.C: include config.h
3857 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3859 * box.C: include config.h
3861 * LaTeX.C (scanAuxFile): change from submatch[...] to
3865 2002-10-25 Angus Leeming <leeming@lyx.org>
3867 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3869 * ispell.[Ch] (setError): new method.
3870 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3871 Use setError() insetead of goto END.
3873 * lyx_cb.C (AutoSave): move out child process into new class
3876 2002-10-30 John Levon <levon@movementarian.org>
3878 * text3.C: make start appendix undoable
3880 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3882 * lyxlength.C (inPixels): Fix returned value.
3884 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3887 2002-10-24 Angus Leeming <leeming@lyx.org>
3889 * lyxgluelength.h: no need to forward declare BufferParams
3890 or BufferView, so don't.
3892 2002-10-21 John Levon <levon@movementarian.org>
3894 * BufferView.C: menuUndo ->undo, redo
3896 * BufferView.h: document, remove dead, make some methods private
3898 * paragraph_funcs.h:
3899 * paragraph_funcs.C:
3900 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3905 * sgml.C: move sgml open/close tag into sgml.C
3907 * bufferview_funcs.h: unused prototype
3910 * lyxfunc.C: remove unused
3913 * text.C: remove unused
3915 2002-10-21 John Levon <levon@movementarian.org>
3919 * BufferView_pimpl.h:
3920 * BufferView_pimpl.C: fix mouse wheel handling based on
3921 patch from Darren Freeman
3923 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3925 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3927 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3929 * lyxlength.C (inPixels): Fix hanfling of negative length.
3930 Fix LyXLength::MU case.
3932 2002-10-16 John Levon <levon@movementarian.org>
3934 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3936 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3938 * converter.C (view): add support for $$i (file name) and $$p
3939 (file path) for the viewer command. If $$i is not specified, then
3940 it is appended to the command (for compatibility with old syntax)
3942 2002-10-14 Juergen Vigna <jug@sad.it>
3944 * undo_funcs.C (textHandleUndo): alter the order in which the
3945 new undopar is added to the LyXText, as we have to set first
3946 the right prev/next and then add it as otherwise the rebuild of
3947 LyXText is not correct. Also reset the cursor to the right paragraph,
3948 with this IMO we could remove the hack in "redoParagraphs()".
3950 2002-10-09 Angus Leeming <leeming@lyx.org>
3952 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3953 to turn off an optimisation if a new inset is to be inserted.
3955 2002-10-11 André Pönitz <poenitz@gmx.net>
3957 * lyxtext.h: make some functions public to allow access
3958 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3960 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3962 * text3.C (dispatch): when changing layout, avoid an infinite loop
3965 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3967 * lyxrc.C (read): treat a viewer or converter command of "none" as
3970 * MenuBackend.C (expandFormats): for an update, also allow the
3971 formats that are not viewable
3973 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3974 script if it is newer than the lyxrc.defaults in user directory
3976 2002-10-07 André Pönitz <poenitz@gmx.net>
3978 * text.C: Vitaly Lipatov's small i18n fix
3980 2002-09-25 Angus Leeming <leeming@lyx.org>
3982 * ispell.h: doxygen fix.
3984 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3986 * buffer.h (readFile): Add a new argument to the method, to allow
3987 reading of old-format templates.
3989 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3991 * toc.C (getTocList): Get TOC from InsetWrap.
3993 2002-09-16 John Levon <levon@movementarian.org>
3995 * lyxfunc.C: check tabular for cut/copy too
3997 2002-09-12 John Levon <levon@movementarian.org>
4002 * factory.C: add header
4004 * paragraph_funcs.h:
4005 * paragraph_funcs.C: cleanup
4007 2002-09-11 John Levon <levon@movementarian.org>
4009 * PrinterParams.h: odd/even default to true
4011 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4013 * PrinterParams.h: update printer parameters for new xforms dialog
4015 2002-09-11 Angus Leeming <leeming@lyx.org>
4017 * lyxserver.C (read_ready): re-write to make it more transparent
4018 and to make it work in coherent fashion under Tru64 Unix.
4020 2002-09-11 André Pönitz <poenitz@gmx.net>
4024 * text3.C: implement LFUN_WORDSEL
4026 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4028 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4029 make floatlist_ a boost::shared_ptr<FloatList>
4031 * lyxtextclass.C: include FloatList.h
4032 (LyXTextClass): initialize floatlist_
4033 (TextClassTags): add TC_NOFLOAT
4034 (Read): match "nofloat" to TC_NOFLOAT and use it.
4035 (readFloat): modify call to floatlist_
4039 * FloatList.[Ch] (FloatList): remove commented out float
4041 (erase): new function
4043 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4045 * MenuBackend.C (expandToc): fix crash when there is no document
4048 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4050 * many files: Add insetwrap.
4052 2002-09-09 John Levon <levon@movementarian.org>
4054 * text2.C: remove confusing and awkward depth wraparound
4056 2002-09-09 John Levon <levon@movementarian.org>
4058 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4061 * buffer.C: remove getIncludeonlyList()
4064 * lyxfunc.C: remove headers
4066 2002-09-09 Juergen Vigna <jug@sad.it>
4068 * text.C (getColumnNearX): fix form Michael this is most
4069 probably a cut&paste bug.
4071 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4073 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4075 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4076 references, ws changes.
4078 * text2.C (init): update counters after init
4079 (insertParagraph): no need to set counter on idividual paragraphs.
4080 (setCounter): access the counters object in the textclass object
4081 on in the buffer object.
4082 (updateCounters): ditto
4084 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4085 shared_ptr<Counters> to avoid loading counters.h in all
4087 (LyXTextClass): initialize ctrs_
4088 (TextClassTags): add TC_COUNTER, and ...
4089 (Read): use it here.
4090 (CounterTags): new tags
4091 (readCounter): new function
4092 (counters): new funtion
4093 (defaultLayoutName): return a const reference
4095 * counters.C (Counters): remove contructor
4096 (newCounter): remove a couple of unneeded statements.
4097 (newCounter): simplify a bit.
4098 (numberLabel): some small formatting changes.
4100 * buffer.[Ch]: remove all traces of counters, move the Counters
4101 object to the LyXTextClass.
4103 2002-09-06 Alain Castera <castera@in2p3.fr>
4105 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4106 package to set the horizontal alignment on fixed width columns.
4109 * lyx_sty.h: added tabularnewline macro def.
4111 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4113 2002-09-06 John Levon <levon@movementarian.org>
4115 * LyXAction.C: tooltips for sub/superscript
4117 * MenuBackend.C: a bit more verbose
4119 * lyxfunc.C: tiny clean
4121 * undo_funcs.C: document undo_frozen
4123 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4125 * counters.C (Counters): add missing algorithm counter.
4127 * text2.C (setCounter): lookup the counter with layouts latexname
4128 instead of by section number.
4129 (setCounter): use a hackish way to lookup the correct enum
4131 a float name->type change
4132 reset enum couners with counter name directly instead of depth value.
4134 * counters.C (Counters): remove the push_backs, change to use the
4135 float type not the float name.
4136 (labelItem): remove unused string, float name->type change
4138 * counters.h: don't include vector, loose the enums and sects vectors
4140 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4142 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4143 (Read): add float->TC_FLOAT to textclassTags
4144 (Read): and handle it in the switch
4145 (readFloat): new function
4147 * FloatList.C (FloatList): comment out the hardcoded float
4150 * lyxlayout.h: ws change.
4152 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4154 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4156 2002-09-03 Angus Leeming <leeming@lyx.org>
4158 * BufferView_pimpl.h: qualified name is not allowed in member
4159 declaration: WorkArea & Pimpl::workarea() const;
4161 * factory.C: added using std::endl directive.
4163 * text3.C: added using std::find and std::vector directives.
4165 2002-08-29 André Pönitz <poenitz@gmx.net>
4168 * text2.C: remove unused member number_of_rows
4171 * BufferView2.C: remove file, move contents to...
4172 * BufferView.C: ... here
4174 * BufferView_pimpl.C:
4175 * factory.C: move more inset creation to factory
4177 * vspace.C: avoid direct usage of LyXText, ws changes
4180 don't provide direct access to WorkArea, use two simple
4181 acessors haveSelction() and workHeight() instead
4184 2002-08-29 John Levon <levon@movementarian.org>
4186 * BufferView_pimpl.C (dispatch): do not continue when
4189 2002-08-28 André Pönitz <poenitz@gmx.net>
4191 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4194 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4196 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4198 * buffer.C: increment LYX_FORMAT to 221
4200 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4201 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4203 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4205 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4207 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4209 * factory.C (createInset): use LyXTextClass::floats
4211 * MenuBackend.C (expandFloatListInsert):
4212 (expandFloatInsert):
4215 * text2.C (setCounter):
4217 * LaTeXFeatures.C (useFloat):
4218 (getFloatDefinitions):
4220 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4222 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4223 floatlist_, with accessor floats().
4225 * FloatList.h: remove global FloatList
4227 2002-08-26 André Pönitz <poenitz@gmx.net>
4229 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4233 * BufferView_pimpl.C:
4234 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4236 2002-08-25 John Levon <levon@movementarian.org>
4238 * LyXAction.C: fix margin note description
4240 2002-08-24 John Levon <levon@movementarian.org>
4244 * bufferview_funcs.C:
4246 * undo_funcs.C: cleanups
4248 * lyxfunc.C: disable CUT/COPY when no selection
4250 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4252 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4253 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4255 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4256 Add backward compatibility to "mono", "gray" and "no".
4258 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4260 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4261 (and file_format >= 200).
4263 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4265 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4267 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4269 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4271 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4273 * BufferView_pimpl.C:
4280 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4281 inset and code to make it work with the paragraph code. The inset
4282 can be anywhere in the paragraph, but will only do the expected
4283 thing in LaTeX if the layout file contains the parameter line
4285 (or more generally, a nonzero value) for that layout.
4287 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4289 * paragraph.h: remove the declaration of undefined counters class
4292 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4294 * text2.C (setCounter): fixed enumeration mis-count as reported by
4295 Dr. Richard Hawkins.
4297 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4299 * paragraph_funcs.h: remove some unneeded includes
4301 * text.C (backspace): pasteParagraph now in global scipe
4303 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4304 (pasteSelection): ditto
4306 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4307 * paragraph_funcs.C (pasteParagraph): ... here
4309 2002-08-20 André Pönitz <poenitz@gmx.net>
4311 * commandtags.h: new LFUNs for swapping/copying table row/colums
4314 * lyxfunc.C: support for new lfuns
4316 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4319 * buffer.[Ch]: remove NO_COMPABILITY stuff
4321 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4323 * boost.C (throw_exception): new file, with helper function for
4324 boost compiled without exceptions.
4329 * ParameterStruct.h:
4330 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4332 * bufferlist.C (emergencyWriteAll): use boost bind
4334 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4336 * text.C: include paragraph_funcs.h
4337 (breakParagraph): breakParagraph is now in global scope
4339 * paragraph_funcs.[Ch]: new files
4341 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4344 * buffer.C: include paragraph_funcs.h
4345 (insertStringAsLines): breakParagraph is now in global scope
4347 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4350 * CutAndPaste.C: include paragraph_funcs.h
4351 (cutSelection): breakParagraphConservative is now in global scope
4352 (pasteSelection): ditto
4354 * buffer.h: declare oprator== and operator!= for
4355 Buffer::inset_iterator
4357 * bufferlist.C (emergencyWrite): don't use fmt(...)
4359 * text3.C: add using std::endl
4361 * BufferView.C (moveCursorUpdate): remove default arg
4363 2002-08-20 André Pönitz <poenitz@gmx.net>
4365 * buffer.[Ch]: move inline functions to .C
4368 * BufferView_pimpl.C:
4370 * buffer.[Ch]: use improved inset_iterator
4373 * paragraph.[Ch]: write one paragraph at a time
4375 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4377 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4378 style if style is not specified.
4380 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4382 * text2.C (setCounter): when searching for right label for a
4383 caption, make sure to recurse to parent insets (so that a caption
4384 in a minipage in a figure float works) (bug #568)
4386 2002-08-20 André Pönitz <poenitz@gmx.net>
4388 * text3.C: new file for LyXText::dispatch() and helpers
4390 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4392 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4394 2002-08-19 André Pönitz <poenitz@gmx.net>
4397 * text.C: new LyXText::dispatch()
4399 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4401 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4403 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4405 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4408 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4410 * Makefile.am: use $(variables) instead of @substitutions@
4412 2002-08-15 André Pönitz <poenitz@gmx.net>
4415 * BufferView_pimpl.C: streamlining mathed <-> outer world
4419 * LyXAction.C: remove unused LFUN_MATH
4421 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4423 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4425 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4427 * paragraph.C (Paragraph): reformat a bit
4428 (cutIntoMinibuffer): use builtin InsetList function instad of
4432 * buffer.C: include boost/bind.hpp, add using std::for_each
4433 (writeFileAscii): use ParagraphList iterators
4434 (validate): use for_each for validate traversal of paragraphs
4435 (getBibkeyList): use ParagraphList iterators
4436 (resizeInsets): use for_each to resizeInsetsLyXText for all
4438 (getParFromID): use ParagraphList iterators
4440 * BufferView2.C (lockInset): use paragraph list and iterators
4442 2002-08-14 John Levon <levon@movementarian.org>
4444 * lyxserver.C: remove spurious xforms include
4446 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4448 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4450 2002-08-13 André Pönitz <poenitz@gmx.net>
4453 * lyxfunc.C: further cleaning
4455 2002-08-13 André Pönitz <poenitz@gmx.net>
4457 * funcrequest.h: new constructor
4459 * funcrequest.C: move stuff here from .h
4462 * BufferView_pimpl.C:
4465 * lyxfunc.C: subsequent changes
4467 * lyxfunc.h: new view() member function
4469 * lyxfunc.C: subsequent changes
4471 2002-08-13 Angus Leeming <leeming@lyx.org>
4474 * BufferView_pimpl.C:
4482 changes due to the changed LyXView interface that now returns references
4483 to member variables not pointers.
4485 2002-08-13 Angus Leeming <leeming@lyx.org>
4487 * WordLangTuple (word, lang_code): return references to strings,
4492 * lyxtext.h: forward-declare WordLangTuple.
4497 * text.C: #include "WordLangTuple.h".
4500 * text.C: (selectNextWordToSpellcheck): constify return type.
4502 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4508 * paragraph_pimpl.h:
4511 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4513 Made updateCounter always count from start of buffer, and removed
4514 second argument (par).
4515 Reverted floats number display to '#'. Perhaps I'll try again when the
4516 code base is sanitized a bit.
4518 2002-08-12 Angus Leeming <leeming@lyx.org>
4520 * buffer.[Ch] (getLabelList): constify.
4522 2002-08-07 André Pönitz <poenitz@gmx.net>
4524 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4526 * funcrequest.h: extension to keep mouse (x,y) position
4528 2002-08-12 Juergen Vigna <jug@sad.it>
4530 * BufferView2.C (insertErrors): forbid undo when inserting error
4533 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4535 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4537 * ParagraphList.[Ch]: new files
4539 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4541 * BufferView2.C (lockInset): ParagraphList changes
4544 * bufferlist.C: ditto
4548 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4550 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4551 unused class variable counter_,
4553 * paragraph.[Ch] (getFirstCounter): delete unused function
4555 * counters.C: include LAssert.h
4556 (reset): add a new function with no arg, change other version to
4557 not have def. arg and to not allow empty arg.
4559 * text2.C (setCounter): remove empty arg from call to Counters::reset
4561 2002-08-11 John Levon <levon@movementarian.org>
4563 * Makefile.am: add WordLangTuple.h
4565 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4567 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4568 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4570 * insets/insettext.C: InsetList changes
4572 * graphics/GraphicsSupport.C (operator()): InsetList changes
4574 * toc.C (getTocList): InsetList changes
4576 * paragraph_pimpl.[Ch]: InsetList changes
4578 * paragraph.[Ch]: InsetList changes
4580 * buffer.C (inset_iterator): InsetList changes
4581 (setParagraph): ditto
4582 * buffer.h (inset_iterator): ditto
4583 * iterators.C (operator++): ditto
4584 * iterators.h: ditto
4586 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4588 * InsetList.[Ch]: new files, most InsetList handling moved out of
4591 * BufferView2.C (removeAutoInsets): InsetList changes
4593 (ChangeInsets): ditto
4595 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4597 * paragraph_pimpl.h (empty): new function
4599 * paragraph.[Ch] (empty): new function
4601 * other files: use the new Paragraph::empty function
4603 2002-08-09 John Levon <levon@movementarian.org>
4605 * lyxtext.h: remove unused refresh_height
4607 2002-08-09 John Levon <levon@movementarian.org>
4614 * paragraph.C: move sgml char escaping out of paragraph
4617 * paragraph.C: remove id setter
4621 * paragraph_pimpl.C: remove dead tex_code_break_column
4623 * bufferview_funcs.C: small cleanup
4625 * lyxfunc.C: remove dead proto
4627 * lyxtext.h: make some stuff private. Remove some dead stuff.
4629 * lyxgluelength.C: make as[LyX]String() readable
4631 2002-08-08 John Levon <levon@movementarian.org>
4636 * ToolbarDefaults.C:
4639 * toc.C: lyxaction cleanup
4641 2002-08-08 John Levon <levon@movementarian.org>
4643 * BufferView2.C: small cleanup
4646 * lyxfind.C: move unnecessary header into the .C
4648 2002-08-08 John Levon <levon@movementarian.org>
4650 * funcrequest.h: just tedious nonsense
4653 * lyx_main.C: cleanups
4656 * vspace.C: remove dead header lyx_main.h
4658 2002-08-07 Angus Leeming <leeming@lyx.org>
4661 * paragraph_pimpl.h:
4662 Forward declare class Counters in paragraph.h by moving the ctrs member
4663 variable into Paragraph::Pimpl.
4664 (counters): new method, returning a reference to pimpl_->ctrs.
4666 * text2.C: ensuing changes.
4668 2002-08-07 John Levon <levon@movementarian.org>
4670 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4672 * BufferView_pimpl.C: announce X selection on double/triple
4675 * lyx_main.C: use correct bool in batch dispatch
4677 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4679 2002-08-07 André Pönitz <poenitz@gmx.net>
4681 * funcrequest.h: new class to wrap a kb_action and its argument
4684 * BufferView_pimpl[Ch]:
4688 * lyxrc.C: subsequent changes
4691 2002-08-07 John Levon <levon@movementarian.org>
4693 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4694 document options change.
4696 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4701 * makefile.am: move counters functionality over from
4702 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4704 2002-08-06 John Levon <levon@movementarian.org>
4706 * WordLangTuple.h: new file for word + language code tuple
4717 * BufferView2.C: use WordLangTuple
4720 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4722 2002-08-06 John Levon <levon@movementarian.org>
4724 * lyx_main.C: fix cmdline batch handling
4726 2002-08-06 André Pönitz <poenitz@gmx.net>
4728 * lyxrc.C: set default for show_banner to true
4730 2002-08-06 John Levon <levon@movementarian.org>
4732 * pspell.C: fix a crash, and allow new aspell to work
4734 2002-08-06 John Levon <levon@movementarian.org>
4737 * kbmap.C: small cleanup
4740 * vspace.C: add const
4742 2002-08-05 John Levon <levon@movementarian.org>
4744 * LyXAction.C: back to tabular-insert
4746 2002-08-04 John Levon <levon@movementarian.org>
4749 * BufferView.C: cosmetic change
4751 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4761 * BufferView2.C: purge all "Lyx" not "LyX" strings
4764 * lyxcursor.C: attempt to add some documentation
4769 * ToolbarDefaults.C:
4770 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4771 merge with LFUN_TABULAR_INSERT
4778 * pspell.C: split up i/pspell implementations into separate
4779 files, many cleanups
4781 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4783 * text2.C: some cleanup
4785 * lyxfunc.C: don't check for isp_command == "none" any more, it
4786 didn't make any sense
4788 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4793 * makefile.am: move counters functionality over
4794 from text2.C/paragraph.[Ch] to counters.[Ch], and
4796 2002-08-02 John Levon <levon@movementarian.org>
4798 * buffer.C: s/lyxconvert/lyx2lyx/
4800 2002-08-02 Angus Leeming <leeming@lyx.org>
4802 * lyxlex.C: revert John's change as it breaks reading of the user
4805 2002-08-02 Angus Leeming <leeming@lyx.org>
4807 * importer.C (Import):
4808 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4809 changes due to LyXView::view() now returning a boost::shared_ptr.
4811 2002-08-02 John Levon <levon@movementarian.org>
4813 * lyxlex.C: small cleanup
4815 2002-08-02 John Levon <levon@movementarian.org>
4817 * text2.C (status): small cleanup, no logic change
4819 2002-08-01 John Levon <levon@movementarian.org>
4822 * buffer.C (writeFile): don't output alerts, caller
4826 * lyx_cb.C: from above
4828 * lyxfunc.C: allow to open non-existent files
4830 2002-07-31 John Levon <levon@movementarian.org>
4832 * lyxserver.C: don't let incidental errors get
4835 2002-07-30 John Levon <levon@movementarian.org>
4837 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4839 2002-07-30 John Levon <levon@movementarian.org>
4842 * lyxserver.C: remove I/O callback too
4844 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4846 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4849 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4851 * many files: strip,frontStrip -> trim,ltrim,rtrim
4853 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4855 * PrinterParams.h: remove extern containsOnly, and include
4856 support/lstrings.h instead.
4858 * LaTeX.C (scanAuxFile): modify because of strip changes
4860 * buffer.C (makeLaTeXFile): ditto
4861 * bufferparams.C (writeFile): ditt
4862 * lyxfont.C (stateText): ditto
4863 * lyxserver.C (read_ready): ditto
4864 * vc-backend.C (scanMaster): ditto
4866 * BufferView_pimpl.h: ws changes
4868 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4870 2002-07-26 André Pönitz <poenitz@gmx.net>
4872 * kb_sequence.C: remove unnedred usings
4874 2002-07-26 Juergen Vigna <jug@sad.it>
4876 * lyxfind.C (LyXReplace): we have to check better if the returned
4877 text is not of theLockingInset()->getLockingInset().
4879 2002-07-25 Juergen Vigna <jug@sad.it>
4881 * lyxfind.C (LyXReplace): don't replace if we don't get the
4884 * undo_funcs.C (createUndo): remove debugging code.
4886 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4888 * buffer.C (parseSingleLyXformat2Token): Use default placement
4889 when reading old floats.
4891 * FloatList.C (FloatList): Change the default placement of figure
4892 and tables to "tbp".
4894 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4896 * MenuBackend.C: using std::max
4898 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4900 * MenuBackend.C (expandToc):
4901 (expandToc2): code moved from xforms menu frontend. It is now
4902 generic and TOCs are transparent to menu frontends.
4904 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4906 * toc.C (getTocList): protect against buf=0
4908 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4909 Menu as first parameter. Now, this calls itself recursively to
4910 expand a whole tree (this will be useful for TOC handling)
4911 (expandFloatInsert): remove 'wide' version of floats
4913 * MenuBackend.h (submenuname): returns the name of the submenu.
4914 (submenu): returns the submenu itself, provided it has been
4915 created by MenuBackend::expand
4917 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4919 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4920 insets which have noFontChange == true. (bug #172)
4922 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4924 * BufferView_pimpl.C: add connection objects and use them...
4927 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4929 * MenuBackend.C (expandLastfiles):
4932 (expandFloatListInsert):
4933 (expandFloatInsert):
4934 (expand): split expand in parts
4936 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4938 * lyx_gui.C: use lyx_gui::exit()
4940 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4942 * LyXAction.C: show the failing pseudo action
4944 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4946 * buffer.C (readFile): Run the lyxconvert script in order to read
4949 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4953 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4955 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4959 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4961 2002-07-22 Herbert Voss <voss@lyx.org>
4964 * lyxlength.[Ch]: add support for the vertical lengths
4966 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4968 * toc.[Ch]: std:: fixes
4970 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4972 * lyxrc.C: do not include lyx_main.h
4974 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4980 * BufferView2.C: include "lyxlex.h"
4983 * bufferparams.h: do not #include "lyxlex.h"
4985 * lyxtextclasslist.C (Add): remove method
4986 (classlist): renamed to classlist_
4988 * paragraph_pimpl.C:
4992 * bufferview_funcs.C:
4997 * toc.C (getTocList): use BufferParams::getLyXTextClass
4999 * toc.C (getTocList): use InsetFloat::addToToc
5001 * toc.[Ch]: new files, containing helper functions to handle table
5004 * lyxfunc.C (dispatch): no need to remove spaces around command
5006 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5007 first command of the sequence; it is not very clever, but I do not
5008 have a better idea, actually
5010 * LyXAction.C (LookupFunc): make sure to remove space at the
5011 beginning and end of the command
5013 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5015 * MenuBackend.C (getMenubar): new method: return the menubar of
5017 (read): treat differently reading of menu and menubar (in
5018 particular, the menubar has no name now)
5019 (Menu::menubar): remove
5021 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5024 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5026 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5027 a bibitem inset in a RTL paragraph.
5029 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5031 * paragraph_pimpl.C: constify
5033 * BufferView_pimpl.C:
5035 * lyxfunc.C: fix dispatch in a nicer way
5037 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5039 * lyxfunc.C (dispatch):
5040 * BufferView_pimpl.C:
5041 * BufferView_pimpl.h:
5043 * BufferView.h: rename Dispatch() to dispatch()
5045 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5047 * lyxlayout.C (Read): honor DependsOn tag
5049 * lyxlayout.[Ch] (depends_on): new method
5051 * version.C.in: update lyx_docversion
5053 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5055 * paragraph.C (validate): remove from here...
5056 * paragraph_pimpl.C (validate): ... and move here
5057 (isTextAt): make it const
5059 * buffer.C (getLists): ws cleanup
5061 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5063 * language.C (read): Use iso8859-1 encoding in latex_lang
5064 (this prevents LyX from crashing when using iso10646-1 encoding).
5066 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5068 * text2.C (toggleInset): if cursor is inside an inset, close the
5069 inset and leave cursor _after_ it
5071 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5073 * lyxfunc.C: move minibuffer completion handling out of here
5075 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5077 * BufferView_pimpl.C:
5078 * LaTeX.C: fix dispatch calls
5080 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5082 * text.C (drawChars): Fix Arabic text rendering.
5084 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5088 * lyxfunc.C: remove message-push/pop
5092 * lyxfunc.C: rationalise some code by removing verboseDispatch
5093 in favour of a bool argument to dispatch()
5095 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5097 * lyx_main.C (init): make sure to read symlinks as absolute paths
5099 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5102 * lyxfunc.C: no need for commandshortcut to be a member
5104 2002-07-15 André Pönitz <poenitz@gmx.net>
5106 * converter.C: add support for $$s (scripts from lib/scripts dir)
5107 * lyx_main.C: white space
5109 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5113 * lyxrc.C: remove second exit confirmation
5115 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5120 * BufferView_pimpl.h:
5121 * BufferView_pimpl.C:
5122 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5124 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5126 * MenuBackend.C (expand): add numeric shortcuts to document menu
5128 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5130 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5132 * lyxfont.C (setLyXFamily):
5139 * buffer.C (asciiParagraph): use ascii_lowercase
5141 2002-07-15 Mike Fabian <mfabian@suse.de>
5143 * lyxlex_pimpl.C (search_kw):
5144 * lyxlex.C (getLongString):
5145 * converter.h (operator<):
5146 * converter.C (operator<):
5147 * buffer.C (parseSingleLyXformat2Token):
5149 * ToolbarDefaults.C (read):
5150 * MenuBackend.C (checkShortcuts):
5152 * LColor.C (getFromGUIName):
5153 (getFromLyXName): use the compare_ascii_no_case instead of
5154 compare_no_case, because in turkish, 'i' is not the lowercase
5155 version of 'I', and thus turkish locale breaks parsing of tags.
5157 2002-07-16 Angus Leeming <leeming@lyx.org>
5159 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5160 now takes a Buffer const & argument.
5162 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5164 * BufferView.C (resize): check there's a buffer to resize
5166 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5168 * lyxfunc.C: remove dead code
5171 * lyxserver.C: use lyx_guii::set_read_callback
5173 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5175 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5176 an inset in a RTL paragraph.
5178 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5180 * lyxfunc.C: repaint after a font size update
5182 2002-07-15 André Pönitz <poenitz@gmx.net>
5184 * lyxlength.C: inBP should be able to return negative values
5186 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5188 * lyxfunc.C: use lyx_gui::update_fonts()
5190 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5192 * lyxfunc.C: use lyx_gui::update_color()
5194 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5200 * lyxrc.C: remove file->new asks for name option, and let
5201 buffer-new take an argument
5203 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5205 * BufferView_pimpl.C: remove unneeded extra repaint()
5207 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5209 * LyXAction.C: allow command-sequence with NoBuffer
5211 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5213 2002-07-10 Angus Leeming <leeming@lyx.org>
5215 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5217 2002-07-09 Angus Leeming <leeming@lyx.org>
5219 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5221 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5223 * lengthcommon.h: whitespace
5225 * lyxfunc.C: update scrollbar after goto paragraph
5227 * lyxtext.h: factor out page break drawing, and fix it so
5228 page break/added space paints as selected nicely
5230 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5232 * BufferView_pimpl.C: add FIXMEs, clean up a little
5234 2002-07-09 André Pönitz <poenitz@gmx.net>
5236 * lyxfont.[Ch]: support for wasy symbols
5238 2002-07-08 André Pönitz <poenitz@gmx.net>
5240 * BufferView_pimpl.C: apply John's patch for #93.
5242 2002-07-05 Angus Leeming <leeming@lyx.org>
5244 * BufferView_pimpl.C (buffer): generate previews if desired.
5246 * LColor.h: add "preview" to the color enum.
5248 * LColor.C (LColor): add a corresponding entry to the items array.
5250 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5253 2002-07-05 Angus Leeming <leeming@lyx.org>
5255 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5256 The body of the code is now in the method that is passed an ostream &
5257 rather than a file name.
5258 Pass an additional only_preamble parameter, useful for the forthcoming
5261 2002-07-03 André Pönitz <poenitz@gmx.net>
5263 * lyxfunc.C: simplify getStatus() a bit for math stuff
5265 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5267 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5269 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5271 * text.C (changeRegionCase): do not change case of all the
5272 document when region ends at paragraph end (bug #461)
5274 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5276 * paragraph.C (startTeXParParams):
5277 (endTeXParParams): add \protect when necessary
5279 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5281 * BufferView_pimpl.C (workAreaExpose): remove warning
5283 2002-06-27 Angus Leeming <leeming@lyx.org>
5285 * Makefile.am: add lyxlayout_ptr_fwd.h.
5287 2002-06-26 André Pönitz <poenitz@gmx.net>
5289 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5291 2002-06-25 Angus Leeming <leeming@lyx.org>
5293 * lyxfunc.C (dispatch): Comment out the call to
5294 grfx::GCache::changeDisplay. The method no longer exists now that the
5295 pixmap generation part of the graphics loader has been moved into
5298 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5300 * text2.C: layout as layout
5302 * text.C: layout as layout
5304 * tabular.C (OldFormatRead): layout as layout
5306 * paragraph_pimpl.C (TeXDeeper): layout as layout
5307 (realizeFont): layout as layout
5309 * paragraph.C (writeFile): layout as layout
5310 (validate): layout as layout
5311 (getFont): layout as layout
5312 (getLabelFont): layout as layout
5313 (getLayoutFont): layout as layout
5314 (breakParagraph): layout as layout
5315 (stripLeadingSpaces): layout as layout
5316 (getEndLabel): layout as layout
5317 (getMaxDepthAfter): layout as layout
5318 (applyLayout): layout as layout
5319 (TeXOnePar): layout as layout
5320 (simpleTeXOnePar): layout as layout
5321 (TeXEnvironment): layout as layout
5322 (layout): layout as layout
5323 (layout): layout as layout
5325 * lyxtextclass.C (compare_name): new functor to work with
5326 shared_ptr, layout as layout
5327 (Read): layout as layout
5328 (hasLayout): layout as layout
5329 (operator): layout as layout
5330 (delete_layout): layout as layout
5331 (defaultLayout): layout as layout
5333 * lyxlayout_ptr_fwd.h: new file
5335 * lyxlayout.C (Read): layout as layout
5337 * lyx_cb.C (MenuInsertLabel): layout as layout
5339 * bufferlist.C (newFile): layout as layout
5341 * buffer.C (readLyXformat2): layout as layout
5342 (parseSingleLyXformat2Token): layout as layout
5343 (insertStringAsLines): layout as layout
5344 (asciiParagraph): layout as layout
5345 (latexParagraphs): layout as layout
5346 (makeLinuxDocFile): layout as layout
5347 (simpleLinuxDocOnePar): layout as layout
5348 (makeDocBookFile): layout as layout
5349 (simpleDocBookOnePar): layout as layout
5350 (getLists): layout as layout
5352 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5354 * CutAndPaste.C (cutSelection): layout as layout
5355 (pasteSelection): layout as layout
5356 (SwitchLayoutsBetweenClasses): layout as layout
5358 * BufferView_pimpl.C (Dispatch): layout as layout
5359 (smartQuote): layout as layout
5361 * BufferView2.C (unlockInset): layout as layout
5363 2002-06-24 André Pönitz <poenitz@gmx.net>
5365 * lyxfunc.C: fix #487
5367 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5371 * lyxfunc.C: remove display_shortcuts, show_banner
5373 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5375 * Buffer_pimpl.C: oops, update on resize
5377 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5384 * BufferView.C: use repaint()
5386 * BufferView_pimpl.h:
5387 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5388 as it's a clearer description. Remove superfluous
5391 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5393 * text.C: fix bug 488. Not ideal, but getting
5394 getWord() to work properly for the insets that
5395 matter is more difficult ...
5397 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5399 * BufferView_pimpl.C:
5402 * lyxfunc.C: remove the six million index lyxfuncs to just
5403 one, and DTRT (bug 458)
5405 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5409 * BufferView_pimpl.h:
5410 * BufferView_pimpl.C: clean up resize() stuff,
5411 and unnecessary updateScreen()s
5413 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5417 * BufferView_pimpl.h:
5418 * BufferView_pimpl.C:
5421 * minibuffer.C: remove focus management of workarea,
5422 not needed. Use screen's greyOut()
5424 2002-06-17 Herbert Voss <voss@lyx.org>
5426 * converter.C: (convert) do not post a message, when converting
5427 fails, let the calling function decide what to do in this case
5429 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5431 * lyxfunc.C: tidy up a little
5433 2002-06-16 <alstrup@diku.dk>
5435 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5436 Got rid of FORMS_H_LOCATION include. Now we are
5439 2002-06-15 LyX Development team <lyx@rilke>
5441 * buffer.[Ch] (sgmlOpenTag):
5442 (sgmlCloseTag): Added support for avoiding pernicious mixed
5443 content. Return number of lines written.
5446 (makeDocBookFile): Fixed calls to sgml*Tag.
5447 Simple white space clean.
5449 (simpleDocBookOnePar): Simple white space clean.
5451 * tabular.[Ch] (docBook): Renamed to docbook and got another
5452 argument to related with the pernicious mixed content.
5454 (docbookRow): Fixed calls for docbook inset method.
5456 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5458 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5459 so it's X11 independent.
5463 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5465 2002-06-15 Lyx Development team <lyx@electronia>
5467 * intl.h: Renamed getTrans to getTransManager.
5469 2002-06-14 Angus Leeming <leeming@lyx.org>
5471 * Makefile.am: nuke forgotten stl_string_fwd.h.
5473 2002-06-12 Angus Leeming <leeming@lyx.org>
5475 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5477 2002-06-13 Angus Leeming <leeming@lyx.org>
5480 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5482 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5484 * kbmap.C (getiso): add support for cyrillic and greek
5486 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5490 * BufferView_pimpl.h:
5491 * BufferView_pimpl.C: move bogus scrolling logic
5494 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5497 * BufferView_pimpl.C: view->resize() change
5499 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5501 * BufferView_pimpl.C: topCursorVisible
5504 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5508 * lyx_gui.C: move to frontends/
5512 * lyx_main.C: changes from above
5514 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5521 * lyx_main.C: minor tidy
5523 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5525 * BufferView_pimpl.h:
5526 * BufferView_pimpl.C:
5528 * BufferView.C: make painter() const,
5531 * BufferView2.C: use screen() accessor
5534 * lyx_main.C: some minor cleanup
5536 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5538 * BufferView_pimpl.h:
5539 * BufferView_pimpl.C: remove enter/leaveView,
5542 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5547 * BufferView_pimpl.h:
5548 * BufferView_pimpl.C: only construct screen once,
5551 * lyxrc.C: remove pointless comment
5553 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5556 * BufferView.C: remove active() and belowMouse()
5558 * BufferView_pimpl.h:
5559 * BufferView_pimpl.C: use workarea() not workarea_,
5560 and make it use a scoped_ptr instead
5562 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5564 * lyx_gui.C: add debug message on BadWindow
5566 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5568 * sp_spell.C: fdopen is not part of the C++ standard.
5570 * paragraph.C (InsetIterator): use >= instead of ==
5572 2002-06-07 Angus Leeming <leeming@lyx.org>
5574 Fixes needed to compile with Compaq cxx 6.5.
5575 * BufferView_pimpl.C:
5582 * lyxtextclasslist.C:
5587 all c-library variables have been moved into namespace std. Wrap
5588 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5593 Add a using std::abs declaration.
5595 * kbmap.h (modifier_pair):
5596 * paragraph.h (InsetTable, InsetList):
5597 * lyxfont.h (FontBits):
5598 type definition made public.
5600 * bufferlist.C (emergencyWriteAll): the compiler complains that
5601 there is more than one possible lyx::class_fun template to choose from.
5602 I re-named the void specialisation as lyx::void_class_fun.
5604 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5606 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5607 the compiler is is unable to find tostr in write_attribute.
5609 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5611 * buffer.C (sgmlError): hide #warning
5613 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5615 * xtl/*: get rid of xtl, which is not in use anyway
5617 * LyXAction.C (init):
5618 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5619 were unimplemented xtl experimentation
5621 2002-06-04 André Pönitz <poenitz@gmx.net>
5623 * lyxfunc.C: disable array operation on simple formulae
5625 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5627 * converter.C: constify a bit
5629 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5631 * lyx_gui.C: check xforms version correctly
5633 2002-04-30 Herbert Voss <voss@lyx.org>
5635 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5638 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5640 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5641 attempt to register it with a VCS)
5643 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5645 * lyx_main.C (init): honor variables LYX_DIR_13x and
5648 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5652 * lyx_main.C: fix a crash on bad command line,
5653 and give a useful exit status on error
5655 * lyxfunc.C (doImport): allow -i lyx to work
5657 2002-03-30 André Pönitz <poenitz@gmx.net>
5659 * lyxfunc.C: mathed font changes
5661 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5676 * trans_mgr.h: srcdocs, and some minor cleanups
5678 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5680 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5681 call getFont all the time)
5683 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5685 * switch from SigC signals to boost::signals
5687 2002-05-29 André Pönitz <poenitz@gmx.net>
5689 * paragraph_pimpl.C (getChar): don't call size() too often...
5691 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5693 * paragraph_pimpl.C (insertChar): do not try to update tables when
5694 appending (pos == size())
5696 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5697 in order to reduce drastically the number of comparisons needed to
5698 parse a large document
5700 2002-05-29 André Pönitz <poenitz@gmx.net>
5706 * textclasslist.[Ch]:
5707 * sp_ispell.h: whitespace change
5709 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5711 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5712 lyxaction directly now.
5714 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5718 * lyxvc.C: remove unused headers
5720 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5727 * undo_funcs.C: some cleanups. Use shared_ptr
5728 and a template for the undo stacks.
5730 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5732 * BufferView_pimpl.h:
5733 * BufferView_pimpl.C:
5740 * text2.C: use key_state/mouse_state
5742 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5744 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5747 * chset.C: change include order
5748 (loadFile): use boost regex and get rid of LRegex and LSubstring
5750 * Makefile.am (BOOST_LIBS): new variable
5753 * LaTeX.C: change include order.
5754 (scanAuxFile): use boost regex and get rid of LRegex and
5758 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5763 * FontInfo.C: moved to frontends/xforms/
5766 * FontLoader.C: moved into frontends for GUIIzation
5771 * lyxfunc.C: changes from above
5773 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5775 * LColor.C: remove spurious X include
5777 * BufferView_pimpl.C:
5782 * text2.C: move font metrics to frontends/
5784 2002-05-24 Juergen Vigna <jug@sad.it>
5786 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5787 setting the undo_cursor.
5789 * ParagraphParameters.h: include local includes first.
5791 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5793 * BufferView_pimpl.C:
5794 * BufferView_pimpl.h:
5798 * screen.C: move WorkArea into frontends/
5804 * BufferView2.C: move LyXScreen into frontends/
5808 * lyx_gui.C: move lyxlookup into frontends/xforms/
5810 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5813 * BufferView_pimpl.C:
5823 * bufferview_funcs.C:
5836 * vc-backend.C: move LyX/XFormsView into frontends/
5838 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5850 * text2.C: move Painter to frontends/
5852 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5854 * buffer.C: comment out some some code that depend upon lyx_format
5857 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5858 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5860 * buffer.h (NO_COMPABILITY): turn off compability
5862 * ColorHandler.C: include scoped_array.hpp
5864 * font.C: Use more specific smart_ptr header.
5867 * ShareContainer.h: ditto
5871 * BufferView_pimpl.h: ditto
5872 * ColorHandler.h: ditto
5874 * kbmap.C (defkey): change call to shared_ptr::reset
5876 2002-05-21 Juergen Vigna <jug@sad.it>
5878 * buffer.C (insertErtContents): fix to insert ert asis if it is
5879 non empty. Skip it completely if it contains only whitespaces.
5881 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5883 * BufferView_pimpl.C:
5884 * BufferView2.C: clear selection on paste (bug 393)
5886 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5888 * DepTable.C: include ctime
5890 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5892 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5894 2002-05-14 Juergen Vigna <jug@sad.it>
5896 * text.C (breakParagraph): fixed function to honor the keepempty
5897 layout in the right maner and also to permit the right breaking
5898 algorithm on empty or non empyt keepempty paragraphs.
5900 * paragraph.C (breakParagraph): we have to check also if the par
5901 is really empty (!size()) for isempty otherwise we do the wrong
5904 2002-05-10 Juergen Vigna <jug@sad.it>
5906 * buffer.[Ch] : The following are only changes to the ert
5907 compatibility read reading old LaTeX layout and font stuff and
5908 convert it to ERTInsets.
5910 * buffer.h: added isErtInset().
5912 * buffer.C (struct ErtComp): add a fromlayout bool to check
5913 if we're inside a LaTeX layout.
5914 (isErtInset): new helper function.
5915 (insertErtContents): look for other ert insets before this one
5916 and insert the contents there, so that we don't have subsequent
5917 ERT insets with nothing between them. This way we create only one
5918 inset with multiple paragraphs. Also check if we don't insert only
5919 spaces ' ' as they are ignored anyway afterwards in the .tex file
5920 so if we have only spaces we will ignore this latex part in the
5922 (parseSingleLyXformat2Token \\layout): better compatibility when
5923 reading layout-latex stuff.
5924 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5926 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5927 stuff after reading the inset only get the information back from
5930 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5932 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5934 * LaTeXFeatures.C (getBabelOptions): New method.
5936 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5938 * BufferView_pimpl.C (Dispatch): work around missing argument for
5941 2002-05-08 Juergen Vigna <jug@sad.it>
5943 * text.C (leftMargin): handle paragraph leftindent.
5945 * paragraph.C (writeFile): write the new \\leftindent tag.
5946 (validate): handle leftindent code.
5947 (TeXEnvironment): handle paragraphleftindent code again.
5949 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5951 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5952 for paragrap_extra indent code and new token \\leftindent.
5953 (latexParagraphs): handle the leftindent as environment.
5955 * ParameterStruct.h: added leftindent support.
5957 * ParagraphParameters.C (leftIndent): added support functions for
5958 the paragraph left indent.
5960 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5963 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5965 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5968 * text.C (computeBidiTables): No bidi in insetERT.
5970 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5973 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5975 * version.C.in: pre 5
5977 2002-05-02 José Matos <jamatos@fep.up.pt>
5978 * buffer.C (makeDocBookFile): white space changes, add newline to
5980 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5982 * tabular.C (docBook): fix typo.
5984 2002-05-03 Juergen Vigna <jug@sad.it>
5986 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5987 change in LyXText as we can not be sure it was not freed.
5988 (drawOneRow): remove unused code.
5990 * text.C (drawInset): redo the calculation of the need_break_row as
5991 it could have a row which was already freed.
5992 (draw): look at the return value of drawInset and return false if
5993 it also returned false.
5994 (paintRowText): look at the return value of draw and return false if
5995 it also returned false.
5997 * lyxtext.h: added bool return type to drawInset() and draw() so that
5998 if we have a change in the row so that the rowbreak has to be redone
5999 we abort drawing as it will be called again.
6001 2002-05-02 Juergen Vigna <jug@sad.it>
6003 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6004 a change in the maintext also if we're inside an inset.
6005 (Dispatch): set the cursor again after a break line and after the
6006 screen has been updated as it could be we're in a different row.
6008 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6009 to set the cursor behind the pargraph with > size().
6010 (setCursor): check also for the same paragraph when checking where
6011 to put the cursor if we have a NFR inset.
6013 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6014 parts of layout read further up as it still was in the wrong
6017 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6019 * screen.C (drawFromTo): change sine fullRebreak always return
6022 * buffer.C (parseSingleLyXformat2Token): reindent some
6024 * BufferView_pimpl.C (update): change since fullRebreak always
6026 (Dispatch): git rid of the last hardcoded "Standard"s.
6028 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6030 * text2.[Ch] (fullRebreak): make it return void now that we always
6033 2002-04-30 Juergen Vigna <jug@sad.it>
6035 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6036 ert compatibility check for "latex" layout.
6038 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6040 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6041 minipages: use col% instead of p%, and also use the current font.
6042 (makeLaTeXFile): Fix use babel condition.
6043 (parseSingleLyXformat2Token): Correct font when reading old floats.
6045 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6047 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6048 inserting list of floats.
6050 2002-04-25 Herbert Voss <voss@lyx.org>
6052 * MenuBackend.C (expand): don't add the graphics extensions to the
6055 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6057 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6058 non-existing layout, do not complain if it was the default layout
6059 of the original class (bug #342)
6061 2002-04-24 Juergen Vigna <jug@sad.it>
6063 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6064 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6066 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6068 * buffer.C (getBibkeyList): If using \bibliography, return the
6069 option field with the reference itself. Enables us to provide natbib
6070 support when using \bibliography.
6072 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6074 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6076 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6077 natbib is provided by the LaTeX class.
6079 2002-04-23 Juergen Vigna <jug@sad.it>
6081 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6084 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6086 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6088 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6090 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6091 ensuremath around textordmasculine, textordfeminine and
6094 2002-04-19 Juergen Vigna <jug@sad.it>
6096 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6097 reinitializing the buffer otherwise row-dimensions may be wrong.
6098 (update): reset also the selection cursors if they do exits otherwise
6099 their x/y positions may be wrong.
6101 * text2.C (cursorDown): don't enter the inset if we came from a row
6102 above and are one row over the inset.
6104 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6105 really leaving an inset.
6107 2002-04-18 Juergen Vigna <jug@sad.it>
6109 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6110 of the selected paragraph does not have the selected layout also if
6113 * text2.C (setLayout): fixed bug which did not change last selected
6116 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6117 changed the read and substituted \\end_float with \\end_inset!
6119 * BufferView_pimpl.C (cursorPrevious):
6120 (cursorNext): fixed to make it work with rows heigher than the work
6121 area without moving the cursor only the draw of the row.
6122 (workAreaMotionNotify): fix jumping over high rows.
6124 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6126 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6129 2002-04-16 Juergen Vigna <jug@sad.it>
6131 * text2.C (setCursor): set also the irow().
6132 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6134 (cursorDown): support for locking an inset if the x_fix value goes
6135 inside it. That way I can transverse insets too with cursor up/down.
6137 * lyxrow.h: added irow helper function same as other (i) functions.
6139 * BufferView_pimpl.C (cursorPrevious):
6140 (cursorNext): fixed for insets!
6142 2002-04-15 Juergen Vigna <jug@sad.it>
6144 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6145 position otherwise it is wrong in some cases.
6147 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6148 inside the inset before the call.
6150 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6152 * buffer.[Ch] (getBibkeyList): make it const.
6154 2002-04-12 Juergen Vigna <jug@sad.it>
6156 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6158 * text2.C (getCursorX): new helper function
6159 (setCursor): compute also ix_
6160 (setCursorFromCoordinates): set also ix.
6162 * lyxcursor.h: added ix_ and helper functions.
6164 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6166 * buffer.C (insertStringAsLines): dont break paragraph if the this
6167 paragraph is inside an inset which does not permit it!
6169 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6170 also with no chars on this paragraph.
6171 (paintRowText): only paint stuff if it's inside the workarea!
6173 * paragraph.C (breakParagraph): honor keepempty flag and break the
6174 paragraph always below not above.
6176 * BufferView2.C (unlockInset): update the paragraph layout on inset
6177 unlock as we changed paragraph in such a case.
6179 * lyxfind.C (LyXFind): clear the former selection if not found!
6181 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6182 again called in insertChar().
6184 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6185 an inset which uses the whole row!
6186 (rightMargin): ditto.
6187 (insertChar): force a rebreak if we inserted an inset!
6189 2002-03-28 Herbert Voss <voss@lyx.org>
6191 * lyxlength.[Ch]: add inBP() to get the right PS-point
6192 units (BigPoint). With inPixels we have rounding errors
6194 2002-04-11 Juergen Vigna <jug@sad.it>
6196 * text2.C (setCursorFromCoordinates): set iy to the right value.
6197 (setCursor): add check if row->previous exists!
6199 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6200 an old float_type as this was the case in the old code!
6202 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6204 * BufferView2.C (showLockedInsetCursor): use iy
6205 (fitLockedInsetCursor): ditto
6207 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6208 locked insets as there we have the right value now.
6210 * lyxcursor.C: added iy_ variable and iy functions to set to the
6211 baseline of cursor-y of the locked inset.
6213 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6214 (setCursor): fixed for insets which need a full row.
6216 * text.C (rowLastPrintable): don't ignore the last space when before
6217 an inset which needs a full row.
6218 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6219 as last character of a row when before a inset which needs a full row.
6221 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6223 * version.C.in: update date
6225 * text2.C (fullRebreak): try to always return true and see what
6228 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6230 * MenuBackend.C (expand): use Floating::listName
6232 * FloatList.C (FloatList): add listName argument to the built-in
6235 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6236 text associated with the float.
6238 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6240 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6242 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6244 * ShareContainer.h: add a couple of missing typenames.
6246 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6248 * lyxrc.C (getDescription): use _() correctly rather than N_().
6250 2002-03-28 Herbert Voss <voss@lyx.org>
6252 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6253 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6255 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6257 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6258 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6260 2002-03-29 Juergen Vigna <jug@sad.it>
6262 * lyxfunc.C (dispatch): add a missing fitCursor call.
6264 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6265 it was scrolled by a cursor move, so return the bool status.
6267 * BufferView.C (fitCursor): return the bool flag also to the outside
6268 world as this is needed.
6270 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6272 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6273 call the edit() as it is not needed (and wrong) IMO.
6274 (workAreaButtonPress): set the screen_first variable before evt.
6275 unlock the inset as this may change screen_first and then we have
6276 a wrong y position for the click!
6278 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6280 * MenuBackend.C (expand): another translation that I missed
6282 2002-03-28 Juergen Vigna <jug@sad.it>
6284 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6286 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6288 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6290 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6292 * MenuBackend.C (expand): fix export/view/update when there is no
6295 2002-03-27 Herbert Voss <voss@lyx.org>
6297 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6300 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6302 * bufferview_funcs.C (currentState): only show paragraph number
6303 for is DEVEL_VERSION is set.
6305 * lyxfunc.C (dispatch): put warning in INFO channel
6307 * MenuBackend.C (expand): translate the name of floats
6309 * FloatList.C (FloatList): mark the float names for translation
6311 * converter.C (convert): use LibScriptSearch
6313 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6315 * MenuBackend.C (defaults): fix default menu (we might as well get
6318 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6320 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6323 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6325 * lyxvc.C: reorder includes.
6327 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6329 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6332 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6334 * CutAndPaste.C: change layouts earlier on paste
6335 to avoid crashing when calling getFont()
6337 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6339 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6342 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6344 * WorkArea.C: remove 'Pending' debug message.
6346 * most files: ws cleanup
6348 * buffer.[Ch]: ws changes
6350 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6352 2002-03-21 Juergen Vigna <jug@sad.it>
6354 * tabular.C (SetMultiColumn): collapse also the contents of the
6355 cells and set the last border right. Added a Buffer const * param.
6357 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6359 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6362 2002-03-19 Juergen Vigna <jug@sad.it>
6364 * text2.C (clearSelection): reset also xsel_cache.
6366 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6367 where it needs to be called (John tells us to do so too :)
6368 (selectionLost): reset sel_cache.
6370 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6372 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6374 * text2.C (setCursorIntern): put debuging code in INSETS channel
6376 2002-03-19 André Pönitz <poenitz@gmx.net>
6378 * lyxfunc.C: tiny whitespace change
6380 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6382 * ToolbarDefaults.C (init):
6383 * LyXAction.C (init):
6385 * BufferView_pimpl.C (Dispatch):
6386 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6388 2002-03-19 Allan Rae <rae@lyx.org>
6390 * exporter.C (Export): removeAutoInsets before doing anything else.
6391 While I've just introduced a dependency on BufferView this really is
6392 the best place to clean the buffer otherwise you need to cleanup in
6393 a dozen places before calling export or cleanup in a dozen functions
6396 * converter.C (runLaTeX):
6397 (scanLog): Better handling of removeAutoInsets and screen updates.
6399 * lyxfunc.C (dispatch): small whitespace changes
6401 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6403 * WorkArea.C (C_WorkAreaEvent): return a value.
6404 (event_cb): return 1 if we handled the event, 0 otherwise.
6406 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6408 2002-03-18 Juergen Vigna <jug@sad.it>
6410 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6411 (GetAdditionalWidth): ditto.
6415 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6416 inset if we're there actually (probably not used right now but this
6417 is the direction to go for unifying code).
6418 (paste): disable code to clear the selection.
6420 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6421 inside an InsetText and move the check further up as it is in the
6424 * text2.C (pasteSelection): set a selection over the pasted text.
6426 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6428 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6429 and libgraphics to build on Cygwin.
6431 2002-03-15 Juergen Vigna <jug@sad.it>
6433 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6434 inserting an Inset into the paragraph. I know this is not the best
6435 fix but we already use current_view in CutAndPaste so we will remove
6436 all of it's using at the same time.
6438 * buffer.C (sgmlError): deactivated function till it is rewritten in
6439 the right mode, now it can create problems.
6441 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6442 before accessing it.
6444 2002-03-14 Juergen Vigna <jug@sad.it>
6446 * undo_funcs.C (textHandleUndo): do the right thing when updating
6447 the inset after the undo/redo.
6449 * text2.C (setCursor): just some testcode for #44 not ready yet.
6451 * undo_funcs.C (textHandleUndo): set the next() and previous()
6452 pointers of the paragraph to 0 before deleting otherwise we have
6453 problems with the Paragraph::[destructor].
6455 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6456 on a paragraph insertion.
6458 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6460 * buffer.C (asciiParagraph): use += operator for char append to
6463 * paragraph.C (getFontSettings): compare >= not just >
6464 (highestFontInRange): ditto
6467 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6469 * paragraph.C: change several algorithm to be more appripriate for
6470 the problem domain. This is lookip in FontList and in the InsetList.
6472 2002-03-13 André Pönitz <poenitz@gmx.net>
6475 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6477 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6482 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6484 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6486 * Painter.C (display): anon helper function, adjust code for this
6488 (pixmap): remove function.
6490 * Painter.h: remove private display variable.
6492 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6494 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6496 * WorkArea.[Ch]: remove figinset_canvas cruft.
6498 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6500 * lyxtextclass.C (operator): add one item cache optimization.
6502 * bufferlist.h: doxy changes
6504 * bufferlist.C: ws changes
6506 * DepTable.[Ch] (ext_exist): place const in the right spot.
6508 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6510 (workAreaExpose): call resizeInsets when the with BufferView changes.
6511 (Dispatch): adjust for protectedBlank removal
6512 (specialChar): call updateInset if the insert went ok.
6514 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6515 specialChar instead.
6517 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6519 * BufferView.h: doxy change
6521 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6523 * lyxtextclass.C (operator[]): remove non-const version
6524 (defaultLayout): remove non-const version
6526 2002-03-12 Juergen Vigna <jug@sad.it>
6528 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6529 did resize the LyXText too.
6531 * buffer.C (readLyXformat2): set layout information on newly allocated
6534 * tabular.C (OldFormatRead): set layout information on the paragraph.
6536 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6538 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6540 2002-03-11 Juergen Vigna <jug@sad.it>
6542 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6544 (resizeCurrentBuffer): force also the insets to resize themselfes.
6545 (moveCursorUpdate): fixed up for InsetText.
6547 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6550 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6551 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6552 value of Dialogs::tooltipsEnabled().
6553 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6555 2002-03-08 Juergen Vigna <jug@sad.it>
6557 * BufferView_pimpl.C (updateInset): update inset inside inset also
6558 if it isn't inside theLockingInset().
6560 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6562 * buffer.C (asciiParagraph): redo some of the word and line length
6564 (getLists): look for Caption instead of caption.
6566 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6568 * buffer.C (Buffer): initialize niceFile to true
6571 (makeDocBookFile): make sure niceFile is true on exit
6573 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6575 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6577 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6579 * LyXSendto.C: remove.
6580 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6581 * lyx_gui.C: remove now-redundant comment.
6582 * ColorHandler.h: remove forward declaration of class WorkArea.
6583 * lyxfunc.C: remove #include "WorkArea.h".
6585 2002-03-07 Juergen Vigna <jug@sad.it>
6587 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6588 got moved away with the DEPM and also set the inset_owner always
6589 right which before could have been omitted.
6591 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6593 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6594 wanted layout is not found.
6596 2002-03-07 Juergen Vigna <jug@sad.it>
6598 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6600 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6602 * paragraph.C (breakParagraph): use default layout not layout of
6604 (Paragraph): clear ParagraphParameters.
6606 2002-03-06 Juergen Vigna <jug@sad.it>
6608 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6609 otherwise it would not be a valid lenght. Fixed a special case in
6610 the minipage compatibility read where we end the document with a
6613 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6614 was set as it could be 0 for InsetTexts first entry.
6616 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6618 * paragraph.C (writeFile): if layout is empty write out
6619 defaultLayoutName().
6621 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6622 file without named layout we set layout to defaultLayoutName().
6624 2002-03-06 Juergen Vigna <jug@sad.it>
6626 * CutAndPaste.C (copySelection): set layout for new paragraph.
6628 * text.C (prepareToPrint): leave ERT inset left aligned
6629 (leftMargin): don't indent paragraphs inside ERT insets
6631 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6633 * paragraph.C (breakParagraph): dont call clear do the work manually
6635 * paragraph.[Ch] (clear): remove function
6637 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6639 * paragraph.C (Paragraph): dont call clear, the work has already
6642 * lyxtextclass.C (operator): assert if n is empty
6644 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6645 work manually instead.
6647 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6649 * BufferView_pimpl.C: protect selectionLost against text == 0
6651 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6653 * text.C (breakParagraph): fix a setting layout to '0' problem.
6655 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6657 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6658 final location of file, for the included files, and graphics.
6660 2002-03-05 Juergen Vigna <jug@sad.it>
6662 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6664 2002-03-04 Juergen Vigna <jug@sad.it>
6666 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6668 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6669 last column of multicolumn cells.
6670 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6672 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6674 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6675 file if it doesn't go to a temporary file.
6677 * buffer.C (sgmlOpenTag):
6678 (sgmlCloseTag): remove extra newline insertion.
6680 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6682 * text.C (getRowNearY): comment out debug msg
6684 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6686 * text2.C: first -> first_y
6688 * text.C (getRowNearY): add some attemts at a possible
6689 optimization, not working.
6691 * tabular.[Ch]: add BufferParams to several function so that newly
6692 created paragraph can be initialized to he default layotu for the
6695 * tabular-old.C (ReadOld): add buf->params to call of Init
6697 * screen.C: rename text->first to text->first_y
6699 * paragraph.C (breakParagraph): always set layout in the broken
6702 * lyxtextclass.C (Read): remove lowercase
6705 (delete_layout): ditto
6707 * lyxtext.h: rename first -> first_y
6709 * lyxlayout.C (Read): remove lowercase
6712 (obsoleted_by): ditto
6714 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6716 * buffer.C (insertErtContents): add params are to InsetERT
6717 (parseSingleLyXformat2Token): add code to check if a paragraphs
6718 layout really exist.
6719 (parseSingleLyXformat2Token): add params to several inset
6721 (asciiParagraph): remove lowercase, do the layout comparisons with
6724 * BufferView_pimpl.C (cursorNext): first -> first_y
6725 (resizeCurrentBuffer): first -> first_y
6726 (updateScrollbar): first -> first_y
6727 (scrollCB): first -> first_y
6728 (workAreaMotionNotify): first -> first_y
6729 (workAreaButtonPress): first -> first_y
6730 (checkInsetHit): first -> first_y
6731 (cursorPrevious): first -> first_y
6732 (cursorNext): first -> first_y
6733 (Dispatch): add buffer_->params to severl inset contructors
6735 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6737 * lyxlayout.C (Read): remove some debug info that I forgot.
6739 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6740 clean up the code slightly.
6741 (makeLinuxDocFile): ditto
6742 (makeDocBookFile): ditto
6744 * text2.C: layout as string
6746 * text.C: layout as string
6748 * paragraph_pimpl.C: layout as string
6750 * paragraph.[Ch]: layout as string
6752 * lyxtextclasslist.[Ch]: layout as string
6754 * lyxtextclass.[Ch]: layout as string
6756 * lyxtext.h: layout as string
6758 * lyxlayout.[Ch]: layout as string
6760 * lyx_cb.C: layout as string
6762 * bufferview_funcs.C: layout as string
6764 * bufferparams.C: layout as string
6766 * buffer.C: layout as string
6768 * LyXView.[Ch]: layout as string
6770 * LaTeXFeatures.[Ch]: layout as string
6772 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6774 * BufferView_pimpl.C: change current_layout to string, remove
6779 (workAreaButtonRelease): layout as string
6781 * BufferView2.C (unlockInset): adjust
6783 * vspace.C (asLatexCommand): use an explict temp variable.
6785 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6787 * Makefile.am: use FRONTEND_*
6789 2002-03-01 Juergen Vigna <jug@sad.it>
6791 * tabular.C (SetWidthOfMulticolCell): changed to something better
6792 I hope but still work in progress.
6793 (recalculateMulticolumnsOfColumn): renamed function from
6794 recalculateMulticolCells as it is more appropriate now.
6795 (SetWidthOfCell): calculate multicols better.
6797 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6799 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6801 * lyxfunc.C (processKeySym): print sequence also if it is
6802 `deleted' (complete)
6804 * kbsequence.C (print): print sequence even if it is deleted
6805 (complete would be a better word, actually).
6807 * lyxfunc.C (dispatch): print complete options after a prefix key
6809 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6811 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6813 * text2.C (setCharFont): eliminate setCharFont code duplication.
6815 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6817 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6818 LFUN_TABULAR_FEATURE (bug #177)
6820 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6822 * Makefile.am: remove figure.h
6824 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6826 * Bufferview_pimpl.C:
6838 * text2.C: remove #include "lyx_gui_misc.h".
6840 * LaTeX.C: added #include <cstdio>
6842 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6844 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6845 that the paragraph following this one can have.
6847 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6849 * vspace.C (asLatexCommand): fix bogus gcc warning
6851 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6853 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6855 * text2.C (setLayout): get rid of redundant code
6857 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6859 * text2.C (incDepth): make sure depth cannot be increased beyond
6862 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6864 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6865 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6867 * PainterBase.h (image):
6868 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6871 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6875 * BufferView_pimpl.C:
6876 * BufferView_pimpl.h:
6896 * sp_spell.C: remove fig inset, and the crap house of
6897 cards that follows it
6899 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6905 * nt_defines.h: move .h into support/
6907 * vms_defines.h: remove
6909 * WorkArea.C: add space in debug output
6913 * buffer.C: add WITH_WARNINGS
6917 * bufferlist.C: s/retrive/retrieve/, add docs
6928 * lyxgui.C: add ID to X error handler
6930 * lyxtestclass.c: fix typo
6932 2002-02-26 Juergen Vigna <jug@sad.it>
6934 * tabular_funcs.C (write_attribute): changed so that some default
6935 attributes are not written at all.
6936 (getTokenValue): set default values before trying to read the
6937 value so we have the return value always set as default if we don't
6938 find the token we search for.
6940 * tabular.C (Write): write bools as bools not as strings!
6942 2002-02-22 Juergen Vigna <jug@sad.it>
6944 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6945 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6947 * text.C (leftMargin): don't add an indent for paragraphs inside
6948 tabular cells (fix #208).
6950 2002-02-21 José Matos <jamatos@fep.up.pt>
6952 * tabular.C (docBook): fixed support for long tables.
6954 2002-02-20 Juergen Vigna <jug@sad.it>
6956 * text2.C (getFont): get the drawing font of the Inset if this
6957 paragraph is inside an inset (only important for InsetERT for now).
6959 * buffer.C (insertErtContents): use new lanugage params in ERT
6962 * CutAndPaste.C: commenting out seemingly uneeded code.
6964 2002-02-19 Allan Rae <rae@lyx.org>
6966 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6967 Iterators might be simple to use but they also get invalidated.
6968 (removeAutoInsets): renamed saved cursor tracking variables and added
6969 some comments to clarify what everything does.
6971 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6978 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6979 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6982 * vc-backend.h: remove #include "support/syscall.h"
6986 * converter.C: rearrange #includes in Lars' approved fashion.
6988 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6989 forward declare class Timeout in the header file.
6991 * XFormsView.C: changes due to the above.
6993 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6996 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6997 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6999 2002-02-18 José Matos <jamatos@fep.up.pt>
7001 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7004 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7006 * a lot of small ws changes
7007 * add a lot of using std::XXX
7008 * use std construcs some places where approp.
7009 * use some exisint stuff from lyxfunctional where approp.
7010 * Make file changes to use partial linking (lets test this now...)
7012 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7016 remove #include "support/syscontr.h" as it's redundant. Always has been.
7024 change Systemcalls::System to Systemcalls::Wait and
7025 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7026 No change of functionality, just reflects the stripped down Systemcalls
7029 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7031 * debug.[Ch]: add a GRAPHICS type to the enum.
7033 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7035 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7037 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7040 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7042 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7043 match the changes below.
7045 * text2.C (toggleInset): if there is not editable inset at cursor
7046 position, try to see if cursor is _inside_ a collapsable inset
7049 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7051 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7052 document menu has a nice checkbox
7054 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7056 * lyxlength.C (asLatexString): change PW to output as percent of
7059 * lengthcommon.C: change '%' to 't%'
7061 * lyxfunc.C (dispatch): a few comments from Martin
7063 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7067 * BufferView_pimpl.h:
7068 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7071 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7073 * vspace.C (inPixels): fix compiler warning
7075 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7077 * lyxfunc.C (getStatus): fix status message for disabled commands.
7079 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7081 * BufferView_pimpl.C: fix crash on close buffer
7082 during selection (#227)
7084 2002-01-27 Herbert Voss <voss@lyx.org>
7086 * buffer.C: link old Figure to new graphic inset
7088 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7090 * FontLoader.C (getFontinfo): Change the latex font names in order
7091 to match the names of type1inst.
7093 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7095 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7097 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7100 (remove_files_with_extension): ditto
7101 (remove_file): ditto
7104 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7105 document is smaller than the work area height. Do not initialize
7106 static variables to 0.
7108 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7110 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7112 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7113 LFUN_LAYOUT_PARAGRAPHS.
7115 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7116 tabular. It is possible to provide a possible cell, which will
7117 typically be the actcell from the corresponding insettabular
7119 * lyxfunc.C (getStatus): small cleanup; disable
7120 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7123 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7125 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7127 * paragraph.C (startTeXParParams):
7128 (endTeXParParams): new methods. The LaTeX code to
7129 start/end paragraph formatting
7130 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7131 empty (fixes bug #200)
7133 * vspace.C (inPixels): adapt to the change below
7134 (inPixels): [later] more cleanups (remove unused variables)
7136 * lyxlength.C (inPixels): change to use a width and a height as
7139 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7141 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7142 Replaced with \paperwidth
7144 * DepTable.C (insert): add std:: qualifier
7146 2002-01-18 Allan Rae <rae@lyx.org>
7148 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7151 * text.C (drawInset): Turned out I didn't know enough about how
7152 rebreaking worked. This fixes most of the redraw problems. I see
7153 an occasional cursor trail when a line is broken now and the cursor
7154 placement can seem out by a few pixels also after a rebreak.
7156 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7158 * buffer.C (parseSingleLyXformat2Token): update because minipage
7159 width is now a LyXLength
7161 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7163 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7166 2002-01-17 Juergen Vigna <jug@sad.it>
7168 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7170 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7171 is set correctly and the inset is updated correctly.
7173 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7175 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7176 the beginning of the loop.
7178 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7180 * lyxrc.C: improve help for use_scalable_fonts
7182 2002-01-17 Allan Rae <rae@lyx.org>
7184 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7186 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7188 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7189 make sure to set their inset_owner to the right value (bug #171)
7191 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7194 * DepTable.C: Implement mtime checking to reduce time spent doing
7197 2002-01-16 Juergen Vigna <jug@sad.it>
7199 * tabular.C (GetAdditionalHeight): one of error fixed.
7201 * lyxrc.C (output): small fix in writing use_pspell.
7203 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7205 * sp_base.h: #include LString.h
7207 2002-01-16 Allan Rae <rae@lyx.org>
7209 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7210 Can someone check this please?
7212 * text.C (drawInset): It was possible that p.row would be removed by
7213 breakAgainOneRow upsetting a few other settings. There may be another
7214 small tweak possible by setting need_break_row = 0 when p.row has been
7215 removed but I don't know enough about the logic here.
7217 2002-01-15 Allan Rae <rae@lyx.org>
7219 * text.C (insertChar): removed conditional truism.
7221 * BufferView2.C (removeAutoInsets): More tweaks.
7222 cur_par_prev could be a stray pointer. Check for trailing empty line
7223 in case last line was cur_par and only had an error inset on it.
7225 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7227 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7230 * vc-backend.C (most methods):
7231 * exporter.C (Export):
7232 * converter.C (convert):
7234 * LyXSendto.C (SendtoApplyCB):
7235 * lyxfunc.C (dispatch):
7239 * lyx_cb.C (AutoSave):
7241 * BufferView_pimpl.C (MenuInsertLyXFile):
7242 * buffer.C (runChktex): use Buffer::filePath().
7244 * buffer.h: rename filename to filename_; rename filepath to
7245 filepath_ and make it private
7246 (filePath): new method
7248 * buffer.C (writeFile): use fileName()
7251 * lyx_main.C (init): fix starting of LyX when the binary is a
7252 link from so,ewhere else.
7254 * minibuffer.C: include <cctype> for isprint
7256 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7258 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7259 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7260 name clash with InsetCollapsable's width function.
7262 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7264 * lastfiles.C: include <iterator>
7266 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7268 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7271 * buffer.C (makeLaTeXFile): ditto.
7272 Also make loop operation more transparent.
7274 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7276 * ToolbarDefaults.C: remove trailing comma closing namespace.
7278 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7280 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7283 * trans.C (Load): comment out unused variable, allowed.
7285 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7287 * minibuffer.[Ch] (append_char): new method to recieve input from the
7288 drop-down completion browser. If a key was pressed, then recieve this
7289 char and append it to the existing string.
7290 (peek_event): modify the positioning data passed to the completion
7291 browser so that it can be placed above the minibuffer rather than below.
7292 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7294 * LyXAction.C (init): alloe error-next for readonly documents.
7296 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7299 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7301 * bufferlist.C (readFile): create the buffer _after_ checking that
7304 * lyxfunc.C (verboseDispatch): fix handling of arguments
7306 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7308 * lyxrc.C: use string::erase() instead of initializing to "".
7311 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7313 * BufferView_pimpl.h:
7314 * BufferView_pimpl.C:
7317 * text2.C: tell X when we have made a selection for copying
7319 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7321 * BufferView_pimpl.C (MenuInsertLyXFile):
7322 * lyxfunc.C (menuNew):
7324 (doImport): add shortcuts to directory buttons
7326 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7329 * lyxfunc.C (setStatusMessage):
7330 (getStatusMessage): new methods
7331 (getStatus):use setStatusMessage instead of setErrorMessage
7332 (dispatch): when function is disabled, set error message here
7333 [instead of in getStatus previously]
7335 * BufferView_pimpl.C (workAreaButtonRelease): update
7336 toolbar/menubar here too.
7338 2002-01-13 Allan Rae <rae@lyx.org>
7340 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7341 Now seems indestructible. Remaining task is to audit all other
7342 code affected by deleteEmptyParagraphMechanism. One small quirk
7343 left is that an empty document with an error in the preamble can
7344 be made to report an error but no error box appears. I don't know
7346 (removeAutoInsets): Improved comments.
7348 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7351 * Thesaurus.C: update for Aiksaurus 0.14
7353 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7355 * text2.C (firstParagraph): removed member function, all uses
7356 replaces with ownerParagraph
7357 (redoParagraphs): here
7359 (toggleAppendix): here
7360 * BufferView2.C (insertErrors): here
7361 (setCursorFromRow): here
7363 2002-01-13 Allan Rae <rae@lyx.org>
7365 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7366 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7367 There is still a way to segfault this although you may have to do this
7368 multiple times: Have an InsetERT with an unknown command in it.
7369 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7370 <down-arrow>, <Enter> again, View->DVI, BANG!
7372 * text2.C (setCursor):
7373 (deleteEmptyParagraphMechanism):
7374 * lyxtext.h (setCursor):
7375 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7376 Making use of the return value may help fix other bugs.
7378 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7380 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7382 * LyXView.C (updateMenubar): call MenuBar::update here
7383 (updateToolbar): but not here
7384 (showState): do not update toolbar/menubar
7386 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7387 should need to care about that.
7389 * lyxfunc.C (verboseDispatch): simplify a bit
7390 (getStatus): have a version which takes a pseudoaction, and
7391 another which requires a (kb_action,string).
7393 * LyXAction.C (retrieveActionArg): make it work also when action
7394 is not a pseudo-action.
7395 (getActionName): simplify a bit
7398 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7400 * lyxfunc.C (verboseDispatch): new families of methods with
7401 several ways to specify a command and a bool to indicate whether
7402 the command name and shortcut should be displayed in minibuffer
7403 (eventually, we could extend that to a finer bitmask like
7404 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7405 (dispatch): the pristine dispatch command which just, well,
7406 dispatchs! Note it still sets its result to minibuffer; I'm not
7409 * lyxfunc.h: remove setHintMessage
7411 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7413 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7415 * BufferView_pimpl.C (specialChar): delete new inset if we have
7416 not been able to insert it.
7418 * kbmap.C: revert to using int instead of kb_action, since all we
7419 are dealing with is pseudo-actions.
7421 * LyXAction.C (searchActionArg): change to return int instead of
7422 kb_action, since the result is a pseudoaction.
7424 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7426 * buffer.C (insertErtContents): Fix (partially) the font bug.
7428 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7430 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7431 as the other one is broken on my machine!
7433 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7436 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7438 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7440 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7441 reflect their actual use. Provide compatibility code for older lyxrc
7444 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7446 change names of popup font variables in line with the changes to lyxrc.C
7448 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7450 * buffer.C (asciiParagraph): avoid outputing a word twice after
7453 * lyxrc.C (getDescription): document that document_path and
7454 template_path can be empty.
7456 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7458 * LaTeXFeatures.C (getMacros):
7459 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7461 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7463 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7465 (getPackages): rename feature "floats" to "float". Use an array to
7466 iterate over 'simple' features (i.e. just a \usepackage). Add
7467 handling of "amsmath" (renamed from "amsstyle").
7469 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7471 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7474 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7476 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7477 FuncStaus::FuncStatus & FuncStaus::some_method().
7479 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7481 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7482 of the func_satus stuff. Edited and massaged in various ways by
7485 * lyxfunc.C (getStatus): use FuncStatus
7487 2002-01-08 Juergen Vigna <jug@sad.it>
7489 * text.C (nextBreakPoint): use function Inset::isChar().
7491 * paragraph.C (TeXOnePar): use function
7492 Inset::forceDefaultParagraphs.
7494 * buffer.C (latexParagraphs): use function
7495 Inset::forceDefaultParagraphs.
7497 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7499 * lyx_gui.C (init): set the style of the menu popups to
7500 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7502 2002-01-07 Juergen Vigna <jug@sad.it>
7504 * text.C (setHeightOfRow): small fix
7505 (prepareToPrint): don't look at alignment if we don't have the place
7508 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7510 * box.C: New file. Move the Box methods and functions out of box.h,
7511 following Lars' suggestion.
7513 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7515 * box.h: #include "support/LOstream.h", needed for inlined function.
7518 * lyxtextclasslist.C: added some using std declarations.
7520 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7522 * box.h: make signed dimensions to allow insets wider than
7523 the screen (bug #162)
7525 * BufferView_pimpl.C: add some insetHit debug
7527 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7529 * vc-backend.C: add FIXME
7531 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7533 * lyxfunc.C (getStatus): enable code for showing math font status
7536 2002-01-07 Juergen Vigna <jug@sad.it>
7538 * text.C (nextBreakPoint): removed debug output not needed anymore.
7540 2002-01-06 Juergen Vigna <jug@sad.it>
7542 * text.C (nextBreakPoint): fixed up this function we had this bug
7543 since ever but now hopefully we break row better.
7544 (insertChar): we have to check if an inset is the next char as it
7545 could now happen that a large inset is causing a break.
7547 2002-01-05 Juergen Vigna <jug@sad.it>
7549 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7550 if it doesn't like to be drawed.
7552 2002-01-04 Juergen Vigna <jug@sad.it>
7554 * BufferView2.C (lockInset): forgot to set a cursor.
7556 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7558 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7563 * form_maths_panel.C:
7564 * form_maths_panel.h:
7565 * form_maths_panel.fd: implemented sub- and super- buttons in math
7568 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7569 (or ^ space) to be used as in TeX (req'd by André).
7571 * lyxfunc.C: Allow ^ and _ again to be used both as
7572 super/subscript (mathed) and as themselves (in text).
7574 2002-01-03 Allan Rae <rae@lyx.org>
7576 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7577 "LyX" or the filename of the current buffer if it has one. This is a
7578 modified form of John Levon's patch.
7580 * XFormsView.C (setWindowTitle): also set icon title.
7582 * LyXView.h (setWindowTitle): signature changed.
7583 * XFormsView.h (setWindowTitle): ditto.
7585 2002-01-02 Juergen Vigna <jug@sad.it>
7587 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7589 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7591 * screen.C (topCursorVisible): introduce a temp var for
7592 text->cursor.row(), handle the case where this row is null. (kindo
7595 * text2.C (setCursor): add a couple of asserts.
7597 * paragraph.h (inset_iterator): add -> operator
7599 * paragraph.[Ch] (autoDeleteInsets): remove member function
7601 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7602 cursor pos correctly and handle inset deletion by itself.
7603 (insertErrors): move iterator declaration out of for expression
7605 * lyxtextclass.C: add <algorithm>
7607 * Makefile.am: added the new files to sources, removed layout.C
7609 * layout.C: removed file
7611 * layout.h: remove LYX_DUMMY_LAYOUT
7613 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7617 * lyxtextclass.[Ch]:
7618 * lyxtextclasslist.[Ch]: new files
7620 * include order changes to a lot of files, also changes because of
7623 2001-12-27 Juergen Vigna <jug@sad.it>
7625 * buffer.C (asciiParagraph): more fixes.
7627 * tabular.C (ascii): make ascii export support export of only the
7628 data separated by a column-delimiter.
7629 (ascii): better support for ascii export.
7631 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7633 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7635 * tabular_funcs.C: use a "using std::getline" instead of the
7636 previous fix from Angus (necessary for cxx + lyxstring)
7638 2001-12-24 Juergen Vigna <jug@sad.it>
7640 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7642 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7643 problems. First check a minipage also if we have some ert-contents
7644 (not only on par->size(), second set the right depth of the paragraph
7645 on the relink to the root-paragraph-list!
7647 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7648 which then did not anymore update the main paragraphs on undo/redo!
7650 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7652 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7653 code. Support all font-changing funcs (even those which are not in
7654 menu currently). Support for reporting font settings in
7655 mathed (disabled until Andre provides a function on mathed's side).
7657 * func_status.h (toggle): small helper function to set toggle
7660 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7662 * tabular_funcs.C: getline -> std::getline
7664 2001-12-21 Juergen Vigna <jug@sad.it>
7666 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7667 accessed and could be 0 (I couldn't generate this but it seems
7670 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7672 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7673 * tabular_funcs.h: here and include iosfwd
7675 2001-12-20 Juergen Vigna <jug@sad.it>
7677 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7678 inside inset but undo_par was.
7680 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7682 * Thesaurus.C: always include <config.h> in sources.
7686 * box.h: do not include <config.h> in header files
7688 * text.C (paintLastRow): remove unused variable
7690 * text.C (transformChar):
7692 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7695 * font.C (width): rewrite to use uppercase() instead of
7698 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7700 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7702 * lyxfind.C: clean up of find failure position change
7704 2001-12-20 Juergen Vigna <jug@sad.it>
7706 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7708 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7709 (TeXRow): added to LaTeX a single tabular row.
7710 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7711 (Latex): simplified and finally good LT-h/f support.
7712 (various_functions): just small adaptions for LT-h/f support.
7714 * tabular_funcs.[hC]: added and moved here all not classfunctions
7717 2001-12-19 Juergen Vigna <jug@sad.it>
7719 * tabular.[Ch]: better support for longtabular options (not finished
7722 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7724 * text.C (paintLastRow): use the label font instead of the font of
7725 the last character to compute the size of *_BOX. This makes more
7726 sense and avoids a crash with empty paragraphs.
7727 Use Painter::rectangle to draw EMPTY_BOX.
7729 2001-12-19 Juergen Vigna <jug@sad.it>
7731 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7732 the paragraphs if the replaced paragraph is not the first one!
7733 Tried to delete not used paragraphs but does not work yet so for
7734 now it's inside #ifdef's and by default off!
7736 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7738 * MenuBackend.C: include "lyx_main.h" instead of declaring
7739 lastfiles (actually was declared as LastFiles* instead of a
7742 2001-12-17 Juergen Vigna <jug@sad.it>
7744 * tabular.C (AppendColumn): applied John's fix
7746 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7750 * BufferView_pimpl.h:
7751 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7754 * box.h: new start of class for above
7756 * lyxfunc.C: ignore space-only minibuffer dispatches.
7757 Show the command name when it doesn't exist
7759 * minibuffer.C: don't add empty lines to the history
7761 * minibuffer.C: add a space on dropdown completion
7763 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7765 * text.C: fix line above/below drawing in insets
7767 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7769 * lyxlength.C (LyXLength): Initialize private variables.
7771 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7773 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7774 when inserting error insets.
7776 2001-12-13 Juergen Vigna <jug@sad.it>
7778 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7779 actually sometimes the before-paragraph.
7780 (setUndo): don't clear the redostack if we're not actually undoing!
7782 2001-12-06 Juergen Vigna <jug@sad.it>
7784 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7785 and fixed redoing of main paragraph, so we can use it now ;)
7787 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7789 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7791 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7794 2001-12-13 André Pönitz <poenitz@gmx.net>
7797 * undo_func.C: minor cleanup
7799 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7801 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7802 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7803 font in urw-fonts package which is marked as -urw-fontspecific and
7804 does not work (incidentally, changing the encoding in the
7805 fonts.dir of this package to -adobe-fontspecific fixes the
7808 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7809 is a crash when undoing first paragraph (Juergen, please take a
7810 look). THis does not mean the undo fix is wrong, just that it
7813 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7814 the (Paragraph*) version when needed instead of duplicating the
7817 * text.C (workWidth): use Inset::parOwner to find out where the
7818 inset has been inserted. This is a huge performance gain for large
7819 documents with lots of insets. If Inset::parOwner is not set, fall
7820 back on the brute force method
7822 * paragraph_pimpl.C (insertInset):
7823 * paragraph.C (Paragraph):
7824 (cutIntoMinibuffer): set parOwner of insets when
7825 inserting/removing them
7827 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7829 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7835 * mathed/formulabase.C:
7836 * mathed/math_cursor.[Ch]:
7837 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7840 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7842 * lyxlength.[Ch] (operator!=): new function
7844 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7846 * text.C (workWidth): use Inset::parOwner to find out where the
7847 inset has been inserted. This is a huge performance gain for large
7848 documents with lots of insets. If Inset::parOwner is not set, fall
7849 back on the brute force method
7851 * paragraph_pimpl.C (insertInset):
7852 * paragraph.C (Paragraph):
7853 (cutIntoMinibuffer): set parOwner of insets when
7854 inserting/removing them
7856 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7858 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7860 * tabular-old.C (getTokenValue):
7861 * tabular.C (getTokenValue):
7862 (write_attribute): new versions for LyXLength
7863 (everywhere): adjust the use of widths
7865 * tabular.h: change the type of widths from string to LyXLength
7867 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7869 * paragraph.C: fixed missing line number count when exporting
7870 Environments to LaTeX file
7872 * buffer.C: added informational message for checking line numbers.
7874 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7876 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7877 paragraph, do the 'double space' part, but not the 'empty
7880 * text.C (workWidth): small optimization
7881 (getLengthMarkerHeight): use minimal size for negative lengths.
7883 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7885 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7887 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7889 2001-12-11 André Pönitz <poenitz@gmx.net>
7892 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7894 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7896 * text2.C: keep selection on a setFont()
7898 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7900 * lyx_cb.C: another bv->text misuse, from insert label
7902 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7905 * kbsequence.C: re-instate nmodifier mask
7907 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7909 * lyx_main.h: make lyxGUI private.
7911 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7913 * lyxfind.C: place the cursor correctly on failed search
7915 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7917 * text.C (getLengthMarkerHeight): for small heights, the arrows
7918 are not always on top/bottom of the text
7919 (drawLengthMarker): smaller arrows; take the left margin in
7920 account; draw also vfills.
7922 (paintLastRow): remove special code for vfill and standard spaces,
7923 since everything is handled in drawLengthMarker now.
7925 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7927 * buffer.C (insertErtContents): try to handle font and language
7928 interaction a bit better.g
7930 * ColorHandler.C (updateColor): change the hash to cover the whole
7931 LColor enum, ws cleanup
7932 (getGCLinepars): ditto
7933 (getGCLinepars): only lookup in the linecache once.
7935 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7937 * iterators.C (operator++): Make the iterator more robust
7939 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7941 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7943 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7946 * text.C: better added space drawing
7948 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7951 * BufferView2.C: fix layout combo update on inset unlock
7953 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7955 * Makefile.am: don't compile unused files
7957 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7961 * LyXAction.C: remove old LFUN_LAYOUTNO
7963 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7965 * paragraph_pimpl.h:
7966 * paragraph_pimpl.C: isTextAt() doesn't need font param
7968 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7971 * lyxlex.C: little cleanup
7973 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7975 * BufferView_pimpl.C: fix insertAscii for insets
7977 2001-12-05 Juergen Vigna <jug@sad.it>
7979 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7980 set the right font on the "multi" paragraph paste!
7982 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7988 * lyxlength.C: remove out-commented code.
8004 * vc-backend.C: change "while(" to "while ("
8006 * lyxlength.[Ch]: add zero function to check if length is zero or
8008 * lyxgluelength.C: use it
8010 2001-12-05 Allan Rae <rae@lyx.org>
8012 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8013 Works for 2.95.3, from what I understand of Garst's reports this should
8014 work for other g++ versions. We're screwed if the abs(int) definition
8015 changed between bugfix releases of gcc.
8017 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8019 * text.C: fix chapter label offset !
8021 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8024 * text.C: fix hfill at end of line, clean up
8026 2001-12-04 Juergen Vigna <jug@sad.it>
8028 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8029 that we force an update of the inset and it's owners if neccessary.
8031 2001-12-03 Juergen Vigna <jug@sad.it>
8033 * text.C (rowLast): simplified code
8035 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8037 * lyxfunc.C: fix show options on timeout
8039 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8041 * screen.C (topCursorVisible): scroll half a page when the cursor
8042 reached top of bottom of screen
8044 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8046 * minibuffer.C: deactivate on loss of focus
8048 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8050 * vspace.[Ch] (operator!=): add operator.
8052 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8054 * BufferView_pimpl.C: refuse to open an inset when
8055 there's a selection.
8057 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8059 * BufferView_pimpl.C: allow to click on RHS of full row insets
8061 2001-11-30 Juergen Vigna <jug@sad.it>
8063 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8064 insets for undo reasons.
8066 2001-11-28 André Pönitz <poenitz@gmx.net>
8068 * vspace.[Ch]: cosmetical changes
8070 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8080 * kbsequence.C: part re-write of old kb code
8083 * WorkArea.C: remove Lgb_bug_find_hack
8085 2001-11-30 José Matos <jamatos@fep.up.pt>
8087 * buffer.C (makeDocBookFile): add a comment to point a hack.
8088 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8089 Fixed a double write of labels.
8091 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8094 * LaTeX.h Fixed bug in LaTeX class where it would not
8095 re-run latex if no depfiles were changed, but the .dvi was removed.
8097 2001-11-28 André Pönitz <poenitz@gmx.net>
8099 * all the files from the change on 2001/11/26:
8100 use lyx::layout_type instead of LyXTextClass::size_type
8101 use lyx::textclass_type instead of LyXTextClassList::size_type
8103 2001-11-29 Juergen Vigna <jug@sad.it>
8105 * text.C: added support for paragraph::isFreeSpacing()
8107 * buffer.C: same as above
8109 * paragraph.h: inserted isFreeSpacing() function to enable
8110 FreeSpacing inside InsetERT.
8112 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8113 of the paragraph's in the cut/copy buffer to 0!
8115 * text2.C (removeRow): remove the assert as it can!
8117 * lyxtext.h: added helper function firstRow returning firstrow and
8118 made firstrow private again.
8120 * BufferView2.C (lockInset): don't relock if we're already locked!
8122 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8124 (removeRow): added Assert::(firstrow)
8126 * debug.C: forgot to add INSETTEXT here.
8128 2001-11-28 Juergen Vigna <jug@sad.it>
8130 * sp_spell.C (initialize): changed error text to more general
8131 spellchecker command use (not only ispell!)
8133 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8135 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8137 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8139 * vspace.C: initialise lyxgluelength on failure
8141 2001-11-28 Allan Rae <rae@lyx.org>
8143 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8144 declaration & definition that looks like a function declaration.
8146 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8148 * BufferView2.C (copy):
8149 (copyEnvironment): do not clear the selection when doing a copy.
8151 * text.C (paintFirstRow): compilation fix
8153 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8155 * tabular.C (Latex): correct line count when writing latex.
8157 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8159 * paragraph_pimpl.h:
8160 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8163 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8167 * LColor.C: change vfillline->added_space
8169 * text.C: add markers and text for added space
8171 * vspace.C: fix comment
8173 2001-11-28 André Pönitz <poenitz@gmx.net>
8175 * paragraph.C: whitespace changes
8176 * all the other files from the change on 2001/11/26:
8177 change *::pos_type into lyx::pos_type
8179 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8181 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8182 language of the document when inserting error insets.
8184 2001-11-26 André Pönitz <poenitz@gmx.net>
8186 * BufferView_pimpl.[Ch]:
8194 * paragraph_pimpl.[Ch]:
8197 * text2.C: reduce header dependencies, introduce type for positions
8199 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8201 * <various>: change to use Alert.h
8203 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8205 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8206 when encountering an unknown token.
8207 (readLyXformat2): Show an error message if there were unknown tokens.
8209 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8212 * BufferView_pimpl.C:
8216 * text2.C: use par->isInset()
8218 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8220 * paragraph_pimpl.h:
8221 * paragraph_pimpl.C: cleanup
8223 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8225 * text2.C (removeRow):
8226 * text.C (setHeightOfRow): remove useless (and costly) call to
8229 2001-11-20 Allan Rae <rae@lyx.org>
8231 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8232 Now need Inset*::checkInsertChar() to return true for appropriate
8233 cases so that the characters in the minibuffer will actually be
8236 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8238 * text.C: change the order of the includes.
8239 (workWidth): initialize it at once.
8240 (workWidth): make maxw unsigned
8241 (setHeightOfRow): remove unused variable (inset)
8242 (selectSelectedWord): remove unused variable (inset)
8243 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8245 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8247 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8248 server is not running.
8250 (closeConnection): add debug info when server is disabled.
8252 * ColorHandler.C (getGCForeground): send debug message to GUI
8255 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8257 * kbmap.C (bind): modify because return conventions of
8258 kb_sequence::parse have changed.
8260 * kbsequence.C (parse): only ignore spaces and not any stupid
8261 control character. This avoids tests like s[i] <= ' ', which are
8262 guaranteed to fail with 8bit characters and signed chars.
8263 Change return code to string::npos when there have been no error
8264 (0 was a bad idea when error is at first character)
8266 2001-11-14 José Matos <jamatos@fep.up.pt>
8269 * buffer.C (simpleDocBookOnePar): removed unused argument.
8271 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8273 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8274 insets which are part of a word. Paragraph::isLetter takes care of
8275 that now. Use Paragraph::isInset to identify insets.
8276 (selectSelectedWord): do not test for hyphenation break.
8278 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8279 that protected spaces are considered as spaces.
8281 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8284 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8287 * lyxserver.C: fix it. and small cleanup.
8289 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8291 * BufferView_pimpl.C: use inline helpers
8294 * LaTeXFeatures.C: fix typos
8297 * Spacing.C: move spacing_string into class
8299 * ToolbarDefaults.C: move stuff into namespace anon
8301 * layout.h: update enum
8303 * lyxfunc.C: use better debug
8305 * minibuffer.h: fix typo
8309 * WorkArea.C: add and use Debug::WORKAREA
8313 * text2.C: code re-organisation, inline helpers
8315 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8317 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8318 std::vector.empty().
8320 2001-11-09 Allan Rae <rae@lyx.org>
8322 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8323 '\n's after tables. Tabular and ERT inset work now makes this no
8326 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8329 * minibuffer.C: fix crash, improve drop-down completion
8331 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8334 * lyxserver.C: invalidate fd's when doing endPipe()
8336 2001-11-08 José Matos <jamatos@fep.up.pt>
8338 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8339 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8342 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8344 2001-11-07 José Matos <jamatos@fep.up.pt>
8347 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8350 * buffer.C (sgmlOpenTag):
8351 * buffer.C (sgmlCloseTag): removed debug info.
8353 * buffer.h (sgmlOpenTag):
8354 * buffer.h (sgmlCloseTag): made public.
8356 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8358 * buffer.C (saveParamsAsDefaults):
8359 * lyx_cb.C (MenuLayoutSave): remove
8361 * LyXAction.C (init):
8363 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8365 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8367 * buffer.C (setPaperStuff): removed from here...
8369 * bufferparams.C (setPaperStuff): ... and moved there.
8371 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8375 * XFormsView.C: add support for drop-down completion
8377 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8379 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8382 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8384 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8387 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8389 * lyx_main.C: change ref to known bugs
8391 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8393 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8394 to work around older babel problems.
8396 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8398 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8400 2001-10-24 Juergen Vigna <jug@sad.it>
8402 * tabular-old.C (ReadOld): below variable changes reflected.
8404 * tabular.[Ch]: added ltType struct for longtable header/footer
8405 defines and changed all instances where they are used. Added
8406 future support for double top/bottom rows.
8408 2001-10-24 José Matos <jamatos@fep.up.pt>
8410 * buffer.h (docbookHandleCaption):
8411 * buffer.C (docbookHandleCaption): removed unused function.
8412 (makeDocBookFile): moved docbook supported version to v4.1.
8414 2001-10-24 José Matos <jamatos@fep.up.pt>
8417 * tabular.C (docbookRow): new function to export docbook code of a row.
8418 (DocBook): now honors the longtable flags.
8420 2001-10-23 José Matos <jamatos@fep.up.pt>
8423 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8424 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8426 * buffer.C (makeLinuxDocFile):
8427 (makeDocBookFile): reworked the preamble, more clean, and with
8428 support for lyx defined entities. Changed the document declaration
8429 to be more XML friendly.
8431 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8432 if we need to output XML that should be done with a filter.
8434 2001-10-22 Juergen Vigna <jug@sad.it>
8436 * sp_pspell.h (class PSpell): add alive function needed in the
8437 controller to see if the spellchecker could be started.
8439 2001-10-22 Juergen Vigna <jug@sad.it>
8441 * buffer.C (insertStringAsLines): modify the font for inserting
8442 chars in certain conditions by calling checkInsertChar(font).
8444 2001-10-19 Juergen Vigna <jug@sad.it>
8446 * text.C (workWidth): use getRow instead of wrong algorithm.
8447 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8449 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8454 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8456 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8458 * text.C (workWidth): do not search for the exact row when
8459 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8460 optimization for big documents.
8462 2001-10-18 Juergen Vigna <jug@sad.it>
8464 * text.C (workWidth): new function with added Inset * parameter.
8466 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8468 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8470 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8471 change return type of getColumnNearX.
8474 * text.C (changeRegionCase): use uppercase/lowercase instead of
8477 (rightMargin): simplify code by factoring out the uses of
8482 (appendParagraph): use Paragraph::size_type
8484 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8486 * vspace.C (asLatexString): add a missing break
8488 2001-10-15 Herbert Voss <voss@perce.de>
8490 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8492 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8494 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8497 2001-10-10 André Pönitz <poenitz@gmx.net>
8499 * lyxfunc.C: removed greek_kb_flag.
8501 2001-10-10 Herbert Voss <voss@perce.de>
8503 * lyx_main.C: delete global string help_lyxdir.
8505 2001-10-09 Herbert Voss <voss@perce.de>
8507 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8509 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8511 * lyx_main.C: added global string help_lyxdir.
8513 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8515 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8517 * lyxrc.C (set_font_norm_type): support iso8859-4
8519 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8521 * LaTeX.C (deplog): add another regex for MikTeX
8523 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8525 * lyxrc.C (set_font_norm_type): support iso8859-3
8527 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8529 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8531 * LaTeXFeatures.C: remove special case of french and index
8533 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8534 before \begin{document}). This solves several incompatibilities.
8536 2001-10-03 Garst Reese <reese@isn.net>
8538 * lyx_cb.C: change CheckTex error msg.
8540 2001-10-03 José Matos <jamatos@fep.up.pt>
8542 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8544 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8546 * .cvsignore: update
8548 * lyx_main.C (commandLineVersionInfo): use new style version info.
8550 * buffer.C (writeFile):
8553 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8555 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8557 * version.h: update to use stuff in version.C
8559 * version.C.in: new file. Contains version information determined
8560 at compile time. This is a merging of version.h and
8563 2001-10-03 Juergen Vigna <jug@sad.it>
8565 * BufferView_pimpl.C (update): don't change "dirty" status in
8568 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8570 * WorkArea.C (c-tor): re-position version string slightly.
8572 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8574 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8575 revert to previous code.
8577 WorkArea.[Ch]: (show, destroySplash): methods removed.
8579 WorkArea.C: rework code so that it's an amalgam of the codes before and
8580 after the splash screen was moved to WorkArea.
8582 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8585 * vspace.C (inPixels):
8588 * buffer.C (insertStringAsLines):
8589 (asciiParagraph): fix types to be large enough
8591 * lyxlex_pimpl.h: change member status from short to int
8593 * layout.h: fix type of endlabeltype
8596 * kbsequence.C (parse): change return type to string::size_type
8598 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8601 * Bullet.C (bulletSize):
8602 (bulletEntry): do not use short ints as parameters
8604 * BufferView2.C (insertLyXFile): change a char to an int.
8606 * WorkArea.C (WorkArea): remove unneeded floats in computation
8608 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8610 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8612 * paragraph.C (asString): Do not ignore newline/hfill chars when
8613 copying to the clipboard.
8615 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8617 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8618 after a multi-line inset.
8620 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8622 * paragraph.C (validate): Set NeedLyXFootnoteCode
8624 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8626 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8627 and decrease-error to decrease.
8629 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8631 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8632 it more readable (should be equivalent)
8634 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8636 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8638 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8640 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8641 of a cursor (row, etc.) after a character has been deleted
8642 (deleteEmptyParagraphMechanism): call the method above on _all_
8643 cursors held by the LyXText when a double space has been
8646 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8648 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8650 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8652 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8653 background. Use greyOut() and the new show() methods to toggle between
8654 the foreground and background. Add code to remove the splash after
8655 its initial showing.
8657 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8658 (create_forms): no longer call Dialogs::showSplash.
8660 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8662 * .cvsignore: add version_info.h
8664 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8666 * version_info.h.in: new file
8668 * Makefile.am: add version_info.h.in
8670 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8671 version_info.h instead of VERSION_INFO
8673 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8675 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8676 The ERT inset now returns string().
8678 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8680 * lyxtext.h, text.C (selectNextWord): renamed as
8681 selectNextWordToSpellcheck.
8683 * text.C (selectNextWordToSpellcheck): Modified to not select
8684 words inside an ERT inset.
8686 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8688 * lyx_cb.C (MenuLayoutSave): change a bit the question
8690 * sp_base.h: include <sys/types.h>
8692 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8694 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8696 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8698 * several files: fix typos in user-visible strings
8700 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8702 * text2.C (pasteSelection): do not set the selection, since it
8703 will be cleared later. Actually, the intent was to fix the way the
8704 selection was set, but I figured rmoving the code was just as good.
8706 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8708 * FontLoader.C (available): Check if font is available without
8711 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8713 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8715 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8717 * lyxrc.[Ch]: added display_graphics variable and associated code.
8719 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8721 * bufferparams.C (hasClassDefaults): new method. Returns true if
8722 the buffer parameters correspond to known class defaults
8724 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8726 * XFormsView.C (show): set minimum size to the main window.
8728 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8730 * text2.C (copySelection):
8732 * lyxfind.C (LyXReplace):
8733 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8734 LyXText::selectionAsString.
8736 * paragraph.C (asString): add "label" argument to the second form
8738 * text2.C (selectionAsString): add "label" argument and pass it to
8739 Paragraph::asString.
8741 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8743 * lyx_main.C (commandLineHelp): remove version information
8745 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8747 * lyx_main.C: add -version commandline option
8749 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8751 * paragraph.h: make the optional constructor arg required instead.
8752 some modifications to other files because of this.
8754 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8756 * lyxserver.C (C_LyXComm_callback): make it static
8758 * lyx_main.C (error_handler): make it static
8760 * lyx_gui.C (LyX_XErrHandler): make it static
8762 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8764 * WorkArea.C: make the extern "C" methods static.
8766 * Makefile.am (lyx_LDADD): simplify
8768 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8770 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8771 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8773 * LyXAction.C (init):
8774 * lyxfunc.C (dispatch): associated code removal.
8776 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8778 * lyxfont.h (isSymbolFont): shut off warning
8780 * text.C (setHeightOfRow):
8781 (getVisibleRow): fix crash with empty paragraphs which have a
8784 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8786 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8789 2001-09-04 José Matos <jamatos@fep.up.pt>
8792 * tabular.C (docbook): rename docBook method to docbook.
8794 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8796 * Makefile.am: add dependencies to main.o.
8798 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8800 * FontLoader.C (available): Return false if !lyxrc.use_gui
8802 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8804 * FontInfo.C (query):
8805 * converter.C (view):
8806 * importer.C (Import):
8807 * exporter.C (Export): Can not -> cannot.
8809 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8811 * BufferView_pimpl.C: allow to create index inset even if
8814 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8816 * buffer.C (getLists): replace boost::tie code with an explicit pair
8817 as boost::tie can break some compilers.
8819 * iterators.h: Added a std:: declaration to the return type of
8822 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8824 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8827 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8829 * iterators.[Ch]: New files. Provide paragraph iterators.
8831 * buffer.C (changeLanguage): Use paragraph iterators.
8832 (isMultiLingual): ditto
8834 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8836 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8838 * FontLoader.C: Support for cmr font.
8840 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8842 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8843 (available): New method.
8845 * FontInfo.C (getFontname): Use scalable fonts even when
8846 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8849 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8851 * converter.C (Formats::view): reverted! Incorrect fix.
8853 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8855 * converter.C (Formats::view): only output the -paper option
8856 if the dvi viewer is xdvi, thereby fixing bug #233429.
8858 2001-08-23 Herbert Voss <voss@perce>
8860 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8862 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8864 * Spacing.h (Spacing): Set space to Default on in the default
8867 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8869 * vc-backend.h (RCS::versionString): add RCS to version
8870 (CVS::versionString): add CVS to version
8872 * vc-backend.C (scanMaster): do not add CVS to version.
8873 (scanMaster): do not add RCS to version
8875 * lyxvc.C (versionString): new method
8877 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8879 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8881 * Spacing.C (set): initialize fval
8883 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8885 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8888 2001-08-16 Juergen Vigna <jug@sad.it>
8890 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8892 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8894 * BufferView_pimpl.C:
8897 * text2.C: setParagraph takes linespacing now
8899 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8901 * LyxAction.C: add internal LFUN_CITATION_INSERT
8903 * LyXView.C: actually apply fix
8905 * bufferlist.C: fix open non-existent file
8907 * lyxfind.C: fix indentation
8909 * lyxfunc.C: remove unneeded assert, fix typo
8911 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8913 * MenuBackend.C: use "Floatname List"
8915 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8917 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8918 when converting LaTeX layout to insetERT.
8919 Generate a non-collapsed float when reading old float
8921 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8923 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8926 2001-08-13 Juergen Vigna <jug@sad.it>
8928 * text.C (fill): return 0 instead of 20 as this seems to be the more
8931 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8933 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8936 2001-08-13 Juergen Vigna <jug@sad.it>
8938 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8940 (SearchBackward): comment out the unlocking of the inset_owner this
8941 should not be needed!
8943 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8945 * Many files: Remove inherit_language, and add latex_language
8947 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8950 2001-08-10 Juergen Vigna <jug@sad.it>
8952 * text.C (prepareToPrint): fixed hfill-width in draw!
8954 * BufferView2.C (selectLastWord): save the selection cursor as this
8955 now is cleared in the function LyXText::clearSelection!
8957 2001-08-08 Juergen Vigna <jug@sad.it>
8959 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8960 BACKSPACE type functions.
8962 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8963 is only cutted from the document but not put in the cut-buffer, where
8964 still the old stuff should be.
8966 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8968 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8970 * tabular.C (SetWidthOfCell): fixed special case where the width
8972 (LeftLine): handle '|' in align_special.
8974 (LeftAlreadyDrawed): ditto
8975 (SetWidthOfCell): ditto
8977 2001-08-07 Juergen Vigna <jug@sad.it>
8979 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8981 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8983 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8984 * lyxlex.[hC]: ditto
8986 2001-08-06 Juergen Vigna <jug@sad.it>
8988 * text.C (getVisibleRow): fix up row clearing a bit.
8990 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8992 * minibuffer.C: make sure the X server sees the changes in the input.
8994 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8996 * paragraph.C (getFont): split into...
8997 (getLabelFont): this
8998 (getLayoutFont): and this
8999 * paragraph_pimpl.C (realizeFont): calling this
9001 * text2.C (getFont): split into...
9002 (getLayoutFont): this
9003 (getLabelFont): and this
9004 (realizeFont): all three calling this
9006 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9009 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9011 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9013 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9015 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9016 layouts from the Quote inset insertion.
9018 2001-08-03 Juergen Vigna <jug@sad.it>
9020 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9022 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9023 only if status not is already CHANGED_IN_DRAW (second level).
9025 * text.C (draw): don't set the need_break_row when inside an
9028 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9030 * buffer.C (parseSingleLyXformat2Token): handle more latex
9033 * bufferview_funcs.[hC]: change function names to
9034 begin with small char, adjust other files.
9036 2001-08-02 André Pönitz <poenitz@gmx.net>
9039 BufferView_pimpl.C: remove broken special code for math-greek
9041 2001-08-02 Juergen Vigna <jug@sad.it>
9043 * BufferView_pimpl.C (update): redone this function so that we
9044 update the text again if there was a CHANGE_IN_DRAW.
9046 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9047 (drawFromTo): added a new internal bool which is used by draw() and
9049 (general): some cursor drawing problems fixed.
9051 2001-08-01 Juergen Vigna <jug@sad.it>
9053 * lyxfind.C (LyXFind): fixed
9054 (SearchForward): ditto
9055 (SearchBackward): ditto
9057 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9058 spurius drawing of the cursor in the main area.
9060 * text2.C (status): small fix which could lead to a segfault!
9061 (clearSelection): remove unneeded BufferView param.
9063 2001-08-01 André Pönitz <poenitz@gmx.net>
9065 * lyxfunc.C: small change due to changed mathed interface
9067 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9069 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9071 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9073 * lyxfunc.c: fail gracefully if file doesn't exist
9078 * BufferView_pimpl.C: IsDirWriteable() proto changed
9080 * LyXView.C: fix updateWindowTitle() to store the last title
9082 2001-07-31 Juergen Vigna <jug@sad.it>
9084 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9085 the font (wrong since using of Paragraph::highestFontInRange).
9087 * paragraph.C (highestFontInRange): added a default_size parameter.
9089 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9090 (setHeightOfRow): reformat
9092 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9094 * converter.[hC] + affected files: move to (inital-char)lowercase
9097 * ParagraphParameters.C (ParagraphParameters): remove commented code
9099 * PainterBase.[Ch]: remove commented code
9101 * LaTeXFeatures.h: add "bool floats" for float.sty
9103 * LaTeXFeatures.C (LaTeXFeatures): init floats
9104 (require): handle float
9105 (getPackages): do it with floats
9107 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9109 * BufferView_pimpl.C (Dispatch): improve handling of
9110 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9112 * commandtags.h: #include lyxfont.h here temporarily to avoid
9115 * bufferlist.h: include LString.h here.
9117 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9119 * text2.C (getStringToIndex): new method.
9121 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9123 * *: Reduced header file dependencies all over.
9125 2001-07-30 Baruch Even <baruch@lyx.org>
9127 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9129 2001-07-29 Baruch Even <baruch@lyx.org>
9131 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9133 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9135 * ParameterStruct.h (endif): add a default constructor to make
9136 sure that all variables is initialized.
9138 * ParagraphParameters.C (ParagraphParameters): adjust
9140 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9142 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9143 index; also, check that there is something to index, and that it
9144 does not span over several paragraphs.
9145 (doubleClick): use WHOLE_WORD_STRICT for double click.
9147 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9149 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9152 2001-07-26 Baruch Even <baruch@lyx.org>
9154 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9155 an InsetFig figure, backwards compatible reading of old figure code.
9157 2001-07-27 Juergen Vigna <jug@sad.it>
9159 * text2.C: font.realize function adaption.
9161 * text.C (draw): add a warnings lyxerr text if needed.
9163 * layout.C: font.realize function adaption.
9165 * language.C: add inherit_language and implement it's handlings
9167 * bufferview_funcs.C (StyleReset): remove language parameter from
9168 font creation (should be language_inherit now).
9170 * bufferparams.C (writeFile): handle ignore_language.
9172 * paragraph.C (getFontSettings): the language has to be resolved
9173 otherwise we have problems in LyXFont!
9175 * lyxfont.C (lyxWriteChanges): added document_language parameter
9176 (update): removed unneeded language parameter
9178 * paragraph.C (validate): fixed wrong output of color-package when
9179 using interface colors for certain fonts in certain environments,
9180 which should not seen as that on the final output.
9182 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9184 * BufferView_pimpl.C:
9189 * LyXAction.C: add thesaurus support
9192 * lyxfind.C: add "once" parameter, for thesaurus, to not
9193 move to the next match
9195 2001-07-26 Juergen Vigna <jug@sad.it>
9197 * lyxfont.C (realize): honor ignore_language too!
9200 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9202 * text.C (draw): one place more for ignore_language to not draw
9205 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9207 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9209 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9211 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9212 the minipage conversion problem.
9214 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9216 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9219 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9221 * BufferView.h: don't forward declare WorkArea
9223 * BufferView.C: don't include WorkArea.h
9225 2001-07-25 André Pönitz <poenitz@gmx.net>
9229 * lyxfunc.C: new LFUN 'math-space'
9231 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9233 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9235 * text2.C (toggleInset): call open/close
9237 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9239 * lyxfunc.C (dispatch): add debug for the disabled case
9241 * font.C (buttonText): make similar to rectText
9243 * buffer.C (readInset): comment out parsing of insetlist and
9246 * PainterBase.C (rectText): small correction
9248 * BufferView_pimpl.C: comment out insettheorem and insetlist
9249 * LyXAction.C: ditto
9250 * commandtags.h: ditto
9252 2001-07-24 Juergen Vigna <jug@sad.it>
9254 * text.C (draw): honor the ignore_language.
9256 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9258 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9260 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9263 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9265 * lyxtext.h: remove unused (and unimplemented) methods
9267 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9269 * text.C (getVisibleRow): honor background color
9272 * Painter.h: remove default color argument for fillRectangle
9274 * text.C (backgroundColor): new method
9276 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9278 * text.C (getVisibleRow): adjust
9280 * font.[Ch] (rectText): new method, metrics
9281 (buttonText): new method, metrics
9283 * PainterBase.[hC]: make rectText and buttonText always draw and take
9286 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9288 * ToolbarDefaults.C (read):
9289 * MenuBackend.C (read): allow escaping in all strings
9291 * BufferView_pimpl.C (insertAndEditInset): new method.
9292 (Dispatch): use insertAndEditInset whenever appropriate.
9294 * BufferView_pimpl.C (insertNote): removed
9296 * BufferView_pimpl.C (smartQuote): new method, moved from
9297 BufferView; if an insetquote cannot be inserted, insert a '"'
9300 * BufferView2.C: remove insertCorrectQuote();
9302 * lyxfunc.C (getStatus): Add support for all remaingin
9305 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9307 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9308 command (necessary to pass " as parameter of self-insert.
9310 * text.C (selectWordWhenUnderCursor):
9311 (selectWord): add word_location parameter
9312 (selectWordWhenUnderCursor): same + remove special code for word
9314 (selectNextWord): use kind() to guess type of insetspecialchar,
9317 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9318 (insertErtContents): create ert insets as collapsed.
9319 (readInset): better compatibility code for Info inset.
9321 2001-07-20 Juergen Vigna <jug@sad.it>
9323 * lyxfunc.C (dispatch): use always LyXFind now!
9325 * text2.C (init): add a reinit flag so that the LyXText can be
9326 reinited instead of deleted and reallocated (used in InsetText).
9328 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9334 2001-07-18 Juergen Vigna <jug@sad.it>
9336 * text.C (selectNextWord): handle insets inside inset by calling
9337 always the bv->text functions so that we can go up the_locking_inset!
9339 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9340 in strange locations when inside an inset!
9342 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9343 handling to include insets.
9345 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9347 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9349 * LyXAction.C (init):
9351 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9352 LIGATURE_BREAK, since the name is so stupid.
9354 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9356 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9359 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9361 * sp_form.[Ch]: remove.
9363 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9365 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9368 * src/buffer.C (readInset): ditto.
9370 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9372 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9373 menuSeparator(), endOfSentenceDot(), ldots() and
9374 hyphenationPoint(), which are therefore removed.
9375 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9377 * LyXAction.C (init):
9378 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9380 * paragraph.C (getWord): removed.
9382 * BufferView_pimpl.C (Dispatch): use last word or selection for
9383 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9385 * lyx_main.C (queryUserLyXDir): do not ask before creating
9386 user_dir, except if it has been named explicitely.
9388 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9390 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9391 a document of zero size.
9393 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9395 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9396 approriately in the c-tor and in require().
9397 (getPackages): output the appropriate LaTeX for natbib support.
9399 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9400 variables "use_natbib" and "use_numerical_citations" when reading the
9402 (readInset): read the various natbib cite commands.
9403 (validate): white-space change.
9405 * bufferparams.[Ch]: new variables "bool use_natbib" and
9406 "bool use_numerical_citations".
9407 (writeFile): output them in the LyX file.
9409 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9411 * lyxfunc.C (getStatus): add support for all the inset insertion
9414 * text2.C (insertInset):
9415 * paragraph.C (insetAllowed):
9416 * BufferView_pimpl.C (insertInset): update to take in account the
9417 renaming of insertInsetAllowed
9419 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9421 * text2.C (getInset): new method. returns inset at cursor position.
9423 * BufferView_pimpl.C (Dispatch): changes because of this.
9425 * LyXAction.C (init): rename open-stuff to inset-toggle.
9427 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9429 * text2.C (toggleInset): renamed from openStuff; use
9432 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9434 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9436 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9438 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9440 * buffer.C (readLyXformat2): Add filename to the error dialog
9442 2001-07-18 Juergen Vigna <jug@sad.it>
9444 * tabular.C (GetCellNumber): put an assert here instead of the check!
9446 2001-07-17 Juergen Vigna <jug@sad.it>
9448 * BufferView_pimpl.C (toggleSelection): adapted too.
9450 * text.C (selectNextWord): adapted for use with insets.
9451 (selectSelectedWord): ditto
9453 2001-07-17 Juergen Vigna <jug@sad.it>
9455 * sp_spell.C (PSpell): fix initialitation order.
9457 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9459 * paragraph.C: spacing
9461 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9463 * sp_spell.C: repair language selection for pspell
9465 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9467 * lyxfunc.h: change more methods to begin with lower char.
9469 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9471 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9472 for unknown layouts.
9474 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9476 * buffer.C (readLyXformat2): Generate an error dialog if there are
9479 2001-07-16 Juergen Vigna <jug@sad.it>
9481 * sp_spell.C: always compile ISpell part.
9483 * lyxrc.C: added use_pspell entry and it's handling.
9485 2001-07-13 Juergen Vigna <jug@sad.it>
9487 * sp_spell.C: removed double includes.
9489 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9491 Consistent use of Lsstream.h:
9492 * Lsstream.h: added using std::stringstream for consistencies sake.
9494 * buffer.C: removed using std::stringstream
9496 * lyxfont.C (stateText):
9497 * paragraph.C (asString):
9498 * text.C (selectNextWord, selectSelectedWord):
9499 * text2.C (setCounter):
9500 * vspace.C (asString, asLatexString):
9501 std::ostringstream -> ostringstream.
9503 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9505 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9506 * commandtags.h: add LFUN_HELP_ABOUTLYX
9507 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9509 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9511 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9513 * lyx_gui_misc.C: remove spellchecker
9514 * lyxfunc.C: showSpellchecker
9516 * sp_ispell.h: added
9517 * sp_pspell.h: added
9519 * sp_form.[Ch]: removed
9520 * spellchecker.[Ch]: removed
9522 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9524 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9526 (simpleTeXSpecialChars): Simply print the input character without
9527 any special translation if pass_thru is set.
9529 * layout.h: Added bool pass_thru to layout class for being able to
9530 implement pass through of a paragraph for Literate Programming.
9532 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9533 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9534 * layout.C (Read): add "passthru" to list of layout tags and add
9535 code to set the pass_thru boolean when it is read.
9537 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9539 * trans_decl.h: remove allowed from KmodInfo
9541 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9545 * paragraph_pimpl.C (erase): use boost::prior
9547 * Painter.C (text): use data() instead of c_str() when length is
9549 * WorkArea.C (putClipboard): ditto
9550 * font.h (width): ditto
9552 * BufferView2.C: use it-> instead of (*it). for iterators
9554 * paragraph_pimpl.C: ditto
9555 * paragraph.C: ditto
9556 * minibuffer.C: ditto
9561 * converter.C: ditto
9563 * Variables.C: ditto
9564 * TextCache.C: ditto
9565 * MenuBackend.C: ditto
9566 * LyXAction.C: ditto
9568 * FloatList.C: ditto
9570 * ColorHandler.C (LyXColorHandler): ditto
9572 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9574 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9576 * text2.C (openStuff): reintroduce this method (which had been
9577 nuked in NEW_INSETS frenzy).
9579 * lyxfunc.C (Dispatch): when an action has not been handled, use
9580 its name in the error message, not its number.
9582 * paragraph.C (inInset): change method name to begin with lowercase.
9585 * text2.C: updates because of this.
9587 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9589 * ToolbarDefaults.C (add): add spaces in error message
9591 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9593 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9594 (readLyXformat2): rename return_par to first_par, use lyxlex's
9595 pushToken and remove the manual push handling.
9596 (parseSingleLyXformat2Token): add another ert comp. variable:
9597 in_tabular, rename return_par to first_par. handle newlines better
9599 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9601 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9603 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9605 * text2.C (getParFromID): removed
9607 * buffer.C (getParFromID): new method moved form lyxtext.
9608 * BufferView2.C (insertErrors): adjust
9609 (setCursorFromRow): adjust
9610 * BufferView_pimpl.C (restorePosition): adjust
9611 * lyxfunc.C (Dispatch): adjust
9612 * undo_funcs.C (textUndo): adjust
9614 (textHandleUndo): adjust
9615 (textHandleUndo): adjust
9617 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9619 * buffer.C: up' the LYX_FORMAT
9621 * lyxfont.h: turn NO_LATEX on as default
9623 * buffer.C (insertErtContents): new methods of tex style compability.
9624 (parseSingleLyXformat2Token): use it several places.
9625 * tabular.C (OldFormatRead): and here
9627 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9629 * text2.C: remove some commented code.
9632 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9633 * trans.C: changes because of the above.
9635 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9637 * text2.C (setCounter): Fix counters bug with bibliography layout.
9639 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9641 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9642 own member functions
9643 (simpleTeXSpecialChars): ditto
9645 2001-07-06 Juergen Vigna <jug@sad.it>
9647 * a lot of files: changed the access to LyXText::status and the
9648 call of undo-functions.
9650 * undo.[Ch]: added a inset_id to the undo informations.
9652 * undo_funcs.[Ch]: added and moved here all undo functions.
9654 * lyxtext.h: give the status enum a weight, made status_ a private
9655 variable and made accessor functions for it, removed the whole bunch
9656 of undo-functions as they are now in their own file, make some
9657 functions publically available. Added function ownerParagraph with
9660 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9661 made InInset() a const function, added getParFromID() function.
9663 * buffer.[Ch]: added const version for inset_iterator functions,
9664 added getInsetFromID() function.
9666 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9667 changed undo functions for new version.
9669 2001-07-05 Juergen Vigna <jug@sad.it>
9671 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9672 unknow mechanism does not call the proper constructor but only this
9673 one also if I request the other!?
9675 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9677 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9679 * text2.C (LyXText): use initialization lists.
9681 * lyxtext.h (Selection): initialize set_ and mark_
9682 (init): remove method
9684 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9686 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9688 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9690 * screen.[Ch]: change method names to begin with lowercase
9692 * BufferView_pimpl.C (updateScrollbar): simplify further and
9693 hopefully make it a bit faster.
9695 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9697 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9698 calling directly xforms functions.
9700 * Painter.C (Painter):
9701 * lyx_cb.C (MenuWrite):
9702 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9705 * lyx_gui.C: remove bogus guiruntime extern declaration.
9707 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9709 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9711 (redoDrawingOfParagraph): ditto
9712 (redoParagraphs): ditto
9713 (cutSelection): don't create a object for CutAndPaste use the
9714 static method directly
9715 (pasteSelection): ditto
9717 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9720 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9722 * modifications to some other files because of this.
9724 * Makefile.am (lyx_SOURCES): add XFormsView
9726 * XFormsView.[Ch]: new files
9728 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9729 the main window. Move the gui dependent stuff to XFormsView
9731 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9733 * tabular.C (GetCellInset): update cur_cell also in the row/col
9734 version of this function.
9736 * lyxfunc.C: no need to include figure_form.h here.
9742 * lyxvc.C: no need to include forms.h here.
9744 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9746 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9748 * lyxfunc.C (Dispatch):
9750 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9751 constructor argument.
9753 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9755 * paragraph.C (Paragraph): dont't clear, and just set layout.
9756 (makeSameLayout): use params's copy contructor.
9758 * ParagraphParameters.[Ch] (makeSame): delete method
9760 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9762 * Variables.[Ch]: fix indentation, rename set to isSet
9764 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9766 * lyxfunc.C (Dispatch): fix typo
9768 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9770 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9773 * bufferlist.C: include assert.h for emergencyWrite().
9775 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9777 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9778 give up at last (bug #425202) !
9780 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9786 * spellchecker.C: strip spellchecker options and bring up
9787 preferences tab instead
9789 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9791 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9792 the istringstream constructor
9794 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9796 * paragraph.C (getLayout): fix return value
9798 * paragraph.h: do not declare getLayout as inline.
9800 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9802 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9804 * lyxcursor.h (operator<): new func
9805 (operator>): new func
9806 (operator>=): new func
9807 (operator<=): new func
9809 * text.C (changeCase): use selection.start and selection.end
9810 (changeRegionCase): require from to be <= to. Require par to be a
9813 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9815 2001-06-27 Juergen Vigna <jug@sad.it>
9817 * text.C (cursorLeftOneWord): changed to return the cursor and added
9818 overlay with BufferView * parameter which calls this one.
9820 (selectWord): use new getWord function.
9821 (changeCase): renamed from changeWordCase as and extended to work
9824 * lyxtext.h: added enum word_location
9826 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9827 changeCase as this operates now also on selections.
9829 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9831 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9833 * many files: send debug output to Debug::INFO instead of
9836 * converter.C (View):
9838 (Move): send debug output to Debug::FILES instead of console.
9840 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9842 * lyxfunc.C (getStatus): use func_status
9844 * func_status.h: new header, describing the results of
9847 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9850 2001-06-25 The LyX Project <jug@sad.it>
9852 * buffer.C (sgmlOpenTag):
9854 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9856 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9858 * text2.C: remove some dead code
9860 * tabular.C (GetCellInset): store the last cell checked (gotten)
9862 * tabular.h: add the helper for the speedup
9864 * lyxtext.h: remove some dead code
9866 2001-06-26 The LyX Project <Asger>
9868 * paragraph.C: Change export to LaTeX of alignment to
9869 \begin{center} and family for better roundtrip work with reLyX.
9871 * Tune the math drawing a bit.
9873 2001-06-25 The LyX Project <Asger>
9875 * LColor.C (LColor): New color for math background. New color
9878 2001-06-25 The LyX Project <jug@sad.it>
9880 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9883 * bufferlist.C (newFile): do not restrict to files ending with
9886 * BufferView_pimpl.C (MenuInsertLyXFile):
9888 2001-06-24 The LyX Project <jug@sad.it>
9890 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9893 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9895 * lyxtext.h: rename most methods to begin with a small char.
9896 Lots of changes because of this.
9898 * paragraph.C (Paragraph): do not call fitToSize
9899 (erase): call Pimpl::erase
9900 (insertChar): call Pimpl::insertChar
9901 (insertInset): call Pipl::insertInset
9902 (breakParagraph): do not call fitToSize
9903 (breakParagraphConservative): do not call fitToSize
9904 (fitToSize): remove method
9906 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9908 2001-06-24 The LyX Project <Asger>
9910 * Fix Qt compilation^2
9912 2001-06-24 The LyX Project <jug@sad.it>
9914 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9915 depthHook(getDepth()-1).
9918 * ParagraphParameters.h:
9919 * ParameterStruct.h: change type of depth to unsigned int ==
9920 depth_type. Many adaptations to other files before of that.
9922 2001-06-24 The LyX Project <Asger>
9924 * Fix Qt compilation.
9926 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9928 * paragraph.h: renamed several methods to begin with small letter.
9929 several changes to many parts of the code because of this.
9931 2001-06-23 The LyX Project <jug@sad.it>
9933 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9934 rewritten to discard all double spaces when KeepEmpty is off
9935 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9936 to only handle newlines but not fiddle with spaces and friends.
9938 * lyxfunc.C (MenuNew): when doing 'new from template', use
9939 template_path as default directory
9941 2001-06-23 The LyX Project <Asger>
9943 * Clean-up of header file includes all over
9944 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9946 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9948 * paragraph.h: renamed from lyxparagraph.h
9950 2001-06-23 Asger <lyx@violet.home.sad.it>
9952 * Buffer.h: Removed Buffer::resize
9953 * BufferList.h: Removed BufferList::resize
9954 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9955 the document lazily when we change the width, or the font settings.
9957 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9959 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9961 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9963 * buffer.h: remove out of date comment
9965 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9968 * screen.C: fix "theoretical" GC leak
9970 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9972 * LaTeX.C (scanAuxFile):
9973 (deplog): remove trailing \r when reading stream (useful under
9976 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9978 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9979 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9980 and BufferView::theLockingInset(Inset*), so should use them and not
9981 access bv_->text->the_locking_inset directly.
9983 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9985 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9988 * tex-defs.h: remove old unused file
9990 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9992 * BufferView_pimpl.C: fix typo, remove minibuffer message
9993 when buffer has loaded
9995 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9997 * lyxfunc.C (Dispatch): use stringstream
9998 (MenuNew): use stringstream
9999 (Open): use stringstream
10001 * importer.C (Import): use stringstream
10003 * bufferview_funcs.C (CurrentState): use stringstream
10005 * LaTeX.C (run): use stringstream
10007 * BufferView_pimpl.C (savePosition): use stringstream
10008 (restorePosition): use stringstream
10009 (MenuInsertLyXFile): use stringstream
10011 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10024 * vspace.C: removed // -*- C++ -*- as first line.
10027 * version.h: added // -*- C++ -*- as first line.
10029 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10031 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10033 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10036 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10038 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10041 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10043 * gettext.C: include LString.h even when --disable-nls is on.
10045 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10047 * converter.h (Get): changed argument type from int to
10048 FormatList::size_type to avoid unnecessary conversion.
10050 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10053 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10055 * gettext.h: include LString.h even when --disable-nls is on.
10057 2001-06-07 Juergen Vigna <jug@sad.it>
10059 * text.C (BreakAgain): subst spaces with tabs.
10061 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10062 (resizeInsetsLyXText): set force on resizeLyXText.
10064 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10066 * gettext.h (gettext_init):
10067 (locale_init): use a real definition instead of a macro
10069 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10071 * Bufferview_pimpl.C:
10073 * LColor.C: further lcolor tidies
10075 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10077 * BufferView_pimpl.C (updateScrollbar): simplify.
10079 * BufferView2.C: don't include insets/insetinfo.h, change
10080 prototype for insertInset and call the Pimpl version. let
10081 updateInset call Pimpl version.
10083 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10084 gotoInset to BufferView::Pimpl
10086 2001-06-01 Juergen Vigna <jug@sad.it>
10088 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10089 inside a LockingInset (is the update needed at all?).
10091 2001-05-31 Juergen Vigna <jug@sad.it>
10093 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10094 here not the old one otherwise how should we compare it afterwards
10097 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10102 * FontInfo.C: bring C functions into global namespace when
10105 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10107 * LString.h: make sure config.h has been loaded before LString.h.
10109 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10110 (one for each char read by EatLine!).
10112 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10115 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10117 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10118 to the same as the par we break from
10120 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10122 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10124 * MenuBackend.C (expand): also create menu entries for wide
10125 versions of the floats.
10127 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10129 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10131 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10132 frontends/Makefile.am
10138 * tabular.C (getTokenValue): add std::
10140 * tabular-old.C (getTokenValue): add std::
10141 (getTokenValue): ditto
10142 (getTokenValue): ditto
10144 * screen.C (ToggleSelection): adjust
10146 * lyxtext.h: put selection cursors inside a Selection struct.
10148 * lyxfunc.C (moveCursorUpdate): adjust
10150 * lyxfont.C (latexWriteStartChanges): add std::
10152 * lyxfind.C: adjust
10154 * font.h: delete with(char const *, LyXFont const &)
10156 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10158 * FontInfo.C (getFontname): add std::
10160 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10161 (workAreaButtonPress): adjust
10162 (tripleClick): adjust
10164 (moveCursorUpdate): adjust
10167 * BufferView2.C (gotoInset): adjust
10169 2001-05-30 Juergen Vigna <jug@sad.it>
10171 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10172 to check pspell I add this as default as I now have new pspell
10173 libraries and they seem to use this.
10175 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10177 * text2.C (CutSelection): make the cursor valid before the call to
10180 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10182 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10183 relied on 0 terminated strings and other horrors. Bug found due to
10184 the new assert in lyxstring!
10186 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10189 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10191 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10194 * lyxfunc.C (processKeySym): change method of getting to the
10197 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10198 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10199 * BufferView_pimpl.[Ch]: here as private methods.
10201 2001-05-28 Juergen Vigna <jug@sad.it>
10203 * text.C (SetHeightOfRow): added the update() call again as it is
10204 needed to initialize inset dimensions!
10206 2001-05-16 Juergen Vigna <jug@sad.it>
10208 * text2.C (SetCharFont): Add new function with BufferView * and
10209 bool toggleall parameters for setting insets internal fonts.
10210 (SetFont): Freeze the undo as we may change fonts in Insets and
10211 all this change should be inside only one Undo!
10213 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10214 setting font's in insets as for them we have the SetFont function!
10216 2001-05-15 Juergen Vigna <jug@sad.it>
10218 * text2.C (ClearSelection): to be sure we REALLY don't have any
10221 * tabular.C (TeXCellPreamble): fixed the left border problem for
10224 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10226 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10229 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10231 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10232 LFUN_BREAKPARAGRAPH.
10234 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10235 help test to "internal only", similar for LFUN_INSERT_URL
10237 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10238 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10239 auto_region_delete and deadkeys.
10241 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10244 * LColor.C: remove some dead entries, tidy a little
10246 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10248 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10250 (Dispatch): implement LFUN_ESCAPE
10252 * commandtags.h: add LFUN_ESCAPE
10254 * LyXAction.C (init): add entry for LFUN_ESCAPE
10256 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10257 Remove commented code.
10258 (insertNote): moved here
10259 (open_new_inset): moved here
10261 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10264 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10266 * kbmap.C (findbinding): clean it up and make it work correctly.
10268 * lyx_main.C (init): do not pass argc and argv as parameters
10270 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10272 * buffer.C: fix path for OS/2 & Win32
10276 * lyx_main.C: Added os:: class.
10278 * os2_defines.h: update
10280 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10282 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10283 better by trying again with reduced state.
10285 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10287 * lyxrc.C (read): print error about invalid key sequence only when
10288 debugging (because not all latinX keysyms are known to some X
10291 * kbsequence.C (getiso): add a few std:: qualifiers
10292 (getiso): comment out extra return statement.
10294 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10296 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10298 (Dispatch): enhance the accent inset a bit. (not perfect)
10300 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10302 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10304 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10306 * bufferlist.C (emergencyWrite): fix assert() call
10308 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10310 * text.C (InsertChar): Added trivial patch to only send the "you
10311 can not do multiple spaces this way" message once during a
10314 2001-05-08 Baruch Even <baruch@lyx.org>
10316 * Makefile.am: Changed order of libraries to get LyX to link properly
10317 with the gnome frontend.
10319 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10321 * LaTeXFeatures.h: add a std:: qualifier
10323 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10325 * paragraph.C (String): use stringstream
10327 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10329 * paragraph.C (writeFile): remove footflag arg
10331 * buffer.C (makeLaTeXFile): use stringstream
10332 (latexParagraphs): remove footnot gurba
10334 * LaTeXFeatures.C (getPackages): use stringstream
10335 (getMacros): likewise
10336 (getTClassPreamble): likewise
10337 (getFloatDefinitions): new method
10339 * paragraph.C (writeFile): reindent
10342 * WorkArea.h: revert the xpos + etc changes.
10344 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10346 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10348 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10349 (pasteSelection): likewise
10350 * text2.C (CreateUndo): likewise
10352 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10354 * minibuffer.C (peek_event): temporarily reduce the functionality
10355 of the minibuffer (to allow args on lfuns)
10357 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10358 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10360 * buffer.C (readInset): add compability reading of old float
10361 lists, add reading of new style float list.
10362 (readInset): avoid reevaluation of inscmd.getCmdName()
10363 (getLists): reindent
10365 * MenuBackend.C (MenuItem): implement parsing of
10366 md_floatlistinsert and md_floatinsert.
10367 (expand::LastFiles): move initalizaton of iterators out of loop,
10368 avoid reevaluation.
10369 (expand::Documents): introduce typdedef vector<string> Strings,
10371 (expand::ExportFormats): introduce typedef vector<Format const *>
10372 Formats, and use it.
10373 (expand): implement FloatListInsert and FloatInsert.
10375 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10376 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10377 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10379 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10381 (Dispatch::LFUN_FLOAT_LIST): implement
10383 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10385 * LaTeX.C (run): Fix problem with --export code.
10387 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10389 * BufferView.[Ch] (workarea): removed.
10390 (getClipboard) new method; wrapper for workarea()->getClipboard()
10392 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10395 * WorkArea.h (width, height, xpos, ypos): These methods all
10396 returned the dimensions of the work_area sub-area of WorkArea,
10397 resulting in a position error if the WorkArea were resized. Now
10398 return the dimensions of the entire WorkArea.
10400 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10402 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10404 * LaTeX.C (deplog): correct the syntax of regex reg1
10406 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10408 * undo.C: remove !NEW_INSETS cruft
10410 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10412 * text2.C: remove !NEW_INSETS cruft
10414 * text.C: remove !NEW_INSETS cruft
10416 * tabular.C: remove !NEW_INSETS cruft
10418 * spellchecker.C: remove !NEW_INSETS cruft
10420 * lyxtext.h: remove !NEW_INSETS cruft
10422 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10424 * lyxfunc.C: remove !NEW_INSETS cruft
10426 * lyxfind.C: remove !NEW_INSETS cruft
10428 * lyx_cb.C: remove !NEW_INSETS cruft
10430 * figureForm.C: remove !NEW_INSETS cruft
10432 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10434 * buffer.[Ch]: remove !NEW_INSETS cruft
10436 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10438 * CutAndPaste.C: remove !NEW_INSETS cruft
10440 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10442 * BufferView2.C: remove !NEW_INSETS cruft
10444 * BufferView.h: remove !NEW_INSETS cruft
10446 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10448 * Lsstream.h: include LString.h before the sstream headers to
10449 fix problem with gcc 2.95.3 and lyxstring
10451 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10453 * lyx_main.C: add using directives when needed for C functions
10454 declared in std:: namespace.
10456 2001-04-27 Juergen Vigna <jug@sad.it>
10458 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10459 (SetHeightOfRow): comment out the update call should not be needed!
10461 2001-04-13 Juergen Vigna <jug@sad.it>
10463 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10464 (LyXTabular): tried to minimize operator= operations (and realized
10465 hopfully Lars wish).
10467 2001-04-27 Juergen Vigna <jug@sad.it>
10469 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10471 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10473 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10475 * buffer.C (readInset): hack to make listof algorithm work
10477 * BufferView_pimpl.C: hack to make listof algorithm work
10479 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10481 * LyXAction.C: removed all !NEW_INSETS cruft
10482 (init): moved lfun_item in method
10484 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10486 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10488 * BufferView2.C (theLockingInset): white space.
10490 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10492 * minibuffer.C: include <iostream>
10494 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10496 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10498 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10500 * text.[Ch] (TransposeChars): new method
10502 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10504 * call message directly through LyXView instead of through LyXFunc
10505 * BufferView2.C: adjust
10506 * BufferView_pimpl.C: adjust
10507 * FontLoader.C: adjust
10509 * bufferview_funcs.C: adjust
10510 * converter.C: adjust
10511 * figureForm.C: adjust
10512 * importer.C: adjust
10514 * lyx_gui_misc.C: adjust
10515 * lyxfunc.C: adjust
10518 + more files in subdirs
10520 * lyxparagraph.h (size): move up int file
10523 * adjust all uses of Assert to lyx::Assert.
10525 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10526 lyxfunctional in namespace lyx
10527 * layout.C (hasLayout): ditto
10530 (delete_layout): ditto
10531 (NumberOfClass): ditto
10532 * converter.C (GetFormat): ditto
10537 * bufferlist.C (getFileNames): ditto
10538 (emergencyWriteAll): ditto
10541 * MenuBackend.C (hasSubmenu): ditto
10544 * BufferView_pimpl.C (getInsetByCode): ditto
10546 2001-04-18 Juergen Vigna <jug@sad.it>
10548 * vspace.C (asLatexString): fixed the 100% problem.
10550 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10552 * lyxfunc.C (Dispatch):
10554 * minibuffer.h: add a few std:: qualifiers
10556 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10558 * minibuffer.[Ch]: reimplement so that commands is initiated and
10559 run from lyxfunc, simplified som handling, and made the completion
10560 and history code for complete. wip.
10562 * lyxfunc.C (processKeySym): call message
10563 (miniDispatch): new temporary method
10564 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10565 (LFUN_MESSAGE): implement
10566 (LFUN_MESSAGE_PUSH): implement
10567 (LFUN_MESSAGE_POP): implement
10568 (initMiniBuffer): the initial/defualt minibuffer message.
10570 * lyxfont.[Ch]: inline some more getters
10572 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10574 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10576 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10577 (AutoSave): use LFUN_MESSAGE
10578 (Reconfigure): ditto
10580 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10582 * figureForm.C: use LFUN_MESSAGE
10584 * converter.C (runLaTeX): use LFUN_MESSAGE
10586 * bufferview_funcs.C: use LFUN_MESSAGE
10588 (changeDepth): ditto
10590 * bufferparams.h: use boost::
10592 * bufferlist.h: inherit privately from noncopyable
10594 * bufferlist.C (loadLyXFile): remove some commented code.
10596 * buffer.C (runChktex): use LFUN_MESSAGE
10598 * ShareContainer.h: inherit privately from noncopyable
10600 * ParagraphParameters.[hC] (depth): inline it.
10602 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10604 (message): new method
10605 (messagePush): ditto
10606 (messagePop): ditto
10607 (show): init minibuffer
10608 (showState): direct call
10610 * LaTeX.[Ch]: inherit privately from noncopyable
10611 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10612 instead of WriteStatus.
10614 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10616 * BufferView_pimpl.C (buffer): don't init minibuffer
10617 (workAreaButtonPress): use LFUN_MESSAGE
10618 (workAreaButtonRelease): ditto
10619 (savePosition): ditto
10620 (restorePosition): ditto
10621 (MenuInsertLyXFile): ditto
10622 (workAreaExpose): don't init minibuffer
10623 (update): remove commented code, simplify
10625 * BufferView2.C (openStuff): use LFUN_MESSAGE
10626 (toggleFloat): ditto
10629 (copyEnvironment): ditto
10630 (pasteEnvironment): ditto
10635 (updateInset): remove some commented code
10637 * lastfiles.h: inherit privately from noncopyable
10640 * lyx_main.h: ditto
10642 * lyxlex_pimpl.h: ditto
10644 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10645 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10646 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10648 * LyXAction.h: inherit privately from noncopyable, add methods
10649 func_begin, func_end, returning iterators to the func map.
10651 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10652 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10653 (func_begin): new method
10654 (func_end): new method
10656 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10658 (copySelection): ditto
10659 (pasteSelection): ditto
10661 * BufferView.C: whitespace change
10662 * BufferView.h: inherit privately from noncopyable
10664 2001-04-16 Allan Rae <rae@lyx.org>
10666 * tabular-old.C (l_getline):
10667 * spellchecker.C (sc_check_word):
10668 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10669 an unrecognised preprocessor directive. So ensure they're wrapped.
10671 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10673 * src/exporter.C (Export): Give an error message when path to file
10676 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10678 * LaTeX.C (deplog): Always check that foundfile exists.
10680 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10683 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10685 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10687 * tabular.[Ch] (getLabelList): implement new method
10689 * minibuffer.h: comment ouf setTiimer
10691 * minibuffer.C (ExecutingCB): constify res
10692 (peek_event): constify s
10693 (Set): constify ntext
10694 (Init): constify nicename
10696 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10698 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10699 (savePosition): use two params to Minibuffer::Set
10700 (restorePosition): ditto
10702 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10704 * lyx_main.C: include language.h
10706 * Makefile.am (lyx_main.o): add language.h
10708 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10714 * CutAndPaste.C: include gettext.h
10716 * lyxfont.h: remove old hack with ON and OFF.
10719 * lyxfont.h: do not include language.h...
10724 * bufferview_funcs.C:
10730 * paragraph.C: ... but do it here instead
10732 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10734 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10736 * tabular.C: small reformat
10738 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10741 (BreakParagraph): ditto
10742 (SetOnlyLayout): ditto
10745 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10748 * lastfiles.C: removed most using decl, add std:: where needed
10750 * buffer.C: ws changes
10752 * MenuBackend.C (class compare_format): put into anon namespace
10753 (expand): constify label, names, action, action2
10756 * text.C (SingleWidth): constify font
10757 (IsBoundary): constify rtl2
10758 (GetVisibleRow): constify ww
10760 * LaTeX.C (deplog): constify logfile
10762 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10764 (workAreaExpose): constify widthChange, heightChange
10766 * lyxrow.C (par): moved
10769 * lyxrow.h: as inlines here
10771 * lyxfont.h (shape): moved from lyxfont.C
10772 (emph): moved from lyxfont.C
10774 * lyxfont.C (LyXFont): use initialization list for all
10776 (shape): move to lyxfont.h as inline
10777 (emph): move to lyxfont.h as inline
10780 2001-04-04 Juergen Vigna <jug@sad.it>
10782 * vspace.C: had to include stdio.h for use of sscanf
10784 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10787 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10788 independent of xforms.
10790 2001-04-02 Juergen Vigna <jug@sad.it>
10792 * spellchecker.C: fixed namespace placing!
10794 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10796 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10797 the LyXParagraph * is 0.
10799 2001-03-29 Juergen Vigna <jug@sad.it>
10801 * vspace.C: added support for %, c%, p%, l%.
10802 (stringFromUnit): added helper function.
10803 (asLatexString): changed to give right results for the %-values.
10805 * buffer.C: convert the widthp in a width%.
10807 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10809 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10812 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10813 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10815 * lyx_cb.[Ch]: see above.
10817 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10821 * lyx.[Ch]: replaced by figure_form.[Ch].
10825 * lyxfunc.C: changed headers associated with above changes.
10827 2001-03-27 Juergen Vigna <jug@sad.it>
10829 * BufferView_pimpl.C: set the temporary cursor right!
10831 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10833 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10835 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10837 * LString.h: removed "using std::getline"!
10839 * BufferView_pimpl.C (Dispatch): changes due to changes in
10840 InsetInclude::Params.
10842 * buffer.C (tag_name): removed redundant break statements as they were
10843 producing lots of warnings with my compiler.
10845 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10847 * LString.h: add "using std::getline" when using the real <string>.
10849 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10851 * buffer.C: removed bitset usage.
10852 PAR_TAG moved to an anonymous name space.
10853 (tag_name): new funtion, also in the anonymous namespace.
10854 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10855 (makeDocBookFile): clean code. Completed transition from string arrays
10857 (SimpleDocBookOnePar): code clean.
10859 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10861 * tabular.C: add some comments.
10863 2001-03-22 Juergen Vigna <jug@sad.it>
10865 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10866 compatibility read a bit and fixed bug with minipage in different
10869 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10871 * buffer.C (pop_tag): removed.
10872 (push_tag): removed.
10873 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10874 array replaced with vector. Added support for CDATA sections.
10875 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10877 (makeDocBookFile): XML conformant declaration of CDATA section,
10878 fixed bug related to <emphasis> in the first paragraph char.
10879 (sgmlOpenTag): exclude empty tags.
10880 (sgmlCloseTag): ditto.
10882 * buffer.h (pop_tag): removed.
10883 (push_tag): removed.
10885 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10887 * language.h (Languages): added size_type and size().
10889 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10891 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10892 response on compability reading of minipages. One probliem is that
10893 the old usage of minipages was «flertydig»
10895 * several files here and in subdirs: don't use static at file
10896 scope use anon namespaces instead.
10898 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10900 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10901 LaTeX output. This is necessary for Literate document
10904 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10906 * buffer.C: insert hfill when needed.
10908 * tabular.C (l_getline): use string::erase, small whitespace change.
10910 * BufferView_pimpl.C: try the anon namespace.
10911 * WorkArea.C: ditto
10913 2001-03-16 Juergen Vigna <jug@sad.it>
10915 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10916 otherwise it won't open options-dialogs.
10918 * buffer.C: honor pextraWidth(p) on converting minipages.
10920 * tabular.C (l_getline): changed the functions to strip trailing \r.
10922 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10924 * BufferView_pimpl.C:
10925 * minibuffer..C: added "using SigC::slot" declaration.
10927 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10929 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10935 * paragraph.C: ditto
10937 * lyxtext.h: NO_PEXTRA
10939 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10941 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10942 * ParameterStruct.h: ditto
10943 * ParagraphParameters.h: ditto
10944 * lyxparagraph.h: ditto
10946 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10948 * buffer.C: add compability for minipage alignment.
10949 (latexParagraphs): remove unwanted pextra check.
10951 * several files: remove CXX_WORKING_NAMESPACES
10953 * buffer.C (pop_tag): tie is in namespace boost
10955 * BufferView.h: noncopyable is in namespace boost
10957 * lyx_main.h: ditto
10960 * lastfiles.h: ditto
10961 * bufferlist.h: ditto
10962 * ShareContainer.h: ditto
10964 * LyXAction.h: ditto
10967 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10969 * Merging changes from BRANCH_MVC back into HEAD.
10971 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10973 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10975 * BufferView_pimpl.C: change from intl.C
10979 * Makefile.am: move combox.*
10985 * intl.C: remove dialog (covered by prefs)
10987 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10989 * lyxfunc.C (Dispatch): removed redundant break statement.
10991 2001-03-14 Juergen Vigna <jug@sad.it>
10993 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10995 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10997 * buffer.C: add hack to fix compability reading of minipages.
10999 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11001 * buffer.C (getLists): Cleanup.
11003 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11005 * lyxfont.C (update): don't honor toggleall on font size.
11007 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11011 * Makefile.am: moved to frontends/xforms/
11015 * BufferView_pimpl.C: changes for moved mathpanel
11017 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11019 * gettext.h: fix gettext_init() in --disable-nls
11021 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11023 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11025 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11028 * lyx.h: strip external form
11030 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11032 * BufferView_pimpl.C: add comment, destroySplash()
11034 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11036 * BufferView_pimpl.C:
11040 * lyxfunc.C: use re-worked insetinclude
11042 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11044 * buffer.C: add using std::stringstream.
11046 * lyx_cb.C: readd using std::ios.
11048 * buffer.C: add using std::map.
11050 * BufferView_pimpl.C: add using std::vector.
11052 * ShareContainer.h: add std:: to swap.
11054 * buffer.h: add some typedefs
11055 * buffer.C (getLists): use them
11056 (getLists): renamed from getTocList.
11057 add a counter for the different float types and use it in the
11059 (getLists): use the same counter for the NEW_INSETS and the "non"
11062 * lyx_cb.h: remove unused items, includes, using etc.
11064 * ShareContainer.h: remove some commented code, add more comments
11065 and "documentation".
11067 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11069 * buffer.C (getTocList): make the list also when NEW_INSETS is
11072 * buffer.h: remove TocType
11074 * buffer.C (getTocList): change to return a map<string,
11075 vector<TocItem> >, implement for dynamic number of list.
11077 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11078 * text2.C (PasteSelection): adjust
11079 * CutAndPaste.C (pasteSelection): adjust
11081 * FloatList.C (FloatList): update from the new_insets branch.
11082 * Floating.[Ch]: ditto
11083 * LaTeXFeatures.C: ditto
11085 * lyxlex_pimpl.C: ditto
11087 * paragraph.C (Last): remove when NEW_INSETS is defined.
11089 * other file: changes because of the above.
11091 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11093 * lyxparagraph.h: rename next to next_, previous to previous_,
11094 make them private for NEW_INSETS. Rename Next() to next(),
11095 Previous() to previous().
11097 * other files: changes because of the above.
11099 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11102 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11105 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11107 * main.C (main): pass lyx_localedir to gettext_init().
11109 * gettext.h: remove locale_init and gettext_init macros
11111 * gettext.C (locale_init): new function
11112 (gettext_init): new function
11114 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11117 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11119 * Moved credits to frontends:
11120 * credits.[Ch]: removed
11121 * credits_form.[Ch]: removed
11122 * lyx_gui_misc.C: remove credits stuff
11125 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11127 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11129 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11130 unneeded destructor.
11132 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11133 a standalone pointer again.
11135 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11137 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11143 * ToolbarDefaults.C:
11152 * BufferView_pimpl.C: use new file dialog in GUII
11155 * lyx_cb.C: remove LayoutsCB to Toolbar
11157 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11159 * ShareContainer.h (get): add std:: qualifier
11161 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11163 * ShareContainer.h: define a proper ShareContainer::value_type
11164 type (and use typename to please compaq cxx)
11166 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11168 * lyxparagraph.h: move serveral local vars to
11169 ParameterStruct/ParagraphParameters., use ShareContainer in
11170 FontTable., make vars in FontTable private and add getter and
11173 * paragraph.C: changes because of the above.
11175 * lyxfont.h: remove copy constructor and copy assignment. (the
11176 default ones is ok), move number inside FontBits. move inlines to
11179 * lyxfont.C: add number to initializaton of statics, move several
11180 inlines here. constify several local vars. some whitespace
11181 cleanup. Dont hide outerscope variables.
11183 * Spacing.h: add two new constructors to match the set methods.
11185 * ShareContainer.h: new file, will perhaps be moved to support
11187 * ParameterStruct.h: new file
11189 * ParagraphParameters.h: new file
11191 * ParagraphParameters.C: new file
11193 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11194 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11196 * BufferView_pimpl.C: ParagraphParameter changes.
11197 * buffer.C: Likewise.
11198 * bufferview_funcs.C: Likewise.
11199 * text.C: Likewise.
11200 * text2.C: Likewise.
11202 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11204 * lyxfind.C (LyXReplace): do not redefine default argument in
11206 (IsStringInText): ditto
11207 (SearchForward): ditto
11208 (SearchBackward): ditto
11210 2001-03-06 Juergen Vigna <jug@sad.it>
11212 * lyxfind.C (IsStringInText): put parentes around expressions.
11214 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11216 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11218 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11220 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11222 * stl_string_fwd.h: add comment
11224 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11227 * tabular.C: remove unused DocBook methods
11233 killed DO_USE_DEFAULT_LANGUAGE
11235 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11237 * lyx_gui.C: do not include language.h.
11239 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11240 arguments in function implementation.
11242 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11244 * BufferView_pimpl.C: add <ctime>
11246 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11248 * BufferView_pimpl.C: add using std::find_if
11250 2001-02-27 José Matos <jamatos@fep.up.pt>
11252 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11255 2001-02-11 José Matos <jamatos@fep.up.pt>
11257 * buffer.C (makeDocBookFile): command styles now have a parameter as
11258 "title" by default.
11260 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11262 * layout_forms.[Ch]: removed
11263 * lyx_cb.[Ch]: out character
11264 * lyx_gui.C: out character
11265 * lyx_gui_misc.C: out character
11266 * bufferview_funcs.C: : out character,
11267 added toggleall as parameter in ToggleAndShow
11269 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11271 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11273 * text2.C (SetCurrentFont): Disable number property at boundary.
11275 2001-02-26 Juergen Vigna <jug@sad.it>
11277 * lyxfunc.C (getStatus): added a string argument override function so
11278 that this is correctly called from LyXFunc::Dispatch if it contains a
11279 do_not_use_argument which is used!
11280 (Dispatch): added check for "custom" export and call appropriate func.
11282 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11284 * lyxrc.C: Add language_command_local, language_use_babel and
11285 language_global_options.
11287 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11289 * buffer.C (makeLaTeXFile): Use language_use_babel and
11290 language_global_options.
11292 2001-02-23 Juergen Vigna <jug@sad.it>
11294 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11295 which works with LyXText and putted it inside BufferView. Here now we
11296 only call for that part the BufferView::Dispatch() function.
11298 * BufferView.C (Dispatch): added.
11300 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11301 functions which needs to use a LyXText over from LyXFunc.
11302 (MenuInsertLyXFile): added
11303 (getInsetByCode): added
11304 (moveCursorUpdate): added
11305 (static TEXT): added
11307 2001-02-22 Juergen Vigna <jug@sad.it>
11309 * BufferView_pimpl.C (update): call a status update to see if LyXText
11312 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11314 * vc-backend.C (revert): implement for CVS
11315 (getLog): implement for CVS
11317 2001-02-20 Juergen Vigna <jug@sad.it>
11319 * text2.C (ClearSelection): added BufferView param for inset_owner call
11321 * lyxfunc.C (TEXT): added this function and use it instead of
11322 directly owner->view()-text of getLyXText().
11324 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11326 * src/layout_forms.C: out preamble
11327 * src/layout_forms.h: out preamble
11328 * src/lyx_cb.C: out preamble
11329 * src/lyx_cb.h: out preamble
11330 * src/lyx_gui.C: out preamble
11331 * src/lyx_gui_misc.C: out preamble
11332 * src/lyxfunc.C: connect with guii preamble
11334 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11336 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11338 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11340 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11341 whether to run bibtex.
11343 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11345 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11347 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11349 * Makefile.am (lyx_SOURCES): removed bibforms.h
11351 * vspace.h: doxygen
11353 * text.C (GetVisibleRow): make several local vars const
11355 * tabular.C: small cleanup.
11357 * lyxserver.C (callback): use compare instead of strncmp
11359 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11360 inlines to after class or to paragraph.C
11362 * lyxfont.h: remove friend operator!=
11364 * converter.h: move friend bool operator< to non friend and after
11367 * combox.h: small cleanup
11369 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11370 to inlines after class def.
11372 * buffer.C (pop_tag): use string operations instead of strcmp
11374 * bmtable.c: doxygen, small cleanup
11376 * LaTeX.h: remove friend operator==
11378 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11390 * BufferView_pimpl.C:
11391 * BufferView.[Ch]: remove cruft
11393 2001-02-14 Juergen Vigna <jug@sad.it>
11395 * lyxfunc.C: removed #if 0 unused code
11397 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11399 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11401 * text2.C (SetSelection): added a BufferView * parameter
11403 2001-02-13 Juergen Vigna <jug@sad.it>
11405 * lyxfunc.C (Dispatch): fixed protected blank problem.
11406 * BufferView2.C (protectedBlank): added LyxText * parameter.
11408 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11409 (AppendColumn): same as above for column_info.
11411 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11412 (moveCursorUpdate): use a LyXText param for support of InsetText.
11414 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11415 (tripleClick): ditto
11417 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11419 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11421 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11423 * text2.C (SetSelection): set correct update status if inset_owner
11424 (ToggleFree): ditto
11426 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11428 * tabular.C: remove some commented code.
11430 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11432 * BufferView_pimpl.C: call hideSplash()
11434 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11437 * bibforms.h: remove
11440 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11441 add LFUN_CHILD_CREATE
11443 * counters.h: fix tiny typo
11448 * lyx.C: move splash to frontends/xforms/
11450 * lyx_gui_misc.C: move Include and Bibform to frontends
11452 * lyxvc.h: clarify comment
11454 * vspace.C: tiny housekeeping
11456 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11458 * text.C (PrepareToPrint): RTL Fix.
11460 * paragraph.C (GetUChar): New method.
11461 (String): Use GetUChar.
11463 * buffer.C (asciiParagraph): Use GetUChar.
11465 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11467 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11469 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11472 * buffer.C: rename to getLogName(), handle
11473 build log / latex log nicely
11475 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11478 * MenuBackend.h: remove support for reference menuitem type.
11480 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11482 * BufferView_pimpl.C: housekeeping
11483 * BufferView_pimpl.h:
11488 * minibuffer.h: move Timeout GUI-I
11490 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11492 * lyxrc.C (read): Update converters data-structures.
11494 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11496 * LaTeX.h (operator!=): add operator != for Aux_Info
11498 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11500 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11502 * LaTeXLog.C: deleted, useful code moved to Buffer
11505 * buffer.C: new function getLatexLogName()
11511 * lyxfunc.C: use frontends for LaTeX and VC logs
11513 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11515 * LaTeX.h: yet another std:: that Allan forgot.
11517 * Variables.C (set): renamed from isset(), because this clashes
11518 with some HP-UX macros (grr).
11520 2001-02-06 Allan Rae <rae@lyx.org>
11522 * LaTeX.h: Another bug fix. Missing std:: this time.
11524 2001-02-04 Allan Rae <rae@lyx.org>
11526 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11527 floats problem. I've left it commented out because it's not quite
11528 correct. It should also test that the current object is a table or
11529 figure inset. But I haven't gotten around to figuring out how to do
11530 that. I *think* it'll be something like: "table" == inset.type()
11532 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11535 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11537 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11538 all the citation/databases/styles in the auxilary file.
11539 (run): Rerun latex if there was a babel language error.
11541 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11543 * text.C (Backspace): Preserve the font when changing newline char
11545 (BreakParagraph): If the cursor is before a space, delete the space.
11547 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11549 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11551 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11552 new argument (code).
11553 (ChangeCitationsIfUnique): New method.
11555 * paragraph.C (GetPositionOfInset): Handle bibkey.
11557 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11559 * BufferView_pimpl.h: change type of Position::par_pos to
11560 LyXParagraph::size_type.
11562 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11564 * BufferView_pimpl.C (savePosition, restorePosition): Write
11565 messages to minibuffer.
11567 2001-01-28 José Matos <jamatos@fep.up.pt>
11569 * buffer.C (makeDocBookFile): adds support for document language.
11570 A silly restriction on the name of LatexCommand types where removed.
11571 Added support for CDATA sections, allows to chars unescaped, used
11572 among others in code, to avoid escape < and >.
11574 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11576 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11577 saved positions instrad of a stack. Furthermore, a position is
11578 stored using paragraph id/paragraph position.
11580 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11581 Remove LFUN_REF_BACK.
11583 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11585 * converter.C (dvipdfm_options): New method.
11587 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11589 * vspace.C (isValidLength): Fix for empty input string.
11591 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11593 * LyXAction.C (init): change description of LFUN_FIGURE to
11596 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11598 * LaTeX.C: add using directive
11600 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11602 * MenuBackend.C (expand): Fix the sorting of the formats.
11604 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11606 * lyx_main.C: tiny error message fix
11608 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11610 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11611 calling fl_initialize(). This fixes the problem with ',' as
11612 decimal separator in text files.
11614 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11616 * trans.C (process): Fix the keymap bug.
11618 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11620 * LaTeX.C (scanAuxFiles): New method. Provides support for
11621 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11622 (scanLogFile) Scan for "run BibTeX" messages.
11624 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11625 OT1 font encoding. Also, load the aecompl package if the ae
11628 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11630 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11632 * texrow.C (increasePos): turn two error messages into debug
11635 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11637 * LaTeX.C (scanAux): Handle the \@input macro.
11638 (runBibTeX): Use scanAux().
11640 * language.C (latex_options_): New field.
11642 * LaTeXFeatures.C (getMacros): Add language macros.
11644 * buffer.C (makeLaTeXFile): Small fix.
11646 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11648 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11650 * text2.C: add a using directive.
11652 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11657 * lyxfunc.C: kill LyXBell.
11659 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11661 * text.C (IsBoundary): Remove the error message
11663 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11665 * lyxrc.C (setDefaults): Correct initialization value for
11668 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11670 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11673 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11674 and GotoNextNote().
11676 * src/LyXAction.C: Added reference-next.
11678 * text.C (InsertChar): Use contains instead of strchr.
11680 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11682 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11684 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11685 alignment commands (when needed).
11687 * text.C (InsertChar): Add ':' to number separator chars.