1 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
7 * text3.C: Restricts the mouse click functionality
8 of insets like bibtex, include, toc and floatlist to the visible
9 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
10 up the dialogs. Cursor has to be in front of the inset (i.e.
11 start of row) for this to function.
13 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
15 * bufferview_funcs.C (currentState): output paragraph position
17 2003-09-04 Angus Leeming <leeming@lyx.org>
19 * FloatList.h: move out #include "Floating.h".
20 * LaTeX.h: move out #include "DepTable.h".
21 * LyXAction.h: move out #include "funcrequest.h".
22 * buffer.h: move out #include "author.h", "iterators.h".
23 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
24 * lyx_main.h: move out #include "errorlist.h".
25 * lyxfunc.h: move out #include "FuncStatus.h".
26 * lyxtext: move out #include "lyxcursor.h".
27 * paragraph_pimpl.h: move out #include "counters.h".
29 2003-09-03 Angus Leeming <leeming@lyx.org>
31 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
32 preamble_snippets list, enabling us to add snippets to the preamble only
33 if the snippet was not there already.
35 2003-09-04 Angus Leeming <leeming@lyx.org>
37 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
39 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
41 * lyxfunc.C (dispatch): if fitCursor did something be sure to
44 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
46 * BranchList.C: point fix, earlier forgotten
48 2003-09-02 Angus Leeming <leeming@lyx.org>
50 * box.C (contains): renamed from 'contained' after a fantastic
53 2003-09-02 John Levon <levon@movementarian.org>
59 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
61 2003-09-02 John Levon <levon@movementarian.org>
63 * text2.C: simplification of cursorEnd(), including partial
66 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
68 * buffer.C (readFile): add a space
70 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
72 * BufferView_pimpl.C (update): remove bogus fitCursor() call
74 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
76 * buffer.C (readFile): new function, take a filename and a
77 ParagraphList::iterator
79 (readFile): adjust, make it private. don't use setStream, make
80 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
81 always contain the filename.
83 * BufferView.C (insertLyXFile): simplify and make it work for
86 2003-08-30 John Levon <levon@movementarian.org>
88 * Makefile.am: fix dist (from Kayvan)
90 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
92 * most files: change to use const Buffer refs
94 2003-08-27 André Pönitz <poenitz@gmx.net>
96 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
99 2003-08-27 John Levon <levon@movementarian.org>
101 * funcrequest.C: properly initialise POD members
103 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
105 * lyxtext.h (top_y): move top_y from here
110 * BufferView_pimpl.[Ch]: to here
111 * frontends/screen.C:
112 * insets/insettabular.C:
113 * insets/insettext.C: adjust
114 * rowpainter.[Ch] (paintRows): remove LyXText & argument
116 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
119 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
121 2003-08-26 André Pönitz <poenitz@gmx.net>
123 * paragraph_func.[Ch] (outerPar): new function
129 * text2.C: remove Inset::par_owner
131 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
136 * text2.C: eliminates the needFullRow/display() stuff
137 altogether, putting the logic in metrics/draw in the insets.
139 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
141 * text2.C (redoParagraphInternal, redoParagraphs):
142 * text.C (redoParagraph): add a call to updateRowPositions at the
143 end of each 'metrics-like' call. Remove all others.
144 (getRow): remove the 'y-computing' version.
145 (getRowNearY): do not compute nor return the real y. Solve the
146 'y < 0' problem and simplify.
148 2003-08-22 Angus Leeming <leeming@lyx.org>
150 * *.[Ch]: clean-up of licence and author blurbs.
151 Also move config.h out of a few .h files and into a few .C files.
153 2003-08-22 André Pönitz <poenitz@gmx.net>
155 * lyxrow.[Ch]: add x_ and *fill_ members
160 * text2.C: adjust/remove prepareToPrint() calls
162 2003-08-22 André Pönitz <poenitz@gmx.net>
164 * lyxrow.[Ch]: add end_ member
166 * lyxrow_funcs.C: use LyXRow::end_
168 * lyxtext.h (singleWidth): add LyXFont parameter
171 * text2.C: adjust LyXText::singleWidth() calls
173 * text.C (redoParagraph): simplify row breaking logic
176 2003-08-19 André Pönitz <poenitz@gmx.net>
178 * funcrequest.C: initialize button_ member
181 * rowpainter.[Ch]: interface consolidation
183 2003-08-18 André Pönitz <poenitz@gmx.net>
186 * BufferView_pimpl.C:
190 * text3.C: remove LyXScreen::draw() and fitCursor calls
192 * BranchList.h: remove spurious semicolons
194 * MenuBackend.C: fix branchlist related crash
196 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
208 * text3.C: implements the 'branch inset'
209 idea. This allows the output of various versions of a document
210 from a single source version, selectively outputing or suppressing
211 output of parts of the text.
212 This implementation contains a 'branch list editor' in a separate
213 tab of the document settings dialog. Branches are user definable
214 and have a "display colour" to distinguish them on-screen.
216 ColorHandler was somewhat cleaned up.
217 (1) make possible a dynamically growing LColor list by allowing
218 the graphic context cache to grow along (vector);
219 (2) eliminate an IMHO unnecessary step in colour allocation.
221 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
223 * BufferView_pimpl.C: compile fix
225 2003-08-15 André Pönitz <poenitz@gmx.net>
227 * rowpainter.C: remove extra metrics calls
229 * lyxtext.h: merge the two constructors into a single one,
230 pass reference to owner's par list
232 * BufferView_pimpl.C:
236 2003-08-15 André Pönitz <poenitz@gmx.net>
246 * text_funcs.C: split LyXText::rowlist_ into individual
247 Paragraph::rows_ chunks
250 * BufferView_pimpl.[Ch]:
253 * text3.C: remove toggleSelection()
255 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
257 * bufferlist.C: beautify two alerts (shorter text of buttons)
258 * buffer.C: Remove redundant ' ' from message
260 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
261 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
262 rename VALIGN_CENTER to VALIGN_MIDDLE
264 2003-08-11 André Pönitz <poenitz@gmx.net>
266 * lyxtext.h (getPar):
267 * text.C: new function
269 2003-08-11 André Pönitz <poenitz@gmx.net>
272 * tracer.[Ch]: remove unneeded files
274 * InsetList.[Ch]: remove resizeInsetsLyXText()
279 * text3.C: merge insertParagraphs() and appendParagraph()
280 remove breakAgain(), update()
282 * BufferView_pimpl.[Ch]:
283 * bufferview_funcs.[Ch]:
287 * tabular.C: adjust after text & InsetList changes.
289 2003-08-08 André Pönitz <poenitz@gmx.net>
291 * text.C (insertChar, backspace): replace rowlist fiddling
292 with rebreak of full par
295 * text.C (breakAgainOneRow, redoHeightOfParagraph,
296 checkParagraph, updateInset): removed
298 2003-08-07 André Pönitz <poenitz@gmx.net>
301 * text3.C: merge some LFUN handlers, remove dead code
303 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
305 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
307 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
309 * text2.C (DEPM): fix part of bug 1255 and 1256
311 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
313 * BufferView_pimpl.C (workAreaDispatch): change to use
314 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
315 that are no mouse related.
317 2003-08-05 André Pönitz <poenitz@gmx.net>
320 * BufferView_pimpl.[Ch]:
321 * bufferview_funcs.C:
323 * text3.C: rip out "deep update"
325 * textcursor.[Ch] (last_sel_cursor): remove unused member
327 2003-08-04 André Pönitz <poenitz@gmx.net>
330 * BufferView_pimpl.[Ch]:
331 * ParagraphParameters.C:
332 * bufferview_funcs.C:
338 * text3.C: replace "complicated" BufferView::update(...) calls with
341 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
343 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
345 * Makefile.am (lyx_SOURCES): add paper.h
347 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
349 * Makefile.am: move things around so that both lyx-qt and
350 lyx-xforms can be built (according to --with-frontend). Then lyx
351 is a symbolic link to lyx-[firstfrontend]
353 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
355 * Always use std::endl with lyxerr
357 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
359 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
361 2003-08-01 André Pönitz <poenitz@gmx.net>
364 * BufferView_pimpl.[Ch]:
366 * text3.C: merge BufferView::repaint() and BufferView::update()
368 2003-08-01 José Matos <jamatos@lyx.org>
370 * buffer.[Ch]: file_format is no longer a buffer data element.
372 2003-08-01 André Pönitz <poenitz@gmx.net>
377 * text2.C: make redoParagraph more independent of current cursor
379 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
381 * text2.C: remove unneeded members
383 2003-07-30 André Pönitz <poenitz@gmx.net>
385 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
387 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
388 create a single function...
390 * paragraph_funcs.C (moveItem): ... here.
393 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
395 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
397 * LColor.[Ch]: Add comment and greyedout logical colors.
399 2003-07-30 André Pönitz <poenitz@gmx.net>
401 * tabular.C: don't use Assert too heavily. This crashes where it
404 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
406 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
407 is disabled (bug 1232)
409 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
411 * factory.C: limited 'arg' scope
413 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
415 * factory.C: fixed Note submenu issues
417 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
419 * factory.C: submenu for Note/Comment/Greyedout
421 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
424 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
426 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
429 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
430 greyedout. Patch provided by Jürgen Spitzmüller.
432 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
434 * kbmap.C (read): fix error message when reading bind files
436 2003-07-29 Angus Leeming <leeming@lyx.org>
438 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
439 certainly does not do what it purports to do. I am doing it, and
440 us, a favour by killing it.
442 2003-07-28 José Matos <jamatos@lyx.org>
444 * buffer.C (readBody, do_writeFile):
445 * paragraph.C(readParagraph): \end_document replaces \the_end.
447 2003-07-29 André Pönitz <poenitz@gmx.net>
450 * BufferView_pimpl.[Ch]:
454 * textcursor.[Ch]: remove toggleToggle & Co
456 2003-07-28 José Matos <jamatos@fep.up.pt>
458 * buffer.C (readParagraph):
459 * params_func (readParToken, readParagraph):
460 * paragraph.C (write): \layout -> \begin_layout.
462 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
464 * lyxlex_pimpl.C (setFile): clean up slightly.
466 * bufferparams.h: add compressed var
468 * buffer_funcs.C (readFile): adjust for LyXLex change
469 (newFile): ditto + simplify
471 * buffer.C (writeFile): handle writing of compressed files
473 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
474 Check if the file is compressed and set a bufferparm if so.
476 * Makefile.am (lyx_LDADD): remove explicit -lz
478 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
481 makeDocBookFile): put the real LyX version in the first line of
485 * version.C.in: remove lyx_docversion
487 * tabular.C (write_attribute): add a template-based version to
490 2003-07-28 André Pönitz <poenitz@gmx.net>
495 * text3.C: use doubles again for x-coordinates. They are needed.
497 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
499 * messages.C (getLocaleDir): use lyx_localedir()
501 * lyxlex_pimpl.C (setFile): compress stuff
503 * buffer.C (writeFile): add some compression stuff
504 (do_writeFile): new func, dont call expliti close... will this
507 * Makefile.am (lyx_LDADD): add -lz
509 2003-07-28 José Matos <jamatos@fep.up.pt>
511 * buffer.C: increment file format.
512 * paragraph_funcs (readParagraph, readParToken):
513 * paragraph.C (readParagraph): add \end_layout.
515 2003-07-27 Angus Leeming <leeming@lyx.org>
517 * Makefile.am: remove special casing for configure-time setting of
518 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
520 * lyx_main.C (init): remove all Jean-Marc's magic setting of
521 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
523 2003-07-26 André Pönitz <poenitz@gmx.net>
525 * paragraph_func.[Ch]:
526 * paragraph.C (realizeFont): inline it whereever it is used
531 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
534 2003-07-26 André Pönitz <poenitz@gmx.net>
538 * text2.C: get rid of LyXText::need_break_row
540 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
542 * toc.[Ch]: put namespace toc inside namespace lyx
544 * MenuBackend.C (expandToc2): adjust for lyx::toc
547 * lyxfunc.C (dispatch): adjust for lyx::find
549 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
550 lyx::find instead. Reorganize a bit.
551 (LyXReplace): rename to replace
552 (LyXFind): rename to find
554 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
557 2003-07-26 André Pönitz <poenitz@gmx.net>
559 * text.C (setHeightOfRow): restrict scope of temporary variable
561 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
562 code (never has been used?)
564 2003-07-27 Asger Alstrup <alstrup@local>
566 * text.C (fill): Optimise algorithm to exploit that we can reuse
567 the LyXFont for many characters.
568 (setHeightOfRow): Same thing.
569 (rowBreakPoint): Same thing.
571 2003-07-26 Asger Alstrup <alstrup@local>
573 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
575 * text.C (singleWidth): Spurious font copying in hot-spot
576 singleWidth avoided. Reorder tests for arabic for efficiency.
578 * text.C (fill): handle empty paragraphs better.
580 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
583 * encoding.h: add includes
585 * lyxrc.C: remove reading of bind files
587 * lyx_main.C (init): setup bindings and menus only if we have a
590 * kbmap.C (read): new method. Do the actual reading of bind
593 * converter.C (dvipdfm_options):
596 (output): adapt PAPER_* enums.
598 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
600 * bufferparams.h: remove paper-related enums from there
602 * paper.h: New file. A trivial header file to hold paper-related
603 enums. It should later expand to contain many paper-related
606 * lyxrc.C: declare extern displayTranslator
608 2003-07-27 José Matos <jamatos@fep.up.pt>
610 * tabular.[Ch] (linuxdoc): add support for tables and figures
613 2003-07-27 José Matos <jamatos@fep.up.pt>
615 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
616 consistency in both functions.
617 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
619 2003-07-26 Asger Alstrup <alstrup@local>
621 * rowpainter.C (paintRows): Change algorithm to work directly on
622 the insets rather than asking every character in the document
623 whether its an inset.
625 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
627 * buffer.C (openFileWrite): factorize some code
629 2003-07-26 Angus Leeming <leeming@lyx.org>
632 * lyx_main.[Ch]: replace occurances of system_tempdir with
635 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
637 * rename Inset to InsetOld
639 2003-07-25 Asger Alstrup <alstrup@diku.dk>
641 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
642 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
643 which I think is a bit clearer. EDIT is gone, since it was
644 premature optimisation, and broken for mathed anyway.
645 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
646 with cursor positioning in insets as well (math insets still do not
647 work, but that's a different story anyway.) It mysteriously
648 crashes sometimes with undo in the first paragraph, but I'm fairly
649 confident that this is a compiler bug.
651 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
653 * paragraph.C (Paragraph): adjust for new clone return type
655 (copyIntoMinibuffer): ditto
657 2003-07-25 Asger Alstrup <alstrup@lyx.org>
659 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
660 by not having a special case, and always doing a full rebreak of
661 the document after undo.
663 2003-07-23 Angus Leeming <leeming@lyx.org>
665 * factory.C (createInset): InsetExternal::setParams now takes a
668 2003-07-23 Angus Leeming <leeming@lyx.org>
670 * factory.C (createInset): changed interface to the external and
671 graphics mailers' string2params functions.
673 2003-07-23 Angus Leeming <leeming@lyx.org>
675 * factory.C (createInset): pass a
676 Buffer const * parameter to InsetExternalMailer's string2params.
678 2003-07-22 John Levon <levon@movementarian.org>
680 * Thesaurus.h: include the right aiksaurus header
682 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
684 * MenuBackend.C (expand): check menu shortcuts unconditionally
686 2003-07-21 Angus Leeming <leeming@lyx.org>
688 * factory.C (createInset): pass a
689 buffer_path parameter to InsetGraphicsMailer's string2params.
691 2003-07-21 Angus Leeming <leeming@lyx.org>
693 * BufferView_pimpl.C (buffer):
696 * lyxfunc.C (dispatch):
697 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
698 rather than the grfx shortcut.
700 2003-07-21 André Pönitz <poenitz@gmx.net>
702 * rowpainter.C: remove unused variables
705 * tabular_funcs.h: move to tabular.C
706 * Makefile.am: adjust
708 * tabular.[Ch]: basic optical cleaning
710 * author.h: pass references, not values
712 2003-07-18 André Pönitz <poenitz@gmx.net>
720 * text3.C: two-phase drawing for InsetText and InsetTabular
721 some float -> int changes.
723 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
725 * lyx_main.C: fix the fix
727 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
729 * lyx_main.C: fix a crash in batch mode if no files specified
732 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
734 * format.[Ch] (papersize): moved to BufferParams
735 * converter.[Ch] (dvips_options): moved to BufferParams
736 (dvipdfm_options): moved to anon namespace
737 * bufferparams.[Ch]: added above functions.
739 2003-07-17 André Pönitz <poenitz@gmx.net>
743 * text2.C: don't call inset->update() anymore
745 * metricsinfo.[Ch]: add convenience constructor
747 2003-07-16 André Pönitz <poenitz@gmx.net>
752 * text2.C: replace the LyXCursor::irow_ member with
753 on-demand computation of the value
755 2003-07-16 John Levon <levon@movementarian.org>
757 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
759 2003-07-15 André Pönitz <poenitz@gmx.net>
762 * text2.C: remove no more needed refresh_row
764 2003-07-15 André Pönitz <poenitz@gmx.net>
769 * text3.C: refresh_status tristate -> need_update bool
771 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
773 * lyxtext.h (init): remove reinit argument (act as if always true)
774 * text2.C: adjust to that
776 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
778 * bufferview_funcs.[Ch]: introduce function replaceSelection()
779 * text3.C: use it to delete selections in some cases
780 (bugs 441, 673, 702, 954).
782 2003-07-14 André Pönitz <poenitz@gmx.net>
784 * rowpainter.[Ch]: reduce interface
786 2003-07-14 André Pönitz <poenitz@gmx.net>
788 * BufferView_pimpl.C:
789 * text2.C: adjust after removing unused BufferView * argument
791 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
793 * text2.C (init): fix a crash fired on resize
795 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
797 * buffer.[Ch]: added new closing signal
798 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
799 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
800 BufferView::Pimpl via the closing the signal
802 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
804 * buffer.[Ch]: take out all bv-related from buffer
806 * BufferView_pimpl.[Ch]: connect to new signals
807 * CutAndPaste.C: removed useless asserts
808 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
811 * lyxfunc.C: moved view-related funciontality from vc here
812 * paragraph.C: removed outdated comments
815 2003-07-10 André Pönitz <poenitz@gmx.net>
817 * BufferView_pimpl.C:
821 * text2.C: remove InsetText::InnerCache, clean up consequences
823 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
825 * ispell.C: fix two typos in error messages
827 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
829 * Extend Note inset to other forms of annotation like Comment
830 and Greyedout. Right button click gives dialog.
832 Files modified or added (+):
838 * Makefile.am in frontends/xforms, frontends/xforms/forms,
839 frontends/controllers
843 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
845 * aspell.C: add missing namespace lyx::support
847 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
849 * BufferView.[Ch] (newFile): Add
850 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
851 * LaTeX.[Ch] (message): added this signal and use it
852 * buffer.[Ch] (busy, message): added these signals and use them
853 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
857 * importer.C: use buffer signals instead of direct bv calling
858 * lyx_cb.[Ch] (ShowMessage): removed
862 * text2.C: use buffer signals
864 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
866 * introduce namespace lyx::graphics
868 2003-07-02 André Pönitz <poenitz@gmx.net>
870 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
872 2003-07-01 André Pönitz <poenitz@gmx.net>
879 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
880 text*.C to text_func.C
882 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
884 * introduce namespace lyx::support
886 2003-06-30 André Pönitz <poenitz@gmx.net>
891 * text.C: re-enable --with-included-string
893 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
895 * textcursor.C: add <config.h>
897 * text.C (getWord): remove const from word_location arg
899 * lyxvc.C (getLogFile): fix const type order
901 * lyxtext.h: remove const from word_location arg, add arg name
903 * lyxlayout.h: currect type on labeltype.
905 * importer.C: correct \file
907 * converter.C (intToFormat): use std:: on ret val, ws changes
909 * bufferlist.h: correct \file
911 * buffer.C (makeLinuxDocFile): fix const type order
912 (makeDocBookFile): ditto
913 (fillWithBibKeys): use std:: on stdlib args.
915 * CutAndPaste.C: fix authors.
916 (availableSelections): use std:: on return vector
918 2003-06-27 André Pönitz <poenitz@gmx.net>
920 * BufferView_pimpl.C:
921 * bufferview_funcs.C:
929 * text3.C: remove LyXCursor::row_ member
932 * text.C: rename fullRebreak() to partialRebreak() and implement
933 a fullRebreak() that really bereks fully
935 * textcursor.h: new struct for cursor-related data
937 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
939 * lyx_main.C (LyX): get full path of document loaded on the
942 2003-06-26 André Pönitz <poenitz@gmx.net>
944 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
945 remove unused/broken operator>,<,>=.
947 * text.C: remove only use of broken operator<= in an Assert().
949 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
951 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
952 moved errorlist_.clear to showErrorList
954 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
956 * converter.C (scanLog, runLaTeX):
957 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
958 move the bv->showErrorList call to the callers
959 * lyxfunc.C: i.e. here...
961 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
962 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
963 namespace, the second to...
964 * buffer_funcs (BufferFormat, parseErrors): added
965 * errorlist.C (ErrorList(TeXErrors const &)): removed
967 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
969 * ToolbarBackend.C (getIcon): complain when icon cannot be found
971 2003-06-24 "Garst R. Reese" <reese@isn.net>
975 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
977 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
979 * version.C.in: change docversion to 1.4
981 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
983 * buffer.C: fix a bug just introduced
985 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
987 * buffer.[Ch]: added the parseError signal and use it, removed
989 * BufferView.[Ch] (addError): moved to ...
990 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
991 to the Buffer::parseError signal to catch (guess what) parse errors
992 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
994 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
996 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
997 ability to create a buffer and to return an existing one from
998 the list. Moved these functions to...
999 * buffer_funcs.[Ch]: added
1000 * BufferView.[Ch] (loadLyXFile): added
1001 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1002 job removed from bufferlist::loadLyXFile.
1003 * buffer.C (setReadOnly): make it work without view
1004 (i.e added an if (users))
1006 2003-06-19 Angus Leeming <leeming@lyx.org>
1009 * LyXAction.C (init):
1010 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1011 with LFUN_DIALOG_SHOW <name> <data>.
1013 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1015 * CutAndPaste.C (availableSelections): small compilation fix for
1016 ancient (gcc 2.9x) compilers
1018 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1020 * text3.C (cursorNext): add tmp var
1022 * text2.C (updateCounters): for function calling out of for clause
1023 (replaceSelectionWithString): ditto
1024 (insertStringAsParagraphs): ditto
1025 (getColumnNearX): add tmp var
1026 (setCursorFromCoordinates): add tmp var
1027 (cursorDownParagraph): add tmp var
1028 (deleteEmptyParagraphMechanism): add tmp var
1030 * text.C (insertChar): add tmp var
1032 * rowpainter.C (paintDepthBar): add tmp var
1034 * CutAndPaste.C (availableSelections): potentially check all
1035 paragraphs in a cut to fill the shown strings.
1037 2003-06-18 André Pönitz <poenitz@gmx.net>
1039 * kbmap.[Ch]: use vector<> instead of list<>
1041 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1043 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1044 pasteSelection with index
1046 * text2.C (pasteSelection): modify, call pasteSelection with index
1048 * paragraph.C (asString): reimplement version with no interval to
1049 call the one with interval.
1051 * lyxtext.h: add index arg to pasteSelection
1053 * MenuBackend.C (MenuItem): handle PasteRecent
1054 (Menu::read::Menutags): add md_pasterecent
1056 (expandPasteRecent): new function
1059 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1061 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1063 (availableSelections): new function
1065 2003-06-17 Angus Leeming <leeming@lyx.org>
1067 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1069 2003-06-17 Angus Leeming <leeming@lyx.org>
1072 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1074 * lyxfunc.C (dispatch): invoke it.
1076 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1078 * iterators.C (operator++, ParPosition): reintroduce some
1079 const_cast for the benefit of older compilers.
1081 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1083 * text3.C (dispatch): do not modify clipboard when doing
1084 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1085 LFUN_DELETE_SKIP on a selection selection
1087 2003-06-16 André Pönitz <poenitz@gmx.net>
1093 * tabular.[Ch]: IU of clone() and getLabelList();
1095 2003-06-13 André Pönitz <poenitz@gmx.net>
1097 * tabular.h: compactification
1099 2003-06-12 André Pönitz <poenitz@gmx.net>
1103 * tabular_funcs.h: some renaming plus whitespace
1105 2003-06-12 André Pönitz <poenitz@gmx.net>
1108 * BufferView_pimpl.C:
1114 * toc.C: Return a Paragraph & for ParIterator::operator*()
1116 2003-06-11 John Levon <levon@movementarian.org>
1120 * ToolbarBackend.C: add "Toolbars" section and
1123 2003-06-10 Angus Leeming <leeming@lyx.org>
1126 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1128 * lyxfunc.C (dispatch): invoke it.
1130 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1132 * main.C: protect <ios> with HAVE_IOS
1133 (main): protect sync_with_stdio with HAVE_IOS
1135 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1137 * text2.C (cutSelection): adjust
1138 (pasteSelection): adjust
1140 * messages.C: handle get of empty string
1142 * main.C (main): use sync_with_stdio(false)
1144 * lyxfunc.C (dispatch): adjust
1146 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1147 (WriteAs): remove unneeded BufferView arg.
1149 * bufferparams.h: use correct types on papersize, papersize2 and
1152 * bufferparams.C (readToken): adjust for type
1153 (writeLaTeX): add missing cases to switch.
1155 * bufferlist.C (quitWriteBuffer): adjust
1158 * buffer.C (asciiParagraph): remove some commented code.
1160 * CutAndPaste.C: remove current_view extern variable.
1161 (cutSelection): add BufferParams arg.
1162 (eraseSelection): add BufferParams arg.
1163 (pasteSelection): add Buffer const & arg
1165 2003-06-07 John Levon <levon@movementarian.org>
1168 * paragraph_funcs.C:
1169 * paragraph_pimpl.C:
1173 * paragraph.C: allow InsetERT to freely space lines,
1174 and some consolidation of code
1176 2003-06-06 José Matos <jamatos@fep.up.pt>
1178 * buffer.C (makeDocBookFile): fix bug #821
1180 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1182 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1184 2003-06-04 Angus Leeming <leeming@lyx.org>
1186 * buffer.C: bump format to 224.
1188 2003-06-05 André Pönitz <poenitz@gmx.net>
1190 * text2.C (redoParagraphs): remove two const_cast<>
1192 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1194 * ParagraphList.h: remove last remnants of NO_STD_LIST
1196 2003-06-03 Angus Leeming <leeming@lyx.org>
1198 * factory.C (createInset): small change to the way InsetExternal's params
1201 2003-06-04 André Pönitz <poenitz@gmx.net>
1203 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1205 * paragraph_pimpl.h:
1206 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1208 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1210 * undo_funcs.C: make some simple cases of undo work again
1212 2003-06-03 John Levon <levon@movementarian.org>
1214 * ispell.C: HPUX doesn't have sys/select.h
1217 2003-06-03 John Levon <levon@movementarian.org>
1219 * CutAndPaste.C: update tabular and include inset
1224 * paragraph.C: remove owningBuffer(), don't pass Buffer
1227 * factory.C: insetGraphicsParams changed
1229 2003-06-02 John Levon <levon@movementarian.org>
1235 * text3.C: remove insetparent
1237 2003-06-02 John Levon <levon@movementarian.org>
1240 * buffer.C: fix inset_iterator.end(), move out of line
1243 2003-06-01 John Levon <levon@movementarian.org>
1245 * text3.C: use a proper cut/paste when doing inset
1246 insert (from Jürgen Spitzmüller)
1248 2003-06-01 John Levon <levon@movementarian.org>
1250 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1252 2003-05-30 André Pönitz <poenitz@gmx.net>
1254 * rowpainter.C: unify second drawing phase
1256 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1258 * trans_mgr.C: remove one case of current_view
1260 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1262 * paragraph_funcs.h: remove paragraph.h include
1264 * paragraph.h: delete NO_STD_LIST stuff
1266 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1268 * buffer.h: remove paragraph.h include
1270 * ParagraphList.C: delete file
1272 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1274 * toc.C (getTocList): adjust
1276 * paragraph_pimpl.C (validate): adjust
1278 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1280 * paragraph.C (Paragraph): adjust
1281 (getPositionOfInset): use const_iterator, adjust
1282 (bibitem): use const_iterator, adjust
1283 (setInsetOwner): adjust
1285 * iterators.C (operator++): adjust
1287 * InsetList.[Ch]: Replace selfmade iterator with standard
1288 vector::iterator also introduce const_iterator. Remove getPos,
1289 getInset and setInset from InsetTable. Adjust accordingly.
1291 * BufferView.C (lockInset): adjust
1292 (ChangeInsets): adjust
1294 * tabular.[Ch]: delete commented same_id functions
1296 2003-05-28 John Levon <levon@movementarian.org>
1298 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1300 2003-05-28 André Pönitz <poenitz@gmx.net>
1302 * metricsinfo.[Ch]: remove 'fullredraw' member
1304 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1306 * lyxtextclass.C (operator): remove caching.
1308 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1312 * text2.C (cursorBottom): adjust
1313 (setCounter): use ParagraphList::find, adjust
1315 * text.C (workWidth): use ParagraphList::find, adjust
1317 * lyxcursor.C (LyXCursor): adjust
1319 * buffer.C (inset_iterator): adjust
1321 * ParagraphList.h: make iterator(value_type) private, make
1322 ParagraphList a friend of iterator.
1324 * ParagraphList.C (find): new function
1326 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1328 2003-05-27 André Pönitz <poenitz@gmx.net>
1330 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1332 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1334 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1336 2003-05-26 John Levon <levon@movementarian.org>
1338 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1340 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1342 * remove same_id from function signatures, adjust.
1344 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1346 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1348 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1350 * paragraph.C (Paragraph): get rid of same_ids parameter
1352 * ParagraphList.C (insert): adjust
1355 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1357 * paragraph_funcs.C (breakParagraph): adjust
1358 (breakParagraphConservative): adjust
1360 * buffer.C (readParagraph): adjust
1362 * ParagraphList.C (insert): take a reference instead of a pointer
1365 * paragraph.[Ch] (id): new function
1367 * bufferlist.C (newFile): adjust
1369 * ParagraphList.C (ParagraphList): adjust
1371 (push_back): take a reference instead of a pointer.
1373 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1375 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1378 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1379 set else use old code.
1381 * ParagraphList.C: remove all NO_NEXT code and only compile this
1382 code of NO_STD_LIST is set.
1384 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1386 * BufferView_pimpl.C:
1396 * graphics/GraphicsConverter.C:
1397 * graphics/PreviewLoader.C: header adjustment
1399 2003-05-23 Angus Leeming <leeming@lyx.org>
1401 * LaTeXFeatures.[Ch] (useBabel): new method.
1402 * bufferparams.C (writeLaTeX): use it.
1404 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1406 * ParagraphList.h (set): remove unused function.
1408 2003-05-23 André Pönitz <poenitz@gmx.net>
1411 * BufferView_pimpl.C:
1415 * undo_funcs.C: setUndo reworked
1417 * iterators.[Ch]: add access to topmost ParagraphList
1419 * lyxtext.[Ch] (workWidth): add a const
1421 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1423 * texrow.[Ch] (increasePos): remove function
1424 * exporter.C (export): removed unused var and outdated comment
1426 2003-05-23 Angus Leeming <leeming@lyx.org>
1428 * latexrunparams.h: rename fragile as moving_arg.
1429 * paragraph.C (simpleTeXOnePar): ditto.
1430 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1432 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1434 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1436 (textUndoOrRedo): comment out a currently unused var.
1438 * paragraph.h (NO_NEXT): enable NO_NEXT
1440 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1442 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1444 * exporter.C (Export): adjust for removeAutoInsets removal.
1446 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1448 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1450 * BufferView.[Ch] (removeAutoInsets): delete function
1452 2003-05-22 Angus Leeming <leeming@lyx.org>
1454 * latexrunparams.h: add a free_spacing variable.
1456 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1457 to pass moving_arg, as the data is stored in runparams.fragile.
1459 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1460 to Inset::latexOptional or to simpleTeXOnePar.
1462 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1463 free_spacing arg to Inset::latexOptional.
1465 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1468 2003-05-22 Angus Leeming <leeming@lyx.org>
1470 * latexrunparams.h: add fragile and use_babel variables.
1472 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1473 * buffer.C (makeLaTeXFile): store this returned value in
1474 runparams.use_babel, thus passing it to the inset::latex methods.
1476 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1477 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1479 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1480 longer has a fragile arg, as it is stored in runparams.fragile.
1482 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1483 moving_arg parameter as the data is stored in runparams.fragile.
1485 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1486 a fragile parameter as the data is stored in runparams.fragile.
1488 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1490 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1492 2003-05-22 Angus Leeming <leeming@lyx.org>
1494 * latexrunparams.h: add a 'bool nice' which defaults to false.
1496 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1497 now encapsulated within runparams.
1499 * bufferlist.C (updateIncludedTeXfiles):
1500 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1502 2003-05-22 Angus Leeming <leeming@lyx.org>
1504 * latexrunparams.h: new file containing struct LatexRunParams.
1505 * Makefile.am: add new file.
1507 * LaTeX.[Ch] (c-tor, run):
1508 * buffer.[Ch] (makeLaTeXFile):
1509 * bufferlist.[Ch] (updateIncludedTeXfiles):
1510 * converter.C (convert, scanLog):
1511 * converter.[Ch] (runLaTeX):
1512 * exporter.C (Export):
1513 * paragraph.[Ch] (simpleTeXOnePar):
1514 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1515 * paragraph_funcs.[Ch] (latexParagraphs):
1516 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1517 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1518 pass around a LatexRunParams parameter.
1520 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1522 * paragraph.[Ch]: remove unused constructor
1524 * ParagraphList.C (erase): new function, taking two iterators
1526 2003-05-22 André Pönitz <poenitz@gmx.net>
1528 * undo_funcs.C: remove duplicated code
1530 * iterator.[Ch]: operator=
1532 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1534 * tabular.C (SetMultiColumn): ws changes
1536 * rowpainter.C (paintFirst): get rid of a ->previous
1538 * lyx_cb.C (getPossibleLabel): parlist simplification
1540 * BufferView.C (ChangeInsets): simplify slightly.
1542 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1544 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1545 * lfuns.h: new LFUN_SPACE
1546 * lyxfunc.C: protected space has a new lfun
1547 * paragraph_funcs.C: read new space insets
1549 * factory.C: handle new space insets
1551 2003-05-22 André Pönitz <poenitz@gmx.net>
1554 * BufferView_pimpl.C:
1557 * undo_funcs.C: return a ParIterator from getParFromID.
1559 * iterators.[Ch]: add two const's
1561 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1563 * toc.C (getTocList): adjust
1565 * iterators.[Ch]: rework for parlist
1567 * buffer.C (par_iterator_begin): adjust
1568 (par_iterator_end): adjust
1570 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1572 * BufferView.C (removeAutoInsets): adjust
1573 (ChangeInsets): adjust
1575 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1577 * text.C (top_y): fix bug 1110
1579 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1581 * errorlist.[Ch]: added
1584 * BufferView_pimpl.C:
1585 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1588 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1590 * Makefile.am: ensure that lyx is relinked upon changes to the
1591 various "convenience" libs.
1593 2003-05-20 Angus Leeming <leeming@lyx.org>
1595 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1596 files are compiled in alphabetical order again.
1598 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1600 2003-05-19 Angus Leeming <leeming@lyx.org>
1602 * gettext.[Ch]: remove "char const * _(char const *)".
1604 2003-05-19 André Pönitz <poenitz@gmx.net>
1606 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1615 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1617 2003-05-19 André Pönitz <poenitz@gmx.net>
1621 * lyxtextclass.[Ch]:
1623 * paragraph_funcs.[Ch]:
1625 * text3.C: more insetenv work
1627 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1629 * ParagraphParameters.C (params2string): small bug fixed
1631 2003-05-16 André Pönitz <poenitz@gmx.net>
1634 * bufferview_funcs.C: patch from Kornel Benko to prevent
1635 crash when _(...) is called twice in a statement
1637 2003-05-16 André Pönitz <poenitz@gmx.net>
1644 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1646 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1648 * lyx_main.C (init): remove spurious static_cast
1650 2003-05-14 André Pönitz <poenitz@gmx.net>
1652 * BufferView.C: fix format string
1654 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1656 * BufferView.[Ch] (insertErrors): removed
1657 * BufferView.[Ch] (showErrorList): added
1658 * buffer.C (runChkTeX):
1659 * converter.C (scanLog): call showErrorList instead of inserterrors
1661 2003-05-13 André Pönitz <poenitz@gmx.net>
1663 * BufferView_pimpl.C:
1665 * bufferview_func.C:
1672 * tabular_funcs.h: tostr() from its own header
1674 * ParagraphParameters.C:
1679 * text3.C: STRCONV()
1681 2003-05-12 André Pönitz <poenitz@gmx.net>
1684 * BufferView_pimpl.C:
1688 * ParagraphParameters.C:
1692 * bufferview_funcs.C:
1705 * paragraph_funcs.C:
1709 * text3.C: boost::format -> bformat all over the place
1712 2003-05-09 André Pönitz <poenitz@gmx.net>
1714 * LColor.[Ch]: Pimpl the #include <map> away
1716 2003-05-09 John Levon <levon@movementarian.org>
1718 * bufferlist.C: never remove emergency saves
1720 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1722 * Makefile.am: better lib building
1724 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1726 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1728 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1729 (simpleTeXSpecialChars): adjust
1730 (simpleTeXSpecialChars): adjust
1731 * paragraph.C (simpleTeXOnePar): adjust
1732 * buffer.C (makeLaTeXFile): adjust
1734 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1736 * text2.C (changeDepth): parlist cleanup
1737 (getColumnNearX): ditto
1739 * rowpainter.C (getLabelFont): parlist cleanup
1741 * bufferlist.C (newFile): parlist cleanup
1743 * CutAndPaste.C (eraseSelection): parlist cleanup
1745 * BufferView_pimpl.C (trackChanges): parlist cleanup
1748 * BufferView.C (lockInset): parlist cleanup.
1749 (ChangeInsets): ditto
1751 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1753 * CutAndPaste.h: Update file header.
1755 * CutAndPaste.C: Update file header.
1756 Store the parts cut out of the Document in a limited_stack.
1757 (copySelection): adjust
1758 (pasteSelection): new function, takes the index in the limited stack.
1759 (nrOfParagraphs): adjust
1760 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1761 simplify error inset insertion.
1762 (checkPastePossible): adjust
1764 2003-05-06 John Levon <levon@movementarian.org>
1766 * text2.C: don't cast wrap inset to float
1768 2003-05-05 André Pönitz <poenitz@gmx.net>
1771 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1773 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1774 few naked Paragraph *.
1776 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1778 * bufferparams.C: Output warning if a document with missing
1779 TeX document class is loaded
1780 * exporter.C: Disable TeX exports if the document class is missing
1783 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1784 isTeXClassAvailable()
1786 2003-05-03 John Levon <levon@movementarian.org>
1789 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1790 explicit cursor show/hide
1792 * BufferView_pimpl.h:
1793 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1794 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1796 * lyxfunc.C: hide cursor before dispatching.
1801 * text3.C: remove explicit cursor hides
1803 2003-05-02 André Pönitz <poenitz@gmx.net>
1805 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1808 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1811 * text2.C: tiny whitespace
1813 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1815 * undo_funcs.C: almost only ws changes.
1817 * ParagraphList.C (splice): just return if pl is empty.
1819 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1821 * ParagraphList.C (splice): new function.
1823 * CutAndPaste.C (pasteSelection): use it
1825 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1827 * CutAndPaste.C (pasteSelection): remove the last next and
1828 previous from this file.
1830 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1832 * CutAndPaste.C (pasteSelection): more clean up, user proper
1833 ParagraphList functions for pasteing.
1835 * ParagraphList.C (insert): new function, three arg insert
1837 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1839 * ParagraphList.C (insert): new function, three arg insert
1841 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1844 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1846 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1848 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1850 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1852 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1854 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1855 (copySelection): clean up a bit.
1856 (pasteSelection): use make_pair
1858 * ParagraphList.C (ParagraphList): implement copy constructor
1859 (operator=): implement, base on copy constructor.
1862 * paragraph.C (erase): return a bool
1864 * paragraph_pimpl.C (erasePos): remove function, move contents...
1865 (erase): ... here. Return a bool.
1866 (erase): call erase instead of erasePos.
1868 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1870 * ParagraphList.h: define PitPosPair
1871 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1872 ParagraphList, fix a bug on pasting multiple pars
1873 * text2.C: change interface to C&P
1875 2003-04-30 André Pönitz <poenitz@gmx.net>
1877 * undo_func.C: revert part of yesterday's patch 2
1879 2003-04-30 John Levon <levon@movementarian.org>
1881 * LColor.C: s/tabular/table/
1883 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1885 * text3.C (dispatch): do not convert iterator -> pointer
1886 * undo_funcs.C (setCursorParUndo): ditto
1887 * text_funcs.C (transposeChars): ditto
1889 * text2.C (setLayout): ws changes only
1891 * text.C (breakParagraph): do not convert iterator -> pointer
1893 (acceptChange): ditto
1894 (rejectChange): ditto
1899 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1902 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1904 * text3.C (gotoInset): YABG (yet another bad getChar)
1906 2003-04-29 André Pönitz <poenitz@gmx.net>
1908 * paragraph.h: make operator= private unimplemented as long as
1911 * ParagraphList.C: whitespace
1914 * paragraph_pimpl.[Ch]:
1915 * paragraph_funcs.C:
1917 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1920 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1922 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1924 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1925 * paragraph.[Ch] (erase):
1926 * paragraph_pimpl.[Ch] (erase): change return type and value
1927 * text2.C (cutSelection): some rework
1929 2003-04-28 John Levon <levon@movementarian.org>
1931 * bufferlist.C: changes for unsaved changes dialog
1933 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1935 * bufferlist.C (newFile): set language (messages_) for new
1938 * buffer.C (readFile): ws changes only.
1940 2003-04-28 André Pönitz <poenitz@gmx.net>
1945 * BufferView_pimpl.C:
1946 * BufferView.C: getParFromID related ParagraphList::iterator changes
1948 2003-04-28 André Pönitz <poenitz@gmx.net>
1950 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1953 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1955 * messages.C: remove one more localedir class variable.
1957 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1959 * messages.C (getLocaleDir): singleton generation function
1961 (Messages): add a default constructor.
1963 * main.C (main): do not setup localedir here, do not call
1966 * gettext.C (_): use it.
1967 (gettext_init): delete funciton
1969 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1971 * gettext.C (getLyXMessages): new singleton generating function.
1973 * buffer.C (updateDocLang): adjust
1975 * Makefile.am (messages.o): add target
1976 (main.o): remove target
1978 2003-04-27 John Levon <levon@movementarian.org>
1983 * lyxvc.C: specify cancel button in Alert::prompt
1985 2003-04-26 John Levon <levon@movementarian.org>
1990 * LyXAction.C: add LFUN_INSET_SETTINGS
1992 * lyxfunc.C: don't enable tabular-feature when there's
1993 just any locking inset
1995 2003-04-26 John Levon <levon@movementarian.org>
1997 * bufferlist.C: re-add Cancel to buffer close question
1999 * lyxfunc.C: fix import UI a bit
2001 2003-04-25 John Levon <levon@movementarian.org>
2003 * gettext.C: remove the broken asserts for now
2005 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2007 * messages.C: make case where setlocale cannot comply work better.
2009 * buffer.C (updateDocLang): new function
2010 (changeLanguage): use it
2013 * text2.C (setCounter): use B_ a bit.
2015 * lyxlayout.C (Read): be sure to trim the label strings.
2017 * messages.C (Messages): fix typo in comment
2019 * buffer.C (readFile): set message_ after file is loaded.
2020 (makeDocBookFile): remove double return
2021 (changeLanguage): reset message_ upon language change.
2022 (B_): new func, use this to get translated buffer strings.
2024 * main.C: add myself and Jean Marc as authors.
2026 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2028 * messages.[hC]: pimplify Messages, and three different pimpls to be
2029 used in different circumstances.
2031 * gettext.[Ch]: change for use with new message code.
2033 2003-04-24 André Pönitz <poenitz@gmx.net>
2035 * factory.C: support for eqref
2037 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2039 * messages.[Ch]: add missing char
2041 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2043 * messages.[Ch]: New files
2045 2003-04-18 John Levon <levon@movementarian.org>
2049 * BufferView_pimpl.C:
2053 * text2.C: remove layout-copy/paste (bug 778)
2055 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2057 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2059 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2061 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2062 if they succeed. Act accordingly.
2064 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2066 * text2.C (setCharFont): adjust
2067 (setCounter): adjust
2068 (insertStringAsLines): adjust
2070 * text.C (leftMargin): adjust
2071 (setHeightOfRow): adjust
2073 * rowpainter.C (paintFirst): adjust
2076 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2078 (isFirstInSequence): ditto
2079 (getEndLabel): ditto
2082 * paragraph.C (getParLanguage): comment out some hard stuff.
2084 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2086 (simpleDocBookOnePar): ditto
2087 (makeDocBookFile): use ParagraphList::iterator
2089 * CutAndPaste.C (pasteSelection): adjust
2091 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2093 * text2.C (getFont): adjust
2094 (getLayoutFont): adjust
2095 (getLabelFont): adjust
2097 * paragraph_funcs.C (TeXOnePar): adjust
2099 * buffer.C (simpleLinuxDocOnePar): adjust
2100 (simpleDocBookOnePar): adjust
2102 * CutAndPaste.C (pasteSelection): adjust
2104 * BufferView.C (getEncoding): adjust
2106 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2108 2003-04-16 John Levon <levon@movementarian.org>
2110 * lyxfind.C: use parlist stuff for search/changes
2112 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2114 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2116 * text2.C (deleteEmptyParagraphMechanism): adjust
2118 * text2.[Ch] (ownerParagraph): delete func (both of them
2120 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2122 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2124 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2126 * ParagraphList.C: prepare for NO_NEXT
2128 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2130 * text2.C (getFont): adjust
2131 (getLayoutFont): adjust
2132 (getLabelFont): adjust
2134 * paragraph.C (getFont): adjust
2135 (getLabelFont): adjust
2136 (getLayoutFont): adjust
2138 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2140 2003-04-15 John Levon <levon@movementarian.org>
2144 * lyx_main.C: handle Include in .ui files
2146 2003-04-15 John Levon <levon@movementarian.org>
2148 * MenuBackend.C: make the doc files length shorter
2151 * ToolbarBackend.C: handle toolbar placement flags,
2154 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2156 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2159 * paragraph_funcs.C (TeXOnePar): adjust
2161 * paragraph.C (getLabelFont): add outerfont arg, adjust
2162 (getLayoutFont): ditto
2163 (simpleTeXOnePar): adjust
2165 * paragraph_pimpl.C (realizeFont): delete func
2167 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2169 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2170 row argument, constify cur argument.
2172 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2174 * text2.C (getFont): adjust
2175 (getLayoutFont): adjust
2176 (getLabelFont): adjust
2178 * paragraph_funcs.C (TeXOnePar): adjust
2179 (outerFont): new func...
2180 (realizeFont): ...moved out from here, changed this to facilitate
2183 * paragraph.C (getFont): take outerfont as arg, adjust
2184 (simpleTeXOnePar): add outerfont arg, adjust
2186 * buffer.C (simpleLinuxDocOnePar): adjust
2187 (simpleDocBookOnePar): adjust
2189 * CutAndPaste.C (pasteSelection): adjust
2191 * BufferView.C (getEncoding): adjust
2193 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2195 * text2.C (setCharFont): adjust
2196 (setCounter): adjust
2198 * text.C (leftMargin): adjust
2199 (setHeightOfRow): adjust
2201 * rowpainter.C (paintFirst): adjust
2204 * paragraph_pimpl.C (realizeFont): adjust
2206 * paragraph.C (isFirstInSequence): move from here...
2207 * paragraph_funcs.C (isFirstInSequence): ...to here
2209 * paragraph.C (outerHook): move from here...
2210 * paragraph_funcs.C (outerHook): ...to here
2212 * paragraph.C (depthHook): move from here...
2213 * paragraph_funcs.C (depthHook): ...to here
2215 * paragraph.C (getEndLabel): move from here...
2216 * paragraph_funcs.C (getEndLabel): ...to here
2218 * text2.C (realizeFont): move from here...
2219 * paragraph_funcs.C (realizeFont): ...to here
2221 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2223 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2225 2003-04-14 Angus Leeming <leeming@lyx.org>
2227 * LColor.[Ch]: scrap LColor mathcursor.
2229 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2231 * lyxlex.[Ch] (text): delete function
2232 * trans.C (Load): adjust
2233 * paragraph_funcs.C (readParToken): adjust
2235 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2237 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2238 vector<char> instead of a char[].
2240 * lyxlex_pimpl.C (getString): adjust
2242 (lex): use getString
2246 * lyxlex.C (text): use pimpl_->getString()
2250 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2252 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2253 (makeFontEntriesLayoutSpecific): temp var for par.size()
2254 (setLayout): temp var for ownerParagraphs().end()
2255 (fullRebreak): temp var for rows().end()
2256 (selectionAsString): temp var for boost::next(startpit), realize
2257 that the while really is a regular for loop.
2258 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2259 setCursor in one place.
2260 (setParagraph): temp vr for ownerParagraphs().end()
2261 (updateCounters): make the while loop a for loop
2262 (cutSelection): temp var for ownerParagraphs().end()
2263 (updateInset): make the do {} while() a regular for loop
2264 (getCursorX): use temp vars
2265 (setCurrentFont): use temp vars
2266 (getColumnNearX): use temp vars
2268 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2270 * text.C (transformChar): use temp var for getChar
2271 (computeBidiTables): use temp var for row->par()
2272 (fill): move temp vars for row->par() and pit->layout() earlier in
2274 (labelFill): use temp var for row->par()
2275 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2276 asc and desc, realize that pit never changes and that firstpit is
2277 just a duplicate and not needed. Exchange rit->par() with pit in a
2279 (breakAgain): use a temp var for boost::next(rit)
2280 (breakAgainOneRow): ditto
2281 (breakParagraph): use a temp var for rows().begin()
2282 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2283 (cursorRightOneWord): use temp var for cursor.par() and
2284 cursor.pos(), remove usage of tmpcursor.
2285 (cursorLeftOneWord): use temp var for cursor.par() and
2286 cursor.pos() only set cur at end of function.
2288 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2290 * text.C, text2.C: exchange all usage of Paragraph::next with
2291 boost::next(ParagraphList::iterator)
2293 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2295 * text2.C (cursorTop): simplify implementation
2296 (cursorBottom): ditto
2297 (setParagraph): use ParagraphList::iterator
2298 (setCurrentFont): adjust
2299 (getColumnNearX): adjust
2300 (cursorRight): adjust
2301 (cursorLeft): remove usage of Paragraph::previous
2302 (cursorUpParagraph): ditto
2303 (deleteEmptyParagraphMechanism): slight cleanup
2305 * text.C (isBoundary): take a Paragraph const & instead of a
2307 (addressBreakPoint): ditto
2308 (leftMargin): remove usage of Paragraph::previous.
2309 (setHeightOfRow): ditto
2310 (cursorLeftOneWord): ditto
2311 (selectNextWordToSpellcheck): ditto
2314 (breakParagraph): remove one usage of Paragraph::next
2315 (redoParagraph): ditto
2316 (acceptChange): ditto
2317 (insertChar): adjust
2318 (rowBreakPoint): adjust
2320 * bufferview_funcs.C (toggleAndShow): adjust
2322 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2324 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2325 methods to access it.
2327 * text.C: Added updateRowPositions to compute all row positions.
2328 Make top_y and getRowNearY() to use the cached y position
2330 2003-04-11 John Levon <levon@movementarian.org>
2332 * text.C (rowBreakPoint): reintroduce the labelEnd
2333 checks, code copied from the row fill stuff. Deep voodoo.
2335 * text.C (fill): add a comment and debugging for the
2338 2003-04-11 John Levon <levon@movementarian.org>
2340 * text.C: make sure fullrow insets get wrapped to the next line,
2341 even when they're in a manual label
2343 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2345 * text2.C (insertParagraph): make it take ParagraphList::iterator
2347 (setLayout): make it return ParagraphList::iterator
2348 (redoParagraphs): ditto
2350 (checkParagraph): ditto
2352 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2354 * text2.C: adjust several funcs.
2355 (realizeFont): take a ParagraphList::iterator as arg.
2356 (getLayoutFont): ditto
2357 (getLabelFont): ditto
2358 (setCharFont): ditto
2360 * text.C: adjust several funcs.
2362 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2364 * text.C (selectNextWordToSpellcheck): don't accidentally
2367 2003-04-10 John Levon <levon@movementarian.org>
2369 * ToolbarBackend.C (getIcon): special handling for
2372 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2374 * text2.C (cursorRight): a getChar assert fixed
2376 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2378 * text2.C (getFont): change to take a ParagraphList::iterator
2379 instead of Paragraph*
2380 Adjust several functions.
2382 * text.C (transformChar): change to take a ParagraphList::iterator
2383 instead of Paragraph*
2384 (singleWidth): ditto
2385 Adjust several functions.
2387 * rowpainter.C: adjust several functions
2388 * rowpainter.h:store a ParagraphList::iterator and not a
2392 2003-04-09 John Levon <levon@movementarian.org>
2397 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2398 and the "help" bits as well
2400 2003-04-09 John Levon <levon@movementarian.org>
2403 * ToolbarBackend.C: allow multiple toolbars
2405 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2407 * undo_funcs.C (setCursorParUndo): adjust
2409 * text_funcs.C (transposeChars): adjust
2411 * text3.C (gotoNextInset): adjust
2414 * text2.C (setLayout): adjust
2415 (changeDepth): adjust
2417 (redoParagraphs): adjust
2418 (selectionAsString): adjust
2419 (setParagraph): adjust
2420 (insertInset): adjust
2421 (cutSelection): adjust
2422 (copySelection): adjust
2423 (pasteSelection): adjust
2424 (insertStringAsLines): adjust
2425 (updateInset): adjust
2426 (setCursor): change to take a ParagraphList::iterator parameter
2427 (setCursorIntern): change to take a ParagraphList::iterator parameter
2428 (setCurrentFont): adjust
2429 (cursorLeft): adjust
2430 (cursorRight): adjust
2431 (deleteEmptyParagraphMechanism): adjust
2433 * text.C (breakParagraph): adjust
2434 (insertChar): adjust
2435 (acceptChange): adjust
2436 (rejectChange): adjust
2437 (selectNextWordToSpellcheck): adjust
2438 (changeCase): adjust
2442 * lyxfind.C (SearchForward): adjust
2443 (SearchBackward): adjust
2444 (nextChange): adjust
2446 * lyxcursor.C (par): adjust
2448 * lyxcursor.h: store a ParagraphList::iterator instead of a
2451 * lyx_cb.C (getPossibleLabel): adjust
2453 * bufferview_funcs.C (toggleAndShow): adjust
2455 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2458 * BufferView.C (removeAutoInsets): adjust
2459 (lockedInsetStoreUndo): adjust
2461 2003-04-09 John Levon <levon@movementarian.org>
2463 * ToolbarBackend.C: try icon without argument
2464 if with argument fails
2466 2003-04-08 John Levon <levon@movementarian.org>
2469 * ToolbarBackend.C: add getIcon(), handle tooltip,
2470 and change from "Icon" to "Item".
2472 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2474 * BufferView.C (lockInset): another bad getchar crunched
2476 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2478 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2481 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2483 * lyxfind.C (searchForward, searchBackwards): bug 782
2485 2003-04-07 John Levon <levon@movementarian.org>
2487 * paragraph.C: remove dead comment
2489 * text.C: remove troublesome depth-fiddling code
2490 in leftMargin() and rightMargin() (bug 1017)
2492 * text.C: fix breaking of rows in nested lists
2495 * text2.C (updateCounters): fix up depth values
2498 2003-04-07 John Levon <levon@movementarian.org>
2500 * BufferView_pimpl.C: clear message when doc finishes resizing,
2501 and after a mouse event
2503 * lyxfunc.C: clear message after exiting inset
2505 2003-04-07 John Levon <levon@movementarian.org>
2507 * bufferview_funcs.C: show math status not outside
2508 status in the statusbar
2510 2003-04-07 John Levon <levon@movementarian.org>
2512 * lyxfunc.C: note status changed after a depth change
2514 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2516 * LaTeX.h: move AuxInfo operator==, != out of line.
2517 Remove LaTeX virtual destructor; nothing derives from it.
2518 Move operator()() out of public area and rename it startscript().
2519 Change protected for private.
2521 2003-04-04 Angus Leeming <leeming@lyx.org>
2524 * text2.C: remove unneeded #includes.
2526 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2528 * text2.C (dEPM): fix the heigth of the next row
2530 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2532 * text.C: squashed an invalid getChar requester + some ws changes
2534 2003-04-03 John Levon <levon@movementarian.org>
2536 * bufferview_funcs.h:
2537 * bufferview_funcs.C:
2540 * text2.C: make getStatus work for the env depth lfuns
2542 2003-04-03 John Levon <levon@movementarian.org>
2544 * bufferview_funcs.h:
2545 * bufferview_funcs.C:
2548 * text2.C: parlistize decDepth(), by merging it with incDepth()
2550 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2552 * lyxrow.h: store a ParagraphList::iterator instead of a
2553 Paragraph* and adjust other class functions to suit.
2555 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2558 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2560 * text2.C (setCursor): do not anchor to cursor row for the time being
2562 2003-04-02 John Levon <levon@movementarian.org>
2569 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2571 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2573 * paragraph.h: make ParagraphList and ParagraphList::iterator
2574 friends of Paragraph.
2576 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2578 * ParagraphList.C: Use the private next_ and previous_ from
2581 2003-04-01 John Levon <levon@movementarian.org>
2585 * Makefile.am: rename, remove defaults gunk
2588 * MenuBackend.C: remove defaults gunk
2591 * Languages.C: remove defaults gunk
2594 * lyx_main.C: error out if files couldn't be found.
2596 2003-04-02 John Levon <levon@movementarian.org>
2598 * text2.C: make incDepth() use parlist
2600 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2602 * undo_funcs.C (firstUndoParagraph): adjust
2604 * text3.C (gotoInset): adjust
2605 (dispatch): adjust, and rewrite loop.
2607 * text2.C (init): adjust, and rewrite loop.
2608 (redoParagraphs): adjust
2609 (updateInset): adjust, and rewrite loop.
2610 (deleteEmptyParagraphMechanism): adjust
2612 * tabular.C (LyXTabular): adjust
2613 (SetMultiColumn): adjust
2616 * lyxtext.[Ch] (ownerParagraph): delete function
2617 (ownerParagraphs): new function returns a ParagraphList.
2619 * BufferView.C (removeAutoInsets): adjust
2620 (insertErrors): adjust
2621 (setCursorFromRow): adjust
2623 2003-04-01 Angus Leeming <leeming@lyx.org>
2625 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2628 2003-04-02 John Levon <levon@movementarian.org>
2634 * text_funcs.C: make transposeChars a free function
2636 * lyxrow_funcs.C: remove wrong comment
2638 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2641 * rowpainter.C: adjust
2646 * lyxrow_funcs. [Ch]: new files
2648 * lyxrow.[Ch]: remove next and previous pointers
2649 (next,previous): remove accessor functions
2650 (isParEnd): move to lyxrow_funcs
2651 (lastPos): move to lyxrow_funcs
2652 (nextRowIsAllInset): move to lyxrow_funcs
2653 (lastPrintablePos): move to lyxrow_funcs
2654 (numberOfSeparators): move to lyxrow_funcs
2655 (numberOfHfills): move to lyxrow_funcs
2656 (numberOfLabelHfills): move to lyxrow_funcs
2657 (hfillExpansion): move to lyxrow_funcs
2661 * bufferview_funcs.C (toggleAndShow): adjust
2663 * RowList.h: Remove class RowList from file leave just a
2666 * RowList.C: delete file
2668 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2671 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2673 * text3.C (cursorPrevious): adjust
2674 (cursorNext): adjust
2677 * text2.C (redoHeightOfParagraph): adjust
2678 (redoDrawingOfParagraph): adjust
2681 * text.C (breakParagraph): adjust
2682 (insertChar): adjust
2685 * rowpainter.C (RowPainter): adjust
2686 (leftMargin): simplify and adjust
2687 (most rowpainter functions): adjust.
2689 * rowpainter.h: store the row as RowList::iterator not as Row*
2691 * lyxcursor.C (row): taka RowList::iterator as arg
2694 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2697 2003-04-01 Angus Leeming <leeming@lyx.org>
2699 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2700 stuff like bool Bool.
2702 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2704 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2707 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2709 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2712 * lyxtext.h (rows): drop one version and leve a const variant that
2713 returns a RowList::iterator.
2715 2003-03-31 Angus Leeming <leeming@lyx.org>
2717 * text.C (fill): ensure that the signature is the same as that in the
2720 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2722 * text2.C (redoParagraphs): adjust
2723 (updateCounters): adjust
2724 (checkParagraph): adjust
2725 (getColumnNearX): adjust and reformat a bit.
2727 * text.C (top_y): adjust
2729 (leftMargin): adjust
2730 (prepareToPrint): adjust
2732 (getRowNearY): adjust
2734 * lyxtext.h: make rowlist_ mutable.
2736 * RowList.h: add const_iterator
2737 * RowList.C: adjust for RowList::const_iterator.
2739 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2742 2003-03-31 John Levon <levon@movementarian.org>
2745 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2747 * lyx_main.C: set default fonts from using lyx_gui funcs
2749 * exporter.C: pdf_mode moved from lyxrc
2752 * lyxfunc.C: changes from above
2754 2003-03-31 John Levon <levon@movementarian.org>
2756 * lyx_main.C: fix to the last fix
2758 2003-03-31 John Levon <levon@movementarian.org>
2760 * bufferlist.C: "Load original" -> "Load Original"
2766 * format.C: more Alert cleanups
2768 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2770 * text2.C (removeParagraph): make it take a RowList::iterator as
2772 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2773 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2775 * text.C (anchor_row): make it take a RowList::iterator as arg,
2777 (computeBidiTables): make it take a const reference to Row instead
2778 of Row pointer, adjust.
2779 (leftMargin): make it take a RowList::iterator as arg, adjust.
2780 (rowBreakPoint): adjust
2781 (breakAgainOneRow): make it take a RowList::iterator as arg,
2783 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2785 * bufferview_funcs.C (toggleAndShow): adjust
2787 2003-03-30 John Levon <levon@movementarian.org>
2791 * boost-inst.C: moved to support
2793 * several files: changes as a result
2795 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2797 * text2.C (LyXText): adjust.
2799 (removeRow): make it take a RowList::iterator as arg, adjust.
2800 (fullRebreak): adjust
2801 (deleteEmptyParagraphMechanism): adjust
2802 (clearPaint): adjust
2805 * text.C (top_y): adjust
2806 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2807 (breakAgain): make it take a RowList::iterator as arg, adjust.
2808 (breakParagraph): adjust
2809 (insertChar): adjust
2812 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2813 need_break_row, and refresh_row.
2815 * text3.C (dispatch): adjust
2817 * text2.C (checkParagraph): adjust
2819 (setCursorFromCoordinates): adjust
2821 * text.C (top_y): adjust
2823 (getRow): make it return a RowList::iterator, adjust
2824 (getRowNearY): make it return a RowList::iterator, adjust
2826 * text2.C (init): adjust
2827 (insertRow): remove function
2828 (insertParagraph): adjust
2829 (redoParagraphs): adjust
2830 (fullRebreak): adjust
2831 (updateCounters): adjust
2833 * text.C (top_y): rewrite to use RowList iterators.
2835 (setHeightOfRow): rewrite to sue RowList iterators.
2836 (appendParagraph): adjust
2837 (breakAgain): adjust
2838 (breakAgainOneRow): adjust
2839 (breakParagraph): adjust
2841 (getRowNearY): adjust, and remove commented code.
2843 * lyxtext.h (firstRow): delete function
2844 (lastRow): delete function
2845 (rows): new function (const and non-const versions.)
2846 (insertRow): delete function
2848 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2850 2003-03-29 John Levon <levon@movementarian.org>
2852 * BufferView_pimpl.C: always update scrollbar top
2853 because pasting text when we're anchored could mean we
2854 miss an update altogether
2856 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2858 * text2.C (init): use rowlist_.end() and not 0.
2859 (insertRow): change to take a RowList::iterator as arg, adjust
2861 (insertParagraph): change to take a RowList::iterator as arg,
2863 (redoParagraphs): remove some debug msgs.
2865 * text.C (appendParagraph): change to take a RowList::iterator
2866 arg, adjust for this.
2867 (breakAgain): add an assert
2868 (breakAgainOneRow): ditto
2870 2003-03-29 John Levon <levon@movementarian.org>
2872 * text2.C: do not clear selection after inc/decDepth
2875 2003-03-29 John Levon <levon@movementarian.org>
2878 * buffer.C: fix broken strerrors according to Lars
2880 2003-03-29 John Levon <levon@movementarian.org>
2882 * converters.C: more Alert cleanups
2884 2003-03-29 John Levon <levon@movementarian.org>
2886 * bufferview_funcs.C: remove pointless Alert
2888 * buffer.C: fix confusing error message when
2889 a template is chmoded 000
2891 2003-03-29 John Levon <levon@movementarian.org>
2895 * BufferView_pimpl.C: Alert fixes
2899 * tabular-old.C: remove unused table compat reading
2901 2003-03-29 John Levon <levon@movementarian.org>
2906 * lyx_cb.C: more Alert cleanups
2908 * lyxfunc.C: don't allow chktex if not latex document
2910 2003-03-29 John Levon <levon@movementarian.org>
2914 * buffer.C: warnings pushed down from support/,
2917 2003-03-29 John Levon <levon@movementarian.org>
2919 * lyxfunc.C: safety check for C-r (revert)
2921 2003-03-29 John Levon <levon@movementarian.org>
2924 * bufferlist.C: several UI fixes using Alert::prompt.
2925 Fix the pointless looping quit code. Fix stupid revert
2930 * lyx_cb.C: use Alert::prompt
2932 * lyx_main.C: remove a silly question
2934 * lyxfunc.C: remove a couple of silly questions,
2937 2003-03-28 John Levon <levon@movementarian.org>
2939 * text2.C: fix bug 974 (End on empty par)
2941 2003-03-28 John Levon <levon@movementarian.org>
2943 * BufferView_pimpl.C:
2945 * lfuns.h: remove do-nothing math greek lfuns
2947 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2949 * lyxgluelength.h (isValidGlueLength): add default arg on
2950 parameter 2. Remove default arg from friend in class.
2952 * lyxlength.h (isValidLength): add default arg on parameter 2.
2953 Remove default arg from friend in class.
2955 * text2.C (LyXText): adjust, initialize refresh_row.
2959 (insertParagraph): adjst
2960 (redoParagraphs): adjust
2961 (fullRebreak): adjust
2962 (updateCounters): adjust
2963 (deleteEmptyParagraphMechanism): first attempt at fixing a
2966 * text.C (top_y): adjust
2967 (setHeightOfRow): adjust
2969 (getRowNearY): adjust
2971 * lyxtext.h: include RowList.h
2972 (~LyXText): not needed anymore, deleted.
2973 (firstRow): modify for RowList
2974 (lastRow): new function
2975 Delete firstrow and lastrow class variables, add a Rowlist
2976 rowlist_ class variable.
2978 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2981 * RowList.C (insert): fix case where it == begin().
2983 2003-03-26 Angus Leeming <leeming@lyx.org>
2985 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2986 the thesaurus dialog.
2988 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2990 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2992 * RowList.[Ch]: new files
2994 * ParagraphList.C (erase): handle the case where it == begin
2997 2003-03-25 John Levon <levon@movementarian.org>
3001 * aspell.C: add new aspell support
3004 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3007 2003-03-25 Angus Leeming <leeming@lyx.org>
3010 * LyXAction.C (init): new LFUN_INSET_INSERT.
3012 * BufferView_pimpl.C (dispatch): split out part of the
3013 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3015 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3018 2003-03-25 Angus Leeming <leeming@lyx.org>
3020 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3022 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3025 * text3.C: remove useless row->height(0)
3027 2003-03-25 John Levon <levon@movementarian.org>
3031 * text3.C: rename the refreshing stuff to better names
3033 2003-03-24 John Levon <levon@movementarian.org>
3035 * BufferView_pimpl.h:
3036 * BufferView_pimpl.C: update layout choice on a mouse
3039 2003-03-23 John Levon <levon@movementarian.org>
3041 * Makefile.am: fix commandtags.h reference
3043 2003-03-22 John Levon <levon@movementarian.org>
3045 * BufferView_pimpl.C:
3050 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3052 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3055 * text.C: take the rtl methods out of line
3057 2003-03-21 André Pönitz <poenitz@gmx.net>
3059 * metricsinfo.[Ch]: new files containing structures to be passed around
3060 during the two-phase-drawing...
3062 2003-03-21 André Pönitz <poenitz@gmx.net>
3064 * lyxtextclass.C: read 'environment' tag.
3066 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3068 * text2.C (removeRow): fix bug 964
3070 2003-03-20 John Levon <levon@movementarian.org>
3074 * text2.C: paint cleanups. Inset::update() dropped font
3077 2003-03-19 John Levon <levon@movementarian.org>
3079 * lyxfunc.C: only fitcursor/markDirty if available()
3081 2003-03-19 John Levon <levon@movementarian.org>
3083 * commandtags.h: rename to ...
3085 * lfuns.h: ... this, and renumber / cleanup
3087 2003-03-19 John Levon <levon@movementarian.org>
3089 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3090 fit the cursor after an lfun
3094 * BufferView_pimpl.h:
3095 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3097 * LyXAction.C: layout-character should have ReadOnly
3099 * ParagraphParameters.C:
3101 * bufferview_funcs.C:
3108 * undo_funcs.C: changes from above
3110 2003-03-18 John Levon <levon@movementarian.org>
3112 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3113 remove it from update()
3115 * lyxfunc.C: update layout choice after an lfun
3117 * text3.C: remove extra updateLayoutChoice()s
3119 2003-03-18 John Levon <levon@movementarian.org>
3121 * text.C: top_y change means full repaint, fix
3122 a drawing bug with cursor movement
3124 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3128 * text2.C: anchor row on setCursor
3130 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3132 * lyxtext.h: remove almost all mutable keywords
3135 * text3.C: remove const keywords accordingly
3137 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3139 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3141 (TeXEnvironment): ditto
3144 2003-03-17 John Levon <levon@movementarian.org>
3146 * text.C (rowBreakPoint): remove attempt to fix displayed
3147 math insets inside a manual label
3149 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3151 * lyxtext.h: remove BufferView* as first arg from almost all class
3153 * other files: adjust.
3155 2003-03-17 John Levon <levon@movementarian.org>
3159 * text2.C: more paint cleanups
3161 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3164 * rowpainter.C: remove "smart" background painting code
3166 2003-03-16 John Levon <levon@movementarian.org>
3171 * text3.C: add helper functions for setting refresh_row/y
3173 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3175 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3176 newline inset which *can* get inserted in the pass_thru layouts.
3177 This is primarily for literate documents.
3179 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3181 * buffer.C: increment LYX_FORMAT to 223
3183 2003-03-14 André Pönitz <poenitz@gmx.net>
3185 * textclass.h: prepare for environment handling, ws changes
3186 * lyxlayout.C: read latexheader and latexfooter tags
3188 2003-03-14 John Levon <levon@movementarian.org>
3190 * text2.C: rewrite ::status() a bit
3192 2003-03-13 John Levon <levon@movementarian.org>
3194 * lyxtext.h: add some docs
3196 2003-03-13 John Levon <levon@movementarian.org>
3201 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3203 2003-03-13 John Levon <levon@movementarian.org>
3205 * text3.C: fix appendix redrawing
3207 2003-03-13 John Levon <levon@movementarian.org>
3209 * text.C (setHeightOfRow):
3211 * rowpainter.C: make appendix mark have the text
3212 "Appendix" so the user knows what it is
3215 * LColor.C: s/appendixline/appendix/ from above
3217 2003-03-13 John Levon <levon@movementarian.org>
3219 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3221 * text.C: fix a getChar(pos) bug properly
3223 2003-03-13 Angus Leeming <leeming@lyx.org>
3226 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3227 Probably only temporary. Let's see how things pan out.
3229 * BufferView.C (unlockInset):
3230 * BufferView_pimpl.C (fitCursor):
3231 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3233 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3234 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3236 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3237 new functions that convert ParagraphParameters to and from a string.
3239 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3240 BufferView::Pimpl's dispatch.
3241 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3243 2003-03-13 André Pönitz <poenitz@gmx.net>
3247 * factory.C: make it aware of InsetEnv
3249 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3251 * text2.C (setCursor): never ask for one past last
3252 (setCursor): add some debugging messages.
3254 * text.C (singleWidth): never ask for one past last
3255 (singleWidth): ditto
3257 (rightMargin): ditto
3258 (rowBreakPoint): ditto
3259 (setHeightOfRow): ditto
3260 (prepareToPrint): ditto
3262 * rowpainter.C (paintBackground): never ask for one past last
3263 (paintText): never ask for one past last
3265 * paragraph_pimpl.C (getChar): make the assert stricter, never
3266 allow the one past last pos to be taken
3268 * paragraph.C (getChar): ws changes only
3270 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3271 (numberOfSeparators): ditto
3272 (numberOfHfills): ditto
3274 2003-03-12 John Levon <levon@movementarian.org>
3280 * paragraph_funcs.C: fix per-buffer authorlists
3282 2003-03-12 John Levon <levon@movementarian.org>
3284 * text.C: fix newline in right address
3286 2003-03-12 Angus Leeming <leeming@lyx.org>
3288 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3289 duplicate those in LyXFunc::dispatch.
3293 * ToolbarDefaults.C:
3294 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3295 Add LFUN_FONTFREE_UPDATE.
3297 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3298 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3300 * bufferview_func.[Ch]: several new functions to facilliate
3301 transfer of data to and from the character dialog.
3303 2003-03-12 John Levon <levon@movementarian.org>
3308 * paragraph_funcs.C:
3309 * paragraph_pimpl.C:
3313 * text3.C: remove META_NEWLINE in favour of an inset
3316 * rowpainter.C: remove paintNewline (done by inset)
3318 2003-03-12 John Levon <levon@movementarian.org>
3320 * paragraph_pimpl.C: complain about bad getChar()s
3321 for a while at least
3323 2003-03-12 John Levon <levon@movementarian.org>
3326 * buffer.C: move paragraph read into a separate function,
3327 a little renaming to reflect that.
3330 * bufferparams.C: remove the author_ids map, not necessary now
3333 * factory.C: moved Buffer::readInset to here
3335 * paragraph_funcs.h:
3336 * paragraph_funcs.C: readParagraph free function moved from
3339 * tabular.C: name change
3341 2003-03-12 John Levon <levon@movementarian.org>
3344 * ParagraphParameters.C: move par params input to
3347 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3348 behave like a normal read from the stream wrt reading
3349 a line vs. a \\token
3351 2003-03-12 John Levon <levon@movementarian.org>
3354 * ParagraphParameters.h:
3355 * ParagraphParameters.C: move output code to a
3358 2003-03-12 John Levon <levon@movementarian.org>
3360 * BufferView.C (insertLyXFile):
3363 * tabular.C: use a parlist iterator for creating the
3366 2003-03-12 John Levon <levon@movementarian.org>
3368 * buffer.C: make current_change static local not
3371 2003-03-12 John Levon <levon@movementarian.org>
3373 * buffer.C: fix insertStringAsLines for change tracking
3375 2003-03-12 John Levon <levon@movementarian.org>
3382 * bufferparams.C: move author list into params. Rename some
3383 functions. Move the header reading into a separate token
3384 loop. Move the header token reading into BufferParams.
3386 2003-03-12 John Levon <levon@movementarian.org>
3388 * changes.C: put debug inside lyxerr.debugging() checks
3390 2003-03-11 André Pönitz <poenitz@gmx.net>
3392 * factory.C: make it aware of InsetHFill
3394 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3396 * buffer.C (latexParagraphs): move function from here...
3397 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3400 2003-03-10 Angus Leeming <leeming@lyx.org>
3402 * LyXAction.C (init): fix bug in poplating array with multiple entries
3403 with the same LFUN (spotted by JMarc).
3405 2003-03-10 John Levon <levon@movementarian.org>
3408 * text2.C: move getColumnNearX() near its
3411 2003-03-10 John Levon <levon@movementarian.org>
3413 * text.C: fix break before a minipage
3415 2003-03-10 John Levon <levon@movementarian.org>
3417 * text.C: fix the last commit
3419 2003-03-09 John Levon <levon@movementarian.org>
3423 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3424 bug 365 (don't break before insets unless needed). Don't
3425 return a value > last under any circumstances.
3427 2003-03-09 Angus Leeming <leeming@lyx.org>
3429 * BufferView_pimpl.C (trackChanges, dispatch): call
3430 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3432 2003-03-09 Angus Leeming <leeming@lyx.org>
3434 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3435 than Dialogs::showAboutlyx().
3437 2003-03-09 Angus Leeming <leeming@lyx.org>
3439 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3440 than Dialogs::showTabularCreate().
3442 2003-03-09 John Levon <levon@movementarian.org>
3446 * text2.C: 3rd arg to nextBreakPoint was always the same.
3449 2003-03-08 John Levon <levon@movementarian.org>
3456 * text2.C: Remove the "main" bit from the "main body"
3459 2003-03-08 John Levon <levon@movementarian.org>
3461 * text.C (leftMargin): The left margin of an empty
3462 manual label paragraph should not include the label width
3465 * text.C (prepareToPrint): don't attempt to measure hfills
3466 for empty manual label paragraphs - the answer should be 0
3468 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3470 * CutAndPaste.C: remove commented code and reindent.
3472 2003-03-08 John Levon <levon@movementarian.org>
3475 * lyxfunc.C: move reloadBuffer()
3478 * BufferView.C: to here
3480 * lyxvc.C: add comment
3483 * vc-backend.C: call bv->reload() to avoid
3484 getStatus() check on MENURELOAD
3486 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3488 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3489 to an old format .dep file.
3491 2003-03-07 Angus Leeming <leeming@lyx.org>
3493 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3494 when the LFUN_MOUSE_RELEASE should have been handled by
3495 inset->localDispatch.
3497 2003-03-07 Angus Leeming <leeming@lyx.org>
3499 * BufferView_pimpl.C (dispatch):
3500 * LyXAction.C (init):
3501 * ToolbarDefaults.C (init):
3503 * lyxfunc.C (getStatus):
3504 remove LFUN_INSET_GRAPHICS.
3506 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3508 2003-03-07 Angus Leeming <leeming@lyx.org>
3511 * LyXAction.C (init):
3512 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3514 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3517 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3519 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3520 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3522 2003-03-07 Angus Leeming <leeming@lyx.org>
3524 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3527 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3529 * ParagraphList.C (front): new function
3532 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3534 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3535 and top_row_offset_. removed var first_y.
3537 * text2.C (LyXText, removeRow):
3539 * BufferView_pimpl.C:
3540 use these methods instead of using first_y
3542 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3544 * text2.C (pasteSelection): adjust for checkPastePossible
3546 * CutAndPaste.C: remove Paragraph * buf and replace with
3547 ParagraphList paragraphs.
3548 (DeleteBuffer): delete
3549 (cutSelection): change the tc type to textclass_type
3550 (copySelection): change the tc type to textclass_type
3551 (copySelection): adjust for ParagraphList
3552 (pasteSelection): change the tc type to textclass_type
3553 (pasteSelection): adjust for Paragraphlist
3554 (nrOfParagraphs): simplify for ParagraphList
3555 (checkPastePossible): simplify for ParagraphList
3556 (checkPastePossible): remove unused arg
3558 * ParagraphList.C (insert): handle the case where there are no
3561 * CutAndPaste.h: make CutAndPaste a namespace.
3563 * text3.C (dispatch): adjust
3565 * text.C (breakParagraph): add a ParagraphList as arg
3567 * paragraph_funcs.C (breakParagraph): change to take a
3568 BufferParams and a ParagraphList as args.
3569 (breakParagraphConservative): ditto
3570 (mergeParagraph): ditto
3571 (TeXDeeper): add a ParagraphList arg
3572 (TeXEnvironment): ditto
3575 * buffer.C (readLyXformat2): adjust
3576 (insertStringAsLines): adjust
3577 (latexParagraphs): adjust
3579 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3580 (cutSelection): adjust
3581 (pasteSelection): adjust
3583 * BufferView_pimpl.C (insertInset): adjust
3585 2003-03-05 Angus Leeming <leeming@lyx.org>
3588 * LyXAction.C (init):
3589 * BufferView_pimpl.C (dispatch):
3590 * lyxfunc.C (getStatus):
3591 remove LFUN_CHILD_INSERT.
3593 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3595 2003-03-05 Angus Leeming <leeming@lyx.org>
3598 * LyXAction.C (init):
3599 * src/factory.C (createInset):
3600 * lyxfunc.C (getStatus):
3601 * text3.C (dispatch):
3602 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3604 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3606 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3608 * ParagraphList.C (insert): handle insert right before end()
3609 (erase): fix cases where it can be first or last paragraph.
3611 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3613 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3614 Paragraph::next and Paragraph::previous
3617 * text.C (breakParagraph): adjust
3619 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3620 BufferParams& as arg.
3621 (breakParagraph): use ParagraphList::insert
3622 (breakParagraphConservative): take a Buffer* instead of a
3623 BufferParams& as arg.
3624 (breakParagraphConservative): use ParagraphList::insert.
3626 * buffer.C (insertStringAsLines): un-const it
3627 (insertStringAsLines): adjust
3629 * ParagraphList.C (insert): new function
3631 * CutAndPaste.C (pasteSelection): adjust
3633 * text.C (backspace): adjust
3635 * tabular.C (SetMultiColumn): adjust
3637 * CutAndPaste.C (cutSelection): adjust
3638 (pasteSelection): adjust
3640 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3641 Buffer const * as arg
3643 * ParagraphList.C (erase): new function
3644 * paragraph_funcs.C (mergeParagraph): use it
3645 (mergeParagraph): make it take a Buffer* instead of a
3646 BufferParams* as arg
3648 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3650 (breakParagraphConservative): ditto
3652 * paragraph.h: remove the breakParagraph friend
3654 * paragraph.C (eraseIntern): new function
3655 (setChange): new function
3657 * paragraph_funcs.C (mergeParagraph): make it take a
3658 ParagraphList::iterator instead of a Paragraph *, adjust
3661 * paragraph.h: move an #endif so that the change tracking stuff
3662 also works in the NO_NEXT case.
3664 2003-03-04 Angus Leeming <leeming@lyx.org>
3667 * LyXAction.C: new LFUN_INSET_MODIFY.
3669 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3670 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3672 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3674 * several files: ws changes only
3676 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3677 (TeXEnvironment): ditto
3680 * buffer.C (makeLaTeXFile): adjust
3681 (latexParagraphs): make it take ParagraphList::iterator as args
3683 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3685 * buffer.C (latexParagraphs): adjust
3687 * paragraph.C (TeXOnePar): move function...
3688 (optArgInset): move function...
3689 (TeXEnvironment): move function...
3690 * paragraph_pimpl.C (TeXDeeper): move function...
3691 * paragraph_funcs.C: ...here
3693 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3695 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3697 * buffer.C (readInset): remove compability code for old Figure and
3700 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3702 * buffer.C: ws changes
3705 * BufferView_pimpl.C: ditto
3708 * bufferlist.h: ditto
3712 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3714 * converter.[Ch]: split into itself +
3717 * Makefile.am: += graph.[Ch] + format.[Ch]
3724 * lyxrc.C: added #include "format.h"
3726 2003-02-27 Angus Leeming <leeming@lyx.org>
3728 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3731 * factory.C (createInset): add "label" to the factory.
3733 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3734 string and do no more.
3736 2003-02-27 Angus Leeming <leeming@lyx.org>
3739 * LyXAction.C (init):
3740 * factory.C (createInset):
3741 * BufferView_pimpl.C (dispatch):
3742 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3744 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3746 * lyxfunc.C (dispatch):
3747 * text3.C (dispatch): pass name to params2string.
3749 2003-02-26 Angus Leeming <leeming@lyx.org>
3751 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3753 Rearrange the ~includes. Strip out the unnecessary ones.
3755 * factory.C (createInset): reformat.
3756 create new insets for the various LFUN_XYZ_APPLY lfuns.
3758 2003-02-26 John Levon <levon@movementarian.org>
3761 * lyxrow.C: add isParStart,isParEnd helpers
3763 * paragraph.h: make isInserted/DeletedText take refs
3765 * paragraph_funcs.h:
3766 * paragraph_funcs.C: remove #if 0'd code
3771 * text.C: use lyxrow helpers above.
3772 Move draw and paint routines to RowPainter.
3773 Make several methods use refs not pointers.
3774 Make backgroundColor() const.
3775 Add markChangeInDraw(), isInInset().
3776 Merge changeRegionCase into changeCase.
3777 Make workWidth() shouldn't-happen code into an Assert.
3780 * rowpainter.C: new class for painting a row.
3783 * vspace.C: make inPixels take a ref
3785 2003-02-26 Angus Leeming <leeming@lyx.org>
3787 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3790 2003-02-25 John Levon <levon@movementarian.org>
3792 * ispell.C: give the forked command a more accurate name
3794 2003-02-22 John Levon <levon@movementarian.org>
3797 * toc.C: make TocItem store an id not a Paragraph *
3800 2003-02-21 Angus Leeming <leeming@lyx.org>
3802 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3803 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3804 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3805 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3806 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3807 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3809 * BufferView_pimpl.C (dispatch):
3810 * LyXAction.C (init):
3811 * factory.C (createInset):
3812 * lyxfunc.C (getStatus, dispatch):
3813 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3815 2003-02-21 Angus Leeming <leeming@lyx.org>
3817 * BufferView_pimpl.C (MenuInsertLyXFile):
3818 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3819 * lyxfunc.C (menuNew, open, doImport):
3820 no longer pass a LyXView & to fileDlg.
3822 2003-02-21 Angus Leeming <leeming@lyx.org>
3824 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3825 * LyXAction.C: change, BIBKEY to BIBITEM.
3826 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3827 Change InsetBibKey to InsetBibitem.
3828 Change BIBKEY_CODE to BIBITEM_CODE.
3829 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3830 * factory.C: replace insetbib.h with insetbibitem.h.
3831 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3832 * paragraph.C: replace insetbib.h with insetbibitem.h.
3833 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3834 Change bibkey() to bibitem().
3835 * text.C: remove insetbib.h.
3836 * text2.C: replace insetbib.h with insetbibitem.h.
3837 change bibkey() to bibitem().
3838 * text3.C: remove insetbib.h.
3839 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3841 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3843 * lyxrc.C (output): enclose user email in quotes (in case there are
3846 2003-02-18 John Levon <levon@movementarian.org>
3848 * buffer.h: add std::
3850 2003-02-17 John Levon <levon@movementarian.org>
3856 * pspell.C: reworking. Especially in ispell, a large
3857 number of clean ups and bug fixes.
3859 * lyxfunc.C: fix revert to behave sensibly
3861 2003-02-17 André Pönitz <poenitz@gmx.net>
3864 * commandtags.h: new LFUN_INSERT_BIBKEY
3874 * paragraph_func.C: remove special bibkey handling
3876 2003-02-17 John Levon <levon@movementarian.org>
3878 * text.C (Delete): fix case where delete at the end of
3879 the very first paragraph would not merge the pars
3881 2003-02-17 John Levon <levon@movementarian.org>
3883 * lyxrow.C: fix lastPrintablePos()
3885 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3887 * bufferparams.C (writeLaTeX): add a std:here
3889 * buffer.C: and remove a using directive there
3891 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3893 * buffer.C (makeLaTeXFile): move the code that generates the
3896 * bufferparams.C (writeLaTeX): ... in this new method
3898 * LaTeXFeatures.C (getEncodingSet): make const
3899 (getLanguages): make const
3901 * MenuBackend.C (binding): returns the binding associated to this
3903 (add): sets the status of each item by calling getStatus. Adds
3905 (read): add support for OptSubMenu
3906 (expand): remove extra separator at the end of expanded menu
3908 2003-02-15 John Levon <levon@movementarian.org>
3911 * BufferView_pimpl.C:
3913 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3914 inset code that had no actual effect. Remove unneeded status
3917 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3919 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3922 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3924 * text.C (drawLengthMarker): also draw an arrow marker for
3925 symbolic lengths (medskip...)
3927 2003-02-14 John Levon <levon@movementarian.org>
3930 * tabular.C: better method names
3932 2003-02-14 John Levon <levon@movementarian.org>
3934 * BufferView_pimpl.C:
3939 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3940 it's a more accurate name. Remove some pointless uses.
3942 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3944 * text2.C (LyXText): change order of initilizers to shut off
3947 2003-02-14 John Levon <levon@movementarian.org>
3949 * buffer.C: use ParIterator for getParFromID()
3953 * paragraph_pimpl.h:
3954 * paragraph_pimpl.C: remove unused getParFromID()
3956 2003-02-14 John Levon <levon@movementarian.org>
3958 * buffer.C: remove some very old #if 0'd parse code
3960 2003-02-13 John Levon <levon@movementarian.org>
3964 * text2.C: move hfillExpansion(), numberOfSeparators(),
3965 rowLast(), rowLastPrintable(), numberofHfills(),
3966 numberOfLabelHfills() ...
3969 * lyxrow.C: ... to member functions here.
3974 * text.C: remove LyXText::beginningOfMainBody(), and call
3975 p->beginningOfMainBody() directly. Move the check for
3976 LABEL_MANUAL into the latter.
3983 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3989 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3990 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3992 2003-02-13 John Levon <levon@movementarian.org>
3994 * CutAndPaste.C: remove debug
3996 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3998 * paragraph.C (asString): remove two unused variables
4000 * lyxtextclass.C (readTitleType):
4002 (LyXTextClass): handle new members titletype_ and titlename_
4004 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4006 2003-02-09 John Levon <levon@movementarian.org>
4009 * buffer.C: replace hand-coded list with a map for the dep clean
4011 2003-02-08 John Levon <levon@movementarian.org>
4013 * LaTeX.C: consolidate code into showRunMessage() helper
4015 2003-02-08 John Levon <levon@movementarian.org>
4020 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4021 and pass the size in explicitly
4023 * BufferView_pimpl.h:
4024 * BufferView_pimpl.C:
4026 * BufferView.C: add getCurrentChange()
4028 * BufferView_pimpl.h:
4029 * BufferView_pimpl.C: handle change lfuns
4031 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4032 for changes. Mark pasted paragraphs as new.
4034 * support/lyxtime.h:
4035 * support/lyxtime.C:
4036 * DepTable.C: abstract time_t as lyx::time_type
4039 * LColor.C: add colours for new text, deleted text, changebars
4041 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4042 package use "usenames" option.
4046 * LyXAction.C: add change lfuns
4050 * author.C: author handling
4053 * buffer.C: add a per-buffer author list, with first entry as
4054 current author. Handle new .lyx tokens for change tracking. Output
4055 author list to .lyx file. Output dvipost stuff to .tex preamble.
4056 Bump lyx format to 222.
4059 * bufferlist.C: add setCurrentAuthor() to reset current author details
4063 * bufferparams.C: add param for tracking
4065 * bufferview_funcs.C: output change info in minibuffer
4069 * changes.C: add change-tracking structure
4072 * debug.C: add CHANGES debug flag
4075 * lyxfind.C: add code for finding the next change piece
4078 * lyxrc.C: add user_name and user_email
4081 * lyxrow.C: add a metric for the top of the text line
4084 * text.C: implement accept/rejectChange()
4087 * text.C: paint changebars. Paint new/deleted text in the chosen
4088 colours. Strike through deleted text.
4092 * paragraph_pimpl.h:
4093 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4094 in the current change to the insert functions. Rework erase to
4095 mark text as deleted, adding an eraseIntern() and a range-based
4096 erase(). Implement per-paragraph change lookup and
4099 * paragraph_funcs.C: Fixup paste for change tracking.
4101 * tabular.C: mark added row/columns as new.
4103 * text.C: fix rowLast() to never return -1. Don't allow
4104 spellchecking of deleted text. Track transpose changes. Don't
4105 allow paragraph break or merge where appropriate.
4107 * text2.C: leave cursor at end of selection after a cut.
4109 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4111 * text.C (getLengthMarkerHeight):
4112 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4113 visible on screen too.
4115 2003-02-07 John Levon <levon@movementarian.org>
4117 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4119 2003-02-05 Angus Leeming <leeming@lyx.org>
4121 * lyxserver.C (read_ready): revert my patch of 11 September last year
4122 as it sends PC cpu through the roof. Presumably this means that
4123 the lyxserver will no longer run on an Alpha...
4125 2003-01-30 Angus Leeming <leeming@lyx.org>
4127 * factory.C (createInset): create an InsetCommandParam of type "index"
4128 and use it to 'do the right thing'.
4130 * text2.C (getStringToIndex): ensure that cursor position is always
4131 reset to the reset_cursor position.
4133 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4135 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4138 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4142 * lyxfunc.C: Output messages with identical spelling, punctuation,
4145 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4147 * MenuBackend.C (expandFormats): List only viewable export formats
4150 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4153 * lyxfunc.C (getStatus): Make sure that formats other than
4154 "fax" can also be disabled
4156 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4158 * text3.C (dispatch): put the lfuns that insert insets in 3
4159 groups, and call doInsertInset with appropriate arguments.
4160 (doInsertInset): new function, that creates an inset and inserts
4161 it according to some boolean parameters.
4163 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4165 * buffer.C (readFile): remember to pass on 'par' when calling
4166 readFile recursively.
4168 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4170 * MenuBackend.C (expandFormats): add "..." to import formats.
4172 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4174 * paragraph.C (asString): Remove XForms RTL hacks.
4176 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4177 * buffer.C: fix typo
4179 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4181 * Makefile.am (LIBS): delete var
4182 (lyx_LDADD): add @LIBS@ here instead.
4184 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4186 * Clarify the meaning of "wheel mouse jump"
4188 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4190 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4193 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4195 * importer.C (Loaders): do not preallocate 3 elements in the
4196 vector, since one ends up with 6 elements otherwise
4198 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4200 * DepTable.C (write): write the file name as last element of the
4201 .dep file (because it may contain spaces)
4202 (read): read info in the right order
4204 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4206 * paragraph_pimpl.C (simpleTeXBlanks):
4207 (simpleTeXSpecialChars):
4208 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4210 * tabular.C (latex): add some missing case statements. Reindent.
4212 * MenuBackend.C (expandToc): remove unused variable.
4214 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4223 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4226 2003-01-05 John Levon <levon@movementarian.org>
4229 * BufferView.C: add getEncoding()
4232 * kbsequence.C: do not store last keypress
4235 * lyxfunc.C: store last keypress here instead. Pass encoding
4238 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4240 * lyx_main.C (init): remove annoying error message when following
4241 symbolic links (bug #780)
4243 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4245 * text.C (insertChar):
4246 * lyxrc.C (getDescription): remove extra spaces
4248 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4250 * lyxrc.C (getDescription): remove extra spaces
4252 2002-12-20 John Levon <levon@movementarian.org>
4254 * text3.C: hack fix for page up/down across tall rows
4256 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4258 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4261 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4263 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4264 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4265 thesaurus is not compiled in
4267 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4269 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4271 2002-12-16 Angus Leeming <leeming@lyx.org>
4274 * lyx_main.C (init): remove override_x_deadkeys stuff.
4276 2002-12-12 John Levon <levon@movementarian.org>
4278 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4279 insert. Only remove shift modifier under strict
4282 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4284 * MenuBackend.C (expandToc): fix crash.
4286 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4288 * MenuBackend.C (expandToc): gettext on float names.
4290 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4292 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4293 implement bool empty() [bug 490]
4295 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4297 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4299 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4301 * several files: ws changes
4303 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4305 * text2.C (setCounter): clean up a bit, use boost.format.
4306 (updateCounters): initialize par upon declaration.
4308 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4309 if the layout exists. We do not just store the layout any more.
4310 (SwitchLayoutsBetweenClasses): use boost.format
4312 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4314 * converter.C (convert): if from and to files are the same, use a
4315 temporary files as intermediary
4317 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4320 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4322 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4324 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4326 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4328 * tabular.C (asciiPrintCell): use string(size, char) instead of
4331 * sgml.C (openTag): fix order of arguments to string constructor
4334 * lyxfunc.C (dispatch): use boost.format
4336 * lots of files: change "c" -> 'c'
4338 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4340 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4342 2002-11-25 Angus Leeming <leeming@lyx.org>
4344 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4346 * lyx_main.C (init): compile fix.
4348 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4350 * lyx_cb.C (start): boost.formatify
4351 do not include <iostream>
4353 * lengthcommon.C: ws only
4355 * boost-inst.C,BoostFormat.h: add more explict instantations
4357 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4359 * lots of files: handle USE_BOOST_FORMAT
4361 2002-11-21 John Levon <levon@movementarian.org>
4363 * pspell.C: fix compile
4365 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4367 * lyxfunc.C (dispatch): use boost::format
4371 * lyxfont.C (stateText): use boost::format
4373 * lyx_main.C (LyX): use boost::format
4375 (queryUserLyXDir): ditto
4378 (typedef boost::function): use the recommened syntax.
4380 * importer.C (Import): use boost::format
4382 * debug.C (showLevel): use boost::format
4384 * converter.C (view): use boost::format
4389 * bufferview_funcs.C (currentState): use boost::format
4391 * bufferlist.C (emergencyWrite): use boost::format
4393 * buffer.C (readLyXformat2): use boost::format
4394 (parseSingleLyXformat2Token): ditto
4396 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4398 * LaTeX.C (run): use boost::format
4400 * Chktex.C (scanLogFile): use boost::format
4402 * BufferView_pimpl.C (savePosition): use boost::format
4403 (restorePosition): ditto
4404 (MenuInsertLyXFile): ditto
4406 * BoostFormat.h: help file for explicit instation.
4408 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4410 * tabular.C (latex): Support for block alignment in fixed width
4413 2002-11-17 John Levon <levon@movementarian.org>
4415 * BufferView_pimpl.C:
4417 * lyxfunc.C: split filedialog into open/save
4419 2002-11-08 Juergen Vigna <jug@sad.it>
4421 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4422 by my last patch (hopefully).
4424 2002-11-08 John Levon <levon@movementarian.org>
4433 * toc.C: ParConstIterator, and use it (from Lars)
4435 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4437 * lyxtextclass.[Ch]: revise and add doxygen comments
4439 2002-11-07 John Levon <levon@movementarian.org>
4441 * text.C: fix progress value for spellchecker
4443 * toc.C: fix navigate menu for insetwrap inside minipage
4445 * paragraph_funcs.C: added FIXME for suspect code
4447 2002-11-07 John Levon <levon@movementarian.org>
4449 * BufferView_pimpl.C: fix redrawing of insets
4452 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4454 * text2.C (updateCounters): fix bug 668
4456 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4458 * text3.C (dispatch): Do not make the buffer dirty when moving the
4461 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4463 * vc-backend.C: STRCONV
4466 * text2.C (setCounter): STRCONV
4468 * paragraph.C (asString): STRCONV
4470 * lyxlength.C (asString): STRCONV
4471 (asLatexString): ditto
4473 * lyxgluelength.C (asString): STRCONV
4474 (asLatexString): ditto
4476 * lyxfunc.C (dispatch): STRCONV
4479 * lyxfont.C (stateText): STRCONV
4481 * importer.C (Import): STRCONV
4483 * counters.C (labelItem): STRCONV
4484 (numberLabel): ditto
4485 (numberLabel): remove unused ostringstream o
4490 * bufferview_funcs.C (currentState): STRCONV
4492 * buffer.C (readFile): STRCONV
4493 (asciiParagraph): ditto
4494 (makeLaTeXFile): ditto
4496 * Spacing.C (writeEnvirBegin): STRCONV
4498 * LaTeXFeatures.C (getLanguages): STRCONV
4499 (getPackages): ditto
4501 (getBabelOptions): ditto
4502 (getTClassPreamble): ditto
4503 (getLyXSGMLEntities): ditto
4504 (getIncludedFiles): ditto
4508 (scanAuxFile): ditto
4511 * LString.h: add the STRCONV macros
4513 * BufferView_pimpl.C (savePosition): STRCONV
4514 (restorePosition): ditto
4515 (MenuInsertLyXFile): ditto
4517 * vc-backend.C (scanMaster): change from submatch[...] to
4520 * funcrequest.C: include config.h
4522 * factory.C: include config.h
4524 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4526 * box.C: include config.h
4528 * LaTeX.C (scanAuxFile): change from submatch[...] to
4532 2002-10-25 Angus Leeming <leeming@lyx.org>
4534 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4536 * ispell.[Ch] (setError): new method.
4537 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4538 Use setError() insetead of goto END.
4540 * lyx_cb.C (AutoSave): move out child process into new class
4543 2002-10-30 John Levon <levon@movementarian.org>
4545 * text3.C: make start appendix undoable
4547 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4549 * lyxlength.C (inPixels): Fix returned value.
4551 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4554 2002-10-24 Angus Leeming <leeming@lyx.org>
4556 * lyxgluelength.h: no need to forward declare BufferParams
4557 or BufferView, so don't.
4559 2002-10-21 John Levon <levon@movementarian.org>
4561 * BufferView.C: menuUndo ->undo, redo
4563 * BufferView.h: document, remove dead, make some methods private
4565 * paragraph_funcs.h:
4566 * paragraph_funcs.C:
4567 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4572 * sgml.C: move sgml open/close tag into sgml.C
4574 * bufferview_funcs.h: unused prototype
4577 * lyxfunc.C: remove unused
4580 * text.C: remove unused
4582 2002-10-21 John Levon <levon@movementarian.org>
4586 * BufferView_pimpl.h:
4587 * BufferView_pimpl.C: fix mouse wheel handling based on
4588 patch from Darren Freeman
4590 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4592 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4594 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4596 * lyxlength.C (inPixels): Fix hanfling of negative length.
4597 Fix LyXLength::MU case.
4599 2002-10-16 John Levon <levon@movementarian.org>
4601 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4603 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4605 * converter.C (view): add support for $$i (file name) and $$p
4606 (file path) for the viewer command. If $$i is not specified, then
4607 it is appended to the command (for compatibility with old syntax)
4609 2002-10-14 Juergen Vigna <jug@sad.it>
4611 * undo_funcs.C (textHandleUndo): alter the order in which the
4612 new undopar is added to the LyXText, as we have to set first
4613 the right prev/next and then add it as otherwise the rebuild of
4614 LyXText is not correct. Also reset the cursor to the right paragraph,
4615 with this IMO we could remove the hack in "redoParagraphs()".
4617 2002-10-09 Angus Leeming <leeming@lyx.org>
4619 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4620 to turn off an optimisation if a new inset is to be inserted.
4622 2002-10-11 André Pönitz <poenitz@gmx.net>
4624 * lyxtext.h: make some functions public to allow access
4625 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4627 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4629 * text3.C (dispatch): when changing layout, avoid an infinite loop
4632 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4634 * lyxrc.C (read): treat a viewer or converter command of "none" as
4637 * MenuBackend.C (expandFormats): for an update, also allow the
4638 formats that are not viewable
4640 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4641 script if it is newer than the lyxrc.defaults in user directory
4643 2002-10-07 André Pönitz <poenitz@gmx.net>
4645 * text.C: Vitaly Lipatov's small i18n fix
4647 2002-09-25 Angus Leeming <leeming@lyx.org>
4649 * ispell.h: doxygen fix.
4651 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4653 * buffer.h (readFile): Add a new argument to the method, to allow
4654 reading of old-format templates.
4656 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4658 * toc.C (getTocList): Get TOC from InsetWrap.
4660 2002-09-16 John Levon <levon@movementarian.org>
4662 * lyxfunc.C: check tabular for cut/copy too
4664 2002-09-12 John Levon <levon@movementarian.org>
4669 * factory.C: add header
4671 * paragraph_funcs.h:
4672 * paragraph_funcs.C: cleanup
4674 2002-09-11 John Levon <levon@movementarian.org>
4676 * PrinterParams.h: odd/even default to true
4678 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4680 * PrinterParams.h: update printer parameters for new xforms dialog
4682 2002-09-11 Angus Leeming <leeming@lyx.org>
4684 * lyxserver.C (read_ready): re-write to make it more transparent
4685 and to make it work in coherent fashion under Tru64 Unix.
4687 2002-09-11 André Pönitz <poenitz@gmx.net>
4691 * text3.C: implement LFUN_WORDSEL
4693 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4695 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4696 make floatlist_ a boost::shared_ptr<FloatList>
4698 * lyxtextclass.C: include FloatList.h
4699 (LyXTextClass): initialize floatlist_
4700 (TextClassTags): add TC_NOFLOAT
4701 (Read): match "nofloat" to TC_NOFLOAT and use it.
4702 (readFloat): modify call to floatlist_
4706 * FloatList.[Ch] (FloatList): remove commented out float
4708 (erase): new function
4710 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4712 * MenuBackend.C (expandToc): fix crash when there is no document
4715 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4717 * many files: Add insetwrap.
4719 2002-09-09 John Levon <levon@movementarian.org>
4721 * text2.C: remove confusing and awkward depth wraparound
4723 2002-09-09 John Levon <levon@movementarian.org>
4725 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4728 * buffer.C: remove getIncludeonlyList()
4731 * lyxfunc.C: remove headers
4733 2002-09-09 Juergen Vigna <jug@sad.it>
4735 * text.C (getColumnNearX): fix form Michael this is most
4736 probably a cut&paste bug.
4738 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4740 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4742 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4743 references, ws changes.
4745 * text2.C (init): update counters after init
4746 (insertParagraph): no need to set counter on idividual paragraphs.
4747 (setCounter): access the counters object in the textclass object
4748 on in the buffer object.
4749 (updateCounters): ditto
4751 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4752 shared_ptr<Counters> to avoid loading counters.h in all
4754 (LyXTextClass): initialize ctrs_
4755 (TextClassTags): add TC_COUNTER, and ...
4756 (Read): use it here.
4757 (CounterTags): new tags
4758 (readCounter): new function
4759 (counters): new funtion
4760 (defaultLayoutName): return a const reference
4762 * counters.C (Counters): remove contructor
4763 (newCounter): remove a couple of unneeded statements.
4764 (newCounter): simplify a bit.
4765 (numberLabel): some small formatting changes.
4767 * buffer.[Ch]: remove all traces of counters, move the Counters
4768 object to the LyXTextClass.
4770 2002-09-06 Alain Castera <castera@in2p3.fr>
4772 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4773 package to set the horizontal alignment on fixed width columns.
4776 * lyx_sty.h: added tabularnewline macro def.
4778 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4780 2002-09-06 John Levon <levon@movementarian.org>
4782 * LyXAction.C: tooltips for sub/superscript
4784 * MenuBackend.C: a bit more verbose
4786 * lyxfunc.C: tiny clean
4788 * undo_funcs.C: document undo_frozen
4790 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4792 * counters.C (Counters): add missing algorithm counter.
4794 * text2.C (setCounter): lookup the counter with layouts latexname
4795 instead of by section number.
4796 (setCounter): use a hackish way to lookup the correct enum
4798 a float name->type change
4799 reset enum couners with counter name directly instead of depth value.
4801 * counters.C (Counters): remove the push_backs, change to use the
4802 float type not the float name.
4803 (labelItem): remove unused string, float name->type change
4805 * counters.h: don't include vector, loose the enums and sects vectors
4807 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4809 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4810 (Read): add float->TC_FLOAT to textclassTags
4811 (Read): and handle it in the switch
4812 (readFloat): new function
4814 * FloatList.C (FloatList): comment out the hardcoded float
4817 * lyxlayout.h: ws change.
4819 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4821 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4823 2002-09-03 Angus Leeming <leeming@lyx.org>
4825 * BufferView_pimpl.h: qualified name is not allowed in member
4826 declaration: WorkArea & Pimpl::workarea() const;
4828 * factory.C: added using std::endl directive.
4830 * text3.C: added using std::find and std::vector directives.
4832 2002-08-29 André Pönitz <poenitz@gmx.net>
4835 * text2.C: remove unused member number_of_rows
4838 * BufferView2.C: remove file, move contents to...
4839 * BufferView.C: ... here
4841 * BufferView_pimpl.C:
4842 * factory.C: move more inset creation to factory
4844 * vspace.C: avoid direct usage of LyXText, ws changes
4847 don't provide direct access to WorkArea, use two simple
4848 acessors haveSelction() and workHeight() instead
4851 2002-08-29 John Levon <levon@movementarian.org>
4853 * BufferView_pimpl.C (dispatch): do not continue when
4856 2002-08-28 André Pönitz <poenitz@gmx.net>
4858 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4861 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4863 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4865 * buffer.C: increment LYX_FORMAT to 221
4867 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4868 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4870 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4872 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4874 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4876 * factory.C (createInset): use LyXTextClass::floats
4878 * MenuBackend.C (expandFloatListInsert):
4879 (expandFloatInsert):
4882 * text2.C (setCounter):
4884 * LaTeXFeatures.C (useFloat):
4885 (getFloatDefinitions):
4887 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4889 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4890 floatlist_, with accessor floats().
4892 * FloatList.h: remove global FloatList
4894 2002-08-26 André Pönitz <poenitz@gmx.net>
4896 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4900 * BufferView_pimpl.C:
4901 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4903 2002-08-25 John Levon <levon@movementarian.org>
4905 * LyXAction.C: fix margin note description
4907 2002-08-24 John Levon <levon@movementarian.org>
4911 * bufferview_funcs.C:
4913 * undo_funcs.C: cleanups
4915 * lyxfunc.C: disable CUT/COPY when no selection
4917 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4919 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4920 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4922 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4923 Add backward compatibility to "mono", "gray" and "no".
4925 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4927 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4928 (and file_format >= 200).
4930 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4932 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4934 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4936 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4938 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4940 * BufferView_pimpl.C:
4947 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4948 inset and code to make it work with the paragraph code. The inset
4949 can be anywhere in the paragraph, but will only do the expected
4950 thing in LaTeX if the layout file contains the parameter line
4952 (or more generally, a nonzero value) for that layout.
4954 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4956 * paragraph.h: remove the declaration of undefined counters class
4959 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4961 * text2.C (setCounter): fixed enumeration mis-count as reported by
4962 Dr. Richard Hawkins.
4964 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4966 * paragraph_funcs.h: remove some unneeded includes
4968 * text.C (backspace): pasteParagraph now in global scipe
4970 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4971 (pasteSelection): ditto
4973 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4974 * paragraph_funcs.C (pasteParagraph): ... here
4976 2002-08-20 André Pönitz <poenitz@gmx.net>
4978 * commandtags.h: new LFUNs for swapping/copying table row/colums
4981 * lyxfunc.C: support for new lfuns
4983 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4986 * buffer.[Ch]: remove NO_COMPABILITY stuff
4988 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4990 * boost.C (throw_exception): new file, with helper function for
4991 boost compiled without exceptions.
4996 * ParameterStruct.h:
4997 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4999 * bufferlist.C (emergencyWriteAll): use boost bind
5001 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5003 * text.C: include paragraph_funcs.h
5004 (breakParagraph): breakParagraph is now in global scope
5006 * paragraph_funcs.[Ch]: new files
5008 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5011 * buffer.C: include paragraph_funcs.h
5012 (insertStringAsLines): breakParagraph is now in global scope
5014 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5017 * CutAndPaste.C: include paragraph_funcs.h
5018 (cutSelection): breakParagraphConservative is now in global scope
5019 (pasteSelection): ditto
5021 * buffer.h: declare oprator== and operator!= for
5022 Buffer::inset_iterator
5024 * bufferlist.C (emergencyWrite): don't use fmt(...)
5026 * text3.C: add using std::endl
5028 * BufferView.C (moveCursorUpdate): remove default arg
5030 2002-08-20 André Pönitz <poenitz@gmx.net>
5032 * buffer.[Ch]: move inline functions to .C
5035 * BufferView_pimpl.C:
5037 * buffer.[Ch]: use improved inset_iterator
5040 * paragraph.[Ch]: write one paragraph at a time
5042 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5044 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5045 style if style is not specified.
5047 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5049 * text2.C (setCounter): when searching for right label for a
5050 caption, make sure to recurse to parent insets (so that a caption
5051 in a minipage in a figure float works) (bug #568)
5053 2002-08-20 André Pönitz <poenitz@gmx.net>
5055 * text3.C: new file for LyXText::dispatch() and helpers
5057 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5059 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5061 2002-08-19 André Pönitz <poenitz@gmx.net>
5064 * text.C: new LyXText::dispatch()
5066 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5068 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5070 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5072 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5075 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5077 * Makefile.am: use $(variables) instead of @substitutions@
5079 2002-08-15 André Pönitz <poenitz@gmx.net>
5082 * BufferView_pimpl.C: streamlining mathed <-> outer world
5086 * LyXAction.C: remove unused LFUN_MATH
5088 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5090 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5092 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5094 * paragraph.C (Paragraph): reformat a bit
5095 (cutIntoMinibuffer): use builtin InsetList function instad of
5099 * buffer.C: include boost/bind.hpp, add using std::for_each
5100 (writeFileAscii): use ParagraphList iterators
5101 (validate): use for_each for validate traversal of paragraphs
5102 (getBibkeyList): use ParagraphList iterators
5103 (resizeInsets): use for_each to resizeInsetsLyXText for all
5105 (getParFromID): use ParagraphList iterators
5107 * BufferView2.C (lockInset): use paragraph list and iterators
5109 2002-08-14 John Levon <levon@movementarian.org>
5111 * lyxserver.C: remove spurious xforms include
5113 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5115 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5117 2002-08-13 André Pönitz <poenitz@gmx.net>
5120 * lyxfunc.C: further cleaning
5122 2002-08-13 André Pönitz <poenitz@gmx.net>
5124 * funcrequest.h: new constructor
5126 * funcrequest.C: move stuff here from .h
5129 * BufferView_pimpl.C:
5132 * lyxfunc.C: subsequent changes
5134 * lyxfunc.h: new view() member function
5136 * lyxfunc.C: subsequent changes
5138 2002-08-13 Angus Leeming <leeming@lyx.org>
5141 * BufferView_pimpl.C:
5149 changes due to the changed LyXView interface that now returns references
5150 to member variables not pointers.
5152 2002-08-13 Angus Leeming <leeming@lyx.org>
5154 * WordLangTuple (word, lang_code): return references to strings,
5159 * lyxtext.h: forward-declare WordLangTuple.
5164 * text.C: #include "WordLangTuple.h".
5167 * text.C: (selectNextWordToSpellcheck): constify return type.
5169 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5175 * paragraph_pimpl.h:
5178 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5180 Made updateCounter always count from start of buffer, and removed
5181 second argument (par).
5182 Reverted floats number display to '#'. Perhaps I'll try again when the
5183 code base is sanitized a bit.
5185 2002-08-12 Angus Leeming <leeming@lyx.org>
5187 * buffer.[Ch] (getLabelList): constify.
5189 2002-08-07 André Pönitz <poenitz@gmx.net>
5191 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5193 * funcrequest.h: extension to keep mouse (x,y) position
5195 2002-08-12 Juergen Vigna <jug@sad.it>
5197 * BufferView2.C (insertErrors): forbid undo when inserting error
5200 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5202 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5204 * ParagraphList.[Ch]: new files
5206 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5208 * BufferView2.C (lockInset): ParagraphList changes
5211 * bufferlist.C: ditto
5215 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5217 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5218 unused class variable counter_,
5220 * paragraph.[Ch] (getFirstCounter): delete unused function
5222 * counters.C: include LAssert.h
5223 (reset): add a new function with no arg, change other version to
5224 not have def. arg and to not allow empty arg.
5226 * text2.C (setCounter): remove empty arg from call to Counters::reset
5228 2002-08-11 John Levon <levon@movementarian.org>
5230 * Makefile.am: add WordLangTuple.h
5232 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5234 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5235 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5237 * insets/insettext.C: InsetList changes
5239 * graphics/GraphicsSupport.C (operator()): InsetList changes
5241 * toc.C (getTocList): InsetList changes
5243 * paragraph_pimpl.[Ch]: InsetList changes
5245 * paragraph.[Ch]: InsetList changes
5247 * buffer.C (inset_iterator): InsetList changes
5248 (setParagraph): ditto
5249 * buffer.h (inset_iterator): ditto
5250 * iterators.C (operator++): ditto
5251 * iterators.h: ditto
5253 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5255 * InsetList.[Ch]: new files, most InsetList handling moved out of
5258 * BufferView2.C (removeAutoInsets): InsetList changes
5260 (ChangeInsets): ditto
5262 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5264 * paragraph_pimpl.h (empty): new function
5266 * paragraph.[Ch] (empty): new function
5268 * other files: use the new Paragraph::empty function
5270 2002-08-09 John Levon <levon@movementarian.org>
5272 * lyxtext.h: remove unused refresh_height
5274 2002-08-09 John Levon <levon@movementarian.org>
5281 * paragraph.C: move sgml char escaping out of paragraph
5284 * paragraph.C: remove id setter
5288 * paragraph_pimpl.C: remove dead tex_code_break_column
5290 * bufferview_funcs.C: small cleanup
5292 * lyxfunc.C: remove dead proto
5294 * lyxtext.h: make some stuff private. Remove some dead stuff.
5296 * lyxgluelength.C: make as[LyX]String() readable
5298 2002-08-08 John Levon <levon@movementarian.org>
5303 * ToolbarDefaults.C:
5306 * toc.C: lyxaction cleanup
5308 2002-08-08 John Levon <levon@movementarian.org>
5310 * BufferView2.C: small cleanup
5313 * lyxfind.C: move unnecessary header into the .C
5315 2002-08-08 John Levon <levon@movementarian.org>
5317 * funcrequest.h: just tedious nonsense
5320 * lyx_main.C: cleanups
5323 * vspace.C: remove dead header lyx_main.h
5325 2002-08-07 Angus Leeming <leeming@lyx.org>
5328 * paragraph_pimpl.h:
5329 Forward declare class Counters in paragraph.h by moving the ctrs member
5330 variable into Paragraph::Pimpl.
5331 (counters): new method, returning a reference to pimpl_->ctrs.
5333 * text2.C: ensuing changes.
5335 2002-08-07 John Levon <levon@movementarian.org>
5337 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5339 * BufferView_pimpl.C: announce X selection on double/triple
5342 * lyx_main.C: use correct bool in batch dispatch
5344 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5346 2002-08-07 André Pönitz <poenitz@gmx.net>
5348 * funcrequest.h: new class to wrap a kb_action and its argument
5351 * BufferView_pimpl[Ch]:
5355 * lyxrc.C: subsequent changes
5358 2002-08-07 John Levon <levon@movementarian.org>
5360 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5361 document options change.
5363 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5368 * makefile.am: move counters functionality over from
5369 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5371 2002-08-06 John Levon <levon@movementarian.org>
5373 * WordLangTuple.h: new file for word + language code tuple
5384 * BufferView2.C: use WordLangTuple
5387 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5389 2002-08-06 John Levon <levon@movementarian.org>
5391 * lyx_main.C: fix cmdline batch handling
5393 2002-08-06 André Pönitz <poenitz@gmx.net>
5395 * lyxrc.C: set default for show_banner to true
5397 2002-08-06 John Levon <levon@movementarian.org>
5399 * pspell.C: fix a crash, and allow new aspell to work
5401 2002-08-06 John Levon <levon@movementarian.org>
5404 * kbmap.C: small cleanup
5407 * vspace.C: add const
5409 2002-08-05 John Levon <levon@movementarian.org>
5411 * LyXAction.C: back to tabular-insert
5413 2002-08-04 John Levon <levon@movementarian.org>
5416 * BufferView.C: cosmetic change
5418 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5428 * BufferView2.C: purge all "Lyx" not "LyX" strings
5431 * lyxcursor.C: attempt to add some documentation
5436 * ToolbarDefaults.C:
5437 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5438 merge with LFUN_TABULAR_INSERT
5445 * pspell.C: split up i/pspell implementations into separate
5446 files, many cleanups
5448 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5450 * text2.C: some cleanup
5452 * lyxfunc.C: don't check for isp_command == "none" any more, it
5453 didn't make any sense
5455 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5460 * makefile.am: move counters functionality over
5461 from text2.C/paragraph.[Ch] to counters.[Ch], and
5463 2002-08-02 John Levon <levon@movementarian.org>
5465 * buffer.C: s/lyxconvert/lyx2lyx/
5467 2002-08-02 Angus Leeming <leeming@lyx.org>
5469 * lyxlex.C: revert John's change as it breaks reading of the user
5472 2002-08-02 Angus Leeming <leeming@lyx.org>
5474 * importer.C (Import):
5475 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5476 changes due to LyXView::view() now returning a boost::shared_ptr.
5478 2002-08-02 John Levon <levon@movementarian.org>
5480 * lyxlex.C: small cleanup
5482 2002-08-02 John Levon <levon@movementarian.org>
5484 * text2.C (status): small cleanup, no logic change
5486 2002-08-01 John Levon <levon@movementarian.org>
5489 * buffer.C (writeFile): don't output alerts, caller
5493 * lyx_cb.C: from above
5495 * lyxfunc.C: allow to open non-existent files
5497 2002-07-31 John Levon <levon@movementarian.org>
5499 * lyxserver.C: don't let incidental errors get
5502 2002-07-30 John Levon <levon@movementarian.org>
5504 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5506 2002-07-30 John Levon <levon@movementarian.org>
5509 * lyxserver.C: remove I/O callback too
5511 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5513 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5516 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5518 * many files: strip,frontStrip -> trim,ltrim,rtrim
5520 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5522 * PrinterParams.h: remove extern containsOnly, and include
5523 support/lstrings.h instead.
5525 * LaTeX.C (scanAuxFile): modify because of strip changes
5527 * buffer.C (makeLaTeXFile): ditto
5528 * bufferparams.C (writeFile): ditt
5529 * lyxfont.C (stateText): ditto
5530 * lyxserver.C (read_ready): ditto
5531 * vc-backend.C (scanMaster): ditto
5533 * BufferView_pimpl.h: ws changes
5535 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5537 2002-07-26 André Pönitz <poenitz@gmx.net>
5539 * kb_sequence.C: remove unnedred usings
5541 2002-07-26 Juergen Vigna <jug@sad.it>
5543 * lyxfind.C (LyXReplace): we have to check better if the returned
5544 text is not of theLockingInset()->getLockingInset().
5546 2002-07-25 Juergen Vigna <jug@sad.it>
5548 * lyxfind.C (LyXReplace): don't replace if we don't get the
5551 * undo_funcs.C (createUndo): remove debugging code.
5553 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5555 * buffer.C (parseSingleLyXformat2Token): Use default placement
5556 when reading old floats.
5558 * FloatList.C (FloatList): Change the default placement of figure
5559 and tables to "tbp".
5561 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5563 * MenuBackend.C: using std::max
5565 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5567 * MenuBackend.C (expandToc):
5568 (expandToc2): code moved from xforms menu frontend. It is now
5569 generic and TOCs are transparent to menu frontends.
5571 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5573 * toc.C (getTocList): protect against buf=0
5575 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5576 Menu as first parameter. Now, this calls itself recursively to
5577 expand a whole tree (this will be useful for TOC handling)
5578 (expandFloatInsert): remove 'wide' version of floats
5580 * MenuBackend.h (submenuname): returns the name of the submenu.
5581 (submenu): returns the submenu itself, provided it has been
5582 created by MenuBackend::expand
5584 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5586 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5587 insets which have noFontChange == true. (bug #172)
5589 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5591 * BufferView_pimpl.C: add connection objects and use them...
5594 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5596 * MenuBackend.C (expandLastfiles):
5599 (expandFloatListInsert):
5600 (expandFloatInsert):
5601 (expand): split expand in parts
5603 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5605 * lyx_gui.C: use lyx_gui::exit()
5607 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5609 * LyXAction.C: show the failing pseudo action
5611 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5613 * buffer.C (readFile): Run the lyxconvert script in order to read
5616 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5620 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5622 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5626 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5628 2002-07-22 Herbert Voss <voss@lyx.org>
5631 * lyxlength.[Ch]: add support for the vertical lengths
5633 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5635 * toc.[Ch]: std:: fixes
5637 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5639 * lyxrc.C: do not include lyx_main.h
5641 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5647 * BufferView2.C: include "lyxlex.h"
5650 * bufferparams.h: do not #include "lyxlex.h"
5652 * lyxtextclasslist.C (Add): remove method
5653 (classlist): renamed to classlist_
5655 * paragraph_pimpl.C:
5659 * bufferview_funcs.C:
5664 * toc.C (getTocList): use BufferParams::getLyXTextClass
5666 * toc.C (getTocList): use InsetFloat::addToToc
5668 * toc.[Ch]: new files, containing helper functions to handle table
5671 * lyxfunc.C (dispatch): no need to remove spaces around command
5673 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5674 first command of the sequence; it is not very clever, but I do not
5675 have a better idea, actually
5677 * LyXAction.C (LookupFunc): make sure to remove space at the
5678 beginning and end of the command
5680 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5682 * MenuBackend.C (getMenubar): new method: return the menubar of
5684 (read): treat differently reading of menu and menubar (in
5685 particular, the menubar has no name now)
5686 (Menu::menubar): remove
5688 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5691 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5693 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5694 a bibitem inset in a RTL paragraph.
5696 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5698 * paragraph_pimpl.C: constify
5700 * BufferView_pimpl.C:
5702 * lyxfunc.C: fix dispatch in a nicer way
5704 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5706 * lyxfunc.C (dispatch):
5707 * BufferView_pimpl.C:
5708 * BufferView_pimpl.h:
5710 * BufferView.h: rename Dispatch() to dispatch()
5712 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5714 * lyxlayout.C (Read): honor DependsOn tag
5716 * lyxlayout.[Ch] (depends_on): new method
5718 * version.C.in: update lyx_docversion
5720 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5722 * paragraph.C (validate): remove from here...
5723 * paragraph_pimpl.C (validate): ... and move here
5724 (isTextAt): make it const
5726 * buffer.C (getLists): ws cleanup
5728 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5730 * language.C (read): Use iso8859-1 encoding in latex_lang
5731 (this prevents LyX from crashing when using iso10646-1 encoding).
5733 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5735 * text2.C (toggleInset): if cursor is inside an inset, close the
5736 inset and leave cursor _after_ it
5738 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5740 * lyxfunc.C: move minibuffer completion handling out of here
5742 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5744 * BufferView_pimpl.C:
5745 * LaTeX.C: fix dispatch calls
5747 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5749 * text.C (drawChars): Fix Arabic text rendering.
5751 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5755 * lyxfunc.C: remove message-push/pop
5759 * lyxfunc.C: rationalise some code by removing verboseDispatch
5760 in favour of a bool argument to dispatch()
5762 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5764 * lyx_main.C (init): make sure to read symlinks as absolute paths
5766 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5769 * lyxfunc.C: no need for commandshortcut to be a member
5771 2002-07-15 André Pönitz <poenitz@gmx.net>
5773 * converter.C: add support for $$s (scripts from lib/scripts dir)
5774 * lyx_main.C: white space
5776 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5780 * lyxrc.C: remove second exit confirmation
5782 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5787 * BufferView_pimpl.h:
5788 * BufferView_pimpl.C:
5789 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5791 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5793 * MenuBackend.C (expand): add numeric shortcuts to document menu
5795 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5797 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5799 * lyxfont.C (setLyXFamily):
5806 * buffer.C (asciiParagraph): use ascii_lowercase
5808 2002-07-15 Mike Fabian <mfabian@suse.de>
5810 * lyxlex_pimpl.C (search_kw):
5811 * lyxlex.C (getLongString):
5812 * converter.h (operator<):
5813 * converter.C (operator<):
5814 * buffer.C (parseSingleLyXformat2Token):
5816 * ToolbarDefaults.C (read):
5817 * MenuBackend.C (checkShortcuts):
5819 * LColor.C (getFromGUIName):
5820 (getFromLyXName): use the compare_ascii_no_case instead of
5821 compare_no_case, because in turkish, 'i' is not the lowercase
5822 version of 'I', and thus turkish locale breaks parsing of tags.
5824 2002-07-16 Angus Leeming <leeming@lyx.org>
5826 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5827 now takes a Buffer const & argument.
5829 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5831 * BufferView.C (resize): check there's a buffer to resize
5833 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5835 * lyxfunc.C: remove dead code
5838 * lyxserver.C: use lyx_guii::set_read_callback
5840 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5842 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5843 an inset in a RTL paragraph.
5845 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5847 * lyxfunc.C: repaint after a font size update
5849 2002-07-15 André Pönitz <poenitz@gmx.net>
5851 * lyxlength.C: inBP should be able to return negative values
5853 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5855 * lyxfunc.C: use lyx_gui::update_fonts()
5857 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5859 * lyxfunc.C: use lyx_gui::update_color()
5861 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5867 * lyxrc.C: remove file->new asks for name option, and let
5868 buffer-new take an argument
5870 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5872 * BufferView_pimpl.C: remove unneeded extra repaint()
5874 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5876 * LyXAction.C: allow command-sequence with NoBuffer
5878 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5880 2002-07-10 Angus Leeming <leeming@lyx.org>
5882 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5884 2002-07-09 Angus Leeming <leeming@lyx.org>
5886 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5888 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5890 * lengthcommon.h: whitespace
5892 * lyxfunc.C: update scrollbar after goto paragraph
5894 * lyxtext.h: factor out page break drawing, and fix it so
5895 page break/added space paints as selected nicely
5897 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5899 * BufferView_pimpl.C: add FIXMEs, clean up a little
5901 2002-07-09 André Pönitz <poenitz@gmx.net>
5903 * lyxfont.[Ch]: support for wasy symbols
5905 2002-07-08 André Pönitz <poenitz@gmx.net>
5907 * BufferView_pimpl.C: apply John's patch for #93.
5909 2002-07-05 Angus Leeming <leeming@lyx.org>
5911 * BufferView_pimpl.C (buffer): generate previews if desired.
5913 * LColor.h: add "preview" to the color enum.
5915 * LColor.C (LColor): add a corresponding entry to the items array.
5917 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5920 2002-07-05 Angus Leeming <leeming@lyx.org>
5922 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5923 The body of the code is now in the method that is passed an ostream &
5924 rather than a file name.
5925 Pass an additional only_preamble parameter, useful for the forthcoming
5928 2002-07-03 André Pönitz <poenitz@gmx.net>
5930 * lyxfunc.C: simplify getStatus() a bit for math stuff
5932 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5934 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5936 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5938 * text.C (changeRegionCase): do not change case of all the
5939 document when region ends at paragraph end (bug #461)
5941 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5943 * paragraph.C (startTeXParParams):
5944 (endTeXParParams): add \protect when necessary
5946 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5948 * BufferView_pimpl.C (workAreaExpose): remove warning
5950 2002-06-27 Angus Leeming <leeming@lyx.org>
5952 * Makefile.am: add lyxlayout_ptr_fwd.h.
5954 2002-06-26 André Pönitz <poenitz@gmx.net>
5956 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5958 2002-06-25 Angus Leeming <leeming@lyx.org>
5960 * lyxfunc.C (dispatch): Comment out the call to
5961 grfx::GCache::changeDisplay. The method no longer exists now that the
5962 pixmap generation part of the graphics loader has been moved into
5965 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5967 * text2.C: layout as layout
5969 * text.C: layout as layout
5971 * tabular.C (OldFormatRead): layout as layout
5973 * paragraph_pimpl.C (TeXDeeper): layout as layout
5974 (realizeFont): layout as layout
5976 * paragraph.C (writeFile): layout as layout
5977 (validate): layout as layout
5978 (getFont): layout as layout
5979 (getLabelFont): layout as layout
5980 (getLayoutFont): layout as layout
5981 (breakParagraph): layout as layout
5982 (stripLeadingSpaces): layout as layout
5983 (getEndLabel): layout as layout
5984 (getMaxDepthAfter): layout as layout
5985 (applyLayout): layout as layout
5986 (TeXOnePar): layout as layout
5987 (simpleTeXOnePar): layout as layout
5988 (TeXEnvironment): layout as layout
5989 (layout): layout as layout
5990 (layout): layout as layout
5992 * lyxtextclass.C (compare_name): new functor to work with
5993 shared_ptr, layout as layout
5994 (Read): layout as layout
5995 (hasLayout): layout as layout
5996 (operator): layout as layout
5997 (delete_layout): layout as layout
5998 (defaultLayout): layout as layout
6000 * lyxlayout_ptr_fwd.h: new file
6002 * lyxlayout.C (Read): layout as layout
6004 * lyx_cb.C (MenuInsertLabel): layout as layout
6006 * bufferlist.C (newFile): layout as layout
6008 * buffer.C (readLyXformat2): layout as layout
6009 (parseSingleLyXformat2Token): layout as layout
6010 (insertStringAsLines): layout as layout
6011 (asciiParagraph): layout as layout
6012 (latexParagraphs): layout as layout
6013 (makeLinuxDocFile): layout as layout
6014 (simpleLinuxDocOnePar): layout as layout
6015 (makeDocBookFile): layout as layout
6016 (simpleDocBookOnePar): layout as layout
6017 (getLists): layout as layout
6019 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6021 * CutAndPaste.C (cutSelection): layout as layout
6022 (pasteSelection): layout as layout
6023 (SwitchLayoutsBetweenClasses): layout as layout
6025 * BufferView_pimpl.C (Dispatch): layout as layout
6026 (smartQuote): layout as layout
6028 * BufferView2.C (unlockInset): layout as layout
6030 2002-06-24 André Pönitz <poenitz@gmx.net>
6032 * lyxfunc.C: fix #487
6034 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6038 * lyxfunc.C: remove display_shortcuts, show_banner
6040 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6042 * Buffer_pimpl.C: oops, update on resize
6044 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6051 * BufferView.C: use repaint()
6053 * BufferView_pimpl.h:
6054 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6055 as it's a clearer description. Remove superfluous
6058 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6060 * text.C: fix bug 488. Not ideal, but getting
6061 getWord() to work properly for the insets that
6062 matter is more difficult ...
6064 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6066 * BufferView_pimpl.C:
6069 * lyxfunc.C: remove the six million index lyxfuncs to just
6070 one, and DTRT (bug 458)
6072 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6076 * BufferView_pimpl.h:
6077 * BufferView_pimpl.C: clean up resize() stuff,
6078 and unnecessary updateScreen()s
6080 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6084 * BufferView_pimpl.h:
6085 * BufferView_pimpl.C:
6088 * minibuffer.C: remove focus management of workarea,
6089 not needed. Use screen's greyOut()
6091 2002-06-17 Herbert Voss <voss@lyx.org>
6093 * converter.C: (convert) do not post a message, when converting
6094 fails, let the calling function decide what to do in this case
6096 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6098 * lyxfunc.C: tidy up a little
6100 2002-06-16 <alstrup@diku.dk>
6102 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6103 Got rid of FORMS_H_LOCATION include. Now we are
6106 2002-06-15 LyX Development team <lyx@rilke>
6108 * buffer.[Ch] (sgmlOpenTag):
6109 (sgmlCloseTag): Added support for avoiding pernicious mixed
6110 content. Return number of lines written.
6113 (makeDocBookFile): Fixed calls to sgml*Tag.
6114 Simple white space clean.
6116 (simpleDocBookOnePar): Simple white space clean.
6118 * tabular.[Ch] (docBook): Renamed to docbook and got another
6119 argument to related with the pernicious mixed content.
6121 (docbookRow): Fixed calls for docbook inset method.
6123 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6125 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6126 so it's X11 independent.
6130 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6132 2002-06-15 Lyx Development team <lyx@electronia>
6134 * intl.h: Renamed getTrans to getTransManager.
6136 2002-06-14 Angus Leeming <leeming@lyx.org>
6138 * Makefile.am: nuke forgotten stl_string_fwd.h.
6140 2002-06-12 Angus Leeming <leeming@lyx.org>
6142 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6144 2002-06-13 Angus Leeming <leeming@lyx.org>
6147 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6149 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6151 * kbmap.C (getiso): add support for cyrillic and greek
6153 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6157 * BufferView_pimpl.h:
6158 * BufferView_pimpl.C: move bogus scrolling logic
6161 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6164 * BufferView_pimpl.C: view->resize() change
6166 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6168 * BufferView_pimpl.C: topCursorVisible
6171 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6175 * lyx_gui.C: move to frontends/
6179 * lyx_main.C: changes from above
6181 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6188 * lyx_main.C: minor tidy
6190 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6192 * BufferView_pimpl.h:
6193 * BufferView_pimpl.C:
6195 * BufferView.C: make painter() const,
6198 * BufferView2.C: use screen() accessor
6201 * lyx_main.C: some minor cleanup
6203 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6205 * BufferView_pimpl.h:
6206 * BufferView_pimpl.C: remove enter/leaveView,
6209 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6214 * BufferView_pimpl.h:
6215 * BufferView_pimpl.C: only construct screen once,
6218 * lyxrc.C: remove pointless comment
6220 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6223 * BufferView.C: remove active() and belowMouse()
6225 * BufferView_pimpl.h:
6226 * BufferView_pimpl.C: use workarea() not workarea_,
6227 and make it use a scoped_ptr instead
6229 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6231 * lyx_gui.C: add debug message on BadWindow
6233 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6235 * sp_spell.C: fdopen is not part of the C++ standard.
6237 * paragraph.C (InsetIterator): use >= instead of ==
6239 2002-06-07 Angus Leeming <leeming@lyx.org>
6241 Fixes needed to compile with Compaq cxx 6.5.
6242 * BufferView_pimpl.C:
6249 * lyxtextclasslist.C:
6254 all c-library variables have been moved into namespace std. Wrap
6255 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6260 Add a using std::abs declaration.
6262 * kbmap.h (modifier_pair):
6263 * paragraph.h (InsetTable, InsetList):
6264 * lyxfont.h (FontBits):
6265 type definition made public.
6267 * bufferlist.C (emergencyWriteAll): the compiler complains that
6268 there is more than one possible lyx::class_fun template to choose from.
6269 I re-named the void specialisation as lyx::void_class_fun.
6271 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6273 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6274 the compiler is is unable to find tostr in write_attribute.
6276 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6278 * buffer.C (sgmlError): hide #warning
6280 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6282 * xtl/*: get rid of xtl, which is not in use anyway
6284 * LyXAction.C (init):
6285 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6286 were unimplemented xtl experimentation
6288 2002-06-04 André Pönitz <poenitz@gmx.net>
6290 * lyxfunc.C: disable array operation on simple formulae
6292 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6294 * converter.C: constify a bit
6296 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6298 * lyx_gui.C: check xforms version correctly
6300 2002-04-30 Herbert Voss <voss@lyx.org>
6302 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6305 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6307 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6308 attempt to register it with a VCS)
6310 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6312 * lyx_main.C (init): honor variables LYX_DIR_13x and
6315 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6319 * lyx_main.C: fix a crash on bad command line,
6320 and give a useful exit status on error
6322 * lyxfunc.C (doImport): allow -i lyx to work
6324 2002-03-30 André Pönitz <poenitz@gmx.net>
6326 * lyxfunc.C: mathed font changes
6328 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6343 * trans_mgr.h: srcdocs, and some minor cleanups
6345 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6347 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6348 call getFont all the time)
6350 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6352 * switch from SigC signals to boost::signals
6354 2002-05-29 André Pönitz <poenitz@gmx.net>
6356 * paragraph_pimpl.C (getChar): don't call size() too often...
6358 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6360 * paragraph_pimpl.C (insertChar): do not try to update tables when
6361 appending (pos == size())
6363 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6364 in order to reduce drastically the number of comparisons needed to
6365 parse a large document
6367 2002-05-29 André Pönitz <poenitz@gmx.net>
6373 * textclasslist.[Ch]:
6374 * sp_ispell.h: whitespace change
6376 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6378 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6379 lyxaction directly now.
6381 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6385 * lyxvc.C: remove unused headers
6387 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6394 * undo_funcs.C: some cleanups. Use shared_ptr
6395 and a template for the undo stacks.
6397 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6399 * BufferView_pimpl.h:
6400 * BufferView_pimpl.C:
6407 * text2.C: use key_state/mouse_state
6409 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6411 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6414 * chset.C: change include order
6415 (loadFile): use boost regex and get rid of LRegex and LSubstring
6417 * Makefile.am (BOOST_LIBS): new variable
6420 * LaTeX.C: change include order.
6421 (scanAuxFile): use boost regex and get rid of LRegex and
6425 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6430 * FontInfo.C: moved to frontends/xforms/
6433 * FontLoader.C: moved into frontends for GUIIzation
6438 * lyxfunc.C: changes from above
6440 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6442 * LColor.C: remove spurious X include
6444 * BufferView_pimpl.C:
6449 * text2.C: move font metrics to frontends/
6451 2002-05-24 Juergen Vigna <jug@sad.it>
6453 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6454 setting the undo_cursor.
6456 * ParagraphParameters.h: include local includes first.
6458 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6460 * BufferView_pimpl.C:
6461 * BufferView_pimpl.h:
6465 * screen.C: move WorkArea into frontends/
6471 * BufferView2.C: move LyXScreen into frontends/
6475 * lyx_gui.C: move lyxlookup into frontends/xforms/
6477 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6480 * BufferView_pimpl.C:
6490 * bufferview_funcs.C:
6503 * vc-backend.C: move LyX/XFormsView into frontends/
6505 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6517 * text2.C: move Painter to frontends/
6519 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6521 * buffer.C: comment out some some code that depend upon lyx_format
6524 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6525 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6527 * buffer.h (NO_COMPABILITY): turn off compability
6529 * ColorHandler.C: include scoped_array.hpp
6531 * font.C: Use more specific smart_ptr header.
6534 * ShareContainer.h: ditto
6538 * BufferView_pimpl.h: ditto
6539 * ColorHandler.h: ditto
6541 * kbmap.C (defkey): change call to shared_ptr::reset
6543 2002-05-21 Juergen Vigna <jug@sad.it>
6545 * buffer.C (insertErtContents): fix to insert ert asis if it is
6546 non empty. Skip it completely if it contains only whitespaces.
6548 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6550 * BufferView_pimpl.C:
6551 * BufferView2.C: clear selection on paste (bug 393)
6553 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6555 * DepTable.C: include ctime
6557 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6559 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6561 2002-05-14 Juergen Vigna <jug@sad.it>
6563 * text.C (breakParagraph): fixed function to honor the keepempty
6564 layout in the right maner and also to permit the right breaking
6565 algorithm on empty or non empyt keepempty paragraphs.
6567 * paragraph.C (breakParagraph): we have to check also if the par
6568 is really empty (!size()) for isempty otherwise we do the wrong
6571 2002-05-10 Juergen Vigna <jug@sad.it>
6573 * buffer.[Ch] : The following are only changes to the ert
6574 compatibility read reading old LaTeX layout and font stuff and
6575 convert it to ERTInsets.
6577 * buffer.h: added isErtInset().
6579 * buffer.C (struct ErtComp): add a fromlayout bool to check
6580 if we're inside a LaTeX layout.
6581 (isErtInset): new helper function.
6582 (insertErtContents): look for other ert insets before this one
6583 and insert the contents there, so that we don't have subsequent
6584 ERT insets with nothing between them. This way we create only one
6585 inset with multiple paragraphs. Also check if we don't insert only
6586 spaces ' ' as they are ignored anyway afterwards in the .tex file
6587 so if we have only spaces we will ignore this latex part in the
6589 (parseSingleLyXformat2Token \\layout): better compatibility when
6590 reading layout-latex stuff.
6591 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6593 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6594 stuff after reading the inset only get the information back from
6597 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6599 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6601 * LaTeXFeatures.C (getBabelOptions): New method.
6603 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6605 * BufferView_pimpl.C (Dispatch): work around missing argument for
6608 2002-05-08 Juergen Vigna <jug@sad.it>
6610 * text.C (leftMargin): handle paragraph leftindent.
6612 * paragraph.C (writeFile): write the new \\leftindent tag.
6613 (validate): handle leftindent code.
6614 (TeXEnvironment): handle paragraphleftindent code again.
6616 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6618 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6619 for paragrap_extra indent code and new token \\leftindent.
6620 (latexParagraphs): handle the leftindent as environment.
6622 * ParameterStruct.h: added leftindent support.
6624 * ParagraphParameters.C (leftIndent): added support functions for
6625 the paragraph left indent.
6627 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6630 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6632 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6635 * text.C (computeBidiTables): No bidi in insetERT.
6637 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6640 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6642 * version.C.in: pre 5
6644 2002-05-02 José Matos <jamatos@fep.up.pt>
6645 * buffer.C (makeDocBookFile): white space changes, add newline to
6647 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6649 * tabular.C (docBook): fix typo.
6651 2002-05-03 Juergen Vigna <jug@sad.it>
6653 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6654 change in LyXText as we can not be sure it was not freed.
6655 (drawOneRow): remove unused code.
6657 * text.C (drawInset): redo the calculation of the need_break_row as
6658 it could have a row which was already freed.
6659 (draw): look at the return value of drawInset and return false if
6660 it also returned false.
6661 (paintRowText): look at the return value of draw and return false if
6662 it also returned false.
6664 * lyxtext.h: added bool return type to drawInset() and draw() so that
6665 if we have a change in the row so that the rowbreak has to be redone
6666 we abort drawing as it will be called again.
6668 2002-05-02 Juergen Vigna <jug@sad.it>
6670 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6671 a change in the maintext also if we're inside an inset.
6672 (Dispatch): set the cursor again after a break line and after the
6673 screen has been updated as it could be we're in a different row.
6675 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6676 to set the cursor behind the pargraph with > size().
6677 (setCursor): check also for the same paragraph when checking where
6678 to put the cursor if we have a NFR inset.
6680 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6681 parts of layout read further up as it still was in the wrong
6684 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6686 * screen.C (drawFromTo): change sine fullRebreak always return
6689 * buffer.C (parseSingleLyXformat2Token): reindent some
6691 * BufferView_pimpl.C (update): change since fullRebreak always
6693 (Dispatch): git rid of the last hardcoded "Standard"s.
6695 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6697 * text2.[Ch] (fullRebreak): make it return void now that we always
6700 2002-04-30 Juergen Vigna <jug@sad.it>
6702 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6703 ert compatibility check for "latex" layout.
6705 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6707 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6708 minipages: use col% instead of p%, and also use the current font.
6709 (makeLaTeXFile): Fix use babel condition.
6710 (parseSingleLyXformat2Token): Correct font when reading old floats.
6712 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6714 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6715 inserting list of floats.
6717 2002-04-25 Herbert Voss <voss@lyx.org>
6719 * MenuBackend.C (expand): don't add the graphics extensions to the
6722 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6724 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6725 non-existing layout, do not complain if it was the default layout
6726 of the original class (bug #342)
6728 2002-04-24 Juergen Vigna <jug@sad.it>
6730 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6731 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6733 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6735 * buffer.C (getBibkeyList): If using \bibliography, return the
6736 option field with the reference itself. Enables us to provide natbib
6737 support when using \bibliography.
6739 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6741 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6743 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6744 natbib is provided by the LaTeX class.
6746 2002-04-23 Juergen Vigna <jug@sad.it>
6748 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6751 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6753 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6755 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6757 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6758 ensuremath around textordmasculine, textordfeminine and
6761 2002-04-19 Juergen Vigna <jug@sad.it>
6763 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6764 reinitializing the buffer otherwise row-dimensions may be wrong.
6765 (update): reset also the selection cursors if they do exits otherwise
6766 their x/y positions may be wrong.
6768 * text2.C (cursorDown): don't enter the inset if we came from a row
6769 above and are one row over the inset.
6771 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6772 really leaving an inset.
6774 2002-04-18 Juergen Vigna <jug@sad.it>
6776 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6777 of the selected paragraph does not have the selected layout also if
6780 * text2.C (setLayout): fixed bug which did not change last selected
6783 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6784 changed the read and substituted \\end_float with \\end_inset!
6786 * BufferView_pimpl.C (cursorPrevious):
6787 (cursorNext): fixed to make it work with rows heigher than the work
6788 area without moving the cursor only the draw of the row.
6789 (workAreaMotionNotify): fix jumping over high rows.
6791 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6793 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6796 2002-04-16 Juergen Vigna <jug@sad.it>
6798 * text2.C (setCursor): set also the irow().
6799 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6801 (cursorDown): support for locking an inset if the x_fix value goes
6802 inside it. That way I can transverse insets too with cursor up/down.
6804 * lyxrow.h: added irow helper function same as other (i) functions.
6806 * BufferView_pimpl.C (cursorPrevious):
6807 (cursorNext): fixed for insets!
6809 2002-04-15 Juergen Vigna <jug@sad.it>
6811 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6812 position otherwise it is wrong in some cases.
6814 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6815 inside the inset before the call.
6817 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6819 * buffer.[Ch] (getBibkeyList): make it const.
6821 2002-04-12 Juergen Vigna <jug@sad.it>
6823 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6825 * text2.C (getCursorX): new helper function
6826 (setCursor): compute also ix_
6827 (setCursorFromCoordinates): set also ix.
6829 * lyxcursor.h: added ix_ and helper functions.
6831 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6833 * buffer.C (insertStringAsLines): dont break paragraph if the this
6834 paragraph is inside an inset which does not permit it!
6836 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6837 also with no chars on this paragraph.
6838 (paintRowText): only paint stuff if it's inside the workarea!
6840 * paragraph.C (breakParagraph): honor keepempty flag and break the
6841 paragraph always below not above.
6843 * BufferView2.C (unlockInset): update the paragraph layout on inset
6844 unlock as we changed paragraph in such a case.
6846 * lyxfind.C (LyXFind): clear the former selection if not found!
6848 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6849 again called in insertChar().
6851 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6852 an inset which uses the whole row!
6853 (rightMargin): ditto.
6854 (insertChar): force a rebreak if we inserted an inset!
6856 2002-03-28 Herbert Voss <voss@lyx.org>
6858 * lyxlength.[Ch]: add inBP() to get the right PS-point
6859 units (BigPoint). With inPixels we have rounding errors
6861 2002-04-11 Juergen Vigna <jug@sad.it>
6863 * text2.C (setCursorFromCoordinates): set iy to the right value.
6864 (setCursor): add check if row->previous exists!
6866 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6867 an old float_type as this was the case in the old code!
6869 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6871 * BufferView2.C (showLockedInsetCursor): use iy
6872 (fitLockedInsetCursor): ditto
6874 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6875 locked insets as there we have the right value now.
6877 * lyxcursor.C: added iy_ variable and iy functions to set to the
6878 baseline of cursor-y of the locked inset.
6880 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6881 (setCursor): fixed for insets which need a full row.
6883 * text.C (rowLastPrintable): don't ignore the last space when before
6884 an inset which needs a full row.
6885 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6886 as last character of a row when before a inset which needs a full row.
6888 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6890 * version.C.in: update date
6892 * text2.C (fullRebreak): try to always return true and see what
6895 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6897 * MenuBackend.C (expand): use Floating::listName
6899 * FloatList.C (FloatList): add listName argument to the built-in
6902 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6903 text associated with the float.
6905 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6907 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6909 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6911 * ShareContainer.h: add a couple of missing typenames.
6913 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6915 * lyxrc.C (getDescription): use _() correctly rather than N_().
6917 2002-03-28 Herbert Voss <voss@lyx.org>
6919 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6920 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6922 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6924 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6925 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6927 2002-03-29 Juergen Vigna <jug@sad.it>
6929 * lyxfunc.C (dispatch): add a missing fitCursor call.
6931 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6932 it was scrolled by a cursor move, so return the bool status.
6934 * BufferView.C (fitCursor): return the bool flag also to the outside
6935 world as this is needed.
6937 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6939 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6940 call the edit() as it is not needed (and wrong) IMO.
6941 (workAreaButtonPress): set the screen_first variable before evt.
6942 unlock the inset as this may change screen_first and then we have
6943 a wrong y position for the click!
6945 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6947 * MenuBackend.C (expand): another translation that I missed
6949 2002-03-28 Juergen Vigna <jug@sad.it>
6951 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6953 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6955 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6957 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6959 * MenuBackend.C (expand): fix export/view/update when there is no
6962 2002-03-27 Herbert Voss <voss@lyx.org>
6964 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6967 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6969 * bufferview_funcs.C (currentState): only show paragraph number
6970 for is DEVEL_VERSION is set.
6972 * lyxfunc.C (dispatch): put warning in INFO channel
6974 * MenuBackend.C (expand): translate the name of floats
6976 * FloatList.C (FloatList): mark the float names for translation
6978 * converter.C (convert): use LibScriptSearch
6980 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6982 * MenuBackend.C (defaults): fix default menu (we might as well get
6985 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6987 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6990 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6992 * lyxvc.C: reorder includes.
6994 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6996 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6999 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7001 * CutAndPaste.C: change layouts earlier on paste
7002 to avoid crashing when calling getFont()
7004 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7006 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7009 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7011 * WorkArea.C: remove 'Pending' debug message.
7013 * most files: ws cleanup
7015 * buffer.[Ch]: ws changes
7017 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7019 2002-03-21 Juergen Vigna <jug@sad.it>
7021 * tabular.C (SetMultiColumn): collapse also the contents of the
7022 cells and set the last border right. Added a Buffer const * param.
7024 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7026 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7029 2002-03-19 Juergen Vigna <jug@sad.it>
7031 * text2.C (clearSelection): reset also xsel_cache.
7033 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7034 where it needs to be called (John tells us to do so too :)
7035 (selectionLost): reset sel_cache.
7037 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7039 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7041 * text2.C (setCursorIntern): put debuging code in INSETS channel
7043 2002-03-19 André Pönitz <poenitz@gmx.net>
7045 * lyxfunc.C: tiny whitespace change
7047 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7049 * ToolbarDefaults.C (init):
7050 * LyXAction.C (init):
7052 * BufferView_pimpl.C (Dispatch):
7053 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7055 2002-03-19 Allan Rae <rae@lyx.org>
7057 * exporter.C (Export): removeAutoInsets before doing anything else.
7058 While I've just introduced a dependency on BufferView this really is
7059 the best place to clean the buffer otherwise you need to cleanup in
7060 a dozen places before calling export or cleanup in a dozen functions
7063 * converter.C (runLaTeX):
7064 (scanLog): Better handling of removeAutoInsets and screen updates.
7066 * lyxfunc.C (dispatch): small whitespace changes
7068 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7070 * WorkArea.C (C_WorkAreaEvent): return a value.
7071 (event_cb): return 1 if we handled the event, 0 otherwise.
7073 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7075 2002-03-18 Juergen Vigna <jug@sad.it>
7077 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7078 (GetAdditionalWidth): ditto.
7082 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7083 inset if we're there actually (probably not used right now but this
7084 is the direction to go for unifying code).
7085 (paste): disable code to clear the selection.
7087 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7088 inside an InsetText and move the check further up as it is in the
7091 * text2.C (pasteSelection): set a selection over the pasted text.
7093 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7095 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7096 and libgraphics to build on Cygwin.
7098 2002-03-15 Juergen Vigna <jug@sad.it>
7100 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7101 inserting an Inset into the paragraph. I know this is not the best
7102 fix but we already use current_view in CutAndPaste so we will remove
7103 all of it's using at the same time.
7105 * buffer.C (sgmlError): deactivated function till it is rewritten in
7106 the right mode, now it can create problems.
7108 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7109 before accessing it.
7111 2002-03-14 Juergen Vigna <jug@sad.it>
7113 * undo_funcs.C (textHandleUndo): do the right thing when updating
7114 the inset after the undo/redo.
7116 * text2.C (setCursor): just some testcode for #44 not ready yet.
7118 * undo_funcs.C (textHandleUndo): set the next() and previous()
7119 pointers of the paragraph to 0 before deleting otherwise we have
7120 problems with the Paragraph::[destructor].
7122 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7123 on a paragraph insertion.
7125 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7127 * buffer.C (asciiParagraph): use += operator for char append to
7130 * paragraph.C (getFontSettings): compare >= not just >
7131 (highestFontInRange): ditto
7134 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7136 * paragraph.C: change several algorithm to be more appripriate for
7137 the problem domain. This is lookip in FontList and in the InsetList.
7139 2002-03-13 André Pönitz <poenitz@gmx.net>
7142 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7144 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7149 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7151 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7153 * Painter.C (display): anon helper function, adjust code for this
7155 (pixmap): remove function.
7157 * Painter.h: remove private display variable.
7159 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7161 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7163 * WorkArea.[Ch]: remove figinset_canvas cruft.
7165 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7167 * lyxtextclass.C (operator): add one item cache optimization.
7169 * bufferlist.h: doxy changes
7171 * bufferlist.C: ws changes
7173 * DepTable.[Ch] (ext_exist): place const in the right spot.
7175 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7177 (workAreaExpose): call resizeInsets when the with BufferView changes.
7178 (Dispatch): adjust for protectedBlank removal
7179 (specialChar): call updateInset if the insert went ok.
7181 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7182 specialChar instead.
7184 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7186 * BufferView.h: doxy change
7188 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7190 * lyxtextclass.C (operator[]): remove non-const version
7191 (defaultLayout): remove non-const version
7193 2002-03-12 Juergen Vigna <jug@sad.it>
7195 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7196 did resize the LyXText too.
7198 * buffer.C (readLyXformat2): set layout information on newly allocated
7201 * tabular.C (OldFormatRead): set layout information on the paragraph.
7203 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7205 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7207 2002-03-11 Juergen Vigna <jug@sad.it>
7209 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7211 (resizeCurrentBuffer): force also the insets to resize themselfes.
7212 (moveCursorUpdate): fixed up for InsetText.
7214 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7217 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7218 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7219 value of Dialogs::tooltipsEnabled().
7220 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7222 2002-03-08 Juergen Vigna <jug@sad.it>
7224 * BufferView_pimpl.C (updateInset): update inset inside inset also
7225 if it isn't inside theLockingInset().
7227 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7229 * buffer.C (asciiParagraph): redo some of the word and line length
7231 (getLists): look for Caption instead of caption.
7233 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7235 * buffer.C (Buffer): initialize niceFile to true
7238 (makeDocBookFile): make sure niceFile is true on exit
7240 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7242 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7244 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7246 * LyXSendto.C: remove.
7247 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7248 * lyx_gui.C: remove now-redundant comment.
7249 * ColorHandler.h: remove forward declaration of class WorkArea.
7250 * lyxfunc.C: remove #include "WorkArea.h".
7252 2002-03-07 Juergen Vigna <jug@sad.it>
7254 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7255 got moved away with the DEPM and also set the inset_owner always
7256 right which before could have been omitted.
7258 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7260 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7261 wanted layout is not found.
7263 2002-03-07 Juergen Vigna <jug@sad.it>
7265 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7267 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7269 * paragraph.C (breakParagraph): use default layout not layout of
7271 (Paragraph): clear ParagraphParameters.
7273 2002-03-06 Juergen Vigna <jug@sad.it>
7275 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7276 otherwise it would not be a valid lenght. Fixed a special case in
7277 the minipage compatibility read where we end the document with a
7280 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7281 was set as it could be 0 for InsetTexts first entry.
7283 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7285 * paragraph.C (writeFile): if layout is empty write out
7286 defaultLayoutName().
7288 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7289 file without named layout we set layout to defaultLayoutName().
7291 2002-03-06 Juergen Vigna <jug@sad.it>
7293 * CutAndPaste.C (copySelection): set layout for new paragraph.
7295 * text.C (prepareToPrint): leave ERT inset left aligned
7296 (leftMargin): don't indent paragraphs inside ERT insets
7298 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7300 * paragraph.C (breakParagraph): dont call clear do the work manually
7302 * paragraph.[Ch] (clear): remove function
7304 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7306 * paragraph.C (Paragraph): dont call clear, the work has already
7309 * lyxtextclass.C (operator): assert if n is empty
7311 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7312 work manually instead.
7314 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7316 * BufferView_pimpl.C: protect selectionLost against text == 0
7318 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7320 * text.C (breakParagraph): fix a setting layout to '0' problem.
7322 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7324 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7325 final location of file, for the included files, and graphics.
7327 2002-03-05 Juergen Vigna <jug@sad.it>
7329 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7331 2002-03-04 Juergen Vigna <jug@sad.it>
7333 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7335 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7336 last column of multicolumn cells.
7337 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7339 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7341 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7342 file if it doesn't go to a temporary file.
7344 * buffer.C (sgmlOpenTag):
7345 (sgmlCloseTag): remove extra newline insertion.
7347 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7349 * text.C (getRowNearY): comment out debug msg
7351 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7353 * text2.C: first -> first_y
7355 * text.C (getRowNearY): add some attemts at a possible
7356 optimization, not working.
7358 * tabular.[Ch]: add BufferParams to several function so that newly
7359 created paragraph can be initialized to he default layotu for the
7362 * tabular-old.C (ReadOld): add buf->params to call of Init
7364 * screen.C: rename text->first to text->first_y
7366 * paragraph.C (breakParagraph): always set layout in the broken
7369 * lyxtextclass.C (Read): remove lowercase
7372 (delete_layout): ditto
7374 * lyxtext.h: rename first -> first_y
7376 * lyxlayout.C (Read): remove lowercase
7379 (obsoleted_by): ditto
7381 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7383 * buffer.C (insertErtContents): add params are to InsetERT
7384 (parseSingleLyXformat2Token): add code to check if a paragraphs
7385 layout really exist.
7386 (parseSingleLyXformat2Token): add params to several inset
7388 (asciiParagraph): remove lowercase, do the layout comparisons with
7391 * BufferView_pimpl.C (cursorNext): first -> first_y
7392 (resizeCurrentBuffer): first -> first_y
7393 (updateScrollbar): first -> first_y
7394 (scrollCB): first -> first_y
7395 (workAreaMotionNotify): first -> first_y
7396 (workAreaButtonPress): first -> first_y
7397 (checkInsetHit): first -> first_y
7398 (cursorPrevious): first -> first_y
7399 (cursorNext): first -> first_y
7400 (Dispatch): add buffer_->params to severl inset contructors
7402 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7404 * lyxlayout.C (Read): remove some debug info that I forgot.
7406 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7407 clean up the code slightly.
7408 (makeLinuxDocFile): ditto
7409 (makeDocBookFile): ditto
7411 * text2.C: layout as string
7413 * text.C: layout as string
7415 * paragraph_pimpl.C: layout as string
7417 * paragraph.[Ch]: layout as string
7419 * lyxtextclasslist.[Ch]: layout as string
7421 * lyxtextclass.[Ch]: layout as string
7423 * lyxtext.h: layout as string
7425 * lyxlayout.[Ch]: layout as string
7427 * lyx_cb.C: layout as string
7429 * bufferview_funcs.C: layout as string
7431 * bufferparams.C: layout as string
7433 * buffer.C: layout as string
7435 * LyXView.[Ch]: layout as string
7437 * LaTeXFeatures.[Ch]: layout as string
7439 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7441 * BufferView_pimpl.C: change current_layout to string, remove
7446 (workAreaButtonRelease): layout as string
7448 * BufferView2.C (unlockInset): adjust
7450 * vspace.C (asLatexCommand): use an explict temp variable.
7452 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7454 * Makefile.am: use FRONTEND_*
7456 2002-03-01 Juergen Vigna <jug@sad.it>
7458 * tabular.C (SetWidthOfMulticolCell): changed to something better
7459 I hope but still work in progress.
7460 (recalculateMulticolumnsOfColumn): renamed function from
7461 recalculateMulticolCells as it is more appropriate now.
7462 (SetWidthOfCell): calculate multicols better.
7464 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7466 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7468 * lyxfunc.C (processKeySym): print sequence also if it is
7469 `deleted' (complete)
7471 * kbsequence.C (print): print sequence even if it is deleted
7472 (complete would be a better word, actually).
7474 * lyxfunc.C (dispatch): print complete options after a prefix key
7476 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7478 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7480 * text2.C (setCharFont): eliminate setCharFont code duplication.
7482 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7484 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7485 LFUN_TABULAR_FEATURE (bug #177)
7487 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7489 * Makefile.am: remove figure.h
7491 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7493 * Bufferview_pimpl.C:
7505 * text2.C: remove #include "lyx_gui_misc.h".
7507 * LaTeX.C: added #include <cstdio>
7509 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7511 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7512 that the paragraph following this one can have.
7514 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7516 * vspace.C (asLatexCommand): fix bogus gcc warning
7518 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7520 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7522 * text2.C (setLayout): get rid of redundant code
7524 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7526 * text2.C (incDepth): make sure depth cannot be increased beyond
7529 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7531 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7532 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7534 * PainterBase.h (image):
7535 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7538 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7542 * BufferView_pimpl.C:
7543 * BufferView_pimpl.h:
7563 * sp_spell.C: remove fig inset, and the crap house of
7564 cards that follows it
7566 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7572 * nt_defines.h: move .h into support/
7574 * vms_defines.h: remove
7576 * WorkArea.C: add space in debug output
7580 * buffer.C: add WITH_WARNINGS
7584 * bufferlist.C: s/retrive/retrieve/, add docs
7595 * lyxgui.C: add ID to X error handler
7597 * lyxtestclass.c: fix typo
7599 2002-02-26 Juergen Vigna <jug@sad.it>
7601 * tabular_funcs.C (write_attribute): changed so that some default
7602 attributes are not written at all.
7603 (getTokenValue): set default values before trying to read the
7604 value so we have the return value always set as default if we don't
7605 find the token we search for.
7607 * tabular.C (Write): write bools as bools not as strings!
7609 2002-02-22 Juergen Vigna <jug@sad.it>
7611 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7612 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7614 * text.C (leftMargin): don't add an indent for paragraphs inside
7615 tabular cells (fix #208).
7617 2002-02-21 José Matos <jamatos@fep.up.pt>
7619 * tabular.C (docBook): fixed support for long tables.
7621 2002-02-20 Juergen Vigna <jug@sad.it>
7623 * text2.C (getFont): get the drawing font of the Inset if this
7624 paragraph is inside an inset (only important for InsetERT for now).
7626 * buffer.C (insertErtContents): use new lanugage params in ERT
7629 * CutAndPaste.C: commenting out seemingly uneeded code.
7631 2002-02-19 Allan Rae <rae@lyx.org>
7633 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7634 Iterators might be simple to use but they also get invalidated.
7635 (removeAutoInsets): renamed saved cursor tracking variables and added
7636 some comments to clarify what everything does.
7638 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7645 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7646 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7649 * vc-backend.h: remove #include "support/syscall.h"
7653 * converter.C: rearrange #includes in Lars' approved fashion.
7655 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7656 forward declare class Timeout in the header file.
7658 * XFormsView.C: changes due to the above.
7660 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7663 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7664 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7666 2002-02-18 José Matos <jamatos@fep.up.pt>
7668 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7671 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7673 * a lot of small ws changes
7674 * add a lot of using std::XXX
7675 * use std construcs some places where approp.
7676 * use some exisint stuff from lyxfunctional where approp.
7677 * Make file changes to use partial linking (lets test this now...)
7679 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7683 remove #include "support/syscontr.h" as it's redundant. Always has been.
7691 change Systemcalls::System to Systemcalls::Wait and
7692 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7693 No change of functionality, just reflects the stripped down Systemcalls
7696 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7698 * debug.[Ch]: add a GRAPHICS type to the enum.
7700 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7702 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7704 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7707 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7709 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7710 match the changes below.
7712 * text2.C (toggleInset): if there is not editable inset at cursor
7713 position, try to see if cursor is _inside_ a collapsable inset
7716 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7718 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7719 document menu has a nice checkbox
7721 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7723 * lyxlength.C (asLatexString): change PW to output as percent of
7726 * lengthcommon.C: change '%' to 't%'
7728 * lyxfunc.C (dispatch): a few comments from Martin
7730 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7734 * BufferView_pimpl.h:
7735 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7738 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7740 * vspace.C (inPixels): fix compiler warning
7742 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7744 * lyxfunc.C (getStatus): fix status message for disabled commands.
7746 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7748 * BufferView_pimpl.C: fix crash on close buffer
7749 during selection (#227)
7751 2002-01-27 Herbert Voss <voss@lyx.org>
7753 * buffer.C: link old Figure to new graphic inset
7755 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7757 * FontLoader.C (getFontinfo): Change the latex font names in order
7758 to match the names of type1inst.
7760 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7762 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7764 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7767 (remove_files_with_extension): ditto
7768 (remove_file): ditto
7771 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7772 document is smaller than the work area height. Do not initialize
7773 static variables to 0.
7775 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7777 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7779 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7780 LFUN_LAYOUT_PARAGRAPHS.
7782 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7783 tabular. It is possible to provide a possible cell, which will
7784 typically be the actcell from the corresponding insettabular
7786 * lyxfunc.C (getStatus): small cleanup; disable
7787 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7790 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7792 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7794 * paragraph.C (startTeXParParams):
7795 (endTeXParParams): new methods. The LaTeX code to
7796 start/end paragraph formatting
7797 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7798 empty (fixes bug #200)
7800 * vspace.C (inPixels): adapt to the change below
7801 (inPixels): [later] more cleanups (remove unused variables)
7803 * lyxlength.C (inPixels): change to use a width and a height as
7806 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7808 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7809 Replaced with \paperwidth
7811 * DepTable.C (insert): add std:: qualifier
7813 2002-01-18 Allan Rae <rae@lyx.org>
7815 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7818 * text.C (drawInset): Turned out I didn't know enough about how
7819 rebreaking worked. This fixes most of the redraw problems. I see
7820 an occasional cursor trail when a line is broken now and the cursor
7821 placement can seem out by a few pixels also after a rebreak.
7823 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7825 * buffer.C (parseSingleLyXformat2Token): update because minipage
7826 width is now a LyXLength
7828 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7830 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7833 2002-01-17 Juergen Vigna <jug@sad.it>
7835 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7837 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7838 is set correctly and the inset is updated correctly.
7840 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7842 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7843 the beginning of the loop.
7845 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7847 * lyxrc.C: improve help for use_scalable_fonts
7849 2002-01-17 Allan Rae <rae@lyx.org>
7851 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7853 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7855 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7856 make sure to set their inset_owner to the right value (bug #171)
7858 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7861 * DepTable.C: Implement mtime checking to reduce time spent doing
7864 2002-01-16 Juergen Vigna <jug@sad.it>
7866 * tabular.C (GetAdditionalHeight): one of error fixed.
7868 * lyxrc.C (output): small fix in writing use_pspell.
7870 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7872 * sp_base.h: #include LString.h
7874 2002-01-16 Allan Rae <rae@lyx.org>
7876 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7877 Can someone check this please?
7879 * text.C (drawInset): It was possible that p.row would be removed by
7880 breakAgainOneRow upsetting a few other settings. There may be another
7881 small tweak possible by setting need_break_row = 0 when p.row has been
7882 removed but I don't know enough about the logic here.
7884 2002-01-15 Allan Rae <rae@lyx.org>
7886 * text.C (insertChar): removed conditional truism.
7888 * BufferView2.C (removeAutoInsets): More tweaks.
7889 cur_par_prev could be a stray pointer. Check for trailing empty line
7890 in case last line was cur_par and only had an error inset on it.
7892 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7894 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7897 * vc-backend.C (most methods):
7898 * exporter.C (Export):
7899 * converter.C (convert):
7901 * LyXSendto.C (SendtoApplyCB):
7902 * lyxfunc.C (dispatch):
7906 * lyx_cb.C (AutoSave):
7908 * BufferView_pimpl.C (MenuInsertLyXFile):
7909 * buffer.C (runChktex): use Buffer::filePath().
7911 * buffer.h: rename filename to filename_; rename filepath to
7912 filepath_ and make it private
7913 (filePath): new method
7915 * buffer.C (writeFile): use fileName()
7918 * lyx_main.C (init): fix starting of LyX when the binary is a
7919 link from so,ewhere else.
7921 * minibuffer.C: include <cctype> for isprint
7923 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7925 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7926 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7927 name clash with InsetCollapsable's width function.
7929 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7931 * lastfiles.C: include <iterator>
7933 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7935 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7938 * buffer.C (makeLaTeXFile): ditto.
7939 Also make loop operation more transparent.
7941 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7943 * ToolbarDefaults.C: remove trailing comma closing namespace.
7945 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7947 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7950 * trans.C (Load): comment out unused variable, allowed.
7952 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7954 * minibuffer.[Ch] (append_char): new method to recieve input from the
7955 drop-down completion browser. If a key was pressed, then recieve this
7956 char and append it to the existing string.
7957 (peek_event): modify the positioning data passed to the completion
7958 browser so that it can be placed above the minibuffer rather than below.
7959 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7961 * LyXAction.C (init): alloe error-next for readonly documents.
7963 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7966 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7968 * bufferlist.C (readFile): create the buffer _after_ checking that
7971 * lyxfunc.C (verboseDispatch): fix handling of arguments
7973 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7975 * lyxrc.C: use string::erase() instead of initializing to "".
7978 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7980 * BufferView_pimpl.h:
7981 * BufferView_pimpl.C:
7984 * text2.C: tell X when we have made a selection for copying
7986 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7988 * BufferView_pimpl.C (MenuInsertLyXFile):
7989 * lyxfunc.C (menuNew):
7991 (doImport): add shortcuts to directory buttons
7993 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7996 * lyxfunc.C (setStatusMessage):
7997 (getStatusMessage): new methods
7998 (getStatus):use setStatusMessage instead of setErrorMessage
7999 (dispatch): when function is disabled, set error message here
8000 [instead of in getStatus previously]
8002 * BufferView_pimpl.C (workAreaButtonRelease): update
8003 toolbar/menubar here too.
8005 2002-01-13 Allan Rae <rae@lyx.org>
8007 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8008 Now seems indestructible. Remaining task is to audit all other
8009 code affected by deleteEmptyParagraphMechanism. One small quirk
8010 left is that an empty document with an error in the preamble can
8011 be made to report an error but no error box appears. I don't know
8013 (removeAutoInsets): Improved comments.
8015 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8018 * Thesaurus.C: update for Aiksaurus 0.14
8020 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8022 * text2.C (firstParagraph): removed member function, all uses
8023 replaces with ownerParagraph
8024 (redoParagraphs): here
8026 (toggleAppendix): here
8027 * BufferView2.C (insertErrors): here
8028 (setCursorFromRow): here
8030 2002-01-13 Allan Rae <rae@lyx.org>
8032 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8033 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8034 There is still a way to segfault this although you may have to do this
8035 multiple times: Have an InsetERT with an unknown command in it.
8036 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8037 <down-arrow>, <Enter> again, View->DVI, BANG!
8039 * text2.C (setCursor):
8040 (deleteEmptyParagraphMechanism):
8041 * lyxtext.h (setCursor):
8042 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8043 Making use of the return value may help fix other bugs.
8045 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8047 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8049 * LyXView.C (updateMenubar): call MenuBar::update here
8050 (updateToolbar): but not here
8051 (showState): do not update toolbar/menubar
8053 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8054 should need to care about that.
8056 * lyxfunc.C (verboseDispatch): simplify a bit
8057 (getStatus): have a version which takes a pseudoaction, and
8058 another which requires a (kb_action,string).
8060 * LyXAction.C (retrieveActionArg): make it work also when action
8061 is not a pseudo-action.
8062 (getActionName): simplify a bit
8065 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8067 * lyxfunc.C (verboseDispatch): new families of methods with
8068 several ways to specify a command and a bool to indicate whether
8069 the command name and shortcut should be displayed in minibuffer
8070 (eventually, we could extend that to a finer bitmask like
8071 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8072 (dispatch): the pristine dispatch command which just, well,
8073 dispatchs! Note it still sets its result to minibuffer; I'm not
8076 * lyxfunc.h: remove setHintMessage
8078 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8080 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8082 * BufferView_pimpl.C (specialChar): delete new inset if we have
8083 not been able to insert it.
8085 * kbmap.C: revert to using int instead of kb_action, since all we
8086 are dealing with is pseudo-actions.
8088 * LyXAction.C (searchActionArg): change to return int instead of
8089 kb_action, since the result is a pseudoaction.
8091 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8093 * buffer.C (insertErtContents): Fix (partially) the font bug.
8095 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8097 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8098 as the other one is broken on my machine!
8100 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8103 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8105 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8107 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8108 reflect their actual use. Provide compatibility code for older lyxrc
8111 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8113 change names of popup font variables in line with the changes to lyxrc.C
8115 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8117 * buffer.C (asciiParagraph): avoid outputing a word twice after
8120 * lyxrc.C (getDescription): document that document_path and
8121 template_path can be empty.
8123 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8125 * LaTeXFeatures.C (getMacros):
8126 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8128 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8130 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8132 (getPackages): rename feature "floats" to "float". Use an array to
8133 iterate over 'simple' features (i.e. just a \usepackage). Add
8134 handling of "amsmath" (renamed from "amsstyle").
8136 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8138 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8141 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8143 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8144 FuncStaus::FuncStatus & FuncStaus::some_method().
8146 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8148 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8149 of the func_satus stuff. Edited and massaged in various ways by
8152 * lyxfunc.C (getStatus): use FuncStatus
8154 2002-01-08 Juergen Vigna <jug@sad.it>
8156 * text.C (nextBreakPoint): use function Inset::isChar().
8158 * paragraph.C (TeXOnePar): use function
8159 Inset::forceDefaultParagraphs.
8161 * buffer.C (latexParagraphs): use function
8162 Inset::forceDefaultParagraphs.
8164 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8166 * lyx_gui.C (init): set the style of the menu popups to
8167 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8169 2002-01-07 Juergen Vigna <jug@sad.it>
8171 * text.C (setHeightOfRow): small fix
8172 (prepareToPrint): don't look at alignment if we don't have the place
8175 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8177 * box.C: New file. Move the Box methods and functions out of box.h,
8178 following Lars' suggestion.
8180 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8182 * box.h: #include "support/LOstream.h", needed for inlined function.
8185 * lyxtextclasslist.C: added some using std declarations.
8187 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8189 * box.h: make signed dimensions to allow insets wider than
8190 the screen (bug #162)
8192 * BufferView_pimpl.C: add some insetHit debug
8194 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8196 * vc-backend.C: add FIXME
8198 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8200 * lyxfunc.C (getStatus): enable code for showing math font status
8203 2002-01-07 Juergen Vigna <jug@sad.it>
8205 * text.C (nextBreakPoint): removed debug output not needed anymore.
8207 2002-01-06 Juergen Vigna <jug@sad.it>
8209 * text.C (nextBreakPoint): fixed up this function we had this bug
8210 since ever but now hopefully we break row better.
8211 (insertChar): we have to check if an inset is the next char as it
8212 could now happen that a large inset is causing a break.
8214 2002-01-05 Juergen Vigna <jug@sad.it>
8216 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8217 if it doesn't like to be drawed.
8219 2002-01-04 Juergen Vigna <jug@sad.it>
8221 * BufferView2.C (lockInset): forgot to set a cursor.
8223 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8225 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8230 * form_maths_panel.C:
8231 * form_maths_panel.h:
8232 * form_maths_panel.fd: implemented sub- and super- buttons in math
8235 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8236 (or ^ space) to be used as in TeX (req'd by André).
8238 * lyxfunc.C: Allow ^ and _ again to be used both as
8239 super/subscript (mathed) and as themselves (in text).
8241 2002-01-03 Allan Rae <rae@lyx.org>
8243 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8244 "LyX" or the filename of the current buffer if it has one. This is a
8245 modified form of John Levon's patch.
8247 * XFormsView.C (setWindowTitle): also set icon title.
8249 * LyXView.h (setWindowTitle): signature changed.
8250 * XFormsView.h (setWindowTitle): ditto.
8252 2002-01-02 Juergen Vigna <jug@sad.it>
8254 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8256 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8258 * screen.C (topCursorVisible): introduce a temp var for
8259 text->cursor.row(), handle the case where this row is null. (kindo
8262 * text2.C (setCursor): add a couple of asserts.
8264 * paragraph.h (inset_iterator): add -> operator
8266 * paragraph.[Ch] (autoDeleteInsets): remove member function
8268 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8269 cursor pos correctly and handle inset deletion by itself.
8270 (insertErrors): move iterator declaration out of for expression
8272 * lyxtextclass.C: add <algorithm>
8274 * Makefile.am: added the new files to sources, removed layout.C
8276 * layout.C: removed file
8278 * layout.h: remove LYX_DUMMY_LAYOUT
8280 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8284 * lyxtextclass.[Ch]:
8285 * lyxtextclasslist.[Ch]: new files
8287 * include order changes to a lot of files, also changes because of
8290 2001-12-27 Juergen Vigna <jug@sad.it>
8292 * buffer.C (asciiParagraph): more fixes.
8294 * tabular.C (ascii): make ascii export support export of only the
8295 data separated by a column-delimiter.
8296 (ascii): better support for ascii export.
8298 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8300 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8302 * tabular_funcs.C: use a "using std::getline" instead of the
8303 previous fix from Angus (necessary for cxx + lyxstring)
8305 2001-12-24 Juergen Vigna <jug@sad.it>
8307 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8309 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8310 problems. First check a minipage also if we have some ert-contents
8311 (not only on par->size(), second set the right depth of the paragraph
8312 on the relink to the root-paragraph-list!
8314 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8315 which then did not anymore update the main paragraphs on undo/redo!
8317 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8319 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8320 code. Support all font-changing funcs (even those which are not in
8321 menu currently). Support for reporting font settings in
8322 mathed (disabled until Andre provides a function on mathed's side).
8324 * func_status.h (toggle): small helper function to set toggle
8327 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8329 * tabular_funcs.C: getline -> std::getline
8331 2001-12-21 Juergen Vigna <jug@sad.it>
8333 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8334 accessed and could be 0 (I couldn't generate this but it seems
8337 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8339 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8340 * tabular_funcs.h: here and include iosfwd
8342 2001-12-20 Juergen Vigna <jug@sad.it>
8344 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8345 inside inset but undo_par was.
8347 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8349 * Thesaurus.C: always include <config.h> in sources.
8353 * box.h: do not include <config.h> in header files
8355 * text.C (paintLastRow): remove unused variable
8357 * text.C (transformChar):
8359 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8362 * font.C (width): rewrite to use uppercase() instead of
8365 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8367 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8369 * lyxfind.C: clean up of find failure position change
8371 2001-12-20 Juergen Vigna <jug@sad.it>
8373 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8375 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8376 (TeXRow): added to LaTeX a single tabular row.
8377 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8378 (Latex): simplified and finally good LT-h/f support.
8379 (various_functions): just small adaptions for LT-h/f support.
8381 * tabular_funcs.[hC]: added and moved here all not classfunctions
8384 2001-12-19 Juergen Vigna <jug@sad.it>
8386 * tabular.[Ch]: better support for longtabular options (not finished
8389 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8391 * text.C (paintLastRow): use the label font instead of the font of
8392 the last character to compute the size of *_BOX. This makes more
8393 sense and avoids a crash with empty paragraphs.
8394 Use Painter::rectangle to draw EMPTY_BOX.
8396 2001-12-19 Juergen Vigna <jug@sad.it>
8398 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8399 the paragraphs if the replaced paragraph is not the first one!
8400 Tried to delete not used paragraphs but does not work yet so for
8401 now it's inside #ifdef's and by default off!
8403 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8405 * MenuBackend.C: include "lyx_main.h" instead of declaring
8406 lastfiles (actually was declared as LastFiles* instead of a
8409 2001-12-17 Juergen Vigna <jug@sad.it>
8411 * tabular.C (AppendColumn): applied John's fix
8413 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8417 * BufferView_pimpl.h:
8418 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8421 * box.h: new start of class for above
8423 * lyxfunc.C: ignore space-only minibuffer dispatches.
8424 Show the command name when it doesn't exist
8426 * minibuffer.C: don't add empty lines to the history
8428 * minibuffer.C: add a space on dropdown completion
8430 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8432 * text.C: fix line above/below drawing in insets
8434 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8436 * lyxlength.C (LyXLength): Initialize private variables.
8438 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8440 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8441 when inserting error insets.
8443 2001-12-13 Juergen Vigna <jug@sad.it>
8445 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8446 actually sometimes the before-paragraph.
8447 (setUndo): don't clear the redostack if we're not actually undoing!
8449 2001-12-06 Juergen Vigna <jug@sad.it>
8451 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8452 and fixed redoing of main paragraph, so we can use it now ;)
8454 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8456 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8458 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8461 2001-12-13 André Pönitz <poenitz@gmx.net>
8464 * undo_func.C: minor cleanup
8466 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8468 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8469 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8470 font in urw-fonts package which is marked as -urw-fontspecific and
8471 does not work (incidentally, changing the encoding in the
8472 fonts.dir of this package to -adobe-fontspecific fixes the
8475 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8476 is a crash when undoing first paragraph (Juergen, please take a
8477 look). THis does not mean the undo fix is wrong, just that it
8480 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8481 the (Paragraph*) version when needed instead of duplicating the
8484 * text.C (workWidth): use Inset::parOwner to find out where the
8485 inset has been inserted. This is a huge performance gain for large
8486 documents with lots of insets. If Inset::parOwner is not set, fall
8487 back on the brute force method
8489 * paragraph_pimpl.C (insertInset):
8490 * paragraph.C (Paragraph):
8491 (cutIntoMinibuffer): set parOwner of insets when
8492 inserting/removing them
8494 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8496 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8502 * mathed/formulabase.C:
8503 * mathed/math_cursor.[Ch]:
8504 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8507 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8509 * lyxlength.[Ch] (operator!=): new function
8511 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8513 * text.C (workWidth): use Inset::parOwner to find out where the
8514 inset has been inserted. This is a huge performance gain for large
8515 documents with lots of insets. If Inset::parOwner is not set, fall
8516 back on the brute force method
8518 * paragraph_pimpl.C (insertInset):
8519 * paragraph.C (Paragraph):
8520 (cutIntoMinibuffer): set parOwner of insets when
8521 inserting/removing them
8523 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8525 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8527 * tabular-old.C (getTokenValue):
8528 * tabular.C (getTokenValue):
8529 (write_attribute): new versions for LyXLength
8530 (everywhere): adjust the use of widths
8532 * tabular.h: change the type of widths from string to LyXLength
8534 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8536 * paragraph.C: fixed missing line number count when exporting
8537 Environments to LaTeX file
8539 * buffer.C: added informational message for checking line numbers.
8541 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8543 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8544 paragraph, do the 'double space' part, but not the 'empty
8547 * text.C (workWidth): small optimization
8548 (getLengthMarkerHeight): use minimal size for negative lengths.
8550 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8552 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8554 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8556 2001-12-11 André Pönitz <poenitz@gmx.net>
8559 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8561 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8563 * text2.C: keep selection on a setFont()
8565 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8567 * lyx_cb.C: another bv->text misuse, from insert label
8569 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8572 * kbsequence.C: re-instate nmodifier mask
8574 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8576 * lyx_main.h: make lyxGUI private.
8578 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8580 * lyxfind.C: place the cursor correctly on failed search
8582 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8584 * text.C (getLengthMarkerHeight): for small heights, the arrows
8585 are not always on top/bottom of the text
8586 (drawLengthMarker): smaller arrows; take the left margin in
8587 account; draw also vfills.
8589 (paintLastRow): remove special code for vfill and standard spaces,
8590 since everything is handled in drawLengthMarker now.
8592 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8594 * buffer.C (insertErtContents): try to handle font and language
8595 interaction a bit better.g
8597 * ColorHandler.C (updateColor): change the hash to cover the whole
8598 LColor enum, ws cleanup
8599 (getGCLinepars): ditto
8600 (getGCLinepars): only lookup in the linecache once.
8602 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8604 * iterators.C (operator++): Make the iterator more robust
8606 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8608 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8610 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8613 * text.C: better added space drawing
8615 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8618 * BufferView2.C: fix layout combo update on inset unlock
8620 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8622 * Makefile.am: don't compile unused files
8624 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8628 * LyXAction.C: remove old LFUN_LAYOUTNO
8630 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8632 * paragraph_pimpl.h:
8633 * paragraph_pimpl.C: isTextAt() doesn't need font param
8635 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8638 * lyxlex.C: little cleanup
8640 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8642 * BufferView_pimpl.C: fix insertAscii for insets
8644 2001-12-05 Juergen Vigna <jug@sad.it>
8646 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8647 set the right font on the "multi" paragraph paste!
8649 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8655 * lyxlength.C: remove out-commented code.
8671 * vc-backend.C: change "while(" to "while ("
8673 * lyxlength.[Ch]: add zero function to check if length is zero or
8675 * lyxgluelength.C: use it
8677 2001-12-05 Allan Rae <rae@lyx.org>
8679 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8680 Works for 2.95.3, from what I understand of Garst's reports this should
8681 work for other g++ versions. We're screwed if the abs(int) definition
8682 changed between bugfix releases of gcc.
8684 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8686 * text.C: fix chapter label offset !
8688 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8691 * text.C: fix hfill at end of line, clean up
8693 2001-12-04 Juergen Vigna <jug@sad.it>
8695 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8696 that we force an update of the inset and it's owners if neccessary.
8698 2001-12-03 Juergen Vigna <jug@sad.it>
8700 * text.C (rowLast): simplified code
8702 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8704 * lyxfunc.C: fix show options on timeout
8706 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8708 * screen.C (topCursorVisible): scroll half a page when the cursor
8709 reached top of bottom of screen
8711 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8713 * minibuffer.C: deactivate on loss of focus
8715 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8717 * vspace.[Ch] (operator!=): add operator.
8719 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8721 * BufferView_pimpl.C: refuse to open an inset when
8722 there's a selection.
8724 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8726 * BufferView_pimpl.C: allow to click on RHS of full row insets
8728 2001-11-30 Juergen Vigna <jug@sad.it>
8730 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8731 insets for undo reasons.
8733 2001-11-28 André Pönitz <poenitz@gmx.net>
8735 * vspace.[Ch]: cosmetical changes
8737 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8747 * kbsequence.C: part re-write of old kb code
8750 * WorkArea.C: remove Lgb_bug_find_hack
8752 2001-11-30 José Matos <jamatos@fep.up.pt>
8754 * buffer.C (makeDocBookFile): add a comment to point a hack.
8755 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8756 Fixed a double write of labels.
8758 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8761 * LaTeX.h Fixed bug in LaTeX class where it would not
8762 re-run latex if no depfiles were changed, but the .dvi was removed.
8764 2001-11-28 André Pönitz <poenitz@gmx.net>
8766 * all the files from the change on 2001/11/26:
8767 use lyx::layout_type instead of LyXTextClass::size_type
8768 use lyx::textclass_type instead of LyXTextClassList::size_type
8770 2001-11-29 Juergen Vigna <jug@sad.it>
8772 * text.C: added support for paragraph::isFreeSpacing()
8774 * buffer.C: same as above
8776 * paragraph.h: inserted isFreeSpacing() function to enable
8777 FreeSpacing inside InsetERT.
8779 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8780 of the paragraph's in the cut/copy buffer to 0!
8782 * text2.C (removeRow): remove the assert as it can!
8784 * lyxtext.h: added helper function firstRow returning firstrow and
8785 made firstrow private again.
8787 * BufferView2.C (lockInset): don't relock if we're already locked!
8789 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8791 (removeRow): added Assert::(firstrow)
8793 * debug.C: forgot to add INSETTEXT here.
8795 2001-11-28 Juergen Vigna <jug@sad.it>
8797 * sp_spell.C (initialize): changed error text to more general
8798 spellchecker command use (not only ispell!)
8800 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8802 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8804 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8806 * vspace.C: initialise lyxgluelength on failure
8808 2001-11-28 Allan Rae <rae@lyx.org>
8810 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8811 declaration & definition that looks like a function declaration.
8813 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8815 * BufferView2.C (copy):
8816 (copyEnvironment): do not clear the selection when doing a copy.
8818 * text.C (paintFirstRow): compilation fix
8820 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8822 * tabular.C (Latex): correct line count when writing latex.
8824 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8826 * paragraph_pimpl.h:
8827 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8830 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8834 * LColor.C: change vfillline->added_space
8836 * text.C: add markers and text for added space
8838 * vspace.C: fix comment
8840 2001-11-28 André Pönitz <poenitz@gmx.net>
8842 * paragraph.C: whitespace changes
8843 * all the other files from the change on 2001/11/26:
8844 change *::pos_type into lyx::pos_type
8846 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8848 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8849 language of the document when inserting error insets.
8851 2001-11-26 André Pönitz <poenitz@gmx.net>
8853 * BufferView_pimpl.[Ch]:
8861 * paragraph_pimpl.[Ch]:
8864 * text2.C: reduce header dependencies, introduce type for positions
8866 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8868 * <various>: change to use Alert.h
8870 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8872 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8873 when encountering an unknown token.
8874 (readLyXformat2): Show an error message if there were unknown tokens.
8876 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8879 * BufferView_pimpl.C:
8883 * text2.C: use par->isInset()
8885 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8887 * paragraph_pimpl.h:
8888 * paragraph_pimpl.C: cleanup
8890 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8892 * text2.C (removeRow):
8893 * text.C (setHeightOfRow): remove useless (and costly) call to
8896 2001-11-20 Allan Rae <rae@lyx.org>
8898 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8899 Now need Inset*::checkInsertChar() to return true for appropriate
8900 cases so that the characters in the minibuffer will actually be
8903 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8905 * text.C: change the order of the includes.
8906 (workWidth): initialize it at once.
8907 (workWidth): make maxw unsigned
8908 (setHeightOfRow): remove unused variable (inset)
8909 (selectSelectedWord): remove unused variable (inset)
8910 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8912 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8914 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8915 server is not running.
8917 (closeConnection): add debug info when server is disabled.
8919 * ColorHandler.C (getGCForeground): send debug message to GUI
8922 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8924 * kbmap.C (bind): modify because return conventions of
8925 kb_sequence::parse have changed.
8927 * kbsequence.C (parse): only ignore spaces and not any stupid
8928 control character. This avoids tests like s[i] <= ' ', which are
8929 guaranteed to fail with 8bit characters and signed chars.
8930 Change return code to string::npos when there have been no error
8931 (0 was a bad idea when error is at first character)
8933 2001-11-14 José Matos <jamatos@fep.up.pt>
8936 * buffer.C (simpleDocBookOnePar): removed unused argument.
8938 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8940 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8941 insets which are part of a word. Paragraph::isLetter takes care of
8942 that now. Use Paragraph::isInset to identify insets.
8943 (selectSelectedWord): do not test for hyphenation break.
8945 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8946 that protected spaces are considered as spaces.
8948 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8951 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8954 * lyxserver.C: fix it. and small cleanup.
8956 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8958 * BufferView_pimpl.C: use inline helpers
8961 * LaTeXFeatures.C: fix typos
8964 * Spacing.C: move spacing_string into class
8966 * ToolbarDefaults.C: move stuff into namespace anon
8968 * layout.h: update enum
8970 * lyxfunc.C: use better debug
8972 * minibuffer.h: fix typo
8976 * WorkArea.C: add and use Debug::WORKAREA
8980 * text2.C: code re-organisation, inline helpers
8982 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8984 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8985 std::vector.empty().
8987 2001-11-09 Allan Rae <rae@lyx.org>
8989 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8990 '\n's after tables. Tabular and ERT inset work now makes this no
8993 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8996 * minibuffer.C: fix crash, improve drop-down completion
8998 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9001 * lyxserver.C: invalidate fd's when doing endPipe()
9003 2001-11-08 José Matos <jamatos@fep.up.pt>
9005 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9006 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9009 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9011 2001-11-07 José Matos <jamatos@fep.up.pt>
9014 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9017 * buffer.C (sgmlOpenTag):
9018 * buffer.C (sgmlCloseTag): removed debug info.
9020 * buffer.h (sgmlOpenTag):
9021 * buffer.h (sgmlCloseTag): made public.
9023 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9025 * buffer.C (saveParamsAsDefaults):
9026 * lyx_cb.C (MenuLayoutSave): remove
9028 * LyXAction.C (init):
9030 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9032 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9034 * buffer.C (setPaperStuff): removed from here...
9036 * bufferparams.C (setPaperStuff): ... and moved there.
9038 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9042 * XFormsView.C: add support for drop-down completion
9044 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9046 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9049 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9051 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9054 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9056 * lyx_main.C: change ref to known bugs
9058 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9060 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9061 to work around older babel problems.
9063 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9065 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9067 2001-10-24 Juergen Vigna <jug@sad.it>
9069 * tabular-old.C (ReadOld): below variable changes reflected.
9071 * tabular.[Ch]: added ltType struct for longtable header/footer
9072 defines and changed all instances where they are used. Added
9073 future support for double top/bottom rows.
9075 2001-10-24 José Matos <jamatos@fep.up.pt>
9077 * buffer.h (docbookHandleCaption):
9078 * buffer.C (docbookHandleCaption): removed unused function.
9079 (makeDocBookFile): moved docbook supported version to v4.1.
9081 2001-10-24 José Matos <jamatos@fep.up.pt>
9084 * tabular.C (docbookRow): new function to export docbook code of a row.
9085 (DocBook): now honors the longtable flags.
9087 2001-10-23 José Matos <jamatos@fep.up.pt>
9090 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9091 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9093 * buffer.C (makeLinuxDocFile):
9094 (makeDocBookFile): reworked the preamble, more clean, and with
9095 support for lyx defined entities. Changed the document declaration
9096 to be more XML friendly.
9098 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9099 if we need to output XML that should be done with a filter.
9101 2001-10-22 Juergen Vigna <jug@sad.it>
9103 * sp_pspell.h (class PSpell): add alive function needed in the
9104 controller to see if the spellchecker could be started.
9106 2001-10-22 Juergen Vigna <jug@sad.it>
9108 * buffer.C (insertStringAsLines): modify the font for inserting
9109 chars in certain conditions by calling checkInsertChar(font).
9111 2001-10-19 Juergen Vigna <jug@sad.it>
9113 * text.C (workWidth): use getRow instead of wrong algorithm.
9114 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9116 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9121 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9123 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9125 * text.C (workWidth): do not search for the exact row when
9126 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9127 optimization for big documents.
9129 2001-10-18 Juergen Vigna <jug@sad.it>
9131 * text.C (workWidth): new function with added Inset * parameter.
9133 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9135 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9137 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9138 change return type of getColumnNearX.
9141 * text.C (changeRegionCase): use uppercase/lowercase instead of
9144 (rightMargin): simplify code by factoring out the uses of
9149 (appendParagraph): use Paragraph::size_type
9151 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9153 * vspace.C (asLatexString): add a missing break
9155 2001-10-15 Herbert Voss <voss@perce.de>
9157 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9159 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9161 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9164 2001-10-10 André Pönitz <poenitz@gmx.net>
9166 * lyxfunc.C: removed greek_kb_flag.
9168 2001-10-10 Herbert Voss <voss@perce.de>
9170 * lyx_main.C: delete global string help_lyxdir.
9172 2001-10-09 Herbert Voss <voss@perce.de>
9174 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9176 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9178 * lyx_main.C: added global string help_lyxdir.
9180 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9182 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9184 * lyxrc.C (set_font_norm_type): support iso8859-4
9186 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9188 * LaTeX.C (deplog): add another regex for MikTeX
9190 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9192 * lyxrc.C (set_font_norm_type): support iso8859-3
9194 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9196 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9198 * LaTeXFeatures.C: remove special case of french and index
9200 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9201 before \begin{document}). This solves several incompatibilities.
9203 2001-10-03 Garst Reese <reese@isn.net>
9205 * lyx_cb.C: change CheckTex error msg.
9207 2001-10-03 José Matos <jamatos@fep.up.pt>
9209 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9211 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9213 * .cvsignore: update
9215 * lyx_main.C (commandLineVersionInfo): use new style version info.
9217 * buffer.C (writeFile):
9220 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9222 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9224 * version.h: update to use stuff in version.C
9226 * version.C.in: new file. Contains version information determined
9227 at compile time. This is a merging of version.h and
9230 2001-10-03 Juergen Vigna <jug@sad.it>
9232 * BufferView_pimpl.C (update): don't change "dirty" status in
9235 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9237 * WorkArea.C (c-tor): re-position version string slightly.
9239 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9241 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9242 revert to previous code.
9244 WorkArea.[Ch]: (show, destroySplash): methods removed.
9246 WorkArea.C: rework code so that it's an amalgam of the codes before and
9247 after the splash screen was moved to WorkArea.
9249 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9252 * vspace.C (inPixels):
9255 * buffer.C (insertStringAsLines):
9256 (asciiParagraph): fix types to be large enough
9258 * lyxlex_pimpl.h: change member status from short to int
9260 * layout.h: fix type of endlabeltype
9263 * kbsequence.C (parse): change return type to string::size_type
9265 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9268 * Bullet.C (bulletSize):
9269 (bulletEntry): do not use short ints as parameters
9271 * BufferView2.C (insertLyXFile): change a char to an int.
9273 * WorkArea.C (WorkArea): remove unneeded floats in computation
9275 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9277 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9279 * paragraph.C (asString): Do not ignore newline/hfill chars when
9280 copying to the clipboard.
9282 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9284 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9285 after a multi-line inset.
9287 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9289 * paragraph.C (validate): Set NeedLyXFootnoteCode
9291 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9293 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9294 and decrease-error to decrease.
9296 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9298 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9299 it more readable (should be equivalent)
9301 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9303 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9305 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9307 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9308 of a cursor (row, etc.) after a character has been deleted
9309 (deleteEmptyParagraphMechanism): call the method above on _all_
9310 cursors held by the LyXText when a double space has been
9313 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9315 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9317 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9319 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9320 background. Use greyOut() and the new show() methods to toggle between
9321 the foreground and background. Add code to remove the splash after
9322 its initial showing.
9324 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9325 (create_forms): no longer call Dialogs::showSplash.
9327 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9329 * .cvsignore: add version_info.h
9331 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9333 * version_info.h.in: new file
9335 * Makefile.am: add version_info.h.in
9337 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9338 version_info.h instead of VERSION_INFO
9340 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9342 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9343 The ERT inset now returns string().
9345 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9347 * lyxtext.h, text.C (selectNextWord): renamed as
9348 selectNextWordToSpellcheck.
9350 * text.C (selectNextWordToSpellcheck): Modified to not select
9351 words inside an ERT inset.
9353 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9355 * lyx_cb.C (MenuLayoutSave): change a bit the question
9357 * sp_base.h: include <sys/types.h>
9359 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9361 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9363 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9365 * several files: fix typos in user-visible strings
9367 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9369 * text2.C (pasteSelection): do not set the selection, since it
9370 will be cleared later. Actually, the intent was to fix the way the
9371 selection was set, but I figured rmoving the code was just as good.
9373 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9375 * FontLoader.C (available): Check if font is available without
9378 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9380 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9382 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9384 * lyxrc.[Ch]: added display_graphics variable and associated code.
9386 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9388 * bufferparams.C (hasClassDefaults): new method. Returns true if
9389 the buffer parameters correspond to known class defaults
9391 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9393 * XFormsView.C (show): set minimum size to the main window.
9395 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9397 * text2.C (copySelection):
9399 * lyxfind.C (LyXReplace):
9400 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9401 LyXText::selectionAsString.
9403 * paragraph.C (asString): add "label" argument to the second form
9405 * text2.C (selectionAsString): add "label" argument and pass it to
9406 Paragraph::asString.
9408 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9410 * lyx_main.C (commandLineHelp): remove version information
9412 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9414 * lyx_main.C: add -version commandline option
9416 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9418 * paragraph.h: make the optional constructor arg required instead.
9419 some modifications to other files because of this.
9421 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9423 * lyxserver.C (C_LyXComm_callback): make it static
9425 * lyx_main.C (error_handler): make it static
9427 * lyx_gui.C (LyX_XErrHandler): make it static
9429 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9431 * WorkArea.C: make the extern "C" methods static.
9433 * Makefile.am (lyx_LDADD): simplify
9435 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9437 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9438 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9440 * LyXAction.C (init):
9441 * lyxfunc.C (dispatch): associated code removal.
9443 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9445 * lyxfont.h (isSymbolFont): shut off warning
9447 * text.C (setHeightOfRow):
9448 (getVisibleRow): fix crash with empty paragraphs which have a
9451 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9453 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9456 2001-09-04 José Matos <jamatos@fep.up.pt>
9459 * tabular.C (docbook): rename docBook method to docbook.
9461 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9463 * Makefile.am: add dependencies to main.o.
9465 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9467 * FontLoader.C (available): Return false if !lyxrc.use_gui
9469 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9471 * FontInfo.C (query):
9472 * converter.C (view):
9473 * importer.C (Import):
9474 * exporter.C (Export): Can not -> cannot.
9476 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9478 * BufferView_pimpl.C: allow to create index inset even if
9481 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9483 * buffer.C (getLists): replace boost::tie code with an explicit pair
9484 as boost::tie can break some compilers.
9486 * iterators.h: Added a std:: declaration to the return type of
9489 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9491 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9494 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9496 * iterators.[Ch]: New files. Provide paragraph iterators.
9498 * buffer.C (changeLanguage): Use paragraph iterators.
9499 (isMultiLingual): ditto
9501 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9503 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9505 * FontLoader.C: Support for cmr font.
9507 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9509 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9510 (available): New method.
9512 * FontInfo.C (getFontname): Use scalable fonts even when
9513 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9516 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9518 * converter.C (Formats::view): reverted! Incorrect fix.
9520 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9522 * converter.C (Formats::view): only output the -paper option
9523 if the dvi viewer is xdvi, thereby fixing bug #233429.
9525 2001-08-23 Herbert Voss <voss@perce>
9527 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9529 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9531 * Spacing.h (Spacing): Set space to Default on in the default
9534 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9536 * vc-backend.h (RCS::versionString): add RCS to version
9537 (CVS::versionString): add CVS to version
9539 * vc-backend.C (scanMaster): do not add CVS to version.
9540 (scanMaster): do not add RCS to version
9542 * lyxvc.C (versionString): new method
9544 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9546 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9548 * Spacing.C (set): initialize fval
9550 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9552 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9555 2001-08-16 Juergen Vigna <jug@sad.it>
9557 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9559 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9561 * BufferView_pimpl.C:
9564 * text2.C: setParagraph takes linespacing now
9566 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9568 * LyxAction.C: add internal LFUN_CITATION_INSERT
9570 * LyXView.C: actually apply fix
9572 * bufferlist.C: fix open non-existent file
9574 * lyxfind.C: fix indentation
9576 * lyxfunc.C: remove unneeded assert, fix typo
9578 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9580 * MenuBackend.C: use "Floatname List"
9582 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9584 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9585 when converting LaTeX layout to insetERT.
9586 Generate a non-collapsed float when reading old float
9588 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9590 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9593 2001-08-13 Juergen Vigna <jug@sad.it>
9595 * text.C (fill): return 0 instead of 20 as this seems to be the more
9598 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9600 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9603 2001-08-13 Juergen Vigna <jug@sad.it>
9605 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9607 (SearchBackward): comment out the unlocking of the inset_owner this
9608 should not be needed!
9610 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9612 * Many files: Remove inherit_language, and add latex_language
9614 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9617 2001-08-10 Juergen Vigna <jug@sad.it>
9619 * text.C (prepareToPrint): fixed hfill-width in draw!
9621 * BufferView2.C (selectLastWord): save the selection cursor as this
9622 now is cleared in the function LyXText::clearSelection!
9624 2001-08-08 Juergen Vigna <jug@sad.it>
9626 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9627 BACKSPACE type functions.
9629 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9630 is only cutted from the document but not put in the cut-buffer, where
9631 still the old stuff should be.
9633 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9635 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9637 * tabular.C (SetWidthOfCell): fixed special case where the width
9639 (LeftLine): handle '|' in align_special.
9641 (LeftAlreadyDrawed): ditto
9642 (SetWidthOfCell): ditto
9644 2001-08-07 Juergen Vigna <jug@sad.it>
9646 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9648 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9650 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9651 * lyxlex.[hC]: ditto
9653 2001-08-06 Juergen Vigna <jug@sad.it>
9655 * text.C (getVisibleRow): fix up row clearing a bit.
9657 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9659 * minibuffer.C: make sure the X server sees the changes in the input.
9661 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9663 * paragraph.C (getFont): split into...
9664 (getLabelFont): this
9665 (getLayoutFont): and this
9666 * paragraph_pimpl.C (realizeFont): calling this
9668 * text2.C (getFont): split into...
9669 (getLayoutFont): this
9670 (getLabelFont): and this
9671 (realizeFont): all three calling this
9673 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9676 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9678 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9680 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9682 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9683 layouts from the Quote inset insertion.
9685 2001-08-03 Juergen Vigna <jug@sad.it>
9687 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9689 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9690 only if status not is already CHANGED_IN_DRAW (second level).
9692 * text.C (draw): don't set the need_break_row when inside an
9695 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9697 * buffer.C (parseSingleLyXformat2Token): handle more latex
9700 * bufferview_funcs.[hC]: change function names to
9701 begin with small char, adjust other files.
9703 2001-08-02 André Pönitz <poenitz@gmx.net>
9706 BufferView_pimpl.C: remove broken special code for math-greek
9708 2001-08-02 Juergen Vigna <jug@sad.it>
9710 * BufferView_pimpl.C (update): redone this function so that we
9711 update the text again if there was a CHANGE_IN_DRAW.
9713 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9714 (drawFromTo): added a new internal bool which is used by draw() and
9716 (general): some cursor drawing problems fixed.
9718 2001-08-01 Juergen Vigna <jug@sad.it>
9720 * lyxfind.C (LyXFind): fixed
9721 (SearchForward): ditto
9722 (SearchBackward): ditto
9724 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9725 spurius drawing of the cursor in the main area.
9727 * text2.C (status): small fix which could lead to a segfault!
9728 (clearSelection): remove unneeded BufferView param.
9730 2001-08-01 André Pönitz <poenitz@gmx.net>
9732 * lyxfunc.C: small change due to changed mathed interface
9734 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9736 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9738 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9740 * lyxfunc.c: fail gracefully if file doesn't exist
9745 * BufferView_pimpl.C: IsDirWriteable() proto changed
9747 * LyXView.C: fix updateWindowTitle() to store the last title
9749 2001-07-31 Juergen Vigna <jug@sad.it>
9751 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9752 the font (wrong since using of Paragraph::highestFontInRange).
9754 * paragraph.C (highestFontInRange): added a default_size parameter.
9756 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9757 (setHeightOfRow): reformat
9759 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9761 * converter.[hC] + affected files: move to (inital-char)lowercase
9764 * ParagraphParameters.C (ParagraphParameters): remove commented code
9766 * PainterBase.[Ch]: remove commented code
9768 * LaTeXFeatures.h: add "bool floats" for float.sty
9770 * LaTeXFeatures.C (LaTeXFeatures): init floats
9771 (require): handle float
9772 (getPackages): do it with floats
9774 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9776 * BufferView_pimpl.C (Dispatch): improve handling of
9777 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9779 * commandtags.h: #include lyxfont.h here temporarily to avoid
9782 * bufferlist.h: include LString.h here.
9784 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9786 * text2.C (getStringToIndex): new method.
9788 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9790 * *: Reduced header file dependencies all over.
9792 2001-07-30 Baruch Even <baruch@lyx.org>
9794 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9796 2001-07-29 Baruch Even <baruch@lyx.org>
9798 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9800 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9802 * ParameterStruct.h (endif): add a default constructor to make
9803 sure that all variables is initialized.
9805 * ParagraphParameters.C (ParagraphParameters): adjust
9807 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9809 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9810 index; also, check that there is something to index, and that it
9811 does not span over several paragraphs.
9812 (doubleClick): use WHOLE_WORD_STRICT for double click.
9814 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9816 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9819 2001-07-26 Baruch Even <baruch@lyx.org>
9821 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9822 an InsetFig figure, backwards compatible reading of old figure code.
9824 2001-07-27 Juergen Vigna <jug@sad.it>
9826 * text2.C: font.realize function adaption.
9828 * text.C (draw): add a warnings lyxerr text if needed.
9830 * layout.C: font.realize function adaption.
9832 * language.C: add inherit_language and implement it's handlings
9834 * bufferview_funcs.C (StyleReset): remove language parameter from
9835 font creation (should be language_inherit now).
9837 * bufferparams.C (writeFile): handle ignore_language.
9839 * paragraph.C (getFontSettings): the language has to be resolved
9840 otherwise we have problems in LyXFont!
9842 * lyxfont.C (lyxWriteChanges): added document_language parameter
9843 (update): removed unneeded language parameter
9845 * paragraph.C (validate): fixed wrong output of color-package when
9846 using interface colors for certain fonts in certain environments,
9847 which should not seen as that on the final output.
9849 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9851 * BufferView_pimpl.C:
9856 * LyXAction.C: add thesaurus support
9859 * lyxfind.C: add "once" parameter, for thesaurus, to not
9860 move to the next match
9862 2001-07-26 Juergen Vigna <jug@sad.it>
9864 * lyxfont.C (realize): honor ignore_language too!
9867 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9869 * text.C (draw): one place more for ignore_language to not draw
9872 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9874 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9876 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9878 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9879 the minipage conversion problem.
9881 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9883 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9886 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9888 * BufferView.h: don't forward declare WorkArea
9890 * BufferView.C: don't include WorkArea.h
9892 2001-07-25 André Pönitz <poenitz@gmx.net>
9896 * lyxfunc.C: new LFUN 'math-space'
9898 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9900 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9902 * text2.C (toggleInset): call open/close
9904 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9906 * lyxfunc.C (dispatch): add debug for the disabled case
9908 * font.C (buttonText): make similar to rectText
9910 * buffer.C (readInset): comment out parsing of insetlist and
9913 * PainterBase.C (rectText): small correction
9915 * BufferView_pimpl.C: comment out insettheorem and insetlist
9916 * LyXAction.C: ditto
9917 * commandtags.h: ditto
9919 2001-07-24 Juergen Vigna <jug@sad.it>
9921 * text.C (draw): honor the ignore_language.
9923 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9925 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9927 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9930 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9932 * lyxtext.h: remove unused (and unimplemented) methods
9934 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9936 * text.C (getVisibleRow): honor background color
9939 * Painter.h: remove default color argument for fillRectangle
9941 * text.C (backgroundColor): new method
9943 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9945 * text.C (getVisibleRow): adjust
9947 * font.[Ch] (rectText): new method, metrics
9948 (buttonText): new method, metrics
9950 * PainterBase.[hC]: make rectText and buttonText always draw and take
9953 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9955 * ToolbarDefaults.C (read):
9956 * MenuBackend.C (read): allow escaping in all strings
9958 * BufferView_pimpl.C (insertAndEditInset): new method.
9959 (Dispatch): use insertAndEditInset whenever appropriate.
9961 * BufferView_pimpl.C (insertNote): removed
9963 * BufferView_pimpl.C (smartQuote): new method, moved from
9964 BufferView; if an insetquote cannot be inserted, insert a '"'
9967 * BufferView2.C: remove insertCorrectQuote();
9969 * lyxfunc.C (getStatus): Add support for all remaingin
9972 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9974 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9975 command (necessary to pass " as parameter of self-insert.
9977 * text.C (selectWordWhenUnderCursor):
9978 (selectWord): add word_location parameter
9979 (selectWordWhenUnderCursor): same + remove special code for word
9981 (selectNextWord): use kind() to guess type of insetspecialchar,
9984 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9985 (insertErtContents): create ert insets as collapsed.
9986 (readInset): better compatibility code for Info inset.
9988 2001-07-20 Juergen Vigna <jug@sad.it>
9990 * lyxfunc.C (dispatch): use always LyXFind now!
9992 * text2.C (init): add a reinit flag so that the LyXText can be
9993 reinited instead of deleted and reallocated (used in InsetText).
9995 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10001 2001-07-18 Juergen Vigna <jug@sad.it>
10003 * text.C (selectNextWord): handle insets inside inset by calling
10004 always the bv->text functions so that we can go up the_locking_inset!
10006 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10007 in strange locations when inside an inset!
10009 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10010 handling to include insets.
10012 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10014 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10016 * LyXAction.C (init):
10018 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10019 LIGATURE_BREAK, since the name is so stupid.
10021 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10023 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10026 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10028 * sp_form.[Ch]: remove.
10030 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10032 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10035 * src/buffer.C (readInset): ditto.
10037 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10039 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10040 menuSeparator(), endOfSentenceDot(), ldots() and
10041 hyphenationPoint(), which are therefore removed.
10042 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10044 * LyXAction.C (init):
10045 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10047 * paragraph.C (getWord): removed.
10049 * BufferView_pimpl.C (Dispatch): use last word or selection for
10050 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10052 * lyx_main.C (queryUserLyXDir): do not ask before creating
10053 user_dir, except if it has been named explicitely.
10055 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10057 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10058 a document of zero size.
10060 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10062 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10063 approriately in the c-tor and in require().
10064 (getPackages): output the appropriate LaTeX for natbib support.
10066 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10067 variables "use_natbib" and "use_numerical_citations" when reading the
10069 (readInset): read the various natbib cite commands.
10070 (validate): white-space change.
10072 * bufferparams.[Ch]: new variables "bool use_natbib" and
10073 "bool use_numerical_citations".
10074 (writeFile): output them in the LyX file.
10076 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10078 * lyxfunc.C (getStatus): add support for all the inset insertion
10081 * text2.C (insertInset):
10082 * paragraph.C (insetAllowed):
10083 * BufferView_pimpl.C (insertInset): update to take in account the
10084 renaming of insertInsetAllowed
10086 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10088 * text2.C (getInset): new method. returns inset at cursor position.
10090 * BufferView_pimpl.C (Dispatch): changes because of this.
10092 * LyXAction.C (init): rename open-stuff to inset-toggle.
10094 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10096 * text2.C (toggleInset): renamed from openStuff; use
10099 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10101 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10103 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10105 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10107 * buffer.C (readLyXformat2): Add filename to the error dialog
10109 2001-07-18 Juergen Vigna <jug@sad.it>
10111 * tabular.C (GetCellNumber): put an assert here instead of the check!
10113 2001-07-17 Juergen Vigna <jug@sad.it>
10115 * BufferView_pimpl.C (toggleSelection): adapted too.
10117 * text.C (selectNextWord): adapted for use with insets.
10118 (selectSelectedWord): ditto
10120 2001-07-17 Juergen Vigna <jug@sad.it>
10122 * sp_spell.C (PSpell): fix initialitation order.
10124 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10126 * paragraph.C: spacing
10128 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10130 * sp_spell.C: repair language selection for pspell
10132 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10134 * lyxfunc.h: change more methods to begin with lower char.
10136 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10138 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10139 for unknown layouts.
10141 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10143 * buffer.C (readLyXformat2): Generate an error dialog if there are
10146 2001-07-16 Juergen Vigna <jug@sad.it>
10148 * sp_spell.C: always compile ISpell part.
10150 * lyxrc.C: added use_pspell entry and it's handling.
10152 2001-07-13 Juergen Vigna <jug@sad.it>
10154 * sp_spell.C: removed double includes.
10156 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10158 Consistent use of Lsstream.h:
10159 * Lsstream.h: added using std::stringstream for consistencies sake.
10161 * buffer.C: removed using std::stringstream
10163 * lyxfont.C (stateText):
10164 * paragraph.C (asString):
10165 * text.C (selectNextWord, selectSelectedWord):
10166 * text2.C (setCounter):
10167 * vspace.C (asString, asLatexString):
10168 std::ostringstream -> ostringstream.
10170 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10172 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10173 * commandtags.h: add LFUN_HELP_ABOUTLYX
10174 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10176 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10178 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10180 * lyx_gui_misc.C: remove spellchecker
10181 * lyxfunc.C: showSpellchecker
10183 * sp_ispell.h: added
10184 * sp_pspell.h: added
10185 * sp_spell.C: added
10186 * sp_form.[Ch]: removed
10187 * spellchecker.[Ch]: removed
10189 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10191 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10193 (simpleTeXSpecialChars): Simply print the input character without
10194 any special translation if pass_thru is set.
10196 * layout.h: Added bool pass_thru to layout class for being able to
10197 implement pass through of a paragraph for Literate Programming.
10199 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10200 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10201 * layout.C (Read): add "passthru" to list of layout tags and add
10202 code to set the pass_thru boolean when it is read.
10204 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10206 * trans_decl.h: remove allowed from KmodInfo
10208 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10209 remove allowed code
10212 * paragraph_pimpl.C (erase): use boost::prior
10214 * Painter.C (text): use data() instead of c_str() when length is
10216 * WorkArea.C (putClipboard): ditto
10217 * font.h (width): ditto
10219 * BufferView2.C: use it-> instead of (*it). for iterators
10221 * paragraph_pimpl.C: ditto
10222 * paragraph.C: ditto
10223 * minibuffer.C: ditto
10224 * language.C: ditto
10226 * encoding.C: ditto
10227 * counters.C: ditto
10228 * converter.C: ditto
10230 * Variables.C: ditto
10231 * TextCache.C: ditto
10232 * MenuBackend.C: ditto
10233 * LyXAction.C: ditto
10235 * FloatList.C: ditto
10236 * DepTable.C: ditto
10237 * ColorHandler.C (LyXColorHandler): ditto
10239 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10241 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10243 * text2.C (openStuff): reintroduce this method (which had been
10244 nuked in NEW_INSETS frenzy).
10246 * lyxfunc.C (Dispatch): when an action has not been handled, use
10247 its name in the error message, not its number.
10249 * paragraph.C (inInset): change method name to begin with lowercase.
10252 * text2.C: updates because of this.
10254 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10256 * ToolbarDefaults.C (add): add spaces in error message
10258 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10260 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10261 (readLyXformat2): rename return_par to first_par, use lyxlex's
10262 pushToken and remove the manual push handling.
10263 (parseSingleLyXformat2Token): add another ert comp. variable:
10264 in_tabular, rename return_par to first_par. handle newlines better
10266 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10268 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10270 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10272 * text2.C (getParFromID): removed
10274 * buffer.C (getParFromID): new method moved form lyxtext.
10275 * BufferView2.C (insertErrors): adjust
10276 (setCursorFromRow): adjust
10277 * BufferView_pimpl.C (restorePosition): adjust
10278 * lyxfunc.C (Dispatch): adjust
10279 * undo_funcs.C (textUndo): adjust
10281 (textHandleUndo): adjust
10282 (textHandleUndo): adjust
10284 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10286 * buffer.C: up' the LYX_FORMAT
10288 * lyxfont.h: turn NO_LATEX on as default
10290 * buffer.C (insertErtContents): new methods of tex style compability.
10291 (parseSingleLyXformat2Token): use it several places.
10292 * tabular.C (OldFormatRead): and here
10294 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10296 * text2.C: remove some commented code.
10299 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10300 * trans.C: changes because of the above.
10302 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10304 * text2.C (setCounter): Fix counters bug with bibliography layout.
10306 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10308 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10309 own member functions
10310 (simpleTeXSpecialChars): ditto
10312 2001-07-06 Juergen Vigna <jug@sad.it>
10314 * a lot of files: changed the access to LyXText::status and the
10315 call of undo-functions.
10317 * undo.[Ch]: added a inset_id to the undo informations.
10319 * undo_funcs.[Ch]: added and moved here all undo functions.
10321 * lyxtext.h: give the status enum a weight, made status_ a private
10322 variable and made accessor functions for it, removed the whole bunch
10323 of undo-functions as they are now in their own file, make some
10324 functions publically available. Added function ownerParagraph with
10327 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10328 made InInset() a const function, added getParFromID() function.
10330 * buffer.[Ch]: added const version for inset_iterator functions,
10331 added getInsetFromID() function.
10333 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10334 changed undo functions for new version.
10336 2001-07-05 Juergen Vigna <jug@sad.it>
10338 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10339 unknow mechanism does not call the proper constructor but only this
10340 one also if I request the other!?
10342 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10344 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10346 * text2.C (LyXText): use initialization lists.
10348 * lyxtext.h (Selection): initialize set_ and mark_
10349 (init): remove method
10351 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10353 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10355 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10357 * screen.[Ch]: change method names to begin with lowercase
10359 * BufferView_pimpl.C (updateScrollbar): simplify further and
10360 hopefully make it a bit faster.
10362 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10364 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10365 calling directly xforms functions.
10367 * Painter.C (Painter):
10368 * lyx_cb.C (MenuWrite):
10369 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10372 * lyx_gui.C: remove bogus guiruntime extern declaration.
10374 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10376 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10378 (redoDrawingOfParagraph): ditto
10379 (redoParagraphs): ditto
10380 (cutSelection): don't create a object for CutAndPaste use the
10381 static method directly
10382 (pasteSelection): ditto
10384 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10387 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10389 * modifications to some other files because of this.
10391 * Makefile.am (lyx_SOURCES): add XFormsView
10393 * XFormsView.[Ch]: new files
10395 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10396 the main window. Move the gui dependent stuff to XFormsView
10398 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10400 * tabular.C (GetCellInset): update cur_cell also in the row/col
10401 version of this function.
10403 * lyxfunc.C: no need to include figure_form.h here.
10409 * lyxvc.C: no need to include forms.h here.
10411 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10413 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10415 * lyxfunc.C (Dispatch):
10417 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10418 constructor argument.
10420 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10422 * paragraph.C (Paragraph): dont't clear, and just set layout.
10423 (makeSameLayout): use params's copy contructor.
10425 * ParagraphParameters.[Ch] (makeSame): delete method
10427 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10429 * Variables.[Ch]: fix indentation, rename set to isSet
10431 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10433 * lyxfunc.C (Dispatch): fix typo
10435 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10437 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10440 * bufferlist.C: include assert.h for emergencyWrite().
10442 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10444 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10445 give up at last (bug #425202) !
10447 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10453 * spellchecker.C: strip spellchecker options and bring up
10454 preferences tab instead
10456 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10458 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10459 the istringstream constructor
10461 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10463 * paragraph.C (getLayout): fix return value
10465 * paragraph.h: do not declare getLayout as inline.
10467 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10469 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10471 * lyxcursor.h (operator<): new func
10472 (operator>): new func
10473 (operator>=): new func
10474 (operator<=): new func
10476 * text.C (changeCase): use selection.start and selection.end
10477 (changeRegionCase): require from to be <= to. Require par to be a
10480 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10482 2001-06-27 Juergen Vigna <jug@sad.it>
10484 * text.C (cursorLeftOneWord): changed to return the cursor and added
10485 overlay with BufferView * parameter which calls this one.
10487 (selectWord): use new getWord function.
10488 (changeCase): renamed from changeWordCase as and extended to work
10489 also on selections.
10491 * lyxtext.h: added enum word_location
10493 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10494 changeCase as this operates now also on selections.
10496 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10498 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10500 * many files: send debug output to Debug::INFO instead of
10503 * converter.C (View):
10505 (Move): send debug output to Debug::FILES instead of console.
10507 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10509 * lyxfunc.C (getStatus): use func_status
10511 * func_status.h: new header, describing the results of
10512 LyXFunc::getStatus;
10514 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10517 2001-06-25 The LyX Project <jug@sad.it>
10519 * buffer.C (sgmlOpenTag):
10521 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10523 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10525 * text2.C: remove some dead code
10527 * tabular.C (GetCellInset): store the last cell checked (gotten)
10529 * tabular.h: add the helper for the speedup
10531 * lyxtext.h: remove some dead code
10533 2001-06-26 The LyX Project <Asger>
10535 * paragraph.C: Change export to LaTeX of alignment to
10536 \begin{center} and family for better roundtrip work with reLyX.
10538 * Tune the math drawing a bit.
10540 2001-06-25 The LyX Project <Asger>
10542 * LColor.C (LColor): New color for math background. New color
10545 2001-06-25 The LyX Project <jug@sad.it>
10547 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10549 * lyxfunc.C (Open):
10550 * bufferlist.C (newFile): do not restrict to files ending with
10553 * BufferView_pimpl.C (MenuInsertLyXFile):
10555 2001-06-24 The LyX Project <jug@sad.it>
10557 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10560 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10562 * lyxtext.h: rename most methods to begin with a small char.
10563 Lots of changes because of this.
10565 * paragraph.C (Paragraph): do not call fitToSize
10566 (erase): call Pimpl::erase
10567 (insertChar): call Pimpl::insertChar
10568 (insertInset): call Pipl::insertInset
10569 (breakParagraph): do not call fitToSize
10570 (breakParagraphConservative): do not call fitToSize
10571 (fitToSize): remove method
10573 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10575 2001-06-24 The LyX Project <Asger>
10577 * Fix Qt compilation^2
10579 2001-06-24 The LyX Project <jug@sad.it>
10581 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10582 depthHook(getDepth()-1).
10585 * ParagraphParameters.h:
10586 * ParameterStruct.h: change type of depth to unsigned int ==
10587 depth_type. Many adaptations to other files before of that.
10589 2001-06-24 The LyX Project <Asger>
10591 * Fix Qt compilation.
10593 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10595 * paragraph.h: renamed several methods to begin with small letter.
10596 several changes to many parts of the code because of this.
10598 2001-06-23 The LyX Project <jug@sad.it>
10600 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10601 rewritten to discard all double spaces when KeepEmpty is off
10602 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10603 to only handle newlines but not fiddle with spaces and friends.
10605 * lyxfunc.C (MenuNew): when doing 'new from template', use
10606 template_path as default directory
10608 2001-06-23 The LyX Project <Asger>
10610 * Clean-up of header file includes all over
10611 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10613 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10615 * paragraph.h: renamed from lyxparagraph.h
10617 2001-06-23 Asger <lyx@violet.home.sad.it>
10619 * Buffer.h: Removed Buffer::resize
10620 * BufferList.h: Removed BufferList::resize
10621 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10622 the document lazily when we change the width, or the font settings.
10624 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10626 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10628 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10630 * buffer.h: remove out of date comment
10632 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10635 * screen.C: fix "theoretical" GC leak
10637 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10639 * LaTeX.C (scanAuxFile):
10640 (deplog): remove trailing \r when reading stream (useful under
10643 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10645 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10646 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10647 and BufferView::theLockingInset(Inset*), so should use them and not
10648 access bv_->text->the_locking_inset directly.
10650 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10652 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10655 * tex-defs.h: remove old unused file
10657 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10659 * BufferView_pimpl.C: fix typo, remove minibuffer message
10660 when buffer has loaded
10662 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10664 * lyxfunc.C (Dispatch): use stringstream
10665 (MenuNew): use stringstream
10666 (Open): use stringstream
10668 * importer.C (Import): use stringstream
10670 * bufferview_funcs.C (CurrentState): use stringstream
10672 * LaTeX.C (run): use stringstream
10674 * BufferView_pimpl.C (savePosition): use stringstream
10675 (restorePosition): use stringstream
10676 (MenuInsertLyXFile): use stringstream
10678 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10691 * vspace.C: removed // -*- C++ -*- as first line.
10694 * version.h: added // -*- C++ -*- as first line.
10696 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10698 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10700 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10703 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10705 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10708 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10710 * gettext.C: include LString.h even when --disable-nls is on.
10712 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10714 * converter.h (Get): changed argument type from int to
10715 FormatList::size_type to avoid unnecessary conversion.
10717 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10720 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10722 * gettext.h: include LString.h even when --disable-nls is on.
10724 2001-06-07 Juergen Vigna <jug@sad.it>
10726 * text.C (BreakAgain): subst spaces with tabs.
10728 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10729 (resizeInsetsLyXText): set force on resizeLyXText.
10731 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10733 * gettext.h (gettext_init):
10734 (locale_init): use a real definition instead of a macro
10736 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10738 * Bufferview_pimpl.C:
10740 * LColor.C: further lcolor tidies
10742 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10744 * BufferView_pimpl.C (updateScrollbar): simplify.
10746 * BufferView2.C: don't include insets/insetinfo.h, change
10747 prototype for insertInset and call the Pimpl version. let
10748 updateInset call Pimpl version.
10750 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10751 gotoInset to BufferView::Pimpl
10753 2001-06-01 Juergen Vigna <jug@sad.it>
10755 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10756 inside a LockingInset (is the update needed at all?).
10758 2001-05-31 Juergen Vigna <jug@sad.it>
10760 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10761 here not the old one otherwise how should we compare it afterwards
10764 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10769 * FontInfo.C: bring C functions into global namespace when
10772 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10774 * LString.h: make sure config.h has been loaded before LString.h.
10776 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10777 (one for each char read by EatLine!).
10779 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10782 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10784 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10785 to the same as the par we break from
10787 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10789 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10791 * MenuBackend.C (expand): also create menu entries for wide
10792 versions of the floats.
10794 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10796 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10798 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10799 frontends/Makefile.am
10805 * tabular.C (getTokenValue): add std::
10807 * tabular-old.C (getTokenValue): add std::
10808 (getTokenValue): ditto
10809 (getTokenValue): ditto
10811 * screen.C (ToggleSelection): adjust
10813 * lyxtext.h: put selection cursors inside a Selection struct.
10815 * lyxfunc.C (moveCursorUpdate): adjust
10817 * lyxfont.C (latexWriteStartChanges): add std::
10819 * lyxfind.C: adjust
10821 * font.h: delete with(char const *, LyXFont const &)
10823 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10825 * FontInfo.C (getFontname): add std::
10827 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10828 (workAreaButtonPress): adjust
10829 (tripleClick): adjust
10831 (moveCursorUpdate): adjust
10834 * BufferView2.C (gotoInset): adjust
10836 2001-05-30 Juergen Vigna <jug@sad.it>
10838 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10839 to check pspell I add this as default as I now have new pspell
10840 libraries and they seem to use this.
10842 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10844 * text2.C (CutSelection): make the cursor valid before the call to
10847 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10849 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10850 relied on 0 terminated strings and other horrors. Bug found due to
10851 the new assert in lyxstring!
10853 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10856 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10858 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10861 * lyxfunc.C (processKeySym): change method of getting to the
10864 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10865 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10866 * BufferView_pimpl.[Ch]: here as private methods.
10868 2001-05-28 Juergen Vigna <jug@sad.it>
10870 * text.C (SetHeightOfRow): added the update() call again as it is
10871 needed to initialize inset dimensions!
10873 2001-05-16 Juergen Vigna <jug@sad.it>
10875 * text2.C (SetCharFont): Add new function with BufferView * and
10876 bool toggleall parameters for setting insets internal fonts.
10877 (SetFont): Freeze the undo as we may change fonts in Insets and
10878 all this change should be inside only one Undo!
10880 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10881 setting font's in insets as for them we have the SetFont function!
10883 2001-05-15 Juergen Vigna <jug@sad.it>
10885 * text2.C (ClearSelection): to be sure we REALLY don't have any
10888 * tabular.C (TeXCellPreamble): fixed the left border problem for
10891 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10893 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10896 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10898 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10899 LFUN_BREAKPARAGRAPH.
10901 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10902 help test to "internal only", similar for LFUN_INSERT_URL
10904 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10905 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10906 auto_region_delete and deadkeys.
10908 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10911 * LColor.C: remove some dead entries, tidy a little
10913 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10915 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10917 (Dispatch): implement LFUN_ESCAPE
10919 * commandtags.h: add LFUN_ESCAPE
10921 * LyXAction.C (init): add entry for LFUN_ESCAPE
10923 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10924 Remove commented code.
10925 (insertNote): moved here
10926 (open_new_inset): moved here
10928 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10931 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10933 * kbmap.C (findbinding): clean it up and make it work correctly.
10935 * lyx_main.C (init): do not pass argc and argv as parameters
10937 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10939 * buffer.C: fix path for OS/2 & Win32
10943 * lyx_main.C: Added os:: class.
10945 * os2_defines.h: update
10947 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10949 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10950 better by trying again with reduced state.
10952 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10954 * lyxrc.C (read): print error about invalid key sequence only when
10955 debugging (because not all latinX keysyms are known to some X
10958 * kbsequence.C (getiso): add a few std:: qualifiers
10959 (getiso): comment out extra return statement.
10961 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10963 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10965 (Dispatch): enhance the accent inset a bit. (not perfect)
10967 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10969 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10971 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10973 * bufferlist.C (emergencyWrite): fix assert() call
10975 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10977 * text.C (InsertChar): Added trivial patch to only send the "you
10978 can not do multiple spaces this way" message once during a
10981 2001-05-08 Baruch Even <baruch@lyx.org>
10983 * Makefile.am: Changed order of libraries to get LyX to link properly
10984 with the gnome frontend.
10986 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10988 * LaTeXFeatures.h: add a std:: qualifier
10990 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10992 * paragraph.C (String): use stringstream
10994 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10996 * paragraph.C (writeFile): remove footflag arg
10998 * buffer.C (makeLaTeXFile): use stringstream
10999 (latexParagraphs): remove footnot gurba
11001 * LaTeXFeatures.C (getPackages): use stringstream
11002 (getMacros): likewise
11003 (getTClassPreamble): likewise
11004 (getFloatDefinitions): new method
11006 * paragraph.C (writeFile): reindent
11009 * WorkArea.h: revert the xpos + etc changes.
11011 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11013 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11015 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11016 (pasteSelection): likewise
11017 * text2.C (CreateUndo): likewise
11019 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11021 * minibuffer.C (peek_event): temporarily reduce the functionality
11022 of the minibuffer (to allow args on lfuns)
11024 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11025 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11027 * buffer.C (readInset): add compability reading of old float
11028 lists, add reading of new style float list.
11029 (readInset): avoid reevaluation of inscmd.getCmdName()
11030 (getLists): reindent
11032 * MenuBackend.C (MenuItem): implement parsing of
11033 md_floatlistinsert and md_floatinsert.
11034 (expand::LastFiles): move initalizaton of iterators out of loop,
11035 avoid reevaluation.
11036 (expand::Documents): introduce typdedef vector<string> Strings,
11038 (expand::ExportFormats): introduce typedef vector<Format const *>
11039 Formats, and use it.
11040 (expand): implement FloatListInsert and FloatInsert.
11042 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11043 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11044 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11046 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11048 (Dispatch::LFUN_FLOAT_LIST): implement
11050 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11052 * LaTeX.C (run): Fix problem with --export code.
11054 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11056 * BufferView.[Ch] (workarea): removed.
11057 (getClipboard) new method; wrapper for workarea()->getClipboard()
11059 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11062 * WorkArea.h (width, height, xpos, ypos): These methods all
11063 returned the dimensions of the work_area sub-area of WorkArea,
11064 resulting in a position error if the WorkArea were resized. Now
11065 return the dimensions of the entire WorkArea.
11067 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11069 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11071 * LaTeX.C (deplog): correct the syntax of regex reg1
11073 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11075 * undo.C: remove !NEW_INSETS cruft
11077 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11079 * text2.C: remove !NEW_INSETS cruft
11081 * text.C: remove !NEW_INSETS cruft
11083 * tabular.C: remove !NEW_INSETS cruft
11085 * spellchecker.C: remove !NEW_INSETS cruft
11087 * lyxtext.h: remove !NEW_INSETS cruft
11089 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11091 * lyxfunc.C: remove !NEW_INSETS cruft
11093 * lyxfind.C: remove !NEW_INSETS cruft
11095 * lyx_cb.C: remove !NEW_INSETS cruft
11097 * figureForm.C: remove !NEW_INSETS cruft
11099 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11101 * buffer.[Ch]: remove !NEW_INSETS cruft
11103 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11105 * CutAndPaste.C: remove !NEW_INSETS cruft
11107 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11109 * BufferView2.C: remove !NEW_INSETS cruft
11111 * BufferView.h: remove !NEW_INSETS cruft
11113 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11115 * Lsstream.h: include LString.h before the sstream headers to
11116 fix problem with gcc 2.95.3 and lyxstring
11118 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11120 * lyx_main.C: add using directives when needed for C functions
11121 declared in std:: namespace.
11123 2001-04-27 Juergen Vigna <jug@sad.it>
11125 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11126 (SetHeightOfRow): comment out the update call should not be needed!
11128 2001-04-13 Juergen Vigna <jug@sad.it>
11130 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11131 (LyXTabular): tried to minimize operator= operations (and realized
11132 hopfully Lars wish).
11134 2001-04-27 Juergen Vigna <jug@sad.it>
11136 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11138 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11140 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11142 * buffer.C (readInset): hack to make listof algorithm work
11144 * BufferView_pimpl.C: hack to make listof algorithm work
11146 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11148 * LyXAction.C: removed all !NEW_INSETS cruft
11149 (init): moved lfun_item in method
11151 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11153 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11155 * BufferView2.C (theLockingInset): white space.
11157 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11159 * minibuffer.C: include <iostream>
11161 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11163 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11165 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11167 * text.[Ch] (TransposeChars): new method
11169 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11171 * call message directly through LyXView instead of through LyXFunc
11172 * BufferView2.C: adjust
11173 * BufferView_pimpl.C: adjust
11174 * FontLoader.C: adjust
11176 * bufferview_funcs.C: adjust
11177 * converter.C: adjust
11178 * figureForm.C: adjust
11179 * importer.C: adjust
11181 * lyx_gui_misc.C: adjust
11182 * lyxfunc.C: adjust
11185 + more files in subdirs
11187 * lyxparagraph.h (size): move up int file
11190 * adjust all uses of Assert to lyx::Assert.
11192 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11193 lyxfunctional in namespace lyx
11194 * layout.C (hasLayout): ditto
11197 (delete_layout): ditto
11198 (NumberOfClass): ditto
11199 * converter.C (GetFormat): ditto
11204 * bufferlist.C (getFileNames): ditto
11205 (emergencyWriteAll): ditto
11208 * MenuBackend.C (hasSubmenu): ditto
11211 * BufferView_pimpl.C (getInsetByCode): ditto
11213 2001-04-18 Juergen Vigna <jug@sad.it>
11215 * vspace.C (asLatexString): fixed the 100% problem.
11217 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11219 * lyxfunc.C (Dispatch):
11221 * minibuffer.h: add a few std:: qualifiers
11223 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11225 * minibuffer.[Ch]: reimplement so that commands is initiated and
11226 run from lyxfunc, simplified som handling, and made the completion
11227 and history code for complete. wip.
11229 * lyxfunc.C (processKeySym): call message
11230 (miniDispatch): new temporary method
11231 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11232 (LFUN_MESSAGE): implement
11233 (LFUN_MESSAGE_PUSH): implement
11234 (LFUN_MESSAGE_POP): implement
11235 (initMiniBuffer): the initial/defualt minibuffer message.
11237 * lyxfont.[Ch]: inline some more getters
11239 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11241 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11243 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11244 (AutoSave): use LFUN_MESSAGE
11245 (Reconfigure): ditto
11247 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11249 * figureForm.C: use LFUN_MESSAGE
11251 * converter.C (runLaTeX): use LFUN_MESSAGE
11253 * bufferview_funcs.C: use LFUN_MESSAGE
11255 (changeDepth): ditto
11257 * bufferparams.h: use boost::
11259 * bufferlist.h: inherit privately from noncopyable
11261 * bufferlist.C (loadLyXFile): remove some commented code.
11263 * buffer.C (runChktex): use LFUN_MESSAGE
11265 * ShareContainer.h: inherit privately from noncopyable
11267 * ParagraphParameters.[hC] (depth): inline it.
11269 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11271 (message): new method
11272 (messagePush): ditto
11273 (messagePop): ditto
11274 (show): init minibuffer
11275 (showState): direct call
11277 * LaTeX.[Ch]: inherit privately from noncopyable
11278 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11279 instead of WriteStatus.
11281 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11283 * BufferView_pimpl.C (buffer): don't init minibuffer
11284 (workAreaButtonPress): use LFUN_MESSAGE
11285 (workAreaButtonRelease): ditto
11286 (savePosition): ditto
11287 (restorePosition): ditto
11288 (MenuInsertLyXFile): ditto
11289 (workAreaExpose): don't init minibuffer
11290 (update): remove commented code, simplify
11292 * BufferView2.C (openStuff): use LFUN_MESSAGE
11293 (toggleFloat): ditto
11296 (copyEnvironment): ditto
11297 (pasteEnvironment): ditto
11302 (updateInset): remove some commented code
11304 * lastfiles.h: inherit privately from noncopyable
11307 * lyx_main.h: ditto
11309 * lyxlex_pimpl.h: ditto
11311 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11312 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11313 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11315 * LyXAction.h: inherit privately from noncopyable, add methods
11316 func_begin, func_end, returning iterators to the func map.
11318 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11319 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11320 (func_begin): new method
11321 (func_end): new method
11323 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11325 (copySelection): ditto
11326 (pasteSelection): ditto
11328 * BufferView.C: whitespace change
11329 * BufferView.h: inherit privately from noncopyable
11331 2001-04-16 Allan Rae <rae@lyx.org>
11333 * tabular-old.C (l_getline):
11334 * spellchecker.C (sc_check_word):
11335 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11336 an unrecognised preprocessor directive. So ensure they're wrapped.
11338 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11340 * src/exporter.C (Export): Give an error message when path to file
11343 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11345 * LaTeX.C (deplog): Always check that foundfile exists.
11347 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11350 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11352 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11354 * tabular.[Ch] (getLabelList): implement new method
11356 * minibuffer.h: comment ouf setTiimer
11358 * minibuffer.C (ExecutingCB): constify res
11359 (peek_event): constify s
11360 (Set): constify ntext
11361 (Init): constify nicename
11363 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11365 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11366 (savePosition): use two params to Minibuffer::Set
11367 (restorePosition): ditto
11369 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11371 * lyx_main.C: include language.h
11373 * Makefile.am (lyx_main.o): add language.h
11375 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11381 * CutAndPaste.C: include gettext.h
11383 * lyxfont.h: remove old hack with ON and OFF.
11386 * lyxfont.h: do not include language.h...
11391 * bufferview_funcs.C:
11397 * paragraph.C: ... but do it here instead
11399 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11401 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11403 * tabular.C: small reformat
11405 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11408 (BreakParagraph): ditto
11409 (SetOnlyLayout): ditto
11412 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11415 * lastfiles.C: removed most using decl, add std:: where needed
11417 * buffer.C: ws changes
11419 * MenuBackend.C (class compare_format): put into anon namespace
11420 (expand): constify label, names, action, action2
11423 * text.C (SingleWidth): constify font
11424 (IsBoundary): constify rtl2
11425 (GetVisibleRow): constify ww
11427 * LaTeX.C (deplog): constify logfile
11429 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11431 (workAreaExpose): constify widthChange, heightChange
11433 * lyxrow.C (par): moved
11436 * lyxrow.h: as inlines here
11438 * lyxfont.h (shape): moved from lyxfont.C
11439 (emph): moved from lyxfont.C
11441 * lyxfont.C (LyXFont): use initialization list for all
11443 (shape): move to lyxfont.h as inline
11444 (emph): move to lyxfont.h as inline
11447 2001-04-04 Juergen Vigna <jug@sad.it>
11449 * vspace.C: had to include stdio.h for use of sscanf
11451 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11454 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11455 independent of xforms.
11457 2001-04-02 Juergen Vigna <jug@sad.it>
11459 * spellchecker.C: fixed namespace placing!
11461 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11463 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11464 the LyXParagraph * is 0.
11466 2001-03-29 Juergen Vigna <jug@sad.it>
11468 * vspace.C: added support for %, c%, p%, l%.
11469 (stringFromUnit): added helper function.
11470 (asLatexString): changed to give right results for the %-values.
11472 * buffer.C: convert the widthp in a width%.
11474 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11476 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11479 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11480 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11482 * lyx_cb.[Ch]: see above.
11484 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11488 * lyx.[Ch]: replaced by figure_form.[Ch].
11492 * lyxfunc.C: changed headers associated with above changes.
11494 2001-03-27 Juergen Vigna <jug@sad.it>
11496 * BufferView_pimpl.C: set the temporary cursor right!
11498 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11500 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11502 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11504 * LString.h: removed "using std::getline"!
11506 * BufferView_pimpl.C (Dispatch): changes due to changes in
11507 InsetInclude::Params.
11509 * buffer.C (tag_name): removed redundant break statements as they were
11510 producing lots of warnings with my compiler.
11512 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11514 * LString.h: add "using std::getline" when using the real <string>.
11516 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11518 * buffer.C: removed bitset usage.
11519 PAR_TAG moved to an anonymous name space.
11520 (tag_name): new funtion, also in the anonymous namespace.
11521 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11522 (makeDocBookFile): clean code. Completed transition from string arrays
11524 (SimpleDocBookOnePar): code clean.
11526 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11528 * tabular.C: add some comments.
11530 2001-03-22 Juergen Vigna <jug@sad.it>
11532 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11533 compatibility read a bit and fixed bug with minipage in different
11536 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11538 * buffer.C (pop_tag): removed.
11539 (push_tag): removed.
11540 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11541 array replaced with vector. Added support for CDATA sections.
11542 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11544 (makeDocBookFile): XML conformant declaration of CDATA section,
11545 fixed bug related to <emphasis> in the first paragraph char.
11546 (sgmlOpenTag): exclude empty tags.
11547 (sgmlCloseTag): ditto.
11549 * buffer.h (pop_tag): removed.
11550 (push_tag): removed.
11552 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11554 * language.h (Languages): added size_type and size().
11556 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11558 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11559 response on compability reading of minipages. One probliem is that
11560 the old usage of minipages was «flertydig»
11562 * several files here and in subdirs: don't use static at file
11563 scope use anon namespaces instead.
11565 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11567 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11568 LaTeX output. This is necessary for Literate document
11571 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11573 * buffer.C: insert hfill when needed.
11575 * tabular.C (l_getline): use string::erase, small whitespace change.
11577 * BufferView_pimpl.C: try the anon namespace.
11578 * WorkArea.C: ditto
11580 2001-03-16 Juergen Vigna <jug@sad.it>
11582 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11583 otherwise it won't open options-dialogs.
11585 * buffer.C: honor pextraWidth(p) on converting minipages.
11587 * tabular.C (l_getline): changed the functions to strip trailing \r.
11589 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11591 * BufferView_pimpl.C:
11592 * minibuffer..C: added "using SigC::slot" declaration.
11594 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11596 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11602 * paragraph.C: ditto
11604 * lyxtext.h: NO_PEXTRA
11606 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11608 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11609 * ParameterStruct.h: ditto
11610 * ParagraphParameters.h: ditto
11611 * lyxparagraph.h: ditto
11613 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11615 * buffer.C: add compability for minipage alignment.
11616 (latexParagraphs): remove unwanted pextra check.
11618 * several files: remove CXX_WORKING_NAMESPACES
11620 * buffer.C (pop_tag): tie is in namespace boost
11622 * BufferView.h: noncopyable is in namespace boost
11624 * lyx_main.h: ditto
11627 * lastfiles.h: ditto
11628 * bufferlist.h: ditto
11629 * ShareContainer.h: ditto
11631 * LyXAction.h: ditto
11634 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11636 * Merging changes from BRANCH_MVC back into HEAD.
11638 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11640 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11642 * BufferView_pimpl.C: change from intl.C
11646 * Makefile.am: move combox.*
11652 * intl.C: remove dialog (covered by prefs)
11654 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11656 * lyxfunc.C (Dispatch): removed redundant break statement.
11658 2001-03-14 Juergen Vigna <jug@sad.it>
11660 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11662 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11664 * buffer.C: add hack to fix compability reading of minipages.
11666 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11668 * buffer.C (getLists): Cleanup.
11670 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11672 * lyxfont.C (update): don't honor toggleall on font size.
11674 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11678 * Makefile.am: moved to frontends/xforms/
11682 * BufferView_pimpl.C: changes for moved mathpanel
11684 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11686 * gettext.h: fix gettext_init() in --disable-nls
11688 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11690 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11692 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11695 * lyx.h: strip external form
11697 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11699 * BufferView_pimpl.C: add comment, destroySplash()
11701 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11703 * BufferView_pimpl.C:
11707 * lyxfunc.C: use re-worked insetinclude
11709 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11711 * buffer.C: add using std::stringstream.
11713 * lyx_cb.C: readd using std::ios.
11715 * buffer.C: add using std::map.
11717 * BufferView_pimpl.C: add using std::vector.
11719 * ShareContainer.h: add std:: to swap.
11721 * buffer.h: add some typedefs
11722 * buffer.C (getLists): use them
11723 (getLists): renamed from getTocList.
11724 add a counter for the different float types and use it in the
11726 (getLists): use the same counter for the NEW_INSETS and the "non"
11729 * lyx_cb.h: remove unused items, includes, using etc.
11731 * ShareContainer.h: remove some commented code, add more comments
11732 and "documentation".
11734 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11736 * buffer.C (getTocList): make the list also when NEW_INSETS is
11739 * buffer.h: remove TocType
11741 * buffer.C (getTocList): change to return a map<string,
11742 vector<TocItem> >, implement for dynamic number of list.
11744 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11745 * text2.C (PasteSelection): adjust
11746 * CutAndPaste.C (pasteSelection): adjust
11748 * FloatList.C (FloatList): update from the new_insets branch.
11749 * Floating.[Ch]: ditto
11750 * LaTeXFeatures.C: ditto
11752 * lyxlex_pimpl.C: ditto
11754 * paragraph.C (Last): remove when NEW_INSETS is defined.
11756 * other file: changes because of the above.
11758 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11760 * lyxparagraph.h: rename next to next_, previous to previous_,
11761 make them private for NEW_INSETS. Rename Next() to next(),
11762 Previous() to previous().
11764 * other files: changes because of the above.
11766 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11769 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11772 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11774 * main.C (main): pass lyx_localedir to gettext_init().
11776 * gettext.h: remove locale_init and gettext_init macros
11778 * gettext.C (locale_init): new function
11779 (gettext_init): new function
11781 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11784 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11786 * Moved credits to frontends:
11787 * credits.[Ch]: removed
11788 * credits_form.[Ch]: removed
11789 * lyx_gui_misc.C: remove credits stuff
11792 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11794 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11796 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11797 unneeded destructor.
11799 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11800 a standalone pointer again.
11802 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11804 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11810 * ToolbarDefaults.C:
11819 * BufferView_pimpl.C: use new file dialog in GUII
11822 * lyx_cb.C: remove LayoutsCB to Toolbar
11824 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11826 * ShareContainer.h (get): add std:: qualifier
11828 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11830 * ShareContainer.h: define a proper ShareContainer::value_type
11831 type (and use typename to please compaq cxx)
11833 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11835 * lyxparagraph.h: move serveral local vars to
11836 ParameterStruct/ParagraphParameters., use ShareContainer in
11837 FontTable., make vars in FontTable private and add getter and
11840 * paragraph.C: changes because of the above.
11842 * lyxfont.h: remove copy constructor and copy assignment. (the
11843 default ones is ok), move number inside FontBits. move inlines to
11846 * lyxfont.C: add number to initializaton of statics, move several
11847 inlines here. constify several local vars. some whitespace
11848 cleanup. Dont hide outerscope variables.
11850 * Spacing.h: add two new constructors to match the set methods.
11852 * ShareContainer.h: new file, will perhaps be moved to support
11854 * ParameterStruct.h: new file
11856 * ParagraphParameters.h: new file
11858 * ParagraphParameters.C: new file
11860 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11861 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11863 * BufferView_pimpl.C: ParagraphParameter changes.
11864 * buffer.C: Likewise.
11865 * bufferview_funcs.C: Likewise.
11866 * text.C: Likewise.
11867 * text2.C: Likewise.
11869 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11871 * lyxfind.C (LyXReplace): do not redefine default argument in
11873 (IsStringInText): ditto
11874 (SearchForward): ditto
11875 (SearchBackward): ditto
11877 2001-03-06 Juergen Vigna <jug@sad.it>
11879 * lyxfind.C (IsStringInText): put parentes around expressions.
11881 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11883 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11885 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11887 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11889 * stl_string_fwd.h: add comment
11891 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11894 * tabular.C: remove unused DocBook methods
11900 killed DO_USE_DEFAULT_LANGUAGE
11902 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11904 * lyx_gui.C: do not include language.h.
11906 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11907 arguments in function implementation.
11909 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11911 * BufferView_pimpl.C: add <ctime>
11913 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11915 * BufferView_pimpl.C: add using std::find_if
11917 2001-02-27 José Matos <jamatos@fep.up.pt>
11919 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11922 2001-02-11 José Matos <jamatos@fep.up.pt>
11924 * buffer.C (makeDocBookFile): command styles now have a parameter as
11925 "title" by default.
11927 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11929 * layout_forms.[Ch]: removed
11930 * lyx_cb.[Ch]: out character
11931 * lyx_gui.C: out character
11932 * lyx_gui_misc.C: out character
11933 * bufferview_funcs.C: : out character,
11934 added toggleall as parameter in ToggleAndShow
11936 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11938 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11940 * text2.C (SetCurrentFont): Disable number property at boundary.
11942 2001-02-26 Juergen Vigna <jug@sad.it>
11944 * lyxfunc.C (getStatus): added a string argument override function so
11945 that this is correctly called from LyXFunc::Dispatch if it contains a
11946 do_not_use_argument which is used!
11947 (Dispatch): added check for "custom" export and call appropriate func.
11949 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11951 * lyxrc.C: Add language_command_local, language_use_babel and
11952 language_global_options.
11954 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11956 * buffer.C (makeLaTeXFile): Use language_use_babel and
11957 language_global_options.
11959 2001-02-23 Juergen Vigna <jug@sad.it>
11961 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11962 which works with LyXText and putted it inside BufferView. Here now we
11963 only call for that part the BufferView::Dispatch() function.
11965 * BufferView.C (Dispatch): added.
11967 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11968 functions which needs to use a LyXText over from LyXFunc.
11969 (MenuInsertLyXFile): added
11970 (getInsetByCode): added
11971 (moveCursorUpdate): added
11972 (static TEXT): added
11974 2001-02-22 Juergen Vigna <jug@sad.it>
11976 * BufferView_pimpl.C (update): call a status update to see if LyXText
11979 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11981 * vc-backend.C (revert): implement for CVS
11982 (getLog): implement for CVS
11984 2001-02-20 Juergen Vigna <jug@sad.it>
11986 * text2.C (ClearSelection): added BufferView param for inset_owner call
11988 * lyxfunc.C (TEXT): added this function and use it instead of
11989 directly owner->view()-text of getLyXText().
11991 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11993 * src/layout_forms.C: out preamble
11994 * src/layout_forms.h: out preamble
11995 * src/lyx_cb.C: out preamble
11996 * src/lyx_cb.h: out preamble
11997 * src/lyx_gui.C: out preamble
11998 * src/lyx_gui_misc.C: out preamble
11999 * src/lyxfunc.C: connect with guii preamble
12001 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12003 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12005 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12007 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12008 whether to run bibtex.
12010 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12012 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12014 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12016 * Makefile.am (lyx_SOURCES): removed bibforms.h
12018 * vspace.h: doxygen
12020 * text.C (GetVisibleRow): make several local vars const
12022 * tabular.C: small cleanup.
12024 * lyxserver.C (callback): use compare instead of strncmp
12026 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12027 inlines to after class or to paragraph.C
12029 * lyxfont.h: remove friend operator!=
12031 * converter.h: move friend bool operator< to non friend and after
12034 * combox.h: small cleanup
12036 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12037 to inlines after class def.
12039 * buffer.C (pop_tag): use string operations instead of strcmp
12041 * bmtable.c: doxygen, small cleanup
12043 * LaTeX.h: remove friend operator==
12045 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12057 * BufferView_pimpl.C:
12058 * BufferView.[Ch]: remove cruft
12060 2001-02-14 Juergen Vigna <jug@sad.it>
12062 * lyxfunc.C: removed #if 0 unused code
12064 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12066 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12068 * text2.C (SetSelection): added a BufferView * parameter
12070 2001-02-13 Juergen Vigna <jug@sad.it>
12072 * lyxfunc.C (Dispatch): fixed protected blank problem.
12073 * BufferView2.C (protectedBlank): added LyxText * parameter.
12075 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12076 (AppendColumn): same as above for column_info.
12078 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12079 (moveCursorUpdate): use a LyXText param for support of InsetText.
12081 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12082 (tripleClick): ditto
12084 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12086 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12088 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12090 * text2.C (SetSelection): set correct update status if inset_owner
12091 (ToggleFree): ditto
12093 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12095 * tabular.C: remove some commented code.
12097 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12099 * BufferView_pimpl.C: call hideSplash()
12101 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12104 * bibforms.h: remove
12107 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12108 add LFUN_CHILD_CREATE
12110 * counters.h: fix tiny typo
12115 * lyx.C: move splash to frontends/xforms/
12117 * lyx_gui_misc.C: move Include and Bibform to frontends
12119 * lyxvc.h: clarify comment
12121 * vspace.C: tiny housekeeping
12123 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12125 * text.C (PrepareToPrint): RTL Fix.
12127 * paragraph.C (GetUChar): New method.
12128 (String): Use GetUChar.
12130 * buffer.C (asciiParagraph): Use GetUChar.
12132 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12134 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12136 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12139 * buffer.C: rename to getLogName(), handle
12140 build log / latex log nicely
12142 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12145 * MenuBackend.h: remove support for reference menuitem type.
12147 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12149 * BufferView_pimpl.C: housekeeping
12150 * BufferView_pimpl.h:
12155 * minibuffer.h: move Timeout GUI-I
12157 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12159 * lyxrc.C (read): Update converters data-structures.
12161 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12163 * LaTeX.h (operator!=): add operator != for Aux_Info
12165 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12167 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12169 * LaTeXLog.C: deleted, useful code moved to Buffer
12172 * buffer.C: new function getLatexLogName()
12178 * lyxfunc.C: use frontends for LaTeX and VC logs
12180 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12182 * LaTeX.h: yet another std:: that Allan forgot.
12184 * Variables.C (set): renamed from isset(), because this clashes
12185 with some HP-UX macros (grr).
12187 2001-02-06 Allan Rae <rae@lyx.org>
12189 * LaTeX.h: Another bug fix. Missing std:: this time.
12191 2001-02-04 Allan Rae <rae@lyx.org>
12193 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12194 floats problem. I've left it commented out because it's not quite
12195 correct. It should also test that the current object is a table or
12196 figure inset. But I haven't gotten around to figuring out how to do
12197 that. I *think* it'll be something like: "table" == inset.type()
12199 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12202 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12204 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12205 all the citation/databases/styles in the auxilary file.
12206 (run): Rerun latex if there was a babel language error.
12208 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12210 * text.C (Backspace): Preserve the font when changing newline char
12212 (BreakParagraph): If the cursor is before a space, delete the space.
12214 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12216 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12218 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12219 new argument (code).
12220 (ChangeCitationsIfUnique): New method.
12222 * paragraph.C (GetPositionOfInset): Handle bibkey.
12224 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12226 * BufferView_pimpl.h: change type of Position::par_pos to
12227 LyXParagraph::size_type.
12229 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12231 * BufferView_pimpl.C (savePosition, restorePosition): Write
12232 messages to minibuffer.
12234 2001-01-28 José Matos <jamatos@fep.up.pt>
12236 * buffer.C (makeDocBookFile): adds support for document language.
12237 A silly restriction on the name of LatexCommand types where removed.
12238 Added support for CDATA sections, allows to chars unescaped, used
12239 among others in code, to avoid escape < and >.
12241 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12243 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12244 saved positions instrad of a stack. Furthermore, a position is
12245 stored using paragraph id/paragraph position.
12247 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12248 Remove LFUN_REF_BACK.
12250 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12252 * converter.C (dvipdfm_options): New method.
12254 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12256 * vspace.C (isValidLength): Fix for empty input string.
12258 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12260 * LyXAction.C (init): change description of LFUN_FIGURE to
12263 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12265 * LaTeX.C: add using directive
12267 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12269 * MenuBackend.C (expand): Fix the sorting of the formats.
12271 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12273 * lyx_main.C: tiny error message fix
12275 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12277 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12278 calling fl_initialize(). This fixes the problem with ',' as
12279 decimal separator in text files.
12281 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12283 * trans.C (process): Fix the keymap bug.
12285 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12287 * LaTeX.C (scanAuxFiles): New method. Provides support for
12288 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12289 (scanLogFile) Scan for "run BibTeX" messages.
12291 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12292 OT1 font encoding. Also, load the aecompl package if the ae
12295 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12297 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12299 * texrow.C (increasePos): turn two error messages into debug
12302 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12304 * LaTeX.C (scanAux): Handle the \@input macro.
12305 (runBibTeX): Use scanAux().
12307 * language.C (latex_options_): New field.
12309 * LaTeXFeatures.C (getMacros): Add language macros.
12311 * buffer.C (makeLaTeXFile): Small fix.
12313 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12315 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12317 * text2.C: add a using directive.
12319 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12324 * lyxfunc.C: kill LyXBell.
12326 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12328 * text.C (IsBoundary): Remove the error message
12330 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12332 * lyxrc.C (setDefaults): Correct initialization value for
12335 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12337 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12340 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12341 and GotoNextNote().
12343 * src/LyXAction.C: Added reference-next.
12345 * text.C (InsertChar): Use contains instead of strchr.
12347 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12349 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12351 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12352 alignment commands (when needed).
12354 * text.C (InsertChar): Add ':' to number separator chars.