1 2003-09-05 Angus Leeming <leeming@lyx.org>
3 Changes most place everywhere due to the removal of using directives
4 from support/std_sstream.h.
6 2003-09-05 Angus Leeming <leeming@lyx.org>
8 Replace LString.h with support/std_string.h,
9 Lsstream.h with support/std_sstream.h,
10 support/LIstream.h with support/std_istream.h,
11 support/LOstream.h with support/std_ostream.h.
13 Changes resulting throughout the tree.
15 2003-09-05 Angus Leeming <leeming@lyx.org>
17 * sgml.h: ensure that the header file can be compiled stand-alone.
18 * *.C: strip out redundant #includes. (320 in total.)
20 2003-09-04 Angus Leeming <leeming@lyx.org>
22 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
23 here (from getPackages).
25 * debug.[Ch]: add a new EXTERNAL tag.
27 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
29 * text2.C (cursorEnd): simplify
31 (getColumnNearX): adjust
33 * text.C (computeBidiTables): adjust
36 * rowpainter.C (paintChars): adjust
37 (paintSelection): adjust
38 (paintChangeBar): adjust
41 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
43 (numberOfSeparators): adjust
45 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
51 * text3.C: Restricts the mouse click functionality
52 of insets like bibtex, include, toc and floatlist to the visible
53 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
54 up the dialogs. Cursor has to be in front of the inset (i.e.
55 start of row) for this to function.
57 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
59 * bufferview_funcs.C (currentState): output row information
61 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
63 * bufferview_funcs.C (currentState): output paragraph position
65 2003-09-04 Angus Leeming <leeming@lyx.org>
67 * FloatList.h: move out #include "Floating.h".
68 * LaTeX.h: move out #include "DepTable.h".
69 * LyXAction.h: move out #include "funcrequest.h".
70 * buffer.h: move out #include "author.h", "iterators.h".
71 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
72 * lyx_main.h: move out #include "errorlist.h".
73 * lyxfunc.h: move out #include "FuncStatus.h".
74 * lyxtext: move out #include "lyxcursor.h".
75 * paragraph_pimpl.h: move out #include "counters.h".
77 2003-09-03 Angus Leeming <leeming@lyx.org>
79 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
80 preamble_snippets list, enabling us to add snippets to the preamble only
81 if the snippet was not there already.
83 2003-09-04 Angus Leeming <leeming@lyx.org>
85 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
87 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
89 * lyxfunc.C (dispatch): if fitCursor did something be sure to
92 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
94 * BranchList.C: point fix, earlier forgotten
96 2003-09-02 Angus Leeming <leeming@lyx.org>
98 * box.C (contains): renamed from 'contained' after a fantastic
101 2003-09-02 John Levon <levon@movementarian.org>
107 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
109 2003-09-02 John Levon <levon@movementarian.org>
111 * text2.C: simplification of cursorEnd(), including partial
114 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
116 * buffer.C (readFile): add a space
118 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
120 * BufferView_pimpl.C (update): remove bogus fitCursor() call
122 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
124 * buffer.C (readFile): new function, take a filename and a
125 ParagraphList::iterator
127 (readFile): adjust, make it private. don't use setStream, make
128 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
129 always contain the filename.
131 * BufferView.C (insertLyXFile): simplify and make it work for
134 2003-08-30 John Levon <levon@movementarian.org>
136 * Makefile.am: fix dist (from Kayvan)
138 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
140 * most files: change to use const Buffer refs
142 2003-08-27 André Pönitz <poenitz@gmx.net>
144 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
145 on top of ownerPar().
147 2003-08-27 John Levon <levon@movementarian.org>
149 * funcrequest.C: properly initialise POD members
151 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
153 * lyxtext.h (top_y): move top_y from here
158 * BufferView_pimpl.[Ch]: to here
159 * frontends/screen.C:
160 * insets/insettabular.C:
161 * insets/insettext.C: adjust
162 * rowpainter.[Ch] (paintRows): remove LyXText & argument
164 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
167 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
169 2003-08-26 André Pönitz <poenitz@gmx.net>
171 * paragraph_func.[Ch] (outerPar): new function
177 * text2.C: remove Inset::par_owner
179 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
184 * text2.C: eliminates the needFullRow/display() stuff
185 altogether, putting the logic in metrics/draw in the insets.
187 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
189 * text2.C (redoParagraphInternal, redoParagraphs):
190 * text.C (redoParagraph): add a call to updateRowPositions at the
191 end of each 'metrics-like' call. Remove all others.
192 (getRow): remove the 'y-computing' version.
193 (getRowNearY): do not compute nor return the real y. Solve the
194 'y < 0' problem and simplify.
196 2003-08-22 Angus Leeming <leeming@lyx.org>
198 * *.[Ch]: clean-up of licence and author blurbs.
199 Also move config.h out of a few .h files and into a few .C files.
201 2003-08-22 André Pönitz <poenitz@gmx.net>
203 * lyxrow.[Ch]: add x_ and *fill_ members
208 * text2.C: adjust/remove prepareToPrint() calls
210 2003-08-22 André Pönitz <poenitz@gmx.net>
212 * lyxrow.[Ch]: add end_ member
214 * lyxrow_funcs.C: use LyXRow::end_
216 * lyxtext.h (singleWidth): add LyXFont parameter
219 * text2.C: adjust LyXText::singleWidth() calls
221 * text.C (redoParagraph): simplify row breaking logic
224 2003-08-19 André Pönitz <poenitz@gmx.net>
226 * funcrequest.C: initialize button_ member
229 * rowpainter.[Ch]: interface consolidation
231 2003-08-18 André Pönitz <poenitz@gmx.net>
234 * BufferView_pimpl.C:
238 * text3.C: remove LyXScreen::draw() and fitCursor calls
240 * BranchList.h: remove spurious semicolons
242 * MenuBackend.C: fix branchlist related crash
244 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
256 * text3.C: implements the 'branch inset'
257 idea. This allows the output of various versions of a document
258 from a single source version, selectively outputing or suppressing
259 output of parts of the text.
260 This implementation contains a 'branch list editor' in a separate
261 tab of the document settings dialog. Branches are user definable
262 and have a "display colour" to distinguish them on-screen.
264 ColorHandler was somewhat cleaned up.
265 (1) make possible a dynamically growing LColor list by allowing
266 the graphic context cache to grow along (vector);
267 (2) eliminate an IMHO unnecessary step in colour allocation.
269 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
271 * BufferView_pimpl.C: compile fix
273 2003-08-15 André Pönitz <poenitz@gmx.net>
275 * rowpainter.C: remove extra metrics calls
277 * lyxtext.h: merge the two constructors into a single one,
278 pass reference to owner's par list
280 * BufferView_pimpl.C:
284 2003-08-15 André Pönitz <poenitz@gmx.net>
294 * text_funcs.C: split LyXText::rowlist_ into individual
295 Paragraph::rows_ chunks
298 * BufferView_pimpl.[Ch]:
301 * text3.C: remove toggleSelection()
303 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
305 * bufferlist.C: beautify two alerts (shorter text of buttons)
306 * buffer.C: Remove redundant ' ' from message
308 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
309 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
310 rename VALIGN_CENTER to VALIGN_MIDDLE
312 2003-08-11 André Pönitz <poenitz@gmx.net>
314 * lyxtext.h (getPar):
315 * text.C: new function
317 2003-08-11 André Pönitz <poenitz@gmx.net>
320 * tracer.[Ch]: remove unneeded files
322 * InsetList.[Ch]: remove resizeInsetsLyXText()
327 * text3.C: merge insertParagraphs() and appendParagraph()
328 remove breakAgain(), update()
330 * BufferView_pimpl.[Ch]:
331 * bufferview_funcs.[Ch]:
335 * tabular.C: adjust after text & InsetList changes.
337 2003-08-08 André Pönitz <poenitz@gmx.net>
339 * text.C (insertChar, backspace): replace rowlist fiddling
340 with rebreak of full par
343 * text.C (breakAgainOneRow, redoHeightOfParagraph,
344 checkParagraph, updateInset): removed
346 2003-08-07 André Pönitz <poenitz@gmx.net>
349 * text3.C: merge some LFUN handlers, remove dead code
351 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
353 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
355 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
357 * text2.C (DEPM): fix part of bug 1255 and 1256
359 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
361 * BufferView_pimpl.C (workAreaDispatch): change to use
362 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
363 that are no mouse related.
365 2003-08-05 André Pönitz <poenitz@gmx.net>
368 * BufferView_pimpl.[Ch]:
369 * bufferview_funcs.C:
371 * text3.C: rip out "deep update"
373 * textcursor.[Ch] (last_sel_cursor): remove unused member
375 2003-08-04 André Pönitz <poenitz@gmx.net>
378 * BufferView_pimpl.[Ch]:
379 * ParagraphParameters.C:
380 * bufferview_funcs.C:
386 * text3.C: replace "complicated" BufferView::update(...) calls with
389 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
391 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
393 * Makefile.am (lyx_SOURCES): add paper.h
395 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
397 * Makefile.am: move things around so that both lyx-qt and
398 lyx-xforms can be built (according to --with-frontend). Then lyx
399 is a symbolic link to lyx-[firstfrontend]
401 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
403 * Always use std::endl with lyxerr
405 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
407 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
409 2003-08-01 André Pönitz <poenitz@gmx.net>
412 * BufferView_pimpl.[Ch]:
414 * text3.C: merge BufferView::repaint() and BufferView::update()
416 2003-08-01 José Matos <jamatos@lyx.org>
418 * buffer.[Ch]: file_format is no longer a buffer data element.
420 2003-08-01 André Pönitz <poenitz@gmx.net>
425 * text2.C: make redoParagraph more independent of current cursor
427 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
429 * text2.C: remove unneeded members
431 2003-07-30 André Pönitz <poenitz@gmx.net>
433 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
435 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
436 create a single function...
438 * paragraph_funcs.C (moveItem): ... here.
441 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
443 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
445 * LColor.[Ch]: Add comment and greyedout logical colors.
447 2003-07-30 André Pönitz <poenitz@gmx.net>
449 * tabular.C: don't use Assert too heavily. This crashes where it
452 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
454 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
455 is disabled (bug 1232)
457 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
459 * factory.C: limited 'arg' scope
461 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
463 * factory.C: fixed Note submenu issues
465 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
467 * factory.C: submenu for Note/Comment/Greyedout
469 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
472 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
474 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
477 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
478 greyedout. Patch provided by Jürgen Spitzmüller.
480 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
482 * kbmap.C (read): fix error message when reading bind files
484 2003-07-29 Angus Leeming <leeming@lyx.org>
486 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
487 certainly does not do what it purports to do. I am doing it, and
488 us, a favour by killing it.
490 2003-07-28 José Matos <jamatos@lyx.org>
492 * buffer.C (readBody, do_writeFile):
493 * paragraph.C(readParagraph): \end_document replaces \the_end.
495 2003-07-29 André Pönitz <poenitz@gmx.net>
498 * BufferView_pimpl.[Ch]:
502 * textcursor.[Ch]: remove toggleToggle & Co
504 2003-07-28 José Matos <jamatos@fep.up.pt>
506 * buffer.C (readParagraph):
507 * params_func (readParToken, readParagraph):
508 * paragraph.C (write): \layout -> \begin_layout.
510 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
512 * lyxlex_pimpl.C (setFile): clean up slightly.
514 * bufferparams.h: add compressed var
516 * buffer_funcs.C (readFile): adjust for LyXLex change
517 (newFile): ditto + simplify
519 * buffer.C (writeFile): handle writing of compressed files
521 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
522 Check if the file is compressed and set a bufferparm if so.
524 * Makefile.am (lyx_LDADD): remove explicit -lz
526 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
528 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
529 makeDocBookFile): put the real LyX version in the first line of
533 * version.C.in: remove lyx_docversion
535 * tabular.C (write_attribute): add a template-based version to
538 2003-07-28 André Pönitz <poenitz@gmx.net>
543 * text3.C: use doubles again for x-coordinates. They are needed.
545 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
547 * messages.C (getLocaleDir): use lyx_localedir()
549 * lyxlex_pimpl.C (setFile): compress stuff
551 * buffer.C (writeFile): add some compression stuff
552 (do_writeFile): new func, dont call expliti close... will this
555 * Makefile.am (lyx_LDADD): add -lz
557 2003-07-28 José Matos <jamatos@fep.up.pt>
559 * buffer.C: increment file format.
560 * paragraph_funcs (readParagraph, readParToken):
561 * paragraph.C (readParagraph): add \end_layout.
563 2003-07-27 Angus Leeming <leeming@lyx.org>
565 * Makefile.am: remove special casing for configure-time setting of
566 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
568 * lyx_main.C (init): remove all Jean-Marc's magic setting of
569 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
571 2003-07-26 André Pönitz <poenitz@gmx.net>
573 * paragraph_func.[Ch]:
574 * paragraph.C (realizeFont): inline it whereever it is used
579 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
582 2003-07-26 André Pönitz <poenitz@gmx.net>
586 * text2.C: get rid of LyXText::need_break_row
588 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
590 * toc.[Ch]: put namespace toc inside namespace lyx
592 * MenuBackend.C (expandToc2): adjust for lyx::toc
595 * lyxfunc.C (dispatch): adjust for lyx::find
597 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
598 lyx::find instead. Reorganize a bit.
599 (LyXReplace): rename to replace
600 (LyXFind): rename to find
602 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
605 2003-07-26 André Pönitz <poenitz@gmx.net>
607 * text.C (setHeightOfRow): restrict scope of temporary variable
609 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
610 code (never has been used?)
612 2003-07-27 Asger Alstrup <alstrup@local>
614 * text.C (fill): Optimise algorithm to exploit that we can reuse
615 the LyXFont for many characters.
616 (setHeightOfRow): Same thing.
617 (rowBreakPoint): Same thing.
619 2003-07-26 Asger Alstrup <alstrup@local>
621 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
623 * text.C (singleWidth): Spurious font copying in hot-spot
624 singleWidth avoided. Reorder tests for arabic for efficiency.
626 * text.C (fill): handle empty paragraphs better.
628 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
631 * encoding.h: add includes
633 * lyxrc.C: remove reading of bind files
635 * lyx_main.C (init): setup bindings and menus only if we have a
638 * kbmap.C (read): new method. Do the actual reading of bind
641 * converter.C (dvipdfm_options):
644 (output): adapt PAPER_* enums.
646 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
648 * bufferparams.h: remove paper-related enums from there
650 * paper.h: New file. A trivial header file to hold paper-related
651 enums. It should later expand to contain many paper-related
654 * lyxrc.C: declare extern displayTranslator
656 2003-07-27 José Matos <jamatos@fep.up.pt>
658 * tabular.[Ch] (linuxdoc): add support for tables and figures
661 2003-07-27 José Matos <jamatos@fep.up.pt>
663 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
664 consistency in both functions.
665 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
667 2003-07-26 Asger Alstrup <alstrup@local>
669 * rowpainter.C (paintRows): Change algorithm to work directly on
670 the insets rather than asking every character in the document
671 whether its an inset.
673 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
675 * buffer.C (openFileWrite): factorize some code
677 2003-07-26 Angus Leeming <leeming@lyx.org>
680 * lyx_main.[Ch]: replace occurances of system_tempdir with
683 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
685 * rename Inset to InsetOld
687 2003-07-25 Asger Alstrup <alstrup@diku.dk>
689 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
690 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
691 which I think is a bit clearer. EDIT is gone, since it was
692 premature optimisation, and broken for mathed anyway.
693 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
694 with cursor positioning in insets as well (math insets still do not
695 work, but that's a different story anyway.) It mysteriously
696 crashes sometimes with undo in the first paragraph, but I'm fairly
697 confident that this is a compiler bug.
699 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
701 * paragraph.C (Paragraph): adjust for new clone return type
703 (copyIntoMinibuffer): ditto
705 2003-07-25 Asger Alstrup <alstrup@lyx.org>
707 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
708 by not having a special case, and always doing a full rebreak of
709 the document after undo.
711 2003-07-23 Angus Leeming <leeming@lyx.org>
713 * factory.C (createInset): InsetExternal::setParams now takes a
716 2003-07-23 Angus Leeming <leeming@lyx.org>
718 * factory.C (createInset): changed interface to the external and
719 graphics mailers' string2params functions.
721 2003-07-23 Angus Leeming <leeming@lyx.org>
723 * factory.C (createInset): pass a
724 Buffer const * parameter to InsetExternalMailer's string2params.
726 2003-07-22 John Levon <levon@movementarian.org>
728 * Thesaurus.h: include the right aiksaurus header
730 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
732 * MenuBackend.C (expand): check menu shortcuts unconditionally
734 2003-07-21 Angus Leeming <leeming@lyx.org>
736 * factory.C (createInset): pass a
737 buffer_path parameter to InsetGraphicsMailer's string2params.
739 2003-07-21 Angus Leeming <leeming@lyx.org>
741 * BufferView_pimpl.C (buffer):
744 * lyxfunc.C (dispatch):
745 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
746 rather than the grfx shortcut.
748 2003-07-21 André Pönitz <poenitz@gmx.net>
750 * rowpainter.C: remove unused variables
753 * tabular_funcs.h: move to tabular.C
754 * Makefile.am: adjust
756 * tabular.[Ch]: basic optical cleaning
758 * author.h: pass references, not values
760 2003-07-18 André Pönitz <poenitz@gmx.net>
768 * text3.C: two-phase drawing for InsetText and InsetTabular
769 some float -> int changes.
771 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
773 * lyx_main.C: fix the fix
775 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
777 * lyx_main.C: fix a crash in batch mode if no files specified
780 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
782 * format.[Ch] (papersize): moved to BufferParams
783 * converter.[Ch] (dvips_options): moved to BufferParams
784 (dvipdfm_options): moved to anon namespace
785 * bufferparams.[Ch]: added above functions.
787 2003-07-17 André Pönitz <poenitz@gmx.net>
791 * text2.C: don't call inset->update() anymore
793 * metricsinfo.[Ch]: add convenience constructor
795 2003-07-16 André Pönitz <poenitz@gmx.net>
800 * text2.C: replace the LyXCursor::irow_ member with
801 on-demand computation of the value
803 2003-07-16 John Levon <levon@movementarian.org>
805 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
807 2003-07-15 André Pönitz <poenitz@gmx.net>
810 * text2.C: remove no more needed refresh_row
812 2003-07-15 André Pönitz <poenitz@gmx.net>
817 * text3.C: refresh_status tristate -> need_update bool
819 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
821 * lyxtext.h (init): remove reinit argument (act as if always true)
822 * text2.C: adjust to that
824 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
826 * bufferview_funcs.[Ch]: introduce function replaceSelection()
827 * text3.C: use it to delete selections in some cases
828 (bugs 441, 673, 702, 954).
830 2003-07-14 André Pönitz <poenitz@gmx.net>
832 * rowpainter.[Ch]: reduce interface
834 2003-07-14 André Pönitz <poenitz@gmx.net>
836 * BufferView_pimpl.C:
837 * text2.C: adjust after removing unused BufferView * argument
839 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
841 * text2.C (init): fix a crash fired on resize
843 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
845 * buffer.[Ch]: added new closing signal
846 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
847 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
848 BufferView::Pimpl via the closing the signal
850 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
852 * buffer.[Ch]: take out all bv-related from buffer
854 * BufferView_pimpl.[Ch]: connect to new signals
855 * CutAndPaste.C: removed useless asserts
856 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
859 * lyxfunc.C: moved view-related funciontality from vc here
860 * paragraph.C: removed outdated comments
863 2003-07-10 André Pönitz <poenitz@gmx.net>
865 * BufferView_pimpl.C:
869 * text2.C: remove InsetText::InnerCache, clean up consequences
871 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
873 * ispell.C: fix two typos in error messages
875 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
877 * Extend Note inset to other forms of annotation like Comment
878 and Greyedout. Right button click gives dialog.
880 Files modified or added (+):
886 * Makefile.am in frontends/xforms, frontends/xforms/forms,
887 frontends/controllers
891 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
893 * aspell.C: add missing namespace lyx::support
895 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
897 * BufferView.[Ch] (newFile): Add
898 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
899 * LaTeX.[Ch] (message): added this signal and use it
900 * buffer.[Ch] (busy, message): added these signals and use them
901 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
905 * importer.C: use buffer signals instead of direct bv calling
906 * lyx_cb.[Ch] (ShowMessage): removed
910 * text2.C: use buffer signals
912 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
914 * introduce namespace lyx::graphics
916 2003-07-02 André Pönitz <poenitz@gmx.net>
918 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
920 2003-07-01 André Pönitz <poenitz@gmx.net>
927 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
928 text*.C to text_func.C
930 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
932 * introduce namespace lyx::support
934 2003-06-30 André Pönitz <poenitz@gmx.net>
939 * text.C: re-enable --with-included-string
941 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
943 * textcursor.C: add <config.h>
945 * text.C (getWord): remove const from word_location arg
947 * lyxvc.C (getLogFile): fix const type order
949 * lyxtext.h: remove const from word_location arg, add arg name
951 * lyxlayout.h: currect type on labeltype.
953 * importer.C: correct \file
955 * converter.C (intToFormat): use std:: on ret val, ws changes
957 * bufferlist.h: correct \file
959 * buffer.C (makeLinuxDocFile): fix const type order
960 (makeDocBookFile): ditto
961 (fillWithBibKeys): use std:: on stdlib args.
963 * CutAndPaste.C: fix authors.
964 (availableSelections): use std:: on return vector
966 2003-06-27 André Pönitz <poenitz@gmx.net>
968 * BufferView_pimpl.C:
969 * bufferview_funcs.C:
977 * text3.C: remove LyXCursor::row_ member
980 * text.C: rename fullRebreak() to partialRebreak() and implement
981 a fullRebreak() that really bereks fully
983 * textcursor.h: new struct for cursor-related data
985 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
987 * lyx_main.C (LyX): get full path of document loaded on the
990 2003-06-26 André Pönitz <poenitz@gmx.net>
992 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
993 remove unused/broken operator>,<,>=.
995 * text.C: remove only use of broken operator<= in an Assert().
997 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
999 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1000 moved errorlist_.clear to showErrorList
1002 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
1004 * converter.C (scanLog, runLaTeX):
1005 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1006 move the bv->showErrorList call to the callers
1007 * lyxfunc.C: i.e. here...
1009 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1010 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1011 namespace, the second to...
1012 * buffer_funcs (BufferFormat, parseErrors): added
1013 * errorlist.C (ErrorList(TeXErrors const &)): removed
1015 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1017 * ToolbarBackend.C (getIcon): complain when icon cannot be found
1019 2003-06-24 "Garst R. Reese" <reese@isn.net>
1023 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1025 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1027 * version.C.in: change docversion to 1.4
1029 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
1031 * buffer.C: fix a bug just introduced
1033 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1035 * buffer.[Ch]: added the parseError signal and use it, removed
1037 * BufferView.[Ch] (addError): moved to ...
1038 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1039 to the Buffer::parseError signal to catch (guess what) parse errors
1040 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1042 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1044 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1045 ability to create a buffer and to return an existing one from
1046 the list. Moved these functions to...
1047 * buffer_funcs.[Ch]: added
1048 * BufferView.[Ch] (loadLyXFile): added
1049 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1050 job removed from bufferlist::loadLyXFile.
1051 * buffer.C (setReadOnly): make it work without view
1052 (i.e added an if (users))
1054 2003-06-19 Angus Leeming <leeming@lyx.org>
1057 * LyXAction.C (init):
1058 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1059 with LFUN_DIALOG_SHOW <name> <data>.
1061 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1063 * CutAndPaste.C (availableSelections): small compilation fix for
1064 ancient (gcc 2.9x) compilers
1066 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1068 * text3.C (cursorNext): add tmp var
1070 * text2.C (updateCounters): for function calling out of for clause
1071 (replaceSelectionWithString): ditto
1072 (insertStringAsParagraphs): ditto
1073 (getColumnNearX): add tmp var
1074 (setCursorFromCoordinates): add tmp var
1075 (cursorDownParagraph): add tmp var
1076 (deleteEmptyParagraphMechanism): add tmp var
1078 * text.C (insertChar): add tmp var
1080 * rowpainter.C (paintDepthBar): add tmp var
1082 * CutAndPaste.C (availableSelections): potentially check all
1083 paragraphs in a cut to fill the shown strings.
1085 2003-06-18 André Pönitz <poenitz@gmx.net>
1087 * kbmap.[Ch]: use vector<> instead of list<>
1089 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1091 * text3.C (dispatch): handle arg to LFUN_PASTE, call
1092 pasteSelection with index
1094 * text2.C (pasteSelection): modify, call pasteSelection with index
1096 * paragraph.C (asString): reimplement version with no interval to
1097 call the one with interval.
1099 * lyxtext.h: add index arg to pasteSelection
1101 * MenuBackend.C (MenuItem): handle PasteRecent
1102 (Menu::read::Menutags): add md_pasterecent
1104 (expandPasteRecent): new function
1107 * MenuBackend.h: add PasteRecent to MenuItem::Kind
1109 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1111 (availableSelections): new function
1113 2003-06-17 Angus Leeming <leeming@lyx.org>
1115 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1117 2003-06-17 Angus Leeming <leeming@lyx.org>
1120 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1122 * lyxfunc.C (dispatch): invoke it.
1124 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1126 * iterators.C (operator++, ParPosition): reintroduce some
1127 const_cast for the benefit of older compilers.
1129 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1131 * text3.C (dispatch): do not modify clipboard when doing
1132 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1133 LFUN_DELETE_SKIP on a selection selection
1135 2003-06-16 André Pönitz <poenitz@gmx.net>
1141 * tabular.[Ch]: IU of clone() and getLabelList();
1143 2003-06-13 André Pönitz <poenitz@gmx.net>
1145 * tabular.h: compactification
1147 2003-06-12 André Pönitz <poenitz@gmx.net>
1151 * tabular_funcs.h: some renaming plus whitespace
1153 2003-06-12 André Pönitz <poenitz@gmx.net>
1156 * BufferView_pimpl.C:
1162 * toc.C: Return a Paragraph & for ParIterator::operator*()
1164 2003-06-11 John Levon <levon@movementarian.org>
1168 * ToolbarBackend.C: add "Toolbars" section and
1171 2003-06-10 Angus Leeming <leeming@lyx.org>
1174 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1176 * lyxfunc.C (dispatch): invoke it.
1178 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1180 * main.C: protect <ios> with HAVE_IOS
1181 (main): protect sync_with_stdio with HAVE_IOS
1183 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1185 * text2.C (cutSelection): adjust
1186 (pasteSelection): adjust
1188 * messages.C: handle get of empty string
1190 * main.C (main): use sync_with_stdio(false)
1192 * lyxfunc.C (dispatch): adjust
1194 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1195 (WriteAs): remove unneeded BufferView arg.
1197 * bufferparams.h: use correct types on papersize, papersize2 and
1200 * bufferparams.C (readToken): adjust for type
1201 (writeLaTeX): add missing cases to switch.
1203 * bufferlist.C (quitWriteBuffer): adjust
1206 * buffer.C (asciiParagraph): remove some commented code.
1208 * CutAndPaste.C: remove current_view extern variable.
1209 (cutSelection): add BufferParams arg.
1210 (eraseSelection): add BufferParams arg.
1211 (pasteSelection): add Buffer const & arg
1213 2003-06-07 John Levon <levon@movementarian.org>
1216 * paragraph_funcs.C:
1217 * paragraph_pimpl.C:
1221 * paragraph.C: allow InsetERT to freely space lines,
1222 and some consolidation of code
1224 2003-06-06 José Matos <jamatos@fep.up.pt>
1226 * buffer.C (makeDocBookFile): fix bug #821
1228 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1230 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1232 2003-06-04 Angus Leeming <leeming@lyx.org>
1234 * buffer.C: bump format to 224.
1236 2003-06-05 André Pönitz <poenitz@gmx.net>
1238 * text2.C (redoParagraphs): remove two const_cast<>
1240 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1242 * ParagraphList.h: remove last remnants of NO_STD_LIST
1244 2003-06-03 Angus Leeming <leeming@lyx.org>
1246 * factory.C (createInset): small change to the way InsetExternal's params
1249 2003-06-04 André Pönitz <poenitz@gmx.net>
1251 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1253 * paragraph_pimpl.h:
1254 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1256 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1258 * undo_funcs.C: make some simple cases of undo work again
1260 2003-06-03 John Levon <levon@movementarian.org>
1262 * ispell.C: HPUX doesn't have sys/select.h
1265 2003-06-03 John Levon <levon@movementarian.org>
1267 * CutAndPaste.C: update tabular and include inset
1272 * paragraph.C: remove owningBuffer(), don't pass Buffer
1275 * factory.C: insetGraphicsParams changed
1277 2003-06-02 John Levon <levon@movementarian.org>
1283 * text3.C: remove insetparent
1285 2003-06-02 John Levon <levon@movementarian.org>
1288 * buffer.C: fix inset_iterator.end(), move out of line
1291 2003-06-01 John Levon <levon@movementarian.org>
1293 * text3.C: use a proper cut/paste when doing inset
1294 insert (from Jürgen Spitzmüller)
1296 2003-06-01 John Levon <levon@movementarian.org>
1298 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1300 2003-05-30 André Pönitz <poenitz@gmx.net>
1302 * rowpainter.C: unify second drawing phase
1304 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1306 * trans_mgr.C: remove one case of current_view
1308 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1310 * paragraph_funcs.h: remove paragraph.h include
1312 * paragraph.h: delete NO_STD_LIST stuff
1314 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1316 * buffer.h: remove paragraph.h include
1318 * ParagraphList.C: delete file
1320 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1322 * toc.C (getTocList): adjust
1324 * paragraph_pimpl.C (validate): adjust
1326 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1328 * paragraph.C (Paragraph): adjust
1329 (getPositionOfInset): use const_iterator, adjust
1330 (bibitem): use const_iterator, adjust
1331 (setInsetOwner): adjust
1333 * iterators.C (operator++): adjust
1335 * InsetList.[Ch]: Replace selfmade iterator with standard
1336 vector::iterator also introduce const_iterator. Remove getPos,
1337 getInset and setInset from InsetTable. Adjust accordingly.
1339 * BufferView.C (lockInset): adjust
1340 (ChangeInsets): adjust
1342 * tabular.[Ch]: delete commented same_id functions
1344 2003-05-28 John Levon <levon@movementarian.org>
1346 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1348 2003-05-28 André Pönitz <poenitz@gmx.net>
1350 * metricsinfo.[Ch]: remove 'fullredraw' member
1352 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1354 * lyxtextclass.C (operator): remove caching.
1356 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1360 * text2.C (cursorBottom): adjust
1361 (setCounter): use ParagraphList::find, adjust
1363 * text.C (workWidth): use ParagraphList::find, adjust
1365 * lyxcursor.C (LyXCursor): adjust
1367 * buffer.C (inset_iterator): adjust
1369 * ParagraphList.h: make iterator(value_type) private, make
1370 ParagraphList a friend of iterator.
1372 * ParagraphList.C (find): new function
1374 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1376 2003-05-27 André Pönitz <poenitz@gmx.net>
1378 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1380 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1382 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1384 2003-05-26 John Levon <levon@movementarian.org>
1386 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1388 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1390 * remove same_id from function signatures, adjust.
1392 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1394 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1396 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1398 * paragraph.C (Paragraph): get rid of same_ids parameter
1400 * ParagraphList.C (insert): adjust
1403 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1405 * paragraph_funcs.C (breakParagraph): adjust
1406 (breakParagraphConservative): adjust
1408 * buffer.C (readParagraph): adjust
1410 * ParagraphList.C (insert): take a reference instead of a pointer
1413 * paragraph.[Ch] (id): new function
1415 * bufferlist.C (newFile): adjust
1417 * ParagraphList.C (ParagraphList): adjust
1419 (push_back): take a reference instead of a pointer.
1421 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1423 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1426 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1427 set else use old code.
1429 * ParagraphList.C: remove all NO_NEXT code and only compile this
1430 code of NO_STD_LIST is set.
1432 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1434 * BufferView_pimpl.C:
1444 * graphics/GraphicsConverter.C:
1445 * graphics/PreviewLoader.C: header adjustment
1447 2003-05-23 Angus Leeming <leeming@lyx.org>
1449 * LaTeXFeatures.[Ch] (useBabel): new method.
1450 * bufferparams.C (writeLaTeX): use it.
1452 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1454 * ParagraphList.h (set): remove unused function.
1456 2003-05-23 André Pönitz <poenitz@gmx.net>
1459 * BufferView_pimpl.C:
1463 * undo_funcs.C: setUndo reworked
1465 * iterators.[Ch]: add access to topmost ParagraphList
1467 * lyxtext.[Ch] (workWidth): add a const
1469 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1471 * texrow.[Ch] (increasePos): remove function
1472 * exporter.C (export): removed unused var and outdated comment
1474 2003-05-23 Angus Leeming <leeming@lyx.org>
1476 * latexrunparams.h: rename fragile as moving_arg.
1477 * paragraph.C (simpleTeXOnePar): ditto.
1478 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1480 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1482 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1484 (textUndoOrRedo): comment out a currently unused var.
1486 * paragraph.h (NO_NEXT): enable NO_NEXT
1488 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1490 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1492 * exporter.C (Export): adjust for removeAutoInsets removal.
1494 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1496 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1498 * BufferView.[Ch] (removeAutoInsets): delete function
1500 2003-05-22 Angus Leeming <leeming@lyx.org>
1502 * latexrunparams.h: add a free_spacing variable.
1504 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1505 to pass moving_arg, as the data is stored in runparams.fragile.
1507 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1508 to Inset::latexOptional or to simpleTeXOnePar.
1510 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1511 free_spacing arg to Inset::latexOptional.
1513 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1516 2003-05-22 Angus Leeming <leeming@lyx.org>
1518 * latexrunparams.h: add fragile and use_babel variables.
1520 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1521 * buffer.C (makeLaTeXFile): store this returned value in
1522 runparams.use_babel, thus passing it to the inset::latex methods.
1524 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1525 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1527 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1528 longer has a fragile arg, as it is stored in runparams.fragile.
1530 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1531 moving_arg parameter as the data is stored in runparams.fragile.
1533 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1534 a fragile parameter as the data is stored in runparams.fragile.
1536 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1538 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1540 2003-05-22 Angus Leeming <leeming@lyx.org>
1542 * latexrunparams.h: add a 'bool nice' which defaults to false.
1544 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1545 now encapsulated within runparams.
1547 * bufferlist.C (updateIncludedTeXfiles):
1548 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1550 2003-05-22 Angus Leeming <leeming@lyx.org>
1552 * latexrunparams.h: new file containing struct LatexRunParams.
1553 * Makefile.am: add new file.
1555 * LaTeX.[Ch] (c-tor, run):
1556 * buffer.[Ch] (makeLaTeXFile):
1557 * bufferlist.[Ch] (updateIncludedTeXfiles):
1558 * converter.C (convert, scanLog):
1559 * converter.[Ch] (runLaTeX):
1560 * exporter.C (Export):
1561 * paragraph.[Ch] (simpleTeXOnePar):
1562 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1563 * paragraph_funcs.[Ch] (latexParagraphs):
1564 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1565 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1566 pass around a LatexRunParams parameter.
1568 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1570 * paragraph.[Ch]: remove unused constructor
1572 * ParagraphList.C (erase): new function, taking two iterators
1574 2003-05-22 André Pönitz <poenitz@gmx.net>
1576 * undo_funcs.C: remove duplicated code
1578 * iterator.[Ch]: operator=
1580 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1582 * tabular.C (SetMultiColumn): ws changes
1584 * rowpainter.C (paintFirst): get rid of a ->previous
1586 * lyx_cb.C (getPossibleLabel): parlist simplification
1588 * BufferView.C (ChangeInsets): simplify slightly.
1590 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1592 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1593 * lfuns.h: new LFUN_SPACE
1594 * lyxfunc.C: protected space has a new lfun
1595 * paragraph_funcs.C: read new space insets
1597 * factory.C: handle new space insets
1599 2003-05-22 André Pönitz <poenitz@gmx.net>
1602 * BufferView_pimpl.C:
1605 * undo_funcs.C: return a ParIterator from getParFromID.
1607 * iterators.[Ch]: add two const's
1609 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1611 * toc.C (getTocList): adjust
1613 * iterators.[Ch]: rework for parlist
1615 * buffer.C (par_iterator_begin): adjust
1616 (par_iterator_end): adjust
1618 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1620 * BufferView.C (removeAutoInsets): adjust
1621 (ChangeInsets): adjust
1623 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1625 * text.C (top_y): fix bug 1110
1627 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1629 * errorlist.[Ch]: added
1632 * BufferView_pimpl.C:
1633 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1636 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1638 * Makefile.am: ensure that lyx is relinked upon changes to the
1639 various "convenience" libs.
1641 2003-05-20 Angus Leeming <leeming@lyx.org>
1643 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1644 files are compiled in alphabetical order again.
1646 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1648 2003-05-19 Angus Leeming <leeming@lyx.org>
1650 * gettext.[Ch]: remove "char const * _(char const *)".
1652 2003-05-19 André Pönitz <poenitz@gmx.net>
1654 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1663 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1665 2003-05-19 André Pönitz <poenitz@gmx.net>
1669 * lyxtextclass.[Ch]:
1671 * paragraph_funcs.[Ch]:
1673 * text3.C: more insetenv work
1675 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1677 * ParagraphParameters.C (params2string): small bug fixed
1679 2003-05-16 André Pönitz <poenitz@gmx.net>
1682 * bufferview_funcs.C: patch from Kornel Benko to prevent
1683 crash when _(...) is called twice in a statement
1685 2003-05-16 André Pönitz <poenitz@gmx.net>
1692 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1694 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1696 * lyx_main.C (init): remove spurious static_cast
1698 2003-05-14 André Pönitz <poenitz@gmx.net>
1700 * BufferView.C: fix format string
1702 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1704 * BufferView.[Ch] (insertErrors): removed
1705 * BufferView.[Ch] (showErrorList): added
1706 * buffer.C (runChkTeX):
1707 * converter.C (scanLog): call showErrorList instead of inserterrors
1709 2003-05-13 André Pönitz <poenitz@gmx.net>
1711 * BufferView_pimpl.C:
1713 * bufferview_func.C:
1720 * tabular_funcs.h: tostr() from its own header
1722 * ParagraphParameters.C:
1727 * text3.C: STRCONV()
1729 2003-05-12 André Pönitz <poenitz@gmx.net>
1732 * BufferView_pimpl.C:
1736 * ParagraphParameters.C:
1740 * bufferview_funcs.C:
1753 * paragraph_funcs.C:
1757 * text3.C: boost::format -> bformat all over the place
1760 2003-05-09 André Pönitz <poenitz@gmx.net>
1762 * LColor.[Ch]: Pimpl the #include <map> away
1764 2003-05-09 John Levon <levon@movementarian.org>
1766 * bufferlist.C: never remove emergency saves
1768 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1770 * Makefile.am: better lib building
1772 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1774 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1776 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1777 (simpleTeXSpecialChars): adjust
1778 (simpleTeXSpecialChars): adjust
1779 * paragraph.C (simpleTeXOnePar): adjust
1780 * buffer.C (makeLaTeXFile): adjust
1782 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1784 * text2.C (changeDepth): parlist cleanup
1785 (getColumnNearX): ditto
1787 * rowpainter.C (getLabelFont): parlist cleanup
1789 * bufferlist.C (newFile): parlist cleanup
1791 * CutAndPaste.C (eraseSelection): parlist cleanup
1793 * BufferView_pimpl.C (trackChanges): parlist cleanup
1796 * BufferView.C (lockInset): parlist cleanup.
1797 (ChangeInsets): ditto
1799 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1801 * CutAndPaste.h: Update file header.
1803 * CutAndPaste.C: Update file header.
1804 Store the parts cut out of the Document in a limited_stack.
1805 (copySelection): adjust
1806 (pasteSelection): new function, takes the index in the limited stack.
1807 (nrOfParagraphs): adjust
1808 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1809 simplify error inset insertion.
1810 (checkPastePossible): adjust
1812 2003-05-06 John Levon <levon@movementarian.org>
1814 * text2.C: don't cast wrap inset to float
1816 2003-05-05 André Pönitz <poenitz@gmx.net>
1819 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1821 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1822 few naked Paragraph *.
1824 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1826 * bufferparams.C: Output warning if a document with missing
1827 TeX document class is loaded
1828 * exporter.C: Disable TeX exports if the document class is missing
1831 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1832 isTeXClassAvailable()
1834 2003-05-03 John Levon <levon@movementarian.org>
1837 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1838 explicit cursor show/hide
1840 * BufferView_pimpl.h:
1841 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1842 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1844 * lyxfunc.C: hide cursor before dispatching.
1849 * text3.C: remove explicit cursor hides
1851 2003-05-02 André Pönitz <poenitz@gmx.net>
1853 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1856 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1859 * text2.C: tiny whitespace
1861 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1863 * undo_funcs.C: almost only ws changes.
1865 * ParagraphList.C (splice): just return if pl is empty.
1867 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1869 * ParagraphList.C (splice): new function.
1871 * CutAndPaste.C (pasteSelection): use it
1873 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1875 * CutAndPaste.C (pasteSelection): remove the last next and
1876 previous from this file.
1878 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1880 * CutAndPaste.C (pasteSelection): more clean up, user proper
1881 ParagraphList functions for pasteing.
1883 * ParagraphList.C (insert): new function, three arg insert
1885 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1887 * ParagraphList.C (insert): new function, three arg insert
1889 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1892 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1894 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1896 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1898 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1900 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1902 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1903 (copySelection): clean up a bit.
1904 (pasteSelection): use make_pair
1906 * ParagraphList.C (ParagraphList): implement copy constructor
1907 (operator=): implement, base on copy constructor.
1910 * paragraph.C (erase): return a bool
1912 * paragraph_pimpl.C (erasePos): remove function, move contents...
1913 (erase): ... here. Return a bool.
1914 (erase): call erase instead of erasePos.
1916 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1918 * ParagraphList.h: define PitPosPair
1919 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1920 ParagraphList, fix a bug on pasting multiple pars
1921 * text2.C: change interface to C&P
1923 2003-04-30 André Pönitz <poenitz@gmx.net>
1925 * undo_func.C: revert part of yesterday's patch 2
1927 2003-04-30 John Levon <levon@movementarian.org>
1929 * LColor.C: s/tabular/table/
1931 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1933 * text3.C (dispatch): do not convert iterator -> pointer
1934 * undo_funcs.C (setCursorParUndo): ditto
1935 * text_funcs.C (transposeChars): ditto
1937 * text2.C (setLayout): ws changes only
1939 * text.C (breakParagraph): do not convert iterator -> pointer
1941 (acceptChange): ditto
1942 (rejectChange): ditto
1947 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1950 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1952 * text3.C (gotoInset): YABG (yet another bad getChar)
1954 2003-04-29 André Pönitz <poenitz@gmx.net>
1956 * paragraph.h: make operator= private unimplemented as long as
1959 * ParagraphList.C: whitespace
1962 * paragraph_pimpl.[Ch]:
1963 * paragraph_funcs.C:
1965 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1968 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1970 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1972 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1973 * paragraph.[Ch] (erase):
1974 * paragraph_pimpl.[Ch] (erase): change return type and value
1975 * text2.C (cutSelection): some rework
1977 2003-04-28 John Levon <levon@movementarian.org>
1979 * bufferlist.C: changes for unsaved changes dialog
1981 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1983 * bufferlist.C (newFile): set language (messages_) for new
1986 * buffer.C (readFile): ws changes only.
1988 2003-04-28 André Pönitz <poenitz@gmx.net>
1993 * BufferView_pimpl.C:
1994 * BufferView.C: getParFromID related ParagraphList::iterator changes
1996 2003-04-28 André Pönitz <poenitz@gmx.net>
1998 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2001 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2003 * messages.C: remove one more localedir class variable.
2005 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2007 * messages.C (getLocaleDir): singleton generation function
2009 (Messages): add a default constructor.
2011 * main.C (main): do not setup localedir here, do not call
2014 * gettext.C (_): use it.
2015 (gettext_init): delete funciton
2017 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2019 * gettext.C (getLyXMessages): new singleton generating function.
2021 * buffer.C (updateDocLang): adjust
2023 * Makefile.am (messages.o): add target
2024 (main.o): remove target
2026 2003-04-27 John Levon <levon@movementarian.org>
2031 * lyxvc.C: specify cancel button in Alert::prompt
2033 2003-04-26 John Levon <levon@movementarian.org>
2038 * LyXAction.C: add LFUN_INSET_SETTINGS
2040 * lyxfunc.C: don't enable tabular-feature when there's
2041 just any locking inset
2043 2003-04-26 John Levon <levon@movementarian.org>
2045 * bufferlist.C: re-add Cancel to buffer close question
2047 * lyxfunc.C: fix import UI a bit
2049 2003-04-25 John Levon <levon@movementarian.org>
2051 * gettext.C: remove the broken asserts for now
2053 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2055 * messages.C: make case where setlocale cannot comply work better.
2057 * buffer.C (updateDocLang): new function
2058 (changeLanguage): use it
2061 * text2.C (setCounter): use B_ a bit.
2063 * lyxlayout.C (Read): be sure to trim the label strings.
2065 * messages.C (Messages): fix typo in comment
2067 * buffer.C (readFile): set message_ after file is loaded.
2068 (makeDocBookFile): remove double return
2069 (changeLanguage): reset message_ upon language change.
2070 (B_): new func, use this to get translated buffer strings.
2072 * main.C: add myself and Jean Marc as authors.
2074 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2076 * messages.[hC]: pimplify Messages, and three different pimpls to be
2077 used in different circumstances.
2079 * gettext.[Ch]: change for use with new message code.
2081 2003-04-24 André Pönitz <poenitz@gmx.net>
2083 * factory.C: support for eqref
2085 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2087 * messages.[Ch]: add missing char
2089 * Makefile.am (lyx_SOURCES): add messages.[Ch]
2091 * messages.[Ch]: New files
2093 2003-04-18 John Levon <levon@movementarian.org>
2097 * BufferView_pimpl.C:
2101 * text2.C: remove layout-copy/paste (bug 778)
2103 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2105 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2107 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
2109 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2110 if they succeed. Act accordingly.
2112 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2114 * text2.C (setCharFont): adjust
2115 (setCounter): adjust
2116 (insertStringAsLines): adjust
2118 * text.C (leftMargin): adjust
2119 (setHeightOfRow): adjust
2121 * rowpainter.C (paintFirst): adjust
2124 * paragraph_funcs.C (depthHook): ParagraphList::iterators
2126 (isFirstInSequence): ditto
2127 (getEndLabel): ditto
2130 * paragraph.C (getParLanguage): comment out some hard stuff.
2132 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2134 (simpleDocBookOnePar): ditto
2135 (makeDocBookFile): use ParagraphList::iterator
2137 * CutAndPaste.C (pasteSelection): adjust
2139 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2141 * text2.C (getFont): adjust
2142 (getLayoutFont): adjust
2143 (getLabelFont): adjust
2145 * paragraph_funcs.C (TeXOnePar): adjust
2147 * buffer.C (simpleLinuxDocOnePar): adjust
2148 (simpleDocBookOnePar): adjust
2150 * CutAndPaste.C (pasteSelection): adjust
2152 * BufferView.C (getEncoding): adjust
2154 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2156 2003-04-16 John Levon <levon@movementarian.org>
2158 * lyxfind.C: use parlist stuff for search/changes
2160 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2162 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2164 * text2.C (deleteEmptyParagraphMechanism): adjust
2166 * text2.[Ch] (ownerParagraph): delete func (both of them
2168 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2170 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2172 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2174 * ParagraphList.C: prepare for NO_NEXT
2176 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2178 * text2.C (getFont): adjust
2179 (getLayoutFont): adjust
2180 (getLabelFont): adjust
2182 * paragraph.C (getFont): adjust
2183 (getLabelFont): adjust
2184 (getLayoutFont): adjust
2186 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2188 2003-04-15 John Levon <levon@movementarian.org>
2192 * lyx_main.C: handle Include in .ui files
2194 2003-04-15 John Levon <levon@movementarian.org>
2196 * MenuBackend.C: make the doc files length shorter
2199 * ToolbarBackend.C: handle toolbar placement flags,
2202 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2204 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2207 * paragraph_funcs.C (TeXOnePar): adjust
2209 * paragraph.C (getLabelFont): add outerfont arg, adjust
2210 (getLayoutFont): ditto
2211 (simpleTeXOnePar): adjust
2213 * paragraph_pimpl.C (realizeFont): delete func
2215 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2217 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2218 row argument, constify cur argument.
2220 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2222 * text2.C (getFont): adjust
2223 (getLayoutFont): adjust
2224 (getLabelFont): adjust
2226 * paragraph_funcs.C (TeXOnePar): adjust
2227 (outerFont): new func...
2228 (realizeFont): ...moved out from here, changed this to facilitate
2231 * paragraph.C (getFont): take outerfont as arg, adjust
2232 (simpleTeXOnePar): add outerfont arg, adjust
2234 * buffer.C (simpleLinuxDocOnePar): adjust
2235 (simpleDocBookOnePar): adjust
2237 * CutAndPaste.C (pasteSelection): adjust
2239 * BufferView.C (getEncoding): adjust
2241 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2243 * text2.C (setCharFont): adjust
2244 (setCounter): adjust
2246 * text.C (leftMargin): adjust
2247 (setHeightOfRow): adjust
2249 * rowpainter.C (paintFirst): adjust
2252 * paragraph_pimpl.C (realizeFont): adjust
2254 * paragraph.C (isFirstInSequence): move from here...
2255 * paragraph_funcs.C (isFirstInSequence): ...to here
2257 * paragraph.C (outerHook): move from here...
2258 * paragraph_funcs.C (outerHook): ...to here
2260 * paragraph.C (depthHook): move from here...
2261 * paragraph_funcs.C (depthHook): ...to here
2263 * paragraph.C (getEndLabel): move from here...
2264 * paragraph_funcs.C (getEndLabel): ...to here
2266 * text2.C (realizeFont): move from here...
2267 * paragraph_funcs.C (realizeFont): ...to here
2269 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2271 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2273 2003-04-14 Angus Leeming <leeming@lyx.org>
2275 * LColor.[Ch]: scrap LColor mathcursor.
2277 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2279 * lyxlex.[Ch] (text): delete function
2280 * trans.C (Load): adjust
2281 * paragraph_funcs.C (readParToken): adjust
2283 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2285 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2286 vector<char> instead of a char[].
2288 * lyxlex_pimpl.C (getString): adjust
2290 (lex): use getString
2294 * lyxlex.C (text): use pimpl_->getString()
2298 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2300 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2301 (makeFontEntriesLayoutSpecific): temp var for par.size()
2302 (setLayout): temp var for ownerParagraphs().end()
2303 (fullRebreak): temp var for rows().end()
2304 (selectionAsString): temp var for boost::next(startpit), realize
2305 that the while really is a regular for loop.
2306 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2307 setCursor in one place.
2308 (setParagraph): temp vr for ownerParagraphs().end()
2309 (updateCounters): make the while loop a for loop
2310 (cutSelection): temp var for ownerParagraphs().end()
2311 (updateInset): make the do {} while() a regular for loop
2312 (getCursorX): use temp vars
2313 (setCurrentFont): use temp vars
2314 (getColumnNearX): use temp vars
2316 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2318 * text.C (transformChar): use temp var for getChar
2319 (computeBidiTables): use temp var for row->par()
2320 (fill): move temp vars for row->par() and pit->layout() earlier in
2322 (labelFill): use temp var for row->par()
2323 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2324 asc and desc, realize that pit never changes and that firstpit is
2325 just a duplicate and not needed. Exchange rit->par() with pit in a
2327 (breakAgain): use a temp var for boost::next(rit)
2328 (breakAgainOneRow): ditto
2329 (breakParagraph): use a temp var for rows().begin()
2330 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2331 (cursorRightOneWord): use temp var for cursor.par() and
2332 cursor.pos(), remove usage of tmpcursor.
2333 (cursorLeftOneWord): use temp var for cursor.par() and
2334 cursor.pos() only set cur at end of function.
2336 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2338 * text.C, text2.C: exchange all usage of Paragraph::next with
2339 boost::next(ParagraphList::iterator)
2341 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2343 * text2.C (cursorTop): simplify implementation
2344 (cursorBottom): ditto
2345 (setParagraph): use ParagraphList::iterator
2346 (setCurrentFont): adjust
2347 (getColumnNearX): adjust
2348 (cursorRight): adjust
2349 (cursorLeft): remove usage of Paragraph::previous
2350 (cursorUpParagraph): ditto
2351 (deleteEmptyParagraphMechanism): slight cleanup
2353 * text.C (isBoundary): take a Paragraph const & instead of a
2355 (addressBreakPoint): ditto
2356 (leftMargin): remove usage of Paragraph::previous.
2357 (setHeightOfRow): ditto
2358 (cursorLeftOneWord): ditto
2359 (selectNextWordToSpellcheck): ditto
2362 (breakParagraph): remove one usage of Paragraph::next
2363 (redoParagraph): ditto
2364 (acceptChange): ditto
2365 (insertChar): adjust
2366 (rowBreakPoint): adjust
2368 * bufferview_funcs.C (toggleAndShow): adjust
2370 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2372 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2373 methods to access it.
2375 * text.C: Added updateRowPositions to compute all row positions.
2376 Make top_y and getRowNearY() to use the cached y position
2378 2003-04-11 John Levon <levon@movementarian.org>
2380 * text.C (rowBreakPoint): reintroduce the labelEnd
2381 checks, code copied from the row fill stuff. Deep voodoo.
2383 * text.C (fill): add a comment and debugging for the
2386 2003-04-11 John Levon <levon@movementarian.org>
2388 * text.C: make sure fullrow insets get wrapped to the next line,
2389 even when they're in a manual label
2391 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2393 * text2.C (insertParagraph): make it take ParagraphList::iterator
2395 (setLayout): make it return ParagraphList::iterator
2396 (redoParagraphs): ditto
2398 (checkParagraph): ditto
2400 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2402 * text2.C: adjust several funcs.
2403 (realizeFont): take a ParagraphList::iterator as arg.
2404 (getLayoutFont): ditto
2405 (getLabelFont): ditto
2406 (setCharFont): ditto
2408 * text.C: adjust several funcs.
2410 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2412 * text.C (selectNextWordToSpellcheck): don't accidentally
2415 2003-04-10 John Levon <levon@movementarian.org>
2417 * ToolbarBackend.C (getIcon): special handling for
2420 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2422 * text2.C (cursorRight): a getChar assert fixed
2424 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2426 * text2.C (getFont): change to take a ParagraphList::iterator
2427 instead of Paragraph*
2428 Adjust several functions.
2430 * text.C (transformChar): change to take a ParagraphList::iterator
2431 instead of Paragraph*
2432 (singleWidth): ditto
2433 Adjust several functions.
2435 * rowpainter.C: adjust several functions
2436 * rowpainter.h:store a ParagraphList::iterator and not a
2440 2003-04-09 John Levon <levon@movementarian.org>
2445 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2446 and the "help" bits as well
2448 2003-04-09 John Levon <levon@movementarian.org>
2451 * ToolbarBackend.C: allow multiple toolbars
2453 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2455 * undo_funcs.C (setCursorParUndo): adjust
2457 * text_funcs.C (transposeChars): adjust
2459 * text3.C (gotoNextInset): adjust
2462 * text2.C (setLayout): adjust
2463 (changeDepth): adjust
2465 (redoParagraphs): adjust
2466 (selectionAsString): adjust
2467 (setParagraph): adjust
2468 (insertInset): adjust
2469 (cutSelection): adjust
2470 (copySelection): adjust
2471 (pasteSelection): adjust
2472 (insertStringAsLines): adjust
2473 (updateInset): adjust
2474 (setCursor): change to take a ParagraphList::iterator parameter
2475 (setCursorIntern): change to take a ParagraphList::iterator parameter
2476 (setCurrentFont): adjust
2477 (cursorLeft): adjust
2478 (cursorRight): adjust
2479 (deleteEmptyParagraphMechanism): adjust
2481 * text.C (breakParagraph): adjust
2482 (insertChar): adjust
2483 (acceptChange): adjust
2484 (rejectChange): adjust
2485 (selectNextWordToSpellcheck): adjust
2486 (changeCase): adjust
2490 * lyxfind.C (SearchForward): adjust
2491 (SearchBackward): adjust
2492 (nextChange): adjust
2494 * lyxcursor.C (par): adjust
2496 * lyxcursor.h: store a ParagraphList::iterator instead of a
2499 * lyx_cb.C (getPossibleLabel): adjust
2501 * bufferview_funcs.C (toggleAndShow): adjust
2503 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2506 * BufferView.C (removeAutoInsets): adjust
2507 (lockedInsetStoreUndo): adjust
2509 2003-04-09 John Levon <levon@movementarian.org>
2511 * ToolbarBackend.C: try icon without argument
2512 if with argument fails
2514 2003-04-08 John Levon <levon@movementarian.org>
2517 * ToolbarBackend.C: add getIcon(), handle tooltip,
2518 and change from "Icon" to "Item".
2520 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2522 * BufferView.C (lockInset): another bad getchar crunched
2524 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2526 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2529 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2531 * lyxfind.C (searchForward, searchBackwards): bug 782
2533 2003-04-07 John Levon <levon@movementarian.org>
2535 * paragraph.C: remove dead comment
2537 * text.C: remove troublesome depth-fiddling code
2538 in leftMargin() and rightMargin() (bug 1017)
2540 * text.C: fix breaking of rows in nested lists
2543 * text2.C (updateCounters): fix up depth values
2546 2003-04-07 John Levon <levon@movementarian.org>
2548 * BufferView_pimpl.C: clear message when doc finishes resizing,
2549 and after a mouse event
2551 * lyxfunc.C: clear message after exiting inset
2553 2003-04-07 John Levon <levon@movementarian.org>
2555 * bufferview_funcs.C: show math status not outside
2556 status in the statusbar
2558 2003-04-07 John Levon <levon@movementarian.org>
2560 * lyxfunc.C: note status changed after a depth change
2562 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2564 * LaTeX.h: move AuxInfo operator==, != out of line.
2565 Remove LaTeX virtual destructor; nothing derives from it.
2566 Move operator()() out of public area and rename it startscript().
2567 Change protected for private.
2569 2003-04-04 Angus Leeming <leeming@lyx.org>
2572 * text2.C: remove unneeded #includes.
2574 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2576 * text2.C (dEPM): fix the heigth of the next row
2578 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2580 * text.C: squashed an invalid getChar requester + some ws changes
2582 2003-04-03 John Levon <levon@movementarian.org>
2584 * bufferview_funcs.h:
2585 * bufferview_funcs.C:
2588 * text2.C: make getStatus work for the env depth lfuns
2590 2003-04-03 John Levon <levon@movementarian.org>
2592 * bufferview_funcs.h:
2593 * bufferview_funcs.C:
2596 * text2.C: parlistize decDepth(), by merging it with incDepth()
2598 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2600 * lyxrow.h: store a ParagraphList::iterator instead of a
2601 Paragraph* and adjust other class functions to suit.
2603 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2606 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2608 * text2.C (setCursor): do not anchor to cursor row for the time being
2610 2003-04-02 John Levon <levon@movementarian.org>
2617 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2619 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2621 * paragraph.h: make ParagraphList and ParagraphList::iterator
2622 friends of Paragraph.
2624 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2626 * ParagraphList.C: Use the private next_ and previous_ from
2629 2003-04-01 John Levon <levon@movementarian.org>
2633 * Makefile.am: rename, remove defaults gunk
2636 * MenuBackend.C: remove defaults gunk
2639 * Languages.C: remove defaults gunk
2642 * lyx_main.C: error out if files couldn't be found.
2644 2003-04-02 John Levon <levon@movementarian.org>
2646 * text2.C: make incDepth() use parlist
2648 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2650 * undo_funcs.C (firstUndoParagraph): adjust
2652 * text3.C (gotoInset): adjust
2653 (dispatch): adjust, and rewrite loop.
2655 * text2.C (init): adjust, and rewrite loop.
2656 (redoParagraphs): adjust
2657 (updateInset): adjust, and rewrite loop.
2658 (deleteEmptyParagraphMechanism): adjust
2660 * tabular.C (LyXTabular): adjust
2661 (SetMultiColumn): adjust
2664 * lyxtext.[Ch] (ownerParagraph): delete function
2665 (ownerParagraphs): new function returns a ParagraphList.
2667 * BufferView.C (removeAutoInsets): adjust
2668 (insertErrors): adjust
2669 (setCursorFromRow): adjust
2671 2003-04-01 Angus Leeming <leeming@lyx.org>
2673 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2676 2003-04-02 John Levon <levon@movementarian.org>
2682 * text_funcs.C: make transposeChars a free function
2684 * lyxrow_funcs.C: remove wrong comment
2686 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2689 * rowpainter.C: adjust
2694 * lyxrow_funcs. [Ch]: new files
2696 * lyxrow.[Ch]: remove next and previous pointers
2697 (next,previous): remove accessor functions
2698 (isParEnd): move to lyxrow_funcs
2699 (lastPos): move to lyxrow_funcs
2700 (nextRowIsAllInset): move to lyxrow_funcs
2701 (lastPrintablePos): move to lyxrow_funcs
2702 (numberOfSeparators): move to lyxrow_funcs
2703 (numberOfHfills): move to lyxrow_funcs
2704 (numberOfLabelHfills): move to lyxrow_funcs
2705 (hfillExpansion): move to lyxrow_funcs
2709 * bufferview_funcs.C (toggleAndShow): adjust
2711 * RowList.h: Remove class RowList from file leave just a
2714 * RowList.C: delete file
2716 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2719 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2721 * text3.C (cursorPrevious): adjust
2722 (cursorNext): adjust
2725 * text2.C (redoHeightOfParagraph): adjust
2726 (redoDrawingOfParagraph): adjust
2729 * text.C (breakParagraph): adjust
2730 (insertChar): adjust
2733 * rowpainter.C (RowPainter): adjust
2734 (leftMargin): simplify and adjust
2735 (most rowpainter functions): adjust.
2737 * rowpainter.h: store the row as RowList::iterator not as Row*
2739 * lyxcursor.C (row): taka RowList::iterator as arg
2742 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2745 2003-04-01 Angus Leeming <leeming@lyx.org>
2747 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2748 stuff like bool Bool.
2750 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2752 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2755 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2757 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2760 * lyxtext.h (rows): drop one version and leve a const variant that
2761 returns a RowList::iterator.
2763 2003-03-31 Angus Leeming <leeming@lyx.org>
2765 * text.C (fill): ensure that the signature is the same as that in the
2768 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2770 * text2.C (redoParagraphs): adjust
2771 (updateCounters): adjust
2772 (checkParagraph): adjust
2773 (getColumnNearX): adjust and reformat a bit.
2775 * text.C (top_y): adjust
2777 (leftMargin): adjust
2778 (prepareToPrint): adjust
2780 (getRowNearY): adjust
2782 * lyxtext.h: make rowlist_ mutable.
2784 * RowList.h: add const_iterator
2785 * RowList.C: adjust for RowList::const_iterator.
2787 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2790 2003-03-31 John Levon <levon@movementarian.org>
2793 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2795 * lyx_main.C: set default fonts from using lyx_gui funcs
2797 * exporter.C: pdf_mode moved from lyxrc
2800 * lyxfunc.C: changes from above
2802 2003-03-31 John Levon <levon@movementarian.org>
2804 * lyx_main.C: fix to the last fix
2806 2003-03-31 John Levon <levon@movementarian.org>
2808 * bufferlist.C: "Load original" -> "Load Original"
2814 * format.C: more Alert cleanups
2816 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2818 * text2.C (removeParagraph): make it take a RowList::iterator as
2820 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2821 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2823 * text.C (anchor_row): make it take a RowList::iterator as arg,
2825 (computeBidiTables): make it take a const reference to Row instead
2826 of Row pointer, adjust.
2827 (leftMargin): make it take a RowList::iterator as arg, adjust.
2828 (rowBreakPoint): adjust
2829 (breakAgainOneRow): make it take a RowList::iterator as arg,
2831 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2833 * bufferview_funcs.C (toggleAndShow): adjust
2835 2003-03-30 John Levon <levon@movementarian.org>
2839 * boost-inst.C: moved to support
2841 * several files: changes as a result
2843 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2845 * text2.C (LyXText): adjust.
2847 (removeRow): make it take a RowList::iterator as arg, adjust.
2848 (fullRebreak): adjust
2849 (deleteEmptyParagraphMechanism): adjust
2850 (clearPaint): adjust
2853 * text.C (top_y): adjust
2854 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2855 (breakAgain): make it take a RowList::iterator as arg, adjust.
2856 (breakParagraph): adjust
2857 (insertChar): adjust
2860 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2861 need_break_row, and refresh_row.
2863 * text3.C (dispatch): adjust
2865 * text2.C (checkParagraph): adjust
2867 (setCursorFromCoordinates): adjust
2869 * text.C (top_y): adjust
2871 (getRow): make it return a RowList::iterator, adjust
2872 (getRowNearY): make it return a RowList::iterator, adjust
2874 * text2.C (init): adjust
2875 (insertRow): remove function
2876 (insertParagraph): adjust
2877 (redoParagraphs): adjust
2878 (fullRebreak): adjust
2879 (updateCounters): adjust
2881 * text.C (top_y): rewrite to use RowList iterators.
2883 (setHeightOfRow): rewrite to sue RowList iterators.
2884 (appendParagraph): adjust
2885 (breakAgain): adjust
2886 (breakAgainOneRow): adjust
2887 (breakParagraph): adjust
2889 (getRowNearY): adjust, and remove commented code.
2891 * lyxtext.h (firstRow): delete function
2892 (lastRow): delete function
2893 (rows): new function (const and non-const versions.)
2894 (insertRow): delete function
2896 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2898 2003-03-29 John Levon <levon@movementarian.org>
2900 * BufferView_pimpl.C: always update scrollbar top
2901 because pasting text when we're anchored could mean we
2902 miss an update altogether
2904 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2906 * text2.C (init): use rowlist_.end() and not 0.
2907 (insertRow): change to take a RowList::iterator as arg, adjust
2909 (insertParagraph): change to take a RowList::iterator as arg,
2911 (redoParagraphs): remove some debug msgs.
2913 * text.C (appendParagraph): change to take a RowList::iterator
2914 arg, adjust for this.
2915 (breakAgain): add an assert
2916 (breakAgainOneRow): ditto
2918 2003-03-29 John Levon <levon@movementarian.org>
2920 * text2.C: do not clear selection after inc/decDepth
2923 2003-03-29 John Levon <levon@movementarian.org>
2926 * buffer.C: fix broken strerrors according to Lars
2928 2003-03-29 John Levon <levon@movementarian.org>
2930 * converters.C: more Alert cleanups
2932 2003-03-29 John Levon <levon@movementarian.org>
2934 * bufferview_funcs.C: remove pointless Alert
2936 * buffer.C: fix confusing error message when
2937 a template is chmoded 000
2939 2003-03-29 John Levon <levon@movementarian.org>
2943 * BufferView_pimpl.C: Alert fixes
2947 * tabular-old.C: remove unused table compat reading
2949 2003-03-29 John Levon <levon@movementarian.org>
2954 * lyx_cb.C: more Alert cleanups
2956 * lyxfunc.C: don't allow chktex if not latex document
2958 2003-03-29 John Levon <levon@movementarian.org>
2962 * buffer.C: warnings pushed down from support/,
2965 2003-03-29 John Levon <levon@movementarian.org>
2967 * lyxfunc.C: safety check for C-r (revert)
2969 2003-03-29 John Levon <levon@movementarian.org>
2972 * bufferlist.C: several UI fixes using Alert::prompt.
2973 Fix the pointless looping quit code. Fix stupid revert
2978 * lyx_cb.C: use Alert::prompt
2980 * lyx_main.C: remove a silly question
2982 * lyxfunc.C: remove a couple of silly questions,
2985 2003-03-28 John Levon <levon@movementarian.org>
2987 * text2.C: fix bug 974 (End on empty par)
2989 2003-03-28 John Levon <levon@movementarian.org>
2991 * BufferView_pimpl.C:
2993 * lfuns.h: remove do-nothing math greek lfuns
2995 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2997 * lyxgluelength.h (isValidGlueLength): add default arg on
2998 parameter 2. Remove default arg from friend in class.
3000 * lyxlength.h (isValidLength): add default arg on parameter 2.
3001 Remove default arg from friend in class.
3003 * text2.C (LyXText): adjust, initialize refresh_row.
3007 (insertParagraph): adjst
3008 (redoParagraphs): adjust
3009 (fullRebreak): adjust
3010 (updateCounters): adjust
3011 (deleteEmptyParagraphMechanism): first attempt at fixing a
3014 * text.C (top_y): adjust
3015 (setHeightOfRow): adjust
3017 (getRowNearY): adjust
3019 * lyxtext.h: include RowList.h
3020 (~LyXText): not needed anymore, deleted.
3021 (firstRow): modify for RowList
3022 (lastRow): new function
3023 Delete firstrow and lastrow class variables, add a Rowlist
3024 rowlist_ class variable.
3026 * lyxrow.C (lastPos): use empty() and not !size() to check if a
3029 * RowList.C (insert): fix case where it == begin().
3031 2003-03-26 Angus Leeming <leeming@lyx.org>
3033 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3034 the thesaurus dialog.
3036 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3038 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3040 * RowList.[Ch]: new files
3042 * ParagraphList.C (erase): handle the case where it == begin
3045 2003-03-25 John Levon <levon@movementarian.org>
3049 * aspell.C: add new aspell support
3052 * lyxrc.C: Make use_pspell be use_spell_lib. Always
3055 2003-03-25 Angus Leeming <leeming@lyx.org>
3058 * LyXAction.C (init): new LFUN_INSET_INSERT.
3060 * BufferView_pimpl.C (dispatch): split out part of the
3061 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3063 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3066 2003-03-25 Angus Leeming <leeming@lyx.org>
3068 * lyxfunc.C (dispatch): changes to the Dialogs interface.
3070 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
3073 * text3.C: remove useless row->height(0)
3075 2003-03-25 John Levon <levon@movementarian.org>
3079 * text3.C: rename the refreshing stuff to better names
3081 2003-03-24 John Levon <levon@movementarian.org>
3083 * BufferView_pimpl.h:
3084 * BufferView_pimpl.C: update layout choice on a mouse
3087 2003-03-23 John Levon <levon@movementarian.org>
3089 * Makefile.am: fix commandtags.h reference
3091 2003-03-22 John Levon <levon@movementarian.org>
3093 * BufferView_pimpl.C:
3098 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3100 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
3103 * text.C: take the rtl methods out of line
3105 2003-03-21 André Pönitz <poenitz@gmx.net>
3107 * metricsinfo.[Ch]: new files containing structures to be passed around
3108 during the two-phase-drawing...
3110 2003-03-21 André Pönitz <poenitz@gmx.net>
3112 * lyxtextclass.C: read 'environment' tag.
3114 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
3116 * text2.C (removeRow): fix bug 964
3118 2003-03-20 John Levon <levon@movementarian.org>
3122 * text2.C: paint cleanups. Inset::update() dropped font
3125 2003-03-19 John Levon <levon@movementarian.org>
3127 * lyxfunc.C: only fitcursor/markDirty if available()
3129 2003-03-19 John Levon <levon@movementarian.org>
3131 * commandtags.h: rename to ...
3133 * lfuns.h: ... this, and renumber / cleanup
3135 2003-03-19 John Levon <levon@movementarian.org>
3137 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3138 fit the cursor after an lfun
3142 * BufferView_pimpl.h:
3143 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3145 * LyXAction.C: layout-character should have ReadOnly
3147 * ParagraphParameters.C:
3149 * bufferview_funcs.C:
3156 * undo_funcs.C: changes from above
3158 2003-03-18 John Levon <levon@movementarian.org>
3160 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3161 remove it from update()
3163 * lyxfunc.C: update layout choice after an lfun
3165 * text3.C: remove extra updateLayoutChoice()s
3167 2003-03-18 John Levon <levon@movementarian.org>
3169 * text.C: top_y change means full repaint, fix
3170 a drawing bug with cursor movement
3172 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3176 * text2.C: anchor row on setCursor
3178 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3180 * lyxtext.h: remove almost all mutable keywords
3183 * text3.C: remove const keywords accordingly
3185 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3187 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3189 (TeXEnvironment): ditto
3192 2003-03-17 John Levon <levon@movementarian.org>
3194 * text.C (rowBreakPoint): remove attempt to fix displayed
3195 math insets inside a manual label
3197 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3199 * lyxtext.h: remove BufferView* as first arg from almost all class
3201 * other files: adjust.
3203 2003-03-17 John Levon <levon@movementarian.org>
3207 * text2.C: more paint cleanups
3209 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3212 * rowpainter.C: remove "smart" background painting code
3214 2003-03-16 John Levon <levon@movementarian.org>
3219 * text3.C: add helper functions for setting refresh_row/y
3221 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3223 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3224 newline inset which *can* get inserted in the pass_thru layouts.
3225 This is primarily for literate documents.
3227 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3229 * buffer.C: increment LYX_FORMAT to 223
3231 2003-03-14 André Pönitz <poenitz@gmx.net>
3233 * textclass.h: prepare for environment handling, ws changes
3234 * lyxlayout.C: read latexheader and latexfooter tags
3236 2003-03-14 John Levon <levon@movementarian.org>
3238 * text2.C: rewrite ::status() a bit
3240 2003-03-13 John Levon <levon@movementarian.org>
3242 * lyxtext.h: add some docs
3244 2003-03-13 John Levon <levon@movementarian.org>
3249 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3251 2003-03-13 John Levon <levon@movementarian.org>
3253 * text3.C: fix appendix redrawing
3255 2003-03-13 John Levon <levon@movementarian.org>
3257 * text.C (setHeightOfRow):
3259 * rowpainter.C: make appendix mark have the text
3260 "Appendix" so the user knows what it is
3263 * LColor.C: s/appendixline/appendix/ from above
3265 2003-03-13 John Levon <levon@movementarian.org>
3267 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3269 * text.C: fix a getChar(pos) bug properly
3271 2003-03-13 Angus Leeming <leeming@lyx.org>
3274 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3275 Probably only temporary. Let's see how things pan out.
3277 * BufferView.C (unlockInset):
3278 * BufferView_pimpl.C (fitCursor):
3279 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3281 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3282 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3284 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3285 new functions that convert ParagraphParameters to and from a string.
3287 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3288 BufferView::Pimpl's dispatch.
3289 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3291 2003-03-13 André Pönitz <poenitz@gmx.net>
3295 * factory.C: make it aware of InsetEnv
3297 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3299 * text2.C (setCursor): never ask for one past last
3300 (setCursor): add some debugging messages.
3302 * text.C (singleWidth): never ask for one past last
3303 (singleWidth): ditto
3305 (rightMargin): ditto
3306 (rowBreakPoint): ditto
3307 (setHeightOfRow): ditto
3308 (prepareToPrint): ditto
3310 * rowpainter.C (paintBackground): never ask for one past last
3311 (paintText): never ask for one past last
3313 * paragraph_pimpl.C (getChar): make the assert stricter, never
3314 allow the one past last pos to be taken
3316 * paragraph.C (getChar): ws changes only
3318 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3319 (numberOfSeparators): ditto
3320 (numberOfHfills): ditto
3322 2003-03-12 John Levon <levon@movementarian.org>
3328 * paragraph_funcs.C: fix per-buffer authorlists
3330 2003-03-12 John Levon <levon@movementarian.org>
3332 * text.C: fix newline in right address
3334 2003-03-12 Angus Leeming <leeming@lyx.org>
3336 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3337 duplicate those in LyXFunc::dispatch.
3341 * ToolbarDefaults.C:
3342 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3343 Add LFUN_FONTFREE_UPDATE.
3345 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3346 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3348 * bufferview_func.[Ch]: several new functions to facilliate
3349 transfer of data to and from the character dialog.
3351 2003-03-12 John Levon <levon@movementarian.org>
3356 * paragraph_funcs.C:
3357 * paragraph_pimpl.C:
3361 * text3.C: remove META_NEWLINE in favour of an inset
3364 * rowpainter.C: remove paintNewline (done by inset)
3366 2003-03-12 John Levon <levon@movementarian.org>
3368 * paragraph_pimpl.C: complain about bad getChar()s
3369 for a while at least
3371 2003-03-12 John Levon <levon@movementarian.org>
3374 * buffer.C: move paragraph read into a separate function,
3375 a little renaming to reflect that.
3378 * bufferparams.C: remove the author_ids map, not necessary now
3381 * factory.C: moved Buffer::readInset to here
3383 * paragraph_funcs.h:
3384 * paragraph_funcs.C: readParagraph free function moved from
3387 * tabular.C: name change
3389 2003-03-12 John Levon <levon@movementarian.org>
3392 * ParagraphParameters.C: move par params input to
3395 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3396 behave like a normal read from the stream wrt reading
3397 a line vs. a \\token
3399 2003-03-12 John Levon <levon@movementarian.org>
3402 * ParagraphParameters.h:
3403 * ParagraphParameters.C: move output code to a
3406 2003-03-12 John Levon <levon@movementarian.org>
3408 * BufferView.C (insertLyXFile):
3411 * tabular.C: use a parlist iterator for creating the
3414 2003-03-12 John Levon <levon@movementarian.org>
3416 * buffer.C: make current_change static local not
3419 2003-03-12 John Levon <levon@movementarian.org>
3421 * buffer.C: fix insertStringAsLines for change tracking
3423 2003-03-12 John Levon <levon@movementarian.org>
3430 * bufferparams.C: move author list into params. Rename some
3431 functions. Move the header reading into a separate token
3432 loop. Move the header token reading into BufferParams.
3434 2003-03-12 John Levon <levon@movementarian.org>
3436 * changes.C: put debug inside lyxerr.debugging() checks
3438 2003-03-11 André Pönitz <poenitz@gmx.net>
3440 * factory.C: make it aware of InsetHFill
3442 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3444 * buffer.C (latexParagraphs): move function from here...
3445 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3448 2003-03-10 Angus Leeming <leeming@lyx.org>
3450 * LyXAction.C (init): fix bug in poplating array with multiple entries
3451 with the same LFUN (spotted by JMarc).
3453 2003-03-10 John Levon <levon@movementarian.org>
3456 * text2.C: move getColumnNearX() near its
3459 2003-03-10 John Levon <levon@movementarian.org>
3461 * text.C: fix break before a minipage
3463 2003-03-10 John Levon <levon@movementarian.org>
3465 * text.C: fix the last commit
3467 2003-03-09 John Levon <levon@movementarian.org>
3471 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3472 bug 365 (don't break before insets unless needed). Don't
3473 return a value > last under any circumstances.
3475 2003-03-09 Angus Leeming <leeming@lyx.org>
3477 * BufferView_pimpl.C (trackChanges, dispatch): call
3478 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3480 2003-03-09 Angus Leeming <leeming@lyx.org>
3482 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3483 than Dialogs::showAboutlyx().
3485 2003-03-09 Angus Leeming <leeming@lyx.org>
3487 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3488 than Dialogs::showTabularCreate().
3490 2003-03-09 John Levon <levon@movementarian.org>
3494 * text2.C: 3rd arg to nextBreakPoint was always the same.
3497 2003-03-08 John Levon <levon@movementarian.org>
3504 * text2.C: Remove the "main" bit from the "main body"
3507 2003-03-08 John Levon <levon@movementarian.org>
3509 * text.C (leftMargin): The left margin of an empty
3510 manual label paragraph should not include the label width
3513 * text.C (prepareToPrint): don't attempt to measure hfills
3514 for empty manual label paragraphs - the answer should be 0
3516 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3518 * CutAndPaste.C: remove commented code and reindent.
3520 2003-03-08 John Levon <levon@movementarian.org>
3523 * lyxfunc.C: move reloadBuffer()
3526 * BufferView.C: to here
3528 * lyxvc.C: add comment
3531 * vc-backend.C: call bv->reload() to avoid
3532 getStatus() check on MENURELOAD
3534 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3536 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3537 to an old format .dep file.
3539 2003-03-07 Angus Leeming <leeming@lyx.org>
3541 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3542 when the LFUN_MOUSE_RELEASE should have been handled by
3543 inset->localDispatch.
3545 2003-03-07 Angus Leeming <leeming@lyx.org>
3547 * BufferView_pimpl.C (dispatch):
3548 * LyXAction.C (init):
3549 * ToolbarDefaults.C (init):
3551 * lyxfunc.C (getStatus):
3552 remove LFUN_INSET_GRAPHICS.
3554 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3556 2003-03-07 Angus Leeming <leeming@lyx.org>
3559 * LyXAction.C (init):
3560 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3562 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3565 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3567 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3568 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3570 2003-03-07 Angus Leeming <leeming@lyx.org>
3572 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3575 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3577 * ParagraphList.C (front): new function
3580 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3582 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3583 and top_row_offset_. removed var first_y.
3585 * text2.C (LyXText, removeRow):
3587 * BufferView_pimpl.C:
3588 use these methods instead of using first_y
3590 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3592 * text2.C (pasteSelection): adjust for checkPastePossible
3594 * CutAndPaste.C: remove Paragraph * buf and replace with
3595 ParagraphList paragraphs.
3596 (DeleteBuffer): delete
3597 (cutSelection): change the tc type to textclass_type
3598 (copySelection): change the tc type to textclass_type
3599 (copySelection): adjust for ParagraphList
3600 (pasteSelection): change the tc type to textclass_type
3601 (pasteSelection): adjust for Paragraphlist
3602 (nrOfParagraphs): simplify for ParagraphList
3603 (checkPastePossible): simplify for ParagraphList
3604 (checkPastePossible): remove unused arg
3606 * ParagraphList.C (insert): handle the case where there are no
3609 * CutAndPaste.h: make CutAndPaste a namespace.
3611 * text3.C (dispatch): adjust
3613 * text.C (breakParagraph): add a ParagraphList as arg
3615 * paragraph_funcs.C (breakParagraph): change to take a
3616 BufferParams and a ParagraphList as args.
3617 (breakParagraphConservative): ditto
3618 (mergeParagraph): ditto
3619 (TeXDeeper): add a ParagraphList arg
3620 (TeXEnvironment): ditto
3623 * buffer.C (readLyXformat2): adjust
3624 (insertStringAsLines): adjust
3625 (latexParagraphs): adjust
3627 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3628 (cutSelection): adjust
3629 (pasteSelection): adjust
3631 * BufferView_pimpl.C (insertInset): adjust
3633 2003-03-05 Angus Leeming <leeming@lyx.org>
3636 * LyXAction.C (init):
3637 * BufferView_pimpl.C (dispatch):
3638 * lyxfunc.C (getStatus):
3639 remove LFUN_CHILD_INSERT.
3641 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3643 2003-03-05 Angus Leeming <leeming@lyx.org>
3646 * LyXAction.C (init):
3647 * src/factory.C (createInset):
3648 * lyxfunc.C (getStatus):
3649 * text3.C (dispatch):
3650 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3652 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3654 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3656 * ParagraphList.C (insert): handle insert right before end()
3657 (erase): fix cases where it can be first or last paragraph.
3659 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3661 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3662 Paragraph::next and Paragraph::previous
3665 * text.C (breakParagraph): adjust
3667 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3668 BufferParams& as arg.
3669 (breakParagraph): use ParagraphList::insert
3670 (breakParagraphConservative): take a Buffer* instead of a
3671 BufferParams& as arg.
3672 (breakParagraphConservative): use ParagraphList::insert.
3674 * buffer.C (insertStringAsLines): un-const it
3675 (insertStringAsLines): adjust
3677 * ParagraphList.C (insert): new function
3679 * CutAndPaste.C (pasteSelection): adjust
3681 * text.C (backspace): adjust
3683 * tabular.C (SetMultiColumn): adjust
3685 * CutAndPaste.C (cutSelection): adjust
3686 (pasteSelection): adjust
3688 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3689 Buffer const * as arg
3691 * ParagraphList.C (erase): new function
3692 * paragraph_funcs.C (mergeParagraph): use it
3693 (mergeParagraph): make it take a Buffer* instead of a
3694 BufferParams* as arg
3696 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3698 (breakParagraphConservative): ditto
3700 * paragraph.h: remove the breakParagraph friend
3702 * paragraph.C (eraseIntern): new function
3703 (setChange): new function
3705 * paragraph_funcs.C (mergeParagraph): make it take a
3706 ParagraphList::iterator instead of a Paragraph *, adjust
3709 * paragraph.h: move an #endif so that the change tracking stuff
3710 also works in the NO_NEXT case.
3712 2003-03-04 Angus Leeming <leeming@lyx.org>
3715 * LyXAction.C: new LFUN_INSET_MODIFY.
3717 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3718 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3720 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3722 * several files: ws changes only
3724 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3725 (TeXEnvironment): ditto
3728 * buffer.C (makeLaTeXFile): adjust
3729 (latexParagraphs): make it take ParagraphList::iterator as args
3731 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3733 * buffer.C (latexParagraphs): adjust
3735 * paragraph.C (TeXOnePar): move function...
3736 (optArgInset): move function...
3737 (TeXEnvironment): move function...
3738 * paragraph_pimpl.C (TeXDeeper): move function...
3739 * paragraph_funcs.C: ...here
3741 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3743 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3745 * buffer.C (readInset): remove compability code for old Figure and
3748 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3750 * buffer.C: ws changes
3753 * BufferView_pimpl.C: ditto
3756 * bufferlist.h: ditto
3760 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3762 * converter.[Ch]: split into itself +
3765 * Makefile.am: += graph.[Ch] + format.[Ch]
3772 * lyxrc.C: added #include "format.h"
3774 2003-02-27 Angus Leeming <leeming@lyx.org>
3776 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3779 * factory.C (createInset): add "label" to the factory.
3781 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3782 string and do no more.
3784 2003-02-27 Angus Leeming <leeming@lyx.org>
3787 * LyXAction.C (init):
3788 * factory.C (createInset):
3789 * BufferView_pimpl.C (dispatch):
3790 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3792 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3794 * lyxfunc.C (dispatch):
3795 * text3.C (dispatch): pass name to params2string.
3797 2003-02-26 Angus Leeming <leeming@lyx.org>
3799 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3801 Rearrange the ~includes. Strip out the unnecessary ones.
3803 * factory.C (createInset): reformat.
3804 create new insets for the various LFUN_XYZ_APPLY lfuns.
3806 2003-02-26 John Levon <levon@movementarian.org>
3809 * lyxrow.C: add isParStart,isParEnd helpers
3811 * paragraph.h: make isInserted/DeletedText take refs
3813 * paragraph_funcs.h:
3814 * paragraph_funcs.C: remove #if 0'd code
3819 * text.C: use lyxrow helpers above.
3820 Move draw and paint routines to RowPainter.
3821 Make several methods use refs not pointers.
3822 Make backgroundColor() const.
3823 Add markChangeInDraw(), isInInset().
3824 Merge changeRegionCase into changeCase.
3825 Make workWidth() shouldn't-happen code into an Assert.
3828 * rowpainter.C: new class for painting a row.
3831 * vspace.C: make inPixels take a ref
3833 2003-02-26 Angus Leeming <leeming@lyx.org>
3835 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3838 2003-02-25 John Levon <levon@movementarian.org>
3840 * ispell.C: give the forked command a more accurate name
3842 2003-02-22 John Levon <levon@movementarian.org>
3845 * toc.C: make TocItem store an id not a Paragraph *
3848 2003-02-21 Angus Leeming <leeming@lyx.org>
3850 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3851 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3852 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3853 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3854 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3855 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3857 * BufferView_pimpl.C (dispatch):
3858 * LyXAction.C (init):
3859 * factory.C (createInset):
3860 * lyxfunc.C (getStatus, dispatch):
3861 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3863 2003-02-21 Angus Leeming <leeming@lyx.org>
3865 * BufferView_pimpl.C (MenuInsertLyXFile):
3866 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3867 * lyxfunc.C (menuNew, open, doImport):
3868 no longer pass a LyXView & to fileDlg.
3870 2003-02-21 Angus Leeming <leeming@lyx.org>
3872 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3873 * LyXAction.C: change, BIBKEY to BIBITEM.
3874 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3875 Change InsetBibKey to InsetBibitem.
3876 Change BIBKEY_CODE to BIBITEM_CODE.
3877 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3878 * factory.C: replace insetbib.h with insetbibitem.h.
3879 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3880 * paragraph.C: replace insetbib.h with insetbibitem.h.
3881 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3882 Change bibkey() to bibitem().
3883 * text.C: remove insetbib.h.
3884 * text2.C: replace insetbib.h with insetbibitem.h.
3885 change bibkey() to bibitem().
3886 * text3.C: remove insetbib.h.
3887 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3889 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3891 * lyxrc.C (output): enclose user email in quotes (in case there are
3894 2003-02-18 John Levon <levon@movementarian.org>
3896 * buffer.h: add std::
3898 2003-02-17 John Levon <levon@movementarian.org>
3904 * pspell.C: reworking. Especially in ispell, a large
3905 number of clean ups and bug fixes.
3907 * lyxfunc.C: fix revert to behave sensibly
3909 2003-02-17 André Pönitz <poenitz@gmx.net>
3912 * commandtags.h: new LFUN_INSERT_BIBKEY
3922 * paragraph_func.C: remove special bibkey handling
3924 2003-02-17 John Levon <levon@movementarian.org>
3926 * text.C (Delete): fix case where delete at the end of
3927 the very first paragraph would not merge the pars
3929 2003-02-17 John Levon <levon@movementarian.org>
3931 * lyxrow.C: fix lastPrintablePos()
3933 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3935 * bufferparams.C (writeLaTeX): add a std:here
3937 * buffer.C: and remove a using directive there
3939 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3941 * buffer.C (makeLaTeXFile): move the code that generates the
3944 * bufferparams.C (writeLaTeX): ... in this new method
3946 * LaTeXFeatures.C (getEncodingSet): make const
3947 (getLanguages): make const
3949 * MenuBackend.C (binding): returns the binding associated to this
3951 (add): sets the status of each item by calling getStatus. Adds
3953 (read): add support for OptSubMenu
3954 (expand): remove extra separator at the end of expanded menu
3956 2003-02-15 John Levon <levon@movementarian.org>
3959 * BufferView_pimpl.C:
3961 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3962 inset code that had no actual effect. Remove unneeded status
3965 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3967 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3970 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3972 * text.C (drawLengthMarker): also draw an arrow marker for
3973 symbolic lengths (medskip...)
3975 2003-02-14 John Levon <levon@movementarian.org>
3978 * tabular.C: better method names
3980 2003-02-14 John Levon <levon@movementarian.org>
3982 * BufferView_pimpl.C:
3987 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3988 it's a more accurate name. Remove some pointless uses.
3990 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3992 * text2.C (LyXText): change order of initilizers to shut off
3995 2003-02-14 John Levon <levon@movementarian.org>
3997 * buffer.C: use ParIterator for getParFromID()
4001 * paragraph_pimpl.h:
4002 * paragraph_pimpl.C: remove unused getParFromID()
4004 2003-02-14 John Levon <levon@movementarian.org>
4006 * buffer.C: remove some very old #if 0'd parse code
4008 2003-02-13 John Levon <levon@movementarian.org>
4012 * text2.C: move hfillExpansion(), numberOfSeparators(),
4013 rowLast(), rowLastPrintable(), numberofHfills(),
4014 numberOfLabelHfills() ...
4017 * lyxrow.C: ... to member functions here.
4022 * text.C: remove LyXText::beginningOfMainBody(), and call
4023 p->beginningOfMainBody() directly. Move the check for
4024 LABEL_MANUAL into the latter.
4031 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4037 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4038 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4040 2003-02-13 John Levon <levon@movementarian.org>
4042 * CutAndPaste.C: remove debug
4044 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4046 * paragraph.C (asString): remove two unused variables
4048 * lyxtextclass.C (readTitleType):
4050 (LyXTextClass): handle new members titletype_ and titlename_
4052 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4054 2003-02-09 John Levon <levon@movementarian.org>
4057 * buffer.C: replace hand-coded list with a map for the dep clean
4059 2003-02-08 John Levon <levon@movementarian.org>
4061 * LaTeX.C: consolidate code into showRunMessage() helper
4063 2003-02-08 John Levon <levon@movementarian.org>
4068 * BufferView.C: change setSelectionOverString() to setSelectionRange()
4069 and pass the size in explicitly
4071 * BufferView_pimpl.h:
4072 * BufferView_pimpl.C:
4074 * BufferView.C: add getCurrentChange()
4076 * BufferView_pimpl.h:
4077 * BufferView_pimpl.C: handle change lfuns
4079 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4080 for changes. Mark pasted paragraphs as new.
4082 * support/lyxtime.h:
4083 * support/lyxtime.C:
4084 * DepTable.C: abstract time_t as lyx::time_type
4087 * LColor.C: add colours for new text, deleted text, changebars
4089 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4090 package use "usenames" option.
4094 * LyXAction.C: add change lfuns
4098 * author.C: author handling
4101 * buffer.C: add a per-buffer author list, with first entry as
4102 current author. Handle new .lyx tokens for change tracking. Output
4103 author list to .lyx file. Output dvipost stuff to .tex preamble.
4104 Bump lyx format to 222.
4107 * bufferlist.C: add setCurrentAuthor() to reset current author details
4111 * bufferparams.C: add param for tracking
4113 * bufferview_funcs.C: output change info in minibuffer
4117 * changes.C: add change-tracking structure
4120 * debug.C: add CHANGES debug flag
4123 * lyxfind.C: add code for finding the next change piece
4126 * lyxrc.C: add user_name and user_email
4129 * lyxrow.C: add a metric for the top of the text line
4132 * text.C: implement accept/rejectChange()
4135 * text.C: paint changebars. Paint new/deleted text in the chosen
4136 colours. Strike through deleted text.
4140 * paragraph_pimpl.h:
4141 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4142 in the current change to the insert functions. Rework erase to
4143 mark text as deleted, adding an eraseIntern() and a range-based
4144 erase(). Implement per-paragraph change lookup and
4147 * paragraph_funcs.C: Fixup paste for change tracking.
4149 * tabular.C: mark added row/columns as new.
4151 * text.C: fix rowLast() to never return -1. Don't allow
4152 spellchecking of deleted text. Track transpose changes. Don't
4153 allow paragraph break or merge where appropriate.
4155 * text2.C: leave cursor at end of selection after a cut.
4157 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4159 * text.C (getLengthMarkerHeight):
4160 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4161 visible on screen too.
4163 2003-02-07 John Levon <levon@movementarian.org>
4165 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4167 2003-02-05 Angus Leeming <leeming@lyx.org>
4169 * lyxserver.C (read_ready): revert my patch of 11 September last year
4170 as it sends PC cpu through the roof. Presumably this means that
4171 the lyxserver will no longer run on an Alpha...
4173 2003-01-30 Angus Leeming <leeming@lyx.org>
4175 * factory.C (createInset): create an InsetCommandParam of type "index"
4176 and use it to 'do the right thing'.
4178 * text2.C (getStringToIndex): ensure that cursor position is always
4179 reset to the reset_cursor position.
4181 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4183 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4186 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4190 * lyxfunc.C: Output messages with identical spelling, punctuation,
4193 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4195 * MenuBackend.C (expandFormats): List only viewable export formats
4198 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4201 * lyxfunc.C (getStatus): Make sure that formats other than
4202 "fax" can also be disabled
4204 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4206 * text3.C (dispatch): put the lfuns that insert insets in 3
4207 groups, and call doInsertInset with appropriate arguments.
4208 (doInsertInset): new function, that creates an inset and inserts
4209 it according to some boolean parameters.
4211 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4213 * buffer.C (readFile): remember to pass on 'par' when calling
4214 readFile recursively.
4216 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4218 * MenuBackend.C (expandFormats): add "..." to import formats.
4220 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4222 * paragraph.C (asString): Remove XForms RTL hacks.
4224 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4225 * buffer.C: fix typo
4227 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4229 * Makefile.am (LIBS): delete var
4230 (lyx_LDADD): add @LIBS@ here instead.
4232 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4234 * Clarify the meaning of "wheel mouse jump"
4236 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4238 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4241 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4243 * importer.C (Loaders): do not preallocate 3 elements in the
4244 vector, since one ends up with 6 elements otherwise
4246 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4248 * DepTable.C (write): write the file name as last element of the
4249 .dep file (because it may contain spaces)
4250 (read): read info in the right order
4252 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4254 * paragraph_pimpl.C (simpleTeXBlanks):
4255 (simpleTeXSpecialChars):
4256 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4258 * tabular.C (latex): add some missing case statements. Reindent.
4260 * MenuBackend.C (expandToc): remove unused variable.
4262 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4271 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4274 2003-01-05 John Levon <levon@movementarian.org>
4277 * BufferView.C: add getEncoding()
4280 * kbsequence.C: do not store last keypress
4283 * lyxfunc.C: store last keypress here instead. Pass encoding
4286 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4288 * lyx_main.C (init): remove annoying error message when following
4289 symbolic links (bug #780)
4291 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4293 * text.C (insertChar):
4294 * lyxrc.C (getDescription): remove extra spaces
4296 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4298 * lyxrc.C (getDescription): remove extra spaces
4300 2002-12-20 John Levon <levon@movementarian.org>
4302 * text3.C: hack fix for page up/down across tall rows
4304 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4306 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4309 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4311 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4312 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4313 thesaurus is not compiled in
4315 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4317 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4319 2002-12-16 Angus Leeming <leeming@lyx.org>
4322 * lyx_main.C (init): remove override_x_deadkeys stuff.
4324 2002-12-12 John Levon <levon@movementarian.org>
4326 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4327 insert. Only remove shift modifier under strict
4330 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4332 * MenuBackend.C (expandToc): fix crash.
4334 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4336 * MenuBackend.C (expandToc): gettext on float names.
4338 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4340 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4341 implement bool empty() [bug 490]
4343 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4345 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4347 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4349 * several files: ws changes
4351 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4353 * text2.C (setCounter): clean up a bit, use boost.format.
4354 (updateCounters): initialize par upon declaration.
4356 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4357 if the layout exists. We do not just store the layout any more.
4358 (SwitchLayoutsBetweenClasses): use boost.format
4360 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4362 * converter.C (convert): if from and to files are the same, use a
4363 temporary files as intermediary
4365 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4368 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4370 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4372 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4374 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4376 * tabular.C (asciiPrintCell): use string(size, char) instead of
4379 * sgml.C (openTag): fix order of arguments to string constructor
4382 * lyxfunc.C (dispatch): use boost.format
4384 * lots of files: change "c" -> 'c'
4386 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4388 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4390 2002-11-25 Angus Leeming <leeming@lyx.org>
4392 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4394 * lyx_main.C (init): compile fix.
4396 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4398 * lyx_cb.C (start): boost.formatify
4399 do not include <iostream>
4401 * lengthcommon.C: ws only
4403 * boost-inst.C,BoostFormat.h: add more explict instantations
4405 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4407 * lots of files: handle USE_BOOST_FORMAT
4409 2002-11-21 John Levon <levon@movementarian.org>
4411 * pspell.C: fix compile
4413 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4415 * lyxfunc.C (dispatch): use boost::format
4419 * lyxfont.C (stateText): use boost::format
4421 * lyx_main.C (LyX): use boost::format
4423 (queryUserLyXDir): ditto
4426 (typedef boost::function): use the recommened syntax.
4428 * importer.C (Import): use boost::format
4430 * debug.C (showLevel): use boost::format
4432 * converter.C (view): use boost::format
4437 * bufferview_funcs.C (currentState): use boost::format
4439 * bufferlist.C (emergencyWrite): use boost::format
4441 * buffer.C (readLyXformat2): use boost::format
4442 (parseSingleLyXformat2Token): ditto
4444 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4446 * LaTeX.C (run): use boost::format
4448 * Chktex.C (scanLogFile): use boost::format
4450 * BufferView_pimpl.C (savePosition): use boost::format
4451 (restorePosition): ditto
4452 (MenuInsertLyXFile): ditto
4454 * BoostFormat.h: help file for explicit instation.
4456 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4458 * tabular.C (latex): Support for block alignment in fixed width
4461 2002-11-17 John Levon <levon@movementarian.org>
4463 * BufferView_pimpl.C:
4465 * lyxfunc.C: split filedialog into open/save
4467 2002-11-08 Juergen Vigna <jug@sad.it>
4469 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4470 by my last patch (hopefully).
4472 2002-11-08 John Levon <levon@movementarian.org>
4481 * toc.C: ParConstIterator, and use it (from Lars)
4483 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4485 * lyxtextclass.[Ch]: revise and add doxygen comments
4487 2002-11-07 John Levon <levon@movementarian.org>
4489 * text.C: fix progress value for spellchecker
4491 * toc.C: fix navigate menu for insetwrap inside minipage
4493 * paragraph_funcs.C: added FIXME for suspect code
4495 2002-11-07 John Levon <levon@movementarian.org>
4497 * BufferView_pimpl.C: fix redrawing of insets
4500 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4502 * text2.C (updateCounters): fix bug 668
4504 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4506 * text3.C (dispatch): Do not make the buffer dirty when moving the
4509 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4511 * vc-backend.C: STRCONV
4514 * text2.C (setCounter): STRCONV
4516 * paragraph.C (asString): STRCONV
4518 * lyxlength.C (asString): STRCONV
4519 (asLatexString): ditto
4521 * lyxgluelength.C (asString): STRCONV
4522 (asLatexString): ditto
4524 * lyxfunc.C (dispatch): STRCONV
4527 * lyxfont.C (stateText): STRCONV
4529 * importer.C (Import): STRCONV
4531 * counters.C (labelItem): STRCONV
4532 (numberLabel): ditto
4533 (numberLabel): remove unused ostringstream o
4538 * bufferview_funcs.C (currentState): STRCONV
4540 * buffer.C (readFile): STRCONV
4541 (asciiParagraph): ditto
4542 (makeLaTeXFile): ditto
4544 * Spacing.C (writeEnvirBegin): STRCONV
4546 * LaTeXFeatures.C (getLanguages): STRCONV
4547 (getPackages): ditto
4549 (getBabelOptions): ditto
4550 (getTClassPreamble): ditto
4551 (getLyXSGMLEntities): ditto
4552 (getIncludedFiles): ditto
4556 (scanAuxFile): ditto
4559 * LString.h: add the STRCONV macros
4561 * BufferView_pimpl.C (savePosition): STRCONV
4562 (restorePosition): ditto
4563 (MenuInsertLyXFile): ditto
4565 * vc-backend.C (scanMaster): change from submatch[...] to
4568 * funcrequest.C: include config.h
4570 * factory.C: include config.h
4572 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4574 * box.C: include config.h
4576 * LaTeX.C (scanAuxFile): change from submatch[...] to
4580 2002-10-25 Angus Leeming <leeming@lyx.org>
4582 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4584 * ispell.[Ch] (setError): new method.
4585 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4586 Use setError() insetead of goto END.
4588 * lyx_cb.C (AutoSave): move out child process into new class
4591 2002-10-30 John Levon <levon@movementarian.org>
4593 * text3.C: make start appendix undoable
4595 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4597 * lyxlength.C (inPixels): Fix returned value.
4599 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4602 2002-10-24 Angus Leeming <leeming@lyx.org>
4604 * lyxgluelength.h: no need to forward declare BufferParams
4605 or BufferView, so don't.
4607 2002-10-21 John Levon <levon@movementarian.org>
4609 * BufferView.C: menuUndo ->undo, redo
4611 * BufferView.h: document, remove dead, make some methods private
4613 * paragraph_funcs.h:
4614 * paragraph_funcs.C:
4615 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4620 * sgml.C: move sgml open/close tag into sgml.C
4622 * bufferview_funcs.h: unused prototype
4625 * lyxfunc.C: remove unused
4628 * text.C: remove unused
4630 2002-10-21 John Levon <levon@movementarian.org>
4634 * BufferView_pimpl.h:
4635 * BufferView_pimpl.C: fix mouse wheel handling based on
4636 patch from Darren Freeman
4638 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4640 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4642 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4644 * lyxlength.C (inPixels): Fix hanfling of negative length.
4645 Fix LyXLength::MU case.
4647 2002-10-16 John Levon <levon@movementarian.org>
4649 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4651 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4653 * converter.C (view): add support for $$i (file name) and $$p
4654 (file path) for the viewer command. If $$i is not specified, then
4655 it is appended to the command (for compatibility with old syntax)
4657 2002-10-14 Juergen Vigna <jug@sad.it>
4659 * undo_funcs.C (textHandleUndo): alter the order in which the
4660 new undopar is added to the LyXText, as we have to set first
4661 the right prev/next and then add it as otherwise the rebuild of
4662 LyXText is not correct. Also reset the cursor to the right paragraph,
4663 with this IMO we could remove the hack in "redoParagraphs()".
4665 2002-10-09 Angus Leeming <leeming@lyx.org>
4667 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4668 to turn off an optimisation if a new inset is to be inserted.
4670 2002-10-11 André Pönitz <poenitz@gmx.net>
4672 * lyxtext.h: make some functions public to allow access
4673 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4675 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4677 * text3.C (dispatch): when changing layout, avoid an infinite loop
4680 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4682 * lyxrc.C (read): treat a viewer or converter command of "none" as
4685 * MenuBackend.C (expandFormats): for an update, also allow the
4686 formats that are not viewable
4688 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4689 script if it is newer than the lyxrc.defaults in user directory
4691 2002-10-07 André Pönitz <poenitz@gmx.net>
4693 * text.C: Vitaly Lipatov's small i18n fix
4695 2002-09-25 Angus Leeming <leeming@lyx.org>
4697 * ispell.h: doxygen fix.
4699 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4701 * buffer.h (readFile): Add a new argument to the method, to allow
4702 reading of old-format templates.
4704 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4706 * toc.C (getTocList): Get TOC from InsetWrap.
4708 2002-09-16 John Levon <levon@movementarian.org>
4710 * lyxfunc.C: check tabular for cut/copy too
4712 2002-09-12 John Levon <levon@movementarian.org>
4717 * factory.C: add header
4719 * paragraph_funcs.h:
4720 * paragraph_funcs.C: cleanup
4722 2002-09-11 John Levon <levon@movementarian.org>
4724 * PrinterParams.h: odd/even default to true
4726 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4728 * PrinterParams.h: update printer parameters for new xforms dialog
4730 2002-09-11 Angus Leeming <leeming@lyx.org>
4732 * lyxserver.C (read_ready): re-write to make it more transparent
4733 and to make it work in coherent fashion under Tru64 Unix.
4735 2002-09-11 André Pönitz <poenitz@gmx.net>
4739 * text3.C: implement LFUN_WORDSEL
4741 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4743 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4744 make floatlist_ a boost::shared_ptr<FloatList>
4746 * lyxtextclass.C: include FloatList.h
4747 (LyXTextClass): initialize floatlist_
4748 (TextClassTags): add TC_NOFLOAT
4749 (Read): match "nofloat" to TC_NOFLOAT and use it.
4750 (readFloat): modify call to floatlist_
4754 * FloatList.[Ch] (FloatList): remove commented out float
4756 (erase): new function
4758 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4760 * MenuBackend.C (expandToc): fix crash when there is no document
4763 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4765 * many files: Add insetwrap.
4767 2002-09-09 John Levon <levon@movementarian.org>
4769 * text2.C: remove confusing and awkward depth wraparound
4771 2002-09-09 John Levon <levon@movementarian.org>
4773 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4776 * buffer.C: remove getIncludeonlyList()
4779 * lyxfunc.C: remove headers
4781 2002-09-09 Juergen Vigna <jug@sad.it>
4783 * text.C (getColumnNearX): fix form Michael this is most
4784 probably a cut&paste bug.
4786 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4788 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4790 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4791 references, ws changes.
4793 * text2.C (init): update counters after init
4794 (insertParagraph): no need to set counter on idividual paragraphs.
4795 (setCounter): access the counters object in the textclass object
4796 on in the buffer object.
4797 (updateCounters): ditto
4799 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4800 shared_ptr<Counters> to avoid loading counters.h in all
4802 (LyXTextClass): initialize ctrs_
4803 (TextClassTags): add TC_COUNTER, and ...
4804 (Read): use it here.
4805 (CounterTags): new tags
4806 (readCounter): new function
4807 (counters): new funtion
4808 (defaultLayoutName): return a const reference
4810 * counters.C (Counters): remove contructor
4811 (newCounter): remove a couple of unneeded statements.
4812 (newCounter): simplify a bit.
4813 (numberLabel): some small formatting changes.
4815 * buffer.[Ch]: remove all traces of counters, move the Counters
4816 object to the LyXTextClass.
4818 2002-09-06 Alain Castera <castera@in2p3.fr>
4820 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4821 package to set the horizontal alignment on fixed width columns.
4824 * lyx_sty.h: added tabularnewline macro def.
4826 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4828 2002-09-06 John Levon <levon@movementarian.org>
4830 * LyXAction.C: tooltips for sub/superscript
4832 * MenuBackend.C: a bit more verbose
4834 * lyxfunc.C: tiny clean
4836 * undo_funcs.C: document undo_frozen
4838 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4840 * counters.C (Counters): add missing algorithm counter.
4842 * text2.C (setCounter): lookup the counter with layouts latexname
4843 instead of by section number.
4844 (setCounter): use a hackish way to lookup the correct enum
4846 a float name->type change
4847 reset enum couners with counter name directly instead of depth value.
4849 * counters.C (Counters): remove the push_backs, change to use the
4850 float type not the float name.
4851 (labelItem): remove unused string, float name->type change
4853 * counters.h: don't include vector, loose the enums and sects vectors
4855 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4857 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4858 (Read): add float->TC_FLOAT to textclassTags
4859 (Read): and handle it in the switch
4860 (readFloat): new function
4862 * FloatList.C (FloatList): comment out the hardcoded float
4865 * lyxlayout.h: ws change.
4867 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4869 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4871 2002-09-03 Angus Leeming <leeming@lyx.org>
4873 * BufferView_pimpl.h: qualified name is not allowed in member
4874 declaration: WorkArea & Pimpl::workarea() const;
4876 * factory.C: added using std::endl directive.
4878 * text3.C: added using std::find and std::vector directives.
4880 2002-08-29 André Pönitz <poenitz@gmx.net>
4883 * text2.C: remove unused member number_of_rows
4886 * BufferView2.C: remove file, move contents to...
4887 * BufferView.C: ... here
4889 * BufferView_pimpl.C:
4890 * factory.C: move more inset creation to factory
4892 * vspace.C: avoid direct usage of LyXText, ws changes
4895 don't provide direct access to WorkArea, use two simple
4896 acessors haveSelction() and workHeight() instead
4899 2002-08-29 John Levon <levon@movementarian.org>
4901 * BufferView_pimpl.C (dispatch): do not continue when
4904 2002-08-28 André Pönitz <poenitz@gmx.net>
4906 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4909 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4911 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4913 * buffer.C: increment LYX_FORMAT to 221
4915 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4916 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4918 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4920 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4922 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4924 * factory.C (createInset): use LyXTextClass::floats
4926 * MenuBackend.C (expandFloatListInsert):
4927 (expandFloatInsert):
4930 * text2.C (setCounter):
4932 * LaTeXFeatures.C (useFloat):
4933 (getFloatDefinitions):
4935 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4937 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4938 floatlist_, with accessor floats().
4940 * FloatList.h: remove global FloatList
4942 2002-08-26 André Pönitz <poenitz@gmx.net>
4944 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4948 * BufferView_pimpl.C:
4949 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4951 2002-08-25 John Levon <levon@movementarian.org>
4953 * LyXAction.C: fix margin note description
4955 2002-08-24 John Levon <levon@movementarian.org>
4959 * bufferview_funcs.C:
4961 * undo_funcs.C: cleanups
4963 * lyxfunc.C: disable CUT/COPY when no selection
4965 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4967 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4968 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4970 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4971 Add backward compatibility to "mono", "gray" and "no".
4973 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4975 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4976 (and file_format >= 200).
4978 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4980 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4982 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4984 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4986 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4988 * BufferView_pimpl.C:
4995 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4996 inset and code to make it work with the paragraph code. The inset
4997 can be anywhere in the paragraph, but will only do the expected
4998 thing in LaTeX if the layout file contains the parameter line
5000 (or more generally, a nonzero value) for that layout.
5002 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5004 * paragraph.h: remove the declaration of undefined counters class
5007 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
5009 * text2.C (setCounter): fixed enumeration mis-count as reported by
5010 Dr. Richard Hawkins.
5012 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5014 * paragraph_funcs.h: remove some unneeded includes
5016 * text.C (backspace): pasteParagraph now in global scipe
5018 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5019 (pasteSelection): ditto
5021 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5022 * paragraph_funcs.C (pasteParagraph): ... here
5024 2002-08-20 André Pönitz <poenitz@gmx.net>
5026 * commandtags.h: new LFUNs for swapping/copying table row/colums
5029 * lyxfunc.C: support for new lfuns
5031 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5034 * buffer.[Ch]: remove NO_COMPABILITY stuff
5036 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
5038 * boost.C (throw_exception): new file, with helper function for
5039 boost compiled without exceptions.
5044 * ParameterStruct.h:
5045 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5047 * bufferlist.C (emergencyWriteAll): use boost bind
5049 * BufferView_pimpl.C (moveCursorUpdate): remove inline
5051 * text.C: include paragraph_funcs.h
5052 (breakParagraph): breakParagraph is now in global scope
5054 * paragraph_funcs.[Ch]: new files
5056 * paragraph.C (breakParagraph,breakParagraphConservative): move to
5059 * buffer.C: include paragraph_funcs.h
5060 (insertStringAsLines): breakParagraph is now in global scope
5062 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5065 * CutAndPaste.C: include paragraph_funcs.h
5066 (cutSelection): breakParagraphConservative is now in global scope
5067 (pasteSelection): ditto
5069 * buffer.h: declare oprator== and operator!= for
5070 Buffer::inset_iterator
5072 * bufferlist.C (emergencyWrite): don't use fmt(...)
5074 * text3.C: add using std::endl
5076 * BufferView.C (moveCursorUpdate): remove default arg
5078 2002-08-20 André Pönitz <poenitz@gmx.net>
5080 * buffer.[Ch]: move inline functions to .C
5083 * BufferView_pimpl.C:
5085 * buffer.[Ch]: use improved inset_iterator
5088 * paragraph.[Ch]: write one paragraph at a time
5090 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
5092 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5093 style if style is not specified.
5095 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5097 * text2.C (setCounter): when searching for right label for a
5098 caption, make sure to recurse to parent insets (so that a caption
5099 in a minipage in a figure float works) (bug #568)
5101 2002-08-20 André Pönitz <poenitz@gmx.net>
5103 * text3.C: new file for LyXText::dispatch() and helpers
5105 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5107 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5109 2002-08-19 André Pönitz <poenitz@gmx.net>
5112 * text.C: new LyXText::dispatch()
5114 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5116 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
5118 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5120 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5123 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5125 * Makefile.am: use $(variables) instead of @substitutions@
5127 2002-08-15 André Pönitz <poenitz@gmx.net>
5130 * BufferView_pimpl.C: streamlining mathed <-> outer world
5134 * LyXAction.C: remove unused LFUN_MATH
5136 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5138 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5140 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5142 * paragraph.C (Paragraph): reformat a bit
5143 (cutIntoMinibuffer): use builtin InsetList function instad of
5147 * buffer.C: include boost/bind.hpp, add using std::for_each
5148 (writeFileAscii): use ParagraphList iterators
5149 (validate): use for_each for validate traversal of paragraphs
5150 (getBibkeyList): use ParagraphList iterators
5151 (resizeInsets): use for_each to resizeInsetsLyXText for all
5153 (getParFromID): use ParagraphList iterators
5155 * BufferView2.C (lockInset): use paragraph list and iterators
5157 2002-08-14 John Levon <levon@movementarian.org>
5159 * lyxserver.C: remove spurious xforms include
5161 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5163 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5165 2002-08-13 André Pönitz <poenitz@gmx.net>
5168 * lyxfunc.C: further cleaning
5170 2002-08-13 André Pönitz <poenitz@gmx.net>
5172 * funcrequest.h: new constructor
5174 * funcrequest.C: move stuff here from .h
5177 * BufferView_pimpl.C:
5180 * lyxfunc.C: subsequent changes
5182 * lyxfunc.h: new view() member function
5184 * lyxfunc.C: subsequent changes
5186 2002-08-13 Angus Leeming <leeming@lyx.org>
5189 * BufferView_pimpl.C:
5197 changes due to the changed LyXView interface that now returns references
5198 to member variables not pointers.
5200 2002-08-13 Angus Leeming <leeming@lyx.org>
5202 * WordLangTuple (word, lang_code): return references to strings,
5207 * lyxtext.h: forward-declare WordLangTuple.
5212 * text.C: #include "WordLangTuple.h".
5215 * text.C: (selectNextWordToSpellcheck): constify return type.
5217 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5223 * paragraph_pimpl.h:
5226 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5228 Made updateCounter always count from start of buffer, and removed
5229 second argument (par).
5230 Reverted floats number display to '#'. Perhaps I'll try again when the
5231 code base is sanitized a bit.
5233 2002-08-12 Angus Leeming <leeming@lyx.org>
5235 * buffer.[Ch] (getLabelList): constify.
5237 2002-08-07 André Pönitz <poenitz@gmx.net>
5239 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5241 * funcrequest.h: extension to keep mouse (x,y) position
5243 2002-08-12 Juergen Vigna <jug@sad.it>
5245 * BufferView2.C (insertErrors): forbid undo when inserting error
5248 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5250 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5252 * ParagraphList.[Ch]: new files
5254 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5256 * BufferView2.C (lockInset): ParagraphList changes
5259 * bufferlist.C: ditto
5263 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5265 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5266 unused class variable counter_,
5268 * paragraph.[Ch] (getFirstCounter): delete unused function
5270 * counters.C: include LAssert.h
5271 (reset): add a new function with no arg, change other version to
5272 not have def. arg and to not allow empty arg.
5274 * text2.C (setCounter): remove empty arg from call to Counters::reset
5276 2002-08-11 John Levon <levon@movementarian.org>
5278 * Makefile.am: add WordLangTuple.h
5280 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5282 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5283 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5285 * insets/insettext.C: InsetList changes
5287 * graphics/GraphicsSupport.C (operator()): InsetList changes
5289 * toc.C (getTocList): InsetList changes
5291 * paragraph_pimpl.[Ch]: InsetList changes
5293 * paragraph.[Ch]: InsetList changes
5295 * buffer.C (inset_iterator): InsetList changes
5296 (setParagraph): ditto
5297 * buffer.h (inset_iterator): ditto
5298 * iterators.C (operator++): ditto
5299 * iterators.h: ditto
5301 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5303 * InsetList.[Ch]: new files, most InsetList handling moved out of
5306 * BufferView2.C (removeAutoInsets): InsetList changes
5308 (ChangeInsets): ditto
5310 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5312 * paragraph_pimpl.h (empty): new function
5314 * paragraph.[Ch] (empty): new function
5316 * other files: use the new Paragraph::empty function
5318 2002-08-09 John Levon <levon@movementarian.org>
5320 * lyxtext.h: remove unused refresh_height
5322 2002-08-09 John Levon <levon@movementarian.org>
5329 * paragraph.C: move sgml char escaping out of paragraph
5332 * paragraph.C: remove id setter
5336 * paragraph_pimpl.C: remove dead tex_code_break_column
5338 * bufferview_funcs.C: small cleanup
5340 * lyxfunc.C: remove dead proto
5342 * lyxtext.h: make some stuff private. Remove some dead stuff.
5344 * lyxgluelength.C: make as[LyX]String() readable
5346 2002-08-08 John Levon <levon@movementarian.org>
5351 * ToolbarDefaults.C:
5354 * toc.C: lyxaction cleanup
5356 2002-08-08 John Levon <levon@movementarian.org>
5358 * BufferView2.C: small cleanup
5361 * lyxfind.C: move unnecessary header into the .C
5363 2002-08-08 John Levon <levon@movementarian.org>
5365 * funcrequest.h: just tedious nonsense
5368 * lyx_main.C: cleanups
5371 * vspace.C: remove dead header lyx_main.h
5373 2002-08-07 Angus Leeming <leeming@lyx.org>
5376 * paragraph_pimpl.h:
5377 Forward declare class Counters in paragraph.h by moving the ctrs member
5378 variable into Paragraph::Pimpl.
5379 (counters): new method, returning a reference to pimpl_->ctrs.
5381 * text2.C: ensuing changes.
5383 2002-08-07 John Levon <levon@movementarian.org>
5385 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5387 * BufferView_pimpl.C: announce X selection on double/triple
5390 * lyx_main.C: use correct bool in batch dispatch
5392 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5394 2002-08-07 André Pönitz <poenitz@gmx.net>
5396 * funcrequest.h: new class to wrap a kb_action and its argument
5399 * BufferView_pimpl[Ch]:
5403 * lyxrc.C: subsequent changes
5406 2002-08-07 John Levon <levon@movementarian.org>
5408 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5409 document options change.
5411 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5416 * makefile.am: move counters functionality over from
5417 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5419 2002-08-06 John Levon <levon@movementarian.org>
5421 * WordLangTuple.h: new file for word + language code tuple
5432 * BufferView2.C: use WordLangTuple
5435 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5437 2002-08-06 John Levon <levon@movementarian.org>
5439 * lyx_main.C: fix cmdline batch handling
5441 2002-08-06 André Pönitz <poenitz@gmx.net>
5443 * lyxrc.C: set default for show_banner to true
5445 2002-08-06 John Levon <levon@movementarian.org>
5447 * pspell.C: fix a crash, and allow new aspell to work
5449 2002-08-06 John Levon <levon@movementarian.org>
5452 * kbmap.C: small cleanup
5455 * vspace.C: add const
5457 2002-08-05 John Levon <levon@movementarian.org>
5459 * LyXAction.C: back to tabular-insert
5461 2002-08-04 John Levon <levon@movementarian.org>
5464 * BufferView.C: cosmetic change
5466 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5476 * BufferView2.C: purge all "Lyx" not "LyX" strings
5479 * lyxcursor.C: attempt to add some documentation
5484 * ToolbarDefaults.C:
5485 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5486 merge with LFUN_TABULAR_INSERT
5493 * pspell.C: split up i/pspell implementations into separate
5494 files, many cleanups
5496 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5498 * text2.C: some cleanup
5500 * lyxfunc.C: don't check for isp_command == "none" any more, it
5501 didn't make any sense
5503 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5508 * makefile.am: move counters functionality over
5509 from text2.C/paragraph.[Ch] to counters.[Ch], and
5511 2002-08-02 John Levon <levon@movementarian.org>
5513 * buffer.C: s/lyxconvert/lyx2lyx/
5515 2002-08-02 Angus Leeming <leeming@lyx.org>
5517 * lyxlex.C: revert John's change as it breaks reading of the user
5520 2002-08-02 Angus Leeming <leeming@lyx.org>
5522 * importer.C (Import):
5523 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5524 changes due to LyXView::view() now returning a boost::shared_ptr.
5526 2002-08-02 John Levon <levon@movementarian.org>
5528 * lyxlex.C: small cleanup
5530 2002-08-02 John Levon <levon@movementarian.org>
5532 * text2.C (status): small cleanup, no logic change
5534 2002-08-01 John Levon <levon@movementarian.org>
5537 * buffer.C (writeFile): don't output alerts, caller
5541 * lyx_cb.C: from above
5543 * lyxfunc.C: allow to open non-existent files
5545 2002-07-31 John Levon <levon@movementarian.org>
5547 * lyxserver.C: don't let incidental errors get
5550 2002-07-30 John Levon <levon@movementarian.org>
5552 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5554 2002-07-30 John Levon <levon@movementarian.org>
5557 * lyxserver.C: remove I/O callback too
5559 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5561 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5564 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5566 * many files: strip,frontStrip -> trim,ltrim,rtrim
5568 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5570 * PrinterParams.h: remove extern containsOnly, and include
5571 support/lstrings.h instead.
5573 * LaTeX.C (scanAuxFile): modify because of strip changes
5575 * buffer.C (makeLaTeXFile): ditto
5576 * bufferparams.C (writeFile): ditt
5577 * lyxfont.C (stateText): ditto
5578 * lyxserver.C (read_ready): ditto
5579 * vc-backend.C (scanMaster): ditto
5581 * BufferView_pimpl.h: ws changes
5583 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5585 2002-07-26 André Pönitz <poenitz@gmx.net>
5587 * kb_sequence.C: remove unnedred usings
5589 2002-07-26 Juergen Vigna <jug@sad.it>
5591 * lyxfind.C (LyXReplace): we have to check better if the returned
5592 text is not of theLockingInset()->getLockingInset().
5594 2002-07-25 Juergen Vigna <jug@sad.it>
5596 * lyxfind.C (LyXReplace): don't replace if we don't get the
5599 * undo_funcs.C (createUndo): remove debugging code.
5601 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5603 * buffer.C (parseSingleLyXformat2Token): Use default placement
5604 when reading old floats.
5606 * FloatList.C (FloatList): Change the default placement of figure
5607 and tables to "tbp".
5609 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5611 * MenuBackend.C: using std::max
5613 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5615 * MenuBackend.C (expandToc):
5616 (expandToc2): code moved from xforms menu frontend. It is now
5617 generic and TOCs are transparent to menu frontends.
5619 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5621 * toc.C (getTocList): protect against buf=0
5623 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5624 Menu as first parameter. Now, this calls itself recursively to
5625 expand a whole tree (this will be useful for TOC handling)
5626 (expandFloatInsert): remove 'wide' version of floats
5628 * MenuBackend.h (submenuname): returns the name of the submenu.
5629 (submenu): returns the submenu itself, provided it has been
5630 created by MenuBackend::expand
5632 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5634 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5635 insets which have noFontChange == true. (bug #172)
5637 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5639 * BufferView_pimpl.C: add connection objects and use them...
5642 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5644 * MenuBackend.C (expandLastfiles):
5647 (expandFloatListInsert):
5648 (expandFloatInsert):
5649 (expand): split expand in parts
5651 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5653 * lyx_gui.C: use lyx_gui::exit()
5655 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5657 * LyXAction.C: show the failing pseudo action
5659 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5661 * buffer.C (readFile): Run the lyxconvert script in order to read
5664 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5668 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5670 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5674 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5676 2002-07-22 Herbert Voss <voss@lyx.org>
5679 * lyxlength.[Ch]: add support for the vertical lengths
5681 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5683 * toc.[Ch]: std:: fixes
5685 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5687 * lyxrc.C: do not include lyx_main.h
5689 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5695 * BufferView2.C: include "lyxlex.h"
5698 * bufferparams.h: do not #include "lyxlex.h"
5700 * lyxtextclasslist.C (Add): remove method
5701 (classlist): renamed to classlist_
5703 * paragraph_pimpl.C:
5707 * bufferview_funcs.C:
5712 * toc.C (getTocList): use BufferParams::getLyXTextClass
5714 * toc.C (getTocList): use InsetFloat::addToToc
5716 * toc.[Ch]: new files, containing helper functions to handle table
5719 * lyxfunc.C (dispatch): no need to remove spaces around command
5721 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5722 first command of the sequence; it is not very clever, but I do not
5723 have a better idea, actually
5725 * LyXAction.C (LookupFunc): make sure to remove space at the
5726 beginning and end of the command
5728 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5730 * MenuBackend.C (getMenubar): new method: return the menubar of
5732 (read): treat differently reading of menu and menubar (in
5733 particular, the menubar has no name now)
5734 (Menu::menubar): remove
5736 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5739 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5741 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5742 a bibitem inset in a RTL paragraph.
5744 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5746 * paragraph_pimpl.C: constify
5748 * BufferView_pimpl.C:
5750 * lyxfunc.C: fix dispatch in a nicer way
5752 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5754 * lyxfunc.C (dispatch):
5755 * BufferView_pimpl.C:
5756 * BufferView_pimpl.h:
5758 * BufferView.h: rename Dispatch() to dispatch()
5760 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5762 * lyxlayout.C (Read): honor DependsOn tag
5764 * lyxlayout.[Ch] (depends_on): new method
5766 * version.C.in: update lyx_docversion
5768 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5770 * paragraph.C (validate): remove from here...
5771 * paragraph_pimpl.C (validate): ... and move here
5772 (isTextAt): make it const
5774 * buffer.C (getLists): ws cleanup
5776 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5778 * language.C (read): Use iso8859-1 encoding in latex_lang
5779 (this prevents LyX from crashing when using iso10646-1 encoding).
5781 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5783 * text2.C (toggleInset): if cursor is inside an inset, close the
5784 inset and leave cursor _after_ it
5786 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5788 * lyxfunc.C: move minibuffer completion handling out of here
5790 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5792 * BufferView_pimpl.C:
5793 * LaTeX.C: fix dispatch calls
5795 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5797 * text.C (drawChars): Fix Arabic text rendering.
5799 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5803 * lyxfunc.C: remove message-push/pop
5807 * lyxfunc.C: rationalise some code by removing verboseDispatch
5808 in favour of a bool argument to dispatch()
5810 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5812 * lyx_main.C (init): make sure to read symlinks as absolute paths
5814 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5817 * lyxfunc.C: no need for commandshortcut to be a member
5819 2002-07-15 André Pönitz <poenitz@gmx.net>
5821 * converter.C: add support for $$s (scripts from lib/scripts dir)
5822 * lyx_main.C: white space
5824 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5828 * lyxrc.C: remove second exit confirmation
5830 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5835 * BufferView_pimpl.h:
5836 * BufferView_pimpl.C:
5837 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5839 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5841 * MenuBackend.C (expand): add numeric shortcuts to document menu
5843 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5845 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5847 * lyxfont.C (setLyXFamily):
5854 * buffer.C (asciiParagraph): use ascii_lowercase
5856 2002-07-15 Mike Fabian <mfabian@suse.de>
5858 * lyxlex_pimpl.C (search_kw):
5859 * lyxlex.C (getLongString):
5860 * converter.h (operator<):
5861 * converter.C (operator<):
5862 * buffer.C (parseSingleLyXformat2Token):
5864 * ToolbarDefaults.C (read):
5865 * MenuBackend.C (checkShortcuts):
5867 * LColor.C (getFromGUIName):
5868 (getFromLyXName): use the compare_ascii_no_case instead of
5869 compare_no_case, because in turkish, 'i' is not the lowercase
5870 version of 'I', and thus turkish locale breaks parsing of tags.
5872 2002-07-16 Angus Leeming <leeming@lyx.org>
5874 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5875 now takes a Buffer const & argument.
5877 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5879 * BufferView.C (resize): check there's a buffer to resize
5881 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5883 * lyxfunc.C: remove dead code
5886 * lyxserver.C: use lyx_guii::set_read_callback
5888 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5890 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5891 an inset in a RTL paragraph.
5893 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5895 * lyxfunc.C: repaint after a font size update
5897 2002-07-15 André Pönitz <poenitz@gmx.net>
5899 * lyxlength.C: inBP should be able to return negative values
5901 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5903 * lyxfunc.C: use lyx_gui::update_fonts()
5905 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5907 * lyxfunc.C: use lyx_gui::update_color()
5909 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5915 * lyxrc.C: remove file->new asks for name option, and let
5916 buffer-new take an argument
5918 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5920 * BufferView_pimpl.C: remove unneeded extra repaint()
5922 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5924 * LyXAction.C: allow command-sequence with NoBuffer
5926 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5928 2002-07-10 Angus Leeming <leeming@lyx.org>
5930 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5932 2002-07-09 Angus Leeming <leeming@lyx.org>
5934 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5936 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5938 * lengthcommon.h: whitespace
5940 * lyxfunc.C: update scrollbar after goto paragraph
5942 * lyxtext.h: factor out page break drawing, and fix it so
5943 page break/added space paints as selected nicely
5945 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5947 * BufferView_pimpl.C: add FIXMEs, clean up a little
5949 2002-07-09 André Pönitz <poenitz@gmx.net>
5951 * lyxfont.[Ch]: support for wasy symbols
5953 2002-07-08 André Pönitz <poenitz@gmx.net>
5955 * BufferView_pimpl.C: apply John's patch for #93.
5957 2002-07-05 Angus Leeming <leeming@lyx.org>
5959 * BufferView_pimpl.C (buffer): generate previews if desired.
5961 * LColor.h: add "preview" to the color enum.
5963 * LColor.C (LColor): add a corresponding entry to the items array.
5965 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5968 2002-07-05 Angus Leeming <leeming@lyx.org>
5970 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5971 The body of the code is now in the method that is passed an ostream &
5972 rather than a file name.
5973 Pass an additional only_preamble parameter, useful for the forthcoming
5976 2002-07-03 André Pönitz <poenitz@gmx.net>
5978 * lyxfunc.C: simplify getStatus() a bit for math stuff
5980 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5982 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5984 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5986 * text.C (changeRegionCase): do not change case of all the
5987 document when region ends at paragraph end (bug #461)
5989 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5991 * paragraph.C (startTeXParParams):
5992 (endTeXParParams): add \protect when necessary
5994 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5996 * BufferView_pimpl.C (workAreaExpose): remove warning
5998 2002-06-27 Angus Leeming <leeming@lyx.org>
6000 * Makefile.am: add lyxlayout_ptr_fwd.h.
6002 2002-06-26 André Pönitz <poenitz@gmx.net>
6004 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6006 2002-06-25 Angus Leeming <leeming@lyx.org>
6008 * lyxfunc.C (dispatch): Comment out the call to
6009 grfx::GCache::changeDisplay. The method no longer exists now that the
6010 pixmap generation part of the graphics loader has been moved into
6013 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6015 * text2.C: layout as layout
6017 * text.C: layout as layout
6019 * tabular.C (OldFormatRead): layout as layout
6021 * paragraph_pimpl.C (TeXDeeper): layout as layout
6022 (realizeFont): layout as layout
6024 * paragraph.C (writeFile): layout as layout
6025 (validate): layout as layout
6026 (getFont): layout as layout
6027 (getLabelFont): layout as layout
6028 (getLayoutFont): layout as layout
6029 (breakParagraph): layout as layout
6030 (stripLeadingSpaces): layout as layout
6031 (getEndLabel): layout as layout
6032 (getMaxDepthAfter): layout as layout
6033 (applyLayout): layout as layout
6034 (TeXOnePar): layout as layout
6035 (simpleTeXOnePar): layout as layout
6036 (TeXEnvironment): layout as layout
6037 (layout): layout as layout
6038 (layout): layout as layout
6040 * lyxtextclass.C (compare_name): new functor to work with
6041 shared_ptr, layout as layout
6042 (Read): layout as layout
6043 (hasLayout): layout as layout
6044 (operator): layout as layout
6045 (delete_layout): layout as layout
6046 (defaultLayout): layout as layout
6048 * lyxlayout_ptr_fwd.h: new file
6050 * lyxlayout.C (Read): layout as layout
6052 * lyx_cb.C (MenuInsertLabel): layout as layout
6054 * bufferlist.C (newFile): layout as layout
6056 * buffer.C (readLyXformat2): layout as layout
6057 (parseSingleLyXformat2Token): layout as layout
6058 (insertStringAsLines): layout as layout
6059 (asciiParagraph): layout as layout
6060 (latexParagraphs): layout as layout
6061 (makeLinuxDocFile): layout as layout
6062 (simpleLinuxDocOnePar): layout as layout
6063 (makeDocBookFile): layout as layout
6064 (simpleDocBookOnePar): layout as layout
6065 (getLists): layout as layout
6067 * LaTeXFeatures.C (getTClassPreamble): layout as layout
6069 * CutAndPaste.C (cutSelection): layout as layout
6070 (pasteSelection): layout as layout
6071 (SwitchLayoutsBetweenClasses): layout as layout
6073 * BufferView_pimpl.C (Dispatch): layout as layout
6074 (smartQuote): layout as layout
6076 * BufferView2.C (unlockInset): layout as layout
6078 2002-06-24 André Pönitz <poenitz@gmx.net>
6080 * lyxfunc.C: fix #487
6082 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6086 * lyxfunc.C: remove display_shortcuts, show_banner
6088 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6090 * Buffer_pimpl.C: oops, update on resize
6092 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6099 * BufferView.C: use repaint()
6101 * BufferView_pimpl.h:
6102 * BufferView_pimpl.C: s/updateScreen()/repaint()/
6103 as it's a clearer description. Remove superfluous
6106 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
6108 * text.C: fix bug 488. Not ideal, but getting
6109 getWord() to work properly for the insets that
6110 matter is more difficult ...
6112 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6114 * BufferView_pimpl.C:
6117 * lyxfunc.C: remove the six million index lyxfuncs to just
6118 one, and DTRT (bug 458)
6120 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6124 * BufferView_pimpl.h:
6125 * BufferView_pimpl.C: clean up resize() stuff,
6126 and unnecessary updateScreen()s
6128 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
6132 * BufferView_pimpl.h:
6133 * BufferView_pimpl.C:
6136 * minibuffer.C: remove focus management of workarea,
6137 not needed. Use screen's greyOut()
6139 2002-06-17 Herbert Voss <voss@lyx.org>
6141 * converter.C: (convert) do not post a message, when converting
6142 fails, let the calling function decide what to do in this case
6144 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6146 * lyxfunc.C: tidy up a little
6148 2002-06-16 <alstrup@diku.dk>
6150 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6151 Got rid of FORMS_H_LOCATION include. Now we are
6154 2002-06-15 LyX Development team <lyx@rilke>
6156 * buffer.[Ch] (sgmlOpenTag):
6157 (sgmlCloseTag): Added support for avoiding pernicious mixed
6158 content. Return number of lines written.
6161 (makeDocBookFile): Fixed calls to sgml*Tag.
6162 Simple white space clean.
6164 (simpleDocBookOnePar): Simple white space clean.
6166 * tabular.[Ch] (docBook): Renamed to docbook and got another
6167 argument to related with the pernicious mixed content.
6169 (docbookRow): Fixed calls for docbook inset method.
6171 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6173 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6174 so it's X11 independent.
6178 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6180 2002-06-15 Lyx Development team <lyx@electronia>
6182 * intl.h: Renamed getTrans to getTransManager.
6184 2002-06-14 Angus Leeming <leeming@lyx.org>
6186 * Makefile.am: nuke forgotten stl_string_fwd.h.
6188 2002-06-12 Angus Leeming <leeming@lyx.org>
6190 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6192 2002-06-13 Angus Leeming <leeming@lyx.org>
6195 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6197 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6199 * kbmap.C (getiso): add support for cyrillic and greek
6201 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6205 * BufferView_pimpl.h:
6206 * BufferView_pimpl.C: move bogus scrolling logic
6209 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6212 * BufferView_pimpl.C: view->resize() change
6214 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6216 * BufferView_pimpl.C: topCursorVisible
6219 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6223 * lyx_gui.C: move to frontends/
6227 * lyx_main.C: changes from above
6229 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6236 * lyx_main.C: minor tidy
6238 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6240 * BufferView_pimpl.h:
6241 * BufferView_pimpl.C:
6243 * BufferView.C: make painter() const,
6246 * BufferView2.C: use screen() accessor
6249 * lyx_main.C: some minor cleanup
6251 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6253 * BufferView_pimpl.h:
6254 * BufferView_pimpl.C: remove enter/leaveView,
6257 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6262 * BufferView_pimpl.h:
6263 * BufferView_pimpl.C: only construct screen once,
6266 * lyxrc.C: remove pointless comment
6268 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6271 * BufferView.C: remove active() and belowMouse()
6273 * BufferView_pimpl.h:
6274 * BufferView_pimpl.C: use workarea() not workarea_,
6275 and make it use a scoped_ptr instead
6277 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6279 * lyx_gui.C: add debug message on BadWindow
6281 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6283 * sp_spell.C: fdopen is not part of the C++ standard.
6285 * paragraph.C (InsetIterator): use >= instead of ==
6287 2002-06-07 Angus Leeming <leeming@lyx.org>
6289 Fixes needed to compile with Compaq cxx 6.5.
6290 * BufferView_pimpl.C:
6297 * lyxtextclasslist.C:
6302 all c-library variables have been moved into namespace std. Wrap
6303 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6308 Add a using std::abs declaration.
6310 * kbmap.h (modifier_pair):
6311 * paragraph.h (InsetTable, InsetList):
6312 * lyxfont.h (FontBits):
6313 type definition made public.
6315 * bufferlist.C (emergencyWriteAll): the compiler complains that
6316 there is more than one possible lyx::class_fun template to choose from.
6317 I re-named the void specialisation as lyx::void_class_fun.
6319 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6321 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6322 the compiler is is unable to find tostr in write_attribute.
6324 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6326 * buffer.C (sgmlError): hide #warning
6328 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6330 * xtl/*: get rid of xtl, which is not in use anyway
6332 * LyXAction.C (init):
6333 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6334 were unimplemented xtl experimentation
6336 2002-06-04 André Pönitz <poenitz@gmx.net>
6338 * lyxfunc.C: disable array operation on simple formulae
6340 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6342 * converter.C: constify a bit
6344 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6346 * lyx_gui.C: check xforms version correctly
6348 2002-04-30 Herbert Voss <voss@lyx.org>
6350 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6353 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6355 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6356 attempt to register it with a VCS)
6358 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6360 * lyx_main.C (init): honor variables LYX_DIR_13x and
6363 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6367 * lyx_main.C: fix a crash on bad command line,
6368 and give a useful exit status on error
6370 * lyxfunc.C (doImport): allow -i lyx to work
6372 2002-03-30 André Pönitz <poenitz@gmx.net>
6374 * lyxfunc.C: mathed font changes
6376 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6391 * trans_mgr.h: srcdocs, and some minor cleanups
6393 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6395 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6396 call getFont all the time)
6398 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6400 * switch from SigC signals to boost::signals
6402 2002-05-29 André Pönitz <poenitz@gmx.net>
6404 * paragraph_pimpl.C (getChar): don't call size() too often...
6406 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6408 * paragraph_pimpl.C (insertChar): do not try to update tables when
6409 appending (pos == size())
6411 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6412 in order to reduce drastically the number of comparisons needed to
6413 parse a large document
6415 2002-05-29 André Pönitz <poenitz@gmx.net>
6421 * textclasslist.[Ch]:
6422 * sp_ispell.h: whitespace change
6424 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6426 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6427 lyxaction directly now.
6429 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6433 * lyxvc.C: remove unused headers
6435 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6442 * undo_funcs.C: some cleanups. Use shared_ptr
6443 and a template for the undo stacks.
6445 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6447 * BufferView_pimpl.h:
6448 * BufferView_pimpl.C:
6455 * text2.C: use key_state/mouse_state
6457 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6459 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6462 * chset.C: change include order
6463 (loadFile): use boost regex and get rid of LRegex and LSubstring
6465 * Makefile.am (BOOST_LIBS): new variable
6468 * LaTeX.C: change include order.
6469 (scanAuxFile): use boost regex and get rid of LRegex and
6473 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6478 * FontInfo.C: moved to frontends/xforms/
6481 * FontLoader.C: moved into frontends for GUIIzation
6486 * lyxfunc.C: changes from above
6488 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6490 * LColor.C: remove spurious X include
6492 * BufferView_pimpl.C:
6497 * text2.C: move font metrics to frontends/
6499 2002-05-24 Juergen Vigna <jug@sad.it>
6501 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6502 setting the undo_cursor.
6504 * ParagraphParameters.h: include local includes first.
6506 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6508 * BufferView_pimpl.C:
6509 * BufferView_pimpl.h:
6513 * screen.C: move WorkArea into frontends/
6519 * BufferView2.C: move LyXScreen into frontends/
6523 * lyx_gui.C: move lyxlookup into frontends/xforms/
6525 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6528 * BufferView_pimpl.C:
6538 * bufferview_funcs.C:
6551 * vc-backend.C: move LyX/XFormsView into frontends/
6553 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6565 * text2.C: move Painter to frontends/
6567 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6569 * buffer.C: comment out some some code that depend upon lyx_format
6572 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6573 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6575 * buffer.h (NO_COMPABILITY): turn off compability
6577 * ColorHandler.C: include scoped_array.hpp
6579 * font.C: Use more specific smart_ptr header.
6582 * ShareContainer.h: ditto
6586 * BufferView_pimpl.h: ditto
6587 * ColorHandler.h: ditto
6589 * kbmap.C (defkey): change call to shared_ptr::reset
6591 2002-05-21 Juergen Vigna <jug@sad.it>
6593 * buffer.C (insertErtContents): fix to insert ert asis if it is
6594 non empty. Skip it completely if it contains only whitespaces.
6596 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6598 * BufferView_pimpl.C:
6599 * BufferView2.C: clear selection on paste (bug 393)
6601 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6603 * DepTable.C: include ctime
6605 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6607 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6609 2002-05-14 Juergen Vigna <jug@sad.it>
6611 * text.C (breakParagraph): fixed function to honor the keepempty
6612 layout in the right maner and also to permit the right breaking
6613 algorithm on empty or non empyt keepempty paragraphs.
6615 * paragraph.C (breakParagraph): we have to check also if the par
6616 is really empty (!size()) for isempty otherwise we do the wrong
6619 2002-05-10 Juergen Vigna <jug@sad.it>
6621 * buffer.[Ch] : The following are only changes to the ert
6622 compatibility read reading old LaTeX layout and font stuff and
6623 convert it to ERTInsets.
6625 * buffer.h: added isErtInset().
6627 * buffer.C (struct ErtComp): add a fromlayout bool to check
6628 if we're inside a LaTeX layout.
6629 (isErtInset): new helper function.
6630 (insertErtContents): look for other ert insets before this one
6631 and insert the contents there, so that we don't have subsequent
6632 ERT insets with nothing between them. This way we create only one
6633 inset with multiple paragraphs. Also check if we don't insert only
6634 spaces ' ' as they are ignored anyway afterwards in the .tex file
6635 so if we have only spaces we will ignore this latex part in the
6637 (parseSingleLyXformat2Token \\layout): better compatibility when
6638 reading layout-latex stuff.
6639 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6641 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6642 stuff after reading the inset only get the information back from
6645 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6647 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6649 * LaTeXFeatures.C (getBabelOptions): New method.
6651 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6653 * BufferView_pimpl.C (Dispatch): work around missing argument for
6656 2002-05-08 Juergen Vigna <jug@sad.it>
6658 * text.C (leftMargin): handle paragraph leftindent.
6660 * paragraph.C (writeFile): write the new \\leftindent tag.
6661 (validate): handle leftindent code.
6662 (TeXEnvironment): handle paragraphleftindent code again.
6664 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6666 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6667 for paragrap_extra indent code and new token \\leftindent.
6668 (latexParagraphs): handle the leftindent as environment.
6670 * ParameterStruct.h: added leftindent support.
6672 * ParagraphParameters.C (leftIndent): added support functions for
6673 the paragraph left indent.
6675 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6678 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6680 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6683 * text.C (computeBidiTables): No bidi in insetERT.
6685 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6688 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6690 * version.C.in: pre 5
6692 2002-05-02 José Matos <jamatos@fep.up.pt>
6693 * buffer.C (makeDocBookFile): white space changes, add newline to
6695 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6697 * tabular.C (docBook): fix typo.
6699 2002-05-03 Juergen Vigna <jug@sad.it>
6701 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6702 change in LyXText as we can not be sure it was not freed.
6703 (drawOneRow): remove unused code.
6705 * text.C (drawInset): redo the calculation of the need_break_row as
6706 it could have a row which was already freed.
6707 (draw): look at the return value of drawInset and return false if
6708 it also returned false.
6709 (paintRowText): look at the return value of draw and return false if
6710 it also returned false.
6712 * lyxtext.h: added bool return type to drawInset() and draw() so that
6713 if we have a change in the row so that the rowbreak has to be redone
6714 we abort drawing as it will be called again.
6716 2002-05-02 Juergen Vigna <jug@sad.it>
6718 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6719 a change in the maintext also if we're inside an inset.
6720 (Dispatch): set the cursor again after a break line and after the
6721 screen has been updated as it could be we're in a different row.
6723 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6724 to set the cursor behind the pargraph with > size().
6725 (setCursor): check also for the same paragraph when checking where
6726 to put the cursor if we have a NFR inset.
6728 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6729 parts of layout read further up as it still was in the wrong
6732 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6734 * screen.C (drawFromTo): change sine fullRebreak always return
6737 * buffer.C (parseSingleLyXformat2Token): reindent some
6739 * BufferView_pimpl.C (update): change since fullRebreak always
6741 (Dispatch): git rid of the last hardcoded "Standard"s.
6743 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6745 * text2.[Ch] (fullRebreak): make it return void now that we always
6748 2002-04-30 Juergen Vigna <jug@sad.it>
6750 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6751 ert compatibility check for "latex" layout.
6753 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6755 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6756 minipages: use col% instead of p%, and also use the current font.
6757 (makeLaTeXFile): Fix use babel condition.
6758 (parseSingleLyXformat2Token): Correct font when reading old floats.
6760 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6762 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6763 inserting list of floats.
6765 2002-04-25 Herbert Voss <voss@lyx.org>
6767 * MenuBackend.C (expand): don't add the graphics extensions to the
6770 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6772 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6773 non-existing layout, do not complain if it was the default layout
6774 of the original class (bug #342)
6776 2002-04-24 Juergen Vigna <jug@sad.it>
6778 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6779 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6781 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6783 * buffer.C (getBibkeyList): If using \bibliography, return the
6784 option field with the reference itself. Enables us to provide natbib
6785 support when using \bibliography.
6787 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6789 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6791 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6792 natbib is provided by the LaTeX class.
6794 2002-04-23 Juergen Vigna <jug@sad.it>
6796 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6799 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6801 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6803 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6805 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6806 ensuremath around textordmasculine, textordfeminine and
6809 2002-04-19 Juergen Vigna <jug@sad.it>
6811 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6812 reinitializing the buffer otherwise row-dimensions may be wrong.
6813 (update): reset also the selection cursors if they do exits otherwise
6814 their x/y positions may be wrong.
6816 * text2.C (cursorDown): don't enter the inset if we came from a row
6817 above and are one row over the inset.
6819 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6820 really leaving an inset.
6822 2002-04-18 Juergen Vigna <jug@sad.it>
6824 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6825 of the selected paragraph does not have the selected layout also if
6828 * text2.C (setLayout): fixed bug which did not change last selected
6831 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6832 changed the read and substituted \\end_float with \\end_inset!
6834 * BufferView_pimpl.C (cursorPrevious):
6835 (cursorNext): fixed to make it work with rows heigher than the work
6836 area without moving the cursor only the draw of the row.
6837 (workAreaMotionNotify): fix jumping over high rows.
6839 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6841 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6844 2002-04-16 Juergen Vigna <jug@sad.it>
6846 * text2.C (setCursor): set also the irow().
6847 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6849 (cursorDown): support for locking an inset if the x_fix value goes
6850 inside it. That way I can transverse insets too with cursor up/down.
6852 * lyxrow.h: added irow helper function same as other (i) functions.
6854 * BufferView_pimpl.C (cursorPrevious):
6855 (cursorNext): fixed for insets!
6857 2002-04-15 Juergen Vigna <jug@sad.it>
6859 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6860 position otherwise it is wrong in some cases.
6862 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6863 inside the inset before the call.
6865 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6867 * buffer.[Ch] (getBibkeyList): make it const.
6869 2002-04-12 Juergen Vigna <jug@sad.it>
6871 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6873 * text2.C (getCursorX): new helper function
6874 (setCursor): compute also ix_
6875 (setCursorFromCoordinates): set also ix.
6877 * lyxcursor.h: added ix_ and helper functions.
6879 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6881 * buffer.C (insertStringAsLines): dont break paragraph if the this
6882 paragraph is inside an inset which does not permit it!
6884 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6885 also with no chars on this paragraph.
6886 (paintRowText): only paint stuff if it's inside the workarea!
6888 * paragraph.C (breakParagraph): honor keepempty flag and break the
6889 paragraph always below not above.
6891 * BufferView2.C (unlockInset): update the paragraph layout on inset
6892 unlock as we changed paragraph in such a case.
6894 * lyxfind.C (LyXFind): clear the former selection if not found!
6896 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6897 again called in insertChar().
6899 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6900 an inset which uses the whole row!
6901 (rightMargin): ditto.
6902 (insertChar): force a rebreak if we inserted an inset!
6904 2002-03-28 Herbert Voss <voss@lyx.org>
6906 * lyxlength.[Ch]: add inBP() to get the right PS-point
6907 units (BigPoint). With inPixels we have rounding errors
6909 2002-04-11 Juergen Vigna <jug@sad.it>
6911 * text2.C (setCursorFromCoordinates): set iy to the right value.
6912 (setCursor): add check if row->previous exists!
6914 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6915 an old float_type as this was the case in the old code!
6917 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6919 * BufferView2.C (showLockedInsetCursor): use iy
6920 (fitLockedInsetCursor): ditto
6922 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6923 locked insets as there we have the right value now.
6925 * lyxcursor.C: added iy_ variable and iy functions to set to the
6926 baseline of cursor-y of the locked inset.
6928 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6929 (setCursor): fixed for insets which need a full row.
6931 * text.C (rowLastPrintable): don't ignore the last space when before
6932 an inset which needs a full row.
6933 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6934 as last character of a row when before a inset which needs a full row.
6936 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6938 * version.C.in: update date
6940 * text2.C (fullRebreak): try to always return true and see what
6943 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6945 * MenuBackend.C (expand): use Floating::listName
6947 * FloatList.C (FloatList): add listName argument to the built-in
6950 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6951 text associated with the float.
6953 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6955 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6957 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6959 * ShareContainer.h: add a couple of missing typenames.
6961 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6963 * lyxrc.C (getDescription): use _() correctly rather than N_().
6965 2002-03-28 Herbert Voss <voss@lyx.org>
6967 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6968 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6970 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6972 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6973 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6975 2002-03-29 Juergen Vigna <jug@sad.it>
6977 * lyxfunc.C (dispatch): add a missing fitCursor call.
6979 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6980 it was scrolled by a cursor move, so return the bool status.
6982 * BufferView.C (fitCursor): return the bool flag also to the outside
6983 world as this is needed.
6985 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6987 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6988 call the edit() as it is not needed (and wrong) IMO.
6989 (workAreaButtonPress): set the screen_first variable before evt.
6990 unlock the inset as this may change screen_first and then we have
6991 a wrong y position for the click!
6993 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6995 * MenuBackend.C (expand): another translation that I missed
6997 2002-03-28 Juergen Vigna <jug@sad.it>
6999 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7001 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7003 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7005 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7007 * MenuBackend.C (expand): fix export/view/update when there is no
7010 2002-03-27 Herbert Voss <voss@lyx.org>
7012 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7015 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7017 * bufferview_funcs.C (currentState): only show paragraph number
7018 for is DEVEL_VERSION is set.
7020 * lyxfunc.C (dispatch): put warning in INFO channel
7022 * MenuBackend.C (expand): translate the name of floats
7024 * FloatList.C (FloatList): mark the float names for translation
7026 * converter.C (convert): use LibScriptSearch
7028 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7030 * MenuBackend.C (defaults): fix default menu (we might as well get
7033 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7035 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7038 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7040 * lyxvc.C: reorder includes.
7042 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
7044 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7047 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
7049 * CutAndPaste.C: change layouts earlier on paste
7050 to avoid crashing when calling getFont()
7052 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
7054 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7057 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7059 * WorkArea.C: remove 'Pending' debug message.
7061 * most files: ws cleanup
7063 * buffer.[Ch]: ws changes
7065 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7067 2002-03-21 Juergen Vigna <jug@sad.it>
7069 * tabular.C (SetMultiColumn): collapse also the contents of the
7070 cells and set the last border right. Added a Buffer const * param.
7072 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7074 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7077 2002-03-19 Juergen Vigna <jug@sad.it>
7079 * text2.C (clearSelection): reset also xsel_cache.
7081 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7082 where it needs to be called (John tells us to do so too :)
7083 (selectionLost): reset sel_cache.
7085 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7087 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7089 * text2.C (setCursorIntern): put debuging code in INSETS channel
7091 2002-03-19 André Pönitz <poenitz@gmx.net>
7093 * lyxfunc.C: tiny whitespace change
7095 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7097 * ToolbarDefaults.C (init):
7098 * LyXAction.C (init):
7100 * BufferView_pimpl.C (Dispatch):
7101 * lyxfunc.C (dispatch): remove LFUN_DEPTH
7103 2002-03-19 Allan Rae <rae@lyx.org>
7105 * exporter.C (Export): removeAutoInsets before doing anything else.
7106 While I've just introduced a dependency on BufferView this really is
7107 the best place to clean the buffer otherwise you need to cleanup in
7108 a dozen places before calling export or cleanup in a dozen functions
7111 * converter.C (runLaTeX):
7112 (scanLog): Better handling of removeAutoInsets and screen updates.
7114 * lyxfunc.C (dispatch): small whitespace changes
7116 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7118 * WorkArea.C (C_WorkAreaEvent): return a value.
7119 (event_cb): return 1 if we handled the event, 0 otherwise.
7121 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7123 2002-03-18 Juergen Vigna <jug@sad.it>
7125 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7126 (GetAdditionalWidth): ditto.
7130 * BufferView2.C (copy): use getLyXText() so that we do it inside an
7131 inset if we're there actually (probably not used right now but this
7132 is the direction to go for unifying code).
7133 (paste): disable code to clear the selection.
7135 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7136 inside an InsetText and move the check further up as it is in the
7139 * text2.C (pasteSelection): set a selection over the pasted text.
7141 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7143 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7144 and libgraphics to build on Cygwin.
7146 2002-03-15 Juergen Vigna <jug@sad.it>
7148 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7149 inserting an Inset into the paragraph. I know this is not the best
7150 fix but we already use current_view in CutAndPaste so we will remove
7151 all of it's using at the same time.
7153 * buffer.C (sgmlError): deactivated function till it is rewritten in
7154 the right mode, now it can create problems.
7156 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7157 before accessing it.
7159 2002-03-14 Juergen Vigna <jug@sad.it>
7161 * undo_funcs.C (textHandleUndo): do the right thing when updating
7162 the inset after the undo/redo.
7164 * text2.C (setCursor): just some testcode for #44 not ready yet.
7166 * undo_funcs.C (textHandleUndo): set the next() and previous()
7167 pointers of the paragraph to 0 before deleting otherwise we have
7168 problems with the Paragraph::[destructor].
7170 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7171 on a paragraph insertion.
7173 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7175 * buffer.C (asciiParagraph): use += operator for char append to
7178 * paragraph.C (getFontSettings): compare >= not just >
7179 (highestFontInRange): ditto
7182 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7184 * paragraph.C: change several algorithm to be more appripriate for
7185 the problem domain. This is lookip in FontList and in the InsetList.
7187 2002-03-13 André Pönitz <poenitz@gmx.net>
7190 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7192 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7197 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7199 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7201 * Painter.C (display): anon helper function, adjust code for this
7203 (pixmap): remove function.
7205 * Painter.h: remove private display variable.
7207 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7209 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7211 * WorkArea.[Ch]: remove figinset_canvas cruft.
7213 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7215 * lyxtextclass.C (operator): add one item cache optimization.
7217 * bufferlist.h: doxy changes
7219 * bufferlist.C: ws changes
7221 * DepTable.[Ch] (ext_exist): place const in the right spot.
7223 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7225 (workAreaExpose): call resizeInsets when the with BufferView changes.
7226 (Dispatch): adjust for protectedBlank removal
7227 (specialChar): call updateInset if the insert went ok.
7229 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7230 specialChar instead.
7232 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7234 * BufferView.h: doxy change
7236 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7238 * lyxtextclass.C (operator[]): remove non-const version
7239 (defaultLayout): remove non-const version
7241 2002-03-12 Juergen Vigna <jug@sad.it>
7243 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7244 did resize the LyXText too.
7246 * buffer.C (readLyXformat2): set layout information on newly allocated
7249 * tabular.C (OldFormatRead): set layout information on the paragraph.
7251 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7253 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7255 2002-03-11 Juergen Vigna <jug@sad.it>
7257 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7259 (resizeCurrentBuffer): force also the insets to resize themselfes.
7260 (moveCursorUpdate): fixed up for InsetText.
7262 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7265 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7266 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7267 value of Dialogs::tooltipsEnabled().
7268 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7270 2002-03-08 Juergen Vigna <jug@sad.it>
7272 * BufferView_pimpl.C (updateInset): update inset inside inset also
7273 if it isn't inside theLockingInset().
7275 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7277 * buffer.C (asciiParagraph): redo some of the word and line length
7279 (getLists): look for Caption instead of caption.
7281 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7283 * buffer.C (Buffer): initialize niceFile to true
7286 (makeDocBookFile): make sure niceFile is true on exit
7288 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7290 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7292 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7294 * LyXSendto.C: remove.
7295 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7296 * lyx_gui.C: remove now-redundant comment.
7297 * ColorHandler.h: remove forward declaration of class WorkArea.
7298 * lyxfunc.C: remove #include "WorkArea.h".
7300 2002-03-07 Juergen Vigna <jug@sad.it>
7302 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7303 got moved away with the DEPM and also set the inset_owner always
7304 right which before could have been omitted.
7306 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7308 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7309 wanted layout is not found.
7311 2002-03-07 Juergen Vigna <jug@sad.it>
7313 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7315 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7317 * paragraph.C (breakParagraph): use default layout not layout of
7319 (Paragraph): clear ParagraphParameters.
7321 2002-03-06 Juergen Vigna <jug@sad.it>
7323 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7324 otherwise it would not be a valid lenght. Fixed a special case in
7325 the minipage compatibility read where we end the document with a
7328 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7329 was set as it could be 0 for InsetTexts first entry.
7331 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7333 * paragraph.C (writeFile): if layout is empty write out
7334 defaultLayoutName().
7336 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7337 file without named layout we set layout to defaultLayoutName().
7339 2002-03-06 Juergen Vigna <jug@sad.it>
7341 * CutAndPaste.C (copySelection): set layout for new paragraph.
7343 * text.C (prepareToPrint): leave ERT inset left aligned
7344 (leftMargin): don't indent paragraphs inside ERT insets
7346 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7348 * paragraph.C (breakParagraph): dont call clear do the work manually
7350 * paragraph.[Ch] (clear): remove function
7352 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7354 * paragraph.C (Paragraph): dont call clear, the work has already
7357 * lyxtextclass.C (operator): assert if n is empty
7359 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7360 work manually instead.
7362 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7364 * BufferView_pimpl.C: protect selectionLost against text == 0
7366 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7368 * text.C (breakParagraph): fix a setting layout to '0' problem.
7370 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7372 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7373 final location of file, for the included files, and graphics.
7375 2002-03-05 Juergen Vigna <jug@sad.it>
7377 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7379 2002-03-04 Juergen Vigna <jug@sad.it>
7381 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7383 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7384 last column of multicolumn cells.
7385 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7387 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7389 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7390 file if it doesn't go to a temporary file.
7392 * buffer.C (sgmlOpenTag):
7393 (sgmlCloseTag): remove extra newline insertion.
7395 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7397 * text.C (getRowNearY): comment out debug msg
7399 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7401 * text2.C: first -> first_y
7403 * text.C (getRowNearY): add some attemts at a possible
7404 optimization, not working.
7406 * tabular.[Ch]: add BufferParams to several function so that newly
7407 created paragraph can be initialized to he default layotu for the
7410 * tabular-old.C (ReadOld): add buf->params to call of Init
7412 * screen.C: rename text->first to text->first_y
7414 * paragraph.C (breakParagraph): always set layout in the broken
7417 * lyxtextclass.C (Read): remove lowercase
7420 (delete_layout): ditto
7422 * lyxtext.h: rename first -> first_y
7424 * lyxlayout.C (Read): remove lowercase
7427 (obsoleted_by): ditto
7429 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7431 * buffer.C (insertErtContents): add params are to InsetERT
7432 (parseSingleLyXformat2Token): add code to check if a paragraphs
7433 layout really exist.
7434 (parseSingleLyXformat2Token): add params to several inset
7436 (asciiParagraph): remove lowercase, do the layout comparisons with
7439 * BufferView_pimpl.C (cursorNext): first -> first_y
7440 (resizeCurrentBuffer): first -> first_y
7441 (updateScrollbar): first -> first_y
7442 (scrollCB): first -> first_y
7443 (workAreaMotionNotify): first -> first_y
7444 (workAreaButtonPress): first -> first_y
7445 (checkInsetHit): first -> first_y
7446 (cursorPrevious): first -> first_y
7447 (cursorNext): first -> first_y
7448 (Dispatch): add buffer_->params to severl inset contructors
7450 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7452 * lyxlayout.C (Read): remove some debug info that I forgot.
7454 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7455 clean up the code slightly.
7456 (makeLinuxDocFile): ditto
7457 (makeDocBookFile): ditto
7459 * text2.C: layout as string
7461 * text.C: layout as string
7463 * paragraph_pimpl.C: layout as string
7465 * paragraph.[Ch]: layout as string
7467 * lyxtextclasslist.[Ch]: layout as string
7469 * lyxtextclass.[Ch]: layout as string
7471 * lyxtext.h: layout as string
7473 * lyxlayout.[Ch]: layout as string
7475 * lyx_cb.C: layout as string
7477 * bufferview_funcs.C: layout as string
7479 * bufferparams.C: layout as string
7481 * buffer.C: layout as string
7483 * LyXView.[Ch]: layout as string
7485 * LaTeXFeatures.[Ch]: layout as string
7487 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7489 * BufferView_pimpl.C: change current_layout to string, remove
7494 (workAreaButtonRelease): layout as string
7496 * BufferView2.C (unlockInset): adjust
7498 * vspace.C (asLatexCommand): use an explict temp variable.
7500 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7502 * Makefile.am: use FRONTEND_*
7504 2002-03-01 Juergen Vigna <jug@sad.it>
7506 * tabular.C (SetWidthOfMulticolCell): changed to something better
7507 I hope but still work in progress.
7508 (recalculateMulticolumnsOfColumn): renamed function from
7509 recalculateMulticolCells as it is more appropriate now.
7510 (SetWidthOfCell): calculate multicols better.
7512 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7514 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7516 * lyxfunc.C (processKeySym): print sequence also if it is
7517 `deleted' (complete)
7519 * kbsequence.C (print): print sequence even if it is deleted
7520 (complete would be a better word, actually).
7522 * lyxfunc.C (dispatch): print complete options after a prefix key
7524 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7526 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7528 * text2.C (setCharFont): eliminate setCharFont code duplication.
7530 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7532 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7533 LFUN_TABULAR_FEATURE (bug #177)
7535 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7537 * Makefile.am: remove figure.h
7539 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7541 * Bufferview_pimpl.C:
7553 * text2.C: remove #include "lyx_gui_misc.h".
7555 * LaTeX.C: added #include <cstdio>
7557 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7559 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7560 that the paragraph following this one can have.
7562 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7564 * vspace.C (asLatexCommand): fix bogus gcc warning
7566 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7568 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7570 * text2.C (setLayout): get rid of redundant code
7572 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7574 * text2.C (incDepth): make sure depth cannot be increased beyond
7577 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7579 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7580 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7582 * PainterBase.h (image):
7583 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7586 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7590 * BufferView_pimpl.C:
7591 * BufferView_pimpl.h:
7611 * sp_spell.C: remove fig inset, and the crap house of
7612 cards that follows it
7614 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7620 * nt_defines.h: move .h into support/
7622 * vms_defines.h: remove
7624 * WorkArea.C: add space in debug output
7628 * buffer.C: add WITH_WARNINGS
7632 * bufferlist.C: s/retrive/retrieve/, add docs
7643 * lyxgui.C: add ID to X error handler
7645 * lyxtestclass.c: fix typo
7647 2002-02-26 Juergen Vigna <jug@sad.it>
7649 * tabular_funcs.C (write_attribute): changed so that some default
7650 attributes are not written at all.
7651 (getTokenValue): set default values before trying to read the
7652 value so we have the return value always set as default if we don't
7653 find the token we search for.
7655 * tabular.C (Write): write bools as bools not as strings!
7657 2002-02-22 Juergen Vigna <jug@sad.it>
7659 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7660 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7662 * text.C (leftMargin): don't add an indent for paragraphs inside
7663 tabular cells (fix #208).
7665 2002-02-21 José Matos <jamatos@fep.up.pt>
7667 * tabular.C (docBook): fixed support for long tables.
7669 2002-02-20 Juergen Vigna <jug@sad.it>
7671 * text2.C (getFont): get the drawing font of the Inset if this
7672 paragraph is inside an inset (only important for InsetERT for now).
7674 * buffer.C (insertErtContents): use new lanugage params in ERT
7677 * CutAndPaste.C: commenting out seemingly uneeded code.
7679 2002-02-19 Allan Rae <rae@lyx.org>
7681 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7682 Iterators might be simple to use but they also get invalidated.
7683 (removeAutoInsets): renamed saved cursor tracking variables and added
7684 some comments to clarify what everything does.
7686 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7693 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7694 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7697 * vc-backend.h: remove #include "support/syscall.h"
7701 * converter.C: rearrange #includes in Lars' approved fashion.
7703 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7704 forward declare class Timeout in the header file.
7706 * XFormsView.C: changes due to the above.
7708 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7711 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7712 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7714 2002-02-18 José Matos <jamatos@fep.up.pt>
7716 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7719 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7721 * a lot of small ws changes
7722 * add a lot of using std::XXX
7723 * use std construcs some places where approp.
7724 * use some exisint stuff from lyxfunctional where approp.
7725 * Make file changes to use partial linking (lets test this now...)
7727 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7731 remove #include "support/syscontr.h" as it's redundant. Always has been.
7739 change Systemcalls::System to Systemcalls::Wait and
7740 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7741 No change of functionality, just reflects the stripped down Systemcalls
7744 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7746 * debug.[Ch]: add a GRAPHICS type to the enum.
7748 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7750 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7752 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7755 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7757 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7758 match the changes below.
7760 * text2.C (toggleInset): if there is not editable inset at cursor
7761 position, try to see if cursor is _inside_ a collapsable inset
7764 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7766 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7767 document menu has a nice checkbox
7769 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7771 * lyxlength.C (asLatexString): change PW to output as percent of
7774 * lengthcommon.C: change '%' to 't%'
7776 * lyxfunc.C (dispatch): a few comments from Martin
7778 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7782 * BufferView_pimpl.h:
7783 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7786 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7788 * vspace.C (inPixels): fix compiler warning
7790 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7792 * lyxfunc.C (getStatus): fix status message for disabled commands.
7794 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7796 * BufferView_pimpl.C: fix crash on close buffer
7797 during selection (#227)
7799 2002-01-27 Herbert Voss <voss@lyx.org>
7801 * buffer.C: link old Figure to new graphic inset
7803 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7805 * FontLoader.C (getFontinfo): Change the latex font names in order
7806 to match the names of type1inst.
7808 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7810 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7812 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7815 (remove_files_with_extension): ditto
7816 (remove_file): ditto
7819 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7820 document is smaller than the work area height. Do not initialize
7821 static variables to 0.
7823 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7825 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7827 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7828 LFUN_LAYOUT_PARAGRAPHS.
7830 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7831 tabular. It is possible to provide a possible cell, which will
7832 typically be the actcell from the corresponding insettabular
7834 * lyxfunc.C (getStatus): small cleanup; disable
7835 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7838 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7840 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7842 * paragraph.C (startTeXParParams):
7843 (endTeXParParams): new methods. The LaTeX code to
7844 start/end paragraph formatting
7845 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7846 empty (fixes bug #200)
7848 * vspace.C (inPixels): adapt to the change below
7849 (inPixels): [later] more cleanups (remove unused variables)
7851 * lyxlength.C (inPixels): change to use a width and a height as
7854 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7856 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7857 Replaced with \paperwidth
7859 * DepTable.C (insert): add std:: qualifier
7861 2002-01-18 Allan Rae <rae@lyx.org>
7863 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7866 * text.C (drawInset): Turned out I didn't know enough about how
7867 rebreaking worked. This fixes most of the redraw problems. I see
7868 an occasional cursor trail when a line is broken now and the cursor
7869 placement can seem out by a few pixels also after a rebreak.
7871 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7873 * buffer.C (parseSingleLyXformat2Token): update because minipage
7874 width is now a LyXLength
7876 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7878 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7881 2002-01-17 Juergen Vigna <jug@sad.it>
7883 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7885 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7886 is set correctly and the inset is updated correctly.
7888 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7890 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7891 the beginning of the loop.
7893 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7895 * lyxrc.C: improve help for use_scalable_fonts
7897 2002-01-17 Allan Rae <rae@lyx.org>
7899 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7901 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7903 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7904 make sure to set their inset_owner to the right value (bug #171)
7906 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7909 * DepTable.C: Implement mtime checking to reduce time spent doing
7912 2002-01-16 Juergen Vigna <jug@sad.it>
7914 * tabular.C (GetAdditionalHeight): one of error fixed.
7916 * lyxrc.C (output): small fix in writing use_pspell.
7918 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7920 * sp_base.h: #include LString.h
7922 2002-01-16 Allan Rae <rae@lyx.org>
7924 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7925 Can someone check this please?
7927 * text.C (drawInset): It was possible that p.row would be removed by
7928 breakAgainOneRow upsetting a few other settings. There may be another
7929 small tweak possible by setting need_break_row = 0 when p.row has been
7930 removed but I don't know enough about the logic here.
7932 2002-01-15 Allan Rae <rae@lyx.org>
7934 * text.C (insertChar): removed conditional truism.
7936 * BufferView2.C (removeAutoInsets): More tweaks.
7937 cur_par_prev could be a stray pointer. Check for trailing empty line
7938 in case last line was cur_par and only had an error inset on it.
7940 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7942 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7945 * vc-backend.C (most methods):
7946 * exporter.C (Export):
7947 * converter.C (convert):
7949 * LyXSendto.C (SendtoApplyCB):
7950 * lyxfunc.C (dispatch):
7954 * lyx_cb.C (AutoSave):
7956 * BufferView_pimpl.C (MenuInsertLyXFile):
7957 * buffer.C (runChktex): use Buffer::filePath().
7959 * buffer.h: rename filename to filename_; rename filepath to
7960 filepath_ and make it private
7961 (filePath): new method
7963 * buffer.C (writeFile): use fileName()
7966 * lyx_main.C (init): fix starting of LyX when the binary is a
7967 link from so,ewhere else.
7969 * minibuffer.C: include <cctype> for isprint
7971 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7973 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7974 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7975 name clash with InsetCollapsable's width function.
7977 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7979 * lastfiles.C: include <iterator>
7981 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7983 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7986 * buffer.C (makeLaTeXFile): ditto.
7987 Also make loop operation more transparent.
7989 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7991 * ToolbarDefaults.C: remove trailing comma closing namespace.
7993 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7995 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7998 * trans.C (Load): comment out unused variable, allowed.
8000 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8002 * minibuffer.[Ch] (append_char): new method to recieve input from the
8003 drop-down completion browser. If a key was pressed, then recieve this
8004 char and append it to the existing string.
8005 (peek_event): modify the positioning data passed to the completion
8006 browser so that it can be placed above the minibuffer rather than below.
8007 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
8009 * LyXAction.C (init): alloe error-next for readonly documents.
8011 * BufferView2.C (ChangeRefsIfUnique): use standard version of
8014 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8016 * bufferlist.C (readFile): create the buffer _after_ checking that
8019 * lyxfunc.C (verboseDispatch): fix handling of arguments
8021 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8023 * lyxrc.C: use string::erase() instead of initializing to "".
8026 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8028 * BufferView_pimpl.h:
8029 * BufferView_pimpl.C:
8032 * text2.C: tell X when we have made a selection for copying
8034 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8036 * BufferView_pimpl.C (MenuInsertLyXFile):
8037 * lyxfunc.C (menuNew):
8039 (doImport): add shortcuts to directory buttons
8041 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8044 * lyxfunc.C (setStatusMessage):
8045 (getStatusMessage): new methods
8046 (getStatus):use setStatusMessage instead of setErrorMessage
8047 (dispatch): when function is disabled, set error message here
8048 [instead of in getStatus previously]
8050 * BufferView_pimpl.C (workAreaButtonRelease): update
8051 toolbar/menubar here too.
8053 2002-01-13 Allan Rae <rae@lyx.org>
8055 * BufferView2.C (removeAutoInsets): finished off earlier fix.
8056 Now seems indestructible. Remaining task is to audit all other
8057 code affected by deleteEmptyParagraphMechanism. One small quirk
8058 left is that an empty document with an error in the preamble can
8059 be made to report an error but no error box appears. I don't know
8061 (removeAutoInsets): Improved comments.
8063 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
8066 * Thesaurus.C: update for Aiksaurus 0.14
8068 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
8070 * text2.C (firstParagraph): removed member function, all uses
8071 replaces with ownerParagraph
8072 (redoParagraphs): here
8074 (toggleAppendix): here
8075 * BufferView2.C (insertErrors): here
8076 (setCursorFromRow): here
8078 2002-01-13 Allan Rae <rae@lyx.org>
8080 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8081 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8082 There is still a way to segfault this although you may have to do this
8083 multiple times: Have an InsetERT with an unknown command in it.
8084 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8085 <down-arrow>, <Enter> again, View->DVI, BANG!
8087 * text2.C (setCursor):
8088 (deleteEmptyParagraphMechanism):
8089 * lyxtext.h (setCursor):
8090 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8091 Making use of the return value may help fix other bugs.
8093 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8095 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8097 * LyXView.C (updateMenubar): call MenuBar::update here
8098 (updateToolbar): but not here
8099 (showState): do not update toolbar/menubar
8101 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8102 should need to care about that.
8104 * lyxfunc.C (verboseDispatch): simplify a bit
8105 (getStatus): have a version which takes a pseudoaction, and
8106 another which requires a (kb_action,string).
8108 * LyXAction.C (retrieveActionArg): make it work also when action
8109 is not a pseudo-action.
8110 (getActionName): simplify a bit
8113 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8115 * lyxfunc.C (verboseDispatch): new families of methods with
8116 several ways to specify a command and a bool to indicate whether
8117 the command name and shortcut should be displayed in minibuffer
8118 (eventually, we could extend that to a finer bitmask like
8119 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8120 (dispatch): the pristine dispatch command which just, well,
8121 dispatchs! Note it still sets its result to minibuffer; I'm not
8124 * lyxfunc.h: remove setHintMessage
8126 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8128 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8130 * BufferView_pimpl.C (specialChar): delete new inset if we have
8131 not been able to insert it.
8133 * kbmap.C: revert to using int instead of kb_action, since all we
8134 are dealing with is pseudo-actions.
8136 * LyXAction.C (searchActionArg): change to return int instead of
8137 kb_action, since the result is a pseudoaction.
8139 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8141 * buffer.C (insertErtContents): Fix (partially) the font bug.
8143 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8145 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8146 as the other one is broken on my machine!
8148 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8151 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8153 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8155 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8156 reflect their actual use. Provide compatibility code for older lyxrc
8159 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8161 change names of popup font variables in line with the changes to lyxrc.C
8163 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8165 * buffer.C (asciiParagraph): avoid outputing a word twice after
8168 * lyxrc.C (getDescription): document that document_path and
8169 template_path can be empty.
8171 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8173 * LaTeXFeatures.C (getMacros):
8174 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8176 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8178 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8180 (getPackages): rename feature "floats" to "float". Use an array to
8181 iterate over 'simple' features (i.e. just a \usepackage). Add
8182 handling of "amsmath" (renamed from "amsstyle").
8184 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8186 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8189 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8191 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8192 FuncStaus::FuncStatus & FuncStaus::some_method().
8194 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8196 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8197 of the func_satus stuff. Edited and massaged in various ways by
8200 * lyxfunc.C (getStatus): use FuncStatus
8202 2002-01-08 Juergen Vigna <jug@sad.it>
8204 * text.C (nextBreakPoint): use function Inset::isChar().
8206 * paragraph.C (TeXOnePar): use function
8207 Inset::forceDefaultParagraphs.
8209 * buffer.C (latexParagraphs): use function
8210 Inset::forceDefaultParagraphs.
8212 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8214 * lyx_gui.C (init): set the style of the menu popups to
8215 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8217 2002-01-07 Juergen Vigna <jug@sad.it>
8219 * text.C (setHeightOfRow): small fix
8220 (prepareToPrint): don't look at alignment if we don't have the place
8223 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8225 * box.C: New file. Move the Box methods and functions out of box.h,
8226 following Lars' suggestion.
8228 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8230 * box.h: #include "support/LOstream.h", needed for inlined function.
8233 * lyxtextclasslist.C: added some using std declarations.
8235 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8237 * box.h: make signed dimensions to allow insets wider than
8238 the screen (bug #162)
8240 * BufferView_pimpl.C: add some insetHit debug
8242 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8244 * vc-backend.C: add FIXME
8246 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8248 * lyxfunc.C (getStatus): enable code for showing math font status
8251 2002-01-07 Juergen Vigna <jug@sad.it>
8253 * text.C (nextBreakPoint): removed debug output not needed anymore.
8255 2002-01-06 Juergen Vigna <jug@sad.it>
8257 * text.C (nextBreakPoint): fixed up this function we had this bug
8258 since ever but now hopefully we break row better.
8259 (insertChar): we have to check if an inset is the next char as it
8260 could now happen that a large inset is causing a break.
8262 2002-01-05 Juergen Vigna <jug@sad.it>
8264 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8265 if it doesn't like to be drawed.
8267 2002-01-04 Juergen Vigna <jug@sad.it>
8269 * BufferView2.C (lockInset): forgot to set a cursor.
8271 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8273 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8278 * form_maths_panel.C:
8279 * form_maths_panel.h:
8280 * form_maths_panel.fd: implemented sub- and super- buttons in math
8283 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8284 (or ^ space) to be used as in TeX (req'd by André).
8286 * lyxfunc.C: Allow ^ and _ again to be used both as
8287 super/subscript (mathed) and as themselves (in text).
8289 2002-01-03 Allan Rae <rae@lyx.org>
8291 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8292 "LyX" or the filename of the current buffer if it has one. This is a
8293 modified form of John Levon's patch.
8295 * XFormsView.C (setWindowTitle): also set icon title.
8297 * LyXView.h (setWindowTitle): signature changed.
8298 * XFormsView.h (setWindowTitle): ditto.
8300 2002-01-02 Juergen Vigna <jug@sad.it>
8302 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8304 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8306 * screen.C (topCursorVisible): introduce a temp var for
8307 text->cursor.row(), handle the case where this row is null. (kindo
8310 * text2.C (setCursor): add a couple of asserts.
8312 * paragraph.h (inset_iterator): add -> operator
8314 * paragraph.[Ch] (autoDeleteInsets): remove member function
8316 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8317 cursor pos correctly and handle inset deletion by itself.
8318 (insertErrors): move iterator declaration out of for expression
8320 * lyxtextclass.C: add <algorithm>
8322 * Makefile.am: added the new files to sources, removed layout.C
8324 * layout.C: removed file
8326 * layout.h: remove LYX_DUMMY_LAYOUT
8328 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8332 * lyxtextclass.[Ch]:
8333 * lyxtextclasslist.[Ch]: new files
8335 * include order changes to a lot of files, also changes because of
8338 2001-12-27 Juergen Vigna <jug@sad.it>
8340 * buffer.C (asciiParagraph): more fixes.
8342 * tabular.C (ascii): make ascii export support export of only the
8343 data separated by a column-delimiter.
8344 (ascii): better support for ascii export.
8346 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8348 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8350 * tabular_funcs.C: use a "using std::getline" instead of the
8351 previous fix from Angus (necessary for cxx + lyxstring)
8353 2001-12-24 Juergen Vigna <jug@sad.it>
8355 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8357 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8358 problems. First check a minipage also if we have some ert-contents
8359 (not only on par->size(), second set the right depth of the paragraph
8360 on the relink to the root-paragraph-list!
8362 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8363 which then did not anymore update the main paragraphs on undo/redo!
8365 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8367 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8368 code. Support all font-changing funcs (even those which are not in
8369 menu currently). Support for reporting font settings in
8370 mathed (disabled until Andre provides a function on mathed's side).
8372 * func_status.h (toggle): small helper function to set toggle
8375 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8377 * tabular_funcs.C: getline -> std::getline
8379 2001-12-21 Juergen Vigna <jug@sad.it>
8381 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8382 accessed and could be 0 (I couldn't generate this but it seems
8385 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8387 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8388 * tabular_funcs.h: here and include iosfwd
8390 2001-12-20 Juergen Vigna <jug@sad.it>
8392 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8393 inside inset but undo_par was.
8395 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8397 * Thesaurus.C: always include <config.h> in sources.
8401 * box.h: do not include <config.h> in header files
8403 * text.C (paintLastRow): remove unused variable
8405 * text.C (transformChar):
8407 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8410 * font.C (width): rewrite to use uppercase() instead of
8413 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8415 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8417 * lyxfind.C: clean up of find failure position change
8419 2001-12-20 Juergen Vigna <jug@sad.it>
8421 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8423 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8424 (TeXRow): added to LaTeX a single tabular row.
8425 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8426 (Latex): simplified and finally good LT-h/f support.
8427 (various_functions): just small adaptions for LT-h/f support.
8429 * tabular_funcs.[hC]: added and moved here all not classfunctions
8432 2001-12-19 Juergen Vigna <jug@sad.it>
8434 * tabular.[Ch]: better support for longtabular options (not finished
8437 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8439 * text.C (paintLastRow): use the label font instead of the font of
8440 the last character to compute the size of *_BOX. This makes more
8441 sense and avoids a crash with empty paragraphs.
8442 Use Painter::rectangle to draw EMPTY_BOX.
8444 2001-12-19 Juergen Vigna <jug@sad.it>
8446 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8447 the paragraphs if the replaced paragraph is not the first one!
8448 Tried to delete not used paragraphs but does not work yet so for
8449 now it's inside #ifdef's and by default off!
8451 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8453 * MenuBackend.C: include "lyx_main.h" instead of declaring
8454 lastfiles (actually was declared as LastFiles* instead of a
8457 2001-12-17 Juergen Vigna <jug@sad.it>
8459 * tabular.C (AppendColumn): applied John's fix
8461 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8465 * BufferView_pimpl.h:
8466 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8469 * box.h: new start of class for above
8471 * lyxfunc.C: ignore space-only minibuffer dispatches.
8472 Show the command name when it doesn't exist
8474 * minibuffer.C: don't add empty lines to the history
8476 * minibuffer.C: add a space on dropdown completion
8478 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8480 * text.C: fix line above/below drawing in insets
8482 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8484 * lyxlength.C (LyXLength): Initialize private variables.
8486 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8488 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8489 when inserting error insets.
8491 2001-12-13 Juergen Vigna <jug@sad.it>
8493 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8494 actually sometimes the before-paragraph.
8495 (setUndo): don't clear the redostack if we're not actually undoing!
8497 2001-12-06 Juergen Vigna <jug@sad.it>
8499 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8500 and fixed redoing of main paragraph, so we can use it now ;)
8502 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8504 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8506 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8509 2001-12-13 André Pönitz <poenitz@gmx.net>
8512 * undo_func.C: minor cleanup
8514 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8516 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8517 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8518 font in urw-fonts package which is marked as -urw-fontspecific and
8519 does not work (incidentally, changing the encoding in the
8520 fonts.dir of this package to -adobe-fontspecific fixes the
8523 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8524 is a crash when undoing first paragraph (Juergen, please take a
8525 look). THis does not mean the undo fix is wrong, just that it
8528 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8529 the (Paragraph*) version when needed instead of duplicating the
8532 * text.C (workWidth): use Inset::parOwner to find out where the
8533 inset has been inserted. This is a huge performance gain for large
8534 documents with lots of insets. If Inset::parOwner is not set, fall
8535 back on the brute force method
8537 * paragraph_pimpl.C (insertInset):
8538 * paragraph.C (Paragraph):
8539 (cutIntoMinibuffer): set parOwner of insets when
8540 inserting/removing them
8542 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8544 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8550 * mathed/formulabase.C:
8551 * mathed/math_cursor.[Ch]:
8552 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8555 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8557 * lyxlength.[Ch] (operator!=): new function
8559 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8561 * text.C (workWidth): use Inset::parOwner to find out where the
8562 inset has been inserted. This is a huge performance gain for large
8563 documents with lots of insets. If Inset::parOwner is not set, fall
8564 back on the brute force method
8566 * paragraph_pimpl.C (insertInset):
8567 * paragraph.C (Paragraph):
8568 (cutIntoMinibuffer): set parOwner of insets when
8569 inserting/removing them
8571 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8573 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8575 * tabular-old.C (getTokenValue):
8576 * tabular.C (getTokenValue):
8577 (write_attribute): new versions for LyXLength
8578 (everywhere): adjust the use of widths
8580 * tabular.h: change the type of widths from string to LyXLength
8582 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8584 * paragraph.C: fixed missing line number count when exporting
8585 Environments to LaTeX file
8587 * buffer.C: added informational message for checking line numbers.
8589 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8591 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8592 paragraph, do the 'double space' part, but not the 'empty
8595 * text.C (workWidth): small optimization
8596 (getLengthMarkerHeight): use minimal size for negative lengths.
8598 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8600 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8602 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8604 2001-12-11 André Pönitz <poenitz@gmx.net>
8607 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8609 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8611 * text2.C: keep selection on a setFont()
8613 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8615 * lyx_cb.C: another bv->text misuse, from insert label
8617 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8620 * kbsequence.C: re-instate nmodifier mask
8622 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8624 * lyx_main.h: make lyxGUI private.
8626 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8628 * lyxfind.C: place the cursor correctly on failed search
8630 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8632 * text.C (getLengthMarkerHeight): for small heights, the arrows
8633 are not always on top/bottom of the text
8634 (drawLengthMarker): smaller arrows; take the left margin in
8635 account; draw also vfills.
8637 (paintLastRow): remove special code for vfill and standard spaces,
8638 since everything is handled in drawLengthMarker now.
8640 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8642 * buffer.C (insertErtContents): try to handle font and language
8643 interaction a bit better.g
8645 * ColorHandler.C (updateColor): change the hash to cover the whole
8646 LColor enum, ws cleanup
8647 (getGCLinepars): ditto
8648 (getGCLinepars): only lookup in the linecache once.
8650 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8652 * iterators.C (operator++): Make the iterator more robust
8654 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8656 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8658 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8661 * text.C: better added space drawing
8663 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8666 * BufferView2.C: fix layout combo update on inset unlock
8668 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8670 * Makefile.am: don't compile unused files
8672 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8676 * LyXAction.C: remove old LFUN_LAYOUTNO
8678 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8680 * paragraph_pimpl.h:
8681 * paragraph_pimpl.C: isTextAt() doesn't need font param
8683 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8686 * lyxlex.C: little cleanup
8688 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8690 * BufferView_pimpl.C: fix insertAscii for insets
8692 2001-12-05 Juergen Vigna <jug@sad.it>
8694 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8695 set the right font on the "multi" paragraph paste!
8697 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8703 * lyxlength.C: remove out-commented code.
8719 * vc-backend.C: change "while(" to "while ("
8721 * lyxlength.[Ch]: add zero function to check if length is zero or
8723 * lyxgluelength.C: use it
8725 2001-12-05 Allan Rae <rae@lyx.org>
8727 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8728 Works for 2.95.3, from what I understand of Garst's reports this should
8729 work for other g++ versions. We're screwed if the abs(int) definition
8730 changed between bugfix releases of gcc.
8732 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8734 * text.C: fix chapter label offset !
8736 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8739 * text.C: fix hfill at end of line, clean up
8741 2001-12-04 Juergen Vigna <jug@sad.it>
8743 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8744 that we force an update of the inset and it's owners if neccessary.
8746 2001-12-03 Juergen Vigna <jug@sad.it>
8748 * text.C (rowLast): simplified code
8750 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8752 * lyxfunc.C: fix show options on timeout
8754 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8756 * screen.C (topCursorVisible): scroll half a page when the cursor
8757 reached top of bottom of screen
8759 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8761 * minibuffer.C: deactivate on loss of focus
8763 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8765 * vspace.[Ch] (operator!=): add operator.
8767 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8769 * BufferView_pimpl.C: refuse to open an inset when
8770 there's a selection.
8772 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8774 * BufferView_pimpl.C: allow to click on RHS of full row insets
8776 2001-11-30 Juergen Vigna <jug@sad.it>
8778 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8779 insets for undo reasons.
8781 2001-11-28 André Pönitz <poenitz@gmx.net>
8783 * vspace.[Ch]: cosmetical changes
8785 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8795 * kbsequence.C: part re-write of old kb code
8798 * WorkArea.C: remove Lgb_bug_find_hack
8800 2001-11-30 José Matos <jamatos@fep.up.pt>
8802 * buffer.C (makeDocBookFile): add a comment to point a hack.
8803 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8804 Fixed a double write of labels.
8806 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8809 * LaTeX.h Fixed bug in LaTeX class where it would not
8810 re-run latex if no depfiles were changed, but the .dvi was removed.
8812 2001-11-28 André Pönitz <poenitz@gmx.net>
8814 * all the files from the change on 2001/11/26:
8815 use lyx::layout_type instead of LyXTextClass::size_type
8816 use lyx::textclass_type instead of LyXTextClassList::size_type
8818 2001-11-29 Juergen Vigna <jug@sad.it>
8820 * text.C: added support for paragraph::isFreeSpacing()
8822 * buffer.C: same as above
8824 * paragraph.h: inserted isFreeSpacing() function to enable
8825 FreeSpacing inside InsetERT.
8827 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8828 of the paragraph's in the cut/copy buffer to 0!
8830 * text2.C (removeRow): remove the assert as it can!
8832 * lyxtext.h: added helper function firstRow returning firstrow and
8833 made firstrow private again.
8835 * BufferView2.C (lockInset): don't relock if we're already locked!
8837 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8839 (removeRow): added Assert::(firstrow)
8841 * debug.C: forgot to add INSETTEXT here.
8843 2001-11-28 Juergen Vigna <jug@sad.it>
8845 * sp_spell.C (initialize): changed error text to more general
8846 spellchecker command use (not only ispell!)
8848 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8850 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8852 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8854 * vspace.C: initialise lyxgluelength on failure
8856 2001-11-28 Allan Rae <rae@lyx.org>
8858 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8859 declaration & definition that looks like a function declaration.
8861 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8863 * BufferView2.C (copy):
8864 (copyEnvironment): do not clear the selection when doing a copy.
8866 * text.C (paintFirstRow): compilation fix
8868 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8870 * tabular.C (Latex): correct line count when writing latex.
8872 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8874 * paragraph_pimpl.h:
8875 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8878 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8882 * LColor.C: change vfillline->added_space
8884 * text.C: add markers and text for added space
8886 * vspace.C: fix comment
8888 2001-11-28 André Pönitz <poenitz@gmx.net>
8890 * paragraph.C: whitespace changes
8891 * all the other files from the change on 2001/11/26:
8892 change *::pos_type into lyx::pos_type
8894 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8896 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8897 language of the document when inserting error insets.
8899 2001-11-26 André Pönitz <poenitz@gmx.net>
8901 * BufferView_pimpl.[Ch]:
8909 * paragraph_pimpl.[Ch]:
8912 * text2.C: reduce header dependencies, introduce type for positions
8914 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8916 * <various>: change to use Alert.h
8918 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8920 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8921 when encountering an unknown token.
8922 (readLyXformat2): Show an error message if there were unknown tokens.
8924 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8927 * BufferView_pimpl.C:
8931 * text2.C: use par->isInset()
8933 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8935 * paragraph_pimpl.h:
8936 * paragraph_pimpl.C: cleanup
8938 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8940 * text2.C (removeRow):
8941 * text.C (setHeightOfRow): remove useless (and costly) call to
8944 2001-11-20 Allan Rae <rae@lyx.org>
8946 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8947 Now need Inset*::checkInsertChar() to return true for appropriate
8948 cases so that the characters in the minibuffer will actually be
8951 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8953 * text.C: change the order of the includes.
8954 (workWidth): initialize it at once.
8955 (workWidth): make maxw unsigned
8956 (setHeightOfRow): remove unused variable (inset)
8957 (selectSelectedWord): remove unused variable (inset)
8958 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8960 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8962 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8963 server is not running.
8965 (closeConnection): add debug info when server is disabled.
8967 * ColorHandler.C (getGCForeground): send debug message to GUI
8970 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8972 * kbmap.C (bind): modify because return conventions of
8973 kb_sequence::parse have changed.
8975 * kbsequence.C (parse): only ignore spaces and not any stupid
8976 control character. This avoids tests like s[i] <= ' ', which are
8977 guaranteed to fail with 8bit characters and signed chars.
8978 Change return code to string::npos when there have been no error
8979 (0 was a bad idea when error is at first character)
8981 2001-11-14 José Matos <jamatos@fep.up.pt>
8984 * buffer.C (simpleDocBookOnePar): removed unused argument.
8986 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8988 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8989 insets which are part of a word. Paragraph::isLetter takes care of
8990 that now. Use Paragraph::isInset to identify insets.
8991 (selectSelectedWord): do not test for hyphenation break.
8993 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8994 that protected spaces are considered as spaces.
8996 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8999 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
9002 * lyxserver.C: fix it. and small cleanup.
9004 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9006 * BufferView_pimpl.C: use inline helpers
9009 * LaTeXFeatures.C: fix typos
9012 * Spacing.C: move spacing_string into class
9014 * ToolbarDefaults.C: move stuff into namespace anon
9016 * layout.h: update enum
9018 * lyxfunc.C: use better debug
9020 * minibuffer.h: fix typo
9024 * WorkArea.C: add and use Debug::WORKAREA
9028 * text2.C: code re-organisation, inline helpers
9030 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
9032 * Layout.C: replaced a few cases of std::vector.size() == 0 with
9033 std::vector.empty().
9035 2001-11-09 Allan Rae <rae@lyx.org>
9037 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9038 '\n's after tables. Tabular and ERT inset work now makes this no
9041 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
9044 * minibuffer.C: fix crash, improve drop-down completion
9046 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
9049 * lyxserver.C: invalidate fd's when doing endPipe()
9051 2001-11-08 José Matos <jamatos@fep.up.pt>
9053 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9054 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9057 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9059 2001-11-07 José Matos <jamatos@fep.up.pt>
9062 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9065 * buffer.C (sgmlOpenTag):
9066 * buffer.C (sgmlCloseTag): removed debug info.
9068 * buffer.h (sgmlOpenTag):
9069 * buffer.h (sgmlCloseTag): made public.
9071 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9073 * buffer.C (saveParamsAsDefaults):
9074 * lyx_cb.C (MenuLayoutSave): remove
9076 * LyXAction.C (init):
9078 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9080 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9082 * buffer.C (setPaperStuff): removed from here...
9084 * bufferparams.C (setPaperStuff): ... and moved there.
9086 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
9090 * XFormsView.C: add support for drop-down completion
9092 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
9094 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9097 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9099 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9102 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
9104 * lyx_main.C: change ref to known bugs
9106 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
9108 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9109 to work around older babel problems.
9111 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9113 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9115 2001-10-24 Juergen Vigna <jug@sad.it>
9117 * tabular-old.C (ReadOld): below variable changes reflected.
9119 * tabular.[Ch]: added ltType struct for longtable header/footer
9120 defines and changed all instances where they are used. Added
9121 future support for double top/bottom rows.
9123 2001-10-24 José Matos <jamatos@fep.up.pt>
9125 * buffer.h (docbookHandleCaption):
9126 * buffer.C (docbookHandleCaption): removed unused function.
9127 (makeDocBookFile): moved docbook supported version to v4.1.
9129 2001-10-24 José Matos <jamatos@fep.up.pt>
9132 * tabular.C (docbookRow): new function to export docbook code of a row.
9133 (DocBook): now honors the longtable flags.
9135 2001-10-23 José Matos <jamatos@fep.up.pt>
9138 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9139 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9141 * buffer.C (makeLinuxDocFile):
9142 (makeDocBookFile): reworked the preamble, more clean, and with
9143 support for lyx defined entities. Changed the document declaration
9144 to be more XML friendly.
9146 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9147 if we need to output XML that should be done with a filter.
9149 2001-10-22 Juergen Vigna <jug@sad.it>
9151 * sp_pspell.h (class PSpell): add alive function needed in the
9152 controller to see if the spellchecker could be started.
9154 2001-10-22 Juergen Vigna <jug@sad.it>
9156 * buffer.C (insertStringAsLines): modify the font for inserting
9157 chars in certain conditions by calling checkInsertChar(font).
9159 2001-10-19 Juergen Vigna <jug@sad.it>
9161 * text.C (workWidth): use getRow instead of wrong algorithm.
9162 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9164 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9169 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9171 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9173 * text.C (workWidth): do not search for the exact row when
9174 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9175 optimization for big documents.
9177 2001-10-18 Juergen Vigna <jug@sad.it>
9179 * text.C (workWidth): new function with added Inset * parameter.
9181 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9183 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9185 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9186 change return type of getColumnNearX.
9189 * text.C (changeRegionCase): use uppercase/lowercase instead of
9192 (rightMargin): simplify code by factoring out the uses of
9197 (appendParagraph): use Paragraph::size_type
9199 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9201 * vspace.C (asLatexString): add a missing break
9203 2001-10-15 Herbert Voss <voss@perce.de>
9205 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9207 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9209 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9212 2001-10-10 André Pönitz <poenitz@gmx.net>
9214 * lyxfunc.C: removed greek_kb_flag.
9216 2001-10-10 Herbert Voss <voss@perce.de>
9218 * lyx_main.C: delete global string help_lyxdir.
9220 2001-10-09 Herbert Voss <voss@perce.de>
9222 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9224 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9226 * lyx_main.C: added global string help_lyxdir.
9228 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9230 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9232 * lyxrc.C (set_font_norm_type): support iso8859-4
9234 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9236 * LaTeX.C (deplog): add another regex for MikTeX
9238 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9240 * lyxrc.C (set_font_norm_type): support iso8859-3
9242 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9244 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9246 * LaTeXFeatures.C: remove special case of french and index
9248 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9249 before \begin{document}). This solves several incompatibilities.
9251 2001-10-03 Garst Reese <reese@isn.net>
9253 * lyx_cb.C: change CheckTex error msg.
9255 2001-10-03 José Matos <jamatos@fep.up.pt>
9257 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9259 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9261 * .cvsignore: update
9263 * lyx_main.C (commandLineVersionInfo): use new style version info.
9265 * buffer.C (writeFile):
9268 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9270 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9272 * version.h: update to use stuff in version.C
9274 * version.C.in: new file. Contains version information determined
9275 at compile time. This is a merging of version.h and
9278 2001-10-03 Juergen Vigna <jug@sad.it>
9280 * BufferView_pimpl.C (update): don't change "dirty" status in
9283 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9285 * WorkArea.C (c-tor): re-position version string slightly.
9287 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9289 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9290 revert to previous code.
9292 WorkArea.[Ch]: (show, destroySplash): methods removed.
9294 WorkArea.C: rework code so that it's an amalgam of the codes before and
9295 after the splash screen was moved to WorkArea.
9297 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9300 * vspace.C (inPixels):
9303 * buffer.C (insertStringAsLines):
9304 (asciiParagraph): fix types to be large enough
9306 * lyxlex_pimpl.h: change member status from short to int
9308 * layout.h: fix type of endlabeltype
9311 * kbsequence.C (parse): change return type to string::size_type
9313 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9316 * Bullet.C (bulletSize):
9317 (bulletEntry): do not use short ints as parameters
9319 * BufferView2.C (insertLyXFile): change a char to an int.
9321 * WorkArea.C (WorkArea): remove unneeded floats in computation
9323 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9325 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9327 * paragraph.C (asString): Do not ignore newline/hfill chars when
9328 copying to the clipboard.
9330 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9332 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9333 after a multi-line inset.
9335 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9337 * paragraph.C (validate): Set NeedLyXFootnoteCode
9339 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9341 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9342 and decrease-error to decrease.
9344 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9346 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9347 it more readable (should be equivalent)
9349 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9351 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9353 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9355 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9356 of a cursor (row, etc.) after a character has been deleted
9357 (deleteEmptyParagraphMechanism): call the method above on _all_
9358 cursors held by the LyXText when a double space has been
9361 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9363 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9365 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9367 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9368 background. Use greyOut() and the new show() methods to toggle between
9369 the foreground and background. Add code to remove the splash after
9370 its initial showing.
9372 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9373 (create_forms): no longer call Dialogs::showSplash.
9375 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9377 * .cvsignore: add version_info.h
9379 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9381 * version_info.h.in: new file
9383 * Makefile.am: add version_info.h.in
9385 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9386 version_info.h instead of VERSION_INFO
9388 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9390 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9391 The ERT inset now returns string().
9393 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9395 * lyxtext.h, text.C (selectNextWord): renamed as
9396 selectNextWordToSpellcheck.
9398 * text.C (selectNextWordToSpellcheck): Modified to not select
9399 words inside an ERT inset.
9401 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9403 * lyx_cb.C (MenuLayoutSave): change a bit the question
9405 * sp_base.h: include <sys/types.h>
9407 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9409 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9411 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9413 * several files: fix typos in user-visible strings
9415 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9417 * text2.C (pasteSelection): do not set the selection, since it
9418 will be cleared later. Actually, the intent was to fix the way the
9419 selection was set, but I figured rmoving the code was just as good.
9421 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9423 * FontLoader.C (available): Check if font is available without
9426 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9428 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9430 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9432 * lyxrc.[Ch]: added display_graphics variable and associated code.
9434 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9436 * bufferparams.C (hasClassDefaults): new method. Returns true if
9437 the buffer parameters correspond to known class defaults
9439 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9441 * XFormsView.C (show): set minimum size to the main window.
9443 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9445 * text2.C (copySelection):
9447 * lyxfind.C (LyXReplace):
9448 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9449 LyXText::selectionAsString.
9451 * paragraph.C (asString): add "label" argument to the second form
9453 * text2.C (selectionAsString): add "label" argument and pass it to
9454 Paragraph::asString.
9456 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9458 * lyx_main.C (commandLineHelp): remove version information
9460 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9462 * lyx_main.C: add -version commandline option
9464 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9466 * paragraph.h: make the optional constructor arg required instead.
9467 some modifications to other files because of this.
9469 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9471 * lyxserver.C (C_LyXComm_callback): make it static
9473 * lyx_main.C (error_handler): make it static
9475 * lyx_gui.C (LyX_XErrHandler): make it static
9477 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9479 * WorkArea.C: make the extern "C" methods static.
9481 * Makefile.am (lyx_LDADD): simplify
9483 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9485 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9486 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9488 * LyXAction.C (init):
9489 * lyxfunc.C (dispatch): associated code removal.
9491 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9493 * lyxfont.h (isSymbolFont): shut off warning
9495 * text.C (setHeightOfRow):
9496 (getVisibleRow): fix crash with empty paragraphs which have a
9499 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9501 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9504 2001-09-04 José Matos <jamatos@fep.up.pt>
9507 * tabular.C (docbook): rename docBook method to docbook.
9509 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9511 * Makefile.am: add dependencies to main.o.
9513 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9515 * FontLoader.C (available): Return false if !lyxrc.use_gui
9517 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9519 * FontInfo.C (query):
9520 * converter.C (view):
9521 * importer.C (Import):
9522 * exporter.C (Export): Can not -> cannot.
9524 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9526 * BufferView_pimpl.C: allow to create index inset even if
9529 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9531 * buffer.C (getLists): replace boost::tie code with an explicit pair
9532 as boost::tie can break some compilers.
9534 * iterators.h: Added a std:: declaration to the return type of
9537 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9539 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9542 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9544 * iterators.[Ch]: New files. Provide paragraph iterators.
9546 * buffer.C (changeLanguage): Use paragraph iterators.
9547 (isMultiLingual): ditto
9549 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9551 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9553 * FontLoader.C: Support for cmr font.
9555 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9557 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9558 (available): New method.
9560 * FontInfo.C (getFontname): Use scalable fonts even when
9561 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9564 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9566 * converter.C (Formats::view): reverted! Incorrect fix.
9568 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9570 * converter.C (Formats::view): only output the -paper option
9571 if the dvi viewer is xdvi, thereby fixing bug #233429.
9573 2001-08-23 Herbert Voss <voss@perce>
9575 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9577 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9579 * Spacing.h (Spacing): Set space to Default on in the default
9582 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9584 * vc-backend.h (RCS::versionString): add RCS to version
9585 (CVS::versionString): add CVS to version
9587 * vc-backend.C (scanMaster): do not add CVS to version.
9588 (scanMaster): do not add RCS to version
9590 * lyxvc.C (versionString): new method
9592 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9594 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9596 * Spacing.C (set): initialize fval
9598 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9600 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9603 2001-08-16 Juergen Vigna <jug@sad.it>
9605 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9607 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9609 * BufferView_pimpl.C:
9612 * text2.C: setParagraph takes linespacing now
9614 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9616 * LyxAction.C: add internal LFUN_CITATION_INSERT
9618 * LyXView.C: actually apply fix
9620 * bufferlist.C: fix open non-existent file
9622 * lyxfind.C: fix indentation
9624 * lyxfunc.C: remove unneeded assert, fix typo
9626 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9628 * MenuBackend.C: use "Floatname List"
9630 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9632 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9633 when converting LaTeX layout to insetERT.
9634 Generate a non-collapsed float when reading old float
9636 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9638 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9641 2001-08-13 Juergen Vigna <jug@sad.it>
9643 * text.C (fill): return 0 instead of 20 as this seems to be the more
9646 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9648 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9651 2001-08-13 Juergen Vigna <jug@sad.it>
9653 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9655 (SearchBackward): comment out the unlocking of the inset_owner this
9656 should not be needed!
9658 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9660 * Many files: Remove inherit_language, and add latex_language
9662 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9665 2001-08-10 Juergen Vigna <jug@sad.it>
9667 * text.C (prepareToPrint): fixed hfill-width in draw!
9669 * BufferView2.C (selectLastWord): save the selection cursor as this
9670 now is cleared in the function LyXText::clearSelection!
9672 2001-08-08 Juergen Vigna <jug@sad.it>
9674 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9675 BACKSPACE type functions.
9677 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9678 is only cutted from the document but not put in the cut-buffer, where
9679 still the old stuff should be.
9681 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9683 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9685 * tabular.C (SetWidthOfCell): fixed special case where the width
9687 (LeftLine): handle '|' in align_special.
9689 (LeftAlreadyDrawed): ditto
9690 (SetWidthOfCell): ditto
9692 2001-08-07 Juergen Vigna <jug@sad.it>
9694 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9696 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9698 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9699 * lyxlex.[hC]: ditto
9701 2001-08-06 Juergen Vigna <jug@sad.it>
9703 * text.C (getVisibleRow): fix up row clearing a bit.
9705 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9707 * minibuffer.C: make sure the X server sees the changes in the input.
9709 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9711 * paragraph.C (getFont): split into...
9712 (getLabelFont): this
9713 (getLayoutFont): and this
9714 * paragraph_pimpl.C (realizeFont): calling this
9716 * text2.C (getFont): split into...
9717 (getLayoutFont): this
9718 (getLabelFont): and this
9719 (realizeFont): all three calling this
9721 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9724 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9726 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9728 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9730 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9731 layouts from the Quote inset insertion.
9733 2001-08-03 Juergen Vigna <jug@sad.it>
9735 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9737 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9738 only if status not is already CHANGED_IN_DRAW (second level).
9740 * text.C (draw): don't set the need_break_row when inside an
9743 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9745 * buffer.C (parseSingleLyXformat2Token): handle more latex
9748 * bufferview_funcs.[hC]: change function names to
9749 begin with small char, adjust other files.
9751 2001-08-02 André Pönitz <poenitz@gmx.net>
9754 BufferView_pimpl.C: remove broken special code for math-greek
9756 2001-08-02 Juergen Vigna <jug@sad.it>
9758 * BufferView_pimpl.C (update): redone this function so that we
9759 update the text again if there was a CHANGE_IN_DRAW.
9761 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9762 (drawFromTo): added a new internal bool which is used by draw() and
9764 (general): some cursor drawing problems fixed.
9766 2001-08-01 Juergen Vigna <jug@sad.it>
9768 * lyxfind.C (LyXFind): fixed
9769 (SearchForward): ditto
9770 (SearchBackward): ditto
9772 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9773 spurius drawing of the cursor in the main area.
9775 * text2.C (status): small fix which could lead to a segfault!
9776 (clearSelection): remove unneeded BufferView param.
9778 2001-08-01 André Pönitz <poenitz@gmx.net>
9780 * lyxfunc.C: small change due to changed mathed interface
9782 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9784 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9786 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9788 * lyxfunc.c: fail gracefully if file doesn't exist
9793 * BufferView_pimpl.C: IsDirWriteable() proto changed
9795 * LyXView.C: fix updateWindowTitle() to store the last title
9797 2001-07-31 Juergen Vigna <jug@sad.it>
9799 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9800 the font (wrong since using of Paragraph::highestFontInRange).
9802 * paragraph.C (highestFontInRange): added a default_size parameter.
9804 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9805 (setHeightOfRow): reformat
9807 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9809 * converter.[hC] + affected files: move to (inital-char)lowercase
9812 * ParagraphParameters.C (ParagraphParameters): remove commented code
9814 * PainterBase.[Ch]: remove commented code
9816 * LaTeXFeatures.h: add "bool floats" for float.sty
9818 * LaTeXFeatures.C (LaTeXFeatures): init floats
9819 (require): handle float
9820 (getPackages): do it with floats
9822 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9824 * BufferView_pimpl.C (Dispatch): improve handling of
9825 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9827 * commandtags.h: #include lyxfont.h here temporarily to avoid
9830 * bufferlist.h: include LString.h here.
9832 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9834 * text2.C (getStringToIndex): new method.
9836 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9838 * *: Reduced header file dependencies all over.
9840 2001-07-30 Baruch Even <baruch@lyx.org>
9842 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9844 2001-07-29 Baruch Even <baruch@lyx.org>
9846 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9848 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9850 * ParameterStruct.h (endif): add a default constructor to make
9851 sure that all variables is initialized.
9853 * ParagraphParameters.C (ParagraphParameters): adjust
9855 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9857 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9858 index; also, check that there is something to index, and that it
9859 does not span over several paragraphs.
9860 (doubleClick): use WHOLE_WORD_STRICT for double click.
9862 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9864 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9867 2001-07-26 Baruch Even <baruch@lyx.org>
9869 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9870 an InsetFig figure, backwards compatible reading of old figure code.
9872 2001-07-27 Juergen Vigna <jug@sad.it>
9874 * text2.C: font.realize function adaption.
9876 * text.C (draw): add a warnings lyxerr text if needed.
9878 * layout.C: font.realize function adaption.
9880 * language.C: add inherit_language and implement it's handlings
9882 * bufferview_funcs.C (StyleReset): remove language parameter from
9883 font creation (should be language_inherit now).
9885 * bufferparams.C (writeFile): handle ignore_language.
9887 * paragraph.C (getFontSettings): the language has to be resolved
9888 otherwise we have problems in LyXFont!
9890 * lyxfont.C (lyxWriteChanges): added document_language parameter
9891 (update): removed unneeded language parameter
9893 * paragraph.C (validate): fixed wrong output of color-package when
9894 using interface colors for certain fonts in certain environments,
9895 which should not seen as that on the final output.
9897 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9899 * BufferView_pimpl.C:
9904 * LyXAction.C: add thesaurus support
9907 * lyxfind.C: add "once" parameter, for thesaurus, to not
9908 move to the next match
9910 2001-07-26 Juergen Vigna <jug@sad.it>
9912 * lyxfont.C (realize): honor ignore_language too!
9915 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9917 * text.C (draw): one place more for ignore_language to not draw
9920 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9922 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9924 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9926 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9927 the minipage conversion problem.
9929 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9931 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9934 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9936 * BufferView.h: don't forward declare WorkArea
9938 * BufferView.C: don't include WorkArea.h
9940 2001-07-25 André Pönitz <poenitz@gmx.net>
9944 * lyxfunc.C: new LFUN 'math-space'
9946 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9948 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9950 * text2.C (toggleInset): call open/close
9952 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9954 * lyxfunc.C (dispatch): add debug for the disabled case
9956 * font.C (buttonText): make similar to rectText
9958 * buffer.C (readInset): comment out parsing of insetlist and
9961 * PainterBase.C (rectText): small correction
9963 * BufferView_pimpl.C: comment out insettheorem and insetlist
9964 * LyXAction.C: ditto
9965 * commandtags.h: ditto
9967 2001-07-24 Juergen Vigna <jug@sad.it>
9969 * text.C (draw): honor the ignore_language.
9971 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9973 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9975 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9978 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9980 * lyxtext.h: remove unused (and unimplemented) methods
9982 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9984 * text.C (getVisibleRow): honor background color
9987 * Painter.h: remove default color argument for fillRectangle
9989 * text.C (backgroundColor): new method
9991 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9993 * text.C (getVisibleRow): adjust
9995 * font.[Ch] (rectText): new method, metrics
9996 (buttonText): new method, metrics
9998 * PainterBase.[hC]: make rectText and buttonText always draw and take
10001 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10003 * ToolbarDefaults.C (read):
10004 * MenuBackend.C (read): allow escaping in all strings
10006 * BufferView_pimpl.C (insertAndEditInset): new method.
10007 (Dispatch): use insertAndEditInset whenever appropriate.
10009 * BufferView_pimpl.C (insertNote): removed
10011 * BufferView_pimpl.C (smartQuote): new method, moved from
10012 BufferView; if an insetquote cannot be inserted, insert a '"'
10015 * BufferView2.C: remove insertCorrectQuote();
10017 * lyxfunc.C (getStatus): Add support for all remaingin
10018 inset-insert lfuns.
10020 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10022 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10023 command (necessary to pass " as parameter of self-insert.
10025 * text.C (selectWordWhenUnderCursor):
10026 (selectWord): add word_location parameter
10027 (selectWordWhenUnderCursor): same + remove special code for word
10029 (selectNextWord): use kind() to guess type of insetspecialchar,
10032 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10033 (insertErtContents): create ert insets as collapsed.
10034 (readInset): better compatibility code for Info inset.
10036 2001-07-20 Juergen Vigna <jug@sad.it>
10038 * lyxfunc.C (dispatch): use always LyXFind now!
10040 * text2.C (init): add a reinit flag so that the LyXText can be
10041 reinited instead of deleted and reallocated (used in InsetText).
10043 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10049 2001-07-18 Juergen Vigna <jug@sad.it>
10051 * text.C (selectNextWord): handle insets inside inset by calling
10052 always the bv->text functions so that we can go up the_locking_inset!
10054 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10055 in strange locations when inside an inset!
10057 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10058 handling to include insets.
10060 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10062 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10064 * LyXAction.C (init):
10066 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10067 LIGATURE_BREAK, since the name is so stupid.
10069 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10071 * buffer.C (readInset): enable reading of new InsetNotes as well as old
10074 * FontLoader.C: remove FORMS_H_LOCATION cruft.
10076 * sp_form.[Ch]: remove.
10078 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10080 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10083 * src/buffer.C (readInset): ditto.
10085 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10087 * BufferView_pimpl.C (specialChar): new method. Obsoletes
10088 menuSeparator(), endOfSentenceDot(), ldots() and
10089 hyphenationPoint(), which are therefore removed.
10090 (Dispatch): handle LFUN_HYPHENATION_BREAK.
10092 * LyXAction.C (init):
10093 * commandtags.h: add LFUN_HYPHENATION_BREAK.
10095 * paragraph.C (getWord): removed.
10097 * BufferView_pimpl.C (Dispatch): use last word or selection for
10098 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10100 * lyx_main.C (queryUserLyXDir): do not ask before creating
10101 user_dir, except if it has been named explicitely.
10103 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
10105 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10106 a document of zero size.
10108 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
10110 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10111 approriately in the c-tor and in require().
10112 (getPackages): output the appropriate LaTeX for natbib support.
10114 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10115 variables "use_natbib" and "use_numerical_citations" when reading the
10117 (readInset): read the various natbib cite commands.
10118 (validate): white-space change.
10120 * bufferparams.[Ch]: new variables "bool use_natbib" and
10121 "bool use_numerical_citations".
10122 (writeFile): output them in the LyX file.
10124 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
10126 * lyxfunc.C (getStatus): add support for all the inset insertion
10129 * text2.C (insertInset):
10130 * paragraph.C (insetAllowed):
10131 * BufferView_pimpl.C (insertInset): update to take in account the
10132 renaming of insertInsetAllowed
10134 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10136 * text2.C (getInset): new method. returns inset at cursor position.
10138 * BufferView_pimpl.C (Dispatch): changes because of this.
10140 * LyXAction.C (init): rename open-stuff to inset-toggle.
10142 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10144 * text2.C (toggleInset): renamed from openStuff; use
10147 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10149 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10151 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10153 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10155 * buffer.C (readLyXformat2): Add filename to the error dialog
10157 2001-07-18 Juergen Vigna <jug@sad.it>
10159 * tabular.C (GetCellNumber): put an assert here instead of the check!
10161 2001-07-17 Juergen Vigna <jug@sad.it>
10163 * BufferView_pimpl.C (toggleSelection): adapted too.
10165 * text.C (selectNextWord): adapted for use with insets.
10166 (selectSelectedWord): ditto
10168 2001-07-17 Juergen Vigna <jug@sad.it>
10170 * sp_spell.C (PSpell): fix initialitation order.
10172 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10174 * paragraph.C: spacing
10176 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10178 * sp_spell.C: repair language selection for pspell
10180 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10182 * lyxfunc.h: change more methods to begin with lower char.
10184 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10186 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10187 for unknown layouts.
10189 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10191 * buffer.C (readLyXformat2): Generate an error dialog if there are
10194 2001-07-16 Juergen Vigna <jug@sad.it>
10196 * sp_spell.C: always compile ISpell part.
10198 * lyxrc.C: added use_pspell entry and it's handling.
10200 2001-07-13 Juergen Vigna <jug@sad.it>
10202 * sp_spell.C: removed double includes.
10204 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10206 Consistent use of Lsstream.h:
10207 * Lsstream.h: added using std::stringstream for consistencies sake.
10209 * buffer.C: removed using std::stringstream
10211 * lyxfont.C (stateText):
10212 * paragraph.C (asString):
10213 * text.C (selectNextWord, selectSelectedWord):
10214 * text2.C (setCounter):
10215 * vspace.C (asString, asLatexString):
10216 std::ostringstream -> ostringstream.
10218 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10220 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10221 * commandtags.h: add LFUN_HELP_ABOUTLYX
10222 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10224 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10226 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10228 * lyx_gui_misc.C: remove spellchecker
10229 * lyxfunc.C: showSpellchecker
10231 * sp_ispell.h: added
10232 * sp_pspell.h: added
10233 * sp_spell.C: added
10234 * sp_form.[Ch]: removed
10235 * spellchecker.[Ch]: removed
10237 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10239 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10241 (simpleTeXSpecialChars): Simply print the input character without
10242 any special translation if pass_thru is set.
10244 * layout.h: Added bool pass_thru to layout class for being able to
10245 implement pass through of a paragraph for Literate Programming.
10247 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10248 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10249 * layout.C (Read): add "passthru" to list of layout tags and add
10250 code to set the pass_thru boolean when it is read.
10252 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10254 * trans_decl.h: remove allowed from KmodInfo
10256 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10257 remove allowed code
10260 * paragraph_pimpl.C (erase): use boost::prior
10262 * Painter.C (text): use data() instead of c_str() when length is
10264 * WorkArea.C (putClipboard): ditto
10265 * font.h (width): ditto
10267 * BufferView2.C: use it-> instead of (*it). for iterators
10269 * paragraph_pimpl.C: ditto
10270 * paragraph.C: ditto
10271 * minibuffer.C: ditto
10272 * language.C: ditto
10274 * encoding.C: ditto
10275 * counters.C: ditto
10276 * converter.C: ditto
10278 * Variables.C: ditto
10279 * TextCache.C: ditto
10280 * MenuBackend.C: ditto
10281 * LyXAction.C: ditto
10283 * FloatList.C: ditto
10284 * DepTable.C: ditto
10285 * ColorHandler.C (LyXColorHandler): ditto
10287 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10289 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10291 * text2.C (openStuff): reintroduce this method (which had been
10292 nuked in NEW_INSETS frenzy).
10294 * lyxfunc.C (Dispatch): when an action has not been handled, use
10295 its name in the error message, not its number.
10297 * paragraph.C (inInset): change method name to begin with lowercase.
10300 * text2.C: updates because of this.
10302 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10304 * ToolbarDefaults.C (add): add spaces in error message
10306 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10308 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10309 (readLyXformat2): rename return_par to first_par, use lyxlex's
10310 pushToken and remove the manual push handling.
10311 (parseSingleLyXformat2Token): add another ert comp. variable:
10312 in_tabular, rename return_par to first_par. handle newlines better
10314 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10316 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10318 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10320 * text2.C (getParFromID): removed
10322 * buffer.C (getParFromID): new method moved form lyxtext.
10323 * BufferView2.C (insertErrors): adjust
10324 (setCursorFromRow): adjust
10325 * BufferView_pimpl.C (restorePosition): adjust
10326 * lyxfunc.C (Dispatch): adjust
10327 * undo_funcs.C (textUndo): adjust
10329 (textHandleUndo): adjust
10330 (textHandleUndo): adjust
10332 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10334 * buffer.C: up' the LYX_FORMAT
10336 * lyxfont.h: turn NO_LATEX on as default
10338 * buffer.C (insertErtContents): new methods of tex style compability.
10339 (parseSingleLyXformat2Token): use it several places.
10340 * tabular.C (OldFormatRead): and here
10342 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10344 * text2.C: remove some commented code.
10347 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10348 * trans.C: changes because of the above.
10350 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10352 * text2.C (setCounter): Fix counters bug with bibliography layout.
10354 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10356 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10357 own member functions
10358 (simpleTeXSpecialChars): ditto
10360 2001-07-06 Juergen Vigna <jug@sad.it>
10362 * a lot of files: changed the access to LyXText::status and the
10363 call of undo-functions.
10365 * undo.[Ch]: added a inset_id to the undo informations.
10367 * undo_funcs.[Ch]: added and moved here all undo functions.
10369 * lyxtext.h: give the status enum a weight, made status_ a private
10370 variable and made accessor functions for it, removed the whole bunch
10371 of undo-functions as they are now in their own file, make some
10372 functions publically available. Added function ownerParagraph with
10375 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10376 made InInset() a const function, added getParFromID() function.
10378 * buffer.[Ch]: added const version for inset_iterator functions,
10379 added getInsetFromID() function.
10381 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10382 changed undo functions for new version.
10384 2001-07-05 Juergen Vigna <jug@sad.it>
10386 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10387 unknow mechanism does not call the proper constructor but only this
10388 one also if I request the other!?
10390 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10392 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10394 * text2.C (LyXText): use initialization lists.
10396 * lyxtext.h (Selection): initialize set_ and mark_
10397 (init): remove method
10399 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10401 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10403 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10405 * screen.[Ch]: change method names to begin with lowercase
10407 * BufferView_pimpl.C (updateScrollbar): simplify further and
10408 hopefully make it a bit faster.
10410 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10412 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10413 calling directly xforms functions.
10415 * Painter.C (Painter):
10416 * lyx_cb.C (MenuWrite):
10417 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10420 * lyx_gui.C: remove bogus guiruntime extern declaration.
10422 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10424 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10426 (redoDrawingOfParagraph): ditto
10427 (redoParagraphs): ditto
10428 (cutSelection): don't create a object for CutAndPaste use the
10429 static method directly
10430 (pasteSelection): ditto
10432 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10435 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10437 * modifications to some other files because of this.
10439 * Makefile.am (lyx_SOURCES): add XFormsView
10441 * XFormsView.[Ch]: new files
10443 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10444 the main window. Move the gui dependent stuff to XFormsView
10446 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10448 * tabular.C (GetCellInset): update cur_cell also in the row/col
10449 version of this function.
10451 * lyxfunc.C: no need to include figure_form.h here.
10457 * lyxvc.C: no need to include forms.h here.
10459 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10461 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10463 * lyxfunc.C (Dispatch):
10465 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10466 constructor argument.
10468 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10470 * paragraph.C (Paragraph): dont't clear, and just set layout.
10471 (makeSameLayout): use params's copy contructor.
10473 * ParagraphParameters.[Ch] (makeSame): delete method
10475 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10477 * Variables.[Ch]: fix indentation, rename set to isSet
10479 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10481 * lyxfunc.C (Dispatch): fix typo
10483 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10485 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10488 * bufferlist.C: include assert.h for emergencyWrite().
10490 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10492 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10493 give up at last (bug #425202) !
10495 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10501 * spellchecker.C: strip spellchecker options and bring up
10502 preferences tab instead
10504 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10506 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10507 the istringstream constructor
10509 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10511 * paragraph.C (getLayout): fix return value
10513 * paragraph.h: do not declare getLayout as inline.
10515 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10517 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10519 * lyxcursor.h (operator<): new func
10520 (operator>): new func
10521 (operator>=): new func
10522 (operator<=): new func
10524 * text.C (changeCase): use selection.start and selection.end
10525 (changeRegionCase): require from to be <= to. Require par to be a
10528 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10530 2001-06-27 Juergen Vigna <jug@sad.it>
10532 * text.C (cursorLeftOneWord): changed to return the cursor and added
10533 overlay with BufferView * parameter which calls this one.
10535 (selectWord): use new getWord function.
10536 (changeCase): renamed from changeWordCase as and extended to work
10537 also on selections.
10539 * lyxtext.h: added enum word_location
10541 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10542 changeCase as this operates now also on selections.
10544 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10546 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10548 * many files: send debug output to Debug::INFO instead of
10551 * converter.C (View):
10553 (Move): send debug output to Debug::FILES instead of console.
10555 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10557 * lyxfunc.C (getStatus): use func_status
10559 * func_status.h: new header, describing the results of
10560 LyXFunc::getStatus;
10562 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10565 2001-06-25 The LyX Project <jug@sad.it>
10567 * buffer.C (sgmlOpenTag):
10569 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10571 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10573 * text2.C: remove some dead code
10575 * tabular.C (GetCellInset): store the last cell checked (gotten)
10577 * tabular.h: add the helper for the speedup
10579 * lyxtext.h: remove some dead code
10581 2001-06-26 The LyX Project <Asger>
10583 * paragraph.C: Change export to LaTeX of alignment to
10584 \begin{center} and family for better roundtrip work with reLyX.
10586 * Tune the math drawing a bit.
10588 2001-06-25 The LyX Project <Asger>
10590 * LColor.C (LColor): New color for math background. New color
10593 2001-06-25 The LyX Project <jug@sad.it>
10595 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10597 * lyxfunc.C (Open):
10598 * bufferlist.C (newFile): do not restrict to files ending with
10601 * BufferView_pimpl.C (MenuInsertLyXFile):
10603 2001-06-24 The LyX Project <jug@sad.it>
10605 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10608 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10610 * lyxtext.h: rename most methods to begin with a small char.
10611 Lots of changes because of this.
10613 * paragraph.C (Paragraph): do not call fitToSize
10614 (erase): call Pimpl::erase
10615 (insertChar): call Pimpl::insertChar
10616 (insertInset): call Pipl::insertInset
10617 (breakParagraph): do not call fitToSize
10618 (breakParagraphConservative): do not call fitToSize
10619 (fitToSize): remove method
10621 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10623 2001-06-24 The LyX Project <Asger>
10625 * Fix Qt compilation^2
10627 2001-06-24 The LyX Project <jug@sad.it>
10629 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10630 depthHook(getDepth()-1).
10633 * ParagraphParameters.h:
10634 * ParameterStruct.h: change type of depth to unsigned int ==
10635 depth_type. Many adaptations to other files before of that.
10637 2001-06-24 The LyX Project <Asger>
10639 * Fix Qt compilation.
10641 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10643 * paragraph.h: renamed several methods to begin with small letter.
10644 several changes to many parts of the code because of this.
10646 2001-06-23 The LyX Project <jug@sad.it>
10648 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10649 rewritten to discard all double spaces when KeepEmpty is off
10650 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10651 to only handle newlines but not fiddle with spaces and friends.
10653 * lyxfunc.C (MenuNew): when doing 'new from template', use
10654 template_path as default directory
10656 2001-06-23 The LyX Project <Asger>
10658 * Clean-up of header file includes all over
10659 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10661 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10663 * paragraph.h: renamed from lyxparagraph.h
10665 2001-06-23 Asger <lyx@violet.home.sad.it>
10667 * Buffer.h: Removed Buffer::resize
10668 * BufferList.h: Removed BufferList::resize
10669 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10670 the document lazily when we change the width, or the font settings.
10672 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10674 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10676 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10678 * buffer.h: remove out of date comment
10680 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10683 * screen.C: fix "theoretical" GC leak
10685 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10687 * LaTeX.C (scanAuxFile):
10688 (deplog): remove trailing \r when reading stream (useful under
10691 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10693 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10694 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10695 and BufferView::theLockingInset(Inset*), so should use them and not
10696 access bv_->text->the_locking_inset directly.
10698 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10700 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10703 * tex-defs.h: remove old unused file
10705 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10707 * BufferView_pimpl.C: fix typo, remove minibuffer message
10708 when buffer has loaded
10710 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10712 * lyxfunc.C (Dispatch): use stringstream
10713 (MenuNew): use stringstream
10714 (Open): use stringstream
10716 * importer.C (Import): use stringstream
10718 * bufferview_funcs.C (CurrentState): use stringstream
10720 * LaTeX.C (run): use stringstream
10722 * BufferView_pimpl.C (savePosition): use stringstream
10723 (restorePosition): use stringstream
10724 (MenuInsertLyXFile): use stringstream
10726 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10739 * vspace.C: removed // -*- C++ -*- as first line.
10742 * version.h: added // -*- C++ -*- as first line.
10744 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10746 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10748 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10751 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10753 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10756 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10758 * gettext.C: include LString.h even when --disable-nls is on.
10760 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10762 * converter.h (Get): changed argument type from int to
10763 FormatList::size_type to avoid unnecessary conversion.
10765 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10768 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10770 * gettext.h: include LString.h even when --disable-nls is on.
10772 2001-06-07 Juergen Vigna <jug@sad.it>
10774 * text.C (BreakAgain): subst spaces with tabs.
10776 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10777 (resizeInsetsLyXText): set force on resizeLyXText.
10779 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10781 * gettext.h (gettext_init):
10782 (locale_init): use a real definition instead of a macro
10784 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10786 * Bufferview_pimpl.C:
10788 * LColor.C: further lcolor tidies
10790 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10792 * BufferView_pimpl.C (updateScrollbar): simplify.
10794 * BufferView2.C: don't include insets/insetinfo.h, change
10795 prototype for insertInset and call the Pimpl version. let
10796 updateInset call Pimpl version.
10798 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10799 gotoInset to BufferView::Pimpl
10801 2001-06-01 Juergen Vigna <jug@sad.it>
10803 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10804 inside a LockingInset (is the update needed at all?).
10806 2001-05-31 Juergen Vigna <jug@sad.it>
10808 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10809 here not the old one otherwise how should we compare it afterwards
10812 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10817 * FontInfo.C: bring C functions into global namespace when
10820 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10822 * LString.h: make sure config.h has been loaded before LString.h.
10824 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10825 (one for each char read by EatLine!).
10827 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10830 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10832 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10833 to the same as the par we break from
10835 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10837 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10839 * MenuBackend.C (expand): also create menu entries for wide
10840 versions of the floats.
10842 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10844 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10846 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10847 frontends/Makefile.am
10853 * tabular.C (getTokenValue): add std::
10855 * tabular-old.C (getTokenValue): add std::
10856 (getTokenValue): ditto
10857 (getTokenValue): ditto
10859 * screen.C (ToggleSelection): adjust
10861 * lyxtext.h: put selection cursors inside a Selection struct.
10863 * lyxfunc.C (moveCursorUpdate): adjust
10865 * lyxfont.C (latexWriteStartChanges): add std::
10867 * lyxfind.C: adjust
10869 * font.h: delete with(char const *, LyXFont const &)
10871 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10873 * FontInfo.C (getFontname): add std::
10875 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10876 (workAreaButtonPress): adjust
10877 (tripleClick): adjust
10879 (moveCursorUpdate): adjust
10882 * BufferView2.C (gotoInset): adjust
10884 2001-05-30 Juergen Vigna <jug@sad.it>
10886 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10887 to check pspell I add this as default as I now have new pspell
10888 libraries and they seem to use this.
10890 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10892 * text2.C (CutSelection): make the cursor valid before the call to
10895 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10897 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10898 relied on 0 terminated strings and other horrors. Bug found due to
10899 the new assert in lyxstring!
10901 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10904 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10906 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10909 * lyxfunc.C (processKeySym): change method of getting to the
10912 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10913 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10914 * BufferView_pimpl.[Ch]: here as private methods.
10916 2001-05-28 Juergen Vigna <jug@sad.it>
10918 * text.C (SetHeightOfRow): added the update() call again as it is
10919 needed to initialize inset dimensions!
10921 2001-05-16 Juergen Vigna <jug@sad.it>
10923 * text2.C (SetCharFont): Add new function with BufferView * and
10924 bool toggleall parameters for setting insets internal fonts.
10925 (SetFont): Freeze the undo as we may change fonts in Insets and
10926 all this change should be inside only one Undo!
10928 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10929 setting font's in insets as for them we have the SetFont function!
10931 2001-05-15 Juergen Vigna <jug@sad.it>
10933 * text2.C (ClearSelection): to be sure we REALLY don't have any
10936 * tabular.C (TeXCellPreamble): fixed the left border problem for
10939 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10941 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10944 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10946 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10947 LFUN_BREAKPARAGRAPH.
10949 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10950 help test to "internal only", similar for LFUN_INSERT_URL
10952 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10953 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10954 auto_region_delete and deadkeys.
10956 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10959 * LColor.C: remove some dead entries, tidy a little
10961 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10963 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10965 (Dispatch): implement LFUN_ESCAPE
10967 * commandtags.h: add LFUN_ESCAPE
10969 * LyXAction.C (init): add entry for LFUN_ESCAPE
10971 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10972 Remove commented code.
10973 (insertNote): moved here
10974 (open_new_inset): moved here
10976 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10979 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10981 * kbmap.C (findbinding): clean it up and make it work correctly.
10983 * lyx_main.C (init): do not pass argc and argv as parameters
10985 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10987 * buffer.C: fix path for OS/2 & Win32
10991 * lyx_main.C: Added os:: class.
10993 * os2_defines.h: update
10995 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10997 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10998 better by trying again with reduced state.
11000 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11002 * lyxrc.C (read): print error about invalid key sequence only when
11003 debugging (because not all latinX keysyms are known to some X
11006 * kbsequence.C (getiso): add a few std:: qualifiers
11007 (getiso): comment out extra return statement.
11009 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
11011 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11013 (Dispatch): enhance the accent inset a bit. (not perfect)
11015 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11017 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11019 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11021 * bufferlist.C (emergencyWrite): fix assert() call
11023 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
11025 * text.C (InsertChar): Added trivial patch to only send the "you
11026 can not do multiple spaces this way" message once during a
11029 2001-05-08 Baruch Even <baruch@lyx.org>
11031 * Makefile.am: Changed order of libraries to get LyX to link properly
11032 with the gnome frontend.
11034 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11036 * LaTeXFeatures.h: add a std:: qualifier
11038 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
11040 * paragraph.C (String): use stringstream
11042 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11044 * paragraph.C (writeFile): remove footflag arg
11046 * buffer.C (makeLaTeXFile): use stringstream
11047 (latexParagraphs): remove footnot gurba
11049 * LaTeXFeatures.C (getPackages): use stringstream
11050 (getMacros): likewise
11051 (getTClassPreamble): likewise
11052 (getFloatDefinitions): new method
11054 * paragraph.C (writeFile): reindent
11057 * WorkArea.h: revert the xpos + etc changes.
11059 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11061 * lyxparagraph.[Ch]: add copy constructor, remove Clone
11063 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11064 (pasteSelection): likewise
11065 * text2.C (CreateUndo): likewise
11067 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11069 * minibuffer.C (peek_event): temporarily reduce the functionality
11070 of the minibuffer (to allow args on lfuns)
11072 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11073 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11075 * buffer.C (readInset): add compability reading of old float
11076 lists, add reading of new style float list.
11077 (readInset): avoid reevaluation of inscmd.getCmdName()
11078 (getLists): reindent
11080 * MenuBackend.C (MenuItem): implement parsing of
11081 md_floatlistinsert and md_floatinsert.
11082 (expand::LastFiles): move initalizaton of iterators out of loop,
11083 avoid reevaluation.
11084 (expand::Documents): introduce typdedef vector<string> Strings,
11086 (expand::ExportFormats): introduce typedef vector<Format const *>
11087 Formats, and use it.
11088 (expand): implement FloatListInsert and FloatInsert.
11090 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11091 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11092 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11094 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11096 (Dispatch::LFUN_FLOAT_LIST): implement
11098 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
11100 * LaTeX.C (run): Fix problem with --export code.
11102 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11104 * BufferView.[Ch] (workarea): removed.
11105 (getClipboard) new method; wrapper for workarea()->getClipboard()
11107 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11110 * WorkArea.h (width, height, xpos, ypos): These methods all
11111 returned the dimensions of the work_area sub-area of WorkArea,
11112 resulting in a position error if the WorkArea were resized. Now
11113 return the dimensions of the entire WorkArea.
11115 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11117 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11119 * LaTeX.C (deplog): correct the syntax of regex reg1
11121 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11123 * undo.C: remove !NEW_INSETS cruft
11125 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
11127 * text2.C: remove !NEW_INSETS cruft
11129 * text.C: remove !NEW_INSETS cruft
11131 * tabular.C: remove !NEW_INSETS cruft
11133 * spellchecker.C: remove !NEW_INSETS cruft
11135 * lyxtext.h: remove !NEW_INSETS cruft
11137 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11139 * lyxfunc.C: remove !NEW_INSETS cruft
11141 * lyxfind.C: remove !NEW_INSETS cruft
11143 * lyx_cb.C: remove !NEW_INSETS cruft
11145 * figureForm.C: remove !NEW_INSETS cruft
11147 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11149 * buffer.[Ch]: remove !NEW_INSETS cruft
11151 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11153 * CutAndPaste.C: remove !NEW_INSETS cruft
11155 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11157 * BufferView2.C: remove !NEW_INSETS cruft
11159 * BufferView.h: remove !NEW_INSETS cruft
11161 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11163 * Lsstream.h: include LString.h before the sstream headers to
11164 fix problem with gcc 2.95.3 and lyxstring
11166 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11168 * lyx_main.C: add using directives when needed for C functions
11169 declared in std:: namespace.
11171 2001-04-27 Juergen Vigna <jug@sad.it>
11173 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11174 (SetHeightOfRow): comment out the update call should not be needed!
11176 2001-04-13 Juergen Vigna <jug@sad.it>
11178 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11179 (LyXTabular): tried to minimize operator= operations (and realized
11180 hopfully Lars wish).
11182 2001-04-27 Juergen Vigna <jug@sad.it>
11184 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11186 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11188 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11190 * buffer.C (readInset): hack to make listof algorithm work
11192 * BufferView_pimpl.C: hack to make listof algorithm work
11194 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11196 * LyXAction.C: removed all !NEW_INSETS cruft
11197 (init): moved lfun_item in method
11199 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11201 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11203 * BufferView2.C (theLockingInset): white space.
11205 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11207 * minibuffer.C: include <iostream>
11209 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11211 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11213 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11215 * text.[Ch] (TransposeChars): new method
11217 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11219 * call message directly through LyXView instead of through LyXFunc
11220 * BufferView2.C: adjust
11221 * BufferView_pimpl.C: adjust
11222 * FontLoader.C: adjust
11224 * bufferview_funcs.C: adjust
11225 * converter.C: adjust
11226 * figureForm.C: adjust
11227 * importer.C: adjust
11229 * lyx_gui_misc.C: adjust
11230 * lyxfunc.C: adjust
11233 + more files in subdirs
11235 * lyxparagraph.h (size): move up int file
11238 * adjust all uses of Assert to lyx::Assert.
11240 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11241 lyxfunctional in namespace lyx
11242 * layout.C (hasLayout): ditto
11245 (delete_layout): ditto
11246 (NumberOfClass): ditto
11247 * converter.C (GetFormat): ditto
11252 * bufferlist.C (getFileNames): ditto
11253 (emergencyWriteAll): ditto
11256 * MenuBackend.C (hasSubmenu): ditto
11259 * BufferView_pimpl.C (getInsetByCode): ditto
11261 2001-04-18 Juergen Vigna <jug@sad.it>
11263 * vspace.C (asLatexString): fixed the 100% problem.
11265 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11267 * lyxfunc.C (Dispatch):
11269 * minibuffer.h: add a few std:: qualifiers
11271 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11273 * minibuffer.[Ch]: reimplement so that commands is initiated and
11274 run from lyxfunc, simplified som handling, and made the completion
11275 and history code for complete. wip.
11277 * lyxfunc.C (processKeySym): call message
11278 (miniDispatch): new temporary method
11279 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11280 (LFUN_MESSAGE): implement
11281 (LFUN_MESSAGE_PUSH): implement
11282 (LFUN_MESSAGE_POP): implement
11283 (initMiniBuffer): the initial/defualt minibuffer message.
11285 * lyxfont.[Ch]: inline some more getters
11287 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11289 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11291 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11292 (AutoSave): use LFUN_MESSAGE
11293 (Reconfigure): ditto
11295 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11297 * figureForm.C: use LFUN_MESSAGE
11299 * converter.C (runLaTeX): use LFUN_MESSAGE
11301 * bufferview_funcs.C: use LFUN_MESSAGE
11303 (changeDepth): ditto
11305 * bufferparams.h: use boost::
11307 * bufferlist.h: inherit privately from noncopyable
11309 * bufferlist.C (loadLyXFile): remove some commented code.
11311 * buffer.C (runChktex): use LFUN_MESSAGE
11313 * ShareContainer.h: inherit privately from noncopyable
11315 * ParagraphParameters.[hC] (depth): inline it.
11317 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11319 (message): new method
11320 (messagePush): ditto
11321 (messagePop): ditto
11322 (show): init minibuffer
11323 (showState): direct call
11325 * LaTeX.[Ch]: inherit privately from noncopyable
11326 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11327 instead of WriteStatus.
11329 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11331 * BufferView_pimpl.C (buffer): don't init minibuffer
11332 (workAreaButtonPress): use LFUN_MESSAGE
11333 (workAreaButtonRelease): ditto
11334 (savePosition): ditto
11335 (restorePosition): ditto
11336 (MenuInsertLyXFile): ditto
11337 (workAreaExpose): don't init minibuffer
11338 (update): remove commented code, simplify
11340 * BufferView2.C (openStuff): use LFUN_MESSAGE
11341 (toggleFloat): ditto
11344 (copyEnvironment): ditto
11345 (pasteEnvironment): ditto
11350 (updateInset): remove some commented code
11352 * lastfiles.h: inherit privately from noncopyable
11355 * lyx_main.h: ditto
11357 * lyxlex_pimpl.h: ditto
11359 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11360 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11361 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11363 * LyXAction.h: inherit privately from noncopyable, add methods
11364 func_begin, func_end, returning iterators to the func map.
11366 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11367 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11368 (func_begin): new method
11369 (func_end): new method
11371 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11373 (copySelection): ditto
11374 (pasteSelection): ditto
11376 * BufferView.C: whitespace change
11377 * BufferView.h: inherit privately from noncopyable
11379 2001-04-16 Allan Rae <rae@lyx.org>
11381 * tabular-old.C (l_getline):
11382 * spellchecker.C (sc_check_word):
11383 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11384 an unrecognised preprocessor directive. So ensure they're wrapped.
11386 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11388 * src/exporter.C (Export): Give an error message when path to file
11391 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11393 * LaTeX.C (deplog): Always check that foundfile exists.
11395 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11398 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11400 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11402 * tabular.[Ch] (getLabelList): implement new method
11404 * minibuffer.h: comment ouf setTiimer
11406 * minibuffer.C (ExecutingCB): constify res
11407 (peek_event): constify s
11408 (Set): constify ntext
11409 (Init): constify nicename
11411 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11413 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11414 (savePosition): use two params to Minibuffer::Set
11415 (restorePosition): ditto
11417 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11419 * lyx_main.C: include language.h
11421 * Makefile.am (lyx_main.o): add language.h
11423 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11429 * CutAndPaste.C: include gettext.h
11431 * lyxfont.h: remove old hack with ON and OFF.
11434 * lyxfont.h: do not include language.h...
11439 * bufferview_funcs.C:
11445 * paragraph.C: ... but do it here instead
11447 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11449 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11451 * tabular.C: small reformat
11453 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11456 (BreakParagraph): ditto
11457 (SetOnlyLayout): ditto
11460 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11463 * lastfiles.C: removed most using decl, add std:: where needed
11465 * buffer.C: ws changes
11467 * MenuBackend.C (class compare_format): put into anon namespace
11468 (expand): constify label, names, action, action2
11471 * text.C (SingleWidth): constify font
11472 (IsBoundary): constify rtl2
11473 (GetVisibleRow): constify ww
11475 * LaTeX.C (deplog): constify logfile
11477 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11479 (workAreaExpose): constify widthChange, heightChange
11481 * lyxrow.C (par): moved
11484 * lyxrow.h: as inlines here
11486 * lyxfont.h (shape): moved from lyxfont.C
11487 (emph): moved from lyxfont.C
11489 * lyxfont.C (LyXFont): use initialization list for all
11491 (shape): move to lyxfont.h as inline
11492 (emph): move to lyxfont.h as inline
11495 2001-04-04 Juergen Vigna <jug@sad.it>
11497 * vspace.C: had to include stdio.h for use of sscanf
11499 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11502 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11503 independent of xforms.
11505 2001-04-02 Juergen Vigna <jug@sad.it>
11507 * spellchecker.C: fixed namespace placing!
11509 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11511 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11512 the LyXParagraph * is 0.
11514 2001-03-29 Juergen Vigna <jug@sad.it>
11516 * vspace.C: added support for %, c%, p%, l%.
11517 (stringFromUnit): added helper function.
11518 (asLatexString): changed to give right results for the %-values.
11520 * buffer.C: convert the widthp in a width%.
11522 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11524 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11527 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11528 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11530 * lyx_cb.[Ch]: see above.
11532 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11536 * lyx.[Ch]: replaced by figure_form.[Ch].
11540 * lyxfunc.C: changed headers associated with above changes.
11542 2001-03-27 Juergen Vigna <jug@sad.it>
11544 * BufferView_pimpl.C: set the temporary cursor right!
11546 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11548 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11550 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11552 * LString.h: removed "using std::getline"!
11554 * BufferView_pimpl.C (Dispatch): changes due to changes in
11555 InsetInclude::Params.
11557 * buffer.C (tag_name): removed redundant break statements as they were
11558 producing lots of warnings with my compiler.
11560 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11562 * LString.h: add "using std::getline" when using the real <string>.
11564 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11566 * buffer.C: removed bitset usage.
11567 PAR_TAG moved to an anonymous name space.
11568 (tag_name): new funtion, also in the anonymous namespace.
11569 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11570 (makeDocBookFile): clean code. Completed transition from string arrays
11572 (SimpleDocBookOnePar): code clean.
11574 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11576 * tabular.C: add some comments.
11578 2001-03-22 Juergen Vigna <jug@sad.it>
11580 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11581 compatibility read a bit and fixed bug with minipage in different
11584 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11586 * buffer.C (pop_tag): removed.
11587 (push_tag): removed.
11588 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11589 array replaced with vector. Added support for CDATA sections.
11590 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11592 (makeDocBookFile): XML conformant declaration of CDATA section,
11593 fixed bug related to <emphasis> in the first paragraph char.
11594 (sgmlOpenTag): exclude empty tags.
11595 (sgmlCloseTag): ditto.
11597 * buffer.h (pop_tag): removed.
11598 (push_tag): removed.
11600 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11602 * language.h (Languages): added size_type and size().
11604 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11606 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11607 response on compability reading of minipages. One probliem is that
11608 the old usage of minipages was «flertydig»
11610 * several files here and in subdirs: don't use static at file
11611 scope use anon namespaces instead.
11613 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11615 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11616 LaTeX output. This is necessary for Literate document
11619 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11621 * buffer.C: insert hfill when needed.
11623 * tabular.C (l_getline): use string::erase, small whitespace change.
11625 * BufferView_pimpl.C: try the anon namespace.
11626 * WorkArea.C: ditto
11628 2001-03-16 Juergen Vigna <jug@sad.it>
11630 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11631 otherwise it won't open options-dialogs.
11633 * buffer.C: honor pextraWidth(p) on converting minipages.
11635 * tabular.C (l_getline): changed the functions to strip trailing \r.
11637 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11639 * BufferView_pimpl.C:
11640 * minibuffer..C: added "using SigC::slot" declaration.
11642 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11644 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11650 * paragraph.C: ditto
11652 * lyxtext.h: NO_PEXTRA
11654 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11656 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11657 * ParameterStruct.h: ditto
11658 * ParagraphParameters.h: ditto
11659 * lyxparagraph.h: ditto
11661 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11663 * buffer.C: add compability for minipage alignment.
11664 (latexParagraphs): remove unwanted pextra check.
11666 * several files: remove CXX_WORKING_NAMESPACES
11668 * buffer.C (pop_tag): tie is in namespace boost
11670 * BufferView.h: noncopyable is in namespace boost
11672 * lyx_main.h: ditto
11675 * lastfiles.h: ditto
11676 * bufferlist.h: ditto
11677 * ShareContainer.h: ditto
11679 * LyXAction.h: ditto
11682 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11684 * Merging changes from BRANCH_MVC back into HEAD.
11686 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11688 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11690 * BufferView_pimpl.C: change from intl.C
11694 * Makefile.am: move combox.*
11700 * intl.C: remove dialog (covered by prefs)
11702 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11704 * lyxfunc.C (Dispatch): removed redundant break statement.
11706 2001-03-14 Juergen Vigna <jug@sad.it>
11708 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11710 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11712 * buffer.C: add hack to fix compability reading of minipages.
11714 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11716 * buffer.C (getLists): Cleanup.
11718 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11720 * lyxfont.C (update): don't honor toggleall on font size.
11722 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11726 * Makefile.am: moved to frontends/xforms/
11730 * BufferView_pimpl.C: changes for moved mathpanel
11732 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11734 * gettext.h: fix gettext_init() in --disable-nls
11736 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11738 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11740 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11743 * lyx.h: strip external form
11745 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11747 * BufferView_pimpl.C: add comment, destroySplash()
11749 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11751 * BufferView_pimpl.C:
11755 * lyxfunc.C: use re-worked insetinclude
11757 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11759 * buffer.C: add using std::stringstream.
11761 * lyx_cb.C: readd using std::ios.
11763 * buffer.C: add using std::map.
11765 * BufferView_pimpl.C: add using std::vector.
11767 * ShareContainer.h: add std:: to swap.
11769 * buffer.h: add some typedefs
11770 * buffer.C (getLists): use them
11771 (getLists): renamed from getTocList.
11772 add a counter for the different float types and use it in the
11774 (getLists): use the same counter for the NEW_INSETS and the "non"
11777 * lyx_cb.h: remove unused items, includes, using etc.
11779 * ShareContainer.h: remove some commented code, add more comments
11780 and "documentation".
11782 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11784 * buffer.C (getTocList): make the list also when NEW_INSETS is
11787 * buffer.h: remove TocType
11789 * buffer.C (getTocList): change to return a map<string,
11790 vector<TocItem> >, implement for dynamic number of list.
11792 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11793 * text2.C (PasteSelection): adjust
11794 * CutAndPaste.C (pasteSelection): adjust
11796 * FloatList.C (FloatList): update from the new_insets branch.
11797 * Floating.[Ch]: ditto
11798 * LaTeXFeatures.C: ditto
11800 * lyxlex_pimpl.C: ditto
11802 * paragraph.C (Last): remove when NEW_INSETS is defined.
11804 * other file: changes because of the above.
11806 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11808 * lyxparagraph.h: rename next to next_, previous to previous_,
11809 make them private for NEW_INSETS. Rename Next() to next(),
11810 Previous() to previous().
11812 * other files: changes because of the above.
11814 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11817 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11820 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11822 * main.C (main): pass lyx_localedir to gettext_init().
11824 * gettext.h: remove locale_init and gettext_init macros
11826 * gettext.C (locale_init): new function
11827 (gettext_init): new function
11829 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11832 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11834 * Moved credits to frontends:
11835 * credits.[Ch]: removed
11836 * credits_form.[Ch]: removed
11837 * lyx_gui_misc.C: remove credits stuff
11840 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11842 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11844 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11845 unneeded destructor.
11847 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11848 a standalone pointer again.
11850 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11852 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11858 * ToolbarDefaults.C:
11867 * BufferView_pimpl.C: use new file dialog in GUII
11870 * lyx_cb.C: remove LayoutsCB to Toolbar
11872 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11874 * ShareContainer.h (get): add std:: qualifier
11876 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11878 * ShareContainer.h: define a proper ShareContainer::value_type
11879 type (and use typename to please compaq cxx)
11881 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11883 * lyxparagraph.h: move serveral local vars to
11884 ParameterStruct/ParagraphParameters., use ShareContainer in
11885 FontTable., make vars in FontTable private and add getter and
11888 * paragraph.C: changes because of the above.
11890 * lyxfont.h: remove copy constructor and copy assignment. (the
11891 default ones is ok), move number inside FontBits. move inlines to
11894 * lyxfont.C: add number to initializaton of statics, move several
11895 inlines here. constify several local vars. some whitespace
11896 cleanup. Dont hide outerscope variables.
11898 * Spacing.h: add two new constructors to match the set methods.
11900 * ShareContainer.h: new file, will perhaps be moved to support
11902 * ParameterStruct.h: new file
11904 * ParagraphParameters.h: new file
11906 * ParagraphParameters.C: new file
11908 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11909 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11911 * BufferView_pimpl.C: ParagraphParameter changes.
11912 * buffer.C: Likewise.
11913 * bufferview_funcs.C: Likewise.
11914 * text.C: Likewise.
11915 * text2.C: Likewise.
11917 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11919 * lyxfind.C (LyXReplace): do not redefine default argument in
11921 (IsStringInText): ditto
11922 (SearchForward): ditto
11923 (SearchBackward): ditto
11925 2001-03-06 Juergen Vigna <jug@sad.it>
11927 * lyxfind.C (IsStringInText): put parentes around expressions.
11929 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11931 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11933 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11935 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11937 * stl_string_fwd.h: add comment
11939 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11942 * tabular.C: remove unused DocBook methods
11948 killed DO_USE_DEFAULT_LANGUAGE
11950 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11952 * lyx_gui.C: do not include language.h.
11954 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11955 arguments in function implementation.
11957 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11959 * BufferView_pimpl.C: add <ctime>
11961 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11963 * BufferView_pimpl.C: add using std::find_if
11965 2001-02-27 José Matos <jamatos@fep.up.pt>
11967 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11970 2001-02-11 José Matos <jamatos@fep.up.pt>
11972 * buffer.C (makeDocBookFile): command styles now have a parameter as
11973 "title" by default.
11975 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11977 * layout_forms.[Ch]: removed
11978 * lyx_cb.[Ch]: out character
11979 * lyx_gui.C: out character
11980 * lyx_gui_misc.C: out character
11981 * bufferview_funcs.C: : out character,
11982 added toggleall as parameter in ToggleAndShow
11984 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11986 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11988 * text2.C (SetCurrentFont): Disable number property at boundary.
11990 2001-02-26 Juergen Vigna <jug@sad.it>
11992 * lyxfunc.C (getStatus): added a string argument override function so
11993 that this is correctly called from LyXFunc::Dispatch if it contains a
11994 do_not_use_argument which is used!
11995 (Dispatch): added check for "custom" export and call appropriate func.
11997 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11999 * lyxrc.C: Add language_command_local, language_use_babel and
12000 language_global_options.
12002 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12004 * buffer.C (makeLaTeXFile): Use language_use_babel and
12005 language_global_options.
12007 2001-02-23 Juergen Vigna <jug@sad.it>
12009 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12010 which works with LyXText and putted it inside BufferView. Here now we
12011 only call for that part the BufferView::Dispatch() function.
12013 * BufferView.C (Dispatch): added.
12015 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12016 functions which needs to use a LyXText over from LyXFunc.
12017 (MenuInsertLyXFile): added
12018 (getInsetByCode): added
12019 (moveCursorUpdate): added
12020 (static TEXT): added
12022 2001-02-22 Juergen Vigna <jug@sad.it>
12024 * BufferView_pimpl.C (update): call a status update to see if LyXText
12027 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
12029 * vc-backend.C (revert): implement for CVS
12030 (getLog): implement for CVS
12032 2001-02-20 Juergen Vigna <jug@sad.it>
12034 * text2.C (ClearSelection): added BufferView param for inset_owner call
12036 * lyxfunc.C (TEXT): added this function and use it instead of
12037 directly owner->view()-text of getLyXText().
12039 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
12041 * src/layout_forms.C: out preamble
12042 * src/layout_forms.h: out preamble
12043 * src/lyx_cb.C: out preamble
12044 * src/lyx_cb.h: out preamble
12045 * src/lyx_gui.C: out preamble
12046 * src/lyx_gui_misc.C: out preamble
12047 * src/lyxfunc.C: connect with guii preamble
12049 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
12051 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12053 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
12055 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12056 whether to run bibtex.
12058 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
12060 * Makefile.am (lyx_SOURCES): Remove BackStack.h
12062 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12064 * Makefile.am (lyx_SOURCES): removed bibforms.h
12066 * vspace.h: doxygen
12068 * text.C (GetVisibleRow): make several local vars const
12070 * tabular.C: small cleanup.
12072 * lyxserver.C (callback): use compare instead of strncmp
12074 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12075 inlines to after class or to paragraph.C
12077 * lyxfont.h: remove friend operator!=
12079 * converter.h: move friend bool operator< to non friend and after
12082 * combox.h: small cleanup
12084 * buffer.h: doxygen, remove unused constructor, move inclas inlies
12085 to inlines after class def.
12087 * buffer.C (pop_tag): use string operations instead of strcmp
12089 * bmtable.c: doxygen, small cleanup
12091 * LaTeX.h: remove friend operator==
12093 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
12105 * BufferView_pimpl.C:
12106 * BufferView.[Ch]: remove cruft
12108 2001-02-14 Juergen Vigna <jug@sad.it>
12110 * lyxfunc.C: removed #if 0 unused code
12112 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12114 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12116 * text2.C (SetSelection): added a BufferView * parameter
12118 2001-02-13 Juergen Vigna <jug@sad.it>
12120 * lyxfunc.C (Dispatch): fixed protected blank problem.
12121 * BufferView2.C (protectedBlank): added LyxText * parameter.
12123 * tabular.C (AppendRow): forgot to set row_info of newly added row.
12124 (AppendColumn): same as above for column_info.
12126 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12127 (moveCursorUpdate): use a LyXText param for support of InsetText.
12129 * BufferView_pimpl.C (doubleClick): added support for InsetText.
12130 (tripleClick): ditto
12132 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12134 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12136 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12138 * text2.C (SetSelection): set correct update status if inset_owner
12139 (ToggleFree): ditto
12141 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12143 * tabular.C: remove some commented code.
12145 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12147 * BufferView_pimpl.C: call hideSplash()
12149 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12152 * bibforms.h: remove
12155 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12156 add LFUN_CHILD_CREATE
12158 * counters.h: fix tiny typo
12163 * lyx.C: move splash to frontends/xforms/
12165 * lyx_gui_misc.C: move Include and Bibform to frontends
12167 * lyxvc.h: clarify comment
12169 * vspace.C: tiny housekeeping
12171 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12173 * text.C (PrepareToPrint): RTL Fix.
12175 * paragraph.C (GetUChar): New method.
12176 (String): Use GetUChar.
12178 * buffer.C (asciiParagraph): Use GetUChar.
12180 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12182 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12184 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12187 * buffer.C: rename to getLogName(), handle
12188 build log / latex log nicely
12190 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12193 * MenuBackend.h: remove support for reference menuitem type.
12195 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12197 * BufferView_pimpl.C: housekeeping
12198 * BufferView_pimpl.h:
12203 * minibuffer.h: move Timeout GUI-I
12205 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12207 * lyxrc.C (read): Update converters data-structures.
12209 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12211 * LaTeX.h (operator!=): add operator != for Aux_Info
12213 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12215 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12217 * LaTeXLog.C: deleted, useful code moved to Buffer
12220 * buffer.C: new function getLatexLogName()
12226 * lyxfunc.C: use frontends for LaTeX and VC logs
12228 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12230 * LaTeX.h: yet another std:: that Allan forgot.
12232 * Variables.C (set): renamed from isset(), because this clashes
12233 with some HP-UX macros (grr).
12235 2001-02-06 Allan Rae <rae@lyx.org>
12237 * LaTeX.h: Another bug fix. Missing std:: this time.
12239 2001-02-04 Allan Rae <rae@lyx.org>
12241 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12242 floats problem. I've left it commented out because it's not quite
12243 correct. It should also test that the current object is a table or
12244 figure inset. But I haven't gotten around to figuring out how to do
12245 that. I *think* it'll be something like: "table" == inset.type()
12247 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12250 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12252 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12253 all the citation/databases/styles in the auxilary file.
12254 (run): Rerun latex if there was a babel language error.
12256 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12258 * text.C (Backspace): Preserve the font when changing newline char
12260 (BreakParagraph): If the cursor is before a space, delete the space.
12262 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12264 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12266 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12267 new argument (code).
12268 (ChangeCitationsIfUnique): New method.
12270 * paragraph.C (GetPositionOfInset): Handle bibkey.
12272 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12274 * BufferView_pimpl.h: change type of Position::par_pos to
12275 LyXParagraph::size_type.
12277 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12279 * BufferView_pimpl.C (savePosition, restorePosition): Write
12280 messages to minibuffer.
12282 2001-01-28 José Matos <jamatos@fep.up.pt>
12284 * buffer.C (makeDocBookFile): adds support for document language.
12285 A silly restriction on the name of LatexCommand types where removed.
12286 Added support for CDATA sections, allows to chars unescaped, used
12287 among others in code, to avoid escape < and >.
12289 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12291 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12292 saved positions instrad of a stack. Furthermore, a position is
12293 stored using paragraph id/paragraph position.
12295 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12296 Remove LFUN_REF_BACK.
12298 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12300 * converter.C (dvipdfm_options): New method.
12302 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12304 * vspace.C (isValidLength): Fix for empty input string.
12306 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12308 * LyXAction.C (init): change description of LFUN_FIGURE to
12311 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12313 * LaTeX.C: add using directive
12315 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12317 * MenuBackend.C (expand): Fix the sorting of the formats.
12319 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12321 * lyx_main.C: tiny error message fix
12323 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12325 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12326 calling fl_initialize(). This fixes the problem with ',' as
12327 decimal separator in text files.
12329 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12331 * trans.C (process): Fix the keymap bug.
12333 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12335 * LaTeX.C (scanAuxFiles): New method. Provides support for
12336 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12337 (scanLogFile) Scan for "run BibTeX" messages.
12339 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12340 OT1 font encoding. Also, load the aecompl package if the ae
12343 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12345 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12347 * texrow.C (increasePos): turn two error messages into debug
12350 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12352 * LaTeX.C (scanAux): Handle the \@input macro.
12353 (runBibTeX): Use scanAux().
12355 * language.C (latex_options_): New field.
12357 * LaTeXFeatures.C (getMacros): Add language macros.
12359 * buffer.C (makeLaTeXFile): Small fix.
12361 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12363 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12365 * text2.C: add a using directive.
12367 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12372 * lyxfunc.C: kill LyXBell.
12374 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12376 * text.C (IsBoundary): Remove the error message
12378 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12380 * lyxrc.C (setDefaults): Correct initialization value for
12383 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12385 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12388 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12389 and GotoNextNote().
12391 * src/LyXAction.C: Added reference-next.
12393 * text.C (InsertChar): Use contains instead of strchr.
12395 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12397 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12399 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12400 alignment commands (when needed).
12402 * text.C (InsertChar): Add ':' to number separator chars.