1 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
7 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
10 * lay_sty.[Ch]:h: Implement a newenvironment in preamble for
11 greyedout. Patch provided by Jürgen Spitzmüller.
13 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15 * kbmap.C (read): fix error message when reading bind files
17 2003-07-29 Angus Leeming <leeming@lyx.org>
19 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
20 certainly does not do what it purports to do. I am doing it, and
21 us, a favour by killing it.
23 2003-07-28 José Matos <jamatos@lyx.org>
25 * buffer.C (readBody, do_writeFile):
26 * paragraph.C(readParagraph): \end_document replaces \the_end.
28 2003-07-29 André Pönitz <poenitz@gmx.net>
31 * BufferView_pimpl.[Ch]:
35 * textcursor.[Ch]: remove toggleToggle & Co
37 2003-07-28 José Matos <jamatos@fep.up.pt>
39 * buffer.C (readParagraph):
40 * params_func (readParToken, readParagraph):
41 * paragraph.C (write): \layout -> \begin_layout.
43 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
45 * lyxlex_pimpl.C (setFile): clean up slightly.
47 * bufferparams.h: add compressed var
49 * buffer_funcs.C (readFile): adjust for LyXLex change
50 (newFile): ditto + simplify
52 * buffer.C (writeFile): handle writing of compressed files
54 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
55 Check if the file is compressed and set a bufferparm if so.
57 * Makefile.am (lyx_LDADD): remove explicit -lz
59 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
61 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
62 makeDocBookFile): put the real LyX version in the first line of
66 * version.C.in: remove lyx_docversion
68 * tabular.C (write_attribute): add a template-based version to
71 2003-07-28 André Pönitz <poenitz@gmx.net>
76 * text3.C: use doubles again for x-coordinates. They are needed.
78 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
80 * messages.C (getLocaleDir): use lyx_localedir()
82 * lyxlex_pimpl.C (setFile): compress stuff
84 * buffer.C (writeFile): add some compression stuff
85 (do_writeFile): new func, dont call expliti close... will this
88 * Makefile.am (lyx_LDADD): add -lz
90 2003-07-28 José Matos <jamatos@fep.up.pt>
92 * buffer.C: increment file format.
93 * paragraph_funcs (readParagraph, readParToken):
94 * paragraph.C (readParagraph): add \end_layout.
96 2003-07-27 Angus Leeming <leeming@lyx.org>
98 * Makefile.am: remove special casing for configure-time setting of
99 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
101 * lyx_main.C (init): remove all Jean-Marc's magic setting of
102 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
104 2003-07-26 André Pönitz <poenitz@gmx.net>
106 * paragraph_func.[Ch]:
107 * paragraph.C (realizeFont): inline it whereever it is used
112 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
115 2003-07-26 André Pönitz <poenitz@gmx.net>
119 * text2.C: get rid of LyXText::need_break_row
121 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
123 * toc.[Ch]: put namespace toc inside namespace lyx
125 * MenuBackend.C (expandToc2): adjust for lyx::toc
128 * lyxfunc.C (dispatch): adjust for lyx::find
130 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
131 lyx::find instead. Reorganize a bit.
132 (LyXReplace): rename to replace
133 (LyXFind): rename to find
135 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
138 2003-07-26 André Pönitz <poenitz@gmx.net>
140 * text.C (setHeightOfRow): restrict scope of temporary variable
142 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
143 code (never has been used?)
145 2003-07-27 Asger Alstrup <alstrup@local>
147 * text.C (fill): Optimise algorithm to exploit that we can reuse
148 the LyXFont for many characters.
149 (setHeightOfRow): Same thing.
150 (rowBreakPoint): Same thing.
152 2003-07-26 Asger Alstrup <alstrup@local>
154 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
156 * text.C (singleWidth): Spurious font copying in hot-spot
157 singleWidth avoided. Reorder tests for arabic for efficiency.
159 * text.C (fill): handle empty paragraphs better.
161 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
164 * encoding.h: add includes
166 * lyxrc.C: remove reading of bind files
168 * lyx_main.C (init): setup bindings and menus only if we have a
171 * kbmap.C (read): new method. Do the actual reading of bind
174 * converter.C (dvipdfm_options):
177 (output): adapt PAPER_* enums.
179 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
181 * bufferparams.h: remove paper-related enums from there
183 * paper.h: New file. A trivial header file to hold paper-related
184 enums. It should later expand to contain many paper-related
187 * lyxrc.C: declare extern displayTranslator
189 2003-07-27 José Matos <jamatos@fep.up.pt>
191 * tabular.[Ch] (linuxdoc): add support for tables and figures
194 2003-07-27 José Matos <jamatos@fep.up.pt>
196 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
197 consistency in both functions.
198 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
200 2003-07-26 Asger Alstrup <alstrup@local>
202 * rowpainter.C (paintRows): Change algorithm to work directly on
203 the insets rather than asking every character in the document
204 whether its an inset.
206 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
208 * buffer.C (openFileWrite): factorize some code
210 2003-07-26 Angus Leeming <leeming@lyx.org>
213 * lyx_main.[Ch]: replace occurances of system_tempdir with
216 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
218 * rename Inset to InsetOld
220 2003-07-25 Asger Alstrup <alstrup@diku.dk>
222 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
223 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
224 which I think is a bit clearer. EDIT is gone, since it was
225 premature optimisation, and broken for mathed anyway.
226 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
227 with cursor positioning in insets as well (math insets still do not
228 work, but that's a different story anyway.) It mysteriously
229 crashes sometimes with undo in the first paragraph, but I'm fairly
230 confident that this is a compiler bug.
232 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
234 * paragraph.C (Paragraph): adjust for new clone return type
236 (copyIntoMinibuffer): ditto
238 2003-07-25 Asger Alstrup <alstrup@lyx.org>
240 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
241 by not having a special case, and always doing a full rebreak of
242 the document after undo.
244 2003-07-23 Angus Leeming <leeming@lyx.org>
246 * factory.C (createInset): InsetExternal::setParams now takes a
249 2003-07-23 Angus Leeming <leeming@lyx.org>
251 * factory.C (createInset): changed interface to the external and
252 graphics mailers' string2params functions.
254 2003-07-23 Angus Leeming <leeming@lyx.org>
256 * factory.C (createInset): pass a
257 Buffer const * parameter to InsetExternalMailer's string2params.
259 2003-07-22 John Levon <levon@movementarian.org>
261 * Thesaurus.h: include the right aiksaurus header
263 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
265 * MenuBackend.C (expand): check menu shortcuts unconditionally
267 2003-07-21 Angus Leeming <leeming@lyx.org>
269 * factory.C (createInset): pass a
270 buffer_path parameter to InsetGraphicsMailer's string2params.
272 2003-07-21 Angus Leeming <leeming@lyx.org>
274 * BufferView_pimpl.C (buffer):
277 * lyxfunc.C (dispatch):
278 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
279 rather than the grfx shortcut.
281 2003-07-21 André Pönitz <poenitz@gmx.net>
283 * rowpainter.C: remove unused variables
286 * tabular_funcs.h: move to tabular.C
287 * Makefile.am: adjust
289 * tabular.[Ch]: basic optical cleaning
291 * author.h: pass references, not values
293 2003-07-18 André Pönitz <poenitz@gmx.net>
301 * text3.C: two-phase drawing for InsetText and InsetTabular
302 some float -> int changes.
304 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
306 * lyx_main.C: fix the fix
308 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
310 * lyx_main.C: fix a crash in batch mode if no files specified
313 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
315 * format.[Ch] (papersize): moved to BufferParams
316 * converter.[Ch] (dvips_options): moved to BufferParams
317 (dvipdfm_options): moved to anon namespace
318 * bufferparams.[Ch]: added above functions.
320 2003-07-17 André Pönitz <poenitz@gmx.net>
324 * text2.C: don't call inset->update() anymore
326 * metricsinfo.[Ch]: add convenience constructor
328 2003-07-16 André Pönitz <poenitz@gmx.net>
333 * text2.C: replace the LyXCursor::irow_ member with
334 on-demand computation of the value
336 2003-07-16 John Levon <levon@movementarian.org>
338 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
340 2003-07-15 André Pönitz <poenitz@gmx.net>
343 * text2.C: remove no more needed refresh_row
345 2003-07-15 André Pönitz <poenitz@gmx.net>
350 * text3.C: refresh_status tristate -> need_update bool
352 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
354 * lyxtext.h (init): remove reinit argument (act as if always true)
355 * text2.C: adjust to that
357 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
359 * bufferview_funcs.[Ch]: introduce function replaceSelection()
360 * text3.C: use it to delete selections in some cases
361 (bugs 441, 673, 702, 954).
363 2003-07-14 André Pönitz <poenitz@gmx.net>
365 * rowpainter.[Ch]: reduce interface
367 2003-07-14 André Pönitz <poenitz@gmx.net>
369 * BufferView_pimpl.C:
370 * text2.C: adjust after removing unused BufferView * argument
372 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
374 * text2.C (init): fix a crash fired on resize
376 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
378 * buffer.[Ch]: added new closing signal
379 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
380 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
381 BufferView::Pimpl via the closing the signal
383 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
385 * buffer.[Ch]: take out all bv-related from buffer
387 * BufferView_pimpl.[Ch]: connect to new signals
388 * CutAndPaste.C: removed useless asserts
389 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
392 * lyxfunc.C: moved view-related funciontality from vc here
393 * paragraph.C: removed outdated comments
396 2003-07-10 André Pönitz <poenitz@gmx.net>
398 * BufferView_pimpl.C:
402 * text2.C: remove InsetText::InnerCache, clean up consequences
404 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
406 * ispell.C: fix two typos in error messages
408 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
410 * Extend Note inset to other forms of annotation like Comment
411 and Greyedout. Right button click gives dialog.
413 Files modified or added (+):
419 * Makefile.am in frontends/xforms, frontends/xforms/forms,
420 frontends/controllers
424 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
426 * aspell.C: add missing namespace lyx::support
428 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
430 * BufferView.[Ch] (newFile): Add
431 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
432 * LaTeX.[Ch] (message): added this signal and use it
433 * buffer.[Ch] (busy, message): added these signals and use them
434 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
438 * importer.C: use buffer signals instead of direct bv calling
439 * lyx_cb.[Ch] (ShowMessage): removed
443 * text2.C: use buffer signals
445 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
447 * introduce namespace lyx::graphics
449 2003-07-02 André Pönitz <poenitz@gmx.net>
451 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
453 2003-07-01 André Pönitz <poenitz@gmx.net>
460 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
461 text*.C to text_func.C
463 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
465 * introduce namespace lyx::support
467 2003-06-30 André Pönitz <poenitz@gmx.net>
472 * text.C: re-enable --with-included-string
474 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
476 * textcursor.C: add <config.h>
478 * text.C (getWord): remove const from word_location arg
480 * lyxvc.C (getLogFile): fix const type order
482 * lyxtext.h: remove const from word_location arg, add arg name
484 * lyxlayout.h: currect type on labeltype.
486 * importer.C: correct \file
488 * converter.C (intToFormat): use std:: on ret val, ws changes
490 * bufferlist.h: correct \file
492 * buffer.C (makeLinuxDocFile): fix const type order
493 (makeDocBookFile): ditto
494 (fillWithBibKeys): use std:: on stdlib args.
496 * CutAndPaste.C: fix authors.
497 (availableSelections): use std:: on return vector
499 2003-06-27 André Pönitz <poenitz@gmx.net>
501 * BufferView_pimpl.C:
502 * bufferview_funcs.C:
510 * text3.C: remove LyXCursor::row_ member
513 * text.C: rename fullRebreak() to partialRebreak() and implement
514 a fullRebreak() that really bereks fully
516 * textcursor.h: new struct for cursor-related data
518 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
520 * lyx_main.C (LyX): get full path of document loaded on the
523 2003-06-26 André Pönitz <poenitz@gmx.net>
525 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
526 remove unused/broken operator>,<,>=.
528 * text.C: remove only use of broken operator<= in an Assert().
530 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
532 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
533 moved errorlist_.clear to showErrorList
535 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
537 * converter.C (scanLog, runLaTeX):
538 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
539 move the bv->showErrorList call to the callers
540 * lyxfunc.C: i.e. here...
542 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
543 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
544 namespace, the second to...
545 * buffer_funcs (BufferFormat, parseErrors): added
546 * errorlist.C (ErrorList(TeXErrors const &)): removed
548 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
550 * ToolbarBackend.C (getIcon): complain when icon cannot be found
552 2003-06-24 "Garst R. Reese" <reese@isn.net>
556 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
558 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
560 * version.C.in: change docversion to 1.4
562 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
564 * buffer.C: fix a bug just introduced
566 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
568 * buffer.[Ch]: added the parseError signal and use it, removed
570 * BufferView.[Ch] (addError): moved to ...
571 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
572 to the Buffer::parseError signal to catch (guess what) parse errors
573 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
575 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
577 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
578 ability to create a buffer and to return an existing one from
579 the list. Moved these functions to...
580 * buffer_funcs.[Ch]: added
581 * BufferView.[Ch] (loadLyXFile): added
582 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
583 job removed from bufferlist::loadLyXFile.
584 * buffer.C (setReadOnly): make it work without view
585 (i.e added an if (users))
587 2003-06-19 Angus Leeming <leeming@lyx.org>
590 * LyXAction.C (init):
591 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
592 with LFUN_DIALOG_SHOW <name> <data>.
594 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
596 * CutAndPaste.C (availableSelections): small compilation fix for
597 ancient (gcc 2.9x) compilers
599 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
601 * text3.C (cursorNext): add tmp var
603 * text2.C (updateCounters): for function calling out of for clause
604 (replaceSelectionWithString): ditto
605 (insertStringAsParagraphs): ditto
606 (getColumnNearX): add tmp var
607 (setCursorFromCoordinates): add tmp var
608 (cursorDownParagraph): add tmp var
609 (deleteEmptyParagraphMechanism): add tmp var
611 * text.C (insertChar): add tmp var
613 * rowpainter.C (paintDepthBar): add tmp var
615 * CutAndPaste.C (availableSelections): potentially check all
616 paragraphs in a cut to fill the shown strings.
618 2003-06-18 André Pönitz <poenitz@gmx.net>
620 * kbmap.[Ch]: use vector<> instead of list<>
622 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
624 * text3.C (dispatch): handle arg to LFUN_PASTE, call
625 pasteSelection with index
627 * text2.C (pasteSelection): modify, call pasteSelection with index
629 * paragraph.C (asString): reimplement version with no interval to
630 call the one with interval.
632 * lyxtext.h: add index arg to pasteSelection
634 * MenuBackend.C (MenuItem): handle PasteRecent
635 (Menu::read::Menutags): add md_pasterecent
637 (expandPasteRecent): new function
640 * MenuBackend.h: add PasteRecent to MenuItem::Kind
642 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
644 (availableSelections): new function
646 2003-06-17 Angus Leeming <leeming@lyx.org>
648 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
650 2003-06-17 Angus Leeming <leeming@lyx.org>
653 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
655 * lyxfunc.C (dispatch): invoke it.
657 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
659 * iterators.C (operator++, ParPosition): reintroduce some
660 const_cast for the benefit of older compilers.
662 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
664 * text3.C (dispatch): do not modify clipboard when doing
665 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
666 LFUN_DELETE_SKIP on a selection selection
668 2003-06-16 André Pönitz <poenitz@gmx.net>
674 * tabular.[Ch]: IU of clone() and getLabelList();
676 2003-06-13 André Pönitz <poenitz@gmx.net>
678 * tabular.h: compactification
680 2003-06-12 André Pönitz <poenitz@gmx.net>
684 * tabular_funcs.h: some renaming plus whitespace
686 2003-06-12 André Pönitz <poenitz@gmx.net>
689 * BufferView_pimpl.C:
695 * toc.C: Return a Paragraph & for ParIterator::operator*()
697 2003-06-11 John Levon <levon@movementarian.org>
701 * ToolbarBackend.C: add "Toolbars" section and
704 2003-06-10 Angus Leeming <leeming@lyx.org>
707 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
709 * lyxfunc.C (dispatch): invoke it.
711 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
713 * main.C: protect <ios> with HAVE_IOS
714 (main): protect sync_with_stdio with HAVE_IOS
716 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
718 * text2.C (cutSelection): adjust
719 (pasteSelection): adjust
721 * messages.C: handle get of empty string
723 * main.C (main): use sync_with_stdio(false)
725 * lyxfunc.C (dispatch): adjust
727 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
728 (WriteAs): remove unneeded BufferView arg.
730 * bufferparams.h: use correct types on papersize, papersize2 and
733 * bufferparams.C (readToken): adjust for type
734 (writeLaTeX): add missing cases to switch.
736 * bufferlist.C (quitWriteBuffer): adjust
739 * buffer.C (asciiParagraph): remove some commented code.
741 * CutAndPaste.C: remove current_view extern variable.
742 (cutSelection): add BufferParams arg.
743 (eraseSelection): add BufferParams arg.
744 (pasteSelection): add Buffer const & arg
746 2003-06-07 John Levon <levon@movementarian.org>
754 * paragraph.C: allow InsetERT to freely space lines,
755 and some consolidation of code
757 2003-06-06 José Matos <jamatos@fep.up.pt>
759 * buffer.C (makeDocBookFile): fix bug #821
761 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
763 * BufferView_pimpl.C (dispatch): use Dialogs::visible
765 2003-06-04 Angus Leeming <leeming@lyx.org>
767 * buffer.C: bump format to 224.
769 2003-06-05 André Pönitz <poenitz@gmx.net>
771 * text2.C (redoParagraphs): remove two const_cast<>
773 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
775 * ParagraphList.h: remove last remnants of NO_STD_LIST
777 2003-06-03 Angus Leeming <leeming@lyx.org>
779 * factory.C (createInset): small change to the way InsetExternal's params
782 2003-06-04 André Pönitz <poenitz@gmx.net>
784 * buffer.h: use Undo directly instead of shared_ptr<Undo>
787 * paragraph.[Ch]: some Inset -> UpdatableInset changes
789 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
791 * undo_funcs.C: make some simple cases of undo work again
793 2003-06-03 John Levon <levon@movementarian.org>
795 * ispell.C: HPUX doesn't have sys/select.h
798 2003-06-03 John Levon <levon@movementarian.org>
800 * CutAndPaste.C: update tabular and include inset
805 * paragraph.C: remove owningBuffer(), don't pass Buffer
808 * factory.C: insetGraphicsParams changed
810 2003-06-02 John Levon <levon@movementarian.org>
816 * text3.C: remove insetparent
818 2003-06-02 John Levon <levon@movementarian.org>
821 * buffer.C: fix inset_iterator.end(), move out of line
824 2003-06-01 John Levon <levon@movementarian.org>
826 * text3.C: use a proper cut/paste when doing inset
827 insert (from Jürgen Spitzmüller)
829 2003-06-01 John Levon <levon@movementarian.org>
831 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
833 2003-05-30 André Pönitz <poenitz@gmx.net>
835 * rowpainter.C: unify second drawing phase
837 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
839 * trans_mgr.C: remove one case of current_view
841 * text2.C (cursorBottom): delete NO_STD_LIST stuff
843 * paragraph_funcs.h: remove paragraph.h include
845 * paragraph.h: delete NO_STD_LIST stuff
847 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
849 * buffer.h: remove paragraph.h include
851 * ParagraphList.C: delete file
853 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
855 * toc.C (getTocList): adjust
857 * paragraph_pimpl.C (validate): adjust
859 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
861 * paragraph.C (Paragraph): adjust
862 (getPositionOfInset): use const_iterator, adjust
863 (bibitem): use const_iterator, adjust
864 (setInsetOwner): adjust
866 * iterators.C (operator++): adjust
868 * InsetList.[Ch]: Replace selfmade iterator with standard
869 vector::iterator also introduce const_iterator. Remove getPos,
870 getInset and setInset from InsetTable. Adjust accordingly.
872 * BufferView.C (lockInset): adjust
873 (ChangeInsets): adjust
875 * tabular.[Ch]: delete commented same_id functions
877 2003-05-28 John Levon <levon@movementarian.org>
879 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
881 2003-05-28 André Pönitz <poenitz@gmx.net>
883 * metricsinfo.[Ch]: remove 'fullredraw' member
885 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
887 * lyxtextclass.C (operator): remove caching.
889 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
893 * text2.C (cursorBottom): adjust
894 (setCounter): use ParagraphList::find, adjust
896 * text.C (workWidth): use ParagraphList::find, adjust
898 * lyxcursor.C (LyXCursor): adjust
900 * buffer.C (inset_iterator): adjust
902 * ParagraphList.h: make iterator(value_type) private, make
903 ParagraphList a friend of iterator.
905 * ParagraphList.C (find): new function
907 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
909 2003-05-27 André Pönitz <poenitz@gmx.net>
911 * dimension.[Ch]: a -> asc, d -> des, w -> wid
913 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
915 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
917 2003-05-26 John Levon <levon@movementarian.org>
919 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
921 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
923 * remove same_id from function signatures, adjust.
925 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
927 * undo_funcs.C (createUndo): use the id functions directly, adjust.
929 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
931 * paragraph.C (Paragraph): get rid of same_ids parameter
933 * ParagraphList.C (insert): adjust
936 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
938 * paragraph_funcs.C (breakParagraph): adjust
939 (breakParagraphConservative): adjust
941 * buffer.C (readParagraph): adjust
943 * ParagraphList.C (insert): take a reference instead of a pointer
946 * paragraph.[Ch] (id): new function
948 * bufferlist.C (newFile): adjust
950 * ParagraphList.C (ParagraphList): adjust
952 (push_back): take a reference instead of a pointer.
954 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
956 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
959 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
960 set else use old code.
962 * ParagraphList.C: remove all NO_NEXT code and only compile this
963 code of NO_STD_LIST is set.
965 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
967 * BufferView_pimpl.C:
977 * graphics/GraphicsConverter.C:
978 * graphics/PreviewLoader.C: header adjustment
980 2003-05-23 Angus Leeming <leeming@lyx.org>
982 * LaTeXFeatures.[Ch] (useBabel): new method.
983 * bufferparams.C (writeLaTeX): use it.
985 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
987 * ParagraphList.h (set): remove unused function.
989 2003-05-23 André Pönitz <poenitz@gmx.net>
992 * BufferView_pimpl.C:
996 * undo_funcs.C: setUndo reworked
998 * iterators.[Ch]: add access to topmost ParagraphList
1000 * lyxtext.[Ch] (workWidth): add a const
1002 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1004 * texrow.[Ch] (increasePos): remove function
1005 * exporter.C (export): removed unused var and outdated comment
1007 2003-05-23 Angus Leeming <leeming@lyx.org>
1009 * latexrunparams.h: rename fragile as moving_arg.
1010 * paragraph.C (simpleTeXOnePar): ditto.
1011 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1013 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1015 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1017 (textUndoOrRedo): comment out a currently unused var.
1019 * paragraph.h (NO_NEXT): enable NO_NEXT
1021 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1023 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1025 * exporter.C (Export): adjust for removeAutoInsets removal.
1027 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1029 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1031 * BufferView.[Ch] (removeAutoInsets): delete function
1033 2003-05-22 Angus Leeming <leeming@lyx.org>
1035 * latexrunparams.h: add a free_spacing variable.
1037 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1038 to pass moving_arg, as the data is stored in runparams.fragile.
1040 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1041 to Inset::latexOptional or to simpleTeXOnePar.
1043 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1044 free_spacing arg to Inset::latexOptional.
1046 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1049 2003-05-22 Angus Leeming <leeming@lyx.org>
1051 * latexrunparams.h: add fragile and use_babel variables.
1053 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1054 * buffer.C (makeLaTeXFile): store this returned value in
1055 runparams.use_babel, thus passing it to the inset::latex methods.
1057 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1058 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1060 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1061 longer has a fragile arg, as it is stored in runparams.fragile.
1063 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1064 moving_arg parameter as the data is stored in runparams.fragile.
1066 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1067 a fragile parameter as the data is stored in runparams.fragile.
1069 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1071 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1073 2003-05-22 Angus Leeming <leeming@lyx.org>
1075 * latexrunparams.h: add a 'bool nice' which defaults to false.
1077 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1078 now encapsulated within runparams.
1080 * bufferlist.C (updateIncludedTeXfiles):
1081 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1083 2003-05-22 Angus Leeming <leeming@lyx.org>
1085 * latexrunparams.h: new file containing struct LatexRunParams.
1086 * Makefile.am: add new file.
1088 * LaTeX.[Ch] (c-tor, run):
1089 * buffer.[Ch] (makeLaTeXFile):
1090 * bufferlist.[Ch] (updateIncludedTeXfiles):
1091 * converter.C (convert, scanLog):
1092 * converter.[Ch] (runLaTeX):
1093 * exporter.C (Export):
1094 * paragraph.[Ch] (simpleTeXOnePar):
1095 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1096 * paragraph_funcs.[Ch] (latexParagraphs):
1097 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1098 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1099 pass around a LatexRunParams parameter.
1101 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1103 * paragraph.[Ch]: remove unused constructor
1105 * ParagraphList.C (erase): new function, taking two iterators
1107 2003-05-22 André Pönitz <poenitz@gmx.net>
1109 * undo_funcs.C: remove duplicated code
1111 * iterator.[Ch]: operator=
1113 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1115 * tabular.C (SetMultiColumn): ws changes
1117 * rowpainter.C (paintFirst): get rid of a ->previous
1119 * lyx_cb.C (getPossibleLabel): parlist simplification
1121 * BufferView.C (ChangeInsets): simplify slightly.
1123 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1125 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1126 * lfuns.h: new LFUN_SPACE
1127 * lyxfunc.C: protected space has a new lfun
1128 * paragraph_funcs.C: read new space insets
1130 * factory.C: handle new space insets
1132 2003-05-22 André Pönitz <poenitz@gmx.net>
1135 * BufferView_pimpl.C:
1138 * undo_funcs.C: return a ParIterator from getParFromID.
1140 * iterators.[Ch]: add two const's
1142 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1144 * toc.C (getTocList): adjust
1146 * iterators.[Ch]: rework for parlist
1148 * buffer.C (par_iterator_begin): adjust
1149 (par_iterator_end): adjust
1151 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1153 * BufferView.C (removeAutoInsets): adjust
1154 (ChangeInsets): adjust
1156 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1158 * text.C (top_y): fix bug 1110
1160 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1162 * errorlist.[Ch]: added
1165 * BufferView_pimpl.C:
1166 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1169 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1171 * Makefile.am: ensure that lyx is relinked upon changes to the
1172 various "convenience" libs.
1174 2003-05-20 Angus Leeming <leeming@lyx.org>
1176 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1177 files are compiled in alphabetical order again.
1179 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1181 2003-05-19 Angus Leeming <leeming@lyx.org>
1183 * gettext.[Ch]: remove "char const * _(char const *)".
1185 2003-05-19 André Pönitz <poenitz@gmx.net>
1187 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1196 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1198 2003-05-19 André Pönitz <poenitz@gmx.net>
1202 * lyxtextclass.[Ch]:
1204 * paragraph_funcs.[Ch]:
1206 * text3.C: more insetenv work
1208 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1210 * ParagraphParameters.C (params2string): small bug fixed
1212 2003-05-16 André Pönitz <poenitz@gmx.net>
1215 * bufferview_funcs.C: patch from Kornel Benko to prevent
1216 crash when _(...) is called twice in a statement
1218 2003-05-16 André Pönitz <poenitz@gmx.net>
1225 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1227 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1229 * lyx_main.C (init): remove spurious static_cast
1231 2003-05-14 André Pönitz <poenitz@gmx.net>
1233 * BufferView.C: fix format string
1235 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1237 * BufferView.[Ch] (insertErrors): removed
1238 * BufferView.[Ch] (showErrorList): added
1239 * buffer.C (runChkTeX):
1240 * converter.C (scanLog): call showErrorList instead of inserterrors
1242 2003-05-13 André Pönitz <poenitz@gmx.net>
1244 * BufferView_pimpl.C:
1246 * bufferview_func.C:
1253 * tabular_funcs.h: tostr() from its own header
1255 * ParagraphParameters.C:
1260 * text3.C: STRCONV()
1262 2003-05-12 André Pönitz <poenitz@gmx.net>
1265 * BufferView_pimpl.C:
1269 * ParagraphParameters.C:
1273 * bufferview_funcs.C:
1286 * paragraph_funcs.C:
1290 * text3.C: boost::format -> bformat all over the place
1293 2003-05-09 André Pönitz <poenitz@gmx.net>
1295 * LColor.[Ch]: Pimpl the #include <map> away
1297 2003-05-09 John Levon <levon@movementarian.org>
1299 * bufferlist.C: never remove emergency saves
1301 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1303 * Makefile.am: better lib building
1305 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1307 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1309 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1310 (simpleTeXSpecialChars): adjust
1311 (simpleTeXSpecialChars): adjust
1312 * paragraph.C (simpleTeXOnePar): adjust
1313 * buffer.C (makeLaTeXFile): adjust
1315 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1317 * text2.C (changeDepth): parlist cleanup
1318 (getColumnNearX): ditto
1320 * rowpainter.C (getLabelFont): parlist cleanup
1322 * bufferlist.C (newFile): parlist cleanup
1324 * CutAndPaste.C (eraseSelection): parlist cleanup
1326 * BufferView_pimpl.C (trackChanges): parlist cleanup
1329 * BufferView.C (lockInset): parlist cleanup.
1330 (ChangeInsets): ditto
1332 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1334 * CutAndPaste.h: Update file header.
1336 * CutAndPaste.C: Update file header.
1337 Store the parts cut out of the Document in a limited_stack.
1338 (copySelection): adjust
1339 (pasteSelection): new function, takes the index in the limited stack.
1340 (nrOfParagraphs): adjust
1341 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1342 simplify error inset insertion.
1343 (checkPastePossible): adjust
1345 2003-05-06 John Levon <levon@movementarian.org>
1347 * text2.C: don't cast wrap inset to float
1349 2003-05-05 André Pönitz <poenitz@gmx.net>
1352 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1354 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1355 few naked Paragraph *.
1357 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1359 * bufferparams.C: Output warning if a document with missing
1360 TeX document class is loaded
1361 * exporter.C: Disable TeX exports if the document class is missing
1364 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1365 isTeXClassAvailable()
1367 2003-05-03 John Levon <levon@movementarian.org>
1370 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1371 explicit cursor show/hide
1373 * BufferView_pimpl.h:
1374 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1375 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1377 * lyxfunc.C: hide cursor before dispatching.
1382 * text3.C: remove explicit cursor hides
1384 2003-05-02 André Pönitz <poenitz@gmx.net>
1386 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1389 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1392 * text2.C: tiny whitespace
1394 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1396 * undo_funcs.C: almost only ws changes.
1398 * ParagraphList.C (splice): just return if pl is empty.
1400 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1402 * ParagraphList.C (splice): new function.
1404 * CutAndPaste.C (pasteSelection): use it
1406 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1408 * CutAndPaste.C (pasteSelection): remove the last next and
1409 previous from this file.
1411 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1413 * CutAndPaste.C (pasteSelection): more clean up, user proper
1414 ParagraphList functions for pasteing.
1416 * ParagraphList.C (insert): new function, three arg insert
1418 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1420 * ParagraphList.C (insert): new function, three arg insert
1422 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1425 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1427 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1429 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1431 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1433 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1435 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1436 (copySelection): clean up a bit.
1437 (pasteSelection): use make_pair
1439 * ParagraphList.C (ParagraphList): implement copy constructor
1440 (operator=): implement, base on copy constructor.
1443 * paragraph.C (erase): return a bool
1445 * paragraph_pimpl.C (erasePos): remove function, move contents...
1446 (erase): ... here. Return a bool.
1447 (erase): call erase instead of erasePos.
1449 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1451 * ParagraphList.h: define PitPosPair
1452 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1453 ParagraphList, fix a bug on pasting multiple pars
1454 * text2.C: change interface to C&P
1456 2003-04-30 André Pönitz <poenitz@gmx.net>
1458 * undo_func.C: revert part of yesterday's patch 2
1460 2003-04-30 John Levon <levon@movementarian.org>
1462 * LColor.C: s/tabular/table/
1464 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1466 * text3.C (dispatch): do not convert iterator -> pointer
1467 * undo_funcs.C (setCursorParUndo): ditto
1468 * text_funcs.C (transposeChars): ditto
1470 * text2.C (setLayout): ws changes only
1472 * text.C (breakParagraph): do not convert iterator -> pointer
1474 (acceptChange): ditto
1475 (rejectChange): ditto
1480 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1483 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1485 * text3.C (gotoInset): YABG (yet another bad getChar)
1487 2003-04-29 André Pönitz <poenitz@gmx.net>
1489 * paragraph.h: make operator= private unimplemented as long as
1492 * ParagraphList.C: whitespace
1495 * paragraph_pimpl.[Ch]:
1496 * paragraph_funcs.C:
1498 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1501 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1503 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1505 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1506 * paragraph.[Ch] (erase):
1507 * paragraph_pimpl.[Ch] (erase): change return type and value
1508 * text2.C (cutSelection): some rework
1510 2003-04-28 John Levon <levon@movementarian.org>
1512 * bufferlist.C: changes for unsaved changes dialog
1514 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1516 * bufferlist.C (newFile): set language (messages_) for new
1519 * buffer.C (readFile): ws changes only.
1521 2003-04-28 André Pönitz <poenitz@gmx.net>
1526 * BufferView_pimpl.C:
1527 * BufferView.C: getParFromID related ParagraphList::iterator changes
1529 2003-04-28 André Pönitz <poenitz@gmx.net>
1531 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1534 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1536 * messages.C: remove one more localedir class variable.
1538 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1540 * messages.C (getLocaleDir): singleton generation function
1542 (Messages): add a default constructor.
1544 * main.C (main): do not setup localedir here, do not call
1547 * gettext.C (_): use it.
1548 (gettext_init): delete funciton
1550 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1552 * gettext.C (getLyXMessages): new singleton generating function.
1554 * buffer.C (updateDocLang): adjust
1556 * Makefile.am (messages.o): add target
1557 (main.o): remove target
1559 2003-04-27 John Levon <levon@movementarian.org>
1564 * lyxvc.C: specify cancel button in Alert::prompt
1566 2003-04-26 John Levon <levon@movementarian.org>
1571 * LyXAction.C: add LFUN_INSET_SETTINGS
1573 * lyxfunc.C: don't enable tabular-feature when there's
1574 just any locking inset
1576 2003-04-26 John Levon <levon@movementarian.org>
1578 * bufferlist.C: re-add Cancel to buffer close question
1580 * lyxfunc.C: fix import UI a bit
1582 2003-04-25 John Levon <levon@movementarian.org>
1584 * gettext.C: remove the broken asserts for now
1586 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1588 * messages.C: make case where setlocale cannot comply work better.
1590 * buffer.C (updateDocLang): new function
1591 (changeLanguage): use it
1594 * text2.C (setCounter): use B_ a bit.
1596 * lyxlayout.C (Read): be sure to trim the label strings.
1598 * messages.C (Messages): fix typo in comment
1600 * buffer.C (readFile): set message_ after file is loaded.
1601 (makeDocBookFile): remove double return
1602 (changeLanguage): reset message_ upon language change.
1603 (B_): new func, use this to get translated buffer strings.
1605 * main.C: add myself and Jean Marc as authors.
1607 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1609 * messages.[hC]: pimplify Messages, and three different pimpls to be
1610 used in different circumstances.
1612 * gettext.[Ch]: change for use with new message code.
1614 2003-04-24 André Pönitz <poenitz@gmx.net>
1616 * factory.C: support for eqref
1618 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1620 * messages.[Ch]: add missing char
1622 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1624 * messages.[Ch]: New files
1626 2003-04-18 John Levon <levon@movementarian.org>
1630 * BufferView_pimpl.C:
1634 * text2.C: remove layout-copy/paste (bug 778)
1636 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1638 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1640 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1642 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1643 if they succeed. Act accordingly.
1645 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1647 * text2.C (setCharFont): adjust
1648 (setCounter): adjust
1649 (insertStringAsLines): adjust
1651 * text.C (leftMargin): adjust
1652 (setHeightOfRow): adjust
1654 * rowpainter.C (paintFirst): adjust
1657 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1659 (isFirstInSequence): ditto
1660 (getEndLabel): ditto
1663 * paragraph.C (getParLanguage): comment out some hard stuff.
1665 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1667 (simpleDocBookOnePar): ditto
1668 (makeDocBookFile): use ParagraphList::iterator
1670 * CutAndPaste.C (pasteSelection): adjust
1672 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1674 * text2.C (getFont): adjust
1675 (getLayoutFont): adjust
1676 (getLabelFont): adjust
1678 * paragraph_funcs.C (TeXOnePar): adjust
1680 * buffer.C (simpleLinuxDocOnePar): adjust
1681 (simpleDocBookOnePar): adjust
1683 * CutAndPaste.C (pasteSelection): adjust
1685 * BufferView.C (getEncoding): adjust
1687 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1689 2003-04-16 John Levon <levon@movementarian.org>
1691 * lyxfind.C: use parlist stuff for search/changes
1693 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1695 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1697 * text2.C (deleteEmptyParagraphMechanism): adjust
1699 * text2.[Ch] (ownerParagraph): delete func (both of them
1701 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1703 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1705 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1707 * ParagraphList.C: prepare for NO_NEXT
1709 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1711 * text2.C (getFont): adjust
1712 (getLayoutFont): adjust
1713 (getLabelFont): adjust
1715 * paragraph.C (getFont): adjust
1716 (getLabelFont): adjust
1717 (getLayoutFont): adjust
1719 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1721 2003-04-15 John Levon <levon@movementarian.org>
1725 * lyx_main.C: handle Include in .ui files
1727 2003-04-15 John Levon <levon@movementarian.org>
1729 * MenuBackend.C: make the doc files length shorter
1732 * ToolbarBackend.C: handle toolbar placement flags,
1735 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1737 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1740 * paragraph_funcs.C (TeXOnePar): adjust
1742 * paragraph.C (getLabelFont): add outerfont arg, adjust
1743 (getLayoutFont): ditto
1744 (simpleTeXOnePar): adjust
1746 * paragraph_pimpl.C (realizeFont): delete func
1748 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1750 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1751 row argument, constify cur argument.
1753 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1755 * text2.C (getFont): adjust
1756 (getLayoutFont): adjust
1757 (getLabelFont): adjust
1759 * paragraph_funcs.C (TeXOnePar): adjust
1760 (outerFont): new func...
1761 (realizeFont): ...moved out from here, changed this to facilitate
1764 * paragraph.C (getFont): take outerfont as arg, adjust
1765 (simpleTeXOnePar): add outerfont arg, adjust
1767 * buffer.C (simpleLinuxDocOnePar): adjust
1768 (simpleDocBookOnePar): adjust
1770 * CutAndPaste.C (pasteSelection): adjust
1772 * BufferView.C (getEncoding): adjust
1774 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1776 * text2.C (setCharFont): adjust
1777 (setCounter): adjust
1779 * text.C (leftMargin): adjust
1780 (setHeightOfRow): adjust
1782 * rowpainter.C (paintFirst): adjust
1785 * paragraph_pimpl.C (realizeFont): adjust
1787 * paragraph.C (isFirstInSequence): move from here...
1788 * paragraph_funcs.C (isFirstInSequence): ...to here
1790 * paragraph.C (outerHook): move from here...
1791 * paragraph_funcs.C (outerHook): ...to here
1793 * paragraph.C (depthHook): move from here...
1794 * paragraph_funcs.C (depthHook): ...to here
1796 * paragraph.C (getEndLabel): move from here...
1797 * paragraph_funcs.C (getEndLabel): ...to here
1799 * text2.C (realizeFont): move from here...
1800 * paragraph_funcs.C (realizeFont): ...to here
1802 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1804 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1806 2003-04-14 Angus Leeming <leeming@lyx.org>
1808 * LColor.[Ch]: scrap LColor mathcursor.
1810 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1812 * lyxlex.[Ch] (text): delete function
1813 * trans.C (Load): adjust
1814 * paragraph_funcs.C (readParToken): adjust
1816 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1818 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1819 vector<char> instead of a char[].
1821 * lyxlex_pimpl.C (getString): adjust
1823 (lex): use getString
1827 * lyxlex.C (text): use pimpl_->getString()
1831 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1833 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1834 (makeFontEntriesLayoutSpecific): temp var for par.size()
1835 (setLayout): temp var for ownerParagraphs().end()
1836 (fullRebreak): temp var for rows().end()
1837 (selectionAsString): temp var for boost::next(startpit), realize
1838 that the while really is a regular for loop.
1839 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1840 setCursor in one place.
1841 (setParagraph): temp vr for ownerParagraphs().end()
1842 (updateCounters): make the while loop a for loop
1843 (cutSelection): temp var for ownerParagraphs().end()
1844 (updateInset): make the do {} while() a regular for loop
1845 (getCursorX): use temp vars
1846 (setCurrentFont): use temp vars
1847 (getColumnNearX): use temp vars
1849 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1851 * text.C (transformChar): use temp var for getChar
1852 (computeBidiTables): use temp var for row->par()
1853 (fill): move temp vars for row->par() and pit->layout() earlier in
1855 (labelFill): use temp var for row->par()
1856 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1857 asc and desc, realize that pit never changes and that firstpit is
1858 just a duplicate and not needed. Exchange rit->par() with pit in a
1860 (breakAgain): use a temp var for boost::next(rit)
1861 (breakAgainOneRow): ditto
1862 (breakParagraph): use a temp var for rows().begin()
1863 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1864 (cursorRightOneWord): use temp var for cursor.par() and
1865 cursor.pos(), remove usage of tmpcursor.
1866 (cursorLeftOneWord): use temp var for cursor.par() and
1867 cursor.pos() only set cur at end of function.
1869 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1871 * text.C, text2.C: exchange all usage of Paragraph::next with
1872 boost::next(ParagraphList::iterator)
1874 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1876 * text2.C (cursorTop): simplify implementation
1877 (cursorBottom): ditto
1878 (setParagraph): use ParagraphList::iterator
1879 (setCurrentFont): adjust
1880 (getColumnNearX): adjust
1881 (cursorRight): adjust
1882 (cursorLeft): remove usage of Paragraph::previous
1883 (cursorUpParagraph): ditto
1884 (deleteEmptyParagraphMechanism): slight cleanup
1886 * text.C (isBoundary): take a Paragraph const & instead of a
1888 (addressBreakPoint): ditto
1889 (leftMargin): remove usage of Paragraph::previous.
1890 (setHeightOfRow): ditto
1891 (cursorLeftOneWord): ditto
1892 (selectNextWordToSpellcheck): ditto
1895 (breakParagraph): remove one usage of Paragraph::next
1896 (redoParagraph): ditto
1897 (acceptChange): ditto
1898 (insertChar): adjust
1899 (rowBreakPoint): adjust
1901 * bufferview_funcs.C (toggleAndShow): adjust
1903 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1905 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1906 methods to access it.
1908 * text.C: Added updateRowPositions to compute all row positions.
1909 Make top_y and getRowNearY() to use the cached y position
1911 2003-04-11 John Levon <levon@movementarian.org>
1913 * text.C (rowBreakPoint): reintroduce the labelEnd
1914 checks, code copied from the row fill stuff. Deep voodoo.
1916 * text.C (fill): add a comment and debugging for the
1919 2003-04-11 John Levon <levon@movementarian.org>
1921 * text.C: make sure fullrow insets get wrapped to the next line,
1922 even when they're in a manual label
1924 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1926 * text2.C (insertParagraph): make it take ParagraphList::iterator
1928 (setLayout): make it return ParagraphList::iterator
1929 (redoParagraphs): ditto
1931 (checkParagraph): ditto
1933 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1935 * text2.C: adjust several funcs.
1936 (realizeFont): take a ParagraphList::iterator as arg.
1937 (getLayoutFont): ditto
1938 (getLabelFont): ditto
1939 (setCharFont): ditto
1941 * text.C: adjust several funcs.
1943 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1945 * text.C (selectNextWordToSpellcheck): don't accidentally
1948 2003-04-10 John Levon <levon@movementarian.org>
1950 * ToolbarBackend.C (getIcon): special handling for
1953 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1955 * text2.C (cursorRight): a getChar assert fixed
1957 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1959 * text2.C (getFont): change to take a ParagraphList::iterator
1960 instead of Paragraph*
1961 Adjust several functions.
1963 * text.C (transformChar): change to take a ParagraphList::iterator
1964 instead of Paragraph*
1965 (singleWidth): ditto
1966 Adjust several functions.
1968 * rowpainter.C: adjust several functions
1969 * rowpainter.h:store a ParagraphList::iterator and not a
1973 2003-04-09 John Levon <levon@movementarian.org>
1978 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1979 and the "help" bits as well
1981 2003-04-09 John Levon <levon@movementarian.org>
1984 * ToolbarBackend.C: allow multiple toolbars
1986 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1988 * undo_funcs.C (setCursorParUndo): adjust
1990 * text_funcs.C (transposeChars): adjust
1992 * text3.C (gotoNextInset): adjust
1995 * text2.C (setLayout): adjust
1996 (changeDepth): adjust
1998 (redoParagraphs): adjust
1999 (selectionAsString): adjust
2000 (setParagraph): adjust
2001 (insertInset): adjust
2002 (cutSelection): adjust
2003 (copySelection): adjust
2004 (pasteSelection): adjust
2005 (insertStringAsLines): adjust
2006 (updateInset): adjust
2007 (setCursor): change to take a ParagraphList::iterator parameter
2008 (setCursorIntern): change to take a ParagraphList::iterator parameter
2009 (setCurrentFont): adjust
2010 (cursorLeft): adjust
2011 (cursorRight): adjust
2012 (deleteEmptyParagraphMechanism): adjust
2014 * text.C (breakParagraph): adjust
2015 (insertChar): adjust
2016 (acceptChange): adjust
2017 (rejectChange): adjust
2018 (selectNextWordToSpellcheck): adjust
2019 (changeCase): adjust
2023 * lyxfind.C (SearchForward): adjust
2024 (SearchBackward): adjust
2025 (nextChange): adjust
2027 * lyxcursor.C (par): adjust
2029 * lyxcursor.h: store a ParagraphList::iterator instead of a
2032 * lyx_cb.C (getPossibleLabel): adjust
2034 * bufferview_funcs.C (toggleAndShow): adjust
2036 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2039 * BufferView.C (removeAutoInsets): adjust
2040 (lockedInsetStoreUndo): adjust
2042 2003-04-09 John Levon <levon@movementarian.org>
2044 * ToolbarBackend.C: try icon without argument
2045 if with argument fails
2047 2003-04-08 John Levon <levon@movementarian.org>
2050 * ToolbarBackend.C: add getIcon(), handle tooltip,
2051 and change from "Icon" to "Item".
2053 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2055 * BufferView.C (lockInset): another bad getchar crunched
2057 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2059 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2062 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2064 * lyxfind.C (searchForward, searchBackwards): bug 782
2066 2003-04-07 John Levon <levon@movementarian.org>
2068 * paragraph.C: remove dead comment
2070 * text.C: remove troublesome depth-fiddling code
2071 in leftMargin() and rightMargin() (bug 1017)
2073 * text.C: fix breaking of rows in nested lists
2076 * text2.C (updateCounters): fix up depth values
2079 2003-04-07 John Levon <levon@movementarian.org>
2081 * BufferView_pimpl.C: clear message when doc finishes resizing,
2082 and after a mouse event
2084 * lyxfunc.C: clear message after exiting inset
2086 2003-04-07 John Levon <levon@movementarian.org>
2088 * bufferview_funcs.C: show math status not outside
2089 status in the statusbar
2091 2003-04-07 John Levon <levon@movementarian.org>
2093 * lyxfunc.C: note status changed after a depth change
2095 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2097 * LaTeX.h: move AuxInfo operator==, != out of line.
2098 Remove LaTeX virtual destructor; nothing derives from it.
2099 Move operator()() out of public area and rename it startscript().
2100 Change protected for private.
2102 2003-04-04 Angus Leeming <leeming@lyx.org>
2105 * text2.C: remove unneeded #includes.
2107 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2109 * text2.C (dEPM): fix the heigth of the next row
2111 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2113 * text.C: squashed an invalid getChar requester + some ws changes
2115 2003-04-03 John Levon <levon@movementarian.org>
2117 * bufferview_funcs.h:
2118 * bufferview_funcs.C:
2121 * text2.C: make getStatus work for the env depth lfuns
2123 2003-04-03 John Levon <levon@movementarian.org>
2125 * bufferview_funcs.h:
2126 * bufferview_funcs.C:
2129 * text2.C: parlistize decDepth(), by merging it with incDepth()
2131 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2133 * lyxrow.h: store a ParagraphList::iterator instead of a
2134 Paragraph* and adjust other class functions to suit.
2136 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2139 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2141 * text2.C (setCursor): do not anchor to cursor row for the time being
2143 2003-04-02 John Levon <levon@movementarian.org>
2150 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2152 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2154 * paragraph.h: make ParagraphList and ParagraphList::iterator
2155 friends of Paragraph.
2157 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2159 * ParagraphList.C: Use the private next_ and previous_ from
2162 2003-04-01 John Levon <levon@movementarian.org>
2166 * Makefile.am: rename, remove defaults gunk
2169 * MenuBackend.C: remove defaults gunk
2172 * Languages.C: remove defaults gunk
2175 * lyx_main.C: error out if files couldn't be found.
2177 2003-04-02 John Levon <levon@movementarian.org>
2179 * text2.C: make incDepth() use parlist
2181 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2183 * undo_funcs.C (firstUndoParagraph): adjust
2185 * text3.C (gotoInset): adjust
2186 (dispatch): adjust, and rewrite loop.
2188 * text2.C (init): adjust, and rewrite loop.
2189 (redoParagraphs): adjust
2190 (updateInset): adjust, and rewrite loop.
2191 (deleteEmptyParagraphMechanism): adjust
2193 * tabular.C (LyXTabular): adjust
2194 (SetMultiColumn): adjust
2197 * lyxtext.[Ch] (ownerParagraph): delete function
2198 (ownerParagraphs): new function returns a ParagraphList.
2200 * BufferView.C (removeAutoInsets): adjust
2201 (insertErrors): adjust
2202 (setCursorFromRow): adjust
2204 2003-04-01 Angus Leeming <leeming@lyx.org>
2206 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2209 2003-04-02 John Levon <levon@movementarian.org>
2215 * text_funcs.C: make transposeChars a free function
2217 * lyxrow_funcs.C: remove wrong comment
2219 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2222 * rowpainter.C: adjust
2227 * lyxrow_funcs. [Ch]: new files
2229 * lyxrow.[Ch]: remove next and previous pointers
2230 (next,previous): remove accessor functions
2231 (isParEnd): move to lyxrow_funcs
2232 (lastPos): move to lyxrow_funcs
2233 (nextRowIsAllInset): move to lyxrow_funcs
2234 (lastPrintablePos): move to lyxrow_funcs
2235 (numberOfSeparators): move to lyxrow_funcs
2236 (numberOfHfills): move to lyxrow_funcs
2237 (numberOfLabelHfills): move to lyxrow_funcs
2238 (hfillExpansion): move to lyxrow_funcs
2242 * bufferview_funcs.C (toggleAndShow): adjust
2244 * RowList.h: Remove class RowList from file leave just a
2247 * RowList.C: delete file
2249 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2252 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2254 * text3.C (cursorPrevious): adjust
2255 (cursorNext): adjust
2258 * text2.C (redoHeightOfParagraph): adjust
2259 (redoDrawingOfParagraph): adjust
2262 * text.C (breakParagraph): adjust
2263 (insertChar): adjust
2266 * rowpainter.C (RowPainter): adjust
2267 (leftMargin): simplify and adjust
2268 (most rowpainter functions): adjust.
2270 * rowpainter.h: store the row as RowList::iterator not as Row*
2272 * lyxcursor.C (row): taka RowList::iterator as arg
2275 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2278 2003-04-01 Angus Leeming <leeming@lyx.org>
2280 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2281 stuff like bool Bool.
2283 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2285 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2288 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2290 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2293 * lyxtext.h (rows): drop one version and leve a const variant that
2294 returns a RowList::iterator.
2296 2003-03-31 Angus Leeming <leeming@lyx.org>
2298 * text.C (fill): ensure that the signature is the same as that in the
2301 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2303 * text2.C (redoParagraphs): adjust
2304 (updateCounters): adjust
2305 (checkParagraph): adjust
2306 (getColumnNearX): adjust and reformat a bit.
2308 * text.C (top_y): adjust
2310 (leftMargin): adjust
2311 (prepareToPrint): adjust
2313 (getRowNearY): adjust
2315 * lyxtext.h: make rowlist_ mutable.
2317 * RowList.h: add const_iterator
2318 * RowList.C: adjust for RowList::const_iterator.
2320 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2323 2003-03-31 John Levon <levon@movementarian.org>
2326 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2328 * lyx_main.C: set default fonts from using lyx_gui funcs
2330 * exporter.C: pdf_mode moved from lyxrc
2333 * lyxfunc.C: changes from above
2335 2003-03-31 John Levon <levon@movementarian.org>
2337 * lyx_main.C: fix to the last fix
2339 2003-03-31 John Levon <levon@movementarian.org>
2341 * bufferlist.C: "Load original" -> "Load Original"
2347 * format.C: more Alert cleanups
2349 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2351 * text2.C (removeParagraph): make it take a RowList::iterator as
2353 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2354 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2356 * text.C (anchor_row): make it take a RowList::iterator as arg,
2358 (computeBidiTables): make it take a const reference to Row instead
2359 of Row pointer, adjust.
2360 (leftMargin): make it take a RowList::iterator as arg, adjust.
2361 (rowBreakPoint): adjust
2362 (breakAgainOneRow): make it take a RowList::iterator as arg,
2364 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2366 * bufferview_funcs.C (toggleAndShow): adjust
2368 2003-03-30 John Levon <levon@movementarian.org>
2372 * boost-inst.C: moved to support
2374 * several files: changes as a result
2376 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2378 * text2.C (LyXText): adjust.
2380 (removeRow): make it take a RowList::iterator as arg, adjust.
2381 (fullRebreak): adjust
2382 (deleteEmptyParagraphMechanism): adjust
2383 (clearPaint): adjust
2386 * text.C (top_y): adjust
2387 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2388 (breakAgain): make it take a RowList::iterator as arg, adjust.
2389 (breakParagraph): adjust
2390 (insertChar): adjust
2393 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2394 need_break_row, and refresh_row.
2396 * text3.C (dispatch): adjust
2398 * text2.C (checkParagraph): adjust
2400 (setCursorFromCoordinates): adjust
2402 * text.C (top_y): adjust
2404 (getRow): make it return a RowList::iterator, adjust
2405 (getRowNearY): make it return a RowList::iterator, adjust
2407 * text2.C (init): adjust
2408 (insertRow): remove function
2409 (insertParagraph): adjust
2410 (redoParagraphs): adjust
2411 (fullRebreak): adjust
2412 (updateCounters): adjust
2414 * text.C (top_y): rewrite to use RowList iterators.
2416 (setHeightOfRow): rewrite to sue RowList iterators.
2417 (appendParagraph): adjust
2418 (breakAgain): adjust
2419 (breakAgainOneRow): adjust
2420 (breakParagraph): adjust
2422 (getRowNearY): adjust, and remove commented code.
2424 * lyxtext.h (firstRow): delete function
2425 (lastRow): delete function
2426 (rows): new function (const and non-const versions.)
2427 (insertRow): delete function
2429 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2431 2003-03-29 John Levon <levon@movementarian.org>
2433 * BufferView_pimpl.C: always update scrollbar top
2434 because pasting text when we're anchored could mean we
2435 miss an update altogether
2437 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2439 * text2.C (init): use rowlist_.end() and not 0.
2440 (insertRow): change to take a RowList::iterator as arg, adjust
2442 (insertParagraph): change to take a RowList::iterator as arg,
2444 (redoParagraphs): remove some debug msgs.
2446 * text.C (appendParagraph): change to take a RowList::iterator
2447 arg, adjust for this.
2448 (breakAgain): add an assert
2449 (breakAgainOneRow): ditto
2451 2003-03-29 John Levon <levon@movementarian.org>
2453 * text2.C: do not clear selection after inc/decDepth
2456 2003-03-29 John Levon <levon@movementarian.org>
2459 * buffer.C: fix broken strerrors according to Lars
2461 2003-03-29 John Levon <levon@movementarian.org>
2463 * converters.C: more Alert cleanups
2465 2003-03-29 John Levon <levon@movementarian.org>
2467 * bufferview_funcs.C: remove pointless Alert
2469 * buffer.C: fix confusing error message when
2470 a template is chmoded 000
2472 2003-03-29 John Levon <levon@movementarian.org>
2476 * BufferView_pimpl.C: Alert fixes
2480 * tabular-old.C: remove unused table compat reading
2482 2003-03-29 John Levon <levon@movementarian.org>
2487 * lyx_cb.C: more Alert cleanups
2489 * lyxfunc.C: don't allow chktex if not latex document
2491 2003-03-29 John Levon <levon@movementarian.org>
2495 * buffer.C: warnings pushed down from support/,
2498 2003-03-29 John Levon <levon@movementarian.org>
2500 * lyxfunc.C: safety check for C-r (revert)
2502 2003-03-29 John Levon <levon@movementarian.org>
2505 * bufferlist.C: several UI fixes using Alert::prompt.
2506 Fix the pointless looping quit code. Fix stupid revert
2511 * lyx_cb.C: use Alert::prompt
2513 * lyx_main.C: remove a silly question
2515 * lyxfunc.C: remove a couple of silly questions,
2518 2003-03-28 John Levon <levon@movementarian.org>
2520 * text2.C: fix bug 974 (End on empty par)
2522 2003-03-28 John Levon <levon@movementarian.org>
2524 * BufferView_pimpl.C:
2526 * lfuns.h: remove do-nothing math greek lfuns
2528 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2530 * lyxgluelength.h (isValidGlueLength): add default arg on
2531 parameter 2. Remove default arg from friend in class.
2533 * lyxlength.h (isValidLength): add default arg on parameter 2.
2534 Remove default arg from friend in class.
2536 * text2.C (LyXText): adjust, initialize refresh_row.
2540 (insertParagraph): adjst
2541 (redoParagraphs): adjust
2542 (fullRebreak): adjust
2543 (updateCounters): adjust
2544 (deleteEmptyParagraphMechanism): first attempt at fixing a
2547 * text.C (top_y): adjust
2548 (setHeightOfRow): adjust
2550 (getRowNearY): adjust
2552 * lyxtext.h: include RowList.h
2553 (~LyXText): not needed anymore, deleted.
2554 (firstRow): modify for RowList
2555 (lastRow): new function
2556 Delete firstrow and lastrow class variables, add a Rowlist
2557 rowlist_ class variable.
2559 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2562 * RowList.C (insert): fix case where it == begin().
2564 2003-03-26 Angus Leeming <leeming@lyx.org>
2566 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2567 the thesaurus dialog.
2569 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2571 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2573 * RowList.[Ch]: new files
2575 * ParagraphList.C (erase): handle the case where it == begin
2578 2003-03-25 John Levon <levon@movementarian.org>
2582 * aspell.C: add new aspell support
2585 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2588 2003-03-25 Angus Leeming <leeming@lyx.org>
2591 * LyXAction.C (init): new LFUN_INSET_INSERT.
2593 * BufferView_pimpl.C (dispatch): split out part of the
2594 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2596 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2599 2003-03-25 Angus Leeming <leeming@lyx.org>
2601 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2603 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2606 * text3.C: remove useless row->height(0)
2608 2003-03-25 John Levon <levon@movementarian.org>
2612 * text3.C: rename the refreshing stuff to better names
2614 2003-03-24 John Levon <levon@movementarian.org>
2616 * BufferView_pimpl.h:
2617 * BufferView_pimpl.C: update layout choice on a mouse
2620 2003-03-23 John Levon <levon@movementarian.org>
2622 * Makefile.am: fix commandtags.h reference
2624 2003-03-22 John Levon <levon@movementarian.org>
2626 * BufferView_pimpl.C:
2631 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2633 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2636 * text.C: take the rtl methods out of line
2638 2003-03-21 André Pönitz <poenitz@gmx.net>
2640 * metricsinfo.[Ch]: new files containing structures to be passed around
2641 during the two-phase-drawing...
2643 2003-03-21 André Pönitz <poenitz@gmx.net>
2645 * lyxtextclass.C: read 'environment' tag.
2647 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2649 * text2.C (removeRow): fix bug 964
2651 2003-03-20 John Levon <levon@movementarian.org>
2655 * text2.C: paint cleanups. Inset::update() dropped font
2658 2003-03-19 John Levon <levon@movementarian.org>
2660 * lyxfunc.C: only fitcursor/markDirty if available()
2662 2003-03-19 John Levon <levon@movementarian.org>
2664 * commandtags.h: rename to ...
2666 * lfuns.h: ... this, and renumber / cleanup
2668 2003-03-19 John Levon <levon@movementarian.org>
2670 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2671 fit the cursor after an lfun
2675 * BufferView_pimpl.h:
2676 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2678 * LyXAction.C: layout-character should have ReadOnly
2680 * ParagraphParameters.C:
2682 * bufferview_funcs.C:
2689 * undo_funcs.C: changes from above
2691 2003-03-18 John Levon <levon@movementarian.org>
2693 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2694 remove it from update()
2696 * lyxfunc.C: update layout choice after an lfun
2698 * text3.C: remove extra updateLayoutChoice()s
2700 2003-03-18 John Levon <levon@movementarian.org>
2702 * text.C: top_y change means full repaint, fix
2703 a drawing bug with cursor movement
2705 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2709 * text2.C: anchor row on setCursor
2711 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2713 * lyxtext.h: remove almost all mutable keywords
2716 * text3.C: remove const keywords accordingly
2718 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2720 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2722 (TeXEnvironment): ditto
2725 2003-03-17 John Levon <levon@movementarian.org>
2727 * text.C (rowBreakPoint): remove attempt to fix displayed
2728 math insets inside a manual label
2730 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2732 * lyxtext.h: remove BufferView* as first arg from almost all class
2734 * other files: adjust.
2736 2003-03-17 John Levon <levon@movementarian.org>
2740 * text2.C: more paint cleanups
2742 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2745 * rowpainter.C: remove "smart" background painting code
2747 2003-03-16 John Levon <levon@movementarian.org>
2752 * text3.C: add helper functions for setting refresh_row/y
2754 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2756 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2757 newline inset which *can* get inserted in the pass_thru layouts.
2758 This is primarily for literate documents.
2760 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2762 * buffer.C: increment LYX_FORMAT to 223
2764 2003-03-14 André Pönitz <poenitz@gmx.net>
2766 * textclass.h: prepare for environment handling, ws changes
2767 * lyxlayout.C: read latexheader and latexfooter tags
2769 2003-03-14 John Levon <levon@movementarian.org>
2771 * text2.C: rewrite ::status() a bit
2773 2003-03-13 John Levon <levon@movementarian.org>
2775 * lyxtext.h: add some docs
2777 2003-03-13 John Levon <levon@movementarian.org>
2782 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2784 2003-03-13 John Levon <levon@movementarian.org>
2786 * text3.C: fix appendix redrawing
2788 2003-03-13 John Levon <levon@movementarian.org>
2790 * text.C (setHeightOfRow):
2792 * rowpainter.C: make appendix mark have the text
2793 "Appendix" so the user knows what it is
2796 * LColor.C: s/appendixline/appendix/ from above
2798 2003-03-13 John Levon <levon@movementarian.org>
2800 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2802 * text.C: fix a getChar(pos) bug properly
2804 2003-03-13 Angus Leeming <leeming@lyx.org>
2807 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2808 Probably only temporary. Let's see how things pan out.
2810 * BufferView.C (unlockInset):
2811 * BufferView_pimpl.C (fitCursor):
2812 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2814 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2815 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2817 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2818 new functions that convert ParagraphParameters to and from a string.
2820 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2821 BufferView::Pimpl's dispatch.
2822 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2824 2003-03-13 André Pönitz <poenitz@gmx.net>
2828 * factory.C: make it aware of InsetEnv
2830 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2832 * text2.C (setCursor): never ask for one past last
2833 (setCursor): add some debugging messages.
2835 * text.C (singleWidth): never ask for one past last
2836 (singleWidth): ditto
2838 (rightMargin): ditto
2839 (rowBreakPoint): ditto
2840 (setHeightOfRow): ditto
2841 (prepareToPrint): ditto
2843 * rowpainter.C (paintBackground): never ask for one past last
2844 (paintText): never ask for one past last
2846 * paragraph_pimpl.C (getChar): make the assert stricter, never
2847 allow the one past last pos to be taken
2849 * paragraph.C (getChar): ws changes only
2851 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2852 (numberOfSeparators): ditto
2853 (numberOfHfills): ditto
2855 2003-03-12 John Levon <levon@movementarian.org>
2861 * paragraph_funcs.C: fix per-buffer authorlists
2863 2003-03-12 John Levon <levon@movementarian.org>
2865 * text.C: fix newline in right address
2867 2003-03-12 Angus Leeming <leeming@lyx.org>
2869 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2870 duplicate those in LyXFunc::dispatch.
2874 * ToolbarDefaults.C:
2875 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2876 Add LFUN_FONTFREE_UPDATE.
2878 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2879 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2881 * bufferview_func.[Ch]: several new functions to facilliate
2882 transfer of data to and from the character dialog.
2884 2003-03-12 John Levon <levon@movementarian.org>
2889 * paragraph_funcs.C:
2890 * paragraph_pimpl.C:
2894 * text3.C: remove META_NEWLINE in favour of an inset
2897 * rowpainter.C: remove paintNewline (done by inset)
2899 2003-03-12 John Levon <levon@movementarian.org>
2901 * paragraph_pimpl.C: complain about bad getChar()s
2902 for a while at least
2904 2003-03-12 John Levon <levon@movementarian.org>
2907 * buffer.C: move paragraph read into a separate function,
2908 a little renaming to reflect that.
2911 * bufferparams.C: remove the author_ids map, not necessary now
2914 * factory.C: moved Buffer::readInset to here
2916 * paragraph_funcs.h:
2917 * paragraph_funcs.C: readParagraph free function moved from
2920 * tabular.C: name change
2922 2003-03-12 John Levon <levon@movementarian.org>
2925 * ParagraphParameters.C: move par params input to
2928 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2929 behave like a normal read from the stream wrt reading
2930 a line vs. a \\token
2932 2003-03-12 John Levon <levon@movementarian.org>
2935 * ParagraphParameters.h:
2936 * ParagraphParameters.C: move output code to a
2939 2003-03-12 John Levon <levon@movementarian.org>
2941 * BufferView.C (insertLyXFile):
2944 * tabular.C: use a parlist iterator for creating the
2947 2003-03-12 John Levon <levon@movementarian.org>
2949 * buffer.C: make current_change static local not
2952 2003-03-12 John Levon <levon@movementarian.org>
2954 * buffer.C: fix insertStringAsLines for change tracking
2956 2003-03-12 John Levon <levon@movementarian.org>
2963 * bufferparams.C: move author list into params. Rename some
2964 functions. Move the header reading into a separate token
2965 loop. Move the header token reading into BufferParams.
2967 2003-03-12 John Levon <levon@movementarian.org>
2969 * changes.C: put debug inside lyxerr.debugging() checks
2971 2003-03-11 André Pönitz <poenitz@gmx.net>
2973 * factory.C: make it aware of InsetHFill
2975 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2977 * buffer.C (latexParagraphs): move function from here...
2978 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2981 2003-03-10 Angus Leeming <leeming@lyx.org>
2983 * LyXAction.C (init): fix bug in poplating array with multiple entries
2984 with the same LFUN (spotted by JMarc).
2986 2003-03-10 John Levon <levon@movementarian.org>
2989 * text2.C: move getColumnNearX() near its
2992 2003-03-10 John Levon <levon@movementarian.org>
2994 * text.C: fix break before a minipage
2996 2003-03-10 John Levon <levon@movementarian.org>
2998 * text.C: fix the last commit
3000 2003-03-09 John Levon <levon@movementarian.org>
3004 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3005 bug 365 (don't break before insets unless needed). Don't
3006 return a value > last under any circumstances.
3008 2003-03-09 Angus Leeming <leeming@lyx.org>
3010 * BufferView_pimpl.C (trackChanges, dispatch): call
3011 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3013 2003-03-09 Angus Leeming <leeming@lyx.org>
3015 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3016 than Dialogs::showAboutlyx().
3018 2003-03-09 Angus Leeming <leeming@lyx.org>
3020 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3021 than Dialogs::showTabularCreate().
3023 2003-03-09 John Levon <levon@movementarian.org>
3027 * text2.C: 3rd arg to nextBreakPoint was always the same.
3030 2003-03-08 John Levon <levon@movementarian.org>
3037 * text2.C: Remove the "main" bit from the "main body"
3040 2003-03-08 John Levon <levon@movementarian.org>
3042 * text.C (leftMargin): The left margin of an empty
3043 manual label paragraph should not include the label width
3046 * text.C (prepareToPrint): don't attempt to measure hfills
3047 for empty manual label paragraphs - the answer should be 0
3049 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3051 * CutAndPaste.C: remove commented code and reindent.
3053 2003-03-08 John Levon <levon@movementarian.org>
3056 * lyxfunc.C: move reloadBuffer()
3059 * BufferView.C: to here
3061 * lyxvc.C: add comment
3064 * vc-backend.C: call bv->reload() to avoid
3065 getStatus() check on MENURELOAD
3067 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3069 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3070 to an old format .dep file.
3072 2003-03-07 Angus Leeming <leeming@lyx.org>
3074 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3075 when the LFUN_MOUSE_RELEASE should have been handled by
3076 inset->localDispatch.
3078 2003-03-07 Angus Leeming <leeming@lyx.org>
3080 * BufferView_pimpl.C (dispatch):
3081 * LyXAction.C (init):
3082 * ToolbarDefaults.C (init):
3084 * lyxfunc.C (getStatus):
3085 remove LFUN_INSET_GRAPHICS.
3087 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3089 2003-03-07 Angus Leeming <leeming@lyx.org>
3092 * LyXAction.C (init):
3093 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3095 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3098 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3100 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3101 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3103 2003-03-07 Angus Leeming <leeming@lyx.org>
3105 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3108 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3110 * ParagraphList.C (front): new function
3113 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3115 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3116 and top_row_offset_. removed var first_y.
3118 * text2.C (LyXText, removeRow):
3120 * BufferView_pimpl.C:
3121 use these methods instead of using first_y
3123 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3125 * text2.C (pasteSelection): adjust for checkPastePossible
3127 * CutAndPaste.C: remove Paragraph * buf and replace with
3128 ParagraphList paragraphs.
3129 (DeleteBuffer): delete
3130 (cutSelection): change the tc type to textclass_type
3131 (copySelection): change the tc type to textclass_type
3132 (copySelection): adjust for ParagraphList
3133 (pasteSelection): change the tc type to textclass_type
3134 (pasteSelection): adjust for Paragraphlist
3135 (nrOfParagraphs): simplify for ParagraphList
3136 (checkPastePossible): simplify for ParagraphList
3137 (checkPastePossible): remove unused arg
3139 * ParagraphList.C (insert): handle the case where there are no
3142 * CutAndPaste.h: make CutAndPaste a namespace.
3144 * text3.C (dispatch): adjust
3146 * text.C (breakParagraph): add a ParagraphList as arg
3148 * paragraph_funcs.C (breakParagraph): change to take a
3149 BufferParams and a ParagraphList as args.
3150 (breakParagraphConservative): ditto
3151 (mergeParagraph): ditto
3152 (TeXDeeper): add a ParagraphList arg
3153 (TeXEnvironment): ditto
3156 * buffer.C (readLyXformat2): adjust
3157 (insertStringAsLines): adjust
3158 (latexParagraphs): adjust
3160 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3161 (cutSelection): adjust
3162 (pasteSelection): adjust
3164 * BufferView_pimpl.C (insertInset): adjust
3166 2003-03-05 Angus Leeming <leeming@lyx.org>
3169 * LyXAction.C (init):
3170 * BufferView_pimpl.C (dispatch):
3171 * lyxfunc.C (getStatus):
3172 remove LFUN_CHILD_INSERT.
3174 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3176 2003-03-05 Angus Leeming <leeming@lyx.org>
3179 * LyXAction.C (init):
3180 * src/factory.C (createInset):
3181 * lyxfunc.C (getStatus):
3182 * text3.C (dispatch):
3183 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3185 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3187 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3189 * ParagraphList.C (insert): handle insert right before end()
3190 (erase): fix cases where it can be first or last paragraph.
3192 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3194 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3195 Paragraph::next and Paragraph::previous
3198 * text.C (breakParagraph): adjust
3200 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3201 BufferParams& as arg.
3202 (breakParagraph): use ParagraphList::insert
3203 (breakParagraphConservative): take a Buffer* instead of a
3204 BufferParams& as arg.
3205 (breakParagraphConservative): use ParagraphList::insert.
3207 * buffer.C (insertStringAsLines): un-const it
3208 (insertStringAsLines): adjust
3210 * ParagraphList.C (insert): new function
3212 * CutAndPaste.C (pasteSelection): adjust
3214 * text.C (backspace): adjust
3216 * tabular.C (SetMultiColumn): adjust
3218 * CutAndPaste.C (cutSelection): adjust
3219 (pasteSelection): adjust
3221 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3222 Buffer const * as arg
3224 * ParagraphList.C (erase): new function
3225 * paragraph_funcs.C (mergeParagraph): use it
3226 (mergeParagraph): make it take a Buffer* instead of a
3227 BufferParams* as arg
3229 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3231 (breakParagraphConservative): ditto
3233 * paragraph.h: remove the breakParagraph friend
3235 * paragraph.C (eraseIntern): new function
3236 (setChange): new function
3238 * paragraph_funcs.C (mergeParagraph): make it take a
3239 ParagraphList::iterator instead of a Paragraph *, adjust
3242 * paragraph.h: move an #endif so that the change tracking stuff
3243 also works in the NO_NEXT case.
3245 2003-03-04 Angus Leeming <leeming@lyx.org>
3248 * LyXAction.C: new LFUN_INSET_MODIFY.
3250 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3251 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3253 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3255 * several files: ws changes only
3257 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3258 (TeXEnvironment): ditto
3261 * buffer.C (makeLaTeXFile): adjust
3262 (latexParagraphs): make it take ParagraphList::iterator as args
3264 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3266 * buffer.C (latexParagraphs): adjust
3268 * paragraph.C (TeXOnePar): move function...
3269 (optArgInset): move function...
3270 (TeXEnvironment): move function...
3271 * paragraph_pimpl.C (TeXDeeper): move function...
3272 * paragraph_funcs.C: ...here
3274 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3276 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3278 * buffer.C (readInset): remove compability code for old Figure and
3281 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3283 * buffer.C: ws changes
3286 * BufferView_pimpl.C: ditto
3289 * bufferlist.h: ditto
3293 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3295 * converter.[Ch]: split into itself +
3298 * Makefile.am: += graph.[Ch] + format.[Ch]
3305 * lyxrc.C: added #include "format.h"
3307 2003-02-27 Angus Leeming <leeming@lyx.org>
3309 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3312 * factory.C (createInset): add "label" to the factory.
3314 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3315 string and do no more.
3317 2003-02-27 Angus Leeming <leeming@lyx.org>
3320 * LyXAction.C (init):
3321 * factory.C (createInset):
3322 * BufferView_pimpl.C (dispatch):
3323 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3325 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3327 * lyxfunc.C (dispatch):
3328 * text3.C (dispatch): pass name to params2string.
3330 2003-02-26 Angus Leeming <leeming@lyx.org>
3332 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3334 Rearrange the ~includes. Strip out the unnecessary ones.
3336 * factory.C (createInset): reformat.
3337 create new insets for the various LFUN_XYZ_APPLY lfuns.
3339 2003-02-26 John Levon <levon@movementarian.org>
3342 * lyxrow.C: add isParStart,isParEnd helpers
3344 * paragraph.h: make isInserted/DeletedText take refs
3346 * paragraph_funcs.h:
3347 * paragraph_funcs.C: remove #if 0'd code
3352 * text.C: use lyxrow helpers above.
3353 Move draw and paint routines to RowPainter.
3354 Make several methods use refs not pointers.
3355 Make backgroundColor() const.
3356 Add markChangeInDraw(), isInInset().
3357 Merge changeRegionCase into changeCase.
3358 Make workWidth() shouldn't-happen code into an Assert.
3361 * rowpainter.C: new class for painting a row.
3364 * vspace.C: make inPixels take a ref
3366 2003-02-26 Angus Leeming <leeming@lyx.org>
3368 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3371 2003-02-25 John Levon <levon@movementarian.org>
3373 * ispell.C: give the forked command a more accurate name
3375 2003-02-22 John Levon <levon@movementarian.org>
3378 * toc.C: make TocItem store an id not a Paragraph *
3381 2003-02-21 Angus Leeming <leeming@lyx.org>
3383 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3384 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3385 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3386 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3387 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3388 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3390 * BufferView_pimpl.C (dispatch):
3391 * LyXAction.C (init):
3392 * factory.C (createInset):
3393 * lyxfunc.C (getStatus, dispatch):
3394 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3396 2003-02-21 Angus Leeming <leeming@lyx.org>
3398 * BufferView_pimpl.C (MenuInsertLyXFile):
3399 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3400 * lyxfunc.C (menuNew, open, doImport):
3401 no longer pass a LyXView & to fileDlg.
3403 2003-02-21 Angus Leeming <leeming@lyx.org>
3405 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3406 * LyXAction.C: change, BIBKEY to BIBITEM.
3407 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3408 Change InsetBibKey to InsetBibitem.
3409 Change BIBKEY_CODE to BIBITEM_CODE.
3410 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3411 * factory.C: replace insetbib.h with insetbibitem.h.
3412 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3413 * paragraph.C: replace insetbib.h with insetbibitem.h.
3414 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3415 Change bibkey() to bibitem().
3416 * text.C: remove insetbib.h.
3417 * text2.C: replace insetbib.h with insetbibitem.h.
3418 change bibkey() to bibitem().
3419 * text3.C: remove insetbib.h.
3420 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3422 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3424 * lyxrc.C (output): enclose user email in quotes (in case there are
3427 2003-02-18 John Levon <levon@movementarian.org>
3429 * buffer.h: add std::
3431 2003-02-17 John Levon <levon@movementarian.org>
3437 * pspell.C: reworking. Especially in ispell, a large
3438 number of clean ups and bug fixes.
3440 * lyxfunc.C: fix revert to behave sensibly
3442 2003-02-17 André Pönitz <poenitz@gmx.net>
3445 * commandtags.h: new LFUN_INSERT_BIBKEY
3455 * paragraph_func.C: remove special bibkey handling
3457 2003-02-17 John Levon <levon@movementarian.org>
3459 * text.C (Delete): fix case where delete at the end of
3460 the very first paragraph would not merge the pars
3462 2003-02-17 John Levon <levon@movementarian.org>
3464 * lyxrow.C: fix lastPrintablePos()
3466 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3468 * bufferparams.C (writeLaTeX): add a std:here
3470 * buffer.C: and remove a using directive there
3472 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3474 * buffer.C (makeLaTeXFile): move the code that generates the
3477 * bufferparams.C (writeLaTeX): ... in this new method
3479 * LaTeXFeatures.C (getEncodingSet): make const
3480 (getLanguages): make const
3482 * MenuBackend.C (binding): returns the binding associated to this
3484 (add): sets the status of each item by calling getStatus. Adds
3486 (read): add support for OptSubMenu
3487 (expand): remove extra separator at the end of expanded menu
3489 2003-02-15 John Levon <levon@movementarian.org>
3492 * BufferView_pimpl.C:
3494 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3495 inset code that had no actual effect. Remove unneeded status
3498 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3500 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3503 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3505 * text.C (drawLengthMarker): also draw an arrow marker for
3506 symbolic lengths (medskip...)
3508 2003-02-14 John Levon <levon@movementarian.org>
3511 * tabular.C: better method names
3513 2003-02-14 John Levon <levon@movementarian.org>
3515 * BufferView_pimpl.C:
3520 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3521 it's a more accurate name. Remove some pointless uses.
3523 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3525 * text2.C (LyXText): change order of initilizers to shut off
3528 2003-02-14 John Levon <levon@movementarian.org>
3530 * buffer.C: use ParIterator for getParFromID()
3534 * paragraph_pimpl.h:
3535 * paragraph_pimpl.C: remove unused getParFromID()
3537 2003-02-14 John Levon <levon@movementarian.org>
3539 * buffer.C: remove some very old #if 0'd parse code
3541 2003-02-13 John Levon <levon@movementarian.org>
3545 * text2.C: move hfillExpansion(), numberOfSeparators(),
3546 rowLast(), rowLastPrintable(), numberofHfills(),
3547 numberOfLabelHfills() ...
3550 * lyxrow.C: ... to member functions here.
3555 * text.C: remove LyXText::beginningOfMainBody(), and call
3556 p->beginningOfMainBody() directly. Move the check for
3557 LABEL_MANUAL into the latter.
3564 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3570 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3571 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3573 2003-02-13 John Levon <levon@movementarian.org>
3575 * CutAndPaste.C: remove debug
3577 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3579 * paragraph.C (asString): remove two unused variables
3581 * lyxtextclass.C (readTitleType):
3583 (LyXTextClass): handle new members titletype_ and titlename_
3585 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3587 2003-02-09 John Levon <levon@movementarian.org>
3590 * buffer.C: replace hand-coded list with a map for the dep clean
3592 2003-02-08 John Levon <levon@movementarian.org>
3594 * LaTeX.C: consolidate code into showRunMessage() helper
3596 2003-02-08 John Levon <levon@movementarian.org>
3601 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3602 and pass the size in explicitly
3604 * BufferView_pimpl.h:
3605 * BufferView_pimpl.C:
3607 * BufferView.C: add getCurrentChange()
3609 * BufferView_pimpl.h:
3610 * BufferView_pimpl.C: handle change lfuns
3612 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3613 for changes. Mark pasted paragraphs as new.
3615 * support/lyxtime.h:
3616 * support/lyxtime.C:
3617 * DepTable.C: abstract time_t as lyx::time_type
3620 * LColor.C: add colours for new text, deleted text, changebars
3622 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3623 package use "usenames" option.
3627 * LyXAction.C: add change lfuns
3631 * author.C: author handling
3634 * buffer.C: add a per-buffer author list, with first entry as
3635 current author. Handle new .lyx tokens for change tracking. Output
3636 author list to .lyx file. Output dvipost stuff to .tex preamble.
3637 Bump lyx format to 222.
3640 * bufferlist.C: add setCurrentAuthor() to reset current author details
3644 * bufferparams.C: add param for tracking
3646 * bufferview_funcs.C: output change info in minibuffer
3650 * changes.C: add change-tracking structure
3653 * debug.C: add CHANGES debug flag
3656 * lyxfind.C: add code for finding the next change piece
3659 * lyxrc.C: add user_name and user_email
3662 * lyxrow.C: add a metric for the top of the text line
3665 * text.C: implement accept/rejectChange()
3668 * text.C: paint changebars. Paint new/deleted text in the chosen
3669 colours. Strike through deleted text.
3673 * paragraph_pimpl.h:
3674 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3675 in the current change to the insert functions. Rework erase to
3676 mark text as deleted, adding an eraseIntern() and a range-based
3677 erase(). Implement per-paragraph change lookup and
3680 * paragraph_funcs.C: Fixup paste for change tracking.
3682 * tabular.C: mark added row/columns as new.
3684 * text.C: fix rowLast() to never return -1. Don't allow
3685 spellchecking of deleted text. Track transpose changes. Don't
3686 allow paragraph break or merge where appropriate.
3688 * text2.C: leave cursor at end of selection after a cut.
3690 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3692 * text.C (getLengthMarkerHeight):
3693 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3694 visible on screen too.
3696 2003-02-07 John Levon <levon@movementarian.org>
3698 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3700 2003-02-05 Angus Leeming <leeming@lyx.org>
3702 * lyxserver.C (read_ready): revert my patch of 11 September last year
3703 as it sends PC cpu through the roof. Presumably this means that
3704 the lyxserver will no longer run on an Alpha...
3706 2003-01-30 Angus Leeming <leeming@lyx.org>
3708 * factory.C (createInset): create an InsetCommandParam of type "index"
3709 and use it to 'do the right thing'.
3711 * text2.C (getStringToIndex): ensure that cursor position is always
3712 reset to the reset_cursor position.
3714 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3716 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3719 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3723 * lyxfunc.C: Output messages with identical spelling, punctuation,
3726 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3728 * MenuBackend.C (expandFormats): List only viewable export formats
3731 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3734 * lyxfunc.C (getStatus): Make sure that formats other than
3735 "fax" can also be disabled
3737 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3739 * text3.C (dispatch): put the lfuns that insert insets in 3
3740 groups, and call doInsertInset with appropriate arguments.
3741 (doInsertInset): new function, that creates an inset and inserts
3742 it according to some boolean parameters.
3744 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3746 * buffer.C (readFile): remember to pass on 'par' when calling
3747 readFile recursively.
3749 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3751 * MenuBackend.C (expandFormats): add "..." to import formats.
3753 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3755 * paragraph.C (asString): Remove XForms RTL hacks.
3757 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3758 * buffer.C: fix typo
3760 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3762 * Makefile.am (LIBS): delete var
3763 (lyx_LDADD): add @LIBS@ here instead.
3765 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3767 * Clarify the meaning of "wheel mouse jump"
3769 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3771 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3774 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3776 * importer.C (Loaders): do not preallocate 3 elements in the
3777 vector, since one ends up with 6 elements otherwise
3779 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3781 * DepTable.C (write): write the file name as last element of the
3782 .dep file (because it may contain spaces)
3783 (read): read info in the right order
3785 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3787 * paragraph_pimpl.C (simpleTeXBlanks):
3788 (simpleTeXSpecialChars):
3789 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3791 * tabular.C (latex): add some missing case statements. Reindent.
3793 * MenuBackend.C (expandToc): remove unused variable.
3795 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3804 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3807 2003-01-05 John Levon <levon@movementarian.org>
3810 * BufferView.C: add getEncoding()
3813 * kbsequence.C: do not store last keypress
3816 * lyxfunc.C: store last keypress here instead. Pass encoding
3819 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3821 * lyx_main.C (init): remove annoying error message when following
3822 symbolic links (bug #780)
3824 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3826 * text.C (insertChar):
3827 * lyxrc.C (getDescription): remove extra spaces
3829 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3831 * lyxrc.C (getDescription): remove extra spaces
3833 2002-12-20 John Levon <levon@movementarian.org>
3835 * text3.C: hack fix for page up/down across tall rows
3837 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3839 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3842 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3844 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3845 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3846 thesaurus is not compiled in
3848 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3850 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3852 2002-12-16 Angus Leeming <leeming@lyx.org>
3855 * lyx_main.C (init): remove override_x_deadkeys stuff.
3857 2002-12-12 John Levon <levon@movementarian.org>
3859 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3860 insert. Only remove shift modifier under strict
3863 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3865 * MenuBackend.C (expandToc): fix crash.
3867 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3869 * MenuBackend.C (expandToc): gettext on float names.
3871 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3873 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3874 implement bool empty() [bug 490]
3876 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3878 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3880 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3882 * several files: ws changes
3884 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3886 * text2.C (setCounter): clean up a bit, use boost.format.
3887 (updateCounters): initialize par upon declaration.
3889 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3890 if the layout exists. We do not just store the layout any more.
3891 (SwitchLayoutsBetweenClasses): use boost.format
3893 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3895 * converter.C (convert): if from and to files are the same, use a
3896 temporary files as intermediary
3898 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3901 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3903 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3905 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3907 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3909 * tabular.C (asciiPrintCell): use string(size, char) instead of
3912 * sgml.C (openTag): fix order of arguments to string constructor
3915 * lyxfunc.C (dispatch): use boost.format
3917 * lots of files: change "c" -> 'c'
3919 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3921 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3923 2002-11-25 Angus Leeming <leeming@lyx.org>
3925 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3927 * lyx_main.C (init): compile fix.
3929 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3931 * lyx_cb.C (start): boost.formatify
3932 do not include <iostream>
3934 * lengthcommon.C: ws only
3936 * boost-inst.C,BoostFormat.h: add more explict instantations
3938 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3940 * lots of files: handle USE_BOOST_FORMAT
3942 2002-11-21 John Levon <levon@movementarian.org>
3944 * pspell.C: fix compile
3946 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3948 * lyxfunc.C (dispatch): use boost::format
3952 * lyxfont.C (stateText): use boost::format
3954 * lyx_main.C (LyX): use boost::format
3956 (queryUserLyXDir): ditto
3959 (typedef boost::function): use the recommened syntax.
3961 * importer.C (Import): use boost::format
3963 * debug.C (showLevel): use boost::format
3965 * converter.C (view): use boost::format
3970 * bufferview_funcs.C (currentState): use boost::format
3972 * bufferlist.C (emergencyWrite): use boost::format
3974 * buffer.C (readLyXformat2): use boost::format
3975 (parseSingleLyXformat2Token): ditto
3977 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3979 * LaTeX.C (run): use boost::format
3981 * Chktex.C (scanLogFile): use boost::format
3983 * BufferView_pimpl.C (savePosition): use boost::format
3984 (restorePosition): ditto
3985 (MenuInsertLyXFile): ditto
3987 * BoostFormat.h: help file for explicit instation.
3989 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3991 * tabular.C (latex): Support for block alignment in fixed width
3994 2002-11-17 John Levon <levon@movementarian.org>
3996 * BufferView_pimpl.C:
3998 * lyxfunc.C: split filedialog into open/save
4000 2002-11-08 Juergen Vigna <jug@sad.it>
4002 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4003 by my last patch (hopefully).
4005 2002-11-08 John Levon <levon@movementarian.org>
4014 * toc.C: ParConstIterator, and use it (from Lars)
4016 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4018 * lyxtextclass.[Ch]: revise and add doxygen comments
4020 2002-11-07 John Levon <levon@movementarian.org>
4022 * text.C: fix progress value for spellchecker
4024 * toc.C: fix navigate menu for insetwrap inside minipage
4026 * paragraph_funcs.C: added FIXME for suspect code
4028 2002-11-07 John Levon <levon@movementarian.org>
4030 * BufferView_pimpl.C: fix redrawing of insets
4033 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4035 * text2.C (updateCounters): fix bug 668
4037 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4039 * text3.C (dispatch): Do not make the buffer dirty when moving the
4042 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4044 * vc-backend.C: STRCONV
4047 * text2.C (setCounter): STRCONV
4049 * paragraph.C (asString): STRCONV
4051 * lyxlength.C (asString): STRCONV
4052 (asLatexString): ditto
4054 * lyxgluelength.C (asString): STRCONV
4055 (asLatexString): ditto
4057 * lyxfunc.C (dispatch): STRCONV
4060 * lyxfont.C (stateText): STRCONV
4062 * importer.C (Import): STRCONV
4064 * counters.C (labelItem): STRCONV
4065 (numberLabel): ditto
4066 (numberLabel): remove unused ostringstream o
4071 * bufferview_funcs.C (currentState): STRCONV
4073 * buffer.C (readFile): STRCONV
4074 (asciiParagraph): ditto
4075 (makeLaTeXFile): ditto
4077 * Spacing.C (writeEnvirBegin): STRCONV
4079 * LaTeXFeatures.C (getLanguages): STRCONV
4080 (getPackages): ditto
4082 (getBabelOptions): ditto
4083 (getTClassPreamble): ditto
4084 (getLyXSGMLEntities): ditto
4085 (getIncludedFiles): ditto
4089 (scanAuxFile): ditto
4092 * LString.h: add the STRCONV macros
4094 * BufferView_pimpl.C (savePosition): STRCONV
4095 (restorePosition): ditto
4096 (MenuInsertLyXFile): ditto
4098 * vc-backend.C (scanMaster): change from submatch[...] to
4101 * funcrequest.C: include config.h
4103 * factory.C: include config.h
4105 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4107 * box.C: include config.h
4109 * LaTeX.C (scanAuxFile): change from submatch[...] to
4113 2002-10-25 Angus Leeming <leeming@lyx.org>
4115 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4117 * ispell.[Ch] (setError): new method.
4118 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4119 Use setError() insetead of goto END.
4121 * lyx_cb.C (AutoSave): move out child process into new class
4124 2002-10-30 John Levon <levon@movementarian.org>
4126 * text3.C: make start appendix undoable
4128 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4130 * lyxlength.C (inPixels): Fix returned value.
4132 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4135 2002-10-24 Angus Leeming <leeming@lyx.org>
4137 * lyxgluelength.h: no need to forward declare BufferParams
4138 or BufferView, so don't.
4140 2002-10-21 John Levon <levon@movementarian.org>
4142 * BufferView.C: menuUndo ->undo, redo
4144 * BufferView.h: document, remove dead, make some methods private
4146 * paragraph_funcs.h:
4147 * paragraph_funcs.C:
4148 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4153 * sgml.C: move sgml open/close tag into sgml.C
4155 * bufferview_funcs.h: unused prototype
4158 * lyxfunc.C: remove unused
4161 * text.C: remove unused
4163 2002-10-21 John Levon <levon@movementarian.org>
4167 * BufferView_pimpl.h:
4168 * BufferView_pimpl.C: fix mouse wheel handling based on
4169 patch from Darren Freeman
4171 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4173 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4175 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4177 * lyxlength.C (inPixels): Fix hanfling of negative length.
4178 Fix LyXLength::MU case.
4180 2002-10-16 John Levon <levon@movementarian.org>
4182 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4184 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4186 * converter.C (view): add support for $$i (file name) and $$p
4187 (file path) for the viewer command. If $$i is not specified, then
4188 it is appended to the command (for compatibility with old syntax)
4190 2002-10-14 Juergen Vigna <jug@sad.it>
4192 * undo_funcs.C (textHandleUndo): alter the order in which the
4193 new undopar is added to the LyXText, as we have to set first
4194 the right prev/next and then add it as otherwise the rebuild of
4195 LyXText is not correct. Also reset the cursor to the right paragraph,
4196 with this IMO we could remove the hack in "redoParagraphs()".
4198 2002-10-09 Angus Leeming <leeming@lyx.org>
4200 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4201 to turn off an optimisation if a new inset is to be inserted.
4203 2002-10-11 André Pönitz <poenitz@gmx.net>
4205 * lyxtext.h: make some functions public to allow access
4206 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4208 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4210 * text3.C (dispatch): when changing layout, avoid an infinite loop
4213 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4215 * lyxrc.C (read): treat a viewer or converter command of "none" as
4218 * MenuBackend.C (expandFormats): for an update, also allow the
4219 formats that are not viewable
4221 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4222 script if it is newer than the lyxrc.defaults in user directory
4224 2002-10-07 André Pönitz <poenitz@gmx.net>
4226 * text.C: Vitaly Lipatov's small i18n fix
4228 2002-09-25 Angus Leeming <leeming@lyx.org>
4230 * ispell.h: doxygen fix.
4232 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4234 * buffer.h (readFile): Add a new argument to the method, to allow
4235 reading of old-format templates.
4237 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4239 * toc.C (getTocList): Get TOC from InsetWrap.
4241 2002-09-16 John Levon <levon@movementarian.org>
4243 * lyxfunc.C: check tabular for cut/copy too
4245 2002-09-12 John Levon <levon@movementarian.org>
4250 * factory.C: add header
4252 * paragraph_funcs.h:
4253 * paragraph_funcs.C: cleanup
4255 2002-09-11 John Levon <levon@movementarian.org>
4257 * PrinterParams.h: odd/even default to true
4259 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4261 * PrinterParams.h: update printer parameters for new xforms dialog
4263 2002-09-11 Angus Leeming <leeming@lyx.org>
4265 * lyxserver.C (read_ready): re-write to make it more transparent
4266 and to make it work in coherent fashion under Tru64 Unix.
4268 2002-09-11 André Pönitz <poenitz@gmx.net>
4272 * text3.C: implement LFUN_WORDSEL
4274 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4276 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4277 make floatlist_ a boost::shared_ptr<FloatList>
4279 * lyxtextclass.C: include FloatList.h
4280 (LyXTextClass): initialize floatlist_
4281 (TextClassTags): add TC_NOFLOAT
4282 (Read): match "nofloat" to TC_NOFLOAT and use it.
4283 (readFloat): modify call to floatlist_
4287 * FloatList.[Ch] (FloatList): remove commented out float
4289 (erase): new function
4291 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4293 * MenuBackend.C (expandToc): fix crash when there is no document
4296 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4298 * many files: Add insetwrap.
4300 2002-09-09 John Levon <levon@movementarian.org>
4302 * text2.C: remove confusing and awkward depth wraparound
4304 2002-09-09 John Levon <levon@movementarian.org>
4306 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4309 * buffer.C: remove getIncludeonlyList()
4312 * lyxfunc.C: remove headers
4314 2002-09-09 Juergen Vigna <jug@sad.it>
4316 * text.C (getColumnNearX): fix form Michael this is most
4317 probably a cut&paste bug.
4319 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4321 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4323 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4324 references, ws changes.
4326 * text2.C (init): update counters after init
4327 (insertParagraph): no need to set counter on idividual paragraphs.
4328 (setCounter): access the counters object in the textclass object
4329 on in the buffer object.
4330 (updateCounters): ditto
4332 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4333 shared_ptr<Counters> to avoid loading counters.h in all
4335 (LyXTextClass): initialize ctrs_
4336 (TextClassTags): add TC_COUNTER, and ...
4337 (Read): use it here.
4338 (CounterTags): new tags
4339 (readCounter): new function
4340 (counters): new funtion
4341 (defaultLayoutName): return a const reference
4343 * counters.C (Counters): remove contructor
4344 (newCounter): remove a couple of unneeded statements.
4345 (newCounter): simplify a bit.
4346 (numberLabel): some small formatting changes.
4348 * buffer.[Ch]: remove all traces of counters, move the Counters
4349 object to the LyXTextClass.
4351 2002-09-06 Alain Castera <castera@in2p3.fr>
4353 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4354 package to set the horizontal alignment on fixed width columns.
4357 * lyx_sty.h: added tabularnewline macro def.
4359 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4361 2002-09-06 John Levon <levon@movementarian.org>
4363 * LyXAction.C: tooltips for sub/superscript
4365 * MenuBackend.C: a bit more verbose
4367 * lyxfunc.C: tiny clean
4369 * undo_funcs.C: document undo_frozen
4371 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4373 * counters.C (Counters): add missing algorithm counter.
4375 * text2.C (setCounter): lookup the counter with layouts latexname
4376 instead of by section number.
4377 (setCounter): use a hackish way to lookup the correct enum
4379 a float name->type change
4380 reset enum couners with counter name directly instead of depth value.
4382 * counters.C (Counters): remove the push_backs, change to use the
4383 float type not the float name.
4384 (labelItem): remove unused string, float name->type change
4386 * counters.h: don't include vector, loose the enums and sects vectors
4388 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4390 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4391 (Read): add float->TC_FLOAT to textclassTags
4392 (Read): and handle it in the switch
4393 (readFloat): new function
4395 * FloatList.C (FloatList): comment out the hardcoded float
4398 * lyxlayout.h: ws change.
4400 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4402 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4404 2002-09-03 Angus Leeming <leeming@lyx.org>
4406 * BufferView_pimpl.h: qualified name is not allowed in member
4407 declaration: WorkArea & Pimpl::workarea() const;
4409 * factory.C: added using std::endl directive.
4411 * text3.C: added using std::find and std::vector directives.
4413 2002-08-29 André Pönitz <poenitz@gmx.net>
4416 * text2.C: remove unused member number_of_rows
4419 * BufferView2.C: remove file, move contents to...
4420 * BufferView.C: ... here
4422 * BufferView_pimpl.C:
4423 * factory.C: move more inset creation to factory
4425 * vspace.C: avoid direct usage of LyXText, ws changes
4428 don't provide direct access to WorkArea, use two simple
4429 acessors haveSelction() and workHeight() instead
4432 2002-08-29 John Levon <levon@movementarian.org>
4434 * BufferView_pimpl.C (dispatch): do not continue when
4437 2002-08-28 André Pönitz <poenitz@gmx.net>
4439 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4442 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4444 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4446 * buffer.C: increment LYX_FORMAT to 221
4448 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4449 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4451 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4453 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4455 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4457 * factory.C (createInset): use LyXTextClass::floats
4459 * MenuBackend.C (expandFloatListInsert):
4460 (expandFloatInsert):
4463 * text2.C (setCounter):
4465 * LaTeXFeatures.C (useFloat):
4466 (getFloatDefinitions):
4468 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4470 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4471 floatlist_, with accessor floats().
4473 * FloatList.h: remove global FloatList
4475 2002-08-26 André Pönitz <poenitz@gmx.net>
4477 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4481 * BufferView_pimpl.C:
4482 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4484 2002-08-25 John Levon <levon@movementarian.org>
4486 * LyXAction.C: fix margin note description
4488 2002-08-24 John Levon <levon@movementarian.org>
4492 * bufferview_funcs.C:
4494 * undo_funcs.C: cleanups
4496 * lyxfunc.C: disable CUT/COPY when no selection
4498 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4500 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4501 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4503 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4504 Add backward compatibility to "mono", "gray" and "no".
4506 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4508 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4509 (and file_format >= 200).
4511 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4513 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4515 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4517 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4519 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4521 * BufferView_pimpl.C:
4528 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4529 inset and code to make it work with the paragraph code. The inset
4530 can be anywhere in the paragraph, but will only do the expected
4531 thing in LaTeX if the layout file contains the parameter line
4533 (or more generally, a nonzero value) for that layout.
4535 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4537 * paragraph.h: remove the declaration of undefined counters class
4540 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4542 * text2.C (setCounter): fixed enumeration mis-count as reported by
4543 Dr. Richard Hawkins.
4545 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4547 * paragraph_funcs.h: remove some unneeded includes
4549 * text.C (backspace): pasteParagraph now in global scipe
4551 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4552 (pasteSelection): ditto
4554 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4555 * paragraph_funcs.C (pasteParagraph): ... here
4557 2002-08-20 André Pönitz <poenitz@gmx.net>
4559 * commandtags.h: new LFUNs for swapping/copying table row/colums
4562 * lyxfunc.C: support for new lfuns
4564 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4567 * buffer.[Ch]: remove NO_COMPABILITY stuff
4569 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4571 * boost.C (throw_exception): new file, with helper function for
4572 boost compiled without exceptions.
4577 * ParameterStruct.h:
4578 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4580 * bufferlist.C (emergencyWriteAll): use boost bind
4582 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4584 * text.C: include paragraph_funcs.h
4585 (breakParagraph): breakParagraph is now in global scope
4587 * paragraph_funcs.[Ch]: new files
4589 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4592 * buffer.C: include paragraph_funcs.h
4593 (insertStringAsLines): breakParagraph is now in global scope
4595 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4598 * CutAndPaste.C: include paragraph_funcs.h
4599 (cutSelection): breakParagraphConservative is now in global scope
4600 (pasteSelection): ditto
4602 * buffer.h: declare oprator== and operator!= for
4603 Buffer::inset_iterator
4605 * bufferlist.C (emergencyWrite): don't use fmt(...)
4607 * text3.C: add using std::endl
4609 * BufferView.C (moveCursorUpdate): remove default arg
4611 2002-08-20 André Pönitz <poenitz@gmx.net>
4613 * buffer.[Ch]: move inline functions to .C
4616 * BufferView_pimpl.C:
4618 * buffer.[Ch]: use improved inset_iterator
4621 * paragraph.[Ch]: write one paragraph at a time
4623 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4625 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4626 style if style is not specified.
4628 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4630 * text2.C (setCounter): when searching for right label for a
4631 caption, make sure to recurse to parent insets (so that a caption
4632 in a minipage in a figure float works) (bug #568)
4634 2002-08-20 André Pönitz <poenitz@gmx.net>
4636 * text3.C: new file for LyXText::dispatch() and helpers
4638 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4640 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4642 2002-08-19 André Pönitz <poenitz@gmx.net>
4645 * text.C: new LyXText::dispatch()
4647 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4649 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4651 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4653 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4656 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4658 * Makefile.am: use $(variables) instead of @substitutions@
4660 2002-08-15 André Pönitz <poenitz@gmx.net>
4663 * BufferView_pimpl.C: streamlining mathed <-> outer world
4667 * LyXAction.C: remove unused LFUN_MATH
4669 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4671 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4673 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4675 * paragraph.C (Paragraph): reformat a bit
4676 (cutIntoMinibuffer): use builtin InsetList function instad of
4680 * buffer.C: include boost/bind.hpp, add using std::for_each
4681 (writeFileAscii): use ParagraphList iterators
4682 (validate): use for_each for validate traversal of paragraphs
4683 (getBibkeyList): use ParagraphList iterators
4684 (resizeInsets): use for_each to resizeInsetsLyXText for all
4686 (getParFromID): use ParagraphList iterators
4688 * BufferView2.C (lockInset): use paragraph list and iterators
4690 2002-08-14 John Levon <levon@movementarian.org>
4692 * lyxserver.C: remove spurious xforms include
4694 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4696 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4698 2002-08-13 André Pönitz <poenitz@gmx.net>
4701 * lyxfunc.C: further cleaning
4703 2002-08-13 André Pönitz <poenitz@gmx.net>
4705 * funcrequest.h: new constructor
4707 * funcrequest.C: move stuff here from .h
4710 * BufferView_pimpl.C:
4713 * lyxfunc.C: subsequent changes
4715 * lyxfunc.h: new view() member function
4717 * lyxfunc.C: subsequent changes
4719 2002-08-13 Angus Leeming <leeming@lyx.org>
4722 * BufferView_pimpl.C:
4730 changes due to the changed LyXView interface that now returns references
4731 to member variables not pointers.
4733 2002-08-13 Angus Leeming <leeming@lyx.org>
4735 * WordLangTuple (word, lang_code): return references to strings,
4740 * lyxtext.h: forward-declare WordLangTuple.
4745 * text.C: #include "WordLangTuple.h".
4748 * text.C: (selectNextWordToSpellcheck): constify return type.
4750 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4756 * paragraph_pimpl.h:
4759 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4761 Made updateCounter always count from start of buffer, and removed
4762 second argument (par).
4763 Reverted floats number display to '#'. Perhaps I'll try again when the
4764 code base is sanitized a bit.
4766 2002-08-12 Angus Leeming <leeming@lyx.org>
4768 * buffer.[Ch] (getLabelList): constify.
4770 2002-08-07 André Pönitz <poenitz@gmx.net>
4772 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4774 * funcrequest.h: extension to keep mouse (x,y) position
4776 2002-08-12 Juergen Vigna <jug@sad.it>
4778 * BufferView2.C (insertErrors): forbid undo when inserting error
4781 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4783 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4785 * ParagraphList.[Ch]: new files
4787 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4789 * BufferView2.C (lockInset): ParagraphList changes
4792 * bufferlist.C: ditto
4796 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4798 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4799 unused class variable counter_,
4801 * paragraph.[Ch] (getFirstCounter): delete unused function
4803 * counters.C: include LAssert.h
4804 (reset): add a new function with no arg, change other version to
4805 not have def. arg and to not allow empty arg.
4807 * text2.C (setCounter): remove empty arg from call to Counters::reset
4809 2002-08-11 John Levon <levon@movementarian.org>
4811 * Makefile.am: add WordLangTuple.h
4813 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4815 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4816 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4818 * insets/insettext.C: InsetList changes
4820 * graphics/GraphicsSupport.C (operator()): InsetList changes
4822 * toc.C (getTocList): InsetList changes
4824 * paragraph_pimpl.[Ch]: InsetList changes
4826 * paragraph.[Ch]: InsetList changes
4828 * buffer.C (inset_iterator): InsetList changes
4829 (setParagraph): ditto
4830 * buffer.h (inset_iterator): ditto
4831 * iterators.C (operator++): ditto
4832 * iterators.h: ditto
4834 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4836 * InsetList.[Ch]: new files, most InsetList handling moved out of
4839 * BufferView2.C (removeAutoInsets): InsetList changes
4841 (ChangeInsets): ditto
4843 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4845 * paragraph_pimpl.h (empty): new function
4847 * paragraph.[Ch] (empty): new function
4849 * other files: use the new Paragraph::empty function
4851 2002-08-09 John Levon <levon@movementarian.org>
4853 * lyxtext.h: remove unused refresh_height
4855 2002-08-09 John Levon <levon@movementarian.org>
4862 * paragraph.C: move sgml char escaping out of paragraph
4865 * paragraph.C: remove id setter
4869 * paragraph_pimpl.C: remove dead tex_code_break_column
4871 * bufferview_funcs.C: small cleanup
4873 * lyxfunc.C: remove dead proto
4875 * lyxtext.h: make some stuff private. Remove some dead stuff.
4877 * lyxgluelength.C: make as[LyX]String() readable
4879 2002-08-08 John Levon <levon@movementarian.org>
4884 * ToolbarDefaults.C:
4887 * toc.C: lyxaction cleanup
4889 2002-08-08 John Levon <levon@movementarian.org>
4891 * BufferView2.C: small cleanup
4894 * lyxfind.C: move unnecessary header into the .C
4896 2002-08-08 John Levon <levon@movementarian.org>
4898 * funcrequest.h: just tedious nonsense
4901 * lyx_main.C: cleanups
4904 * vspace.C: remove dead header lyx_main.h
4906 2002-08-07 Angus Leeming <leeming@lyx.org>
4909 * paragraph_pimpl.h:
4910 Forward declare class Counters in paragraph.h by moving the ctrs member
4911 variable into Paragraph::Pimpl.
4912 (counters): new method, returning a reference to pimpl_->ctrs.
4914 * text2.C: ensuing changes.
4916 2002-08-07 John Levon <levon@movementarian.org>
4918 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4920 * BufferView_pimpl.C: announce X selection on double/triple
4923 * lyx_main.C: use correct bool in batch dispatch
4925 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4927 2002-08-07 André Pönitz <poenitz@gmx.net>
4929 * funcrequest.h: new class to wrap a kb_action and its argument
4932 * BufferView_pimpl[Ch]:
4936 * lyxrc.C: subsequent changes
4939 2002-08-07 John Levon <levon@movementarian.org>
4941 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4942 document options change.
4944 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4949 * makefile.am: move counters functionality over from
4950 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4952 2002-08-06 John Levon <levon@movementarian.org>
4954 * WordLangTuple.h: new file for word + language code tuple
4965 * BufferView2.C: use WordLangTuple
4968 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4970 2002-08-06 John Levon <levon@movementarian.org>
4972 * lyx_main.C: fix cmdline batch handling
4974 2002-08-06 André Pönitz <poenitz@gmx.net>
4976 * lyxrc.C: set default for show_banner to true
4978 2002-08-06 John Levon <levon@movementarian.org>
4980 * pspell.C: fix a crash, and allow new aspell to work
4982 2002-08-06 John Levon <levon@movementarian.org>
4985 * kbmap.C: small cleanup
4988 * vspace.C: add const
4990 2002-08-05 John Levon <levon@movementarian.org>
4992 * LyXAction.C: back to tabular-insert
4994 2002-08-04 John Levon <levon@movementarian.org>
4997 * BufferView.C: cosmetic change
4999 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5009 * BufferView2.C: purge all "Lyx" not "LyX" strings
5012 * lyxcursor.C: attempt to add some documentation
5017 * ToolbarDefaults.C:
5018 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5019 merge with LFUN_TABULAR_INSERT
5026 * pspell.C: split up i/pspell implementations into separate
5027 files, many cleanups
5029 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5031 * text2.C: some cleanup
5033 * lyxfunc.C: don't check for isp_command == "none" any more, it
5034 didn't make any sense
5036 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5041 * makefile.am: move counters functionality over
5042 from text2.C/paragraph.[Ch] to counters.[Ch], and
5044 2002-08-02 John Levon <levon@movementarian.org>
5046 * buffer.C: s/lyxconvert/lyx2lyx/
5048 2002-08-02 Angus Leeming <leeming@lyx.org>
5050 * lyxlex.C: revert John's change as it breaks reading of the user
5053 2002-08-02 Angus Leeming <leeming@lyx.org>
5055 * importer.C (Import):
5056 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5057 changes due to LyXView::view() now returning a boost::shared_ptr.
5059 2002-08-02 John Levon <levon@movementarian.org>
5061 * lyxlex.C: small cleanup
5063 2002-08-02 John Levon <levon@movementarian.org>
5065 * text2.C (status): small cleanup, no logic change
5067 2002-08-01 John Levon <levon@movementarian.org>
5070 * buffer.C (writeFile): don't output alerts, caller
5074 * lyx_cb.C: from above
5076 * lyxfunc.C: allow to open non-existent files
5078 2002-07-31 John Levon <levon@movementarian.org>
5080 * lyxserver.C: don't let incidental errors get
5083 2002-07-30 John Levon <levon@movementarian.org>
5085 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5087 2002-07-30 John Levon <levon@movementarian.org>
5090 * lyxserver.C: remove I/O callback too
5092 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5094 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5097 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5099 * many files: strip,frontStrip -> trim,ltrim,rtrim
5101 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5103 * PrinterParams.h: remove extern containsOnly, and include
5104 support/lstrings.h instead.
5106 * LaTeX.C (scanAuxFile): modify because of strip changes
5108 * buffer.C (makeLaTeXFile): ditto
5109 * bufferparams.C (writeFile): ditt
5110 * lyxfont.C (stateText): ditto
5111 * lyxserver.C (read_ready): ditto
5112 * vc-backend.C (scanMaster): ditto
5114 * BufferView_pimpl.h: ws changes
5116 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5118 2002-07-26 André Pönitz <poenitz@gmx.net>
5120 * kb_sequence.C: remove unnedred usings
5122 2002-07-26 Juergen Vigna <jug@sad.it>
5124 * lyxfind.C (LyXReplace): we have to check better if the returned
5125 text is not of theLockingInset()->getLockingInset().
5127 2002-07-25 Juergen Vigna <jug@sad.it>
5129 * lyxfind.C (LyXReplace): don't replace if we don't get the
5132 * undo_funcs.C (createUndo): remove debugging code.
5134 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5136 * buffer.C (parseSingleLyXformat2Token): Use default placement
5137 when reading old floats.
5139 * FloatList.C (FloatList): Change the default placement of figure
5140 and tables to "tbp".
5142 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5144 * MenuBackend.C: using std::max
5146 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5148 * MenuBackend.C (expandToc):
5149 (expandToc2): code moved from xforms menu frontend. It is now
5150 generic and TOCs are transparent to menu frontends.
5152 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5154 * toc.C (getTocList): protect against buf=0
5156 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5157 Menu as first parameter. Now, this calls itself recursively to
5158 expand a whole tree (this will be useful for TOC handling)
5159 (expandFloatInsert): remove 'wide' version of floats
5161 * MenuBackend.h (submenuname): returns the name of the submenu.
5162 (submenu): returns the submenu itself, provided it has been
5163 created by MenuBackend::expand
5165 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5167 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5168 insets which have noFontChange == true. (bug #172)
5170 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5172 * BufferView_pimpl.C: add connection objects and use them...
5175 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5177 * MenuBackend.C (expandLastfiles):
5180 (expandFloatListInsert):
5181 (expandFloatInsert):
5182 (expand): split expand in parts
5184 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5186 * lyx_gui.C: use lyx_gui::exit()
5188 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5190 * LyXAction.C: show the failing pseudo action
5192 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5194 * buffer.C (readFile): Run the lyxconvert script in order to read
5197 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5201 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5203 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5207 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5209 2002-07-22 Herbert Voss <voss@lyx.org>
5212 * lyxlength.[Ch]: add support for the vertical lengths
5214 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5216 * toc.[Ch]: std:: fixes
5218 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5220 * lyxrc.C: do not include lyx_main.h
5222 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5228 * BufferView2.C: include "lyxlex.h"
5231 * bufferparams.h: do not #include "lyxlex.h"
5233 * lyxtextclasslist.C (Add): remove method
5234 (classlist): renamed to classlist_
5236 * paragraph_pimpl.C:
5240 * bufferview_funcs.C:
5245 * toc.C (getTocList): use BufferParams::getLyXTextClass
5247 * toc.C (getTocList): use InsetFloat::addToToc
5249 * toc.[Ch]: new files, containing helper functions to handle table
5252 * lyxfunc.C (dispatch): no need to remove spaces around command
5254 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5255 first command of the sequence; it is not very clever, but I do not
5256 have a better idea, actually
5258 * LyXAction.C (LookupFunc): make sure to remove space at the
5259 beginning and end of the command
5261 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5263 * MenuBackend.C (getMenubar): new method: return the menubar of
5265 (read): treat differently reading of menu and menubar (in
5266 particular, the menubar has no name now)
5267 (Menu::menubar): remove
5269 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5272 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5274 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5275 a bibitem inset in a RTL paragraph.
5277 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5279 * paragraph_pimpl.C: constify
5281 * BufferView_pimpl.C:
5283 * lyxfunc.C: fix dispatch in a nicer way
5285 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5287 * lyxfunc.C (dispatch):
5288 * BufferView_pimpl.C:
5289 * BufferView_pimpl.h:
5291 * BufferView.h: rename Dispatch() to dispatch()
5293 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5295 * lyxlayout.C (Read): honor DependsOn tag
5297 * lyxlayout.[Ch] (depends_on): new method
5299 * version.C.in: update lyx_docversion
5301 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5303 * paragraph.C (validate): remove from here...
5304 * paragraph_pimpl.C (validate): ... and move here
5305 (isTextAt): make it const
5307 * buffer.C (getLists): ws cleanup
5309 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5311 * language.C (read): Use iso8859-1 encoding in latex_lang
5312 (this prevents LyX from crashing when using iso10646-1 encoding).
5314 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5316 * text2.C (toggleInset): if cursor is inside an inset, close the
5317 inset and leave cursor _after_ it
5319 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5321 * lyxfunc.C: move minibuffer completion handling out of here
5323 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5325 * BufferView_pimpl.C:
5326 * LaTeX.C: fix dispatch calls
5328 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5330 * text.C (drawChars): Fix Arabic text rendering.
5332 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5336 * lyxfunc.C: remove message-push/pop
5340 * lyxfunc.C: rationalise some code by removing verboseDispatch
5341 in favour of a bool argument to dispatch()
5343 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5345 * lyx_main.C (init): make sure to read symlinks as absolute paths
5347 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5350 * lyxfunc.C: no need for commandshortcut to be a member
5352 2002-07-15 André Pönitz <poenitz@gmx.net>
5354 * converter.C: add support for $$s (scripts from lib/scripts dir)
5355 * lyx_main.C: white space
5357 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5361 * lyxrc.C: remove second exit confirmation
5363 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5368 * BufferView_pimpl.h:
5369 * BufferView_pimpl.C:
5370 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5372 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5374 * MenuBackend.C (expand): add numeric shortcuts to document menu
5376 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5378 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5380 * lyxfont.C (setLyXFamily):
5387 * buffer.C (asciiParagraph): use ascii_lowercase
5389 2002-07-15 Mike Fabian <mfabian@suse.de>
5391 * lyxlex_pimpl.C (search_kw):
5392 * lyxlex.C (getLongString):
5393 * converter.h (operator<):
5394 * converter.C (operator<):
5395 * buffer.C (parseSingleLyXformat2Token):
5397 * ToolbarDefaults.C (read):
5398 * MenuBackend.C (checkShortcuts):
5400 * LColor.C (getFromGUIName):
5401 (getFromLyXName): use the compare_ascii_no_case instead of
5402 compare_no_case, because in turkish, 'i' is not the lowercase
5403 version of 'I', and thus turkish locale breaks parsing of tags.
5405 2002-07-16 Angus Leeming <leeming@lyx.org>
5407 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5408 now takes a Buffer const & argument.
5410 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5412 * BufferView.C (resize): check there's a buffer to resize
5414 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5416 * lyxfunc.C: remove dead code
5419 * lyxserver.C: use lyx_guii::set_read_callback
5421 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5423 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5424 an inset in a RTL paragraph.
5426 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5428 * lyxfunc.C: repaint after a font size update
5430 2002-07-15 André Pönitz <poenitz@gmx.net>
5432 * lyxlength.C: inBP should be able to return negative values
5434 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5436 * lyxfunc.C: use lyx_gui::update_fonts()
5438 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5440 * lyxfunc.C: use lyx_gui::update_color()
5442 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5448 * lyxrc.C: remove file->new asks for name option, and let
5449 buffer-new take an argument
5451 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5453 * BufferView_pimpl.C: remove unneeded extra repaint()
5455 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5457 * LyXAction.C: allow command-sequence with NoBuffer
5459 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5461 2002-07-10 Angus Leeming <leeming@lyx.org>
5463 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5465 2002-07-09 Angus Leeming <leeming@lyx.org>
5467 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5469 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5471 * lengthcommon.h: whitespace
5473 * lyxfunc.C: update scrollbar after goto paragraph
5475 * lyxtext.h: factor out page break drawing, and fix it so
5476 page break/added space paints as selected nicely
5478 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5480 * BufferView_pimpl.C: add FIXMEs, clean up a little
5482 2002-07-09 André Pönitz <poenitz@gmx.net>
5484 * lyxfont.[Ch]: support for wasy symbols
5486 2002-07-08 André Pönitz <poenitz@gmx.net>
5488 * BufferView_pimpl.C: apply John's patch for #93.
5490 2002-07-05 Angus Leeming <leeming@lyx.org>
5492 * BufferView_pimpl.C (buffer): generate previews if desired.
5494 * LColor.h: add "preview" to the color enum.
5496 * LColor.C (LColor): add a corresponding entry to the items array.
5498 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5501 2002-07-05 Angus Leeming <leeming@lyx.org>
5503 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5504 The body of the code is now in the method that is passed an ostream &
5505 rather than a file name.
5506 Pass an additional only_preamble parameter, useful for the forthcoming
5509 2002-07-03 André Pönitz <poenitz@gmx.net>
5511 * lyxfunc.C: simplify getStatus() a bit for math stuff
5513 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5515 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5517 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5519 * text.C (changeRegionCase): do not change case of all the
5520 document when region ends at paragraph end (bug #461)
5522 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5524 * paragraph.C (startTeXParParams):
5525 (endTeXParParams): add \protect when necessary
5527 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5529 * BufferView_pimpl.C (workAreaExpose): remove warning
5531 2002-06-27 Angus Leeming <leeming@lyx.org>
5533 * Makefile.am: add lyxlayout_ptr_fwd.h.
5535 2002-06-26 André Pönitz <poenitz@gmx.net>
5537 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5539 2002-06-25 Angus Leeming <leeming@lyx.org>
5541 * lyxfunc.C (dispatch): Comment out the call to
5542 grfx::GCache::changeDisplay. The method no longer exists now that the
5543 pixmap generation part of the graphics loader has been moved into
5546 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5548 * text2.C: layout as layout
5550 * text.C: layout as layout
5552 * tabular.C (OldFormatRead): layout as layout
5554 * paragraph_pimpl.C (TeXDeeper): layout as layout
5555 (realizeFont): layout as layout
5557 * paragraph.C (writeFile): layout as layout
5558 (validate): layout as layout
5559 (getFont): layout as layout
5560 (getLabelFont): layout as layout
5561 (getLayoutFont): layout as layout
5562 (breakParagraph): layout as layout
5563 (stripLeadingSpaces): layout as layout
5564 (getEndLabel): layout as layout
5565 (getMaxDepthAfter): layout as layout
5566 (applyLayout): layout as layout
5567 (TeXOnePar): layout as layout
5568 (simpleTeXOnePar): layout as layout
5569 (TeXEnvironment): layout as layout
5570 (layout): layout as layout
5571 (layout): layout as layout
5573 * lyxtextclass.C (compare_name): new functor to work with
5574 shared_ptr, layout as layout
5575 (Read): layout as layout
5576 (hasLayout): layout as layout
5577 (operator): layout as layout
5578 (delete_layout): layout as layout
5579 (defaultLayout): layout as layout
5581 * lyxlayout_ptr_fwd.h: new file
5583 * lyxlayout.C (Read): layout as layout
5585 * lyx_cb.C (MenuInsertLabel): layout as layout
5587 * bufferlist.C (newFile): layout as layout
5589 * buffer.C (readLyXformat2): layout as layout
5590 (parseSingleLyXformat2Token): layout as layout
5591 (insertStringAsLines): layout as layout
5592 (asciiParagraph): layout as layout
5593 (latexParagraphs): layout as layout
5594 (makeLinuxDocFile): layout as layout
5595 (simpleLinuxDocOnePar): layout as layout
5596 (makeDocBookFile): layout as layout
5597 (simpleDocBookOnePar): layout as layout
5598 (getLists): layout as layout
5600 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5602 * CutAndPaste.C (cutSelection): layout as layout
5603 (pasteSelection): layout as layout
5604 (SwitchLayoutsBetweenClasses): layout as layout
5606 * BufferView_pimpl.C (Dispatch): layout as layout
5607 (smartQuote): layout as layout
5609 * BufferView2.C (unlockInset): layout as layout
5611 2002-06-24 André Pönitz <poenitz@gmx.net>
5613 * lyxfunc.C: fix #487
5615 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5619 * lyxfunc.C: remove display_shortcuts, show_banner
5621 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5623 * Buffer_pimpl.C: oops, update on resize
5625 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5632 * BufferView.C: use repaint()
5634 * BufferView_pimpl.h:
5635 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5636 as it's a clearer description. Remove superfluous
5639 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5641 * text.C: fix bug 488. Not ideal, but getting
5642 getWord() to work properly for the insets that
5643 matter is more difficult ...
5645 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5647 * BufferView_pimpl.C:
5650 * lyxfunc.C: remove the six million index lyxfuncs to just
5651 one, and DTRT (bug 458)
5653 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5657 * BufferView_pimpl.h:
5658 * BufferView_pimpl.C: clean up resize() stuff,
5659 and unnecessary updateScreen()s
5661 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5665 * BufferView_pimpl.h:
5666 * BufferView_pimpl.C:
5669 * minibuffer.C: remove focus management of workarea,
5670 not needed. Use screen's greyOut()
5672 2002-06-17 Herbert Voss <voss@lyx.org>
5674 * converter.C: (convert) do not post a message, when converting
5675 fails, let the calling function decide what to do in this case
5677 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5679 * lyxfunc.C: tidy up a little
5681 2002-06-16 <alstrup@diku.dk>
5683 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5684 Got rid of FORMS_H_LOCATION include. Now we are
5687 2002-06-15 LyX Development team <lyx@rilke>
5689 * buffer.[Ch] (sgmlOpenTag):
5690 (sgmlCloseTag): Added support for avoiding pernicious mixed
5691 content. Return number of lines written.
5694 (makeDocBookFile): Fixed calls to sgml*Tag.
5695 Simple white space clean.
5697 (simpleDocBookOnePar): Simple white space clean.
5699 * tabular.[Ch] (docBook): Renamed to docbook and got another
5700 argument to related with the pernicious mixed content.
5702 (docbookRow): Fixed calls for docbook inset method.
5704 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5706 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5707 so it's X11 independent.
5711 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5713 2002-06-15 Lyx Development team <lyx@electronia>
5715 * intl.h: Renamed getTrans to getTransManager.
5717 2002-06-14 Angus Leeming <leeming@lyx.org>
5719 * Makefile.am: nuke forgotten stl_string_fwd.h.
5721 2002-06-12 Angus Leeming <leeming@lyx.org>
5723 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5725 2002-06-13 Angus Leeming <leeming@lyx.org>
5728 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5730 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5732 * kbmap.C (getiso): add support for cyrillic and greek
5734 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5738 * BufferView_pimpl.h:
5739 * BufferView_pimpl.C: move bogus scrolling logic
5742 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5745 * BufferView_pimpl.C: view->resize() change
5747 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5749 * BufferView_pimpl.C: topCursorVisible
5752 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5756 * lyx_gui.C: move to frontends/
5760 * lyx_main.C: changes from above
5762 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5769 * lyx_main.C: minor tidy
5771 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5773 * BufferView_pimpl.h:
5774 * BufferView_pimpl.C:
5776 * BufferView.C: make painter() const,
5779 * BufferView2.C: use screen() accessor
5782 * lyx_main.C: some minor cleanup
5784 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5786 * BufferView_pimpl.h:
5787 * BufferView_pimpl.C: remove enter/leaveView,
5790 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5795 * BufferView_pimpl.h:
5796 * BufferView_pimpl.C: only construct screen once,
5799 * lyxrc.C: remove pointless comment
5801 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5804 * BufferView.C: remove active() and belowMouse()
5806 * BufferView_pimpl.h:
5807 * BufferView_pimpl.C: use workarea() not workarea_,
5808 and make it use a scoped_ptr instead
5810 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5812 * lyx_gui.C: add debug message on BadWindow
5814 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5816 * sp_spell.C: fdopen is not part of the C++ standard.
5818 * paragraph.C (InsetIterator): use >= instead of ==
5820 2002-06-07 Angus Leeming <leeming@lyx.org>
5822 Fixes needed to compile with Compaq cxx 6.5.
5823 * BufferView_pimpl.C:
5830 * lyxtextclasslist.C:
5835 all c-library variables have been moved into namespace std. Wrap
5836 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5841 Add a using std::abs declaration.
5843 * kbmap.h (modifier_pair):
5844 * paragraph.h (InsetTable, InsetList):
5845 * lyxfont.h (FontBits):
5846 type definition made public.
5848 * bufferlist.C (emergencyWriteAll): the compiler complains that
5849 there is more than one possible lyx::class_fun template to choose from.
5850 I re-named the void specialisation as lyx::void_class_fun.
5852 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5854 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5855 the compiler is is unable to find tostr in write_attribute.
5857 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5859 * buffer.C (sgmlError): hide #warning
5861 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5863 * xtl/*: get rid of xtl, which is not in use anyway
5865 * LyXAction.C (init):
5866 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5867 were unimplemented xtl experimentation
5869 2002-06-04 André Pönitz <poenitz@gmx.net>
5871 * lyxfunc.C: disable array operation on simple formulae
5873 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5875 * converter.C: constify a bit
5877 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5879 * lyx_gui.C: check xforms version correctly
5881 2002-04-30 Herbert Voss <voss@lyx.org>
5883 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5886 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5888 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5889 attempt to register it with a VCS)
5891 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5893 * lyx_main.C (init): honor variables LYX_DIR_13x and
5896 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5900 * lyx_main.C: fix a crash on bad command line,
5901 and give a useful exit status on error
5903 * lyxfunc.C (doImport): allow -i lyx to work
5905 2002-03-30 André Pönitz <poenitz@gmx.net>
5907 * lyxfunc.C: mathed font changes
5909 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5924 * trans_mgr.h: srcdocs, and some minor cleanups
5926 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5928 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5929 call getFont all the time)
5931 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5933 * switch from SigC signals to boost::signals
5935 2002-05-29 André Pönitz <poenitz@gmx.net>
5937 * paragraph_pimpl.C (getChar): don't call size() too often...
5939 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5941 * paragraph_pimpl.C (insertChar): do not try to update tables when
5942 appending (pos == size())
5944 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5945 in order to reduce drastically the number of comparisons needed to
5946 parse a large document
5948 2002-05-29 André Pönitz <poenitz@gmx.net>
5954 * textclasslist.[Ch]:
5955 * sp_ispell.h: whitespace change
5957 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5959 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5960 lyxaction directly now.
5962 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5966 * lyxvc.C: remove unused headers
5968 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5975 * undo_funcs.C: some cleanups. Use shared_ptr
5976 and a template for the undo stacks.
5978 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5980 * BufferView_pimpl.h:
5981 * BufferView_pimpl.C:
5988 * text2.C: use key_state/mouse_state
5990 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5992 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5995 * chset.C: change include order
5996 (loadFile): use boost regex and get rid of LRegex and LSubstring
5998 * Makefile.am (BOOST_LIBS): new variable
6001 * LaTeX.C: change include order.
6002 (scanAuxFile): use boost regex and get rid of LRegex and
6006 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6011 * FontInfo.C: moved to frontends/xforms/
6014 * FontLoader.C: moved into frontends for GUIIzation
6019 * lyxfunc.C: changes from above
6021 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6023 * LColor.C: remove spurious X include
6025 * BufferView_pimpl.C:
6030 * text2.C: move font metrics to frontends/
6032 2002-05-24 Juergen Vigna <jug@sad.it>
6034 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6035 setting the undo_cursor.
6037 * ParagraphParameters.h: include local includes first.
6039 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6041 * BufferView_pimpl.C:
6042 * BufferView_pimpl.h:
6046 * screen.C: move WorkArea into frontends/
6052 * BufferView2.C: move LyXScreen into frontends/
6056 * lyx_gui.C: move lyxlookup into frontends/xforms/
6058 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6061 * BufferView_pimpl.C:
6071 * bufferview_funcs.C:
6084 * vc-backend.C: move LyX/XFormsView into frontends/
6086 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6098 * text2.C: move Painter to frontends/
6100 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6102 * buffer.C: comment out some some code that depend upon lyx_format
6105 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6106 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6108 * buffer.h (NO_COMPABILITY): turn off compability
6110 * ColorHandler.C: include scoped_array.hpp
6112 * font.C: Use more specific smart_ptr header.
6115 * ShareContainer.h: ditto
6119 * BufferView_pimpl.h: ditto
6120 * ColorHandler.h: ditto
6122 * kbmap.C (defkey): change call to shared_ptr::reset
6124 2002-05-21 Juergen Vigna <jug@sad.it>
6126 * buffer.C (insertErtContents): fix to insert ert asis if it is
6127 non empty. Skip it completely if it contains only whitespaces.
6129 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6131 * BufferView_pimpl.C:
6132 * BufferView2.C: clear selection on paste (bug 393)
6134 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6136 * DepTable.C: include ctime
6138 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6140 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6142 2002-05-14 Juergen Vigna <jug@sad.it>
6144 * text.C (breakParagraph): fixed function to honor the keepempty
6145 layout in the right maner and also to permit the right breaking
6146 algorithm on empty or non empyt keepempty paragraphs.
6148 * paragraph.C (breakParagraph): we have to check also if the par
6149 is really empty (!size()) for isempty otherwise we do the wrong
6152 2002-05-10 Juergen Vigna <jug@sad.it>
6154 * buffer.[Ch] : The following are only changes to the ert
6155 compatibility read reading old LaTeX layout and font stuff and
6156 convert it to ERTInsets.
6158 * buffer.h: added isErtInset().
6160 * buffer.C (struct ErtComp): add a fromlayout bool to check
6161 if we're inside a LaTeX layout.
6162 (isErtInset): new helper function.
6163 (insertErtContents): look for other ert insets before this one
6164 and insert the contents there, so that we don't have subsequent
6165 ERT insets with nothing between them. This way we create only one
6166 inset with multiple paragraphs. Also check if we don't insert only
6167 spaces ' ' as they are ignored anyway afterwards in the .tex file
6168 so if we have only spaces we will ignore this latex part in the
6170 (parseSingleLyXformat2Token \\layout): better compatibility when
6171 reading layout-latex stuff.
6172 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6174 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6175 stuff after reading the inset only get the information back from
6178 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6180 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6182 * LaTeXFeatures.C (getBabelOptions): New method.
6184 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6186 * BufferView_pimpl.C (Dispatch): work around missing argument for
6189 2002-05-08 Juergen Vigna <jug@sad.it>
6191 * text.C (leftMargin): handle paragraph leftindent.
6193 * paragraph.C (writeFile): write the new \\leftindent tag.
6194 (validate): handle leftindent code.
6195 (TeXEnvironment): handle paragraphleftindent code again.
6197 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6199 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6200 for paragrap_extra indent code and new token \\leftindent.
6201 (latexParagraphs): handle the leftindent as environment.
6203 * ParameterStruct.h: added leftindent support.
6205 * ParagraphParameters.C (leftIndent): added support functions for
6206 the paragraph left indent.
6208 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6211 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6213 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6216 * text.C (computeBidiTables): No bidi in insetERT.
6218 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6221 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6223 * version.C.in: pre 5
6225 2002-05-02 José Matos <jamatos@fep.up.pt>
6226 * buffer.C (makeDocBookFile): white space changes, add newline to
6228 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6230 * tabular.C (docBook): fix typo.
6232 2002-05-03 Juergen Vigna <jug@sad.it>
6234 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6235 change in LyXText as we can not be sure it was not freed.
6236 (drawOneRow): remove unused code.
6238 * text.C (drawInset): redo the calculation of the need_break_row as
6239 it could have a row which was already freed.
6240 (draw): look at the return value of drawInset and return false if
6241 it also returned false.
6242 (paintRowText): look at the return value of draw and return false if
6243 it also returned false.
6245 * lyxtext.h: added bool return type to drawInset() and draw() so that
6246 if we have a change in the row so that the rowbreak has to be redone
6247 we abort drawing as it will be called again.
6249 2002-05-02 Juergen Vigna <jug@sad.it>
6251 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6252 a change in the maintext also if we're inside an inset.
6253 (Dispatch): set the cursor again after a break line and after the
6254 screen has been updated as it could be we're in a different row.
6256 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6257 to set the cursor behind the pargraph with > size().
6258 (setCursor): check also for the same paragraph when checking where
6259 to put the cursor if we have a NFR inset.
6261 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6262 parts of layout read further up as it still was in the wrong
6265 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6267 * screen.C (drawFromTo): change sine fullRebreak always return
6270 * buffer.C (parseSingleLyXformat2Token): reindent some
6272 * BufferView_pimpl.C (update): change since fullRebreak always
6274 (Dispatch): git rid of the last hardcoded "Standard"s.
6276 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6278 * text2.[Ch] (fullRebreak): make it return void now that we always
6281 2002-04-30 Juergen Vigna <jug@sad.it>
6283 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6284 ert compatibility check for "latex" layout.
6286 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6288 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6289 minipages: use col% instead of p%, and also use the current font.
6290 (makeLaTeXFile): Fix use babel condition.
6291 (parseSingleLyXformat2Token): Correct font when reading old floats.
6293 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6295 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6296 inserting list of floats.
6298 2002-04-25 Herbert Voss <voss@lyx.org>
6300 * MenuBackend.C (expand): don't add the graphics extensions to the
6303 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6305 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6306 non-existing layout, do not complain if it was the default layout
6307 of the original class (bug #342)
6309 2002-04-24 Juergen Vigna <jug@sad.it>
6311 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6312 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6314 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6316 * buffer.C (getBibkeyList): If using \bibliography, return the
6317 option field with the reference itself. Enables us to provide natbib
6318 support when using \bibliography.
6320 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6322 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6324 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6325 natbib is provided by the LaTeX class.
6327 2002-04-23 Juergen Vigna <jug@sad.it>
6329 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6332 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6334 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6336 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6338 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6339 ensuremath around textordmasculine, textordfeminine and
6342 2002-04-19 Juergen Vigna <jug@sad.it>
6344 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6345 reinitializing the buffer otherwise row-dimensions may be wrong.
6346 (update): reset also the selection cursors if they do exits otherwise
6347 their x/y positions may be wrong.
6349 * text2.C (cursorDown): don't enter the inset if we came from a row
6350 above and are one row over the inset.
6352 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6353 really leaving an inset.
6355 2002-04-18 Juergen Vigna <jug@sad.it>
6357 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6358 of the selected paragraph does not have the selected layout also if
6361 * text2.C (setLayout): fixed bug which did not change last selected
6364 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6365 changed the read and substituted \\end_float with \\end_inset!
6367 * BufferView_pimpl.C (cursorPrevious):
6368 (cursorNext): fixed to make it work with rows heigher than the work
6369 area without moving the cursor only the draw of the row.
6370 (workAreaMotionNotify): fix jumping over high rows.
6372 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6374 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6377 2002-04-16 Juergen Vigna <jug@sad.it>
6379 * text2.C (setCursor): set also the irow().
6380 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6382 (cursorDown): support for locking an inset if the x_fix value goes
6383 inside it. That way I can transverse insets too with cursor up/down.
6385 * lyxrow.h: added irow helper function same as other (i) functions.
6387 * BufferView_pimpl.C (cursorPrevious):
6388 (cursorNext): fixed for insets!
6390 2002-04-15 Juergen Vigna <jug@sad.it>
6392 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6393 position otherwise it is wrong in some cases.
6395 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6396 inside the inset before the call.
6398 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6400 * buffer.[Ch] (getBibkeyList): make it const.
6402 2002-04-12 Juergen Vigna <jug@sad.it>
6404 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6406 * text2.C (getCursorX): new helper function
6407 (setCursor): compute also ix_
6408 (setCursorFromCoordinates): set also ix.
6410 * lyxcursor.h: added ix_ and helper functions.
6412 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6414 * buffer.C (insertStringAsLines): dont break paragraph if the this
6415 paragraph is inside an inset which does not permit it!
6417 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6418 also with no chars on this paragraph.
6419 (paintRowText): only paint stuff if it's inside the workarea!
6421 * paragraph.C (breakParagraph): honor keepempty flag and break the
6422 paragraph always below not above.
6424 * BufferView2.C (unlockInset): update the paragraph layout on inset
6425 unlock as we changed paragraph in such a case.
6427 * lyxfind.C (LyXFind): clear the former selection if not found!
6429 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6430 again called in insertChar().
6432 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6433 an inset which uses the whole row!
6434 (rightMargin): ditto.
6435 (insertChar): force a rebreak if we inserted an inset!
6437 2002-03-28 Herbert Voss <voss@lyx.org>
6439 * lyxlength.[Ch]: add inBP() to get the right PS-point
6440 units (BigPoint). With inPixels we have rounding errors
6442 2002-04-11 Juergen Vigna <jug@sad.it>
6444 * text2.C (setCursorFromCoordinates): set iy to the right value.
6445 (setCursor): add check if row->previous exists!
6447 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6448 an old float_type as this was the case in the old code!
6450 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6452 * BufferView2.C (showLockedInsetCursor): use iy
6453 (fitLockedInsetCursor): ditto
6455 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6456 locked insets as there we have the right value now.
6458 * lyxcursor.C: added iy_ variable and iy functions to set to the
6459 baseline of cursor-y of the locked inset.
6461 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6462 (setCursor): fixed for insets which need a full row.
6464 * text.C (rowLastPrintable): don't ignore the last space when before
6465 an inset which needs a full row.
6466 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6467 as last character of a row when before a inset which needs a full row.
6469 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6471 * version.C.in: update date
6473 * text2.C (fullRebreak): try to always return true and see what
6476 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6478 * MenuBackend.C (expand): use Floating::listName
6480 * FloatList.C (FloatList): add listName argument to the built-in
6483 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6484 text associated with the float.
6486 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6488 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6490 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6492 * ShareContainer.h: add a couple of missing typenames.
6494 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6496 * lyxrc.C (getDescription): use _() correctly rather than N_().
6498 2002-03-28 Herbert Voss <voss@lyx.org>
6500 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6501 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6503 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6505 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6506 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6508 2002-03-29 Juergen Vigna <jug@sad.it>
6510 * lyxfunc.C (dispatch): add a missing fitCursor call.
6512 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6513 it was scrolled by a cursor move, so return the bool status.
6515 * BufferView.C (fitCursor): return the bool flag also to the outside
6516 world as this is needed.
6518 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6520 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6521 call the edit() as it is not needed (and wrong) IMO.
6522 (workAreaButtonPress): set the screen_first variable before evt.
6523 unlock the inset as this may change screen_first and then we have
6524 a wrong y position for the click!
6526 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6528 * MenuBackend.C (expand): another translation that I missed
6530 2002-03-28 Juergen Vigna <jug@sad.it>
6532 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6534 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6536 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6538 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6540 * MenuBackend.C (expand): fix export/view/update when there is no
6543 2002-03-27 Herbert Voss <voss@lyx.org>
6545 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6548 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6550 * bufferview_funcs.C (currentState): only show paragraph number
6551 for is DEVEL_VERSION is set.
6553 * lyxfunc.C (dispatch): put warning in INFO channel
6555 * MenuBackend.C (expand): translate the name of floats
6557 * FloatList.C (FloatList): mark the float names for translation
6559 * converter.C (convert): use LibScriptSearch
6561 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6563 * MenuBackend.C (defaults): fix default menu (we might as well get
6566 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6568 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6571 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6573 * lyxvc.C: reorder includes.
6575 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6577 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6580 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6582 * CutAndPaste.C: change layouts earlier on paste
6583 to avoid crashing when calling getFont()
6585 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6587 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6590 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6592 * WorkArea.C: remove 'Pending' debug message.
6594 * most files: ws cleanup
6596 * buffer.[Ch]: ws changes
6598 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6600 2002-03-21 Juergen Vigna <jug@sad.it>
6602 * tabular.C (SetMultiColumn): collapse also the contents of the
6603 cells and set the last border right. Added a Buffer const * param.
6605 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6607 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6610 2002-03-19 Juergen Vigna <jug@sad.it>
6612 * text2.C (clearSelection): reset also xsel_cache.
6614 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6615 where it needs to be called (John tells us to do so too :)
6616 (selectionLost): reset sel_cache.
6618 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6620 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6622 * text2.C (setCursorIntern): put debuging code in INSETS channel
6624 2002-03-19 André Pönitz <poenitz@gmx.net>
6626 * lyxfunc.C: tiny whitespace change
6628 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6630 * ToolbarDefaults.C (init):
6631 * LyXAction.C (init):
6633 * BufferView_pimpl.C (Dispatch):
6634 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6636 2002-03-19 Allan Rae <rae@lyx.org>
6638 * exporter.C (Export): removeAutoInsets before doing anything else.
6639 While I've just introduced a dependency on BufferView this really is
6640 the best place to clean the buffer otherwise you need to cleanup in
6641 a dozen places before calling export or cleanup in a dozen functions
6644 * converter.C (runLaTeX):
6645 (scanLog): Better handling of removeAutoInsets and screen updates.
6647 * lyxfunc.C (dispatch): small whitespace changes
6649 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6651 * WorkArea.C (C_WorkAreaEvent): return a value.
6652 (event_cb): return 1 if we handled the event, 0 otherwise.
6654 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6656 2002-03-18 Juergen Vigna <jug@sad.it>
6658 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6659 (GetAdditionalWidth): ditto.
6663 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6664 inset if we're there actually (probably not used right now but this
6665 is the direction to go for unifying code).
6666 (paste): disable code to clear the selection.
6668 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6669 inside an InsetText and move the check further up as it is in the
6672 * text2.C (pasteSelection): set a selection over the pasted text.
6674 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6676 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6677 and libgraphics to build on Cygwin.
6679 2002-03-15 Juergen Vigna <jug@sad.it>
6681 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6682 inserting an Inset into the paragraph. I know this is not the best
6683 fix but we already use current_view in CutAndPaste so we will remove
6684 all of it's using at the same time.
6686 * buffer.C (sgmlError): deactivated function till it is rewritten in
6687 the right mode, now it can create problems.
6689 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6690 before accessing it.
6692 2002-03-14 Juergen Vigna <jug@sad.it>
6694 * undo_funcs.C (textHandleUndo): do the right thing when updating
6695 the inset after the undo/redo.
6697 * text2.C (setCursor): just some testcode for #44 not ready yet.
6699 * undo_funcs.C (textHandleUndo): set the next() and previous()
6700 pointers of the paragraph to 0 before deleting otherwise we have
6701 problems with the Paragraph::[destructor].
6703 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6704 on a paragraph insertion.
6706 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6708 * buffer.C (asciiParagraph): use += operator for char append to
6711 * paragraph.C (getFontSettings): compare >= not just >
6712 (highestFontInRange): ditto
6715 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6717 * paragraph.C: change several algorithm to be more appripriate for
6718 the problem domain. This is lookip in FontList and in the InsetList.
6720 2002-03-13 André Pönitz <poenitz@gmx.net>
6723 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6725 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6730 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6732 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6734 * Painter.C (display): anon helper function, adjust code for this
6736 (pixmap): remove function.
6738 * Painter.h: remove private display variable.
6740 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6742 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6744 * WorkArea.[Ch]: remove figinset_canvas cruft.
6746 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6748 * lyxtextclass.C (operator): add one item cache optimization.
6750 * bufferlist.h: doxy changes
6752 * bufferlist.C: ws changes
6754 * DepTable.[Ch] (ext_exist): place const in the right spot.
6756 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6758 (workAreaExpose): call resizeInsets when the with BufferView changes.
6759 (Dispatch): adjust for protectedBlank removal
6760 (specialChar): call updateInset if the insert went ok.
6762 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6763 specialChar instead.
6765 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6767 * BufferView.h: doxy change
6769 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6771 * lyxtextclass.C (operator[]): remove non-const version
6772 (defaultLayout): remove non-const version
6774 2002-03-12 Juergen Vigna <jug@sad.it>
6776 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6777 did resize the LyXText too.
6779 * buffer.C (readLyXformat2): set layout information on newly allocated
6782 * tabular.C (OldFormatRead): set layout information on the paragraph.
6784 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6786 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6788 2002-03-11 Juergen Vigna <jug@sad.it>
6790 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6792 (resizeCurrentBuffer): force also the insets to resize themselfes.
6793 (moveCursorUpdate): fixed up for InsetText.
6795 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6798 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6799 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6800 value of Dialogs::tooltipsEnabled().
6801 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6803 2002-03-08 Juergen Vigna <jug@sad.it>
6805 * BufferView_pimpl.C (updateInset): update inset inside inset also
6806 if it isn't inside theLockingInset().
6808 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6810 * buffer.C (asciiParagraph): redo some of the word and line length
6812 (getLists): look for Caption instead of caption.
6814 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6816 * buffer.C (Buffer): initialize niceFile to true
6819 (makeDocBookFile): make sure niceFile is true on exit
6821 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6823 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6825 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6827 * LyXSendto.C: remove.
6828 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6829 * lyx_gui.C: remove now-redundant comment.
6830 * ColorHandler.h: remove forward declaration of class WorkArea.
6831 * lyxfunc.C: remove #include "WorkArea.h".
6833 2002-03-07 Juergen Vigna <jug@sad.it>
6835 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6836 got moved away with the DEPM and also set the inset_owner always
6837 right which before could have been omitted.
6839 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6841 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6842 wanted layout is not found.
6844 2002-03-07 Juergen Vigna <jug@sad.it>
6846 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6848 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6850 * paragraph.C (breakParagraph): use default layout not layout of
6852 (Paragraph): clear ParagraphParameters.
6854 2002-03-06 Juergen Vigna <jug@sad.it>
6856 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6857 otherwise it would not be a valid lenght. Fixed a special case in
6858 the minipage compatibility read where we end the document with a
6861 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6862 was set as it could be 0 for InsetTexts first entry.
6864 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6866 * paragraph.C (writeFile): if layout is empty write out
6867 defaultLayoutName().
6869 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6870 file without named layout we set layout to defaultLayoutName().
6872 2002-03-06 Juergen Vigna <jug@sad.it>
6874 * CutAndPaste.C (copySelection): set layout for new paragraph.
6876 * text.C (prepareToPrint): leave ERT inset left aligned
6877 (leftMargin): don't indent paragraphs inside ERT insets
6879 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6881 * paragraph.C (breakParagraph): dont call clear do the work manually
6883 * paragraph.[Ch] (clear): remove function
6885 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6887 * paragraph.C (Paragraph): dont call clear, the work has already
6890 * lyxtextclass.C (operator): assert if n is empty
6892 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6893 work manually instead.
6895 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6897 * BufferView_pimpl.C: protect selectionLost against text == 0
6899 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6901 * text.C (breakParagraph): fix a setting layout to '0' problem.
6903 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6905 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6906 final location of file, for the included files, and graphics.
6908 2002-03-05 Juergen Vigna <jug@sad.it>
6910 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6912 2002-03-04 Juergen Vigna <jug@sad.it>
6914 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6916 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6917 last column of multicolumn cells.
6918 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6920 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6922 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6923 file if it doesn't go to a temporary file.
6925 * buffer.C (sgmlOpenTag):
6926 (sgmlCloseTag): remove extra newline insertion.
6928 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6930 * text.C (getRowNearY): comment out debug msg
6932 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6934 * text2.C: first -> first_y
6936 * text.C (getRowNearY): add some attemts at a possible
6937 optimization, not working.
6939 * tabular.[Ch]: add BufferParams to several function so that newly
6940 created paragraph can be initialized to he default layotu for the
6943 * tabular-old.C (ReadOld): add buf->params to call of Init
6945 * screen.C: rename text->first to text->first_y
6947 * paragraph.C (breakParagraph): always set layout in the broken
6950 * lyxtextclass.C (Read): remove lowercase
6953 (delete_layout): ditto
6955 * lyxtext.h: rename first -> first_y
6957 * lyxlayout.C (Read): remove lowercase
6960 (obsoleted_by): ditto
6962 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6964 * buffer.C (insertErtContents): add params are to InsetERT
6965 (parseSingleLyXformat2Token): add code to check if a paragraphs
6966 layout really exist.
6967 (parseSingleLyXformat2Token): add params to several inset
6969 (asciiParagraph): remove lowercase, do the layout comparisons with
6972 * BufferView_pimpl.C (cursorNext): first -> first_y
6973 (resizeCurrentBuffer): first -> first_y
6974 (updateScrollbar): first -> first_y
6975 (scrollCB): first -> first_y
6976 (workAreaMotionNotify): first -> first_y
6977 (workAreaButtonPress): first -> first_y
6978 (checkInsetHit): first -> first_y
6979 (cursorPrevious): first -> first_y
6980 (cursorNext): first -> first_y
6981 (Dispatch): add buffer_->params to severl inset contructors
6983 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6985 * lyxlayout.C (Read): remove some debug info that I forgot.
6987 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6988 clean up the code slightly.
6989 (makeLinuxDocFile): ditto
6990 (makeDocBookFile): ditto
6992 * text2.C: layout as string
6994 * text.C: layout as string
6996 * paragraph_pimpl.C: layout as string
6998 * paragraph.[Ch]: layout as string
7000 * lyxtextclasslist.[Ch]: layout as string
7002 * lyxtextclass.[Ch]: layout as string
7004 * lyxtext.h: layout as string
7006 * lyxlayout.[Ch]: layout as string
7008 * lyx_cb.C: layout as string
7010 * bufferview_funcs.C: layout as string
7012 * bufferparams.C: layout as string
7014 * buffer.C: layout as string
7016 * LyXView.[Ch]: layout as string
7018 * LaTeXFeatures.[Ch]: layout as string
7020 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7022 * BufferView_pimpl.C: change current_layout to string, remove
7027 (workAreaButtonRelease): layout as string
7029 * BufferView2.C (unlockInset): adjust
7031 * vspace.C (asLatexCommand): use an explict temp variable.
7033 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7035 * Makefile.am: use FRONTEND_*
7037 2002-03-01 Juergen Vigna <jug@sad.it>
7039 * tabular.C (SetWidthOfMulticolCell): changed to something better
7040 I hope but still work in progress.
7041 (recalculateMulticolumnsOfColumn): renamed function from
7042 recalculateMulticolCells as it is more appropriate now.
7043 (SetWidthOfCell): calculate multicols better.
7045 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7047 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7049 * lyxfunc.C (processKeySym): print sequence also if it is
7050 `deleted' (complete)
7052 * kbsequence.C (print): print sequence even if it is deleted
7053 (complete would be a better word, actually).
7055 * lyxfunc.C (dispatch): print complete options after a prefix key
7057 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7059 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7061 * text2.C (setCharFont): eliminate setCharFont code duplication.
7063 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7065 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7066 LFUN_TABULAR_FEATURE (bug #177)
7068 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7070 * Makefile.am: remove figure.h
7072 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7074 * Bufferview_pimpl.C:
7086 * text2.C: remove #include "lyx_gui_misc.h".
7088 * LaTeX.C: added #include <cstdio>
7090 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7092 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7093 that the paragraph following this one can have.
7095 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7097 * vspace.C (asLatexCommand): fix bogus gcc warning
7099 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7101 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7103 * text2.C (setLayout): get rid of redundant code
7105 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7107 * text2.C (incDepth): make sure depth cannot be increased beyond
7110 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7112 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7113 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7115 * PainterBase.h (image):
7116 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7119 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7123 * BufferView_pimpl.C:
7124 * BufferView_pimpl.h:
7144 * sp_spell.C: remove fig inset, and the crap house of
7145 cards that follows it
7147 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7153 * nt_defines.h: move .h into support/
7155 * vms_defines.h: remove
7157 * WorkArea.C: add space in debug output
7161 * buffer.C: add WITH_WARNINGS
7165 * bufferlist.C: s/retrive/retrieve/, add docs
7176 * lyxgui.C: add ID to X error handler
7178 * lyxtestclass.c: fix typo
7180 2002-02-26 Juergen Vigna <jug@sad.it>
7182 * tabular_funcs.C (write_attribute): changed so that some default
7183 attributes are not written at all.
7184 (getTokenValue): set default values before trying to read the
7185 value so we have the return value always set as default if we don't
7186 find the token we search for.
7188 * tabular.C (Write): write bools as bools not as strings!
7190 2002-02-22 Juergen Vigna <jug@sad.it>
7192 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7193 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7195 * text.C (leftMargin): don't add an indent for paragraphs inside
7196 tabular cells (fix #208).
7198 2002-02-21 José Matos <jamatos@fep.up.pt>
7200 * tabular.C (docBook): fixed support for long tables.
7202 2002-02-20 Juergen Vigna <jug@sad.it>
7204 * text2.C (getFont): get the drawing font of the Inset if this
7205 paragraph is inside an inset (only important for InsetERT for now).
7207 * buffer.C (insertErtContents): use new lanugage params in ERT
7210 * CutAndPaste.C: commenting out seemingly uneeded code.
7212 2002-02-19 Allan Rae <rae@lyx.org>
7214 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7215 Iterators might be simple to use but they also get invalidated.
7216 (removeAutoInsets): renamed saved cursor tracking variables and added
7217 some comments to clarify what everything does.
7219 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7226 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7227 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7230 * vc-backend.h: remove #include "support/syscall.h"
7234 * converter.C: rearrange #includes in Lars' approved fashion.
7236 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7237 forward declare class Timeout in the header file.
7239 * XFormsView.C: changes due to the above.
7241 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7244 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7245 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7247 2002-02-18 José Matos <jamatos@fep.up.pt>
7249 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7252 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7254 * a lot of small ws changes
7255 * add a lot of using std::XXX
7256 * use std construcs some places where approp.
7257 * use some exisint stuff from lyxfunctional where approp.
7258 * Make file changes to use partial linking (lets test this now...)
7260 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7264 remove #include "support/syscontr.h" as it's redundant. Always has been.
7272 change Systemcalls::System to Systemcalls::Wait and
7273 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7274 No change of functionality, just reflects the stripped down Systemcalls
7277 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7279 * debug.[Ch]: add a GRAPHICS type to the enum.
7281 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7283 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7285 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7288 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7290 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7291 match the changes below.
7293 * text2.C (toggleInset): if there is not editable inset at cursor
7294 position, try to see if cursor is _inside_ a collapsable inset
7297 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7299 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7300 document menu has a nice checkbox
7302 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7304 * lyxlength.C (asLatexString): change PW to output as percent of
7307 * lengthcommon.C: change '%' to 't%'
7309 * lyxfunc.C (dispatch): a few comments from Martin
7311 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7315 * BufferView_pimpl.h:
7316 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7319 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7321 * vspace.C (inPixels): fix compiler warning
7323 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7325 * lyxfunc.C (getStatus): fix status message for disabled commands.
7327 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7329 * BufferView_pimpl.C: fix crash on close buffer
7330 during selection (#227)
7332 2002-01-27 Herbert Voss <voss@lyx.org>
7334 * buffer.C: link old Figure to new graphic inset
7336 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7338 * FontLoader.C (getFontinfo): Change the latex font names in order
7339 to match the names of type1inst.
7341 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7343 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7345 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7348 (remove_files_with_extension): ditto
7349 (remove_file): ditto
7352 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7353 document is smaller than the work area height. Do not initialize
7354 static variables to 0.
7356 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7358 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7360 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7361 LFUN_LAYOUT_PARAGRAPHS.
7363 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7364 tabular. It is possible to provide a possible cell, which will
7365 typically be the actcell from the corresponding insettabular
7367 * lyxfunc.C (getStatus): small cleanup; disable
7368 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7371 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7373 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7375 * paragraph.C (startTeXParParams):
7376 (endTeXParParams): new methods. The LaTeX code to
7377 start/end paragraph formatting
7378 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7379 empty (fixes bug #200)
7381 * vspace.C (inPixels): adapt to the change below
7382 (inPixels): [later] more cleanups (remove unused variables)
7384 * lyxlength.C (inPixels): change to use a width and a height as
7387 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7389 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7390 Replaced with \paperwidth
7392 * DepTable.C (insert): add std:: qualifier
7394 2002-01-18 Allan Rae <rae@lyx.org>
7396 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7399 * text.C (drawInset): Turned out I didn't know enough about how
7400 rebreaking worked. This fixes most of the redraw problems. I see
7401 an occasional cursor trail when a line is broken now and the cursor
7402 placement can seem out by a few pixels also after a rebreak.
7404 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7406 * buffer.C (parseSingleLyXformat2Token): update because minipage
7407 width is now a LyXLength
7409 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7411 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7414 2002-01-17 Juergen Vigna <jug@sad.it>
7416 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7418 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7419 is set correctly and the inset is updated correctly.
7421 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7423 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7424 the beginning of the loop.
7426 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7428 * lyxrc.C: improve help for use_scalable_fonts
7430 2002-01-17 Allan Rae <rae@lyx.org>
7432 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7434 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7436 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7437 make sure to set their inset_owner to the right value (bug #171)
7439 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7442 * DepTable.C: Implement mtime checking to reduce time spent doing
7445 2002-01-16 Juergen Vigna <jug@sad.it>
7447 * tabular.C (GetAdditionalHeight): one of error fixed.
7449 * lyxrc.C (output): small fix in writing use_pspell.
7451 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7453 * sp_base.h: #include LString.h
7455 2002-01-16 Allan Rae <rae@lyx.org>
7457 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7458 Can someone check this please?
7460 * text.C (drawInset): It was possible that p.row would be removed by
7461 breakAgainOneRow upsetting a few other settings. There may be another
7462 small tweak possible by setting need_break_row = 0 when p.row has been
7463 removed but I don't know enough about the logic here.
7465 2002-01-15 Allan Rae <rae@lyx.org>
7467 * text.C (insertChar): removed conditional truism.
7469 * BufferView2.C (removeAutoInsets): More tweaks.
7470 cur_par_prev could be a stray pointer. Check for trailing empty line
7471 in case last line was cur_par and only had an error inset on it.
7473 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7475 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7478 * vc-backend.C (most methods):
7479 * exporter.C (Export):
7480 * converter.C (convert):
7482 * LyXSendto.C (SendtoApplyCB):
7483 * lyxfunc.C (dispatch):
7487 * lyx_cb.C (AutoSave):
7489 * BufferView_pimpl.C (MenuInsertLyXFile):
7490 * buffer.C (runChktex): use Buffer::filePath().
7492 * buffer.h: rename filename to filename_; rename filepath to
7493 filepath_ and make it private
7494 (filePath): new method
7496 * buffer.C (writeFile): use fileName()
7499 * lyx_main.C (init): fix starting of LyX when the binary is a
7500 link from so,ewhere else.
7502 * minibuffer.C: include <cctype> for isprint
7504 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7506 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7507 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7508 name clash with InsetCollapsable's width function.
7510 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7512 * lastfiles.C: include <iterator>
7514 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7516 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7519 * buffer.C (makeLaTeXFile): ditto.
7520 Also make loop operation more transparent.
7522 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7524 * ToolbarDefaults.C: remove trailing comma closing namespace.
7526 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7528 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7531 * trans.C (Load): comment out unused variable, allowed.
7533 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7535 * minibuffer.[Ch] (append_char): new method to recieve input from the
7536 drop-down completion browser. If a key was pressed, then recieve this
7537 char and append it to the existing string.
7538 (peek_event): modify the positioning data passed to the completion
7539 browser so that it can be placed above the minibuffer rather than below.
7540 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7542 * LyXAction.C (init): alloe error-next for readonly documents.
7544 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7547 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7549 * bufferlist.C (readFile): create the buffer _after_ checking that
7552 * lyxfunc.C (verboseDispatch): fix handling of arguments
7554 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7556 * lyxrc.C: use string::erase() instead of initializing to "".
7559 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7561 * BufferView_pimpl.h:
7562 * BufferView_pimpl.C:
7565 * text2.C: tell X when we have made a selection for copying
7567 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7569 * BufferView_pimpl.C (MenuInsertLyXFile):
7570 * lyxfunc.C (menuNew):
7572 (doImport): add shortcuts to directory buttons
7574 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7577 * lyxfunc.C (setStatusMessage):
7578 (getStatusMessage): new methods
7579 (getStatus):use setStatusMessage instead of setErrorMessage
7580 (dispatch): when function is disabled, set error message here
7581 [instead of in getStatus previously]
7583 * BufferView_pimpl.C (workAreaButtonRelease): update
7584 toolbar/menubar here too.
7586 2002-01-13 Allan Rae <rae@lyx.org>
7588 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7589 Now seems indestructible. Remaining task is to audit all other
7590 code affected by deleteEmptyParagraphMechanism. One small quirk
7591 left is that an empty document with an error in the preamble can
7592 be made to report an error but no error box appears. I don't know
7594 (removeAutoInsets): Improved comments.
7596 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7599 * Thesaurus.C: update for Aiksaurus 0.14
7601 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7603 * text2.C (firstParagraph): removed member function, all uses
7604 replaces with ownerParagraph
7605 (redoParagraphs): here
7607 (toggleAppendix): here
7608 * BufferView2.C (insertErrors): here
7609 (setCursorFromRow): here
7611 2002-01-13 Allan Rae <rae@lyx.org>
7613 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7614 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7615 There is still a way to segfault this although you may have to do this
7616 multiple times: Have an InsetERT with an unknown command in it.
7617 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7618 <down-arrow>, <Enter> again, View->DVI, BANG!
7620 * text2.C (setCursor):
7621 (deleteEmptyParagraphMechanism):
7622 * lyxtext.h (setCursor):
7623 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7624 Making use of the return value may help fix other bugs.
7626 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7628 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7630 * LyXView.C (updateMenubar): call MenuBar::update here
7631 (updateToolbar): but not here
7632 (showState): do not update toolbar/menubar
7634 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7635 should need to care about that.
7637 * lyxfunc.C (verboseDispatch): simplify a bit
7638 (getStatus): have a version which takes a pseudoaction, and
7639 another which requires a (kb_action,string).
7641 * LyXAction.C (retrieveActionArg): make it work also when action
7642 is not a pseudo-action.
7643 (getActionName): simplify a bit
7646 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7648 * lyxfunc.C (verboseDispatch): new families of methods with
7649 several ways to specify a command and a bool to indicate whether
7650 the command name and shortcut should be displayed in minibuffer
7651 (eventually, we could extend that to a finer bitmask like
7652 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7653 (dispatch): the pristine dispatch command which just, well,
7654 dispatchs! Note it still sets its result to minibuffer; I'm not
7657 * lyxfunc.h: remove setHintMessage
7659 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7661 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7663 * BufferView_pimpl.C (specialChar): delete new inset if we have
7664 not been able to insert it.
7666 * kbmap.C: revert to using int instead of kb_action, since all we
7667 are dealing with is pseudo-actions.
7669 * LyXAction.C (searchActionArg): change to return int instead of
7670 kb_action, since the result is a pseudoaction.
7672 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7674 * buffer.C (insertErtContents): Fix (partially) the font bug.
7676 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7678 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7679 as the other one is broken on my machine!
7681 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7684 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7686 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7688 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7689 reflect their actual use. Provide compatibility code for older lyxrc
7692 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7694 change names of popup font variables in line with the changes to lyxrc.C
7696 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7698 * buffer.C (asciiParagraph): avoid outputing a word twice after
7701 * lyxrc.C (getDescription): document that document_path and
7702 template_path can be empty.
7704 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7706 * LaTeXFeatures.C (getMacros):
7707 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7709 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7711 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7713 (getPackages): rename feature "floats" to "float". Use an array to
7714 iterate over 'simple' features (i.e. just a \usepackage). Add
7715 handling of "amsmath" (renamed from "amsstyle").
7717 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7719 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7722 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7724 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7725 FuncStaus::FuncStatus & FuncStaus::some_method().
7727 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7729 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7730 of the func_satus stuff. Edited and massaged in various ways by
7733 * lyxfunc.C (getStatus): use FuncStatus
7735 2002-01-08 Juergen Vigna <jug@sad.it>
7737 * text.C (nextBreakPoint): use function Inset::isChar().
7739 * paragraph.C (TeXOnePar): use function
7740 Inset::forceDefaultParagraphs.
7742 * buffer.C (latexParagraphs): use function
7743 Inset::forceDefaultParagraphs.
7745 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7747 * lyx_gui.C (init): set the style of the menu popups to
7748 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7750 2002-01-07 Juergen Vigna <jug@sad.it>
7752 * text.C (setHeightOfRow): small fix
7753 (prepareToPrint): don't look at alignment if we don't have the place
7756 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7758 * box.C: New file. Move the Box methods and functions out of box.h,
7759 following Lars' suggestion.
7761 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7763 * box.h: #include "support/LOstream.h", needed for inlined function.
7766 * lyxtextclasslist.C: added some using std declarations.
7768 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7770 * box.h: make signed dimensions to allow insets wider than
7771 the screen (bug #162)
7773 * BufferView_pimpl.C: add some insetHit debug
7775 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7777 * vc-backend.C: add FIXME
7779 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7781 * lyxfunc.C (getStatus): enable code for showing math font status
7784 2002-01-07 Juergen Vigna <jug@sad.it>
7786 * text.C (nextBreakPoint): removed debug output not needed anymore.
7788 2002-01-06 Juergen Vigna <jug@sad.it>
7790 * text.C (nextBreakPoint): fixed up this function we had this bug
7791 since ever but now hopefully we break row better.
7792 (insertChar): we have to check if an inset is the next char as it
7793 could now happen that a large inset is causing a break.
7795 2002-01-05 Juergen Vigna <jug@sad.it>
7797 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7798 if it doesn't like to be drawed.
7800 2002-01-04 Juergen Vigna <jug@sad.it>
7802 * BufferView2.C (lockInset): forgot to set a cursor.
7804 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7806 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7811 * form_maths_panel.C:
7812 * form_maths_panel.h:
7813 * form_maths_panel.fd: implemented sub- and super- buttons in math
7816 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7817 (or ^ space) to be used as in TeX (req'd by André).
7819 * lyxfunc.C: Allow ^ and _ again to be used both as
7820 super/subscript (mathed) and as themselves (in text).
7822 2002-01-03 Allan Rae <rae@lyx.org>
7824 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7825 "LyX" or the filename of the current buffer if it has one. This is a
7826 modified form of John Levon's patch.
7828 * XFormsView.C (setWindowTitle): also set icon title.
7830 * LyXView.h (setWindowTitle): signature changed.
7831 * XFormsView.h (setWindowTitle): ditto.
7833 2002-01-02 Juergen Vigna <jug@sad.it>
7835 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7837 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7839 * screen.C (topCursorVisible): introduce a temp var for
7840 text->cursor.row(), handle the case where this row is null. (kindo
7843 * text2.C (setCursor): add a couple of asserts.
7845 * paragraph.h (inset_iterator): add -> operator
7847 * paragraph.[Ch] (autoDeleteInsets): remove member function
7849 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7850 cursor pos correctly and handle inset deletion by itself.
7851 (insertErrors): move iterator declaration out of for expression
7853 * lyxtextclass.C: add <algorithm>
7855 * Makefile.am: added the new files to sources, removed layout.C
7857 * layout.C: removed file
7859 * layout.h: remove LYX_DUMMY_LAYOUT
7861 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7865 * lyxtextclass.[Ch]:
7866 * lyxtextclasslist.[Ch]: new files
7868 * include order changes to a lot of files, also changes because of
7871 2001-12-27 Juergen Vigna <jug@sad.it>
7873 * buffer.C (asciiParagraph): more fixes.
7875 * tabular.C (ascii): make ascii export support export of only the
7876 data separated by a column-delimiter.
7877 (ascii): better support for ascii export.
7879 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7881 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7883 * tabular_funcs.C: use a "using std::getline" instead of the
7884 previous fix from Angus (necessary for cxx + lyxstring)
7886 2001-12-24 Juergen Vigna <jug@sad.it>
7888 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7890 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7891 problems. First check a minipage also if we have some ert-contents
7892 (not only on par->size(), second set the right depth of the paragraph
7893 on the relink to the root-paragraph-list!
7895 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7896 which then did not anymore update the main paragraphs on undo/redo!
7898 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7900 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7901 code. Support all font-changing funcs (even those which are not in
7902 menu currently). Support for reporting font settings in
7903 mathed (disabled until Andre provides a function on mathed's side).
7905 * func_status.h (toggle): small helper function to set toggle
7908 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7910 * tabular_funcs.C: getline -> std::getline
7912 2001-12-21 Juergen Vigna <jug@sad.it>
7914 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7915 accessed and could be 0 (I couldn't generate this but it seems
7918 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7920 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7921 * tabular_funcs.h: here and include iosfwd
7923 2001-12-20 Juergen Vigna <jug@sad.it>
7925 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7926 inside inset but undo_par was.
7928 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7930 * Thesaurus.C: always include <config.h> in sources.
7934 * box.h: do not include <config.h> in header files
7936 * text.C (paintLastRow): remove unused variable
7938 * text.C (transformChar):
7940 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7943 * font.C (width): rewrite to use uppercase() instead of
7946 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7948 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7950 * lyxfind.C: clean up of find failure position change
7952 2001-12-20 Juergen Vigna <jug@sad.it>
7954 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7956 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7957 (TeXRow): added to LaTeX a single tabular row.
7958 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7959 (Latex): simplified and finally good LT-h/f support.
7960 (various_functions): just small adaptions for LT-h/f support.
7962 * tabular_funcs.[hC]: added and moved here all not classfunctions
7965 2001-12-19 Juergen Vigna <jug@sad.it>
7967 * tabular.[Ch]: better support for longtabular options (not finished
7970 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7972 * text.C (paintLastRow): use the label font instead of the font of
7973 the last character to compute the size of *_BOX. This makes more
7974 sense and avoids a crash with empty paragraphs.
7975 Use Painter::rectangle to draw EMPTY_BOX.
7977 2001-12-19 Juergen Vigna <jug@sad.it>
7979 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7980 the paragraphs if the replaced paragraph is not the first one!
7981 Tried to delete not used paragraphs but does not work yet so for
7982 now it's inside #ifdef's and by default off!
7984 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7986 * MenuBackend.C: include "lyx_main.h" instead of declaring
7987 lastfiles (actually was declared as LastFiles* instead of a
7990 2001-12-17 Juergen Vigna <jug@sad.it>
7992 * tabular.C (AppendColumn): applied John's fix
7994 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7998 * BufferView_pimpl.h:
7999 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8002 * box.h: new start of class for above
8004 * lyxfunc.C: ignore space-only minibuffer dispatches.
8005 Show the command name when it doesn't exist
8007 * minibuffer.C: don't add empty lines to the history
8009 * minibuffer.C: add a space on dropdown completion
8011 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8013 * text.C: fix line above/below drawing in insets
8015 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8017 * lyxlength.C (LyXLength): Initialize private variables.
8019 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8021 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8022 when inserting error insets.
8024 2001-12-13 Juergen Vigna <jug@sad.it>
8026 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8027 actually sometimes the before-paragraph.
8028 (setUndo): don't clear the redostack if we're not actually undoing!
8030 2001-12-06 Juergen Vigna <jug@sad.it>
8032 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8033 and fixed redoing of main paragraph, so we can use it now ;)
8035 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8037 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8039 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8042 2001-12-13 André Pönitz <poenitz@gmx.net>
8045 * undo_func.C: minor cleanup
8047 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8049 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8050 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8051 font in urw-fonts package which is marked as -urw-fontspecific and
8052 does not work (incidentally, changing the encoding in the
8053 fonts.dir of this package to -adobe-fontspecific fixes the
8056 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8057 is a crash when undoing first paragraph (Juergen, please take a
8058 look). THis does not mean the undo fix is wrong, just that it
8061 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8062 the (Paragraph*) version when needed instead of duplicating the
8065 * text.C (workWidth): use Inset::parOwner to find out where the
8066 inset has been inserted. This is a huge performance gain for large
8067 documents with lots of insets. If Inset::parOwner is not set, fall
8068 back on the brute force method
8070 * paragraph_pimpl.C (insertInset):
8071 * paragraph.C (Paragraph):
8072 (cutIntoMinibuffer): set parOwner of insets when
8073 inserting/removing them
8075 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8077 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8083 * mathed/formulabase.C:
8084 * mathed/math_cursor.[Ch]:
8085 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8088 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8090 * lyxlength.[Ch] (operator!=): new function
8092 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8094 * text.C (workWidth): use Inset::parOwner to find out where the
8095 inset has been inserted. This is a huge performance gain for large
8096 documents with lots of insets. If Inset::parOwner is not set, fall
8097 back on the brute force method
8099 * paragraph_pimpl.C (insertInset):
8100 * paragraph.C (Paragraph):
8101 (cutIntoMinibuffer): set parOwner of insets when
8102 inserting/removing them
8104 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8106 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8108 * tabular-old.C (getTokenValue):
8109 * tabular.C (getTokenValue):
8110 (write_attribute): new versions for LyXLength
8111 (everywhere): adjust the use of widths
8113 * tabular.h: change the type of widths from string to LyXLength
8115 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8117 * paragraph.C: fixed missing line number count when exporting
8118 Environments to LaTeX file
8120 * buffer.C: added informational message for checking line numbers.
8122 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8124 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8125 paragraph, do the 'double space' part, but not the 'empty
8128 * text.C (workWidth): small optimization
8129 (getLengthMarkerHeight): use minimal size for negative lengths.
8131 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8133 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8135 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8137 2001-12-11 André Pönitz <poenitz@gmx.net>
8140 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8142 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8144 * text2.C: keep selection on a setFont()
8146 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8148 * lyx_cb.C: another bv->text misuse, from insert label
8150 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8153 * kbsequence.C: re-instate nmodifier mask
8155 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8157 * lyx_main.h: make lyxGUI private.
8159 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8161 * lyxfind.C: place the cursor correctly on failed search
8163 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8165 * text.C (getLengthMarkerHeight): for small heights, the arrows
8166 are not always on top/bottom of the text
8167 (drawLengthMarker): smaller arrows; take the left margin in
8168 account; draw also vfills.
8170 (paintLastRow): remove special code for vfill and standard spaces,
8171 since everything is handled in drawLengthMarker now.
8173 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8175 * buffer.C (insertErtContents): try to handle font and language
8176 interaction a bit better.g
8178 * ColorHandler.C (updateColor): change the hash to cover the whole
8179 LColor enum, ws cleanup
8180 (getGCLinepars): ditto
8181 (getGCLinepars): only lookup in the linecache once.
8183 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8185 * iterators.C (operator++): Make the iterator more robust
8187 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8189 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8191 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8194 * text.C: better added space drawing
8196 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8199 * BufferView2.C: fix layout combo update on inset unlock
8201 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8203 * Makefile.am: don't compile unused files
8205 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8209 * LyXAction.C: remove old LFUN_LAYOUTNO
8211 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8213 * paragraph_pimpl.h:
8214 * paragraph_pimpl.C: isTextAt() doesn't need font param
8216 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8219 * lyxlex.C: little cleanup
8221 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8223 * BufferView_pimpl.C: fix insertAscii for insets
8225 2001-12-05 Juergen Vigna <jug@sad.it>
8227 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8228 set the right font on the "multi" paragraph paste!
8230 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8236 * lyxlength.C: remove out-commented code.
8252 * vc-backend.C: change "while(" to "while ("
8254 * lyxlength.[Ch]: add zero function to check if length is zero or
8256 * lyxgluelength.C: use it
8258 2001-12-05 Allan Rae <rae@lyx.org>
8260 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8261 Works for 2.95.3, from what I understand of Garst's reports this should
8262 work for other g++ versions. We're screwed if the abs(int) definition
8263 changed between bugfix releases of gcc.
8265 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8267 * text.C: fix chapter label offset !
8269 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8272 * text.C: fix hfill at end of line, clean up
8274 2001-12-04 Juergen Vigna <jug@sad.it>
8276 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8277 that we force an update of the inset and it's owners if neccessary.
8279 2001-12-03 Juergen Vigna <jug@sad.it>
8281 * text.C (rowLast): simplified code
8283 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8285 * lyxfunc.C: fix show options on timeout
8287 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8289 * screen.C (topCursorVisible): scroll half a page when the cursor
8290 reached top of bottom of screen
8292 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8294 * minibuffer.C: deactivate on loss of focus
8296 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8298 * vspace.[Ch] (operator!=): add operator.
8300 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8302 * BufferView_pimpl.C: refuse to open an inset when
8303 there's a selection.
8305 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8307 * BufferView_pimpl.C: allow to click on RHS of full row insets
8309 2001-11-30 Juergen Vigna <jug@sad.it>
8311 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8312 insets for undo reasons.
8314 2001-11-28 André Pönitz <poenitz@gmx.net>
8316 * vspace.[Ch]: cosmetical changes
8318 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8328 * kbsequence.C: part re-write of old kb code
8331 * WorkArea.C: remove Lgb_bug_find_hack
8333 2001-11-30 José Matos <jamatos@fep.up.pt>
8335 * buffer.C (makeDocBookFile): add a comment to point a hack.
8336 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8337 Fixed a double write of labels.
8339 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8342 * LaTeX.h Fixed bug in LaTeX class where it would not
8343 re-run latex if no depfiles were changed, but the .dvi was removed.
8345 2001-11-28 André Pönitz <poenitz@gmx.net>
8347 * all the files from the change on 2001/11/26:
8348 use lyx::layout_type instead of LyXTextClass::size_type
8349 use lyx::textclass_type instead of LyXTextClassList::size_type
8351 2001-11-29 Juergen Vigna <jug@sad.it>
8353 * text.C: added support for paragraph::isFreeSpacing()
8355 * buffer.C: same as above
8357 * paragraph.h: inserted isFreeSpacing() function to enable
8358 FreeSpacing inside InsetERT.
8360 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8361 of the paragraph's in the cut/copy buffer to 0!
8363 * text2.C (removeRow): remove the assert as it can!
8365 * lyxtext.h: added helper function firstRow returning firstrow and
8366 made firstrow private again.
8368 * BufferView2.C (lockInset): don't relock if we're already locked!
8370 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8372 (removeRow): added Assert::(firstrow)
8374 * debug.C: forgot to add INSETTEXT here.
8376 2001-11-28 Juergen Vigna <jug@sad.it>
8378 * sp_spell.C (initialize): changed error text to more general
8379 spellchecker command use (not only ispell!)
8381 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8383 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8385 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8387 * vspace.C: initialise lyxgluelength on failure
8389 2001-11-28 Allan Rae <rae@lyx.org>
8391 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8392 declaration & definition that looks like a function declaration.
8394 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8396 * BufferView2.C (copy):
8397 (copyEnvironment): do not clear the selection when doing a copy.
8399 * text.C (paintFirstRow): compilation fix
8401 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8403 * tabular.C (Latex): correct line count when writing latex.
8405 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8407 * paragraph_pimpl.h:
8408 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8411 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8415 * LColor.C: change vfillline->added_space
8417 * text.C: add markers and text for added space
8419 * vspace.C: fix comment
8421 2001-11-28 André Pönitz <poenitz@gmx.net>
8423 * paragraph.C: whitespace changes
8424 * all the other files from the change on 2001/11/26:
8425 change *::pos_type into lyx::pos_type
8427 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8429 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8430 language of the document when inserting error insets.
8432 2001-11-26 André Pönitz <poenitz@gmx.net>
8434 * BufferView_pimpl.[Ch]:
8442 * paragraph_pimpl.[Ch]:
8445 * text2.C: reduce header dependencies, introduce type for positions
8447 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8449 * <various>: change to use Alert.h
8451 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8453 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8454 when encountering an unknown token.
8455 (readLyXformat2): Show an error message if there were unknown tokens.
8457 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8460 * BufferView_pimpl.C:
8464 * text2.C: use par->isInset()
8466 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8468 * paragraph_pimpl.h:
8469 * paragraph_pimpl.C: cleanup
8471 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8473 * text2.C (removeRow):
8474 * text.C (setHeightOfRow): remove useless (and costly) call to
8477 2001-11-20 Allan Rae <rae@lyx.org>
8479 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8480 Now need Inset*::checkInsertChar() to return true for appropriate
8481 cases so that the characters in the minibuffer will actually be
8484 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8486 * text.C: change the order of the includes.
8487 (workWidth): initialize it at once.
8488 (workWidth): make maxw unsigned
8489 (setHeightOfRow): remove unused variable (inset)
8490 (selectSelectedWord): remove unused variable (inset)
8491 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8493 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8495 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8496 server is not running.
8498 (closeConnection): add debug info when server is disabled.
8500 * ColorHandler.C (getGCForeground): send debug message to GUI
8503 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8505 * kbmap.C (bind): modify because return conventions of
8506 kb_sequence::parse have changed.
8508 * kbsequence.C (parse): only ignore spaces and not any stupid
8509 control character. This avoids tests like s[i] <= ' ', which are
8510 guaranteed to fail with 8bit characters and signed chars.
8511 Change return code to string::npos when there have been no error
8512 (0 was a bad idea when error is at first character)
8514 2001-11-14 José Matos <jamatos@fep.up.pt>
8517 * buffer.C (simpleDocBookOnePar): removed unused argument.
8519 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8521 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8522 insets which are part of a word. Paragraph::isLetter takes care of
8523 that now. Use Paragraph::isInset to identify insets.
8524 (selectSelectedWord): do not test for hyphenation break.
8526 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8527 that protected spaces are considered as spaces.
8529 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8532 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8535 * lyxserver.C: fix it. and small cleanup.
8537 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8539 * BufferView_pimpl.C: use inline helpers
8542 * LaTeXFeatures.C: fix typos
8545 * Spacing.C: move spacing_string into class
8547 * ToolbarDefaults.C: move stuff into namespace anon
8549 * layout.h: update enum
8551 * lyxfunc.C: use better debug
8553 * minibuffer.h: fix typo
8557 * WorkArea.C: add and use Debug::WORKAREA
8561 * text2.C: code re-organisation, inline helpers
8563 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8565 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8566 std::vector.empty().
8568 2001-11-09 Allan Rae <rae@lyx.org>
8570 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8571 '\n's after tables. Tabular and ERT inset work now makes this no
8574 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8577 * minibuffer.C: fix crash, improve drop-down completion
8579 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8582 * lyxserver.C: invalidate fd's when doing endPipe()
8584 2001-11-08 José Matos <jamatos@fep.up.pt>
8586 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8587 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8590 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8592 2001-11-07 José Matos <jamatos@fep.up.pt>
8595 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8598 * buffer.C (sgmlOpenTag):
8599 * buffer.C (sgmlCloseTag): removed debug info.
8601 * buffer.h (sgmlOpenTag):
8602 * buffer.h (sgmlCloseTag): made public.
8604 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8606 * buffer.C (saveParamsAsDefaults):
8607 * lyx_cb.C (MenuLayoutSave): remove
8609 * LyXAction.C (init):
8611 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8613 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8615 * buffer.C (setPaperStuff): removed from here...
8617 * bufferparams.C (setPaperStuff): ... and moved there.
8619 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8623 * XFormsView.C: add support for drop-down completion
8625 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8627 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8630 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8632 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8635 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8637 * lyx_main.C: change ref to known bugs
8639 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8641 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8642 to work around older babel problems.
8644 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8646 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8648 2001-10-24 Juergen Vigna <jug@sad.it>
8650 * tabular-old.C (ReadOld): below variable changes reflected.
8652 * tabular.[Ch]: added ltType struct for longtable header/footer
8653 defines and changed all instances where they are used. Added
8654 future support for double top/bottom rows.
8656 2001-10-24 José Matos <jamatos@fep.up.pt>
8658 * buffer.h (docbookHandleCaption):
8659 * buffer.C (docbookHandleCaption): removed unused function.
8660 (makeDocBookFile): moved docbook supported version to v4.1.
8662 2001-10-24 José Matos <jamatos@fep.up.pt>
8665 * tabular.C (docbookRow): new function to export docbook code of a row.
8666 (DocBook): now honors the longtable flags.
8668 2001-10-23 José Matos <jamatos@fep.up.pt>
8671 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8672 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8674 * buffer.C (makeLinuxDocFile):
8675 (makeDocBookFile): reworked the preamble, more clean, and with
8676 support for lyx defined entities. Changed the document declaration
8677 to be more XML friendly.
8679 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8680 if we need to output XML that should be done with a filter.
8682 2001-10-22 Juergen Vigna <jug@sad.it>
8684 * sp_pspell.h (class PSpell): add alive function needed in the
8685 controller to see if the spellchecker could be started.
8687 2001-10-22 Juergen Vigna <jug@sad.it>
8689 * buffer.C (insertStringAsLines): modify the font for inserting
8690 chars in certain conditions by calling checkInsertChar(font).
8692 2001-10-19 Juergen Vigna <jug@sad.it>
8694 * text.C (workWidth): use getRow instead of wrong algorithm.
8695 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8697 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8702 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8704 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8706 * text.C (workWidth): do not search for the exact row when
8707 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8708 optimization for big documents.
8710 2001-10-18 Juergen Vigna <jug@sad.it>
8712 * text.C (workWidth): new function with added Inset * parameter.
8714 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8716 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8718 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8719 change return type of getColumnNearX.
8722 * text.C (changeRegionCase): use uppercase/lowercase instead of
8725 (rightMargin): simplify code by factoring out the uses of
8730 (appendParagraph): use Paragraph::size_type
8732 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8734 * vspace.C (asLatexString): add a missing break
8736 2001-10-15 Herbert Voss <voss@perce.de>
8738 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8740 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8742 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8745 2001-10-10 André Pönitz <poenitz@gmx.net>
8747 * lyxfunc.C: removed greek_kb_flag.
8749 2001-10-10 Herbert Voss <voss@perce.de>
8751 * lyx_main.C: delete global string help_lyxdir.
8753 2001-10-09 Herbert Voss <voss@perce.de>
8755 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8757 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8759 * lyx_main.C: added global string help_lyxdir.
8761 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8763 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8765 * lyxrc.C (set_font_norm_type): support iso8859-4
8767 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8769 * LaTeX.C (deplog): add another regex for MikTeX
8771 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8773 * lyxrc.C (set_font_norm_type): support iso8859-3
8775 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8777 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8779 * LaTeXFeatures.C: remove special case of french and index
8781 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8782 before \begin{document}). This solves several incompatibilities.
8784 2001-10-03 Garst Reese <reese@isn.net>
8786 * lyx_cb.C: change CheckTex error msg.
8788 2001-10-03 José Matos <jamatos@fep.up.pt>
8790 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8792 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8794 * .cvsignore: update
8796 * lyx_main.C (commandLineVersionInfo): use new style version info.
8798 * buffer.C (writeFile):
8801 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8803 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8805 * version.h: update to use stuff in version.C
8807 * version.C.in: new file. Contains version information determined
8808 at compile time. This is a merging of version.h and
8811 2001-10-03 Juergen Vigna <jug@sad.it>
8813 * BufferView_pimpl.C (update): don't change "dirty" status in
8816 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8818 * WorkArea.C (c-tor): re-position version string slightly.
8820 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8822 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8823 revert to previous code.
8825 WorkArea.[Ch]: (show, destroySplash): methods removed.
8827 WorkArea.C: rework code so that it's an amalgam of the codes before and
8828 after the splash screen was moved to WorkArea.
8830 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8833 * vspace.C (inPixels):
8836 * buffer.C (insertStringAsLines):
8837 (asciiParagraph): fix types to be large enough
8839 * lyxlex_pimpl.h: change member status from short to int
8841 * layout.h: fix type of endlabeltype
8844 * kbsequence.C (parse): change return type to string::size_type
8846 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8849 * Bullet.C (bulletSize):
8850 (bulletEntry): do not use short ints as parameters
8852 * BufferView2.C (insertLyXFile): change a char to an int.
8854 * WorkArea.C (WorkArea): remove unneeded floats in computation
8856 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8858 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8860 * paragraph.C (asString): Do not ignore newline/hfill chars when
8861 copying to the clipboard.
8863 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8865 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8866 after a multi-line inset.
8868 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8870 * paragraph.C (validate): Set NeedLyXFootnoteCode
8872 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8874 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8875 and decrease-error to decrease.
8877 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8879 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8880 it more readable (should be equivalent)
8882 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8884 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8886 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8888 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8889 of a cursor (row, etc.) after a character has been deleted
8890 (deleteEmptyParagraphMechanism): call the method above on _all_
8891 cursors held by the LyXText when a double space has been
8894 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8896 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8898 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8900 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8901 background. Use greyOut() and the new show() methods to toggle between
8902 the foreground and background. Add code to remove the splash after
8903 its initial showing.
8905 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8906 (create_forms): no longer call Dialogs::showSplash.
8908 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8910 * .cvsignore: add version_info.h
8912 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8914 * version_info.h.in: new file
8916 * Makefile.am: add version_info.h.in
8918 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8919 version_info.h instead of VERSION_INFO
8921 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8923 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8924 The ERT inset now returns string().
8926 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8928 * lyxtext.h, text.C (selectNextWord): renamed as
8929 selectNextWordToSpellcheck.
8931 * text.C (selectNextWordToSpellcheck): Modified to not select
8932 words inside an ERT inset.
8934 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8936 * lyx_cb.C (MenuLayoutSave): change a bit the question
8938 * sp_base.h: include <sys/types.h>
8940 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8942 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8944 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8946 * several files: fix typos in user-visible strings
8948 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8950 * text2.C (pasteSelection): do not set the selection, since it
8951 will be cleared later. Actually, the intent was to fix the way the
8952 selection was set, but I figured rmoving the code was just as good.
8954 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8956 * FontLoader.C (available): Check if font is available without
8959 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8961 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8963 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8965 * lyxrc.[Ch]: added display_graphics variable and associated code.
8967 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8969 * bufferparams.C (hasClassDefaults): new method. Returns true if
8970 the buffer parameters correspond to known class defaults
8972 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8974 * XFormsView.C (show): set minimum size to the main window.
8976 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8978 * text2.C (copySelection):
8980 * lyxfind.C (LyXReplace):
8981 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8982 LyXText::selectionAsString.
8984 * paragraph.C (asString): add "label" argument to the second form
8986 * text2.C (selectionAsString): add "label" argument and pass it to
8987 Paragraph::asString.
8989 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8991 * lyx_main.C (commandLineHelp): remove version information
8993 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8995 * lyx_main.C: add -version commandline option
8997 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8999 * paragraph.h: make the optional constructor arg required instead.
9000 some modifications to other files because of this.
9002 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9004 * lyxserver.C (C_LyXComm_callback): make it static
9006 * lyx_main.C (error_handler): make it static
9008 * lyx_gui.C (LyX_XErrHandler): make it static
9010 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9012 * WorkArea.C: make the extern "C" methods static.
9014 * Makefile.am (lyx_LDADD): simplify
9016 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9018 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9019 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9021 * LyXAction.C (init):
9022 * lyxfunc.C (dispatch): associated code removal.
9024 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9026 * lyxfont.h (isSymbolFont): shut off warning
9028 * text.C (setHeightOfRow):
9029 (getVisibleRow): fix crash with empty paragraphs which have a
9032 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9034 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9037 2001-09-04 José Matos <jamatos@fep.up.pt>
9040 * tabular.C (docbook): rename docBook method to docbook.
9042 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9044 * Makefile.am: add dependencies to main.o.
9046 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9048 * FontLoader.C (available): Return false if !lyxrc.use_gui
9050 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9052 * FontInfo.C (query):
9053 * converter.C (view):
9054 * importer.C (Import):
9055 * exporter.C (Export): Can not -> cannot.
9057 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9059 * BufferView_pimpl.C: allow to create index inset even if
9062 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9064 * buffer.C (getLists): replace boost::tie code with an explicit pair
9065 as boost::tie can break some compilers.
9067 * iterators.h: Added a std:: declaration to the return type of
9070 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9072 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9075 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9077 * iterators.[Ch]: New files. Provide paragraph iterators.
9079 * buffer.C (changeLanguage): Use paragraph iterators.
9080 (isMultiLingual): ditto
9082 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9084 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9086 * FontLoader.C: Support for cmr font.
9088 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9090 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9091 (available): New method.
9093 * FontInfo.C (getFontname): Use scalable fonts even when
9094 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9097 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9099 * converter.C (Formats::view): reverted! Incorrect fix.
9101 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9103 * converter.C (Formats::view): only output the -paper option
9104 if the dvi viewer is xdvi, thereby fixing bug #233429.
9106 2001-08-23 Herbert Voss <voss@perce>
9108 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9110 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9112 * Spacing.h (Spacing): Set space to Default on in the default
9115 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9117 * vc-backend.h (RCS::versionString): add RCS to version
9118 (CVS::versionString): add CVS to version
9120 * vc-backend.C (scanMaster): do not add CVS to version.
9121 (scanMaster): do not add RCS to version
9123 * lyxvc.C (versionString): new method
9125 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9127 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9129 * Spacing.C (set): initialize fval
9131 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9133 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9136 2001-08-16 Juergen Vigna <jug@sad.it>
9138 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9140 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9142 * BufferView_pimpl.C:
9145 * text2.C: setParagraph takes linespacing now
9147 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9149 * LyxAction.C: add internal LFUN_CITATION_INSERT
9151 * LyXView.C: actually apply fix
9153 * bufferlist.C: fix open non-existent file
9155 * lyxfind.C: fix indentation
9157 * lyxfunc.C: remove unneeded assert, fix typo
9159 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9161 * MenuBackend.C: use "Floatname List"
9163 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9165 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9166 when converting LaTeX layout to insetERT.
9167 Generate a non-collapsed float when reading old float
9169 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9171 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9174 2001-08-13 Juergen Vigna <jug@sad.it>
9176 * text.C (fill): return 0 instead of 20 as this seems to be the more
9179 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9181 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9184 2001-08-13 Juergen Vigna <jug@sad.it>
9186 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9188 (SearchBackward): comment out the unlocking of the inset_owner this
9189 should not be needed!
9191 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9193 * Many files: Remove inherit_language, and add latex_language
9195 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9198 2001-08-10 Juergen Vigna <jug@sad.it>
9200 * text.C (prepareToPrint): fixed hfill-width in draw!
9202 * BufferView2.C (selectLastWord): save the selection cursor as this
9203 now is cleared in the function LyXText::clearSelection!
9205 2001-08-08 Juergen Vigna <jug@sad.it>
9207 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9208 BACKSPACE type functions.
9210 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9211 is only cutted from the document but not put in the cut-buffer, where
9212 still the old stuff should be.
9214 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9216 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9218 * tabular.C (SetWidthOfCell): fixed special case where the width
9220 (LeftLine): handle '|' in align_special.
9222 (LeftAlreadyDrawed): ditto
9223 (SetWidthOfCell): ditto
9225 2001-08-07 Juergen Vigna <jug@sad.it>
9227 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9229 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9231 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9232 * lyxlex.[hC]: ditto
9234 2001-08-06 Juergen Vigna <jug@sad.it>
9236 * text.C (getVisibleRow): fix up row clearing a bit.
9238 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9240 * minibuffer.C: make sure the X server sees the changes in the input.
9242 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9244 * paragraph.C (getFont): split into...
9245 (getLabelFont): this
9246 (getLayoutFont): and this
9247 * paragraph_pimpl.C (realizeFont): calling this
9249 * text2.C (getFont): split into...
9250 (getLayoutFont): this
9251 (getLabelFont): and this
9252 (realizeFont): all three calling this
9254 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9257 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9259 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9261 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9263 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9264 layouts from the Quote inset insertion.
9266 2001-08-03 Juergen Vigna <jug@sad.it>
9268 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9270 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9271 only if status not is already CHANGED_IN_DRAW (second level).
9273 * text.C (draw): don't set the need_break_row when inside an
9276 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9278 * buffer.C (parseSingleLyXformat2Token): handle more latex
9281 * bufferview_funcs.[hC]: change function names to
9282 begin with small char, adjust other files.
9284 2001-08-02 André Pönitz <poenitz@gmx.net>
9287 BufferView_pimpl.C: remove broken special code for math-greek
9289 2001-08-02 Juergen Vigna <jug@sad.it>
9291 * BufferView_pimpl.C (update): redone this function so that we
9292 update the text again if there was a CHANGE_IN_DRAW.
9294 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9295 (drawFromTo): added a new internal bool which is used by draw() and
9297 (general): some cursor drawing problems fixed.
9299 2001-08-01 Juergen Vigna <jug@sad.it>
9301 * lyxfind.C (LyXFind): fixed
9302 (SearchForward): ditto
9303 (SearchBackward): ditto
9305 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9306 spurius drawing of the cursor in the main area.
9308 * text2.C (status): small fix which could lead to a segfault!
9309 (clearSelection): remove unneeded BufferView param.
9311 2001-08-01 André Pönitz <poenitz@gmx.net>
9313 * lyxfunc.C: small change due to changed mathed interface
9315 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9317 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9319 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9321 * lyxfunc.c: fail gracefully if file doesn't exist
9326 * BufferView_pimpl.C: IsDirWriteable() proto changed
9328 * LyXView.C: fix updateWindowTitle() to store the last title
9330 2001-07-31 Juergen Vigna <jug@sad.it>
9332 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9333 the font (wrong since using of Paragraph::highestFontInRange).
9335 * paragraph.C (highestFontInRange): added a default_size parameter.
9337 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9338 (setHeightOfRow): reformat
9340 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9342 * converter.[hC] + affected files: move to (inital-char)lowercase
9345 * ParagraphParameters.C (ParagraphParameters): remove commented code
9347 * PainterBase.[Ch]: remove commented code
9349 * LaTeXFeatures.h: add "bool floats" for float.sty
9351 * LaTeXFeatures.C (LaTeXFeatures): init floats
9352 (require): handle float
9353 (getPackages): do it with floats
9355 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9357 * BufferView_pimpl.C (Dispatch): improve handling of
9358 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9360 * commandtags.h: #include lyxfont.h here temporarily to avoid
9363 * bufferlist.h: include LString.h here.
9365 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9367 * text2.C (getStringToIndex): new method.
9369 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9371 * *: Reduced header file dependencies all over.
9373 2001-07-30 Baruch Even <baruch@lyx.org>
9375 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9377 2001-07-29 Baruch Even <baruch@lyx.org>
9379 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9381 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9383 * ParameterStruct.h (endif): add a default constructor to make
9384 sure that all variables is initialized.
9386 * ParagraphParameters.C (ParagraphParameters): adjust
9388 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9390 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9391 index; also, check that there is something to index, and that it
9392 does not span over several paragraphs.
9393 (doubleClick): use WHOLE_WORD_STRICT for double click.
9395 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9397 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9400 2001-07-26 Baruch Even <baruch@lyx.org>
9402 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9403 an InsetFig figure, backwards compatible reading of old figure code.
9405 2001-07-27 Juergen Vigna <jug@sad.it>
9407 * text2.C: font.realize function adaption.
9409 * text.C (draw): add a warnings lyxerr text if needed.
9411 * layout.C: font.realize function adaption.
9413 * language.C: add inherit_language and implement it's handlings
9415 * bufferview_funcs.C (StyleReset): remove language parameter from
9416 font creation (should be language_inherit now).
9418 * bufferparams.C (writeFile): handle ignore_language.
9420 * paragraph.C (getFontSettings): the language has to be resolved
9421 otherwise we have problems in LyXFont!
9423 * lyxfont.C (lyxWriteChanges): added document_language parameter
9424 (update): removed unneeded language parameter
9426 * paragraph.C (validate): fixed wrong output of color-package when
9427 using interface colors for certain fonts in certain environments,
9428 which should not seen as that on the final output.
9430 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9432 * BufferView_pimpl.C:
9437 * LyXAction.C: add thesaurus support
9440 * lyxfind.C: add "once" parameter, for thesaurus, to not
9441 move to the next match
9443 2001-07-26 Juergen Vigna <jug@sad.it>
9445 * lyxfont.C (realize): honor ignore_language too!
9448 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9450 * text.C (draw): one place more for ignore_language to not draw
9453 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9455 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9457 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9459 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9460 the minipage conversion problem.
9462 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9464 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9467 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9469 * BufferView.h: don't forward declare WorkArea
9471 * BufferView.C: don't include WorkArea.h
9473 2001-07-25 André Pönitz <poenitz@gmx.net>
9477 * lyxfunc.C: new LFUN 'math-space'
9479 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9481 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9483 * text2.C (toggleInset): call open/close
9485 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9487 * lyxfunc.C (dispatch): add debug for the disabled case
9489 * font.C (buttonText): make similar to rectText
9491 * buffer.C (readInset): comment out parsing of insetlist and
9494 * PainterBase.C (rectText): small correction
9496 * BufferView_pimpl.C: comment out insettheorem and insetlist
9497 * LyXAction.C: ditto
9498 * commandtags.h: ditto
9500 2001-07-24 Juergen Vigna <jug@sad.it>
9502 * text.C (draw): honor the ignore_language.
9504 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9506 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9508 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9511 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9513 * lyxtext.h: remove unused (and unimplemented) methods
9515 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9517 * text.C (getVisibleRow): honor background color
9520 * Painter.h: remove default color argument for fillRectangle
9522 * text.C (backgroundColor): new method
9524 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9526 * text.C (getVisibleRow): adjust
9528 * font.[Ch] (rectText): new method, metrics
9529 (buttonText): new method, metrics
9531 * PainterBase.[hC]: make rectText and buttonText always draw and take
9534 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9536 * ToolbarDefaults.C (read):
9537 * MenuBackend.C (read): allow escaping in all strings
9539 * BufferView_pimpl.C (insertAndEditInset): new method.
9540 (Dispatch): use insertAndEditInset whenever appropriate.
9542 * BufferView_pimpl.C (insertNote): removed
9544 * BufferView_pimpl.C (smartQuote): new method, moved from
9545 BufferView; if an insetquote cannot be inserted, insert a '"'
9548 * BufferView2.C: remove insertCorrectQuote();
9550 * lyxfunc.C (getStatus): Add support for all remaingin
9553 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9555 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9556 command (necessary to pass " as parameter of self-insert.
9558 * text.C (selectWordWhenUnderCursor):
9559 (selectWord): add word_location parameter
9560 (selectWordWhenUnderCursor): same + remove special code for word
9562 (selectNextWord): use kind() to guess type of insetspecialchar,
9565 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9566 (insertErtContents): create ert insets as collapsed.
9567 (readInset): better compatibility code for Info inset.
9569 2001-07-20 Juergen Vigna <jug@sad.it>
9571 * lyxfunc.C (dispatch): use always LyXFind now!
9573 * text2.C (init): add a reinit flag so that the LyXText can be
9574 reinited instead of deleted and reallocated (used in InsetText).
9576 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9582 2001-07-18 Juergen Vigna <jug@sad.it>
9584 * text.C (selectNextWord): handle insets inside inset by calling
9585 always the bv->text functions so that we can go up the_locking_inset!
9587 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9588 in strange locations when inside an inset!
9590 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9591 handling to include insets.
9593 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9595 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9597 * LyXAction.C (init):
9599 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9600 LIGATURE_BREAK, since the name is so stupid.
9602 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9604 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9607 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9609 * sp_form.[Ch]: remove.
9611 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9613 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9616 * src/buffer.C (readInset): ditto.
9618 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9620 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9621 menuSeparator(), endOfSentenceDot(), ldots() and
9622 hyphenationPoint(), which are therefore removed.
9623 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9625 * LyXAction.C (init):
9626 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9628 * paragraph.C (getWord): removed.
9630 * BufferView_pimpl.C (Dispatch): use last word or selection for
9631 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9633 * lyx_main.C (queryUserLyXDir): do not ask before creating
9634 user_dir, except if it has been named explicitely.
9636 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9638 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9639 a document of zero size.
9641 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9643 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9644 approriately in the c-tor and in require().
9645 (getPackages): output the appropriate LaTeX for natbib support.
9647 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9648 variables "use_natbib" and "use_numerical_citations" when reading the
9650 (readInset): read the various natbib cite commands.
9651 (validate): white-space change.
9653 * bufferparams.[Ch]: new variables "bool use_natbib" and
9654 "bool use_numerical_citations".
9655 (writeFile): output them in the LyX file.
9657 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9659 * lyxfunc.C (getStatus): add support for all the inset insertion
9662 * text2.C (insertInset):
9663 * paragraph.C (insetAllowed):
9664 * BufferView_pimpl.C (insertInset): update to take in account the
9665 renaming of insertInsetAllowed
9667 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9669 * text2.C (getInset): new method. returns inset at cursor position.
9671 * BufferView_pimpl.C (Dispatch): changes because of this.
9673 * LyXAction.C (init): rename open-stuff to inset-toggle.
9675 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9677 * text2.C (toggleInset): renamed from openStuff; use
9680 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9682 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9684 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9686 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9688 * buffer.C (readLyXformat2): Add filename to the error dialog
9690 2001-07-18 Juergen Vigna <jug@sad.it>
9692 * tabular.C (GetCellNumber): put an assert here instead of the check!
9694 2001-07-17 Juergen Vigna <jug@sad.it>
9696 * BufferView_pimpl.C (toggleSelection): adapted too.
9698 * text.C (selectNextWord): adapted for use with insets.
9699 (selectSelectedWord): ditto
9701 2001-07-17 Juergen Vigna <jug@sad.it>
9703 * sp_spell.C (PSpell): fix initialitation order.
9705 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9707 * paragraph.C: spacing
9709 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9711 * sp_spell.C: repair language selection for pspell
9713 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9715 * lyxfunc.h: change more methods to begin with lower char.
9717 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9719 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9720 for unknown layouts.
9722 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9724 * buffer.C (readLyXformat2): Generate an error dialog if there are
9727 2001-07-16 Juergen Vigna <jug@sad.it>
9729 * sp_spell.C: always compile ISpell part.
9731 * lyxrc.C: added use_pspell entry and it's handling.
9733 2001-07-13 Juergen Vigna <jug@sad.it>
9735 * sp_spell.C: removed double includes.
9737 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9739 Consistent use of Lsstream.h:
9740 * Lsstream.h: added using std::stringstream for consistencies sake.
9742 * buffer.C: removed using std::stringstream
9744 * lyxfont.C (stateText):
9745 * paragraph.C (asString):
9746 * text.C (selectNextWord, selectSelectedWord):
9747 * text2.C (setCounter):
9748 * vspace.C (asString, asLatexString):
9749 std::ostringstream -> ostringstream.
9751 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9753 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9754 * commandtags.h: add LFUN_HELP_ABOUTLYX
9755 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9757 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9759 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9761 * lyx_gui_misc.C: remove spellchecker
9762 * lyxfunc.C: showSpellchecker
9764 * sp_ispell.h: added
9765 * sp_pspell.h: added
9767 * sp_form.[Ch]: removed
9768 * spellchecker.[Ch]: removed
9770 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9772 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9774 (simpleTeXSpecialChars): Simply print the input character without
9775 any special translation if pass_thru is set.
9777 * layout.h: Added bool pass_thru to layout class for being able to
9778 implement pass through of a paragraph for Literate Programming.
9780 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9781 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9782 * layout.C (Read): add "passthru" to list of layout tags and add
9783 code to set the pass_thru boolean when it is read.
9785 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9787 * trans_decl.h: remove allowed from KmodInfo
9789 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9793 * paragraph_pimpl.C (erase): use boost::prior
9795 * Painter.C (text): use data() instead of c_str() when length is
9797 * WorkArea.C (putClipboard): ditto
9798 * font.h (width): ditto
9800 * BufferView2.C: use it-> instead of (*it). for iterators
9802 * paragraph_pimpl.C: ditto
9803 * paragraph.C: ditto
9804 * minibuffer.C: ditto
9809 * converter.C: ditto
9811 * Variables.C: ditto
9812 * TextCache.C: ditto
9813 * MenuBackend.C: ditto
9814 * LyXAction.C: ditto
9816 * FloatList.C: ditto
9818 * ColorHandler.C (LyXColorHandler): ditto
9820 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9822 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9824 * text2.C (openStuff): reintroduce this method (which had been
9825 nuked in NEW_INSETS frenzy).
9827 * lyxfunc.C (Dispatch): when an action has not been handled, use
9828 its name in the error message, not its number.
9830 * paragraph.C (inInset): change method name to begin with lowercase.
9833 * text2.C: updates because of this.
9835 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9837 * ToolbarDefaults.C (add): add spaces in error message
9839 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9841 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9842 (readLyXformat2): rename return_par to first_par, use lyxlex's
9843 pushToken and remove the manual push handling.
9844 (parseSingleLyXformat2Token): add another ert comp. variable:
9845 in_tabular, rename return_par to first_par. handle newlines better
9847 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9849 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9851 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9853 * text2.C (getParFromID): removed
9855 * buffer.C (getParFromID): new method moved form lyxtext.
9856 * BufferView2.C (insertErrors): adjust
9857 (setCursorFromRow): adjust
9858 * BufferView_pimpl.C (restorePosition): adjust
9859 * lyxfunc.C (Dispatch): adjust
9860 * undo_funcs.C (textUndo): adjust
9862 (textHandleUndo): adjust
9863 (textHandleUndo): adjust
9865 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9867 * buffer.C: up' the LYX_FORMAT
9869 * lyxfont.h: turn NO_LATEX on as default
9871 * buffer.C (insertErtContents): new methods of tex style compability.
9872 (parseSingleLyXformat2Token): use it several places.
9873 * tabular.C (OldFormatRead): and here
9875 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9877 * text2.C: remove some commented code.
9880 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9881 * trans.C: changes because of the above.
9883 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9885 * text2.C (setCounter): Fix counters bug with bibliography layout.
9887 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9889 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9890 own member functions
9891 (simpleTeXSpecialChars): ditto
9893 2001-07-06 Juergen Vigna <jug@sad.it>
9895 * a lot of files: changed the access to LyXText::status and the
9896 call of undo-functions.
9898 * undo.[Ch]: added a inset_id to the undo informations.
9900 * undo_funcs.[Ch]: added and moved here all undo functions.
9902 * lyxtext.h: give the status enum a weight, made status_ a private
9903 variable and made accessor functions for it, removed the whole bunch
9904 of undo-functions as they are now in their own file, make some
9905 functions publically available. Added function ownerParagraph with
9908 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9909 made InInset() a const function, added getParFromID() function.
9911 * buffer.[Ch]: added const version for inset_iterator functions,
9912 added getInsetFromID() function.
9914 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9915 changed undo functions for new version.
9917 2001-07-05 Juergen Vigna <jug@sad.it>
9919 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9920 unknow mechanism does not call the proper constructor but only this
9921 one also if I request the other!?
9923 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9925 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9927 * text2.C (LyXText): use initialization lists.
9929 * lyxtext.h (Selection): initialize set_ and mark_
9930 (init): remove method
9932 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9934 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9936 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9938 * screen.[Ch]: change method names to begin with lowercase
9940 * BufferView_pimpl.C (updateScrollbar): simplify further and
9941 hopefully make it a bit faster.
9943 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9945 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9946 calling directly xforms functions.
9948 * Painter.C (Painter):
9949 * lyx_cb.C (MenuWrite):
9950 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9953 * lyx_gui.C: remove bogus guiruntime extern declaration.
9955 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9957 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9959 (redoDrawingOfParagraph): ditto
9960 (redoParagraphs): ditto
9961 (cutSelection): don't create a object for CutAndPaste use the
9962 static method directly
9963 (pasteSelection): ditto
9965 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9968 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9970 * modifications to some other files because of this.
9972 * Makefile.am (lyx_SOURCES): add XFormsView
9974 * XFormsView.[Ch]: new files
9976 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9977 the main window. Move the gui dependent stuff to XFormsView
9979 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9981 * tabular.C (GetCellInset): update cur_cell also in the row/col
9982 version of this function.
9984 * lyxfunc.C: no need to include figure_form.h here.
9990 * lyxvc.C: no need to include forms.h here.
9992 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9994 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9996 * lyxfunc.C (Dispatch):
9998 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9999 constructor argument.
10001 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10003 * paragraph.C (Paragraph): dont't clear, and just set layout.
10004 (makeSameLayout): use params's copy contructor.
10006 * ParagraphParameters.[Ch] (makeSame): delete method
10008 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10010 * Variables.[Ch]: fix indentation, rename set to isSet
10012 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10014 * lyxfunc.C (Dispatch): fix typo
10016 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10018 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10021 * bufferlist.C: include assert.h for emergencyWrite().
10023 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10025 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10026 give up at last (bug #425202) !
10028 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10034 * spellchecker.C: strip spellchecker options and bring up
10035 preferences tab instead
10037 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10039 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10040 the istringstream constructor
10042 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10044 * paragraph.C (getLayout): fix return value
10046 * paragraph.h: do not declare getLayout as inline.
10048 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10050 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10052 * lyxcursor.h (operator<): new func
10053 (operator>): new func
10054 (operator>=): new func
10055 (operator<=): new func
10057 * text.C (changeCase): use selection.start and selection.end
10058 (changeRegionCase): require from to be <= to. Require par to be a
10061 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10063 2001-06-27 Juergen Vigna <jug@sad.it>
10065 * text.C (cursorLeftOneWord): changed to return the cursor and added
10066 overlay with BufferView * parameter which calls this one.
10068 (selectWord): use new getWord function.
10069 (changeCase): renamed from changeWordCase as and extended to work
10070 also on selections.
10072 * lyxtext.h: added enum word_location
10074 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10075 changeCase as this operates now also on selections.
10077 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10079 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10081 * many files: send debug output to Debug::INFO instead of
10084 * converter.C (View):
10086 (Move): send debug output to Debug::FILES instead of console.
10088 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10090 * lyxfunc.C (getStatus): use func_status
10092 * func_status.h: new header, describing the results of
10093 LyXFunc::getStatus;
10095 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10098 2001-06-25 The LyX Project <jug@sad.it>
10100 * buffer.C (sgmlOpenTag):
10102 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10104 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10106 * text2.C: remove some dead code
10108 * tabular.C (GetCellInset): store the last cell checked (gotten)
10110 * tabular.h: add the helper for the speedup
10112 * lyxtext.h: remove some dead code
10114 2001-06-26 The LyX Project <Asger>
10116 * paragraph.C: Change export to LaTeX of alignment to
10117 \begin{center} and family for better roundtrip work with reLyX.
10119 * Tune the math drawing a bit.
10121 2001-06-25 The LyX Project <Asger>
10123 * LColor.C (LColor): New color for math background. New color
10126 2001-06-25 The LyX Project <jug@sad.it>
10128 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10130 * lyxfunc.C (Open):
10131 * bufferlist.C (newFile): do not restrict to files ending with
10134 * BufferView_pimpl.C (MenuInsertLyXFile):
10136 2001-06-24 The LyX Project <jug@sad.it>
10138 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10141 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10143 * lyxtext.h: rename most methods to begin with a small char.
10144 Lots of changes because of this.
10146 * paragraph.C (Paragraph): do not call fitToSize
10147 (erase): call Pimpl::erase
10148 (insertChar): call Pimpl::insertChar
10149 (insertInset): call Pipl::insertInset
10150 (breakParagraph): do not call fitToSize
10151 (breakParagraphConservative): do not call fitToSize
10152 (fitToSize): remove method
10154 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10156 2001-06-24 The LyX Project <Asger>
10158 * Fix Qt compilation^2
10160 2001-06-24 The LyX Project <jug@sad.it>
10162 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10163 depthHook(getDepth()-1).
10166 * ParagraphParameters.h:
10167 * ParameterStruct.h: change type of depth to unsigned int ==
10168 depth_type. Many adaptations to other files before of that.
10170 2001-06-24 The LyX Project <Asger>
10172 * Fix Qt compilation.
10174 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10176 * paragraph.h: renamed several methods to begin with small letter.
10177 several changes to many parts of the code because of this.
10179 2001-06-23 The LyX Project <jug@sad.it>
10181 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10182 rewritten to discard all double spaces when KeepEmpty is off
10183 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10184 to only handle newlines but not fiddle with spaces and friends.
10186 * lyxfunc.C (MenuNew): when doing 'new from template', use
10187 template_path as default directory
10189 2001-06-23 The LyX Project <Asger>
10191 * Clean-up of header file includes all over
10192 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10194 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10196 * paragraph.h: renamed from lyxparagraph.h
10198 2001-06-23 Asger <lyx@violet.home.sad.it>
10200 * Buffer.h: Removed Buffer::resize
10201 * BufferList.h: Removed BufferList::resize
10202 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10203 the document lazily when we change the width, or the font settings.
10205 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10207 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10209 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10211 * buffer.h: remove out of date comment
10213 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10216 * screen.C: fix "theoretical" GC leak
10218 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10220 * LaTeX.C (scanAuxFile):
10221 (deplog): remove trailing \r when reading stream (useful under
10224 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10226 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10227 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10228 and BufferView::theLockingInset(Inset*), so should use them and not
10229 access bv_->text->the_locking_inset directly.
10231 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10233 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10236 * tex-defs.h: remove old unused file
10238 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10240 * BufferView_pimpl.C: fix typo, remove minibuffer message
10241 when buffer has loaded
10243 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10245 * lyxfunc.C (Dispatch): use stringstream
10246 (MenuNew): use stringstream
10247 (Open): use stringstream
10249 * importer.C (Import): use stringstream
10251 * bufferview_funcs.C (CurrentState): use stringstream
10253 * LaTeX.C (run): use stringstream
10255 * BufferView_pimpl.C (savePosition): use stringstream
10256 (restorePosition): use stringstream
10257 (MenuInsertLyXFile): use stringstream
10259 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10272 * vspace.C: removed // -*- C++ -*- as first line.
10275 * version.h: added // -*- C++ -*- as first line.
10277 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10279 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10281 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10284 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10286 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10289 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10291 * gettext.C: include LString.h even when --disable-nls is on.
10293 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10295 * converter.h (Get): changed argument type from int to
10296 FormatList::size_type to avoid unnecessary conversion.
10298 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10301 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10303 * gettext.h: include LString.h even when --disable-nls is on.
10305 2001-06-07 Juergen Vigna <jug@sad.it>
10307 * text.C (BreakAgain): subst spaces with tabs.
10309 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10310 (resizeInsetsLyXText): set force on resizeLyXText.
10312 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10314 * gettext.h (gettext_init):
10315 (locale_init): use a real definition instead of a macro
10317 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10319 * Bufferview_pimpl.C:
10321 * LColor.C: further lcolor tidies
10323 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10325 * BufferView_pimpl.C (updateScrollbar): simplify.
10327 * BufferView2.C: don't include insets/insetinfo.h, change
10328 prototype for insertInset and call the Pimpl version. let
10329 updateInset call Pimpl version.
10331 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10332 gotoInset to BufferView::Pimpl
10334 2001-06-01 Juergen Vigna <jug@sad.it>
10336 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10337 inside a LockingInset (is the update needed at all?).
10339 2001-05-31 Juergen Vigna <jug@sad.it>
10341 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10342 here not the old one otherwise how should we compare it afterwards
10345 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10350 * FontInfo.C: bring C functions into global namespace when
10353 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10355 * LString.h: make sure config.h has been loaded before LString.h.
10357 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10358 (one for each char read by EatLine!).
10360 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10363 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10365 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10366 to the same as the par we break from
10368 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10370 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10372 * MenuBackend.C (expand): also create menu entries for wide
10373 versions of the floats.
10375 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10377 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10379 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10380 frontends/Makefile.am
10386 * tabular.C (getTokenValue): add std::
10388 * tabular-old.C (getTokenValue): add std::
10389 (getTokenValue): ditto
10390 (getTokenValue): ditto
10392 * screen.C (ToggleSelection): adjust
10394 * lyxtext.h: put selection cursors inside a Selection struct.
10396 * lyxfunc.C (moveCursorUpdate): adjust
10398 * lyxfont.C (latexWriteStartChanges): add std::
10400 * lyxfind.C: adjust
10402 * font.h: delete with(char const *, LyXFont const &)
10404 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10406 * FontInfo.C (getFontname): add std::
10408 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10409 (workAreaButtonPress): adjust
10410 (tripleClick): adjust
10412 (moveCursorUpdate): adjust
10415 * BufferView2.C (gotoInset): adjust
10417 2001-05-30 Juergen Vigna <jug@sad.it>
10419 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10420 to check pspell I add this as default as I now have new pspell
10421 libraries and they seem to use this.
10423 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10425 * text2.C (CutSelection): make the cursor valid before the call to
10428 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10430 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10431 relied on 0 terminated strings and other horrors. Bug found due to
10432 the new assert in lyxstring!
10434 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10437 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10439 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10442 * lyxfunc.C (processKeySym): change method of getting to the
10445 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10446 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10447 * BufferView_pimpl.[Ch]: here as private methods.
10449 2001-05-28 Juergen Vigna <jug@sad.it>
10451 * text.C (SetHeightOfRow): added the update() call again as it is
10452 needed to initialize inset dimensions!
10454 2001-05-16 Juergen Vigna <jug@sad.it>
10456 * text2.C (SetCharFont): Add new function with BufferView * and
10457 bool toggleall parameters for setting insets internal fonts.
10458 (SetFont): Freeze the undo as we may change fonts in Insets and
10459 all this change should be inside only one Undo!
10461 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10462 setting font's in insets as for them we have the SetFont function!
10464 2001-05-15 Juergen Vigna <jug@sad.it>
10466 * text2.C (ClearSelection): to be sure we REALLY don't have any
10469 * tabular.C (TeXCellPreamble): fixed the left border problem for
10472 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10474 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10477 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10479 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10480 LFUN_BREAKPARAGRAPH.
10482 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10483 help test to "internal only", similar for LFUN_INSERT_URL
10485 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10486 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10487 auto_region_delete and deadkeys.
10489 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10492 * LColor.C: remove some dead entries, tidy a little
10494 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10496 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10498 (Dispatch): implement LFUN_ESCAPE
10500 * commandtags.h: add LFUN_ESCAPE
10502 * LyXAction.C (init): add entry for LFUN_ESCAPE
10504 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10505 Remove commented code.
10506 (insertNote): moved here
10507 (open_new_inset): moved here
10509 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10512 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10514 * kbmap.C (findbinding): clean it up and make it work correctly.
10516 * lyx_main.C (init): do not pass argc and argv as parameters
10518 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10520 * buffer.C: fix path for OS/2 & Win32
10524 * lyx_main.C: Added os:: class.
10526 * os2_defines.h: update
10528 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10530 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10531 better by trying again with reduced state.
10533 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10535 * lyxrc.C (read): print error about invalid key sequence only when
10536 debugging (because not all latinX keysyms are known to some X
10539 * kbsequence.C (getiso): add a few std:: qualifiers
10540 (getiso): comment out extra return statement.
10542 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10544 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10546 (Dispatch): enhance the accent inset a bit. (not perfect)
10548 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10550 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10552 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10554 * bufferlist.C (emergencyWrite): fix assert() call
10556 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10558 * text.C (InsertChar): Added trivial patch to only send the "you
10559 can not do multiple spaces this way" message once during a
10562 2001-05-08 Baruch Even <baruch@lyx.org>
10564 * Makefile.am: Changed order of libraries to get LyX to link properly
10565 with the gnome frontend.
10567 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10569 * LaTeXFeatures.h: add a std:: qualifier
10571 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10573 * paragraph.C (String): use stringstream
10575 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10577 * paragraph.C (writeFile): remove footflag arg
10579 * buffer.C (makeLaTeXFile): use stringstream
10580 (latexParagraphs): remove footnot gurba
10582 * LaTeXFeatures.C (getPackages): use stringstream
10583 (getMacros): likewise
10584 (getTClassPreamble): likewise
10585 (getFloatDefinitions): new method
10587 * paragraph.C (writeFile): reindent
10590 * WorkArea.h: revert the xpos + etc changes.
10592 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10594 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10596 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10597 (pasteSelection): likewise
10598 * text2.C (CreateUndo): likewise
10600 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10602 * minibuffer.C (peek_event): temporarily reduce the functionality
10603 of the minibuffer (to allow args on lfuns)
10605 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10606 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10608 * buffer.C (readInset): add compability reading of old float
10609 lists, add reading of new style float list.
10610 (readInset): avoid reevaluation of inscmd.getCmdName()
10611 (getLists): reindent
10613 * MenuBackend.C (MenuItem): implement parsing of
10614 md_floatlistinsert and md_floatinsert.
10615 (expand::LastFiles): move initalizaton of iterators out of loop,
10616 avoid reevaluation.
10617 (expand::Documents): introduce typdedef vector<string> Strings,
10619 (expand::ExportFormats): introduce typedef vector<Format const *>
10620 Formats, and use it.
10621 (expand): implement FloatListInsert and FloatInsert.
10623 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10624 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10625 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10627 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10629 (Dispatch::LFUN_FLOAT_LIST): implement
10631 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10633 * LaTeX.C (run): Fix problem with --export code.
10635 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10637 * BufferView.[Ch] (workarea): removed.
10638 (getClipboard) new method; wrapper for workarea()->getClipboard()
10640 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10643 * WorkArea.h (width, height, xpos, ypos): These methods all
10644 returned the dimensions of the work_area sub-area of WorkArea,
10645 resulting in a position error if the WorkArea were resized. Now
10646 return the dimensions of the entire WorkArea.
10648 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10650 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10652 * LaTeX.C (deplog): correct the syntax of regex reg1
10654 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10656 * undo.C: remove !NEW_INSETS cruft
10658 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10660 * text2.C: remove !NEW_INSETS cruft
10662 * text.C: remove !NEW_INSETS cruft
10664 * tabular.C: remove !NEW_INSETS cruft
10666 * spellchecker.C: remove !NEW_INSETS cruft
10668 * lyxtext.h: remove !NEW_INSETS cruft
10670 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10672 * lyxfunc.C: remove !NEW_INSETS cruft
10674 * lyxfind.C: remove !NEW_INSETS cruft
10676 * lyx_cb.C: remove !NEW_INSETS cruft
10678 * figureForm.C: remove !NEW_INSETS cruft
10680 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10682 * buffer.[Ch]: remove !NEW_INSETS cruft
10684 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10686 * CutAndPaste.C: remove !NEW_INSETS cruft
10688 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10690 * BufferView2.C: remove !NEW_INSETS cruft
10692 * BufferView.h: remove !NEW_INSETS cruft
10694 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10696 * Lsstream.h: include LString.h before the sstream headers to
10697 fix problem with gcc 2.95.3 and lyxstring
10699 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10701 * lyx_main.C: add using directives when needed for C functions
10702 declared in std:: namespace.
10704 2001-04-27 Juergen Vigna <jug@sad.it>
10706 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10707 (SetHeightOfRow): comment out the update call should not be needed!
10709 2001-04-13 Juergen Vigna <jug@sad.it>
10711 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10712 (LyXTabular): tried to minimize operator= operations (and realized
10713 hopfully Lars wish).
10715 2001-04-27 Juergen Vigna <jug@sad.it>
10717 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10719 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10721 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10723 * buffer.C (readInset): hack to make listof algorithm work
10725 * BufferView_pimpl.C: hack to make listof algorithm work
10727 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10729 * LyXAction.C: removed all !NEW_INSETS cruft
10730 (init): moved lfun_item in method
10732 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10734 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10736 * BufferView2.C (theLockingInset): white space.
10738 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10740 * minibuffer.C: include <iostream>
10742 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10744 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10746 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10748 * text.[Ch] (TransposeChars): new method
10750 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10752 * call message directly through LyXView instead of through LyXFunc
10753 * BufferView2.C: adjust
10754 * BufferView_pimpl.C: adjust
10755 * FontLoader.C: adjust
10757 * bufferview_funcs.C: adjust
10758 * converter.C: adjust
10759 * figureForm.C: adjust
10760 * importer.C: adjust
10762 * lyx_gui_misc.C: adjust
10763 * lyxfunc.C: adjust
10766 + more files in subdirs
10768 * lyxparagraph.h (size): move up int file
10771 * adjust all uses of Assert to lyx::Assert.
10773 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10774 lyxfunctional in namespace lyx
10775 * layout.C (hasLayout): ditto
10778 (delete_layout): ditto
10779 (NumberOfClass): ditto
10780 * converter.C (GetFormat): ditto
10785 * bufferlist.C (getFileNames): ditto
10786 (emergencyWriteAll): ditto
10789 * MenuBackend.C (hasSubmenu): ditto
10792 * BufferView_pimpl.C (getInsetByCode): ditto
10794 2001-04-18 Juergen Vigna <jug@sad.it>
10796 * vspace.C (asLatexString): fixed the 100% problem.
10798 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10800 * lyxfunc.C (Dispatch):
10802 * minibuffer.h: add a few std:: qualifiers
10804 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10806 * minibuffer.[Ch]: reimplement so that commands is initiated and
10807 run from lyxfunc, simplified som handling, and made the completion
10808 and history code for complete. wip.
10810 * lyxfunc.C (processKeySym): call message
10811 (miniDispatch): new temporary method
10812 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10813 (LFUN_MESSAGE): implement
10814 (LFUN_MESSAGE_PUSH): implement
10815 (LFUN_MESSAGE_POP): implement
10816 (initMiniBuffer): the initial/defualt minibuffer message.
10818 * lyxfont.[Ch]: inline some more getters
10820 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10822 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10824 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10825 (AutoSave): use LFUN_MESSAGE
10826 (Reconfigure): ditto
10828 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10830 * figureForm.C: use LFUN_MESSAGE
10832 * converter.C (runLaTeX): use LFUN_MESSAGE
10834 * bufferview_funcs.C: use LFUN_MESSAGE
10836 (changeDepth): ditto
10838 * bufferparams.h: use boost::
10840 * bufferlist.h: inherit privately from noncopyable
10842 * bufferlist.C (loadLyXFile): remove some commented code.
10844 * buffer.C (runChktex): use LFUN_MESSAGE
10846 * ShareContainer.h: inherit privately from noncopyable
10848 * ParagraphParameters.[hC] (depth): inline it.
10850 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10852 (message): new method
10853 (messagePush): ditto
10854 (messagePop): ditto
10855 (show): init minibuffer
10856 (showState): direct call
10858 * LaTeX.[Ch]: inherit privately from noncopyable
10859 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10860 instead of WriteStatus.
10862 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10864 * BufferView_pimpl.C (buffer): don't init minibuffer
10865 (workAreaButtonPress): use LFUN_MESSAGE
10866 (workAreaButtonRelease): ditto
10867 (savePosition): ditto
10868 (restorePosition): ditto
10869 (MenuInsertLyXFile): ditto
10870 (workAreaExpose): don't init minibuffer
10871 (update): remove commented code, simplify
10873 * BufferView2.C (openStuff): use LFUN_MESSAGE
10874 (toggleFloat): ditto
10877 (copyEnvironment): ditto
10878 (pasteEnvironment): ditto
10883 (updateInset): remove some commented code
10885 * lastfiles.h: inherit privately from noncopyable
10888 * lyx_main.h: ditto
10890 * lyxlex_pimpl.h: ditto
10892 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10893 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10894 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10896 * LyXAction.h: inherit privately from noncopyable, add methods
10897 func_begin, func_end, returning iterators to the func map.
10899 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10900 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10901 (func_begin): new method
10902 (func_end): new method
10904 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10906 (copySelection): ditto
10907 (pasteSelection): ditto
10909 * BufferView.C: whitespace change
10910 * BufferView.h: inherit privately from noncopyable
10912 2001-04-16 Allan Rae <rae@lyx.org>
10914 * tabular-old.C (l_getline):
10915 * spellchecker.C (sc_check_word):
10916 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10917 an unrecognised preprocessor directive. So ensure they're wrapped.
10919 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10921 * src/exporter.C (Export): Give an error message when path to file
10924 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10926 * LaTeX.C (deplog): Always check that foundfile exists.
10928 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10931 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10933 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10935 * tabular.[Ch] (getLabelList): implement new method
10937 * minibuffer.h: comment ouf setTiimer
10939 * minibuffer.C (ExecutingCB): constify res
10940 (peek_event): constify s
10941 (Set): constify ntext
10942 (Init): constify nicename
10944 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10946 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10947 (savePosition): use two params to Minibuffer::Set
10948 (restorePosition): ditto
10950 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10952 * lyx_main.C: include language.h
10954 * Makefile.am (lyx_main.o): add language.h
10956 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10962 * CutAndPaste.C: include gettext.h
10964 * lyxfont.h: remove old hack with ON and OFF.
10967 * lyxfont.h: do not include language.h...
10972 * bufferview_funcs.C:
10978 * paragraph.C: ... but do it here instead
10980 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10982 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10984 * tabular.C: small reformat
10986 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10989 (BreakParagraph): ditto
10990 (SetOnlyLayout): ditto
10993 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10996 * lastfiles.C: removed most using decl, add std:: where needed
10998 * buffer.C: ws changes
11000 * MenuBackend.C (class compare_format): put into anon namespace
11001 (expand): constify label, names, action, action2
11004 * text.C (SingleWidth): constify font
11005 (IsBoundary): constify rtl2
11006 (GetVisibleRow): constify ww
11008 * LaTeX.C (deplog): constify logfile
11010 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11012 (workAreaExpose): constify widthChange, heightChange
11014 * lyxrow.C (par): moved
11017 * lyxrow.h: as inlines here
11019 * lyxfont.h (shape): moved from lyxfont.C
11020 (emph): moved from lyxfont.C
11022 * lyxfont.C (LyXFont): use initialization list for all
11024 (shape): move to lyxfont.h as inline
11025 (emph): move to lyxfont.h as inline
11028 2001-04-04 Juergen Vigna <jug@sad.it>
11030 * vspace.C: had to include stdio.h for use of sscanf
11032 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11035 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11036 independent of xforms.
11038 2001-04-02 Juergen Vigna <jug@sad.it>
11040 * spellchecker.C: fixed namespace placing!
11042 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11044 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11045 the LyXParagraph * is 0.
11047 2001-03-29 Juergen Vigna <jug@sad.it>
11049 * vspace.C: added support for %, c%, p%, l%.
11050 (stringFromUnit): added helper function.
11051 (asLatexString): changed to give right results for the %-values.
11053 * buffer.C: convert the widthp in a width%.
11055 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11057 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11060 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11061 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11063 * lyx_cb.[Ch]: see above.
11065 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11069 * lyx.[Ch]: replaced by figure_form.[Ch].
11073 * lyxfunc.C: changed headers associated with above changes.
11075 2001-03-27 Juergen Vigna <jug@sad.it>
11077 * BufferView_pimpl.C: set the temporary cursor right!
11079 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11081 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11083 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11085 * LString.h: removed "using std::getline"!
11087 * BufferView_pimpl.C (Dispatch): changes due to changes in
11088 InsetInclude::Params.
11090 * buffer.C (tag_name): removed redundant break statements as they were
11091 producing lots of warnings with my compiler.
11093 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11095 * LString.h: add "using std::getline" when using the real <string>.
11097 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11099 * buffer.C: removed bitset usage.
11100 PAR_TAG moved to an anonymous name space.
11101 (tag_name): new funtion, also in the anonymous namespace.
11102 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11103 (makeDocBookFile): clean code. Completed transition from string arrays
11105 (SimpleDocBookOnePar): code clean.
11107 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11109 * tabular.C: add some comments.
11111 2001-03-22 Juergen Vigna <jug@sad.it>
11113 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11114 compatibility read a bit and fixed bug with minipage in different
11117 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11119 * buffer.C (pop_tag): removed.
11120 (push_tag): removed.
11121 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11122 array replaced with vector. Added support for CDATA sections.
11123 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11125 (makeDocBookFile): XML conformant declaration of CDATA section,
11126 fixed bug related to <emphasis> in the first paragraph char.
11127 (sgmlOpenTag): exclude empty tags.
11128 (sgmlCloseTag): ditto.
11130 * buffer.h (pop_tag): removed.
11131 (push_tag): removed.
11133 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11135 * language.h (Languages): added size_type and size().
11137 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11139 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11140 response on compability reading of minipages. One probliem is that
11141 the old usage of minipages was «flertydig»
11143 * several files here and in subdirs: don't use static at file
11144 scope use anon namespaces instead.
11146 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11148 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11149 LaTeX output. This is necessary for Literate document
11152 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11154 * buffer.C: insert hfill when needed.
11156 * tabular.C (l_getline): use string::erase, small whitespace change.
11158 * BufferView_pimpl.C: try the anon namespace.
11159 * WorkArea.C: ditto
11161 2001-03-16 Juergen Vigna <jug@sad.it>
11163 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11164 otherwise it won't open options-dialogs.
11166 * buffer.C: honor pextraWidth(p) on converting minipages.
11168 * tabular.C (l_getline): changed the functions to strip trailing \r.
11170 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11172 * BufferView_pimpl.C:
11173 * minibuffer..C: added "using SigC::slot" declaration.
11175 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11177 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11183 * paragraph.C: ditto
11185 * lyxtext.h: NO_PEXTRA
11187 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11189 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11190 * ParameterStruct.h: ditto
11191 * ParagraphParameters.h: ditto
11192 * lyxparagraph.h: ditto
11194 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11196 * buffer.C: add compability for minipage alignment.
11197 (latexParagraphs): remove unwanted pextra check.
11199 * several files: remove CXX_WORKING_NAMESPACES
11201 * buffer.C (pop_tag): tie is in namespace boost
11203 * BufferView.h: noncopyable is in namespace boost
11205 * lyx_main.h: ditto
11208 * lastfiles.h: ditto
11209 * bufferlist.h: ditto
11210 * ShareContainer.h: ditto
11212 * LyXAction.h: ditto
11215 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11217 * Merging changes from BRANCH_MVC back into HEAD.
11219 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11221 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11223 * BufferView_pimpl.C: change from intl.C
11227 * Makefile.am: move combox.*
11233 * intl.C: remove dialog (covered by prefs)
11235 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11237 * lyxfunc.C (Dispatch): removed redundant break statement.
11239 2001-03-14 Juergen Vigna <jug@sad.it>
11241 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11243 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11245 * buffer.C: add hack to fix compability reading of minipages.
11247 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11249 * buffer.C (getLists): Cleanup.
11251 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11253 * lyxfont.C (update): don't honor toggleall on font size.
11255 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11259 * Makefile.am: moved to frontends/xforms/
11263 * BufferView_pimpl.C: changes for moved mathpanel
11265 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11267 * gettext.h: fix gettext_init() in --disable-nls
11269 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11271 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11273 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11276 * lyx.h: strip external form
11278 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11280 * BufferView_pimpl.C: add comment, destroySplash()
11282 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11284 * BufferView_pimpl.C:
11288 * lyxfunc.C: use re-worked insetinclude
11290 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11292 * buffer.C: add using std::stringstream.
11294 * lyx_cb.C: readd using std::ios.
11296 * buffer.C: add using std::map.
11298 * BufferView_pimpl.C: add using std::vector.
11300 * ShareContainer.h: add std:: to swap.
11302 * buffer.h: add some typedefs
11303 * buffer.C (getLists): use them
11304 (getLists): renamed from getTocList.
11305 add a counter for the different float types and use it in the
11307 (getLists): use the same counter for the NEW_INSETS and the "non"
11310 * lyx_cb.h: remove unused items, includes, using etc.
11312 * ShareContainer.h: remove some commented code, add more comments
11313 and "documentation".
11315 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11317 * buffer.C (getTocList): make the list also when NEW_INSETS is
11320 * buffer.h: remove TocType
11322 * buffer.C (getTocList): change to return a map<string,
11323 vector<TocItem> >, implement for dynamic number of list.
11325 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11326 * text2.C (PasteSelection): adjust
11327 * CutAndPaste.C (pasteSelection): adjust
11329 * FloatList.C (FloatList): update from the new_insets branch.
11330 * Floating.[Ch]: ditto
11331 * LaTeXFeatures.C: ditto
11333 * lyxlex_pimpl.C: ditto
11335 * paragraph.C (Last): remove when NEW_INSETS is defined.
11337 * other file: changes because of the above.
11339 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11341 * lyxparagraph.h: rename next to next_, previous to previous_,
11342 make them private for NEW_INSETS. Rename Next() to next(),
11343 Previous() to previous().
11345 * other files: changes because of the above.
11347 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11350 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11353 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11355 * main.C (main): pass lyx_localedir to gettext_init().
11357 * gettext.h: remove locale_init and gettext_init macros
11359 * gettext.C (locale_init): new function
11360 (gettext_init): new function
11362 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11365 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11367 * Moved credits to frontends:
11368 * credits.[Ch]: removed
11369 * credits_form.[Ch]: removed
11370 * lyx_gui_misc.C: remove credits stuff
11373 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11375 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11377 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11378 unneeded destructor.
11380 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11381 a standalone pointer again.
11383 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11385 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11391 * ToolbarDefaults.C:
11400 * BufferView_pimpl.C: use new file dialog in GUII
11403 * lyx_cb.C: remove LayoutsCB to Toolbar
11405 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11407 * ShareContainer.h (get): add std:: qualifier
11409 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11411 * ShareContainer.h: define a proper ShareContainer::value_type
11412 type (and use typename to please compaq cxx)
11414 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11416 * lyxparagraph.h: move serveral local vars to
11417 ParameterStruct/ParagraphParameters., use ShareContainer in
11418 FontTable., make vars in FontTable private and add getter and
11421 * paragraph.C: changes because of the above.
11423 * lyxfont.h: remove copy constructor and copy assignment. (the
11424 default ones is ok), move number inside FontBits. move inlines to
11427 * lyxfont.C: add number to initializaton of statics, move several
11428 inlines here. constify several local vars. some whitespace
11429 cleanup. Dont hide outerscope variables.
11431 * Spacing.h: add two new constructors to match the set methods.
11433 * ShareContainer.h: new file, will perhaps be moved to support
11435 * ParameterStruct.h: new file
11437 * ParagraphParameters.h: new file
11439 * ParagraphParameters.C: new file
11441 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11442 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11444 * BufferView_pimpl.C: ParagraphParameter changes.
11445 * buffer.C: Likewise.
11446 * bufferview_funcs.C: Likewise.
11447 * text.C: Likewise.
11448 * text2.C: Likewise.
11450 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11452 * lyxfind.C (LyXReplace): do not redefine default argument in
11454 (IsStringInText): ditto
11455 (SearchForward): ditto
11456 (SearchBackward): ditto
11458 2001-03-06 Juergen Vigna <jug@sad.it>
11460 * lyxfind.C (IsStringInText): put parentes around expressions.
11462 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11464 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11466 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11468 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11470 * stl_string_fwd.h: add comment
11472 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11475 * tabular.C: remove unused DocBook methods
11481 killed DO_USE_DEFAULT_LANGUAGE
11483 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11485 * lyx_gui.C: do not include language.h.
11487 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11488 arguments in function implementation.
11490 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11492 * BufferView_pimpl.C: add <ctime>
11494 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11496 * BufferView_pimpl.C: add using std::find_if
11498 2001-02-27 José Matos <jamatos@fep.up.pt>
11500 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11503 2001-02-11 José Matos <jamatos@fep.up.pt>
11505 * buffer.C (makeDocBookFile): command styles now have a parameter as
11506 "title" by default.
11508 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11510 * layout_forms.[Ch]: removed
11511 * lyx_cb.[Ch]: out character
11512 * lyx_gui.C: out character
11513 * lyx_gui_misc.C: out character
11514 * bufferview_funcs.C: : out character,
11515 added toggleall as parameter in ToggleAndShow
11517 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11519 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11521 * text2.C (SetCurrentFont): Disable number property at boundary.
11523 2001-02-26 Juergen Vigna <jug@sad.it>
11525 * lyxfunc.C (getStatus): added a string argument override function so
11526 that this is correctly called from LyXFunc::Dispatch if it contains a
11527 do_not_use_argument which is used!
11528 (Dispatch): added check for "custom" export and call appropriate func.
11530 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11532 * lyxrc.C: Add language_command_local, language_use_babel and
11533 language_global_options.
11535 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11537 * buffer.C (makeLaTeXFile): Use language_use_babel and
11538 language_global_options.
11540 2001-02-23 Juergen Vigna <jug@sad.it>
11542 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11543 which works with LyXText and putted it inside BufferView. Here now we
11544 only call for that part the BufferView::Dispatch() function.
11546 * BufferView.C (Dispatch): added.
11548 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11549 functions which needs to use a LyXText over from LyXFunc.
11550 (MenuInsertLyXFile): added
11551 (getInsetByCode): added
11552 (moveCursorUpdate): added
11553 (static TEXT): added
11555 2001-02-22 Juergen Vigna <jug@sad.it>
11557 * BufferView_pimpl.C (update): call a status update to see if LyXText
11560 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11562 * vc-backend.C (revert): implement for CVS
11563 (getLog): implement for CVS
11565 2001-02-20 Juergen Vigna <jug@sad.it>
11567 * text2.C (ClearSelection): added BufferView param for inset_owner call
11569 * lyxfunc.C (TEXT): added this function and use it instead of
11570 directly owner->view()-text of getLyXText().
11572 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11574 * src/layout_forms.C: out preamble
11575 * src/layout_forms.h: out preamble
11576 * src/lyx_cb.C: out preamble
11577 * src/lyx_cb.h: out preamble
11578 * src/lyx_gui.C: out preamble
11579 * src/lyx_gui_misc.C: out preamble
11580 * src/lyxfunc.C: connect with guii preamble
11582 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11584 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11586 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11588 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11589 whether to run bibtex.
11591 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11593 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11595 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11597 * Makefile.am (lyx_SOURCES): removed bibforms.h
11599 * vspace.h: doxygen
11601 * text.C (GetVisibleRow): make several local vars const
11603 * tabular.C: small cleanup.
11605 * lyxserver.C (callback): use compare instead of strncmp
11607 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11608 inlines to after class or to paragraph.C
11610 * lyxfont.h: remove friend operator!=
11612 * converter.h: move friend bool operator< to non friend and after
11615 * combox.h: small cleanup
11617 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11618 to inlines after class def.
11620 * buffer.C (pop_tag): use string operations instead of strcmp
11622 * bmtable.c: doxygen, small cleanup
11624 * LaTeX.h: remove friend operator==
11626 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11638 * BufferView_pimpl.C:
11639 * BufferView.[Ch]: remove cruft
11641 2001-02-14 Juergen Vigna <jug@sad.it>
11643 * lyxfunc.C: removed #if 0 unused code
11645 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11647 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11649 * text2.C (SetSelection): added a BufferView * parameter
11651 2001-02-13 Juergen Vigna <jug@sad.it>
11653 * lyxfunc.C (Dispatch): fixed protected blank problem.
11654 * BufferView2.C (protectedBlank): added LyxText * parameter.
11656 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11657 (AppendColumn): same as above for column_info.
11659 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11660 (moveCursorUpdate): use a LyXText param for support of InsetText.
11662 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11663 (tripleClick): ditto
11665 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11667 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11669 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11671 * text2.C (SetSelection): set correct update status if inset_owner
11672 (ToggleFree): ditto
11674 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11676 * tabular.C: remove some commented code.
11678 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11680 * BufferView_pimpl.C: call hideSplash()
11682 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11685 * bibforms.h: remove
11688 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11689 add LFUN_CHILD_CREATE
11691 * counters.h: fix tiny typo
11696 * lyx.C: move splash to frontends/xforms/
11698 * lyx_gui_misc.C: move Include and Bibform to frontends
11700 * lyxvc.h: clarify comment
11702 * vspace.C: tiny housekeeping
11704 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11706 * text.C (PrepareToPrint): RTL Fix.
11708 * paragraph.C (GetUChar): New method.
11709 (String): Use GetUChar.
11711 * buffer.C (asciiParagraph): Use GetUChar.
11713 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11715 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11717 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11720 * buffer.C: rename to getLogName(), handle
11721 build log / latex log nicely
11723 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11726 * MenuBackend.h: remove support for reference menuitem type.
11728 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11730 * BufferView_pimpl.C: housekeeping
11731 * BufferView_pimpl.h:
11736 * minibuffer.h: move Timeout GUI-I
11738 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11740 * lyxrc.C (read): Update converters data-structures.
11742 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11744 * LaTeX.h (operator!=): add operator != for Aux_Info
11746 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11748 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11750 * LaTeXLog.C: deleted, useful code moved to Buffer
11753 * buffer.C: new function getLatexLogName()
11759 * lyxfunc.C: use frontends for LaTeX and VC logs
11761 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11763 * LaTeX.h: yet another std:: that Allan forgot.
11765 * Variables.C (set): renamed from isset(), because this clashes
11766 with some HP-UX macros (grr).
11768 2001-02-06 Allan Rae <rae@lyx.org>
11770 * LaTeX.h: Another bug fix. Missing std:: this time.
11772 2001-02-04 Allan Rae <rae@lyx.org>
11774 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11775 floats problem. I've left it commented out because it's not quite
11776 correct. It should also test that the current object is a table or
11777 figure inset. But I haven't gotten around to figuring out how to do
11778 that. I *think* it'll be something like: "table" == inset.type()
11780 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11783 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11785 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11786 all the citation/databases/styles in the auxilary file.
11787 (run): Rerun latex if there was a babel language error.
11789 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11791 * text.C (Backspace): Preserve the font when changing newline char
11793 (BreakParagraph): If the cursor is before a space, delete the space.
11795 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11797 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11799 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11800 new argument (code).
11801 (ChangeCitationsIfUnique): New method.
11803 * paragraph.C (GetPositionOfInset): Handle bibkey.
11805 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11807 * BufferView_pimpl.h: change type of Position::par_pos to
11808 LyXParagraph::size_type.
11810 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11812 * BufferView_pimpl.C (savePosition, restorePosition): Write
11813 messages to minibuffer.
11815 2001-01-28 José Matos <jamatos@fep.up.pt>
11817 * buffer.C (makeDocBookFile): adds support for document language.
11818 A silly restriction on the name of LatexCommand types where removed.
11819 Added support for CDATA sections, allows to chars unescaped, used
11820 among others in code, to avoid escape < and >.
11822 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11824 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11825 saved positions instrad of a stack. Furthermore, a position is
11826 stored using paragraph id/paragraph position.
11828 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11829 Remove LFUN_REF_BACK.
11831 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11833 * converter.C (dvipdfm_options): New method.
11835 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11837 * vspace.C (isValidLength): Fix for empty input string.
11839 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11841 * LyXAction.C (init): change description of LFUN_FIGURE to
11844 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11846 * LaTeX.C: add using directive
11848 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11850 * MenuBackend.C (expand): Fix the sorting of the formats.
11852 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11854 * lyx_main.C: tiny error message fix
11856 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11858 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11859 calling fl_initialize(). This fixes the problem with ',' as
11860 decimal separator in text files.
11862 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11864 * trans.C (process): Fix the keymap bug.
11866 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11868 * LaTeX.C (scanAuxFiles): New method. Provides support for
11869 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11870 (scanLogFile) Scan for "run BibTeX" messages.
11872 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11873 OT1 font encoding. Also, load the aecompl package if the ae
11876 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11878 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11880 * texrow.C (increasePos): turn two error messages into debug
11883 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11885 * LaTeX.C (scanAux): Handle the \@input macro.
11886 (runBibTeX): Use scanAux().
11888 * language.C (latex_options_): New field.
11890 * LaTeXFeatures.C (getMacros): Add language macros.
11892 * buffer.C (makeLaTeXFile): Small fix.
11894 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11896 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11898 * text2.C: add a using directive.
11900 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11905 * lyxfunc.C: kill LyXBell.
11907 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11909 * text.C (IsBoundary): Remove the error message
11911 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11913 * lyxrc.C (setDefaults): Correct initialization value for
11916 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11918 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11921 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11922 and GotoNextNote().
11924 * src/LyXAction.C: Added reference-next.
11926 * text.C (InsertChar): Use contains instead of strchr.
11928 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11930 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11932 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11933 alignment commands (when needed).
11935 * text.C (InsertChar): Add ':' to number separator chars.