2 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
4 * messages.C (get): add debug output.
6 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
8 * text.C (cursorX): fix bug 1965: cursor movement at
9 line end broken in RtL.
10 (drawSelection): fix bug 1970: drawing of single-line
11 selection broken for RtL.
13 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
17 * dociterator.h (clear, push_back, pop_back): change from
20 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
21 and changed to just return the value of the item depth; take a
22 ParIterator as argument; take the itemdepth at outer nesting level
23 in account if necessary; cleanup and comment the code.
24 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
25 and changed to just return true if reset is needed; take a
26 ParIterator as argument; cleanup and comment the code.
27 (setCounter): adapt to above changes.
29 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
31 * text3.C (dispatch): make debug message optional
33 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
35 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
38 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
40 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
42 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
44 * text.C (insertChar):
45 * text2.C (deleteEmptyParagraphMechanism): take care whether
46 a blank has been deleted (in change tracking mode) (bug 1254).
48 2005-07-20 John Levon <levon@movementarian.org>
50 * text2.C (insertStringAsLines): remove old dubious code,
53 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
55 * MenuBackend.C (expandToc): use Floating::listName() as title of
58 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
60 * toc.[Ch]: Do not use translatable strings (bug 1870).
62 2005-07-20 John Levon <levon@movementarian.org>
64 * tabular.C: fix 1748 - setting multicolumn adds
65 left line to the first cell
67 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
70 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
73 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
75 * messages.C: supress some lyxerr messages
77 2005-07-18 Juergen Vigna <jug@lyx.org>
79 * text.C (drawSelection): honor boundary when asking for cursorX.
81 2005-07-17 José Matos <jamatos@fc.up.pt>
83 * tabular.C (recalculateMulticolumns): fix handling of one column
86 2005-07-17 Juergen Vigna <jug@lyx.org>
88 * text.C (Delete, backspace): fixed so that paragraph with the
89 same layout can be merged by Delete/Backspace.
91 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
93 * text.C (readParToken): fix spelling.
95 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
97 * text2.C: fix counter update for DEPM problem reported by
100 2005-07-17 Juergen Vigna <jug@lyx.org>
102 * BufferView_pimpl.C (setBuffer): save/restore the
103 cursor/selection when switching buffers
106 * buffer.C (saveCursor): add saveDocumentIterators to save the
107 cursor when switching buffer.
109 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
112 * buffer.C: clarify message
114 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
116 * dociterator.C (DocIterator): fix initialization order
118 2005-07-17 Juergen Vigna <jug@lyx.org>
120 * text2.C (cursorHome):
121 * text.C (drawSelection, cursorX):
122 * dociterator.C (textRow): add boundary to getRow() call
124 * paragraph.C (getRow): implementation of below
126 * paragraph.h: add parameter boundary for getRow() function
128 2005-07-17 José Matos <jamatos@fc.up.pt>
132 * tex-strings.[Ch]: new file format, remove support for a4.sty,
133 a4wide.sty and a4widemargins.
135 2005-07-17 Juergen Vigna <jug@lyx.org>
137 * text2.C (cursorLeft): fix one of error
139 2005-07-17 Juergen Vigna <jug@lyx.org>
141 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
143 more fixes for boundary handling
145 * text3.C (dispatch): don't reset cursor if boundary has changed
148 2005-07-16 Juergen Vigna <jug@lyx.org>
150 * text2.C (getColumnNearX): hopefully got it right now,
151 check if we are on column 0 for special case.
153 2005-07-16 Juergen Vigna <jug@lyx.org>
155 * text2.C (getColumnNearX): handle special case Newline Inset
157 * text.C (singleWidth): Just remove bogus check
159 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
161 * funcrequest.C (split): avoid reading uninitialized char c
163 2005-07-16 José Matos <jamatos@fc.up.pt>
169 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
170 single papersize variable.
172 2005-07-16 Juergen Vigna <jug@lyx.org>
174 * text3.C (dispatch): honor boundary when checking if a cursor
175 movement has been done
177 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
178 (setCursor, setCursorIntern): fix cursor movement with boundary
180 2005-07-16 Juergen Vigna <jug@lyx.org>
182 * text.C (currentState): output the actual Boundary
184 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
186 * factory.C (createInset): fix bad logic for tabular creation
188 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
190 * lyx_main.C (init): change some reLyX reference to tex2lyx
192 2005-07-16 Juergen Vigna <jug@lyx.org>
194 * dociterator.C (DocIterator): initialize boundary
196 2005-07-16 Juergen Vigna <jug@lyx.org>
198 * text2.C (getColumnNearX): Consider rows without trailing blank.
200 2005-07-16 André Pönitz <poenitz@gmx.net>
202 * lyxfont.h: Change order of declarations to give the compiler
203 a better chance to inline things
205 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
206 questions on unsaved docs for better scritability
208 2005-07-16 André Pönitz <poenitz@gmx.net>
210 * paragraph.h (getChar): remove asserts as the same kind of security
211 can be achieved by using a suitable standard library implementation
212 and the function was in the critical path (25.9% in profiler)
214 2005-07-16 Juergen Vigna <jug@lyx.org>
216 * cursor.C (bruteFind2):
217 * bufferview_funcs.C (coordOffset):
218 * text.C (cursorX,cursorY): Handle cursor position after last char
219 in row before a inset which uses a whole row.
221 2005-07-15 José Matos <jamatos@lyx.org>
223 * output_plaintext.[Ch] (writeFileAscii): control reference title
225 (asciiParagraph): noparbreak was already deal and was incorrectly
228 2005-07-15 Juergen Vigna <jug@lyx.org>
230 * lyxfunc.C (dispatch): save and restore the cursor after a
233 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
235 * text.C (backspace): bug 806 for empty keepempty paragraphs we
236 change the layout to default before letting DEPM do its thing.
238 * paragraph_funcs.C (breakParagraph): dont reset the layout on
241 * text.C (setCursorFromCoordinates): add a debug statement
243 * text2.C (getColumnNearX): bug 1825 make sure that we don't
244 return a pos that is not on the row
246 * output_latex.C (TeXDeeper): get rid of potential dereferencing
247 of past the end iterator
249 2005-07-14 André Pönitz <poenitz@gmx.net>
251 * undo.C (recordUndoFullBuffer): implement undo for
254 2005-07-14 André Pönitz <poenitz@gmx.net>
256 * cursor.C (setSelection): open insets when selection is set there
257 to avoid crashs with cold coord cache
259 2005-07-14 André Pönitz <poenitz@gmx.net>
261 * trans_mgr.C (insert): move cursor to the right after inserting
264 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
266 * BufferView_pimpl.C (update): dampen some of the debug blabbering
267 * factory.C (readInset): ditto
268 * text.C, text2.C: ditto
270 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
272 * buffer.C: format incremented to 242. There is no file format per
273 se, but the "frenchb" language has been removed from lib/language
274 and has to be translated to "french" by lyx2lyx.
276 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
278 * cursor_slice.h, dociterator.h: add some documentation
279 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
281 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
283 * text.C (leftMargin): do not add identation to display() style
284 insets, because they are always centered (bug 1293).
286 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
288 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
289 formatted_time methods in support/lyxtime.
291 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
293 * toc.[Ch]: new method getGuiName, which is used by the frontends
294 to set the toc combo (fixes bug 1870). Make TOC string translatable.
296 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
298 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
299 StableDocIterator const &)
300 * undo.C (recordUndo): use the above instead of cell.size() comparison
301 (fixes bug 1808; instructed by Andr�.
303 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
306 * dociterator.h: Fix the assert when copying rows/cols in math
308 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
310 * BufferView_pimpl.C:
312 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
314 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
315 (findInset): new functions, refactored from goto Inset that return
316 the position of a certain inset without setting the buffer's cursor
318 (gotoInset): rewrite to call findInset and then set the cursor
321 2005-06-16 Angus Leeming <leeming@lyx.org>
323 * lyxrc.C (output, read): wrap all input and output of paths with
324 calls to os::internal_path and os::external_path, respectively.
325 (output): wrap bind_file inside quotes.
327 * format.C (view): enable the viewer to use the '$$s' placeholder.
329 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
331 * LColor.[Ch] (getFromLaTeXName): new
333 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
335 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
337 2005-06-14 Angus Leeming <leeming@lyx.org>
339 * lyx_main.C (init): ensure that the LyX binary dir is the first
340 element in the PATH on non-POSIX builds.
342 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
344 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
346 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
348 * rowpainter.C (paintInset, paintHebrewComposeChar)
349 (paintArabicComposeChar, paintChars): add a LyXFont argument.
350 (paintChars): use getFontSpan to reduce calls to getFont to a
351 minimum; use Paragraph::lookupChange instead of isXXXText.
352 (paintForeignMark): rename LyXFont argument.
353 (paintFromPos): pass a LyXFont object to the various paintXXX
356 * FontIterator.C (FontIterator, operator++): use
357 Paragraph::getFontSpan
359 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
360 version that returns the font span as a pair.
362 2005-06-09 Angus Leeming <leeming@lyx.org>
364 * converter.C (convert): Don't forget "outfile = real_outfile" as
365 the final step in a conversion where the input and output file names
366 are the same. Otherwise, future conversion steps won't work...
368 2005-06-09 Angus Leeming <leeming@lyx.org>
370 * lyxsocket.C: remove stub code as it isn't needed by
371 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
373 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
375 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
376 effectively disabled -x
378 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
380 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
381 when it actually makes sense.
383 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
385 * BufferView_pimpl.C: revert to showCursor in connection with
386 Lars's front-end stack
388 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
390 * text.C (redoParagraph): move cursor right after a bibitem
393 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
395 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
397 * buffer_funcs.C (bufferErrors): fix computation of the end of an
400 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
402 * BufferView.[Ch] (update):
403 * BufferView_pimpl.[Ch] (update, metrics):
404 * dimension.h (operator==):
405 * lyxfunc.C (dispatch):
406 * metricsinfo.h (ViewMetricsInfo):
407 * rowpainter.C (paintText):
409 * text.C (redoParagraph):
410 * text3.C (dispatch): Make LyX only repaint current paragraph in
411 case of character insert --> speedup. Also fix cursor draw
414 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
416 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
417 avoid a crash (bug 1891)
419 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
423 * text2.C (getStringToIndex): constify cur argument.
425 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
426 argument has been given
427 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
428 try to invoke LFUN_INSET_APPLY).
430 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
431 if no inset was created by doInsertInset
432 (doInsertInset): return true if an inset has been inserted.
434 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
436 * vspace.C (asGUIName): new method. A version of the space
437 suitable for showing on screen.
439 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
442 * lyxrc.C: rename "ASCII" to "Plain Text"
444 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
446 * buffer_funcs.C (expandLabel): take a Buffer as argument;
447 translate the labelstring.
448 (setCounter): translate labelstring as needed.
450 * output_docbook.C (makeCommand): fix expandLabel invokation
452 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
454 * BufferView.C: fix dialog title
456 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
458 * lyx_main.C (priv_exec): fix logic error with help from Angus
459 * lyx_main.C (parse_execute): set is_gui = false and remove now
460 obsolete comment about a segfault
462 2005-05-18 Angus Leeming <leeming@lyx.org>
464 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
466 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
468 * tabular.[hC]: added setCellInset to fix tabular paste.
470 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
472 * buffer.C (save): check if destination is writable before trying
475 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
477 * BufferView_pimpl.C (update): fix processEvents -caused update
480 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
482 * buffer_funcs.C (setCounter): fix test for numbering of
485 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
486 depth correctly; use optional argument when it exists
488 * lyxtextclass.C: remove unused MaxCounterTags enum
489 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
490 (max_toclevel, min_toclevel): new methods.
492 * MenuBackend.C (expandToc2): fix case where depth is smaller than
493 the smallest depth in toc.
495 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
496 layouts that should not appear in a table of contents.
498 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
500 * cursor.h (undispatched, noUpdate): add comments from Andr�
501 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
505 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
507 2005-05-07 André Pönitz <poenitz@gmx.net>
509 * cursor.[Ch] (leaveInset): new function
511 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
513 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
515 2005-05-04 Angus Leeming <leeming@lyx.org>
517 * lyxfunc.C (getStatus): disable the spell checker dialog if
518 none of USE_[AIP]SPELL are defined.
520 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
522 * tabular.C (setWidthOfCell): remove obsolete comment
524 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
526 * paragraph.C (bibitem):
527 * buffer_funcs.C (setCounter):
528 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
530 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
532 * text3.C (getStatus): immediately return after setOnOff
534 * rowpainter.C: fix drawing of appendix start
536 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
538 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
539 SwitchBetweenClasses and remove the unused return value.
540 Handle character styles, too
542 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
544 * factory.C (createInset): handle undefined character styles
546 2005-05-02 Angus Leeming <leeming@lyx.org>
548 * buffer.C: protect the #include of utime.h with a preprocessor
551 2005-05-02 Angus Leeming <leeming@lyx.org>
553 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
554 function so that auto-saving works, albeit in a blocking manner.
556 * Makefile.am: make compilation of the client sub directory, of
557 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
558 on conditionals set at configure time.
560 * SpellBase.[Ch]: no longer an abstract base class. Instead,
561 it can be compiled in its own right but has no-op functionality.
563 * aspell.C, pspell.C: remove preprocessor guards. The files should
564 be compiled only if the necessary functionality exists.
566 * lyxserver.C, lyxsocket.C: disable on Windows.
568 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
570 * text.C (leftMargin): Fix the parindent use bug (1764)
573 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
575 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
578 2005-04-25 Angus Leeming <leeming@lyx.org>
586 include <config.h> in .C files, not .h ones.
588 protect headers inside preprocessor guards.
590 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
592 * FuncStatus.h (StatusCodes): document
594 2005-04-21 André Pönitz <poenitz@gmx.net>
596 * FuncStatus.h (enabled, onoff): document
598 2005-04-19 Angus Leeming <leeming@lyx.org>
600 * BufferView_pimpl.C (cursorToggle): no longer test whether
601 any child processes have been reaped before calling
602 handleCompletedProcesses().
604 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
606 * text3.C (dispatch): fix, finally fix, the language problem in
607 new lyxtexts, without disabling on-the-fly font changes (Helge's
610 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
612 * text3.C (dispatch): set cursor on double/triple click events
615 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
617 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
618 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
620 * rowpainter.C (paintFirst): simplify the code a little bit. In
621 particular, remove the test for secnumdepth.
622 * text.C (setHeightOfRow): only allocate space for chapter number
623 when updateCounters provided an actual label, instead of looking
624 at secnumdepth directly.
626 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
628 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
629 paragraphs when secnumdepth is large enough or, for environments,
630 when they are not the first in a sequence.
632 2005-04-17 Angus Leeming <leeming@lyx.org>
634 * buffer.C (makeLaTeXFile): replace code to manipulate a path
635 containing space and '~' characters with a call to latex_path().
637 2005-04-17 Angus Leeming <leeming@lyx.org>
639 * converter.C (convert): protect all args of convertDefault.sh
642 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
644 * text3.C (dispatch): change the layout to "Caption" after inserting
647 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
649 * text3.C (dispatch): fix language problem in newly created
650 textinsets (and main text) in non-english docs
652 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
654 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
655 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
656 * text3.C (getStatus): disable LFUN_INSET_MODIFY
658 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
663 * rowpainter.C (getFont): Fix metrics bug introduced by inset
666 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
668 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
669 output of \item arguments without trailing text.
671 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
673 * FontIterator.C (operator*): avoid a copy of the font.
675 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
677 * rowpainter.C (getFont): fix language bug from previous fix
679 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
681 * rowpainter.C (RowPainter, getFont): fix font inside inset
684 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
686 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
687 preventing inserted font, deco, delim insets jumping to start of
690 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
692 * lyxfunc.C (dispatch): translate message before sending it to the
695 2005-03-29 Angus Leeming <leeming@lyx.org>
697 * lyx_main.C (priv_exec): call os::internal_path on each file passed
698 to LyX on the command line.
700 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
702 * vc-backend.C: use QuoteName to protect file names wherever
705 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
708 * BranchList.h: fix bugs 1844,1845: document settings don't
711 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
713 * lyxrc.C (setDefaults, read, output, getDescription): add support
714 for tex_allows_spaces.
716 * exporter.C (Export): allows files in directory containing spaces
717 if tex_allows_spaces is true.
719 * buffer.C (makeLaTeXFile): if the document path contains spaces,
720 output it in double quotes.
722 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
724 * rowpainter.C: use default text height for drawing change tracker
727 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
729 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
731 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
733 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
734 directory is missing.
736 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
738 * text2.C: fixed the fix, extended to other case.
740 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
742 * text2.C: fix for cursor up/down stuck in math [bug 1792]
744 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
746 * text2.C (cursorUp): get rid of a crash
747 * text.C (x2pos): add an assert
749 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
751 * lyxfunc.C (getStatus): fix warning when assertions are disabled
755 * dociterator.C: include <boost/current_function.hpp>, which is
756 needed when assertions are disabled.
758 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
760 * text2.C: fix for stuck cursor when traversing two
761 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
763 2005-02-25 Andreas Vox <avox@arcor.de>
765 * output_docbook.C (makeParagraph): suppress trailing newline
766 after a run of paragraphs
768 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
770 * paragraph.C: fix for confused change tracker when pasting
771 text that begins with a lineseparator. [bug 1827]
772 (setChange(0, Change::INSERTED);)
774 * paragraph_funcs.C: fix for lost changes on triple-paste
775 in change tracking mode [bug 1827] (par.setChange()).
777 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
779 * text2.C (updateCounters, setCounter, expandLabel): move to
782 * buffer_funcs.C (updateCounters): turn into a free standing
783 function and add a buffer parameter. Remove dead code for tracking
785 (setCounter): change into a free-standing function which gets a
786 dociterator as argument. Use this iterator to fix captions in a
787 simple way. When no float is found above the caption, use the
788 labelstring of the caption layout as default.
790 * text.C (breakParagraph, backspace):
791 * text2.C (init, setLayout, changeDepth):
792 * text3.C (dispatch):
793 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
796 * dociterator.C (forwardPar): make it much faster by calling
797 forwardPos() only when really necessary.
799 * output_docbook.C (makeCommand): adapt to expandLabel move.
801 * cursor.C: remove unused variable
803 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
805 * paragraph_funcs.C: fix crash when pasting insets in change
806 tracking mode [bug 1277] (honour change type in moveItem).
808 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
810 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
812 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
814 * BufferView.C (setCursor): change to use a DocIterator.
815 (gotoLabel): use BufferView::setCursor (other part of bug 781).
816 (putSelectionAt): adapt to BufferView::setCursor change.
818 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
819 moved here from LyXText and rewritten to use proper cursor
820 methods. Fixes bug 1787, 616 and 835.
822 * BufferView_pimpl.C (restorePosition): set the cursor correctly
823 when inside an inset (part of bug 781).
824 (dispatch): adapt to change of BufferView::setCursor.
825 (getStatus, dispatch): handle LFUN_GOTOERROR,
826 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
828 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
829 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
830 * text3.C (gotoNextInset, gotoInset): removed.
832 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
834 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
836 2005-02-15 Angus Leeming <leeming@lyx.org>
838 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
839 can be used meaningfully in a comparison.
841 2005-02-13 André Pönitz <poenitz@gmx.net>
843 * bufferview_funcs.C (coordOffset): improve cursor drawing
845 2005-02-13 André Pönitz <poenitz@gmx.net>
847 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
848 * Cursor.C (dispatch): use fixIfBroken
849 * lyxfunc.C (getStatus): use fixIfBroken
851 2005-02-15 Angus Leeming <leeming@lyx.org>
853 * lyx_main.C (error_handler):
855 * lyxrc.C (setDefaults):
857 #include "environment.h".
859 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
861 2005-02-15 Angus Leeming <leeming@lyx.org>
863 * lyxserver.C (startPipe): squash MSVC warning "local variable
864 'fd' used without having been initialized".
866 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
868 * BufferView_pimpl.C: revert accidental commit.
870 2005-02-14 André Pönitz <poenitz@gmx.net>
872 * dociterator.[Ch]: new member forwardPosNoDescent(),
873 which doesn't enter nested insets.
874 * text2.C (setFont): use forwardPosNoDescent() instead
875 of ForwardPos() (fixes crash on font change).
877 2005-02-13 Angus Leeming <leeming@lyx.org>
879 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
880 only if lyxrc.path_prefix is not empty.
882 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
884 * bufferparams.C (readGraphicsDriver): prevent crash
886 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
888 * text2.C (setCounter): check for inInset() == 0
890 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
892 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
893 but use update() to get correct screen display; use convert
894 instead of istringstream.
895 (getStatus): handle LFUN_GOTO_PARAGRAPH
897 * lyxfunc.C (dispatch, getStatus): do not handle
898 LFUN_GOTO_PARAGRAPH here.
900 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
902 * text3.C (dispatch): size() -> depth()
904 * text2.C: remove some debug output
906 * paragraph.C: ws changes only
908 * lyxfunc.C (getStatus): size() -> depth()
910 * dociterator.h (clear, push_back, pop_back, internalData,
911 operator[], resize, empty): new functions
912 Make StableDocIterator and operator== be friends. Don't inherit
913 from std::vector use a privat class variable slices_ instead.
916 * dociterator.C: update because of not inheriting from std::vector
917 anymore. Call explictly to slices_ instead. Use depth() instead of
918 size() and top() instead of back()
920 * cursor.C: chagne size() -> depth and back() -> top(). Also
921 remove some direct operator[](i) calls in favour of foo[i]
922 (getFont): remove some dead code
924 * bufferview_funcs.C (coordOffset): size() -> depth()
926 * buffer.C: ws changes only
928 * CutAndPaste.C (eraseSelection): back() -> top()
930 * BufferView_pimpl.C (selectionRequested): back() -> top()
932 * BufferView.C (setCursor): size() -> depth()
934 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
936 * text3.C (cursorPrevious): return true if depm changed something
938 (dispatch): rename sl to oldTopSlice, remove moving use the new
939 NoUpdate func attrib instead. Make sure that needsUpdate is set
940 for function that have NoUpdate, but where depm might have changed
943 * text2.C (cursorLeft): make us return true if depm changed
946 (cursorUpParagraph): ditto
947 (curosrDownParagraph): ditto
948 (cursorUp, cursorDown): ditto, make sure to read comments in code
949 (deleteEmptyParagraphMechanism): remove an assert, also return
950 true if just a single char was deleted.
952 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
953 cursor that we modify, to avoid modifying an active cursor before
954 we call setCursor. This allows depm to run. Also return true if
955 depm deleted something.
957 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
958 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
959 cursorDownParagraph, cursorPrevious and cursorNext, return true if
960 something was changed in the buffer because of them (ie. depm run)
962 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
963 debug messages. Make update by default be false. Make sure that
964 the result of update is retained throught several calls down to
967 * LyXAction.h: add a new func_attrib: NoUpdate
969 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
970 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
971 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
973 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
975 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
977 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
978 bv_->owner(), bv_->buffer() by direct references to the private
980 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
981 (getStatus): isSavedPosition() is in BufferView::Pimpl.
982 (fitCursor): center() is in BufferView::Pimpl.
983 (getStatus, trackChanges, dispatch): no need for a temporary buf
985 (fitCursor, workAreaDispatch): use workarea().workheight()
987 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
989 * CutAndPaste.C (pasteSelectionHelper): fix a crash
991 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
993 * buffer.C: format up to 241.
994 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
995 break if pasting into ERT
996 * lyxfunc.C (getStatus): suppress mathpanel and
997 LFUN_DIALOG_SHOW_NEW_INSET in ERT
999 2005-02-01 Angus Leeming <leeming@lyx.org>
1001 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1003 2005-02-01 Angus Leeming <leeming@lyx.org>
1005 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1006 calling fs::is_directory().
1008 2005-01-31 Angus Leeming <leeming@lyx.org>
1010 * lyx_main.C (priv_exec): specify explicitly the relative location
1011 of the top level build directory when run in-place.
1013 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1015 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1016 LyXText containing the cursor, not the top-level one.
1018 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1020 (insertStringAsLines): rename par to pit; use temporary variable
1021 par to hold a Paragraph; do not store par.layout() in a variable,
1022 since the pointer may die when breaking paragraphs; pass pars to
1023 breakParagraph() instead of Buffer::paragraphs().
1025 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1027 * lyxlex_pimpl.h: #include <fstream>.
1029 * BufferView.[Ch] (getLyXText): add a const version.
1031 * BufferView_pimpl.C: add debug aids.
1036 * paragraph_funcs.h: add commentary explaining what the class does.
1039 * coordcache.[Ch]: add lots of commentary.
1040 (startUpdating, doneUpdating): debug aids.
1041 (arrays, insets, parPos, getParPos): accessors to private data.
1043 * cursor_slice.[Ch] (text): add a const version.
1044 * dociterator.[Ch] (text, innerText): add const versions.
1046 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1049 * paragraph.C (getRow, pos2ros): add asserts.
1051 * paragraph.h: add commentary. Lots of.
1053 * paragraph.[Ch] (metrucs, draw): removed.
1056 * rowpainter.[Ch]: const-correct changes.
1058 * text.C: various obvious clean-ups. Removal of ancient cruft.
1061 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1063 * vc-backend.C (find_file): rewrite to use boost.filesystem
1066 * main.C (main): set default name check for boost.filesystem to
1069 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1072 (actOnUpdatedPrefs): ditto
1074 * lyx_main.C (init): rewrite to use boost.filesystem
1075 (queryUserLyXDir): ditto
1077 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1078 (getContentsOfAsciiFile): ditto
1080 * lastfiles.C (readFile): rewrite to use boost.filesystem
1082 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1084 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1085 (loadLyXFile): ditto
1087 * buffer.C (Buffer): adjust for destroydir
1088 (getLogName): rewrite to use boost.filesystem
1089 (setFileName): ditto
1090 (save): use fs::copy_file (from fs_extras)
1092 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1094 * LaTeX.C (run): rewrite to use boost.filesystem
1095 (scanAuxFiles): ditto
1096 (handleFoundFile): ditto
1098 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1100 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1102 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1104 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1106 * lyxlayout.[Ch]: change some vars from float to double
1108 * buffer.C (readFile): make a local var const
1110 * Several files: use convert<> instead of atoi,strToXXX and friends
1112 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1114 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1115 holds the contents of packages.lst. New functions getAvailable
1116 and isAvailable to parse and check that list, resp.
1120 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1122 * bufferparams.[Ch]: new param output_changes.
1124 * Buffer.C: increase file format to 240.
1125 Use output_changes and isVailable.
1129 * paragraph_pimpl.C: Use output_changes and isVailable.
1131 2005-01-23 Angus Leeming <leeming@lyx.org>
1133 * output_latex.C: #include "insetbibitem.h", rather than
1134 forward declare function bibitemWidest.
1136 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1138 * lyx_main.C (init): make it compile on the Mac.
1140 2005-01-20 Angus Leeming <leeming@lyx.org>
1142 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1143 (setLyXMisc): (char string literal) != (char string literal) is
1144 performing a comparison on the addresses. Convert one operand
1145 explicitly to string to guarantee expected behaviour.
1148 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1151 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1153 * output_plaintext.C: remove unneeded #include gzstream.h.
1155 2005-01-20 Angus Leeming <leeming@lyx.org>
1157 * SpellBase.h: rename some of the elements of the Result enum.
1164 * pspell.C (check): ditto
1166 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1168 * buffer.C: add #include <fstream>.
1170 * lyx_main.C (init): Compile fix.
1172 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1174 2005-01-20 Angus Leeming <leeming@lyx.org>
1176 * mover.h: change commentary to reflect the changed meaning of
1177 the $$s placeholder.
1179 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1181 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1183 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1185 2005-01-20 Angus Leeming <leeming@lyx.org>
1187 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1188 printing diagnostic data by not dereferecing an iterator past the
1191 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1193 * buffer.C (readHeader): use "&&" rather than "and".
1195 * lyxserver.h (inPipeName, outPipeName): make these const.
1197 2005-01-19 Angus Leeming <leeming@lyx.org>
1199 * lyx_main.C (error_handler, init): protect SIGHUP with
1200 #ifdef SIGHUP guards.
1202 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1204 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1206 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1208 * text.C (setHeightOfRow): add a margin at the top and bottom of
1209 the document (bug 1761)
1211 2005-01-17 Angus Leeming <leeming@lyx.org>
1213 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1214 with "python ". Workaround for a brain-dead Windows.
1216 2005-01-16 Angus Leeming <leeming@lyx.org>
1218 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1219 for MacOSX and Windows to use prependEnvPath.
1220 Strip out the hard-coded block to add elements to the PATH for
1221 MacOSX and replace it with a call to prependEnvPath using the
1222 contents of LyXRC::path_prefix.
1223 (queryUserLyXDir): strip out the code to run reconfigure, instead
1224 returning a boolean indicating the necessity to do so.
1225 (reconfigureUserLyXDir): contains the code to reconfigure the
1226 user support directory. Is now called after the various LyXRC data
1227 files have been read.
1229 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1231 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1233 * converter.[Ch] (convert): take a new parameter try_default. Use
1234 a default converter (imagemagick) if try_default is true.
1236 2005-01-13 Angus Leeming <leeming@lyx.org>
1238 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1239 os::cygwin_path_fix.
1240 (write): output LyXRC::cygwin_path_fix as necessary.
1242 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1245 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1247 2005-01-12 Angus Leeming <leeming@lyx.org>
1249 * lyx_main.C (init): set the PATH variable to include the
1250 directory containing the LyX binary when running on Mac or Windows.
1252 2005-01-12 Angus Leeming <leeming@lyx.org>
1254 * lyx_main.C (init): remove cruft that purports to set the locale
1255 dir. It doesn't and is not needed anyway.
1257 2005-01-10 Angus Leeming <leeming@lyx.org>
1259 * Makefile.am: remove the lyx_main.C special casing.
1261 * BufferView_pimpl.C:
1267 * messages.C: use support/package.h to provide the paths to the
1268 various directories used by LyX.
1270 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1272 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1273 layout if pasting into an empty paragraph)
1275 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1277 * tex-accent.C: add <string>
1279 2005-01-06 José Matos <jamatos@lyx.org>
1281 * ParagraphParameters.C (write): put every parameter in its own line.
1282 * paragraph.C (write): reduce number of consecutive empty lines exported.
1283 * buffer.C (LYX_FORMAT): increase file format to 239.
1285 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1287 * everywhere: change support/tostr.h -> support/convert.h
1289 * tabular.C: make all write_attributes templates, tostr -> convert
1291 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1292 (emptyTag): and -> &&, and fix type for ret from getChar
1293 (getFirstWord): fix type for ret from getChar
1294 (onlyText): and -> &&
1295 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1298 * toc.C (goTo, action):
1299 * text3.C (dispatch):
1300 * text.C (currentState):
1301 * tex-accent.C (DoAccent):
1304 * lyxfunc.C (menuNew):
1305 * lyxfinc.C (replace):
1306 * counters.C (laberItem):
1307 * bufferview_funcs.C (font2string):
1308 * bufferparams.C (writeFile):
1309 * buffer.C (readFile):
1311 * MenuBackend.C: tostr -> convert
1313 * LaTeX.C (runMessage): fix format
1314 (scanAuxFiles): tostr -> convert
1316 * BufferView_pimpl.C (savePosition): fix format
1317 (restorePosition): ditto
1320 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1322 * Spacing.[Ch]: New method getValueAsString().
1326 * ParagraphParameters.C:
1329 * text3.C: store/read spacing value as string.
1331 * rowpainter.C: change float value (spacing_val) to double.
1333 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1334 broken custom document spacing).
1336 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1338 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1339 namespace, also more use of temp references and const
1341 * cursor.[Ch] (getStatus): move to lyxfunc.C
1343 * bufferparams.C: reformat slightly
1345 * bufferview_funcs.C (font2string): constify arg
1351 * buffer_funcs.C: (many funcs): constify arg on function
1352 definitions, also make more local vars const, also add ASSERTS on
1355 * buffer.C (LYX_FORMAT): put const in correct place
1356 (many funcs): constify arg on function definitions, also make
1357 more local vars const
1359 * aspell_local.h: remove "struct" from typdef setup
1361 * aspell.C (check): make word_ok const
1362 (nextMiss): simplify slightly
1365 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1367 * lyxrc.[Ch]: store all float values as strings.
1368 use int (not float) for lyxrc.dpi.
1370 2005-01-04 Angus Leeming <leeming@lyx.org>
1372 * lyx_cb.C (Reconfigure):
1373 * lyx_main.C (queryUserLyXDir):
1374 to run the <system_lyxdir>/configure correctly on Windows, prefix
1375 the path to the script with "sh " when generating the string that
1376 is passed to system().
1378 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1380 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1382 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1384 * lyxlength.C (asLatexString): get rid of setprecision
1386 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1388 * text2.C (setLayout): remove unused variable endpit.
1389 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1391 * paragraph.C (onlyText): remove unused variable style.
1393 * cursor.C (bruteFind): remove unused variables beg and end.
1395 * Makefile.am (dist_noinset_DATA): not needed anymore
1397 * cheaders/*: remove.
1399 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1401 * text3.C: fix LFUN_MATH_MODE.
1403 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1405 * buffer_funcs.C (countWords): new function. Counts words between
1408 * BufferView_pimpl.C (getStatus, dispatch): handle
1411 * LyXAction.C (init):
1412 * lfuns.h: add LFUN_WORDS_COUNT.
1414 2004-12-19 Angus Leeming <leeming@lyx.org>
1416 * buffer.C (save): s/slashify_path/internal_path/.
1418 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1420 * lyxfind.C (findChange): do not search for end of pars, because
1421 the change tracker cannot handle this (fixes bug 1719).
1423 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1425 * paragraph.[Ch] (autoBreakRows): remove
1427 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1429 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1430 avoid using the paragraph one
1432 * text2.C (LyXText, insertStringAsLines): adjust
1434 2004-12-16 Angus Leeming <leeming@lyx.org>
1438 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1440 2004-12-14 Angus Leeming <leeming@lyx.org>
1442 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1444 * bufferlist.C (emergencyWrite):
1445 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1448 2004-12-14 Angus Leeming <leeming@lyx.org>
1450 * main.C: (main): no longer pass pointers to os::init.
1452 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1454 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1455 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1457 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1460 * text3.C: remove selection_possible global flag
1462 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1464 * text2.C (getSelectionSpan): remove
1465 (changeDepth, changeDepthAllowed): adjust
1467 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1469 * Makefile.am (BOOST_LIBS): use boost variables
1471 2004-12-03 José Matos <jamatos@lyx.org>
1473 * buffer.C: format up to 238.
1475 2004-12-03 José Matos <jamatos@lyx.org>
1477 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1479 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1481 * cursor.C (goUpDown): remove call to idxUpDown2
1483 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1485 * tabular.[Ch]: use size_t-like types for cell, row and column
1488 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1490 * lyxfunc.C (getStatus): do not lose previous information when
1491 calling BufferView::getStatus; do not set a default "Command
1492 disabled" message at the beginning, but just before returning.
1494 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1496 * cursor.h (getStatus): add better comment from src/cursor.C
1498 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1500 * text3.C (getStatus): return false when the lfun is not handled
1502 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1504 * broken_headers.h: remove
1506 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1508 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1510 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1511 offset_ref accessors
1513 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1514 top_y_, merge fitcursor with update
1515 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1517 (metrics): introduce
1518 (workAreaDispatch): adapt to new coord scheme
1519 (redoCurrentBuffer): remove
1521 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1523 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1526 * coordcache.[Ch]: add paragraph cache and helpers
1528 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1531 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1532 (targetX, setTargetX): introduce
1534 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1535 baseline -> ascent, as the rest of lyx
1537 * lyxtext.h: remove redoParagraphs, updateParPositions,
1538 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1539 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1540 have ascent/descent (ascent is ascent of first par)
1542 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1545 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1547 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1549 * pariterator.C: fix infinite loop introduced in par->pit renaming
1551 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1552 in insets and LyXText, draw two off-screen paragraphs using
1553 NullPainter, and adapt to new coord scheme
1557 * text3.C: adapt lfun handlers to the new coord scheme, which
1558 means: there's only guaranteed coord information for onscreen pars
1559 plus one above and one below. This implies that one can do search
1560 from y coordinates in the range [-1,workHeight]
1562 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1564 * rename a lot of InsetOld to InsetBase
1566 2004-11-25 Angus Leeming <leeming@lyx.org>
1568 * BufferView_pimpl.C:
1570 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1572 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1574 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1575 call BufferView::getStatus if LCursor::getStatus did nothing
1576 (setStatusMessage, getStatusMessage): removed.
1578 * FuncStatus.C (message): new methods. Used to provide an error
1579 message indicating why a command is disabled.
1580 (clear, |=, FuncStatus): update for message.
1582 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1584 * lyxfunc.C (dispatch): always call sendDispatchMessage
1586 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1589 * BufferView_pimpl.C:
1594 * cursor_slice.[Ch]:
1597 * paragraph_funcs.C:
1603 * undo.C: par->pit renaming
1605 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1607 * tabular.C (cellstruct): use initialization, store a shared_ptr
1608 to insettext instead of the insettext directly, adjust to fit.
1609 (operator=): new function
1610 (swap): new function
1611 (rowstruct): use initialization
1612 (columnstruct): use initialization
1613 (ltType): use initialization
1616 * lyxlength.h (swap): new function
1618 * LColor.[Ch] (operator=): use the common semantics
1620 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1622 * lyxfind.C (findNextChange): update the bufferview after setting
1625 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1627 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1628 number of InsetOptArgs has already been inserted.
1630 * output_latex.C (latexOptArgInsets): new method. This outputs all
1631 the optarg insets, up to the limit defined in the layout file.
1632 (optArgInset): removed
1633 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1635 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1637 * paragraph.C (isLetter): remove special spellchecker-related
1638 code; return true also for digits
1639 (isWord, isKomma): remove
1641 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1642 * lyxfind.C (MatchString()): use isLetter instead of isWord
1644 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1646 * pariterator.h (operatir=): comment out un-implemented member
1649 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1652 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1654 * lyxfont.h: include LColor.h to satisfy concept checks.
1656 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1658 * pariterator.h: add typdefs for value_type, difference_type,
1659 pointer and reference to satisfy concept checks. Also add default
1660 constructor for same reason.
1662 * pariterator.C (operator++): add post-increment operator to
1663 satisfy concept checks.
1665 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1668 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1670 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1671 checks. Also rename base_type to BaseType to follow naming
1674 * FloatList.h: include Floating.h to satisfy concept checks.
1676 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1678 * lyxfunc.C (getStatus): when the origin of the request is menu or
1679 toolbar, and the LyXView does not have focus, do as if there was
1680 no buffer (bug 1720)
1682 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1683 FuncRequest to individual entries of LFUN_SEQUENCE
1685 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1687 * output_latex.C (TeXOnePar): override runparams.moving_arg
1688 according to the needprotect value of the current paragraph (bug
1691 * paragraph.C (simpleTeXOnePar): no need to override
1692 runparams.moving_args here
1694 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1696 * vspace.C: fix off-by-one-error, related to fix #1682
1698 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1700 * lengthcommon.C: a more general fix for bug 1682
1702 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1704 * text.C (backspace): fix crash
1706 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1708 * format.[Ch] (getFormatFromFile): new method
1709 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1711 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1713 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1715 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1717 * lyxfunc.C (dispatch): remove the verbose argument
1718 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1721 * kbmap.C (defkey): set the origin of func to KEYBOARD
1723 * MenuBackend.C (MenuItem):
1724 * ToolbarBackend.C (add): set the origin of func to UI
1726 * funcrequest.[Ch]: add origin member, which indicates which part
1727 of LyX requests an action
1729 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1731 * converter.C (move): don't lie in the error message
1732 * converter.h (isReachable, move): document
1734 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1736 * buffer.C: remove unused using lyx::support::atoi
1737 * paragraph_funcs.C: ditto
1739 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1741 * bufferlist.C (exists): use bind and equal_to instead of
1744 * lyxtextclasslist.C (NumberOfClass): ditto
1746 * cursor.C (insert): use for_each instead of explicit for loop
1748 * bufferlist.C (getFileNames): use std::transform and
1749 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1751 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1754 * buffer.C (changeLanguage): use for_each instead of explicit for
1756 (hasParWithID): implement using getParFromID
1758 * LaTeXFeatures.C: ws change only
1760 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1763 * BufferView_pimpl.C (trackChanges): use for_each instead of
1766 2004-11-04 André Pönitz <poenitz@gmx.net>
1769 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1771 * dociterator.C (asDocIterator): use hard assert again.
1773 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1775 * lyxlength.C (asLatexString): rewrite so that it does not use
1778 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1780 * text3.C (specialChar, dispatch): make sure cursor moves to the
1781 right after inserting an inset
1783 2004-11-02 José Matos <jamatos@lyx.org>
1785 * output_docbook.C (docbook):
1786 * paragraph.C (getID):
1787 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1788 garantee that the output is always legal.
1790 * tabular.C (docbook):
1791 * outputprams.[Ch]: remove mixed contents.
1793 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1795 * text2.C (setCounter): prevent endless loop
1797 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1799 * exporter.C (copyFile): use the mover instead of support::copy()
1800 * exporter.C (Export): pass format and latex name to copyFile()
1801 * exporter.h (addExternalFile): document
1802 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1804 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1806 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1808 2004-10-30 José Matos <jamatos@lyx.org>
1810 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1811 text and no inset or font change. This allows to use CDATA
1812 sections just for the whole paragraph.
1814 2004-10-30 José Matos <jamatos@lyx.org>
1816 * paragraph.C (getFirstWord): remove unused variable.
1818 2004-10-30 José Matos <jamatos@lyx.org>
1820 * paragraph.C (getFirstWord): the content should always be escaped
1822 (simpleDocBookOnePar):
1823 * output_docbook.C (makeEnvironment): replace reference to CDATA
1826 2004-10-30 José Matos <jamatos@lyx.org>
1828 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1830 2004-10-30 José Matos <jamatos@lyx.org>
1832 * output_docbook.C (makeParagraphs):
1833 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1834 standard paragraph has only a given type of content drop the wrapper.
1836 2004-10-29 José Matos <jamatos@lyx.org>
1838 * output_docbook.C (makeEnvironment):
1840 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1842 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1844 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1845 (cleanID): sanitize any id.
1847 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1849 * buffer.C, lyxlex_pimpl.C:
1850 * lyxlex_pimpl.C (setFile):
1851 s/getExtFromContents/getFormatFromContents/
1853 2004-10-28 José Matos <jamatos@lyx.org>
1855 * output_docbook.C (makeEnvironment): move id to broadest possible
1858 * sgml.C (openTag): apply substitution of <> for all attributes.
1860 2004-10-28 José Matos <jamatos@lyx.org>
1862 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1863 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1864 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1866 * sgml.[Ch]: new version for open and closeTag for paragraph and
1867 for strings. Now they handle the ids of paragraphs.
1869 2004-10-26 Angus Leeming <leeming@lyx.org>
1871 * Makefile.am: add mover.[Ch].
1873 * converter.C (convert, move): use the new Movers to move external
1874 files to the temp directory.
1876 * lyx_main.C (init): ensure that the global system_movers data
1879 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1882 * mover.[Ch]: new files, defining a Mover as a utility to move an
1883 external file between directories and, if necessary, manipulate this
1884 file using a helper script.
1886 2004-10-25 José Matos <jamatos@lyx.org>
1888 * output_docbook.C (makeCommand): merge two if's that tested the
1891 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1893 * sgml.C (escapeString): fix warning in a better way
1895 2004-10-25 José Matos <jamatos@lyx.org>
1897 * sgml.C (escapeString): import the require boosts header file for
1898 tie, and avoid a signed unsigned comparison.
1900 2004-10-25 José Matos <jamatos@lyx.org>
1902 * sgml.h: add #include <string>
1904 2004-10-25 José Matos <jamatos@lyx.org>
1906 * sgml.[Ch] (escapeString): new function to escape all the string.
1908 2004-10-24 José Matos <jamatos@lyx.org>
1910 * paragraph.[Ch] (getFirstWord): new function to get the first
1911 word. Useful for description.
1912 (simpleDocBookOnePar): remove depth argument, add another that
1913 says where to start the paragraph.
1915 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1916 use the new functions to fix cleanly the support for descriptions.
1918 2004-10-24 José Matos <jamatos@lyx.org>
1920 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1921 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1922 * output_linuxdoc.C (linuxdocParagraphs):
1923 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1924 add buffer as argument.
1926 2004-10-24 José Matos <jamatos@lyx.org>
1928 * output_docbook.C (makeEnvironment, searchEnvironment): place
1929 CDATA inside paragraphs and fix scope for listitems.
1931 2004-10-24 José Matos <jamatos@lyx.org>
1933 * output_docbook.C: remove using statement for stack.
1935 2004-10-23 José Matos <jamatos@lyx.org>
1937 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1938 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1939 docbook. The new scheme is recursive and makes use of iterators, the
1940 same as latex export works.
1941 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1942 directly with the paragraph contents. This code was moved up to
1943 output_docbook.C (docbookParagraphs).
1944 * sgml.C (openTag, closeTag): removed unneeded newlines.
1945 (closeEnvTags) removed.
1947 2004-10-23 André Pönitz <poenitz@gmx.net>
1949 * undo.C (textUndoOrRedo):
1950 * dociterator.C (asDocIterator): work around crash
1952 * cursor.C (getStatus): replace ASSERT by more verbose error message
1953 and manual correction of the problem. Should increase stability
1954 while providing more sensible information.
1956 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1958 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1960 * bufferlist.C (previous, next): new methods
1963 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1965 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1967 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1968 entities to preamble.
1970 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1972 * messages.C (Pimpl): strip off translation context information
1974 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1976 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1977 the cursor is correct (bug 1694)
1979 2004-10-13 José Matos <jamatos@lyx.org>
1981 * output_docbook.C (docbookParagraphs): fix closing tags in the
1982 end of the document.
1984 2004-10-09 José Matos <jamatos@lyx.org>
1986 * buffer.C: format up to 237.
1987 * bufferparams.C (write): use tostr to convert booleans to strings.
1989 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1991 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1993 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1995 * LaTeX.C: implement use of babel language in xindy.
1997 2004-10-05 José Matos <jamatos@lyx.org>
1999 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2000 Add new translators to help reading and writing the lyx file.
2002 2004-10-05 José Matos <jamatos@lyx.org>
2004 * ParagraphParameters.C (read):
2005 * text.C (readParToken): replace nexToken by more appropriate lex
2008 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2010 * LaTeX.C (runMakeIndex):
2011 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2012 (usually 'makeindex') configurable.
2014 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2015 with a variable rather than with a number.
2017 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2019 * output_latex.C (TeXOnePar): make sure font setting is the first
2020 thing that gets output (and the last at the end). Should fix bug
2023 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2025 * pch.h: use proper signal include
2027 * LaTeX.h: Use preferred calling of Boost.Signal
2030 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2032 * pch.h: dont include <boost/function/function0.hpp>
2034 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2036 * paragraph_pimpl.h: remove usage of ShareContainer
2038 * paragraph_pimpl.C: remove initialization of ShareContainer.
2040 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2044 * BufferView.C (putSelectionAt): change the semantics when
2045 backwards == true: now, this just swaps cursor and anchor wrt the
2048 * BufferView.h (putSelectionAt): add some documentation
2050 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2051 make sure backwardChar is done at least once (to avoid getting
2053 (findNextChange): use putSelectionAt in the forward direction
2054 (operator()): use Paragraph::isWord
2056 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2058 * Spacing.C (set): c_str fix
2060 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2062 * lyx_cb.C (Reconfigure): quote the name of configure script in
2063 case it contains spaces
2065 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2069 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2070 (BOOST_LIBS): use top_buildir when looking for the file
2072 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2074 * pch.h: do not use include boost/format.hpp, multiple symbols
2075 will result (gcc bug)
2078 2004-08-23 José Matos <jamatos@lyx.org>
2080 * bufferparams.C (readToken): fix reading of the author field.
2082 2004-08-20 José Matos <jamatos@lyx.org>
2084 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2086 2004-08-20 José Matos <jamatos@lyx.org>
2088 * lyxlex.[Ch] (findToken): remove function.
2090 * ParagraphParameters.C (findToken):
2091 * bufferparams.C (findToken): replace call for previous function
2092 with local copy. This local function has one more argument, the
2093 read string argument.
2095 2004-08-16 José Matos <jamatos@lyx.org>
2097 * ParagraphParameters.C (write):
2098 * Spacing.C (writeFile):
2099 * bufferparams.C (writeLaTeX):
2100 * lyx_cb.C (Reconfigure):
2101 * paragraph.C (write):
2102 * tabular.C (write): remove unnecessary space at end of line.
2105 2004-08-16 José Matos <jamatos@lyx.org>
2107 * text.C (readParagraph): remove debug message.
2109 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2111 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2114 * output_plaintext.C (asciiParagraph): set depth correctly
2116 * outputparams.h: add member depth
2118 * paragraph_funcs.C (ownerPar): remove.
2120 * text2.C (setCounter): remove first_pit; comment out some
2121 non-working code that uses ownerPar
2123 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2126 2004-08-16 José Matos <jamatos@lyx.org>
2128 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2129 For the same level of importance use the same chanel to report problems.
2130 (read): add code to deal with \begin_body and \end_body.
2133 2004-08-15 José Matos <jamatos@lyx.org>
2135 * lyxlex.C (getString): fix comment, buffer::readBody is now
2136 buffer:readDocument.
2138 * tex-strings.C (string_papersize): Default -> default,
2139 Custom -> custom, for consistency with other options.
2141 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2145 * Makefile.am: support pch
2147 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2149 * text.C (readParToken): remove the static LyXFont variable and
2150 pass it as a parameter instead. This fixes a nasty bug where an
2151 inset will be inserted with a bad font in some situations
2152 (readParagraph): adapt
2154 * text2.C (setCounter): reduce number of calls to pars_[pit]
2156 * text.C (singleWidth): add an assert, fix a test
2158 * rowpainter.C (paintText): reduce number of calls to singleWidth
2160 * paragraph.C (isHfill):
2161 (isNewline): ws only
2163 2004-08-14 André Pönitz <poenitz@gmx.net>
2168 * lyxtext.h (several functions): use a Paragraph & argument
2171 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2173 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2175 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2177 * text.C (singleWidth): remove useless test
2179 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2181 * tabular.h: remove bogus comments
2183 * tabular.C (getDescentOfRow):
2184 (isPartOfMultiColumn): add assertions
2186 * lyxlength.C (inPixels): remove #warning
2188 2004-08-14 André Pönitz <poenitz@gmx.net>
2190 * paragraph.h: inline getChar()
2192 * BufferView.h: remove unused declarations
2194 2004-08-14 José Matos <jamatos@lyx.org>
2196 * Buffer.[Ch] (readDocument): new name for old readBody.
2197 * Buffer.C: new file format, new keywords: \begin_document,
2198 \begin_header, \begin_body, \end_body.
2200 * bufferparams.C (readToken): replace all calls to lex.nextToken
2201 by lex.next(). Do the same to eatLine except where really needed.
2203 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2204 line when writing to the lyx file.
2206 * output_plaintext.C (asciiParagraph): fix Bibliography style
2209 * text.C (read): fix end of file handling.
2211 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2213 * MenuBackend.C (Menu::operator[]): new method to access
2214 individual menu items
2215 (Menu::hasFunc): new method. search for an item that corresponds
2217 (MenuBackend::specialMenu): new method
2218 (MenuBackend::expand): if a special menu has been set, skip
2219 entries whose func() appears in this menu
2221 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2223 * text3.C: use Debug::DEBUG a bit more
2225 * text.C (leftMargin): try to simplify a tiny bit change var x to
2226 l_margin. Dont output the wide margins always.
2227 (rightMargin): no margin in inner texts
2229 * rowpainter.h (nestMargin): new func
2230 (changebarMargin): new func
2231 (rightMargin): new func
2233 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2237 * factory.C (createInset): modify setDrawFrame
2239 * cursor.C: use Debug::DEBUG a bit more
2241 2004-08-14 André Pönitz <poenitz@gmx.net>
2244 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2245 cache for all insets in (at least partially) visible (top-level)
2248 * BufferView_pimpl.C: reset external coord cache before every update.
2249 This means the coord cache only contains valid entries.
2251 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2254 * BufferView_pimpl.C (getInsetByCode): move function out of class
2255 and change in to a template in anon namespace. Also fix to do what
2258 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2261 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2263 (breakParagraph): rename par to par_offset and use a local
2264 reference. Add code to keep the language over a rebreak.
2265 (breakParagraphConservative): rename par to par_offset, use a
2267 (mergeParagraph): ditto
2269 (isFirstInSequence): ditto
2270 (outerFont): rename pit to par_offset
2272 * paragraph.C: ws change
2273 * paragraph.h: ditto
2277 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2279 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2282 * paragraph.C (simpleTeXOnePar): when we have a \item with
2283 optional argument, enclose the argument with curly brackets (in
2284 case it contains a closing square bracket)
2288 * text3.C (checkInsetHit): constify
2290 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2292 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2293 documents (bug 1629)
2295 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2297 Fix toggling of collapsable insets with the mouse (bug 1558)
2299 * lyxfunc.C (dispatch): adapt to LCursor changes
2301 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2302 make sure that dispatch is not invoked twice
2304 * cursor.C (needsUpdate): new method
2305 (dispatch): return void
2306 (result): new method, to access the DispatchResult of the cursor.
2308 2004-08-13 José Matos <jamatos@lyx.org>
2310 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2312 2004-08-13 André Pönitz <poenitz@gmx.net>
2314 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2316 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2319 2004-08-12 André Pönitz <poenitz@gmx.net>
2321 * text3.C: take out the 'cursor right' form insertInset and only
2322 do it in those places when it is really needed. Fixes crash on
2325 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2327 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2329 * BufferView_pimpl.C (setBuffer): initialize the current font of
2330 the underlying LyXText
2332 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2334 * kbsequence.C (print): use UI native formatting for menu
2337 * text.C (insertChar): call Paragraph::insertChar with a font
2340 * paragraph.C (insertInset, insertChar): the version that takes a
2341 LyXFont argument is now a wrapper around the other one (the
2342 opposite used to be true).
2344 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2345 argument. Font setting is done in Paragraph now.
2347 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2349 * outputparams.h: add new members intitle and lang.
2351 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2352 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2354 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2356 * text3.C (dispatch): remove special handling of button 4 and 5,
2357 it is now taken care of in the frontend code.
2359 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2361 * Spacing.h: add <string> (STLPort compile fix)
2363 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2365 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2367 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2369 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2372 * converter.C (showMessage): inherit from unary_function, make
2375 * buffer.C (writeFile): initialize retval
2377 * InsetList.h: rename private variable list to list_
2378 * InsetList.[Ch]: adjust accordingly.
2380 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2382 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2383 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2384 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2385 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2386 * ParagraphParameters.C, LaTeXFeatures.C: replace
2387 "support/std_sstream.h" with <sstream>
2389 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2391 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2392 * lyxsocket.C (LyXServerSocket): ditto
2393 (serverCallback): ditto
2395 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2397 * LaTeXFeatures.C: check release date when loading jurabib.
2399 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2401 * lyxserver.C (startPipe): call register_socket_callback
2402 (endPipe): call unregister_socket_callback
2404 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2406 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2407 (LyXServerSocket): register the callback
2408 (LyXServerSocket): unregister the callback
2409 (fd): delete function
2410 (serverCallback): improve error checking and setup the callbacks.
2411 (dataCallback): change arg to fd.
2412 (writeln): new func (copied fro the client socket) used for server
2414 (LyXDataSocket): simplify
2415 (~LyXDataSocket): close ann unregiser callback
2416 (server): delete function
2417 (fd): delete function
2418 (readln): small changes, improve some std::string usage
2419 (writeln): constify a bit
2421 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2423 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2426 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2428 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2429 after it has been populated
2431 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2433 * text2.C (insertInset): move cursor when inserting inset.
2435 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2437 * kbmap.C (findbindings): a couple of new methods. returns a
2438 container of kb_sequence objects. The real work is done by the
2439 private recursive version
2440 (printbindings): uses findbindings to print out a bracketed list
2441 of bindings (renamed from findbinding).
2443 * MenuBackend.C (binding): use kb_keymap::findbindings
2445 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2447 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2449 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2451 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2453 * paragraph.C (isWord): return true on insets that report
2456 * text.C (getWord): use Paragraph::isWord to decide what is in a
2457 word and what is not; fix bug 1609.
2459 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2461 * tex-strings.C: add "none" to string_paperpackages[], fixes
2462 off-by-one-error in the paperpackage selection.
2465 * tex-strings.[Ch]: char const * string[n]
2466 -> char const * const string[]
2468 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2470 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2471 command, return early.
2473 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2475 * debug.h: add DEBUG to enum and fix size of ANY.
2477 * debug.C: add support for Debug::DEBUG
2478 (showTags): cast errorTags.level to unsigned int
2480 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2481 (redoCurrentBuffer): ditto
2482 (updateScrollbar): ditto
2483 * cursor.C (dispatch): ditto
2484 * text2.C (setLayout): ditto
2486 (updateCounters): ditto
2488 (deleteEmptyParagraphMechanism): ditto
2490 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2492 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2493 annotations to cleanup the Makefile slightly.
2495 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2497 * lyxrc.C: do not set user_email to a default value but use empty
2498 instead. The entry used to be translated, which does not work
2499 since at the point where lyxrc is constructed there is no
2500 translation service available
2502 * messages.C (getLocaleDir): remove and use directly
2503 lyx_localedir() instead
2505 2004-06-02 Angus Leeming <leeming@lyx.org>
2507 Fix crash caused by dereferencing null pointer 'exportdata' in
2508 OutputParams by creating a new ExportData variable on the heap,
2509 storing it in a boost::shared_ptr.
2510 The crash was triggered when generating an Instant Preview
2511 of an external inset.
2513 * Makefile.am: add outputparams.C
2515 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2516 (c-tor): allocate memory to it.
2518 * exporter.C (c-tor): associated changes.
2520 2004-06-01 Angus Leeming <leeming@lyx.org>
2522 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2523 contains data before calling isInset(0). (Bug 1513.)
2525 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2527 * exporter.C (checkOverwrite): new method
2528 * exporter.C (copyFile): new method
2529 * exporter.C (Export): copy referenced files to the document dir
2530 * exporter.[Ch]: new class ExportedFile
2531 * exporter.[Ch]: new class ExportData. Contains currently the
2532 names of referenced external files
2533 * outputparams.h: add exportdata member.
2535 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2537 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2540 2004-05-19 Angus Leeming <leeming@lyx.org>
2545 * lyxfunc.C: small changes due to the introduction of namespace
2546 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2548 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2550 * text3.C (dispatch): supress update when only moving the cursor
2551 * cursor.C (selHandle): remove commented code
2553 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2555 * paragraph.C (startTeXParParams): correct column count
2556 * CutAndPaste.C (pasteSelection): remove const_cast
2557 * output_docbook.C (docbookParagraphs): remove const_cast
2558 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2559 const_cast and return ParagraphList::const_iterator
2560 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2561 * output_plaintext.C (writeFileAscii): remove const_cast
2562 * paragraph.[Ch] (simpleTeXOnePar): make const
2563 * paragraph_funcs.C (outerPar): use const iterators
2564 * paragraph_pimpl.C (validate): use const iterators
2565 * text.C (setHeightOfRow): use const iterators
2567 2004-05-17 Angus Leeming <leeming@lyx.org>
2570 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2572 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2573 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2574 if the citation engine has changed.
2576 2004-05-14 José Matos <jamatos@lyx.org>
2578 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2579 if the textclass does not provide it. Have it different for sgml and
2581 support the language of document.
2582 * output_docbook.C (docbookParagraphs):
2583 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2584 first anchor as the id of the paragraph, remove special case code.
2585 * sgml.C (escapeChar): escape only < & >.
2587 2004-05-14 Angus Leeming <leeming@lyx.org>
2589 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2590 dependencies on src/frontends/controllers/biblio.h. Define a
2591 CiteEngine_enum wrapper class to enable the enum to be forward
2594 2004-05-12 Angus Leeming <leeming@lyx.org>
2596 * buffer.C: up LYX_FORMAT to 234.
2597 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2598 use_numerical_citations with a single biblio::CiteEngine cite_engine
2600 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2602 2004-05-13 José Matos <jamatos@lyx.org>
2605 * converter.C (Converter, readFlags): add xml member.
2606 * outputparams.h: add XML flavor.
2607 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2609 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2611 * lyxfunc.C (dispatch):
2612 (getStatus): fix handling of LFUN_SEQUENCE
2614 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2616 * debug.C (showLevel): do not forget the end-of-line marker
2618 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2620 * kbmap.C (read): do not stop parsing a bind file when an error
2623 2004-04-29 Angus Leeming <leeming@lyx.org>
2628 * text2.C: wrap a bunch of #warning statements
2629 inside #ifdef WITH_WARNINGS blocks.
2631 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2633 * buffer.C: increment format to 233.
2635 2004-04-28 Angus Leeming <leeming@lyx.org>
2637 * BufferView_pimpl.C:
2640 s/updateToolbar()/updateToolbars()/
2641 s/Toolbar.h/Toolbars.h/
2643 2004-04-28 Angus Leeming <leeming@lyx.org>
2645 * BufferView.[Ch] (c-tor):
2646 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2647 No longer passes these data to the WorkArea generator.
2649 2004-04-28 Angus Leeming <leeming@lyx.org>
2651 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2653 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2655 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2657 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2659 * output_latex.C (TeXEnvironment): make sure that there is a line
2660 break before \end{foo} for the last paragraph of a document
2661 (TeXOnePar): if the paragraph is at the end of the document (or
2662 inset) and the language has to be reset, then make sure that the
2663 line break is _before_ the language command, not after (fixes bug
2664 1225); also make sure that the language reset command is the first
2665 thing after the paragraph (to ensure proper nesting of
2666 environments and thus fix bug 1404)
2668 2004-04-21 John Levon <levon@movementarian.org>
2671 * ToolbarBackend.C: make "name" be a programmatic name
2672 and a gui_name field.
2674 * lyxfunc.C: display the minibuffer on M-x
2676 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2678 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2681 2004-04-19 Angus Leeming <leeming@lyx.org>
2683 * BufferView_pimpl.C (setBuffer): changed preview interface.
2685 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2688 2004-04-19 John Levon <levon@movementarian.org>
2690 * BufferView_pimpl.C:
2691 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2693 2004-04-05 Angus Leeming <leeming@lyx.org>
2695 * text.C (redoParagraphs): add call to updateCounters(), thereby
2696 fixing the missing "Figure #:" label from the caption of a
2699 2004-04-13 Angus Leeming <leeming@lyx.org>
2701 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2702 cursor is clicked out of an inset.
2704 2004-04-13 Angus Leeming <leeming@lyx.org>
2706 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2707 than an InsetOld one.
2709 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2711 * format.[Ch]: add editor to Format
2712 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2713 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2715 2004-04-08 André Pönitz <poenitz@gmx.net>
2717 * metricsinfo.h: remove PainterInfo::width member
2719 2004-04-08 Angus Leeming <leeming@lyx.org>
2721 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2722 "\providecommand" rather than "\newcommand", thereby preventing
2723 clashes with packages that define "\boldsymbol" themselves.
2726 2004-04-08 Angus Leeming <leeming@lyx.org>
2728 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2729 thereby squashing an unnecessary warning.
2731 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2733 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2736 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2738 * BufferView.C (setCursor): call redoParagraph (some insets could
2740 (putSelectionAt): remove the 'double update' trick
2742 * BufferView_pimpl.C (fitCursor): call refreshPar
2743 (workAreaDispatch): remove an uneeded update call
2744 (dispatch): remove some manual update calls
2746 * cursor.[Ch]: remove cached_y_, updatePos
2747 (selHandle): set noUpdate when appropriate
2749 * lyxfunc.C (dispatch): track if we need an update
2751 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2753 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2754 (paintSelection): cheap optimization, do not call cursorX when not
2756 (paintPars): change signature
2759 (paintTextInset): adjust
2763 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2765 * lengthcommon.C: compilation fix: remove explicit array size from
2766 unit_name[] and friends
2768 2004-04-05 Angus Leeming <leeming@lyx.org>
2770 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2772 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2773 present only for the preferences dialog.
2774 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2776 2004-04-05 Angus Leeming <leeming@lyx.org>
2778 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2779 to enable the frontends to export changes to lyxrc correctly.
2781 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2783 2004-04-07 André Pönitz <poenitz@gmx.net>
2785 * cursor.[Ch] (selClear, adjust): remove math
2787 * cursor_slice.C: more agressive assert
2790 * BufferView_pimpl.C: rework mouse event dispatch
2797 2004-04-05 André Pönitz <poenitz@gmx.net>
2799 * cursor.[Ch] (valign, halign...): remove unneeded functions
2801 2004-04-05 Angus Leeming <leeming@lyx.org>
2803 * lyxlength.[Ch] (unit_name et al.): const-correct.
2805 2004-04-05 Angus Leeming <leeming@lyx.org>
2807 * BufferView_pimpl.C:
2816 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2818 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2820 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2822 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2824 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2825 * BufferView_pimpl.[Ch] (getStatus)
2826 * BufferView.[Ch] (getStatus): add
2827 * lyxfunc.C (getStatus): move lfuns handled in
2828 BufferView::dispatch to te function above
2829 * Cursor.C (setSelection): set selection() = true
2831 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2833 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2835 2004-03-31 Angus Leeming <leeming@lyx.org>
2837 * lyxfunc.C (dispatch): Fall through to the generic
2838 Dialogs::show("preamble").
2840 2004-03-31 Angus Leeming <leeming@lyx.org>
2842 * lyxfunc.C (dispatch): Fall through to the generic
2843 Dialogs::show("spellchecker").
2845 2004-03-31 Angus Leeming <leeming@lyx.org>
2847 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2850 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2855 * insetiterator.[Ch]:
2860 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2862 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2864 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2865 insets where we are putting the cursor.
2867 2004-03-31 Angus Leeming <leeming@lyx.org>
2870 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2872 * lyxrc.[Ch] (read, write): overloaded member functions taking
2873 a std::[io]stream arguments.
2875 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2877 2004-03-31 Angus Leeming <leeming@lyx.org>
2879 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2880 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2882 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2883 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2885 2004-03-31 Angus Leeming <leeming@lyx.org>
2887 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2888 the LFUN_ALL_INSETS_TOGGLE code.
2890 2004-03-30 Angus Leeming <leeming@lyx.org>
2892 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2893 has died. Fall through to the generic Dialogs::show("document").
2895 2004-03-30 Angus Leeming <leeming@lyx.org>
2898 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2899 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2901 * lyxfunc.C (getStatus, dispatch): define the actions for these
2902 lfuns. Little more than a cut and pste job from ControlDocument.C
2904 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2906 2004-03-30 Angus Leeming <leeming@lyx.org>
2909 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2910 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2912 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2913 open/closed state of ollapsable insets. Usage:
2915 all-inset-toggle <state> <name>, where
2916 <state> == "open" || "closed" || "toggle" and
2917 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2919 * lyxtext.h, text2.C (toggleInset): removed.
2921 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2922 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2923 now passes LFUN_INSET_TOGGLE to the found inset.
2925 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2926 is now invoked as "all-insets-toggle toggle branch".
2928 2004-03-30 Angus Leeming <leeming@lyx.org>
2932 * pariterator.[Ch]: added/corrected header blurb.
2934 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2936 * dociterator.[Ch]: add an inset_ member
2937 (backwardPos): implemented
2938 (backwardPos, forwardPos): use inset_ when the stack is empty.
2939 (doc_iterator_begin, doc_iterator_end): implemented
2940 * pariterator.[Ch]: adjust, add begin, end
2941 * insetiterator.[Ch]: adjust, add begin, end
2945 * BufferView_pimpl.C:
2946 * CutAndPaste.C: adjust
2948 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2950 * buffer.C: increment file format to 232.
2951 * LaTeXFeatures.C: add bibtopic package.
2952 * bufferparams.[Ch]: param \use_bibtopic.
2954 * lyxrc.[Ch]: add lyxrc bibtex_command
2955 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2957 * buffer.C: increment file format to 231.
2959 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2961 * dociterator.C: implement forwardPar
2962 * iterators.[Ch]: remove, replaced by
2963 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2965 * BufferView_pimpl.C:
2968 * bufferview_funcs.C:
2974 * Makefile.am: adjust
2976 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2978 * CutAndPaste.C (pasteSelection): fix 2 crashes
2979 (eraseSelection): fix a crash
2980 * paragraph_funcs.C: remove a warning
2982 2004-03-28 Angus Leeming <leeming@lyx.org>
2985 * LyXAction.C (init): new LFUN_PRINT.
2987 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2989 2004-03-27 Angus Leeming <leeming@lyx.org>
2992 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2994 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2996 2004-03-27 Angus Leeming <leeming@lyx.org>
2998 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2999 insetlist always contains non-null pointers to insets.
3001 2004-03-26 Angus Leeming <leeming@lyx.org>
3003 * src/BufferView_pimpl.C:
3004 * src/CutAndPaste.C:
3007 * src/output_plaintext.C:
3008 * src/outputparams.h:
3009 * src/paragraph_funcs.C:
3013 * src/frontends/controllers/ControlErrorList.C:
3014 * src/frontends/gtk/FileDialogPrivate.C:
3015 * src/frontends/gtk/GPainter.C:
3016 * src/frontends/gtk/GToolbar.C:
3017 * src/frontends/qt2/QRef.C:
3018 * src/mathed/math_scriptinset.C: squash compiler warnings.
3020 2004-03-26 Angus Leeming <leeming@lyx.org>
3022 * ispell.C (LaunchIspell::start):
3023 * lyx_cb.C (AutoSaveBuffer::start):
3024 invoke run(DontWait) rather than runNonBlocking().
3026 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3028 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3030 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3032 * kbsequence.C (print): adjust
3034 * kbmap.C (printKeySym): rename and change signature
3035 (printKey): use LyXKeySym::print()
3037 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3039 * undo.C: add using std::advance to compile for stlport
3041 2004-03-24 Angus Leeming <leeming@lyx.org>
3043 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3044 it leads to a crash when no buffer is present.
3046 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3047 Martin Vermeer <martin.vermeer@hut.fi>
3049 * lyxfunc.C (dispatch):
3050 * bufferparams.C (readToken): use the new LColor::setColor
3052 * LColor.[Ch] (setColor): new version that takes two strings as
3053 argument and creates a new color entry if necessary
3055 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3057 * buffer.C (makeLaTeXFile): if the main latex file that is
3058 processed is usually a subdocument of some master, then pretend
3059 for a while that it is actually the master
3061 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3063 * buffer.C (getLabelList):
3064 (getBibkeyList): use getMasterBuffer()
3065 (getMasterBuffer): new method. Returns the main document in the
3066 case where one is using included documents.
3068 2004-03-25 André Pönitz <poenitz@gmx.net>
3072 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3074 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3076 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3077 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3079 * ParameterStruct.h: merge with ParagraphParameters
3081 * lyxtext.h: remove LyXText::parOffset() and getPar()
3083 * text3.C: Remove all 'manual' update calls. We do now one per user
3084 interaction which is completely sufficient.
3088 * BufferView_pimpl.C:
3089 * FontIterator.[Ch]:
3091 * ParagraphParameters.[Ch]:
3096 * cursor_slice.[Ch]:
3103 * output_docbook.[Ch]:
3104 * output_latex.[Ch]:
3105 * output_linuxdoc.[Ch]:
3106 * output_plaintext.[Ch]:
3108 * paragraph_funcs.[Ch]:
3109 * paragraph_pimpl.[Ch]:
3117 * frontends/controllers/ControlDocument.C:
3118 * frontends/controllers/ControlErrorList.C:
3119 * frontends/controllers/ControlSpellchecker.C:
3122 * insets/insetbase.h:
3123 * insets/insetbibitem.C:
3124 * insets/insetbox.C:
3125 * insets/insetbranch.C:
3126 * insets/insetcaption.C:
3127 * insets/insetcharstyle.C:
3128 * insets/insetcharstyle.h:
3129 * insets/insetcollapsable.C:
3130 * insets/insetcollapsable.h:
3131 * insets/insetert.C:
3132 * insets/insetfloat.C:
3133 * insets/insetfoot.C:
3134 * insets/insetmarginal.C:
3135 * insets/insetnote.C:
3136 * insets/insetoptarg.C:
3137 * insets/insettabular.C:
3138 * insets/insettext.C:
3139 * insets/insettext.h:
3140 * insets/insetwrap.C:
3141 * mathed/math_mboxinset.C:
3142 * mathed/math_nestinset.C:
3143 * mathed/math_scriptinset.C:
3144 * mathed/math_scriptinset.h:
3147 2004-03-24 Angus Leeming <leeming@lyx.org>
3149 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3150 deal with any child processes that have finished but are waiting to
3151 communicate this fact to the rest of LyX.
3153 2004-03-24 Angus Leeming <leeming@lyx.org>
3155 64-bit compile fixes.
3157 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3158 (c-tor): pass lyx::pos_types rather than ints.
3160 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3163 * text.C (Delete): compile fix.
3164 (getPar): ensure that function declaration is the same as that in
3167 2004-03-23 Angus Leeming <leeming@lyx.org>
3169 * ispell.C (LaunchIspell):
3170 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3171 a boost::shred_ptr rather than a std::auto_ptr.
3173 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3175 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3176 handle LFUN_FILE_INSERT_*
3178 * lyxrc.C (setDefaults, getDescription, output, read):
3179 * lyxrc.h: remove ps_command
3181 2004-03-22 Angus Leeming <leeming@lyx.org>
3183 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3184 Ensure that error_handler is processed once only and that all data
3185 is saved before attempting to output any warning messages.
3187 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3189 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3191 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3193 2004-03-19 André Pönitz <poenitz@gmx.net>
3195 * cursor.[Ch] (reset): take main text inset as argument
3197 * BufferView: adjust
3198 * BufferView_pimpl.C: adjust
3200 * paragraph.[Ch]: fix completely broken operator=()
3202 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3204 * LColor.C (getFromLyXName): make sure that the color name is used
3207 2004-03-17 Angus Leeming <leeming@lyx.org>
3210 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3212 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3213 dialog and to kill a forked process.
3215 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3217 * text2.C (setCursorFromCoordinates): fix font problem
3219 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3221 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3222 bogus "rebuild cursor" code
3224 2004-03-11 André Pönitz <poenitz@gmx.net>
3226 * buffer.[Ch]: use InsetText instead of LyXText as container for
3229 * dociterator.[Ch]: drop the BufferView * member which is not needed
3230 anymore after the change to buffer.C
3232 * paragraph_funcs.C:
3236 * BufferView_pimpl.[Ch]:
3238 * cursor_slice.[Ch]: adjust
3240 * text3.C: fix bug in mathDispatch
3242 2004-03-08 André Pönitz <poenitz@gmx.net>
3244 * undo.[Ch]: use 'StableDocumentIterator' as base for
3247 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3250 * bufferparams.[Ch]: add jurabib support and param.
3252 * LaTeX.C: add FIXME/comment.
3254 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3256 * buffer.C: increment file format to 230.
3258 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3260 * cursor.C (dispatch): avoid infinite loops
3262 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3264 * rowpainter.C (paintSelection): fix x coordinates
3266 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3268 * text.C (rowBreakPoint): fix breaking before displayed insets
3270 2004-03-01 André Pönitz <poenitz@gmx.net>
3272 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3274 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3278 * BufferView_pimpl.C:
3286 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3292 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3293 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3295 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3297 * Bidi.[Ch] (computeTables): const correctness
3298 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3299 fill_hfill, fill_label_hfill and x from Row
3300 * lyxtext.h: prepareToPrint returns a RowMetrics
3301 * rowPainter.C: adjust
3302 * text.C (prepareToPrint): use width, not textWidth. adjust
3303 (redoParagraphInternal, cursorX): adjust
3304 * text2.C (getColumnNearX): adjust
3305 (init): put a default value to the top LyXText::width
3307 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3309 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3311 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3313 * lyxtext.h: add FontIterator class
3315 * text.C (FontIterator, operator*, operator->, operator++): add
3316 (rowBreakPoint, setRowWidth): adjust (fixing a
3319 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3321 * BufferView_pimpl.C (workAreaDispatch): allow also
3322 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3324 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3326 * text.C (rowBreakPoint): fix a bug showing with very large insets
3328 2004-02-25 André Pönitz <poenitz@gmx.net>
3331 * cursor.[Ch]: move some mathed specific code to mathed
3333 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3335 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3336 use_tempdir in preferences
3337 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3339 * lyx_main.C: ensure that tempdir is valid
3340 * lyxlex.h: correct typo
3341 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3342 * paragraph.[Ch] (isMultiLingual): make const
3343 * cursor.[Ch] (openable): make const
3345 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3347 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3349 2004-02-20 André Pönitz <poenitz@gmx.net>
3351 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3353 * cursor.[Ch]: prepare for localized getStatus()
3359 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3361 2004-02-20 André Pönitz <poenitz@gmx.net>
3363 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3365 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3367 * text2.C (setCursorFromCoordinates): switch to absolute coords
3369 (cursorDown): adjust
3370 * text3.C (dispatch): adjust
3372 2004-02-16 André Pönitz <poenitz@gmx.net>
3374 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3377 * cursor_slice.[Ch]: remove unneeded acessor function
3379 * lyxtext.h: rename rtl() to isRTL()
3387 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3389 * rowpainter.C (paintSelection): coord fix
3391 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3393 * Spacing.C: compile fix
3395 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3397 * cursor.C (dispatch): restore current_ before returning
3399 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3401 * text2.C (cursorUp, cursorDown): fix coords
3404 2004-02-12 André Pönitz <poenitz@gmx.net>
3409 * text3.C: add LCursor & parameter to most cursor movement functions
3410 remove usage of LyXText::cursorRow() and cursorPar()
3412 * cursor.[Ch]: add textRow() needed members
3415 * BufferView_pimpl.C:
3418 * BufferView_pimpl.C: adjust
3420 2004-02-11 André Pönitz <poenitz@gmx.net>
3424 * BufferView_pimpl.C: shift undo/redo handling
3426 * cursor.[Ch]: fix mathed crash
3429 * lyxtext.h: move selectionAsText to LCursor
3437 * rowpainter.C: fix excessive drawing
3439 2004-02-06 André Pönitz <poenitz@gmx.net>
3442 * BufferView_pimpl.[Ch]:
3443 * text3.C: move some text specific LFUN handling
3445 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3447 * text3.C (checkInsetHit): adjust coords
3448 * text2.C (getColumnNearX): adjust coords
3449 (edit): adjust coords
3450 * text.C (getRowNearY): add two asserts
3452 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3455 * format.C: add using std::distance to compile on gcc 2.95/stlport
3457 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3459 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3461 2004-02-04 André Pönitz <poenitz@gmx.net>
3463 * BufferView.[Ch] (insertInset):
3464 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3469 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3471 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3472 on the default clause of the switch
3473 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3474 wasn't catched by LCursor::dispatch
3476 2004-02-03 André Pönitz <poenitz@gmx.net>
3479 * cursor.[Ch]: some additional asserts
3481 * undo.[Ch]: remove LyXText dependency in interface
3485 * lyxtext.h (firstPar, lastPar): remove dead functions
3490 * paragraph.[Ch]: adjust
3492 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3494 * lyxfind.C (find): fix argument order in call to ::find
3496 2004-02-02 André Pönitz <poenitz@gmx.net>
3498 * cursor.[Ch]: remove direct access to anchor
3500 * text.C: remove findText() hack
3502 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3504 * iterators.[Ch] (lockPath): remove in favour of...
3505 * BufferView.[Ch] (setCursor): this addition
3506 * BufferView.C (putSelectionAt): adjust
3507 * undo.C (performUndoOrRedo): adjust
3508 * lyxfunc.C (dispatch): adjust
3510 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3512 * iterators.C (lockPath): add a missing slice
3513 * undo.C (performUndoOrRedo): remove redundant positioning code
3515 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3517 * vc-backend.C (scanMaster): ";" -> ';'
3519 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3521 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3522 std::binary_function
3524 * lyxtextclass.C (compare_name): rename to...
3525 (LayoutNamesEqual): ...this
3527 * lyxlex_pimpl.C (compare_tags): inherit from
3528 std::binary_function, put back into anon namespace
3530 * lyxfind.C (MatchString): inherig from std::binary_function
3531 (findChange): use empty() istead of !size()
3533 * format.C (FormatNamesEqual): new functor
3540 * converter.C (compare_Converter): rename to...
3541 (ConverterEqual): ...this, and fixup a bit.
3542 (getConverter): use it, and make function const
3543 (getNumber): use it, and make function const
3547 * bufferlist.C: add using boost::bind
3549 * MenuBackend.C (MenuNamesEqual): new functor
3550 (hasMenu): use it, and make function const
3551 (hasSubmenu): use nested bind to get rid of compare_memfun.
3553 2004-01-30 André Pönitz <poenitz@gmx.net>
3555 * BufferView_pimpl.C:
3558 * cursor_slice.[Ch]:
3561 * paragraph_funcs.C:
3562 * paragraph_funcs.h:
3566 * text3.C: move some of the edit(x,y) handling to the insets
3567 some coordinate changes.
3569 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3571 * text.C: add using statements for std::advance and std::distance
3573 * paragraph.C: add using statement for std::distance
3575 * lyxfind.C: add using statement for std::advance
3577 * cursor.C (region): remove std:: from swap
3578 (openable): use nucleus in stead of operator->
3580 * BufferView.C: add using statements for std::distance and std::swap
3582 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3584 * iterators.C: Remove the pimple, move the needed structures to
3585 the header file. Create accessor for the positions stack.
3586 (asPosIterator): remove function
3588 * PosIterator.C (PosIterator): move constructors to top of file
3589 (PosIterator): reimplement the constructor taking a ParIterator in
3591 (setFrom): new function
3592 (operator!=): inline it
3594 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3596 * lyxfind.C (replaceAll): use std::advance
3598 * iterators.h: inherit from std::iterator.
3600 * PosIterator.C (advance, distance): remove
3601 * PosIterator.h: interit from std::iterator.
3603 2004-01-26 André Pönitz <poenitz@gmx.net>
3606 * BufferView_pimpl.[Ch]:
3610 * bufferview_funcs.C:
3620 * output_linuxdoc.C:
3621 * output_plaintext.C:
3623 * paragraph_funcs.[Ch]:
3624 * paragraph_pimpl.[Ch]:
3630 * text3.C: more IU: dumps most of the rest of the mathcursor
3631 implementation into cursor.[Ch]; "globalize" a bit of it.
3633 2004-01-25 Angus Leeming <leeming@lyx.org>
3635 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3637 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3639 * LaTeXFeatures.h: add nice_ and nice() const
3640 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3642 2004-01-20 André Pönitz <poenitz@gmx.net>
3645 * BufferView_pimpl.C:
3647 * bufferview_funcs.C:
3649 * cursor_slice.[Ch]:
3660 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3661 LCursor and mathcursor parts to LCursor and InsetBase.
3663 2004-01-15 André Pönitz <poenitz@gmx.net>
3665 * cursor_slice.[Ch]: add a few covienience functions
3667 * funcrequest.[Ch]: remove BufferView * member
3669 * BufferView_pimpl.C:
3676 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3678 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3680 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3681 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3683 2004-01-13 André Pönitz <poenitz@gmx.net>
3686 * lyxtext.h: hide cursor and selection anchor behind accessor function
3689 * BufferView_pimpl.[Ch]:
3691 * bufferview_funcs.C:
3701 * cursor_slice.[Ch]: some integer type changes for inset unification
3703 * lyxcursor.[hC]: remove, it's CursorSlice now.
3706 * BufferView_pimpl.[Ch]:
3707 * bufferview_funcs.C:
3713 * textcursor.[Ch]: adjust
3715 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3717 * text2.C (undoSpan): add and use
3718 * text.C (breakParagraph): use undoSpan (fix bug 578)
3721 2004-01-08 Angus Leeming <leeming@lyx.org>
3723 * BufferView_pimpl.C (MenuInsertLyXFile):
3724 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3725 * lyxfunc.C (menuNew, open, doImport):
3726 FileFilterList change to the FileDialog open and save functions.
3728 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3730 * ShareContainer.h: make isEqual and isUnique adaptable
3732 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3734 2004-01-07 Angus Leeming <leeming@lyx.org>
3737 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3739 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3741 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3742 functions replacing find, replace and replaceAll.
3744 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3745 LFUN_WORDFIND(FORWARD|BACKWARD).
3747 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3749 * text.C (breakParagraph): remove an outdated #warning
3751 2004-01-07 André Pönitz <poenitz@gmx.net>
3753 * lyxfind.C: somewhat clearer logic
3755 * text.C: prevent crash in cursorX on unitialized row cache
3757 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3759 * lyxcursor.[Ch] (operator>): add
3760 * textcursor.C (selStart, selEnd): use std::min and std::max
3762 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3764 * Chktex.C: include boost/format.hpp
3766 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3768 * InsetList.C: replace functor MathcIt with adaptable functor
3770 (insetIterator): modify accordingly
3772 * BranchList.h: move the BranchNamesEqual functor here from...
3773 * BranchList.C: ... to here
3775 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3777 (add): replace a finding loop with std::find_if.
3779 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3781 * output_docbook.C: moving LatexParam functionality into
3784 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3786 * buffer.C: increment format to 229.
3788 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3791 * lyx_sty.[Ch]: remove minipageindent_def
3797 * text3.C: remove LFUN_INSET_MINIPAGE
3799 2003-12-28 Angus Leeming <leeming@lyx.org>
3801 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3803 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3805 * text2.C (setParagraph): fix off-by-one crash
3807 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3809 * output_docbook.C: header stuff for AGU
3811 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3813 * text2.C (redoCursor): remove
3816 * BufferView_pimpl.C: remove calls to redoCursor and
3817 setCursor(cursor.par(), cursor.pos()) all around
3819 2003-12-15 Angus Leeming <leeming@lyx.org>
3821 * buffer.C: up the format to 228.
3823 2003-12-15 André Pönitz <poenitz@gmx.net>
3825 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3830 * BufferView_pimpl.C:
3839 2003-12-15 Angus Leeming <leeming@lyx.org>
3841 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3842 than getFromGUIName to manipulate the color.
3844 2003-12-14 Angus Leeming <leeming@lyx.org>
3846 * BranchList.[Ch]: minimize the API.
3847 (Branch::getBranch, getColor): now return a 'const &'.
3848 (Branch::setSelected) now returns a bool set to true if the
3849 selection status changes.
3850 (BranchList::clear, size, getColor, setColor, setSelected,
3851 allBranches, allSelected, separator): removed.
3852 (BranchList::find): new functions, returning the Branch with
3854 (BranchList::add, remove): return a bool indicating that
3855 the operation was successful.
3857 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3858 new InsetBranch::isBranchSlected member function.
3860 * LColor.[Ch]: mimimize the API.
3861 (fill): renamed as addColor and made private.
3862 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3863 versions of these functions taking a string arg have been removed.
3865 * bufferparams.C (readToken):
3866 * lyxfunc.C (dispatch):
3867 * lyxrc.C (read): changes due to the altered BranchList and
3870 * factory.C (createInset, readInset): changes due to altered
3873 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3876 * lyxfunc.C: remove insetminipage. "minipage-insert"
3877 now produces a frameless minipage box inset.
3879 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3881 * textcursor.[Ch] (selStart,selEnd): add new methods
3882 remove selection::start, end, use LyXCursor::operator<
3883 * lyxcursor.[Ch] (operator<): add
3884 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3885 * BufferView.[Ch] (unsetXSel): add
3886 * text2.C (clearSelection): use unsetXSel,adjust
3889 * rowpainter.C: adjust
3890 * bufferview_funcs.C (put_selection_at): adjust
3892 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3894 * BufferView_pimpl.C: small coord. correction
3896 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3898 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3899 dragging over the splash screen.
3901 2003-12-11 Angus Leeming <leeming@lyx.org>
3903 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3904 as it is now handled in LyXText::dispatch.
3906 * text3.C (doInsertInset): remove a level of nesting.
3908 2003-12-11 Angus Leeming <leeming@lyx.org>
3910 * factory.C (createInset): changes due to the changed interface to
3911 InsetCommandMailer::string2params.
3913 2003-12-10 Angus Leeming <leeming@lyx.org>
3915 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3916 'dialog-show-new-inset <inset name>'
3918 2003-12-10 Angus Leeming <leeming@lyx.org>
3920 * buffer.C: up the format to 227.
3922 * factory.C: the box inset is now identified simply by 'Box'.
3924 2003-12-10 Angus Leeming <leeming@lyx.org>
3926 * buffer.C: up the format to 226.
3928 * factory.C: the note inset is now identified simply by 'Note'.
3930 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3932 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3933 when a pit is enough. Standarize a couple of loops.
3935 2003-12-05 Angus Leeming <leeming@lyx.org>
3937 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3938 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3939 data to the re-worked "log" dialog.
3941 2003-12-03 André Pönitz <poenitz@gmx.net>
3947 * paragraph_funcs.C:
3949 * text2.C: use Inset::getText instead of Inset::getParagraph
3951 2003-12-03 André Pönitz <poenitz@gmx.net>
3955 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3956 InsetText::read() as LyXText::read()
3958 2003-12-02 Angus Leeming <leeming@lyx.org>
3960 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3961 type. Add a comment in the implementation that the function uses
3962 the stream's bad() function rather than fail() as the std::streams
3965 2003-12-02 André Pönitz <poenitz@gmx.net>
3967 * lyxlex.[Ch]: make interface more similar to std::stream
3969 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3971 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3973 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3975 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3977 * vspace.[Ch]: remove VSpace::NONE
3979 2003-12-01 André Pönitz <poenitz@gmx.net>
3982 * lyxtext.h: move ParagraphList member to LyXText
3983 rename LyXText::ownerParagraphs to LyXText::paragraph
3986 * bufferview_funcs.C:
3996 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3998 * undo.C: fix cursor positioning
4000 2003-12-01 John Levon <levon@movementarian.org>
4002 * BufferView_pimpl.C: fix a crash on exit with
4005 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4007 * BranchList.C: fix setSelected() method.
4009 2003-11-28 André Pönitz <poenitz@gmx.net>
4011 * ParagraphParameters.[Ch]:
4012 * ParameterStruct.h: remove space above/below from Paragraph to
4015 * BufferView_pimpl.C:
4021 * paragraph_funcs.C:
4027 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4029 * factory.C: Syntax change for CharStyles
4031 2003-11-28 André Pönitz <poenitz@gmx.net>
4036 * buffer.[Ch]: move LyXText member
4038 2003-11-28 André Pönitz <poenitz@gmx.net>
4040 * BufferView.[Ch]: make LyXText * text a private member
4042 * BufferView_pimpl.C:
4053 * output_plaintext.C: cleanup
4055 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4058 * lyxtextclass.[Ch]: parametrize SGML document header
4060 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4063 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4066 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4068 * text2.C (setFont): rework using PosIterator (no more recursive)
4069 (setCharFont): no more needed
4070 (setLayout): no more selection cursors fiddling (done by redoCursor)
4071 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4072 destroy remaining ones)
4074 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4076 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4078 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4081 * text3.C: adjust + re-allow multi par depth changes
4082 * textcursor.C: simplify a bit
4084 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4090 * src/output_docbook.C:
4091 * src/output_latex.C:
4096 * src/text2.C: Introducing a number of tags parametrizing various
4097 XML formats that we may want to support
4099 2003-11-25 André Pönitz <poenitz@gmx.net>
4101 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4103 * lyxtext.h (leftMargin/rightMargin): simplify interface
4110 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4112 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4113 master file to any child files. Fixes bug 546.
4115 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4117 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4119 2003-11-24 André Pönitz <poenitz@gmx.net>
4121 * rowpainter.C: simplification
4123 * text2.C (updateCounters): remove call to redoParagraph on
4124 changed labels as this is far too expensive.
4126 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4128 * converter.C (convert): fix a crash: this function gets
4129 called with buffer == 0 from importer code.
4131 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4133 * text3.C (cursorPrevious): make sure that we do not compare
4134 iterators form different containers.
4137 * rowpainter.C (paintSelection): make sure that we do not compare
4138 iterators from different containers.
4140 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4141 iterators from different ParagraphList containers.
4144 * text2.C (LyXText): change order of initialization slightly
4145 (operator=): new function. copy all variables except cache_par_
4146 (moveUp): make sure that we do not compare iterators from
4147 different ParagraphList constainers.
4150 * text.C (firstPar): new function
4151 (lastPar): new function
4152 (endPar): new function
4154 * lyxtext.h: move things around and group public functions, public
4155 variables, private functions, private variables
4157 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4159 * factory.C: change call to InsetERT constructor to avoid
4160 additional invocation of method status
4161 * text2.C (toggleInset): remove redundant update() call
4162 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4163 instead of a Bufferview pointer
4165 2003-11-21 André Pönitz <poenitz@gmx.net>
4167 * rowpainter.C: simplification
4169 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4171 * text3.C (dispatch): make possible to extend a word/row selection
4174 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4176 * lyxtext.h: x0_,y0_ -> xo_,yo_
4177 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4178 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4179 * rowpainter.C (paintRows): paint full paragraphs
4181 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4183 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4186 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4188 * lyxtext.h: add x0_, y0_
4189 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4190 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4192 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4194 * text2.C (setCursorIntern): move the x_target update here *
4195 * text3.C: change some bv() to true/false in calls to
4196 cursorUp/Down/Right/Left
4197 * cursor.C: use helper function.
4199 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4201 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4202 * paragraph_funcs.[Ch]: correct comment
4203 * rowpainter.C: do not paint selections away from bv->cursor()
4204 Fix a long standing selection painting bug.
4205 * text3.C: generalize mouse-selection code to LyXTexts other that
4207 * textcursor.C: do not use y coords if we can use par offsets
4209 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4211 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4212 cursor position after e.g. inset insert)
4214 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4216 * lyxfind.C (replace): adjust to locking removal + some
4219 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4221 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4224 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4227 * output_docbook.C: XML sanitation: new layout
4228 parameters InnerTag and CommandDepth
4230 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4232 * BufferView_pimpl.C:
4234 * text3.C: Fix the insertion and modification of button-style
4237 2003-11-13 André Pönitz <poenitz@gmx.net>
4239 * InsetList.[Ch]: remove deleteLyXText
4241 * paragraph.[Ch]: cache beginOfBody position
4246 * text3.C: remove superfluous update() calls
4250 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4252 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4253 * BufferView.C (fitLockedInsetCursor): remove
4254 * cursor.[Ch] (getDim): add
4255 * text.C (getRowNearY): add faster version
4256 * text3.C: remove some update calls
4258 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4270 * text3.C: The Character Style /XML short element patch.
4272 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4275 * factory.C: Small step to solving 'unable to insert some insets'
4278 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4280 * cursor.[Ch] (updatePos): new function for updating the y
4281 position of the tip inset
4282 * bufferview_funcs.C (put_selection_at):
4283 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4285 2003-11-11 André Pönitz <poenitz@gmx.net>
4287 * text.C: remove big comment on invalid Paragraph pointers as it is
4290 2003-11-11 André Pönitz <poenitz@gmx.net>
4292 * text_funcs.[Ch]: merge with ...
4300 * Makefile.am: remove text_funcs.[Ch]
4302 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4304 * cursor.C (getPos): return absolute cached y coord
4306 * BufferView_pimpl.C (fitCursor): new simplistic code
4307 (workAreaDispatch): add a fitCursor call
4309 2003-11-10 André Pönitz <poenitz@gmx.net>
4312 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4314 2003-11-10 André Pönitz <poenitz@gmx.net>
4316 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4317 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4318 indicate that the cursor needs to leave an inset
4320 * lyxtext.h: remove inset locking
4322 * cursor.[Ch]: re-implement functionality provided by inset locking
4325 * BufferView_pimpl.[Ch]:
4327 * bufferview_funcs.[Ch]:
4339 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4341 * PosIterator.[Ch]: replace the stack with a vector, add inset
4343 * iterators.[C]: adjust
4345 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4347 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4349 * paragraph_funcs.C (readParToken): put the correct id in the
4350 error item, not the id of the top paragraph
4352 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4354 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4355 * bufferview_funcs.C (put_selection_at): use the above
4357 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4359 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4361 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4363 * output_linuxdoc.h:
4364 * output_plaintext.h:
4366 * output_docbook.h: add #include statements
4368 2003-11-05 José Matos <jamatos@lyx.org>
4370 * output_docbook.[Ch]:
4371 * output_latex.[Ch]:
4372 * output_linuxdoc.[Ch]:
4373 * output_plaintext.[Ch]: New files for output formats.
4374 * output.[Ch]: New file for helper functions.
4377 * paragraph_funcs.[Ch]: output functions moved to new files.
4379 * outputparams.h: rename of latexrunparams.h
4387 * paragraph_funcs.[Ch]:
4388 * paragraph_pimpl.[Ch]:
4389 * tabular.[Ch]: rename ascii to plaintext
4390 and LatexRunParams to OutputParams.
4392 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4394 * iterators.[Ch] (text): require bv argument
4395 * undo.C (recordUndo):
4396 * lyxfunc.C (dispatch):
4397 * bufferview_funcs.C (put_selection_at): adjust
4399 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4401 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4403 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4405 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4408 2003-11-04 André Pönitz <poenitz@gmx.net>
4410 * cursor.[Ch]: restructure
4413 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4415 * iterators.[Ch] (asCursor): remove
4417 * lfuns.h: remove LFUN_INSET_EDIT
4423 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4425 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4427 * lyxfind.[Ch]: complete overhaul
4428 * BufferView_pimpl.C:
4430 * paragraph.[Ch] (insert): add
4432 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4436 * text.C: remove dead spellcheck code
4438 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4440 * dispatchresult.h: add a val setter
4442 * cursor.C (dispatch): use a tempvar for data_[i]
4444 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4446 * PosIterator.[Ch]: compile fix
4448 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4450 * text.C (cursorPar): deactivate the cursor cache
4452 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4454 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4456 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4458 * text3.C (dispatch): adjust for new DisptchResult semantics.
4460 * lyxfunc.C (dispatch): handle update when return from
4461 Cursor::dispatch, adjust for new DispatchResult semantics.
4463 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4464 DispatchResult(true) mean to not update. Add class functions for
4465 setting dispatched and update, as well as reading.
4467 * cursor.C (dispatch): don't handle update here
4469 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4471 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4472 * trans_mgr.C: adjust
4474 * paragraph_funcs.C (readParToken): exception safety
4476 * lyxvc.h: store the vcs pointer in a scoped_ptr
4479 * lyxsocket.C (serverCallback): exception safety
4481 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4483 * ispell.C (clone): make it return a auto_ptr
4485 * factory.C (createInset): exception safety
4486 (readInset): exception safety
4488 * bufferlist.C (newBuffer): exception safety
4490 * Thesaurus.C (Thesaurus): use initialization for aik_
4492 * MenuBackend.C (expandToc): exception safety.
4494 2003-11-03 André Pönitz <poenitz@gmx.net>
4498 * bufferview_funcs.C: remove getInsetFromId()
4501 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4507 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4509 * PosIterator.C (distance, advance): new
4510 * bufferview_funcs.[Ch] (put_selection_at): new
4511 * iterators.[Ch] (lockPath): new
4513 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4515 * iterators.[Ch] (asPosIterator): added
4516 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4517 * PosIterator.[Ch]: added
4519 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4523 * cursor.C (dispatch):
4524 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4526 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4527 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4528 contructor, add a class function dispatched. Remove operator>=
4530 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4532 * debug.C: only use the default constructor for debugstream
4535 * main.C (main): include debug.h and setup the lyxerr streambuf
4538 2003-10-31 José Matos <jamatos@lyx.org>
4540 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4542 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4543 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4544 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4545 * paragraph_pimpl.C (simpleTeXSpecialC):
4546 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4547 add LatexRunParams argument.
4549 * exporter.C (Export): change call accordingly.
4551 * latexrunparams.h: add new member to take care of the other backends.
4552 2003-10-30 José Matos <jamatos@lyx.org>
4554 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4555 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4556 factorise code for paragraph output.
4558 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4561 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4563 * text3.C (dispatch):
4564 * lyxfunc.C (dispatch):
4565 * cursor.C (dispatch):
4566 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4568 * dispatchresult.h: make the dispatch_result_t ctor explicit
4570 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4573 * buffer.C: small refactoring of docbook stuff
4575 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4577 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4580 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4582 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4583 operator dispatch_result_t, and operators for == != and >=
4585 * cursor.C (dispatch): adjust for operator dispatch_result_t
4586 removal. comment out call to update
4588 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4590 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4598 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4601 * dispatchresult.h: new file, DispatchResult broken out of
4604 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4606 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4608 * text.C (rowBreakPoint): put a hack inside #if 0
4610 2003-10-28 André Pönitz <poenitz@gmx.net>
4614 * paragraph_funcs.C:
4617 * text2.C: general cleanup (lots of small stuff)
4619 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4621 * text2.C (cursorEnd): simple fix to the "end key goes to one
4622 before the end on last row" bug
4624 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4626 * text.C (backspace): fix the "zombie characters"
4628 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4630 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4632 2003-10-27 André Pönitz <poenitz@gmx.net>
4634 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4636 * factory.C: handle new InsetPagebreak, InsetLine
4638 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4639 and move handling into new InsetPagebreak, InsetLine
4641 * BufferView_pimpl.C:
4643 * ParagraphParameters.C:
4644 * ParameterStruct.h:
4649 * paragraph_funcs.C:
4650 * paragraph_pimpl.C:
4656 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4659 * lyxrow_funcs.[Ch]:
4665 * text3.C: remove lastPos uses in favour of Row::endpos
4667 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4669 * undo.C (performUndoOrRedo): fix two crashes by setting a
4670 cursor by hand and reordering some calls. Use bv->lockInset instead
4671 of inset->edit because the latter loses cursor information
4673 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4675 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4677 (rowBreakPoint): fix width. change point to point + 1.
4678 Add a missing check.
4680 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4683 * lyxfunc.C: fix (at least partly) the problems
4684 with the Nav menu and headers inside branch insets
4687 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4689 * paragraph.C (getChar): add strong asserts
4691 * lyxrow_funcs.C (lastPos): remove hideous hack
4693 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4694 (fill): adjust to that (avoid an infinite loop)
4696 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4698 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4700 2003-10-23 André Pönitz <poenitz@gmx.net>
4702 * RowList_fwd.h: change list<> to vector<> to gain speed
4703 after suggestion from Alfredo
4705 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4707 * lyxtext.h: move the bidi stuff from here...
4710 * Bidi.[Ch]: ... to here
4712 2003-10-23 André Pönitz <poenitz@gmx.net>
4715 * text.C (isLastRow, isFirstRow): new functions
4717 * paragraph.h: new width cache member
4719 * rowpainter.C: replace RowList::iterator with Row & where possible
4721 * lyxfunc.C: replace several view()->text with a single call
4723 * toc.C: fix 'unused' warning
4725 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4727 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4728 when woring with stream::pos_type
4729 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4731 2003-10-22 André Pönitz <poenitz@gmx.net>
4734 * text.C: use Row & instead of RowList::iterator
4736 * lyxrow.h: rename end() to endpos()
4742 2003-10-22 Angus Leeming <leeming@lyx.org>
4744 * buffer.[Ch] (fully_loaded): new member function, returning true
4745 only when the file has been loaded fully.
4746 Used to prevent the premature generation of previews and by the
4747 citation inset to prevent computation of the natbib-style label.
4749 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4750 templates are all set up.
4752 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4754 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4756 * text.C: fixed an "oops" in the "is a bit silly"
4759 2003-10-21 André Pönitz <poenitz@gmx.net>
4761 * FuncStatus.[Ch]: small stuff, whitespace
4763 * lyxfont.[Ch]: operator<<() for debug reasons
4767 * lyxtext.h: whitespace, spelling
4769 * paragraph.C: naming of variables
4772 * text2.C: small stuff
4775 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4777 * text.C: (1) finish off the inset display() work;
4778 (2) fix the "is a bit silly" bug (accessing char
4781 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4783 * text.C: re-introduce display() for insets, fixing the
4784 various bugs (stretch of line above, math inset
4787 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4789 * text.C (rightMargin): remove spurious semicolon
4791 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4794 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4796 * text3.C: fix one crash due to wrong cursor def
4798 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4800 * vc-backend.C (scanMaster): make the regex static
4802 * LaTeX.C (scanAuxFile): make the regexs static
4804 * text3.C (doInsertInset, dispatch, dispatch):
4805 * text2.C (cursorUp, cursorDown):
4806 * text.C (selectNextWordToSpellcheck):
4807 * BufferView_pimpl.C (dispatch):
4808 * lyxfunc.C (dispatch): localDispatch -> dispatch
4810 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4812 * lyxsocket.C: include <cerrno>
4814 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4816 * lyxfunc.C (dispatch): remove textcache stuff
4818 * bufferlist.C (release): remove textcache stuff
4821 * TextCache.C: delete file
4822 * TextCache.h: delete file
4824 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4826 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4827 delete of the bv_->text.
4828 (resizeCurrentBuffer): remove texcache stuff
4829 (workAreaResize): ditto
4831 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4833 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4836 2003-10-16 André Pönitz <poenitz@gmx.net>
4843 * text3.C: speed up by storing y positions per paragraph plus per-row
4844 offset instead of having a 'full' y position in the row.
4846 2003-10-15 André Pönitz <poenitz@gmx.net>
4850 * undo.[Ch]: make undo aware of inner insets
4852 2003-10-14 Angus Leeming <leeming@lyx.org>
4854 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4855 static member functions LyX::ref() and LyX::cref.
4856 (lastfiles): new accessor functions for the new lastfiles_ member var.
4857 (addLyXView, views_): add a new LyXView to the list of views_.
4858 (updateInset): loop over all LyXViews to call their own updateInset
4859 member function, returning a pointer to the Buffer owning the inset.
4861 * BufferView_pimpl.C (loadLyXFile):
4862 * MenuBackend.C (expandLastfiles):
4863 * bufferlist.C (MenuWrite, QuitLyX):
4864 lastfiles is no longer a global variable.
4865 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4867 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4868 static function. Access through LyX::cref().emergencyCleanup().
4870 2003-10-14 André Pönitz <poenitz@gmx.net>
4872 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4874 * undo.[Ch]: restoring part of 'undo in insets'
4877 * undo_funcs.[Ch]: merge with undo.[Ch]
4879 * tabular.C: small cleansing stuff
4881 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4883 * paragraph_funcs.C (readParToken): report unknown insets as error
4884 boxes. Use the outer paragraph as location (also for unknown
4887 * factory.C (readInset): do not abort on reading an unknown inset.
4888 Eat it and return 0.
4890 2003-10-13 Angus Leeming <leeming@lyx.org>
4892 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4894 * lyxrc.C: displayTranslator is now a function,
4895 declared in GraphicsTypes.h.
4897 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4899 * format.C: new placeholder $$a to pass the socket address.
4901 * bufferlist.[Ch]: new function getBufferFromTmp.
4903 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4904 files in the temporary dir.
4906 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4908 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4910 * Makefile.am: add lyxsocket.[Ch].
4912 * lyx_main.C (error_handler): handle SIGPIPE.
4914 2003-10-13 André Pönitz <poenitz@gmx.net>
4916 * BufferView_pimpl.C:
4921 * undo_funcs.[Ch]: use paroffset_type instead of
4922 ParagraphList::iterators to prevent multiple conversion
4923 (and get a more robust interface)
4925 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4927 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4929 * text3.C (dispatch): ditto
4931 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4933 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4934 move the onlyfile, use onlyfile instead of foundfile in a couple
4937 * DepTable.C (update): flush the error stream a bit more
4939 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4941 * lyxserver.C (callback): adjust
4943 * lyxfunc.C (getStatus): add a missing brace in commented code
4944 (ensureBufferClean): reindent
4945 (dispatch): delete version taking a string
4947 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4949 * LaTeX.C (deplog): move found file handlig from here...
4950 (handleFoundFile): .. to new function here.
4951 (deplog): make sure to discover several files mentioned on the
4954 2003-10-10 André Pönitz <poenitz@gmx.net>
4961 * text3.C: fix some of the tabular crashes
4963 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4965 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4967 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4969 2003-10-09 André Pönitz <poenitz@gmx.net>
4971 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4974 * BufferView_pimpl.C:
4975 * bufferview_funcs.C:
4986 * undo_funcs.C: adjust
4988 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4990 * text2.C (incrementItemDepth): new function, use a backtracking
4991 algorithm to discover the correct item depth.
4992 (resetEnumCounterIfNeeded): new function, use a backtracking
4993 algorithm to discover if counter reset is needed.
4994 (setCounter): use them. Simplify a bit. Add different labels for
4995 different item depths for itemize.
4997 * paragraph.C (Paragraph): remove initialization of enumdepth
5000 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5001 enumerate and itemize. Change the type of itemdepth to signed char.
5003 2003-10-08 André Pönitz <poenitz@gmx.net>
5005 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5010 * tabular.[Ch]: fix crash after 'row-insert'
5012 2003-10-08 Angus Leeming <leeming@lyx.org>
5014 Fix doxygen warnings.
5016 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5017 Remove CutAndPaste:: prefix from header file declaration.
5019 * LColor.h (fill): remove LColor:: prefix from declaration.
5021 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5022 use lyx::depth_type rather than Paragraph::depth_type so that
5023 header file and .C file match.
5025 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5027 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5028 * aspell.C: \file aspell_local.C -> \file aspell.C
5029 * gettext.C: \file gettext.C -> \file src/gettext.C
5030 * gettext.h: \file gettext.h -> \file src/gettext.h
5031 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5032 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5033 * text.C: \file text.C -> \file src/text.C
5035 * toc.C: move comment so that doxygen is not confused.
5037 2003-10-07 Angus Leeming <leeming@lyx.org>
5039 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5041 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5044 * aspell_local.h: add forgotten std::string's.
5046 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5053 * text3.C: The Box patch. Fancybox support, minipage, parbox
5055 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5061 * ParagraphParameters.h:
5071 * lyxtextclasslist.h:
5074 * paragraph_pimpl.C:
5075 * textcursor.h: add <string> and other small fixes to make Lars'
5076 std::string patch compile with STLport.
5078 2003-10-06 Angus Leeming <leeming@lyx.org>
5080 * LColor.h: Add missing #include <string>.
5082 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5084 * All most all file in all subdirs: Make <string> be the prefered
5085 way of getting to std::string, add using declarations.
5087 2003-10-06 André Pönitz <poenitz@gmx.net>
5089 * metricsinfo.C: initialize LyXFont before changing attribute.
5090 (fixes the 'math in \emph is upright' bug)
5092 2003-10-06 André Pönitz <poenitz@gmx.net>
5094 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5096 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5099 * paragraph_pimpl.C: Small fixes to build using STLport
5101 2003-10-02 André Pönitz <poenitz@gmx.net>
5104 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5106 2003-10-01 André Pönitz <poenitz@gmx.net>
5108 * factory.C: assert early
5110 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5112 * lyx_main.C: remove the global debug object
5114 * debug.h: adjust for new debugstream
5116 * debug.C: adjust for new debugstream and keep the global debug
5119 2003-09-22 Angus Leeming <leeming@lyx.org>
5121 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5122 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5123 an incomplete class LyXFont.
5125 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5127 * factory.C: bug fix in branches
5129 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5131 * lyxfunc.C (processKeySym): adjust
5133 (dispatch): change arg name from ev to func, adjust
5134 (sendDispatchMessage): ditto
5136 * lyx_main.C (defaultKeyBindings): adjust keybindings
5137 (deadKeyBindings): ditto
5139 * kbsequence.C (addkey): return a FuncRequest
5141 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5143 * kbmap.C (bind): take a FuncRequest as arg, adjust
5146 (defkey): change to take a FuncRequest as arg, adjust
5147 (findbinding): take a FuncRequest as arg, adjust.
5149 * funcrequest.h (operator=): added
5151 * funcrequest.C (FuncRequest): default kb_action changed from
5152 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5154 * buffer.C (dispatch): simplify
5155 (dispatch): adjust to take a FuncRequest as arg, adjust
5157 * boost.C (assertion_failed): change assertion message slightly
5159 * ToolbarBackend.C (read): simplify
5161 * MenuBackend.C (binding): adjust call to findbinding, add a
5162 message if no binding is found.
5164 (expandToc): correct by adding a empty FuncRequest
5166 * LyXAction.C: include <boost/assert.hpp>
5167 (isPseudoAction): delete function
5168 (LookupFunc): change name to...
5169 (lookupFunc): this. change return type to FuncRequest.
5170 (getActionName): take kb_action as arg, simplify
5171 (funcHasFlag): add an assert, simplify.
5173 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5175 * toc.C (action): return a FuncRequest, simplify
5177 * lyxfunc.C (processKeySym): adjust
5178 (getStatus): delete version that takes an int.
5180 (dispatch): delete version that takes action as int
5182 (sendDispatchMessage): simplify and adjust
5184 * funcrequest.C (getArg): take unsigned int as arg
5186 * ToolbarBackend.C (read): adjust
5187 (add): delete version that takes func as a string.
5188 (getIton): take a FuncRequest as arg
5190 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5193 * MenuBackend.C (MenuItem): add a new construct that only takes a
5194 Kind, simplify the constructor use for submenus.
5196 (expandLastfiles): adjust
5197 (expandDocuments): adjust
5198 (expandFormats): adjust
5199 (expandFloatListInsert): adjust
5200 (expandFloatInsert): adjust
5201 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5203 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5204 Remove class variables lyx_pseudo_map and lyx_arg_map
5206 * LyXAction.C (searchActionArg): delete function
5207 (getPseudoAction): delete function
5208 (retrieveActionArg): delete function
5209 (LookupFunc): make it return kb_action, simplify.
5210 (getActionName): simplify
5212 * factory.C (createInset): fix new bug
5214 2003-09-19 Angus Leeming <leeming@lyx.org>
5216 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5217 masterFilename_ parameter in the include inset.
5219 * factory.C (createInset): changes due to the changes to InsetInclude.
5221 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5223 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5225 2003-09-18 Angus Leeming <leeming@lyx.org>
5228 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5229 Inset::fillWithBibKeys.
5230 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5232 2003-09-18 Angus Leeming <leeming@lyx.org>
5234 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5236 (ctor): pass and store a 'Buffer const &'
5237 (buffer): new member function.
5239 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5240 '*this' to the LaTeXFeatures ctor.
5242 2003-09-18 Angus Leeming <leeming@lyx.org>
5248 * text.C: rename EnumLColor as LColor_color.
5250 2003-09-18 Angus Leeming <leeming@lyx.org>
5252 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5253 remove #include "insets/insetbase.h" from cursor.h.
5255 2003-09-18 Angus Leeming <leeming@lyx.org>
5257 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5258 InsetOld_code to remove #include "inset.h".
5260 * iterators.C: add #include "insets/inset.h"
5262 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5264 * BufferView.C: remove more locking stuff that apparently doesn't
5265 do anything sensible.
5267 2003-09-16 André Pönitz <poenitz@gmx.net>
5270 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5273 2003-09-16 Angus Leeming <leeming@lyx.org>
5275 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5277 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5280 * paragraph.h: remove #include "lyxfont.h". Forward declare
5283 2003-09-16 Angus Leeming <leeming@lyx.org>
5285 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5286 of support/textutils.h.
5287 (isWord): move the contents of support/textutils.h's IsWordChar here.
5293 * text2.C: add #include "paragraph.h".
5296 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5298 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5304 * LaTeX.C: use namespace alias for lyx::support::os
5306 2003-09-16 Angus Leeming <leeming@lyx.org>
5309 * bufferview_funcs.C:
5312 * paragraph_pimpl.C:
5314 * text.C: add #include "LColor.h".
5316 2003-09-16 Angus Leeming <leeming@lyx.org>
5318 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5319 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5321 Store the FontBits::color variable as an int rather than as an
5322 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5325 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5326 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5327 string calls together.
5329 * lyxrc.C: add #include "LColor.h".
5331 2003-09-15 Angus Leeming <leeming@lyx.org>
5333 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5336 2003-09-15 Angus Leeming <leeming@lyx.org>
5338 * LColor.h: add an EnumLColor wrapper for LColor::color.
5340 * lyxfont.[Ch] (color, setColor, realColor):
5341 * lyxtext.h, text.C (backgroundColor):
5342 pass EnumLColor args to/from the functions, rather than LColor::color
5346 * lyxtext.h: forward declare EnumLColor.
5348 * lyx_main.C: add #include "LColor.h".
5350 2003-09-15 Angus Leeming <leeming@lyx.org>
5352 * .cvsignore: add lyx-gtk.
5354 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5359 * ParagraphParameters.C
5363 * bufferview_funcs.C
5373 * vc-backend.C: remove usage of STRCONV
5375 2003-09-15 Angus Leeming <leeming@lyx.org>
5377 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5378 explicitly define the color passed to the painter.
5380 2003-09-15 Angus Leeming <leeming@lyx.org>
5382 * bufferparams.C (BufferParams): reorder member initializers to avoid
5385 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5387 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5388 * text.C (updateRowPositions): remove an unusual nop
5390 2003-09-12 André Pönitz <poenitz@gmx.net>
5392 * BufferView_pimpl.C:
5401 * Counters.[Ch]: finish the 'automatic counters' job
5403 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5405 * aspell.C: include <boost/assert.cpp> (compile fix)
5407 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5409 * boost.C (assertion_failed): use lyx::support::abort instead of
5412 2003-09-10 Angus Leeming <leeming@lyx.org>
5414 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5415 with their _fwd progeny.
5417 2003-09-09 Angus Leeming <leeming@lyx.org>
5419 134 files throughtout the source tree: replace 'using namespace abc;'
5420 directives with the appropriate 'using abc::xyz;' declarations.
5422 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5424 * boost.C (emergencyCleanup): moved here from LAssert.c
5425 (assertion_failed): new function, called by BOOST_ASSERT
5427 * several files: change Assert to BOOST_ASSERT
5429 2003-09-09 Angus Leeming <leeming@lyx.org>
5431 * buffer.[Ch]: Add an Impl class and move Buffer's member
5432 variables into it. As a result move several header files out of
5435 Add header files to lots of .C files all over the tree as a result.
5437 2003-09-09 Angus Leeming <leeming@lyx.org>
5439 * buffer.[Ch]: make Buffer's member variables private. Add
5442 Lots of changes all over the tree as a result.
5444 2003-09-08 Angus Leeming <leeming@lyx.org>
5446 * graph.C: #include <config.h>.
5448 2003-09-08 Angus Leeming <leeming@lyx.org>
5452 * BufferView_pimpl.C:
5481 * toc.C: remove redundant using directives.
5483 2003-09-07 Angus Leeming <leeming@lyx.org>
5485 * LaTeXFeatures.h: remove #include "support/types.h".
5486 * ToolbarBackend.h: remove #include <algorithm>.
5487 * changes.h: remove #include <ctime>.
5488 * debug.h: remove #include <iosfwd>.
5489 * graph.h: remove #include "support/std_string.h".
5490 * lyx_main.h: remove #include <csignal>.
5491 * lyxlex_pimpl.h: remove #include <fstream>.
5492 * sgml.h: remove #include <algorithm>, <utility>.
5493 * toc.h: remove #include "support/std_ostream.h".
5494 Add #include <iosfwd>.
5496 2003-09-07 Angus Leeming <leeming@lyx.org>
5498 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5500 * converter.h: forward declare LatexRunParams.
5501 * encoding.h: remove #include "lyxrc.h".
5502 * lyxtext.h: remove #include "LColor.h".
5503 * lyxtextclass.h: remove #include "support/types.h".
5504 * trans.h: remove #include "tex-accent.h".
5505 * trans_mgr.h: remove #include "tex-accent.h".
5506 * insets/inset.h: remove #include "support/types.h", <vector>.
5507 * insets/insetcollapsable.h: remove #include "LColor.h".
5508 * insets/insetinclude.h: remove #include "dimension.h".
5509 * insets/insetlatexaccent.h: remove #include "dimension.h".
5510 * insets/insetoptarg.h:: remove #include "insettext.h".
5511 * insets/insettext.h: remove #include "dimension.h",
5512 <boost/shared_ptr.hpp>
5514 * insets/renderers.h: add #include "dimension.h".
5515 * insets/updatableinset.h: add #include "support/types.h".
5517 * many .C files: Associated changes.
5519 2003-09-06 Angus Leeming <leeming@lyx.org>
5521 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5522 one, inside testInvariant.
5524 * PrinterParams.C: new file.
5525 * PrinterParams.[Ch]: move the function bodies out of line.
5527 2003-09-06 Angus Leeming <leeming@lyx.org>
5529 * ParagraphParameters.h: forward declare ParameterStruct rather than
5530 including its header file.
5531 (depth): moved out-of-line.
5533 2003-09-06 Angus Leeming <leeming@lyx.org>
5535 * BufferView_pimpl.h:
5538 * lyxfunc.h: forward declare LyXKeySym rather than
5539 #include "frontends/LyXKeySym.h".
5541 * BufferView_pimpl.C:
5544 * lyxfunc.C: associated changes.
5546 2003-09-06 Angus Leeming <leeming@lyx.org>
5548 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5549 As a result, can remove the #include "insets/inset.h" from BufferView.h
5551 2003-09-06 Angus Leeming <leeming@lyx.org>
5553 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5554 As a result, can remove the #include "insets/inset.h" from BufferView.h
5556 2003-09-06 Angus Leeming <leeming@lyx.org>
5562 * bufferview_funcs.C:
5563 * BufferView_pimpl.C:
5568 * ParagraphParameters.C:
5573 * frontends/controllers/ControlDocument.C:
5574 * insets/insetcaption.C: rearrange the #includes into some sort of
5577 * buffer.h: remove #includes ErrorList.h, undo.h
5579 2003-09-06 Angus Leeming <leeming@lyx.org>
5581 * support/types.h: add a 'depth_type' typedef, used to store the
5582 nesting depth of a paragraph.
5585 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5586 defining explicitly.
5589 * paragraph_funcs.h:
5590 * ParagraphParameters.h:
5591 * sgml.h: use lyx::depth_type rather than Paragraph or
5592 ParameterStruct's depth_type.
5595 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5598 * BufferView_pimpl.C:
5600 * ParagraphParameters.C:
5603 * bufferview_funcs.C:
5610 * frontends/LyXView.C:
5611 * frontends/controllers/ControlDocument.C:
5612 * frontends/controllers/ControlErrorList.C:
5613 * insets/insetbibitem.C:
5614 * insets/insetbranch.C:
5615 * insets/insetcaption.C:
5616 * insets/insetcollapsable.C:
5617 * insets/insetenv.C:
5618 * insets/insetert.C:
5619 * insets/insetfloat.C:
5620 * insets/insetfoot.C:
5621 * insets/insetfootlike.C:
5622 * insets/insetnewline.C:
5623 * insets/insetquotes.C:
5624 * insets/insettabular.C:
5625 * insets/insettext.C:
5626 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5628 * frontends/controllers/ControlChanges.C: #include "changes.h".
5630 2003-09-06 Angus Leeming <leeming@lyx.org>
5632 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5633 than #including paragraph.h.
5636 * RowList.h: deleted. Superfluous.
5646 * insets/insettext.h: use ParagraphList_fwd.h rather than
5649 * paragraph.h: don't forward declare ParagraphList.
5652 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5653 rather than ParagraphList.h. paragraph.h is still needed for the
5654 Paragraph::depth_type parameters.
5656 * textcursor.h: enable it to compile stand-alone in light of the
5659 * bufferview_funcs.C:
5671 * frontends/controllers/ControlParagraph.C:
5672 * frontends/controllers/ControlTabular.C:
5673 * insets/insetmarginal.C:
5674 * insets/insetminipage.C:
5675 * insets/insetnote.C:
5676 * insets/insetoptarg.C: add header files needed to compile again.
5678 2003-09-06 Angus Leeming <leeming@lyx.org>
5680 * RowList_fwd.h: new file, forward-declaring Row rather than
5681 #including lyxrow.h.
5686 * insets/insettext.h: use it instead of RowList.h
5688 * bufferview_funcs.C:
5695 * text3.C: #include "RowList.h".
5697 2003-09-05 Angus Leeming <leeming@lyx.org>
5699 * factory.C (createInset):
5700 * vspace.C (c-tor): replace sscanf call with an istringstream.
5701 * ispell.C: re-add missing HP/UX headers.
5702 * lyxserver.C: re-add missing os2 headers.
5704 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5713 * text3.C: re-add missing system headers, needed for 2.95.2.
5715 2003-09-05 Angus Leeming <leeming@lyx.org>
5717 Changes most place everywhere due to the removal of using directives
5718 from support/std_sstream.h.
5720 2003-09-05 Angus Leeming <leeming@lyx.org>
5722 Replace LString.h with support/std_string.h,
5723 Lsstream.h with support/std_sstream.h,
5724 support/LIstream.h with support/std_istream.h,
5725 support/LOstream.h with support/std_ostream.h.
5727 Changes resulting throughout the tree.
5729 2003-09-05 Angus Leeming <leeming@lyx.org>
5731 * sgml.h: ensure that the header file can be compiled stand-alone.
5732 * *.C: strip out redundant #includes. (320 in total.)
5734 2003-09-04 Angus Leeming <leeming@lyx.org>
5736 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5737 here (from getPackages).
5739 * debug.[Ch]: add a new EXTERNAL tag.
5741 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5743 * text2.C (cursorEnd): simplify
5745 (getColumnNearX): adjust
5747 * text.C (computeBidiTables): adjust
5750 * rowpainter.C (paintChars): adjust
5751 (paintSelection): adjust
5752 (paintChangeBar): adjust
5755 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5757 (numberOfSeparators): adjust
5759 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5765 * text3.C: Restricts the mouse click functionality
5766 of insets like bibtex, include, toc and floatlist to the visible
5767 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5768 up the dialogs. Cursor has to be in front of the inset (i.e.
5769 start of row) for this to function.
5771 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5773 * bufferview_funcs.C (currentState): output row information
5775 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5777 * bufferview_funcs.C (currentState): output paragraph position
5779 2003-09-04 Angus Leeming <leeming@lyx.org>
5781 * FloatList.h: move out #include "Floating.h".
5782 * LaTeX.h: move out #include "DepTable.h".
5783 * LyXAction.h: move out #include "funcrequest.h".
5784 * buffer.h: move out #include "author.h", "iterators.h".
5785 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5786 * lyx_main.h: move out #include "errorlist.h".
5787 * lyxfunc.h: move out #include "FuncStatus.h".
5788 * lyxtext: move out #include "lyxcursor.h".
5789 * paragraph_pimpl.h: move out #include "counters.h".
5791 2003-09-03 Angus Leeming <leeming@lyx.org>
5793 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5794 preamble_snippets list, enabling us to add snippets to the preamble
5795 only if the snippet was not there already.
5797 2003-09-04 Angus Leeming <leeming@lyx.org>
5799 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5801 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5803 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5806 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5808 * BranchList.C: point fix, earlier forgotten
5810 2003-09-02 Angus Leeming <leeming@lyx.org>
5812 * box.C (contains): renamed from 'contained' after a fantastic
5815 2003-09-02 John Levon <levon@movementarian.org>
5821 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5823 2003-09-02 John Levon <levon@movementarian.org>
5825 * text2.C: simplification of cursorEnd(), including partial
5828 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5830 * buffer.C (readFile): add a space
5832 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5834 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5836 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5838 * buffer.C (readFile): new function, take a filename and a
5839 ParagraphList::iterator
5841 (readFile): adjust, make it private. don't use setStream, make
5842 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5843 always contain the filename.
5845 * BufferView.C (insertLyXFile): simplify and make it work for
5848 2003-08-30 John Levon <levon@movementarian.org>
5850 * Makefile.am: fix dist (from Kayvan)
5852 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5854 * most files: change to use const Buffer refs
5856 2003-08-27 André Pönitz <poenitz@gmx.net>
5858 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5859 on top of ownerPar().
5861 2003-08-27 John Levon <levon@movementarian.org>
5863 * funcrequest.C: properly initialise POD members
5865 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5867 * lyxtext.h (top_y): move top_y from here
5872 * BufferView_pimpl.[Ch]: to here
5873 * frontends/screen.C:
5874 * insets/insettabular.C:
5875 * insets/insettext.C: adjust
5876 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5878 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5881 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5883 2003-08-26 André Pönitz <poenitz@gmx.net>
5885 * paragraph_func.[Ch] (outerPar): new function
5888 * paragraph_funcs.C:
5889 * paragraph_funcs.h:
5890 * paragraph_pimpl.C:
5891 * text2.C: remove Inset::par_owner
5893 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5898 * text2.C: eliminates the needFullRow/display() stuff
5899 altogether, putting the logic in metrics/draw in the insets.
5901 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5903 * text2.C (redoParagraphInternal, redoParagraphs):
5904 * text.C (redoParagraph): add a call to updateRowPositions at the
5905 end of each 'metrics-like' call. Remove all others.
5906 (getRow): remove the 'y-computing' version.
5907 (getRowNearY): do not compute nor return the real y. Solve the
5908 'y < 0' problem and simplify.
5910 2003-08-22 Angus Leeming <leeming@lyx.org>
5912 * *.[Ch]: clean-up of licence and author blurbs.
5913 Also move config.h out of a few .h files and into a few .C files.
5915 2003-08-22 André Pönitz <poenitz@gmx.net>
5917 * lyxrow.[Ch]: add x_ and *fill_ members
5922 * text2.C: adjust/remove prepareToPrint() calls
5924 2003-08-22 André Pönitz <poenitz@gmx.net>
5926 * lyxrow.[Ch]: add end_ member
5928 * lyxrow_funcs.C: use LyXRow::end_
5930 * lyxtext.h (singleWidth): add LyXFont parameter
5933 * text2.C: adjust LyXText::singleWidth() calls
5935 * text.C (redoParagraph): simplify row breaking logic
5938 2003-08-19 André Pönitz <poenitz@gmx.net>
5940 * funcrequest.C: initialize button_ member
5943 * rowpainter.[Ch]: interface consolidation
5945 2003-08-18 André Pönitz <poenitz@gmx.net>
5948 * BufferView_pimpl.C:
5950 * paragraph_funcs.C:
5952 * text3.C: remove LyXScreen::draw() and fitCursor calls
5954 * BranchList.h: remove spurious semicolons
5956 * MenuBackend.C: fix branchlist related crash
5958 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5966 * bufferparams.[Ch]:
5970 * text3.C: implements the 'branch inset'
5971 idea. This allows the output of various versions of a document
5972 from a single source version, selectively outputing or suppressing
5973 output of parts of the text.
5974 This implementation contains a 'branch list editor' in a separate
5975 tab of the document settings dialog. Branches are user definable
5976 and have a "display colour" to distinguish them on-screen.
5978 ColorHandler was somewhat cleaned up.
5979 (1) make possible a dynamically growing LColor list by allowing
5980 the graphic context cache to grow along (vector);
5981 (2) eliminate an IMHO unnecessary step in colour allocation.
5983 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5985 * BufferView_pimpl.C: compile fix
5987 2003-08-15 André Pönitz <poenitz@gmx.net>
5989 * rowpainter.C: remove extra metrics calls
5991 * lyxtext.h: merge the two constructors into a single one,
5992 pass reference to owner's par list
5994 * BufferView_pimpl.C:
5998 2003-08-15 André Pönitz <poenitz@gmx.net>
6000 * lyxrow_funcs.[Ch]:
6003 * paragraph_funcs.C:
6008 * text_funcs.C: split LyXText::rowlist_ into individual
6009 Paragraph::rows_ chunks
6012 * BufferView_pimpl.[Ch]:
6015 * text3.C: remove toggleSelection()
6017 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6019 * bufferlist.C: beautify two alerts (shorter text of buttons)
6020 * buffer.C: Remove redundant ' ' from message
6022 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6023 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6024 rename VALIGN_CENTER to VALIGN_MIDDLE
6026 2003-08-11 André Pönitz <poenitz@gmx.net>
6028 * lyxtext.h (getPar):
6029 * text.C: new function
6031 2003-08-11 André Pönitz <poenitz@gmx.net>
6034 * tracer.[Ch]: remove unneeded files
6036 * InsetList.[Ch]: remove resizeInsetsLyXText()
6041 * text3.C: merge insertParagraphs() and appendParagraph()
6042 remove breakAgain(), update()
6044 * BufferView_pimpl.[Ch]:
6045 * bufferview_funcs.[Ch]:
6049 * tabular.C: adjust after text & InsetList changes.
6051 2003-08-08 André Pönitz <poenitz@gmx.net>
6053 * text.C (insertChar, backspace): replace rowlist fiddling
6054 with rebreak of full par
6057 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6058 checkParagraph, updateInset): removed
6060 2003-08-07 André Pönitz <poenitz@gmx.net>
6063 * text3.C: merge some LFUN handlers, remove dead code
6065 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6067 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6069 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6071 * text2.C (DEPM): fix part of bug 1255 and 1256
6073 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6075 * BufferView_pimpl.C (workAreaDispatch): change to use
6076 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6077 that are no mouse related.
6079 2003-08-05 André Pönitz <poenitz@gmx.net>
6082 * BufferView_pimpl.[Ch]:
6083 * bufferview_funcs.C:
6085 * text3.C: rip out "deep update"
6087 * textcursor.[Ch] (last_sel_cursor): remove unused member
6089 2003-08-04 André Pönitz <poenitz@gmx.net>
6092 * BufferView_pimpl.[Ch]:
6093 * ParagraphParameters.C:
6094 * bufferview_funcs.C:
6100 * text3.C: replace "complicated" BufferView::update(...) calls with
6103 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6105 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6107 * Makefile.am (lyx_SOURCES): add paper.h
6109 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6111 * Makefile.am: move things around so that both lyx-qt and
6112 lyx-xforms can be built (according to --with-frontend). Then lyx
6113 is a symbolic link to lyx-[firstfrontend]
6115 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6117 * Always use std::endl with lyxerr
6119 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6121 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6123 2003-08-01 André Pönitz <poenitz@gmx.net>
6126 * BufferView_pimpl.[Ch]:
6128 * text3.C: merge BufferView::repaint() and BufferView::update()
6130 2003-08-01 José Matos <jamatos@lyx.org>
6132 * buffer.[Ch]: file_format is no longer a buffer data element.
6134 2003-08-01 André Pönitz <poenitz@gmx.net>
6139 * text2.C: make redoParagraph more independent of current cursor
6141 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6143 * text2.C: remove unneeded members
6145 2003-07-30 André Pönitz <poenitz@gmx.net>
6147 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6149 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6150 create a single function...
6152 * paragraph_funcs.C (moveItem): ... here.
6155 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6157 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6159 * LColor.[Ch]: Add comment and greyedout logical colors.
6161 2003-07-30 André Pönitz <poenitz@gmx.net>
6163 * tabular.C: don't use Assert too heavily. This crashes where it
6166 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6168 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6169 is disabled (bug 1232)
6171 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6173 * factory.C: limited 'arg' scope
6175 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6177 * factory.C: fixed Note submenu issues
6179 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6181 * factory.C: submenu for Note/Comment/Greyedout
6183 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6186 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6188 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6191 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6192 greyedout. Patch provided by Jürgen Spitzmüller.
6194 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6196 * kbmap.C (read): fix error message when reading bind files
6198 2003-07-29 Angus Leeming <leeming@lyx.org>
6200 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6201 certainly does not do what it purports to do. I am doing it, and
6202 us, a favour by killing it.
6204 2003-07-28 José Matos <jamatos@lyx.org>
6206 * buffer.C (readBody, do_writeFile):
6207 * paragraph.C(readParagraph): \end_document replaces \the_end.
6209 2003-07-29 André Pönitz <poenitz@gmx.net>
6212 * BufferView_pimpl.[Ch]:
6216 * textcursor.[Ch]: remove toggleToggle & Co
6218 2003-07-28 José Matos <jamatos@fep.up.pt>
6220 * buffer.C (readParagraph):
6221 * params_func (readParToken, readParagraph):
6222 * paragraph.C (write): \layout -> \begin_layout.
6224 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6226 * lyxlex_pimpl.C (setFile): clean up slightly.
6228 * bufferparams.h: add compressed var
6230 * buffer_funcs.C (readFile): adjust for LyXLex change
6231 (newFile): ditto + simplify
6233 * buffer.C (writeFile): handle writing of compressed files
6235 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6236 Check if the file is compressed and set a bufferparm if so.
6238 * Makefile.am (lyx_LDADD): remove explicit -lz
6240 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6242 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6243 makeDocBookFile): put the real LyX version in the first line of
6247 * version.C.in: remove lyx_docversion
6249 * tabular.C (write_attribute): add a template-based version to
6250 write enums properly
6252 2003-07-28 André Pönitz <poenitz@gmx.net>
6257 * text3.C: use doubles again for x-coordinates. They are needed.
6259 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6261 * messages.C (getLocaleDir): use lyx_localedir()
6263 * lyxlex_pimpl.C (setFile): compress stuff
6265 * buffer.C (writeFile): add some compression stuff
6266 (do_writeFile): new func, dont call expliti close... will this
6269 * Makefile.am (lyx_LDADD): add -lz
6271 2003-07-28 José Matos <jamatos@fep.up.pt>
6273 * buffer.C: increment file format.
6274 * paragraph_funcs (readParagraph, readParToken):
6275 * paragraph.C (readParagraph): add \end_layout.
6277 2003-07-27 Angus Leeming <leeming@lyx.org>
6279 * Makefile.am: remove special casing for configure-time setting of
6280 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6282 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6283 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6285 2003-07-26 André Pönitz <poenitz@gmx.net>
6287 * paragraph_func.[Ch]:
6288 * paragraph.C (realizeFont): inline it whereever it is used
6293 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6296 2003-07-26 André Pönitz <poenitz@gmx.net>
6300 * text2.C: get rid of LyXText::need_break_row
6302 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6304 * toc.[Ch]: put namespace toc inside namespace lyx
6306 * MenuBackend.C (expandToc2): adjust for lyx::toc
6309 * lyxfunc.C (dispatch): adjust for lyx::find
6311 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6312 lyx::find instead. Reorganize a bit.
6313 (LyXReplace): rename to replace
6314 (LyXFind): rename to find
6316 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6319 2003-07-26 André Pönitz <poenitz@gmx.net>
6321 * text.C (setHeightOfRow): restrict scope of temporary variable
6323 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6324 code (never has been used?)
6326 2003-07-27 Asger Alstrup <alstrup@local>
6328 * text.C (fill): Optimise algorithm to exploit that we can reuse
6329 the LyXFont for many characters.
6330 (setHeightOfRow): Same thing.
6331 (rowBreakPoint): Same thing.
6333 2003-07-26 Asger Alstrup <alstrup@local>
6335 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6337 * text.C (singleWidth): Spurious font copying in hot-spot
6338 singleWidth avoided. Reorder tests for arabic for efficiency.
6340 * text.C (fill): handle empty paragraphs better.
6342 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6345 * encoding.h: add includes
6347 * lyxrc.C: remove reading of bind files
6349 * lyx_main.C (init): setup bindings and menus only if we have a
6352 * kbmap.C (read): new method. Do the actual reading of bind
6355 * converter.C (dvipdfm_options):
6358 (output): adapt PAPER_* enums.
6360 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6362 * bufferparams.h: remove paper-related enums from there
6364 * paper.h: New file. A trivial header file to hold paper-related
6365 enums. It should later expand to contain many paper-related
6368 * lyxrc.C: declare extern displayTranslator
6370 2003-07-27 José Matos <jamatos@fep.up.pt>
6372 * tabular.[Ch] (linuxdoc): add support for tables and figures
6375 2003-07-27 José Matos <jamatos@fep.up.pt>
6377 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6378 consistency in both functions.
6379 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6381 2003-07-26 Asger Alstrup <alstrup@local>
6383 * rowpainter.C (paintRows): Change algorithm to work directly on
6384 the insets rather than asking every character in the document
6385 whether its an inset.
6387 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6389 * buffer.C (openFileWrite): factorize some code
6391 2003-07-26 Angus Leeming <leeming@lyx.org>
6394 * lyx_main.[Ch]: replace occurances of system_tempdir with
6397 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6399 * rename Inset to InsetOld
6401 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6403 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6404 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6405 which I think is a bit clearer. EDIT is gone, since it was
6406 premature optimisation, and broken for mathed anyway.
6407 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6408 with cursor positioning in insets as well (math insets still do not
6409 work, but that's a different story anyway.) It mysteriously
6410 crashes sometimes with undo in the first paragraph, but I'm fairly
6411 confident that this is a compiler bug.
6413 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6415 * paragraph.C (Paragraph): adjust for new clone return type
6417 (copyIntoMinibuffer): ditto
6419 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6421 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6422 by not having a special case, and always doing a full rebreak of
6423 the document after undo.
6425 2003-07-23 Angus Leeming <leeming@lyx.org>
6427 * factory.C (createInset): InsetExternal::setParams now takes a
6430 2003-07-23 Angus Leeming <leeming@lyx.org>
6432 * factory.C (createInset): changed interface to the external and
6433 graphics mailers' string2params functions.
6435 2003-07-23 Angus Leeming <leeming@lyx.org>
6437 * factory.C (createInset): pass a
6438 Buffer const * parameter to InsetExternalMailer's string2params.
6440 2003-07-22 John Levon <levon@movementarian.org>
6442 * Thesaurus.h: include the right aiksaurus header
6444 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6446 * MenuBackend.C (expand): check menu shortcuts unconditionally
6448 2003-07-21 Angus Leeming <leeming@lyx.org>
6450 * factory.C (createInset): pass a
6451 buffer_path parameter to InsetGraphicsMailer's string2params.
6453 2003-07-21 Angus Leeming <leeming@lyx.org>
6455 * BufferView_pimpl.C (buffer):
6458 * lyxfunc.C (dispatch):
6459 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6460 rather than the grfx shortcut.
6462 2003-07-21 André Pönitz <poenitz@gmx.net>
6464 * rowpainter.C: remove unused variables
6467 * tabular_funcs.h: move to tabular.C
6468 * Makefile.am: adjust
6470 * tabular.[Ch]: basic optical cleaning
6472 * author.h: pass references, not values
6474 2003-07-18 André Pönitz <poenitz@gmx.net>
6482 * text3.C: two-phase drawing for InsetText and InsetTabular
6483 some float -> int changes.
6485 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6487 * lyx_main.C: fix the fix
6489 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6491 * lyx_main.C: fix a crash in batch mode if no files specified
6494 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6496 * format.[Ch] (papersize): moved to BufferParams
6497 * converter.[Ch] (dvips_options): moved to BufferParams
6498 (dvipdfm_options): moved to anon namespace
6499 * bufferparams.[Ch]: added above functions.
6501 2003-07-17 André Pönitz <poenitz@gmx.net>
6505 * text2.C: don't call inset->update() anymore
6507 * metricsinfo.[Ch]: add convenience constructor
6509 2003-07-16 André Pönitz <poenitz@gmx.net>
6514 * text2.C: replace the LyXCursor::irow_ member with
6515 on-demand computation of the value
6517 2003-07-16 John Levon <levon@movementarian.org>
6519 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6521 2003-07-15 André Pönitz <poenitz@gmx.net>
6524 * text2.C: remove no more needed refresh_row
6526 2003-07-15 André Pönitz <poenitz@gmx.net>
6531 * text3.C: refresh_status tristate -> need_update bool
6533 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6535 * lyxtext.h (init): remove reinit argument (act as if always true)
6536 * text2.C: adjust to that
6538 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6540 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6541 * text3.C: use it to delete selections in some cases
6542 (bugs 441, 673, 702, 954).
6544 2003-07-14 André Pönitz <poenitz@gmx.net>
6546 * rowpainter.[Ch]: reduce interface
6548 2003-07-14 André Pönitz <poenitz@gmx.net>
6550 * BufferView_pimpl.C:
6551 * text2.C: adjust after removing unused BufferView * argument
6553 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6555 * text2.C (init): fix a crash fired on resize
6557 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6559 * buffer.[Ch]: added new closing signal
6560 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6561 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6562 BufferView::Pimpl via the closing the signal
6564 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6566 * buffer.[Ch]: take out all bv-related from buffer
6568 * BufferView_pimpl.[Ch]: connect to new signals
6569 * CutAndPaste.C: removed useless asserts
6570 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6573 * lyxfunc.C: moved view-related funciontality from vc here
6574 * paragraph.C: removed outdated comments
6577 2003-07-10 André Pönitz <poenitz@gmx.net>
6579 * BufferView_pimpl.C:
6583 * text2.C: remove InsetText::InnerCache, clean up consequences
6585 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6587 * ispell.C: fix two typos in error messages
6589 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6591 * Extend Note inset to other forms of annotation like Comment
6592 and Greyedout. Right button click gives dialog.
6594 Files modified or added (+):
6598 * ControlNote.[Ch] +
6600 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6601 frontends/controllers
6605 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6607 * aspell.C: add missing namespace lyx::support
6609 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6611 * BufferView.[Ch] (newFile): Add
6612 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6613 * LaTeX.[Ch] (message): added this signal and use it
6614 * buffer.[Ch] (busy, message): added these signals and use them
6615 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6619 * importer.C: use buffer signals instead of direct bv calling
6620 * lyx_cb.[Ch] (ShowMessage): removed
6623 * paragraph_funcs.C:
6624 * text2.C: use buffer signals
6626 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6628 * introduce namespace lyx::graphics
6630 2003-07-02 André Pönitz <poenitz@gmx.net>
6632 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6634 2003-07-01 André Pönitz <poenitz@gmx.net>
6641 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6642 text*.C to text_func.C
6644 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6646 * introduce namespace lyx::support
6648 2003-06-30 André Pönitz <poenitz@gmx.net>
6653 * text.C: re-enable --with-included-string
6655 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6657 * textcursor.C: add <config.h>
6659 * text.C (getWord): remove const from word_location arg
6661 * lyxvc.C (getLogFile): fix const type order
6663 * lyxtext.h: remove const from word_location arg, add arg name
6665 * lyxlayout.h: currect type on labeltype.
6667 * importer.C: correct \file
6669 * converter.C (intToFormat): use std:: on ret val, ws changes
6671 * bufferlist.h: correct \file
6673 * buffer.C (makeLinuxDocFile): fix const type order
6674 (makeDocBookFile): ditto
6675 (fillWithBibKeys): use std:: on stdlib args.
6677 * CutAndPaste.C: fix authors.
6678 (availableSelections): use std:: on return vector
6680 2003-06-27 André Pönitz <poenitz@gmx.net>
6682 * BufferView_pimpl.C:
6683 * bufferview_funcs.C:
6691 * text3.C: remove LyXCursor::row_ member
6694 * text.C: rename fullRebreak() to partialRebreak() and implement
6695 a fullRebreak() that really bereks fully
6697 * textcursor.h: new struct for cursor-related data
6699 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6701 * lyx_main.C (LyX): get full path of document loaded on the
6704 2003-06-26 André Pönitz <poenitz@gmx.net>
6706 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6707 remove unused/broken operator>,<,>=.
6709 * text.C: remove only use of broken operator<= in an Assert().
6711 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6713 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6714 moved errorlist_.clear to showErrorList
6716 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6718 * converter.C (scanLog, runLaTeX):
6719 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6720 move the bv->showErrorList call to the callers
6721 * lyxfunc.C: i.e. here...
6723 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6724 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6725 namespace, the second to...
6726 * buffer_funcs (BufferFormat, parseErrors): added
6727 * errorlist.C (ErrorList(TeXErrors const &)): removed
6729 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6731 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6733 2003-06-24 "Garst R. Reese" <reese@isn.net>
6737 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6739 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6741 * version.C.in: change docversion to 1.4
6743 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6745 * buffer.C: fix a bug just introduced
6747 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6749 * buffer.[Ch]: added the parseError signal and use it, removed
6751 * BufferView.[Ch] (addError): moved to ...
6752 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6753 to the Buffer::parseError signal to catch (guess what) parse errors
6754 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6756 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6758 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6759 ability to create a buffer and to return an existing one from
6760 the list. Moved these functions to...
6761 * buffer_funcs.[Ch]: added
6762 * BufferView.[Ch] (loadLyXFile): added
6763 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6764 job removed from bufferlist::loadLyXFile.
6765 * buffer.C (setReadOnly): make it work without view
6766 (i.e added an if (users))
6768 2003-06-19 Angus Leeming <leeming@lyx.org>
6771 * LyXAction.C (init):
6772 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6773 with LFUN_DIALOG_SHOW <name> <data>.
6775 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6777 * CutAndPaste.C (availableSelections): small compilation fix for
6778 ancient (gcc 2.9x) compilers
6780 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6782 * text3.C (cursorNext): add tmp var
6784 * text2.C (updateCounters): for function calling out of for clause
6785 (replaceSelectionWithString): ditto
6786 (insertStringAsParagraphs): ditto
6787 (getColumnNearX): add tmp var
6788 (setCursorFromCoordinates): add tmp var
6789 (cursorDownParagraph): add tmp var
6790 (deleteEmptyParagraphMechanism): add tmp var
6792 * text.C (insertChar): add tmp var
6794 * rowpainter.C (paintDepthBar): add tmp var
6796 * CutAndPaste.C (availableSelections): potentially check all
6797 paragraphs in a cut to fill the shown strings.
6799 2003-06-18 André Pönitz <poenitz@gmx.net>
6801 * kbmap.[Ch]: use vector<> instead of list<>
6803 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6805 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6806 pasteSelection with index
6808 * text2.C (pasteSelection): modify, call pasteSelection with index
6810 * paragraph.C (asString): reimplement version with no interval to
6811 call the one with interval.
6813 * lyxtext.h: add index arg to pasteSelection
6815 * MenuBackend.C (MenuItem): handle PasteRecent
6816 (Menu::read::Menutags): add md_pasterecent
6818 (expandPasteRecent): new function
6821 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6823 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6825 (availableSelections): new function
6827 2003-06-17 Angus Leeming <leeming@lyx.org>
6829 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6831 2003-06-17 Angus Leeming <leeming@lyx.org>
6834 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6836 * lyxfunc.C (dispatch): invoke it.
6838 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6840 * iterators.C (operator++, ParPosition): reintroduce some
6841 const_cast for the benefit of older compilers.
6843 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6845 * text3.C (dispatch): do not modify clipboard when doing
6846 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6847 LFUN_DELETE_SKIP on a selection selection
6849 2003-06-16 André Pönitz <poenitz@gmx.net>
6855 * tabular.[Ch]: IU of clone() and getLabelList();
6857 2003-06-13 André Pönitz <poenitz@gmx.net>
6859 * tabular.h: compactification
6861 2003-06-12 André Pönitz <poenitz@gmx.net>
6865 * tabular_funcs.h: some renaming plus whitespace
6867 2003-06-12 André Pönitz <poenitz@gmx.net>
6870 * BufferView_pimpl.C:
6876 * toc.C: Return a Paragraph & for ParIterator::operator*()
6878 2003-06-11 John Levon <levon@movementarian.org>
6882 * ToolbarBackend.C: add "Toolbars" section and
6885 2003-06-10 Angus Leeming <leeming@lyx.org>
6888 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6890 * lyxfunc.C (dispatch): invoke it.
6892 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6894 * main.C: protect <ios> with HAVE_IOS
6895 (main): protect sync_with_stdio with HAVE_IOS
6897 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6899 * text2.C (cutSelection): adjust
6900 (pasteSelection): adjust
6902 * messages.C: handle get of empty string
6904 * main.C (main): use sync_with_stdio(false)
6906 * lyxfunc.C (dispatch): adjust
6908 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6909 (WriteAs): remove unneeded BufferView arg.
6911 * bufferparams.h: use correct types on papersize, papersize2 and
6914 * bufferparams.C (readToken): adjust for type
6915 (writeLaTeX): add missing cases to switch.
6917 * bufferlist.C (quitWriteBuffer): adjust
6920 * buffer.C (asciiParagraph): remove some commented code.
6922 * CutAndPaste.C: remove current_view extern variable.
6923 (cutSelection): add BufferParams arg.
6924 (eraseSelection): add BufferParams arg.
6925 (pasteSelection): add Buffer const & arg
6927 2003-06-07 John Levon <levon@movementarian.org>
6930 * paragraph_funcs.C:
6931 * paragraph_pimpl.C:
6935 * paragraph.C: allow InsetERT to freely space lines,
6936 and some consolidation of code
6938 2003-06-06 José Matos <jamatos@fep.up.pt>
6940 * buffer.C (makeDocBookFile): fix bug #821
6942 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6944 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6946 2003-06-04 Angus Leeming <leeming@lyx.org>
6948 * buffer.C: bump format to 224.
6950 2003-06-05 André Pönitz <poenitz@gmx.net>
6952 * text2.C (redoParagraphs): remove two const_cast<>
6954 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6956 * ParagraphList.h: remove last remnants of NO_STD_LIST
6958 2003-06-03 Angus Leeming <leeming@lyx.org>
6960 * factory.C (createInset): small change to the way InsetExternal's params
6963 2003-06-04 André Pönitz <poenitz@gmx.net>
6965 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6967 * paragraph_pimpl.h:
6968 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6970 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6972 * undo_funcs.C: make some simple cases of undo work again
6974 2003-06-03 John Levon <levon@movementarian.org>
6976 * ispell.C: HPUX doesn't have sys/select.h
6979 2003-06-03 John Levon <levon@movementarian.org>
6981 * CutAndPaste.C: update tabular and include inset
6986 * paragraph.C: remove owningBuffer(), don't pass Buffer
6989 * factory.C: insetGraphicsParams changed
6991 2003-06-02 John Levon <levon@movementarian.org>
6997 * text3.C: remove insetparent
6999 2003-06-02 John Levon <levon@movementarian.org>
7002 * buffer.C: fix inset_iterator.end(), move out of line
7005 2003-06-01 John Levon <levon@movementarian.org>
7007 * text3.C: use a proper cut/paste when doing inset
7008 insert (from Jürgen Spitzmüller)
7010 2003-06-01 John Levon <levon@movementarian.org>
7012 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7014 2003-05-30 André Pönitz <poenitz@gmx.net>
7016 * rowpainter.C: unify second drawing phase
7018 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7020 * trans_mgr.C: remove one case of current_view
7022 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7024 * paragraph_funcs.h: remove paragraph.h include
7026 * paragraph.h: delete NO_STD_LIST stuff
7028 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7030 * buffer.h: remove paragraph.h include
7032 * ParagraphList.C: delete file
7034 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7036 * toc.C (getTocList): adjust
7038 * paragraph_pimpl.C (validate): adjust
7040 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7042 * paragraph.C (Paragraph): adjust
7043 (getPositionOfInset): use const_iterator, adjust
7044 (bibitem): use const_iterator, adjust
7045 (setInsetOwner): adjust
7047 * iterators.C (operator++): adjust
7049 * InsetList.[Ch]: Replace selfmade iterator with standard
7050 vector::iterator also introduce const_iterator. Remove getPos,
7051 getInset and setInset from InsetTable. Adjust accordingly.
7053 * BufferView.C (lockInset): adjust
7054 (ChangeInsets): adjust
7056 * tabular.[Ch]: delete commented same_id functions
7058 2003-05-28 John Levon <levon@movementarian.org>
7060 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7062 2003-05-28 André Pönitz <poenitz@gmx.net>
7064 * metricsinfo.[Ch]: remove 'fullredraw' member
7066 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7068 * lyxtextclass.C (operator): remove caching.
7070 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7074 * text2.C (cursorBottom): adjust
7075 (setCounter): use ParagraphList::find, adjust
7077 * text.C (workWidth): use ParagraphList::find, adjust
7079 * lyxcursor.C (LyXCursor): adjust
7081 * buffer.C (inset_iterator): adjust
7083 * ParagraphList.h: make iterator(value_type) private, make
7084 ParagraphList a friend of iterator.
7086 * ParagraphList.C (find): new function
7088 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7090 2003-05-27 André Pönitz <poenitz@gmx.net>
7092 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7094 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7096 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7098 2003-05-26 John Levon <levon@movementarian.org>
7100 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7102 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7104 * remove same_id from function signatures, adjust.
7106 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7108 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7110 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7112 * paragraph.C (Paragraph): get rid of same_ids parameter
7114 * ParagraphList.C (insert): adjust
7117 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7119 * paragraph_funcs.C (breakParagraph): adjust
7120 (breakParagraphConservative): adjust
7122 * buffer.C (readParagraph): adjust
7124 * ParagraphList.C (insert): take a reference instead of a pointer
7127 * paragraph.[Ch] (id): new function
7129 * bufferlist.C (newFile): adjust
7131 * ParagraphList.C (ParagraphList): adjust
7133 (push_back): take a reference instead of a pointer.
7135 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7137 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7140 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7141 set else use old code.
7143 * ParagraphList.C: remove all NO_NEXT code and only compile this
7144 code of NO_STD_LIST is set.
7146 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7148 * BufferView_pimpl.C:
7158 * graphics/GraphicsConverter.C:
7159 * graphics/PreviewLoader.C: header adjustment
7161 2003-05-23 Angus Leeming <leeming@lyx.org>
7163 * LaTeXFeatures.[Ch] (useBabel): new method.
7164 * bufferparams.C (writeLaTeX): use it.
7166 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7168 * ParagraphList.h (set): remove unused function.
7170 2003-05-23 André Pönitz <poenitz@gmx.net>
7173 * BufferView_pimpl.C:
7177 * undo_funcs.C: setUndo reworked
7179 * iterators.[Ch]: add access to topmost ParagraphList
7181 * lyxtext.[Ch] (workWidth): add a const
7183 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7185 * texrow.[Ch] (increasePos): remove function
7186 * exporter.C (export): removed unused var and outdated comment
7188 2003-05-23 Angus Leeming <leeming@lyx.org>
7190 * latexrunparams.h: rename fragile as moving_arg.
7191 * paragraph.C (simpleTeXOnePar): ditto.
7192 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7194 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7196 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7198 (textUndoOrRedo): comment out a currently unused var.
7200 * paragraph.h (NO_NEXT): enable NO_NEXT
7202 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7204 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7206 * exporter.C (Export): adjust for removeAutoInsets removal.
7208 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7210 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7212 * BufferView.[Ch] (removeAutoInsets): delete function
7214 2003-05-22 Angus Leeming <leeming@lyx.org>
7216 * latexrunparams.h: add a free_spacing variable.
7218 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7219 to pass moving_arg, as the data is stored in runparams.fragile.
7221 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7222 to Inset::latexOptional or to simpleTeXOnePar.
7224 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7225 free_spacing arg to Inset::latexOptional.
7227 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7230 2003-05-22 Angus Leeming <leeming@lyx.org>
7232 * latexrunparams.h: add fragile and use_babel variables.
7234 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7235 * buffer.C (makeLaTeXFile): store this returned value in
7236 runparams.use_babel, thus passing it to the inset::latex methods.
7238 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7239 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7241 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7242 longer has a fragile arg, as it is stored in runparams.fragile.
7244 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7245 moving_arg parameter as the data is stored in runparams.fragile.
7247 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7248 a fragile parameter as the data is stored in runparams.fragile.
7250 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7252 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7254 2003-05-22 Angus Leeming <leeming@lyx.org>
7256 * latexrunparams.h: add a 'bool nice' which defaults to false.
7258 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7259 now encapsulated within runparams.
7261 * bufferlist.C (updateIncludedTeXfiles):
7262 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7264 2003-05-22 Angus Leeming <leeming@lyx.org>
7266 * latexrunparams.h: new file containing struct LatexRunParams.
7267 * Makefile.am: add new file.
7269 * LaTeX.[Ch] (c-tor, run):
7270 * buffer.[Ch] (makeLaTeXFile):
7271 * bufferlist.[Ch] (updateIncludedTeXfiles):
7272 * converter.C (convert, scanLog):
7273 * converter.[Ch] (runLaTeX):
7274 * exporter.C (Export):
7275 * paragraph.[Ch] (simpleTeXOnePar):
7276 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7277 * paragraph_funcs.[Ch] (latexParagraphs):
7278 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7279 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7280 pass around a LatexRunParams parameter.
7282 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7284 * paragraph.[Ch]: remove unused constructor
7286 * ParagraphList.C (erase): new function, taking two iterators
7288 2003-05-22 André Pönitz <poenitz@gmx.net>
7290 * undo_funcs.C: remove duplicated code
7292 * iterator.[Ch]: operator=
7294 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7296 * tabular.C (SetMultiColumn): ws changes
7298 * rowpainter.C (paintFirst): get rid of a ->previous
7300 * lyx_cb.C (getPossibleLabel): parlist simplification
7302 * BufferView.C (ChangeInsets): simplify slightly.
7304 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7306 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7307 * lfuns.h: new LFUN_SPACE
7308 * lyxfunc.C: protected space has a new lfun
7309 * paragraph_funcs.C: read new space insets
7311 * factory.C: handle new space insets
7313 2003-05-22 André Pönitz <poenitz@gmx.net>
7316 * BufferView_pimpl.C:
7319 * undo_funcs.C: return a ParIterator from getParFromID.
7321 * iterators.[Ch]: add two const's
7323 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7325 * toc.C (getTocList): adjust
7327 * iterators.[Ch]: rework for parlist
7329 * buffer.C (par_iterator_begin): adjust
7330 (par_iterator_end): adjust
7332 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7334 * BufferView.C (removeAutoInsets): adjust
7335 (ChangeInsets): adjust
7337 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7339 * text.C (top_y): fix bug 1110
7341 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7343 * errorlist.[Ch]: added
7346 * BufferView_pimpl.C:
7347 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7350 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7352 * Makefile.am: ensure that lyx is relinked upon changes to the
7353 various "convenience" libs.
7355 2003-05-20 Angus Leeming <leeming@lyx.org>
7357 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7358 files are compiled in alphabetical order again.
7360 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7362 2003-05-19 Angus Leeming <leeming@lyx.org>
7364 * gettext.[Ch]: remove "char const * _(char const *)".
7366 2003-05-19 André Pönitz <poenitz@gmx.net>
7368 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7377 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7379 2003-05-19 André Pönitz <poenitz@gmx.net>
7383 * lyxtextclass.[Ch]:
7385 * paragraph_funcs.[Ch]:
7387 * text3.C: more insetenv work
7389 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7391 * ParagraphParameters.C (params2string): small bug fixed
7393 2003-05-16 André Pönitz <poenitz@gmx.net>
7396 * bufferview_funcs.C: patch from Kornel Benko to prevent
7397 crash when _(...) is called twice in a statement
7399 2003-05-16 André Pönitz <poenitz@gmx.net>
7406 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7408 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7410 * lyx_main.C (init): remove spurious static_cast
7412 2003-05-14 André Pönitz <poenitz@gmx.net>
7414 * BufferView.C: fix format string
7416 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7418 * BufferView.[Ch] (insertErrors): removed
7419 * BufferView.[Ch] (showErrorList): added
7420 * buffer.C (runChkTeX):
7421 * converter.C (scanLog): call showErrorList instead of inserterrors
7423 2003-05-13 André Pönitz <poenitz@gmx.net>
7425 * BufferView_pimpl.C:
7427 * bufferview_func.C:
7434 * tabular_funcs.h: tostr() from its own header
7436 * ParagraphParameters.C:
7441 * text3.C: STRCONV()
7443 2003-05-12 André Pönitz <poenitz@gmx.net>
7446 * BufferView_pimpl.C:
7450 * ParagraphParameters.C:
7454 * bufferview_funcs.C:
7467 * paragraph_funcs.C:
7471 * text3.C: boost::format -> bformat all over the place
7474 2003-05-09 André Pönitz <poenitz@gmx.net>
7476 * LColor.[Ch]: Pimpl the #include <map> away
7478 2003-05-09 John Levon <levon@movementarian.org>
7480 * bufferlist.C: never remove emergency saves
7482 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7484 * Makefile.am: better lib building
7486 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7488 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7490 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7491 (simpleTeXSpecialChars): adjust
7492 (simpleTeXSpecialChars): adjust
7493 * paragraph.C (simpleTeXOnePar): adjust
7494 * buffer.C (makeLaTeXFile): adjust
7496 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7498 * text2.C (changeDepth): parlist cleanup
7499 (getColumnNearX): ditto
7501 * rowpainter.C (getLabelFont): parlist cleanup
7503 * bufferlist.C (newFile): parlist cleanup
7505 * CutAndPaste.C (eraseSelection): parlist cleanup
7507 * BufferView_pimpl.C (trackChanges): parlist cleanup
7510 * BufferView.C (lockInset): parlist cleanup.
7511 (ChangeInsets): ditto
7513 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7515 * CutAndPaste.h: Update file header.
7517 * CutAndPaste.C: Update file header.
7518 Store the parts cut out of the Document in a limited_stack.
7519 (copySelection): adjust
7520 (pasteSelection): new function, takes the index in the limited stack.
7521 (nrOfParagraphs): adjust
7522 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7523 simplify error inset insertion.
7524 (checkPastePossible): adjust
7526 2003-05-06 John Levon <levon@movementarian.org>
7528 * text2.C: don't cast wrap inset to float
7530 2003-05-05 André Pönitz <poenitz@gmx.net>
7533 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7535 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7536 few naked Paragraph *.
7538 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7540 * bufferparams.C: Output warning if a document with missing
7541 TeX document class is loaded
7542 * exporter.C: Disable TeX exports if the document class is missing
7545 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7546 isTeXClassAvailable()
7548 2003-05-03 John Levon <levon@movementarian.org>
7551 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7552 explicit cursor show/hide
7554 * BufferView_pimpl.h:
7555 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7556 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7558 * lyxfunc.C: hide cursor before dispatching.
7563 * text3.C: remove explicit cursor hides
7565 2003-05-02 André Pönitz <poenitz@gmx.net>
7567 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7570 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7573 * text2.C: tiny whitespace
7575 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7577 * undo_funcs.C: almost only ws changes.
7579 * ParagraphList.C (splice): just return if pl is empty.
7581 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7583 * ParagraphList.C (splice): new function.
7585 * CutAndPaste.C (pasteSelection): use it
7587 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7589 * CutAndPaste.C (pasteSelection): remove the last next and
7590 previous from this file.
7592 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7594 * CutAndPaste.C (pasteSelection): more clean up, user proper
7595 ParagraphList functions for pasteing.
7597 * ParagraphList.C (insert): new function, three arg insert
7599 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7601 * ParagraphList.C (insert): new function, three arg insert
7603 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7606 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7608 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7610 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7612 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7614 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7616 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7617 (copySelection): clean up a bit.
7618 (pasteSelection): use make_pair
7620 * ParagraphList.C (ParagraphList): implement copy constructor
7621 (operator=): implement, base on copy constructor.
7624 * paragraph.C (erase): return a bool
7626 * paragraph_pimpl.C (erasePos): remove function, move contents...
7627 (erase): ... here. Return a bool.
7628 (erase): call erase instead of erasePos.
7630 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7632 * ParagraphList.h: define PitPosPair
7633 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7634 ParagraphList, fix a bug on pasting multiple pars
7635 * text2.C: change interface to C&P
7637 2003-04-30 André Pönitz <poenitz@gmx.net>
7639 * undo_func.C: revert part of yesterday's patch 2
7641 2003-04-30 John Levon <levon@movementarian.org>
7643 * LColor.C: s/tabular/table/
7645 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7647 * text3.C (dispatch): do not convert iterator -> pointer
7648 * undo_funcs.C (setCursorParUndo): ditto
7649 * text_funcs.C (transposeChars): ditto
7651 * text2.C (setLayout): ws changes only
7653 * text.C (breakParagraph): do not convert iterator -> pointer
7655 (acceptChange): ditto
7656 (rejectChange): ditto
7661 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7664 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7666 * text3.C (gotoInset): YABG (yet another bad getChar)
7668 2003-04-29 André Pönitz <poenitz@gmx.net>
7670 * paragraph.h: make operator= private unimplemented as long as
7673 * ParagraphList.C: whitespace
7676 * paragraph_pimpl.[Ch]:
7677 * paragraph_funcs.C:
7679 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7682 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7684 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7686 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7687 * paragraph.[Ch] (erase):
7688 * paragraph_pimpl.[Ch] (erase): change return type and value
7689 * text2.C (cutSelection): some rework
7691 2003-04-28 John Levon <levon@movementarian.org>
7693 * bufferlist.C: changes for unsaved changes dialog
7695 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7697 * bufferlist.C (newFile): set language (messages_) for new
7700 * buffer.C (readFile): ws changes only.
7702 2003-04-28 André Pönitz <poenitz@gmx.net>
7707 * BufferView_pimpl.C:
7708 * BufferView.C: getParFromID related ParagraphList::iterator changes
7710 2003-04-28 André Pönitz <poenitz@gmx.net>
7712 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7715 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7717 * messages.C: remove one more localedir class variable.
7719 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7721 * messages.C (getLocaleDir): singleton generation function
7723 (Messages): add a default constructor.
7725 * main.C (main): do not setup localedir here, do not call
7728 * gettext.C (_): use it.
7729 (gettext_init): delete funciton
7731 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7733 * gettext.C (getLyXMessages): new singleton generating function.
7735 * buffer.C (updateDocLang): adjust
7737 * Makefile.am (messages.o): add target
7738 (main.o): remove target
7740 2003-04-27 John Levon <levon@movementarian.org>
7745 * lyxvc.C: specify cancel button in Alert::prompt
7747 2003-04-26 John Levon <levon@movementarian.org>
7752 * LyXAction.C: add LFUN_INSET_SETTINGS
7754 * lyxfunc.C: don't enable tabular-feature when there's
7755 just any locking inset
7757 2003-04-26 John Levon <levon@movementarian.org>
7759 * bufferlist.C: re-add Cancel to buffer close question
7761 * lyxfunc.C: fix import UI a bit
7763 2003-04-25 John Levon <levon@movementarian.org>
7765 * gettext.C: remove the broken asserts for now
7767 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7769 * messages.C: make case where setlocale cannot comply work better.
7771 * buffer.C (updateDocLang): new function
7772 (changeLanguage): use it
7775 * text2.C (setCounter): use B_ a bit.
7777 * lyxlayout.C (Read): be sure to trim the label strings.
7779 * messages.C (Messages): fix typo in comment
7781 * buffer.C (readFile): set message_ after file is loaded.
7782 (makeDocBookFile): remove double return
7783 (changeLanguage): reset message_ upon language change.
7784 (B_): new func, use this to get translated buffer strings.
7786 * main.C: add myself and Jean Marc as authors.
7788 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7790 * messages.[hC]: pimplify Messages, and three different pimpls to be
7791 used in different circumstances.
7793 * gettext.[Ch]: change for use with new message code.
7795 2003-04-24 André Pönitz <poenitz@gmx.net>
7797 * factory.C: support for eqref
7799 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7801 * messages.[Ch]: add missing char
7803 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7805 * messages.[Ch]: New files
7807 2003-04-18 John Levon <levon@movementarian.org>
7811 * BufferView_pimpl.C:
7815 * text2.C: remove layout-copy/paste (bug 778)
7817 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7819 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7821 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7823 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7824 if they succeed. Act accordingly.
7826 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7828 * text2.C (setCharFont): adjust
7829 (setCounter): adjust
7830 (insertStringAsLines): adjust
7832 * text.C (leftMargin): adjust
7833 (setHeightOfRow): adjust
7835 * rowpainter.C (paintFirst): adjust
7838 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7840 (isFirstInSequence): ditto
7841 (getEndLabel): ditto
7844 * paragraph.C (getParLanguage): comment out some hard stuff.
7846 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7848 (simpleDocBookOnePar): ditto
7849 (makeDocBookFile): use ParagraphList::iterator
7851 * CutAndPaste.C (pasteSelection): adjust
7853 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7855 * text2.C (getFont): adjust
7856 (getLayoutFont): adjust
7857 (getLabelFont): adjust
7859 * paragraph_funcs.C (TeXOnePar): adjust
7861 * buffer.C (simpleLinuxDocOnePar): adjust
7862 (simpleDocBookOnePar): adjust
7864 * CutAndPaste.C (pasteSelection): adjust
7866 * BufferView.C (getEncoding): adjust
7868 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7870 2003-04-16 John Levon <levon@movementarian.org>
7872 * lyxfind.C: use parlist stuff for search/changes
7874 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7876 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7878 * text2.C (deleteEmptyParagraphMechanism): adjust
7880 * text2.[Ch] (ownerParagraph): delete func (both of them
7882 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7884 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7886 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7888 * ParagraphList.C: prepare for NO_NEXT
7890 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7892 * text2.C (getFont): adjust
7893 (getLayoutFont): adjust
7894 (getLabelFont): adjust
7896 * paragraph.C (getFont): adjust
7897 (getLabelFont): adjust
7898 (getLayoutFont): adjust
7900 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7902 2003-04-15 John Levon <levon@movementarian.org>
7906 * lyx_main.C: handle Include in .ui files
7908 2003-04-15 John Levon <levon@movementarian.org>
7910 * MenuBackend.C: make the doc files length shorter
7913 * ToolbarBackend.C: handle toolbar placement flags,
7916 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7918 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7921 * paragraph_funcs.C (TeXOnePar): adjust
7923 * paragraph.C (getLabelFont): add outerfont arg, adjust
7924 (getLayoutFont): ditto
7925 (simpleTeXOnePar): adjust
7927 * paragraph_pimpl.C (realizeFont): delete func
7929 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7931 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7932 row argument, constify cur argument.
7934 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7936 * text2.C (getFont): adjust
7937 (getLayoutFont): adjust
7938 (getLabelFont): adjust
7940 * paragraph_funcs.C (TeXOnePar): adjust
7941 (outerFont): new func...
7942 (realizeFont): ...moved out from here, changed this to facilitate
7945 * paragraph.C (getFont): take outerfont as arg, adjust
7946 (simpleTeXOnePar): add outerfont arg, adjust
7948 * buffer.C (simpleLinuxDocOnePar): adjust
7949 (simpleDocBookOnePar): adjust
7951 * CutAndPaste.C (pasteSelection): adjust
7953 * BufferView.C (getEncoding): adjust
7955 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7957 * text2.C (setCharFont): adjust
7958 (setCounter): adjust
7960 * text.C (leftMargin): adjust
7961 (setHeightOfRow): adjust
7963 * rowpainter.C (paintFirst): adjust
7966 * paragraph_pimpl.C (realizeFont): adjust
7968 * paragraph.C (isFirstInSequence): move from here...
7969 * paragraph_funcs.C (isFirstInSequence): ...to here
7971 * paragraph.C (outerHook): move from here...
7972 * paragraph_funcs.C (outerHook): ...to here
7974 * paragraph.C (depthHook): move from here...
7975 * paragraph_funcs.C (depthHook): ...to here
7977 * paragraph.C (getEndLabel): move from here...
7978 * paragraph_funcs.C (getEndLabel): ...to here
7980 * text2.C (realizeFont): move from here...
7981 * paragraph_funcs.C (realizeFont): ...to here
7983 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7985 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7987 2003-04-14 Angus Leeming <leeming@lyx.org>
7989 * LColor.[Ch]: scrap LColor mathcursor.
7991 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7993 * lyxlex.[Ch] (text): delete function
7994 * trans.C (Load): adjust
7995 * paragraph_funcs.C (readParToken): adjust
7997 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7999 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8000 vector<char> instead of a char[].
8002 * lyxlex_pimpl.C (getString): adjust
8004 (lex): use getString
8008 * lyxlex.C (text): use pimpl_->getString()
8012 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8014 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8015 (makeFontEntriesLayoutSpecific): temp var for par.size()
8016 (setLayout): temp var for ownerParagraphs().end()
8017 (fullRebreak): temp var for rows().end()
8018 (selectionAsString): temp var for boost::next(startpit), realize
8019 that the while really is a regular for loop.
8020 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8021 setCursor in one place.
8022 (setParagraph): temp vr for ownerParagraphs().end()
8023 (updateCounters): make the while loop a for loop
8024 (cutSelection): temp var for ownerParagraphs().end()
8025 (updateInset): make the do {} while() a regular for loop
8026 (getCursorX): use temp vars
8027 (setCurrentFont): use temp vars
8028 (getColumnNearX): use temp vars
8030 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8032 * text.C (transformChar): use temp var for getChar
8033 (computeBidiTables): use temp var for row->par()
8034 (fill): move temp vars for row->par() and pit->layout() earlier in
8036 (labelFill): use temp var for row->par()
8037 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8038 asc and desc, realize that pit never changes and that firstpit is
8039 just a duplicate and not needed. Exchange rit->par() with pit in a
8041 (breakAgain): use a temp var for boost::next(rit)
8042 (breakAgainOneRow): ditto
8043 (breakParagraph): use a temp var for rows().begin()
8044 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8045 (cursorRightOneWord): use temp var for cursor.par() and
8046 cursor.pos(), remove usage of tmpcursor.
8047 (cursorLeftOneWord): use temp var for cursor.par() and
8048 cursor.pos() only set cur at end of function.
8050 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8052 * text.C, text2.C: exchange all usage of Paragraph::next with
8053 boost::next(ParagraphList::iterator)
8055 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8057 * text2.C (cursorTop): simplify implementation
8058 (cursorBottom): ditto
8059 (setParagraph): use ParagraphList::iterator
8060 (setCurrentFont): adjust
8061 (getColumnNearX): adjust
8062 (cursorRight): adjust
8063 (cursorLeft): remove usage of Paragraph::previous
8064 (cursorUpParagraph): ditto
8065 (deleteEmptyParagraphMechanism): slight cleanup
8067 * text.C (isBoundary): take a Paragraph const & instead of a
8069 (addressBreakPoint): ditto
8070 (leftMargin): remove usage of Paragraph::previous.
8071 (setHeightOfRow): ditto
8072 (cursorLeftOneWord): ditto
8073 (selectNextWordToSpellcheck): ditto
8076 (breakParagraph): remove one usage of Paragraph::next
8077 (redoParagraph): ditto
8078 (acceptChange): ditto
8079 (insertChar): adjust
8080 (rowBreakPoint): adjust
8082 * bufferview_funcs.C (toggleAndShow): adjust
8084 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8086 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8087 methods to access it.
8089 * text.C: Added updateRowPositions to compute all row positions.
8090 Make top_y and getRowNearY() to use the cached y position
8092 2003-04-11 John Levon <levon@movementarian.org>
8094 * text.C (rowBreakPoint): reintroduce the labelEnd
8095 checks, code copied from the row fill stuff. Deep voodoo.
8097 * text.C (fill): add a comment and debugging for the
8100 2003-04-11 John Levon <levon@movementarian.org>
8102 * text.C: make sure fullrow insets get wrapped to the next line,
8103 even when they're in a manual label
8105 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8107 * text2.C (insertParagraph): make it take ParagraphList::iterator
8109 (setLayout): make it return ParagraphList::iterator
8110 (redoParagraphs): ditto
8112 (checkParagraph): ditto
8114 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8116 * text2.C: adjust several funcs.
8117 (realizeFont): take a ParagraphList::iterator as arg.
8118 (getLayoutFont): ditto
8119 (getLabelFont): ditto
8120 (setCharFont): ditto
8122 * text.C: adjust several funcs.
8124 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8126 * text.C (selectNextWordToSpellcheck): don't accidentally
8129 2003-04-10 John Levon <levon@movementarian.org>
8131 * ToolbarBackend.C (getIcon): special handling for
8134 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8136 * text2.C (cursorRight): a getChar assert fixed
8138 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8140 * text2.C (getFont): change to take a ParagraphList::iterator
8141 instead of Paragraph*
8142 Adjust several functions.
8144 * text.C (transformChar): change to take a ParagraphList::iterator
8145 instead of Paragraph*
8146 (singleWidth): ditto
8147 Adjust several functions.
8149 * rowpainter.C: adjust several functions
8150 * rowpainter.h:store a ParagraphList::iterator and not a
8154 2003-04-09 John Levon <levon@movementarian.org>
8159 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8160 and the "help" bits as well
8162 2003-04-09 John Levon <levon@movementarian.org>
8165 * ToolbarBackend.C: allow multiple toolbars
8167 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8169 * undo_funcs.C (setCursorParUndo): adjust
8171 * text_funcs.C (transposeChars): adjust
8173 * text3.C (gotoNextInset): adjust
8176 * text2.C (setLayout): adjust
8177 (changeDepth): adjust
8179 (redoParagraphs): adjust
8180 (selectionAsString): adjust
8181 (setParagraph): adjust
8182 (insertInset): adjust
8183 (cutSelection): adjust
8184 (copySelection): adjust
8185 (pasteSelection): adjust
8186 (insertStringAsLines): adjust
8187 (updateInset): adjust
8188 (setCursor): change to take a ParagraphList::iterator parameter
8189 (setCursorIntern): change to take a ParagraphList::iterator parameter
8190 (setCurrentFont): adjust
8191 (cursorLeft): adjust
8192 (cursorRight): adjust
8193 (deleteEmptyParagraphMechanism): adjust
8195 * text.C (breakParagraph): adjust
8196 (insertChar): adjust
8197 (acceptChange): adjust
8198 (rejectChange): adjust
8199 (selectNextWordToSpellcheck): adjust
8200 (changeCase): adjust
8204 * lyxfind.C (SearchForward): adjust
8205 (SearchBackward): adjust
8206 (nextChange): adjust
8208 * lyxcursor.C (par): adjust
8210 * lyxcursor.h: store a ParagraphList::iterator instead of a
8213 * lyx_cb.C (getPossibleLabel): adjust
8215 * bufferview_funcs.C (toggleAndShow): adjust
8217 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8220 * BufferView.C (removeAutoInsets): adjust
8221 (lockedInsetStoreUndo): adjust
8223 2003-04-09 John Levon <levon@movementarian.org>
8225 * ToolbarBackend.C: try icon without argument
8226 if with argument fails
8228 2003-04-08 John Levon <levon@movementarian.org>
8231 * ToolbarBackend.C: add getIcon(), handle tooltip,
8232 and change from "Icon" to "Item".
8234 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8236 * BufferView.C (lockInset): another bad getchar crunched
8238 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8240 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8243 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8245 * lyxfind.C (searchForward, searchBackwards): bug 782
8247 2003-04-07 John Levon <levon@movementarian.org>
8249 * paragraph.C: remove dead comment
8251 * text.C: remove troublesome depth-fiddling code
8252 in leftMargin() and rightMargin() (bug 1017)
8254 * text.C: fix breaking of rows in nested lists
8257 * text2.C (updateCounters): fix up depth values
8260 2003-04-07 John Levon <levon@movementarian.org>
8262 * BufferView_pimpl.C: clear message when doc finishes resizing,
8263 and after a mouse event
8265 * lyxfunc.C: clear message after exiting inset
8267 2003-04-07 John Levon <levon@movementarian.org>
8269 * bufferview_funcs.C: show math status not outside
8270 status in the statusbar
8272 2003-04-07 John Levon <levon@movementarian.org>
8274 * lyxfunc.C: note status changed after a depth change
8276 2003-04-04 Angus Leeming <leeming@lyx.org>
8278 * LaTeX.h: move AuxInfo operator==, != out of line.
8279 Remove LaTeX virtual destructor; nothing derives from it.
8280 Move operator()() out of public area and rename it startscript().
8281 Change protected for private.
8283 2003-04-04 Angus Leeming <leeming@lyx.org>
8286 * text2.C: remove unneeded #includes.
8288 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8290 * text2.C (dEPM): fix the heigth of the next row
8292 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8294 * text.C: squashed an invalid getChar requester + some ws changes
8296 2003-04-03 John Levon <levon@movementarian.org>
8298 * bufferview_funcs.h:
8299 * bufferview_funcs.C:
8302 * text2.C: make getStatus work for the env depth lfuns
8304 2003-04-03 John Levon <levon@movementarian.org>
8306 * bufferview_funcs.h:
8307 * bufferview_funcs.C:
8310 * text2.C: parlistize decDepth(), by merging it with incDepth()
8312 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8314 * lyxrow.h: store a ParagraphList::iterator instead of a
8315 Paragraph* and adjust other class functions to suit.
8317 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8320 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8322 * text2.C (setCursor): do not anchor to cursor row for the time being
8324 2003-04-02 John Levon <levon@movementarian.org>
8331 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8333 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8335 * paragraph.h: make ParagraphList and ParagraphList::iterator
8336 friends of Paragraph.
8338 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8340 * ParagraphList.C: Use the private next_ and previous_ from
8343 2003-04-01 John Levon <levon@movementarian.org>
8347 * Makefile.am: rename, remove defaults gunk
8350 * MenuBackend.C: remove defaults gunk
8353 * Languages.C: remove defaults gunk
8356 * lyx_main.C: error out if files couldn't be found.
8358 2003-04-02 John Levon <levon@movementarian.org>
8360 * text2.C: make incDepth() use parlist
8362 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8364 * undo_funcs.C (firstUndoParagraph): adjust
8366 * text3.C (gotoInset): adjust
8367 (dispatch): adjust, and rewrite loop.
8369 * text2.C (init): adjust, and rewrite loop.
8370 (redoParagraphs): adjust
8371 (updateInset): adjust, and rewrite loop.
8372 (deleteEmptyParagraphMechanism): adjust
8374 * tabular.C (LyXTabular): adjust
8375 (SetMultiColumn): adjust
8378 * lyxtext.[Ch] (ownerParagraph): delete function
8379 (ownerParagraphs): new function returns a ParagraphList.
8381 * BufferView.C (removeAutoInsets): adjust
8382 (insertErrors): adjust
8383 (setCursorFromRow): adjust
8385 2003-04-01 Angus Leeming <leeming@lyx.org>
8387 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8390 2003-04-02 John Levon <levon@movementarian.org>
8396 * text_funcs.C: make transposeChars a free function
8398 * lyxrow_funcs.C: remove wrong comment
8400 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8403 * rowpainter.C: adjust
8408 * lyxrow_funcs. [Ch]: new files
8410 * lyxrow.[Ch]: remove next and previous pointers
8411 (next,previous): remove accessor functions
8412 (isParEnd): move to lyxrow_funcs
8413 (lastPos): move to lyxrow_funcs
8414 (nextRowIsAllInset): move to lyxrow_funcs
8415 (lastPrintablePos): move to lyxrow_funcs
8416 (numberOfSeparators): move to lyxrow_funcs
8417 (numberOfHfills): move to lyxrow_funcs
8418 (numberOfLabelHfills): move to lyxrow_funcs
8419 (hfillExpansion): move to lyxrow_funcs
8423 * bufferview_funcs.C (toggleAndShow): adjust
8425 * RowList.h: Remove class RowList from file leave just a
8428 * RowList.C: delete file
8430 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8433 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8435 * text3.C (cursorPrevious): adjust
8436 (cursorNext): adjust
8439 * text2.C (redoHeightOfParagraph): adjust
8440 (redoDrawingOfParagraph): adjust
8443 * text.C (breakParagraph): adjust
8444 (insertChar): adjust
8447 * rowpainter.C (RowPainter): adjust
8448 (leftMargin): simplify and adjust
8449 (most rowpainter functions): adjust.
8451 * rowpainter.h: store the row as RowList::iterator not as Row*
8453 * lyxcursor.C (row): taka RowList::iterator as arg
8456 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8459 2003-04-01 Angus Leeming <leeming@lyx.org>
8461 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8462 stuff like bool Bool.
8464 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8466 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8469 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8471 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8474 * lyxtext.h (rows): drop one version and leve a const variant that
8475 returns a RowList::iterator.
8477 2003-03-31 Angus Leeming <leeming@lyx.org>
8479 * text.C (fill): ensure that the signature is the same as that in the
8482 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8484 * text2.C (redoParagraphs): adjust
8485 (updateCounters): adjust
8486 (checkParagraph): adjust
8487 (getColumnNearX): adjust and reformat a bit.
8489 * text.C (top_y): adjust
8491 (leftMargin): adjust
8492 (prepareToPrint): adjust
8494 (getRowNearY): adjust
8496 * lyxtext.h: make rowlist_ mutable.
8498 * RowList.h: add const_iterator
8499 * RowList.C: adjust for RowList::const_iterator.
8501 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8504 2003-03-31 John Levon <levon@movementarian.org>
8507 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8509 * lyx_main.C: set default fonts from using lyx_gui funcs
8511 * exporter.C: pdf_mode moved from lyxrc
8514 * lyxfunc.C: changes from above
8516 2003-03-31 John Levon <levon@movementarian.org>
8518 * lyx_main.C: fix to the last fix
8520 2003-03-31 John Levon <levon@movementarian.org>
8522 * bufferlist.C: "Load original" -> "Load Original"
8528 * format.C: more Alert cleanups
8530 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8532 * text2.C (removeParagraph): make it take a RowList::iterator as
8534 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8535 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8537 * text.C (anchor_row): make it take a RowList::iterator as arg,
8539 (computeBidiTables): make it take a const reference to Row instead
8540 of Row pointer, adjust.
8541 (leftMargin): make it take a RowList::iterator as arg, adjust.
8542 (rowBreakPoint): adjust
8543 (breakAgainOneRow): make it take a RowList::iterator as arg,
8545 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8547 * bufferview_funcs.C (toggleAndShow): adjust
8549 2003-03-30 John Levon <levon@movementarian.org>
8553 * boost-inst.C: moved to support
8555 * several files: changes as a result
8557 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8559 * text2.C (LyXText): adjust.
8561 (removeRow): make it take a RowList::iterator as arg, adjust.
8562 (fullRebreak): adjust
8563 (deleteEmptyParagraphMechanism): adjust
8564 (clearPaint): adjust
8567 * text.C (top_y): adjust
8568 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8569 (breakAgain): make it take a RowList::iterator as arg, adjust.
8570 (breakParagraph): adjust
8571 (insertChar): adjust
8574 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8575 need_break_row, and refresh_row.
8577 * text3.C (dispatch): adjust
8579 * text2.C (checkParagraph): adjust
8581 (setCursorFromCoordinates): adjust
8583 * text.C (top_y): adjust
8585 (getRow): make it return a RowList::iterator, adjust
8586 (getRowNearY): make it return a RowList::iterator, adjust
8588 * text2.C (init): adjust
8589 (insertRow): remove function
8590 (insertParagraph): adjust
8591 (redoParagraphs): adjust
8592 (fullRebreak): adjust
8593 (updateCounters): adjust
8595 * text.C (top_y): rewrite to use RowList iterators.
8597 (setHeightOfRow): rewrite to sue RowList iterators.
8598 (appendParagraph): adjust
8599 (breakAgain): adjust
8600 (breakAgainOneRow): adjust
8601 (breakParagraph): adjust
8603 (getRowNearY): adjust, and remove commented code.
8605 * lyxtext.h (firstRow): delete function
8606 (lastRow): delete function
8607 (rows): new function (const and non-const versions.)
8608 (insertRow): delete function
8610 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8612 2003-03-29 John Levon <levon@movementarian.org>
8614 * BufferView_pimpl.C: always update scrollbar top
8615 because pasting text when we're anchored could mean we
8616 miss an update altogether
8618 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8620 * text2.C (init): use rowlist_.end() and not 0.
8621 (insertRow): change to take a RowList::iterator as arg, adjust
8623 (insertParagraph): change to take a RowList::iterator as arg,
8625 (redoParagraphs): remove some debug msgs.
8627 * text.C (appendParagraph): change to take a RowList::iterator
8628 arg, adjust for this.
8629 (breakAgain): add an assert
8630 (breakAgainOneRow): ditto
8632 2003-03-29 John Levon <levon@movementarian.org>
8634 * text2.C: do not clear selection after inc/decDepth
8637 2003-03-29 John Levon <levon@movementarian.org>
8640 * buffer.C: fix broken strerrors according to Lars
8642 2003-03-29 John Levon <levon@movementarian.org>
8644 * converters.C: more Alert cleanups
8646 2003-03-29 John Levon <levon@movementarian.org>
8648 * bufferview_funcs.C: remove pointless Alert
8650 * buffer.C: fix confusing error message when
8651 a template is chmoded 000
8653 2003-03-29 John Levon <levon@movementarian.org>
8657 * BufferView_pimpl.C: Alert fixes
8661 * tabular-old.C: remove unused table compat reading
8663 2003-03-29 John Levon <levon@movementarian.org>
8668 * lyx_cb.C: more Alert cleanups
8670 * lyxfunc.C: don't allow chktex if not latex document
8672 2003-03-29 John Levon <levon@movementarian.org>
8676 * buffer.C: warnings pushed down from support/,
8679 2003-03-29 John Levon <levon@movementarian.org>
8681 * lyxfunc.C: safety check for C-r (revert)
8683 2003-03-29 John Levon <levon@movementarian.org>
8686 * bufferlist.C: several UI fixes using Alert::prompt.
8687 Fix the pointless looping quit code. Fix stupid revert
8692 * lyx_cb.C: use Alert::prompt
8694 * lyx_main.C: remove a silly question
8696 * lyxfunc.C: remove a couple of silly questions,
8699 2003-03-28 John Levon <levon@movementarian.org>
8701 * text2.C: fix bug 974 (End on empty par)
8703 2003-03-28 John Levon <levon@movementarian.org>
8705 * BufferView_pimpl.C:
8707 * lfuns.h: remove do-nothing math greek lfuns
8709 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8711 * lyxgluelength.h (isValidGlueLength): add default arg on
8712 parameter 2. Remove default arg from friend in class.
8714 * lyxlength.h (isValidLength): add default arg on parameter 2.
8715 Remove default arg from friend in class.
8717 * text2.C (LyXText): adjust, initialize refresh_row.
8721 (insertParagraph): adjst
8722 (redoParagraphs): adjust
8723 (fullRebreak): adjust
8724 (updateCounters): adjust
8725 (deleteEmptyParagraphMechanism): first attempt at fixing a
8728 * text.C (top_y): adjust
8729 (setHeightOfRow): adjust
8731 (getRowNearY): adjust
8733 * lyxtext.h: include RowList.h
8734 (~LyXText): not needed anymore, deleted.
8735 (firstRow): modify for RowList
8736 (lastRow): new function
8737 Delete firstrow and lastrow class variables, add a Rowlist
8738 rowlist_ class variable.
8740 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8743 * RowList.C (insert): fix case where it == begin().
8745 2003-03-26 Angus Leeming <leeming@lyx.org>
8747 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8748 the thesaurus dialog.
8750 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8752 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8754 * RowList.[Ch]: new files
8756 * ParagraphList.C (erase): handle the case where it == begin
8759 2003-03-25 John Levon <levon@movementarian.org>
8763 * aspell.C: add new aspell support
8766 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8769 2003-03-25 Angus Leeming <leeming@lyx.org>
8772 * LyXAction.C (init): new LFUN_INSET_INSERT.
8774 * BufferView_pimpl.C (dispatch): split out part of the
8775 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8777 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8780 2003-03-25 Angus Leeming <leeming@lyx.org>
8782 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8784 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8787 * text3.C: remove useless row->height(0)
8789 2003-03-25 John Levon <levon@movementarian.org>
8793 * text3.C: rename the refreshing stuff to better names
8795 2003-03-24 John Levon <levon@movementarian.org>
8797 * BufferView_pimpl.h:
8798 * BufferView_pimpl.C: update layout choice on a mouse
8801 2003-03-23 John Levon <levon@movementarian.org>
8803 * Makefile.am: fix commandtags.h reference
8805 2003-03-22 John Levon <levon@movementarian.org>
8807 * BufferView_pimpl.C:
8812 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8814 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8817 * text.C: take the rtl methods out of line
8819 2003-03-21 André Pönitz <poenitz@gmx.net>
8821 * metricsinfo.[Ch]: new files containing structures to be passed around
8822 during the two-phase-drawing...
8824 2003-03-21 André Pönitz <poenitz@gmx.net>
8826 * lyxtextclass.C: read 'environment' tag.
8828 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8830 * text2.C (removeRow): fix bug 964
8832 2003-03-20 John Levon <levon@movementarian.org>
8836 * text2.C: paint cleanups. Inset::update() dropped font
8839 2003-03-19 John Levon <levon@movementarian.org>
8841 * lyxfunc.C: only fitcursor/markDirty if available()
8843 2003-03-19 John Levon <levon@movementarian.org>
8845 * commandtags.h: rename to ...
8847 * lfuns.h: ... this, and renumber / cleanup
8849 2003-03-19 John Levon <levon@movementarian.org>
8851 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8852 fit the cursor after an lfun
8856 * BufferView_pimpl.h:
8857 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8859 * LyXAction.C: layout-character should have ReadOnly
8861 * ParagraphParameters.C:
8863 * bufferview_funcs.C:
8870 * undo_funcs.C: changes from above
8872 2003-03-18 John Levon <levon@movementarian.org>
8874 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8875 remove it from update()
8877 * lyxfunc.C: update layout choice after an lfun
8879 * text3.C: remove extra updateLayoutChoice()s
8881 2003-03-18 John Levon <levon@movementarian.org>
8883 * text.C: top_y change means full repaint, fix
8884 a drawing bug with cursor movement
8886 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8890 * text2.C: anchor row on setCursor
8892 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8894 * lyxtext.h: remove almost all mutable keywords
8897 * text3.C: remove const keywords accordingly
8899 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8901 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8903 (TeXEnvironment): ditto
8906 2003-03-17 John Levon <levon@movementarian.org>
8908 * text.C (rowBreakPoint): remove attempt to fix displayed
8909 math insets inside a manual label
8911 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8913 * lyxtext.h: remove BufferView* as first arg from almost all class
8915 * other files: adjust.
8917 2003-03-17 John Levon <levon@movementarian.org>
8921 * text2.C: more paint cleanups
8923 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8926 * rowpainter.C: remove "smart" background painting code
8928 2003-03-16 John Levon <levon@movementarian.org>
8933 * text3.C: add helper functions for setting refresh_row/y
8935 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8937 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8938 newline inset which *can* get inserted in the pass_thru layouts.
8939 This is primarily for literate documents.
8941 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8943 * buffer.C: increment LYX_FORMAT to 223
8945 2003-03-14 André Pönitz <poenitz@gmx.net>
8947 * textclass.h: prepare for environment handling, ws changes
8948 * lyxlayout.C: read latexheader and latexfooter tags
8950 2003-03-14 John Levon <levon@movementarian.org>
8952 * text2.C: rewrite ::status() a bit
8954 2003-03-13 John Levon <levon@movementarian.org>
8956 * lyxtext.h: add some docs
8958 2003-03-13 John Levon <levon@movementarian.org>
8963 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8965 2003-03-13 John Levon <levon@movementarian.org>
8967 * text3.C: fix appendix redrawing
8969 2003-03-13 John Levon <levon@movementarian.org>
8971 * text.C (setHeightOfRow):
8973 * rowpainter.C: make appendix mark have the text
8974 "Appendix" so the user knows what it is
8977 * LColor.C: s/appendixline/appendix/ from above
8979 2003-03-13 John Levon <levon@movementarian.org>
8981 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8983 * text.C: fix a getChar(pos) bug properly
8985 2003-03-13 Angus Leeming <leeming@lyx.org>
8988 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8989 Probably only temporary. Let's see how things pan out.
8991 * BufferView.C (unlockInset):
8992 * BufferView_pimpl.C (fitCursor):
8993 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8995 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8996 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8998 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8999 new functions that convert ParagraphParameters to and from a string.
9001 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9002 BufferView::Pimpl's dispatch.
9003 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9005 2003-03-13 André Pönitz <poenitz@gmx.net>
9009 * factory.C: make it aware of InsetEnv
9011 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9013 * text2.C (setCursor): never ask for one past last
9014 (setCursor): add some debugging messages.
9016 * text.C (singleWidth): never ask for one past last
9017 (singleWidth): ditto
9019 (rightMargin): ditto
9020 (rowBreakPoint): ditto
9021 (setHeightOfRow): ditto
9022 (prepareToPrint): ditto
9024 * rowpainter.C (paintBackground): never ask for one past last
9025 (paintText): never ask for one past last
9027 * paragraph_pimpl.C (getChar): make the assert stricter, never
9028 allow the one past last pos to be taken
9030 * paragraph.C (getChar): ws changes only
9032 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9033 (numberOfSeparators): ditto
9034 (numberOfHfills): ditto
9036 2003-03-12 John Levon <levon@movementarian.org>
9042 * paragraph_funcs.C: fix per-buffer authorlists
9044 2003-03-12 John Levon <levon@movementarian.org>
9046 * text.C: fix newline in right address
9048 2003-03-12 Angus Leeming <leeming@lyx.org>
9050 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9051 duplicate those in LyXFunc::dispatch.
9055 * ToolbarDefaults.C:
9056 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9057 Add LFUN_FONTFREE_UPDATE.
9059 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9060 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9062 * bufferview_func.[Ch]: several new functions to facilliate
9063 transfer of data to and from the character dialog.
9065 2003-03-12 John Levon <levon@movementarian.org>
9070 * paragraph_funcs.C:
9071 * paragraph_pimpl.C:
9075 * text3.C: remove META_NEWLINE in favour of an inset
9078 * rowpainter.C: remove paintNewline (done by inset)
9080 2003-03-12 John Levon <levon@movementarian.org>
9082 * paragraph_pimpl.C: complain about bad getChar()s
9083 for a while at least
9085 2003-03-12 John Levon <levon@movementarian.org>
9088 * buffer.C: move paragraph read into a separate function,
9089 a little renaming to reflect that.
9092 * bufferparams.C: remove the author_ids map, not necessary now
9095 * factory.C: moved Buffer::readInset to here
9097 * paragraph_funcs.h:
9098 * paragraph_funcs.C: readParagraph free function moved from
9101 * tabular.C: name change
9103 2003-03-12 John Levon <levon@movementarian.org>
9106 * ParagraphParameters.C: move par params input to
9109 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9110 behave like a normal read from the stream wrt reading
9111 a line vs. a \\token
9113 2003-03-12 John Levon <levon@movementarian.org>
9116 * ParagraphParameters.h:
9117 * ParagraphParameters.C: move output code to a
9120 2003-03-12 John Levon <levon@movementarian.org>
9122 * BufferView.C (insertLyXFile):
9125 * tabular.C: use a parlist iterator for creating the
9128 2003-03-12 John Levon <levon@movementarian.org>
9130 * buffer.C: make current_change static local not
9133 2003-03-12 John Levon <levon@movementarian.org>
9135 * buffer.C: fix insertStringAsLines for change tracking
9137 2003-03-12 John Levon <levon@movementarian.org>
9144 * bufferparams.C: move author list into params. Rename some
9145 functions. Move the header reading into a separate token
9146 loop. Move the header token reading into BufferParams.
9148 2003-03-12 John Levon <levon@movementarian.org>
9150 * changes.C: put debug inside lyxerr.debugging() checks
9152 2003-03-11 André Pönitz <poenitz@gmx.net>
9154 * factory.C: make it aware of InsetHFill
9156 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9158 * buffer.C (latexParagraphs): move function from here...
9159 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9162 2003-03-10 Angus Leeming <leeming@lyx.org>
9164 * LyXAction.C (init): fix bug in poplating array with multiple entries
9165 with the same LFUN (spotted by JMarc).
9167 2003-03-10 John Levon <levon@movementarian.org>
9170 * text2.C: move getColumnNearX() near its
9173 2003-03-10 John Levon <levon@movementarian.org>
9175 * text.C: fix break before a minipage
9177 2003-03-10 John Levon <levon@movementarian.org>
9179 * text.C: fix the last commit
9181 2003-03-09 John Levon <levon@movementarian.org>
9185 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9186 bug 365 (don't break before insets unless needed). Don't
9187 return a value > last under any circumstances.
9189 2003-03-09 Angus Leeming <leeming@lyx.org>
9191 * BufferView_pimpl.C (trackChanges, dispatch): call
9192 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9194 2003-03-09 Angus Leeming <leeming@lyx.org>
9196 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9197 than Dialogs::showAboutlyx().
9199 2003-03-09 Angus Leeming <leeming@lyx.org>
9201 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9202 than Dialogs::showTabularCreate().
9204 2003-03-09 John Levon <levon@movementarian.org>
9208 * text2.C: 3rd arg to nextBreakPoint was always the same.
9211 2003-03-08 John Levon <levon@movementarian.org>
9218 * text2.C: Remove the "main" bit from the "main body"
9221 2003-03-08 John Levon <levon@movementarian.org>
9223 * text.C (leftMargin): The left margin of an empty
9224 manual label paragraph should not include the label width
9227 * text.C (prepareToPrint): don't attempt to measure hfills
9228 for empty manual label paragraphs - the answer should be 0
9230 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9232 * CutAndPaste.C: remove commented code and reindent.
9234 2003-03-08 John Levon <levon@movementarian.org>
9237 * lyxfunc.C: move reloadBuffer()
9240 * BufferView.C: to here
9242 * lyxvc.C: add comment
9245 * vc-backend.C: call bv->reload() to avoid
9246 getStatus() check on MENURELOAD
9248 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9250 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9251 to an old format .dep file.
9253 2003-03-07 Angus Leeming <leeming@lyx.org>
9255 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9256 when the LFUN_MOUSE_RELEASE should have been handled by
9257 inset->localDispatch.
9259 2003-03-07 Angus Leeming <leeming@lyx.org>
9261 * BufferView_pimpl.C (dispatch):
9262 * LyXAction.C (init):
9263 * ToolbarDefaults.C (init):
9265 * lyxfunc.C (getStatus):
9266 remove LFUN_INSET_GRAPHICS.
9268 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9270 2003-03-07 Angus Leeming <leeming@lyx.org>
9273 * LyXAction.C (init):
9274 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9276 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9279 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9281 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9282 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9284 2003-03-07 Angus Leeming <leeming@lyx.org>
9286 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9289 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9291 * ParagraphList.C (front): new function
9294 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9296 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9297 and top_row_offset_. removed var first_y.
9299 * text2.C (LyXText, removeRow):
9301 * BufferView_pimpl.C:
9302 use these methods instead of using first_y
9304 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9306 * text2.C (pasteSelection): adjust for checkPastePossible
9308 * CutAndPaste.C: remove Paragraph * buf and replace with
9309 ParagraphList paragraphs.
9310 (DeleteBuffer): delete
9311 (cutSelection): change the tc type to textclass_type
9312 (copySelection): change the tc type to textclass_type
9313 (copySelection): adjust for ParagraphList
9314 (pasteSelection): change the tc type to textclass_type
9315 (pasteSelection): adjust for Paragraphlist
9316 (nrOfParagraphs): simplify for ParagraphList
9317 (checkPastePossible): simplify for ParagraphList
9318 (checkPastePossible): remove unused arg
9320 * ParagraphList.C (insert): handle the case where there are no
9323 * CutAndPaste.h: make CutAndPaste a namespace.
9325 * text3.C (dispatch): adjust
9327 * text.C (breakParagraph): add a ParagraphList as arg
9329 * paragraph_funcs.C (breakParagraph): change to take a
9330 BufferParams and a ParagraphList as args.
9331 (breakParagraphConservative): ditto
9332 (mergeParagraph): ditto
9333 (TeXDeeper): add a ParagraphList arg
9334 (TeXEnvironment): ditto
9337 * buffer.C (readLyXformat2): adjust
9338 (insertStringAsLines): adjust
9339 (latexParagraphs): adjust
9341 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9342 (cutSelection): adjust
9343 (pasteSelection): adjust
9345 * BufferView_pimpl.C (insertInset): adjust
9347 2003-03-05 Angus Leeming <leeming@lyx.org>
9350 * LyXAction.C (init):
9351 * BufferView_pimpl.C (dispatch):
9352 * lyxfunc.C (getStatus):
9353 remove LFUN_CHILD_INSERT.
9355 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9357 2003-03-05 Angus Leeming <leeming@lyx.org>
9360 * LyXAction.C (init):
9361 * src/factory.C (createInset):
9362 * lyxfunc.C (getStatus):
9363 * text3.C (dispatch):
9364 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9366 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9368 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9370 * ParagraphList.C (insert): handle insert right before end()
9371 (erase): fix cases where it can be first or last paragraph.
9373 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9375 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9376 Paragraph::next and Paragraph::previous
9379 * text.C (breakParagraph): adjust
9381 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9382 BufferParams& as arg.
9383 (breakParagraph): use ParagraphList::insert
9384 (breakParagraphConservative): take a Buffer* instead of a
9385 BufferParams& as arg.
9386 (breakParagraphConservative): use ParagraphList::insert.
9388 * buffer.C (insertStringAsLines): un-const it
9389 (insertStringAsLines): adjust
9391 * ParagraphList.C (insert): new function
9393 * CutAndPaste.C (pasteSelection): adjust
9395 * text.C (backspace): adjust
9397 * tabular.C (SetMultiColumn): adjust
9399 * CutAndPaste.C (cutSelection): adjust
9400 (pasteSelection): adjust
9402 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9403 Buffer const * as arg
9405 * ParagraphList.C (erase): new function
9406 * paragraph_funcs.C (mergeParagraph): use it
9407 (mergeParagraph): make it take a Buffer* instead of a
9408 BufferParams* as arg
9410 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9412 (breakParagraphConservative): ditto
9414 * paragraph.h: remove the breakParagraph friend
9416 * paragraph.C (eraseIntern): new function
9417 (setChange): new function
9419 * paragraph_funcs.C (mergeParagraph): make it take a
9420 ParagraphList::iterator instead of a Paragraph *, adjust
9423 * paragraph.h: move an #endif so that the change tracking stuff
9424 also works in the NO_NEXT case.
9426 2003-03-04 Angus Leeming <leeming@lyx.org>
9429 * LyXAction.C: new LFUN_INSET_MODIFY.
9431 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9432 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9434 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9436 * several files: ws changes only
9438 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9439 (TeXEnvironment): ditto
9442 * buffer.C (makeLaTeXFile): adjust
9443 (latexParagraphs): make it take ParagraphList::iterator as args
9445 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9447 * buffer.C (latexParagraphs): adjust
9449 * paragraph.C (TeXOnePar): move function...
9450 (optArgInset): move function...
9451 (TeXEnvironment): move function...
9452 * paragraph_pimpl.C (TeXDeeper): move function...
9453 * paragraph_funcs.C: ...here
9455 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9457 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9459 * buffer.C (readInset): remove compability code for old Figure and
9462 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9464 * buffer.C: ws changes
9467 * BufferView_pimpl.C: ditto
9470 * bufferlist.h: ditto
9474 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9476 * converter.[Ch]: split into itself +
9479 * Makefile.am: += graph.[Ch] + format.[Ch]
9486 * lyxrc.C: added #include "format.h"
9488 2003-02-27 Angus Leeming <leeming@lyx.org>
9490 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9493 * factory.C (createInset): add "label" to the factory.
9495 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9496 string and do no more.
9498 2003-02-27 Angus Leeming <leeming@lyx.org>
9501 * LyXAction.C (init):
9502 * factory.C (createInset):
9503 * BufferView_pimpl.C (dispatch):
9504 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9506 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9508 * lyxfunc.C (dispatch):
9509 * text3.C (dispatch): pass name to params2string.
9511 2003-02-26 Angus Leeming <leeming@lyx.org>
9513 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9515 Rearrange the ~includes. Strip out the unnecessary ones.
9517 * factory.C (createInset): reformat.
9518 create new insets for the various LFUN_XYZ_APPLY lfuns.
9520 2003-02-26 John Levon <levon@movementarian.org>
9523 * lyxrow.C: add isParStart,isParEnd helpers
9525 * paragraph.h: make isInserted/DeletedText take refs
9527 * paragraph_funcs.h:
9528 * paragraph_funcs.C: remove #if 0'd code
9533 * text.C: use lyxrow helpers above.
9534 Move draw and paint routines to RowPainter.
9535 Make several methods use refs not pointers.
9536 Make backgroundColor() const.
9537 Add markChangeInDraw(), isInInset().
9538 Merge changeRegionCase into changeCase.
9539 Make workWidth() shouldn't-happen code into an Assert.
9542 * rowpainter.C: new class for painting a row.
9545 * vspace.C: make inPixels take a ref
9547 2003-02-26 Angus Leeming <leeming@lyx.org>
9549 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9552 2003-02-25 John Levon <levon@movementarian.org>
9554 * ispell.C: give the forked command a more accurate name
9556 2003-02-22 John Levon <levon@movementarian.org>
9559 * toc.C: make TocItem store an id not a Paragraph *
9562 2003-02-21 Angus Leeming <leeming@lyx.org>
9564 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9565 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9566 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9567 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9568 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9569 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9571 * BufferView_pimpl.C (dispatch):
9572 * LyXAction.C (init):
9573 * factory.C (createInset):
9574 * lyxfunc.C (getStatus, dispatch):
9575 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9577 2003-02-21 Angus Leeming <leeming@lyx.org>
9579 * BufferView_pimpl.C (MenuInsertLyXFile):
9580 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9581 * lyxfunc.C (menuNew, open, doImport):
9582 no longer pass a LyXView & to fileDlg.
9584 2003-02-21 Angus Leeming <leeming@lyx.org>
9586 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9587 * LyXAction.C: change, BIBKEY to BIBITEM.
9588 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9589 Change InsetBibKey to InsetBibitem.
9590 Change BIBKEY_CODE to BIBITEM_CODE.
9591 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9592 * factory.C: replace insetbib.h with insetbibitem.h.
9593 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9594 * paragraph.C: replace insetbib.h with insetbibitem.h.
9595 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9596 Change bibkey() to bibitem().
9597 * text.C: remove insetbib.h.
9598 * text2.C: replace insetbib.h with insetbibitem.h.
9599 change bibkey() to bibitem().
9600 * text3.C: remove insetbib.h.
9601 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9603 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9605 * lyxrc.C (output): enclose user email in quotes (in case there are
9608 2003-02-18 John Levon <levon@movementarian.org>
9610 * buffer.h: add std::
9612 2003-02-17 John Levon <levon@movementarian.org>
9618 * pspell.C: reworking. Especially in ispell, a large
9619 number of clean ups and bug fixes.
9621 * lyxfunc.C: fix revert to behave sensibly
9623 2003-02-17 André Pönitz <poenitz@gmx.net>
9626 * commandtags.h: new LFUN_INSERT_BIBKEY
9636 * paragraph_func.C: remove special bibkey handling
9638 2003-02-17 John Levon <levon@movementarian.org>
9640 * text.C (Delete): fix case where delete at the end of
9641 the very first paragraph would not merge the pars
9643 2003-02-17 John Levon <levon@movementarian.org>
9645 * lyxrow.C: fix lastPrintablePos()
9647 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9649 * bufferparams.C (writeLaTeX): add a std:here
9651 * buffer.C: and remove a using directive there
9653 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9655 * buffer.C (makeLaTeXFile): move the code that generates the
9658 * bufferparams.C (writeLaTeX): ... in this new method
9660 * LaTeXFeatures.C (getEncodingSet): make const
9661 (getLanguages): make const
9663 * MenuBackend.C (binding): returns the binding associated to this
9665 (add): sets the status of each item by calling getStatus. Adds
9667 (read): add support for OptSubMenu
9668 (expand): remove extra separator at the end of expanded menu
9670 2003-02-15 John Levon <levon@movementarian.org>
9673 * BufferView_pimpl.C:
9675 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9676 inset code that had no actual effect. Remove unneeded status
9679 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9681 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9684 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9686 * text.C (drawLengthMarker): also draw an arrow marker for
9687 symbolic lengths (medskip...)
9689 2003-02-14 John Levon <levon@movementarian.org>
9692 * tabular.C: better method names
9694 2003-02-14 John Levon <levon@movementarian.org>
9696 * BufferView_pimpl.C:
9701 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9702 it's a more accurate name. Remove some pointless uses.
9704 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9706 * text2.C (LyXText): change order of initilizers to shut off
9709 2003-02-14 John Levon <levon@movementarian.org>
9711 * buffer.C: use ParIterator for getParFromID()
9715 * paragraph_pimpl.h:
9716 * paragraph_pimpl.C: remove unused getParFromID()
9718 2003-02-14 John Levon <levon@movementarian.org>
9720 * buffer.C: remove some very old #if 0'd parse code
9722 2003-02-13 John Levon <levon@movementarian.org>
9726 * text2.C: move hfillExpansion(), numberOfSeparators(),
9727 rowLast(), rowLastPrintable(), numberofHfills(),
9728 numberOfLabelHfills() ...
9731 * lyxrow.C: ... to member functions here.
9736 * text.C: remove LyXText::beginningOfMainBody(), and call
9737 p->beginningOfMainBody() directly. Move the check for
9738 LABEL_MANUAL into the latter.
9745 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9751 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9752 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9754 2003-02-13 John Levon <levon@movementarian.org>
9756 * CutAndPaste.C: remove debug
9758 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9760 * paragraph.C (asString): remove two unused variables
9762 * lyxtextclass.C (readTitleType):
9764 (LyXTextClass): handle new members titletype_ and titlename_
9766 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9768 2003-02-09 John Levon <levon@movementarian.org>
9771 * buffer.C: replace hand-coded list with a map for the dep clean
9773 2003-02-08 John Levon <levon@movementarian.org>
9775 * LaTeX.C: consolidate code into showRunMessage() helper
9777 2003-02-08 John Levon <levon@movementarian.org>
9782 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9783 and pass the size in explicitly
9785 * BufferView_pimpl.h:
9786 * BufferView_pimpl.C:
9788 * BufferView.C: add getCurrentChange()
9790 * BufferView_pimpl.h:
9791 * BufferView_pimpl.C: handle change lfuns
9793 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9794 for changes. Mark pasted paragraphs as new.
9796 * support/lyxtime.h:
9797 * support/lyxtime.C:
9798 * DepTable.C: abstract time_t as lyx::time_type
9801 * LColor.C: add colours for new text, deleted text, changebars
9803 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9804 package use "usenames" option.
9808 * LyXAction.C: add change lfuns
9812 * author.C: author handling
9815 * buffer.C: add a per-buffer author list, with first entry as
9816 current author. Handle new .lyx tokens for change tracking. Output
9817 author list to .lyx file. Output dvipost stuff to .tex preamble.
9818 Bump lyx format to 222.
9821 * bufferlist.C: add setCurrentAuthor() to reset current author details
9825 * bufferparams.C: add param for tracking
9827 * bufferview_funcs.C: output change info in minibuffer
9831 * changes.C: add change-tracking structure
9834 * debug.C: add CHANGES debug flag
9837 * lyxfind.C: add code for finding the next change piece
9840 * lyxrc.C: add user_name and user_email
9843 * lyxrow.C: add a metric for the top of the text line
9846 * text.C: implement accept/rejectChange()
9849 * text.C: paint changebars. Paint new/deleted text in the chosen
9850 colours. Strike through deleted text.
9854 * paragraph_pimpl.h:
9855 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9856 in the current change to the insert functions. Rework erase to
9857 mark text as deleted, adding an eraseIntern() and a range-based
9858 erase(). Implement per-paragraph change lookup and
9861 * paragraph_funcs.C: Fixup paste for change tracking.
9863 * tabular.C: mark added row/columns as new.
9865 * text.C: fix rowLast() to never return -1. Don't allow
9866 spellchecking of deleted text. Track transpose changes. Don't
9867 allow paragraph break or merge where appropriate.
9869 * text2.C: leave cursor at end of selection after a cut.
9871 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9873 * text.C (getLengthMarkerHeight):
9874 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9875 visible on screen too.
9877 2003-02-07 John Levon <levon@movementarian.org>
9879 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9881 2003-02-05 Angus Leeming <leeming@lyx.org>
9883 * lyxserver.C (read_ready): revert my patch of 11 September last year
9884 as it sends PC cpu through the roof. Presumably this means that
9885 the lyxserver will no longer run on an Alpha...
9887 2003-01-30 Angus Leeming <leeming@lyx.org>
9889 * factory.C (createInset): create an InsetCommandParam of type "index"
9890 and use it to 'do the right thing'.
9892 * text2.C (getStringToIndex): ensure that cursor position is always
9893 reset to the reset_cursor position.
9895 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9897 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9900 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9904 * lyxfunc.C: Output messages with identical spelling, punctuation,
9907 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9909 * MenuBackend.C (expandFormats): List only viewable export formats
9912 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9915 * lyxfunc.C (getStatus): Make sure that formats other than
9916 "fax" can also be disabled
9918 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9920 * text3.C (dispatch): put the lfuns that insert insets in 3
9921 groups, and call doInsertInset with appropriate arguments.
9922 (doInsertInset): new function, that creates an inset and inserts
9923 it according to some boolean parameters.
9925 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9927 * buffer.C (readFile): remember to pass on 'par' when calling
9928 readFile recursively.
9930 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9932 * MenuBackend.C (expandFormats): add "..." to import formats.
9934 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9936 * paragraph.C (asString): Remove XForms RTL hacks.
9938 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9939 * buffer.C: fix typo
9941 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9943 * Makefile.am (LIBS): delete var
9944 (lyx_LDADD): add @LIBS@ here instead.
9946 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9948 * Clarify the meaning of "wheel mouse jump"
9950 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9952 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9955 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9957 * importer.C (Loaders): do not preallocate 3 elements in the
9958 vector, since one ends up with 6 elements otherwise
9960 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9962 * DepTable.C (write): write the file name as last element of the
9963 .dep file (because it may contain spaces)
9964 (read): read info in the right order
9966 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9968 * paragraph_pimpl.C (simpleTeXBlanks):
9969 (simpleTeXSpecialChars):
9970 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9972 * tabular.C (latex): add some missing case statements. Reindent.
9974 * MenuBackend.C (expandToc): remove unused variable.
9976 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9985 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9988 2003-01-05 John Levon <levon@movementarian.org>
9991 * BufferView.C: add getEncoding()
9994 * kbsequence.C: do not store last keypress
9997 * lyxfunc.C: store last keypress here instead. Pass encoding
10000 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10002 * lyx_main.C (init): remove annoying error message when following
10003 symbolic links (bug #780)
10005 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10007 * text.C (insertChar):
10008 * lyxrc.C (getDescription): remove extra spaces
10010 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10012 * lyxrc.C (getDescription): remove extra spaces
10014 2002-12-20 John Levon <levon@movementarian.org>
10016 * text3.C: hack fix for page up/down across tall rows
10018 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10020 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10023 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10025 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10026 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10027 thesaurus is not compiled in
10029 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10031 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10033 2002-12-16 Angus Leeming <leeming@lyx.org>
10036 * lyx_main.C (init): remove override_x_deadkeys stuff.
10038 2002-12-12 John Levon <levon@movementarian.org>
10040 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10041 insert. Only remove shift modifier under strict
10044 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10046 * MenuBackend.C (expandToc): fix crash.
10048 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10050 * MenuBackend.C (expandToc): gettext on float names.
10052 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10054 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10055 implement bool empty() [bug 490]
10057 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10059 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10061 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10063 * several files: ws changes
10065 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10067 * text2.C (setCounter): clean up a bit, use boost.format.
10068 (updateCounters): initialize par upon declaration.
10070 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10071 if the layout exists. We do not just store the layout any more.
10072 (SwitchLayoutsBetweenClasses): use boost.format
10074 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10076 * converter.C (convert): if from and to files are the same, use a
10077 temporary files as intermediary
10079 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10082 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10084 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10086 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10088 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10090 * tabular.C (asciiPrintCell): use string(size, char) instead of
10093 * sgml.C (openTag): fix order of arguments to string constructor
10096 * lyxfunc.C (dispatch): use boost.format
10098 * lots of files: change "c" -> 'c'
10100 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10102 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10104 2002-11-25 Angus Leeming <leeming@lyx.org>
10106 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10108 * lyx_main.C (init): compile fix.
10110 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10112 * lyx_cb.C (start): boost.formatify
10113 do not include <iostream>
10115 * lengthcommon.C: ws only
10117 * boost-inst.C,BoostFormat.h: add more explict instantations
10119 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10121 * lots of files: handle USE_BOOST_FORMAT
10123 2002-11-21 John Levon <levon@movementarian.org>
10125 * pspell.C: fix compile
10127 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10129 * lyxfunc.C (dispatch): use boost::format
10133 * lyxfont.C (stateText): use boost::format
10135 * lyx_main.C (LyX): use boost::format
10137 (queryUserLyXDir): ditto
10138 (readRcFile): ditto
10140 (typedef boost::function): use the recommened syntax.
10142 * importer.C (Import): use boost::format
10144 * debug.C (showLevel): use boost::format
10146 * converter.C (view): use boost::format
10151 * bufferview_funcs.C (currentState): use boost::format
10153 * bufferlist.C (emergencyWrite): use boost::format
10155 * buffer.C (readLyXformat2): use boost::format
10156 (parseSingleLyXformat2Token): ditto
10158 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10160 * LaTeX.C (run): use boost::format
10162 * Chktex.C (scanLogFile): use boost::format
10164 * BufferView_pimpl.C (savePosition): use boost::format
10165 (restorePosition): ditto
10166 (MenuInsertLyXFile): ditto
10168 * BoostFormat.h: help file for explicit instation.
10170 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10172 * tabular.C (latex): Support for block alignment in fixed width
10175 2002-11-17 John Levon <levon@movementarian.org>
10177 * BufferView_pimpl.C:
10179 * lyxfunc.C: split filedialog into open/save
10181 2002-11-08 Juergen Vigna <jug@sad.it>
10183 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10184 by my last patch (hopefully).
10186 2002-11-08 John Levon <levon@movementarian.org>
10195 * toc.C: ParConstIterator, and use it (from Lars)
10197 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10199 * lyxtextclass.[Ch]: revise and add doxygen comments
10201 2002-11-07 John Levon <levon@movementarian.org>
10203 * text.C: fix progress value for spellchecker
10205 * toc.C: fix navigate menu for insetwrap inside minipage
10207 * paragraph_funcs.C: added FIXME for suspect code
10209 2002-11-07 John Levon <levon@movementarian.org>
10211 * BufferView_pimpl.C: fix redrawing of insets
10214 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10216 * text2.C (updateCounters): fix bug 668
10218 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10220 * text3.C (dispatch): Do not make the buffer dirty when moving the
10223 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10225 * vc-backend.C: STRCONV
10226 (scanMaster): ditto
10228 * text2.C (setCounter): STRCONV
10230 * paragraph.C (asString): STRCONV
10232 * lyxlength.C (asString): STRCONV
10233 (asLatexString): ditto
10235 * lyxgluelength.C (asString): STRCONV
10236 (asLatexString): ditto
10238 * lyxfunc.C (dispatch): STRCONV
10241 * lyxfont.C (stateText): STRCONV
10243 * importer.C (Import): STRCONV
10245 * counters.C (labelItem): STRCONV
10246 (numberLabel): ditto
10247 (numberLabel): remove unused ostringstream o
10252 * bufferview_funcs.C (currentState): STRCONV
10254 * buffer.C (readFile): STRCONV
10255 (asciiParagraph): ditto
10256 (makeLaTeXFile): ditto
10258 * Spacing.C (writeEnvirBegin): STRCONV
10260 * LaTeXFeatures.C (getLanguages): STRCONV
10261 (getPackages): ditto
10263 (getBabelOptions): ditto
10264 (getTClassPreamble): ditto
10265 (getLyXSGMLEntities): ditto
10266 (getIncludedFiles): ditto
10270 (scanAuxFile): ditto
10273 * LString.h: add the STRCONV macros
10275 * BufferView_pimpl.C (savePosition): STRCONV
10276 (restorePosition): ditto
10277 (MenuInsertLyXFile): ditto
10279 * vc-backend.C (scanMaster): change from submatch[...] to
10282 * funcrequest.C: include config.h
10284 * factory.C: include config.h
10286 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10288 * box.C: include config.h
10290 * LaTeX.C (scanAuxFile): change from submatch[...] to
10294 2002-10-25 Angus Leeming <leeming@lyx.org>
10296 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10298 * ispell.[Ch] (setError): new method.
10299 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10300 Use setError() insetead of goto END.
10302 * lyx_cb.C (AutoSave): move out child process into new class
10305 2002-10-30 John Levon <levon@movementarian.org>
10307 * text3.C: make start appendix undoable
10309 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10311 * lyxlength.C (inPixels): Fix returned value.
10313 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10316 2002-10-24 Angus Leeming <leeming@lyx.org>
10318 * lyxgluelength.h: no need to forward declare BufferParams
10319 or BufferView, so don't.
10321 2002-10-21 John Levon <levon@movementarian.org>
10323 * BufferView.C: menuUndo ->undo, redo
10325 * BufferView.h: document, remove dead, make some methods private
10327 * paragraph_funcs.h:
10328 * paragraph_funcs.C:
10329 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10334 * sgml.C: move sgml open/close tag into sgml.C
10336 * bufferview_funcs.h: unused prototype
10339 * lyxfunc.C: remove unused
10342 * text.C: remove unused
10344 2002-10-21 John Levon <levon@movementarian.org>
10348 * BufferView_pimpl.h:
10349 * BufferView_pimpl.C: fix mouse wheel handling based on
10350 patch from Darren Freeman
10352 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10354 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10356 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10358 * lyxlength.C (inPixels): Fix hanfling of negative length.
10359 Fix LyXLength::MU case.
10361 2002-10-16 John Levon <levon@movementarian.org>
10363 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10365 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10367 * converter.C (view): add support for $$i (file name) and $$p
10368 (file path) for the viewer command. If $$i is not specified, then
10369 it is appended to the command (for compatibility with old syntax)
10371 2002-10-14 Juergen Vigna <jug@sad.it>
10373 * undo_funcs.C (textHandleUndo): alter the order in which the
10374 new undopar is added to the LyXText, as we have to set first
10375 the right prev/next and then add it as otherwise the rebuild of
10376 LyXText is not correct. Also reset the cursor to the right paragraph,
10377 with this IMO we could remove the hack in "redoParagraphs()".
10379 2002-10-09 Angus Leeming <leeming@lyx.org>
10381 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10382 to turn off an optimisation if a new inset is to be inserted.
10384 2002-10-11 André Pönitz <poenitz@gmx.net>
10386 * lyxtext.h: make some functions public to allow access
10387 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10389 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10391 * text3.C (dispatch): when changing layout, avoid an infinite loop
10394 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10396 * lyxrc.C (read): treat a viewer or converter command of "none" as
10399 * MenuBackend.C (expandFormats): for an update, also allow the
10400 formats that are not viewable
10402 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10403 script if it is newer than the lyxrc.defaults in user directory
10405 2002-10-07 André Pönitz <poenitz@gmx.net>
10407 * text.C: Vitaly Lipatov's small i18n fix
10409 2002-09-25 Angus Leeming <leeming@lyx.org>
10411 * ispell.h: doxygen fix.
10413 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10415 * buffer.h (readFile): Add a new argument to the method, to allow
10416 reading of old-format templates.
10418 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10420 * toc.C (getTocList): Get TOC from InsetWrap.
10422 2002-09-16 John Levon <levon@movementarian.org>
10424 * lyxfunc.C: check tabular for cut/copy too
10426 2002-09-12 John Levon <levon@movementarian.org>
10428 * LyXAction.C: tidy
10431 * factory.C: add header
10433 * paragraph_funcs.h:
10434 * paragraph_funcs.C: cleanup
10436 2002-09-11 John Levon <levon@movementarian.org>
10438 * PrinterParams.h: odd/even default to true
10440 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10442 * PrinterParams.h: update printer parameters for new xforms dialog
10444 2002-09-11 Angus Leeming <leeming@lyx.org>
10446 * lyxserver.C (read_ready): re-write to make it more transparent
10447 and to make it work in coherent fashion under Tru64 Unix.
10449 2002-09-11 André Pönitz <poenitz@gmx.net>
10453 * text3.C: implement LFUN_WORDSEL
10455 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10457 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10458 make floatlist_ a boost::shared_ptr<FloatList>
10460 * lyxtextclass.C: include FloatList.h
10461 (LyXTextClass): initialize floatlist_
10462 (TextClassTags): add TC_NOFLOAT
10463 (Read): match "nofloat" to TC_NOFLOAT and use it.
10464 (readFloat): modify call to floatlist_
10468 * FloatList.[Ch] (FloatList): remove commented out float
10470 (erase): new function
10472 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10474 * MenuBackend.C (expandToc): fix crash when there is no document
10477 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10479 * many files: Add insetwrap.
10481 2002-09-09 John Levon <levon@movementarian.org>
10483 * text2.C: remove confusing and awkward depth wraparound
10485 2002-09-09 John Levon <levon@movementarian.org>
10487 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10490 * buffer.C: remove getIncludeonlyList()
10493 * lyxfunc.C: remove headers
10495 2002-09-09 Juergen Vigna <jug@sad.it>
10497 * text.C (getColumnNearX): fix form Michael this is most
10498 probably a cut&paste bug.
10500 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10502 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10504 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10505 references, ws changes.
10507 * text2.C (init): update counters after init
10508 (insertParagraph): no need to set counter on idividual paragraphs.
10509 (setCounter): access the counters object in the textclass object
10510 on in the buffer object.
10511 (updateCounters): ditto
10513 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10514 shared_ptr<Counters> to avoid loading counters.h in all
10516 (LyXTextClass): initialize ctrs_
10517 (TextClassTags): add TC_COUNTER, and ...
10518 (Read): use it here.
10519 (CounterTags): new tags
10520 (readCounter): new function
10521 (counters): new funtion
10522 (defaultLayoutName): return a const reference
10524 * counters.C (Counters): remove contructor
10525 (newCounter): remove a couple of unneeded statements.
10526 (newCounter): simplify a bit.
10527 (numberLabel): some small formatting changes.
10529 * buffer.[Ch]: remove all traces of counters, move the Counters
10530 object to the LyXTextClass.
10532 2002-09-06 Alain Castera <castera@in2p3.fr>
10534 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10535 package to set the horizontal alignment on fixed width columns.
10538 * lyx_sty.h: added tabularnewline macro def.
10540 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10542 2002-09-06 John Levon <levon@movementarian.org>
10544 * LyXAction.C: tooltips for sub/superscript
10546 * MenuBackend.C: a bit more verbose
10548 * lyxfunc.C: tiny clean
10550 * undo_funcs.C: document undo_frozen
10552 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10554 * counters.C (Counters): add missing algorithm counter.
10556 * text2.C (setCounter): lookup the counter with layouts latexname
10557 instead of by section number.
10558 (setCounter): use a hackish way to lookup the correct enum
10560 a float name->type change
10561 reset enum couners with counter name directly instead of depth value.
10563 * counters.C (Counters): remove the push_backs, change to use the
10564 float type not the float name.
10565 (labelItem): remove unused string, float name->type change
10567 * counters.h: don't include vector, loose the enums and sects vectors
10569 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10571 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10572 (Read): add float->TC_FLOAT to textclassTags
10573 (Read): and handle it in the switch
10574 (readFloat): new function
10576 * FloatList.C (FloatList): comment out the hardcoded float
10579 * lyxlayout.h: ws change.
10581 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10583 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10585 2002-09-03 Angus Leeming <leeming@lyx.org>
10587 * BufferView_pimpl.h: qualified name is not allowed in member
10588 declaration: WorkArea & Pimpl::workarea() const;
10590 * factory.C: added using std::endl directive.
10592 * text3.C: added using std::find and std::vector directives.
10594 2002-08-29 André Pönitz <poenitz@gmx.net>
10597 * text2.C: remove unused member number_of_rows
10600 * BufferView2.C: remove file, move contents to...
10601 * BufferView.C: ... here
10603 * BufferView_pimpl.C:
10604 * factory.C: move more inset creation to factory
10606 * vspace.C: avoid direct usage of LyXText, ws changes
10609 don't provide direct access to WorkArea, use two simple
10610 acessors haveSelction() and workHeight() instead
10613 2002-08-29 John Levon <levon@movementarian.org>
10615 * BufferView_pimpl.C (dispatch): do not continue when
10618 2002-08-28 André Pönitz <poenitz@gmx.net>
10620 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10623 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10625 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10627 * buffer.C: increment LYX_FORMAT to 221
10629 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10630 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10632 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10634 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10636 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10638 * factory.C (createInset): use LyXTextClass::floats
10640 * MenuBackend.C (expandFloatListInsert):
10641 (expandFloatInsert):
10644 * text2.C (setCounter):
10646 * LaTeXFeatures.C (useFloat):
10647 (getFloatDefinitions):
10649 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10651 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10652 floatlist_, with accessor floats().
10654 * FloatList.h: remove global FloatList
10656 2002-08-26 André Pönitz <poenitz@gmx.net>
10658 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10662 * BufferView_pimpl.C:
10663 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10665 2002-08-25 John Levon <levon@movementarian.org>
10667 * LyXAction.C: fix margin note description
10669 2002-08-24 John Levon <levon@movementarian.org>
10673 * bufferview_funcs.C:
10675 * undo_funcs.C: cleanups
10677 * lyxfunc.C: disable CUT/COPY when no selection
10679 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10681 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10682 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10684 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10685 Add backward compatibility to "mono", "gray" and "no".
10687 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10689 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10690 (and file_format >= 200).
10692 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10694 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10696 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10698 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10700 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10702 * BufferView_pimpl.C:
10709 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10710 inset and code to make it work with the paragraph code. The inset
10711 can be anywhere in the paragraph, but will only do the expected
10712 thing in LaTeX if the layout file contains the parameter line
10714 (or more generally, a nonzero value) for that layout.
10716 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10718 * paragraph.h: remove the declaration of undefined counters class
10721 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10723 * text2.C (setCounter): fixed enumeration mis-count as reported by
10724 Dr. Richard Hawkins.
10726 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10728 * paragraph_funcs.h: remove some unneeded includes
10730 * text.C (backspace): pasteParagraph now in global scipe
10732 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10733 (pasteSelection): ditto
10735 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10736 * paragraph_funcs.C (pasteParagraph): ... here
10738 2002-08-20 André Pönitz <poenitz@gmx.net>
10740 * commandtags.h: new LFUNs for swapping/copying table row/colums
10743 * lyxfunc.C: support for new lfuns
10745 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10748 * buffer.[Ch]: remove NO_COMPABILITY stuff
10750 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10752 * boost.C (throw_exception): new file, with helper function for
10753 boost compiled without exceptions.
10758 * ParameterStruct.h:
10759 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10761 * bufferlist.C (emergencyWriteAll): use boost bind
10763 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10765 * text.C: include paragraph_funcs.h
10766 (breakParagraph): breakParagraph is now in global scope
10768 * paragraph_funcs.[Ch]: new files
10770 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10773 * buffer.C: include paragraph_funcs.h
10774 (insertStringAsLines): breakParagraph is now in global scope
10776 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10779 * CutAndPaste.C: include paragraph_funcs.h
10780 (cutSelection): breakParagraphConservative is now in global scope
10781 (pasteSelection): ditto
10783 * buffer.h: declare oprator== and operator!= for
10784 Buffer::inset_iterator
10786 * bufferlist.C (emergencyWrite): don't use fmt(...)
10788 * text3.C: add using std::endl
10790 * BufferView.C (moveCursorUpdate): remove default arg
10792 2002-08-20 André Pönitz <poenitz@gmx.net>
10794 * buffer.[Ch]: move inline functions to .C
10797 * BufferView_pimpl.C:
10799 * buffer.[Ch]: use improved inset_iterator
10802 * paragraph.[Ch]: write one paragraph at a time
10804 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10806 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10807 style if style is not specified.
10809 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10811 * text2.C (setCounter): when searching for right label for a
10812 caption, make sure to recurse to parent insets (so that a caption
10813 in a minipage in a figure float works) (bug #568)
10815 2002-08-20 André Pönitz <poenitz@gmx.net>
10817 * text3.C: new file for LyXText::dispatch() and helpers
10819 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10821 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10823 2002-08-19 André Pönitz <poenitz@gmx.net>
10826 * text.C: new LyXText::dispatch()
10828 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10830 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10832 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10834 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10837 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10839 * Makefile.am: use $(variables) instead of @substitutions@
10841 2002-08-15 André Pönitz <poenitz@gmx.net>
10844 * BufferView_pimpl.C: streamlining mathed <-> outer world
10848 * LyXAction.C: remove unused LFUN_MATH
10850 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10852 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10854 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10856 * paragraph.C (Paragraph): reformat a bit
10857 (cutIntoMinibuffer): use builtin InsetList function instad of
10861 * buffer.C: include boost/bind.hpp, add using std::for_each
10862 (writeFileAscii): use ParagraphList iterators
10863 (validate): use for_each for validate traversal of paragraphs
10864 (getBibkeyList): use ParagraphList iterators
10865 (resizeInsets): use for_each to resizeInsetsLyXText for all
10867 (getParFromID): use ParagraphList iterators
10869 * BufferView2.C (lockInset): use paragraph list and iterators
10871 2002-08-14 John Levon <levon@movementarian.org>
10873 * lyxserver.C: remove spurious xforms include
10875 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10877 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10879 2002-08-13 André Pönitz <poenitz@gmx.net>
10882 * lyxfunc.C: further cleaning
10884 2002-08-13 André Pönitz <poenitz@gmx.net>
10886 * funcrequest.h: new constructor
10888 * funcrequest.C: move stuff here from .h
10891 * BufferView_pimpl.C:
10894 * lyxfunc.C: subsequent changes
10896 * lyxfunc.h: new view() member function
10898 * lyxfunc.C: subsequent changes
10900 2002-08-13 Angus Leeming <leeming@lyx.org>
10903 * BufferView_pimpl.C:
10911 changes due to the changed LyXView interface that now returns references
10912 to member variables not pointers.
10914 2002-08-13 Angus Leeming <leeming@lyx.org>
10916 * WordLangTuple (word, lang_code): return references to strings,
10921 * lyxtext.h: forward-declare WordLangTuple.
10926 * text.C: #include "WordLangTuple.h".
10929 * text.C: (selectNextWordToSpellcheck): constify return type.
10931 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10937 * paragraph_pimpl.h:
10940 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10941 suggested by Angus.
10942 Made updateCounter always count from start of buffer, and removed
10943 second argument (par).
10944 Reverted floats number display to '#'. Perhaps I'll try again when the
10945 code base is sanitized a bit.
10947 2002-08-12 Angus Leeming <leeming@lyx.org>
10949 * buffer.[Ch] (getLabelList): constify.
10951 2002-08-07 André Pönitz <poenitz@gmx.net>
10953 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10955 * funcrequest.h: extension to keep mouse (x,y) position
10957 2002-08-12 Juergen Vigna <jug@sad.it>
10959 * BufferView2.C (insertErrors): forbid undo when inserting error
10962 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10964 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10966 * ParagraphList.[Ch]: new files
10968 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10970 * BufferView2.C (lockInset): ParagraphList changes
10973 * bufferlist.C: ditto
10977 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10979 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10980 unused class variable counter_,
10982 * paragraph.[Ch] (getFirstCounter): delete unused function
10984 * counters.C: include LAssert.h
10985 (reset): add a new function with no arg, change other version to
10986 not have def. arg and to not allow empty arg.
10988 * text2.C (setCounter): remove empty arg from call to Counters::reset
10990 2002-08-11 John Levon <levon@movementarian.org>
10992 * Makefile.am: add WordLangTuple.h
10994 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10996 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10997 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10999 * insets/insettext.C: InsetList changes
11001 * graphics/GraphicsSupport.C (operator()): InsetList changes
11003 * toc.C (getTocList): InsetList changes
11005 * paragraph_pimpl.[Ch]: InsetList changes
11007 * paragraph.[Ch]: InsetList changes
11009 * buffer.C (inset_iterator): InsetList changes
11010 (setParagraph): ditto
11011 * buffer.h (inset_iterator): ditto
11012 * iterators.C (operator++): ditto
11013 * iterators.h: ditto
11015 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11017 * InsetList.[Ch]: new files, most InsetList handling moved out of
11020 * BufferView2.C (removeAutoInsets): InsetList changes
11022 (ChangeInsets): ditto
11024 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11026 * paragraph_pimpl.h (empty): new function
11028 * paragraph.[Ch] (empty): new function
11030 * other files: use the new Paragraph::empty function
11032 2002-08-09 John Levon <levon@movementarian.org>
11034 * lyxtext.h: remove unused refresh_height
11036 2002-08-09 John Levon <levon@movementarian.org>
11043 * paragraph.C: move sgml char escaping out of paragraph
11046 * paragraph.C: remove id setter
11050 * paragraph_pimpl.C: remove dead tex_code_break_column
11052 * bufferview_funcs.C: small cleanup
11054 * lyxfunc.C: remove dead proto
11056 * lyxtext.h: make some stuff private. Remove some dead stuff.
11058 * lyxgluelength.C: make as[LyX]String() readable
11060 2002-08-08 John Levon <levon@movementarian.org>
11065 * ToolbarDefaults.C:
11068 * toc.C: lyxaction cleanup
11070 2002-08-08 John Levon <levon@movementarian.org>
11072 * BufferView2.C: small cleanup
11075 * lyxfind.C: move unnecessary header into the .C
11077 2002-08-08 John Levon <levon@movementarian.org>
11079 * funcrequest.h: just tedious nonsense
11082 * lyx_main.C: cleanups
11085 * vspace.C: remove dead header lyx_main.h
11087 2002-08-07 Angus Leeming <leeming@lyx.org>
11090 * paragraph_pimpl.h:
11091 Forward declare class Counters in paragraph.h by moving the ctrs member
11092 variable into Paragraph::Pimpl.
11093 (counters): new method, returning a reference to pimpl_->ctrs.
11095 * text2.C: ensuing changes.
11097 2002-08-07 John Levon <levon@movementarian.org>
11099 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11101 * BufferView_pimpl.C: announce X selection on double/triple
11104 * lyx_main.C: use correct bool in batch dispatch
11106 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11108 2002-08-07 André Pönitz <poenitz@gmx.net>
11110 * funcrequest.h: new class to wrap a kb_action and its argument
11113 * BufferView_pimpl[Ch]:
11117 * lyxrc.C: subsequent changes
11120 2002-08-07 John Levon <levon@movementarian.org>
11122 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11123 document options change.
11125 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11130 * makefile.am: move counters functionality over from
11131 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11133 2002-08-06 John Levon <levon@movementarian.org>
11135 * WordLangTuple.h: new file for word + language code tuple
11146 * BufferView2.C: use WordLangTuple
11149 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11151 2002-08-06 John Levon <levon@movementarian.org>
11153 * lyx_main.C: fix cmdline batch handling
11155 2002-08-06 André Pönitz <poenitz@gmx.net>
11157 * lyxrc.C: set default for show_banner to true
11159 2002-08-06 John Levon <levon@movementarian.org>
11161 * pspell.C: fix a crash, and allow new aspell to work
11163 2002-08-06 John Levon <levon@movementarian.org>
11166 * kbmap.C: small cleanup
11169 * vspace.C: add const
11171 2002-08-05 John Levon <levon@movementarian.org>
11173 * LyXAction.C: back to tabular-insert
11175 2002-08-04 John Levon <levon@movementarian.org>
11178 * BufferView.C: cosmetic change
11180 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11190 * BufferView2.C: purge all "Lyx" not "LyX" strings
11193 * lyxcursor.C: attempt to add some documentation
11198 * ToolbarDefaults.C:
11199 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11200 merge with LFUN_TABULAR_INSERT
11207 * pspell.C: split up i/pspell implementations into separate
11208 files, many cleanups
11210 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11212 * text2.C: some cleanup
11214 * lyxfunc.C: don't check for isp_command == "none" any more, it
11215 didn't make any sense
11217 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11222 * makefile.am: move counters functionality over
11223 from text2.C/paragraph.[Ch] to counters.[Ch], and
11225 2002-08-02 John Levon <levon@movementarian.org>
11227 * buffer.C: s/lyxconvert/lyx2lyx/
11229 2002-08-02 Angus Leeming <leeming@lyx.org>
11231 * lyxlex.C: revert John's change as it breaks reading of the user
11234 2002-08-02 Angus Leeming <leeming@lyx.org>
11236 * importer.C (Import):
11237 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11238 changes due to LyXView::view() now returning a boost::shared_ptr.
11240 2002-08-02 John Levon <levon@movementarian.org>
11242 * lyxlex.C: small cleanup
11244 2002-08-02 John Levon <levon@movementarian.org>
11246 * text2.C (status): small cleanup, no logic change
11248 2002-08-01 John Levon <levon@movementarian.org>
11251 * buffer.C (writeFile): don't output alerts, caller
11255 * lyx_cb.C: from above
11257 * lyxfunc.C: allow to open non-existent files
11259 2002-07-31 John Levon <levon@movementarian.org>
11261 * lyxserver.C: don't let incidental errors get
11264 2002-07-30 John Levon <levon@movementarian.org>
11266 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11268 2002-07-30 John Levon <levon@movementarian.org>
11271 * lyxserver.C: remove I/O callback too
11273 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11275 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11278 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11280 * many files: strip,frontStrip -> trim,ltrim,rtrim
11282 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11284 * PrinterParams.h: remove extern containsOnly, and include
11285 support/lstrings.h instead.
11287 * LaTeX.C (scanAuxFile): modify because of strip changes
11289 * buffer.C (makeLaTeXFile): ditto
11290 * bufferparams.C (writeFile): ditt
11291 * lyxfont.C (stateText): ditto
11292 * lyxserver.C (read_ready): ditto
11293 * vc-backend.C (scanMaster): ditto
11295 * BufferView_pimpl.h: ws changes
11297 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11299 2002-07-26 André Pönitz <poenitz@gmx.net>
11301 * kb_sequence.C: remove unnedred usings
11303 2002-07-26 Juergen Vigna <jug@sad.it>
11305 * lyxfind.C (LyXReplace): we have to check better if the returned
11306 text is not of theLockingInset()->getLockingInset().
11308 2002-07-25 Juergen Vigna <jug@sad.it>
11310 * lyxfind.C (LyXReplace): don't replace if we don't get the
11313 * undo_funcs.C (createUndo): remove debugging code.
11315 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11317 * buffer.C (parseSingleLyXformat2Token): Use default placement
11318 when reading old floats.
11320 * FloatList.C (FloatList): Change the default placement of figure
11321 and tables to "tbp".
11323 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11325 * MenuBackend.C: using std::max
11327 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11329 * MenuBackend.C (expandToc):
11330 (expandToc2): code moved from xforms menu frontend. It is now
11331 generic and TOCs are transparent to menu frontends.
11333 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11335 * toc.C (getTocList): protect against buf=0
11337 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11338 Menu as first parameter. Now, this calls itself recursively to
11339 expand a whole tree (this will be useful for TOC handling)
11340 (expandFloatInsert): remove 'wide' version of floats
11342 * MenuBackend.h (submenuname): returns the name of the submenu.
11343 (submenu): returns the submenu itself, provided it has been
11344 created by MenuBackend::expand
11346 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11348 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11349 insets which have noFontChange == true. (bug #172)
11351 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11353 * BufferView_pimpl.C: add connection objects and use them...
11356 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11358 * MenuBackend.C (expandLastfiles):
11361 (expandFloatListInsert):
11362 (expandFloatInsert):
11363 (expand): split expand in parts
11365 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11367 * lyx_gui.C: use lyx_gui::exit()
11369 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11371 * LyXAction.C: show the failing pseudo action
11373 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11375 * buffer.C (readFile): Run the lyxconvert script in order to read
11378 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11382 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11384 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11388 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11390 2002-07-22 Herbert Voss <voss@lyx.org>
11393 * lyxlength.[Ch]: add support for the vertical lengths
11395 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11397 * toc.[Ch]: std:: fixes
11399 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11401 * lyxrc.C: do not include lyx_main.h
11403 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11409 * BufferView2.C: include "lyxlex.h"
11412 * bufferparams.h: do not #include "lyxlex.h"
11414 * lyxtextclasslist.C (Add): remove method
11415 (classlist): renamed to classlist_
11417 * paragraph_pimpl.C:
11421 * bufferview_funcs.C:
11426 * toc.C (getTocList): use BufferParams::getLyXTextClass
11428 * toc.C (getTocList): use InsetFloat::addToToc
11430 * toc.[Ch]: new files, containing helper functions to handle table
11433 * lyxfunc.C (dispatch): no need to remove spaces around command
11435 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11436 first command of the sequence; it is not very clever, but I do not
11437 have a better idea, actually
11439 * LyXAction.C (LookupFunc): make sure to remove space at the
11440 beginning and end of the command
11442 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11444 * MenuBackend.C (getMenubar): new method: return the menubar of
11446 (read): treat differently reading of menu and menubar (in
11447 particular, the menubar has no name now)
11448 (Menu::menubar): remove
11450 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11453 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11455 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11456 a bibitem inset in a RTL paragraph.
11458 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11460 * paragraph_pimpl.C: constify
11462 * BufferView_pimpl.C:
11464 * lyxfunc.C: fix dispatch in a nicer way
11466 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11468 * lyxfunc.C (dispatch):
11469 * BufferView_pimpl.C:
11470 * BufferView_pimpl.h:
11472 * BufferView.h: rename Dispatch() to dispatch()
11474 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11476 * lyxlayout.C (Read): honor DependsOn tag
11478 * lyxlayout.[Ch] (depends_on): new method
11480 * version.C.in: update lyx_docversion
11482 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11484 * paragraph.C (validate): remove from here...
11485 * paragraph_pimpl.C (validate): ... and move here
11486 (isTextAt): make it const
11488 * buffer.C (getLists): ws cleanup
11490 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11492 * language.C (read): Use iso8859-1 encoding in latex_lang
11493 (this prevents LyX from crashing when using iso10646-1 encoding).
11495 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11497 * text2.C (toggleInset): if cursor is inside an inset, close the
11498 inset and leave cursor _after_ it
11500 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11502 * lyxfunc.C: move minibuffer completion handling out of here
11504 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11506 * BufferView_pimpl.C:
11507 * LaTeX.C: fix dispatch calls
11509 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11511 * text.C (drawChars): Fix Arabic text rendering.
11513 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11517 * lyxfunc.C: remove message-push/pop
11521 * lyxfunc.C: rationalise some code by removing verboseDispatch
11522 in favour of a bool argument to dispatch()
11524 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11526 * lyx_main.C (init): make sure to read symlinks as absolute paths
11528 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11531 * lyxfunc.C: no need for commandshortcut to be a member
11533 2002-07-15 André Pönitz <poenitz@gmx.net>
11535 * converter.C: add support for $$s (scripts from lib/scripts dir)
11536 * lyx_main.C: white space
11538 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11542 * lyxrc.C: remove second exit confirmation
11544 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11549 * BufferView_pimpl.h:
11550 * BufferView_pimpl.C:
11551 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11553 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11555 * MenuBackend.C (expand): add numeric shortcuts to document menu
11557 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11559 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11561 * lyxfont.C (setLyXFamily):
11568 * buffer.C (asciiParagraph): use ascii_lowercase
11570 2002-07-15 Mike Fabian <mfabian@suse.de>
11572 * lyxlex_pimpl.C (search_kw):
11573 * lyxlex.C (getLongString):
11574 * converter.h (operator<):
11575 * converter.C (operator<):
11576 * buffer.C (parseSingleLyXformat2Token):
11578 * ToolbarDefaults.C (read):
11579 * MenuBackend.C (checkShortcuts):
11581 * LColor.C (getFromGUIName):
11582 (getFromLyXName): use the compare_ascii_no_case instead of
11583 compare_no_case, because in turkish, 'i' is not the lowercase
11584 version of 'I', and thus turkish locale breaks parsing of tags.
11586 2002-07-16 Angus Leeming <leeming@lyx.org>
11588 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11589 now takes a Buffer const & argument.
11591 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11593 * BufferView.C (resize): check there's a buffer to resize
11595 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11597 * lyxfunc.C: remove dead code
11600 * lyxserver.C: use lyx_guii::set_read_callback
11602 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11604 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11605 an inset in a RTL paragraph.
11607 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11609 * lyxfunc.C: repaint after a font size update
11611 2002-07-15 André Pönitz <poenitz@gmx.net>
11613 * lyxlength.C: inBP should be able to return negative values
11615 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11617 * lyxfunc.C: use lyx_gui::update_fonts()
11619 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11621 * lyxfunc.C: use lyx_gui::update_color()
11623 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11629 * lyxrc.C: remove file->new asks for name option, and let
11630 buffer-new take an argument
11632 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11634 * BufferView_pimpl.C: remove unneeded extra repaint()
11636 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11638 * LyXAction.C: allow command-sequence with NoBuffer
11640 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11642 2002-07-10 Angus Leeming <leeming@lyx.org>
11644 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11646 2002-07-09 Angus Leeming <leeming@lyx.org>
11648 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11650 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11652 * lengthcommon.h: whitespace
11654 * lyxfunc.C: update scrollbar after goto paragraph
11656 * lyxtext.h: factor out page break drawing, and fix it so
11657 page break/added space paints as selected nicely
11659 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11661 * BufferView_pimpl.C: add FIXMEs, clean up a little
11663 2002-07-09 André Pönitz <poenitz@gmx.net>
11665 * lyxfont.[Ch]: support for wasy symbols
11667 2002-07-08 André Pönitz <poenitz@gmx.net>
11669 * BufferView_pimpl.C: apply John's patch for #93.
11671 2002-07-05 Angus Leeming <leeming@lyx.org>
11673 * BufferView_pimpl.C (buffer): generate previews if desired.
11675 * LColor.h: add "preview" to the color enum.
11677 * LColor.C (LColor): add a corresponding entry to the items array.
11679 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11682 2002-07-05 Angus Leeming <leeming@lyx.org>
11684 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11685 The body of the code is now in the method that is passed an ostream &
11686 rather than a file name.
11687 Pass an additional only_preamble parameter, useful for the forthcoming
11690 2002-07-03 André Pönitz <poenitz@gmx.net>
11692 * lyxfunc.C: simplify getStatus() a bit for math stuff
11694 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11696 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11698 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11700 * text.C (changeRegionCase): do not change case of all the
11701 document when region ends at paragraph end (bug #461)
11703 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11705 * paragraph.C (startTeXParParams):
11706 (endTeXParParams): add \protect when necessary
11708 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11710 * BufferView_pimpl.C (workAreaExpose): remove warning
11712 2002-06-27 Angus Leeming <leeming@lyx.org>
11714 * Makefile.am: add lyxlayout_ptr_fwd.h.
11716 2002-06-26 André Pönitz <poenitz@gmx.net>
11718 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11720 2002-06-25 Angus Leeming <leeming@lyx.org>
11722 * lyxfunc.C (dispatch): Comment out the call to
11723 grfx::GCache::changeDisplay. The method no longer exists now that the
11724 pixmap generation part of the graphics loader has been moved into
11727 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11729 * text2.C: layout as layout
11731 * text.C: layout as layout
11733 * tabular.C (OldFormatRead): layout as layout
11735 * paragraph_pimpl.C (TeXDeeper): layout as layout
11736 (realizeFont): layout as layout
11738 * paragraph.C (writeFile): layout as layout
11739 (validate): layout as layout
11740 (getFont): layout as layout
11741 (getLabelFont): layout as layout
11742 (getLayoutFont): layout as layout
11743 (breakParagraph): layout as layout
11744 (stripLeadingSpaces): layout as layout
11745 (getEndLabel): layout as layout
11746 (getMaxDepthAfter): layout as layout
11747 (applyLayout): layout as layout
11748 (TeXOnePar): layout as layout
11749 (simpleTeXOnePar): layout as layout
11750 (TeXEnvironment): layout as layout
11751 (layout): layout as layout
11752 (layout): layout as layout
11754 * lyxtextclass.C (compare_name): new functor to work with
11755 shared_ptr, layout as layout
11756 (Read): layout as layout
11757 (hasLayout): layout as layout
11758 (operator): layout as layout
11759 (delete_layout): layout as layout
11760 (defaultLayout): layout as layout
11762 * lyxlayout_ptr_fwd.h: new file
11764 * lyxlayout.C (Read): layout as layout
11766 * lyx_cb.C (MenuInsertLabel): layout as layout
11768 * bufferlist.C (newFile): layout as layout
11770 * buffer.C (readLyXformat2): layout as layout
11771 (parseSingleLyXformat2Token): layout as layout
11772 (insertStringAsLines): layout as layout
11773 (asciiParagraph): layout as layout
11774 (latexParagraphs): layout as layout
11775 (makeLinuxDocFile): layout as layout
11776 (simpleLinuxDocOnePar): layout as layout
11777 (makeDocBookFile): layout as layout
11778 (simpleDocBookOnePar): layout as layout
11779 (getLists): layout as layout
11781 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11783 * CutAndPaste.C (cutSelection): layout as layout
11784 (pasteSelection): layout as layout
11785 (SwitchLayoutsBetweenClasses): layout as layout
11787 * BufferView_pimpl.C (Dispatch): layout as layout
11788 (smartQuote): layout as layout
11790 * BufferView2.C (unlockInset): layout as layout
11792 2002-06-24 André Pönitz <poenitz@gmx.net>
11794 * lyxfunc.C: fix #487
11796 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11800 * lyxfunc.C: remove display_shortcuts, show_banner
11802 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11804 * Buffer_pimpl.C: oops, update on resize
11806 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11813 * BufferView.C: use repaint()
11815 * BufferView_pimpl.h:
11816 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11817 as it's a clearer description. Remove superfluous
11820 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11822 * text.C: fix bug 488. Not ideal, but getting
11823 getWord() to work properly for the insets that
11824 matter is more difficult ...
11826 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11828 * BufferView_pimpl.C:
11831 * lyxfunc.C: remove the six million index lyxfuncs to just
11832 one, and DTRT (bug 458)
11834 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11838 * BufferView_pimpl.h:
11839 * BufferView_pimpl.C: clean up resize() stuff,
11840 and unnecessary updateScreen()s
11842 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11846 * BufferView_pimpl.h:
11847 * BufferView_pimpl.C:
11850 * minibuffer.C: remove focus management of workarea,
11851 not needed. Use screen's greyOut()
11853 2002-06-17 Herbert Voss <voss@lyx.org>
11855 * converter.C: (convert) do not post a message, when converting
11856 fails, let the calling function decide what to do in this case
11858 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11860 * lyxfunc.C: tidy up a little
11862 2002-06-16 <alstrup@diku.dk>
11864 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11865 Got rid of FORMS_H_LOCATION include. Now we are
11868 2002-06-15 LyX Development team <lyx@rilke>
11870 * buffer.[Ch] (sgmlOpenTag):
11871 (sgmlCloseTag): Added support for avoiding pernicious mixed
11872 content. Return number of lines written.
11874 (makeLinuxDocFile):
11875 (makeDocBookFile): Fixed calls to sgml*Tag.
11876 Simple white space clean.
11878 (simpleDocBookOnePar): Simple white space clean.
11880 * tabular.[Ch] (docBook): Renamed to docbook and got another
11881 argument to related with the pernicious mixed content.
11883 (docbookRow): Fixed calls for docbook inset method.
11885 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11887 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11888 so it's X11 independent.
11892 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11894 2002-06-15 Lyx Development team <lyx@electronia>
11896 * intl.h: Renamed getTrans to getTransManager.
11898 2002-06-14 Angus Leeming <leeming@lyx.org>
11900 * Makefile.am: nuke forgotten stl_string_fwd.h.
11902 2002-06-12 Angus Leeming <leeming@lyx.org>
11904 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11906 2002-06-13 Angus Leeming <leeming@lyx.org>
11909 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11911 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11913 * kbmap.C (getiso): add support for cyrillic and greek
11915 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11919 * BufferView_pimpl.h:
11920 * BufferView_pimpl.C: move bogus scrolling logic
11923 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11926 * BufferView_pimpl.C: view->resize() change
11928 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11930 * BufferView_pimpl.C: topCursorVisible
11933 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11937 * lyx_gui.C: move to frontends/
11941 * lyx_main.C: changes from above
11943 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11950 * lyx_main.C: minor tidy
11952 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11954 * BufferView_pimpl.h:
11955 * BufferView_pimpl.C:
11957 * BufferView.C: make painter() const,
11960 * BufferView2.C: use screen() accessor
11963 * lyx_main.C: some minor cleanup
11965 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11967 * BufferView_pimpl.h:
11968 * BufferView_pimpl.C: remove enter/leaveView,
11971 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11976 * BufferView_pimpl.h:
11977 * BufferView_pimpl.C: only construct screen once,
11980 * lyxrc.C: remove pointless comment
11982 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11985 * BufferView.C: remove active() and belowMouse()
11987 * BufferView_pimpl.h:
11988 * BufferView_pimpl.C: use workarea() not workarea_,
11989 and make it use a scoped_ptr instead
11991 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11993 * lyx_gui.C: add debug message on BadWindow
11995 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11997 * sp_spell.C: fdopen is not part of the C++ standard.
11999 * paragraph.C (InsetIterator): use >= instead of ==
12001 2002-06-07 Angus Leeming <leeming@lyx.org>
12003 Fixes needed to compile with Compaq cxx 6.5.
12004 * BufferView_pimpl.C:
12011 * lyxtextclasslist.C:
12016 all c-library variables have been moved into namespace std. Wrap
12017 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12022 Add a using std::abs declaration.
12024 * kbmap.h (modifier_pair):
12025 * paragraph.h (InsetTable, InsetList):
12026 * lyxfont.h (FontBits):
12027 type definition made public.
12029 * bufferlist.C (emergencyWriteAll): the compiler complains that
12030 there is more than one possible lyx::class_fun template to choose from.
12031 I re-named the void specialisation as lyx::void_class_fun.
12033 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12035 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12036 the compiler is is unable to find tostr in write_attribute.
12038 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12040 * buffer.C (sgmlError): hide #warning
12042 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12044 * xtl/*: get rid of xtl, which is not in use anyway
12046 * LyXAction.C (init):
12047 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12048 were unimplemented xtl experimentation
12050 2002-06-04 André Pönitz <poenitz@gmx.net>
12052 * lyxfunc.C: disable array operation on simple formulae
12054 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12056 * converter.C: constify a bit
12058 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12060 * lyx_gui.C: check xforms version correctly
12062 2002-04-30 Herbert Voss <voss@lyx.org>
12064 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12067 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12069 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12070 attempt to register it with a VCS)
12072 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12074 * lyx_main.C (init): honor variables LYX_DIR_13x and
12077 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12081 * lyx_main.C: fix a crash on bad command line,
12082 and give a useful exit status on error
12084 * lyxfunc.C (doImport): allow -i lyx to work
12086 2002-03-30 André Pönitz <poenitz@gmx.net>
12088 * lyxfunc.C: mathed font changes
12090 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12105 * trans_mgr.h: srcdocs, and some minor cleanups
12107 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12109 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12110 call getFont all the time)
12112 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12114 * switch from SigC signals to boost::signals
12116 2002-05-29 André Pönitz <poenitz@gmx.net>
12118 * paragraph_pimpl.C (getChar): don't call size() too often...
12120 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12122 * paragraph_pimpl.C (insertChar): do not try to update tables when
12123 appending (pos == size())
12125 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12126 in order to reduce drastically the number of comparisons needed to
12127 parse a large document
12129 2002-05-29 André Pönitz <poenitz@gmx.net>
12135 * textclasslist.[Ch]:
12136 * sp_ispell.h: whitespace change
12138 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12140 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12141 lyxaction directly now.
12143 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12147 * lyxvc.C: remove unused headers
12149 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12156 * undo_funcs.C: some cleanups. Use shared_ptr
12157 and a template for the undo stacks.
12159 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12161 * BufferView_pimpl.h:
12162 * BufferView_pimpl.C:
12169 * text2.C: use key_state/mouse_state
12171 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12173 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12176 * chset.C: change include order
12177 (loadFile): use boost regex and get rid of LRegex and LSubstring
12179 * Makefile.am (BOOST_LIBS): new variable
12180 (lyx_LDADD): use it
12182 * LaTeX.C: change include order.
12183 (scanAuxFile): use boost regex and get rid of LRegex and
12187 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12192 * FontInfo.C: moved to frontends/xforms/
12195 * FontLoader.C: moved into frontends for GUIIzation
12200 * lyxfunc.C: changes from above
12202 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12204 * LColor.C: remove spurious X include
12206 * BufferView_pimpl.C:
12211 * text2.C: move font metrics to frontends/
12213 2002-05-24 Juergen Vigna <jug@sad.it>
12215 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12216 setting the undo_cursor.
12218 * ParagraphParameters.h: include local includes first.
12220 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12222 * BufferView_pimpl.C:
12223 * BufferView_pimpl.h:
12227 * screen.C: move WorkArea into frontends/
12233 * BufferView2.C: move LyXScreen into frontends/
12237 * lyx_gui.C: move lyxlookup into frontends/xforms/
12239 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12242 * BufferView_pimpl.C:
12252 * bufferview_funcs.C:
12265 * vc-backend.C: move LyX/XFormsView into frontends/
12267 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12279 * text2.C: move Painter to frontends/
12281 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12283 * buffer.C: comment out some some code that depend upon lyx_format
12286 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12287 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12289 * buffer.h (NO_COMPABILITY): turn off compability
12291 * ColorHandler.C: include scoped_array.hpp
12293 * font.C: Use more specific smart_ptr header.
12296 * ShareContainer.h: ditto
12297 * lyx_main.h: ditto
12299 * FontInfo.h: ditto
12300 * BufferView_pimpl.h: ditto
12301 * ColorHandler.h: ditto
12303 * kbmap.C (defkey): change call to shared_ptr::reset
12305 2002-05-21 Juergen Vigna <jug@sad.it>
12307 * buffer.C (insertErtContents): fix to insert ert asis if it is
12308 non empty. Skip it completely if it contains only whitespaces.
12310 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12312 * BufferView_pimpl.C:
12313 * BufferView2.C: clear selection on paste (bug 393)
12315 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12317 * DepTable.C: include ctime
12319 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12321 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12323 2002-05-14 Juergen Vigna <jug@sad.it>
12325 * text.C (breakParagraph): fixed function to honor the keepempty
12326 layout in the right maner and also to permit the right breaking
12327 algorithm on empty or non empyt keepempty paragraphs.
12329 * paragraph.C (breakParagraph): we have to check also if the par
12330 is really empty (!size()) for isempty otherwise we do the wrong
12333 2002-05-10 Juergen Vigna <jug@sad.it>
12335 * buffer.[Ch] : The following are only changes to the ert
12336 compatibility read reading old LaTeX layout and font stuff and
12337 convert it to ERTInsets.
12339 * buffer.h: added isErtInset().
12341 * buffer.C (struct ErtComp): add a fromlayout bool to check
12342 if we're inside a LaTeX layout.
12343 (isErtInset): new helper function.
12344 (insertErtContents): look for other ert insets before this one
12345 and insert the contents there, so that we don't have subsequent
12346 ERT insets with nothing between them. This way we create only one
12347 inset with multiple paragraphs. Also check if we don't insert only
12348 spaces ' ' as they are ignored anyway afterwards in the .tex file
12349 so if we have only spaces we will ignore this latex part in the
12351 (parseSingleLyXformat2Token \\layout): better compatibility when
12352 reading layout-latex stuff.
12353 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12355 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12356 stuff after reading the inset only get the information back from
12359 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12361 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12363 * LaTeXFeatures.C (getBabelOptions): New method.
12365 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12367 * BufferView_pimpl.C (Dispatch): work around missing argument for
12370 2002-05-08 Juergen Vigna <jug@sad.it>
12372 * text.C (leftMargin): handle paragraph leftindent.
12374 * paragraph.C (writeFile): write the new \\leftindent tag.
12375 (validate): handle leftindent code.
12376 (TeXEnvironment): handle paragraphleftindent code again.
12378 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12380 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12381 for paragrap_extra indent code and new token \\leftindent.
12382 (latexParagraphs): handle the leftindent as environment.
12384 * ParameterStruct.h: added leftindent support.
12386 * ParagraphParameters.C (leftIndent): added support functions for
12387 the paragraph left indent.
12389 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12392 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12394 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12397 * text.C (computeBidiTables): No bidi in insetERT.
12399 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12402 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12404 * version.C.in: pre 5
12406 2002-05-02 José Matos <jamatos@fep.up.pt>
12407 * buffer.C (makeDocBookFile): white space changes, add newline to
12409 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12411 * tabular.C (docBook): fix typo.
12413 2002-05-03 Juergen Vigna <jug@sad.it>
12415 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12416 change in LyXText as we can not be sure it was not freed.
12417 (drawOneRow): remove unused code.
12419 * text.C (drawInset): redo the calculation of the need_break_row as
12420 it could have a row which was already freed.
12421 (draw): look at the return value of drawInset and return false if
12422 it also returned false.
12423 (paintRowText): look at the return value of draw and return false if
12424 it also returned false.
12426 * lyxtext.h: added bool return type to drawInset() and draw() so that
12427 if we have a change in the row so that the rowbreak has to be redone
12428 we abort drawing as it will be called again.
12430 2002-05-02 Juergen Vigna <jug@sad.it>
12432 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12433 a change in the maintext also if we're inside an inset.
12434 (Dispatch): set the cursor again after a break line and after the
12435 screen has been updated as it could be we're in a different row.
12437 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12438 to set the cursor behind the pargraph with > size().
12439 (setCursor): check also for the same paragraph when checking where
12440 to put the cursor if we have a NFR inset.
12442 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12443 parts of layout read further up as it still was in the wrong
12446 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12448 * screen.C (drawFromTo): change sine fullRebreak always return
12451 * buffer.C (parseSingleLyXformat2Token): reindent some
12453 * BufferView_pimpl.C (update): change since fullRebreak always
12455 (Dispatch): git rid of the last hardcoded "Standard"s.
12457 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12459 * text2.[Ch] (fullRebreak): make it return void now that we always
12462 2002-04-30 Juergen Vigna <jug@sad.it>
12464 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12465 ert compatibility check for "latex" layout.
12467 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12469 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12470 minipages: use col% instead of p%, and also use the current font.
12471 (makeLaTeXFile): Fix use babel condition.
12472 (parseSingleLyXformat2Token): Correct font when reading old floats.
12474 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12476 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12477 inserting list of floats.
12479 2002-04-25 Herbert Voss <voss@lyx.org>
12481 * MenuBackend.C (expand): don't add the graphics extensions to the
12484 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12486 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12487 non-existing layout, do not complain if it was the default layout
12488 of the original class (bug #342)
12490 2002-04-24 Juergen Vigna <jug@sad.it>
12492 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12493 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12495 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12497 * buffer.C (getBibkeyList): If using \bibliography, return the
12498 option field with the reference itself. Enables us to provide natbib
12499 support when using \bibliography.
12501 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12503 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12505 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12506 natbib is provided by the LaTeX class.
12508 2002-04-23 Juergen Vigna <jug@sad.it>
12510 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12513 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12515 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12517 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12519 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12520 ensuremath around textordmasculine, textordfeminine and
12523 2002-04-19 Juergen Vigna <jug@sad.it>
12525 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12526 reinitializing the buffer otherwise row-dimensions may be wrong.
12527 (update): reset also the selection cursors if they do exits otherwise
12528 their x/y positions may be wrong.
12530 * text2.C (cursorDown): don't enter the inset if we came from a row
12531 above and are one row over the inset.
12533 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12534 really leaving an inset.
12536 2002-04-18 Juergen Vigna <jug@sad.it>
12538 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12539 of the selected paragraph does not have the selected layout also if
12542 * text2.C (setLayout): fixed bug which did not change last selected
12545 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12546 changed the read and substituted \\end_float with \\end_inset!
12548 * BufferView_pimpl.C (cursorPrevious):
12549 (cursorNext): fixed to make it work with rows heigher than the work
12550 area without moving the cursor only the draw of the row.
12551 (workAreaMotionNotify): fix jumping over high rows.
12553 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12555 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12558 2002-04-16 Juergen Vigna <jug@sad.it>
12560 * text2.C (setCursor): set also the irow().
12561 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12563 (cursorDown): support for locking an inset if the x_fix value goes
12564 inside it. That way I can transverse insets too with cursor up/down.
12566 * lyxrow.h: added irow helper function same as other (i) functions.
12568 * BufferView_pimpl.C (cursorPrevious):
12569 (cursorNext): fixed for insets!
12571 2002-04-15 Juergen Vigna <jug@sad.it>
12573 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12574 position otherwise it is wrong in some cases.
12576 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12577 inside the inset before the call.
12579 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12581 * buffer.[Ch] (getBibkeyList): make it const.
12583 2002-04-12 Juergen Vigna <jug@sad.it>
12585 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12587 * text2.C (getCursorX): new helper function
12588 (setCursor): compute also ix_
12589 (setCursorFromCoordinates): set also ix.
12591 * lyxcursor.h: added ix_ and helper functions.
12593 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12595 * buffer.C (insertStringAsLines): dont break paragraph if the this
12596 paragraph is inside an inset which does not permit it!
12598 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12599 also with no chars on this paragraph.
12600 (paintRowText): only paint stuff if it's inside the workarea!
12602 * paragraph.C (breakParagraph): honor keepempty flag and break the
12603 paragraph always below not above.
12605 * BufferView2.C (unlockInset): update the paragraph layout on inset
12606 unlock as we changed paragraph in such a case.
12608 * lyxfind.C (LyXFind): clear the former selection if not found!
12610 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12611 again called in insertChar().
12613 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12614 an inset which uses the whole row!
12615 (rightMargin): ditto.
12616 (insertChar): force a rebreak if we inserted an inset!
12618 2002-03-28 Herbert Voss <voss@lyx.org>
12620 * lyxlength.[Ch]: add inBP() to get the right PS-point
12621 units (BigPoint). With inPixels we have rounding errors
12623 2002-04-11 Juergen Vigna <jug@sad.it>
12625 * text2.C (setCursorFromCoordinates): set iy to the right value.
12626 (setCursor): add check if row->previous exists!
12628 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12629 an old float_type as this was the case in the old code!
12631 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12633 * BufferView2.C (showLockedInsetCursor): use iy
12634 (fitLockedInsetCursor): ditto
12636 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12637 locked insets as there we have the right value now.
12639 * lyxcursor.C: added iy_ variable and iy functions to set to the
12640 baseline of cursor-y of the locked inset.
12642 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12643 (setCursor): fixed for insets which need a full row.
12645 * text.C (rowLastPrintable): don't ignore the last space when before
12646 an inset which needs a full row.
12647 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12648 as last character of a row when before a inset which needs a full row.
12650 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12652 * version.C.in: update date
12654 * text2.C (fullRebreak): try to always return true and see what
12657 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12659 * MenuBackend.C (expand): use Floating::listName
12661 * FloatList.C (FloatList): add listName argument to the built-in
12664 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12665 text associated with the float.
12667 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12669 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12671 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12673 * ShareContainer.h: add a couple of missing typenames.
12675 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12677 * lyxrc.C (getDescription): use _() correctly rather than N_().
12679 2002-03-28 Herbert Voss <voss@lyx.org>
12681 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12682 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12684 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12686 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12687 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12689 2002-03-29 Juergen Vigna <jug@sad.it>
12691 * lyxfunc.C (dispatch): add a missing fitCursor call.
12693 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12694 it was scrolled by a cursor move, so return the bool status.
12696 * BufferView.C (fitCursor): return the bool flag also to the outside
12697 world as this is needed.
12699 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12701 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12702 call the edit() as it is not needed (and wrong) IMO.
12703 (workAreaButtonPress): set the screen_first variable before evt.
12704 unlock the inset as this may change screen_first and then we have
12705 a wrong y position for the click!
12707 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12709 * MenuBackend.C (expand): another translation that I missed
12711 2002-03-28 Juergen Vigna <jug@sad.it>
12713 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12715 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12717 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12719 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12721 * MenuBackend.C (expand): fix export/view/update when there is no
12724 2002-03-27 Herbert Voss <voss@lyx.org>
12726 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12729 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12731 * bufferview_funcs.C (currentState): only show paragraph number
12732 for is DEVEL_VERSION is set.
12734 * lyxfunc.C (dispatch): put warning in INFO channel
12736 * MenuBackend.C (expand): translate the name of floats
12738 * FloatList.C (FloatList): mark the float names for translation
12740 * converter.C (convert): use LibScriptSearch
12742 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12744 * MenuBackend.C (defaults): fix default menu (we might as well get
12747 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12749 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12752 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12754 * lyxvc.C: reorder includes.
12756 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12758 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12761 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12763 * CutAndPaste.C: change layouts earlier on paste
12764 to avoid crashing when calling getFont()
12766 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12768 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12771 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12773 * WorkArea.C: remove 'Pending' debug message.
12775 * most files: ws cleanup
12777 * buffer.[Ch]: ws changes
12779 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12781 2002-03-21 Juergen Vigna <jug@sad.it>
12783 * tabular.C (SetMultiColumn): collapse also the contents of the
12784 cells and set the last border right. Added a Buffer const * param.
12786 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12788 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12791 2002-03-19 Juergen Vigna <jug@sad.it>
12793 * text2.C (clearSelection): reset also xsel_cache.
12795 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12796 where it needs to be called (John tells us to do so too :)
12797 (selectionLost): reset sel_cache.
12799 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12801 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12803 * text2.C (setCursorIntern): put debuging code in INSETS channel
12805 2002-03-19 André Pönitz <poenitz@gmx.net>
12807 * lyxfunc.C: tiny whitespace change
12809 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12811 * ToolbarDefaults.C (init):
12812 * LyXAction.C (init):
12814 * BufferView_pimpl.C (Dispatch):
12815 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12817 2002-03-19 Allan Rae <rae@lyx.org>
12819 * exporter.C (Export): removeAutoInsets before doing anything else.
12820 While I've just introduced a dependency on BufferView this really is
12821 the best place to clean the buffer otherwise you need to cleanup in
12822 a dozen places before calling export or cleanup in a dozen functions
12825 * converter.C (runLaTeX):
12826 (scanLog): Better handling of removeAutoInsets and screen updates.
12828 * lyxfunc.C (dispatch): small whitespace changes
12830 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12832 * WorkArea.C (C_WorkAreaEvent): return a value.
12833 (event_cb): return 1 if we handled the event, 0 otherwise.
12835 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12837 2002-03-18 Juergen Vigna <jug@sad.it>
12839 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12840 (GetAdditionalWidth): ditto.
12841 (RightLine): ditto.
12844 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12845 inset if we're there actually (probably not used right now but this
12846 is the direction to go for unifying code).
12847 (paste): disable code to clear the selection.
12849 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12850 inside an InsetText and move the check further up as it is in the
12853 * text2.C (pasteSelection): set a selection over the pasted text.
12855 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12857 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12858 and libgraphics to build on Cygwin.
12860 2002-03-15 Juergen Vigna <jug@sad.it>
12862 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12863 inserting an Inset into the paragraph. I know this is not the best
12864 fix but we already use current_view in CutAndPaste so we will remove
12865 all of it's using at the same time.
12867 * buffer.C (sgmlError): deactivated function till it is rewritten in
12868 the right mode, now it can create problems.
12870 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12871 before accessing it.
12873 2002-03-14 Juergen Vigna <jug@sad.it>
12875 * undo_funcs.C (textHandleUndo): do the right thing when updating
12876 the inset after the undo/redo.
12878 * text2.C (setCursor): just some testcode for #44 not ready yet.
12880 * undo_funcs.C (textHandleUndo): set the next() and previous()
12881 pointers of the paragraph to 0 before deleting otherwise we have
12882 problems with the Paragraph::[destructor].
12884 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12885 on a paragraph insertion.
12887 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12889 * buffer.C (asciiParagraph): use += operator for char append to
12892 * paragraph.C (getFontSettings): compare >= not just >
12893 (highestFontInRange): ditto
12896 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12898 * paragraph.C: change several algorithm to be more appripriate for
12899 the problem domain. This is lookip in FontList and in the InsetList.
12901 2002-03-13 André Pönitz <poenitz@gmx.net>
12904 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12906 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12911 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12913 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12915 * Painter.C (display): anon helper function, adjust code for this
12917 (pixmap): remove function.
12919 * Painter.h: remove private display variable.
12921 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12923 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12925 * WorkArea.[Ch]: remove figinset_canvas cruft.
12927 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12929 * lyxtextclass.C (operator): add one item cache optimization.
12931 * bufferlist.h: doxy changes
12933 * bufferlist.C: ws changes
12935 * DepTable.[Ch] (ext_exist): place const in the right spot.
12937 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12939 (workAreaExpose): call resizeInsets when the with BufferView changes.
12940 (Dispatch): adjust for protectedBlank removal
12941 (specialChar): call updateInset if the insert went ok.
12943 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12944 specialChar instead.
12946 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12948 * BufferView.h: doxy change
12950 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12952 * lyxtextclass.C (operator[]): remove non-const version
12953 (defaultLayout): remove non-const version
12955 2002-03-12 Juergen Vigna <jug@sad.it>
12957 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12958 did resize the LyXText too.
12960 * buffer.C (readLyXformat2): set layout information on newly allocated
12963 * tabular.C (OldFormatRead): set layout information on the paragraph.
12965 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
12967 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12969 2002-03-11 Juergen Vigna <jug@sad.it>
12971 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12973 (resizeCurrentBuffer): force also the insets to resize themselfes.
12974 (moveCursorUpdate): fixed up for InsetText.
12976 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12979 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12980 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12981 value of Dialogs::tooltipsEnabled().
12982 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12984 2002-03-08 Juergen Vigna <jug@sad.it>
12986 * BufferView_pimpl.C (updateInset): update inset inside inset also
12987 if it isn't inside theLockingInset().
12989 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12991 * buffer.C (asciiParagraph): redo some of the word and line length
12993 (getLists): look for Caption instead of caption.
12995 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12997 * buffer.C (Buffer): initialize niceFile to true
12999 (makeLinuxDocFile):
13000 (makeDocBookFile): make sure niceFile is true on exit
13002 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13004 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13006 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13008 * LyXSendto.C: remove.
13009 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13010 * lyx_gui.C: remove now-redundant comment.
13011 * ColorHandler.h: remove forward declaration of class WorkArea.
13012 * lyxfunc.C: remove #include "WorkArea.h".
13014 2002-03-07 Juergen Vigna <jug@sad.it>
13016 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13017 got moved away with the DEPM and also set the inset_owner always
13018 right which before could have been omitted.
13020 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13022 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13023 wanted layout is not found.
13025 2002-03-07 Juergen Vigna <jug@sad.it>
13027 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13029 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13031 * paragraph.C (breakParagraph): use default layout not layout of
13033 (Paragraph): clear ParagraphParameters.
13035 2002-03-06 Juergen Vigna <jug@sad.it>
13037 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13038 otherwise it would not be a valid lenght. Fixed a special case in
13039 the minipage compatibility read where we end the document with a
13042 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13043 was set as it could be 0 for InsetTexts first entry.
13045 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13047 * paragraph.C (writeFile): if layout is empty write out
13048 defaultLayoutName().
13050 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13051 file without named layout we set layout to defaultLayoutName().
13053 2002-03-06 Juergen Vigna <jug@sad.it>
13055 * CutAndPaste.C (copySelection): set layout for new paragraph.
13057 * text.C (prepareToPrint): leave ERT inset left aligned
13058 (leftMargin): don't indent paragraphs inside ERT insets
13060 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13062 * paragraph.C (breakParagraph): dont call clear do the work manually
13064 * paragraph.[Ch] (clear): remove function
13066 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13068 * paragraph.C (Paragraph): dont call clear, the work has already
13071 * lyxtextclass.C (operator): assert if n is empty
13073 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13074 work manually instead.
13076 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13078 * BufferView_pimpl.C: protect selectionLost against text == 0
13080 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13082 * text.C (breakParagraph): fix a setting layout to '0' problem.
13084 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13086 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13087 final location of file, for the included files, and graphics.
13089 2002-03-05 Juergen Vigna <jug@sad.it>
13091 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13093 2002-03-04 Juergen Vigna <jug@sad.it>
13095 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13097 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13098 last column of multicolumn cells.
13099 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13101 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13103 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13104 file if it doesn't go to a temporary file.
13106 * buffer.C (sgmlOpenTag):
13107 (sgmlCloseTag): remove extra newline insertion.
13109 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13111 * text.C (getRowNearY): comment out debug msg
13113 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13115 * text2.C: first -> first_y
13117 * text.C (getRowNearY): add some attemts at a possible
13118 optimization, not working.
13120 * tabular.[Ch]: add BufferParams to several function so that newly
13121 created paragraph can be initialized to he default layotu for the
13124 * tabular-old.C (ReadOld): add buf->params to call of Init
13126 * screen.C: rename text->first to text->first_y
13128 * paragraph.C (breakParagraph): always set layout in the broken
13131 * lyxtextclass.C (Read): remove lowercase
13134 (delete_layout): ditto
13136 * lyxtext.h: rename first -> first_y
13138 * lyxlayout.C (Read): remove lowercase
13141 (obsoleted_by): ditto
13143 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13145 * buffer.C (insertErtContents): add params are to InsetERT
13146 (parseSingleLyXformat2Token): add code to check if a paragraphs
13147 layout really exist.
13148 (parseSingleLyXformat2Token): add params to several inset
13150 (asciiParagraph): remove lowercase, do the layout comparisons with
13153 * BufferView_pimpl.C (cursorNext): first -> first_y
13154 (resizeCurrentBuffer): first -> first_y
13155 (updateScrollbar): first -> first_y
13156 (scrollCB): first -> first_y
13157 (workAreaMotionNotify): first -> first_y
13158 (workAreaButtonPress): first -> first_y
13159 (checkInsetHit): first -> first_y
13160 (cursorPrevious): first -> first_y
13161 (cursorNext): first -> first_y
13162 (Dispatch): add buffer_->params to severl inset contructors
13164 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13166 * lyxlayout.C (Read): remove some debug info that I forgot.
13168 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13169 clean up the code slightly.
13170 (makeLinuxDocFile): ditto
13171 (makeDocBookFile): ditto
13173 * text2.C: layout as string
13175 * text.C: layout as string
13177 * paragraph_pimpl.C: layout as string
13179 * paragraph.[Ch]: layout as string
13181 * lyxtextclasslist.[Ch]: layout as string
13183 * lyxtextclass.[Ch]: layout as string
13185 * lyxtext.h: layout as string
13187 * lyxlayout.[Ch]: layout as string
13189 * lyx_cb.C: layout as string
13191 * bufferview_funcs.C: layout as string
13193 * bufferparams.C: layout as string
13195 * buffer.C: layout as string
13197 * LyXView.[Ch]: layout as string
13199 * LaTeXFeatures.[Ch]: layout as string
13201 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13203 * BufferView_pimpl.C: change current_layout to string, remove
13208 (workAreaButtonRelease): layout as string
13210 * BufferView2.C (unlockInset): adjust
13212 * vspace.C (asLatexCommand): use an explict temp variable.
13214 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13216 * Makefile.am: use FRONTEND_*
13218 2002-03-01 Juergen Vigna <jug@sad.it>
13220 * tabular.C (SetWidthOfMulticolCell): changed to something better
13221 I hope but still work in progress.
13222 (recalculateMulticolumnsOfColumn): renamed function from
13223 recalculateMulticolCells as it is more appropriate now.
13224 (SetWidthOfCell): calculate multicols better.
13226 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13228 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13230 * lyxfunc.C (processKeySym): print sequence also if it is
13231 `deleted' (complete)
13233 * kbsequence.C (print): print sequence even if it is deleted
13234 (complete would be a better word, actually).
13236 * lyxfunc.C (dispatch): print complete options after a prefix key
13238 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13240 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13242 * text2.C (setCharFont): eliminate setCharFont code duplication.
13244 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13246 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13247 LFUN_TABULAR_FEATURE (bug #177)
13249 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13251 * Makefile.am: remove figure.h
13253 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13255 * Bufferview_pimpl.C:
13267 * text2.C: remove #include "lyx_gui_misc.h".
13269 * LaTeX.C: added #include <cstdio>
13271 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13273 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13274 that the paragraph following this one can have.
13276 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13278 * vspace.C (asLatexCommand): fix bogus gcc warning
13280 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13282 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13284 * text2.C (setLayout): get rid of redundant code
13286 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13288 * text2.C (incDepth): make sure depth cannot be increased beyond
13291 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13293 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13294 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13296 * PainterBase.h (image):
13297 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13298 a LyXImage const *.
13300 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13304 * BufferView_pimpl.C:
13305 * BufferView_pimpl.h:
13325 * sp_spell.C: remove fig inset, and the crap house of
13326 cards that follows it
13328 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13333 * os2_errortable.h:
13334 * nt_defines.h: move .h into support/
13336 * vms_defines.h: remove
13338 * WorkArea.C: add space in debug output
13342 * buffer.C: add WITH_WARNINGS
13346 * bufferlist.C: s/retrive/retrieve/, add docs
13355 * chset.C: add docs
13357 * lyxgui.C: add ID to X error handler
13359 * lyxtestclass.c: fix typo
13361 2002-02-26 Juergen Vigna <jug@sad.it>
13363 * tabular_funcs.C (write_attribute): changed so that some default
13364 attributes are not written at all.
13365 (getTokenValue): set default values before trying to read the
13366 value so we have the return value always set as default if we don't
13367 find the token we search for.
13369 * tabular.C (Write): write bools as bools not as strings!
13371 2002-02-22 Juergen Vigna <jug@sad.it>
13373 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13374 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13376 * text.C (leftMargin): don't add an indent for paragraphs inside
13377 tabular cells (fix #208).
13379 2002-02-21 José Matos <jamatos@fep.up.pt>
13381 * tabular.C (docBook): fixed support for long tables.
13383 2002-02-20 Juergen Vigna <jug@sad.it>
13385 * text2.C (getFont): get the drawing font of the Inset if this
13386 paragraph is inside an inset (only important for InsetERT for now).
13388 * buffer.C (insertErtContents): use new lanugage params in ERT
13391 * CutAndPaste.C: commenting out seemingly uneeded code.
13393 2002-02-19 Allan Rae <rae@lyx.org>
13395 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13396 Iterators might be simple to use but they also get invalidated.
13397 (removeAutoInsets): renamed saved cursor tracking variables and added
13398 some comments to clarify what everything does.
13400 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13407 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13408 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13411 * vc-backend.h: remove #include "support/syscall.h"
13415 * converter.C: rearrange #includes in Lars' approved fashion.
13417 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13418 forward declare class Timeout in the header file.
13420 * XFormsView.C: changes due to the above.
13422 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13423 similar to LyXView.
13425 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13426 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13428 2002-02-18 José Matos <jamatos@fep.up.pt>
13430 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13433 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13435 * a lot of small ws changes
13436 * add a lot of using std::XXX
13437 * use std construcs some places where approp.
13438 * use some exisint stuff from lyxfunctional where approp.
13439 * Make file changes to use partial linking (lets test this now...)
13441 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13445 remove #include "support/syscontr.h" as it's redundant. Always has been.
13453 change Systemcalls::System to Systemcalls::Wait and
13454 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13455 No change of functionality, just reflects the stripped down Systemcalls
13458 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13460 * debug.[Ch]: add a GRAPHICS type to the enum.
13462 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13464 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13466 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13469 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13471 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13472 match the changes below.
13474 * text2.C (toggleInset): if there is not editable inset at cursor
13475 position, try to see if cursor is _inside_ a collapsable inset
13478 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13480 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13481 document menu has a nice checkbox
13483 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13485 * lyxlength.C (asLatexString): change PW to output as percent of
13488 * lengthcommon.C: change '%' to 't%'
13490 * lyxfunc.C (dispatch): a few comments from Martin
13492 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13496 * BufferView_pimpl.h:
13497 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13500 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13502 * vspace.C (inPixels): fix compiler warning
13504 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13506 * lyxfunc.C (getStatus): fix status message for disabled commands.
13508 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13510 * BufferView_pimpl.C: fix crash on close buffer
13511 during selection (#227)
13513 2002-01-27 Herbert Voss <voss@lyx.org>
13515 * buffer.C: link old Figure to new graphic inset
13517 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13519 * FontLoader.C (getFontinfo): Change the latex font names in order
13520 to match the names of type1inst.
13522 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13524 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13526 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13527 (extchanged): ditto
13529 (remove_files_with_extension): ditto
13530 (remove_file): ditto
13533 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13534 document is smaller than the work area height. Do not initialize
13535 static variables to 0.
13537 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13539 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13541 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13542 LFUN_LAYOUT_PARAGRAPHS.
13544 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13545 tabular. It is possible to provide a possible cell, which will
13546 typically be the actcell from the corresponding insettabular
13548 * lyxfunc.C (getStatus): small cleanup; disable
13549 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13552 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13554 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13556 * paragraph.C (startTeXParParams):
13557 (endTeXParParams): new methods. The LaTeX code to
13558 start/end paragraph formatting
13559 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13560 empty (fixes bug #200)
13562 * vspace.C (inPixels): adapt to the change below
13563 (inPixels): [later] more cleanups (remove unused variables)
13565 * lyxlength.C (inPixels): change to use a width and a height as
13568 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13570 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13571 Replaced with \paperwidth
13573 * DepTable.C (insert): add std:: qualifier
13575 2002-01-18 Allan Rae <rae@lyx.org>
13577 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13580 * text.C (drawInset): Turned out I didn't know enough about how
13581 rebreaking worked. This fixes most of the redraw problems. I see
13582 an occasional cursor trail when a line is broken now and the cursor
13583 placement can seem out by a few pixels also after a rebreak.
13585 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13587 * buffer.C (parseSingleLyXformat2Token): update because minipage
13588 width is now a LyXLength
13590 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13592 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13595 2002-01-17 Juergen Vigna <jug@sad.it>
13597 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13599 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13600 is set correctly and the inset is updated correctly.
13602 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13604 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13605 the beginning of the loop.
13607 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13609 * lyxrc.C: improve help for use_scalable_fonts
13611 2002-01-17 Allan Rae <rae@lyx.org>
13613 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13615 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13617 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13618 make sure to set their inset_owner to the right value (bug #171)
13620 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13623 * DepTable.C: Implement mtime checking to reduce time spent doing
13626 2002-01-16 Juergen Vigna <jug@sad.it>
13628 * tabular.C (GetAdditionalHeight): one of error fixed.
13630 * lyxrc.C (output): small fix in writing use_pspell.
13632 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13634 * sp_base.h: #include LString.h
13636 2002-01-16 Allan Rae <rae@lyx.org>
13638 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13639 Can someone check this please?
13641 * text.C (drawInset): It was possible that p.row would be removed by
13642 breakAgainOneRow upsetting a few other settings. There may be another
13643 small tweak possible by setting need_break_row = 0 when p.row has been
13644 removed but I don't know enough about the logic here.
13646 2002-01-15 Allan Rae <rae@lyx.org>
13648 * text.C (insertChar): removed conditional truism.
13650 * BufferView2.C (removeAutoInsets): More tweaks.
13651 cur_par_prev could be a stray pointer. Check for trailing empty line
13652 in case last line was cur_par and only had an error inset on it.
13654 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13656 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13659 * vc-backend.C (most methods):
13660 * exporter.C (Export):
13661 * converter.C (convert):
13663 * LyXSendto.C (SendtoApplyCB):
13664 * lyxfunc.C (dispatch):
13668 * lyx_cb.C (AutoSave):
13670 * BufferView_pimpl.C (MenuInsertLyXFile):
13671 * buffer.C (runChktex): use Buffer::filePath().
13673 * buffer.h: rename filename to filename_; rename filepath to
13674 filepath_ and make it private
13675 (filePath): new method
13677 * buffer.C (writeFile): use fileName()
13680 * lyx_main.C (init): fix starting of LyX when the binary is a
13681 link from so,ewhere else.
13683 * minibuffer.C: include <cctype> for isprint
13685 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13687 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13688 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13689 name clash with InsetCollapsable's width function.
13691 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13693 * lastfiles.C: include <iterator>
13695 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13697 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13700 * buffer.C (makeLaTeXFile): ditto.
13701 Also make loop operation more transparent.
13703 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13705 * ToolbarDefaults.C: remove trailing comma closing namespace.
13707 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13709 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13712 * trans.C (Load): comment out unused variable, allowed.
13714 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13716 * minibuffer.[Ch] (append_char): new method to recieve input from the
13717 drop-down completion browser. If a key was pressed, then recieve this
13718 char and append it to the existing string.
13719 (peek_event): modify the positioning data passed to the completion
13720 browser so that it can be placed above the minibuffer rather than below.
13721 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13723 * LyXAction.C (init): alloe error-next for readonly documents.
13725 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13728 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13730 * bufferlist.C (readFile): create the buffer _after_ checking that
13733 * lyxfunc.C (verboseDispatch): fix handling of arguments
13735 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13737 * lyxrc.C: use string::erase() instead of initializing to "".
13740 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13742 * BufferView_pimpl.h:
13743 * BufferView_pimpl.C:
13746 * text2.C: tell X when we have made a selection for copying
13748 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13750 * BufferView_pimpl.C (MenuInsertLyXFile):
13751 * lyxfunc.C (menuNew):
13753 (doImport): add shortcuts to directory buttons
13755 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13758 * lyxfunc.C (setStatusMessage):
13759 (getStatusMessage): new methods
13760 (getStatus):use setStatusMessage instead of setErrorMessage
13761 (dispatch): when function is disabled, set error message here
13762 [instead of in getStatus previously]
13764 * BufferView_pimpl.C (workAreaButtonRelease): update
13765 toolbar/menubar here too.
13767 2002-01-13 Allan Rae <rae@lyx.org>
13769 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13770 Now seems indestructible. Remaining task is to audit all other
13771 code affected by deleteEmptyParagraphMechanism. One small quirk
13772 left is that an empty document with an error in the preamble can
13773 be made to report an error but no error box appears. I don't know
13775 (removeAutoInsets): Improved comments.
13777 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13780 * Thesaurus.C: update for Aiksaurus 0.14
13782 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13784 * text2.C (firstParagraph): removed member function, all uses
13785 replaces with ownerParagraph
13786 (redoParagraphs): here
13787 (updateInset): here
13788 (toggleAppendix): here
13789 * BufferView2.C (insertErrors): here
13790 (setCursorFromRow): here
13792 2002-01-13 Allan Rae <rae@lyx.org>
13794 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13795 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13796 There is still a way to segfault this although you may have to do this
13797 multiple times: Have an InsetERT with an unknown command in it.
13798 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13799 <down-arrow>, <Enter> again, View->DVI, BANG!
13801 * text2.C (setCursor):
13802 (deleteEmptyParagraphMechanism):
13803 * lyxtext.h (setCursor):
13804 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13805 Making use of the return value may help fix other bugs.
13807 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13809 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13811 * LyXView.C (updateMenubar): call MenuBar::update here
13812 (updateToolbar): but not here
13813 (showState): do not update toolbar/menubar
13815 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13816 should need to care about that.
13818 * lyxfunc.C (verboseDispatch): simplify a bit
13819 (getStatus): have a version which takes a pseudoaction, and
13820 another which requires a (kb_action,string).
13822 * LyXAction.C (retrieveActionArg): make it work also when action
13823 is not a pseudo-action.
13824 (getActionName): simplify a bit
13827 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13829 * lyxfunc.C (verboseDispatch): new families of methods with
13830 several ways to specify a command and a bool to indicate whether
13831 the command name and shortcut should be displayed in minibuffer
13832 (eventually, we could extend that to a finer bitmask like
13833 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13834 (dispatch): the pristine dispatch command which just, well,
13835 dispatchs! Note it still sets its result to minibuffer; I'm not
13838 * lyxfunc.h: remove setHintMessage
13840 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13842 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13844 * BufferView_pimpl.C (specialChar): delete new inset if we have
13845 not been able to insert it.
13847 * kbmap.C: revert to using int instead of kb_action, since all we
13848 are dealing with is pseudo-actions.
13850 * LyXAction.C (searchActionArg): change to return int instead of
13851 kb_action, since the result is a pseudoaction.
13853 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13855 * buffer.C (insertErtContents): Fix (partially) the font bug.
13857 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13859 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13860 as the other one is broken on my machine!
13862 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13865 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13867 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13869 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13870 reflect their actual use. Provide compatibility code for older lyxrc
13873 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13875 change names of popup font variables in line with the changes to lyxrc.C
13877 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13879 * buffer.C (asciiParagraph): avoid outputing a word twice after
13882 * lyxrc.C (getDescription): document that document_path and
13883 template_path can be empty.
13885 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13887 * LaTeXFeatures.C (getMacros):
13888 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13890 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13892 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13894 (getPackages): rename feature "floats" to "float". Use an array to
13895 iterate over 'simple' features (i.e. just a \usepackage). Add
13896 handling of "amsmath" (renamed from "amsstyle").
13898 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13900 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13903 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13905 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13906 FuncStaus::FuncStatus & FuncStaus::some_method().
13908 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13910 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13911 of the func_satus stuff. Edited and massaged in various ways by
13914 * lyxfunc.C (getStatus): use FuncStatus
13916 2002-01-08 Juergen Vigna <jug@sad.it>
13918 * text.C (nextBreakPoint): use function Inset::isChar().
13920 * paragraph.C (TeXOnePar): use function
13921 Inset::forceDefaultParagraphs.
13923 * buffer.C (latexParagraphs): use function
13924 Inset::forceDefaultParagraphs.
13926 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13928 * lyx_gui.C (init): set the style of the menu popups to
13929 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13931 2002-01-07 Juergen Vigna <jug@sad.it>
13933 * text.C (setHeightOfRow): small fix
13934 (prepareToPrint): don't look at alignment if we don't have the place
13937 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13939 * box.C: New file. Move the Box methods and functions out of box.h,
13940 following Lars' suggestion.
13942 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13944 * box.h: #include "support/LOstream.h", needed for inlined function.
13947 * lyxtextclasslist.C: added some using std declarations.
13949 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13951 * box.h: make signed dimensions to allow insets wider than
13952 the screen (bug #162)
13954 * BufferView_pimpl.C: add some insetHit debug
13956 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13958 * vc-backend.C: add FIXME
13960 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13962 * lyxfunc.C (getStatus): enable code for showing math font status
13965 2002-01-07 Juergen Vigna <jug@sad.it>
13967 * text.C (nextBreakPoint): removed debug output not needed anymore.
13969 2002-01-06 Juergen Vigna <jug@sad.it>
13971 * text.C (nextBreakPoint): fixed up this function we had this bug
13972 since ever but now hopefully we break row better.
13973 (insertChar): we have to check if an inset is the next char as it
13974 could now happen that a large inset is causing a break.
13976 2002-01-05 Juergen Vigna <jug@sad.it>
13978 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13979 if it doesn't like to be drawed.
13981 2002-01-04 Juergen Vigna <jug@sad.it>
13983 * BufferView2.C (lockInset): forgot to set a cursor.
13985 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13987 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13989 * FormMathsPanel.C:
13992 * form_maths_panel.C:
13993 * form_maths_panel.h:
13994 * form_maths_panel.fd: implemented sub- and super- buttons in math
13997 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13998 (or ^ space) to be used as in TeX (req'd by Andr�.
14000 * lyxfunc.C: Allow ^ and _ again to be used both as
14001 super/subscript (mathed) and as themselves (in text).
14003 2002-01-03 Allan Rae <rae@lyx.org>
14005 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14006 "LyX" or the filename of the current buffer if it has one. This is a
14007 modified form of John Levon's patch.
14009 * XFormsView.C (setWindowTitle): also set icon title.
14011 * LyXView.h (setWindowTitle): signature changed.
14012 * XFormsView.h (setWindowTitle): ditto.
14014 2002-01-02 Juergen Vigna <jug@sad.it>
14016 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14018 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14020 * screen.C (topCursorVisible): introduce a temp var for
14021 text->cursor.row(), handle the case where this row is null. (kindo
14024 * text2.C (setCursor): add a couple of asserts.
14026 * paragraph.h (inset_iterator): add -> operator
14028 * paragraph.[Ch] (autoDeleteInsets): remove member function
14030 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14031 cursor pos correctly and handle inset deletion by itself.
14032 (insertErrors): move iterator declaration out of for expression
14034 * lyxtextclass.C: add <algorithm>
14036 * Makefile.am: added the new files to sources, removed layout.C
14038 * layout.C: removed file
14040 * layout.h: remove LYX_DUMMY_LAYOUT
14042 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14046 * lyxtextclass.[Ch]:
14047 * lyxtextclasslist.[Ch]: new files
14049 * include order changes to a lot of files, also changes because of
14052 2001-12-27 Juergen Vigna <jug@sad.it>
14054 * buffer.C (asciiParagraph): more fixes.
14056 * tabular.C (ascii): make ascii export support export of only the
14057 data separated by a column-delimiter.
14058 (ascii): better support for ascii export.
14060 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14062 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14064 * tabular_funcs.C: use a "using std::getline" instead of the
14065 previous fix from Angus (necessary for cxx + lyxstring)
14067 2001-12-24 Juergen Vigna <jug@sad.it>
14069 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14071 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14072 problems. First check a minipage also if we have some ert-contents
14073 (not only on par->size(), second set the right depth of the paragraph
14074 on the relink to the root-paragraph-list!
14076 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14077 which then did not anymore update the main paragraphs on undo/redo!
14079 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14081 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14082 code. Support all font-changing funcs (even those which are not in
14083 menu currently). Support for reporting font settings in
14084 mathed (disabled until Andre provides a function on mathed's side).
14086 * func_status.h (toggle): small helper function to set toggle
14089 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14091 * tabular_funcs.C: getline -> std::getline
14093 2001-12-21 Juergen Vigna <jug@sad.it>
14095 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14096 accessed and could be 0 (I couldn't generate this but it seems
14099 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14101 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14102 * tabular_funcs.h: here and include iosfwd
14104 2001-12-20 Juergen Vigna <jug@sad.it>
14106 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14107 inside inset but undo_par was.
14109 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14111 * Thesaurus.C: always include <config.h> in sources.
14115 * box.h: do not include <config.h> in header files
14117 * text.C (paintLastRow): remove unused variable
14119 * text.C (transformChar):
14121 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14123 * Painter.C (text):
14124 * font.C (width): rewrite to use uppercase() instead of
14127 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14129 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14131 * lyxfind.C: clean up of find failure position change
14133 2001-12-20 Juergen Vigna <jug@sad.it>
14135 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14137 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14138 (TeXRow): added to LaTeX a single tabular row.
14139 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14140 (Latex): simplified and finally good LT-h/f support.
14141 (various_functions): just small adaptions for LT-h/f support.
14143 * tabular_funcs.[hC]: added and moved here all not classfunctions
14146 2001-12-19 Juergen Vigna <jug@sad.it>
14148 * tabular.[Ch]: better support for longtabular options (not finished
14151 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14153 * text.C (paintLastRow): use the label font instead of the font of
14154 the last character to compute the size of *_BOX. This makes more
14155 sense and avoids a crash with empty paragraphs.
14156 Use Painter::rectangle to draw EMPTY_BOX.
14158 2001-12-19 Juergen Vigna <jug@sad.it>
14160 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14161 the paragraphs if the replaced paragraph is not the first one!
14162 Tried to delete not used paragraphs but does not work yet so for
14163 now it's inside #ifdef's and by default off!
14165 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14167 * MenuBackend.C: include "lyx_main.h" instead of declaring
14168 lastfiles (actually was declared as LastFiles* instead of a
14171 2001-12-17 Juergen Vigna <jug@sad.it>
14173 * tabular.C (AppendColumn): applied John's fix
14175 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14179 * BufferView_pimpl.h:
14180 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14183 * box.h: new start of class for above
14185 * lyxfunc.C: ignore space-only minibuffer dispatches.
14186 Show the command name when it doesn't exist
14188 * minibuffer.C: don't add empty lines to the history
14190 * minibuffer.C: add a space on dropdown completion
14192 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14194 * text.C: fix line above/below drawing in insets
14196 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14198 * lyxlength.C (LyXLength): Initialize private variables.
14200 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14202 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14203 when inserting error insets.
14205 2001-12-13 Juergen Vigna <jug@sad.it>
14207 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14208 actually sometimes the before-paragraph.
14209 (setUndo): don't clear the redostack if we're not actually undoing!
14211 2001-12-06 Juergen Vigna <jug@sad.it>
14213 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14214 and fixed redoing of main paragraph, so we can use it now ;)
14216 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14218 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14220 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14223 2001-12-13 André Pönitz <poenitz@gmx.net>
14226 * undo_func.C: minor cleanup
14228 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14230 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14231 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14232 font in urw-fonts package which is marked as -urw-fontspecific and
14233 does not work (incidentally, changing the encoding in the
14234 fonts.dir of this package to -adobe-fontspecific fixes the
14237 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14238 is a crash when undoing first paragraph (Juergen, please take a
14239 look). THis does not mean the undo fix is wrong, just that it
14242 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14243 the (Paragraph*) version when needed instead of duplicating the
14246 * text.C (workWidth): use Inset::parOwner to find out where the
14247 inset has been inserted. This is a huge performance gain for large
14248 documents with lots of insets. If Inset::parOwner is not set, fall
14249 back on the brute force method
14251 * paragraph_pimpl.C (insertInset):
14252 * paragraph.C (Paragraph):
14253 (cutIntoMinibuffer): set parOwner of insets when
14254 inserting/removing them
14256 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14258 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14264 * mathed/formulabase.C:
14265 * mathed/math_cursor.[Ch]:
14266 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14269 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14271 * lyxlength.[Ch] (operator!=): new function
14273 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14275 * text.C (workWidth): use Inset::parOwner to find out where the
14276 inset has been inserted. This is a huge performance gain for large
14277 documents with lots of insets. If Inset::parOwner is not set, fall
14278 back on the brute force method
14280 * paragraph_pimpl.C (insertInset):
14281 * paragraph.C (Paragraph):
14282 (cutIntoMinibuffer): set parOwner of insets when
14283 inserting/removing them
14285 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14287 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14289 * tabular-old.C (getTokenValue):
14290 * tabular.C (getTokenValue):
14291 (write_attribute): new versions for LyXLength
14292 (everywhere): adjust the use of widths
14294 * tabular.h: change the type of widths from string to LyXLength
14296 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14298 * paragraph.C: fixed missing line number count when exporting
14299 Environments to LaTeX file
14301 * buffer.C: added informational message for checking line numbers.
14303 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14305 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14306 paragraph, do the 'double space' part, but not the 'empty
14309 * text.C (workWidth): small optimization
14310 (getLengthMarkerHeight): use minimal size for negative lengths.
14312 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14314 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14316 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14318 2001-12-11 André Pönitz <poenitz@gmx.net>
14321 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14323 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14325 * text2.C: keep selection on a setFont()
14327 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14329 * lyx_cb.C: another bv->text misuse, from insert label
14331 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14334 * kbsequence.C: re-instate nmodifier mask
14336 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14338 * lyx_main.h: make lyxGUI private.
14340 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14342 * lyxfind.C: place the cursor correctly on failed search
14344 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14346 * text.C (getLengthMarkerHeight): for small heights, the arrows
14347 are not always on top/bottom of the text
14348 (drawLengthMarker): smaller arrows; take the left margin in
14349 account; draw also vfills.
14351 (paintLastRow): remove special code for vfill and standard spaces,
14352 since everything is handled in drawLengthMarker now.
14354 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14356 * buffer.C (insertErtContents): try to handle font and language
14357 interaction a bit better.g
14359 * ColorHandler.C (updateColor): change the hash to cover the whole
14360 LColor enum, ws cleanup
14361 (getGCLinepars): ditto
14362 (getGCLinepars): only lookup in the linecache once.
14364 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14366 * iterators.C (operator++): Make the iterator more robust
14368 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14370 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14372 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14375 * text.C: better added space drawing
14377 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14380 * BufferView2.C: fix layout combo update on inset unlock
14382 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14384 * Makefile.am: don't compile unused files
14386 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14390 * LyXAction.C: remove old LFUN_LAYOUTNO
14392 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14394 * paragraph_pimpl.h:
14395 * paragraph_pimpl.C: isTextAt() doesn't need font param
14397 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14400 * lyxlex.C: little cleanup
14402 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14404 * BufferView_pimpl.C: fix insertAscii for insets
14406 2001-12-05 Juergen Vigna <jug@sad.it>
14408 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14409 set the right font on the "multi" paragraph paste!
14411 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14417 * lyxlength.C: remove out-commented code.
14419 * BufferView_pimpl:
14433 * vc-backend.C: change "while(" to "while ("
14435 * lyxlength.[Ch]: add zero function to check if length is zero or
14437 * lyxgluelength.C: use it
14439 2001-12-05 Allan Rae <rae@lyx.org>
14441 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14442 Works for 2.95.3, from what I understand of Garst's reports this should
14443 work for other g++ versions. We're screwed if the abs(int) definition
14444 changed between bugfix releases of gcc.
14446 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14448 * text.C: fix chapter label offset !
14450 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14453 * text.C: fix hfill at end of line, clean up
14455 2001-12-04 Juergen Vigna <jug@sad.it>
14457 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14458 that we force an update of the inset and it's owners if neccessary.
14460 2001-12-03 Juergen Vigna <jug@sad.it>
14462 * text.C (rowLast): simplified code
14464 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14466 * lyxfunc.C: fix show options on timeout
14468 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14470 * screen.C (topCursorVisible): scroll half a page when the cursor
14471 reached top of bottom of screen
14473 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14475 * minibuffer.C: deactivate on loss of focus
14477 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14479 * vspace.[Ch] (operator!=): add operator.
14481 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14483 * BufferView_pimpl.C: refuse to open an inset when
14484 there's a selection.
14486 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14488 * BufferView_pimpl.C: allow to click on RHS of full row insets
14490 2001-11-30 Juergen Vigna <jug@sad.it>
14492 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14493 insets for undo reasons.
14495 2001-11-28 André Pönitz <poenitz@gmx.net>
14497 * vspace.[Ch]: cosmetical changes
14499 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14509 * kbsequence.C: part re-write of old kb code
14512 * WorkArea.C: remove Lgb_bug_find_hack
14514 2001-11-30 José Matos <jamatos@fep.up.pt>
14516 * buffer.C (makeDocBookFile): add a comment to point a hack.
14517 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14518 Fixed a double write of labels.
14520 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14523 * LaTeX.h Fixed bug in LaTeX class where it would not
14524 re-run latex if no depfiles were changed, but the .dvi was removed.
14526 2001-11-28 André Pönitz <poenitz@gmx.net>
14528 * all the files from the change on 2001/11/26:
14529 use lyx::layout_type instead of LyXTextClass::size_type
14530 use lyx::textclass_type instead of LyXTextClassList::size_type
14532 2001-11-29 Juergen Vigna <jug@sad.it>
14534 * text.C: added support for paragraph::isFreeSpacing()
14536 * buffer.C: same as above
14538 * paragraph.h: inserted isFreeSpacing() function to enable
14539 FreeSpacing inside InsetERT.
14541 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14542 of the paragraph's in the cut/copy buffer to 0!
14544 * text2.C (removeRow): remove the assert as it can!
14546 * lyxtext.h: added helper function firstRow returning firstrow and
14547 made firstrow private again.
14549 * BufferView2.C (lockInset): don't relock if we're already locked!
14551 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14552 the only paragraph.
14553 (removeRow): added Assert::(firstrow)
14555 * debug.C: forgot to add INSETTEXT here.
14557 2001-11-28 Juergen Vigna <jug@sad.it>
14559 * sp_spell.C (initialize): changed error text to more general
14560 spellchecker command use (not only ispell!)
14562 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14564 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14566 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14568 * vspace.C: initialise lyxgluelength on failure
14570 2001-11-28 Allan Rae <rae@lyx.org>
14572 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14573 declaration & definition that looks like a function declaration.
14575 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14577 * BufferView2.C (copy):
14578 (copyEnvironment): do not clear the selection when doing a copy.
14580 * text.C (paintFirstRow): compilation fix
14582 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14584 * tabular.C (Latex): correct line count when writing latex.
14586 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14588 * paragraph_pimpl.h:
14589 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14592 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14596 * LColor.C: change vfillline->added_space
14598 * text.C: add markers and text for added space
14600 * vspace.C: fix comment
14602 2001-11-28 André Pönitz <poenitz@gmx.net>
14604 * paragraph.C: whitespace changes
14605 * all the other files from the change on 2001/11/26:
14606 change *::pos_type into lyx::pos_type
14608 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14610 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14611 language of the document when inserting error insets.
14613 2001-11-26 André Pönitz <poenitz@gmx.net>
14615 * BufferView_pimpl.[Ch]:
14623 * paragraph_pimpl.[Ch]:
14626 * text2.C: reduce header dependencies, introduce type for positions
14628 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14630 * <various>: change to use Alert.h
14632 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14634 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14635 when encountering an unknown token.
14636 (readLyXformat2): Show an error message if there were unknown tokens.
14638 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14641 * BufferView_pimpl.C:
14645 * text2.C: use par->isInset()
14647 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14649 * paragraph_pimpl.h:
14650 * paragraph_pimpl.C: cleanup
14652 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14654 * text2.C (removeRow):
14655 * text.C (setHeightOfRow): remove useless (and costly) call to
14658 2001-11-20 Allan Rae <rae@lyx.org>
14660 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14661 Now need Inset*::checkInsertChar() to return true for appropriate
14662 cases so that the characters in the minibuffer will actually be
14665 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14667 * text.C: change the order of the includes.
14668 (workWidth): initialize it at once.
14669 (workWidth): make maxw unsigned
14670 (setHeightOfRow): remove unused variable (inset)
14671 (selectSelectedWord): remove unused variable (inset)
14672 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14674 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14676 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14677 server is not running.
14679 (closeConnection): add debug info when server is disabled.
14681 * ColorHandler.C (getGCForeground): send debug message to GUI
14684 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14686 * kbmap.C (bind): modify because return conventions of
14687 kb_sequence::parse have changed.
14689 * kbsequence.C (parse): only ignore spaces and not any stupid
14690 control character. This avoids tests like s[i] <= ' ', which are
14691 guaranteed to fail with 8bit characters and signed chars.
14692 Change return code to string::npos when there have been no error
14693 (0 was a bad idea when error is at first character)
14695 2001-11-14 José Matos <jamatos@fep.up.pt>
14698 * buffer.C (simpleDocBookOnePar): removed unused argument.
14700 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14702 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14703 insets which are part of a word. Paragraph::isLetter takes care of
14704 that now. Use Paragraph::isInset to identify insets.
14705 (selectSelectedWord): do not test for hyphenation break.
14707 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14708 that protected spaces are considered as spaces.
14710 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14713 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14716 * lyxserver.C: fix it. and small cleanup.
14718 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14720 * BufferView_pimpl.C: use inline helpers
14723 * LaTeXFeatures.C: fix typos
14726 * Spacing.C: move spacing_string into class
14728 * ToolbarDefaults.C: move stuff into namespace anon
14730 * layout.h: update enum
14732 * lyxfunc.C: use better debug
14734 * minibuffer.h: fix typo
14738 * WorkArea.C: add and use Debug::WORKAREA
14742 * text2.C: code re-organisation, inline helpers
14744 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14746 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14747 std::vector.empty().
14749 2001-11-09 Allan Rae <rae@lyx.org>
14751 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14752 '\n's after tables. Tabular and ERT inset work now makes this no
14755 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14758 * minibuffer.C: fix crash, improve drop-down completion
14760 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14763 * lyxserver.C: invalidate fd's when doing endPipe()
14765 2001-11-08 José Matos <jamatos@fep.up.pt>
14767 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14768 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14771 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14773 2001-11-07 José Matos <jamatos@fep.up.pt>
14776 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14779 * buffer.C (sgmlOpenTag):
14780 * buffer.C (sgmlCloseTag): removed debug info.
14782 * buffer.h (sgmlOpenTag):
14783 * buffer.h (sgmlCloseTag): made public.
14785 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14787 * buffer.C (saveParamsAsDefaults):
14788 * lyx_cb.C (MenuLayoutSave): remove
14790 * LyXAction.C (init):
14792 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14794 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14796 * buffer.C (setPaperStuff): removed from here...
14798 * bufferparams.C (setPaperStuff): ... and moved there.
14800 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14804 * XFormsView.C: add support for drop-down completion
14806 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14808 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14811 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14813 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14816 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14818 * lyx_main.C: change ref to known bugs
14820 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14822 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14823 to work around older babel problems.
14825 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14827 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14829 2001-10-24 Juergen Vigna <jug@sad.it>
14831 * tabular-old.C (ReadOld): below variable changes reflected.
14833 * tabular.[Ch]: added ltType struct for longtable header/footer
14834 defines and changed all instances where they are used. Added
14835 future support for double top/bottom rows.
14837 2001-10-24 José Matos <jamatos@fep.up.pt>
14839 * buffer.h (docbookHandleCaption):
14840 * buffer.C (docbookHandleCaption): removed unused function.
14841 (makeDocBookFile): moved docbook supported version to v4.1.
14843 2001-10-24 José Matos <jamatos@fep.up.pt>
14846 * tabular.C (docbookRow): new function to export docbook code of a row.
14847 (DocBook): now honors the longtable flags.
14849 2001-10-23 José Matos <jamatos@fep.up.pt>
14852 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14853 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14855 * buffer.C (makeLinuxDocFile):
14856 (makeDocBookFile): reworked the preamble, more clean, and with
14857 support for lyx defined entities. Changed the document declaration
14858 to be more XML friendly.
14860 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14861 if we need to output XML that should be done with a filter.
14863 2001-10-22 Juergen Vigna <jug@sad.it>
14865 * sp_pspell.h (class PSpell): add alive function needed in the
14866 controller to see if the spellchecker could be started.
14868 2001-10-22 Juergen Vigna <jug@sad.it>
14870 * buffer.C (insertStringAsLines): modify the font for inserting
14871 chars in certain conditions by calling checkInsertChar(font).
14873 2001-10-19 Juergen Vigna <jug@sad.it>
14875 * text.C (workWidth): use getRow instead of wrong algorithm.
14876 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14878 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14883 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14885 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14887 * text.C (workWidth): do not search for the exact row when
14888 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14889 optimization for big documents.
14891 2001-10-18 Juergen Vigna <jug@sad.it>
14893 * text.C (workWidth): new function with added Inset * parameter.
14895 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14897 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14899 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14900 change return type of getColumnNearX.
14903 * text.C (changeRegionCase): use uppercase/lowercase instead of
14906 (rightMargin): simplify code by factoring out the uses of
14911 (appendParagraph): use Paragraph::size_type
14913 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14915 * vspace.C (asLatexString): add a missing break
14917 2001-10-15 Herbert Voss <voss@perce.de>
14919 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14921 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14923 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14926 2001-10-10 André Pönitz <poenitz@gmx.net>
14928 * lyxfunc.C: removed greek_kb_flag.
14930 2001-10-10 Herbert Voss <voss@perce.de>
14932 * lyx_main.C: delete global string help_lyxdir.
14934 2001-10-09 Herbert Voss <voss@perce.de>
14936 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14938 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14940 * lyx_main.C: added global string help_lyxdir.
14942 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14944 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14946 * lyxrc.C (set_font_norm_type): support iso8859-4
14948 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14950 * LaTeX.C (deplog): add another regex for MikTeX
14952 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14954 * lyxrc.C (set_font_norm_type): support iso8859-3
14956 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14958 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14960 * LaTeXFeatures.C: remove special case of french and index
14962 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14963 before \begin{document}). This solves several incompatibilities.
14965 2001-10-03 Garst Reese <reese@isn.net>
14967 * lyx_cb.C: change CheckTex error msg.
14969 2001-10-03 José Matos <jamatos@fep.up.pt>
14971 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14973 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14975 * .cvsignore: update
14977 * lyx_main.C (commandLineVersionInfo): use new style version info.
14979 * buffer.C (writeFile):
14981 (makeLinuxDocFile):
14982 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14984 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14986 * version.h: update to use stuff in version.C
14988 * version.C.in: new file. Contains version information determined
14989 at compile time. This is a merging of version.h and
14992 2001-10-03 Juergen Vigna <jug@sad.it>
14994 * BufferView_pimpl.C (update): don't change "dirty" status in
14997 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14999 * WorkArea.C (c-tor): re-position version string slightly.
15001 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15003 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15004 revert to previous code.
15006 WorkArea.[Ch]: (show, destroySplash): methods removed.
15008 WorkArea.C: rework code so that it's an amalgam of the codes before and
15009 after the splash screen was moved to WorkArea.
15011 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15014 * vspace.C (inPixels):
15017 * buffer.C (insertStringAsLines):
15018 (asciiParagraph): fix types to be large enough
15020 * lyxlex_pimpl.h: change member status from short to int
15022 * layout.h: fix type of endlabeltype
15025 * kbsequence.C (parse): change return type to string::size_type
15027 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15030 * Bullet.C (bulletSize):
15031 (bulletEntry): do not use short ints as parameters
15033 * BufferView2.C (insertLyXFile): change a char to an int.
15035 * WorkArea.C (WorkArea): remove unneeded floats in computation
15037 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15039 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15041 * paragraph.C (asString): Do not ignore newline/hfill chars when
15042 copying to the clipboard.
15044 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15046 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15047 after a multi-line inset.
15049 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15051 * paragraph.C (validate): Set NeedLyXFootnoteCode
15053 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15055 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15056 and decrease-error to decrease.
15058 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15060 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15061 it more readable (should be equivalent)
15063 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15065 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15067 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15069 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15070 of a cursor (row, etc.) after a character has been deleted
15071 (deleteEmptyParagraphMechanism): call the method above on _all_
15072 cursors held by the LyXText when a double space has been
15075 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15077 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15079 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15081 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15082 background. Use greyOut() and the new show() methods to toggle between
15083 the foreground and background. Add code to remove the splash after
15084 its initial showing.
15086 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15087 (create_forms): no longer call Dialogs::showSplash.
15089 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15091 * .cvsignore: add version_info.h
15093 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15095 * version_info.h.in: new file
15097 * Makefile.am: add version_info.h.in
15099 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15100 version_info.h instead of VERSION_INFO
15102 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15104 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15105 The ERT inset now returns string().
15107 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15109 * lyxtext.h, text.C (selectNextWord): renamed as
15110 selectNextWordToSpellcheck.
15112 * text.C (selectNextWordToSpellcheck): Modified to not select
15113 words inside an ERT inset.
15115 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15117 * lyx_cb.C (MenuLayoutSave): change a bit the question
15119 * sp_base.h: include <sys/types.h>
15121 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15123 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15125 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15127 * several files: fix typos in user-visible strings
15129 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15131 * text2.C (pasteSelection): do not set the selection, since it
15132 will be cleared later. Actually, the intent was to fix the way the
15133 selection was set, but I figured rmoving the code was just as good.
15135 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15137 * FontLoader.C (available): Check if font is available without
15140 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15142 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15144 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15146 * lyxrc.[Ch]: added display_graphics variable and associated code.
15148 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15150 * bufferparams.C (hasClassDefaults): new method. Returns true if
15151 the buffer parameters correspond to known class defaults
15153 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15155 * XFormsView.C (show): set minimum size to the main window.
15157 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15159 * text2.C (copySelection):
15161 * lyxfind.C (LyXReplace):
15162 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15163 LyXText::selectionAsString.
15165 * paragraph.C (asString): add "label" argument to the second form
15167 * text2.C (selectionAsString): add "label" argument and pass it to
15168 Paragraph::asString.
15170 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15172 * lyx_main.C (commandLineHelp): remove version information
15174 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15176 * lyx_main.C: add -version commandline option
15178 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15180 * paragraph.h: make the optional constructor arg required instead.
15181 some modifications to other files because of this.
15183 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15185 * lyxserver.C (C_LyXComm_callback): make it static
15187 * lyx_main.C (error_handler): make it static
15189 * lyx_gui.C (LyX_XErrHandler): make it static
15191 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15193 * WorkArea.C: make the extern "C" methods static.
15195 * Makefile.am (lyx_LDADD): simplify
15197 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15199 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15200 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15202 * LyXAction.C (init):
15203 * lyxfunc.C (dispatch): associated code removal.
15205 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15207 * lyxfont.h (isSymbolFont): shut off warning
15209 * text.C (setHeightOfRow):
15210 (getVisibleRow): fix crash with empty paragraphs which have a
15213 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15215 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15218 2001-09-04 José Matos <jamatos@fep.up.pt>
15221 * tabular.C (docbook): rename docBook method to docbook.
15223 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15225 * Makefile.am: add dependencies to main.o.
15227 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15229 * FontLoader.C (available): Return false if !lyxrc.use_gui
15231 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15233 * FontInfo.C (query):
15234 * converter.C (view):
15235 * importer.C (Import):
15236 * exporter.C (Export): Can not -> cannot.
15238 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15240 * BufferView_pimpl.C: allow to create index inset even if
15243 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15245 * buffer.C (getLists): replace boost::tie code with an explicit pair
15246 as boost::tie can break some compilers.
15248 * iterators.h: Added a std:: declaration to the return type of
15251 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15253 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15256 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15258 * iterators.[Ch]: New files. Provide paragraph iterators.
15260 * buffer.C (changeLanguage): Use paragraph iterators.
15261 (isMultiLingual): ditto
15263 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15265 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15267 * FontLoader.C: Support for cmr font.
15269 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15271 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15272 (available): New method.
15274 * FontInfo.C (getFontname): Use scalable fonts even when
15275 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15278 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15280 * converter.C (Formats::view): reverted! Incorrect fix.
15282 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15284 * converter.C (Formats::view): only output the -paper option
15285 if the dvi viewer is xdvi, thereby fixing bug #233429.
15287 2001-08-23 Herbert Voss <voss@perce>
15289 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15291 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15293 * Spacing.h (Spacing): Set space to Default on in the default
15296 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15298 * vc-backend.h (RCS::versionString): add RCS to version
15299 (CVS::versionString): add CVS to version
15301 * vc-backend.C (scanMaster): do not add CVS to version.
15302 (scanMaster): do not add RCS to version
15304 * lyxvc.C (versionString): new method
15306 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15308 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15310 * Spacing.C (set): initialize fval
15312 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15314 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15317 2001-08-16 Juergen Vigna <jug@sad.it>
15319 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15321 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15323 * BufferView_pimpl.C:
15326 * text2.C: setParagraph takes linespacing now
15328 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15330 * LyxAction.C: add internal LFUN_CITATION_INSERT
15332 * LyXView.C: actually apply fix
15334 * bufferlist.C: fix open non-existent file
15336 * lyxfind.C: fix indentation
15338 * lyxfunc.C: remove unneeded assert, fix typo
15340 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15342 * MenuBackend.C: use "Floatname List"
15344 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15346 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15347 when converting LaTeX layout to insetERT.
15348 Generate a non-collapsed float when reading old float
15350 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15352 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15355 2001-08-13 Juergen Vigna <jug@sad.it>
15357 * text.C (fill): return 0 instead of 20 as this seems to be the more
15360 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15362 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15365 2001-08-13 Juergen Vigna <jug@sad.it>
15367 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15369 (SearchBackward): comment out the unlocking of the inset_owner this
15370 should not be needed!
15372 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15374 * Many files: Remove inherit_language, and add latex_language
15376 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15377 collapsible insets.
15379 2001-08-10 Juergen Vigna <jug@sad.it>
15381 * text.C (prepareToPrint): fixed hfill-width in draw!
15383 * BufferView2.C (selectLastWord): save the selection cursor as this
15384 now is cleared in the function LyXText::clearSelection!
15386 2001-08-08 Juergen Vigna <jug@sad.it>
15388 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15389 BACKSPACE type functions.
15391 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15392 is only cutted from the document but not put in the cut-buffer, where
15393 still the old stuff should be.
15395 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15397 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15399 * tabular.C (SetWidthOfCell): fixed special case where the width
15401 (LeftLine): handle '|' in align_special.
15403 (LeftAlreadyDrawed): ditto
15404 (SetWidthOfCell): ditto
15406 2001-08-07 Juergen Vigna <jug@sad.it>
15408 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15410 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15412 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15413 * lyxlex.[hC]: ditto
15415 2001-08-06 Juergen Vigna <jug@sad.it>
15417 * text.C (getVisibleRow): fix up row clearing a bit.
15419 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15421 * minibuffer.C: make sure the X server sees the changes in the input.
15423 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15425 * paragraph.C (getFont): split into...
15426 (getLabelFont): this
15427 (getLayoutFont): and this
15428 * paragraph_pimpl.C (realizeFont): calling this
15430 * text2.C (getFont): split into...
15431 (getLayoutFont): this
15432 (getLabelFont): and this
15433 (realizeFont): all three calling this
15435 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15438 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15440 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15442 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15444 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15445 layouts from the Quote inset insertion.
15447 2001-08-03 Juergen Vigna <jug@sad.it>
15449 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15451 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15452 only if status not is already CHANGED_IN_DRAW (second level).
15454 * text.C (draw): don't set the need_break_row when inside an
15457 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15459 * buffer.C (parseSingleLyXformat2Token): handle more latex
15462 * bufferview_funcs.[hC]: change function names to
15463 begin with small char, adjust other files.
15465 2001-08-02 André Pönitz <poenitz@gmx.net>
15468 BufferView_pimpl.C: remove broken special code for math-greek
15470 2001-08-02 Juergen Vigna <jug@sad.it>
15472 * BufferView_pimpl.C (update): redone this function so that we
15473 update the text again if there was a CHANGE_IN_DRAW.
15475 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15476 (drawFromTo): added a new internal bool which is used by draw() and
15478 (general): some cursor drawing problems fixed.
15480 2001-08-01 Juergen Vigna <jug@sad.it>
15482 * lyxfind.C (LyXFind): fixed
15483 (SearchForward): ditto
15484 (SearchBackward): ditto
15486 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15487 spurius drawing of the cursor in the main area.
15489 * text2.C (status): small fix which could lead to a segfault!
15490 (clearSelection): remove unneeded BufferView param.
15492 2001-08-01 André Pönitz <poenitz@gmx.net>
15494 * lyxfunc.C: small change due to changed mathed interface
15496 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15498 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15500 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15502 * lyxfunc.c: fail gracefully if file doesn't exist
15507 * BufferView_pimpl.C: IsDirWriteable() proto changed
15509 * LyXView.C: fix updateWindowTitle() to store the last title
15511 2001-07-31 Juergen Vigna <jug@sad.it>
15513 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15514 the font (wrong since using of Paragraph::highestFontInRange).
15516 * paragraph.C (highestFontInRange): added a default_size parameter.
15518 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15519 (setHeightOfRow): reformat
15521 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15523 * converter.[hC] + affected files: move to (inital-char)lowercase
15526 * ParagraphParameters.C (ParagraphParameters): remove commented code
15528 * PainterBase.[Ch]: remove commented code
15530 * LaTeXFeatures.h: add "bool floats" for float.sty
15532 * LaTeXFeatures.C (LaTeXFeatures): init floats
15533 (require): handle float
15534 (getPackages): do it with floats
15536 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15538 * BufferView_pimpl.C (Dispatch): improve handling of
15539 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15541 * commandtags.h: #include lyxfont.h here temporarily to avoid
15544 * bufferlist.h: include LString.h here.
15546 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15548 * text2.C (getStringToIndex): new method.
15550 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15552 * *: Reduced header file dependencies all over.
15554 2001-07-30 Baruch Even <baruch@lyx.org>
15556 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15558 2001-07-29 Baruch Even <baruch@lyx.org>
15560 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15562 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15564 * ParameterStruct.h (endif): add a default constructor to make
15565 sure that all variables is initialized.
15567 * ParagraphParameters.C (ParagraphParameters): adjust
15569 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15571 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15572 index; also, check that there is something to index, and that it
15573 does not span over several paragraphs.
15574 (doubleClick): use WHOLE_WORD_STRICT for double click.
15576 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15578 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15581 2001-07-26 Baruch Even <baruch@lyx.org>
15583 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15584 an InsetFig figure, backwards compatible reading of old figure code.
15586 2001-07-27 Juergen Vigna <jug@sad.it>
15588 * text2.C: font.realize function adaption.
15590 * text.C (draw): add a warnings lyxerr text if needed.
15592 * layout.C: font.realize function adaption.
15594 * language.C: add inherit_language and implement it's handlings
15596 * bufferview_funcs.C (StyleReset): remove language parameter from
15597 font creation (should be language_inherit now).
15599 * bufferparams.C (writeFile): handle ignore_language.
15601 * paragraph.C (getFontSettings): the language has to be resolved
15602 otherwise we have problems in LyXFont!
15604 * lyxfont.C (lyxWriteChanges): added document_language parameter
15605 (update): removed unneeded language parameter
15607 * paragraph.C (validate): fixed wrong output of color-package when
15608 using interface colors for certain fonts in certain environments,
15609 which should not seen as that on the final output.
15611 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15613 * BufferView_pimpl.C:
15618 * LyXAction.C: add thesaurus support
15621 * lyxfind.C: add "once" parameter, for thesaurus, to not
15622 move to the next match
15624 2001-07-26 Juergen Vigna <jug@sad.it>
15626 * lyxfont.C (realize): honor ignore_language too!
15629 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15631 * text.C (draw): one place more for ignore_language to not draw
15634 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15636 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15638 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15640 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15641 the minipage conversion problem.
15643 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15645 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15648 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15650 * BufferView.h: don't forward declare WorkArea
15652 * BufferView.C: don't include WorkArea.h
15654 2001-07-25 André Pönitz <poenitz@gmx.net>
15658 * lyxfunc.C: new LFUN 'math-space'
15660 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15662 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15664 * text2.C (toggleInset): call open/close
15666 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15668 * lyxfunc.C (dispatch): add debug for the disabled case
15670 * font.C (buttonText): make similar to rectText
15672 * buffer.C (readInset): comment out parsing of insetlist and
15675 * PainterBase.C (rectText): small correction
15677 * BufferView_pimpl.C: comment out insettheorem and insetlist
15678 * LyXAction.C: ditto
15679 * commandtags.h: ditto
15681 2001-07-24 Juergen Vigna <jug@sad.it>
15683 * text.C (draw): honor the ignore_language.
15685 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15687 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15689 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15692 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15694 * lyxtext.h: remove unused (and unimplemented) methods
15696 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15698 * text.C (getVisibleRow): honor background color
15701 * Painter.h: remove default color argument for fillRectangle
15703 * text.C (backgroundColor): new method
15705 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15707 * text.C (getVisibleRow): adjust
15709 * font.[Ch] (rectText): new method, metrics
15710 (buttonText): new method, metrics
15712 * PainterBase.[hC]: make rectText and buttonText always draw and take
15715 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15717 * ToolbarDefaults.C (read):
15718 * MenuBackend.C (read): allow escaping in all strings
15720 * BufferView_pimpl.C (insertAndEditInset): new method.
15721 (Dispatch): use insertAndEditInset whenever appropriate.
15723 * BufferView_pimpl.C (insertNote): removed
15725 * BufferView_pimpl.C (smartQuote): new method, moved from
15726 BufferView; if an insetquote cannot be inserted, insert a '"'
15729 * BufferView2.C: remove insertCorrectQuote();
15731 * lyxfunc.C (getStatus): Add support for all remaingin
15732 inset-insert lfuns.
15734 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15736 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15737 command (necessary to pass " as parameter of self-insert.
15739 * text.C (selectWordWhenUnderCursor):
15740 (selectWord): add word_location parameter
15741 (selectWordWhenUnderCursor): same + remove special code for word
15743 (selectNextWord): use kind() to guess type of insetspecialchar,
15746 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15747 (insertErtContents): create ert insets as collapsed.
15748 (readInset): better compatibility code for Info inset.
15750 2001-07-20 Juergen Vigna <jug@sad.it>
15752 * lyxfunc.C (dispatch): use always LyXFind now!
15754 * text2.C (init): add a reinit flag so that the LyXText can be
15755 reinited instead of deleted and reallocated (used in InsetText).
15757 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15763 2001-07-18 Juergen Vigna <jug@sad.it>
15765 * text.C (selectNextWord): handle insets inside inset by calling
15766 always the bv->text functions so that we can go up the_locking_inset!
15768 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15769 in strange locations when inside an inset!
15771 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15772 handling to include insets.
15774 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15776 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15778 * LyXAction.C (init):
15780 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15781 LIGATURE_BREAK, since the name is so stupid.
15783 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15785 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15788 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15790 * sp_form.[Ch]: remove.
15792 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15794 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15797 * src/buffer.C (readInset): ditto.
15799 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15801 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15802 menuSeparator(), endOfSentenceDot(), ldots() and
15803 hyphenationPoint(), which are therefore removed.
15804 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15806 * LyXAction.C (init):
15807 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15809 * paragraph.C (getWord): removed.
15811 * BufferView_pimpl.C (Dispatch): use last word or selection for
15812 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15814 * lyx_main.C (queryUserLyXDir): do not ask before creating
15815 user_dir, except if it has been named explicitely.
15817 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15819 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15820 a document of zero size.
15822 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15824 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15825 approriately in the c-tor and in require().
15826 (getPackages): output the appropriate LaTeX for natbib support.
15828 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15829 variables "use_natbib" and "use_numerical_citations" when reading the
15831 (readInset): read the various natbib cite commands.
15832 (validate): white-space change.
15834 * bufferparams.[Ch]: new variables "bool use_natbib" and
15835 "bool use_numerical_citations".
15836 (writeFile): output them in the LyX file.
15838 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15840 * lyxfunc.C (getStatus): add support for all the inset insertion
15843 * text2.C (insertInset):
15844 * paragraph.C (insetAllowed):
15845 * BufferView_pimpl.C (insertInset): update to take in account the
15846 renaming of insertInsetAllowed
15848 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15850 * text2.C (getInset): new method. returns inset at cursor position.
15852 * BufferView_pimpl.C (Dispatch): changes because of this.
15854 * LyXAction.C (init): rename open-stuff to inset-toggle.
15856 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15858 * text2.C (toggleInset): renamed from openStuff; use
15861 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15863 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15865 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15867 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15869 * buffer.C (readLyXformat2): Add filename to the error dialog
15871 2001-07-18 Juergen Vigna <jug@sad.it>
15873 * tabular.C (GetCellNumber): put an assert here instead of the check!
15875 2001-07-17 Juergen Vigna <jug@sad.it>
15877 * BufferView_pimpl.C (toggleSelection): adapted too.
15879 * text.C (selectNextWord): adapted for use with insets.
15880 (selectSelectedWord): ditto
15882 2001-07-17 Juergen Vigna <jug@sad.it>
15884 * sp_spell.C (PSpell): fix initialitation order.
15886 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15888 * paragraph.C: spacing
15890 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15892 * sp_spell.C: repair language selection for pspell
15894 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15896 * lyxfunc.h: change more methods to begin with lower char.
15898 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15900 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15901 for unknown layouts.
15903 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15905 * buffer.C (readLyXformat2): Generate an error dialog if there are
15908 2001-07-16 Juergen Vigna <jug@sad.it>
15910 * sp_spell.C: always compile ISpell part.
15912 * lyxrc.C: added use_pspell entry and it's handling.
15914 2001-07-13 Juergen Vigna <jug@sad.it>
15916 * sp_spell.C: removed double includes.
15918 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15920 Consistent use of Lsstream.h:
15921 * Lsstream.h: added using std::stringstream for consistencies sake.
15923 * buffer.C: removed using std::stringstream
15925 * lyxfont.C (stateText):
15926 * paragraph.C (asString):
15927 * text.C (selectNextWord, selectSelectedWord):
15928 * text2.C (setCounter):
15929 * vspace.C (asString, asLatexString):
15930 std::ostringstream -> ostringstream.
15932 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15934 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15935 * commandtags.h: add LFUN_HELP_ABOUTLYX
15936 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15938 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15940 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15942 * lyx_gui_misc.C: remove spellchecker
15943 * lyxfunc.C: showSpellchecker
15945 * sp_ispell.h: added
15946 * sp_pspell.h: added
15947 * sp_spell.C: added
15948 * sp_form.[Ch]: removed
15949 * spellchecker.[Ch]: removed
15951 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15953 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15955 (simpleTeXSpecialChars): Simply print the input character without
15956 any special translation if pass_thru is set.
15958 * layout.h: Added bool pass_thru to layout class for being able to
15959 implement pass through of a paragraph for Literate Programming.
15961 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15962 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15963 * layout.C (Read): add "passthru" to list of layout tags and add
15964 code to set the pass_thru boolean when it is read.
15966 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15968 * trans_decl.h: remove allowed from KmodInfo
15970 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15971 remove allowed code
15974 * paragraph_pimpl.C (erase): use boost::prior
15976 * Painter.C (text): use data() instead of c_str() when length is
15978 * WorkArea.C (putClipboard): ditto
15979 * font.h (width): ditto
15981 * BufferView2.C: use it-> instead of (*it). for iterators
15983 * paragraph_pimpl.C: ditto
15984 * paragraph.C: ditto
15985 * minibuffer.C: ditto
15986 * language.C: ditto
15988 * encoding.C: ditto
15989 * counters.C: ditto
15990 * converter.C: ditto
15992 * Variables.C: ditto
15993 * TextCache.C: ditto
15994 * MenuBackend.C: ditto
15995 * LyXAction.C: ditto
15997 * FloatList.C: ditto
15998 * DepTable.C: ditto
15999 * ColorHandler.C (LyXColorHandler): ditto
16001 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16003 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16005 * text2.C (openStuff): reintroduce this method (which had been
16006 nuked in NEW_INSETS frenzy).
16008 * lyxfunc.C (Dispatch): when an action has not been handled, use
16009 its name in the error message, not its number.
16011 * paragraph.C (inInset): change method name to begin with lowercase.
16014 * text2.C: updates because of this.
16016 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16018 * ToolbarDefaults.C (add): add spaces in error message
16020 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16022 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16023 (readLyXformat2): rename return_par to first_par, use lyxlex's
16024 pushToken and remove the manual push handling.
16025 (parseSingleLyXformat2Token): add another ert comp. variable:
16026 in_tabular, rename return_par to first_par. handle newlines better
16028 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16030 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16032 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16034 * text2.C (getParFromID): removed
16036 * buffer.C (getParFromID): new method moved form lyxtext.
16037 * BufferView2.C (insertErrors): adjust
16038 (setCursorFromRow): adjust
16039 * BufferView_pimpl.C (restorePosition): adjust
16040 * lyxfunc.C (Dispatch): adjust
16041 * undo_funcs.C (textUndo): adjust
16043 (textHandleUndo): adjust
16044 (textHandleUndo): adjust
16046 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16048 * buffer.C: up' the LYX_FORMAT
16050 * lyxfont.h: turn NO_LATEX on as default
16052 * buffer.C (insertErtContents): new methods of tex style compability.
16053 (parseSingleLyXformat2Token): use it several places.
16054 * tabular.C (OldFormatRead): and here
16056 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16058 * text2.C: remove some commented code.
16061 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16062 * trans.C: changes because of the above.
16064 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16066 * text2.C (setCounter): Fix counters bug with bibliography layout.
16068 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16070 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16071 own member functions
16072 (simpleTeXSpecialChars): ditto
16074 2001-07-06 Juergen Vigna <jug@sad.it>
16076 * a lot of files: changed the access to LyXText::status and the
16077 call of undo-functions.
16079 * undo.[Ch]: added a inset_id to the undo informations.
16081 * undo_funcs.[Ch]: added and moved here all undo functions.
16083 * lyxtext.h: give the status enum a weight, made status_ a private
16084 variable and made accessor functions for it, removed the whole bunch
16085 of undo-functions as they are now in their own file, make some
16086 functions publically available. Added function ownerParagraph with
16089 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16090 made InInset() a const function, added getParFromID() function.
16092 * buffer.[Ch]: added const version for inset_iterator functions,
16093 added getInsetFromID() function.
16095 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16096 changed undo functions for new version.
16098 2001-07-05 Juergen Vigna <jug@sad.it>
16100 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16101 unknow mechanism does not call the proper constructor but only this
16102 one also if I request the other!?
16104 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16106 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16108 * text2.C (LyXText): use initialization lists.
16110 * lyxtext.h (Selection): initialize set_ and mark_
16111 (init): remove method
16113 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16115 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16117 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16119 * screen.[Ch]: change method names to begin with lowercase
16121 * BufferView_pimpl.C (updateScrollbar): simplify further and
16122 hopefully make it a bit faster.
16124 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16126 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16127 calling directly xforms functions.
16129 * Painter.C (Painter):
16130 * lyx_cb.C (MenuWrite):
16131 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16134 * lyx_gui.C: remove bogus guiruntime extern declaration.
16136 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16138 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16140 (redoDrawingOfParagraph): ditto
16141 (redoParagraphs): ditto
16142 (cutSelection): don't create a object for CutAndPaste use the
16143 static method directly
16144 (pasteSelection): ditto
16146 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16149 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16151 * modifications to some other files because of this.
16153 * Makefile.am (lyx_SOURCES): add XFormsView
16155 * XFormsView.[Ch]: new files
16157 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16158 the main window. Move the gui dependent stuff to XFormsView
16160 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16162 * tabular.C (GetCellInset): update cur_cell also in the row/col
16163 version of this function.
16165 * lyxfunc.C: no need to include figure_form.h here.
16171 * lyxvc.C: no need to include forms.h here.
16173 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16175 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16177 * lyxfunc.C (Dispatch):
16179 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16180 constructor argument.
16182 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16184 * paragraph.C (Paragraph): dont't clear, and just set layout.
16185 (makeSameLayout): use params's copy contructor.
16187 * ParagraphParameters.[Ch] (makeSame): delete method
16189 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16191 * Variables.[Ch]: fix indentation, rename set to isSet
16193 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16195 * lyxfunc.C (Dispatch): fix typo
16197 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16199 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16202 * bufferlist.C: include assert.h for emergencyWrite().
16204 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16206 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16207 give up at last (bug #425202) !
16209 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16215 * spellchecker.C: strip spellchecker options and bring up
16216 preferences tab instead
16218 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16220 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16221 the istringstream constructor
16223 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16225 * paragraph.C (getLayout): fix return value
16227 * paragraph.h: do not declare getLayout as inline.
16229 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16231 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16233 * lyxcursor.h (operator<): new func
16234 (operator>): new func
16235 (operator>=): new func
16236 (operator<=): new func
16238 * text.C (changeCase): use selection.start and selection.end
16239 (changeRegionCase): require from to be <= to. Require par to be a
16242 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16244 2001-06-27 Juergen Vigna <jug@sad.it>
16246 * text.C (cursorLeftOneWord): changed to return the cursor and added
16247 overlay with BufferView * parameter which calls this one.
16249 (selectWord): use new getWord function.
16250 (changeCase): renamed from changeWordCase as and extended to work
16251 also on selections.
16253 * lyxtext.h: added enum word_location
16255 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16256 changeCase as this operates now also on selections.
16258 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16260 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16262 * many files: send debug output to Debug::INFO instead of
16265 * converter.C (View):
16267 (Move): send debug output to Debug::FILES instead of console.
16269 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16271 * lyxfunc.C (getStatus): use func_status
16273 * func_status.h: new header, describing the results of
16274 LyXFunc::getStatus;
16276 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16279 2001-06-25 The LyX Project <jug@sad.it>
16281 * buffer.C (sgmlOpenTag):
16283 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16285 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16287 * text2.C: remove some dead code
16289 * tabular.C (GetCellInset): store the last cell checked (gotten)
16291 * tabular.h: add the helper for the speedup
16293 * lyxtext.h: remove some dead code
16295 2001-06-26 The LyX Project <Asger>
16297 * paragraph.C: Change export to LaTeX of alignment to
16298 \begin{center} and family for better roundtrip work with reLyX.
16300 * Tune the math drawing a bit.
16302 2001-06-25 The LyX Project <Asger>
16304 * LColor.C (LColor): New color for math background. New color
16307 2001-06-25 The LyX Project <jug@sad.it>
16309 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16311 * lyxfunc.C (Open):
16312 * bufferlist.C (newFile): do not restrict to files ending with
16315 * BufferView_pimpl.C (MenuInsertLyXFile):
16317 2001-06-24 The LyX Project <jug@sad.it>
16319 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16322 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16324 * lyxtext.h: rename most methods to begin with a small char.
16325 Lots of changes because of this.
16327 * paragraph.C (Paragraph): do not call fitToSize
16328 (erase): call Pimpl::erase
16329 (insertChar): call Pimpl::insertChar
16330 (insertInset): call Pipl::insertInset
16331 (breakParagraph): do not call fitToSize
16332 (breakParagraphConservative): do not call fitToSize
16333 (fitToSize): remove method
16335 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16337 2001-06-24 The LyX Project <Asger>
16339 * Fix Qt compilation^2
16341 2001-06-24 The LyX Project <jug@sad.it>
16343 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16344 depthHook(getDepth()-1).
16347 * ParagraphParameters.h:
16348 * ParameterStruct.h: change type of depth to unsigned int ==
16349 depth_type. Many adaptations to other files before of that.
16351 2001-06-24 The LyX Project <Asger>
16353 * Fix Qt compilation.
16355 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16357 * paragraph.h: renamed several methods to begin with small letter.
16358 several changes to many parts of the code because of this.
16360 2001-06-23 The LyX Project <jug@sad.it>
16362 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16363 rewritten to discard all double spaces when KeepEmpty is off
16364 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16365 to only handle newlines but not fiddle with spaces and friends.
16367 * lyxfunc.C (MenuNew): when doing 'new from template', use
16368 template_path as default directory
16370 2001-06-23 The LyX Project <Asger>
16372 * Clean-up of header file includes all over
16373 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16375 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16377 * paragraph.h: renamed from lyxparagraph.h
16379 2001-06-23 Asger <lyx@violet.home.sad.it>
16381 * Buffer.h: Removed Buffer::resize
16382 * BufferList.h: Removed BufferList::resize
16383 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16384 the document lazily when we change the width, or the font settings.
16386 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16388 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16390 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16392 * buffer.h: remove out of date comment
16394 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16397 * screen.C: fix "theoretical" GC leak
16399 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16401 * LaTeX.C (scanAuxFile):
16402 (deplog): remove trailing \r when reading stream (useful under
16405 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16407 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16408 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16409 and BufferView::theLockingInset(Inset*), so should use them and not
16410 access bv_->text->the_locking_inset directly.
16412 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16414 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16417 * tex-defs.h: remove old unused file
16419 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16421 * BufferView_pimpl.C: fix typo, remove minibuffer message
16422 when buffer has loaded
16424 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16426 * lyxfunc.C (Dispatch): use stringstream
16427 (MenuNew): use stringstream
16428 (Open): use stringstream
16430 * importer.C (Import): use stringstream
16432 * bufferview_funcs.C (CurrentState): use stringstream
16434 * LaTeX.C (run): use stringstream
16436 * BufferView_pimpl.C (savePosition): use stringstream
16437 (restorePosition): use stringstream
16438 (MenuInsertLyXFile): use stringstream
16440 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16453 * vspace.C: removed // -*- C++ -*- as first line.
16456 * version.h: added // -*- C++ -*- as first line.
16458 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16460 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16462 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16465 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16467 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16470 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16472 * gettext.C: include LString.h even when --disable-nls is on.
16474 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16476 * converter.h (Get): changed argument type from int to
16477 FormatList::size_type to avoid unnecessary conversion.
16479 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16482 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16484 * gettext.h: include LString.h even when --disable-nls is on.
16486 2001-06-07 Juergen Vigna <jug@sad.it>
16488 * text.C (BreakAgain): subst spaces with tabs.
16490 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16491 (resizeInsetsLyXText): set force on resizeLyXText.
16493 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16495 * gettext.h (gettext_init):
16496 (locale_init): use a real definition instead of a macro
16498 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16500 * Bufferview_pimpl.C:
16502 * LColor.C: further lcolor tidies
16504 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16506 * BufferView_pimpl.C (updateScrollbar): simplify.
16508 * BufferView2.C: don't include insets/insetinfo.h, change
16509 prototype for insertInset and call the Pimpl version. let
16510 updateInset call Pimpl version.
16512 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16513 gotoInset to BufferView::Pimpl
16515 2001-06-01 Juergen Vigna <jug@sad.it>
16517 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16518 inside a LockingInset (is the update needed at all?).
16520 2001-05-31 Juergen Vigna <jug@sad.it>
16522 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16523 here not the old one otherwise how should we compare it afterwards
16526 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16531 * FontInfo.C: bring C functions into global namespace when
16534 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16536 * LString.h: make sure config.h has been loaded before LString.h.
16538 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16539 (one for each char read by EatLine!).
16541 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16544 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16546 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16547 to the same as the par we break from
16549 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16551 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16553 * MenuBackend.C (expand): also create menu entries for wide
16554 versions of the floats.
16556 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16558 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16560 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16561 frontends/Makefile.am
16567 * tabular.C (getTokenValue): add std::
16569 * tabular-old.C (getTokenValue): add std::
16570 (getTokenValue): ditto
16571 (getTokenValue): ditto
16573 * screen.C (ToggleSelection): adjust
16575 * lyxtext.h: put selection cursors inside a Selection struct.
16577 * lyxfunc.C (moveCursorUpdate): adjust
16579 * lyxfont.C (latexWriteStartChanges): add std::
16581 * lyxfind.C: adjust
16583 * font.h: delete with(char const *, LyXFont const &)
16585 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16587 * FontInfo.C (getFontname): add std::
16589 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16590 (workAreaButtonPress): adjust
16591 (tripleClick): adjust
16593 (moveCursorUpdate): adjust
16596 * BufferView2.C (gotoInset): adjust
16598 2001-05-30 Juergen Vigna <jug@sad.it>
16600 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16601 to check pspell I add this as default as I now have new pspell
16602 libraries and they seem to use this.
16604 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16606 * text2.C (CutSelection): make the cursor valid before the call to
16609 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16611 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16612 relied on 0 terminated strings and other horrors. Bug found due to
16613 the new assert in lyxstring!
16615 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16618 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16620 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16623 * lyxfunc.C (processKeySym): change method of getting to the
16626 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16627 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16628 * BufferView_pimpl.[Ch]: here as private methods.
16630 2001-05-28 Juergen Vigna <jug@sad.it>
16632 * text.C (SetHeightOfRow): added the update() call again as it is
16633 needed to initialize inset dimensions!
16635 2001-05-16 Juergen Vigna <jug@sad.it>
16637 * text2.C (SetCharFont): Add new function with BufferView * and
16638 bool toggleall parameters for setting insets internal fonts.
16639 (SetFont): Freeze the undo as we may change fonts in Insets and
16640 all this change should be inside only one Undo!
16642 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16643 setting font's in insets as for them we have the SetFont function!
16645 2001-05-15 Juergen Vigna <jug@sad.it>
16647 * text2.C (ClearSelection): to be sure we REALLY don't have any
16650 * tabular.C (TeXCellPreamble): fixed the left border problem for
16653 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16655 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16658 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16660 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16661 LFUN_BREAKPARAGRAPH.
16663 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16664 help test to "internal only", similar for LFUN_INSERT_URL
16666 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16667 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16668 auto_region_delete and deadkeys.
16670 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16673 * LColor.C: remove some dead entries, tidy a little
16675 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16677 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16679 (Dispatch): implement LFUN_ESCAPE
16681 * commandtags.h: add LFUN_ESCAPE
16683 * LyXAction.C (init): add entry for LFUN_ESCAPE
16685 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16686 Remove commented code.
16687 (insertNote): moved here
16688 (open_new_inset): moved here
16690 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16693 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16695 * kbmap.C (findbinding): clean it up and make it work correctly.
16697 * lyx_main.C (init): do not pass argc and argv as parameters
16699 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16701 * buffer.C: fix path for OS/2 & Win32
16705 * lyx_main.C: Added os:: class.
16707 * os2_defines.h: update
16709 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16711 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16712 better by trying again with reduced state.
16714 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16716 * lyxrc.C (read): print error about invalid key sequence only when
16717 debugging (because not all latinX keysyms are known to some X
16720 * kbsequence.C (getiso): add a few std:: qualifiers
16721 (getiso): comment out extra return statement.
16723 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16725 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16727 (Dispatch): enhance the accent inset a bit. (not perfect)
16729 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16731 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16733 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16735 * bufferlist.C (emergencyWrite): fix assert() call
16737 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16739 * text.C (InsertChar): Added trivial patch to only send the "you
16740 can not do multiple spaces this way" message once during a
16743 2001-05-08 Baruch Even <baruch@lyx.org>
16745 * Makefile.am: Changed order of libraries to get LyX to link properly
16746 with the gnome frontend.
16748 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16750 * LaTeXFeatures.h: add a std:: qualifier
16752 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16754 * paragraph.C (String): use stringstream
16756 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16758 * paragraph.C (writeFile): remove footflag arg
16760 * buffer.C (makeLaTeXFile): use stringstream
16761 (latexParagraphs): remove footnot gurba
16763 * LaTeXFeatures.C (getPackages): use stringstream
16764 (getMacros): likewise
16765 (getTClassPreamble): likewise
16766 (getFloatDefinitions): new method
16768 * paragraph.C (writeFile): reindent
16771 * WorkArea.h: revert the xpos + etc changes.
16773 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16775 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16777 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16778 (pasteSelection): likewise
16779 * text2.C (CreateUndo): likewise
16781 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16783 * minibuffer.C (peek_event): temporarily reduce the functionality
16784 of the minibuffer (to allow args on lfuns)
16786 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16787 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16789 * buffer.C (readInset): add compability reading of old float
16790 lists, add reading of new style float list.
16791 (readInset): avoid reevaluation of inscmd.getCmdName()
16792 (getLists): reindent
16794 * MenuBackend.C (MenuItem): implement parsing of
16795 md_floatlistinsert and md_floatinsert.
16796 (expand::LastFiles): move initalizaton of iterators out of loop,
16797 avoid reevaluation.
16798 (expand::Documents): introduce typdedef vector<string> Strings,
16800 (expand::ExportFormats): introduce typedef vector<Format const *>
16801 Formats, and use it.
16802 (expand): implement FloatListInsert and FloatInsert.
16804 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16805 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16806 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16808 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16810 (Dispatch::LFUN_FLOAT_LIST): implement
16812 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16814 * LaTeX.C (run): Fix problem with --export code.
16816 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16818 * BufferView.[Ch] (workarea): removed.
16819 (getClipboard) new method; wrapper for workarea()->getClipboard()
16821 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16824 * WorkArea.h (width, height, xpos, ypos): These methods all
16825 returned the dimensions of the work_area sub-area of WorkArea,
16826 resulting in a position error if the WorkArea were resized. Now
16827 return the dimensions of the entire WorkArea.
16829 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16831 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16833 * LaTeX.C (deplog): correct the syntax of regex reg1
16835 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16837 * undo.C: remove !NEW_INSETS cruft
16839 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16841 * text2.C: remove !NEW_INSETS cruft
16843 * text.C: remove !NEW_INSETS cruft
16845 * tabular.C: remove !NEW_INSETS cruft
16847 * spellchecker.C: remove !NEW_INSETS cruft
16849 * lyxtext.h: remove !NEW_INSETS cruft
16851 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16853 * lyxfunc.C: remove !NEW_INSETS cruft
16855 * lyxfind.C: remove !NEW_INSETS cruft
16857 * lyx_cb.C: remove !NEW_INSETS cruft
16859 * figureForm.C: remove !NEW_INSETS cruft
16861 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16863 * buffer.[Ch]: remove !NEW_INSETS cruft
16865 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16867 * CutAndPaste.C: remove !NEW_INSETS cruft
16869 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16871 * BufferView2.C: remove !NEW_INSETS cruft
16873 * BufferView.h: remove !NEW_INSETS cruft
16875 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16877 * Lsstream.h: include LString.h before the sstream headers to
16878 fix problem with gcc 2.95.3 and lyxstring
16880 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16882 * lyx_main.C: add using directives when needed for C functions
16883 declared in std:: namespace.
16885 2001-04-27 Juergen Vigna <jug@sad.it>
16887 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16888 (SetHeightOfRow): comment out the update call should not be needed!
16890 2001-04-13 Juergen Vigna <jug@sad.it>
16892 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16893 (LyXTabular): tried to minimize operator= operations (and realized
16894 hopfully Lars wish).
16896 2001-04-27 Juergen Vigna <jug@sad.it>
16898 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16900 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16902 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16904 * buffer.C (readInset): hack to make listof algorithm work
16906 * BufferView_pimpl.C: hack to make listof algorithm work
16908 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16910 * LyXAction.C: removed all !NEW_INSETS cruft
16911 (init): moved lfun_item in method
16913 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16915 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16917 * BufferView2.C (theLockingInset): white space.
16919 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16921 * minibuffer.C: include <iostream>
16923 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16925 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16927 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16929 * text.[Ch] (TransposeChars): new method
16931 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16933 * call message directly through LyXView instead of through LyXFunc
16934 * BufferView2.C: adjust
16935 * BufferView_pimpl.C: adjust
16936 * FontLoader.C: adjust
16938 * bufferview_funcs.C: adjust
16939 * converter.C: adjust
16940 * figureForm.C: adjust
16941 * importer.C: adjust
16943 * lyx_gui_misc.C: adjust
16944 * lyxfunc.C: adjust
16947 + more files in subdirs
16949 * lyxparagraph.h (size): move up int file
16952 * adjust all uses of Assert to lyx::Assert.
16954 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16955 lyxfunctional in namespace lyx
16956 * layout.C (hasLayout): ditto
16959 (delete_layout): ditto
16960 (NumberOfClass): ditto
16961 * converter.C (GetFormat): ditto
16966 * bufferlist.C (getFileNames): ditto
16967 (emergencyWriteAll): ditto
16970 * MenuBackend.C (hasSubmenu): ditto
16973 * BufferView_pimpl.C (getInsetByCode): ditto
16975 2001-04-18 Juergen Vigna <jug@sad.it>
16977 * vspace.C (asLatexString): fixed the 100% problem.
16979 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16981 * lyxfunc.C (Dispatch):
16983 * minibuffer.h: add a few std:: qualifiers
16985 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16987 * minibuffer.[Ch]: reimplement so that commands is initiated and
16988 run from lyxfunc, simplified som handling, and made the completion
16989 and history code for complete. wip.
16991 * lyxfunc.C (processKeySym): call message
16992 (miniDispatch): new temporary method
16993 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16994 (LFUN_MESSAGE): implement
16995 (LFUN_MESSAGE_PUSH): implement
16996 (LFUN_MESSAGE_POP): implement
16997 (initMiniBuffer): the initial/defualt minibuffer message.
16999 * lyxfont.[Ch]: inline some more getters
17001 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17003 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17005 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17006 (AutoSave): use LFUN_MESSAGE
17007 (Reconfigure): ditto
17009 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17011 * figureForm.C: use LFUN_MESSAGE
17013 * converter.C (runLaTeX): use LFUN_MESSAGE
17015 * bufferview_funcs.C: use LFUN_MESSAGE
17017 (changeDepth): ditto
17019 * bufferparams.h: use boost::
17021 * bufferlist.h: inherit privately from noncopyable
17023 * bufferlist.C (loadLyXFile): remove some commented code.
17025 * buffer.C (runChktex): use LFUN_MESSAGE
17027 * ShareContainer.h: inherit privately from noncopyable
17029 * ParagraphParameters.[hC] (depth): inline it.
17031 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17033 (message): new method
17034 (messagePush): ditto
17035 (messagePop): ditto
17036 (show): init minibuffer
17037 (showState): direct call
17039 * LaTeX.[Ch]: inherit privately from noncopyable
17040 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17041 instead of WriteStatus.
17043 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17045 * BufferView_pimpl.C (buffer): don't init minibuffer
17046 (workAreaButtonPress): use LFUN_MESSAGE
17047 (workAreaButtonRelease): ditto
17048 (savePosition): ditto
17049 (restorePosition): ditto
17050 (MenuInsertLyXFile): ditto
17051 (workAreaExpose): don't init minibuffer
17052 (update): remove commented code, simplify
17054 * BufferView2.C (openStuff): use LFUN_MESSAGE
17055 (toggleFloat): ditto
17058 (copyEnvironment): ditto
17059 (pasteEnvironment): ditto
17064 (updateInset): remove some commented code
17066 * lastfiles.h: inherit privately from noncopyable
17069 * lyx_main.h: ditto
17071 * lyxlex_pimpl.h: ditto
17073 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17074 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17075 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17077 * LyXAction.h: inherit privately from noncopyable, add methods
17078 func_begin, func_end, returning iterators to the func map.
17080 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17081 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17082 (func_begin): new method
17083 (func_end): new method
17085 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17087 (copySelection): ditto
17088 (pasteSelection): ditto
17090 * BufferView.C: whitespace change
17091 * BufferView.h: inherit privately from noncopyable
17093 2001-04-16 Allan Rae <rae@lyx.org>
17095 * tabular-old.C (l_getline):
17096 * spellchecker.C (sc_check_word):
17097 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17098 an unrecognised preprocessor directive. So ensure they're wrapped.
17100 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17102 * src/exporter.C (Export): Give an error message when path to file
17105 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17107 * LaTeX.C (deplog): Always check that foundfile exists.
17109 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17112 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17114 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17116 * tabular.[Ch] (getLabelList): implement new method
17118 * minibuffer.h: comment ouf setTiimer
17120 * minibuffer.C (ExecutingCB): constify res
17121 (peek_event): constify s
17122 (Set): constify ntext
17123 (Init): constify nicename
17125 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17127 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17128 (savePosition): use two params to Minibuffer::Set
17129 (restorePosition): ditto
17131 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17133 * lyx_main.C: include language.h
17135 * Makefile.am (lyx_main.o): add language.h
17137 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17143 * CutAndPaste.C: include gettext.h
17145 * lyxfont.h: remove old hack with ON and OFF.
17148 * lyxfont.h: do not include language.h...
17153 * bufferview_funcs.C:
17159 * paragraph.C: ... but do it here instead
17161 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17163 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17165 * tabular.C: small reformat
17167 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17170 (BreakParagraph): ditto
17171 (SetOnlyLayout): ditto
17174 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17177 * lastfiles.C: removed most using decl, add std:: where needed
17179 * buffer.C: ws changes
17181 * MenuBackend.C (class compare_format): put into anon namespace
17182 (expand): constify label, names, action, action2
17185 * text.C (SingleWidth): constify font
17186 (IsBoundary): constify rtl2
17187 (GetVisibleRow): constify ww
17189 * LaTeX.C (deplog): constify logfile
17191 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17193 (workAreaExpose): constify widthChange, heightChange
17195 * lyxrow.C (par): moved
17198 * lyxrow.h: as inlines here
17200 * lyxfont.h (shape): moved from lyxfont.C
17201 (emph): moved from lyxfont.C
17203 * lyxfont.C (LyXFont): use initialization list for all
17205 (shape): move to lyxfont.h as inline
17206 (emph): move to lyxfont.h as inline
17209 2001-04-04 Juergen Vigna <jug@sad.it>
17211 * vspace.C: had to include stdio.h for use of sscanf
17213 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17216 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17217 independent of xforms.
17219 2001-04-02 Juergen Vigna <jug@sad.it>
17221 * spellchecker.C: fixed namespace placing!
17223 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17225 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17226 the LyXParagraph * is 0.
17228 2001-03-29 Juergen Vigna <jug@sad.it>
17230 * vspace.C: added support for %, c%, p%, l%.
17231 (stringFromUnit): added helper function.
17232 (asLatexString): changed to give right results for the %-values.
17234 * buffer.C: convert the widthp in a width%.
17236 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17238 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17241 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17242 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17244 * lyx_cb.[Ch]: see above.
17246 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17250 * lyx.[Ch]: replaced by figure_form.[Ch].
17254 * lyxfunc.C: changed headers associated with above changes.
17256 2001-03-27 Juergen Vigna <jug@sad.it>
17258 * BufferView_pimpl.C: set the temporary cursor right!
17260 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17262 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17264 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17266 * LString.h: removed "using std::getline"!
17268 * BufferView_pimpl.C (Dispatch): changes due to changes in
17269 InsetInclude::Params.
17271 * buffer.C (tag_name): removed redundant break statements as they were
17272 producing lots of warnings with my compiler.
17274 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17276 * LString.h: add "using std::getline" when using the real <string>.
17278 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17280 * buffer.C: removed bitset usage.
17281 PAR_TAG moved to an anonymous name space.
17282 (tag_name): new funtion, also in the anonymous namespace.
17283 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17284 (makeDocBookFile): clean code. Completed transition from string arrays
17286 (SimpleDocBookOnePar): code clean.
17288 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17290 * tabular.C: add some comments.
17292 2001-03-22 Juergen Vigna <jug@sad.it>
17294 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17295 compatibility read a bit and fixed bug with minipage in different
17298 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17300 * buffer.C (pop_tag): removed.
17301 (push_tag): removed.
17302 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17303 array replaced with vector. Added support for CDATA sections.
17304 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17306 (makeDocBookFile): XML conformant declaration of CDATA section,
17307 fixed bug related to <emphasis> in the first paragraph char.
17308 (sgmlOpenTag): exclude empty tags.
17309 (sgmlCloseTag): ditto.
17311 * buffer.h (pop_tag): removed.
17312 (push_tag): removed.
17314 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17316 * language.h (Languages): added size_type and size().
17318 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17320 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17321 response on compability reading of minipages. One probliem is that
17322 the old usage of minipages was flertydig
17324 * several files here and in subdirs: don't use static at file
17325 scope use anon namespaces instead.
17327 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17329 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17330 LaTeX output. This is necessary for Literate document
17333 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17335 * buffer.C: insert hfill when needed.
17337 * tabular.C (l_getline): use string::erase, small whitespace change.
17339 * BufferView_pimpl.C: try the anon namespace.
17340 * WorkArea.C: ditto
17342 2001-03-16 Juergen Vigna <jug@sad.it>
17344 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17345 otherwise it won't open options-dialogs.
17347 * buffer.C: honor pextraWidth(p) on converting minipages.
17349 * tabular.C (l_getline): changed the functions to strip trailing \r.
17351 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17353 * BufferView_pimpl.C:
17354 * minibuffer..C: added "using SigC::slot" declaration.
17356 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17358 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17364 * paragraph.C: ditto
17366 * lyxtext.h: NO_PEXTRA
17368 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17370 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17371 * ParameterStruct.h: ditto
17372 * ParagraphParameters.h: ditto
17373 * lyxparagraph.h: ditto
17375 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17377 * buffer.C: add compability for minipage alignment.
17378 (latexParagraphs): remove unwanted pextra check.
17380 * several files: remove CXX_WORKING_NAMESPACES
17382 * buffer.C (pop_tag): tie is in namespace boost
17384 * BufferView.h: noncopyable is in namespace boost
17386 * lyx_main.h: ditto
17389 * lastfiles.h: ditto
17390 * bufferlist.h: ditto
17391 * ShareContainer.h: ditto
17393 * LyXAction.h: ditto
17396 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17398 * Merging changes from BRANCH_MVC back into HEAD.
17400 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17402 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17404 * BufferView_pimpl.C: change from intl.C
17408 * Makefile.am: move combox.*
17414 * intl.C: remove dialog (covered by prefs)
17416 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17418 * lyxfunc.C (Dispatch): removed redundant break statement.
17420 2001-03-14 Juergen Vigna <jug@sad.it>
17422 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17424 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17426 * buffer.C: add hack to fix compability reading of minipages.
17428 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17430 * buffer.C (getLists): Cleanup.
17432 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17434 * lyxfont.C (update): don't honor toggleall on font size.
17436 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17440 * Makefile.am: moved to frontends/xforms/
17444 * BufferView_pimpl.C: changes for moved mathpanel
17446 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17448 * gettext.h: fix gettext_init() in --disable-nls
17450 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17452 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17454 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17457 * lyx.h: strip external form
17459 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17461 * BufferView_pimpl.C: add comment, destroySplash()
17463 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17465 * BufferView_pimpl.C:
17469 * lyxfunc.C: use re-worked insetinclude
17471 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17473 * buffer.C: add using std::stringstream.
17475 * lyx_cb.C: readd using std::ios.
17477 * buffer.C: add using std::map.
17479 * BufferView_pimpl.C: add using std::vector.
17481 * ShareContainer.h: add std:: to swap.
17483 * buffer.h: add some typedefs
17484 * buffer.C (getLists): use them
17485 (getLists): renamed from getTocList.
17486 add a counter for the different float types and use it in the
17488 (getLists): use the same counter for the NEW_INSETS and the "non"
17491 * lyx_cb.h: remove unused items, includes, using etc.
17493 * ShareContainer.h: remove some commented code, add more comments
17494 and "documentation".
17496 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17498 * buffer.C (getTocList): make the list also when NEW_INSETS is
17501 * buffer.h: remove TocType
17503 * buffer.C (getTocList): change to return a map<string,
17504 vector<TocItem> >, implement for dynamic number of list.
17506 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17507 * text2.C (PasteSelection): adjust
17508 * CutAndPaste.C (pasteSelection): adjust
17510 * FloatList.C (FloatList): update from the new_insets branch.
17511 * Floating.[Ch]: ditto
17512 * LaTeXFeatures.C: ditto
17514 * lyxlex_pimpl.C: ditto
17516 * paragraph.C (Last): remove when NEW_INSETS is defined.
17518 * other file: changes because of the above.
17520 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17522 * lyxparagraph.h: rename next to next_, previous to previous_,
17523 make them private for NEW_INSETS. Rename Next() to next(),
17524 Previous() to previous().
17526 * other files: changes because of the above.
17528 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17531 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17534 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17536 * main.C (main): pass lyx_localedir to gettext_init().
17538 * gettext.h: remove locale_init and gettext_init macros
17540 * gettext.C (locale_init): new function
17541 (gettext_init): new function
17543 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17546 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17548 * Moved credits to frontends:
17549 * credits.[Ch]: removed
17550 * credits_form.[Ch]: removed
17551 * lyx_gui_misc.C: remove credits stuff
17554 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17556 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17558 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17559 unneeded destructor.
17561 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17562 a standalone pointer again.
17564 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17566 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17572 * ToolbarDefaults.C:
17581 * BufferView_pimpl.C: use new file dialog in GUII
17584 * lyx_cb.C: remove LayoutsCB to Toolbar
17586 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17588 * ShareContainer.h (get): add std:: qualifier
17590 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17592 * ShareContainer.h: define a proper ShareContainer::value_type
17593 type (and use typename to please compaq cxx)
17595 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17597 * lyxparagraph.h: move serveral local vars to
17598 ParameterStruct/ParagraphParameters., use ShareContainer in
17599 FontTable., make vars in FontTable private and add getter and
17602 * paragraph.C: changes because of the above.
17604 * lyxfont.h: remove copy constructor and copy assignment. (the
17605 default ones is ok), move number inside FontBits. move inlines to
17608 * lyxfont.C: add number to initializaton of statics, move several
17609 inlines here. constify several local vars. some whitespace
17610 cleanup. Dont hide outerscope variables.
17612 * Spacing.h: add two new constructors to match the set methods.
17614 * ShareContainer.h: new file, will perhaps be moved to support
17616 * ParameterStruct.h: new file
17618 * ParagraphParameters.h: new file
17620 * ParagraphParameters.C: new file
17622 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17623 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17625 * BufferView_pimpl.C: ParagraphParameter changes.
17626 * buffer.C: Likewise.
17627 * bufferview_funcs.C: Likewise.
17628 * text.C: Likewise.
17629 * text2.C: Likewise.
17631 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17633 * lyxfind.C (LyXReplace): do not redefine default argument in
17635 (IsStringInText): ditto
17636 (SearchForward): ditto
17637 (SearchBackward): ditto
17639 2001-03-06 Juergen Vigna <jug@sad.it>
17641 * lyxfind.C (IsStringInText): put parentes around expressions.
17643 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17645 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17647 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17649 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17651 * stl_string_fwd.h: add comment
17653 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17656 * tabular.C: remove unused DocBook methods
17662 killed DO_USE_DEFAULT_LANGUAGE
17664 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17666 * lyx_gui.C: do not include language.h.
17668 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17669 arguments in function implementation.
17671 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17673 * BufferView_pimpl.C: add <ctime>
17675 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17677 * BufferView_pimpl.C: add using std::find_if
17679 2001-02-27 José Matos <jamatos@fep.up.pt>
17681 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17684 2001-02-11 José Matos <jamatos@fep.up.pt>
17686 * buffer.C (makeDocBookFile): command styles now have a parameter as
17687 "title" by default.
17689 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17691 * layout_forms.[Ch]: removed
17692 * lyx_cb.[Ch]: out character
17693 * lyx_gui.C: out character
17694 * lyx_gui_misc.C: out character
17695 * bufferview_funcs.C: : out character,
17696 added toggleall as parameter in ToggleAndShow
17698 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17700 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17702 * text2.C (SetCurrentFont): Disable number property at boundary.
17704 2001-02-26 Juergen Vigna <jug@sad.it>
17706 * lyxfunc.C (getStatus): added a string argument override function so
17707 that this is correctly called from LyXFunc::Dispatch if it contains a
17708 do_not_use_argument which is used!
17709 (Dispatch): added check for "custom" export and call appropriate func.
17711 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17713 * lyxrc.C: Add language_command_local, language_use_babel and
17714 language_global_options.
17716 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17718 * buffer.C (makeLaTeXFile): Use language_use_babel and
17719 language_global_options.
17721 2001-02-23 Juergen Vigna <jug@sad.it>
17723 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17724 which works with LyXText and putted it inside BufferView. Here now we
17725 only call for that part the BufferView::Dispatch() function.
17727 * BufferView.C (Dispatch): added.
17729 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17730 functions which needs to use a LyXText over from LyXFunc.
17731 (MenuInsertLyXFile): added
17732 (getInsetByCode): added
17733 (moveCursorUpdate): added
17734 (static TEXT): added
17736 2001-02-22 Juergen Vigna <jug@sad.it>
17738 * BufferView_pimpl.C (update): call a status update to see if LyXText
17741 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17743 * vc-backend.C (revert): implement for CVS
17744 (getLog): implement for CVS
17746 2001-02-20 Juergen Vigna <jug@sad.it>
17748 * text2.C (ClearSelection): added BufferView param for inset_owner call
17750 * lyxfunc.C (TEXT): added this function and use it instead of
17751 directly owner->view()-text of getLyXText().
17753 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17755 * src/layout_forms.C: out preamble
17756 * src/layout_forms.h: out preamble
17757 * src/lyx_cb.C: out preamble
17758 * src/lyx_cb.h: out preamble
17759 * src/lyx_gui.C: out preamble
17760 * src/lyx_gui_misc.C: out preamble
17761 * src/lyxfunc.C: connect with guii preamble
17763 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17765 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17767 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17769 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17770 whether to run bibtex.
17772 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17774 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17776 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17778 * Makefile.am (lyx_SOURCES): removed bibforms.h
17780 * vspace.h: doxygen
17782 * text.C (GetVisibleRow): make several local vars const
17784 * tabular.C: small cleanup.
17786 * lyxserver.C (callback): use compare instead of strncmp
17788 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17789 inlines to after class or to paragraph.C
17791 * lyxfont.h: remove friend operator!=
17793 * converter.h: move friend bool operator< to non friend and after
17796 * combox.h: small cleanup
17798 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17799 to inlines after class def.
17801 * buffer.C (pop_tag): use string operations instead of strcmp
17803 * bmtable.c: doxygen, small cleanup
17805 * LaTeX.h: remove friend operator==
17807 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17819 * BufferView_pimpl.C:
17820 * BufferView.[Ch]: remove cruft
17822 2001-02-14 Juergen Vigna <jug@sad.it>
17824 * lyxfunc.C: removed #if 0 unused code
17826 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17828 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17830 * text2.C (SetSelection): added a BufferView * parameter
17832 2001-02-13 Juergen Vigna <jug@sad.it>
17834 * lyxfunc.C (Dispatch): fixed protected blank problem.
17835 * BufferView2.C (protectedBlank): added LyxText * parameter.
17837 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17838 (AppendColumn): same as above for column_info.
17840 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17841 (moveCursorUpdate): use a LyXText param for support of InsetText.
17843 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17844 (tripleClick): ditto
17846 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17848 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17850 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17852 * text2.C (SetSelection): set correct update status if inset_owner
17853 (ToggleFree): ditto
17855 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17857 * tabular.C: remove some commented code.
17859 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17861 * BufferView_pimpl.C: call hideSplash()
17863 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17866 * bibforms.h: remove
17869 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17870 add LFUN_CHILD_CREATE
17872 * counters.h: fix tiny typo
17877 * lyx.C: move splash to frontends/xforms/
17879 * lyx_gui_misc.C: move Include and Bibform to frontends
17881 * lyxvc.h: clarify comment
17883 * vspace.C: tiny housekeeping
17885 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17887 * text.C (PrepareToPrint): RTL Fix.
17889 * paragraph.C (GetUChar): New method.
17890 (String): Use GetUChar.
17892 * buffer.C (asciiParagraph): Use GetUChar.
17894 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17896 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17898 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17901 * buffer.C: rename to getLogName(), handle
17902 build log / latex log nicely
17904 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17907 * MenuBackend.h: remove support for reference menuitem type.
17909 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17911 * BufferView_pimpl.C: housekeeping
17912 * BufferView_pimpl.h:
17917 * minibuffer.h: move Timeout GUI-I
17919 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17921 * lyxrc.C (read): Update converters data-structures.
17923 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17925 * LaTeX.h (operator!=): add operator != for Aux_Info
17927 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17929 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17931 * LaTeXLog.C: deleted, useful code moved to Buffer
17934 * buffer.C: new function getLatexLogName()
17940 * lyxfunc.C: use frontends for LaTeX and VC logs
17942 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17944 * LaTeX.h: yet another std:: that Allan forgot.
17946 * Variables.C (set): renamed from isset(), because this clashes
17947 with some HP-UX macros (grr).
17949 2001-02-06 Allan Rae <rae@lyx.org>
17951 * LaTeX.h: Another bug fix. Missing std:: this time.
17953 2001-02-04 Allan Rae <rae@lyx.org>
17955 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17956 floats problem. I've left it commented out because it's not quite
17957 correct. It should also test that the current object is a table or
17958 figure inset. But I haven't gotten around to figuring out how to do
17959 that. I *think* it'll be something like: "table" == inset.type()
17961 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17964 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17966 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17967 all the citation/databases/styles in the auxilary file.
17968 (run): Rerun latex if there was a babel language error.
17970 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17972 * text.C (Backspace): Preserve the font when changing newline char
17974 (BreakParagraph): If the cursor is before a space, delete the space.
17976 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17978 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17980 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17981 new argument (code).
17982 (ChangeCitationsIfUnique): New method.
17984 * paragraph.C (GetPositionOfInset): Handle bibkey.
17986 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17988 * BufferView_pimpl.h: change type of Position::par_pos to
17989 LyXParagraph::size_type.
17991 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17993 * BufferView_pimpl.C (savePosition, restorePosition): Write
17994 messages to minibuffer.
17996 2001-01-28 José Matos <jamatos@fep.up.pt>
17998 * buffer.C (makeDocBookFile): adds support for document language.
17999 A silly restriction on the name of LatexCommand types where removed.
18000 Added support for CDATA sections, allows to chars unescaped, used
18001 among others in code, to avoid escape < and >.
18003 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18005 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18006 saved positions instrad of a stack. Furthermore, a position is
18007 stored using paragraph id/paragraph position.
18009 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18010 Remove LFUN_REF_BACK.
18012 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18014 * converter.C (dvipdfm_options): New method.
18016 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18018 * vspace.C (isValidLength): Fix for empty input string.
18020 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18022 * LyXAction.C (init): change description of LFUN_FIGURE to
18025 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18027 * LaTeX.C: add using directive
18029 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18031 * MenuBackend.C (expand): Fix the sorting of the formats.
18033 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18035 * lyx_main.C: tiny error message fix
18037 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18039 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18040 calling fl_initialize(). This fixes the problem with ',' as
18041 decimal separator in text files.
18043 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18045 * trans.C (process): Fix the keymap bug.
18047 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18049 * LaTeX.C (scanAuxFiles): New method. Provides support for
18050 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18051 (scanLogFile) Scan for "run BibTeX" messages.
18053 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18054 OT1 font encoding. Also, load the aecompl package if the ae
18057 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18059 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18061 * texrow.C (increasePos): turn two error messages into debug
18064 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18066 * LaTeX.C (scanAux): Handle the \@input macro.
18067 (runBibTeX): Use scanAux().
18069 * language.C (latex_options_): New field.
18071 * LaTeXFeatures.C (getMacros): Add language macros.
18073 * buffer.C (makeLaTeXFile): Small fix.
18075 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18077 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18079 * text2.C: add a using directive.
18081 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18086 * lyxfunc.C: kill LyXBell.
18088 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18090 * text.C (IsBoundary): Remove the error message
18092 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18094 * lyxrc.C (setDefaults): Correct initialization value for
18097 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18099 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18102 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18103 and GotoNextNote().
18105 * src/LyXAction.C: Added reference-next.
18107 * text.C (InsertChar): Use contains instead of strchr.
18109 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18111 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18113 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18114 alignment commands (when needed).
18116 * text.C (InsertChar): Add ':' to number separator chars.