2 2003-07-30 André Pönitz <poenitz@gmx.net>
4 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
7 create a single function...
9 * paragraph_funcs.C (moveItem): ... here.
12 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
14 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
16 * LColor.[Ch]: Add comment and greyedout logical colors.
18 2003-07-30 André Pönitz <poenitz@gmx.net>
20 * tabular.C: don't use Assert too heavily. This crashes where it
23 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
25 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
26 is disabled (bug 1232)
28 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
30 * factory.C: limited 'arg' scope
32 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
34 * factory.C: fixed Note submenu issues
36 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
38 * factory.C: submenu for Note/Comment/Greyedout
40 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
43 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
45 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
48 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
49 greyedout. Patch provided by Jürgen Spitzmüller.
51 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
53 * kbmap.C (read): fix error message when reading bind files
55 2003-07-29 Angus Leeming <leeming@lyx.org>
57 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
58 certainly does not do what it purports to do. I am doing it, and
59 us, a favour by killing it.
61 2003-07-28 José Matos <jamatos@lyx.org>
63 * buffer.C (readBody, do_writeFile):
64 * paragraph.C(readParagraph): \end_document replaces \the_end.
66 2003-07-29 André Pönitz <poenitz@gmx.net>
69 * BufferView_pimpl.[Ch]:
73 * textcursor.[Ch]: remove toggleToggle & Co
75 2003-07-28 José Matos <jamatos@fep.up.pt>
77 * buffer.C (readParagraph):
78 * params_func (readParToken, readParagraph):
79 * paragraph.C (write): \layout -> \begin_layout.
81 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
83 * lyxlex_pimpl.C (setFile): clean up slightly.
85 * bufferparams.h: add compressed var
87 * buffer_funcs.C (readFile): adjust for LyXLex change
88 (newFile): ditto + simplify
90 * buffer.C (writeFile): handle writing of compressed files
92 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
93 Check if the file is compressed and set a bufferparm if so.
95 * Makefile.am (lyx_LDADD): remove explicit -lz
97 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
99 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
100 makeDocBookFile): put the real LyX version in the first line of
104 * version.C.in: remove lyx_docversion
106 * tabular.C (write_attribute): add a template-based version to
109 2003-07-28 André Pönitz <poenitz@gmx.net>
114 * text3.C: use doubles again for x-coordinates. They are needed.
116 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
118 * messages.C (getLocaleDir): use lyx_localedir()
120 * lyxlex_pimpl.C (setFile): compress stuff
122 * buffer.C (writeFile): add some compression stuff
123 (do_writeFile): new func, dont call expliti close... will this
126 * Makefile.am (lyx_LDADD): add -lz
128 2003-07-28 José Matos <jamatos@fep.up.pt>
130 * buffer.C: increment file format.
131 * paragraph_funcs (readParagraph, readParToken):
132 * paragraph.C (readParagraph): add \end_layout.
134 2003-07-27 Angus Leeming <leeming@lyx.org>
136 * Makefile.am: remove special casing for configure-time setting of
137 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
139 * lyx_main.C (init): remove all Jean-Marc's magic setting of
140 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
142 2003-07-26 André Pönitz <poenitz@gmx.net>
144 * paragraph_func.[Ch]:
145 * paragraph.C (realizeFont): inline it whereever it is used
150 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
153 2003-07-26 André Pönitz <poenitz@gmx.net>
157 * text2.C: get rid of LyXText::need_break_row
159 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
161 * toc.[Ch]: put namespace toc inside namespace lyx
163 * MenuBackend.C (expandToc2): adjust for lyx::toc
166 * lyxfunc.C (dispatch): adjust for lyx::find
168 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
169 lyx::find instead. Reorganize a bit.
170 (LyXReplace): rename to replace
171 (LyXFind): rename to find
173 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
176 2003-07-26 André Pönitz <poenitz@gmx.net>
178 * text.C (setHeightOfRow): restrict scope of temporary variable
180 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
181 code (never has been used?)
183 2003-07-27 Asger Alstrup <alstrup@local>
185 * text.C (fill): Optimise algorithm to exploit that we can reuse
186 the LyXFont for many characters.
187 (setHeightOfRow): Same thing.
188 (rowBreakPoint): Same thing.
190 2003-07-26 Asger Alstrup <alstrup@local>
192 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
194 * text.C (singleWidth): Spurious font copying in hot-spot
195 singleWidth avoided. Reorder tests for arabic for efficiency.
197 * text.C (fill): handle empty paragraphs better.
199 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
202 * encoding.h: add includes
204 * lyxrc.C: remove reading of bind files
206 * lyx_main.C (init): setup bindings and menus only if we have a
209 * kbmap.C (read): new method. Do the actual reading of bind
212 * converter.C (dvipdfm_options):
215 (output): adapt PAPER_* enums.
217 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
219 * bufferparams.h: remove paper-related enums from there
221 * paper.h: New file. A trivial header file to hold paper-related
222 enums. It should later expand to contain many paper-related
225 * lyxrc.C: declare extern displayTranslator
227 2003-07-27 José Matos <jamatos@fep.up.pt>
229 * tabular.[Ch] (linuxdoc): add support for tables and figures
232 2003-07-27 José Matos <jamatos@fep.up.pt>
234 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
235 consistency in both functions.
236 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
238 2003-07-26 Asger Alstrup <alstrup@local>
240 * rowpainter.C (paintRows): Change algorithm to work directly on
241 the insets rather than asking every character in the document
242 whether its an inset.
244 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
246 * buffer.C (openFileWrite): factorize some code
248 2003-07-26 Angus Leeming <leeming@lyx.org>
251 * lyx_main.[Ch]: replace occurances of system_tempdir with
254 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
256 * rename Inset to InsetOld
258 2003-07-25 Asger Alstrup <alstrup@diku.dk>
260 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
261 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
262 which I think is a bit clearer. EDIT is gone, since it was
263 premature optimisation, and broken for mathed anyway.
264 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
265 with cursor positioning in insets as well (math insets still do not
266 work, but that's a different story anyway.) It mysteriously
267 crashes sometimes with undo in the first paragraph, but I'm fairly
268 confident that this is a compiler bug.
270 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
272 * paragraph.C (Paragraph): adjust for new clone return type
274 (copyIntoMinibuffer): ditto
276 2003-07-25 Asger Alstrup <alstrup@lyx.org>
278 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
279 by not having a special case, and always doing a full rebreak of
280 the document after undo.
282 2003-07-23 Angus Leeming <leeming@lyx.org>
284 * factory.C (createInset): InsetExternal::setParams now takes a
287 2003-07-23 Angus Leeming <leeming@lyx.org>
289 * factory.C (createInset): changed interface to the external and
290 graphics mailers' string2params functions.
292 2003-07-23 Angus Leeming <leeming@lyx.org>
294 * factory.C (createInset): pass a
295 Buffer const * parameter to InsetExternalMailer's string2params.
297 2003-07-22 John Levon <levon@movementarian.org>
299 * Thesaurus.h: include the right aiksaurus header
301 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
303 * MenuBackend.C (expand): check menu shortcuts unconditionally
305 2003-07-21 Angus Leeming <leeming@lyx.org>
307 * factory.C (createInset): pass a
308 buffer_path parameter to InsetGraphicsMailer's string2params.
310 2003-07-21 Angus Leeming <leeming@lyx.org>
312 * BufferView_pimpl.C (buffer):
315 * lyxfunc.C (dispatch):
316 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
317 rather than the grfx shortcut.
319 2003-07-21 André Pönitz <poenitz@gmx.net>
321 * rowpainter.C: remove unused variables
324 * tabular_funcs.h: move to tabular.C
325 * Makefile.am: adjust
327 * tabular.[Ch]: basic optical cleaning
329 * author.h: pass references, not values
331 2003-07-18 André Pönitz <poenitz@gmx.net>
339 * text3.C: two-phase drawing for InsetText and InsetTabular
340 some float -> int changes.
342 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
344 * lyx_main.C: fix the fix
346 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
348 * lyx_main.C: fix a crash in batch mode if no files specified
351 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
353 * format.[Ch] (papersize): moved to BufferParams
354 * converter.[Ch] (dvips_options): moved to BufferParams
355 (dvipdfm_options): moved to anon namespace
356 * bufferparams.[Ch]: added above functions.
358 2003-07-17 André Pönitz <poenitz@gmx.net>
362 * text2.C: don't call inset->update() anymore
364 * metricsinfo.[Ch]: add convenience constructor
366 2003-07-16 André Pönitz <poenitz@gmx.net>
371 * text2.C: replace the LyXCursor::irow_ member with
372 on-demand computation of the value
374 2003-07-16 John Levon <levon@movementarian.org>
376 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
378 2003-07-15 André Pönitz <poenitz@gmx.net>
381 * text2.C: remove no more needed refresh_row
383 2003-07-15 André Pönitz <poenitz@gmx.net>
388 * text3.C: refresh_status tristate -> need_update bool
390 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
392 * lyxtext.h (init): remove reinit argument (act as if always true)
393 * text2.C: adjust to that
395 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
397 * bufferview_funcs.[Ch]: introduce function replaceSelection()
398 * text3.C: use it to delete selections in some cases
399 (bugs 441, 673, 702, 954).
401 2003-07-14 André Pönitz <poenitz@gmx.net>
403 * rowpainter.[Ch]: reduce interface
405 2003-07-14 André Pönitz <poenitz@gmx.net>
407 * BufferView_pimpl.C:
408 * text2.C: adjust after removing unused BufferView * argument
410 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
412 * text2.C (init): fix a crash fired on resize
414 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
416 * buffer.[Ch]: added new closing signal
417 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
418 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
419 BufferView::Pimpl via the closing the signal
421 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
423 * buffer.[Ch]: take out all bv-related from buffer
425 * BufferView_pimpl.[Ch]: connect to new signals
426 * CutAndPaste.C: removed useless asserts
427 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
430 * lyxfunc.C: moved view-related funciontality from vc here
431 * paragraph.C: removed outdated comments
434 2003-07-10 André Pönitz <poenitz@gmx.net>
436 * BufferView_pimpl.C:
440 * text2.C: remove InsetText::InnerCache, clean up consequences
442 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
444 * ispell.C: fix two typos in error messages
446 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
448 * Extend Note inset to other forms of annotation like Comment
449 and Greyedout. Right button click gives dialog.
451 Files modified or added (+):
457 * Makefile.am in frontends/xforms, frontends/xforms/forms,
458 frontends/controllers
462 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
464 * aspell.C: add missing namespace lyx::support
466 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
468 * BufferView.[Ch] (newFile): Add
469 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
470 * LaTeX.[Ch] (message): added this signal and use it
471 * buffer.[Ch] (busy, message): added these signals and use them
472 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
476 * importer.C: use buffer signals instead of direct bv calling
477 * lyx_cb.[Ch] (ShowMessage): removed
481 * text2.C: use buffer signals
483 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
485 * introduce namespace lyx::graphics
487 2003-07-02 André Pönitz <poenitz@gmx.net>
489 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
491 2003-07-01 André Pönitz <poenitz@gmx.net>
498 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
499 text*.C to text_func.C
501 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
503 * introduce namespace lyx::support
505 2003-06-30 André Pönitz <poenitz@gmx.net>
510 * text.C: re-enable --with-included-string
512 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
514 * textcursor.C: add <config.h>
516 * text.C (getWord): remove const from word_location arg
518 * lyxvc.C (getLogFile): fix const type order
520 * lyxtext.h: remove const from word_location arg, add arg name
522 * lyxlayout.h: currect type on labeltype.
524 * importer.C: correct \file
526 * converter.C (intToFormat): use std:: on ret val, ws changes
528 * bufferlist.h: correct \file
530 * buffer.C (makeLinuxDocFile): fix const type order
531 (makeDocBookFile): ditto
532 (fillWithBibKeys): use std:: on stdlib args.
534 * CutAndPaste.C: fix authors.
535 (availableSelections): use std:: on return vector
537 2003-06-27 André Pönitz <poenitz@gmx.net>
539 * BufferView_pimpl.C:
540 * bufferview_funcs.C:
548 * text3.C: remove LyXCursor::row_ member
551 * text.C: rename fullRebreak() to partialRebreak() and implement
552 a fullRebreak() that really bereks fully
554 * textcursor.h: new struct for cursor-related data
556 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
558 * lyx_main.C (LyX): get full path of document loaded on the
561 2003-06-26 André Pönitz <poenitz@gmx.net>
563 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
564 remove unused/broken operator>,<,>=.
566 * text.C: remove only use of broken operator<= in an Assert().
568 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
570 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
571 moved errorlist_.clear to showErrorList
573 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
575 * converter.C (scanLog, runLaTeX):
576 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
577 move the bv->showErrorList call to the callers
578 * lyxfunc.C: i.e. here...
580 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
581 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
582 namespace, the second to...
583 * buffer_funcs (BufferFormat, parseErrors): added
584 * errorlist.C (ErrorList(TeXErrors const &)): removed
586 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
588 * ToolbarBackend.C (getIcon): complain when icon cannot be found
590 2003-06-24 "Garst R. Reese" <reese@isn.net>
594 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
596 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
598 * version.C.in: change docversion to 1.4
600 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
602 * buffer.C: fix a bug just introduced
604 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
606 * buffer.[Ch]: added the parseError signal and use it, removed
608 * BufferView.[Ch] (addError): moved to ...
609 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
610 to the Buffer::parseError signal to catch (guess what) parse errors
611 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
613 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
615 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
616 ability to create a buffer and to return an existing one from
617 the list. Moved these functions to...
618 * buffer_funcs.[Ch]: added
619 * BufferView.[Ch] (loadLyXFile): added
620 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
621 job removed from bufferlist::loadLyXFile.
622 * buffer.C (setReadOnly): make it work without view
623 (i.e added an if (users))
625 2003-06-19 Angus Leeming <leeming@lyx.org>
628 * LyXAction.C (init):
629 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
630 with LFUN_DIALOG_SHOW <name> <data>.
632 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
634 * CutAndPaste.C (availableSelections): small compilation fix for
635 ancient (gcc 2.9x) compilers
637 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
639 * text3.C (cursorNext): add tmp var
641 * text2.C (updateCounters): for function calling out of for clause
642 (replaceSelectionWithString): ditto
643 (insertStringAsParagraphs): ditto
644 (getColumnNearX): add tmp var
645 (setCursorFromCoordinates): add tmp var
646 (cursorDownParagraph): add tmp var
647 (deleteEmptyParagraphMechanism): add tmp var
649 * text.C (insertChar): add tmp var
651 * rowpainter.C (paintDepthBar): add tmp var
653 * CutAndPaste.C (availableSelections): potentially check all
654 paragraphs in a cut to fill the shown strings.
656 2003-06-18 André Pönitz <poenitz@gmx.net>
658 * kbmap.[Ch]: use vector<> instead of list<>
660 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
662 * text3.C (dispatch): handle arg to LFUN_PASTE, call
663 pasteSelection with index
665 * text2.C (pasteSelection): modify, call pasteSelection with index
667 * paragraph.C (asString): reimplement version with no interval to
668 call the one with interval.
670 * lyxtext.h: add index arg to pasteSelection
672 * MenuBackend.C (MenuItem): handle PasteRecent
673 (Menu::read::Menutags): add md_pasterecent
675 (expandPasteRecent): new function
678 * MenuBackend.h: add PasteRecent to MenuItem::Kind
680 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
682 (availableSelections): new function
684 2003-06-17 Angus Leeming <leeming@lyx.org>
686 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
688 2003-06-17 Angus Leeming <leeming@lyx.org>
691 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
693 * lyxfunc.C (dispatch): invoke it.
695 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
697 * iterators.C (operator++, ParPosition): reintroduce some
698 const_cast for the benefit of older compilers.
700 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
702 * text3.C (dispatch): do not modify clipboard when doing
703 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
704 LFUN_DELETE_SKIP on a selection selection
706 2003-06-16 André Pönitz <poenitz@gmx.net>
712 * tabular.[Ch]: IU of clone() and getLabelList();
714 2003-06-13 André Pönitz <poenitz@gmx.net>
716 * tabular.h: compactification
718 2003-06-12 André Pönitz <poenitz@gmx.net>
722 * tabular_funcs.h: some renaming plus whitespace
724 2003-06-12 André Pönitz <poenitz@gmx.net>
727 * BufferView_pimpl.C:
733 * toc.C: Return a Paragraph & for ParIterator::operator*()
735 2003-06-11 John Levon <levon@movementarian.org>
739 * ToolbarBackend.C: add "Toolbars" section and
742 2003-06-10 Angus Leeming <leeming@lyx.org>
745 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
747 * lyxfunc.C (dispatch): invoke it.
749 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
751 * main.C: protect <ios> with HAVE_IOS
752 (main): protect sync_with_stdio with HAVE_IOS
754 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
756 * text2.C (cutSelection): adjust
757 (pasteSelection): adjust
759 * messages.C: handle get of empty string
761 * main.C (main): use sync_with_stdio(false)
763 * lyxfunc.C (dispatch): adjust
765 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
766 (WriteAs): remove unneeded BufferView arg.
768 * bufferparams.h: use correct types on papersize, papersize2 and
771 * bufferparams.C (readToken): adjust for type
772 (writeLaTeX): add missing cases to switch.
774 * bufferlist.C (quitWriteBuffer): adjust
777 * buffer.C (asciiParagraph): remove some commented code.
779 * CutAndPaste.C: remove current_view extern variable.
780 (cutSelection): add BufferParams arg.
781 (eraseSelection): add BufferParams arg.
782 (pasteSelection): add Buffer const & arg
784 2003-06-07 John Levon <levon@movementarian.org>
792 * paragraph.C: allow InsetERT to freely space lines,
793 and some consolidation of code
795 2003-06-06 José Matos <jamatos@fep.up.pt>
797 * buffer.C (makeDocBookFile): fix bug #821
799 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
801 * BufferView_pimpl.C (dispatch): use Dialogs::visible
803 2003-06-04 Angus Leeming <leeming@lyx.org>
805 * buffer.C: bump format to 224.
807 2003-06-05 André Pönitz <poenitz@gmx.net>
809 * text2.C (redoParagraphs): remove two const_cast<>
811 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
813 * ParagraphList.h: remove last remnants of NO_STD_LIST
815 2003-06-03 Angus Leeming <leeming@lyx.org>
817 * factory.C (createInset): small change to the way InsetExternal's params
820 2003-06-04 André Pönitz <poenitz@gmx.net>
822 * buffer.h: use Undo directly instead of shared_ptr<Undo>
825 * paragraph.[Ch]: some Inset -> UpdatableInset changes
827 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
829 * undo_funcs.C: make some simple cases of undo work again
831 2003-06-03 John Levon <levon@movementarian.org>
833 * ispell.C: HPUX doesn't have sys/select.h
836 2003-06-03 John Levon <levon@movementarian.org>
838 * CutAndPaste.C: update tabular and include inset
843 * paragraph.C: remove owningBuffer(), don't pass Buffer
846 * factory.C: insetGraphicsParams changed
848 2003-06-02 John Levon <levon@movementarian.org>
854 * text3.C: remove insetparent
856 2003-06-02 John Levon <levon@movementarian.org>
859 * buffer.C: fix inset_iterator.end(), move out of line
862 2003-06-01 John Levon <levon@movementarian.org>
864 * text3.C: use a proper cut/paste when doing inset
865 insert (from Jürgen Spitzmüller)
867 2003-06-01 John Levon <levon@movementarian.org>
869 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
871 2003-05-30 André Pönitz <poenitz@gmx.net>
873 * rowpainter.C: unify second drawing phase
875 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
877 * trans_mgr.C: remove one case of current_view
879 * text2.C (cursorBottom): delete NO_STD_LIST stuff
881 * paragraph_funcs.h: remove paragraph.h include
883 * paragraph.h: delete NO_STD_LIST stuff
885 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
887 * buffer.h: remove paragraph.h include
889 * ParagraphList.C: delete file
891 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
893 * toc.C (getTocList): adjust
895 * paragraph_pimpl.C (validate): adjust
897 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
899 * paragraph.C (Paragraph): adjust
900 (getPositionOfInset): use const_iterator, adjust
901 (bibitem): use const_iterator, adjust
902 (setInsetOwner): adjust
904 * iterators.C (operator++): adjust
906 * InsetList.[Ch]: Replace selfmade iterator with standard
907 vector::iterator also introduce const_iterator. Remove getPos,
908 getInset and setInset from InsetTable. Adjust accordingly.
910 * BufferView.C (lockInset): adjust
911 (ChangeInsets): adjust
913 * tabular.[Ch]: delete commented same_id functions
915 2003-05-28 John Levon <levon@movementarian.org>
917 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
919 2003-05-28 André Pönitz <poenitz@gmx.net>
921 * metricsinfo.[Ch]: remove 'fullredraw' member
923 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
925 * lyxtextclass.C (operator): remove caching.
927 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
931 * text2.C (cursorBottom): adjust
932 (setCounter): use ParagraphList::find, adjust
934 * text.C (workWidth): use ParagraphList::find, adjust
936 * lyxcursor.C (LyXCursor): adjust
938 * buffer.C (inset_iterator): adjust
940 * ParagraphList.h: make iterator(value_type) private, make
941 ParagraphList a friend of iterator.
943 * ParagraphList.C (find): new function
945 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
947 2003-05-27 André Pönitz <poenitz@gmx.net>
949 * dimension.[Ch]: a -> asc, d -> des, w -> wid
951 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
953 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
955 2003-05-26 John Levon <levon@movementarian.org>
957 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
959 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
961 * remove same_id from function signatures, adjust.
963 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
965 * undo_funcs.C (createUndo): use the id functions directly, adjust.
967 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
969 * paragraph.C (Paragraph): get rid of same_ids parameter
971 * ParagraphList.C (insert): adjust
974 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
976 * paragraph_funcs.C (breakParagraph): adjust
977 (breakParagraphConservative): adjust
979 * buffer.C (readParagraph): adjust
981 * ParagraphList.C (insert): take a reference instead of a pointer
984 * paragraph.[Ch] (id): new function
986 * bufferlist.C (newFile): adjust
988 * ParagraphList.C (ParagraphList): adjust
990 (push_back): take a reference instead of a pointer.
992 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
994 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
997 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
998 set else use old code.
1000 * ParagraphList.C: remove all NO_NEXT code and only compile this
1001 code of NO_STD_LIST is set.
1003 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1005 * BufferView_pimpl.C:
1015 * graphics/GraphicsConverter.C:
1016 * graphics/PreviewLoader.C: header adjustment
1018 2003-05-23 Angus Leeming <leeming@lyx.org>
1020 * LaTeXFeatures.[Ch] (useBabel): new method.
1021 * bufferparams.C (writeLaTeX): use it.
1023 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1025 * ParagraphList.h (set): remove unused function.
1027 2003-05-23 André Pönitz <poenitz@gmx.net>
1030 * BufferView_pimpl.C:
1034 * undo_funcs.C: setUndo reworked
1036 * iterators.[Ch]: add access to topmost ParagraphList
1038 * lyxtext.[Ch] (workWidth): add a const
1040 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1042 * texrow.[Ch] (increasePos): remove function
1043 * exporter.C (export): removed unused var and outdated comment
1045 2003-05-23 Angus Leeming <leeming@lyx.org>
1047 * latexrunparams.h: rename fragile as moving_arg.
1048 * paragraph.C (simpleTeXOnePar): ditto.
1049 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1051 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1053 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1055 (textUndoOrRedo): comment out a currently unused var.
1057 * paragraph.h (NO_NEXT): enable NO_NEXT
1059 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1061 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1063 * exporter.C (Export): adjust for removeAutoInsets removal.
1065 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1067 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1069 * BufferView.[Ch] (removeAutoInsets): delete function
1071 2003-05-22 Angus Leeming <leeming@lyx.org>
1073 * latexrunparams.h: add a free_spacing variable.
1075 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1076 to pass moving_arg, as the data is stored in runparams.fragile.
1078 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1079 to Inset::latexOptional or to simpleTeXOnePar.
1081 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1082 free_spacing arg to Inset::latexOptional.
1084 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1087 2003-05-22 Angus Leeming <leeming@lyx.org>
1089 * latexrunparams.h: add fragile and use_babel variables.
1091 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1092 * buffer.C (makeLaTeXFile): store this returned value in
1093 runparams.use_babel, thus passing it to the inset::latex methods.
1095 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1096 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1098 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1099 longer has a fragile arg, as it is stored in runparams.fragile.
1101 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1102 moving_arg parameter as the data is stored in runparams.fragile.
1104 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1105 a fragile parameter as the data is stored in runparams.fragile.
1107 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1109 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1111 2003-05-22 Angus Leeming <leeming@lyx.org>
1113 * latexrunparams.h: add a 'bool nice' which defaults to false.
1115 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1116 now encapsulated within runparams.
1118 * bufferlist.C (updateIncludedTeXfiles):
1119 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1121 2003-05-22 Angus Leeming <leeming@lyx.org>
1123 * latexrunparams.h: new file containing struct LatexRunParams.
1124 * Makefile.am: add new file.
1126 * LaTeX.[Ch] (c-tor, run):
1127 * buffer.[Ch] (makeLaTeXFile):
1128 * bufferlist.[Ch] (updateIncludedTeXfiles):
1129 * converter.C (convert, scanLog):
1130 * converter.[Ch] (runLaTeX):
1131 * exporter.C (Export):
1132 * paragraph.[Ch] (simpleTeXOnePar):
1133 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1134 * paragraph_funcs.[Ch] (latexParagraphs):
1135 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1136 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1137 pass around a LatexRunParams parameter.
1139 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1141 * paragraph.[Ch]: remove unused constructor
1143 * ParagraphList.C (erase): new function, taking two iterators
1145 2003-05-22 André Pönitz <poenitz@gmx.net>
1147 * undo_funcs.C: remove duplicated code
1149 * iterator.[Ch]: operator=
1151 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1153 * tabular.C (SetMultiColumn): ws changes
1155 * rowpainter.C (paintFirst): get rid of a ->previous
1157 * lyx_cb.C (getPossibleLabel): parlist simplification
1159 * BufferView.C (ChangeInsets): simplify slightly.
1161 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1163 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1164 * lfuns.h: new LFUN_SPACE
1165 * lyxfunc.C: protected space has a new lfun
1166 * paragraph_funcs.C: read new space insets
1168 * factory.C: handle new space insets
1170 2003-05-22 André Pönitz <poenitz@gmx.net>
1173 * BufferView_pimpl.C:
1176 * undo_funcs.C: return a ParIterator from getParFromID.
1178 * iterators.[Ch]: add two const's
1180 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1182 * toc.C (getTocList): adjust
1184 * iterators.[Ch]: rework for parlist
1186 * buffer.C (par_iterator_begin): adjust
1187 (par_iterator_end): adjust
1189 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1191 * BufferView.C (removeAutoInsets): adjust
1192 (ChangeInsets): adjust
1194 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1196 * text.C (top_y): fix bug 1110
1198 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1200 * errorlist.[Ch]: added
1203 * BufferView_pimpl.C:
1204 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1207 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1209 * Makefile.am: ensure that lyx is relinked upon changes to the
1210 various "convenience" libs.
1212 2003-05-20 Angus Leeming <leeming@lyx.org>
1214 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1215 files are compiled in alphabetical order again.
1217 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1219 2003-05-19 Angus Leeming <leeming@lyx.org>
1221 * gettext.[Ch]: remove "char const * _(char const *)".
1223 2003-05-19 André Pönitz <poenitz@gmx.net>
1225 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1234 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1236 2003-05-19 André Pönitz <poenitz@gmx.net>
1240 * lyxtextclass.[Ch]:
1242 * paragraph_funcs.[Ch]:
1244 * text3.C: more insetenv work
1246 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1248 * ParagraphParameters.C (params2string): small bug fixed
1250 2003-05-16 André Pönitz <poenitz@gmx.net>
1253 * bufferview_funcs.C: patch from Kornel Benko to prevent
1254 crash when _(...) is called twice in a statement
1256 2003-05-16 André Pönitz <poenitz@gmx.net>
1263 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1265 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1267 * lyx_main.C (init): remove spurious static_cast
1269 2003-05-14 André Pönitz <poenitz@gmx.net>
1271 * BufferView.C: fix format string
1273 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1275 * BufferView.[Ch] (insertErrors): removed
1276 * BufferView.[Ch] (showErrorList): added
1277 * buffer.C (runChkTeX):
1278 * converter.C (scanLog): call showErrorList instead of inserterrors
1280 2003-05-13 André Pönitz <poenitz@gmx.net>
1282 * BufferView_pimpl.C:
1284 * bufferview_func.C:
1291 * tabular_funcs.h: tostr() from its own header
1293 * ParagraphParameters.C:
1298 * text3.C: STRCONV()
1300 2003-05-12 André Pönitz <poenitz@gmx.net>
1303 * BufferView_pimpl.C:
1307 * ParagraphParameters.C:
1311 * bufferview_funcs.C:
1324 * paragraph_funcs.C:
1328 * text3.C: boost::format -> bformat all over the place
1331 2003-05-09 André Pönitz <poenitz@gmx.net>
1333 * LColor.[Ch]: Pimpl the #include <map> away
1335 2003-05-09 John Levon <levon@movementarian.org>
1337 * bufferlist.C: never remove emergency saves
1339 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1341 * Makefile.am: better lib building
1343 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1345 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1347 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1348 (simpleTeXSpecialChars): adjust
1349 (simpleTeXSpecialChars): adjust
1350 * paragraph.C (simpleTeXOnePar): adjust
1351 * buffer.C (makeLaTeXFile): adjust
1353 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1355 * text2.C (changeDepth): parlist cleanup
1356 (getColumnNearX): ditto
1358 * rowpainter.C (getLabelFont): parlist cleanup
1360 * bufferlist.C (newFile): parlist cleanup
1362 * CutAndPaste.C (eraseSelection): parlist cleanup
1364 * BufferView_pimpl.C (trackChanges): parlist cleanup
1367 * BufferView.C (lockInset): parlist cleanup.
1368 (ChangeInsets): ditto
1370 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1372 * CutAndPaste.h: Update file header.
1374 * CutAndPaste.C: Update file header.
1375 Store the parts cut out of the Document in a limited_stack.
1376 (copySelection): adjust
1377 (pasteSelection): new function, takes the index in the limited stack.
1378 (nrOfParagraphs): adjust
1379 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1380 simplify error inset insertion.
1381 (checkPastePossible): adjust
1383 2003-05-06 John Levon <levon@movementarian.org>
1385 * text2.C: don't cast wrap inset to float
1387 2003-05-05 André Pönitz <poenitz@gmx.net>
1390 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1392 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1393 few naked Paragraph *.
1395 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1397 * bufferparams.C: Output warning if a document with missing
1398 TeX document class is loaded
1399 * exporter.C: Disable TeX exports if the document class is missing
1402 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1403 isTeXClassAvailable()
1405 2003-05-03 John Levon <levon@movementarian.org>
1408 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1409 explicit cursor show/hide
1411 * BufferView_pimpl.h:
1412 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1413 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1415 * lyxfunc.C: hide cursor before dispatching.
1420 * text3.C: remove explicit cursor hides
1422 2003-05-02 André Pönitz <poenitz@gmx.net>
1424 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1427 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1430 * text2.C: tiny whitespace
1432 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1434 * undo_funcs.C: almost only ws changes.
1436 * ParagraphList.C (splice): just return if pl is empty.
1438 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1440 * ParagraphList.C (splice): new function.
1442 * CutAndPaste.C (pasteSelection): use it
1444 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1446 * CutAndPaste.C (pasteSelection): remove the last next and
1447 previous from this file.
1449 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1451 * CutAndPaste.C (pasteSelection): more clean up, user proper
1452 ParagraphList functions for pasteing.
1454 * ParagraphList.C (insert): new function, three arg insert
1456 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1458 * ParagraphList.C (insert): new function, three arg insert
1460 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1463 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1465 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1467 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1469 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1471 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1473 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1474 (copySelection): clean up a bit.
1475 (pasteSelection): use make_pair
1477 * ParagraphList.C (ParagraphList): implement copy constructor
1478 (operator=): implement, base on copy constructor.
1481 * paragraph.C (erase): return a bool
1483 * paragraph_pimpl.C (erasePos): remove function, move contents...
1484 (erase): ... here. Return a bool.
1485 (erase): call erase instead of erasePos.
1487 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1489 * ParagraphList.h: define PitPosPair
1490 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1491 ParagraphList, fix a bug on pasting multiple pars
1492 * text2.C: change interface to C&P
1494 2003-04-30 André Pönitz <poenitz@gmx.net>
1496 * undo_func.C: revert part of yesterday's patch 2
1498 2003-04-30 John Levon <levon@movementarian.org>
1500 * LColor.C: s/tabular/table/
1502 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1504 * text3.C (dispatch): do not convert iterator -> pointer
1505 * undo_funcs.C (setCursorParUndo): ditto
1506 * text_funcs.C (transposeChars): ditto
1508 * text2.C (setLayout): ws changes only
1510 * text.C (breakParagraph): do not convert iterator -> pointer
1512 (acceptChange): ditto
1513 (rejectChange): ditto
1518 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1521 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1523 * text3.C (gotoInset): YABG (yet another bad getChar)
1525 2003-04-29 André Pönitz <poenitz@gmx.net>
1527 * paragraph.h: make operator= private unimplemented as long as
1530 * ParagraphList.C: whitespace
1533 * paragraph_pimpl.[Ch]:
1534 * paragraph_funcs.C:
1536 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1539 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1541 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1543 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1544 * paragraph.[Ch] (erase):
1545 * paragraph_pimpl.[Ch] (erase): change return type and value
1546 * text2.C (cutSelection): some rework
1548 2003-04-28 John Levon <levon@movementarian.org>
1550 * bufferlist.C: changes for unsaved changes dialog
1552 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1554 * bufferlist.C (newFile): set language (messages_) for new
1557 * buffer.C (readFile): ws changes only.
1559 2003-04-28 André Pönitz <poenitz@gmx.net>
1564 * BufferView_pimpl.C:
1565 * BufferView.C: getParFromID related ParagraphList::iterator changes
1567 2003-04-28 André Pönitz <poenitz@gmx.net>
1569 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1572 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1574 * messages.C: remove one more localedir class variable.
1576 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1578 * messages.C (getLocaleDir): singleton generation function
1580 (Messages): add a default constructor.
1582 * main.C (main): do not setup localedir here, do not call
1585 * gettext.C (_): use it.
1586 (gettext_init): delete funciton
1588 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1590 * gettext.C (getLyXMessages): new singleton generating function.
1592 * buffer.C (updateDocLang): adjust
1594 * Makefile.am (messages.o): add target
1595 (main.o): remove target
1597 2003-04-27 John Levon <levon@movementarian.org>
1602 * lyxvc.C: specify cancel button in Alert::prompt
1604 2003-04-26 John Levon <levon@movementarian.org>
1609 * LyXAction.C: add LFUN_INSET_SETTINGS
1611 * lyxfunc.C: don't enable tabular-feature when there's
1612 just any locking inset
1614 2003-04-26 John Levon <levon@movementarian.org>
1616 * bufferlist.C: re-add Cancel to buffer close question
1618 * lyxfunc.C: fix import UI a bit
1620 2003-04-25 John Levon <levon@movementarian.org>
1622 * gettext.C: remove the broken asserts for now
1624 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1626 * messages.C: make case where setlocale cannot comply work better.
1628 * buffer.C (updateDocLang): new function
1629 (changeLanguage): use it
1632 * text2.C (setCounter): use B_ a bit.
1634 * lyxlayout.C (Read): be sure to trim the label strings.
1636 * messages.C (Messages): fix typo in comment
1638 * buffer.C (readFile): set message_ after file is loaded.
1639 (makeDocBookFile): remove double return
1640 (changeLanguage): reset message_ upon language change.
1641 (B_): new func, use this to get translated buffer strings.
1643 * main.C: add myself and Jean Marc as authors.
1645 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1647 * messages.[hC]: pimplify Messages, and three different pimpls to be
1648 used in different circumstances.
1650 * gettext.[Ch]: change for use with new message code.
1652 2003-04-24 André Pönitz <poenitz@gmx.net>
1654 * factory.C: support for eqref
1656 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1658 * messages.[Ch]: add missing char
1660 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1662 * messages.[Ch]: New files
1664 2003-04-18 John Levon <levon@movementarian.org>
1668 * BufferView_pimpl.C:
1672 * text2.C: remove layout-copy/paste (bug 778)
1674 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1676 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1678 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1680 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1681 if they succeed. Act accordingly.
1683 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1685 * text2.C (setCharFont): adjust
1686 (setCounter): adjust
1687 (insertStringAsLines): adjust
1689 * text.C (leftMargin): adjust
1690 (setHeightOfRow): adjust
1692 * rowpainter.C (paintFirst): adjust
1695 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1697 (isFirstInSequence): ditto
1698 (getEndLabel): ditto
1701 * paragraph.C (getParLanguage): comment out some hard stuff.
1703 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1705 (simpleDocBookOnePar): ditto
1706 (makeDocBookFile): use ParagraphList::iterator
1708 * CutAndPaste.C (pasteSelection): adjust
1710 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1712 * text2.C (getFont): adjust
1713 (getLayoutFont): adjust
1714 (getLabelFont): adjust
1716 * paragraph_funcs.C (TeXOnePar): adjust
1718 * buffer.C (simpleLinuxDocOnePar): adjust
1719 (simpleDocBookOnePar): adjust
1721 * CutAndPaste.C (pasteSelection): adjust
1723 * BufferView.C (getEncoding): adjust
1725 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1727 2003-04-16 John Levon <levon@movementarian.org>
1729 * lyxfind.C: use parlist stuff for search/changes
1731 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1733 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1735 * text2.C (deleteEmptyParagraphMechanism): adjust
1737 * text2.[Ch] (ownerParagraph): delete func (both of them
1739 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1741 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1743 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1745 * ParagraphList.C: prepare for NO_NEXT
1747 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1749 * text2.C (getFont): adjust
1750 (getLayoutFont): adjust
1751 (getLabelFont): adjust
1753 * paragraph.C (getFont): adjust
1754 (getLabelFont): adjust
1755 (getLayoutFont): adjust
1757 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1759 2003-04-15 John Levon <levon@movementarian.org>
1763 * lyx_main.C: handle Include in .ui files
1765 2003-04-15 John Levon <levon@movementarian.org>
1767 * MenuBackend.C: make the doc files length shorter
1770 * ToolbarBackend.C: handle toolbar placement flags,
1773 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1775 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1778 * paragraph_funcs.C (TeXOnePar): adjust
1780 * paragraph.C (getLabelFont): add outerfont arg, adjust
1781 (getLayoutFont): ditto
1782 (simpleTeXOnePar): adjust
1784 * paragraph_pimpl.C (realizeFont): delete func
1786 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1788 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1789 row argument, constify cur argument.
1791 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1793 * text2.C (getFont): adjust
1794 (getLayoutFont): adjust
1795 (getLabelFont): adjust
1797 * paragraph_funcs.C (TeXOnePar): adjust
1798 (outerFont): new func...
1799 (realizeFont): ...moved out from here, changed this to facilitate
1802 * paragraph.C (getFont): take outerfont as arg, adjust
1803 (simpleTeXOnePar): add outerfont arg, adjust
1805 * buffer.C (simpleLinuxDocOnePar): adjust
1806 (simpleDocBookOnePar): adjust
1808 * CutAndPaste.C (pasteSelection): adjust
1810 * BufferView.C (getEncoding): adjust
1812 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1814 * text2.C (setCharFont): adjust
1815 (setCounter): adjust
1817 * text.C (leftMargin): adjust
1818 (setHeightOfRow): adjust
1820 * rowpainter.C (paintFirst): adjust
1823 * paragraph_pimpl.C (realizeFont): adjust
1825 * paragraph.C (isFirstInSequence): move from here...
1826 * paragraph_funcs.C (isFirstInSequence): ...to here
1828 * paragraph.C (outerHook): move from here...
1829 * paragraph_funcs.C (outerHook): ...to here
1831 * paragraph.C (depthHook): move from here...
1832 * paragraph_funcs.C (depthHook): ...to here
1834 * paragraph.C (getEndLabel): move from here...
1835 * paragraph_funcs.C (getEndLabel): ...to here
1837 * text2.C (realizeFont): move from here...
1838 * paragraph_funcs.C (realizeFont): ...to here
1840 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1842 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1844 2003-04-14 Angus Leeming <leeming@lyx.org>
1846 * LColor.[Ch]: scrap LColor mathcursor.
1848 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1850 * lyxlex.[Ch] (text): delete function
1851 * trans.C (Load): adjust
1852 * paragraph_funcs.C (readParToken): adjust
1854 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1856 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1857 vector<char> instead of a char[].
1859 * lyxlex_pimpl.C (getString): adjust
1861 (lex): use getString
1865 * lyxlex.C (text): use pimpl_->getString()
1869 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1871 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1872 (makeFontEntriesLayoutSpecific): temp var for par.size()
1873 (setLayout): temp var for ownerParagraphs().end()
1874 (fullRebreak): temp var for rows().end()
1875 (selectionAsString): temp var for boost::next(startpit), realize
1876 that the while really is a regular for loop.
1877 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1878 setCursor in one place.
1879 (setParagraph): temp vr for ownerParagraphs().end()
1880 (updateCounters): make the while loop a for loop
1881 (cutSelection): temp var for ownerParagraphs().end()
1882 (updateInset): make the do {} while() a regular for loop
1883 (getCursorX): use temp vars
1884 (setCurrentFont): use temp vars
1885 (getColumnNearX): use temp vars
1887 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1889 * text.C (transformChar): use temp var for getChar
1890 (computeBidiTables): use temp var for row->par()
1891 (fill): move temp vars for row->par() and pit->layout() earlier in
1893 (labelFill): use temp var for row->par()
1894 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1895 asc and desc, realize that pit never changes and that firstpit is
1896 just a duplicate and not needed. Exchange rit->par() with pit in a
1898 (breakAgain): use a temp var for boost::next(rit)
1899 (breakAgainOneRow): ditto
1900 (breakParagraph): use a temp var for rows().begin()
1901 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1902 (cursorRightOneWord): use temp var for cursor.par() and
1903 cursor.pos(), remove usage of tmpcursor.
1904 (cursorLeftOneWord): use temp var for cursor.par() and
1905 cursor.pos() only set cur at end of function.
1907 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1909 * text.C, text2.C: exchange all usage of Paragraph::next with
1910 boost::next(ParagraphList::iterator)
1912 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1914 * text2.C (cursorTop): simplify implementation
1915 (cursorBottom): ditto
1916 (setParagraph): use ParagraphList::iterator
1917 (setCurrentFont): adjust
1918 (getColumnNearX): adjust
1919 (cursorRight): adjust
1920 (cursorLeft): remove usage of Paragraph::previous
1921 (cursorUpParagraph): ditto
1922 (deleteEmptyParagraphMechanism): slight cleanup
1924 * text.C (isBoundary): take a Paragraph const & instead of a
1926 (addressBreakPoint): ditto
1927 (leftMargin): remove usage of Paragraph::previous.
1928 (setHeightOfRow): ditto
1929 (cursorLeftOneWord): ditto
1930 (selectNextWordToSpellcheck): ditto
1933 (breakParagraph): remove one usage of Paragraph::next
1934 (redoParagraph): ditto
1935 (acceptChange): ditto
1936 (insertChar): adjust
1937 (rowBreakPoint): adjust
1939 * bufferview_funcs.C (toggleAndShow): adjust
1941 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1943 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1944 methods to access it.
1946 * text.C: Added updateRowPositions to compute all row positions.
1947 Make top_y and getRowNearY() to use the cached y position
1949 2003-04-11 John Levon <levon@movementarian.org>
1951 * text.C (rowBreakPoint): reintroduce the labelEnd
1952 checks, code copied from the row fill stuff. Deep voodoo.
1954 * text.C (fill): add a comment and debugging for the
1957 2003-04-11 John Levon <levon@movementarian.org>
1959 * text.C: make sure fullrow insets get wrapped to the next line,
1960 even when they're in a manual label
1962 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1964 * text2.C (insertParagraph): make it take ParagraphList::iterator
1966 (setLayout): make it return ParagraphList::iterator
1967 (redoParagraphs): ditto
1969 (checkParagraph): ditto
1971 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1973 * text2.C: adjust several funcs.
1974 (realizeFont): take a ParagraphList::iterator as arg.
1975 (getLayoutFont): ditto
1976 (getLabelFont): ditto
1977 (setCharFont): ditto
1979 * text.C: adjust several funcs.
1981 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1983 * text.C (selectNextWordToSpellcheck): don't accidentally
1986 2003-04-10 John Levon <levon@movementarian.org>
1988 * ToolbarBackend.C (getIcon): special handling for
1991 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1993 * text2.C (cursorRight): a getChar assert fixed
1995 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1997 * text2.C (getFont): change to take a ParagraphList::iterator
1998 instead of Paragraph*
1999 Adjust several functions.
2001 * text.C (transformChar): change to take a ParagraphList::iterator
2002 instead of Paragraph*
2003 (singleWidth): ditto
2004 Adjust several functions.
2006 * rowpainter.C: adjust several functions
2007 * rowpainter.h:store a ParagraphList::iterator and not a
2011 2003-04-09 John Levon <levon@movementarian.org>
2016 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2017 and the "help" bits as well
2019 2003-04-09 John Levon <levon@movementarian.org>
2022 * ToolbarBackend.C: allow multiple toolbars
2024 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2026 * undo_funcs.C (setCursorParUndo): adjust
2028 * text_funcs.C (transposeChars): adjust
2030 * text3.C (gotoNextInset): adjust
2033 * text2.C (setLayout): adjust
2034 (changeDepth): adjust
2036 (redoParagraphs): adjust
2037 (selectionAsString): adjust
2038 (setParagraph): adjust
2039 (insertInset): adjust
2040 (cutSelection): adjust
2041 (copySelection): adjust
2042 (pasteSelection): adjust
2043 (insertStringAsLines): adjust
2044 (updateInset): adjust
2045 (setCursor): change to take a ParagraphList::iterator parameter
2046 (setCursorIntern): change to take a ParagraphList::iterator parameter
2047 (setCurrentFont): adjust
2048 (cursorLeft): adjust
2049 (cursorRight): adjust
2050 (deleteEmptyParagraphMechanism): adjust
2052 * text.C (breakParagraph): adjust
2053 (insertChar): adjust
2054 (acceptChange): adjust
2055 (rejectChange): adjust
2056 (selectNextWordToSpellcheck): adjust
2057 (changeCase): adjust
2061 * lyxfind.C (SearchForward): adjust
2062 (SearchBackward): adjust
2063 (nextChange): adjust
2065 * lyxcursor.C (par): adjust
2067 * lyxcursor.h: store a ParagraphList::iterator instead of a
2070 * lyx_cb.C (getPossibleLabel): adjust
2072 * bufferview_funcs.C (toggleAndShow): adjust
2074 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2077 * BufferView.C (removeAutoInsets): adjust
2078 (lockedInsetStoreUndo): adjust
2080 2003-04-09 John Levon <levon@movementarian.org>
2082 * ToolbarBackend.C: try icon without argument
2083 if with argument fails
2085 2003-04-08 John Levon <levon@movementarian.org>
2088 * ToolbarBackend.C: add getIcon(), handle tooltip,
2089 and change from "Icon" to "Item".
2091 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2093 * BufferView.C (lockInset): another bad getchar crunched
2095 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2097 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2100 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2102 * lyxfind.C (searchForward, searchBackwards): bug 782
2104 2003-04-07 John Levon <levon@movementarian.org>
2106 * paragraph.C: remove dead comment
2108 * text.C: remove troublesome depth-fiddling code
2109 in leftMargin() and rightMargin() (bug 1017)
2111 * text.C: fix breaking of rows in nested lists
2114 * text2.C (updateCounters): fix up depth values
2117 2003-04-07 John Levon <levon@movementarian.org>
2119 * BufferView_pimpl.C: clear message when doc finishes resizing,
2120 and after a mouse event
2122 * lyxfunc.C: clear message after exiting inset
2124 2003-04-07 John Levon <levon@movementarian.org>
2126 * bufferview_funcs.C: show math status not outside
2127 status in the statusbar
2129 2003-04-07 John Levon <levon@movementarian.org>
2131 * lyxfunc.C: note status changed after a depth change
2133 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2135 * LaTeX.h: move AuxInfo operator==, != out of line.
2136 Remove LaTeX virtual destructor; nothing derives from it.
2137 Move operator()() out of public area and rename it startscript().
2138 Change protected for private.
2140 2003-04-04 Angus Leeming <leeming@lyx.org>
2143 * text2.C: remove unneeded #includes.
2145 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2147 * text2.C (dEPM): fix the heigth of the next row
2149 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2151 * text.C: squashed an invalid getChar requester + some ws changes
2153 2003-04-03 John Levon <levon@movementarian.org>
2155 * bufferview_funcs.h:
2156 * bufferview_funcs.C:
2159 * text2.C: make getStatus work for the env depth lfuns
2161 2003-04-03 John Levon <levon@movementarian.org>
2163 * bufferview_funcs.h:
2164 * bufferview_funcs.C:
2167 * text2.C: parlistize decDepth(), by merging it with incDepth()
2169 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2171 * lyxrow.h: store a ParagraphList::iterator instead of a
2172 Paragraph* and adjust other class functions to suit.
2174 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2177 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2179 * text2.C (setCursor): do not anchor to cursor row for the time being
2181 2003-04-02 John Levon <levon@movementarian.org>
2188 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2190 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2192 * paragraph.h: make ParagraphList and ParagraphList::iterator
2193 friends of Paragraph.
2195 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2197 * ParagraphList.C: Use the private next_ and previous_ from
2200 2003-04-01 John Levon <levon@movementarian.org>
2204 * Makefile.am: rename, remove defaults gunk
2207 * MenuBackend.C: remove defaults gunk
2210 * Languages.C: remove defaults gunk
2213 * lyx_main.C: error out if files couldn't be found.
2215 2003-04-02 John Levon <levon@movementarian.org>
2217 * text2.C: make incDepth() use parlist
2219 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2221 * undo_funcs.C (firstUndoParagraph): adjust
2223 * text3.C (gotoInset): adjust
2224 (dispatch): adjust, and rewrite loop.
2226 * text2.C (init): adjust, and rewrite loop.
2227 (redoParagraphs): adjust
2228 (updateInset): adjust, and rewrite loop.
2229 (deleteEmptyParagraphMechanism): adjust
2231 * tabular.C (LyXTabular): adjust
2232 (SetMultiColumn): adjust
2235 * lyxtext.[Ch] (ownerParagraph): delete function
2236 (ownerParagraphs): new function returns a ParagraphList.
2238 * BufferView.C (removeAutoInsets): adjust
2239 (insertErrors): adjust
2240 (setCursorFromRow): adjust
2242 2003-04-01 Angus Leeming <leeming@lyx.org>
2244 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2247 2003-04-02 John Levon <levon@movementarian.org>
2253 * text_funcs.C: make transposeChars a free function
2255 * lyxrow_funcs.C: remove wrong comment
2257 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2260 * rowpainter.C: adjust
2265 * lyxrow_funcs. [Ch]: new files
2267 * lyxrow.[Ch]: remove next and previous pointers
2268 (next,previous): remove accessor functions
2269 (isParEnd): move to lyxrow_funcs
2270 (lastPos): move to lyxrow_funcs
2271 (nextRowIsAllInset): move to lyxrow_funcs
2272 (lastPrintablePos): move to lyxrow_funcs
2273 (numberOfSeparators): move to lyxrow_funcs
2274 (numberOfHfills): move to lyxrow_funcs
2275 (numberOfLabelHfills): move to lyxrow_funcs
2276 (hfillExpansion): move to lyxrow_funcs
2280 * bufferview_funcs.C (toggleAndShow): adjust
2282 * RowList.h: Remove class RowList from file leave just a
2285 * RowList.C: delete file
2287 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2290 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2292 * text3.C (cursorPrevious): adjust
2293 (cursorNext): adjust
2296 * text2.C (redoHeightOfParagraph): adjust
2297 (redoDrawingOfParagraph): adjust
2300 * text.C (breakParagraph): adjust
2301 (insertChar): adjust
2304 * rowpainter.C (RowPainter): adjust
2305 (leftMargin): simplify and adjust
2306 (most rowpainter functions): adjust.
2308 * rowpainter.h: store the row as RowList::iterator not as Row*
2310 * lyxcursor.C (row): taka RowList::iterator as arg
2313 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2316 2003-04-01 Angus Leeming <leeming@lyx.org>
2318 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2319 stuff like bool Bool.
2321 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2323 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2326 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2328 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2331 * lyxtext.h (rows): drop one version and leve a const variant that
2332 returns a RowList::iterator.
2334 2003-03-31 Angus Leeming <leeming@lyx.org>
2336 * text.C (fill): ensure that the signature is the same as that in the
2339 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2341 * text2.C (redoParagraphs): adjust
2342 (updateCounters): adjust
2343 (checkParagraph): adjust
2344 (getColumnNearX): adjust and reformat a bit.
2346 * text.C (top_y): adjust
2348 (leftMargin): adjust
2349 (prepareToPrint): adjust
2351 (getRowNearY): adjust
2353 * lyxtext.h: make rowlist_ mutable.
2355 * RowList.h: add const_iterator
2356 * RowList.C: adjust for RowList::const_iterator.
2358 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2361 2003-03-31 John Levon <levon@movementarian.org>
2364 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2366 * lyx_main.C: set default fonts from using lyx_gui funcs
2368 * exporter.C: pdf_mode moved from lyxrc
2371 * lyxfunc.C: changes from above
2373 2003-03-31 John Levon <levon@movementarian.org>
2375 * lyx_main.C: fix to the last fix
2377 2003-03-31 John Levon <levon@movementarian.org>
2379 * bufferlist.C: "Load original" -> "Load Original"
2385 * format.C: more Alert cleanups
2387 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2389 * text2.C (removeParagraph): make it take a RowList::iterator as
2391 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2392 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2394 * text.C (anchor_row): make it take a RowList::iterator as arg,
2396 (computeBidiTables): make it take a const reference to Row instead
2397 of Row pointer, adjust.
2398 (leftMargin): make it take a RowList::iterator as arg, adjust.
2399 (rowBreakPoint): adjust
2400 (breakAgainOneRow): make it take a RowList::iterator as arg,
2402 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2404 * bufferview_funcs.C (toggleAndShow): adjust
2406 2003-03-30 John Levon <levon@movementarian.org>
2410 * boost-inst.C: moved to support
2412 * several files: changes as a result
2414 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2416 * text2.C (LyXText): adjust.
2418 (removeRow): make it take a RowList::iterator as arg, adjust.
2419 (fullRebreak): adjust
2420 (deleteEmptyParagraphMechanism): adjust
2421 (clearPaint): adjust
2424 * text.C (top_y): adjust
2425 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2426 (breakAgain): make it take a RowList::iterator as arg, adjust.
2427 (breakParagraph): adjust
2428 (insertChar): adjust
2431 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2432 need_break_row, and refresh_row.
2434 * text3.C (dispatch): adjust
2436 * text2.C (checkParagraph): adjust
2438 (setCursorFromCoordinates): adjust
2440 * text.C (top_y): adjust
2442 (getRow): make it return a RowList::iterator, adjust
2443 (getRowNearY): make it return a RowList::iterator, adjust
2445 * text2.C (init): adjust
2446 (insertRow): remove function
2447 (insertParagraph): adjust
2448 (redoParagraphs): adjust
2449 (fullRebreak): adjust
2450 (updateCounters): adjust
2452 * text.C (top_y): rewrite to use RowList iterators.
2454 (setHeightOfRow): rewrite to sue RowList iterators.
2455 (appendParagraph): adjust
2456 (breakAgain): adjust
2457 (breakAgainOneRow): adjust
2458 (breakParagraph): adjust
2460 (getRowNearY): adjust, and remove commented code.
2462 * lyxtext.h (firstRow): delete function
2463 (lastRow): delete function
2464 (rows): new function (const and non-const versions.)
2465 (insertRow): delete function
2467 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2469 2003-03-29 John Levon <levon@movementarian.org>
2471 * BufferView_pimpl.C: always update scrollbar top
2472 because pasting text when we're anchored could mean we
2473 miss an update altogether
2475 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2477 * text2.C (init): use rowlist_.end() and not 0.
2478 (insertRow): change to take a RowList::iterator as arg, adjust
2480 (insertParagraph): change to take a RowList::iterator as arg,
2482 (redoParagraphs): remove some debug msgs.
2484 * text.C (appendParagraph): change to take a RowList::iterator
2485 arg, adjust for this.
2486 (breakAgain): add an assert
2487 (breakAgainOneRow): ditto
2489 2003-03-29 John Levon <levon@movementarian.org>
2491 * text2.C: do not clear selection after inc/decDepth
2494 2003-03-29 John Levon <levon@movementarian.org>
2497 * buffer.C: fix broken strerrors according to Lars
2499 2003-03-29 John Levon <levon@movementarian.org>
2501 * converters.C: more Alert cleanups
2503 2003-03-29 John Levon <levon@movementarian.org>
2505 * bufferview_funcs.C: remove pointless Alert
2507 * buffer.C: fix confusing error message when
2508 a template is chmoded 000
2510 2003-03-29 John Levon <levon@movementarian.org>
2514 * BufferView_pimpl.C: Alert fixes
2518 * tabular-old.C: remove unused table compat reading
2520 2003-03-29 John Levon <levon@movementarian.org>
2525 * lyx_cb.C: more Alert cleanups
2527 * lyxfunc.C: don't allow chktex if not latex document
2529 2003-03-29 John Levon <levon@movementarian.org>
2533 * buffer.C: warnings pushed down from support/,
2536 2003-03-29 John Levon <levon@movementarian.org>
2538 * lyxfunc.C: safety check for C-r (revert)
2540 2003-03-29 John Levon <levon@movementarian.org>
2543 * bufferlist.C: several UI fixes using Alert::prompt.
2544 Fix the pointless looping quit code. Fix stupid revert
2549 * lyx_cb.C: use Alert::prompt
2551 * lyx_main.C: remove a silly question
2553 * lyxfunc.C: remove a couple of silly questions,
2556 2003-03-28 John Levon <levon@movementarian.org>
2558 * text2.C: fix bug 974 (End on empty par)
2560 2003-03-28 John Levon <levon@movementarian.org>
2562 * BufferView_pimpl.C:
2564 * lfuns.h: remove do-nothing math greek lfuns
2566 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2568 * lyxgluelength.h (isValidGlueLength): add default arg on
2569 parameter 2. Remove default arg from friend in class.
2571 * lyxlength.h (isValidLength): add default arg on parameter 2.
2572 Remove default arg from friend in class.
2574 * text2.C (LyXText): adjust, initialize refresh_row.
2578 (insertParagraph): adjst
2579 (redoParagraphs): adjust
2580 (fullRebreak): adjust
2581 (updateCounters): adjust
2582 (deleteEmptyParagraphMechanism): first attempt at fixing a
2585 * text.C (top_y): adjust
2586 (setHeightOfRow): adjust
2588 (getRowNearY): adjust
2590 * lyxtext.h: include RowList.h
2591 (~LyXText): not needed anymore, deleted.
2592 (firstRow): modify for RowList
2593 (lastRow): new function
2594 Delete firstrow and lastrow class variables, add a Rowlist
2595 rowlist_ class variable.
2597 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2600 * RowList.C (insert): fix case where it == begin().
2602 2003-03-26 Angus Leeming <leeming@lyx.org>
2604 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2605 the thesaurus dialog.
2607 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2609 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2611 * RowList.[Ch]: new files
2613 * ParagraphList.C (erase): handle the case where it == begin
2616 2003-03-25 John Levon <levon@movementarian.org>
2620 * aspell.C: add new aspell support
2623 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2626 2003-03-25 Angus Leeming <leeming@lyx.org>
2629 * LyXAction.C (init): new LFUN_INSET_INSERT.
2631 * BufferView_pimpl.C (dispatch): split out part of the
2632 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2634 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2637 2003-03-25 Angus Leeming <leeming@lyx.org>
2639 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2641 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2644 * text3.C: remove useless row->height(0)
2646 2003-03-25 John Levon <levon@movementarian.org>
2650 * text3.C: rename the refreshing stuff to better names
2652 2003-03-24 John Levon <levon@movementarian.org>
2654 * BufferView_pimpl.h:
2655 * BufferView_pimpl.C: update layout choice on a mouse
2658 2003-03-23 John Levon <levon@movementarian.org>
2660 * Makefile.am: fix commandtags.h reference
2662 2003-03-22 John Levon <levon@movementarian.org>
2664 * BufferView_pimpl.C:
2669 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2671 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2674 * text.C: take the rtl methods out of line
2676 2003-03-21 André Pönitz <poenitz@gmx.net>
2678 * metricsinfo.[Ch]: new files containing structures to be passed around
2679 during the two-phase-drawing...
2681 2003-03-21 André Pönitz <poenitz@gmx.net>
2683 * lyxtextclass.C: read 'environment' tag.
2685 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2687 * text2.C (removeRow): fix bug 964
2689 2003-03-20 John Levon <levon@movementarian.org>
2693 * text2.C: paint cleanups. Inset::update() dropped font
2696 2003-03-19 John Levon <levon@movementarian.org>
2698 * lyxfunc.C: only fitcursor/markDirty if available()
2700 2003-03-19 John Levon <levon@movementarian.org>
2702 * commandtags.h: rename to ...
2704 * lfuns.h: ... this, and renumber / cleanup
2706 2003-03-19 John Levon <levon@movementarian.org>
2708 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2709 fit the cursor after an lfun
2713 * BufferView_pimpl.h:
2714 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2716 * LyXAction.C: layout-character should have ReadOnly
2718 * ParagraphParameters.C:
2720 * bufferview_funcs.C:
2727 * undo_funcs.C: changes from above
2729 2003-03-18 John Levon <levon@movementarian.org>
2731 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2732 remove it from update()
2734 * lyxfunc.C: update layout choice after an lfun
2736 * text3.C: remove extra updateLayoutChoice()s
2738 2003-03-18 John Levon <levon@movementarian.org>
2740 * text.C: top_y change means full repaint, fix
2741 a drawing bug with cursor movement
2743 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2747 * text2.C: anchor row on setCursor
2749 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2751 * lyxtext.h: remove almost all mutable keywords
2754 * text3.C: remove const keywords accordingly
2756 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2758 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2760 (TeXEnvironment): ditto
2763 2003-03-17 John Levon <levon@movementarian.org>
2765 * text.C (rowBreakPoint): remove attempt to fix displayed
2766 math insets inside a manual label
2768 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2770 * lyxtext.h: remove BufferView* as first arg from almost all class
2772 * other files: adjust.
2774 2003-03-17 John Levon <levon@movementarian.org>
2778 * text2.C: more paint cleanups
2780 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2783 * rowpainter.C: remove "smart" background painting code
2785 2003-03-16 John Levon <levon@movementarian.org>
2790 * text3.C: add helper functions for setting refresh_row/y
2792 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2794 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2795 newline inset which *can* get inserted in the pass_thru layouts.
2796 This is primarily for literate documents.
2798 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2800 * buffer.C: increment LYX_FORMAT to 223
2802 2003-03-14 André Pönitz <poenitz@gmx.net>
2804 * textclass.h: prepare for environment handling, ws changes
2805 * lyxlayout.C: read latexheader and latexfooter tags
2807 2003-03-14 John Levon <levon@movementarian.org>
2809 * text2.C: rewrite ::status() a bit
2811 2003-03-13 John Levon <levon@movementarian.org>
2813 * lyxtext.h: add some docs
2815 2003-03-13 John Levon <levon@movementarian.org>
2820 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2822 2003-03-13 John Levon <levon@movementarian.org>
2824 * text3.C: fix appendix redrawing
2826 2003-03-13 John Levon <levon@movementarian.org>
2828 * text.C (setHeightOfRow):
2830 * rowpainter.C: make appendix mark have the text
2831 "Appendix" so the user knows what it is
2834 * LColor.C: s/appendixline/appendix/ from above
2836 2003-03-13 John Levon <levon@movementarian.org>
2838 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2840 * text.C: fix a getChar(pos) bug properly
2842 2003-03-13 Angus Leeming <leeming@lyx.org>
2845 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2846 Probably only temporary. Let's see how things pan out.
2848 * BufferView.C (unlockInset):
2849 * BufferView_pimpl.C (fitCursor):
2850 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2852 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2853 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2855 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2856 new functions that convert ParagraphParameters to and from a string.
2858 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2859 BufferView::Pimpl's dispatch.
2860 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2862 2003-03-13 André Pönitz <poenitz@gmx.net>
2866 * factory.C: make it aware of InsetEnv
2868 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2870 * text2.C (setCursor): never ask for one past last
2871 (setCursor): add some debugging messages.
2873 * text.C (singleWidth): never ask for one past last
2874 (singleWidth): ditto
2876 (rightMargin): ditto
2877 (rowBreakPoint): ditto
2878 (setHeightOfRow): ditto
2879 (prepareToPrint): ditto
2881 * rowpainter.C (paintBackground): never ask for one past last
2882 (paintText): never ask for one past last
2884 * paragraph_pimpl.C (getChar): make the assert stricter, never
2885 allow the one past last pos to be taken
2887 * paragraph.C (getChar): ws changes only
2889 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2890 (numberOfSeparators): ditto
2891 (numberOfHfills): ditto
2893 2003-03-12 John Levon <levon@movementarian.org>
2899 * paragraph_funcs.C: fix per-buffer authorlists
2901 2003-03-12 John Levon <levon@movementarian.org>
2903 * text.C: fix newline in right address
2905 2003-03-12 Angus Leeming <leeming@lyx.org>
2907 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2908 duplicate those in LyXFunc::dispatch.
2912 * ToolbarDefaults.C:
2913 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2914 Add LFUN_FONTFREE_UPDATE.
2916 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2917 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2919 * bufferview_func.[Ch]: several new functions to facilliate
2920 transfer of data to and from the character dialog.
2922 2003-03-12 John Levon <levon@movementarian.org>
2927 * paragraph_funcs.C:
2928 * paragraph_pimpl.C:
2932 * text3.C: remove META_NEWLINE in favour of an inset
2935 * rowpainter.C: remove paintNewline (done by inset)
2937 2003-03-12 John Levon <levon@movementarian.org>
2939 * paragraph_pimpl.C: complain about bad getChar()s
2940 for a while at least
2942 2003-03-12 John Levon <levon@movementarian.org>
2945 * buffer.C: move paragraph read into a separate function,
2946 a little renaming to reflect that.
2949 * bufferparams.C: remove the author_ids map, not necessary now
2952 * factory.C: moved Buffer::readInset to here
2954 * paragraph_funcs.h:
2955 * paragraph_funcs.C: readParagraph free function moved from
2958 * tabular.C: name change
2960 2003-03-12 John Levon <levon@movementarian.org>
2963 * ParagraphParameters.C: move par params input to
2966 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2967 behave like a normal read from the stream wrt reading
2968 a line vs. a \\token
2970 2003-03-12 John Levon <levon@movementarian.org>
2973 * ParagraphParameters.h:
2974 * ParagraphParameters.C: move output code to a
2977 2003-03-12 John Levon <levon@movementarian.org>
2979 * BufferView.C (insertLyXFile):
2982 * tabular.C: use a parlist iterator for creating the
2985 2003-03-12 John Levon <levon@movementarian.org>
2987 * buffer.C: make current_change static local not
2990 2003-03-12 John Levon <levon@movementarian.org>
2992 * buffer.C: fix insertStringAsLines for change tracking
2994 2003-03-12 John Levon <levon@movementarian.org>
3001 * bufferparams.C: move author list into params. Rename some
3002 functions. Move the header reading into a separate token
3003 loop. Move the header token reading into BufferParams.
3005 2003-03-12 John Levon <levon@movementarian.org>
3007 * changes.C: put debug inside lyxerr.debugging() checks
3009 2003-03-11 André Pönitz <poenitz@gmx.net>
3011 * factory.C: make it aware of InsetHFill
3013 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3015 * buffer.C (latexParagraphs): move function from here...
3016 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3019 2003-03-10 Angus Leeming <leeming@lyx.org>
3021 * LyXAction.C (init): fix bug in poplating array with multiple entries
3022 with the same LFUN (spotted by JMarc).
3024 2003-03-10 John Levon <levon@movementarian.org>
3027 * text2.C: move getColumnNearX() near its
3030 2003-03-10 John Levon <levon@movementarian.org>
3032 * text.C: fix break before a minipage
3034 2003-03-10 John Levon <levon@movementarian.org>
3036 * text.C: fix the last commit
3038 2003-03-09 John Levon <levon@movementarian.org>
3042 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3043 bug 365 (don't break before insets unless needed). Don't
3044 return a value > last under any circumstances.
3046 2003-03-09 Angus Leeming <leeming@lyx.org>
3048 * BufferView_pimpl.C (trackChanges, dispatch): call
3049 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3051 2003-03-09 Angus Leeming <leeming@lyx.org>
3053 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3054 than Dialogs::showAboutlyx().
3056 2003-03-09 Angus Leeming <leeming@lyx.org>
3058 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3059 than Dialogs::showTabularCreate().
3061 2003-03-09 John Levon <levon@movementarian.org>
3065 * text2.C: 3rd arg to nextBreakPoint was always the same.
3068 2003-03-08 John Levon <levon@movementarian.org>
3075 * text2.C: Remove the "main" bit from the "main body"
3078 2003-03-08 John Levon <levon@movementarian.org>
3080 * text.C (leftMargin): The left margin of an empty
3081 manual label paragraph should not include the label width
3084 * text.C (prepareToPrint): don't attempt to measure hfills
3085 for empty manual label paragraphs - the answer should be 0
3087 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3089 * CutAndPaste.C: remove commented code and reindent.
3091 2003-03-08 John Levon <levon@movementarian.org>
3094 * lyxfunc.C: move reloadBuffer()
3097 * BufferView.C: to here
3099 * lyxvc.C: add comment
3102 * vc-backend.C: call bv->reload() to avoid
3103 getStatus() check on MENURELOAD
3105 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3107 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3108 to an old format .dep file.
3110 2003-03-07 Angus Leeming <leeming@lyx.org>
3112 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3113 when the LFUN_MOUSE_RELEASE should have been handled by
3114 inset->localDispatch.
3116 2003-03-07 Angus Leeming <leeming@lyx.org>
3118 * BufferView_pimpl.C (dispatch):
3119 * LyXAction.C (init):
3120 * ToolbarDefaults.C (init):
3122 * lyxfunc.C (getStatus):
3123 remove LFUN_INSET_GRAPHICS.
3125 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3127 2003-03-07 Angus Leeming <leeming@lyx.org>
3130 * LyXAction.C (init):
3131 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3133 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3136 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3138 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3139 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3141 2003-03-07 Angus Leeming <leeming@lyx.org>
3143 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3146 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3148 * ParagraphList.C (front): new function
3151 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3153 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3154 and top_row_offset_. removed var first_y.
3156 * text2.C (LyXText, removeRow):
3158 * BufferView_pimpl.C:
3159 use these methods instead of using first_y
3161 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3163 * text2.C (pasteSelection): adjust for checkPastePossible
3165 * CutAndPaste.C: remove Paragraph * buf and replace with
3166 ParagraphList paragraphs.
3167 (DeleteBuffer): delete
3168 (cutSelection): change the tc type to textclass_type
3169 (copySelection): change the tc type to textclass_type
3170 (copySelection): adjust for ParagraphList
3171 (pasteSelection): change the tc type to textclass_type
3172 (pasteSelection): adjust for Paragraphlist
3173 (nrOfParagraphs): simplify for ParagraphList
3174 (checkPastePossible): simplify for ParagraphList
3175 (checkPastePossible): remove unused arg
3177 * ParagraphList.C (insert): handle the case where there are no
3180 * CutAndPaste.h: make CutAndPaste a namespace.
3182 * text3.C (dispatch): adjust
3184 * text.C (breakParagraph): add a ParagraphList as arg
3186 * paragraph_funcs.C (breakParagraph): change to take a
3187 BufferParams and a ParagraphList as args.
3188 (breakParagraphConservative): ditto
3189 (mergeParagraph): ditto
3190 (TeXDeeper): add a ParagraphList arg
3191 (TeXEnvironment): ditto
3194 * buffer.C (readLyXformat2): adjust
3195 (insertStringAsLines): adjust
3196 (latexParagraphs): adjust
3198 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3199 (cutSelection): adjust
3200 (pasteSelection): adjust
3202 * BufferView_pimpl.C (insertInset): adjust
3204 2003-03-05 Angus Leeming <leeming@lyx.org>
3207 * LyXAction.C (init):
3208 * BufferView_pimpl.C (dispatch):
3209 * lyxfunc.C (getStatus):
3210 remove LFUN_CHILD_INSERT.
3212 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3214 2003-03-05 Angus Leeming <leeming@lyx.org>
3217 * LyXAction.C (init):
3218 * src/factory.C (createInset):
3219 * lyxfunc.C (getStatus):
3220 * text3.C (dispatch):
3221 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3223 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3225 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3227 * ParagraphList.C (insert): handle insert right before end()
3228 (erase): fix cases where it can be first or last paragraph.
3230 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3232 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3233 Paragraph::next and Paragraph::previous
3236 * text.C (breakParagraph): adjust
3238 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3239 BufferParams& as arg.
3240 (breakParagraph): use ParagraphList::insert
3241 (breakParagraphConservative): take a Buffer* instead of a
3242 BufferParams& as arg.
3243 (breakParagraphConservative): use ParagraphList::insert.
3245 * buffer.C (insertStringAsLines): un-const it
3246 (insertStringAsLines): adjust
3248 * ParagraphList.C (insert): new function
3250 * CutAndPaste.C (pasteSelection): adjust
3252 * text.C (backspace): adjust
3254 * tabular.C (SetMultiColumn): adjust
3256 * CutAndPaste.C (cutSelection): adjust
3257 (pasteSelection): adjust
3259 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3260 Buffer const * as arg
3262 * ParagraphList.C (erase): new function
3263 * paragraph_funcs.C (mergeParagraph): use it
3264 (mergeParagraph): make it take a Buffer* instead of a
3265 BufferParams* as arg
3267 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3269 (breakParagraphConservative): ditto
3271 * paragraph.h: remove the breakParagraph friend
3273 * paragraph.C (eraseIntern): new function
3274 (setChange): new function
3276 * paragraph_funcs.C (mergeParagraph): make it take a
3277 ParagraphList::iterator instead of a Paragraph *, adjust
3280 * paragraph.h: move an #endif so that the change tracking stuff
3281 also works in the NO_NEXT case.
3283 2003-03-04 Angus Leeming <leeming@lyx.org>
3286 * LyXAction.C: new LFUN_INSET_MODIFY.
3288 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3289 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3291 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3293 * several files: ws changes only
3295 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3296 (TeXEnvironment): ditto
3299 * buffer.C (makeLaTeXFile): adjust
3300 (latexParagraphs): make it take ParagraphList::iterator as args
3302 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3304 * buffer.C (latexParagraphs): adjust
3306 * paragraph.C (TeXOnePar): move function...
3307 (optArgInset): move function...
3308 (TeXEnvironment): move function...
3309 * paragraph_pimpl.C (TeXDeeper): move function...
3310 * paragraph_funcs.C: ...here
3312 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3314 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3316 * buffer.C (readInset): remove compability code for old Figure and
3319 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3321 * buffer.C: ws changes
3324 * BufferView_pimpl.C: ditto
3327 * bufferlist.h: ditto
3331 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3333 * converter.[Ch]: split into itself +
3336 * Makefile.am: += graph.[Ch] + format.[Ch]
3343 * lyxrc.C: added #include "format.h"
3345 2003-02-27 Angus Leeming <leeming@lyx.org>
3347 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3350 * factory.C (createInset): add "label" to the factory.
3352 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3353 string and do no more.
3355 2003-02-27 Angus Leeming <leeming@lyx.org>
3358 * LyXAction.C (init):
3359 * factory.C (createInset):
3360 * BufferView_pimpl.C (dispatch):
3361 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3363 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3365 * lyxfunc.C (dispatch):
3366 * text3.C (dispatch): pass name to params2string.
3368 2003-02-26 Angus Leeming <leeming@lyx.org>
3370 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3372 Rearrange the ~includes. Strip out the unnecessary ones.
3374 * factory.C (createInset): reformat.
3375 create new insets for the various LFUN_XYZ_APPLY lfuns.
3377 2003-02-26 John Levon <levon@movementarian.org>
3380 * lyxrow.C: add isParStart,isParEnd helpers
3382 * paragraph.h: make isInserted/DeletedText take refs
3384 * paragraph_funcs.h:
3385 * paragraph_funcs.C: remove #if 0'd code
3390 * text.C: use lyxrow helpers above.
3391 Move draw and paint routines to RowPainter.
3392 Make several methods use refs not pointers.
3393 Make backgroundColor() const.
3394 Add markChangeInDraw(), isInInset().
3395 Merge changeRegionCase into changeCase.
3396 Make workWidth() shouldn't-happen code into an Assert.
3399 * rowpainter.C: new class for painting a row.
3402 * vspace.C: make inPixels take a ref
3404 2003-02-26 Angus Leeming <leeming@lyx.org>
3406 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3409 2003-02-25 John Levon <levon@movementarian.org>
3411 * ispell.C: give the forked command a more accurate name
3413 2003-02-22 John Levon <levon@movementarian.org>
3416 * toc.C: make TocItem store an id not a Paragraph *
3419 2003-02-21 Angus Leeming <leeming@lyx.org>
3421 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3422 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3423 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3424 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3425 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3426 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3428 * BufferView_pimpl.C (dispatch):
3429 * LyXAction.C (init):
3430 * factory.C (createInset):
3431 * lyxfunc.C (getStatus, dispatch):
3432 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3434 2003-02-21 Angus Leeming <leeming@lyx.org>
3436 * BufferView_pimpl.C (MenuInsertLyXFile):
3437 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3438 * lyxfunc.C (menuNew, open, doImport):
3439 no longer pass a LyXView & to fileDlg.
3441 2003-02-21 Angus Leeming <leeming@lyx.org>
3443 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3444 * LyXAction.C: change, BIBKEY to BIBITEM.
3445 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3446 Change InsetBibKey to InsetBibitem.
3447 Change BIBKEY_CODE to BIBITEM_CODE.
3448 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3449 * factory.C: replace insetbib.h with insetbibitem.h.
3450 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3451 * paragraph.C: replace insetbib.h with insetbibitem.h.
3452 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3453 Change bibkey() to bibitem().
3454 * text.C: remove insetbib.h.
3455 * text2.C: replace insetbib.h with insetbibitem.h.
3456 change bibkey() to bibitem().
3457 * text3.C: remove insetbib.h.
3458 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3460 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3462 * lyxrc.C (output): enclose user email in quotes (in case there are
3465 2003-02-18 John Levon <levon@movementarian.org>
3467 * buffer.h: add std::
3469 2003-02-17 John Levon <levon@movementarian.org>
3475 * pspell.C: reworking. Especially in ispell, a large
3476 number of clean ups and bug fixes.
3478 * lyxfunc.C: fix revert to behave sensibly
3480 2003-02-17 André Pönitz <poenitz@gmx.net>
3483 * commandtags.h: new LFUN_INSERT_BIBKEY
3493 * paragraph_func.C: remove special bibkey handling
3495 2003-02-17 John Levon <levon@movementarian.org>
3497 * text.C (Delete): fix case where delete at the end of
3498 the very first paragraph would not merge the pars
3500 2003-02-17 John Levon <levon@movementarian.org>
3502 * lyxrow.C: fix lastPrintablePos()
3504 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3506 * bufferparams.C (writeLaTeX): add a std:here
3508 * buffer.C: and remove a using directive there
3510 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3512 * buffer.C (makeLaTeXFile): move the code that generates the
3515 * bufferparams.C (writeLaTeX): ... in this new method
3517 * LaTeXFeatures.C (getEncodingSet): make const
3518 (getLanguages): make const
3520 * MenuBackend.C (binding): returns the binding associated to this
3522 (add): sets the status of each item by calling getStatus. Adds
3524 (read): add support for OptSubMenu
3525 (expand): remove extra separator at the end of expanded menu
3527 2003-02-15 John Levon <levon@movementarian.org>
3530 * BufferView_pimpl.C:
3532 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3533 inset code that had no actual effect. Remove unneeded status
3536 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3538 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3541 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3543 * text.C (drawLengthMarker): also draw an arrow marker for
3544 symbolic lengths (medskip...)
3546 2003-02-14 John Levon <levon@movementarian.org>
3549 * tabular.C: better method names
3551 2003-02-14 John Levon <levon@movementarian.org>
3553 * BufferView_pimpl.C:
3558 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3559 it's a more accurate name. Remove some pointless uses.
3561 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3563 * text2.C (LyXText): change order of initilizers to shut off
3566 2003-02-14 John Levon <levon@movementarian.org>
3568 * buffer.C: use ParIterator for getParFromID()
3572 * paragraph_pimpl.h:
3573 * paragraph_pimpl.C: remove unused getParFromID()
3575 2003-02-14 John Levon <levon@movementarian.org>
3577 * buffer.C: remove some very old #if 0'd parse code
3579 2003-02-13 John Levon <levon@movementarian.org>
3583 * text2.C: move hfillExpansion(), numberOfSeparators(),
3584 rowLast(), rowLastPrintable(), numberofHfills(),
3585 numberOfLabelHfills() ...
3588 * lyxrow.C: ... to member functions here.
3593 * text.C: remove LyXText::beginningOfMainBody(), and call
3594 p->beginningOfMainBody() directly. Move the check for
3595 LABEL_MANUAL into the latter.
3602 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3608 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3609 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3611 2003-02-13 John Levon <levon@movementarian.org>
3613 * CutAndPaste.C: remove debug
3615 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3617 * paragraph.C (asString): remove two unused variables
3619 * lyxtextclass.C (readTitleType):
3621 (LyXTextClass): handle new members titletype_ and titlename_
3623 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3625 2003-02-09 John Levon <levon@movementarian.org>
3628 * buffer.C: replace hand-coded list with a map for the dep clean
3630 2003-02-08 John Levon <levon@movementarian.org>
3632 * LaTeX.C: consolidate code into showRunMessage() helper
3634 2003-02-08 John Levon <levon@movementarian.org>
3639 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3640 and pass the size in explicitly
3642 * BufferView_pimpl.h:
3643 * BufferView_pimpl.C:
3645 * BufferView.C: add getCurrentChange()
3647 * BufferView_pimpl.h:
3648 * BufferView_pimpl.C: handle change lfuns
3650 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3651 for changes. Mark pasted paragraphs as new.
3653 * support/lyxtime.h:
3654 * support/lyxtime.C:
3655 * DepTable.C: abstract time_t as lyx::time_type
3658 * LColor.C: add colours for new text, deleted text, changebars
3660 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3661 package use "usenames" option.
3665 * LyXAction.C: add change lfuns
3669 * author.C: author handling
3672 * buffer.C: add a per-buffer author list, with first entry as
3673 current author. Handle new .lyx tokens for change tracking. Output
3674 author list to .lyx file. Output dvipost stuff to .tex preamble.
3675 Bump lyx format to 222.
3678 * bufferlist.C: add setCurrentAuthor() to reset current author details
3682 * bufferparams.C: add param for tracking
3684 * bufferview_funcs.C: output change info in minibuffer
3688 * changes.C: add change-tracking structure
3691 * debug.C: add CHANGES debug flag
3694 * lyxfind.C: add code for finding the next change piece
3697 * lyxrc.C: add user_name and user_email
3700 * lyxrow.C: add a metric for the top of the text line
3703 * text.C: implement accept/rejectChange()
3706 * text.C: paint changebars. Paint new/deleted text in the chosen
3707 colours. Strike through deleted text.
3711 * paragraph_pimpl.h:
3712 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3713 in the current change to the insert functions. Rework erase to
3714 mark text as deleted, adding an eraseIntern() and a range-based
3715 erase(). Implement per-paragraph change lookup and
3718 * paragraph_funcs.C: Fixup paste for change tracking.
3720 * tabular.C: mark added row/columns as new.
3722 * text.C: fix rowLast() to never return -1. Don't allow
3723 spellchecking of deleted text. Track transpose changes. Don't
3724 allow paragraph break or merge where appropriate.
3726 * text2.C: leave cursor at end of selection after a cut.
3728 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3730 * text.C (getLengthMarkerHeight):
3731 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3732 visible on screen too.
3734 2003-02-07 John Levon <levon@movementarian.org>
3736 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3738 2003-02-05 Angus Leeming <leeming@lyx.org>
3740 * lyxserver.C (read_ready): revert my patch of 11 September last year
3741 as it sends PC cpu through the roof. Presumably this means that
3742 the lyxserver will no longer run on an Alpha...
3744 2003-01-30 Angus Leeming <leeming@lyx.org>
3746 * factory.C (createInset): create an InsetCommandParam of type "index"
3747 and use it to 'do the right thing'.
3749 * text2.C (getStringToIndex): ensure that cursor position is always
3750 reset to the reset_cursor position.
3752 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3754 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3757 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3761 * lyxfunc.C: Output messages with identical spelling, punctuation,
3764 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3766 * MenuBackend.C (expandFormats): List only viewable export formats
3769 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3772 * lyxfunc.C (getStatus): Make sure that formats other than
3773 "fax" can also be disabled
3775 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3777 * text3.C (dispatch): put the lfuns that insert insets in 3
3778 groups, and call doInsertInset with appropriate arguments.
3779 (doInsertInset): new function, that creates an inset and inserts
3780 it according to some boolean parameters.
3782 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3784 * buffer.C (readFile): remember to pass on 'par' when calling
3785 readFile recursively.
3787 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3789 * MenuBackend.C (expandFormats): add "..." to import formats.
3791 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3793 * paragraph.C (asString): Remove XForms RTL hacks.
3795 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3796 * buffer.C: fix typo
3798 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3800 * Makefile.am (LIBS): delete var
3801 (lyx_LDADD): add @LIBS@ here instead.
3803 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3805 * Clarify the meaning of "wheel mouse jump"
3807 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3809 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3812 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3814 * importer.C (Loaders): do not preallocate 3 elements in the
3815 vector, since one ends up with 6 elements otherwise
3817 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3819 * DepTable.C (write): write the file name as last element of the
3820 .dep file (because it may contain spaces)
3821 (read): read info in the right order
3823 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3825 * paragraph_pimpl.C (simpleTeXBlanks):
3826 (simpleTeXSpecialChars):
3827 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3829 * tabular.C (latex): add some missing case statements. Reindent.
3831 * MenuBackend.C (expandToc): remove unused variable.
3833 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3842 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3845 2003-01-05 John Levon <levon@movementarian.org>
3848 * BufferView.C: add getEncoding()
3851 * kbsequence.C: do not store last keypress
3854 * lyxfunc.C: store last keypress here instead. Pass encoding
3857 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3859 * lyx_main.C (init): remove annoying error message when following
3860 symbolic links (bug #780)
3862 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3864 * text.C (insertChar):
3865 * lyxrc.C (getDescription): remove extra spaces
3867 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3869 * lyxrc.C (getDescription): remove extra spaces
3871 2002-12-20 John Levon <levon@movementarian.org>
3873 * text3.C: hack fix for page up/down across tall rows
3875 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3877 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3880 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3882 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3883 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3884 thesaurus is not compiled in
3886 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3888 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3890 2002-12-16 Angus Leeming <leeming@lyx.org>
3893 * lyx_main.C (init): remove override_x_deadkeys stuff.
3895 2002-12-12 John Levon <levon@movementarian.org>
3897 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3898 insert. Only remove shift modifier under strict
3901 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3903 * MenuBackend.C (expandToc): fix crash.
3905 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3907 * MenuBackend.C (expandToc): gettext on float names.
3909 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3911 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3912 implement bool empty() [bug 490]
3914 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3916 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3918 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3920 * several files: ws changes
3922 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3924 * text2.C (setCounter): clean up a bit, use boost.format.
3925 (updateCounters): initialize par upon declaration.
3927 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3928 if the layout exists. We do not just store the layout any more.
3929 (SwitchLayoutsBetweenClasses): use boost.format
3931 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3933 * converter.C (convert): if from and to files are the same, use a
3934 temporary files as intermediary
3936 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3939 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3941 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3943 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3945 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3947 * tabular.C (asciiPrintCell): use string(size, char) instead of
3950 * sgml.C (openTag): fix order of arguments to string constructor
3953 * lyxfunc.C (dispatch): use boost.format
3955 * lots of files: change "c" -> 'c'
3957 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3959 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3961 2002-11-25 Angus Leeming <leeming@lyx.org>
3963 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3965 * lyx_main.C (init): compile fix.
3967 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3969 * lyx_cb.C (start): boost.formatify
3970 do not include <iostream>
3972 * lengthcommon.C: ws only
3974 * boost-inst.C,BoostFormat.h: add more explict instantations
3976 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3978 * lots of files: handle USE_BOOST_FORMAT
3980 2002-11-21 John Levon <levon@movementarian.org>
3982 * pspell.C: fix compile
3984 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3986 * lyxfunc.C (dispatch): use boost::format
3990 * lyxfont.C (stateText): use boost::format
3992 * lyx_main.C (LyX): use boost::format
3994 (queryUserLyXDir): ditto
3997 (typedef boost::function): use the recommened syntax.
3999 * importer.C (Import): use boost::format
4001 * debug.C (showLevel): use boost::format
4003 * converter.C (view): use boost::format
4008 * bufferview_funcs.C (currentState): use boost::format
4010 * bufferlist.C (emergencyWrite): use boost::format
4012 * buffer.C (readLyXformat2): use boost::format
4013 (parseSingleLyXformat2Token): ditto
4015 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4017 * LaTeX.C (run): use boost::format
4019 * Chktex.C (scanLogFile): use boost::format
4021 * BufferView_pimpl.C (savePosition): use boost::format
4022 (restorePosition): ditto
4023 (MenuInsertLyXFile): ditto
4025 * BoostFormat.h: help file for explicit instation.
4027 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4029 * tabular.C (latex): Support for block alignment in fixed width
4032 2002-11-17 John Levon <levon@movementarian.org>
4034 * BufferView_pimpl.C:
4036 * lyxfunc.C: split filedialog into open/save
4038 2002-11-08 Juergen Vigna <jug@sad.it>
4040 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4041 by my last patch (hopefully).
4043 2002-11-08 John Levon <levon@movementarian.org>
4052 * toc.C: ParConstIterator, and use it (from Lars)
4054 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4056 * lyxtextclass.[Ch]: revise and add doxygen comments
4058 2002-11-07 John Levon <levon@movementarian.org>
4060 * text.C: fix progress value for spellchecker
4062 * toc.C: fix navigate menu for insetwrap inside minipage
4064 * paragraph_funcs.C: added FIXME for suspect code
4066 2002-11-07 John Levon <levon@movementarian.org>
4068 * BufferView_pimpl.C: fix redrawing of insets
4071 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4073 * text2.C (updateCounters): fix bug 668
4075 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4077 * text3.C (dispatch): Do not make the buffer dirty when moving the
4080 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4082 * vc-backend.C: STRCONV
4085 * text2.C (setCounter): STRCONV
4087 * paragraph.C (asString): STRCONV
4089 * lyxlength.C (asString): STRCONV
4090 (asLatexString): ditto
4092 * lyxgluelength.C (asString): STRCONV
4093 (asLatexString): ditto
4095 * lyxfunc.C (dispatch): STRCONV
4098 * lyxfont.C (stateText): STRCONV
4100 * importer.C (Import): STRCONV
4102 * counters.C (labelItem): STRCONV
4103 (numberLabel): ditto
4104 (numberLabel): remove unused ostringstream o
4109 * bufferview_funcs.C (currentState): STRCONV
4111 * buffer.C (readFile): STRCONV
4112 (asciiParagraph): ditto
4113 (makeLaTeXFile): ditto
4115 * Spacing.C (writeEnvirBegin): STRCONV
4117 * LaTeXFeatures.C (getLanguages): STRCONV
4118 (getPackages): ditto
4120 (getBabelOptions): ditto
4121 (getTClassPreamble): ditto
4122 (getLyXSGMLEntities): ditto
4123 (getIncludedFiles): ditto
4127 (scanAuxFile): ditto
4130 * LString.h: add the STRCONV macros
4132 * BufferView_pimpl.C (savePosition): STRCONV
4133 (restorePosition): ditto
4134 (MenuInsertLyXFile): ditto
4136 * vc-backend.C (scanMaster): change from submatch[...] to
4139 * funcrequest.C: include config.h
4141 * factory.C: include config.h
4143 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4145 * box.C: include config.h
4147 * LaTeX.C (scanAuxFile): change from submatch[...] to
4151 2002-10-25 Angus Leeming <leeming@lyx.org>
4153 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4155 * ispell.[Ch] (setError): new method.
4156 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4157 Use setError() insetead of goto END.
4159 * lyx_cb.C (AutoSave): move out child process into new class
4162 2002-10-30 John Levon <levon@movementarian.org>
4164 * text3.C: make start appendix undoable
4166 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4168 * lyxlength.C (inPixels): Fix returned value.
4170 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4173 2002-10-24 Angus Leeming <leeming@lyx.org>
4175 * lyxgluelength.h: no need to forward declare BufferParams
4176 or BufferView, so don't.
4178 2002-10-21 John Levon <levon@movementarian.org>
4180 * BufferView.C: menuUndo ->undo, redo
4182 * BufferView.h: document, remove dead, make some methods private
4184 * paragraph_funcs.h:
4185 * paragraph_funcs.C:
4186 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4191 * sgml.C: move sgml open/close tag into sgml.C
4193 * bufferview_funcs.h: unused prototype
4196 * lyxfunc.C: remove unused
4199 * text.C: remove unused
4201 2002-10-21 John Levon <levon@movementarian.org>
4205 * BufferView_pimpl.h:
4206 * BufferView_pimpl.C: fix mouse wheel handling based on
4207 patch from Darren Freeman
4209 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4211 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4213 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4215 * lyxlength.C (inPixels): Fix hanfling of negative length.
4216 Fix LyXLength::MU case.
4218 2002-10-16 John Levon <levon@movementarian.org>
4220 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4222 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4224 * converter.C (view): add support for $$i (file name) and $$p
4225 (file path) for the viewer command. If $$i is not specified, then
4226 it is appended to the command (for compatibility with old syntax)
4228 2002-10-14 Juergen Vigna <jug@sad.it>
4230 * undo_funcs.C (textHandleUndo): alter the order in which the
4231 new undopar is added to the LyXText, as we have to set first
4232 the right prev/next and then add it as otherwise the rebuild of
4233 LyXText is not correct. Also reset the cursor to the right paragraph,
4234 with this IMO we could remove the hack in "redoParagraphs()".
4236 2002-10-09 Angus Leeming <leeming@lyx.org>
4238 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4239 to turn off an optimisation if a new inset is to be inserted.
4241 2002-10-11 André Pönitz <poenitz@gmx.net>
4243 * lyxtext.h: make some functions public to allow access
4244 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4246 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4248 * text3.C (dispatch): when changing layout, avoid an infinite loop
4251 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4253 * lyxrc.C (read): treat a viewer or converter command of "none" as
4256 * MenuBackend.C (expandFormats): for an update, also allow the
4257 formats that are not viewable
4259 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4260 script if it is newer than the lyxrc.defaults in user directory
4262 2002-10-07 André Pönitz <poenitz@gmx.net>
4264 * text.C: Vitaly Lipatov's small i18n fix
4266 2002-09-25 Angus Leeming <leeming@lyx.org>
4268 * ispell.h: doxygen fix.
4270 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4272 * buffer.h (readFile): Add a new argument to the method, to allow
4273 reading of old-format templates.
4275 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4277 * toc.C (getTocList): Get TOC from InsetWrap.
4279 2002-09-16 John Levon <levon@movementarian.org>
4281 * lyxfunc.C: check tabular for cut/copy too
4283 2002-09-12 John Levon <levon@movementarian.org>
4288 * factory.C: add header
4290 * paragraph_funcs.h:
4291 * paragraph_funcs.C: cleanup
4293 2002-09-11 John Levon <levon@movementarian.org>
4295 * PrinterParams.h: odd/even default to true
4297 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4299 * PrinterParams.h: update printer parameters for new xforms dialog
4301 2002-09-11 Angus Leeming <leeming@lyx.org>
4303 * lyxserver.C (read_ready): re-write to make it more transparent
4304 and to make it work in coherent fashion under Tru64 Unix.
4306 2002-09-11 André Pönitz <poenitz@gmx.net>
4310 * text3.C: implement LFUN_WORDSEL
4312 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4314 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4315 make floatlist_ a boost::shared_ptr<FloatList>
4317 * lyxtextclass.C: include FloatList.h
4318 (LyXTextClass): initialize floatlist_
4319 (TextClassTags): add TC_NOFLOAT
4320 (Read): match "nofloat" to TC_NOFLOAT and use it.
4321 (readFloat): modify call to floatlist_
4325 * FloatList.[Ch] (FloatList): remove commented out float
4327 (erase): new function
4329 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4331 * MenuBackend.C (expandToc): fix crash when there is no document
4334 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4336 * many files: Add insetwrap.
4338 2002-09-09 John Levon <levon@movementarian.org>
4340 * text2.C: remove confusing and awkward depth wraparound
4342 2002-09-09 John Levon <levon@movementarian.org>
4344 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4347 * buffer.C: remove getIncludeonlyList()
4350 * lyxfunc.C: remove headers
4352 2002-09-09 Juergen Vigna <jug@sad.it>
4354 * text.C (getColumnNearX): fix form Michael this is most
4355 probably a cut&paste bug.
4357 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4359 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4361 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4362 references, ws changes.
4364 * text2.C (init): update counters after init
4365 (insertParagraph): no need to set counter on idividual paragraphs.
4366 (setCounter): access the counters object in the textclass object
4367 on in the buffer object.
4368 (updateCounters): ditto
4370 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4371 shared_ptr<Counters> to avoid loading counters.h in all
4373 (LyXTextClass): initialize ctrs_
4374 (TextClassTags): add TC_COUNTER, and ...
4375 (Read): use it here.
4376 (CounterTags): new tags
4377 (readCounter): new function
4378 (counters): new funtion
4379 (defaultLayoutName): return a const reference
4381 * counters.C (Counters): remove contructor
4382 (newCounter): remove a couple of unneeded statements.
4383 (newCounter): simplify a bit.
4384 (numberLabel): some small formatting changes.
4386 * buffer.[Ch]: remove all traces of counters, move the Counters
4387 object to the LyXTextClass.
4389 2002-09-06 Alain Castera <castera@in2p3.fr>
4391 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4392 package to set the horizontal alignment on fixed width columns.
4395 * lyx_sty.h: added tabularnewline macro def.
4397 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4399 2002-09-06 John Levon <levon@movementarian.org>
4401 * LyXAction.C: tooltips for sub/superscript
4403 * MenuBackend.C: a bit more verbose
4405 * lyxfunc.C: tiny clean
4407 * undo_funcs.C: document undo_frozen
4409 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4411 * counters.C (Counters): add missing algorithm counter.
4413 * text2.C (setCounter): lookup the counter with layouts latexname
4414 instead of by section number.
4415 (setCounter): use a hackish way to lookup the correct enum
4417 a float name->type change
4418 reset enum couners with counter name directly instead of depth value.
4420 * counters.C (Counters): remove the push_backs, change to use the
4421 float type not the float name.
4422 (labelItem): remove unused string, float name->type change
4424 * counters.h: don't include vector, loose the enums and sects vectors
4426 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4428 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4429 (Read): add float->TC_FLOAT to textclassTags
4430 (Read): and handle it in the switch
4431 (readFloat): new function
4433 * FloatList.C (FloatList): comment out the hardcoded float
4436 * lyxlayout.h: ws change.
4438 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4440 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4442 2002-09-03 Angus Leeming <leeming@lyx.org>
4444 * BufferView_pimpl.h: qualified name is not allowed in member
4445 declaration: WorkArea & Pimpl::workarea() const;
4447 * factory.C: added using std::endl directive.
4449 * text3.C: added using std::find and std::vector directives.
4451 2002-08-29 André Pönitz <poenitz@gmx.net>
4454 * text2.C: remove unused member number_of_rows
4457 * BufferView2.C: remove file, move contents to...
4458 * BufferView.C: ... here
4460 * BufferView_pimpl.C:
4461 * factory.C: move more inset creation to factory
4463 * vspace.C: avoid direct usage of LyXText, ws changes
4466 don't provide direct access to WorkArea, use two simple
4467 acessors haveSelction() and workHeight() instead
4470 2002-08-29 John Levon <levon@movementarian.org>
4472 * BufferView_pimpl.C (dispatch): do not continue when
4475 2002-08-28 André Pönitz <poenitz@gmx.net>
4477 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4480 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4482 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4484 * buffer.C: increment LYX_FORMAT to 221
4486 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4487 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4489 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4491 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4493 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4495 * factory.C (createInset): use LyXTextClass::floats
4497 * MenuBackend.C (expandFloatListInsert):
4498 (expandFloatInsert):
4501 * text2.C (setCounter):
4503 * LaTeXFeatures.C (useFloat):
4504 (getFloatDefinitions):
4506 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4508 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4509 floatlist_, with accessor floats().
4511 * FloatList.h: remove global FloatList
4513 2002-08-26 André Pönitz <poenitz@gmx.net>
4515 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4519 * BufferView_pimpl.C:
4520 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4522 2002-08-25 John Levon <levon@movementarian.org>
4524 * LyXAction.C: fix margin note description
4526 2002-08-24 John Levon <levon@movementarian.org>
4530 * bufferview_funcs.C:
4532 * undo_funcs.C: cleanups
4534 * lyxfunc.C: disable CUT/COPY when no selection
4536 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4538 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4539 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4541 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4542 Add backward compatibility to "mono", "gray" and "no".
4544 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4546 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4547 (and file_format >= 200).
4549 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4551 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4553 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4555 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4557 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4559 * BufferView_pimpl.C:
4566 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4567 inset and code to make it work with the paragraph code. The inset
4568 can be anywhere in the paragraph, but will only do the expected
4569 thing in LaTeX if the layout file contains the parameter line
4571 (or more generally, a nonzero value) for that layout.
4573 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4575 * paragraph.h: remove the declaration of undefined counters class
4578 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4580 * text2.C (setCounter): fixed enumeration mis-count as reported by
4581 Dr. Richard Hawkins.
4583 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4585 * paragraph_funcs.h: remove some unneeded includes
4587 * text.C (backspace): pasteParagraph now in global scipe
4589 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4590 (pasteSelection): ditto
4592 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4593 * paragraph_funcs.C (pasteParagraph): ... here
4595 2002-08-20 André Pönitz <poenitz@gmx.net>
4597 * commandtags.h: new LFUNs for swapping/copying table row/colums
4600 * lyxfunc.C: support for new lfuns
4602 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4605 * buffer.[Ch]: remove NO_COMPABILITY stuff
4607 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4609 * boost.C (throw_exception): new file, with helper function for
4610 boost compiled without exceptions.
4615 * ParameterStruct.h:
4616 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4618 * bufferlist.C (emergencyWriteAll): use boost bind
4620 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4622 * text.C: include paragraph_funcs.h
4623 (breakParagraph): breakParagraph is now in global scope
4625 * paragraph_funcs.[Ch]: new files
4627 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4630 * buffer.C: include paragraph_funcs.h
4631 (insertStringAsLines): breakParagraph is now in global scope
4633 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4636 * CutAndPaste.C: include paragraph_funcs.h
4637 (cutSelection): breakParagraphConservative is now in global scope
4638 (pasteSelection): ditto
4640 * buffer.h: declare oprator== and operator!= for
4641 Buffer::inset_iterator
4643 * bufferlist.C (emergencyWrite): don't use fmt(...)
4645 * text3.C: add using std::endl
4647 * BufferView.C (moveCursorUpdate): remove default arg
4649 2002-08-20 André Pönitz <poenitz@gmx.net>
4651 * buffer.[Ch]: move inline functions to .C
4654 * BufferView_pimpl.C:
4656 * buffer.[Ch]: use improved inset_iterator
4659 * paragraph.[Ch]: write one paragraph at a time
4661 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4663 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4664 style if style is not specified.
4666 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4668 * text2.C (setCounter): when searching for right label for a
4669 caption, make sure to recurse to parent insets (so that a caption
4670 in a minipage in a figure float works) (bug #568)
4672 2002-08-20 André Pönitz <poenitz@gmx.net>
4674 * text3.C: new file for LyXText::dispatch() and helpers
4676 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4678 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4680 2002-08-19 André Pönitz <poenitz@gmx.net>
4683 * text.C: new LyXText::dispatch()
4685 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4687 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4689 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4691 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4694 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4696 * Makefile.am: use $(variables) instead of @substitutions@
4698 2002-08-15 André Pönitz <poenitz@gmx.net>
4701 * BufferView_pimpl.C: streamlining mathed <-> outer world
4705 * LyXAction.C: remove unused LFUN_MATH
4707 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4709 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4711 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4713 * paragraph.C (Paragraph): reformat a bit
4714 (cutIntoMinibuffer): use builtin InsetList function instad of
4718 * buffer.C: include boost/bind.hpp, add using std::for_each
4719 (writeFileAscii): use ParagraphList iterators
4720 (validate): use for_each for validate traversal of paragraphs
4721 (getBibkeyList): use ParagraphList iterators
4722 (resizeInsets): use for_each to resizeInsetsLyXText for all
4724 (getParFromID): use ParagraphList iterators
4726 * BufferView2.C (lockInset): use paragraph list and iterators
4728 2002-08-14 John Levon <levon@movementarian.org>
4730 * lyxserver.C: remove spurious xforms include
4732 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4734 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4736 2002-08-13 André Pönitz <poenitz@gmx.net>
4739 * lyxfunc.C: further cleaning
4741 2002-08-13 André Pönitz <poenitz@gmx.net>
4743 * funcrequest.h: new constructor
4745 * funcrequest.C: move stuff here from .h
4748 * BufferView_pimpl.C:
4751 * lyxfunc.C: subsequent changes
4753 * lyxfunc.h: new view() member function
4755 * lyxfunc.C: subsequent changes
4757 2002-08-13 Angus Leeming <leeming@lyx.org>
4760 * BufferView_pimpl.C:
4768 changes due to the changed LyXView interface that now returns references
4769 to member variables not pointers.
4771 2002-08-13 Angus Leeming <leeming@lyx.org>
4773 * WordLangTuple (word, lang_code): return references to strings,
4778 * lyxtext.h: forward-declare WordLangTuple.
4783 * text.C: #include "WordLangTuple.h".
4786 * text.C: (selectNextWordToSpellcheck): constify return type.
4788 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4794 * paragraph_pimpl.h:
4797 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4799 Made updateCounter always count from start of buffer, and removed
4800 second argument (par).
4801 Reverted floats number display to '#'. Perhaps I'll try again when the
4802 code base is sanitized a bit.
4804 2002-08-12 Angus Leeming <leeming@lyx.org>
4806 * buffer.[Ch] (getLabelList): constify.
4808 2002-08-07 André Pönitz <poenitz@gmx.net>
4810 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4812 * funcrequest.h: extension to keep mouse (x,y) position
4814 2002-08-12 Juergen Vigna <jug@sad.it>
4816 * BufferView2.C (insertErrors): forbid undo when inserting error
4819 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4821 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4823 * ParagraphList.[Ch]: new files
4825 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4827 * BufferView2.C (lockInset): ParagraphList changes
4830 * bufferlist.C: ditto
4834 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4836 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4837 unused class variable counter_,
4839 * paragraph.[Ch] (getFirstCounter): delete unused function
4841 * counters.C: include LAssert.h
4842 (reset): add a new function with no arg, change other version to
4843 not have def. arg and to not allow empty arg.
4845 * text2.C (setCounter): remove empty arg from call to Counters::reset
4847 2002-08-11 John Levon <levon@movementarian.org>
4849 * Makefile.am: add WordLangTuple.h
4851 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4853 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4854 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4856 * insets/insettext.C: InsetList changes
4858 * graphics/GraphicsSupport.C (operator()): InsetList changes
4860 * toc.C (getTocList): InsetList changes
4862 * paragraph_pimpl.[Ch]: InsetList changes
4864 * paragraph.[Ch]: InsetList changes
4866 * buffer.C (inset_iterator): InsetList changes
4867 (setParagraph): ditto
4868 * buffer.h (inset_iterator): ditto
4869 * iterators.C (operator++): ditto
4870 * iterators.h: ditto
4872 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4874 * InsetList.[Ch]: new files, most InsetList handling moved out of
4877 * BufferView2.C (removeAutoInsets): InsetList changes
4879 (ChangeInsets): ditto
4881 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4883 * paragraph_pimpl.h (empty): new function
4885 * paragraph.[Ch] (empty): new function
4887 * other files: use the new Paragraph::empty function
4889 2002-08-09 John Levon <levon@movementarian.org>
4891 * lyxtext.h: remove unused refresh_height
4893 2002-08-09 John Levon <levon@movementarian.org>
4900 * paragraph.C: move sgml char escaping out of paragraph
4903 * paragraph.C: remove id setter
4907 * paragraph_pimpl.C: remove dead tex_code_break_column
4909 * bufferview_funcs.C: small cleanup
4911 * lyxfunc.C: remove dead proto
4913 * lyxtext.h: make some stuff private. Remove some dead stuff.
4915 * lyxgluelength.C: make as[LyX]String() readable
4917 2002-08-08 John Levon <levon@movementarian.org>
4922 * ToolbarDefaults.C:
4925 * toc.C: lyxaction cleanup
4927 2002-08-08 John Levon <levon@movementarian.org>
4929 * BufferView2.C: small cleanup
4932 * lyxfind.C: move unnecessary header into the .C
4934 2002-08-08 John Levon <levon@movementarian.org>
4936 * funcrequest.h: just tedious nonsense
4939 * lyx_main.C: cleanups
4942 * vspace.C: remove dead header lyx_main.h
4944 2002-08-07 Angus Leeming <leeming@lyx.org>
4947 * paragraph_pimpl.h:
4948 Forward declare class Counters in paragraph.h by moving the ctrs member
4949 variable into Paragraph::Pimpl.
4950 (counters): new method, returning a reference to pimpl_->ctrs.
4952 * text2.C: ensuing changes.
4954 2002-08-07 John Levon <levon@movementarian.org>
4956 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4958 * BufferView_pimpl.C: announce X selection on double/triple
4961 * lyx_main.C: use correct bool in batch dispatch
4963 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4965 2002-08-07 André Pönitz <poenitz@gmx.net>
4967 * funcrequest.h: new class to wrap a kb_action and its argument
4970 * BufferView_pimpl[Ch]:
4974 * lyxrc.C: subsequent changes
4977 2002-08-07 John Levon <levon@movementarian.org>
4979 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4980 document options change.
4982 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4987 * makefile.am: move counters functionality over from
4988 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4990 2002-08-06 John Levon <levon@movementarian.org>
4992 * WordLangTuple.h: new file for word + language code tuple
5003 * BufferView2.C: use WordLangTuple
5006 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5008 2002-08-06 John Levon <levon@movementarian.org>
5010 * lyx_main.C: fix cmdline batch handling
5012 2002-08-06 André Pönitz <poenitz@gmx.net>
5014 * lyxrc.C: set default for show_banner to true
5016 2002-08-06 John Levon <levon@movementarian.org>
5018 * pspell.C: fix a crash, and allow new aspell to work
5020 2002-08-06 John Levon <levon@movementarian.org>
5023 * kbmap.C: small cleanup
5026 * vspace.C: add const
5028 2002-08-05 John Levon <levon@movementarian.org>
5030 * LyXAction.C: back to tabular-insert
5032 2002-08-04 John Levon <levon@movementarian.org>
5035 * BufferView.C: cosmetic change
5037 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5047 * BufferView2.C: purge all "Lyx" not "LyX" strings
5050 * lyxcursor.C: attempt to add some documentation
5055 * ToolbarDefaults.C:
5056 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5057 merge with LFUN_TABULAR_INSERT
5064 * pspell.C: split up i/pspell implementations into separate
5065 files, many cleanups
5067 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5069 * text2.C: some cleanup
5071 * lyxfunc.C: don't check for isp_command == "none" any more, it
5072 didn't make any sense
5074 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5079 * makefile.am: move counters functionality over
5080 from text2.C/paragraph.[Ch] to counters.[Ch], and
5082 2002-08-02 John Levon <levon@movementarian.org>
5084 * buffer.C: s/lyxconvert/lyx2lyx/
5086 2002-08-02 Angus Leeming <leeming@lyx.org>
5088 * lyxlex.C: revert John's change as it breaks reading of the user
5091 2002-08-02 Angus Leeming <leeming@lyx.org>
5093 * importer.C (Import):
5094 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5095 changes due to LyXView::view() now returning a boost::shared_ptr.
5097 2002-08-02 John Levon <levon@movementarian.org>
5099 * lyxlex.C: small cleanup
5101 2002-08-02 John Levon <levon@movementarian.org>
5103 * text2.C (status): small cleanup, no logic change
5105 2002-08-01 John Levon <levon@movementarian.org>
5108 * buffer.C (writeFile): don't output alerts, caller
5112 * lyx_cb.C: from above
5114 * lyxfunc.C: allow to open non-existent files
5116 2002-07-31 John Levon <levon@movementarian.org>
5118 * lyxserver.C: don't let incidental errors get
5121 2002-07-30 John Levon <levon@movementarian.org>
5123 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5125 2002-07-30 John Levon <levon@movementarian.org>
5128 * lyxserver.C: remove I/O callback too
5130 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5132 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5135 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5137 * many files: strip,frontStrip -> trim,ltrim,rtrim
5139 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5141 * PrinterParams.h: remove extern containsOnly, and include
5142 support/lstrings.h instead.
5144 * LaTeX.C (scanAuxFile): modify because of strip changes
5146 * buffer.C (makeLaTeXFile): ditto
5147 * bufferparams.C (writeFile): ditt
5148 * lyxfont.C (stateText): ditto
5149 * lyxserver.C (read_ready): ditto
5150 * vc-backend.C (scanMaster): ditto
5152 * BufferView_pimpl.h: ws changes
5154 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5156 2002-07-26 André Pönitz <poenitz@gmx.net>
5158 * kb_sequence.C: remove unnedred usings
5160 2002-07-26 Juergen Vigna <jug@sad.it>
5162 * lyxfind.C (LyXReplace): we have to check better if the returned
5163 text is not of theLockingInset()->getLockingInset().
5165 2002-07-25 Juergen Vigna <jug@sad.it>
5167 * lyxfind.C (LyXReplace): don't replace if we don't get the
5170 * undo_funcs.C (createUndo): remove debugging code.
5172 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5174 * buffer.C (parseSingleLyXformat2Token): Use default placement
5175 when reading old floats.
5177 * FloatList.C (FloatList): Change the default placement of figure
5178 and tables to "tbp".
5180 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5182 * MenuBackend.C: using std::max
5184 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5186 * MenuBackend.C (expandToc):
5187 (expandToc2): code moved from xforms menu frontend. It is now
5188 generic and TOCs are transparent to menu frontends.
5190 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5192 * toc.C (getTocList): protect against buf=0
5194 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5195 Menu as first parameter. Now, this calls itself recursively to
5196 expand a whole tree (this will be useful for TOC handling)
5197 (expandFloatInsert): remove 'wide' version of floats
5199 * MenuBackend.h (submenuname): returns the name of the submenu.
5200 (submenu): returns the submenu itself, provided it has been
5201 created by MenuBackend::expand
5203 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5205 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5206 insets which have noFontChange == true. (bug #172)
5208 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5210 * BufferView_pimpl.C: add connection objects and use them...
5213 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5215 * MenuBackend.C (expandLastfiles):
5218 (expandFloatListInsert):
5219 (expandFloatInsert):
5220 (expand): split expand in parts
5222 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5224 * lyx_gui.C: use lyx_gui::exit()
5226 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5228 * LyXAction.C: show the failing pseudo action
5230 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5232 * buffer.C (readFile): Run the lyxconvert script in order to read
5235 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5239 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5241 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5245 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5247 2002-07-22 Herbert Voss <voss@lyx.org>
5250 * lyxlength.[Ch]: add support for the vertical lengths
5252 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5254 * toc.[Ch]: std:: fixes
5256 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5258 * lyxrc.C: do not include lyx_main.h
5260 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5266 * BufferView2.C: include "lyxlex.h"
5269 * bufferparams.h: do not #include "lyxlex.h"
5271 * lyxtextclasslist.C (Add): remove method
5272 (classlist): renamed to classlist_
5274 * paragraph_pimpl.C:
5278 * bufferview_funcs.C:
5283 * toc.C (getTocList): use BufferParams::getLyXTextClass
5285 * toc.C (getTocList): use InsetFloat::addToToc
5287 * toc.[Ch]: new files, containing helper functions to handle table
5290 * lyxfunc.C (dispatch): no need to remove spaces around command
5292 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5293 first command of the sequence; it is not very clever, but I do not
5294 have a better idea, actually
5296 * LyXAction.C (LookupFunc): make sure to remove space at the
5297 beginning and end of the command
5299 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5301 * MenuBackend.C (getMenubar): new method: return the menubar of
5303 (read): treat differently reading of menu and menubar (in
5304 particular, the menubar has no name now)
5305 (Menu::menubar): remove
5307 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5310 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5312 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5313 a bibitem inset in a RTL paragraph.
5315 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5317 * paragraph_pimpl.C: constify
5319 * BufferView_pimpl.C:
5321 * lyxfunc.C: fix dispatch in a nicer way
5323 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5325 * lyxfunc.C (dispatch):
5326 * BufferView_pimpl.C:
5327 * BufferView_pimpl.h:
5329 * BufferView.h: rename Dispatch() to dispatch()
5331 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5333 * lyxlayout.C (Read): honor DependsOn tag
5335 * lyxlayout.[Ch] (depends_on): new method
5337 * version.C.in: update lyx_docversion
5339 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5341 * paragraph.C (validate): remove from here...
5342 * paragraph_pimpl.C (validate): ... and move here
5343 (isTextAt): make it const
5345 * buffer.C (getLists): ws cleanup
5347 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5349 * language.C (read): Use iso8859-1 encoding in latex_lang
5350 (this prevents LyX from crashing when using iso10646-1 encoding).
5352 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5354 * text2.C (toggleInset): if cursor is inside an inset, close the
5355 inset and leave cursor _after_ it
5357 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5359 * lyxfunc.C: move minibuffer completion handling out of here
5361 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5363 * BufferView_pimpl.C:
5364 * LaTeX.C: fix dispatch calls
5366 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5368 * text.C (drawChars): Fix Arabic text rendering.
5370 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5374 * lyxfunc.C: remove message-push/pop
5378 * lyxfunc.C: rationalise some code by removing verboseDispatch
5379 in favour of a bool argument to dispatch()
5381 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5383 * lyx_main.C (init): make sure to read symlinks as absolute paths
5385 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5388 * lyxfunc.C: no need for commandshortcut to be a member
5390 2002-07-15 André Pönitz <poenitz@gmx.net>
5392 * converter.C: add support for $$s (scripts from lib/scripts dir)
5393 * lyx_main.C: white space
5395 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5399 * lyxrc.C: remove second exit confirmation
5401 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5406 * BufferView_pimpl.h:
5407 * BufferView_pimpl.C:
5408 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5410 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5412 * MenuBackend.C (expand): add numeric shortcuts to document menu
5414 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5416 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5418 * lyxfont.C (setLyXFamily):
5425 * buffer.C (asciiParagraph): use ascii_lowercase
5427 2002-07-15 Mike Fabian <mfabian@suse.de>
5429 * lyxlex_pimpl.C (search_kw):
5430 * lyxlex.C (getLongString):
5431 * converter.h (operator<):
5432 * converter.C (operator<):
5433 * buffer.C (parseSingleLyXformat2Token):
5435 * ToolbarDefaults.C (read):
5436 * MenuBackend.C (checkShortcuts):
5438 * LColor.C (getFromGUIName):
5439 (getFromLyXName): use the compare_ascii_no_case instead of
5440 compare_no_case, because in turkish, 'i' is not the lowercase
5441 version of 'I', and thus turkish locale breaks parsing of tags.
5443 2002-07-16 Angus Leeming <leeming@lyx.org>
5445 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5446 now takes a Buffer const & argument.
5448 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5450 * BufferView.C (resize): check there's a buffer to resize
5452 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5454 * lyxfunc.C: remove dead code
5457 * lyxserver.C: use lyx_guii::set_read_callback
5459 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5461 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5462 an inset in a RTL paragraph.
5464 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5466 * lyxfunc.C: repaint after a font size update
5468 2002-07-15 André Pönitz <poenitz@gmx.net>
5470 * lyxlength.C: inBP should be able to return negative values
5472 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5474 * lyxfunc.C: use lyx_gui::update_fonts()
5476 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5478 * lyxfunc.C: use lyx_gui::update_color()
5480 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5486 * lyxrc.C: remove file->new asks for name option, and let
5487 buffer-new take an argument
5489 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5491 * BufferView_pimpl.C: remove unneeded extra repaint()
5493 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5495 * LyXAction.C: allow command-sequence with NoBuffer
5497 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5499 2002-07-10 Angus Leeming <leeming@lyx.org>
5501 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5503 2002-07-09 Angus Leeming <leeming@lyx.org>
5505 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5507 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5509 * lengthcommon.h: whitespace
5511 * lyxfunc.C: update scrollbar after goto paragraph
5513 * lyxtext.h: factor out page break drawing, and fix it so
5514 page break/added space paints as selected nicely
5516 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5518 * BufferView_pimpl.C: add FIXMEs, clean up a little
5520 2002-07-09 André Pönitz <poenitz@gmx.net>
5522 * lyxfont.[Ch]: support for wasy symbols
5524 2002-07-08 André Pönitz <poenitz@gmx.net>
5526 * BufferView_pimpl.C: apply John's patch for #93.
5528 2002-07-05 Angus Leeming <leeming@lyx.org>
5530 * BufferView_pimpl.C (buffer): generate previews if desired.
5532 * LColor.h: add "preview" to the color enum.
5534 * LColor.C (LColor): add a corresponding entry to the items array.
5536 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5539 2002-07-05 Angus Leeming <leeming@lyx.org>
5541 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5542 The body of the code is now in the method that is passed an ostream &
5543 rather than a file name.
5544 Pass an additional only_preamble parameter, useful for the forthcoming
5547 2002-07-03 André Pönitz <poenitz@gmx.net>
5549 * lyxfunc.C: simplify getStatus() a bit for math stuff
5551 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5553 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5555 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5557 * text.C (changeRegionCase): do not change case of all the
5558 document when region ends at paragraph end (bug #461)
5560 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5562 * paragraph.C (startTeXParParams):
5563 (endTeXParParams): add \protect when necessary
5565 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5567 * BufferView_pimpl.C (workAreaExpose): remove warning
5569 2002-06-27 Angus Leeming <leeming@lyx.org>
5571 * Makefile.am: add lyxlayout_ptr_fwd.h.
5573 2002-06-26 André Pönitz <poenitz@gmx.net>
5575 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5577 2002-06-25 Angus Leeming <leeming@lyx.org>
5579 * lyxfunc.C (dispatch): Comment out the call to
5580 grfx::GCache::changeDisplay. The method no longer exists now that the
5581 pixmap generation part of the graphics loader has been moved into
5584 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5586 * text2.C: layout as layout
5588 * text.C: layout as layout
5590 * tabular.C (OldFormatRead): layout as layout
5592 * paragraph_pimpl.C (TeXDeeper): layout as layout
5593 (realizeFont): layout as layout
5595 * paragraph.C (writeFile): layout as layout
5596 (validate): layout as layout
5597 (getFont): layout as layout
5598 (getLabelFont): layout as layout
5599 (getLayoutFont): layout as layout
5600 (breakParagraph): layout as layout
5601 (stripLeadingSpaces): layout as layout
5602 (getEndLabel): layout as layout
5603 (getMaxDepthAfter): layout as layout
5604 (applyLayout): layout as layout
5605 (TeXOnePar): layout as layout
5606 (simpleTeXOnePar): layout as layout
5607 (TeXEnvironment): layout as layout
5608 (layout): layout as layout
5609 (layout): layout as layout
5611 * lyxtextclass.C (compare_name): new functor to work with
5612 shared_ptr, layout as layout
5613 (Read): layout as layout
5614 (hasLayout): layout as layout
5615 (operator): layout as layout
5616 (delete_layout): layout as layout
5617 (defaultLayout): layout as layout
5619 * lyxlayout_ptr_fwd.h: new file
5621 * lyxlayout.C (Read): layout as layout
5623 * lyx_cb.C (MenuInsertLabel): layout as layout
5625 * bufferlist.C (newFile): layout as layout
5627 * buffer.C (readLyXformat2): layout as layout
5628 (parseSingleLyXformat2Token): layout as layout
5629 (insertStringAsLines): layout as layout
5630 (asciiParagraph): layout as layout
5631 (latexParagraphs): layout as layout
5632 (makeLinuxDocFile): layout as layout
5633 (simpleLinuxDocOnePar): layout as layout
5634 (makeDocBookFile): layout as layout
5635 (simpleDocBookOnePar): layout as layout
5636 (getLists): layout as layout
5638 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5640 * CutAndPaste.C (cutSelection): layout as layout
5641 (pasteSelection): layout as layout
5642 (SwitchLayoutsBetweenClasses): layout as layout
5644 * BufferView_pimpl.C (Dispatch): layout as layout
5645 (smartQuote): layout as layout
5647 * BufferView2.C (unlockInset): layout as layout
5649 2002-06-24 André Pönitz <poenitz@gmx.net>
5651 * lyxfunc.C: fix #487
5653 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5657 * lyxfunc.C: remove display_shortcuts, show_banner
5659 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5661 * Buffer_pimpl.C: oops, update on resize
5663 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5670 * BufferView.C: use repaint()
5672 * BufferView_pimpl.h:
5673 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5674 as it's a clearer description. Remove superfluous
5677 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5679 * text.C: fix bug 488. Not ideal, but getting
5680 getWord() to work properly for the insets that
5681 matter is more difficult ...
5683 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5685 * BufferView_pimpl.C:
5688 * lyxfunc.C: remove the six million index lyxfuncs to just
5689 one, and DTRT (bug 458)
5691 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5695 * BufferView_pimpl.h:
5696 * BufferView_pimpl.C: clean up resize() stuff,
5697 and unnecessary updateScreen()s
5699 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5703 * BufferView_pimpl.h:
5704 * BufferView_pimpl.C:
5707 * minibuffer.C: remove focus management of workarea,
5708 not needed. Use screen's greyOut()
5710 2002-06-17 Herbert Voss <voss@lyx.org>
5712 * converter.C: (convert) do not post a message, when converting
5713 fails, let the calling function decide what to do in this case
5715 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5717 * lyxfunc.C: tidy up a little
5719 2002-06-16 <alstrup@diku.dk>
5721 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5722 Got rid of FORMS_H_LOCATION include. Now we are
5725 2002-06-15 LyX Development team <lyx@rilke>
5727 * buffer.[Ch] (sgmlOpenTag):
5728 (sgmlCloseTag): Added support for avoiding pernicious mixed
5729 content. Return number of lines written.
5732 (makeDocBookFile): Fixed calls to sgml*Tag.
5733 Simple white space clean.
5735 (simpleDocBookOnePar): Simple white space clean.
5737 * tabular.[Ch] (docBook): Renamed to docbook and got another
5738 argument to related with the pernicious mixed content.
5740 (docbookRow): Fixed calls for docbook inset method.
5742 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5744 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5745 so it's X11 independent.
5749 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5751 2002-06-15 Lyx Development team <lyx@electronia>
5753 * intl.h: Renamed getTrans to getTransManager.
5755 2002-06-14 Angus Leeming <leeming@lyx.org>
5757 * Makefile.am: nuke forgotten stl_string_fwd.h.
5759 2002-06-12 Angus Leeming <leeming@lyx.org>
5761 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5763 2002-06-13 Angus Leeming <leeming@lyx.org>
5766 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5768 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5770 * kbmap.C (getiso): add support for cyrillic and greek
5772 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5776 * BufferView_pimpl.h:
5777 * BufferView_pimpl.C: move bogus scrolling logic
5780 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5783 * BufferView_pimpl.C: view->resize() change
5785 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5787 * BufferView_pimpl.C: topCursorVisible
5790 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5794 * lyx_gui.C: move to frontends/
5798 * lyx_main.C: changes from above
5800 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5807 * lyx_main.C: minor tidy
5809 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5811 * BufferView_pimpl.h:
5812 * BufferView_pimpl.C:
5814 * BufferView.C: make painter() const,
5817 * BufferView2.C: use screen() accessor
5820 * lyx_main.C: some minor cleanup
5822 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5824 * BufferView_pimpl.h:
5825 * BufferView_pimpl.C: remove enter/leaveView,
5828 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5833 * BufferView_pimpl.h:
5834 * BufferView_pimpl.C: only construct screen once,
5837 * lyxrc.C: remove pointless comment
5839 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5842 * BufferView.C: remove active() and belowMouse()
5844 * BufferView_pimpl.h:
5845 * BufferView_pimpl.C: use workarea() not workarea_,
5846 and make it use a scoped_ptr instead
5848 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5850 * lyx_gui.C: add debug message on BadWindow
5852 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5854 * sp_spell.C: fdopen is not part of the C++ standard.
5856 * paragraph.C (InsetIterator): use >= instead of ==
5858 2002-06-07 Angus Leeming <leeming@lyx.org>
5860 Fixes needed to compile with Compaq cxx 6.5.
5861 * BufferView_pimpl.C:
5868 * lyxtextclasslist.C:
5873 all c-library variables have been moved into namespace std. Wrap
5874 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5879 Add a using std::abs declaration.
5881 * kbmap.h (modifier_pair):
5882 * paragraph.h (InsetTable, InsetList):
5883 * lyxfont.h (FontBits):
5884 type definition made public.
5886 * bufferlist.C (emergencyWriteAll): the compiler complains that
5887 there is more than one possible lyx::class_fun template to choose from.
5888 I re-named the void specialisation as lyx::void_class_fun.
5890 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5892 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5893 the compiler is is unable to find tostr in write_attribute.
5895 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5897 * buffer.C (sgmlError): hide #warning
5899 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5901 * xtl/*: get rid of xtl, which is not in use anyway
5903 * LyXAction.C (init):
5904 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5905 were unimplemented xtl experimentation
5907 2002-06-04 André Pönitz <poenitz@gmx.net>
5909 * lyxfunc.C: disable array operation on simple formulae
5911 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5913 * converter.C: constify a bit
5915 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5917 * lyx_gui.C: check xforms version correctly
5919 2002-04-30 Herbert Voss <voss@lyx.org>
5921 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5924 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5926 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5927 attempt to register it with a VCS)
5929 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5931 * lyx_main.C (init): honor variables LYX_DIR_13x and
5934 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5938 * lyx_main.C: fix a crash on bad command line,
5939 and give a useful exit status on error
5941 * lyxfunc.C (doImport): allow -i lyx to work
5943 2002-03-30 André Pönitz <poenitz@gmx.net>
5945 * lyxfunc.C: mathed font changes
5947 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5962 * trans_mgr.h: srcdocs, and some minor cleanups
5964 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5966 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5967 call getFont all the time)
5969 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5971 * switch from SigC signals to boost::signals
5973 2002-05-29 André Pönitz <poenitz@gmx.net>
5975 * paragraph_pimpl.C (getChar): don't call size() too often...
5977 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5979 * paragraph_pimpl.C (insertChar): do not try to update tables when
5980 appending (pos == size())
5982 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5983 in order to reduce drastically the number of comparisons needed to
5984 parse a large document
5986 2002-05-29 André Pönitz <poenitz@gmx.net>
5992 * textclasslist.[Ch]:
5993 * sp_ispell.h: whitespace change
5995 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5997 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5998 lyxaction directly now.
6000 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6004 * lyxvc.C: remove unused headers
6006 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6013 * undo_funcs.C: some cleanups. Use shared_ptr
6014 and a template for the undo stacks.
6016 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6018 * BufferView_pimpl.h:
6019 * BufferView_pimpl.C:
6026 * text2.C: use key_state/mouse_state
6028 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6030 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6033 * chset.C: change include order
6034 (loadFile): use boost regex and get rid of LRegex and LSubstring
6036 * Makefile.am (BOOST_LIBS): new variable
6039 * LaTeX.C: change include order.
6040 (scanAuxFile): use boost regex and get rid of LRegex and
6044 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6049 * FontInfo.C: moved to frontends/xforms/
6052 * FontLoader.C: moved into frontends for GUIIzation
6057 * lyxfunc.C: changes from above
6059 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6061 * LColor.C: remove spurious X include
6063 * BufferView_pimpl.C:
6068 * text2.C: move font metrics to frontends/
6070 2002-05-24 Juergen Vigna <jug@sad.it>
6072 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6073 setting the undo_cursor.
6075 * ParagraphParameters.h: include local includes first.
6077 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6079 * BufferView_pimpl.C:
6080 * BufferView_pimpl.h:
6084 * screen.C: move WorkArea into frontends/
6090 * BufferView2.C: move LyXScreen into frontends/
6094 * lyx_gui.C: move lyxlookup into frontends/xforms/
6096 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6099 * BufferView_pimpl.C:
6109 * bufferview_funcs.C:
6122 * vc-backend.C: move LyX/XFormsView into frontends/
6124 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6136 * text2.C: move Painter to frontends/
6138 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6140 * buffer.C: comment out some some code that depend upon lyx_format
6143 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6144 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6146 * buffer.h (NO_COMPABILITY): turn off compability
6148 * ColorHandler.C: include scoped_array.hpp
6150 * font.C: Use more specific smart_ptr header.
6153 * ShareContainer.h: ditto
6157 * BufferView_pimpl.h: ditto
6158 * ColorHandler.h: ditto
6160 * kbmap.C (defkey): change call to shared_ptr::reset
6162 2002-05-21 Juergen Vigna <jug@sad.it>
6164 * buffer.C (insertErtContents): fix to insert ert asis if it is
6165 non empty. Skip it completely if it contains only whitespaces.
6167 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6169 * BufferView_pimpl.C:
6170 * BufferView2.C: clear selection on paste (bug 393)
6172 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6174 * DepTable.C: include ctime
6176 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6178 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6180 2002-05-14 Juergen Vigna <jug@sad.it>
6182 * text.C (breakParagraph): fixed function to honor the keepempty
6183 layout in the right maner and also to permit the right breaking
6184 algorithm on empty or non empyt keepempty paragraphs.
6186 * paragraph.C (breakParagraph): we have to check also if the par
6187 is really empty (!size()) for isempty otherwise we do the wrong
6190 2002-05-10 Juergen Vigna <jug@sad.it>
6192 * buffer.[Ch] : The following are only changes to the ert
6193 compatibility read reading old LaTeX layout and font stuff and
6194 convert it to ERTInsets.
6196 * buffer.h: added isErtInset().
6198 * buffer.C (struct ErtComp): add a fromlayout bool to check
6199 if we're inside a LaTeX layout.
6200 (isErtInset): new helper function.
6201 (insertErtContents): look for other ert insets before this one
6202 and insert the contents there, so that we don't have subsequent
6203 ERT insets with nothing between them. This way we create only one
6204 inset with multiple paragraphs. Also check if we don't insert only
6205 spaces ' ' as they are ignored anyway afterwards in the .tex file
6206 so if we have only spaces we will ignore this latex part in the
6208 (parseSingleLyXformat2Token \\layout): better compatibility when
6209 reading layout-latex stuff.
6210 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6212 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6213 stuff after reading the inset only get the information back from
6216 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6218 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6220 * LaTeXFeatures.C (getBabelOptions): New method.
6222 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6224 * BufferView_pimpl.C (Dispatch): work around missing argument for
6227 2002-05-08 Juergen Vigna <jug@sad.it>
6229 * text.C (leftMargin): handle paragraph leftindent.
6231 * paragraph.C (writeFile): write the new \\leftindent tag.
6232 (validate): handle leftindent code.
6233 (TeXEnvironment): handle paragraphleftindent code again.
6235 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6237 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6238 for paragrap_extra indent code and new token \\leftindent.
6239 (latexParagraphs): handle the leftindent as environment.
6241 * ParameterStruct.h: added leftindent support.
6243 * ParagraphParameters.C (leftIndent): added support functions for
6244 the paragraph left indent.
6246 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6249 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6251 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6254 * text.C (computeBidiTables): No bidi in insetERT.
6256 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6259 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6261 * version.C.in: pre 5
6263 2002-05-02 José Matos <jamatos@fep.up.pt>
6264 * buffer.C (makeDocBookFile): white space changes, add newline to
6266 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6268 * tabular.C (docBook): fix typo.
6270 2002-05-03 Juergen Vigna <jug@sad.it>
6272 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6273 change in LyXText as we can not be sure it was not freed.
6274 (drawOneRow): remove unused code.
6276 * text.C (drawInset): redo the calculation of the need_break_row as
6277 it could have a row which was already freed.
6278 (draw): look at the return value of drawInset and return false if
6279 it also returned false.
6280 (paintRowText): look at the return value of draw and return false if
6281 it also returned false.
6283 * lyxtext.h: added bool return type to drawInset() and draw() so that
6284 if we have a change in the row so that the rowbreak has to be redone
6285 we abort drawing as it will be called again.
6287 2002-05-02 Juergen Vigna <jug@sad.it>
6289 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6290 a change in the maintext also if we're inside an inset.
6291 (Dispatch): set the cursor again after a break line and after the
6292 screen has been updated as it could be we're in a different row.
6294 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6295 to set the cursor behind the pargraph with > size().
6296 (setCursor): check also for the same paragraph when checking where
6297 to put the cursor if we have a NFR inset.
6299 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6300 parts of layout read further up as it still was in the wrong
6303 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6305 * screen.C (drawFromTo): change sine fullRebreak always return
6308 * buffer.C (parseSingleLyXformat2Token): reindent some
6310 * BufferView_pimpl.C (update): change since fullRebreak always
6312 (Dispatch): git rid of the last hardcoded "Standard"s.
6314 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6316 * text2.[Ch] (fullRebreak): make it return void now that we always
6319 2002-04-30 Juergen Vigna <jug@sad.it>
6321 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6322 ert compatibility check for "latex" layout.
6324 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6326 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6327 minipages: use col% instead of p%, and also use the current font.
6328 (makeLaTeXFile): Fix use babel condition.
6329 (parseSingleLyXformat2Token): Correct font when reading old floats.
6331 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6333 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6334 inserting list of floats.
6336 2002-04-25 Herbert Voss <voss@lyx.org>
6338 * MenuBackend.C (expand): don't add the graphics extensions to the
6341 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6343 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6344 non-existing layout, do not complain if it was the default layout
6345 of the original class (bug #342)
6347 2002-04-24 Juergen Vigna <jug@sad.it>
6349 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6350 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6352 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6354 * buffer.C (getBibkeyList): If using \bibliography, return the
6355 option field with the reference itself. Enables us to provide natbib
6356 support when using \bibliography.
6358 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6360 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6362 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6363 natbib is provided by the LaTeX class.
6365 2002-04-23 Juergen Vigna <jug@sad.it>
6367 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6370 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6372 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6374 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6376 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6377 ensuremath around textordmasculine, textordfeminine and
6380 2002-04-19 Juergen Vigna <jug@sad.it>
6382 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6383 reinitializing the buffer otherwise row-dimensions may be wrong.
6384 (update): reset also the selection cursors if they do exits otherwise
6385 their x/y positions may be wrong.
6387 * text2.C (cursorDown): don't enter the inset if we came from a row
6388 above and are one row over the inset.
6390 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6391 really leaving an inset.
6393 2002-04-18 Juergen Vigna <jug@sad.it>
6395 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6396 of the selected paragraph does not have the selected layout also if
6399 * text2.C (setLayout): fixed bug which did not change last selected
6402 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6403 changed the read and substituted \\end_float with \\end_inset!
6405 * BufferView_pimpl.C (cursorPrevious):
6406 (cursorNext): fixed to make it work with rows heigher than the work
6407 area without moving the cursor only the draw of the row.
6408 (workAreaMotionNotify): fix jumping over high rows.
6410 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6412 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6415 2002-04-16 Juergen Vigna <jug@sad.it>
6417 * text2.C (setCursor): set also the irow().
6418 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6420 (cursorDown): support for locking an inset if the x_fix value goes
6421 inside it. That way I can transverse insets too with cursor up/down.
6423 * lyxrow.h: added irow helper function same as other (i) functions.
6425 * BufferView_pimpl.C (cursorPrevious):
6426 (cursorNext): fixed for insets!
6428 2002-04-15 Juergen Vigna <jug@sad.it>
6430 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6431 position otherwise it is wrong in some cases.
6433 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6434 inside the inset before the call.
6436 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6438 * buffer.[Ch] (getBibkeyList): make it const.
6440 2002-04-12 Juergen Vigna <jug@sad.it>
6442 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6444 * text2.C (getCursorX): new helper function
6445 (setCursor): compute also ix_
6446 (setCursorFromCoordinates): set also ix.
6448 * lyxcursor.h: added ix_ and helper functions.
6450 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6452 * buffer.C (insertStringAsLines): dont break paragraph if the this
6453 paragraph is inside an inset which does not permit it!
6455 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6456 also with no chars on this paragraph.
6457 (paintRowText): only paint stuff if it's inside the workarea!
6459 * paragraph.C (breakParagraph): honor keepempty flag and break the
6460 paragraph always below not above.
6462 * BufferView2.C (unlockInset): update the paragraph layout on inset
6463 unlock as we changed paragraph in such a case.
6465 * lyxfind.C (LyXFind): clear the former selection if not found!
6467 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6468 again called in insertChar().
6470 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6471 an inset which uses the whole row!
6472 (rightMargin): ditto.
6473 (insertChar): force a rebreak if we inserted an inset!
6475 2002-03-28 Herbert Voss <voss@lyx.org>
6477 * lyxlength.[Ch]: add inBP() to get the right PS-point
6478 units (BigPoint). With inPixels we have rounding errors
6480 2002-04-11 Juergen Vigna <jug@sad.it>
6482 * text2.C (setCursorFromCoordinates): set iy to the right value.
6483 (setCursor): add check if row->previous exists!
6485 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6486 an old float_type as this was the case in the old code!
6488 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6490 * BufferView2.C (showLockedInsetCursor): use iy
6491 (fitLockedInsetCursor): ditto
6493 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6494 locked insets as there we have the right value now.
6496 * lyxcursor.C: added iy_ variable and iy functions to set to the
6497 baseline of cursor-y of the locked inset.
6499 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6500 (setCursor): fixed for insets which need a full row.
6502 * text.C (rowLastPrintable): don't ignore the last space when before
6503 an inset which needs a full row.
6504 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6505 as last character of a row when before a inset which needs a full row.
6507 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6509 * version.C.in: update date
6511 * text2.C (fullRebreak): try to always return true and see what
6514 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6516 * MenuBackend.C (expand): use Floating::listName
6518 * FloatList.C (FloatList): add listName argument to the built-in
6521 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6522 text associated with the float.
6524 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6526 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6528 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6530 * ShareContainer.h: add a couple of missing typenames.
6532 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6534 * lyxrc.C (getDescription): use _() correctly rather than N_().
6536 2002-03-28 Herbert Voss <voss@lyx.org>
6538 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6539 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6541 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6543 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6544 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6546 2002-03-29 Juergen Vigna <jug@sad.it>
6548 * lyxfunc.C (dispatch): add a missing fitCursor call.
6550 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6551 it was scrolled by a cursor move, so return the bool status.
6553 * BufferView.C (fitCursor): return the bool flag also to the outside
6554 world as this is needed.
6556 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6558 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6559 call the edit() as it is not needed (and wrong) IMO.
6560 (workAreaButtonPress): set the screen_first variable before evt.
6561 unlock the inset as this may change screen_first and then we have
6562 a wrong y position for the click!
6564 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6566 * MenuBackend.C (expand): another translation that I missed
6568 2002-03-28 Juergen Vigna <jug@sad.it>
6570 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6572 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6574 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6576 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6578 * MenuBackend.C (expand): fix export/view/update when there is no
6581 2002-03-27 Herbert Voss <voss@lyx.org>
6583 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6586 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6588 * bufferview_funcs.C (currentState): only show paragraph number
6589 for is DEVEL_VERSION is set.
6591 * lyxfunc.C (dispatch): put warning in INFO channel
6593 * MenuBackend.C (expand): translate the name of floats
6595 * FloatList.C (FloatList): mark the float names for translation
6597 * converter.C (convert): use LibScriptSearch
6599 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6601 * MenuBackend.C (defaults): fix default menu (we might as well get
6604 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6606 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6609 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6611 * lyxvc.C: reorder includes.
6613 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6615 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6618 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6620 * CutAndPaste.C: change layouts earlier on paste
6621 to avoid crashing when calling getFont()
6623 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6625 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6628 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6630 * WorkArea.C: remove 'Pending' debug message.
6632 * most files: ws cleanup
6634 * buffer.[Ch]: ws changes
6636 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6638 2002-03-21 Juergen Vigna <jug@sad.it>
6640 * tabular.C (SetMultiColumn): collapse also the contents of the
6641 cells and set the last border right. Added a Buffer const * param.
6643 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6645 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6648 2002-03-19 Juergen Vigna <jug@sad.it>
6650 * text2.C (clearSelection): reset also xsel_cache.
6652 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6653 where it needs to be called (John tells us to do so too :)
6654 (selectionLost): reset sel_cache.
6656 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6658 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6660 * text2.C (setCursorIntern): put debuging code in INSETS channel
6662 2002-03-19 André Pönitz <poenitz@gmx.net>
6664 * lyxfunc.C: tiny whitespace change
6666 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6668 * ToolbarDefaults.C (init):
6669 * LyXAction.C (init):
6671 * BufferView_pimpl.C (Dispatch):
6672 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6674 2002-03-19 Allan Rae <rae@lyx.org>
6676 * exporter.C (Export): removeAutoInsets before doing anything else.
6677 While I've just introduced a dependency on BufferView this really is
6678 the best place to clean the buffer otherwise you need to cleanup in
6679 a dozen places before calling export or cleanup in a dozen functions
6682 * converter.C (runLaTeX):
6683 (scanLog): Better handling of removeAutoInsets and screen updates.
6685 * lyxfunc.C (dispatch): small whitespace changes
6687 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6689 * WorkArea.C (C_WorkAreaEvent): return a value.
6690 (event_cb): return 1 if we handled the event, 0 otherwise.
6692 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6694 2002-03-18 Juergen Vigna <jug@sad.it>
6696 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6697 (GetAdditionalWidth): ditto.
6701 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6702 inset if we're there actually (probably not used right now but this
6703 is the direction to go for unifying code).
6704 (paste): disable code to clear the selection.
6706 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6707 inside an InsetText and move the check further up as it is in the
6710 * text2.C (pasteSelection): set a selection over the pasted text.
6712 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6714 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6715 and libgraphics to build on Cygwin.
6717 2002-03-15 Juergen Vigna <jug@sad.it>
6719 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6720 inserting an Inset into the paragraph. I know this is not the best
6721 fix but we already use current_view in CutAndPaste so we will remove
6722 all of it's using at the same time.
6724 * buffer.C (sgmlError): deactivated function till it is rewritten in
6725 the right mode, now it can create problems.
6727 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6728 before accessing it.
6730 2002-03-14 Juergen Vigna <jug@sad.it>
6732 * undo_funcs.C (textHandleUndo): do the right thing when updating
6733 the inset after the undo/redo.
6735 * text2.C (setCursor): just some testcode for #44 not ready yet.
6737 * undo_funcs.C (textHandleUndo): set the next() and previous()
6738 pointers of the paragraph to 0 before deleting otherwise we have
6739 problems with the Paragraph::[destructor].
6741 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6742 on a paragraph insertion.
6744 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6746 * buffer.C (asciiParagraph): use += operator for char append to
6749 * paragraph.C (getFontSettings): compare >= not just >
6750 (highestFontInRange): ditto
6753 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6755 * paragraph.C: change several algorithm to be more appripriate for
6756 the problem domain. This is lookip in FontList and in the InsetList.
6758 2002-03-13 André Pönitz <poenitz@gmx.net>
6761 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6763 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6768 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6770 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6772 * Painter.C (display): anon helper function, adjust code for this
6774 (pixmap): remove function.
6776 * Painter.h: remove private display variable.
6778 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6780 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6782 * WorkArea.[Ch]: remove figinset_canvas cruft.
6784 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6786 * lyxtextclass.C (operator): add one item cache optimization.
6788 * bufferlist.h: doxy changes
6790 * bufferlist.C: ws changes
6792 * DepTable.[Ch] (ext_exist): place const in the right spot.
6794 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6796 (workAreaExpose): call resizeInsets when the with BufferView changes.
6797 (Dispatch): adjust for protectedBlank removal
6798 (specialChar): call updateInset if the insert went ok.
6800 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6801 specialChar instead.
6803 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6805 * BufferView.h: doxy change
6807 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6809 * lyxtextclass.C (operator[]): remove non-const version
6810 (defaultLayout): remove non-const version
6812 2002-03-12 Juergen Vigna <jug@sad.it>
6814 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6815 did resize the LyXText too.
6817 * buffer.C (readLyXformat2): set layout information on newly allocated
6820 * tabular.C (OldFormatRead): set layout information on the paragraph.
6822 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6824 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6826 2002-03-11 Juergen Vigna <jug@sad.it>
6828 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6830 (resizeCurrentBuffer): force also the insets to resize themselfes.
6831 (moveCursorUpdate): fixed up for InsetText.
6833 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6836 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6837 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6838 value of Dialogs::tooltipsEnabled().
6839 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6841 2002-03-08 Juergen Vigna <jug@sad.it>
6843 * BufferView_pimpl.C (updateInset): update inset inside inset also
6844 if it isn't inside theLockingInset().
6846 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6848 * buffer.C (asciiParagraph): redo some of the word and line length
6850 (getLists): look for Caption instead of caption.
6852 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6854 * buffer.C (Buffer): initialize niceFile to true
6857 (makeDocBookFile): make sure niceFile is true on exit
6859 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6861 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6863 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6865 * LyXSendto.C: remove.
6866 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6867 * lyx_gui.C: remove now-redundant comment.
6868 * ColorHandler.h: remove forward declaration of class WorkArea.
6869 * lyxfunc.C: remove #include "WorkArea.h".
6871 2002-03-07 Juergen Vigna <jug@sad.it>
6873 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6874 got moved away with the DEPM and also set the inset_owner always
6875 right which before could have been omitted.
6877 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6879 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6880 wanted layout is not found.
6882 2002-03-07 Juergen Vigna <jug@sad.it>
6884 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6886 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6888 * paragraph.C (breakParagraph): use default layout not layout of
6890 (Paragraph): clear ParagraphParameters.
6892 2002-03-06 Juergen Vigna <jug@sad.it>
6894 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6895 otherwise it would not be a valid lenght. Fixed a special case in
6896 the minipage compatibility read where we end the document with a
6899 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6900 was set as it could be 0 for InsetTexts first entry.
6902 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6904 * paragraph.C (writeFile): if layout is empty write out
6905 defaultLayoutName().
6907 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6908 file without named layout we set layout to defaultLayoutName().
6910 2002-03-06 Juergen Vigna <jug@sad.it>
6912 * CutAndPaste.C (copySelection): set layout for new paragraph.
6914 * text.C (prepareToPrint): leave ERT inset left aligned
6915 (leftMargin): don't indent paragraphs inside ERT insets
6917 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6919 * paragraph.C (breakParagraph): dont call clear do the work manually
6921 * paragraph.[Ch] (clear): remove function
6923 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6925 * paragraph.C (Paragraph): dont call clear, the work has already
6928 * lyxtextclass.C (operator): assert if n is empty
6930 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6931 work manually instead.
6933 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6935 * BufferView_pimpl.C: protect selectionLost against text == 0
6937 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6939 * text.C (breakParagraph): fix a setting layout to '0' problem.
6941 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6943 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6944 final location of file, for the included files, and graphics.
6946 2002-03-05 Juergen Vigna <jug@sad.it>
6948 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6950 2002-03-04 Juergen Vigna <jug@sad.it>
6952 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6954 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6955 last column of multicolumn cells.
6956 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6958 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6960 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6961 file if it doesn't go to a temporary file.
6963 * buffer.C (sgmlOpenTag):
6964 (sgmlCloseTag): remove extra newline insertion.
6966 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6968 * text.C (getRowNearY): comment out debug msg
6970 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6972 * text2.C: first -> first_y
6974 * text.C (getRowNearY): add some attemts at a possible
6975 optimization, not working.
6977 * tabular.[Ch]: add BufferParams to several function so that newly
6978 created paragraph can be initialized to he default layotu for the
6981 * tabular-old.C (ReadOld): add buf->params to call of Init
6983 * screen.C: rename text->first to text->first_y
6985 * paragraph.C (breakParagraph): always set layout in the broken
6988 * lyxtextclass.C (Read): remove lowercase
6991 (delete_layout): ditto
6993 * lyxtext.h: rename first -> first_y
6995 * lyxlayout.C (Read): remove lowercase
6998 (obsoleted_by): ditto
7000 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7002 * buffer.C (insertErtContents): add params are to InsetERT
7003 (parseSingleLyXformat2Token): add code to check if a paragraphs
7004 layout really exist.
7005 (parseSingleLyXformat2Token): add params to several inset
7007 (asciiParagraph): remove lowercase, do the layout comparisons with
7010 * BufferView_pimpl.C (cursorNext): first -> first_y
7011 (resizeCurrentBuffer): first -> first_y
7012 (updateScrollbar): first -> first_y
7013 (scrollCB): first -> first_y
7014 (workAreaMotionNotify): first -> first_y
7015 (workAreaButtonPress): first -> first_y
7016 (checkInsetHit): first -> first_y
7017 (cursorPrevious): first -> first_y
7018 (cursorNext): first -> first_y
7019 (Dispatch): add buffer_->params to severl inset contructors
7021 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7023 * lyxlayout.C (Read): remove some debug info that I forgot.
7025 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7026 clean up the code slightly.
7027 (makeLinuxDocFile): ditto
7028 (makeDocBookFile): ditto
7030 * text2.C: layout as string
7032 * text.C: layout as string
7034 * paragraph_pimpl.C: layout as string
7036 * paragraph.[Ch]: layout as string
7038 * lyxtextclasslist.[Ch]: layout as string
7040 * lyxtextclass.[Ch]: layout as string
7042 * lyxtext.h: layout as string
7044 * lyxlayout.[Ch]: layout as string
7046 * lyx_cb.C: layout as string
7048 * bufferview_funcs.C: layout as string
7050 * bufferparams.C: layout as string
7052 * buffer.C: layout as string
7054 * LyXView.[Ch]: layout as string
7056 * LaTeXFeatures.[Ch]: layout as string
7058 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7060 * BufferView_pimpl.C: change current_layout to string, remove
7065 (workAreaButtonRelease): layout as string
7067 * BufferView2.C (unlockInset): adjust
7069 * vspace.C (asLatexCommand): use an explict temp variable.
7071 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7073 * Makefile.am: use FRONTEND_*
7075 2002-03-01 Juergen Vigna <jug@sad.it>
7077 * tabular.C (SetWidthOfMulticolCell): changed to something better
7078 I hope but still work in progress.
7079 (recalculateMulticolumnsOfColumn): renamed function from
7080 recalculateMulticolCells as it is more appropriate now.
7081 (SetWidthOfCell): calculate multicols better.
7083 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7085 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7087 * lyxfunc.C (processKeySym): print sequence also if it is
7088 `deleted' (complete)
7090 * kbsequence.C (print): print sequence even if it is deleted
7091 (complete would be a better word, actually).
7093 * lyxfunc.C (dispatch): print complete options after a prefix key
7095 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7097 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7099 * text2.C (setCharFont): eliminate setCharFont code duplication.
7101 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7103 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7104 LFUN_TABULAR_FEATURE (bug #177)
7106 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7108 * Makefile.am: remove figure.h
7110 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7112 * Bufferview_pimpl.C:
7124 * text2.C: remove #include "lyx_gui_misc.h".
7126 * LaTeX.C: added #include <cstdio>
7128 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7130 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7131 that the paragraph following this one can have.
7133 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7135 * vspace.C (asLatexCommand): fix bogus gcc warning
7137 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7139 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7141 * text2.C (setLayout): get rid of redundant code
7143 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7145 * text2.C (incDepth): make sure depth cannot be increased beyond
7148 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7150 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7151 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7153 * PainterBase.h (image):
7154 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7157 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7161 * BufferView_pimpl.C:
7162 * BufferView_pimpl.h:
7182 * sp_spell.C: remove fig inset, and the crap house of
7183 cards that follows it
7185 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7191 * nt_defines.h: move .h into support/
7193 * vms_defines.h: remove
7195 * WorkArea.C: add space in debug output
7199 * buffer.C: add WITH_WARNINGS
7203 * bufferlist.C: s/retrive/retrieve/, add docs
7214 * lyxgui.C: add ID to X error handler
7216 * lyxtestclass.c: fix typo
7218 2002-02-26 Juergen Vigna <jug@sad.it>
7220 * tabular_funcs.C (write_attribute): changed so that some default
7221 attributes are not written at all.
7222 (getTokenValue): set default values before trying to read the
7223 value so we have the return value always set as default if we don't
7224 find the token we search for.
7226 * tabular.C (Write): write bools as bools not as strings!
7228 2002-02-22 Juergen Vigna <jug@sad.it>
7230 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7231 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7233 * text.C (leftMargin): don't add an indent for paragraphs inside
7234 tabular cells (fix #208).
7236 2002-02-21 José Matos <jamatos@fep.up.pt>
7238 * tabular.C (docBook): fixed support for long tables.
7240 2002-02-20 Juergen Vigna <jug@sad.it>
7242 * text2.C (getFont): get the drawing font of the Inset if this
7243 paragraph is inside an inset (only important for InsetERT for now).
7245 * buffer.C (insertErtContents): use new lanugage params in ERT
7248 * CutAndPaste.C: commenting out seemingly uneeded code.
7250 2002-02-19 Allan Rae <rae@lyx.org>
7252 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7253 Iterators might be simple to use but they also get invalidated.
7254 (removeAutoInsets): renamed saved cursor tracking variables and added
7255 some comments to clarify what everything does.
7257 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7264 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7265 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7268 * vc-backend.h: remove #include "support/syscall.h"
7272 * converter.C: rearrange #includes in Lars' approved fashion.
7274 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7275 forward declare class Timeout in the header file.
7277 * XFormsView.C: changes due to the above.
7279 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7282 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7283 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7285 2002-02-18 José Matos <jamatos@fep.up.pt>
7287 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7290 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7292 * a lot of small ws changes
7293 * add a lot of using std::XXX
7294 * use std construcs some places where approp.
7295 * use some exisint stuff from lyxfunctional where approp.
7296 * Make file changes to use partial linking (lets test this now...)
7298 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7302 remove #include "support/syscontr.h" as it's redundant. Always has been.
7310 change Systemcalls::System to Systemcalls::Wait and
7311 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7312 No change of functionality, just reflects the stripped down Systemcalls
7315 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7317 * debug.[Ch]: add a GRAPHICS type to the enum.
7319 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7321 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7323 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7326 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7328 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7329 match the changes below.
7331 * text2.C (toggleInset): if there is not editable inset at cursor
7332 position, try to see if cursor is _inside_ a collapsable inset
7335 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7337 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7338 document menu has a nice checkbox
7340 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7342 * lyxlength.C (asLatexString): change PW to output as percent of
7345 * lengthcommon.C: change '%' to 't%'
7347 * lyxfunc.C (dispatch): a few comments from Martin
7349 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7353 * BufferView_pimpl.h:
7354 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7357 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7359 * vspace.C (inPixels): fix compiler warning
7361 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7363 * lyxfunc.C (getStatus): fix status message for disabled commands.
7365 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7367 * BufferView_pimpl.C: fix crash on close buffer
7368 during selection (#227)
7370 2002-01-27 Herbert Voss <voss@lyx.org>
7372 * buffer.C: link old Figure to new graphic inset
7374 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7376 * FontLoader.C (getFontinfo): Change the latex font names in order
7377 to match the names of type1inst.
7379 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7381 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7383 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7386 (remove_files_with_extension): ditto
7387 (remove_file): ditto
7390 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7391 document is smaller than the work area height. Do not initialize
7392 static variables to 0.
7394 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7396 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7398 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7399 LFUN_LAYOUT_PARAGRAPHS.
7401 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7402 tabular. It is possible to provide a possible cell, which will
7403 typically be the actcell from the corresponding insettabular
7405 * lyxfunc.C (getStatus): small cleanup; disable
7406 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7409 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7411 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7413 * paragraph.C (startTeXParParams):
7414 (endTeXParParams): new methods. The LaTeX code to
7415 start/end paragraph formatting
7416 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7417 empty (fixes bug #200)
7419 * vspace.C (inPixels): adapt to the change below
7420 (inPixels): [later] more cleanups (remove unused variables)
7422 * lyxlength.C (inPixels): change to use a width and a height as
7425 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7427 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7428 Replaced with \paperwidth
7430 * DepTable.C (insert): add std:: qualifier
7432 2002-01-18 Allan Rae <rae@lyx.org>
7434 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7437 * text.C (drawInset): Turned out I didn't know enough about how
7438 rebreaking worked. This fixes most of the redraw problems. I see
7439 an occasional cursor trail when a line is broken now and the cursor
7440 placement can seem out by a few pixels also after a rebreak.
7442 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7444 * buffer.C (parseSingleLyXformat2Token): update because minipage
7445 width is now a LyXLength
7447 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7449 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7452 2002-01-17 Juergen Vigna <jug@sad.it>
7454 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7456 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7457 is set correctly and the inset is updated correctly.
7459 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7461 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7462 the beginning of the loop.
7464 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7466 * lyxrc.C: improve help for use_scalable_fonts
7468 2002-01-17 Allan Rae <rae@lyx.org>
7470 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7472 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7474 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7475 make sure to set their inset_owner to the right value (bug #171)
7477 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7480 * DepTable.C: Implement mtime checking to reduce time spent doing
7483 2002-01-16 Juergen Vigna <jug@sad.it>
7485 * tabular.C (GetAdditionalHeight): one of error fixed.
7487 * lyxrc.C (output): small fix in writing use_pspell.
7489 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7491 * sp_base.h: #include LString.h
7493 2002-01-16 Allan Rae <rae@lyx.org>
7495 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7496 Can someone check this please?
7498 * text.C (drawInset): It was possible that p.row would be removed by
7499 breakAgainOneRow upsetting a few other settings. There may be another
7500 small tweak possible by setting need_break_row = 0 when p.row has been
7501 removed but I don't know enough about the logic here.
7503 2002-01-15 Allan Rae <rae@lyx.org>
7505 * text.C (insertChar): removed conditional truism.
7507 * BufferView2.C (removeAutoInsets): More tweaks.
7508 cur_par_prev could be a stray pointer. Check for trailing empty line
7509 in case last line was cur_par and only had an error inset on it.
7511 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7513 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7516 * vc-backend.C (most methods):
7517 * exporter.C (Export):
7518 * converter.C (convert):
7520 * LyXSendto.C (SendtoApplyCB):
7521 * lyxfunc.C (dispatch):
7525 * lyx_cb.C (AutoSave):
7527 * BufferView_pimpl.C (MenuInsertLyXFile):
7528 * buffer.C (runChktex): use Buffer::filePath().
7530 * buffer.h: rename filename to filename_; rename filepath to
7531 filepath_ and make it private
7532 (filePath): new method
7534 * buffer.C (writeFile): use fileName()
7537 * lyx_main.C (init): fix starting of LyX when the binary is a
7538 link from so,ewhere else.
7540 * minibuffer.C: include <cctype> for isprint
7542 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7544 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7545 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7546 name clash with InsetCollapsable's width function.
7548 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7550 * lastfiles.C: include <iterator>
7552 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7554 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7557 * buffer.C (makeLaTeXFile): ditto.
7558 Also make loop operation more transparent.
7560 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7562 * ToolbarDefaults.C: remove trailing comma closing namespace.
7564 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7566 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7569 * trans.C (Load): comment out unused variable, allowed.
7571 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7573 * minibuffer.[Ch] (append_char): new method to recieve input from the
7574 drop-down completion browser. If a key was pressed, then recieve this
7575 char and append it to the existing string.
7576 (peek_event): modify the positioning data passed to the completion
7577 browser so that it can be placed above the minibuffer rather than below.
7578 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7580 * LyXAction.C (init): alloe error-next for readonly documents.
7582 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7585 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7587 * bufferlist.C (readFile): create the buffer _after_ checking that
7590 * lyxfunc.C (verboseDispatch): fix handling of arguments
7592 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7594 * lyxrc.C: use string::erase() instead of initializing to "".
7597 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7599 * BufferView_pimpl.h:
7600 * BufferView_pimpl.C:
7603 * text2.C: tell X when we have made a selection for copying
7605 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7607 * BufferView_pimpl.C (MenuInsertLyXFile):
7608 * lyxfunc.C (menuNew):
7610 (doImport): add shortcuts to directory buttons
7612 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7615 * lyxfunc.C (setStatusMessage):
7616 (getStatusMessage): new methods
7617 (getStatus):use setStatusMessage instead of setErrorMessage
7618 (dispatch): when function is disabled, set error message here
7619 [instead of in getStatus previously]
7621 * BufferView_pimpl.C (workAreaButtonRelease): update
7622 toolbar/menubar here too.
7624 2002-01-13 Allan Rae <rae@lyx.org>
7626 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7627 Now seems indestructible. Remaining task is to audit all other
7628 code affected by deleteEmptyParagraphMechanism. One small quirk
7629 left is that an empty document with an error in the preamble can
7630 be made to report an error but no error box appears. I don't know
7632 (removeAutoInsets): Improved comments.
7634 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7637 * Thesaurus.C: update for Aiksaurus 0.14
7639 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7641 * text2.C (firstParagraph): removed member function, all uses
7642 replaces with ownerParagraph
7643 (redoParagraphs): here
7645 (toggleAppendix): here
7646 * BufferView2.C (insertErrors): here
7647 (setCursorFromRow): here
7649 2002-01-13 Allan Rae <rae@lyx.org>
7651 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7652 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7653 There is still a way to segfault this although you may have to do this
7654 multiple times: Have an InsetERT with an unknown command in it.
7655 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7656 <down-arrow>, <Enter> again, View->DVI, BANG!
7658 * text2.C (setCursor):
7659 (deleteEmptyParagraphMechanism):
7660 * lyxtext.h (setCursor):
7661 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7662 Making use of the return value may help fix other bugs.
7664 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7666 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7668 * LyXView.C (updateMenubar): call MenuBar::update here
7669 (updateToolbar): but not here
7670 (showState): do not update toolbar/menubar
7672 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7673 should need to care about that.
7675 * lyxfunc.C (verboseDispatch): simplify a bit
7676 (getStatus): have a version which takes a pseudoaction, and
7677 another which requires a (kb_action,string).
7679 * LyXAction.C (retrieveActionArg): make it work also when action
7680 is not a pseudo-action.
7681 (getActionName): simplify a bit
7684 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7686 * lyxfunc.C (verboseDispatch): new families of methods with
7687 several ways to specify a command and a bool to indicate whether
7688 the command name and shortcut should be displayed in minibuffer
7689 (eventually, we could extend that to a finer bitmask like
7690 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7691 (dispatch): the pristine dispatch command which just, well,
7692 dispatchs! Note it still sets its result to minibuffer; I'm not
7695 * lyxfunc.h: remove setHintMessage
7697 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7699 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7701 * BufferView_pimpl.C (specialChar): delete new inset if we have
7702 not been able to insert it.
7704 * kbmap.C: revert to using int instead of kb_action, since all we
7705 are dealing with is pseudo-actions.
7707 * LyXAction.C (searchActionArg): change to return int instead of
7708 kb_action, since the result is a pseudoaction.
7710 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7712 * buffer.C (insertErtContents): Fix (partially) the font bug.
7714 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7716 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7717 as the other one is broken on my machine!
7719 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7722 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7724 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7726 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7727 reflect their actual use. Provide compatibility code for older lyxrc
7730 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7732 change names of popup font variables in line with the changes to lyxrc.C
7734 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7736 * buffer.C (asciiParagraph): avoid outputing a word twice after
7739 * lyxrc.C (getDescription): document that document_path and
7740 template_path can be empty.
7742 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7744 * LaTeXFeatures.C (getMacros):
7745 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7747 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7749 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7751 (getPackages): rename feature "floats" to "float". Use an array to
7752 iterate over 'simple' features (i.e. just a \usepackage). Add
7753 handling of "amsmath" (renamed from "amsstyle").
7755 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7757 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7760 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7762 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7763 FuncStaus::FuncStatus & FuncStaus::some_method().
7765 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7767 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7768 of the func_satus stuff. Edited and massaged in various ways by
7771 * lyxfunc.C (getStatus): use FuncStatus
7773 2002-01-08 Juergen Vigna <jug@sad.it>
7775 * text.C (nextBreakPoint): use function Inset::isChar().
7777 * paragraph.C (TeXOnePar): use function
7778 Inset::forceDefaultParagraphs.
7780 * buffer.C (latexParagraphs): use function
7781 Inset::forceDefaultParagraphs.
7783 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7785 * lyx_gui.C (init): set the style of the menu popups to
7786 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7788 2002-01-07 Juergen Vigna <jug@sad.it>
7790 * text.C (setHeightOfRow): small fix
7791 (prepareToPrint): don't look at alignment if we don't have the place
7794 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7796 * box.C: New file. Move the Box methods and functions out of box.h,
7797 following Lars' suggestion.
7799 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7801 * box.h: #include "support/LOstream.h", needed for inlined function.
7804 * lyxtextclasslist.C: added some using std declarations.
7806 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7808 * box.h: make signed dimensions to allow insets wider than
7809 the screen (bug #162)
7811 * BufferView_pimpl.C: add some insetHit debug
7813 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7815 * vc-backend.C: add FIXME
7817 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7819 * lyxfunc.C (getStatus): enable code for showing math font status
7822 2002-01-07 Juergen Vigna <jug@sad.it>
7824 * text.C (nextBreakPoint): removed debug output not needed anymore.
7826 2002-01-06 Juergen Vigna <jug@sad.it>
7828 * text.C (nextBreakPoint): fixed up this function we had this bug
7829 since ever but now hopefully we break row better.
7830 (insertChar): we have to check if an inset is the next char as it
7831 could now happen that a large inset is causing a break.
7833 2002-01-05 Juergen Vigna <jug@sad.it>
7835 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7836 if it doesn't like to be drawed.
7838 2002-01-04 Juergen Vigna <jug@sad.it>
7840 * BufferView2.C (lockInset): forgot to set a cursor.
7842 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7844 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7849 * form_maths_panel.C:
7850 * form_maths_panel.h:
7851 * form_maths_panel.fd: implemented sub- and super- buttons in math
7854 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7855 (or ^ space) to be used as in TeX (req'd by André).
7857 * lyxfunc.C: Allow ^ and _ again to be used both as
7858 super/subscript (mathed) and as themselves (in text).
7860 2002-01-03 Allan Rae <rae@lyx.org>
7862 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7863 "LyX" or the filename of the current buffer if it has one. This is a
7864 modified form of John Levon's patch.
7866 * XFormsView.C (setWindowTitle): also set icon title.
7868 * LyXView.h (setWindowTitle): signature changed.
7869 * XFormsView.h (setWindowTitle): ditto.
7871 2002-01-02 Juergen Vigna <jug@sad.it>
7873 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7875 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7877 * screen.C (topCursorVisible): introduce a temp var for
7878 text->cursor.row(), handle the case where this row is null. (kindo
7881 * text2.C (setCursor): add a couple of asserts.
7883 * paragraph.h (inset_iterator): add -> operator
7885 * paragraph.[Ch] (autoDeleteInsets): remove member function
7887 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7888 cursor pos correctly and handle inset deletion by itself.
7889 (insertErrors): move iterator declaration out of for expression
7891 * lyxtextclass.C: add <algorithm>
7893 * Makefile.am: added the new files to sources, removed layout.C
7895 * layout.C: removed file
7897 * layout.h: remove LYX_DUMMY_LAYOUT
7899 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7903 * lyxtextclass.[Ch]:
7904 * lyxtextclasslist.[Ch]: new files
7906 * include order changes to a lot of files, also changes because of
7909 2001-12-27 Juergen Vigna <jug@sad.it>
7911 * buffer.C (asciiParagraph): more fixes.
7913 * tabular.C (ascii): make ascii export support export of only the
7914 data separated by a column-delimiter.
7915 (ascii): better support for ascii export.
7917 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7919 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7921 * tabular_funcs.C: use a "using std::getline" instead of the
7922 previous fix from Angus (necessary for cxx + lyxstring)
7924 2001-12-24 Juergen Vigna <jug@sad.it>
7926 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7928 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7929 problems. First check a minipage also if we have some ert-contents
7930 (not only on par->size(), second set the right depth of the paragraph
7931 on the relink to the root-paragraph-list!
7933 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7934 which then did not anymore update the main paragraphs on undo/redo!
7936 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7938 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7939 code. Support all font-changing funcs (even those which are not in
7940 menu currently). Support for reporting font settings in
7941 mathed (disabled until Andre provides a function on mathed's side).
7943 * func_status.h (toggle): small helper function to set toggle
7946 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7948 * tabular_funcs.C: getline -> std::getline
7950 2001-12-21 Juergen Vigna <jug@sad.it>
7952 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7953 accessed and could be 0 (I couldn't generate this but it seems
7956 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7958 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7959 * tabular_funcs.h: here and include iosfwd
7961 2001-12-20 Juergen Vigna <jug@sad.it>
7963 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7964 inside inset but undo_par was.
7966 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7968 * Thesaurus.C: always include <config.h> in sources.
7972 * box.h: do not include <config.h> in header files
7974 * text.C (paintLastRow): remove unused variable
7976 * text.C (transformChar):
7978 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7981 * font.C (width): rewrite to use uppercase() instead of
7984 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7986 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7988 * lyxfind.C: clean up of find failure position change
7990 2001-12-20 Juergen Vigna <jug@sad.it>
7992 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7994 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7995 (TeXRow): added to LaTeX a single tabular row.
7996 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7997 (Latex): simplified and finally good LT-h/f support.
7998 (various_functions): just small adaptions for LT-h/f support.
8000 * tabular_funcs.[hC]: added and moved here all not classfunctions
8003 2001-12-19 Juergen Vigna <jug@sad.it>
8005 * tabular.[Ch]: better support for longtabular options (not finished
8008 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8010 * text.C (paintLastRow): use the label font instead of the font of
8011 the last character to compute the size of *_BOX. This makes more
8012 sense and avoids a crash with empty paragraphs.
8013 Use Painter::rectangle to draw EMPTY_BOX.
8015 2001-12-19 Juergen Vigna <jug@sad.it>
8017 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8018 the paragraphs if the replaced paragraph is not the first one!
8019 Tried to delete not used paragraphs but does not work yet so for
8020 now it's inside #ifdef's and by default off!
8022 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8024 * MenuBackend.C: include "lyx_main.h" instead of declaring
8025 lastfiles (actually was declared as LastFiles* instead of a
8028 2001-12-17 Juergen Vigna <jug@sad.it>
8030 * tabular.C (AppendColumn): applied John's fix
8032 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8036 * BufferView_pimpl.h:
8037 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8040 * box.h: new start of class for above
8042 * lyxfunc.C: ignore space-only minibuffer dispatches.
8043 Show the command name when it doesn't exist
8045 * minibuffer.C: don't add empty lines to the history
8047 * minibuffer.C: add a space on dropdown completion
8049 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8051 * text.C: fix line above/below drawing in insets
8053 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8055 * lyxlength.C (LyXLength): Initialize private variables.
8057 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8059 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8060 when inserting error insets.
8062 2001-12-13 Juergen Vigna <jug@sad.it>
8064 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8065 actually sometimes the before-paragraph.
8066 (setUndo): don't clear the redostack if we're not actually undoing!
8068 2001-12-06 Juergen Vigna <jug@sad.it>
8070 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8071 and fixed redoing of main paragraph, so we can use it now ;)
8073 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8075 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8077 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8080 2001-12-13 André Pönitz <poenitz@gmx.net>
8083 * undo_func.C: minor cleanup
8085 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8087 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8088 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8089 font in urw-fonts package which is marked as -urw-fontspecific and
8090 does not work (incidentally, changing the encoding in the
8091 fonts.dir of this package to -adobe-fontspecific fixes the
8094 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8095 is a crash when undoing first paragraph (Juergen, please take a
8096 look). THis does not mean the undo fix is wrong, just that it
8099 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8100 the (Paragraph*) version when needed instead of duplicating the
8103 * text.C (workWidth): use Inset::parOwner to find out where the
8104 inset has been inserted. This is a huge performance gain for large
8105 documents with lots of insets. If Inset::parOwner is not set, fall
8106 back on the brute force method
8108 * paragraph_pimpl.C (insertInset):
8109 * paragraph.C (Paragraph):
8110 (cutIntoMinibuffer): set parOwner of insets when
8111 inserting/removing them
8113 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8115 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8121 * mathed/formulabase.C:
8122 * mathed/math_cursor.[Ch]:
8123 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8126 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8128 * lyxlength.[Ch] (operator!=): new function
8130 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8132 * text.C (workWidth): use Inset::parOwner to find out where the
8133 inset has been inserted. This is a huge performance gain for large
8134 documents with lots of insets. If Inset::parOwner is not set, fall
8135 back on the brute force method
8137 * paragraph_pimpl.C (insertInset):
8138 * paragraph.C (Paragraph):
8139 (cutIntoMinibuffer): set parOwner of insets when
8140 inserting/removing them
8142 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8144 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8146 * tabular-old.C (getTokenValue):
8147 * tabular.C (getTokenValue):
8148 (write_attribute): new versions for LyXLength
8149 (everywhere): adjust the use of widths
8151 * tabular.h: change the type of widths from string to LyXLength
8153 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8155 * paragraph.C: fixed missing line number count when exporting
8156 Environments to LaTeX file
8158 * buffer.C: added informational message for checking line numbers.
8160 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8162 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8163 paragraph, do the 'double space' part, but not the 'empty
8166 * text.C (workWidth): small optimization
8167 (getLengthMarkerHeight): use minimal size for negative lengths.
8169 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8171 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8173 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8175 2001-12-11 André Pönitz <poenitz@gmx.net>
8178 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8180 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8182 * text2.C: keep selection on a setFont()
8184 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8186 * lyx_cb.C: another bv->text misuse, from insert label
8188 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8191 * kbsequence.C: re-instate nmodifier mask
8193 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8195 * lyx_main.h: make lyxGUI private.
8197 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8199 * lyxfind.C: place the cursor correctly on failed search
8201 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8203 * text.C (getLengthMarkerHeight): for small heights, the arrows
8204 are not always on top/bottom of the text
8205 (drawLengthMarker): smaller arrows; take the left margin in
8206 account; draw also vfills.
8208 (paintLastRow): remove special code for vfill and standard spaces,
8209 since everything is handled in drawLengthMarker now.
8211 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8213 * buffer.C (insertErtContents): try to handle font and language
8214 interaction a bit better.g
8216 * ColorHandler.C (updateColor): change the hash to cover the whole
8217 LColor enum, ws cleanup
8218 (getGCLinepars): ditto
8219 (getGCLinepars): only lookup in the linecache once.
8221 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8223 * iterators.C (operator++): Make the iterator more robust
8225 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8227 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8229 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8232 * text.C: better added space drawing
8234 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8237 * BufferView2.C: fix layout combo update on inset unlock
8239 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8241 * Makefile.am: don't compile unused files
8243 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8247 * LyXAction.C: remove old LFUN_LAYOUTNO
8249 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8251 * paragraph_pimpl.h:
8252 * paragraph_pimpl.C: isTextAt() doesn't need font param
8254 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8257 * lyxlex.C: little cleanup
8259 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8261 * BufferView_pimpl.C: fix insertAscii for insets
8263 2001-12-05 Juergen Vigna <jug@sad.it>
8265 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8266 set the right font on the "multi" paragraph paste!
8268 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8274 * lyxlength.C: remove out-commented code.
8290 * vc-backend.C: change "while(" to "while ("
8292 * lyxlength.[Ch]: add zero function to check if length is zero or
8294 * lyxgluelength.C: use it
8296 2001-12-05 Allan Rae <rae@lyx.org>
8298 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8299 Works for 2.95.3, from what I understand of Garst's reports this should
8300 work for other g++ versions. We're screwed if the abs(int) definition
8301 changed between bugfix releases of gcc.
8303 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8305 * text.C: fix chapter label offset !
8307 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8310 * text.C: fix hfill at end of line, clean up
8312 2001-12-04 Juergen Vigna <jug@sad.it>
8314 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8315 that we force an update of the inset and it's owners if neccessary.
8317 2001-12-03 Juergen Vigna <jug@sad.it>
8319 * text.C (rowLast): simplified code
8321 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8323 * lyxfunc.C: fix show options on timeout
8325 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8327 * screen.C (topCursorVisible): scroll half a page when the cursor
8328 reached top of bottom of screen
8330 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8332 * minibuffer.C: deactivate on loss of focus
8334 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8336 * vspace.[Ch] (operator!=): add operator.
8338 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8340 * BufferView_pimpl.C: refuse to open an inset when
8341 there's a selection.
8343 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8345 * BufferView_pimpl.C: allow to click on RHS of full row insets
8347 2001-11-30 Juergen Vigna <jug@sad.it>
8349 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8350 insets for undo reasons.
8352 2001-11-28 André Pönitz <poenitz@gmx.net>
8354 * vspace.[Ch]: cosmetical changes
8356 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8366 * kbsequence.C: part re-write of old kb code
8369 * WorkArea.C: remove Lgb_bug_find_hack
8371 2001-11-30 José Matos <jamatos@fep.up.pt>
8373 * buffer.C (makeDocBookFile): add a comment to point a hack.
8374 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8375 Fixed a double write of labels.
8377 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8380 * LaTeX.h Fixed bug in LaTeX class where it would not
8381 re-run latex if no depfiles were changed, but the .dvi was removed.
8383 2001-11-28 André Pönitz <poenitz@gmx.net>
8385 * all the files from the change on 2001/11/26:
8386 use lyx::layout_type instead of LyXTextClass::size_type
8387 use lyx::textclass_type instead of LyXTextClassList::size_type
8389 2001-11-29 Juergen Vigna <jug@sad.it>
8391 * text.C: added support for paragraph::isFreeSpacing()
8393 * buffer.C: same as above
8395 * paragraph.h: inserted isFreeSpacing() function to enable
8396 FreeSpacing inside InsetERT.
8398 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8399 of the paragraph's in the cut/copy buffer to 0!
8401 * text2.C (removeRow): remove the assert as it can!
8403 * lyxtext.h: added helper function firstRow returning firstrow and
8404 made firstrow private again.
8406 * BufferView2.C (lockInset): don't relock if we're already locked!
8408 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8410 (removeRow): added Assert::(firstrow)
8412 * debug.C: forgot to add INSETTEXT here.
8414 2001-11-28 Juergen Vigna <jug@sad.it>
8416 * sp_spell.C (initialize): changed error text to more general
8417 spellchecker command use (not only ispell!)
8419 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8421 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8423 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8425 * vspace.C: initialise lyxgluelength on failure
8427 2001-11-28 Allan Rae <rae@lyx.org>
8429 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8430 declaration & definition that looks like a function declaration.
8432 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8434 * BufferView2.C (copy):
8435 (copyEnvironment): do not clear the selection when doing a copy.
8437 * text.C (paintFirstRow): compilation fix
8439 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8441 * tabular.C (Latex): correct line count when writing latex.
8443 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8445 * paragraph_pimpl.h:
8446 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8449 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8453 * LColor.C: change vfillline->added_space
8455 * text.C: add markers and text for added space
8457 * vspace.C: fix comment
8459 2001-11-28 André Pönitz <poenitz@gmx.net>
8461 * paragraph.C: whitespace changes
8462 * all the other files from the change on 2001/11/26:
8463 change *::pos_type into lyx::pos_type
8465 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8467 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8468 language of the document when inserting error insets.
8470 2001-11-26 André Pönitz <poenitz@gmx.net>
8472 * BufferView_pimpl.[Ch]:
8480 * paragraph_pimpl.[Ch]:
8483 * text2.C: reduce header dependencies, introduce type for positions
8485 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8487 * <various>: change to use Alert.h
8489 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8491 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8492 when encountering an unknown token.
8493 (readLyXformat2): Show an error message if there were unknown tokens.
8495 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8498 * BufferView_pimpl.C:
8502 * text2.C: use par->isInset()
8504 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8506 * paragraph_pimpl.h:
8507 * paragraph_pimpl.C: cleanup
8509 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8511 * text2.C (removeRow):
8512 * text.C (setHeightOfRow): remove useless (and costly) call to
8515 2001-11-20 Allan Rae <rae@lyx.org>
8517 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8518 Now need Inset*::checkInsertChar() to return true for appropriate
8519 cases so that the characters in the minibuffer will actually be
8522 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8524 * text.C: change the order of the includes.
8525 (workWidth): initialize it at once.
8526 (workWidth): make maxw unsigned
8527 (setHeightOfRow): remove unused variable (inset)
8528 (selectSelectedWord): remove unused variable (inset)
8529 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8531 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8533 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8534 server is not running.
8536 (closeConnection): add debug info when server is disabled.
8538 * ColorHandler.C (getGCForeground): send debug message to GUI
8541 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8543 * kbmap.C (bind): modify because return conventions of
8544 kb_sequence::parse have changed.
8546 * kbsequence.C (parse): only ignore spaces and not any stupid
8547 control character. This avoids tests like s[i] <= ' ', which are
8548 guaranteed to fail with 8bit characters and signed chars.
8549 Change return code to string::npos when there have been no error
8550 (0 was a bad idea when error is at first character)
8552 2001-11-14 José Matos <jamatos@fep.up.pt>
8555 * buffer.C (simpleDocBookOnePar): removed unused argument.
8557 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8559 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8560 insets which are part of a word. Paragraph::isLetter takes care of
8561 that now. Use Paragraph::isInset to identify insets.
8562 (selectSelectedWord): do not test for hyphenation break.
8564 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8565 that protected spaces are considered as spaces.
8567 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8570 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8573 * lyxserver.C: fix it. and small cleanup.
8575 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8577 * BufferView_pimpl.C: use inline helpers
8580 * LaTeXFeatures.C: fix typos
8583 * Spacing.C: move spacing_string into class
8585 * ToolbarDefaults.C: move stuff into namespace anon
8587 * layout.h: update enum
8589 * lyxfunc.C: use better debug
8591 * minibuffer.h: fix typo
8595 * WorkArea.C: add and use Debug::WORKAREA
8599 * text2.C: code re-organisation, inline helpers
8601 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8603 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8604 std::vector.empty().
8606 2001-11-09 Allan Rae <rae@lyx.org>
8608 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8609 '\n's after tables. Tabular and ERT inset work now makes this no
8612 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8615 * minibuffer.C: fix crash, improve drop-down completion
8617 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8620 * lyxserver.C: invalidate fd's when doing endPipe()
8622 2001-11-08 José Matos <jamatos@fep.up.pt>
8624 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8625 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8628 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8630 2001-11-07 José Matos <jamatos@fep.up.pt>
8633 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8636 * buffer.C (sgmlOpenTag):
8637 * buffer.C (sgmlCloseTag): removed debug info.
8639 * buffer.h (sgmlOpenTag):
8640 * buffer.h (sgmlCloseTag): made public.
8642 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8644 * buffer.C (saveParamsAsDefaults):
8645 * lyx_cb.C (MenuLayoutSave): remove
8647 * LyXAction.C (init):
8649 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8651 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8653 * buffer.C (setPaperStuff): removed from here...
8655 * bufferparams.C (setPaperStuff): ... and moved there.
8657 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8661 * XFormsView.C: add support for drop-down completion
8663 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8665 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8668 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8670 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8673 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8675 * lyx_main.C: change ref to known bugs
8677 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8679 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8680 to work around older babel problems.
8682 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8684 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8686 2001-10-24 Juergen Vigna <jug@sad.it>
8688 * tabular-old.C (ReadOld): below variable changes reflected.
8690 * tabular.[Ch]: added ltType struct for longtable header/footer
8691 defines and changed all instances where they are used. Added
8692 future support for double top/bottom rows.
8694 2001-10-24 José Matos <jamatos@fep.up.pt>
8696 * buffer.h (docbookHandleCaption):
8697 * buffer.C (docbookHandleCaption): removed unused function.
8698 (makeDocBookFile): moved docbook supported version to v4.1.
8700 2001-10-24 José Matos <jamatos@fep.up.pt>
8703 * tabular.C (docbookRow): new function to export docbook code of a row.
8704 (DocBook): now honors the longtable flags.
8706 2001-10-23 José Matos <jamatos@fep.up.pt>
8709 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8710 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8712 * buffer.C (makeLinuxDocFile):
8713 (makeDocBookFile): reworked the preamble, more clean, and with
8714 support for lyx defined entities. Changed the document declaration
8715 to be more XML friendly.
8717 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8718 if we need to output XML that should be done with a filter.
8720 2001-10-22 Juergen Vigna <jug@sad.it>
8722 * sp_pspell.h (class PSpell): add alive function needed in the
8723 controller to see if the spellchecker could be started.
8725 2001-10-22 Juergen Vigna <jug@sad.it>
8727 * buffer.C (insertStringAsLines): modify the font for inserting
8728 chars in certain conditions by calling checkInsertChar(font).
8730 2001-10-19 Juergen Vigna <jug@sad.it>
8732 * text.C (workWidth): use getRow instead of wrong algorithm.
8733 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8735 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8740 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8742 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8744 * text.C (workWidth): do not search for the exact row when
8745 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8746 optimization for big documents.
8748 2001-10-18 Juergen Vigna <jug@sad.it>
8750 * text.C (workWidth): new function with added Inset * parameter.
8752 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8754 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8756 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8757 change return type of getColumnNearX.
8760 * text.C (changeRegionCase): use uppercase/lowercase instead of
8763 (rightMargin): simplify code by factoring out the uses of
8768 (appendParagraph): use Paragraph::size_type
8770 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8772 * vspace.C (asLatexString): add a missing break
8774 2001-10-15 Herbert Voss <voss@perce.de>
8776 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8778 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8780 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8783 2001-10-10 André Pönitz <poenitz@gmx.net>
8785 * lyxfunc.C: removed greek_kb_flag.
8787 2001-10-10 Herbert Voss <voss@perce.de>
8789 * lyx_main.C: delete global string help_lyxdir.
8791 2001-10-09 Herbert Voss <voss@perce.de>
8793 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8795 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8797 * lyx_main.C: added global string help_lyxdir.
8799 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8801 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8803 * lyxrc.C (set_font_norm_type): support iso8859-4
8805 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8807 * LaTeX.C (deplog): add another regex for MikTeX
8809 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8811 * lyxrc.C (set_font_norm_type): support iso8859-3
8813 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8815 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8817 * LaTeXFeatures.C: remove special case of french and index
8819 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8820 before \begin{document}). This solves several incompatibilities.
8822 2001-10-03 Garst Reese <reese@isn.net>
8824 * lyx_cb.C: change CheckTex error msg.
8826 2001-10-03 José Matos <jamatos@fep.up.pt>
8828 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8830 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8832 * .cvsignore: update
8834 * lyx_main.C (commandLineVersionInfo): use new style version info.
8836 * buffer.C (writeFile):
8839 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8841 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8843 * version.h: update to use stuff in version.C
8845 * version.C.in: new file. Contains version information determined
8846 at compile time. This is a merging of version.h and
8849 2001-10-03 Juergen Vigna <jug@sad.it>
8851 * BufferView_pimpl.C (update): don't change "dirty" status in
8854 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8856 * WorkArea.C (c-tor): re-position version string slightly.
8858 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8860 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8861 revert to previous code.
8863 WorkArea.[Ch]: (show, destroySplash): methods removed.
8865 WorkArea.C: rework code so that it's an amalgam of the codes before and
8866 after the splash screen was moved to WorkArea.
8868 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8871 * vspace.C (inPixels):
8874 * buffer.C (insertStringAsLines):
8875 (asciiParagraph): fix types to be large enough
8877 * lyxlex_pimpl.h: change member status from short to int
8879 * layout.h: fix type of endlabeltype
8882 * kbsequence.C (parse): change return type to string::size_type
8884 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8887 * Bullet.C (bulletSize):
8888 (bulletEntry): do not use short ints as parameters
8890 * BufferView2.C (insertLyXFile): change a char to an int.
8892 * WorkArea.C (WorkArea): remove unneeded floats in computation
8894 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8896 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8898 * paragraph.C (asString): Do not ignore newline/hfill chars when
8899 copying to the clipboard.
8901 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8903 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8904 after a multi-line inset.
8906 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8908 * paragraph.C (validate): Set NeedLyXFootnoteCode
8910 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8912 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8913 and decrease-error to decrease.
8915 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8917 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8918 it more readable (should be equivalent)
8920 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8922 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8924 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8926 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8927 of a cursor (row, etc.) after a character has been deleted
8928 (deleteEmptyParagraphMechanism): call the method above on _all_
8929 cursors held by the LyXText when a double space has been
8932 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8934 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8936 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8938 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8939 background. Use greyOut() and the new show() methods to toggle between
8940 the foreground and background. Add code to remove the splash after
8941 its initial showing.
8943 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8944 (create_forms): no longer call Dialogs::showSplash.
8946 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8948 * .cvsignore: add version_info.h
8950 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8952 * version_info.h.in: new file
8954 * Makefile.am: add version_info.h.in
8956 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8957 version_info.h instead of VERSION_INFO
8959 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8961 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8962 The ERT inset now returns string().
8964 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8966 * lyxtext.h, text.C (selectNextWord): renamed as
8967 selectNextWordToSpellcheck.
8969 * text.C (selectNextWordToSpellcheck): Modified to not select
8970 words inside an ERT inset.
8972 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8974 * lyx_cb.C (MenuLayoutSave): change a bit the question
8976 * sp_base.h: include <sys/types.h>
8978 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8980 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8982 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8984 * several files: fix typos in user-visible strings
8986 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8988 * text2.C (pasteSelection): do not set the selection, since it
8989 will be cleared later. Actually, the intent was to fix the way the
8990 selection was set, but I figured rmoving the code was just as good.
8992 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8994 * FontLoader.C (available): Check if font is available without
8997 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8999 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9001 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9003 * lyxrc.[Ch]: added display_graphics variable and associated code.
9005 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9007 * bufferparams.C (hasClassDefaults): new method. Returns true if
9008 the buffer parameters correspond to known class defaults
9010 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9012 * XFormsView.C (show): set minimum size to the main window.
9014 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9016 * text2.C (copySelection):
9018 * lyxfind.C (LyXReplace):
9019 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9020 LyXText::selectionAsString.
9022 * paragraph.C (asString): add "label" argument to the second form
9024 * text2.C (selectionAsString): add "label" argument and pass it to
9025 Paragraph::asString.
9027 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9029 * lyx_main.C (commandLineHelp): remove version information
9031 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9033 * lyx_main.C: add -version commandline option
9035 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9037 * paragraph.h: make the optional constructor arg required instead.
9038 some modifications to other files because of this.
9040 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9042 * lyxserver.C (C_LyXComm_callback): make it static
9044 * lyx_main.C (error_handler): make it static
9046 * lyx_gui.C (LyX_XErrHandler): make it static
9048 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9050 * WorkArea.C: make the extern "C" methods static.
9052 * Makefile.am (lyx_LDADD): simplify
9054 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9056 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9057 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9059 * LyXAction.C (init):
9060 * lyxfunc.C (dispatch): associated code removal.
9062 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9064 * lyxfont.h (isSymbolFont): shut off warning
9066 * text.C (setHeightOfRow):
9067 (getVisibleRow): fix crash with empty paragraphs which have a
9070 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9072 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9075 2001-09-04 José Matos <jamatos@fep.up.pt>
9078 * tabular.C (docbook): rename docBook method to docbook.
9080 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9082 * Makefile.am: add dependencies to main.o.
9084 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9086 * FontLoader.C (available): Return false if !lyxrc.use_gui
9088 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9090 * FontInfo.C (query):
9091 * converter.C (view):
9092 * importer.C (Import):
9093 * exporter.C (Export): Can not -> cannot.
9095 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9097 * BufferView_pimpl.C: allow to create index inset even if
9100 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9102 * buffer.C (getLists): replace boost::tie code with an explicit pair
9103 as boost::tie can break some compilers.
9105 * iterators.h: Added a std:: declaration to the return type of
9108 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9110 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9113 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9115 * iterators.[Ch]: New files. Provide paragraph iterators.
9117 * buffer.C (changeLanguage): Use paragraph iterators.
9118 (isMultiLingual): ditto
9120 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9122 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9124 * FontLoader.C: Support for cmr font.
9126 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9128 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9129 (available): New method.
9131 * FontInfo.C (getFontname): Use scalable fonts even when
9132 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9135 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9137 * converter.C (Formats::view): reverted! Incorrect fix.
9139 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9141 * converter.C (Formats::view): only output the -paper option
9142 if the dvi viewer is xdvi, thereby fixing bug #233429.
9144 2001-08-23 Herbert Voss <voss@perce>
9146 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9148 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9150 * Spacing.h (Spacing): Set space to Default on in the default
9153 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9155 * vc-backend.h (RCS::versionString): add RCS to version
9156 (CVS::versionString): add CVS to version
9158 * vc-backend.C (scanMaster): do not add CVS to version.
9159 (scanMaster): do not add RCS to version
9161 * lyxvc.C (versionString): new method
9163 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9165 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9167 * Spacing.C (set): initialize fval
9169 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9171 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9174 2001-08-16 Juergen Vigna <jug@sad.it>
9176 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9178 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9180 * BufferView_pimpl.C:
9183 * text2.C: setParagraph takes linespacing now
9185 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9187 * LyxAction.C: add internal LFUN_CITATION_INSERT
9189 * LyXView.C: actually apply fix
9191 * bufferlist.C: fix open non-existent file
9193 * lyxfind.C: fix indentation
9195 * lyxfunc.C: remove unneeded assert, fix typo
9197 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9199 * MenuBackend.C: use "Floatname List"
9201 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9203 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9204 when converting LaTeX layout to insetERT.
9205 Generate a non-collapsed float when reading old float
9207 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9209 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9212 2001-08-13 Juergen Vigna <jug@sad.it>
9214 * text.C (fill): return 0 instead of 20 as this seems to be the more
9217 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9219 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9222 2001-08-13 Juergen Vigna <jug@sad.it>
9224 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9226 (SearchBackward): comment out the unlocking of the inset_owner this
9227 should not be needed!
9229 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9231 * Many files: Remove inherit_language, and add latex_language
9233 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9236 2001-08-10 Juergen Vigna <jug@sad.it>
9238 * text.C (prepareToPrint): fixed hfill-width in draw!
9240 * BufferView2.C (selectLastWord): save the selection cursor as this
9241 now is cleared in the function LyXText::clearSelection!
9243 2001-08-08 Juergen Vigna <jug@sad.it>
9245 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9246 BACKSPACE type functions.
9248 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9249 is only cutted from the document but not put in the cut-buffer, where
9250 still the old stuff should be.
9252 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9254 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9256 * tabular.C (SetWidthOfCell): fixed special case where the width
9258 (LeftLine): handle '|' in align_special.
9260 (LeftAlreadyDrawed): ditto
9261 (SetWidthOfCell): ditto
9263 2001-08-07 Juergen Vigna <jug@sad.it>
9265 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9267 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9269 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9270 * lyxlex.[hC]: ditto
9272 2001-08-06 Juergen Vigna <jug@sad.it>
9274 * text.C (getVisibleRow): fix up row clearing a bit.
9276 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9278 * minibuffer.C: make sure the X server sees the changes in the input.
9280 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9282 * paragraph.C (getFont): split into...
9283 (getLabelFont): this
9284 (getLayoutFont): and this
9285 * paragraph_pimpl.C (realizeFont): calling this
9287 * text2.C (getFont): split into...
9288 (getLayoutFont): this
9289 (getLabelFont): and this
9290 (realizeFont): all three calling this
9292 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9295 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9297 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9299 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9301 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9302 layouts from the Quote inset insertion.
9304 2001-08-03 Juergen Vigna <jug@sad.it>
9306 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9308 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9309 only if status not is already CHANGED_IN_DRAW (second level).
9311 * text.C (draw): don't set the need_break_row when inside an
9314 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9316 * buffer.C (parseSingleLyXformat2Token): handle more latex
9319 * bufferview_funcs.[hC]: change function names to
9320 begin with small char, adjust other files.
9322 2001-08-02 André Pönitz <poenitz@gmx.net>
9325 BufferView_pimpl.C: remove broken special code for math-greek
9327 2001-08-02 Juergen Vigna <jug@sad.it>
9329 * BufferView_pimpl.C (update): redone this function so that we
9330 update the text again if there was a CHANGE_IN_DRAW.
9332 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9333 (drawFromTo): added a new internal bool which is used by draw() and
9335 (general): some cursor drawing problems fixed.
9337 2001-08-01 Juergen Vigna <jug@sad.it>
9339 * lyxfind.C (LyXFind): fixed
9340 (SearchForward): ditto
9341 (SearchBackward): ditto
9343 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9344 spurius drawing of the cursor in the main area.
9346 * text2.C (status): small fix which could lead to a segfault!
9347 (clearSelection): remove unneeded BufferView param.
9349 2001-08-01 André Pönitz <poenitz@gmx.net>
9351 * lyxfunc.C: small change due to changed mathed interface
9353 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9355 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9357 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9359 * lyxfunc.c: fail gracefully if file doesn't exist
9364 * BufferView_pimpl.C: IsDirWriteable() proto changed
9366 * LyXView.C: fix updateWindowTitle() to store the last title
9368 2001-07-31 Juergen Vigna <jug@sad.it>
9370 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9371 the font (wrong since using of Paragraph::highestFontInRange).
9373 * paragraph.C (highestFontInRange): added a default_size parameter.
9375 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9376 (setHeightOfRow): reformat
9378 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9380 * converter.[hC] + affected files: move to (inital-char)lowercase
9383 * ParagraphParameters.C (ParagraphParameters): remove commented code
9385 * PainterBase.[Ch]: remove commented code
9387 * LaTeXFeatures.h: add "bool floats" for float.sty
9389 * LaTeXFeatures.C (LaTeXFeatures): init floats
9390 (require): handle float
9391 (getPackages): do it with floats
9393 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9395 * BufferView_pimpl.C (Dispatch): improve handling of
9396 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9398 * commandtags.h: #include lyxfont.h here temporarily to avoid
9401 * bufferlist.h: include LString.h here.
9403 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9405 * text2.C (getStringToIndex): new method.
9407 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9409 * *: Reduced header file dependencies all over.
9411 2001-07-30 Baruch Even <baruch@lyx.org>
9413 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9415 2001-07-29 Baruch Even <baruch@lyx.org>
9417 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9419 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9421 * ParameterStruct.h (endif): add a default constructor to make
9422 sure that all variables is initialized.
9424 * ParagraphParameters.C (ParagraphParameters): adjust
9426 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9428 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9429 index; also, check that there is something to index, and that it
9430 does not span over several paragraphs.
9431 (doubleClick): use WHOLE_WORD_STRICT for double click.
9433 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9435 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9438 2001-07-26 Baruch Even <baruch@lyx.org>
9440 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9441 an InsetFig figure, backwards compatible reading of old figure code.
9443 2001-07-27 Juergen Vigna <jug@sad.it>
9445 * text2.C: font.realize function adaption.
9447 * text.C (draw): add a warnings lyxerr text if needed.
9449 * layout.C: font.realize function adaption.
9451 * language.C: add inherit_language and implement it's handlings
9453 * bufferview_funcs.C (StyleReset): remove language parameter from
9454 font creation (should be language_inherit now).
9456 * bufferparams.C (writeFile): handle ignore_language.
9458 * paragraph.C (getFontSettings): the language has to be resolved
9459 otherwise we have problems in LyXFont!
9461 * lyxfont.C (lyxWriteChanges): added document_language parameter
9462 (update): removed unneeded language parameter
9464 * paragraph.C (validate): fixed wrong output of color-package when
9465 using interface colors for certain fonts in certain environments,
9466 which should not seen as that on the final output.
9468 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9470 * BufferView_pimpl.C:
9475 * LyXAction.C: add thesaurus support
9478 * lyxfind.C: add "once" parameter, for thesaurus, to not
9479 move to the next match
9481 2001-07-26 Juergen Vigna <jug@sad.it>
9483 * lyxfont.C (realize): honor ignore_language too!
9486 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9488 * text.C (draw): one place more for ignore_language to not draw
9491 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9493 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9495 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9497 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9498 the minipage conversion problem.
9500 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9502 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9505 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9507 * BufferView.h: don't forward declare WorkArea
9509 * BufferView.C: don't include WorkArea.h
9511 2001-07-25 André Pönitz <poenitz@gmx.net>
9515 * lyxfunc.C: new LFUN 'math-space'
9517 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9519 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9521 * text2.C (toggleInset): call open/close
9523 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9525 * lyxfunc.C (dispatch): add debug for the disabled case
9527 * font.C (buttonText): make similar to rectText
9529 * buffer.C (readInset): comment out parsing of insetlist and
9532 * PainterBase.C (rectText): small correction
9534 * BufferView_pimpl.C: comment out insettheorem and insetlist
9535 * LyXAction.C: ditto
9536 * commandtags.h: ditto
9538 2001-07-24 Juergen Vigna <jug@sad.it>
9540 * text.C (draw): honor the ignore_language.
9542 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9544 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9546 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9549 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9551 * lyxtext.h: remove unused (and unimplemented) methods
9553 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9555 * text.C (getVisibleRow): honor background color
9558 * Painter.h: remove default color argument for fillRectangle
9560 * text.C (backgroundColor): new method
9562 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9564 * text.C (getVisibleRow): adjust
9566 * font.[Ch] (rectText): new method, metrics
9567 (buttonText): new method, metrics
9569 * PainterBase.[hC]: make rectText and buttonText always draw and take
9572 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9574 * ToolbarDefaults.C (read):
9575 * MenuBackend.C (read): allow escaping in all strings
9577 * BufferView_pimpl.C (insertAndEditInset): new method.
9578 (Dispatch): use insertAndEditInset whenever appropriate.
9580 * BufferView_pimpl.C (insertNote): removed
9582 * BufferView_pimpl.C (smartQuote): new method, moved from
9583 BufferView; if an insetquote cannot be inserted, insert a '"'
9586 * BufferView2.C: remove insertCorrectQuote();
9588 * lyxfunc.C (getStatus): Add support for all remaingin
9591 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9593 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9594 command (necessary to pass " as parameter of self-insert.
9596 * text.C (selectWordWhenUnderCursor):
9597 (selectWord): add word_location parameter
9598 (selectWordWhenUnderCursor): same + remove special code for word
9600 (selectNextWord): use kind() to guess type of insetspecialchar,
9603 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9604 (insertErtContents): create ert insets as collapsed.
9605 (readInset): better compatibility code for Info inset.
9607 2001-07-20 Juergen Vigna <jug@sad.it>
9609 * lyxfunc.C (dispatch): use always LyXFind now!
9611 * text2.C (init): add a reinit flag so that the LyXText can be
9612 reinited instead of deleted and reallocated (used in InsetText).
9614 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9620 2001-07-18 Juergen Vigna <jug@sad.it>
9622 * text.C (selectNextWord): handle insets inside inset by calling
9623 always the bv->text functions so that we can go up the_locking_inset!
9625 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9626 in strange locations when inside an inset!
9628 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9629 handling to include insets.
9631 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9633 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9635 * LyXAction.C (init):
9637 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9638 LIGATURE_BREAK, since the name is so stupid.
9640 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9642 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9645 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9647 * sp_form.[Ch]: remove.
9649 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9651 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9654 * src/buffer.C (readInset): ditto.
9656 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9658 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9659 menuSeparator(), endOfSentenceDot(), ldots() and
9660 hyphenationPoint(), which are therefore removed.
9661 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9663 * LyXAction.C (init):
9664 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9666 * paragraph.C (getWord): removed.
9668 * BufferView_pimpl.C (Dispatch): use last word or selection for
9669 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9671 * lyx_main.C (queryUserLyXDir): do not ask before creating
9672 user_dir, except if it has been named explicitely.
9674 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9676 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9677 a document of zero size.
9679 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9681 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9682 approriately in the c-tor and in require().
9683 (getPackages): output the appropriate LaTeX for natbib support.
9685 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9686 variables "use_natbib" and "use_numerical_citations" when reading the
9688 (readInset): read the various natbib cite commands.
9689 (validate): white-space change.
9691 * bufferparams.[Ch]: new variables "bool use_natbib" and
9692 "bool use_numerical_citations".
9693 (writeFile): output them in the LyX file.
9695 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9697 * lyxfunc.C (getStatus): add support for all the inset insertion
9700 * text2.C (insertInset):
9701 * paragraph.C (insetAllowed):
9702 * BufferView_pimpl.C (insertInset): update to take in account the
9703 renaming of insertInsetAllowed
9705 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9707 * text2.C (getInset): new method. returns inset at cursor position.
9709 * BufferView_pimpl.C (Dispatch): changes because of this.
9711 * LyXAction.C (init): rename open-stuff to inset-toggle.
9713 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9715 * text2.C (toggleInset): renamed from openStuff; use
9718 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9720 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9722 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9724 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9726 * buffer.C (readLyXformat2): Add filename to the error dialog
9728 2001-07-18 Juergen Vigna <jug@sad.it>
9730 * tabular.C (GetCellNumber): put an assert here instead of the check!
9732 2001-07-17 Juergen Vigna <jug@sad.it>
9734 * BufferView_pimpl.C (toggleSelection): adapted too.
9736 * text.C (selectNextWord): adapted for use with insets.
9737 (selectSelectedWord): ditto
9739 2001-07-17 Juergen Vigna <jug@sad.it>
9741 * sp_spell.C (PSpell): fix initialitation order.
9743 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9745 * paragraph.C: spacing
9747 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9749 * sp_spell.C: repair language selection for pspell
9751 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9753 * lyxfunc.h: change more methods to begin with lower char.
9755 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9757 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9758 for unknown layouts.
9760 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9762 * buffer.C (readLyXformat2): Generate an error dialog if there are
9765 2001-07-16 Juergen Vigna <jug@sad.it>
9767 * sp_spell.C: always compile ISpell part.
9769 * lyxrc.C: added use_pspell entry and it's handling.
9771 2001-07-13 Juergen Vigna <jug@sad.it>
9773 * sp_spell.C: removed double includes.
9775 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9777 Consistent use of Lsstream.h:
9778 * Lsstream.h: added using std::stringstream for consistencies sake.
9780 * buffer.C: removed using std::stringstream
9782 * lyxfont.C (stateText):
9783 * paragraph.C (asString):
9784 * text.C (selectNextWord, selectSelectedWord):
9785 * text2.C (setCounter):
9786 * vspace.C (asString, asLatexString):
9787 std::ostringstream -> ostringstream.
9789 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9791 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9792 * commandtags.h: add LFUN_HELP_ABOUTLYX
9793 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9795 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9797 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9799 * lyx_gui_misc.C: remove spellchecker
9800 * lyxfunc.C: showSpellchecker
9802 * sp_ispell.h: added
9803 * sp_pspell.h: added
9805 * sp_form.[Ch]: removed
9806 * spellchecker.[Ch]: removed
9808 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9810 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9812 (simpleTeXSpecialChars): Simply print the input character without
9813 any special translation if pass_thru is set.
9815 * layout.h: Added bool pass_thru to layout class for being able to
9816 implement pass through of a paragraph for Literate Programming.
9818 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9819 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9820 * layout.C (Read): add "passthru" to list of layout tags and add
9821 code to set the pass_thru boolean when it is read.
9823 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9825 * trans_decl.h: remove allowed from KmodInfo
9827 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9831 * paragraph_pimpl.C (erase): use boost::prior
9833 * Painter.C (text): use data() instead of c_str() when length is
9835 * WorkArea.C (putClipboard): ditto
9836 * font.h (width): ditto
9838 * BufferView2.C: use it-> instead of (*it). for iterators
9840 * paragraph_pimpl.C: ditto
9841 * paragraph.C: ditto
9842 * minibuffer.C: ditto
9847 * converter.C: ditto
9849 * Variables.C: ditto
9850 * TextCache.C: ditto
9851 * MenuBackend.C: ditto
9852 * LyXAction.C: ditto
9854 * FloatList.C: ditto
9856 * ColorHandler.C (LyXColorHandler): ditto
9858 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9860 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9862 * text2.C (openStuff): reintroduce this method (which had been
9863 nuked in NEW_INSETS frenzy).
9865 * lyxfunc.C (Dispatch): when an action has not been handled, use
9866 its name in the error message, not its number.
9868 * paragraph.C (inInset): change method name to begin with lowercase.
9871 * text2.C: updates because of this.
9873 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9875 * ToolbarDefaults.C (add): add spaces in error message
9877 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9879 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9880 (readLyXformat2): rename return_par to first_par, use lyxlex's
9881 pushToken and remove the manual push handling.
9882 (parseSingleLyXformat2Token): add another ert comp. variable:
9883 in_tabular, rename return_par to first_par. handle newlines better
9885 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9887 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9889 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9891 * text2.C (getParFromID): removed
9893 * buffer.C (getParFromID): new method moved form lyxtext.
9894 * BufferView2.C (insertErrors): adjust
9895 (setCursorFromRow): adjust
9896 * BufferView_pimpl.C (restorePosition): adjust
9897 * lyxfunc.C (Dispatch): adjust
9898 * undo_funcs.C (textUndo): adjust
9900 (textHandleUndo): adjust
9901 (textHandleUndo): adjust
9903 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9905 * buffer.C: up' the LYX_FORMAT
9907 * lyxfont.h: turn NO_LATEX on as default
9909 * buffer.C (insertErtContents): new methods of tex style compability.
9910 (parseSingleLyXformat2Token): use it several places.
9911 * tabular.C (OldFormatRead): and here
9913 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9915 * text2.C: remove some commented code.
9918 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9919 * trans.C: changes because of the above.
9921 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9923 * text2.C (setCounter): Fix counters bug with bibliography layout.
9925 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9927 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9928 own member functions
9929 (simpleTeXSpecialChars): ditto
9931 2001-07-06 Juergen Vigna <jug@sad.it>
9933 * a lot of files: changed the access to LyXText::status and the
9934 call of undo-functions.
9936 * undo.[Ch]: added a inset_id to the undo informations.
9938 * undo_funcs.[Ch]: added and moved here all undo functions.
9940 * lyxtext.h: give the status enum a weight, made status_ a private
9941 variable and made accessor functions for it, removed the whole bunch
9942 of undo-functions as they are now in their own file, make some
9943 functions publically available. Added function ownerParagraph with
9946 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9947 made InInset() a const function, added getParFromID() function.
9949 * buffer.[Ch]: added const version for inset_iterator functions,
9950 added getInsetFromID() function.
9952 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9953 changed undo functions for new version.
9955 2001-07-05 Juergen Vigna <jug@sad.it>
9957 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9958 unknow mechanism does not call the proper constructor but only this
9959 one also if I request the other!?
9961 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9963 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9965 * text2.C (LyXText): use initialization lists.
9967 * lyxtext.h (Selection): initialize set_ and mark_
9968 (init): remove method
9970 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9972 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9974 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9976 * screen.[Ch]: change method names to begin with lowercase
9978 * BufferView_pimpl.C (updateScrollbar): simplify further and
9979 hopefully make it a bit faster.
9981 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9983 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9984 calling directly xforms functions.
9986 * Painter.C (Painter):
9987 * lyx_cb.C (MenuWrite):
9988 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9991 * lyx_gui.C: remove bogus guiruntime extern declaration.
9993 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9995 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9997 (redoDrawingOfParagraph): ditto
9998 (redoParagraphs): ditto
9999 (cutSelection): don't create a object for CutAndPaste use the
10000 static method directly
10001 (pasteSelection): ditto
10003 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10006 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10008 * modifications to some other files because of this.
10010 * Makefile.am (lyx_SOURCES): add XFormsView
10012 * XFormsView.[Ch]: new files
10014 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10015 the main window. Move the gui dependent stuff to XFormsView
10017 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10019 * tabular.C (GetCellInset): update cur_cell also in the row/col
10020 version of this function.
10022 * lyxfunc.C: no need to include figure_form.h here.
10028 * lyxvc.C: no need to include forms.h here.
10030 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10032 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10034 * lyxfunc.C (Dispatch):
10036 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10037 constructor argument.
10039 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10041 * paragraph.C (Paragraph): dont't clear, and just set layout.
10042 (makeSameLayout): use params's copy contructor.
10044 * ParagraphParameters.[Ch] (makeSame): delete method
10046 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10048 * Variables.[Ch]: fix indentation, rename set to isSet
10050 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10052 * lyxfunc.C (Dispatch): fix typo
10054 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10056 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10059 * bufferlist.C: include assert.h for emergencyWrite().
10061 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10063 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10064 give up at last (bug #425202) !
10066 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10072 * spellchecker.C: strip spellchecker options and bring up
10073 preferences tab instead
10075 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10077 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10078 the istringstream constructor
10080 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10082 * paragraph.C (getLayout): fix return value
10084 * paragraph.h: do not declare getLayout as inline.
10086 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10088 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10090 * lyxcursor.h (operator<): new func
10091 (operator>): new func
10092 (operator>=): new func
10093 (operator<=): new func
10095 * text.C (changeCase): use selection.start and selection.end
10096 (changeRegionCase): require from to be <= to. Require par to be a
10099 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10101 2001-06-27 Juergen Vigna <jug@sad.it>
10103 * text.C (cursorLeftOneWord): changed to return the cursor and added
10104 overlay with BufferView * parameter which calls this one.
10106 (selectWord): use new getWord function.
10107 (changeCase): renamed from changeWordCase as and extended to work
10108 also on selections.
10110 * lyxtext.h: added enum word_location
10112 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10113 changeCase as this operates now also on selections.
10115 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10117 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10119 * many files: send debug output to Debug::INFO instead of
10122 * converter.C (View):
10124 (Move): send debug output to Debug::FILES instead of console.
10126 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10128 * lyxfunc.C (getStatus): use func_status
10130 * func_status.h: new header, describing the results of
10131 LyXFunc::getStatus;
10133 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10136 2001-06-25 The LyX Project <jug@sad.it>
10138 * buffer.C (sgmlOpenTag):
10140 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10142 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10144 * text2.C: remove some dead code
10146 * tabular.C (GetCellInset): store the last cell checked (gotten)
10148 * tabular.h: add the helper for the speedup
10150 * lyxtext.h: remove some dead code
10152 2001-06-26 The LyX Project <Asger>
10154 * paragraph.C: Change export to LaTeX of alignment to
10155 \begin{center} and family for better roundtrip work with reLyX.
10157 * Tune the math drawing a bit.
10159 2001-06-25 The LyX Project <Asger>
10161 * LColor.C (LColor): New color for math background. New color
10164 2001-06-25 The LyX Project <jug@sad.it>
10166 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10168 * lyxfunc.C (Open):
10169 * bufferlist.C (newFile): do not restrict to files ending with
10172 * BufferView_pimpl.C (MenuInsertLyXFile):
10174 2001-06-24 The LyX Project <jug@sad.it>
10176 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10179 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10181 * lyxtext.h: rename most methods to begin with a small char.
10182 Lots of changes because of this.
10184 * paragraph.C (Paragraph): do not call fitToSize
10185 (erase): call Pimpl::erase
10186 (insertChar): call Pimpl::insertChar
10187 (insertInset): call Pipl::insertInset
10188 (breakParagraph): do not call fitToSize
10189 (breakParagraphConservative): do not call fitToSize
10190 (fitToSize): remove method
10192 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10194 2001-06-24 The LyX Project <Asger>
10196 * Fix Qt compilation^2
10198 2001-06-24 The LyX Project <jug@sad.it>
10200 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10201 depthHook(getDepth()-1).
10204 * ParagraphParameters.h:
10205 * ParameterStruct.h: change type of depth to unsigned int ==
10206 depth_type. Many adaptations to other files before of that.
10208 2001-06-24 The LyX Project <Asger>
10210 * Fix Qt compilation.
10212 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10214 * paragraph.h: renamed several methods to begin with small letter.
10215 several changes to many parts of the code because of this.
10217 2001-06-23 The LyX Project <jug@sad.it>
10219 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10220 rewritten to discard all double spaces when KeepEmpty is off
10221 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10222 to only handle newlines but not fiddle with spaces and friends.
10224 * lyxfunc.C (MenuNew): when doing 'new from template', use
10225 template_path as default directory
10227 2001-06-23 The LyX Project <Asger>
10229 * Clean-up of header file includes all over
10230 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10232 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10234 * paragraph.h: renamed from lyxparagraph.h
10236 2001-06-23 Asger <lyx@violet.home.sad.it>
10238 * Buffer.h: Removed Buffer::resize
10239 * BufferList.h: Removed BufferList::resize
10240 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10241 the document lazily when we change the width, or the font settings.
10243 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10245 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10247 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10249 * buffer.h: remove out of date comment
10251 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10254 * screen.C: fix "theoretical" GC leak
10256 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10258 * LaTeX.C (scanAuxFile):
10259 (deplog): remove trailing \r when reading stream (useful under
10262 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10264 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10265 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10266 and BufferView::theLockingInset(Inset*), so should use them and not
10267 access bv_->text->the_locking_inset directly.
10269 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10271 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10274 * tex-defs.h: remove old unused file
10276 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10278 * BufferView_pimpl.C: fix typo, remove minibuffer message
10279 when buffer has loaded
10281 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10283 * lyxfunc.C (Dispatch): use stringstream
10284 (MenuNew): use stringstream
10285 (Open): use stringstream
10287 * importer.C (Import): use stringstream
10289 * bufferview_funcs.C (CurrentState): use stringstream
10291 * LaTeX.C (run): use stringstream
10293 * BufferView_pimpl.C (savePosition): use stringstream
10294 (restorePosition): use stringstream
10295 (MenuInsertLyXFile): use stringstream
10297 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10310 * vspace.C: removed // -*- C++ -*- as first line.
10313 * version.h: added // -*- C++ -*- as first line.
10315 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10317 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10319 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10322 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10324 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10327 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10329 * gettext.C: include LString.h even when --disable-nls is on.
10331 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10333 * converter.h (Get): changed argument type from int to
10334 FormatList::size_type to avoid unnecessary conversion.
10336 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10339 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10341 * gettext.h: include LString.h even when --disable-nls is on.
10343 2001-06-07 Juergen Vigna <jug@sad.it>
10345 * text.C (BreakAgain): subst spaces with tabs.
10347 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10348 (resizeInsetsLyXText): set force on resizeLyXText.
10350 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10352 * gettext.h (gettext_init):
10353 (locale_init): use a real definition instead of a macro
10355 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10357 * Bufferview_pimpl.C:
10359 * LColor.C: further lcolor tidies
10361 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10363 * BufferView_pimpl.C (updateScrollbar): simplify.
10365 * BufferView2.C: don't include insets/insetinfo.h, change
10366 prototype for insertInset and call the Pimpl version. let
10367 updateInset call Pimpl version.
10369 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10370 gotoInset to BufferView::Pimpl
10372 2001-06-01 Juergen Vigna <jug@sad.it>
10374 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10375 inside a LockingInset (is the update needed at all?).
10377 2001-05-31 Juergen Vigna <jug@sad.it>
10379 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10380 here not the old one otherwise how should we compare it afterwards
10383 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10388 * FontInfo.C: bring C functions into global namespace when
10391 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10393 * LString.h: make sure config.h has been loaded before LString.h.
10395 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10396 (one for each char read by EatLine!).
10398 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10401 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10403 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10404 to the same as the par we break from
10406 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10408 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10410 * MenuBackend.C (expand): also create menu entries for wide
10411 versions of the floats.
10413 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10415 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10417 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10418 frontends/Makefile.am
10424 * tabular.C (getTokenValue): add std::
10426 * tabular-old.C (getTokenValue): add std::
10427 (getTokenValue): ditto
10428 (getTokenValue): ditto
10430 * screen.C (ToggleSelection): adjust
10432 * lyxtext.h: put selection cursors inside a Selection struct.
10434 * lyxfunc.C (moveCursorUpdate): adjust
10436 * lyxfont.C (latexWriteStartChanges): add std::
10438 * lyxfind.C: adjust
10440 * font.h: delete with(char const *, LyXFont const &)
10442 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10444 * FontInfo.C (getFontname): add std::
10446 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10447 (workAreaButtonPress): adjust
10448 (tripleClick): adjust
10450 (moveCursorUpdate): adjust
10453 * BufferView2.C (gotoInset): adjust
10455 2001-05-30 Juergen Vigna <jug@sad.it>
10457 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10458 to check pspell I add this as default as I now have new pspell
10459 libraries and they seem to use this.
10461 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10463 * text2.C (CutSelection): make the cursor valid before the call to
10466 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10468 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10469 relied on 0 terminated strings and other horrors. Bug found due to
10470 the new assert in lyxstring!
10472 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10475 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10477 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10480 * lyxfunc.C (processKeySym): change method of getting to the
10483 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10484 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10485 * BufferView_pimpl.[Ch]: here as private methods.
10487 2001-05-28 Juergen Vigna <jug@sad.it>
10489 * text.C (SetHeightOfRow): added the update() call again as it is
10490 needed to initialize inset dimensions!
10492 2001-05-16 Juergen Vigna <jug@sad.it>
10494 * text2.C (SetCharFont): Add new function with BufferView * and
10495 bool toggleall parameters for setting insets internal fonts.
10496 (SetFont): Freeze the undo as we may change fonts in Insets and
10497 all this change should be inside only one Undo!
10499 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10500 setting font's in insets as for them we have the SetFont function!
10502 2001-05-15 Juergen Vigna <jug@sad.it>
10504 * text2.C (ClearSelection): to be sure we REALLY don't have any
10507 * tabular.C (TeXCellPreamble): fixed the left border problem for
10510 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10512 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10515 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10517 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10518 LFUN_BREAKPARAGRAPH.
10520 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10521 help test to "internal only", similar for LFUN_INSERT_URL
10523 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10524 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10525 auto_region_delete and deadkeys.
10527 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10530 * LColor.C: remove some dead entries, tidy a little
10532 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10534 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10536 (Dispatch): implement LFUN_ESCAPE
10538 * commandtags.h: add LFUN_ESCAPE
10540 * LyXAction.C (init): add entry for LFUN_ESCAPE
10542 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10543 Remove commented code.
10544 (insertNote): moved here
10545 (open_new_inset): moved here
10547 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10550 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10552 * kbmap.C (findbinding): clean it up and make it work correctly.
10554 * lyx_main.C (init): do not pass argc and argv as parameters
10556 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10558 * buffer.C: fix path for OS/2 & Win32
10562 * lyx_main.C: Added os:: class.
10564 * os2_defines.h: update
10566 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10568 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10569 better by trying again with reduced state.
10571 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10573 * lyxrc.C (read): print error about invalid key sequence only when
10574 debugging (because not all latinX keysyms are known to some X
10577 * kbsequence.C (getiso): add a few std:: qualifiers
10578 (getiso): comment out extra return statement.
10580 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10582 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10584 (Dispatch): enhance the accent inset a bit. (not perfect)
10586 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10588 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10590 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10592 * bufferlist.C (emergencyWrite): fix assert() call
10594 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10596 * text.C (InsertChar): Added trivial patch to only send the "you
10597 can not do multiple spaces this way" message once during a
10600 2001-05-08 Baruch Even <baruch@lyx.org>
10602 * Makefile.am: Changed order of libraries to get LyX to link properly
10603 with the gnome frontend.
10605 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10607 * LaTeXFeatures.h: add a std:: qualifier
10609 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10611 * paragraph.C (String): use stringstream
10613 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10615 * paragraph.C (writeFile): remove footflag arg
10617 * buffer.C (makeLaTeXFile): use stringstream
10618 (latexParagraphs): remove footnot gurba
10620 * LaTeXFeatures.C (getPackages): use stringstream
10621 (getMacros): likewise
10622 (getTClassPreamble): likewise
10623 (getFloatDefinitions): new method
10625 * paragraph.C (writeFile): reindent
10628 * WorkArea.h: revert the xpos + etc changes.
10630 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10632 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10634 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10635 (pasteSelection): likewise
10636 * text2.C (CreateUndo): likewise
10638 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10640 * minibuffer.C (peek_event): temporarily reduce the functionality
10641 of the minibuffer (to allow args on lfuns)
10643 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10644 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10646 * buffer.C (readInset): add compability reading of old float
10647 lists, add reading of new style float list.
10648 (readInset): avoid reevaluation of inscmd.getCmdName()
10649 (getLists): reindent
10651 * MenuBackend.C (MenuItem): implement parsing of
10652 md_floatlistinsert and md_floatinsert.
10653 (expand::LastFiles): move initalizaton of iterators out of loop,
10654 avoid reevaluation.
10655 (expand::Documents): introduce typdedef vector<string> Strings,
10657 (expand::ExportFormats): introduce typedef vector<Format const *>
10658 Formats, and use it.
10659 (expand): implement FloatListInsert and FloatInsert.
10661 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10662 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10663 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10665 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10667 (Dispatch::LFUN_FLOAT_LIST): implement
10669 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10671 * LaTeX.C (run): Fix problem with --export code.
10673 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10675 * BufferView.[Ch] (workarea): removed.
10676 (getClipboard) new method; wrapper for workarea()->getClipboard()
10678 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10681 * WorkArea.h (width, height, xpos, ypos): These methods all
10682 returned the dimensions of the work_area sub-area of WorkArea,
10683 resulting in a position error if the WorkArea were resized. Now
10684 return the dimensions of the entire WorkArea.
10686 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10688 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10690 * LaTeX.C (deplog): correct the syntax of regex reg1
10692 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10694 * undo.C: remove !NEW_INSETS cruft
10696 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10698 * text2.C: remove !NEW_INSETS cruft
10700 * text.C: remove !NEW_INSETS cruft
10702 * tabular.C: remove !NEW_INSETS cruft
10704 * spellchecker.C: remove !NEW_INSETS cruft
10706 * lyxtext.h: remove !NEW_INSETS cruft
10708 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10710 * lyxfunc.C: remove !NEW_INSETS cruft
10712 * lyxfind.C: remove !NEW_INSETS cruft
10714 * lyx_cb.C: remove !NEW_INSETS cruft
10716 * figureForm.C: remove !NEW_INSETS cruft
10718 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10720 * buffer.[Ch]: remove !NEW_INSETS cruft
10722 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10724 * CutAndPaste.C: remove !NEW_INSETS cruft
10726 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10728 * BufferView2.C: remove !NEW_INSETS cruft
10730 * BufferView.h: remove !NEW_INSETS cruft
10732 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10734 * Lsstream.h: include LString.h before the sstream headers to
10735 fix problem with gcc 2.95.3 and lyxstring
10737 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10739 * lyx_main.C: add using directives when needed for C functions
10740 declared in std:: namespace.
10742 2001-04-27 Juergen Vigna <jug@sad.it>
10744 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10745 (SetHeightOfRow): comment out the update call should not be needed!
10747 2001-04-13 Juergen Vigna <jug@sad.it>
10749 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10750 (LyXTabular): tried to minimize operator= operations (and realized
10751 hopfully Lars wish).
10753 2001-04-27 Juergen Vigna <jug@sad.it>
10755 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10757 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10759 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10761 * buffer.C (readInset): hack to make listof algorithm work
10763 * BufferView_pimpl.C: hack to make listof algorithm work
10765 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10767 * LyXAction.C: removed all !NEW_INSETS cruft
10768 (init): moved lfun_item in method
10770 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10772 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10774 * BufferView2.C (theLockingInset): white space.
10776 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10778 * minibuffer.C: include <iostream>
10780 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10782 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10784 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10786 * text.[Ch] (TransposeChars): new method
10788 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10790 * call message directly through LyXView instead of through LyXFunc
10791 * BufferView2.C: adjust
10792 * BufferView_pimpl.C: adjust
10793 * FontLoader.C: adjust
10795 * bufferview_funcs.C: adjust
10796 * converter.C: adjust
10797 * figureForm.C: adjust
10798 * importer.C: adjust
10800 * lyx_gui_misc.C: adjust
10801 * lyxfunc.C: adjust
10804 + more files in subdirs
10806 * lyxparagraph.h (size): move up int file
10809 * adjust all uses of Assert to lyx::Assert.
10811 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10812 lyxfunctional in namespace lyx
10813 * layout.C (hasLayout): ditto
10816 (delete_layout): ditto
10817 (NumberOfClass): ditto
10818 * converter.C (GetFormat): ditto
10823 * bufferlist.C (getFileNames): ditto
10824 (emergencyWriteAll): ditto
10827 * MenuBackend.C (hasSubmenu): ditto
10830 * BufferView_pimpl.C (getInsetByCode): ditto
10832 2001-04-18 Juergen Vigna <jug@sad.it>
10834 * vspace.C (asLatexString): fixed the 100% problem.
10836 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10838 * lyxfunc.C (Dispatch):
10840 * minibuffer.h: add a few std:: qualifiers
10842 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10844 * minibuffer.[Ch]: reimplement so that commands is initiated and
10845 run from lyxfunc, simplified som handling, and made the completion
10846 and history code for complete. wip.
10848 * lyxfunc.C (processKeySym): call message
10849 (miniDispatch): new temporary method
10850 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10851 (LFUN_MESSAGE): implement
10852 (LFUN_MESSAGE_PUSH): implement
10853 (LFUN_MESSAGE_POP): implement
10854 (initMiniBuffer): the initial/defualt minibuffer message.
10856 * lyxfont.[Ch]: inline some more getters
10858 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10860 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10862 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10863 (AutoSave): use LFUN_MESSAGE
10864 (Reconfigure): ditto
10866 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10868 * figureForm.C: use LFUN_MESSAGE
10870 * converter.C (runLaTeX): use LFUN_MESSAGE
10872 * bufferview_funcs.C: use LFUN_MESSAGE
10874 (changeDepth): ditto
10876 * bufferparams.h: use boost::
10878 * bufferlist.h: inherit privately from noncopyable
10880 * bufferlist.C (loadLyXFile): remove some commented code.
10882 * buffer.C (runChktex): use LFUN_MESSAGE
10884 * ShareContainer.h: inherit privately from noncopyable
10886 * ParagraphParameters.[hC] (depth): inline it.
10888 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10890 (message): new method
10891 (messagePush): ditto
10892 (messagePop): ditto
10893 (show): init minibuffer
10894 (showState): direct call
10896 * LaTeX.[Ch]: inherit privately from noncopyable
10897 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10898 instead of WriteStatus.
10900 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10902 * BufferView_pimpl.C (buffer): don't init minibuffer
10903 (workAreaButtonPress): use LFUN_MESSAGE
10904 (workAreaButtonRelease): ditto
10905 (savePosition): ditto
10906 (restorePosition): ditto
10907 (MenuInsertLyXFile): ditto
10908 (workAreaExpose): don't init minibuffer
10909 (update): remove commented code, simplify
10911 * BufferView2.C (openStuff): use LFUN_MESSAGE
10912 (toggleFloat): ditto
10915 (copyEnvironment): ditto
10916 (pasteEnvironment): ditto
10921 (updateInset): remove some commented code
10923 * lastfiles.h: inherit privately from noncopyable
10926 * lyx_main.h: ditto
10928 * lyxlex_pimpl.h: ditto
10930 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10931 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10932 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10934 * LyXAction.h: inherit privately from noncopyable, add methods
10935 func_begin, func_end, returning iterators to the func map.
10937 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10938 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10939 (func_begin): new method
10940 (func_end): new method
10942 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10944 (copySelection): ditto
10945 (pasteSelection): ditto
10947 * BufferView.C: whitespace change
10948 * BufferView.h: inherit privately from noncopyable
10950 2001-04-16 Allan Rae <rae@lyx.org>
10952 * tabular-old.C (l_getline):
10953 * spellchecker.C (sc_check_word):
10954 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10955 an unrecognised preprocessor directive. So ensure they're wrapped.
10957 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10959 * src/exporter.C (Export): Give an error message when path to file
10962 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10964 * LaTeX.C (deplog): Always check that foundfile exists.
10966 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10969 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10971 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10973 * tabular.[Ch] (getLabelList): implement new method
10975 * minibuffer.h: comment ouf setTiimer
10977 * minibuffer.C (ExecutingCB): constify res
10978 (peek_event): constify s
10979 (Set): constify ntext
10980 (Init): constify nicename
10982 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10984 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10985 (savePosition): use two params to Minibuffer::Set
10986 (restorePosition): ditto
10988 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10990 * lyx_main.C: include language.h
10992 * Makefile.am (lyx_main.o): add language.h
10994 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11000 * CutAndPaste.C: include gettext.h
11002 * lyxfont.h: remove old hack with ON and OFF.
11005 * lyxfont.h: do not include language.h...
11010 * bufferview_funcs.C:
11016 * paragraph.C: ... but do it here instead
11018 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11020 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11022 * tabular.C: small reformat
11024 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11027 (BreakParagraph): ditto
11028 (SetOnlyLayout): ditto
11031 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11034 * lastfiles.C: removed most using decl, add std:: where needed
11036 * buffer.C: ws changes
11038 * MenuBackend.C (class compare_format): put into anon namespace
11039 (expand): constify label, names, action, action2
11042 * text.C (SingleWidth): constify font
11043 (IsBoundary): constify rtl2
11044 (GetVisibleRow): constify ww
11046 * LaTeX.C (deplog): constify logfile
11048 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11050 (workAreaExpose): constify widthChange, heightChange
11052 * lyxrow.C (par): moved
11055 * lyxrow.h: as inlines here
11057 * lyxfont.h (shape): moved from lyxfont.C
11058 (emph): moved from lyxfont.C
11060 * lyxfont.C (LyXFont): use initialization list for all
11062 (shape): move to lyxfont.h as inline
11063 (emph): move to lyxfont.h as inline
11066 2001-04-04 Juergen Vigna <jug@sad.it>
11068 * vspace.C: had to include stdio.h for use of sscanf
11070 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11073 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11074 independent of xforms.
11076 2001-04-02 Juergen Vigna <jug@sad.it>
11078 * spellchecker.C: fixed namespace placing!
11080 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11082 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11083 the LyXParagraph * is 0.
11085 2001-03-29 Juergen Vigna <jug@sad.it>
11087 * vspace.C: added support for %, c%, p%, l%.
11088 (stringFromUnit): added helper function.
11089 (asLatexString): changed to give right results for the %-values.
11091 * buffer.C: convert the widthp in a width%.
11093 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11095 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11098 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11099 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11101 * lyx_cb.[Ch]: see above.
11103 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11107 * lyx.[Ch]: replaced by figure_form.[Ch].
11111 * lyxfunc.C: changed headers associated with above changes.
11113 2001-03-27 Juergen Vigna <jug@sad.it>
11115 * BufferView_pimpl.C: set the temporary cursor right!
11117 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11119 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11121 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11123 * LString.h: removed "using std::getline"!
11125 * BufferView_pimpl.C (Dispatch): changes due to changes in
11126 InsetInclude::Params.
11128 * buffer.C (tag_name): removed redundant break statements as they were
11129 producing lots of warnings with my compiler.
11131 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11133 * LString.h: add "using std::getline" when using the real <string>.
11135 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11137 * buffer.C: removed bitset usage.
11138 PAR_TAG moved to an anonymous name space.
11139 (tag_name): new funtion, also in the anonymous namespace.
11140 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11141 (makeDocBookFile): clean code. Completed transition from string arrays
11143 (SimpleDocBookOnePar): code clean.
11145 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11147 * tabular.C: add some comments.
11149 2001-03-22 Juergen Vigna <jug@sad.it>
11151 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11152 compatibility read a bit and fixed bug with minipage in different
11155 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11157 * buffer.C (pop_tag): removed.
11158 (push_tag): removed.
11159 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11160 array replaced with vector. Added support for CDATA sections.
11161 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11163 (makeDocBookFile): XML conformant declaration of CDATA section,
11164 fixed bug related to <emphasis> in the first paragraph char.
11165 (sgmlOpenTag): exclude empty tags.
11166 (sgmlCloseTag): ditto.
11168 * buffer.h (pop_tag): removed.
11169 (push_tag): removed.
11171 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11173 * language.h (Languages): added size_type and size().
11175 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11177 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11178 response on compability reading of minipages. One probliem is that
11179 the old usage of minipages was «flertydig»
11181 * several files here and in subdirs: don't use static at file
11182 scope use anon namespaces instead.
11184 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11186 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11187 LaTeX output. This is necessary for Literate document
11190 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11192 * buffer.C: insert hfill when needed.
11194 * tabular.C (l_getline): use string::erase, small whitespace change.
11196 * BufferView_pimpl.C: try the anon namespace.
11197 * WorkArea.C: ditto
11199 2001-03-16 Juergen Vigna <jug@sad.it>
11201 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11202 otherwise it won't open options-dialogs.
11204 * buffer.C: honor pextraWidth(p) on converting minipages.
11206 * tabular.C (l_getline): changed the functions to strip trailing \r.
11208 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11210 * BufferView_pimpl.C:
11211 * minibuffer..C: added "using SigC::slot" declaration.
11213 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11215 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11221 * paragraph.C: ditto
11223 * lyxtext.h: NO_PEXTRA
11225 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11227 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11228 * ParameterStruct.h: ditto
11229 * ParagraphParameters.h: ditto
11230 * lyxparagraph.h: ditto
11232 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11234 * buffer.C: add compability for minipage alignment.
11235 (latexParagraphs): remove unwanted pextra check.
11237 * several files: remove CXX_WORKING_NAMESPACES
11239 * buffer.C (pop_tag): tie is in namespace boost
11241 * BufferView.h: noncopyable is in namespace boost
11243 * lyx_main.h: ditto
11246 * lastfiles.h: ditto
11247 * bufferlist.h: ditto
11248 * ShareContainer.h: ditto
11250 * LyXAction.h: ditto
11253 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11255 * Merging changes from BRANCH_MVC back into HEAD.
11257 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11259 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11261 * BufferView_pimpl.C: change from intl.C
11265 * Makefile.am: move combox.*
11271 * intl.C: remove dialog (covered by prefs)
11273 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11275 * lyxfunc.C (Dispatch): removed redundant break statement.
11277 2001-03-14 Juergen Vigna <jug@sad.it>
11279 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11281 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11283 * buffer.C: add hack to fix compability reading of minipages.
11285 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11287 * buffer.C (getLists): Cleanup.
11289 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11291 * lyxfont.C (update): don't honor toggleall on font size.
11293 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11297 * Makefile.am: moved to frontends/xforms/
11301 * BufferView_pimpl.C: changes for moved mathpanel
11303 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11305 * gettext.h: fix gettext_init() in --disable-nls
11307 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11309 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11311 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11314 * lyx.h: strip external form
11316 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11318 * BufferView_pimpl.C: add comment, destroySplash()
11320 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11322 * BufferView_pimpl.C:
11326 * lyxfunc.C: use re-worked insetinclude
11328 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11330 * buffer.C: add using std::stringstream.
11332 * lyx_cb.C: readd using std::ios.
11334 * buffer.C: add using std::map.
11336 * BufferView_pimpl.C: add using std::vector.
11338 * ShareContainer.h: add std:: to swap.
11340 * buffer.h: add some typedefs
11341 * buffer.C (getLists): use them
11342 (getLists): renamed from getTocList.
11343 add a counter for the different float types and use it in the
11345 (getLists): use the same counter for the NEW_INSETS and the "non"
11348 * lyx_cb.h: remove unused items, includes, using etc.
11350 * ShareContainer.h: remove some commented code, add more comments
11351 and "documentation".
11353 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11355 * buffer.C (getTocList): make the list also when NEW_INSETS is
11358 * buffer.h: remove TocType
11360 * buffer.C (getTocList): change to return a map<string,
11361 vector<TocItem> >, implement for dynamic number of list.
11363 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11364 * text2.C (PasteSelection): adjust
11365 * CutAndPaste.C (pasteSelection): adjust
11367 * FloatList.C (FloatList): update from the new_insets branch.
11368 * Floating.[Ch]: ditto
11369 * LaTeXFeatures.C: ditto
11371 * lyxlex_pimpl.C: ditto
11373 * paragraph.C (Last): remove when NEW_INSETS is defined.
11375 * other file: changes because of the above.
11377 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11379 * lyxparagraph.h: rename next to next_, previous to previous_,
11380 make them private for NEW_INSETS. Rename Next() to next(),
11381 Previous() to previous().
11383 * other files: changes because of the above.
11385 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11388 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11391 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11393 * main.C (main): pass lyx_localedir to gettext_init().
11395 * gettext.h: remove locale_init and gettext_init macros
11397 * gettext.C (locale_init): new function
11398 (gettext_init): new function
11400 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11403 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11405 * Moved credits to frontends:
11406 * credits.[Ch]: removed
11407 * credits_form.[Ch]: removed
11408 * lyx_gui_misc.C: remove credits stuff
11411 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11413 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11415 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11416 unneeded destructor.
11418 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11419 a standalone pointer again.
11421 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11423 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11429 * ToolbarDefaults.C:
11438 * BufferView_pimpl.C: use new file dialog in GUII
11441 * lyx_cb.C: remove LayoutsCB to Toolbar
11443 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11445 * ShareContainer.h (get): add std:: qualifier
11447 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11449 * ShareContainer.h: define a proper ShareContainer::value_type
11450 type (and use typename to please compaq cxx)
11452 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11454 * lyxparagraph.h: move serveral local vars to
11455 ParameterStruct/ParagraphParameters., use ShareContainer in
11456 FontTable., make vars in FontTable private and add getter and
11459 * paragraph.C: changes because of the above.
11461 * lyxfont.h: remove copy constructor and copy assignment. (the
11462 default ones is ok), move number inside FontBits. move inlines to
11465 * lyxfont.C: add number to initializaton of statics, move several
11466 inlines here. constify several local vars. some whitespace
11467 cleanup. Dont hide outerscope variables.
11469 * Spacing.h: add two new constructors to match the set methods.
11471 * ShareContainer.h: new file, will perhaps be moved to support
11473 * ParameterStruct.h: new file
11475 * ParagraphParameters.h: new file
11477 * ParagraphParameters.C: new file
11479 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11480 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11482 * BufferView_pimpl.C: ParagraphParameter changes.
11483 * buffer.C: Likewise.
11484 * bufferview_funcs.C: Likewise.
11485 * text.C: Likewise.
11486 * text2.C: Likewise.
11488 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11490 * lyxfind.C (LyXReplace): do not redefine default argument in
11492 (IsStringInText): ditto
11493 (SearchForward): ditto
11494 (SearchBackward): ditto
11496 2001-03-06 Juergen Vigna <jug@sad.it>
11498 * lyxfind.C (IsStringInText): put parentes around expressions.
11500 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11502 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11504 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11506 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11508 * stl_string_fwd.h: add comment
11510 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11513 * tabular.C: remove unused DocBook methods
11519 killed DO_USE_DEFAULT_LANGUAGE
11521 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11523 * lyx_gui.C: do not include language.h.
11525 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11526 arguments in function implementation.
11528 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11530 * BufferView_pimpl.C: add <ctime>
11532 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11534 * BufferView_pimpl.C: add using std::find_if
11536 2001-02-27 José Matos <jamatos@fep.up.pt>
11538 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11541 2001-02-11 José Matos <jamatos@fep.up.pt>
11543 * buffer.C (makeDocBookFile): command styles now have a parameter as
11544 "title" by default.
11546 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11548 * layout_forms.[Ch]: removed
11549 * lyx_cb.[Ch]: out character
11550 * lyx_gui.C: out character
11551 * lyx_gui_misc.C: out character
11552 * bufferview_funcs.C: : out character,
11553 added toggleall as parameter in ToggleAndShow
11555 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11557 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11559 * text2.C (SetCurrentFont): Disable number property at boundary.
11561 2001-02-26 Juergen Vigna <jug@sad.it>
11563 * lyxfunc.C (getStatus): added a string argument override function so
11564 that this is correctly called from LyXFunc::Dispatch if it contains a
11565 do_not_use_argument which is used!
11566 (Dispatch): added check for "custom" export and call appropriate func.
11568 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11570 * lyxrc.C: Add language_command_local, language_use_babel and
11571 language_global_options.
11573 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11575 * buffer.C (makeLaTeXFile): Use language_use_babel and
11576 language_global_options.
11578 2001-02-23 Juergen Vigna <jug@sad.it>
11580 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11581 which works with LyXText and putted it inside BufferView. Here now we
11582 only call for that part the BufferView::Dispatch() function.
11584 * BufferView.C (Dispatch): added.
11586 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11587 functions which needs to use a LyXText over from LyXFunc.
11588 (MenuInsertLyXFile): added
11589 (getInsetByCode): added
11590 (moveCursorUpdate): added
11591 (static TEXT): added
11593 2001-02-22 Juergen Vigna <jug@sad.it>
11595 * BufferView_pimpl.C (update): call a status update to see if LyXText
11598 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11600 * vc-backend.C (revert): implement for CVS
11601 (getLog): implement for CVS
11603 2001-02-20 Juergen Vigna <jug@sad.it>
11605 * text2.C (ClearSelection): added BufferView param for inset_owner call
11607 * lyxfunc.C (TEXT): added this function and use it instead of
11608 directly owner->view()-text of getLyXText().
11610 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11612 * src/layout_forms.C: out preamble
11613 * src/layout_forms.h: out preamble
11614 * src/lyx_cb.C: out preamble
11615 * src/lyx_cb.h: out preamble
11616 * src/lyx_gui.C: out preamble
11617 * src/lyx_gui_misc.C: out preamble
11618 * src/lyxfunc.C: connect with guii preamble
11620 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11622 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11624 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11626 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11627 whether to run bibtex.
11629 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11631 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11633 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11635 * Makefile.am (lyx_SOURCES): removed bibforms.h
11637 * vspace.h: doxygen
11639 * text.C (GetVisibleRow): make several local vars const
11641 * tabular.C: small cleanup.
11643 * lyxserver.C (callback): use compare instead of strncmp
11645 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11646 inlines to after class or to paragraph.C
11648 * lyxfont.h: remove friend operator!=
11650 * converter.h: move friend bool operator< to non friend and after
11653 * combox.h: small cleanup
11655 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11656 to inlines after class def.
11658 * buffer.C (pop_tag): use string operations instead of strcmp
11660 * bmtable.c: doxygen, small cleanup
11662 * LaTeX.h: remove friend operator==
11664 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11676 * BufferView_pimpl.C:
11677 * BufferView.[Ch]: remove cruft
11679 2001-02-14 Juergen Vigna <jug@sad.it>
11681 * lyxfunc.C: removed #if 0 unused code
11683 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11685 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11687 * text2.C (SetSelection): added a BufferView * parameter
11689 2001-02-13 Juergen Vigna <jug@sad.it>
11691 * lyxfunc.C (Dispatch): fixed protected blank problem.
11692 * BufferView2.C (protectedBlank): added LyxText * parameter.
11694 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11695 (AppendColumn): same as above for column_info.
11697 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11698 (moveCursorUpdate): use a LyXText param for support of InsetText.
11700 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11701 (tripleClick): ditto
11703 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11705 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11707 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11709 * text2.C (SetSelection): set correct update status if inset_owner
11710 (ToggleFree): ditto
11712 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11714 * tabular.C: remove some commented code.
11716 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11718 * BufferView_pimpl.C: call hideSplash()
11720 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11723 * bibforms.h: remove
11726 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11727 add LFUN_CHILD_CREATE
11729 * counters.h: fix tiny typo
11734 * lyx.C: move splash to frontends/xforms/
11736 * lyx_gui_misc.C: move Include and Bibform to frontends
11738 * lyxvc.h: clarify comment
11740 * vspace.C: tiny housekeeping
11742 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11744 * text.C (PrepareToPrint): RTL Fix.
11746 * paragraph.C (GetUChar): New method.
11747 (String): Use GetUChar.
11749 * buffer.C (asciiParagraph): Use GetUChar.
11751 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11753 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11755 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11758 * buffer.C: rename to getLogName(), handle
11759 build log / latex log nicely
11761 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11764 * MenuBackend.h: remove support for reference menuitem type.
11766 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11768 * BufferView_pimpl.C: housekeeping
11769 * BufferView_pimpl.h:
11774 * minibuffer.h: move Timeout GUI-I
11776 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11778 * lyxrc.C (read): Update converters data-structures.
11780 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11782 * LaTeX.h (operator!=): add operator != for Aux_Info
11784 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11786 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11788 * LaTeXLog.C: deleted, useful code moved to Buffer
11791 * buffer.C: new function getLatexLogName()
11797 * lyxfunc.C: use frontends for LaTeX and VC logs
11799 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11801 * LaTeX.h: yet another std:: that Allan forgot.
11803 * Variables.C (set): renamed from isset(), because this clashes
11804 with some HP-UX macros (grr).
11806 2001-02-06 Allan Rae <rae@lyx.org>
11808 * LaTeX.h: Another bug fix. Missing std:: this time.
11810 2001-02-04 Allan Rae <rae@lyx.org>
11812 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11813 floats problem. I've left it commented out because it's not quite
11814 correct. It should also test that the current object is a table or
11815 figure inset. But I haven't gotten around to figuring out how to do
11816 that. I *think* it'll be something like: "table" == inset.type()
11818 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11821 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11823 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11824 all the citation/databases/styles in the auxilary file.
11825 (run): Rerun latex if there was a babel language error.
11827 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11829 * text.C (Backspace): Preserve the font when changing newline char
11831 (BreakParagraph): If the cursor is before a space, delete the space.
11833 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11835 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11837 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11838 new argument (code).
11839 (ChangeCitationsIfUnique): New method.
11841 * paragraph.C (GetPositionOfInset): Handle bibkey.
11843 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11845 * BufferView_pimpl.h: change type of Position::par_pos to
11846 LyXParagraph::size_type.
11848 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11850 * BufferView_pimpl.C (savePosition, restorePosition): Write
11851 messages to minibuffer.
11853 2001-01-28 José Matos <jamatos@fep.up.pt>
11855 * buffer.C (makeDocBookFile): adds support for document language.
11856 A silly restriction on the name of LatexCommand types where removed.
11857 Added support for CDATA sections, allows to chars unescaped, used
11858 among others in code, to avoid escape < and >.
11860 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11862 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11863 saved positions instrad of a stack. Furthermore, a position is
11864 stored using paragraph id/paragraph position.
11866 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11867 Remove LFUN_REF_BACK.
11869 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11871 * converter.C (dvipdfm_options): New method.
11873 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11875 * vspace.C (isValidLength): Fix for empty input string.
11877 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11879 * LyXAction.C (init): change description of LFUN_FIGURE to
11882 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11884 * LaTeX.C: add using directive
11886 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11888 * MenuBackend.C (expand): Fix the sorting of the formats.
11890 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11892 * lyx_main.C: tiny error message fix
11894 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11896 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11897 calling fl_initialize(). This fixes the problem with ',' as
11898 decimal separator in text files.
11900 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11902 * trans.C (process): Fix the keymap bug.
11904 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11906 * LaTeX.C (scanAuxFiles): New method. Provides support for
11907 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11908 (scanLogFile) Scan for "run BibTeX" messages.
11910 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11911 OT1 font encoding. Also, load the aecompl package if the ae
11914 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11916 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11918 * texrow.C (increasePos): turn two error messages into debug
11921 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11923 * LaTeX.C (scanAux): Handle the \@input macro.
11924 (runBibTeX): Use scanAux().
11926 * language.C (latex_options_): New field.
11928 * LaTeXFeatures.C (getMacros): Add language macros.
11930 * buffer.C (makeLaTeXFile): Small fix.
11932 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11934 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11936 * text2.C: add a using directive.
11938 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11943 * lyxfunc.C: kill LyXBell.
11945 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11947 * text.C (IsBoundary): Remove the error message
11949 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11951 * lyxrc.C (setDefaults): Correct initialization value for
11954 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11956 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11959 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11960 and GotoNextNote().
11962 * src/LyXAction.C: Added reference-next.
11964 * text.C (InsertChar): Use contains instead of strchr.
11966 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11968 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11970 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11971 alignment commands (when needed).
11973 * text.C (InsertChar): Add ':' to number separator chars.