1 2005-08-19 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
4 use old deleteion algorithm when changetracking is on.
6 2005-08-18 Martin Vermeer <martin.vermeer@hut.fi>
8 * messages.C (get): add debug output.
10 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
12 * text.C (cursorX): fix bug 1965: cursor movement at
13 line end broken in RtL.
14 (drawSelection): fix bug 1970: drawing of single-line
15 selection broken for RtL.
17 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
21 * dociterator.h (clear, push_back, pop_back): change from
24 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
25 and changed to just return the value of the item depth; take a
26 ParIterator as argument; take the itemdepth at outer nesting level
27 in account if necessary; cleanup and comment the code.
28 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
29 and changed to just return true if reset is needed; take a
30 ParIterator as argument; cleanup and comment the code.
31 (setCounter): adapt to above changes.
33 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
35 * text3.C (dispatch): make debug message optional
37 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
39 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
42 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
44 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
46 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
48 * text.C (insertChar):
49 * text2.C (deleteEmptyParagraphMechanism): take care whether
50 a blank has been deleted (in change tracking mode) (bug 1254).
52 2005-07-20 John Levon <levon@movementarian.org>
54 * text2.C (insertStringAsLines): remove old dubious code,
57 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
59 * MenuBackend.C (expandToc): use Floating::listName() as title of
62 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
64 * toc.[Ch]: Do not use translatable strings (bug 1870).
66 2005-07-20 John Levon <levon@movementarian.org>
68 * tabular.C: fix 1748 - setting multicolumn adds
69 left line to the first cell
71 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
74 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
77 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
79 * messages.C: supress some lyxerr messages
81 2005-07-18 Juergen Vigna <jug@lyx.org>
83 * text.C (drawSelection): honor boundary when asking for cursorX.
85 2005-07-17 José Matos <jamatos@fc.up.pt>
87 * tabular.C (recalculateMulticolumns): fix handling of one column
90 2005-07-17 Juergen Vigna <jug@lyx.org>
92 * text.C (Delete, backspace): fixed so that paragraph with the
93 same layout can be merged by Delete/Backspace.
95 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
97 * text.C (readParToken): fix spelling.
99 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
101 * text2.C: fix counter update for DEPM problem reported by
104 2005-07-17 Juergen Vigna <jug@lyx.org>
106 * BufferView_pimpl.C (setBuffer): save/restore the
107 cursor/selection when switching buffers
110 * buffer.C (saveCursor): add saveDocumentIterators to save the
111 cursor when switching buffer.
113 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
116 * buffer.C: clarify message
118 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
120 * dociterator.C (DocIterator): fix initialization order
122 2005-07-17 Juergen Vigna <jug@lyx.org>
124 * text2.C (cursorHome):
125 * text.C (drawSelection, cursorX):
126 * dociterator.C (textRow): add boundary to getRow() call
128 * paragraph.C (getRow): implementation of below
130 * paragraph.h: add parameter boundary for getRow() function
132 2005-07-17 José Matos <jamatos@fc.up.pt>
136 * tex-strings.[Ch]: new file format, remove support for a4.sty,
137 a4wide.sty and a4widemargins.
139 2005-07-17 Juergen Vigna <jug@lyx.org>
141 * text2.C (cursorLeft): fix one of error
143 2005-07-17 Juergen Vigna <jug@lyx.org>
145 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
147 more fixes for boundary handling
149 * text3.C (dispatch): don't reset cursor if boundary has changed
152 2005-07-16 Juergen Vigna <jug@lyx.org>
154 * text2.C (getColumnNearX): hopefully got it right now,
155 check if we are on column 0 for special case.
157 2005-07-16 Juergen Vigna <jug@lyx.org>
159 * text2.C (getColumnNearX): handle special case Newline Inset
161 * text.C (singleWidth): Just remove bogus check
163 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
165 * funcrequest.C (split): avoid reading uninitialized char c
167 2005-07-16 José Matos <jamatos@fc.up.pt>
173 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
174 single papersize variable.
176 2005-07-16 Juergen Vigna <jug@lyx.org>
178 * text3.C (dispatch): honor boundary when checking if a cursor
179 movement has been done
181 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
182 (setCursor, setCursorIntern): fix cursor movement with boundary
184 2005-07-16 Juergen Vigna <jug@lyx.org>
186 * text.C (currentState): output the actual Boundary
188 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
190 * factory.C (createInset): fix bad logic for tabular creation
192 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
194 * lyx_main.C (init): change some reLyX reference to tex2lyx
196 2005-07-16 Juergen Vigna <jug@lyx.org>
198 * dociterator.C (DocIterator): initialize boundary
200 2005-07-16 Juergen Vigna <jug@lyx.org>
202 * text2.C (getColumnNearX): Consider rows without trailing blank.
204 2005-07-16 André Pönitz <poenitz@gmx.net>
206 * lyxfont.h: Change order of declarations to give the compiler
207 a better chance to inline things
209 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
210 questions on unsaved docs for better scritability
212 2005-07-16 André Pönitz <poenitz@gmx.net>
214 * paragraph.h (getChar): remove asserts as the same kind of security
215 can be achieved by using a suitable standard library implementation
216 and the function was in the critical path (25.9% in profiler)
218 2005-07-16 Juergen Vigna <jug@lyx.org>
220 * cursor.C (bruteFind2):
221 * bufferview_funcs.C (coordOffset):
222 * text.C (cursorX,cursorY): Handle cursor position after last char
223 in row before a inset which uses a whole row.
225 2005-07-15 José Matos <jamatos@lyx.org>
227 * output_plaintext.[Ch] (writeFileAscii): control reference title
229 (asciiParagraph): noparbreak was already deal and was incorrectly
232 2005-07-15 Juergen Vigna <jug@lyx.org>
234 * lyxfunc.C (dispatch): save and restore the cursor after a
237 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
239 * text.C (backspace): bug 806 for empty keepempty paragraphs we
240 change the layout to default before letting DEPM do its thing.
242 * paragraph_funcs.C (breakParagraph): dont reset the layout on
245 * text.C (setCursorFromCoordinates): add a debug statement
247 * text2.C (getColumnNearX): bug 1825 make sure that we don't
248 return a pos that is not on the row
250 * output_latex.C (TeXDeeper): get rid of potential dereferencing
251 of past the end iterator
253 2005-07-14 André Pönitz <poenitz@gmx.net>
255 * undo.C (recordUndoFullBuffer): implement undo for
258 2005-07-14 André Pönitz <poenitz@gmx.net>
260 * cursor.C (setSelection): open insets when selection is set there
261 to avoid crashs with cold coord cache
263 2005-07-14 André Pönitz <poenitz@gmx.net>
265 * trans_mgr.C (insert): move cursor to the right after inserting
268 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
270 * BufferView_pimpl.C (update): dampen some of the debug blabbering
271 * factory.C (readInset): ditto
272 * text.C, text2.C: ditto
274 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
276 * buffer.C: format incremented to 242. There is no file format per
277 se, but the "frenchb" language has been removed from lib/language
278 and has to be translated to "french" by lyx2lyx.
280 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
282 * cursor_slice.h, dociterator.h: add some documentation
283 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
285 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
287 * text.C (leftMargin): do not add identation to display() style
288 insets, because they are always centered (bug 1293).
290 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
292 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
293 formatted_time methods in support/lyxtime.
295 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
297 * toc.[Ch]: new method getGuiName, which is used by the frontends
298 to set the toc combo (fixes bug 1870). Make TOC string translatable.
300 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
302 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
303 StableDocIterator const &)
304 * undo.C (recordUndo): use the above instead of cell.size() comparison
305 (fixes bug 1808; instructed by Andr�.
307 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
310 * dociterator.h: Fix the assert when copying rows/cols in math
312 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
314 * BufferView_pimpl.C:
316 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
318 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
319 (findInset): new functions, refactored from goto Inset that return
320 the position of a certain inset without setting the buffer's cursor
322 (gotoInset): rewrite to call findInset and then set the cursor
325 2005-06-16 Angus Leeming <leeming@lyx.org>
327 * lyxrc.C (output, read): wrap all input and output of paths with
328 calls to os::internal_path and os::external_path, respectively.
329 (output): wrap bind_file inside quotes.
331 * format.C (view): enable the viewer to use the '$$s' placeholder.
333 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
335 * LColor.[Ch] (getFromLaTeXName): new
337 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
339 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
341 2005-06-14 Angus Leeming <leeming@lyx.org>
343 * lyx_main.C (init): ensure that the LyX binary dir is the first
344 element in the PATH on non-POSIX builds.
346 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
348 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
350 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
352 * rowpainter.C (paintInset, paintHebrewComposeChar)
353 (paintArabicComposeChar, paintChars): add a LyXFont argument.
354 (paintChars): use getFontSpan to reduce calls to getFont to a
355 minimum; use Paragraph::lookupChange instead of isXXXText.
356 (paintForeignMark): rename LyXFont argument.
357 (paintFromPos): pass a LyXFont object to the various paintXXX
360 * FontIterator.C (FontIterator, operator++): use
361 Paragraph::getFontSpan
363 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
364 version that returns the font span as a pair.
366 2005-06-09 Angus Leeming <leeming@lyx.org>
368 * converter.C (convert): Don't forget "outfile = real_outfile" as
369 the final step in a conversion where the input and output file names
370 are the same. Otherwise, future conversion steps won't work...
372 2005-06-09 Angus Leeming <leeming@lyx.org>
374 * lyxsocket.C: remove stub code as it isn't needed by
375 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
377 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
379 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
380 effectively disabled -x
382 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
384 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
385 when it actually makes sense.
387 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
389 * BufferView_pimpl.C: revert to showCursor in connection with
390 Lars's front-end stack
392 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
394 * text.C (redoParagraph): move cursor right after a bibitem
397 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
399 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
401 * buffer_funcs.C (bufferErrors): fix computation of the end of an
404 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
406 * BufferView.[Ch] (update):
407 * BufferView_pimpl.[Ch] (update, metrics):
408 * dimension.h (operator==):
409 * lyxfunc.C (dispatch):
410 * metricsinfo.h (ViewMetricsInfo):
411 * rowpainter.C (paintText):
413 * text.C (redoParagraph):
414 * text3.C (dispatch): Make LyX only repaint current paragraph in
415 case of character insert --> speedup. Also fix cursor draw
418 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
420 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
421 avoid a crash (bug 1891)
423 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
427 * text2.C (getStringToIndex): constify cur argument.
429 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
430 argument has been given
431 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
432 try to invoke LFUN_INSET_APPLY).
434 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
435 if no inset was created by doInsertInset
436 (doInsertInset): return true if an inset has been inserted.
438 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
440 * vspace.C (asGUIName): new method. A version of the space
441 suitable for showing on screen.
443 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
446 * lyxrc.C: rename "ASCII" to "Plain Text"
448 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
450 * buffer_funcs.C (expandLabel): take a Buffer as argument;
451 translate the labelstring.
452 (setCounter): translate labelstring as needed.
454 * output_docbook.C (makeCommand): fix expandLabel invokation
456 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
458 * BufferView.C: fix dialog title
460 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
462 * lyx_main.C (priv_exec): fix logic error with help from Angus
463 * lyx_main.C (parse_execute): set is_gui = false and remove now
464 obsolete comment about a segfault
466 2005-05-18 Angus Leeming <leeming@lyx.org>
468 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
470 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
472 * tabular.[hC]: added setCellInset to fix tabular paste.
474 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
476 * buffer.C (save): check if destination is writable before trying
479 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
481 * BufferView_pimpl.C (update): fix processEvents -caused update
484 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
486 * buffer_funcs.C (setCounter): fix test for numbering of
489 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
490 depth correctly; use optional argument when it exists
492 * lyxtextclass.C: remove unused MaxCounterTags enum
493 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
494 (max_toclevel, min_toclevel): new methods.
496 * MenuBackend.C (expandToc2): fix case where depth is smaller than
497 the smallest depth in toc.
499 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
500 layouts that should not appear in a table of contents.
502 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
504 * cursor.h (undispatched, noUpdate): add comments from Andr�
505 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
509 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
511 2005-05-07 André Pönitz <poenitz@gmx.net>
513 * cursor.[Ch] (leaveInset): new function
515 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
517 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
519 2005-05-04 Angus Leeming <leeming@lyx.org>
521 * lyxfunc.C (getStatus): disable the spell checker dialog if
522 none of USE_[AIP]SPELL are defined.
524 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
526 * tabular.C (setWidthOfCell): remove obsolete comment
528 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
530 * paragraph.C (bibitem):
531 * buffer_funcs.C (setCounter):
532 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
534 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
536 * text3.C (getStatus): immediately return after setOnOff
538 * rowpainter.C: fix drawing of appendix start
540 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
542 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
543 SwitchBetweenClasses and remove the unused return value.
544 Handle character styles, too
546 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
548 * factory.C (createInset): handle undefined character styles
550 2005-05-02 Angus Leeming <leeming@lyx.org>
552 * buffer.C: protect the #include of utime.h with a preprocessor
555 2005-05-02 Angus Leeming <leeming@lyx.org>
557 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
558 function so that auto-saving works, albeit in a blocking manner.
560 * Makefile.am: make compilation of the client sub directory, of
561 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
562 on conditionals set at configure time.
564 * SpellBase.[Ch]: no longer an abstract base class. Instead,
565 it can be compiled in its own right but has no-op functionality.
567 * aspell.C, pspell.C: remove preprocessor guards. The files should
568 be compiled only if the necessary functionality exists.
570 * lyxserver.C, lyxsocket.C: disable on Windows.
572 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
574 * text.C (leftMargin): Fix the parindent use bug (1764)
577 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
579 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
582 2005-04-25 Angus Leeming <leeming@lyx.org>
590 include <config.h> in .C files, not .h ones.
592 protect headers inside preprocessor guards.
594 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
596 * FuncStatus.h (StatusCodes): document
598 2005-04-21 André Pönitz <poenitz@gmx.net>
600 * FuncStatus.h (enabled, onoff): document
602 2005-04-19 Angus Leeming <leeming@lyx.org>
604 * BufferView_pimpl.C (cursorToggle): no longer test whether
605 any child processes have been reaped before calling
606 handleCompletedProcesses().
608 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
610 * text3.C (dispatch): fix, finally fix, the language problem in
611 new lyxtexts, without disabling on-the-fly font changes (Helge's
614 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
616 * text3.C (dispatch): set cursor on double/triple click events
619 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
621 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
622 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
624 * rowpainter.C (paintFirst): simplify the code a little bit. In
625 particular, remove the test for secnumdepth.
626 * text.C (setHeightOfRow): only allocate space for chapter number
627 when updateCounters provided an actual label, instead of looking
628 at secnumdepth directly.
630 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
632 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
633 paragraphs when secnumdepth is large enough or, for environments,
634 when they are not the first in a sequence.
636 2005-04-17 Angus Leeming <leeming@lyx.org>
638 * buffer.C (makeLaTeXFile): replace code to manipulate a path
639 containing space and '~' characters with a call to latex_path().
641 2005-04-17 Angus Leeming <leeming@lyx.org>
643 * converter.C (convert): protect all args of convertDefault.sh
646 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
648 * text3.C (dispatch): change the layout to "Caption" after inserting
651 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
653 * text3.C (dispatch): fix language problem in newly created
654 textinsets (and main text) in non-english docs
656 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
658 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
659 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
660 * text3.C (getStatus): disable LFUN_INSET_MODIFY
662 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
667 * rowpainter.C (getFont): Fix metrics bug introduced by inset
670 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
672 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
673 output of \item arguments without trailing text.
675 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
677 * FontIterator.C (operator*): avoid a copy of the font.
679 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
681 * rowpainter.C (getFont): fix language bug from previous fix
683 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
685 * rowpainter.C (RowPainter, getFont): fix font inside inset
688 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
690 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
691 preventing inserted font, deco, delim insets jumping to start of
694 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
696 * lyxfunc.C (dispatch): translate message before sending it to the
699 2005-03-29 Angus Leeming <leeming@lyx.org>
701 * lyx_main.C (priv_exec): call os::internal_path on each file passed
702 to LyX on the command line.
704 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
706 * vc-backend.C: use QuoteName to protect file names wherever
709 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
712 * BranchList.h: fix bugs 1844,1845: document settings don't
715 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
717 * lyxrc.C (setDefaults, read, output, getDescription): add support
718 for tex_allows_spaces.
720 * exporter.C (Export): allows files in directory containing spaces
721 if tex_allows_spaces is true.
723 * buffer.C (makeLaTeXFile): if the document path contains spaces,
724 output it in double quotes.
726 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
728 * rowpainter.C: use default text height for drawing change tracker
731 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
733 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
735 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
737 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
738 directory is missing.
740 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
742 * text2.C: fixed the fix, extended to other case.
744 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
746 * text2.C: fix for cursor up/down stuck in math [bug 1792]
748 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
750 * text2.C (cursorUp): get rid of a crash
751 * text.C (x2pos): add an assert
753 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
755 * lyxfunc.C (getStatus): fix warning when assertions are disabled
759 * dociterator.C: include <boost/current_function.hpp>, which is
760 needed when assertions are disabled.
762 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
764 * text2.C: fix for stuck cursor when traversing two
765 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
767 2005-02-25 Andreas Vox <avox@arcor.de>
769 * output_docbook.C (makeParagraph): suppress trailing newline
770 after a run of paragraphs
772 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
774 * paragraph.C: fix for confused change tracker when pasting
775 text that begins with a lineseparator. [bug 1827]
776 (setChange(0, Change::INSERTED);)
778 * paragraph_funcs.C: fix for lost changes on triple-paste
779 in change tracking mode [bug 1827] (par.setChange()).
781 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
783 * text2.C (updateCounters, setCounter, expandLabel): move to
786 * buffer_funcs.C (updateCounters): turn into a free standing
787 function and add a buffer parameter. Remove dead code for tracking
789 (setCounter): change into a free-standing function which gets a
790 dociterator as argument. Use this iterator to fix captions in a
791 simple way. When no float is found above the caption, use the
792 labelstring of the caption layout as default.
794 * text.C (breakParagraph, backspace):
795 * text2.C (init, setLayout, changeDepth):
796 * text3.C (dispatch):
797 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
800 * dociterator.C (forwardPar): make it much faster by calling
801 forwardPos() only when really necessary.
803 * output_docbook.C (makeCommand): adapt to expandLabel move.
805 * cursor.C: remove unused variable
807 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
809 * paragraph_funcs.C: fix crash when pasting insets in change
810 tracking mode [bug 1277] (honour change type in moveItem).
812 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
814 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
816 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
818 * BufferView.C (setCursor): change to use a DocIterator.
819 (gotoLabel): use BufferView::setCursor (other part of bug 781).
820 (putSelectionAt): adapt to BufferView::setCursor change.
822 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
823 moved here from LyXText and rewritten to use proper cursor
824 methods. Fixes bug 1787, 616 and 835.
826 * BufferView_pimpl.C (restorePosition): set the cursor correctly
827 when inside an inset (part of bug 781).
828 (dispatch): adapt to change of BufferView::setCursor.
829 (getStatus, dispatch): handle LFUN_GOTOERROR,
830 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
832 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
833 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
834 * text3.C (gotoNextInset, gotoInset): removed.
836 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
838 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
840 2005-02-15 Angus Leeming <leeming@lyx.org>
842 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
843 can be used meaningfully in a comparison.
845 2005-02-13 André Pönitz <poenitz@gmx.net>
847 * bufferview_funcs.C (coordOffset): improve cursor drawing
849 2005-02-13 André Pönitz <poenitz@gmx.net>
851 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
852 * Cursor.C (dispatch): use fixIfBroken
853 * lyxfunc.C (getStatus): use fixIfBroken
855 2005-02-15 Angus Leeming <leeming@lyx.org>
857 * lyx_main.C (error_handler):
859 * lyxrc.C (setDefaults):
861 #include "environment.h".
863 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
865 2005-02-15 Angus Leeming <leeming@lyx.org>
867 * lyxserver.C (startPipe): squash MSVC warning "local variable
868 'fd' used without having been initialized".
870 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
872 * BufferView_pimpl.C: revert accidental commit.
874 2005-02-14 André Pönitz <poenitz@gmx.net>
876 * dociterator.[Ch]: new member forwardPosNoDescent(),
877 which doesn't enter nested insets.
878 * text2.C (setFont): use forwardPosNoDescent() instead
879 of ForwardPos() (fixes crash on font change).
881 2005-02-13 Angus Leeming <leeming@lyx.org>
883 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
884 only if lyxrc.path_prefix is not empty.
886 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
888 * bufferparams.C (readGraphicsDriver): prevent crash
890 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
892 * text2.C (setCounter): check for inInset() == 0
894 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
896 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
897 but use update() to get correct screen display; use convert
898 instead of istringstream.
899 (getStatus): handle LFUN_GOTO_PARAGRAPH
901 * lyxfunc.C (dispatch, getStatus): do not handle
902 LFUN_GOTO_PARAGRAPH here.
904 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
906 * text3.C (dispatch): size() -> depth()
908 * text2.C: remove some debug output
910 * paragraph.C: ws changes only
912 * lyxfunc.C (getStatus): size() -> depth()
914 * dociterator.h (clear, push_back, pop_back, internalData,
915 operator[], resize, empty): new functions
916 Make StableDocIterator and operator== be friends. Don't inherit
917 from std::vector use a privat class variable slices_ instead.
920 * dociterator.C: update because of not inheriting from std::vector
921 anymore. Call explictly to slices_ instead. Use depth() instead of
922 size() and top() instead of back()
924 * cursor.C: chagne size() -> depth and back() -> top(). Also
925 remove some direct operator[](i) calls in favour of foo[i]
926 (getFont): remove some dead code
928 * bufferview_funcs.C (coordOffset): size() -> depth()
930 * buffer.C: ws changes only
932 * CutAndPaste.C (eraseSelection): back() -> top()
934 * BufferView_pimpl.C (selectionRequested): back() -> top()
936 * BufferView.C (setCursor): size() -> depth()
938 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
940 * text3.C (cursorPrevious): return true if depm changed something
942 (dispatch): rename sl to oldTopSlice, remove moving use the new
943 NoUpdate func attrib instead. Make sure that needsUpdate is set
944 for function that have NoUpdate, but where depm might have changed
947 * text2.C (cursorLeft): make us return true if depm changed
950 (cursorUpParagraph): ditto
951 (curosrDownParagraph): ditto
952 (cursorUp, cursorDown): ditto, make sure to read comments in code
953 (deleteEmptyParagraphMechanism): remove an assert, also return
954 true if just a single char was deleted.
956 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
957 cursor that we modify, to avoid modifying an active cursor before
958 we call setCursor. This allows depm to run. Also return true if
959 depm deleted something.
961 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
962 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
963 cursorDownParagraph, cursorPrevious and cursorNext, return true if
964 something was changed in the buffer because of them (ie. depm run)
966 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
967 debug messages. Make update by default be false. Make sure that
968 the result of update is retained throught several calls down to
971 * LyXAction.h: add a new func_attrib: NoUpdate
973 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
974 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
975 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
977 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
979 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
981 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
982 bv_->owner(), bv_->buffer() by direct references to the private
984 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
985 (getStatus): isSavedPosition() is in BufferView::Pimpl.
986 (fitCursor): center() is in BufferView::Pimpl.
987 (getStatus, trackChanges, dispatch): no need for a temporary buf
989 (fitCursor, workAreaDispatch): use workarea().workheight()
991 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
993 * CutAndPaste.C (pasteSelectionHelper): fix a crash
995 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
997 * buffer.C: format up to 241.
998 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
999 break if pasting into ERT
1000 * lyxfunc.C (getStatus): suppress mathpanel and
1001 LFUN_DIALOG_SHOW_NEW_INSET in ERT
1003 2005-02-01 Angus Leeming <leeming@lyx.org>
1005 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1007 2005-02-01 Angus Leeming <leeming@lyx.org>
1009 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1010 calling fs::is_directory().
1012 2005-01-31 Angus Leeming <leeming@lyx.org>
1014 * lyx_main.C (priv_exec): specify explicitly the relative location
1015 of the top level build directory when run in-place.
1017 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1019 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1020 LyXText containing the cursor, not the top-level one.
1022 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1024 (insertStringAsLines): rename par to pit; use temporary variable
1025 par to hold a Paragraph; do not store par.layout() in a variable,
1026 since the pointer may die when breaking paragraphs; pass pars to
1027 breakParagraph() instead of Buffer::paragraphs().
1029 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1031 * lyxlex_pimpl.h: #include <fstream>.
1033 * BufferView.[Ch] (getLyXText): add a const version.
1035 * BufferView_pimpl.C: add debug aids.
1040 * paragraph_funcs.h: add commentary explaining what the class does.
1043 * coordcache.[Ch]: add lots of commentary.
1044 (startUpdating, doneUpdating): debug aids.
1045 (arrays, insets, parPos, getParPos): accessors to private data.
1047 * cursor_slice.[Ch] (text): add a const version.
1048 * dociterator.[Ch] (text, innerText): add const versions.
1050 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1053 * paragraph.C (getRow, pos2ros): add asserts.
1055 * paragraph.h: add commentary. Lots of.
1057 * paragraph.[Ch] (metrucs, draw): removed.
1060 * rowpainter.[Ch]: const-correct changes.
1062 * text.C: various obvious clean-ups. Removal of ancient cruft.
1065 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1067 * vc-backend.C (find_file): rewrite to use boost.filesystem
1070 * main.C (main): set default name check for boost.filesystem to
1073 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1076 (actOnUpdatedPrefs): ditto
1078 * lyx_main.C (init): rewrite to use boost.filesystem
1079 (queryUserLyXDir): ditto
1081 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1082 (getContentsOfAsciiFile): ditto
1084 * lastfiles.C (readFile): rewrite to use boost.filesystem
1086 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1088 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1089 (loadLyXFile): ditto
1091 * buffer.C (Buffer): adjust for destroydir
1092 (getLogName): rewrite to use boost.filesystem
1093 (setFileName): ditto
1094 (save): use fs::copy_file (from fs_extras)
1096 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1098 * LaTeX.C (run): rewrite to use boost.filesystem
1099 (scanAuxFiles): ditto
1100 (handleFoundFile): ditto
1102 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1104 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1106 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1108 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1110 * lyxlayout.[Ch]: change some vars from float to double
1112 * buffer.C (readFile): make a local var const
1114 * Several files: use convert<> instead of atoi,strToXXX and friends
1116 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1118 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1119 holds the contents of packages.lst. New functions getAvailable
1120 and isAvailable to parse and check that list, resp.
1124 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1126 * bufferparams.[Ch]: new param output_changes.
1128 * Buffer.C: increase file format to 240.
1129 Use output_changes and isVailable.
1133 * paragraph_pimpl.C: Use output_changes and isVailable.
1135 2005-01-23 Angus Leeming <leeming@lyx.org>
1137 * output_latex.C: #include "insetbibitem.h", rather than
1138 forward declare function bibitemWidest.
1140 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1142 * lyx_main.C (init): make it compile on the Mac.
1144 2005-01-20 Angus Leeming <leeming@lyx.org>
1146 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1147 (setLyXMisc): (char string literal) != (char string literal) is
1148 performing a comparison on the addresses. Convert one operand
1149 explicitly to string to guarantee expected behaviour.
1152 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1155 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1157 * output_plaintext.C: remove unneeded #include gzstream.h.
1159 2005-01-20 Angus Leeming <leeming@lyx.org>
1161 * SpellBase.h: rename some of the elements of the Result enum.
1168 * pspell.C (check): ditto
1170 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1172 * buffer.C: add #include <fstream>.
1174 * lyx_main.C (init): Compile fix.
1176 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1178 2005-01-20 Angus Leeming <leeming@lyx.org>
1180 * mover.h: change commentary to reflect the changed meaning of
1181 the $$s placeholder.
1183 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1185 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1187 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1189 2005-01-20 Angus Leeming <leeming@lyx.org>
1191 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1192 printing diagnostic data by not dereferecing an iterator past the
1195 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1197 * buffer.C (readHeader): use "&&" rather than "and".
1199 * lyxserver.h (inPipeName, outPipeName): make these const.
1201 2005-01-19 Angus Leeming <leeming@lyx.org>
1203 * lyx_main.C (error_handler, init): protect SIGHUP with
1204 #ifdef SIGHUP guards.
1206 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1208 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1210 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1212 * text.C (setHeightOfRow): add a margin at the top and bottom of
1213 the document (bug 1761)
1215 2005-01-17 Angus Leeming <leeming@lyx.org>
1217 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1218 with "python ". Workaround for a brain-dead Windows.
1220 2005-01-16 Angus Leeming <leeming@lyx.org>
1222 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1223 for MacOSX and Windows to use prependEnvPath.
1224 Strip out the hard-coded block to add elements to the PATH for
1225 MacOSX and replace it with a call to prependEnvPath using the
1226 contents of LyXRC::path_prefix.
1227 (queryUserLyXDir): strip out the code to run reconfigure, instead
1228 returning a boolean indicating the necessity to do so.
1229 (reconfigureUserLyXDir): contains the code to reconfigure the
1230 user support directory. Is now called after the various LyXRC data
1231 files have been read.
1233 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1235 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1237 * converter.[Ch] (convert): take a new parameter try_default. Use
1238 a default converter (imagemagick) if try_default is true.
1240 2005-01-13 Angus Leeming <leeming@lyx.org>
1242 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1243 os::cygwin_path_fix.
1244 (write): output LyXRC::cygwin_path_fix as necessary.
1246 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1249 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1251 2005-01-12 Angus Leeming <leeming@lyx.org>
1253 * lyx_main.C (init): set the PATH variable to include the
1254 directory containing the LyX binary when running on Mac or Windows.
1256 2005-01-12 Angus Leeming <leeming@lyx.org>
1258 * lyx_main.C (init): remove cruft that purports to set the locale
1259 dir. It doesn't and is not needed anyway.
1261 2005-01-10 Angus Leeming <leeming@lyx.org>
1263 * Makefile.am: remove the lyx_main.C special casing.
1265 * BufferView_pimpl.C:
1271 * messages.C: use support/package.h to provide the paths to the
1272 various directories used by LyX.
1274 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1276 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1277 layout if pasting into an empty paragraph)
1279 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1281 * tex-accent.C: add <string>
1283 2005-01-06 José Matos <jamatos@lyx.org>
1285 * ParagraphParameters.C (write): put every parameter in its own line.
1286 * paragraph.C (write): reduce number of consecutive empty lines exported.
1287 * buffer.C (LYX_FORMAT): increase file format to 239.
1289 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1291 * everywhere: change support/tostr.h -> support/convert.h
1293 * tabular.C: make all write_attributes templates, tostr -> convert
1295 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1296 (emptyTag): and -> &&, and fix type for ret from getChar
1297 (getFirstWord): fix type for ret from getChar
1298 (onlyText): and -> &&
1299 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1302 * toc.C (goTo, action):
1303 * text3.C (dispatch):
1304 * text.C (currentState):
1305 * tex-accent.C (DoAccent):
1308 * lyxfunc.C (menuNew):
1309 * lyxfinc.C (replace):
1310 * counters.C (laberItem):
1311 * bufferview_funcs.C (font2string):
1312 * bufferparams.C (writeFile):
1313 * buffer.C (readFile):
1315 * MenuBackend.C: tostr -> convert
1317 * LaTeX.C (runMessage): fix format
1318 (scanAuxFiles): tostr -> convert
1320 * BufferView_pimpl.C (savePosition): fix format
1321 (restorePosition): ditto
1324 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1326 * Spacing.[Ch]: New method getValueAsString().
1330 * ParagraphParameters.C:
1333 * text3.C: store/read spacing value as string.
1335 * rowpainter.C: change float value (spacing_val) to double.
1337 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1338 broken custom document spacing).
1340 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1342 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1343 namespace, also more use of temp references and const
1345 * cursor.[Ch] (getStatus): move to lyxfunc.C
1347 * bufferparams.C: reformat slightly
1349 * bufferview_funcs.C (font2string): constify arg
1355 * buffer_funcs.C: (many funcs): constify arg on function
1356 definitions, also make more local vars const, also add ASSERTS on
1359 * buffer.C (LYX_FORMAT): put const in correct place
1360 (many funcs): constify arg on function definitions, also make
1361 more local vars const
1363 * aspell_local.h: remove "struct" from typdef setup
1365 * aspell.C (check): make word_ok const
1366 (nextMiss): simplify slightly
1369 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1371 * lyxrc.[Ch]: store all float values as strings.
1372 use int (not float) for lyxrc.dpi.
1374 2005-01-04 Angus Leeming <leeming@lyx.org>
1376 * lyx_cb.C (Reconfigure):
1377 * lyx_main.C (queryUserLyXDir):
1378 to run the <system_lyxdir>/configure correctly on Windows, prefix
1379 the path to the script with "sh " when generating the string that
1380 is passed to system().
1382 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1384 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1386 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1388 * lyxlength.C (asLatexString): get rid of setprecision
1390 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1392 * text2.C (setLayout): remove unused variable endpit.
1393 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1395 * paragraph.C (onlyText): remove unused variable style.
1397 * cursor.C (bruteFind): remove unused variables beg and end.
1399 * Makefile.am (dist_noinset_DATA): not needed anymore
1401 * cheaders/*: remove.
1403 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1405 * text3.C: fix LFUN_MATH_MODE.
1407 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1409 * buffer_funcs.C (countWords): new function. Counts words between
1412 * BufferView_pimpl.C (getStatus, dispatch): handle
1415 * LyXAction.C (init):
1416 * lfuns.h: add LFUN_WORDS_COUNT.
1418 2004-12-19 Angus Leeming <leeming@lyx.org>
1420 * buffer.C (save): s/slashify_path/internal_path/.
1422 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1424 * lyxfind.C (findChange): do not search for end of pars, because
1425 the change tracker cannot handle this (fixes bug 1719).
1427 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1429 * paragraph.[Ch] (autoBreakRows): remove
1431 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1433 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1434 avoid using the paragraph one
1436 * text2.C (LyXText, insertStringAsLines): adjust
1438 2004-12-16 Angus Leeming <leeming@lyx.org>
1442 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1444 2004-12-14 Angus Leeming <leeming@lyx.org>
1446 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1448 * bufferlist.C (emergencyWrite):
1449 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1452 2004-12-14 Angus Leeming <leeming@lyx.org>
1454 * main.C: (main): no longer pass pointers to os::init.
1456 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1458 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1459 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1461 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1464 * text3.C: remove selection_possible global flag
1466 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1468 * text2.C (getSelectionSpan): remove
1469 (changeDepth, changeDepthAllowed): adjust
1471 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1473 * Makefile.am (BOOST_LIBS): use boost variables
1475 2004-12-03 José Matos <jamatos@lyx.org>
1477 * buffer.C: format up to 238.
1479 2004-12-03 José Matos <jamatos@lyx.org>
1481 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1483 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1485 * cursor.C (goUpDown): remove call to idxUpDown2
1487 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1489 * tabular.[Ch]: use size_t-like types for cell, row and column
1492 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1494 * lyxfunc.C (getStatus): do not lose previous information when
1495 calling BufferView::getStatus; do not set a default "Command
1496 disabled" message at the beginning, but just before returning.
1498 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1500 * cursor.h (getStatus): add better comment from src/cursor.C
1502 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1504 * text3.C (getStatus): return false when the lfun is not handled
1506 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1508 * broken_headers.h: remove
1510 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1512 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1514 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1515 offset_ref accessors
1517 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1518 top_y_, merge fitcursor with update
1519 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1521 (metrics): introduce
1522 (workAreaDispatch): adapt to new coord scheme
1523 (redoCurrentBuffer): remove
1525 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1527 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1530 * coordcache.[Ch]: add paragraph cache and helpers
1532 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1535 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1536 (targetX, setTargetX): introduce
1538 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1539 baseline -> ascent, as the rest of lyx
1541 * lyxtext.h: remove redoParagraphs, updateParPositions,
1542 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1543 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1544 have ascent/descent (ascent is ascent of first par)
1546 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1549 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1551 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1553 * pariterator.C: fix infinite loop introduced in par->pit renaming
1555 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1556 in insets and LyXText, draw two off-screen paragraphs using
1557 NullPainter, and adapt to new coord scheme
1561 * text3.C: adapt lfun handlers to the new coord scheme, which
1562 means: there's only guaranteed coord information for onscreen pars
1563 plus one above and one below. This implies that one can do search
1564 from y coordinates in the range [-1,workHeight]
1566 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1568 * rename a lot of InsetOld to InsetBase
1570 2004-11-25 Angus Leeming <leeming@lyx.org>
1572 * BufferView_pimpl.C:
1574 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1576 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1578 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1579 call BufferView::getStatus if LCursor::getStatus did nothing
1580 (setStatusMessage, getStatusMessage): removed.
1582 * FuncStatus.C (message): new methods. Used to provide an error
1583 message indicating why a command is disabled.
1584 (clear, |=, FuncStatus): update for message.
1586 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1588 * lyxfunc.C (dispatch): always call sendDispatchMessage
1590 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1593 * BufferView_pimpl.C:
1598 * cursor_slice.[Ch]:
1601 * paragraph_funcs.C:
1607 * undo.C: par->pit renaming
1609 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1611 * tabular.C (cellstruct): use initialization, store a shared_ptr
1612 to insettext instead of the insettext directly, adjust to fit.
1613 (operator=): new function
1614 (swap): new function
1615 (rowstruct): use initialization
1616 (columnstruct): use initialization
1617 (ltType): use initialization
1620 * lyxlength.h (swap): new function
1622 * LColor.[Ch] (operator=): use the common semantics
1624 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1626 * lyxfind.C (findNextChange): update the bufferview after setting
1629 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1631 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1632 number of InsetOptArgs has already been inserted.
1634 * output_latex.C (latexOptArgInsets): new method. This outputs all
1635 the optarg insets, up to the limit defined in the layout file.
1636 (optArgInset): removed
1637 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1639 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1641 * paragraph.C (isLetter): remove special spellchecker-related
1642 code; return true also for digits
1643 (isWord, isKomma): remove
1645 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1646 * lyxfind.C (MatchString()): use isLetter instead of isWord
1648 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1650 * pariterator.h (operatir=): comment out un-implemented member
1653 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1656 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1658 * lyxfont.h: include LColor.h to satisfy concept checks.
1660 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1662 * pariterator.h: add typdefs for value_type, difference_type,
1663 pointer and reference to satisfy concept checks. Also add default
1664 constructor for same reason.
1666 * pariterator.C (operator++): add post-increment operator to
1667 satisfy concept checks.
1669 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1672 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1674 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1675 checks. Also rename base_type to BaseType to follow naming
1678 * FloatList.h: include Floating.h to satisfy concept checks.
1680 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1682 * lyxfunc.C (getStatus): when the origin of the request is menu or
1683 toolbar, and the LyXView does not have focus, do as if there was
1684 no buffer (bug 1720)
1686 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1687 FuncRequest to individual entries of LFUN_SEQUENCE
1689 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1691 * output_latex.C (TeXOnePar): override runparams.moving_arg
1692 according to the needprotect value of the current paragraph (bug
1695 * paragraph.C (simpleTeXOnePar): no need to override
1696 runparams.moving_args here
1698 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1700 * vspace.C: fix off-by-one-error, related to fix #1682
1702 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1704 * lengthcommon.C: a more general fix for bug 1682
1706 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1708 * text.C (backspace): fix crash
1710 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1712 * format.[Ch] (getFormatFromFile): new method
1713 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1715 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1717 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1719 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1721 * lyxfunc.C (dispatch): remove the verbose argument
1722 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1725 * kbmap.C (defkey): set the origin of func to KEYBOARD
1727 * MenuBackend.C (MenuItem):
1728 * ToolbarBackend.C (add): set the origin of func to UI
1730 * funcrequest.[Ch]: add origin member, which indicates which part
1731 of LyX requests an action
1733 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1735 * converter.C (move): don't lie in the error message
1736 * converter.h (isReachable, move): document
1738 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1740 * buffer.C: remove unused using lyx::support::atoi
1741 * paragraph_funcs.C: ditto
1743 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1745 * bufferlist.C (exists): use bind and equal_to instead of
1748 * lyxtextclasslist.C (NumberOfClass): ditto
1750 * cursor.C (insert): use for_each instead of explicit for loop
1752 * bufferlist.C (getFileNames): use std::transform and
1753 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1755 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1758 * buffer.C (changeLanguage): use for_each instead of explicit for
1760 (hasParWithID): implement using getParFromID
1762 * LaTeXFeatures.C: ws change only
1764 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1767 * BufferView_pimpl.C (trackChanges): use for_each instead of
1770 2004-11-04 André Pönitz <poenitz@gmx.net>
1773 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1775 * dociterator.C (asDocIterator): use hard assert again.
1777 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1779 * lyxlength.C (asLatexString): rewrite so that it does not use
1782 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1784 * text3.C (specialChar, dispatch): make sure cursor moves to the
1785 right after inserting an inset
1787 2004-11-02 José Matos <jamatos@lyx.org>
1789 * output_docbook.C (docbook):
1790 * paragraph.C (getID):
1791 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1792 garantee that the output is always legal.
1794 * tabular.C (docbook):
1795 * outputprams.[Ch]: remove mixed contents.
1797 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1799 * text2.C (setCounter): prevent endless loop
1801 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1803 * exporter.C (copyFile): use the mover instead of support::copy()
1804 * exporter.C (Export): pass format and latex name to copyFile()
1805 * exporter.h (addExternalFile): document
1806 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1808 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1810 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1812 2004-10-30 José Matos <jamatos@lyx.org>
1814 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1815 text and no inset or font change. This allows to use CDATA
1816 sections just for the whole paragraph.
1818 2004-10-30 José Matos <jamatos@lyx.org>
1820 * paragraph.C (getFirstWord): remove unused variable.
1822 2004-10-30 José Matos <jamatos@lyx.org>
1824 * paragraph.C (getFirstWord): the content should always be escaped
1826 (simpleDocBookOnePar):
1827 * output_docbook.C (makeEnvironment): replace reference to CDATA
1830 2004-10-30 José Matos <jamatos@lyx.org>
1832 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1834 2004-10-30 José Matos <jamatos@lyx.org>
1836 * output_docbook.C (makeParagraphs):
1837 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1838 standard paragraph has only a given type of content drop the wrapper.
1840 2004-10-29 José Matos <jamatos@lyx.org>
1842 * output_docbook.C (makeEnvironment):
1844 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1846 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1848 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1849 (cleanID): sanitize any id.
1851 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1853 * buffer.C, lyxlex_pimpl.C:
1854 * lyxlex_pimpl.C (setFile):
1855 s/getExtFromContents/getFormatFromContents/
1857 2004-10-28 José Matos <jamatos@lyx.org>
1859 * output_docbook.C (makeEnvironment): move id to broadest possible
1862 * sgml.C (openTag): apply substitution of <> for all attributes.
1864 2004-10-28 José Matos <jamatos@lyx.org>
1866 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1867 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1868 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1870 * sgml.[Ch]: new version for open and closeTag for paragraph and
1871 for strings. Now they handle the ids of paragraphs.
1873 2004-10-26 Angus Leeming <leeming@lyx.org>
1875 * Makefile.am: add mover.[Ch].
1877 * converter.C (convert, move): use the new Movers to move external
1878 files to the temp directory.
1880 * lyx_main.C (init): ensure that the global system_movers data
1883 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1886 * mover.[Ch]: new files, defining a Mover as a utility to move an
1887 external file between directories and, if necessary, manipulate this
1888 file using a helper script.
1890 2004-10-25 José Matos <jamatos@lyx.org>
1892 * output_docbook.C (makeCommand): merge two if's that tested the
1895 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1897 * sgml.C (escapeString): fix warning in a better way
1899 2004-10-25 José Matos <jamatos@lyx.org>
1901 * sgml.C (escapeString): import the require boosts header file for
1902 tie, and avoid a signed unsigned comparison.
1904 2004-10-25 José Matos <jamatos@lyx.org>
1906 * sgml.h: add #include <string>
1908 2004-10-25 José Matos <jamatos@lyx.org>
1910 * sgml.[Ch] (escapeString): new function to escape all the string.
1912 2004-10-24 José Matos <jamatos@lyx.org>
1914 * paragraph.[Ch] (getFirstWord): new function to get the first
1915 word. Useful for description.
1916 (simpleDocBookOnePar): remove depth argument, add another that
1917 says where to start the paragraph.
1919 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1920 use the new functions to fix cleanly the support for descriptions.
1922 2004-10-24 José Matos <jamatos@lyx.org>
1924 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1925 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1926 * output_linuxdoc.C (linuxdocParagraphs):
1927 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1928 add buffer as argument.
1930 2004-10-24 José Matos <jamatos@lyx.org>
1932 * output_docbook.C (makeEnvironment, searchEnvironment): place
1933 CDATA inside paragraphs and fix scope for listitems.
1935 2004-10-24 José Matos <jamatos@lyx.org>
1937 * output_docbook.C: remove using statement for stack.
1939 2004-10-23 José Matos <jamatos@lyx.org>
1941 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1942 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1943 docbook. The new scheme is recursive and makes use of iterators, the
1944 same as latex export works.
1945 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1946 directly with the paragraph contents. This code was moved up to
1947 output_docbook.C (docbookParagraphs).
1948 * sgml.C (openTag, closeTag): removed unneeded newlines.
1949 (closeEnvTags) removed.
1951 2004-10-23 André Pönitz <poenitz@gmx.net>
1953 * undo.C (textUndoOrRedo):
1954 * dociterator.C (asDocIterator): work around crash
1956 * cursor.C (getStatus): replace ASSERT by more verbose error message
1957 and manual correction of the problem. Should increase stability
1958 while providing more sensible information.
1960 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1962 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1964 * bufferlist.C (previous, next): new methods
1967 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1969 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1971 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1972 entities to preamble.
1974 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1976 * messages.C (Pimpl): strip off translation context information
1978 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1980 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1981 the cursor is correct (bug 1694)
1983 2004-10-13 José Matos <jamatos@lyx.org>
1985 * output_docbook.C (docbookParagraphs): fix closing tags in the
1986 end of the document.
1988 2004-10-09 José Matos <jamatos@lyx.org>
1990 * buffer.C: format up to 237.
1991 * bufferparams.C (write): use tostr to convert booleans to strings.
1993 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1995 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1997 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1999 * LaTeX.C: implement use of babel language in xindy.
2001 2004-10-05 José Matos <jamatos@lyx.org>
2003 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2004 Add new translators to help reading and writing the lyx file.
2006 2004-10-05 José Matos <jamatos@lyx.org>
2008 * ParagraphParameters.C (read):
2009 * text.C (readParToken): replace nexToken by more appropriate lex
2012 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2014 * LaTeX.C (runMakeIndex):
2015 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2016 (usually 'makeindex') configurable.
2018 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2019 with a variable rather than with a number.
2021 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2023 * output_latex.C (TeXOnePar): make sure font setting is the first
2024 thing that gets output (and the last at the end). Should fix bug
2027 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2029 * pch.h: use proper signal include
2031 * LaTeX.h: Use preferred calling of Boost.Signal
2034 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2036 * pch.h: dont include <boost/function/function0.hpp>
2038 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2040 * paragraph_pimpl.h: remove usage of ShareContainer
2042 * paragraph_pimpl.C: remove initialization of ShareContainer.
2044 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2048 * BufferView.C (putSelectionAt): change the semantics when
2049 backwards == true: now, this just swaps cursor and anchor wrt the
2052 * BufferView.h (putSelectionAt): add some documentation
2054 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2055 make sure backwardChar is done at least once (to avoid getting
2057 (findNextChange): use putSelectionAt in the forward direction
2058 (operator()): use Paragraph::isWord
2060 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2062 * Spacing.C (set): c_str fix
2064 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2066 * lyx_cb.C (Reconfigure): quote the name of configure script in
2067 case it contains spaces
2069 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2073 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2074 (BOOST_LIBS): use top_buildir when looking for the file
2076 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2078 * pch.h: do not use include boost/format.hpp, multiple symbols
2079 will result (gcc bug)
2082 2004-08-23 José Matos <jamatos@lyx.org>
2084 * bufferparams.C (readToken): fix reading of the author field.
2086 2004-08-20 José Matos <jamatos@lyx.org>
2088 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2090 2004-08-20 José Matos <jamatos@lyx.org>
2092 * lyxlex.[Ch] (findToken): remove function.
2094 * ParagraphParameters.C (findToken):
2095 * bufferparams.C (findToken): replace call for previous function
2096 with local copy. This local function has one more argument, the
2097 read string argument.
2099 2004-08-16 José Matos <jamatos@lyx.org>
2101 * ParagraphParameters.C (write):
2102 * Spacing.C (writeFile):
2103 * bufferparams.C (writeLaTeX):
2104 * lyx_cb.C (Reconfigure):
2105 * paragraph.C (write):
2106 * tabular.C (write): remove unnecessary space at end of line.
2109 2004-08-16 José Matos <jamatos@lyx.org>
2111 * text.C (readParagraph): remove debug message.
2113 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2115 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2118 * output_plaintext.C (asciiParagraph): set depth correctly
2120 * outputparams.h: add member depth
2122 * paragraph_funcs.C (ownerPar): remove.
2124 * text2.C (setCounter): remove first_pit; comment out some
2125 non-working code that uses ownerPar
2127 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2130 2004-08-16 José Matos <jamatos@lyx.org>
2132 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2133 For the same level of importance use the same chanel to report problems.
2134 (read): add code to deal with \begin_body and \end_body.
2137 2004-08-15 José Matos <jamatos@lyx.org>
2139 * lyxlex.C (getString): fix comment, buffer::readBody is now
2140 buffer:readDocument.
2142 * tex-strings.C (string_papersize): Default -> default,
2143 Custom -> custom, for consistency with other options.
2145 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2149 * Makefile.am: support pch
2151 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2153 * text.C (readParToken): remove the static LyXFont variable and
2154 pass it as a parameter instead. This fixes a nasty bug where an
2155 inset will be inserted with a bad font in some situations
2156 (readParagraph): adapt
2158 * text2.C (setCounter): reduce number of calls to pars_[pit]
2160 * text.C (singleWidth): add an assert, fix a test
2162 * rowpainter.C (paintText): reduce number of calls to singleWidth
2164 * paragraph.C (isHfill):
2165 (isNewline): ws only
2167 2004-08-14 André Pönitz <poenitz@gmx.net>
2172 * lyxtext.h (several functions): use a Paragraph & argument
2175 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2177 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2179 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2181 * text.C (singleWidth): remove useless test
2183 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2185 * tabular.h: remove bogus comments
2187 * tabular.C (getDescentOfRow):
2188 (isPartOfMultiColumn): add assertions
2190 * lyxlength.C (inPixels): remove #warning
2192 2004-08-14 André Pönitz <poenitz@gmx.net>
2194 * paragraph.h: inline getChar()
2196 * BufferView.h: remove unused declarations
2198 2004-08-14 José Matos <jamatos@lyx.org>
2200 * Buffer.[Ch] (readDocument): new name for old readBody.
2201 * Buffer.C: new file format, new keywords: \begin_document,
2202 \begin_header, \begin_body, \end_body.
2204 * bufferparams.C (readToken): replace all calls to lex.nextToken
2205 by lex.next(). Do the same to eatLine except where really needed.
2207 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2208 line when writing to the lyx file.
2210 * output_plaintext.C (asciiParagraph): fix Bibliography style
2213 * text.C (read): fix end of file handling.
2215 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2217 * MenuBackend.C (Menu::operator[]): new method to access
2218 individual menu items
2219 (Menu::hasFunc): new method. search for an item that corresponds
2221 (MenuBackend::specialMenu): new method
2222 (MenuBackend::expand): if a special menu has been set, skip
2223 entries whose func() appears in this menu
2225 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2227 * text3.C: use Debug::DEBUG a bit more
2229 * text.C (leftMargin): try to simplify a tiny bit change var x to
2230 l_margin. Dont output the wide margins always.
2231 (rightMargin): no margin in inner texts
2233 * rowpainter.h (nestMargin): new func
2234 (changebarMargin): new func
2235 (rightMargin): new func
2237 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2241 * factory.C (createInset): modify setDrawFrame
2243 * cursor.C: use Debug::DEBUG a bit more
2245 2004-08-14 André Pönitz <poenitz@gmx.net>
2248 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2249 cache for all insets in (at least partially) visible (top-level)
2252 * BufferView_pimpl.C: reset external coord cache before every update.
2253 This means the coord cache only contains valid entries.
2255 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2258 * BufferView_pimpl.C (getInsetByCode): move function out of class
2259 and change in to a template in anon namespace. Also fix to do what
2262 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2265 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2267 (breakParagraph): rename par to par_offset and use a local
2268 reference. Add code to keep the language over a rebreak.
2269 (breakParagraphConservative): rename par to par_offset, use a
2271 (mergeParagraph): ditto
2273 (isFirstInSequence): ditto
2274 (outerFont): rename pit to par_offset
2276 * paragraph.C: ws change
2277 * paragraph.h: ditto
2281 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2283 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2286 * paragraph.C (simpleTeXOnePar): when we have a \item with
2287 optional argument, enclose the argument with curly brackets (in
2288 case it contains a closing square bracket)
2292 * text3.C (checkInsetHit): constify
2294 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2296 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2297 documents (bug 1629)
2299 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2301 Fix toggling of collapsable insets with the mouse (bug 1558)
2303 * lyxfunc.C (dispatch): adapt to LCursor changes
2305 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2306 make sure that dispatch is not invoked twice
2308 * cursor.C (needsUpdate): new method
2309 (dispatch): return void
2310 (result): new method, to access the DispatchResult of the cursor.
2312 2004-08-13 José Matos <jamatos@lyx.org>
2314 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2316 2004-08-13 André Pönitz <poenitz@gmx.net>
2318 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2320 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2323 2004-08-12 André Pönitz <poenitz@gmx.net>
2325 * text3.C: take out the 'cursor right' form insertInset and only
2326 do it in those places when it is really needed. Fixes crash on
2329 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2331 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2333 * BufferView_pimpl.C (setBuffer): initialize the current font of
2334 the underlying LyXText
2336 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2338 * kbsequence.C (print): use UI native formatting for menu
2341 * text.C (insertChar): call Paragraph::insertChar with a font
2344 * paragraph.C (insertInset, insertChar): the version that takes a
2345 LyXFont argument is now a wrapper around the other one (the
2346 opposite used to be true).
2348 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2349 argument. Font setting is done in Paragraph now.
2351 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2353 * outputparams.h: add new members intitle and lang.
2355 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2356 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2358 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2360 * text3.C (dispatch): remove special handling of button 4 and 5,
2361 it is now taken care of in the frontend code.
2363 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2365 * Spacing.h: add <string> (STLPort compile fix)
2367 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2369 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2371 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2373 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2376 * converter.C (showMessage): inherit from unary_function, make
2379 * buffer.C (writeFile): initialize retval
2381 * InsetList.h: rename private variable list to list_
2382 * InsetList.[Ch]: adjust accordingly.
2384 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2386 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2387 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2388 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2389 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2390 * ParagraphParameters.C, LaTeXFeatures.C: replace
2391 "support/std_sstream.h" with <sstream>
2393 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2395 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2396 * lyxsocket.C (LyXServerSocket): ditto
2397 (serverCallback): ditto
2399 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2401 * LaTeXFeatures.C: check release date when loading jurabib.
2403 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2405 * lyxserver.C (startPipe): call register_socket_callback
2406 (endPipe): call unregister_socket_callback
2408 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2410 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2411 (LyXServerSocket): register the callback
2412 (LyXServerSocket): unregister the callback
2413 (fd): delete function
2414 (serverCallback): improve error checking and setup the callbacks.
2415 (dataCallback): change arg to fd.
2416 (writeln): new func (copied fro the client socket) used for server
2418 (LyXDataSocket): simplify
2419 (~LyXDataSocket): close ann unregiser callback
2420 (server): delete function
2421 (fd): delete function
2422 (readln): small changes, improve some std::string usage
2423 (writeln): constify a bit
2425 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2427 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2430 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2432 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2433 after it has been populated
2435 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2437 * text2.C (insertInset): move cursor when inserting inset.
2439 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2441 * kbmap.C (findbindings): a couple of new methods. returns a
2442 container of kb_sequence objects. The real work is done by the
2443 private recursive version
2444 (printbindings): uses findbindings to print out a bracketed list
2445 of bindings (renamed from findbinding).
2447 * MenuBackend.C (binding): use kb_keymap::findbindings
2449 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2451 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2453 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2455 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2457 * paragraph.C (isWord): return true on insets that report
2460 * text.C (getWord): use Paragraph::isWord to decide what is in a
2461 word and what is not; fix bug 1609.
2463 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2465 * tex-strings.C: add "none" to string_paperpackages[], fixes
2466 off-by-one-error in the paperpackage selection.
2469 * tex-strings.[Ch]: char const * string[n]
2470 -> char const * const string[]
2472 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2474 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2475 command, return early.
2477 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2479 * debug.h: add DEBUG to enum and fix size of ANY.
2481 * debug.C: add support for Debug::DEBUG
2482 (showTags): cast errorTags.level to unsigned int
2484 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2485 (redoCurrentBuffer): ditto
2486 (updateScrollbar): ditto
2487 * cursor.C (dispatch): ditto
2488 * text2.C (setLayout): ditto
2490 (updateCounters): ditto
2492 (deleteEmptyParagraphMechanism): ditto
2494 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2496 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2497 annotations to cleanup the Makefile slightly.
2499 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2501 * lyxrc.C: do not set user_email to a default value but use empty
2502 instead. The entry used to be translated, which does not work
2503 since at the point where lyxrc is constructed there is no
2504 translation service available
2506 * messages.C (getLocaleDir): remove and use directly
2507 lyx_localedir() instead
2509 2004-06-02 Angus Leeming <leeming@lyx.org>
2511 Fix crash caused by dereferencing null pointer 'exportdata' in
2512 OutputParams by creating a new ExportData variable on the heap,
2513 storing it in a boost::shared_ptr.
2514 The crash was triggered when generating an Instant Preview
2515 of an external inset.
2517 * Makefile.am: add outputparams.C
2519 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2520 (c-tor): allocate memory to it.
2522 * exporter.C (c-tor): associated changes.
2524 2004-06-01 Angus Leeming <leeming@lyx.org>
2526 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2527 contains data before calling isInset(0). (Bug 1513.)
2529 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2531 * exporter.C (checkOverwrite): new method
2532 * exporter.C (copyFile): new method
2533 * exporter.C (Export): copy referenced files to the document dir
2534 * exporter.[Ch]: new class ExportedFile
2535 * exporter.[Ch]: new class ExportData. Contains currently the
2536 names of referenced external files
2537 * outputparams.h: add exportdata member.
2539 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2541 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2544 2004-05-19 Angus Leeming <leeming@lyx.org>
2549 * lyxfunc.C: small changes due to the introduction of namespace
2550 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2552 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2554 * text3.C (dispatch): supress update when only moving the cursor
2555 * cursor.C (selHandle): remove commented code
2557 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2559 * paragraph.C (startTeXParParams): correct column count
2560 * CutAndPaste.C (pasteSelection): remove const_cast
2561 * output_docbook.C (docbookParagraphs): remove const_cast
2562 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2563 const_cast and return ParagraphList::const_iterator
2564 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2565 * output_plaintext.C (writeFileAscii): remove const_cast
2566 * paragraph.[Ch] (simpleTeXOnePar): make const
2567 * paragraph_funcs.C (outerPar): use const iterators
2568 * paragraph_pimpl.C (validate): use const iterators
2569 * text.C (setHeightOfRow): use const iterators
2571 2004-05-17 Angus Leeming <leeming@lyx.org>
2574 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2576 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2577 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2578 if the citation engine has changed.
2580 2004-05-14 José Matos <jamatos@lyx.org>
2582 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2583 if the textclass does not provide it. Have it different for sgml and
2585 support the language of document.
2586 * output_docbook.C (docbookParagraphs):
2587 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2588 first anchor as the id of the paragraph, remove special case code.
2589 * sgml.C (escapeChar): escape only < & >.
2591 2004-05-14 Angus Leeming <leeming@lyx.org>
2593 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2594 dependencies on src/frontends/controllers/biblio.h. Define a
2595 CiteEngine_enum wrapper class to enable the enum to be forward
2598 2004-05-12 Angus Leeming <leeming@lyx.org>
2600 * buffer.C: up LYX_FORMAT to 234.
2601 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2602 use_numerical_citations with a single biblio::CiteEngine cite_engine
2604 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2606 2004-05-13 José Matos <jamatos@lyx.org>
2609 * converter.C (Converter, readFlags): add xml member.
2610 * outputparams.h: add XML flavor.
2611 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2613 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2615 * lyxfunc.C (dispatch):
2616 (getStatus): fix handling of LFUN_SEQUENCE
2618 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2620 * debug.C (showLevel): do not forget the end-of-line marker
2622 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2624 * kbmap.C (read): do not stop parsing a bind file when an error
2627 2004-04-29 Angus Leeming <leeming@lyx.org>
2632 * text2.C: wrap a bunch of #warning statements
2633 inside #ifdef WITH_WARNINGS blocks.
2635 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2637 * buffer.C: increment format to 233.
2639 2004-04-28 Angus Leeming <leeming@lyx.org>
2641 * BufferView_pimpl.C:
2644 s/updateToolbar()/updateToolbars()/
2645 s/Toolbar.h/Toolbars.h/
2647 2004-04-28 Angus Leeming <leeming@lyx.org>
2649 * BufferView.[Ch] (c-tor):
2650 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2651 No longer passes these data to the WorkArea generator.
2653 2004-04-28 Angus Leeming <leeming@lyx.org>
2655 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2657 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2659 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2661 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2663 * output_latex.C (TeXEnvironment): make sure that there is a line
2664 break before \end{foo} for the last paragraph of a document
2665 (TeXOnePar): if the paragraph is at the end of the document (or
2666 inset) and the language has to be reset, then make sure that the
2667 line break is _before_ the language command, not after (fixes bug
2668 1225); also make sure that the language reset command is the first
2669 thing after the paragraph (to ensure proper nesting of
2670 environments and thus fix bug 1404)
2672 2004-04-21 John Levon <levon@movementarian.org>
2675 * ToolbarBackend.C: make "name" be a programmatic name
2676 and a gui_name field.
2678 * lyxfunc.C: display the minibuffer on M-x
2680 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2682 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2685 2004-04-19 Angus Leeming <leeming@lyx.org>
2687 * BufferView_pimpl.C (setBuffer): changed preview interface.
2689 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2692 2004-04-19 John Levon <levon@movementarian.org>
2694 * BufferView_pimpl.C:
2695 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2697 2004-04-05 Angus Leeming <leeming@lyx.org>
2699 * text.C (redoParagraphs): add call to updateCounters(), thereby
2700 fixing the missing "Figure #:" label from the caption of a
2703 2004-04-13 Angus Leeming <leeming@lyx.org>
2705 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2706 cursor is clicked out of an inset.
2708 2004-04-13 Angus Leeming <leeming@lyx.org>
2710 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2711 than an InsetOld one.
2713 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2715 * format.[Ch]: add editor to Format
2716 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2717 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2719 2004-04-08 André Pönitz <poenitz@gmx.net>
2721 * metricsinfo.h: remove PainterInfo::width member
2723 2004-04-08 Angus Leeming <leeming@lyx.org>
2725 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2726 "\providecommand" rather than "\newcommand", thereby preventing
2727 clashes with packages that define "\boldsymbol" themselves.
2730 2004-04-08 Angus Leeming <leeming@lyx.org>
2732 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2733 thereby squashing an unnecessary warning.
2735 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2737 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2740 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2742 * BufferView.C (setCursor): call redoParagraph (some insets could
2744 (putSelectionAt): remove the 'double update' trick
2746 * BufferView_pimpl.C (fitCursor): call refreshPar
2747 (workAreaDispatch): remove an uneeded update call
2748 (dispatch): remove some manual update calls
2750 * cursor.[Ch]: remove cached_y_, updatePos
2751 (selHandle): set noUpdate when appropriate
2753 * lyxfunc.C (dispatch): track if we need an update
2755 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2757 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2758 (paintSelection): cheap optimization, do not call cursorX when not
2760 (paintPars): change signature
2763 (paintTextInset): adjust
2767 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2769 * lengthcommon.C: compilation fix: remove explicit array size from
2770 unit_name[] and friends
2772 2004-04-05 Angus Leeming <leeming@lyx.org>
2774 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2776 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2777 present only for the preferences dialog.
2778 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2780 2004-04-05 Angus Leeming <leeming@lyx.org>
2782 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2783 to enable the frontends to export changes to lyxrc correctly.
2785 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2787 2004-04-07 André Pönitz <poenitz@gmx.net>
2789 * cursor.[Ch] (selClear, adjust): remove math
2791 * cursor_slice.C: more agressive assert
2794 * BufferView_pimpl.C: rework mouse event dispatch
2801 2004-04-05 André Pönitz <poenitz@gmx.net>
2803 * cursor.[Ch] (valign, halign...): remove unneeded functions
2805 2004-04-05 Angus Leeming <leeming@lyx.org>
2807 * lyxlength.[Ch] (unit_name et al.): const-correct.
2809 2004-04-05 Angus Leeming <leeming@lyx.org>
2811 * BufferView_pimpl.C:
2820 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2822 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2824 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2826 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2828 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2829 * BufferView_pimpl.[Ch] (getStatus)
2830 * BufferView.[Ch] (getStatus): add
2831 * lyxfunc.C (getStatus): move lfuns handled in
2832 BufferView::dispatch to te function above
2833 * Cursor.C (setSelection): set selection() = true
2835 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2837 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2839 2004-03-31 Angus Leeming <leeming@lyx.org>
2841 * lyxfunc.C (dispatch): Fall through to the generic
2842 Dialogs::show("preamble").
2844 2004-03-31 Angus Leeming <leeming@lyx.org>
2846 * lyxfunc.C (dispatch): Fall through to the generic
2847 Dialogs::show("spellchecker").
2849 2004-03-31 Angus Leeming <leeming@lyx.org>
2851 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2854 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2859 * insetiterator.[Ch]:
2864 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2866 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2868 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2869 insets where we are putting the cursor.
2871 2004-03-31 Angus Leeming <leeming@lyx.org>
2874 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2876 * lyxrc.[Ch] (read, write): overloaded member functions taking
2877 a std::[io]stream arguments.
2879 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2881 2004-03-31 Angus Leeming <leeming@lyx.org>
2883 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2884 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2886 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2887 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2889 2004-03-31 Angus Leeming <leeming@lyx.org>
2891 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2892 the LFUN_ALL_INSETS_TOGGLE code.
2894 2004-03-30 Angus Leeming <leeming@lyx.org>
2896 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2897 has died. Fall through to the generic Dialogs::show("document").
2899 2004-03-30 Angus Leeming <leeming@lyx.org>
2902 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2903 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2905 * lyxfunc.C (getStatus, dispatch): define the actions for these
2906 lfuns. Little more than a cut and pste job from ControlDocument.C
2908 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2910 2004-03-30 Angus Leeming <leeming@lyx.org>
2913 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2914 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2916 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2917 open/closed state of ollapsable insets. Usage:
2919 all-inset-toggle <state> <name>, where
2920 <state> == "open" || "closed" || "toggle" and
2921 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2923 * lyxtext.h, text2.C (toggleInset): removed.
2925 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2926 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2927 now passes LFUN_INSET_TOGGLE to the found inset.
2929 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2930 is now invoked as "all-insets-toggle toggle branch".
2932 2004-03-30 Angus Leeming <leeming@lyx.org>
2936 * pariterator.[Ch]: added/corrected header blurb.
2938 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2940 * dociterator.[Ch]: add an inset_ member
2941 (backwardPos): implemented
2942 (backwardPos, forwardPos): use inset_ when the stack is empty.
2943 (doc_iterator_begin, doc_iterator_end): implemented
2944 * pariterator.[Ch]: adjust, add begin, end
2945 * insetiterator.[Ch]: adjust, add begin, end
2949 * BufferView_pimpl.C:
2950 * CutAndPaste.C: adjust
2952 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2954 * buffer.C: increment file format to 232.
2955 * LaTeXFeatures.C: add bibtopic package.
2956 * bufferparams.[Ch]: param \use_bibtopic.
2958 * lyxrc.[Ch]: add lyxrc bibtex_command
2959 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2961 * buffer.C: increment file format to 231.
2963 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2965 * dociterator.C: implement forwardPar
2966 * iterators.[Ch]: remove, replaced by
2967 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2969 * BufferView_pimpl.C:
2972 * bufferview_funcs.C:
2978 * Makefile.am: adjust
2980 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2982 * CutAndPaste.C (pasteSelection): fix 2 crashes
2983 (eraseSelection): fix a crash
2984 * paragraph_funcs.C: remove a warning
2986 2004-03-28 Angus Leeming <leeming@lyx.org>
2989 * LyXAction.C (init): new LFUN_PRINT.
2991 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2993 2004-03-27 Angus Leeming <leeming@lyx.org>
2996 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2998 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3000 2004-03-27 Angus Leeming <leeming@lyx.org>
3002 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3003 insetlist always contains non-null pointers to insets.
3005 2004-03-26 Angus Leeming <leeming@lyx.org>
3007 * src/BufferView_pimpl.C:
3008 * src/CutAndPaste.C:
3011 * src/output_plaintext.C:
3012 * src/outputparams.h:
3013 * src/paragraph_funcs.C:
3017 * src/frontends/controllers/ControlErrorList.C:
3018 * src/frontends/gtk/FileDialogPrivate.C:
3019 * src/frontends/gtk/GPainter.C:
3020 * src/frontends/gtk/GToolbar.C:
3021 * src/frontends/qt2/QRef.C:
3022 * src/mathed/math_scriptinset.C: squash compiler warnings.
3024 2004-03-26 Angus Leeming <leeming@lyx.org>
3026 * ispell.C (LaunchIspell::start):
3027 * lyx_cb.C (AutoSaveBuffer::start):
3028 invoke run(DontWait) rather than runNonBlocking().
3030 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3032 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3034 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3036 * kbsequence.C (print): adjust
3038 * kbmap.C (printKeySym): rename and change signature
3039 (printKey): use LyXKeySym::print()
3041 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3043 * undo.C: add using std::advance to compile for stlport
3045 2004-03-24 Angus Leeming <leeming@lyx.org>
3047 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3048 it leads to a crash when no buffer is present.
3050 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3051 Martin Vermeer <martin.vermeer@hut.fi>
3053 * lyxfunc.C (dispatch):
3054 * bufferparams.C (readToken): use the new LColor::setColor
3056 * LColor.[Ch] (setColor): new version that takes two strings as
3057 argument and creates a new color entry if necessary
3059 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3061 * buffer.C (makeLaTeXFile): if the main latex file that is
3062 processed is usually a subdocument of some master, then pretend
3063 for a while that it is actually the master
3065 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3067 * buffer.C (getLabelList):
3068 (getBibkeyList): use getMasterBuffer()
3069 (getMasterBuffer): new method. Returns the main document in the
3070 case where one is using included documents.
3072 2004-03-25 André Pönitz <poenitz@gmx.net>
3076 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3078 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3080 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3081 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3083 * ParameterStruct.h: merge with ParagraphParameters
3085 * lyxtext.h: remove LyXText::parOffset() and getPar()
3087 * text3.C: Remove all 'manual' update calls. We do now one per user
3088 interaction which is completely sufficient.
3092 * BufferView_pimpl.C:
3093 * FontIterator.[Ch]:
3095 * ParagraphParameters.[Ch]:
3100 * cursor_slice.[Ch]:
3107 * output_docbook.[Ch]:
3108 * output_latex.[Ch]:
3109 * output_linuxdoc.[Ch]:
3110 * output_plaintext.[Ch]:
3112 * paragraph_funcs.[Ch]:
3113 * paragraph_pimpl.[Ch]:
3121 * frontends/controllers/ControlDocument.C:
3122 * frontends/controllers/ControlErrorList.C:
3123 * frontends/controllers/ControlSpellchecker.C:
3126 * insets/insetbase.h:
3127 * insets/insetbibitem.C:
3128 * insets/insetbox.C:
3129 * insets/insetbranch.C:
3130 * insets/insetcaption.C:
3131 * insets/insetcharstyle.C:
3132 * insets/insetcharstyle.h:
3133 * insets/insetcollapsable.C:
3134 * insets/insetcollapsable.h:
3135 * insets/insetert.C:
3136 * insets/insetfloat.C:
3137 * insets/insetfoot.C:
3138 * insets/insetmarginal.C:
3139 * insets/insetnote.C:
3140 * insets/insetoptarg.C:
3141 * insets/insettabular.C:
3142 * insets/insettext.C:
3143 * insets/insettext.h:
3144 * insets/insetwrap.C:
3145 * mathed/math_mboxinset.C:
3146 * mathed/math_nestinset.C:
3147 * mathed/math_scriptinset.C:
3148 * mathed/math_scriptinset.h:
3151 2004-03-24 Angus Leeming <leeming@lyx.org>
3153 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3154 deal with any child processes that have finished but are waiting to
3155 communicate this fact to the rest of LyX.
3157 2004-03-24 Angus Leeming <leeming@lyx.org>
3159 64-bit compile fixes.
3161 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3162 (c-tor): pass lyx::pos_types rather than ints.
3164 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3167 * text.C (Delete): compile fix.
3168 (getPar): ensure that function declaration is the same as that in
3171 2004-03-23 Angus Leeming <leeming@lyx.org>
3173 * ispell.C (LaunchIspell):
3174 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3175 a boost::shred_ptr rather than a std::auto_ptr.
3177 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3179 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3180 handle LFUN_FILE_INSERT_*
3182 * lyxrc.C (setDefaults, getDescription, output, read):
3183 * lyxrc.h: remove ps_command
3185 2004-03-22 Angus Leeming <leeming@lyx.org>
3187 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3188 Ensure that error_handler is processed once only and that all data
3189 is saved before attempting to output any warning messages.
3191 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3193 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3195 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3197 2004-03-19 André Pönitz <poenitz@gmx.net>
3199 * cursor.[Ch] (reset): take main text inset as argument
3201 * BufferView: adjust
3202 * BufferView_pimpl.C: adjust
3204 * paragraph.[Ch]: fix completely broken operator=()
3206 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3208 * LColor.C (getFromLyXName): make sure that the color name is used
3211 2004-03-17 Angus Leeming <leeming@lyx.org>
3214 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3216 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3217 dialog and to kill a forked process.
3219 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3221 * text2.C (setCursorFromCoordinates): fix font problem
3223 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3225 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3226 bogus "rebuild cursor" code
3228 2004-03-11 André Pönitz <poenitz@gmx.net>
3230 * buffer.[Ch]: use InsetText instead of LyXText as container for
3233 * dociterator.[Ch]: drop the BufferView * member which is not needed
3234 anymore after the change to buffer.C
3236 * paragraph_funcs.C:
3240 * BufferView_pimpl.[Ch]:
3242 * cursor_slice.[Ch]: adjust
3244 * text3.C: fix bug in mathDispatch
3246 2004-03-08 André Pönitz <poenitz@gmx.net>
3248 * undo.[Ch]: use 'StableDocumentIterator' as base for
3251 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3254 * bufferparams.[Ch]: add jurabib support and param.
3256 * LaTeX.C: add FIXME/comment.
3258 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3260 * buffer.C: increment file format to 230.
3262 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3264 * cursor.C (dispatch): avoid infinite loops
3266 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3268 * rowpainter.C (paintSelection): fix x coordinates
3270 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3272 * text.C (rowBreakPoint): fix breaking before displayed insets
3274 2004-03-01 André Pönitz <poenitz@gmx.net>
3276 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3278 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3282 * BufferView_pimpl.C:
3290 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3296 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3297 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3299 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3301 * Bidi.[Ch] (computeTables): const correctness
3302 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3303 fill_hfill, fill_label_hfill and x from Row
3304 * lyxtext.h: prepareToPrint returns a RowMetrics
3305 * rowPainter.C: adjust
3306 * text.C (prepareToPrint): use width, not textWidth. adjust
3307 (redoParagraphInternal, cursorX): adjust
3308 * text2.C (getColumnNearX): adjust
3309 (init): put a default value to the top LyXText::width
3311 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3313 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3315 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3317 * lyxtext.h: add FontIterator class
3319 * text.C (FontIterator, operator*, operator->, operator++): add
3320 (rowBreakPoint, setRowWidth): adjust (fixing a
3323 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3325 * BufferView_pimpl.C (workAreaDispatch): allow also
3326 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3328 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3330 * text.C (rowBreakPoint): fix a bug showing with very large insets
3332 2004-02-25 André Pönitz <poenitz@gmx.net>
3335 * cursor.[Ch]: move some mathed specific code to mathed
3337 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3339 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3340 use_tempdir in preferences
3341 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3343 * lyx_main.C: ensure that tempdir is valid
3344 * lyxlex.h: correct typo
3345 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3346 * paragraph.[Ch] (isMultiLingual): make const
3347 * cursor.[Ch] (openable): make const
3349 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3351 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3353 2004-02-20 André Pönitz <poenitz@gmx.net>
3355 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3357 * cursor.[Ch]: prepare for localized getStatus()
3363 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3365 2004-02-20 André Pönitz <poenitz@gmx.net>
3367 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3369 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3371 * text2.C (setCursorFromCoordinates): switch to absolute coords
3373 (cursorDown): adjust
3374 * text3.C (dispatch): adjust
3376 2004-02-16 André Pönitz <poenitz@gmx.net>
3378 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3381 * cursor_slice.[Ch]: remove unneeded acessor function
3383 * lyxtext.h: rename rtl() to isRTL()
3391 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3393 * rowpainter.C (paintSelection): coord fix
3395 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3397 * Spacing.C: compile fix
3399 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3401 * cursor.C (dispatch): restore current_ before returning
3403 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3405 * text2.C (cursorUp, cursorDown): fix coords
3408 2004-02-12 André Pönitz <poenitz@gmx.net>
3413 * text3.C: add LCursor & parameter to most cursor movement functions
3414 remove usage of LyXText::cursorRow() and cursorPar()
3416 * cursor.[Ch]: add textRow() needed members
3419 * BufferView_pimpl.C:
3422 * BufferView_pimpl.C: adjust
3424 2004-02-11 André Pönitz <poenitz@gmx.net>
3428 * BufferView_pimpl.C: shift undo/redo handling
3430 * cursor.[Ch]: fix mathed crash
3433 * lyxtext.h: move selectionAsText to LCursor
3441 * rowpainter.C: fix excessive drawing
3443 2004-02-06 André Pönitz <poenitz@gmx.net>
3446 * BufferView_pimpl.[Ch]:
3447 * text3.C: move some text specific LFUN handling
3449 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3451 * text3.C (checkInsetHit): adjust coords
3452 * text2.C (getColumnNearX): adjust coords
3453 (edit): adjust coords
3454 * text.C (getRowNearY): add two asserts
3456 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3459 * format.C: add using std::distance to compile on gcc 2.95/stlport
3461 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3463 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3465 2004-02-04 André Pönitz <poenitz@gmx.net>
3467 * BufferView.[Ch] (insertInset):
3468 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3473 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3475 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3476 on the default clause of the switch
3477 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3478 wasn't catched by LCursor::dispatch
3480 2004-02-03 André Pönitz <poenitz@gmx.net>
3483 * cursor.[Ch]: some additional asserts
3485 * undo.[Ch]: remove LyXText dependency in interface
3489 * lyxtext.h (firstPar, lastPar): remove dead functions
3494 * paragraph.[Ch]: adjust
3496 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3498 * lyxfind.C (find): fix argument order in call to ::find
3500 2004-02-02 André Pönitz <poenitz@gmx.net>
3502 * cursor.[Ch]: remove direct access to anchor
3504 * text.C: remove findText() hack
3506 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3508 * iterators.[Ch] (lockPath): remove in favour of...
3509 * BufferView.[Ch] (setCursor): this addition
3510 * BufferView.C (putSelectionAt): adjust
3511 * undo.C (performUndoOrRedo): adjust
3512 * lyxfunc.C (dispatch): adjust
3514 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3516 * iterators.C (lockPath): add a missing slice
3517 * undo.C (performUndoOrRedo): remove redundant positioning code
3519 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3521 * vc-backend.C (scanMaster): ";" -> ';'
3523 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3525 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3526 std::binary_function
3528 * lyxtextclass.C (compare_name): rename to...
3529 (LayoutNamesEqual): ...this
3531 * lyxlex_pimpl.C (compare_tags): inherit from
3532 std::binary_function, put back into anon namespace
3534 * lyxfind.C (MatchString): inherig from std::binary_function
3535 (findChange): use empty() istead of !size()
3537 * format.C (FormatNamesEqual): new functor
3544 * converter.C (compare_Converter): rename to...
3545 (ConverterEqual): ...this, and fixup a bit.
3546 (getConverter): use it, and make function const
3547 (getNumber): use it, and make function const
3551 * bufferlist.C: add using boost::bind
3553 * MenuBackend.C (MenuNamesEqual): new functor
3554 (hasMenu): use it, and make function const
3555 (hasSubmenu): use nested bind to get rid of compare_memfun.
3557 2004-01-30 André Pönitz <poenitz@gmx.net>
3559 * BufferView_pimpl.C:
3562 * cursor_slice.[Ch]:
3565 * paragraph_funcs.C:
3566 * paragraph_funcs.h:
3570 * text3.C: move some of the edit(x,y) handling to the insets
3571 some coordinate changes.
3573 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3575 * text.C: add using statements for std::advance and std::distance
3577 * paragraph.C: add using statement for std::distance
3579 * lyxfind.C: add using statement for std::advance
3581 * cursor.C (region): remove std:: from swap
3582 (openable): use nucleus in stead of operator->
3584 * BufferView.C: add using statements for std::distance and std::swap
3586 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3588 * iterators.C: Remove the pimple, move the needed structures to
3589 the header file. Create accessor for the positions stack.
3590 (asPosIterator): remove function
3592 * PosIterator.C (PosIterator): move constructors to top of file
3593 (PosIterator): reimplement the constructor taking a ParIterator in
3595 (setFrom): new function
3596 (operator!=): inline it
3598 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3600 * lyxfind.C (replaceAll): use std::advance
3602 * iterators.h: inherit from std::iterator.
3604 * PosIterator.C (advance, distance): remove
3605 * PosIterator.h: interit from std::iterator.
3607 2004-01-26 André Pönitz <poenitz@gmx.net>
3610 * BufferView_pimpl.[Ch]:
3614 * bufferview_funcs.C:
3624 * output_linuxdoc.C:
3625 * output_plaintext.C:
3627 * paragraph_funcs.[Ch]:
3628 * paragraph_pimpl.[Ch]:
3634 * text3.C: more IU: dumps most of the rest of the mathcursor
3635 implementation into cursor.[Ch]; "globalize" a bit of it.
3637 2004-01-25 Angus Leeming <leeming@lyx.org>
3639 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3641 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3643 * LaTeXFeatures.h: add nice_ and nice() const
3644 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3646 2004-01-20 André Pönitz <poenitz@gmx.net>
3649 * BufferView_pimpl.C:
3651 * bufferview_funcs.C:
3653 * cursor_slice.[Ch]:
3664 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3665 LCursor and mathcursor parts to LCursor and InsetBase.
3667 2004-01-15 André Pönitz <poenitz@gmx.net>
3669 * cursor_slice.[Ch]: add a few covienience functions
3671 * funcrequest.[Ch]: remove BufferView * member
3673 * BufferView_pimpl.C:
3680 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3682 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3684 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3685 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3687 2004-01-13 André Pönitz <poenitz@gmx.net>
3690 * lyxtext.h: hide cursor and selection anchor behind accessor function
3693 * BufferView_pimpl.[Ch]:
3695 * bufferview_funcs.C:
3705 * cursor_slice.[Ch]: some integer type changes for inset unification
3707 * lyxcursor.[hC]: remove, it's CursorSlice now.
3710 * BufferView_pimpl.[Ch]:
3711 * bufferview_funcs.C:
3717 * textcursor.[Ch]: adjust
3719 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3721 * text2.C (undoSpan): add and use
3722 * text.C (breakParagraph): use undoSpan (fix bug 578)
3725 2004-01-08 Angus Leeming <leeming@lyx.org>
3727 * BufferView_pimpl.C (MenuInsertLyXFile):
3728 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3729 * lyxfunc.C (menuNew, open, doImport):
3730 FileFilterList change to the FileDialog open and save functions.
3732 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3734 * ShareContainer.h: make isEqual and isUnique adaptable
3736 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3738 2004-01-07 Angus Leeming <leeming@lyx.org>
3741 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3743 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3745 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3746 functions replacing find, replace and replaceAll.
3748 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3749 LFUN_WORDFIND(FORWARD|BACKWARD).
3751 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3753 * text.C (breakParagraph): remove an outdated #warning
3755 2004-01-07 André Pönitz <poenitz@gmx.net>
3757 * lyxfind.C: somewhat clearer logic
3759 * text.C: prevent crash in cursorX on unitialized row cache
3761 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3763 * lyxcursor.[Ch] (operator>): add
3764 * textcursor.C (selStart, selEnd): use std::min and std::max
3766 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3768 * Chktex.C: include boost/format.hpp
3770 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3772 * InsetList.C: replace functor MathcIt with adaptable functor
3774 (insetIterator): modify accordingly
3776 * BranchList.h: move the BranchNamesEqual functor here from...
3777 * BranchList.C: ... to here
3779 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3781 (add): replace a finding loop with std::find_if.
3783 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3785 * output_docbook.C: moving LatexParam functionality into
3788 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3790 * buffer.C: increment format to 229.
3792 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3795 * lyx_sty.[Ch]: remove minipageindent_def
3801 * text3.C: remove LFUN_INSET_MINIPAGE
3803 2003-12-28 Angus Leeming <leeming@lyx.org>
3805 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3807 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3809 * text2.C (setParagraph): fix off-by-one crash
3811 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3813 * output_docbook.C: header stuff for AGU
3815 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3817 * text2.C (redoCursor): remove
3820 * BufferView_pimpl.C: remove calls to redoCursor and
3821 setCursor(cursor.par(), cursor.pos()) all around
3823 2003-12-15 Angus Leeming <leeming@lyx.org>
3825 * buffer.C: up the format to 228.
3827 2003-12-15 André Pönitz <poenitz@gmx.net>
3829 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3834 * BufferView_pimpl.C:
3843 2003-12-15 Angus Leeming <leeming@lyx.org>
3845 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3846 than getFromGUIName to manipulate the color.
3848 2003-12-14 Angus Leeming <leeming@lyx.org>
3850 * BranchList.[Ch]: minimize the API.
3851 (Branch::getBranch, getColor): now return a 'const &'.
3852 (Branch::setSelected) now returns a bool set to true if the
3853 selection status changes.
3854 (BranchList::clear, size, getColor, setColor, setSelected,
3855 allBranches, allSelected, separator): removed.
3856 (BranchList::find): new functions, returning the Branch with
3858 (BranchList::add, remove): return a bool indicating that
3859 the operation was successful.
3861 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3862 new InsetBranch::isBranchSlected member function.
3864 * LColor.[Ch]: mimimize the API.
3865 (fill): renamed as addColor and made private.
3866 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3867 versions of these functions taking a string arg have been removed.
3869 * bufferparams.C (readToken):
3870 * lyxfunc.C (dispatch):
3871 * lyxrc.C (read): changes due to the altered BranchList and
3874 * factory.C (createInset, readInset): changes due to altered
3877 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3880 * lyxfunc.C: remove insetminipage. "minipage-insert"
3881 now produces a frameless minipage box inset.
3883 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3885 * textcursor.[Ch] (selStart,selEnd): add new methods
3886 remove selection::start, end, use LyXCursor::operator<
3887 * lyxcursor.[Ch] (operator<): add
3888 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3889 * BufferView.[Ch] (unsetXSel): add
3890 * text2.C (clearSelection): use unsetXSel,adjust
3893 * rowpainter.C: adjust
3894 * bufferview_funcs.C (put_selection_at): adjust
3896 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3898 * BufferView_pimpl.C: small coord. correction
3900 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3902 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3903 dragging over the splash screen.
3905 2003-12-11 Angus Leeming <leeming@lyx.org>
3907 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3908 as it is now handled in LyXText::dispatch.
3910 * text3.C (doInsertInset): remove a level of nesting.
3912 2003-12-11 Angus Leeming <leeming@lyx.org>
3914 * factory.C (createInset): changes due to the changed interface to
3915 InsetCommandMailer::string2params.
3917 2003-12-10 Angus Leeming <leeming@lyx.org>
3919 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3920 'dialog-show-new-inset <inset name>'
3922 2003-12-10 Angus Leeming <leeming@lyx.org>
3924 * buffer.C: up the format to 227.
3926 * factory.C: the box inset is now identified simply by 'Box'.
3928 2003-12-10 Angus Leeming <leeming@lyx.org>
3930 * buffer.C: up the format to 226.
3932 * factory.C: the note inset is now identified simply by 'Note'.
3934 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3936 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3937 when a pit is enough. Standarize a couple of loops.
3939 2003-12-05 Angus Leeming <leeming@lyx.org>
3941 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3942 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3943 data to the re-worked "log" dialog.
3945 2003-12-03 André Pönitz <poenitz@gmx.net>
3951 * paragraph_funcs.C:
3953 * text2.C: use Inset::getText instead of Inset::getParagraph
3955 2003-12-03 André Pönitz <poenitz@gmx.net>
3959 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3960 InsetText::read() as LyXText::read()
3962 2003-12-02 Angus Leeming <leeming@lyx.org>
3964 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3965 type. Add a comment in the implementation that the function uses
3966 the stream's bad() function rather than fail() as the std::streams
3969 2003-12-02 André Pönitz <poenitz@gmx.net>
3971 * lyxlex.[Ch]: make interface more similar to std::stream
3973 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3975 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3977 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3979 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3981 * vspace.[Ch]: remove VSpace::NONE
3983 2003-12-01 André Pönitz <poenitz@gmx.net>
3986 * lyxtext.h: move ParagraphList member to LyXText
3987 rename LyXText::ownerParagraphs to LyXText::paragraph
3990 * bufferview_funcs.C:
4000 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4002 * undo.C: fix cursor positioning
4004 2003-12-01 John Levon <levon@movementarian.org>
4006 * BufferView_pimpl.C: fix a crash on exit with
4009 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4011 * BranchList.C: fix setSelected() method.
4013 2003-11-28 André Pönitz <poenitz@gmx.net>
4015 * ParagraphParameters.[Ch]:
4016 * ParameterStruct.h: remove space above/below from Paragraph to
4019 * BufferView_pimpl.C:
4025 * paragraph_funcs.C:
4031 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4033 * factory.C: Syntax change for CharStyles
4035 2003-11-28 André Pönitz <poenitz@gmx.net>
4040 * buffer.[Ch]: move LyXText member
4042 2003-11-28 André Pönitz <poenitz@gmx.net>
4044 * BufferView.[Ch]: make LyXText * text a private member
4046 * BufferView_pimpl.C:
4057 * output_plaintext.C: cleanup
4059 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4062 * lyxtextclass.[Ch]: parametrize SGML document header
4064 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4067 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4070 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4072 * text2.C (setFont): rework using PosIterator (no more recursive)
4073 (setCharFont): no more needed
4074 (setLayout): no more selection cursors fiddling (done by redoCursor)
4075 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4076 destroy remaining ones)
4078 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4080 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4082 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4085 * text3.C: adjust + re-allow multi par depth changes
4086 * textcursor.C: simplify a bit
4088 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4094 * src/output_docbook.C:
4095 * src/output_latex.C:
4100 * src/text2.C: Introducing a number of tags parametrizing various
4101 XML formats that we may want to support
4103 2003-11-25 André Pönitz <poenitz@gmx.net>
4105 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4107 * lyxtext.h (leftMargin/rightMargin): simplify interface
4114 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4116 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4117 master file to any child files. Fixes bug 546.
4119 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4121 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4123 2003-11-24 André Pönitz <poenitz@gmx.net>
4125 * rowpainter.C: simplification
4127 * text2.C (updateCounters): remove call to redoParagraph on
4128 changed labels as this is far too expensive.
4130 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4132 * converter.C (convert): fix a crash: this function gets
4133 called with buffer == 0 from importer code.
4135 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4137 * text3.C (cursorPrevious): make sure that we do not compare
4138 iterators form different containers.
4141 * rowpainter.C (paintSelection): make sure that we do not compare
4142 iterators from different containers.
4144 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4145 iterators from different ParagraphList containers.
4148 * text2.C (LyXText): change order of initialization slightly
4149 (operator=): new function. copy all variables except cache_par_
4150 (moveUp): make sure that we do not compare iterators from
4151 different ParagraphList constainers.
4154 * text.C (firstPar): new function
4155 (lastPar): new function
4156 (endPar): new function
4158 * lyxtext.h: move things around and group public functions, public
4159 variables, private functions, private variables
4161 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4163 * factory.C: change call to InsetERT constructor to avoid
4164 additional invocation of method status
4165 * text2.C (toggleInset): remove redundant update() call
4166 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4167 instead of a Bufferview pointer
4169 2003-11-21 André Pönitz <poenitz@gmx.net>
4171 * rowpainter.C: simplification
4173 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4175 * text3.C (dispatch): make possible to extend a word/row selection
4178 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4180 * lyxtext.h: x0_,y0_ -> xo_,yo_
4181 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4182 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4183 * rowpainter.C (paintRows): paint full paragraphs
4185 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4187 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4190 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4192 * lyxtext.h: add x0_, y0_
4193 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4194 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4196 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4198 * text2.C (setCursorIntern): move the x_target update here *
4199 * text3.C: change some bv() to true/false in calls to
4200 cursorUp/Down/Right/Left
4201 * cursor.C: use helper function.
4203 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4205 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4206 * paragraph_funcs.[Ch]: correct comment
4207 * rowpainter.C: do not paint selections away from bv->cursor()
4208 Fix a long standing selection painting bug.
4209 * text3.C: generalize mouse-selection code to LyXTexts other that
4211 * textcursor.C: do not use y coords if we can use par offsets
4213 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4215 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4216 cursor position after e.g. inset insert)
4218 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4220 * lyxfind.C (replace): adjust to locking removal + some
4223 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4225 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4228 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4231 * output_docbook.C: XML sanitation: new layout
4232 parameters InnerTag and CommandDepth
4234 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4236 * BufferView_pimpl.C:
4238 * text3.C: Fix the insertion and modification of button-style
4241 2003-11-13 André Pönitz <poenitz@gmx.net>
4243 * InsetList.[Ch]: remove deleteLyXText
4245 * paragraph.[Ch]: cache beginOfBody position
4250 * text3.C: remove superfluous update() calls
4254 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4256 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4257 * BufferView.C (fitLockedInsetCursor): remove
4258 * cursor.[Ch] (getDim): add
4259 * text.C (getRowNearY): add faster version
4260 * text3.C: remove some update calls
4262 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4274 * text3.C: The Character Style /XML short element patch.
4276 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4279 * factory.C: Small step to solving 'unable to insert some insets'
4282 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4284 * cursor.[Ch] (updatePos): new function for updating the y
4285 position of the tip inset
4286 * bufferview_funcs.C (put_selection_at):
4287 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4289 2003-11-11 André Pönitz <poenitz@gmx.net>
4291 * text.C: remove big comment on invalid Paragraph pointers as it is
4294 2003-11-11 André Pönitz <poenitz@gmx.net>
4296 * text_funcs.[Ch]: merge with ...
4304 * Makefile.am: remove text_funcs.[Ch]
4306 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4308 * cursor.C (getPos): return absolute cached y coord
4310 * BufferView_pimpl.C (fitCursor): new simplistic code
4311 (workAreaDispatch): add a fitCursor call
4313 2003-11-10 André Pönitz <poenitz@gmx.net>
4316 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4318 2003-11-10 André Pönitz <poenitz@gmx.net>
4320 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4321 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4322 indicate that the cursor needs to leave an inset
4324 * lyxtext.h: remove inset locking
4326 * cursor.[Ch]: re-implement functionality provided by inset locking
4329 * BufferView_pimpl.[Ch]:
4331 * bufferview_funcs.[Ch]:
4343 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4345 * PosIterator.[Ch]: replace the stack with a vector, add inset
4347 * iterators.[C]: adjust
4349 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4351 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4353 * paragraph_funcs.C (readParToken): put the correct id in the
4354 error item, not the id of the top paragraph
4356 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4358 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4359 * bufferview_funcs.C (put_selection_at): use the above
4361 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4363 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4365 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4367 * output_linuxdoc.h:
4368 * output_plaintext.h:
4370 * output_docbook.h: add #include statements
4372 2003-11-05 José Matos <jamatos@lyx.org>
4374 * output_docbook.[Ch]:
4375 * output_latex.[Ch]:
4376 * output_linuxdoc.[Ch]:
4377 * output_plaintext.[Ch]: New files for output formats.
4378 * output.[Ch]: New file for helper functions.
4381 * paragraph_funcs.[Ch]: output functions moved to new files.
4383 * outputparams.h: rename of latexrunparams.h
4391 * paragraph_funcs.[Ch]:
4392 * paragraph_pimpl.[Ch]:
4393 * tabular.[Ch]: rename ascii to plaintext
4394 and LatexRunParams to OutputParams.
4396 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4398 * iterators.[Ch] (text): require bv argument
4399 * undo.C (recordUndo):
4400 * lyxfunc.C (dispatch):
4401 * bufferview_funcs.C (put_selection_at): adjust
4403 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4405 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4407 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4409 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4412 2003-11-04 André Pönitz <poenitz@gmx.net>
4414 * cursor.[Ch]: restructure
4417 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4419 * iterators.[Ch] (asCursor): remove
4421 * lfuns.h: remove LFUN_INSET_EDIT
4427 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4429 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4431 * lyxfind.[Ch]: complete overhaul
4432 * BufferView_pimpl.C:
4434 * paragraph.[Ch] (insert): add
4436 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4440 * text.C: remove dead spellcheck code
4442 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4444 * dispatchresult.h: add a val setter
4446 * cursor.C (dispatch): use a tempvar for data_[i]
4448 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4450 * PosIterator.[Ch]: compile fix
4452 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4454 * text.C (cursorPar): deactivate the cursor cache
4456 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4458 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4460 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4462 * text3.C (dispatch): adjust for new DisptchResult semantics.
4464 * lyxfunc.C (dispatch): handle update when return from
4465 Cursor::dispatch, adjust for new DispatchResult semantics.
4467 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4468 DispatchResult(true) mean to not update. Add class functions for
4469 setting dispatched and update, as well as reading.
4471 * cursor.C (dispatch): don't handle update here
4473 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4475 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4476 * trans_mgr.C: adjust
4478 * paragraph_funcs.C (readParToken): exception safety
4480 * lyxvc.h: store the vcs pointer in a scoped_ptr
4483 * lyxsocket.C (serverCallback): exception safety
4485 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4487 * ispell.C (clone): make it return a auto_ptr
4489 * factory.C (createInset): exception safety
4490 (readInset): exception safety
4492 * bufferlist.C (newBuffer): exception safety
4494 * Thesaurus.C (Thesaurus): use initialization for aik_
4496 * MenuBackend.C (expandToc): exception safety.
4498 2003-11-03 André Pönitz <poenitz@gmx.net>
4502 * bufferview_funcs.C: remove getInsetFromId()
4505 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4511 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4513 * PosIterator.C (distance, advance): new
4514 * bufferview_funcs.[Ch] (put_selection_at): new
4515 * iterators.[Ch] (lockPath): new
4517 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4519 * iterators.[Ch] (asPosIterator): added
4520 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4521 * PosIterator.[Ch]: added
4523 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4527 * cursor.C (dispatch):
4528 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4530 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4531 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4532 contructor, add a class function dispatched. Remove operator>=
4534 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4536 * debug.C: only use the default constructor for debugstream
4539 * main.C (main): include debug.h and setup the lyxerr streambuf
4542 2003-10-31 José Matos <jamatos@lyx.org>
4544 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4546 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4547 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4548 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4549 * paragraph_pimpl.C (simpleTeXSpecialC):
4550 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4551 add LatexRunParams argument.
4553 * exporter.C (Export): change call accordingly.
4555 * latexrunparams.h: add new member to take care of the other backends.
4556 2003-10-30 José Matos <jamatos@lyx.org>
4558 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4559 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4560 factorise code for paragraph output.
4562 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4565 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4567 * text3.C (dispatch):
4568 * lyxfunc.C (dispatch):
4569 * cursor.C (dispatch):
4570 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4572 * dispatchresult.h: make the dispatch_result_t ctor explicit
4574 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4577 * buffer.C: small refactoring of docbook stuff
4579 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4581 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4584 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4586 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4587 operator dispatch_result_t, and operators for == != and >=
4589 * cursor.C (dispatch): adjust for operator dispatch_result_t
4590 removal. comment out call to update
4592 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4594 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4602 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4605 * dispatchresult.h: new file, DispatchResult broken out of
4608 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4610 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4612 * text.C (rowBreakPoint): put a hack inside #if 0
4614 2003-10-28 André Pönitz <poenitz@gmx.net>
4618 * paragraph_funcs.C:
4621 * text2.C: general cleanup (lots of small stuff)
4623 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4625 * text2.C (cursorEnd): simple fix to the "end key goes to one
4626 before the end on last row" bug
4628 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4630 * text.C (backspace): fix the "zombie characters"
4632 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4634 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4636 2003-10-27 André Pönitz <poenitz@gmx.net>
4638 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4640 * factory.C: handle new InsetPagebreak, InsetLine
4642 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4643 and move handling into new InsetPagebreak, InsetLine
4645 * BufferView_pimpl.C:
4647 * ParagraphParameters.C:
4648 * ParameterStruct.h:
4653 * paragraph_funcs.C:
4654 * paragraph_pimpl.C:
4660 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4663 * lyxrow_funcs.[Ch]:
4669 * text3.C: remove lastPos uses in favour of Row::endpos
4671 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4673 * undo.C (performUndoOrRedo): fix two crashes by setting a
4674 cursor by hand and reordering some calls. Use bv->lockInset instead
4675 of inset->edit because the latter loses cursor information
4677 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4679 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4681 (rowBreakPoint): fix width. change point to point + 1.
4682 Add a missing check.
4684 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4687 * lyxfunc.C: fix (at least partly) the problems
4688 with the Nav menu and headers inside branch insets
4691 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4693 * paragraph.C (getChar): add strong asserts
4695 * lyxrow_funcs.C (lastPos): remove hideous hack
4697 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4698 (fill): adjust to that (avoid an infinite loop)
4700 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4702 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4704 2003-10-23 André Pönitz <poenitz@gmx.net>
4706 * RowList_fwd.h: change list<> to vector<> to gain speed
4707 after suggestion from Alfredo
4709 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4711 * lyxtext.h: move the bidi stuff from here...
4714 * Bidi.[Ch]: ... to here
4716 2003-10-23 André Pönitz <poenitz@gmx.net>
4719 * text.C (isLastRow, isFirstRow): new functions
4721 * paragraph.h: new width cache member
4723 * rowpainter.C: replace RowList::iterator with Row & where possible
4725 * lyxfunc.C: replace several view()->text with a single call
4727 * toc.C: fix 'unused' warning
4729 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4731 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4732 when woring with stream::pos_type
4733 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4735 2003-10-22 André Pönitz <poenitz@gmx.net>
4738 * text.C: use Row & instead of RowList::iterator
4740 * lyxrow.h: rename end() to endpos()
4746 2003-10-22 Angus Leeming <leeming@lyx.org>
4748 * buffer.[Ch] (fully_loaded): new member function, returning true
4749 only when the file has been loaded fully.
4750 Used to prevent the premature generation of previews and by the
4751 citation inset to prevent computation of the natbib-style label.
4753 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4754 templates are all set up.
4756 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4758 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4760 * text.C: fixed an "oops" in the "is a bit silly"
4763 2003-10-21 André Pönitz <poenitz@gmx.net>
4765 * FuncStatus.[Ch]: small stuff, whitespace
4767 * lyxfont.[Ch]: operator<<() for debug reasons
4771 * lyxtext.h: whitespace, spelling
4773 * paragraph.C: naming of variables
4776 * text2.C: small stuff
4779 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4781 * text.C: (1) finish off the inset display() work;
4782 (2) fix the "is a bit silly" bug (accessing char
4785 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4787 * text.C: re-introduce display() for insets, fixing the
4788 various bugs (stretch of line above, math inset
4791 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4793 * text.C (rightMargin): remove spurious semicolon
4795 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4798 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4800 * text3.C: fix one crash due to wrong cursor def
4802 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4804 * vc-backend.C (scanMaster): make the regex static
4806 * LaTeX.C (scanAuxFile): make the regexs static
4808 * text3.C (doInsertInset, dispatch, dispatch):
4809 * text2.C (cursorUp, cursorDown):
4810 * text.C (selectNextWordToSpellcheck):
4811 * BufferView_pimpl.C (dispatch):
4812 * lyxfunc.C (dispatch): localDispatch -> dispatch
4814 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4816 * lyxsocket.C: include <cerrno>
4818 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4820 * lyxfunc.C (dispatch): remove textcache stuff
4822 * bufferlist.C (release): remove textcache stuff
4825 * TextCache.C: delete file
4826 * TextCache.h: delete file
4828 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4830 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4831 delete of the bv_->text.
4832 (resizeCurrentBuffer): remove texcache stuff
4833 (workAreaResize): ditto
4835 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4837 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4840 2003-10-16 André Pönitz <poenitz@gmx.net>
4847 * text3.C: speed up by storing y positions per paragraph plus per-row
4848 offset instead of having a 'full' y position in the row.
4850 2003-10-15 André Pönitz <poenitz@gmx.net>
4854 * undo.[Ch]: make undo aware of inner insets
4856 2003-10-14 Angus Leeming <leeming@lyx.org>
4858 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4859 static member functions LyX::ref() and LyX::cref.
4860 (lastfiles): new accessor functions for the new lastfiles_ member var.
4861 (addLyXView, views_): add a new LyXView to the list of views_.
4862 (updateInset): loop over all LyXViews to call their own updateInset
4863 member function, returning a pointer to the Buffer owning the inset.
4865 * BufferView_pimpl.C (loadLyXFile):
4866 * MenuBackend.C (expandLastfiles):
4867 * bufferlist.C (MenuWrite, QuitLyX):
4868 lastfiles is no longer a global variable.
4869 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4871 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4872 static function. Access through LyX::cref().emergencyCleanup().
4874 2003-10-14 André Pönitz <poenitz@gmx.net>
4876 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4878 * undo.[Ch]: restoring part of 'undo in insets'
4881 * undo_funcs.[Ch]: merge with undo.[Ch]
4883 * tabular.C: small cleansing stuff
4885 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4887 * paragraph_funcs.C (readParToken): report unknown insets as error
4888 boxes. Use the outer paragraph as location (also for unknown
4891 * factory.C (readInset): do not abort on reading an unknown inset.
4892 Eat it and return 0.
4894 2003-10-13 Angus Leeming <leeming@lyx.org>
4896 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4898 * lyxrc.C: displayTranslator is now a function,
4899 declared in GraphicsTypes.h.
4901 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4903 * format.C: new placeholder $$a to pass the socket address.
4905 * bufferlist.[Ch]: new function getBufferFromTmp.
4907 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4908 files in the temporary dir.
4910 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4912 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4914 * Makefile.am: add lyxsocket.[Ch].
4916 * lyx_main.C (error_handler): handle SIGPIPE.
4918 2003-10-13 André Pönitz <poenitz@gmx.net>
4920 * BufferView_pimpl.C:
4925 * undo_funcs.[Ch]: use paroffset_type instead of
4926 ParagraphList::iterators to prevent multiple conversion
4927 (and get a more robust interface)
4929 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4931 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4933 * text3.C (dispatch): ditto
4935 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4937 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4938 move the onlyfile, use onlyfile instead of foundfile in a couple
4941 * DepTable.C (update): flush the error stream a bit more
4943 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4945 * lyxserver.C (callback): adjust
4947 * lyxfunc.C (getStatus): add a missing brace in commented code
4948 (ensureBufferClean): reindent
4949 (dispatch): delete version taking a string
4951 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4953 * LaTeX.C (deplog): move found file handlig from here...
4954 (handleFoundFile): .. to new function here.
4955 (deplog): make sure to discover several files mentioned on the
4958 2003-10-10 André Pönitz <poenitz@gmx.net>
4965 * text3.C: fix some of the tabular crashes
4967 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4969 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4971 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4973 2003-10-09 André Pönitz <poenitz@gmx.net>
4975 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4978 * BufferView_pimpl.C:
4979 * bufferview_funcs.C:
4990 * undo_funcs.C: adjust
4992 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4994 * text2.C (incrementItemDepth): new function, use a backtracking
4995 algorithm to discover the correct item depth.
4996 (resetEnumCounterIfNeeded): new function, use a backtracking
4997 algorithm to discover if counter reset is needed.
4998 (setCounter): use them. Simplify a bit. Add different labels for
4999 different item depths for itemize.
5001 * paragraph.C (Paragraph): remove initialization of enumdepth
5004 * paragraph.h: get rid of enumdepth, and use itemdepth both for
5005 enumerate and itemize. Change the type of itemdepth to signed char.
5007 2003-10-08 André Pönitz <poenitz@gmx.net>
5009 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5014 * tabular.[Ch]: fix crash after 'row-insert'
5016 2003-10-08 Angus Leeming <leeming@lyx.org>
5018 Fix doxygen warnings.
5020 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5021 Remove CutAndPaste:: prefix from header file declaration.
5023 * LColor.h (fill): remove LColor:: prefix from declaration.
5025 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5026 use lyx::depth_type rather than Paragraph::depth_type so that
5027 header file and .C file match.
5029 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5031 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5032 * aspell.C: \file aspell_local.C -> \file aspell.C
5033 * gettext.C: \file gettext.C -> \file src/gettext.C
5034 * gettext.h: \file gettext.h -> \file src/gettext.h
5035 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5036 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5037 * text.C: \file text.C -> \file src/text.C
5039 * toc.C: move comment so that doxygen is not confused.
5041 2003-10-07 Angus Leeming <leeming@lyx.org>
5043 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5045 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5048 * aspell_local.h: add forgotten std::string's.
5050 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5057 * text3.C: The Box patch. Fancybox support, minipage, parbox
5059 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5065 * ParagraphParameters.h:
5075 * lyxtextclasslist.h:
5078 * paragraph_pimpl.C:
5079 * textcursor.h: add <string> and other small fixes to make Lars'
5080 std::string patch compile with STLport.
5082 2003-10-06 Angus Leeming <leeming@lyx.org>
5084 * LColor.h: Add missing #include <string>.
5086 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5088 * All most all file in all subdirs: Make <string> be the prefered
5089 way of getting to std::string, add using declarations.
5091 2003-10-06 André Pönitz <poenitz@gmx.net>
5093 * metricsinfo.C: initialize LyXFont before changing attribute.
5094 (fixes the 'math in \emph is upright' bug)
5096 2003-10-06 André Pönitz <poenitz@gmx.net>
5098 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5100 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5103 * paragraph_pimpl.C: Small fixes to build using STLport
5105 2003-10-02 André Pönitz <poenitz@gmx.net>
5108 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5110 2003-10-01 André Pönitz <poenitz@gmx.net>
5112 * factory.C: assert early
5114 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5116 * lyx_main.C: remove the global debug object
5118 * debug.h: adjust for new debugstream
5120 * debug.C: adjust for new debugstream and keep the global debug
5123 2003-09-22 Angus Leeming <leeming@lyx.org>
5125 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5126 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5127 an incomplete class LyXFont.
5129 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5131 * factory.C: bug fix in branches
5133 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5135 * lyxfunc.C (processKeySym): adjust
5137 (dispatch): change arg name from ev to func, adjust
5138 (sendDispatchMessage): ditto
5140 * lyx_main.C (defaultKeyBindings): adjust keybindings
5141 (deadKeyBindings): ditto
5143 * kbsequence.C (addkey): return a FuncRequest
5145 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5147 * kbmap.C (bind): take a FuncRequest as arg, adjust
5150 (defkey): change to take a FuncRequest as arg, adjust
5151 (findbinding): take a FuncRequest as arg, adjust.
5153 * funcrequest.h (operator=): added
5155 * funcrequest.C (FuncRequest): default kb_action changed from
5156 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5158 * buffer.C (dispatch): simplify
5159 (dispatch): adjust to take a FuncRequest as arg, adjust
5161 * boost.C (assertion_failed): change assertion message slightly
5163 * ToolbarBackend.C (read): simplify
5165 * MenuBackend.C (binding): adjust call to findbinding, add a
5166 message if no binding is found.
5168 (expandToc): correct by adding a empty FuncRequest
5170 * LyXAction.C: include <boost/assert.hpp>
5171 (isPseudoAction): delete function
5172 (LookupFunc): change name to...
5173 (lookupFunc): this. change return type to FuncRequest.
5174 (getActionName): take kb_action as arg, simplify
5175 (funcHasFlag): add an assert, simplify.
5177 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5179 * toc.C (action): return a FuncRequest, simplify
5181 * lyxfunc.C (processKeySym): adjust
5182 (getStatus): delete version that takes an int.
5184 (dispatch): delete version that takes action as int
5186 (sendDispatchMessage): simplify and adjust
5188 * funcrequest.C (getArg): take unsigned int as arg
5190 * ToolbarBackend.C (read): adjust
5191 (add): delete version that takes func as a string.
5192 (getIton): take a FuncRequest as arg
5194 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5197 * MenuBackend.C (MenuItem): add a new construct that only takes a
5198 Kind, simplify the constructor use for submenus.
5200 (expandLastfiles): adjust
5201 (expandDocuments): adjust
5202 (expandFormats): adjust
5203 (expandFloatListInsert): adjust
5204 (expandFloatInsert): adjust
5205 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5207 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5208 Remove class variables lyx_pseudo_map and lyx_arg_map
5210 * LyXAction.C (searchActionArg): delete function
5211 (getPseudoAction): delete function
5212 (retrieveActionArg): delete function
5213 (LookupFunc): make it return kb_action, simplify.
5214 (getActionName): simplify
5216 * factory.C (createInset): fix new bug
5218 2003-09-19 Angus Leeming <leeming@lyx.org>
5220 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5221 masterFilename_ parameter in the include inset.
5223 * factory.C (createInset): changes due to the changes to InsetInclude.
5225 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5227 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5229 2003-09-18 Angus Leeming <leeming@lyx.org>
5232 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5233 Inset::fillWithBibKeys.
5234 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5236 2003-09-18 Angus Leeming <leeming@lyx.org>
5238 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5240 (ctor): pass and store a 'Buffer const &'
5241 (buffer): new member function.
5243 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5244 '*this' to the LaTeXFeatures ctor.
5246 2003-09-18 Angus Leeming <leeming@lyx.org>
5252 * text.C: rename EnumLColor as LColor_color.
5254 2003-09-18 Angus Leeming <leeming@lyx.org>
5256 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5257 remove #include "insets/insetbase.h" from cursor.h.
5259 2003-09-18 Angus Leeming <leeming@lyx.org>
5261 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5262 InsetOld_code to remove #include "inset.h".
5264 * iterators.C: add #include "insets/inset.h"
5266 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5268 * BufferView.C: remove more locking stuff that apparently doesn't
5269 do anything sensible.
5271 2003-09-16 André Pönitz <poenitz@gmx.net>
5274 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5277 2003-09-16 Angus Leeming <leeming@lyx.org>
5279 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5281 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5284 * paragraph.h: remove #include "lyxfont.h". Forward declare
5287 2003-09-16 Angus Leeming <leeming@lyx.org>
5289 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5290 of support/textutils.h.
5291 (isWord): move the contents of support/textutils.h's IsWordChar here.
5297 * text2.C: add #include "paragraph.h".
5300 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5302 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5308 * LaTeX.C: use namespace alias for lyx::support::os
5310 2003-09-16 Angus Leeming <leeming@lyx.org>
5313 * bufferview_funcs.C:
5316 * paragraph_pimpl.C:
5318 * text.C: add #include "LColor.h".
5320 2003-09-16 Angus Leeming <leeming@lyx.org>
5322 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5323 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5325 Store the FontBits::color variable as an int rather than as an
5326 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5329 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5330 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5331 string calls together.
5333 * lyxrc.C: add #include "LColor.h".
5335 2003-09-15 Angus Leeming <leeming@lyx.org>
5337 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5340 2003-09-15 Angus Leeming <leeming@lyx.org>
5342 * LColor.h: add an EnumLColor wrapper for LColor::color.
5344 * lyxfont.[Ch] (color, setColor, realColor):
5345 * lyxtext.h, text.C (backgroundColor):
5346 pass EnumLColor args to/from the functions, rather than LColor::color
5350 * lyxtext.h: forward declare EnumLColor.
5352 * lyx_main.C: add #include "LColor.h".
5354 2003-09-15 Angus Leeming <leeming@lyx.org>
5356 * .cvsignore: add lyx-gtk.
5358 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5363 * ParagraphParameters.C
5367 * bufferview_funcs.C
5377 * vc-backend.C: remove usage of STRCONV
5379 2003-09-15 Angus Leeming <leeming@lyx.org>
5381 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5382 explicitly define the color passed to the painter.
5384 2003-09-15 Angus Leeming <leeming@lyx.org>
5386 * bufferparams.C (BufferParams): reorder member initializers to avoid
5389 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5391 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5392 * text.C (updateRowPositions): remove an unusual nop
5394 2003-09-12 André Pönitz <poenitz@gmx.net>
5396 * BufferView_pimpl.C:
5405 * Counters.[Ch]: finish the 'automatic counters' job
5407 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5409 * aspell.C: include <boost/assert.cpp> (compile fix)
5411 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5413 * boost.C (assertion_failed): use lyx::support::abort instead of
5416 2003-09-10 Angus Leeming <leeming@lyx.org>
5418 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5419 with their _fwd progeny.
5421 2003-09-09 Angus Leeming <leeming@lyx.org>
5423 134 files throughtout the source tree: replace 'using namespace abc;'
5424 directives with the appropriate 'using abc::xyz;' declarations.
5426 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5428 * boost.C (emergencyCleanup): moved here from LAssert.c
5429 (assertion_failed): new function, called by BOOST_ASSERT
5431 * several files: change Assert to BOOST_ASSERT
5433 2003-09-09 Angus Leeming <leeming@lyx.org>
5435 * buffer.[Ch]: Add an Impl class and move Buffer's member
5436 variables into it. As a result move several header files out of
5439 Add header files to lots of .C files all over the tree as a result.
5441 2003-09-09 Angus Leeming <leeming@lyx.org>
5443 * buffer.[Ch]: make Buffer's member variables private. Add
5446 Lots of changes all over the tree as a result.
5448 2003-09-08 Angus Leeming <leeming@lyx.org>
5450 * graph.C: #include <config.h>.
5452 2003-09-08 Angus Leeming <leeming@lyx.org>
5456 * BufferView_pimpl.C:
5485 * toc.C: remove redundant using directives.
5487 2003-09-07 Angus Leeming <leeming@lyx.org>
5489 * LaTeXFeatures.h: remove #include "support/types.h".
5490 * ToolbarBackend.h: remove #include <algorithm>.
5491 * changes.h: remove #include <ctime>.
5492 * debug.h: remove #include <iosfwd>.
5493 * graph.h: remove #include "support/std_string.h".
5494 * lyx_main.h: remove #include <csignal>.
5495 * lyxlex_pimpl.h: remove #include <fstream>.
5496 * sgml.h: remove #include <algorithm>, <utility>.
5497 * toc.h: remove #include "support/std_ostream.h".
5498 Add #include <iosfwd>.
5500 2003-09-07 Angus Leeming <leeming@lyx.org>
5502 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5504 * converter.h: forward declare LatexRunParams.
5505 * encoding.h: remove #include "lyxrc.h".
5506 * lyxtext.h: remove #include "LColor.h".
5507 * lyxtextclass.h: remove #include "support/types.h".
5508 * trans.h: remove #include "tex-accent.h".
5509 * trans_mgr.h: remove #include "tex-accent.h".
5510 * insets/inset.h: remove #include "support/types.h", <vector>.
5511 * insets/insetcollapsable.h: remove #include "LColor.h".
5512 * insets/insetinclude.h: remove #include "dimension.h".
5513 * insets/insetlatexaccent.h: remove #include "dimension.h".
5514 * insets/insetoptarg.h:: remove #include "insettext.h".
5515 * insets/insettext.h: remove #include "dimension.h",
5516 <boost/shared_ptr.hpp>
5518 * insets/renderers.h: add #include "dimension.h".
5519 * insets/updatableinset.h: add #include "support/types.h".
5521 * many .C files: Associated changes.
5523 2003-09-06 Angus Leeming <leeming@lyx.org>
5525 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5526 one, inside testInvariant.
5528 * PrinterParams.C: new file.
5529 * PrinterParams.[Ch]: move the function bodies out of line.
5531 2003-09-06 Angus Leeming <leeming@lyx.org>
5533 * ParagraphParameters.h: forward declare ParameterStruct rather than
5534 including its header file.
5535 (depth): moved out-of-line.
5537 2003-09-06 Angus Leeming <leeming@lyx.org>
5539 * BufferView_pimpl.h:
5542 * lyxfunc.h: forward declare LyXKeySym rather than
5543 #include "frontends/LyXKeySym.h".
5545 * BufferView_pimpl.C:
5548 * lyxfunc.C: associated changes.
5550 2003-09-06 Angus Leeming <leeming@lyx.org>
5552 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5553 As a result, can remove the #include "insets/inset.h" from BufferView.h
5555 2003-09-06 Angus Leeming <leeming@lyx.org>
5557 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5558 As a result, can remove the #include "insets/inset.h" from BufferView.h
5560 2003-09-06 Angus Leeming <leeming@lyx.org>
5566 * bufferview_funcs.C:
5567 * BufferView_pimpl.C:
5572 * ParagraphParameters.C:
5577 * frontends/controllers/ControlDocument.C:
5578 * insets/insetcaption.C: rearrange the #includes into some sort of
5581 * buffer.h: remove #includes ErrorList.h, undo.h
5583 2003-09-06 Angus Leeming <leeming@lyx.org>
5585 * support/types.h: add a 'depth_type' typedef, used to store the
5586 nesting depth of a paragraph.
5589 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5590 defining explicitly.
5593 * paragraph_funcs.h:
5594 * ParagraphParameters.h:
5595 * sgml.h: use lyx::depth_type rather than Paragraph or
5596 ParameterStruct's depth_type.
5599 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5602 * BufferView_pimpl.C:
5604 * ParagraphParameters.C:
5607 * bufferview_funcs.C:
5614 * frontends/LyXView.C:
5615 * frontends/controllers/ControlDocument.C:
5616 * frontends/controllers/ControlErrorList.C:
5617 * insets/insetbibitem.C:
5618 * insets/insetbranch.C:
5619 * insets/insetcaption.C:
5620 * insets/insetcollapsable.C:
5621 * insets/insetenv.C:
5622 * insets/insetert.C:
5623 * insets/insetfloat.C:
5624 * insets/insetfoot.C:
5625 * insets/insetfootlike.C:
5626 * insets/insetnewline.C:
5627 * insets/insetquotes.C:
5628 * insets/insettabular.C:
5629 * insets/insettext.C:
5630 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5632 * frontends/controllers/ControlChanges.C: #include "changes.h".
5634 2003-09-06 Angus Leeming <leeming@lyx.org>
5636 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5637 than #including paragraph.h.
5640 * RowList.h: deleted. Superfluous.
5650 * insets/insettext.h: use ParagraphList_fwd.h rather than
5653 * paragraph.h: don't forward declare ParagraphList.
5656 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5657 rather than ParagraphList.h. paragraph.h is still needed for the
5658 Paragraph::depth_type parameters.
5660 * textcursor.h: enable it to compile stand-alone in light of the
5663 * bufferview_funcs.C:
5675 * frontends/controllers/ControlParagraph.C:
5676 * frontends/controllers/ControlTabular.C:
5677 * insets/insetmarginal.C:
5678 * insets/insetminipage.C:
5679 * insets/insetnote.C:
5680 * insets/insetoptarg.C: add header files needed to compile again.
5682 2003-09-06 Angus Leeming <leeming@lyx.org>
5684 * RowList_fwd.h: new file, forward-declaring Row rather than
5685 #including lyxrow.h.
5690 * insets/insettext.h: use it instead of RowList.h
5692 * bufferview_funcs.C:
5699 * text3.C: #include "RowList.h".
5701 2003-09-05 Angus Leeming <leeming@lyx.org>
5703 * factory.C (createInset):
5704 * vspace.C (c-tor): replace sscanf call with an istringstream.
5705 * ispell.C: re-add missing HP/UX headers.
5706 * lyxserver.C: re-add missing os2 headers.
5708 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5717 * text3.C: re-add missing system headers, needed for 2.95.2.
5719 2003-09-05 Angus Leeming <leeming@lyx.org>
5721 Changes most place everywhere due to the removal of using directives
5722 from support/std_sstream.h.
5724 2003-09-05 Angus Leeming <leeming@lyx.org>
5726 Replace LString.h with support/std_string.h,
5727 Lsstream.h with support/std_sstream.h,
5728 support/LIstream.h with support/std_istream.h,
5729 support/LOstream.h with support/std_ostream.h.
5731 Changes resulting throughout the tree.
5733 2003-09-05 Angus Leeming <leeming@lyx.org>
5735 * sgml.h: ensure that the header file can be compiled stand-alone.
5736 * *.C: strip out redundant #includes. (320 in total.)
5738 2003-09-04 Angus Leeming <leeming@lyx.org>
5740 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5741 here (from getPackages).
5743 * debug.[Ch]: add a new EXTERNAL tag.
5745 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5747 * text2.C (cursorEnd): simplify
5749 (getColumnNearX): adjust
5751 * text.C (computeBidiTables): adjust
5754 * rowpainter.C (paintChars): adjust
5755 (paintSelection): adjust
5756 (paintChangeBar): adjust
5759 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5761 (numberOfSeparators): adjust
5763 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5769 * text3.C: Restricts the mouse click functionality
5770 of insets like bibtex, include, toc and floatlist to the visible
5771 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5772 up the dialogs. Cursor has to be in front of the inset (i.e.
5773 start of row) for this to function.
5775 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5777 * bufferview_funcs.C (currentState): output row information
5779 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5781 * bufferview_funcs.C (currentState): output paragraph position
5783 2003-09-04 Angus Leeming <leeming@lyx.org>
5785 * FloatList.h: move out #include "Floating.h".
5786 * LaTeX.h: move out #include "DepTable.h".
5787 * LyXAction.h: move out #include "funcrequest.h".
5788 * buffer.h: move out #include "author.h", "iterators.h".
5789 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5790 * lyx_main.h: move out #include "errorlist.h".
5791 * lyxfunc.h: move out #include "FuncStatus.h".
5792 * lyxtext: move out #include "lyxcursor.h".
5793 * paragraph_pimpl.h: move out #include "counters.h".
5795 2003-09-03 Angus Leeming <leeming@lyx.org>
5797 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5798 preamble_snippets list, enabling us to add snippets to the preamble
5799 only if the snippet was not there already.
5801 2003-09-04 Angus Leeming <leeming@lyx.org>
5803 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5805 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5807 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5810 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5812 * BranchList.C: point fix, earlier forgotten
5814 2003-09-02 Angus Leeming <leeming@lyx.org>
5816 * box.C (contains): renamed from 'contained' after a fantastic
5819 2003-09-02 John Levon <levon@movementarian.org>
5825 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5827 2003-09-02 John Levon <levon@movementarian.org>
5829 * text2.C: simplification of cursorEnd(), including partial
5832 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5834 * buffer.C (readFile): add a space
5836 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5838 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5840 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5842 * buffer.C (readFile): new function, take a filename and a
5843 ParagraphList::iterator
5845 (readFile): adjust, make it private. don't use setStream, make
5846 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5847 always contain the filename.
5849 * BufferView.C (insertLyXFile): simplify and make it work for
5852 2003-08-30 John Levon <levon@movementarian.org>
5854 * Makefile.am: fix dist (from Kayvan)
5856 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5858 * most files: change to use const Buffer refs
5860 2003-08-27 André Pönitz <poenitz@gmx.net>
5862 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5863 on top of ownerPar().
5865 2003-08-27 John Levon <levon@movementarian.org>
5867 * funcrequest.C: properly initialise POD members
5869 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5871 * lyxtext.h (top_y): move top_y from here
5876 * BufferView_pimpl.[Ch]: to here
5877 * frontends/screen.C:
5878 * insets/insettabular.C:
5879 * insets/insettext.C: adjust
5880 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5882 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5885 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5887 2003-08-26 André Pönitz <poenitz@gmx.net>
5889 * paragraph_func.[Ch] (outerPar): new function
5892 * paragraph_funcs.C:
5893 * paragraph_funcs.h:
5894 * paragraph_pimpl.C:
5895 * text2.C: remove Inset::par_owner
5897 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5902 * text2.C: eliminates the needFullRow/display() stuff
5903 altogether, putting the logic in metrics/draw in the insets.
5905 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5907 * text2.C (redoParagraphInternal, redoParagraphs):
5908 * text.C (redoParagraph): add a call to updateRowPositions at the
5909 end of each 'metrics-like' call. Remove all others.
5910 (getRow): remove the 'y-computing' version.
5911 (getRowNearY): do not compute nor return the real y. Solve the
5912 'y < 0' problem and simplify.
5914 2003-08-22 Angus Leeming <leeming@lyx.org>
5916 * *.[Ch]: clean-up of licence and author blurbs.
5917 Also move config.h out of a few .h files and into a few .C files.
5919 2003-08-22 André Pönitz <poenitz@gmx.net>
5921 * lyxrow.[Ch]: add x_ and *fill_ members
5926 * text2.C: adjust/remove prepareToPrint() calls
5928 2003-08-22 André Pönitz <poenitz@gmx.net>
5930 * lyxrow.[Ch]: add end_ member
5932 * lyxrow_funcs.C: use LyXRow::end_
5934 * lyxtext.h (singleWidth): add LyXFont parameter
5937 * text2.C: adjust LyXText::singleWidth() calls
5939 * text.C (redoParagraph): simplify row breaking logic
5942 2003-08-19 André Pönitz <poenitz@gmx.net>
5944 * funcrequest.C: initialize button_ member
5947 * rowpainter.[Ch]: interface consolidation
5949 2003-08-18 André Pönitz <poenitz@gmx.net>
5952 * BufferView_pimpl.C:
5954 * paragraph_funcs.C:
5956 * text3.C: remove LyXScreen::draw() and fitCursor calls
5958 * BranchList.h: remove spurious semicolons
5960 * MenuBackend.C: fix branchlist related crash
5962 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5970 * bufferparams.[Ch]:
5974 * text3.C: implements the 'branch inset'
5975 idea. This allows the output of various versions of a document
5976 from a single source version, selectively outputing or suppressing
5977 output of parts of the text.
5978 This implementation contains a 'branch list editor' in a separate
5979 tab of the document settings dialog. Branches are user definable
5980 and have a "display colour" to distinguish them on-screen.
5982 ColorHandler was somewhat cleaned up.
5983 (1) make possible a dynamically growing LColor list by allowing
5984 the graphic context cache to grow along (vector);
5985 (2) eliminate an IMHO unnecessary step in colour allocation.
5987 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5989 * BufferView_pimpl.C: compile fix
5991 2003-08-15 André Pönitz <poenitz@gmx.net>
5993 * rowpainter.C: remove extra metrics calls
5995 * lyxtext.h: merge the two constructors into a single one,
5996 pass reference to owner's par list
5998 * BufferView_pimpl.C:
6002 2003-08-15 André Pönitz <poenitz@gmx.net>
6004 * lyxrow_funcs.[Ch]:
6007 * paragraph_funcs.C:
6012 * text_funcs.C: split LyXText::rowlist_ into individual
6013 Paragraph::rows_ chunks
6016 * BufferView_pimpl.[Ch]:
6019 * text3.C: remove toggleSelection()
6021 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6023 * bufferlist.C: beautify two alerts (shorter text of buttons)
6024 * buffer.C: Remove redundant ' ' from message
6026 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6027 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6028 rename VALIGN_CENTER to VALIGN_MIDDLE
6030 2003-08-11 André Pönitz <poenitz@gmx.net>
6032 * lyxtext.h (getPar):
6033 * text.C: new function
6035 2003-08-11 André Pönitz <poenitz@gmx.net>
6038 * tracer.[Ch]: remove unneeded files
6040 * InsetList.[Ch]: remove resizeInsetsLyXText()
6045 * text3.C: merge insertParagraphs() and appendParagraph()
6046 remove breakAgain(), update()
6048 * BufferView_pimpl.[Ch]:
6049 * bufferview_funcs.[Ch]:
6053 * tabular.C: adjust after text & InsetList changes.
6055 2003-08-08 André Pönitz <poenitz@gmx.net>
6057 * text.C (insertChar, backspace): replace rowlist fiddling
6058 with rebreak of full par
6061 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6062 checkParagraph, updateInset): removed
6064 2003-08-07 André Pönitz <poenitz@gmx.net>
6067 * text3.C: merge some LFUN handlers, remove dead code
6069 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6071 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6073 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6075 * text2.C (DEPM): fix part of bug 1255 and 1256
6077 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6079 * BufferView_pimpl.C (workAreaDispatch): change to use
6080 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6081 that are no mouse related.
6083 2003-08-05 André Pönitz <poenitz@gmx.net>
6086 * BufferView_pimpl.[Ch]:
6087 * bufferview_funcs.C:
6089 * text3.C: rip out "deep update"
6091 * textcursor.[Ch] (last_sel_cursor): remove unused member
6093 2003-08-04 André Pönitz <poenitz@gmx.net>
6096 * BufferView_pimpl.[Ch]:
6097 * ParagraphParameters.C:
6098 * bufferview_funcs.C:
6104 * text3.C: replace "complicated" BufferView::update(...) calls with
6107 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6109 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6111 * Makefile.am (lyx_SOURCES): add paper.h
6113 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6115 * Makefile.am: move things around so that both lyx-qt and
6116 lyx-xforms can be built (according to --with-frontend). Then lyx
6117 is a symbolic link to lyx-[firstfrontend]
6119 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6121 * Always use std::endl with lyxerr
6123 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6125 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6127 2003-08-01 André Pönitz <poenitz@gmx.net>
6130 * BufferView_pimpl.[Ch]:
6132 * text3.C: merge BufferView::repaint() and BufferView::update()
6134 2003-08-01 José Matos <jamatos@lyx.org>
6136 * buffer.[Ch]: file_format is no longer a buffer data element.
6138 2003-08-01 André Pönitz <poenitz@gmx.net>
6143 * text2.C: make redoParagraph more independent of current cursor
6145 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6147 * text2.C: remove unneeded members
6149 2003-07-30 André Pönitz <poenitz@gmx.net>
6151 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6153 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6154 create a single function...
6156 * paragraph_funcs.C (moveItem): ... here.
6159 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6161 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6163 * LColor.[Ch]: Add comment and greyedout logical colors.
6165 2003-07-30 André Pönitz <poenitz@gmx.net>
6167 * tabular.C: don't use Assert too heavily. This crashes where it
6170 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6172 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6173 is disabled (bug 1232)
6175 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6177 * factory.C: limited 'arg' scope
6179 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6181 * factory.C: fixed Note submenu issues
6183 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6185 * factory.C: submenu for Note/Comment/Greyedout
6187 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6190 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6192 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6195 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6196 greyedout. Patch provided by Jürgen Spitzmüller.
6198 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6200 * kbmap.C (read): fix error message when reading bind files
6202 2003-07-29 Angus Leeming <leeming@lyx.org>
6204 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6205 certainly does not do what it purports to do. I am doing it, and
6206 us, a favour by killing it.
6208 2003-07-28 José Matos <jamatos@lyx.org>
6210 * buffer.C (readBody, do_writeFile):
6211 * paragraph.C(readParagraph): \end_document replaces \the_end.
6213 2003-07-29 André Pönitz <poenitz@gmx.net>
6216 * BufferView_pimpl.[Ch]:
6220 * textcursor.[Ch]: remove toggleToggle & Co
6222 2003-07-28 José Matos <jamatos@fep.up.pt>
6224 * buffer.C (readParagraph):
6225 * params_func (readParToken, readParagraph):
6226 * paragraph.C (write): \layout -> \begin_layout.
6228 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6230 * lyxlex_pimpl.C (setFile): clean up slightly.
6232 * bufferparams.h: add compressed var
6234 * buffer_funcs.C (readFile): adjust for LyXLex change
6235 (newFile): ditto + simplify
6237 * buffer.C (writeFile): handle writing of compressed files
6239 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6240 Check if the file is compressed and set a bufferparm if so.
6242 * Makefile.am (lyx_LDADD): remove explicit -lz
6244 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6246 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6247 makeDocBookFile): put the real LyX version in the first line of
6251 * version.C.in: remove lyx_docversion
6253 * tabular.C (write_attribute): add a template-based version to
6254 write enums properly
6256 2003-07-28 André Pönitz <poenitz@gmx.net>
6261 * text3.C: use doubles again for x-coordinates. They are needed.
6263 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6265 * messages.C (getLocaleDir): use lyx_localedir()
6267 * lyxlex_pimpl.C (setFile): compress stuff
6269 * buffer.C (writeFile): add some compression stuff
6270 (do_writeFile): new func, dont call expliti close... will this
6273 * Makefile.am (lyx_LDADD): add -lz
6275 2003-07-28 José Matos <jamatos@fep.up.pt>
6277 * buffer.C: increment file format.
6278 * paragraph_funcs (readParagraph, readParToken):
6279 * paragraph.C (readParagraph): add \end_layout.
6281 2003-07-27 Angus Leeming <leeming@lyx.org>
6283 * Makefile.am: remove special casing for configure-time setting of
6284 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6286 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6287 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6289 2003-07-26 André Pönitz <poenitz@gmx.net>
6291 * paragraph_func.[Ch]:
6292 * paragraph.C (realizeFont): inline it whereever it is used
6297 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6300 2003-07-26 André Pönitz <poenitz@gmx.net>
6304 * text2.C: get rid of LyXText::need_break_row
6306 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6308 * toc.[Ch]: put namespace toc inside namespace lyx
6310 * MenuBackend.C (expandToc2): adjust for lyx::toc
6313 * lyxfunc.C (dispatch): adjust for lyx::find
6315 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6316 lyx::find instead. Reorganize a bit.
6317 (LyXReplace): rename to replace
6318 (LyXFind): rename to find
6320 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6323 2003-07-26 André Pönitz <poenitz@gmx.net>
6325 * text.C (setHeightOfRow): restrict scope of temporary variable
6327 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6328 code (never has been used?)
6330 2003-07-27 Asger Alstrup <alstrup@local>
6332 * text.C (fill): Optimise algorithm to exploit that we can reuse
6333 the LyXFont for many characters.
6334 (setHeightOfRow): Same thing.
6335 (rowBreakPoint): Same thing.
6337 2003-07-26 Asger Alstrup <alstrup@local>
6339 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6341 * text.C (singleWidth): Spurious font copying in hot-spot
6342 singleWidth avoided. Reorder tests for arabic for efficiency.
6344 * text.C (fill): handle empty paragraphs better.
6346 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6349 * encoding.h: add includes
6351 * lyxrc.C: remove reading of bind files
6353 * lyx_main.C (init): setup bindings and menus only if we have a
6356 * kbmap.C (read): new method. Do the actual reading of bind
6359 * converter.C (dvipdfm_options):
6362 (output): adapt PAPER_* enums.
6364 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6366 * bufferparams.h: remove paper-related enums from there
6368 * paper.h: New file. A trivial header file to hold paper-related
6369 enums. It should later expand to contain many paper-related
6372 * lyxrc.C: declare extern displayTranslator
6374 2003-07-27 José Matos <jamatos@fep.up.pt>
6376 * tabular.[Ch] (linuxdoc): add support for tables and figures
6379 2003-07-27 José Matos <jamatos@fep.up.pt>
6381 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6382 consistency in both functions.
6383 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6385 2003-07-26 Asger Alstrup <alstrup@local>
6387 * rowpainter.C (paintRows): Change algorithm to work directly on
6388 the insets rather than asking every character in the document
6389 whether its an inset.
6391 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6393 * buffer.C (openFileWrite): factorize some code
6395 2003-07-26 Angus Leeming <leeming@lyx.org>
6398 * lyx_main.[Ch]: replace occurances of system_tempdir with
6401 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6403 * rename Inset to InsetOld
6405 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6407 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6408 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6409 which I think is a bit clearer. EDIT is gone, since it was
6410 premature optimisation, and broken for mathed anyway.
6411 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6412 with cursor positioning in insets as well (math insets still do not
6413 work, but that's a different story anyway.) It mysteriously
6414 crashes sometimes with undo in the first paragraph, but I'm fairly
6415 confident that this is a compiler bug.
6417 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6419 * paragraph.C (Paragraph): adjust for new clone return type
6421 (copyIntoMinibuffer): ditto
6423 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6425 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6426 by not having a special case, and always doing a full rebreak of
6427 the document after undo.
6429 2003-07-23 Angus Leeming <leeming@lyx.org>
6431 * factory.C (createInset): InsetExternal::setParams now takes a
6434 2003-07-23 Angus Leeming <leeming@lyx.org>
6436 * factory.C (createInset): changed interface to the external and
6437 graphics mailers' string2params functions.
6439 2003-07-23 Angus Leeming <leeming@lyx.org>
6441 * factory.C (createInset): pass a
6442 Buffer const * parameter to InsetExternalMailer's string2params.
6444 2003-07-22 John Levon <levon@movementarian.org>
6446 * Thesaurus.h: include the right aiksaurus header
6448 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6450 * MenuBackend.C (expand): check menu shortcuts unconditionally
6452 2003-07-21 Angus Leeming <leeming@lyx.org>
6454 * factory.C (createInset): pass a
6455 buffer_path parameter to InsetGraphicsMailer's string2params.
6457 2003-07-21 Angus Leeming <leeming@lyx.org>
6459 * BufferView_pimpl.C (buffer):
6462 * lyxfunc.C (dispatch):
6463 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6464 rather than the grfx shortcut.
6466 2003-07-21 André Pönitz <poenitz@gmx.net>
6468 * rowpainter.C: remove unused variables
6471 * tabular_funcs.h: move to tabular.C
6472 * Makefile.am: adjust
6474 * tabular.[Ch]: basic optical cleaning
6476 * author.h: pass references, not values
6478 2003-07-18 André Pönitz <poenitz@gmx.net>
6486 * text3.C: two-phase drawing for InsetText and InsetTabular
6487 some float -> int changes.
6489 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6491 * lyx_main.C: fix the fix
6493 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6495 * lyx_main.C: fix a crash in batch mode if no files specified
6498 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6500 * format.[Ch] (papersize): moved to BufferParams
6501 * converter.[Ch] (dvips_options): moved to BufferParams
6502 (dvipdfm_options): moved to anon namespace
6503 * bufferparams.[Ch]: added above functions.
6505 2003-07-17 André Pönitz <poenitz@gmx.net>
6509 * text2.C: don't call inset->update() anymore
6511 * metricsinfo.[Ch]: add convenience constructor
6513 2003-07-16 André Pönitz <poenitz@gmx.net>
6518 * text2.C: replace the LyXCursor::irow_ member with
6519 on-demand computation of the value
6521 2003-07-16 John Levon <levon@movementarian.org>
6523 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6525 2003-07-15 André Pönitz <poenitz@gmx.net>
6528 * text2.C: remove no more needed refresh_row
6530 2003-07-15 André Pönitz <poenitz@gmx.net>
6535 * text3.C: refresh_status tristate -> need_update bool
6537 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6539 * lyxtext.h (init): remove reinit argument (act as if always true)
6540 * text2.C: adjust to that
6542 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6544 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6545 * text3.C: use it to delete selections in some cases
6546 (bugs 441, 673, 702, 954).
6548 2003-07-14 André Pönitz <poenitz@gmx.net>
6550 * rowpainter.[Ch]: reduce interface
6552 2003-07-14 André Pönitz <poenitz@gmx.net>
6554 * BufferView_pimpl.C:
6555 * text2.C: adjust after removing unused BufferView * argument
6557 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6559 * text2.C (init): fix a crash fired on resize
6561 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6563 * buffer.[Ch]: added new closing signal
6564 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6565 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6566 BufferView::Pimpl via the closing the signal
6568 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6570 * buffer.[Ch]: take out all bv-related from buffer
6572 * BufferView_pimpl.[Ch]: connect to new signals
6573 * CutAndPaste.C: removed useless asserts
6574 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6577 * lyxfunc.C: moved view-related funciontality from vc here
6578 * paragraph.C: removed outdated comments
6581 2003-07-10 André Pönitz <poenitz@gmx.net>
6583 * BufferView_pimpl.C:
6587 * text2.C: remove InsetText::InnerCache, clean up consequences
6589 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6591 * ispell.C: fix two typos in error messages
6593 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6595 * Extend Note inset to other forms of annotation like Comment
6596 and Greyedout. Right button click gives dialog.
6598 Files modified or added (+):
6602 * ControlNote.[Ch] +
6604 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6605 frontends/controllers
6609 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6611 * aspell.C: add missing namespace lyx::support
6613 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6615 * BufferView.[Ch] (newFile): Add
6616 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6617 * LaTeX.[Ch] (message): added this signal and use it
6618 * buffer.[Ch] (busy, message): added these signals and use them
6619 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6623 * importer.C: use buffer signals instead of direct bv calling
6624 * lyx_cb.[Ch] (ShowMessage): removed
6627 * paragraph_funcs.C:
6628 * text2.C: use buffer signals
6630 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6632 * introduce namespace lyx::graphics
6634 2003-07-02 André Pönitz <poenitz@gmx.net>
6636 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6638 2003-07-01 André Pönitz <poenitz@gmx.net>
6645 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6646 text*.C to text_func.C
6648 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6650 * introduce namespace lyx::support
6652 2003-06-30 André Pönitz <poenitz@gmx.net>
6657 * text.C: re-enable --with-included-string
6659 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6661 * textcursor.C: add <config.h>
6663 * text.C (getWord): remove const from word_location arg
6665 * lyxvc.C (getLogFile): fix const type order
6667 * lyxtext.h: remove const from word_location arg, add arg name
6669 * lyxlayout.h: currect type on labeltype.
6671 * importer.C: correct \file
6673 * converter.C (intToFormat): use std:: on ret val, ws changes
6675 * bufferlist.h: correct \file
6677 * buffer.C (makeLinuxDocFile): fix const type order
6678 (makeDocBookFile): ditto
6679 (fillWithBibKeys): use std:: on stdlib args.
6681 * CutAndPaste.C: fix authors.
6682 (availableSelections): use std:: on return vector
6684 2003-06-27 André Pönitz <poenitz@gmx.net>
6686 * BufferView_pimpl.C:
6687 * bufferview_funcs.C:
6695 * text3.C: remove LyXCursor::row_ member
6698 * text.C: rename fullRebreak() to partialRebreak() and implement
6699 a fullRebreak() that really bereks fully
6701 * textcursor.h: new struct for cursor-related data
6703 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6705 * lyx_main.C (LyX): get full path of document loaded on the
6708 2003-06-26 André Pönitz <poenitz@gmx.net>
6710 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6711 remove unused/broken operator>,<,>=.
6713 * text.C: remove only use of broken operator<= in an Assert().
6715 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6717 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6718 moved errorlist_.clear to showErrorList
6720 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6722 * converter.C (scanLog, runLaTeX):
6723 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6724 move the bv->showErrorList call to the callers
6725 * lyxfunc.C: i.e. here...
6727 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6728 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6729 namespace, the second to...
6730 * buffer_funcs (BufferFormat, parseErrors): added
6731 * errorlist.C (ErrorList(TeXErrors const &)): removed
6733 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6735 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6737 2003-06-24 "Garst R. Reese" <reese@isn.net>
6741 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6743 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6745 * version.C.in: change docversion to 1.4
6747 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6749 * buffer.C: fix a bug just introduced
6751 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6753 * buffer.[Ch]: added the parseError signal and use it, removed
6755 * BufferView.[Ch] (addError): moved to ...
6756 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6757 to the Buffer::parseError signal to catch (guess what) parse errors
6758 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6760 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6762 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6763 ability to create a buffer and to return an existing one from
6764 the list. Moved these functions to...
6765 * buffer_funcs.[Ch]: added
6766 * BufferView.[Ch] (loadLyXFile): added
6767 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6768 job removed from bufferlist::loadLyXFile.
6769 * buffer.C (setReadOnly): make it work without view
6770 (i.e added an if (users))
6772 2003-06-19 Angus Leeming <leeming@lyx.org>
6775 * LyXAction.C (init):
6776 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6777 with LFUN_DIALOG_SHOW <name> <data>.
6779 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6781 * CutAndPaste.C (availableSelections): small compilation fix for
6782 ancient (gcc 2.9x) compilers
6784 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6786 * text3.C (cursorNext): add tmp var
6788 * text2.C (updateCounters): for function calling out of for clause
6789 (replaceSelectionWithString): ditto
6790 (insertStringAsParagraphs): ditto
6791 (getColumnNearX): add tmp var
6792 (setCursorFromCoordinates): add tmp var
6793 (cursorDownParagraph): add tmp var
6794 (deleteEmptyParagraphMechanism): add tmp var
6796 * text.C (insertChar): add tmp var
6798 * rowpainter.C (paintDepthBar): add tmp var
6800 * CutAndPaste.C (availableSelections): potentially check all
6801 paragraphs in a cut to fill the shown strings.
6803 2003-06-18 André Pönitz <poenitz@gmx.net>
6805 * kbmap.[Ch]: use vector<> instead of list<>
6807 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6809 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6810 pasteSelection with index
6812 * text2.C (pasteSelection): modify, call pasteSelection with index
6814 * paragraph.C (asString): reimplement version with no interval to
6815 call the one with interval.
6817 * lyxtext.h: add index arg to pasteSelection
6819 * MenuBackend.C (MenuItem): handle PasteRecent
6820 (Menu::read::Menutags): add md_pasterecent
6822 (expandPasteRecent): new function
6825 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6827 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6829 (availableSelections): new function
6831 2003-06-17 Angus Leeming <leeming@lyx.org>
6833 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6835 2003-06-17 Angus Leeming <leeming@lyx.org>
6838 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6840 * lyxfunc.C (dispatch): invoke it.
6842 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6844 * iterators.C (operator++, ParPosition): reintroduce some
6845 const_cast for the benefit of older compilers.
6847 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6849 * text3.C (dispatch): do not modify clipboard when doing
6850 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6851 LFUN_DELETE_SKIP on a selection selection
6853 2003-06-16 André Pönitz <poenitz@gmx.net>
6859 * tabular.[Ch]: IU of clone() and getLabelList();
6861 2003-06-13 André Pönitz <poenitz@gmx.net>
6863 * tabular.h: compactification
6865 2003-06-12 André Pönitz <poenitz@gmx.net>
6869 * tabular_funcs.h: some renaming plus whitespace
6871 2003-06-12 André Pönitz <poenitz@gmx.net>
6874 * BufferView_pimpl.C:
6880 * toc.C: Return a Paragraph & for ParIterator::operator*()
6882 2003-06-11 John Levon <levon@movementarian.org>
6886 * ToolbarBackend.C: add "Toolbars" section and
6889 2003-06-10 Angus Leeming <leeming@lyx.org>
6892 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6894 * lyxfunc.C (dispatch): invoke it.
6896 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6898 * main.C: protect <ios> with HAVE_IOS
6899 (main): protect sync_with_stdio with HAVE_IOS
6901 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6903 * text2.C (cutSelection): adjust
6904 (pasteSelection): adjust
6906 * messages.C: handle get of empty string
6908 * main.C (main): use sync_with_stdio(false)
6910 * lyxfunc.C (dispatch): adjust
6912 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6913 (WriteAs): remove unneeded BufferView arg.
6915 * bufferparams.h: use correct types on papersize, papersize2 and
6918 * bufferparams.C (readToken): adjust for type
6919 (writeLaTeX): add missing cases to switch.
6921 * bufferlist.C (quitWriteBuffer): adjust
6924 * buffer.C (asciiParagraph): remove some commented code.
6926 * CutAndPaste.C: remove current_view extern variable.
6927 (cutSelection): add BufferParams arg.
6928 (eraseSelection): add BufferParams arg.
6929 (pasteSelection): add Buffer const & arg
6931 2003-06-07 John Levon <levon@movementarian.org>
6934 * paragraph_funcs.C:
6935 * paragraph_pimpl.C:
6939 * paragraph.C: allow InsetERT to freely space lines,
6940 and some consolidation of code
6942 2003-06-06 José Matos <jamatos@fep.up.pt>
6944 * buffer.C (makeDocBookFile): fix bug #821
6946 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6948 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6950 2003-06-04 Angus Leeming <leeming@lyx.org>
6952 * buffer.C: bump format to 224.
6954 2003-06-05 André Pönitz <poenitz@gmx.net>
6956 * text2.C (redoParagraphs): remove two const_cast<>
6958 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6960 * ParagraphList.h: remove last remnants of NO_STD_LIST
6962 2003-06-03 Angus Leeming <leeming@lyx.org>
6964 * factory.C (createInset): small change to the way InsetExternal's params
6967 2003-06-04 André Pönitz <poenitz@gmx.net>
6969 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6971 * paragraph_pimpl.h:
6972 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6974 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6976 * undo_funcs.C: make some simple cases of undo work again
6978 2003-06-03 John Levon <levon@movementarian.org>
6980 * ispell.C: HPUX doesn't have sys/select.h
6983 2003-06-03 John Levon <levon@movementarian.org>
6985 * CutAndPaste.C: update tabular and include inset
6990 * paragraph.C: remove owningBuffer(), don't pass Buffer
6993 * factory.C: insetGraphicsParams changed
6995 2003-06-02 John Levon <levon@movementarian.org>
7001 * text3.C: remove insetparent
7003 2003-06-02 John Levon <levon@movementarian.org>
7006 * buffer.C: fix inset_iterator.end(), move out of line
7009 2003-06-01 John Levon <levon@movementarian.org>
7011 * text3.C: use a proper cut/paste when doing inset
7012 insert (from Jürgen Spitzmüller)
7014 2003-06-01 John Levon <levon@movementarian.org>
7016 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7018 2003-05-30 André Pönitz <poenitz@gmx.net>
7020 * rowpainter.C: unify second drawing phase
7022 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7024 * trans_mgr.C: remove one case of current_view
7026 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7028 * paragraph_funcs.h: remove paragraph.h include
7030 * paragraph.h: delete NO_STD_LIST stuff
7032 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7034 * buffer.h: remove paragraph.h include
7036 * ParagraphList.C: delete file
7038 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7040 * toc.C (getTocList): adjust
7042 * paragraph_pimpl.C (validate): adjust
7044 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7046 * paragraph.C (Paragraph): adjust
7047 (getPositionOfInset): use const_iterator, adjust
7048 (bibitem): use const_iterator, adjust
7049 (setInsetOwner): adjust
7051 * iterators.C (operator++): adjust
7053 * InsetList.[Ch]: Replace selfmade iterator with standard
7054 vector::iterator also introduce const_iterator. Remove getPos,
7055 getInset and setInset from InsetTable. Adjust accordingly.
7057 * BufferView.C (lockInset): adjust
7058 (ChangeInsets): adjust
7060 * tabular.[Ch]: delete commented same_id functions
7062 2003-05-28 John Levon <levon@movementarian.org>
7064 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7066 2003-05-28 André Pönitz <poenitz@gmx.net>
7068 * metricsinfo.[Ch]: remove 'fullredraw' member
7070 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7072 * lyxtextclass.C (operator): remove caching.
7074 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7078 * text2.C (cursorBottom): adjust
7079 (setCounter): use ParagraphList::find, adjust
7081 * text.C (workWidth): use ParagraphList::find, adjust
7083 * lyxcursor.C (LyXCursor): adjust
7085 * buffer.C (inset_iterator): adjust
7087 * ParagraphList.h: make iterator(value_type) private, make
7088 ParagraphList a friend of iterator.
7090 * ParagraphList.C (find): new function
7092 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7094 2003-05-27 André Pönitz <poenitz@gmx.net>
7096 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7098 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7100 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7102 2003-05-26 John Levon <levon@movementarian.org>
7104 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7106 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7108 * remove same_id from function signatures, adjust.
7110 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7112 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7114 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7116 * paragraph.C (Paragraph): get rid of same_ids parameter
7118 * ParagraphList.C (insert): adjust
7121 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7123 * paragraph_funcs.C (breakParagraph): adjust
7124 (breakParagraphConservative): adjust
7126 * buffer.C (readParagraph): adjust
7128 * ParagraphList.C (insert): take a reference instead of a pointer
7131 * paragraph.[Ch] (id): new function
7133 * bufferlist.C (newFile): adjust
7135 * ParagraphList.C (ParagraphList): adjust
7137 (push_back): take a reference instead of a pointer.
7139 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7141 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7144 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7145 set else use old code.
7147 * ParagraphList.C: remove all NO_NEXT code and only compile this
7148 code of NO_STD_LIST is set.
7150 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7152 * BufferView_pimpl.C:
7162 * graphics/GraphicsConverter.C:
7163 * graphics/PreviewLoader.C: header adjustment
7165 2003-05-23 Angus Leeming <leeming@lyx.org>
7167 * LaTeXFeatures.[Ch] (useBabel): new method.
7168 * bufferparams.C (writeLaTeX): use it.
7170 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7172 * ParagraphList.h (set): remove unused function.
7174 2003-05-23 André Pönitz <poenitz@gmx.net>
7177 * BufferView_pimpl.C:
7181 * undo_funcs.C: setUndo reworked
7183 * iterators.[Ch]: add access to topmost ParagraphList
7185 * lyxtext.[Ch] (workWidth): add a const
7187 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7189 * texrow.[Ch] (increasePos): remove function
7190 * exporter.C (export): removed unused var and outdated comment
7192 2003-05-23 Angus Leeming <leeming@lyx.org>
7194 * latexrunparams.h: rename fragile as moving_arg.
7195 * paragraph.C (simpleTeXOnePar): ditto.
7196 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7198 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7200 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7202 (textUndoOrRedo): comment out a currently unused var.
7204 * paragraph.h (NO_NEXT): enable NO_NEXT
7206 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7208 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7210 * exporter.C (Export): adjust for removeAutoInsets removal.
7212 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7214 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7216 * BufferView.[Ch] (removeAutoInsets): delete function
7218 2003-05-22 Angus Leeming <leeming@lyx.org>
7220 * latexrunparams.h: add a free_spacing variable.
7222 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7223 to pass moving_arg, as the data is stored in runparams.fragile.
7225 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7226 to Inset::latexOptional or to simpleTeXOnePar.
7228 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7229 free_spacing arg to Inset::latexOptional.
7231 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7234 2003-05-22 Angus Leeming <leeming@lyx.org>
7236 * latexrunparams.h: add fragile and use_babel variables.
7238 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7239 * buffer.C (makeLaTeXFile): store this returned value in
7240 runparams.use_babel, thus passing it to the inset::latex methods.
7242 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7243 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7245 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7246 longer has a fragile arg, as it is stored in runparams.fragile.
7248 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7249 moving_arg parameter as the data is stored in runparams.fragile.
7251 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7252 a fragile parameter as the data is stored in runparams.fragile.
7254 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7256 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7258 2003-05-22 Angus Leeming <leeming@lyx.org>
7260 * latexrunparams.h: add a 'bool nice' which defaults to false.
7262 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7263 now encapsulated within runparams.
7265 * bufferlist.C (updateIncludedTeXfiles):
7266 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7268 2003-05-22 Angus Leeming <leeming@lyx.org>
7270 * latexrunparams.h: new file containing struct LatexRunParams.
7271 * Makefile.am: add new file.
7273 * LaTeX.[Ch] (c-tor, run):
7274 * buffer.[Ch] (makeLaTeXFile):
7275 * bufferlist.[Ch] (updateIncludedTeXfiles):
7276 * converter.C (convert, scanLog):
7277 * converter.[Ch] (runLaTeX):
7278 * exporter.C (Export):
7279 * paragraph.[Ch] (simpleTeXOnePar):
7280 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7281 * paragraph_funcs.[Ch] (latexParagraphs):
7282 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7283 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7284 pass around a LatexRunParams parameter.
7286 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7288 * paragraph.[Ch]: remove unused constructor
7290 * ParagraphList.C (erase): new function, taking two iterators
7292 2003-05-22 André Pönitz <poenitz@gmx.net>
7294 * undo_funcs.C: remove duplicated code
7296 * iterator.[Ch]: operator=
7298 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7300 * tabular.C (SetMultiColumn): ws changes
7302 * rowpainter.C (paintFirst): get rid of a ->previous
7304 * lyx_cb.C (getPossibleLabel): parlist simplification
7306 * BufferView.C (ChangeInsets): simplify slightly.
7308 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7310 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7311 * lfuns.h: new LFUN_SPACE
7312 * lyxfunc.C: protected space has a new lfun
7313 * paragraph_funcs.C: read new space insets
7315 * factory.C: handle new space insets
7317 2003-05-22 André Pönitz <poenitz@gmx.net>
7320 * BufferView_pimpl.C:
7323 * undo_funcs.C: return a ParIterator from getParFromID.
7325 * iterators.[Ch]: add two const's
7327 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7329 * toc.C (getTocList): adjust
7331 * iterators.[Ch]: rework for parlist
7333 * buffer.C (par_iterator_begin): adjust
7334 (par_iterator_end): adjust
7336 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7338 * BufferView.C (removeAutoInsets): adjust
7339 (ChangeInsets): adjust
7341 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7343 * text.C (top_y): fix bug 1110
7345 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7347 * errorlist.[Ch]: added
7350 * BufferView_pimpl.C:
7351 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7354 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7356 * Makefile.am: ensure that lyx is relinked upon changes to the
7357 various "convenience" libs.
7359 2003-05-20 Angus Leeming <leeming@lyx.org>
7361 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7362 files are compiled in alphabetical order again.
7364 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7366 2003-05-19 Angus Leeming <leeming@lyx.org>
7368 * gettext.[Ch]: remove "char const * _(char const *)".
7370 2003-05-19 André Pönitz <poenitz@gmx.net>
7372 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7381 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7383 2003-05-19 André Pönitz <poenitz@gmx.net>
7387 * lyxtextclass.[Ch]:
7389 * paragraph_funcs.[Ch]:
7391 * text3.C: more insetenv work
7393 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7395 * ParagraphParameters.C (params2string): small bug fixed
7397 2003-05-16 André Pönitz <poenitz@gmx.net>
7400 * bufferview_funcs.C: patch from Kornel Benko to prevent
7401 crash when _(...) is called twice in a statement
7403 2003-05-16 André Pönitz <poenitz@gmx.net>
7410 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7412 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7414 * lyx_main.C (init): remove spurious static_cast
7416 2003-05-14 André Pönitz <poenitz@gmx.net>
7418 * BufferView.C: fix format string
7420 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7422 * BufferView.[Ch] (insertErrors): removed
7423 * BufferView.[Ch] (showErrorList): added
7424 * buffer.C (runChkTeX):
7425 * converter.C (scanLog): call showErrorList instead of inserterrors
7427 2003-05-13 André Pönitz <poenitz@gmx.net>
7429 * BufferView_pimpl.C:
7431 * bufferview_func.C:
7438 * tabular_funcs.h: tostr() from its own header
7440 * ParagraphParameters.C:
7445 * text3.C: STRCONV()
7447 2003-05-12 André Pönitz <poenitz@gmx.net>
7450 * BufferView_pimpl.C:
7454 * ParagraphParameters.C:
7458 * bufferview_funcs.C:
7471 * paragraph_funcs.C:
7475 * text3.C: boost::format -> bformat all over the place
7478 2003-05-09 André Pönitz <poenitz@gmx.net>
7480 * LColor.[Ch]: Pimpl the #include <map> away
7482 2003-05-09 John Levon <levon@movementarian.org>
7484 * bufferlist.C: never remove emergency saves
7486 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7488 * Makefile.am: better lib building
7490 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7492 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7494 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7495 (simpleTeXSpecialChars): adjust
7496 (simpleTeXSpecialChars): adjust
7497 * paragraph.C (simpleTeXOnePar): adjust
7498 * buffer.C (makeLaTeXFile): adjust
7500 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7502 * text2.C (changeDepth): parlist cleanup
7503 (getColumnNearX): ditto
7505 * rowpainter.C (getLabelFont): parlist cleanup
7507 * bufferlist.C (newFile): parlist cleanup
7509 * CutAndPaste.C (eraseSelection): parlist cleanup
7511 * BufferView_pimpl.C (trackChanges): parlist cleanup
7514 * BufferView.C (lockInset): parlist cleanup.
7515 (ChangeInsets): ditto
7517 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7519 * CutAndPaste.h: Update file header.
7521 * CutAndPaste.C: Update file header.
7522 Store the parts cut out of the Document in a limited_stack.
7523 (copySelection): adjust
7524 (pasteSelection): new function, takes the index in the limited stack.
7525 (nrOfParagraphs): adjust
7526 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7527 simplify error inset insertion.
7528 (checkPastePossible): adjust
7530 2003-05-06 John Levon <levon@movementarian.org>
7532 * text2.C: don't cast wrap inset to float
7534 2003-05-05 André Pönitz <poenitz@gmx.net>
7537 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7539 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7540 few naked Paragraph *.
7542 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7544 * bufferparams.C: Output warning if a document with missing
7545 TeX document class is loaded
7546 * exporter.C: Disable TeX exports if the document class is missing
7549 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7550 isTeXClassAvailable()
7552 2003-05-03 John Levon <levon@movementarian.org>
7555 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7556 explicit cursor show/hide
7558 * BufferView_pimpl.h:
7559 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7560 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7562 * lyxfunc.C: hide cursor before dispatching.
7567 * text3.C: remove explicit cursor hides
7569 2003-05-02 André Pönitz <poenitz@gmx.net>
7571 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7574 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7577 * text2.C: tiny whitespace
7579 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7581 * undo_funcs.C: almost only ws changes.
7583 * ParagraphList.C (splice): just return if pl is empty.
7585 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7587 * ParagraphList.C (splice): new function.
7589 * CutAndPaste.C (pasteSelection): use it
7591 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7593 * CutAndPaste.C (pasteSelection): remove the last next and
7594 previous from this file.
7596 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7598 * CutAndPaste.C (pasteSelection): more clean up, user proper
7599 ParagraphList functions for pasteing.
7601 * ParagraphList.C (insert): new function, three arg insert
7603 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7605 * ParagraphList.C (insert): new function, three arg insert
7607 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7610 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7612 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7614 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7616 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7618 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7620 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7621 (copySelection): clean up a bit.
7622 (pasteSelection): use make_pair
7624 * ParagraphList.C (ParagraphList): implement copy constructor
7625 (operator=): implement, base on copy constructor.
7628 * paragraph.C (erase): return a bool
7630 * paragraph_pimpl.C (erasePos): remove function, move contents...
7631 (erase): ... here. Return a bool.
7632 (erase): call erase instead of erasePos.
7634 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7636 * ParagraphList.h: define PitPosPair
7637 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7638 ParagraphList, fix a bug on pasting multiple pars
7639 * text2.C: change interface to C&P
7641 2003-04-30 André Pönitz <poenitz@gmx.net>
7643 * undo_func.C: revert part of yesterday's patch 2
7645 2003-04-30 John Levon <levon@movementarian.org>
7647 * LColor.C: s/tabular/table/
7649 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7651 * text3.C (dispatch): do not convert iterator -> pointer
7652 * undo_funcs.C (setCursorParUndo): ditto
7653 * text_funcs.C (transposeChars): ditto
7655 * text2.C (setLayout): ws changes only
7657 * text.C (breakParagraph): do not convert iterator -> pointer
7659 (acceptChange): ditto
7660 (rejectChange): ditto
7665 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7668 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7670 * text3.C (gotoInset): YABG (yet another bad getChar)
7672 2003-04-29 André Pönitz <poenitz@gmx.net>
7674 * paragraph.h: make operator= private unimplemented as long as
7677 * ParagraphList.C: whitespace
7680 * paragraph_pimpl.[Ch]:
7681 * paragraph_funcs.C:
7683 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7686 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7688 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7690 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7691 * paragraph.[Ch] (erase):
7692 * paragraph_pimpl.[Ch] (erase): change return type and value
7693 * text2.C (cutSelection): some rework
7695 2003-04-28 John Levon <levon@movementarian.org>
7697 * bufferlist.C: changes for unsaved changes dialog
7699 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7701 * bufferlist.C (newFile): set language (messages_) for new
7704 * buffer.C (readFile): ws changes only.
7706 2003-04-28 André Pönitz <poenitz@gmx.net>
7711 * BufferView_pimpl.C:
7712 * BufferView.C: getParFromID related ParagraphList::iterator changes
7714 2003-04-28 André Pönitz <poenitz@gmx.net>
7716 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7719 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7721 * messages.C: remove one more localedir class variable.
7723 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7725 * messages.C (getLocaleDir): singleton generation function
7727 (Messages): add a default constructor.
7729 * main.C (main): do not setup localedir here, do not call
7732 * gettext.C (_): use it.
7733 (gettext_init): delete funciton
7735 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7737 * gettext.C (getLyXMessages): new singleton generating function.
7739 * buffer.C (updateDocLang): adjust
7741 * Makefile.am (messages.o): add target
7742 (main.o): remove target
7744 2003-04-27 John Levon <levon@movementarian.org>
7749 * lyxvc.C: specify cancel button in Alert::prompt
7751 2003-04-26 John Levon <levon@movementarian.org>
7756 * LyXAction.C: add LFUN_INSET_SETTINGS
7758 * lyxfunc.C: don't enable tabular-feature when there's
7759 just any locking inset
7761 2003-04-26 John Levon <levon@movementarian.org>
7763 * bufferlist.C: re-add Cancel to buffer close question
7765 * lyxfunc.C: fix import UI a bit
7767 2003-04-25 John Levon <levon@movementarian.org>
7769 * gettext.C: remove the broken asserts for now
7771 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7773 * messages.C: make case where setlocale cannot comply work better.
7775 * buffer.C (updateDocLang): new function
7776 (changeLanguage): use it
7779 * text2.C (setCounter): use B_ a bit.
7781 * lyxlayout.C (Read): be sure to trim the label strings.
7783 * messages.C (Messages): fix typo in comment
7785 * buffer.C (readFile): set message_ after file is loaded.
7786 (makeDocBookFile): remove double return
7787 (changeLanguage): reset message_ upon language change.
7788 (B_): new func, use this to get translated buffer strings.
7790 * main.C: add myself and Jean Marc as authors.
7792 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7794 * messages.[hC]: pimplify Messages, and three different pimpls to be
7795 used in different circumstances.
7797 * gettext.[Ch]: change for use with new message code.
7799 2003-04-24 André Pönitz <poenitz@gmx.net>
7801 * factory.C: support for eqref
7803 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7805 * messages.[Ch]: add missing char
7807 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7809 * messages.[Ch]: New files
7811 2003-04-18 John Levon <levon@movementarian.org>
7815 * BufferView_pimpl.C:
7819 * text2.C: remove layout-copy/paste (bug 778)
7821 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7823 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7825 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7827 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7828 if they succeed. Act accordingly.
7830 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7832 * text2.C (setCharFont): adjust
7833 (setCounter): adjust
7834 (insertStringAsLines): adjust
7836 * text.C (leftMargin): adjust
7837 (setHeightOfRow): adjust
7839 * rowpainter.C (paintFirst): adjust
7842 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7844 (isFirstInSequence): ditto
7845 (getEndLabel): ditto
7848 * paragraph.C (getParLanguage): comment out some hard stuff.
7850 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7852 (simpleDocBookOnePar): ditto
7853 (makeDocBookFile): use ParagraphList::iterator
7855 * CutAndPaste.C (pasteSelection): adjust
7857 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7859 * text2.C (getFont): adjust
7860 (getLayoutFont): adjust
7861 (getLabelFont): adjust
7863 * paragraph_funcs.C (TeXOnePar): adjust
7865 * buffer.C (simpleLinuxDocOnePar): adjust
7866 (simpleDocBookOnePar): adjust
7868 * CutAndPaste.C (pasteSelection): adjust
7870 * BufferView.C (getEncoding): adjust
7872 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7874 2003-04-16 John Levon <levon@movementarian.org>
7876 * lyxfind.C: use parlist stuff for search/changes
7878 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7880 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7882 * text2.C (deleteEmptyParagraphMechanism): adjust
7884 * text2.[Ch] (ownerParagraph): delete func (both of them
7886 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7888 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7890 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7892 * ParagraphList.C: prepare for NO_NEXT
7894 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7896 * text2.C (getFont): adjust
7897 (getLayoutFont): adjust
7898 (getLabelFont): adjust
7900 * paragraph.C (getFont): adjust
7901 (getLabelFont): adjust
7902 (getLayoutFont): adjust
7904 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7906 2003-04-15 John Levon <levon@movementarian.org>
7910 * lyx_main.C: handle Include in .ui files
7912 2003-04-15 John Levon <levon@movementarian.org>
7914 * MenuBackend.C: make the doc files length shorter
7917 * ToolbarBackend.C: handle toolbar placement flags,
7920 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7922 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7925 * paragraph_funcs.C (TeXOnePar): adjust
7927 * paragraph.C (getLabelFont): add outerfont arg, adjust
7928 (getLayoutFont): ditto
7929 (simpleTeXOnePar): adjust
7931 * paragraph_pimpl.C (realizeFont): delete func
7933 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7935 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7936 row argument, constify cur argument.
7938 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7940 * text2.C (getFont): adjust
7941 (getLayoutFont): adjust
7942 (getLabelFont): adjust
7944 * paragraph_funcs.C (TeXOnePar): adjust
7945 (outerFont): new func...
7946 (realizeFont): ...moved out from here, changed this to facilitate
7949 * paragraph.C (getFont): take outerfont as arg, adjust
7950 (simpleTeXOnePar): add outerfont arg, adjust
7952 * buffer.C (simpleLinuxDocOnePar): adjust
7953 (simpleDocBookOnePar): adjust
7955 * CutAndPaste.C (pasteSelection): adjust
7957 * BufferView.C (getEncoding): adjust
7959 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7961 * text2.C (setCharFont): adjust
7962 (setCounter): adjust
7964 * text.C (leftMargin): adjust
7965 (setHeightOfRow): adjust
7967 * rowpainter.C (paintFirst): adjust
7970 * paragraph_pimpl.C (realizeFont): adjust
7972 * paragraph.C (isFirstInSequence): move from here...
7973 * paragraph_funcs.C (isFirstInSequence): ...to here
7975 * paragraph.C (outerHook): move from here...
7976 * paragraph_funcs.C (outerHook): ...to here
7978 * paragraph.C (depthHook): move from here...
7979 * paragraph_funcs.C (depthHook): ...to here
7981 * paragraph.C (getEndLabel): move from here...
7982 * paragraph_funcs.C (getEndLabel): ...to here
7984 * text2.C (realizeFont): move from here...
7985 * paragraph_funcs.C (realizeFont): ...to here
7987 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7989 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7991 2003-04-14 Angus Leeming <leeming@lyx.org>
7993 * LColor.[Ch]: scrap LColor mathcursor.
7995 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7997 * lyxlex.[Ch] (text): delete function
7998 * trans.C (Load): adjust
7999 * paragraph_funcs.C (readParToken): adjust
8001 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8003 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8004 vector<char> instead of a char[].
8006 * lyxlex_pimpl.C (getString): adjust
8008 (lex): use getString
8012 * lyxlex.C (text): use pimpl_->getString()
8016 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8018 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8019 (makeFontEntriesLayoutSpecific): temp var for par.size()
8020 (setLayout): temp var for ownerParagraphs().end()
8021 (fullRebreak): temp var for rows().end()
8022 (selectionAsString): temp var for boost::next(startpit), realize
8023 that the while really is a regular for loop.
8024 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8025 setCursor in one place.
8026 (setParagraph): temp vr for ownerParagraphs().end()
8027 (updateCounters): make the while loop a for loop
8028 (cutSelection): temp var for ownerParagraphs().end()
8029 (updateInset): make the do {} while() a regular for loop
8030 (getCursorX): use temp vars
8031 (setCurrentFont): use temp vars
8032 (getColumnNearX): use temp vars
8034 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8036 * text.C (transformChar): use temp var for getChar
8037 (computeBidiTables): use temp var for row->par()
8038 (fill): move temp vars for row->par() and pit->layout() earlier in
8040 (labelFill): use temp var for row->par()
8041 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8042 asc and desc, realize that pit never changes and that firstpit is
8043 just a duplicate and not needed. Exchange rit->par() with pit in a
8045 (breakAgain): use a temp var for boost::next(rit)
8046 (breakAgainOneRow): ditto
8047 (breakParagraph): use a temp var for rows().begin()
8048 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8049 (cursorRightOneWord): use temp var for cursor.par() and
8050 cursor.pos(), remove usage of tmpcursor.
8051 (cursorLeftOneWord): use temp var for cursor.par() and
8052 cursor.pos() only set cur at end of function.
8054 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8056 * text.C, text2.C: exchange all usage of Paragraph::next with
8057 boost::next(ParagraphList::iterator)
8059 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8061 * text2.C (cursorTop): simplify implementation
8062 (cursorBottom): ditto
8063 (setParagraph): use ParagraphList::iterator
8064 (setCurrentFont): adjust
8065 (getColumnNearX): adjust
8066 (cursorRight): adjust
8067 (cursorLeft): remove usage of Paragraph::previous
8068 (cursorUpParagraph): ditto
8069 (deleteEmptyParagraphMechanism): slight cleanup
8071 * text.C (isBoundary): take a Paragraph const & instead of a
8073 (addressBreakPoint): ditto
8074 (leftMargin): remove usage of Paragraph::previous.
8075 (setHeightOfRow): ditto
8076 (cursorLeftOneWord): ditto
8077 (selectNextWordToSpellcheck): ditto
8080 (breakParagraph): remove one usage of Paragraph::next
8081 (redoParagraph): ditto
8082 (acceptChange): ditto
8083 (insertChar): adjust
8084 (rowBreakPoint): adjust
8086 * bufferview_funcs.C (toggleAndShow): adjust
8088 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8090 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8091 methods to access it.
8093 * text.C: Added updateRowPositions to compute all row positions.
8094 Make top_y and getRowNearY() to use the cached y position
8096 2003-04-11 John Levon <levon@movementarian.org>
8098 * text.C (rowBreakPoint): reintroduce the labelEnd
8099 checks, code copied from the row fill stuff. Deep voodoo.
8101 * text.C (fill): add a comment and debugging for the
8104 2003-04-11 John Levon <levon@movementarian.org>
8106 * text.C: make sure fullrow insets get wrapped to the next line,
8107 even when they're in a manual label
8109 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8111 * text2.C (insertParagraph): make it take ParagraphList::iterator
8113 (setLayout): make it return ParagraphList::iterator
8114 (redoParagraphs): ditto
8116 (checkParagraph): ditto
8118 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8120 * text2.C: adjust several funcs.
8121 (realizeFont): take a ParagraphList::iterator as arg.
8122 (getLayoutFont): ditto
8123 (getLabelFont): ditto
8124 (setCharFont): ditto
8126 * text.C: adjust several funcs.
8128 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8130 * text.C (selectNextWordToSpellcheck): don't accidentally
8133 2003-04-10 John Levon <levon@movementarian.org>
8135 * ToolbarBackend.C (getIcon): special handling for
8138 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8140 * text2.C (cursorRight): a getChar assert fixed
8142 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8144 * text2.C (getFont): change to take a ParagraphList::iterator
8145 instead of Paragraph*
8146 Adjust several functions.
8148 * text.C (transformChar): change to take a ParagraphList::iterator
8149 instead of Paragraph*
8150 (singleWidth): ditto
8151 Adjust several functions.
8153 * rowpainter.C: adjust several functions
8154 * rowpainter.h:store a ParagraphList::iterator and not a
8158 2003-04-09 John Levon <levon@movementarian.org>
8163 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8164 and the "help" bits as well
8166 2003-04-09 John Levon <levon@movementarian.org>
8169 * ToolbarBackend.C: allow multiple toolbars
8171 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8173 * undo_funcs.C (setCursorParUndo): adjust
8175 * text_funcs.C (transposeChars): adjust
8177 * text3.C (gotoNextInset): adjust
8180 * text2.C (setLayout): adjust
8181 (changeDepth): adjust
8183 (redoParagraphs): adjust
8184 (selectionAsString): adjust
8185 (setParagraph): adjust
8186 (insertInset): adjust
8187 (cutSelection): adjust
8188 (copySelection): adjust
8189 (pasteSelection): adjust
8190 (insertStringAsLines): adjust
8191 (updateInset): adjust
8192 (setCursor): change to take a ParagraphList::iterator parameter
8193 (setCursorIntern): change to take a ParagraphList::iterator parameter
8194 (setCurrentFont): adjust
8195 (cursorLeft): adjust
8196 (cursorRight): adjust
8197 (deleteEmptyParagraphMechanism): adjust
8199 * text.C (breakParagraph): adjust
8200 (insertChar): adjust
8201 (acceptChange): adjust
8202 (rejectChange): adjust
8203 (selectNextWordToSpellcheck): adjust
8204 (changeCase): adjust
8208 * lyxfind.C (SearchForward): adjust
8209 (SearchBackward): adjust
8210 (nextChange): adjust
8212 * lyxcursor.C (par): adjust
8214 * lyxcursor.h: store a ParagraphList::iterator instead of a
8217 * lyx_cb.C (getPossibleLabel): adjust
8219 * bufferview_funcs.C (toggleAndShow): adjust
8221 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8224 * BufferView.C (removeAutoInsets): adjust
8225 (lockedInsetStoreUndo): adjust
8227 2003-04-09 John Levon <levon@movementarian.org>
8229 * ToolbarBackend.C: try icon without argument
8230 if with argument fails
8232 2003-04-08 John Levon <levon@movementarian.org>
8235 * ToolbarBackend.C: add getIcon(), handle tooltip,
8236 and change from "Icon" to "Item".
8238 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8240 * BufferView.C (lockInset): another bad getchar crunched
8242 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8244 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8247 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8249 * lyxfind.C (searchForward, searchBackwards): bug 782
8251 2003-04-07 John Levon <levon@movementarian.org>
8253 * paragraph.C: remove dead comment
8255 * text.C: remove troublesome depth-fiddling code
8256 in leftMargin() and rightMargin() (bug 1017)
8258 * text.C: fix breaking of rows in nested lists
8261 * text2.C (updateCounters): fix up depth values
8264 2003-04-07 John Levon <levon@movementarian.org>
8266 * BufferView_pimpl.C: clear message when doc finishes resizing,
8267 and after a mouse event
8269 * lyxfunc.C: clear message after exiting inset
8271 2003-04-07 John Levon <levon@movementarian.org>
8273 * bufferview_funcs.C: show math status not outside
8274 status in the statusbar
8276 2003-04-07 John Levon <levon@movementarian.org>
8278 * lyxfunc.C: note status changed after a depth change
8280 2003-04-04 Angus Leeming <leeming@lyx.org>
8282 * LaTeX.h: move AuxInfo operator==, != out of line.
8283 Remove LaTeX virtual destructor; nothing derives from it.
8284 Move operator()() out of public area and rename it startscript().
8285 Change protected for private.
8287 2003-04-04 Angus Leeming <leeming@lyx.org>
8290 * text2.C: remove unneeded #includes.
8292 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8294 * text2.C (dEPM): fix the heigth of the next row
8296 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8298 * text.C: squashed an invalid getChar requester + some ws changes
8300 2003-04-03 John Levon <levon@movementarian.org>
8302 * bufferview_funcs.h:
8303 * bufferview_funcs.C:
8306 * text2.C: make getStatus work for the env depth lfuns
8308 2003-04-03 John Levon <levon@movementarian.org>
8310 * bufferview_funcs.h:
8311 * bufferview_funcs.C:
8314 * text2.C: parlistize decDepth(), by merging it with incDepth()
8316 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8318 * lyxrow.h: store a ParagraphList::iterator instead of a
8319 Paragraph* and adjust other class functions to suit.
8321 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8324 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8326 * text2.C (setCursor): do not anchor to cursor row for the time being
8328 2003-04-02 John Levon <levon@movementarian.org>
8335 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8337 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8339 * paragraph.h: make ParagraphList and ParagraphList::iterator
8340 friends of Paragraph.
8342 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8344 * ParagraphList.C: Use the private next_ and previous_ from
8347 2003-04-01 John Levon <levon@movementarian.org>
8351 * Makefile.am: rename, remove defaults gunk
8354 * MenuBackend.C: remove defaults gunk
8357 * Languages.C: remove defaults gunk
8360 * lyx_main.C: error out if files couldn't be found.
8362 2003-04-02 John Levon <levon@movementarian.org>
8364 * text2.C: make incDepth() use parlist
8366 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8368 * undo_funcs.C (firstUndoParagraph): adjust
8370 * text3.C (gotoInset): adjust
8371 (dispatch): adjust, and rewrite loop.
8373 * text2.C (init): adjust, and rewrite loop.
8374 (redoParagraphs): adjust
8375 (updateInset): adjust, and rewrite loop.
8376 (deleteEmptyParagraphMechanism): adjust
8378 * tabular.C (LyXTabular): adjust
8379 (SetMultiColumn): adjust
8382 * lyxtext.[Ch] (ownerParagraph): delete function
8383 (ownerParagraphs): new function returns a ParagraphList.
8385 * BufferView.C (removeAutoInsets): adjust
8386 (insertErrors): adjust
8387 (setCursorFromRow): adjust
8389 2003-04-01 Angus Leeming <leeming@lyx.org>
8391 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8394 2003-04-02 John Levon <levon@movementarian.org>
8400 * text_funcs.C: make transposeChars a free function
8402 * lyxrow_funcs.C: remove wrong comment
8404 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8407 * rowpainter.C: adjust
8412 * lyxrow_funcs. [Ch]: new files
8414 * lyxrow.[Ch]: remove next and previous pointers
8415 (next,previous): remove accessor functions
8416 (isParEnd): move to lyxrow_funcs
8417 (lastPos): move to lyxrow_funcs
8418 (nextRowIsAllInset): move to lyxrow_funcs
8419 (lastPrintablePos): move to lyxrow_funcs
8420 (numberOfSeparators): move to lyxrow_funcs
8421 (numberOfHfills): move to lyxrow_funcs
8422 (numberOfLabelHfills): move to lyxrow_funcs
8423 (hfillExpansion): move to lyxrow_funcs
8427 * bufferview_funcs.C (toggleAndShow): adjust
8429 * RowList.h: Remove class RowList from file leave just a
8432 * RowList.C: delete file
8434 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8437 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8439 * text3.C (cursorPrevious): adjust
8440 (cursorNext): adjust
8443 * text2.C (redoHeightOfParagraph): adjust
8444 (redoDrawingOfParagraph): adjust
8447 * text.C (breakParagraph): adjust
8448 (insertChar): adjust
8451 * rowpainter.C (RowPainter): adjust
8452 (leftMargin): simplify and adjust
8453 (most rowpainter functions): adjust.
8455 * rowpainter.h: store the row as RowList::iterator not as Row*
8457 * lyxcursor.C (row): taka RowList::iterator as arg
8460 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8463 2003-04-01 Angus Leeming <leeming@lyx.org>
8465 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8466 stuff like bool Bool.
8468 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8470 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8473 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8475 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8478 * lyxtext.h (rows): drop one version and leve a const variant that
8479 returns a RowList::iterator.
8481 2003-03-31 Angus Leeming <leeming@lyx.org>
8483 * text.C (fill): ensure that the signature is the same as that in the
8486 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8488 * text2.C (redoParagraphs): adjust
8489 (updateCounters): adjust
8490 (checkParagraph): adjust
8491 (getColumnNearX): adjust and reformat a bit.
8493 * text.C (top_y): adjust
8495 (leftMargin): adjust
8496 (prepareToPrint): adjust
8498 (getRowNearY): adjust
8500 * lyxtext.h: make rowlist_ mutable.
8502 * RowList.h: add const_iterator
8503 * RowList.C: adjust for RowList::const_iterator.
8505 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8508 2003-03-31 John Levon <levon@movementarian.org>
8511 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8513 * lyx_main.C: set default fonts from using lyx_gui funcs
8515 * exporter.C: pdf_mode moved from lyxrc
8518 * lyxfunc.C: changes from above
8520 2003-03-31 John Levon <levon@movementarian.org>
8522 * lyx_main.C: fix to the last fix
8524 2003-03-31 John Levon <levon@movementarian.org>
8526 * bufferlist.C: "Load original" -> "Load Original"
8532 * format.C: more Alert cleanups
8534 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8536 * text2.C (removeParagraph): make it take a RowList::iterator as
8538 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8539 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8541 * text.C (anchor_row): make it take a RowList::iterator as arg,
8543 (computeBidiTables): make it take a const reference to Row instead
8544 of Row pointer, adjust.
8545 (leftMargin): make it take a RowList::iterator as arg, adjust.
8546 (rowBreakPoint): adjust
8547 (breakAgainOneRow): make it take a RowList::iterator as arg,
8549 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8551 * bufferview_funcs.C (toggleAndShow): adjust
8553 2003-03-30 John Levon <levon@movementarian.org>
8557 * boost-inst.C: moved to support
8559 * several files: changes as a result
8561 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8563 * text2.C (LyXText): adjust.
8565 (removeRow): make it take a RowList::iterator as arg, adjust.
8566 (fullRebreak): adjust
8567 (deleteEmptyParagraphMechanism): adjust
8568 (clearPaint): adjust
8571 * text.C (top_y): adjust
8572 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8573 (breakAgain): make it take a RowList::iterator as arg, adjust.
8574 (breakParagraph): adjust
8575 (insertChar): adjust
8578 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8579 need_break_row, and refresh_row.
8581 * text3.C (dispatch): adjust
8583 * text2.C (checkParagraph): adjust
8585 (setCursorFromCoordinates): adjust
8587 * text.C (top_y): adjust
8589 (getRow): make it return a RowList::iterator, adjust
8590 (getRowNearY): make it return a RowList::iterator, adjust
8592 * text2.C (init): adjust
8593 (insertRow): remove function
8594 (insertParagraph): adjust
8595 (redoParagraphs): adjust
8596 (fullRebreak): adjust
8597 (updateCounters): adjust
8599 * text.C (top_y): rewrite to use RowList iterators.
8601 (setHeightOfRow): rewrite to sue RowList iterators.
8602 (appendParagraph): adjust
8603 (breakAgain): adjust
8604 (breakAgainOneRow): adjust
8605 (breakParagraph): adjust
8607 (getRowNearY): adjust, and remove commented code.
8609 * lyxtext.h (firstRow): delete function
8610 (lastRow): delete function
8611 (rows): new function (const and non-const versions.)
8612 (insertRow): delete function
8614 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8616 2003-03-29 John Levon <levon@movementarian.org>
8618 * BufferView_pimpl.C: always update scrollbar top
8619 because pasting text when we're anchored could mean we
8620 miss an update altogether
8622 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8624 * text2.C (init): use rowlist_.end() and not 0.
8625 (insertRow): change to take a RowList::iterator as arg, adjust
8627 (insertParagraph): change to take a RowList::iterator as arg,
8629 (redoParagraphs): remove some debug msgs.
8631 * text.C (appendParagraph): change to take a RowList::iterator
8632 arg, adjust for this.
8633 (breakAgain): add an assert
8634 (breakAgainOneRow): ditto
8636 2003-03-29 John Levon <levon@movementarian.org>
8638 * text2.C: do not clear selection after inc/decDepth
8641 2003-03-29 John Levon <levon@movementarian.org>
8644 * buffer.C: fix broken strerrors according to Lars
8646 2003-03-29 John Levon <levon@movementarian.org>
8648 * converters.C: more Alert cleanups
8650 2003-03-29 John Levon <levon@movementarian.org>
8652 * bufferview_funcs.C: remove pointless Alert
8654 * buffer.C: fix confusing error message when
8655 a template is chmoded 000
8657 2003-03-29 John Levon <levon@movementarian.org>
8661 * BufferView_pimpl.C: Alert fixes
8665 * tabular-old.C: remove unused table compat reading
8667 2003-03-29 John Levon <levon@movementarian.org>
8672 * lyx_cb.C: more Alert cleanups
8674 * lyxfunc.C: don't allow chktex if not latex document
8676 2003-03-29 John Levon <levon@movementarian.org>
8680 * buffer.C: warnings pushed down from support/,
8683 2003-03-29 John Levon <levon@movementarian.org>
8685 * lyxfunc.C: safety check for C-r (revert)
8687 2003-03-29 John Levon <levon@movementarian.org>
8690 * bufferlist.C: several UI fixes using Alert::prompt.
8691 Fix the pointless looping quit code. Fix stupid revert
8696 * lyx_cb.C: use Alert::prompt
8698 * lyx_main.C: remove a silly question
8700 * lyxfunc.C: remove a couple of silly questions,
8703 2003-03-28 John Levon <levon@movementarian.org>
8705 * text2.C: fix bug 974 (End on empty par)
8707 2003-03-28 John Levon <levon@movementarian.org>
8709 * BufferView_pimpl.C:
8711 * lfuns.h: remove do-nothing math greek lfuns
8713 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8715 * lyxgluelength.h (isValidGlueLength): add default arg on
8716 parameter 2. Remove default arg from friend in class.
8718 * lyxlength.h (isValidLength): add default arg on parameter 2.
8719 Remove default arg from friend in class.
8721 * text2.C (LyXText): adjust, initialize refresh_row.
8725 (insertParagraph): adjst
8726 (redoParagraphs): adjust
8727 (fullRebreak): adjust
8728 (updateCounters): adjust
8729 (deleteEmptyParagraphMechanism): first attempt at fixing a
8732 * text.C (top_y): adjust
8733 (setHeightOfRow): adjust
8735 (getRowNearY): adjust
8737 * lyxtext.h: include RowList.h
8738 (~LyXText): not needed anymore, deleted.
8739 (firstRow): modify for RowList
8740 (lastRow): new function
8741 Delete firstrow and lastrow class variables, add a Rowlist
8742 rowlist_ class variable.
8744 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8747 * RowList.C (insert): fix case where it == begin().
8749 2003-03-26 Angus Leeming <leeming@lyx.org>
8751 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8752 the thesaurus dialog.
8754 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8756 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8758 * RowList.[Ch]: new files
8760 * ParagraphList.C (erase): handle the case where it == begin
8763 2003-03-25 John Levon <levon@movementarian.org>
8767 * aspell.C: add new aspell support
8770 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8773 2003-03-25 Angus Leeming <leeming@lyx.org>
8776 * LyXAction.C (init): new LFUN_INSET_INSERT.
8778 * BufferView_pimpl.C (dispatch): split out part of the
8779 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8781 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8784 2003-03-25 Angus Leeming <leeming@lyx.org>
8786 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8788 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8791 * text3.C: remove useless row->height(0)
8793 2003-03-25 John Levon <levon@movementarian.org>
8797 * text3.C: rename the refreshing stuff to better names
8799 2003-03-24 John Levon <levon@movementarian.org>
8801 * BufferView_pimpl.h:
8802 * BufferView_pimpl.C: update layout choice on a mouse
8805 2003-03-23 John Levon <levon@movementarian.org>
8807 * Makefile.am: fix commandtags.h reference
8809 2003-03-22 John Levon <levon@movementarian.org>
8811 * BufferView_pimpl.C:
8816 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8818 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8821 * text.C: take the rtl methods out of line
8823 2003-03-21 André Pönitz <poenitz@gmx.net>
8825 * metricsinfo.[Ch]: new files containing structures to be passed around
8826 during the two-phase-drawing...
8828 2003-03-21 André Pönitz <poenitz@gmx.net>
8830 * lyxtextclass.C: read 'environment' tag.
8832 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8834 * text2.C (removeRow): fix bug 964
8836 2003-03-20 John Levon <levon@movementarian.org>
8840 * text2.C: paint cleanups. Inset::update() dropped font
8843 2003-03-19 John Levon <levon@movementarian.org>
8845 * lyxfunc.C: only fitcursor/markDirty if available()
8847 2003-03-19 John Levon <levon@movementarian.org>
8849 * commandtags.h: rename to ...
8851 * lfuns.h: ... this, and renumber / cleanup
8853 2003-03-19 John Levon <levon@movementarian.org>
8855 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8856 fit the cursor after an lfun
8860 * BufferView_pimpl.h:
8861 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8863 * LyXAction.C: layout-character should have ReadOnly
8865 * ParagraphParameters.C:
8867 * bufferview_funcs.C:
8874 * undo_funcs.C: changes from above
8876 2003-03-18 John Levon <levon@movementarian.org>
8878 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8879 remove it from update()
8881 * lyxfunc.C: update layout choice after an lfun
8883 * text3.C: remove extra updateLayoutChoice()s
8885 2003-03-18 John Levon <levon@movementarian.org>
8887 * text.C: top_y change means full repaint, fix
8888 a drawing bug with cursor movement
8890 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8894 * text2.C: anchor row on setCursor
8896 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8898 * lyxtext.h: remove almost all mutable keywords
8901 * text3.C: remove const keywords accordingly
8903 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8905 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8907 (TeXEnvironment): ditto
8910 2003-03-17 John Levon <levon@movementarian.org>
8912 * text.C (rowBreakPoint): remove attempt to fix displayed
8913 math insets inside a manual label
8915 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8917 * lyxtext.h: remove BufferView* as first arg from almost all class
8919 * other files: adjust.
8921 2003-03-17 John Levon <levon@movementarian.org>
8925 * text2.C: more paint cleanups
8927 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8930 * rowpainter.C: remove "smart" background painting code
8932 2003-03-16 John Levon <levon@movementarian.org>
8937 * text3.C: add helper functions for setting refresh_row/y
8939 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8941 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8942 newline inset which *can* get inserted in the pass_thru layouts.
8943 This is primarily for literate documents.
8945 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8947 * buffer.C: increment LYX_FORMAT to 223
8949 2003-03-14 André Pönitz <poenitz@gmx.net>
8951 * textclass.h: prepare for environment handling, ws changes
8952 * lyxlayout.C: read latexheader and latexfooter tags
8954 2003-03-14 John Levon <levon@movementarian.org>
8956 * text2.C: rewrite ::status() a bit
8958 2003-03-13 John Levon <levon@movementarian.org>
8960 * lyxtext.h: add some docs
8962 2003-03-13 John Levon <levon@movementarian.org>
8967 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8969 2003-03-13 John Levon <levon@movementarian.org>
8971 * text3.C: fix appendix redrawing
8973 2003-03-13 John Levon <levon@movementarian.org>
8975 * text.C (setHeightOfRow):
8977 * rowpainter.C: make appendix mark have the text
8978 "Appendix" so the user knows what it is
8981 * LColor.C: s/appendixline/appendix/ from above
8983 2003-03-13 John Levon <levon@movementarian.org>
8985 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8987 * text.C: fix a getChar(pos) bug properly
8989 2003-03-13 Angus Leeming <leeming@lyx.org>
8992 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8993 Probably only temporary. Let's see how things pan out.
8995 * BufferView.C (unlockInset):
8996 * BufferView_pimpl.C (fitCursor):
8997 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8999 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9000 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9002 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9003 new functions that convert ParagraphParameters to and from a string.
9005 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9006 BufferView::Pimpl's dispatch.
9007 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9009 2003-03-13 André Pönitz <poenitz@gmx.net>
9013 * factory.C: make it aware of InsetEnv
9015 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9017 * text2.C (setCursor): never ask for one past last
9018 (setCursor): add some debugging messages.
9020 * text.C (singleWidth): never ask for one past last
9021 (singleWidth): ditto
9023 (rightMargin): ditto
9024 (rowBreakPoint): ditto
9025 (setHeightOfRow): ditto
9026 (prepareToPrint): ditto
9028 * rowpainter.C (paintBackground): never ask for one past last
9029 (paintText): never ask for one past last
9031 * paragraph_pimpl.C (getChar): make the assert stricter, never
9032 allow the one past last pos to be taken
9034 * paragraph.C (getChar): ws changes only
9036 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9037 (numberOfSeparators): ditto
9038 (numberOfHfills): ditto
9040 2003-03-12 John Levon <levon@movementarian.org>
9046 * paragraph_funcs.C: fix per-buffer authorlists
9048 2003-03-12 John Levon <levon@movementarian.org>
9050 * text.C: fix newline in right address
9052 2003-03-12 Angus Leeming <leeming@lyx.org>
9054 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9055 duplicate those in LyXFunc::dispatch.
9059 * ToolbarDefaults.C:
9060 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9061 Add LFUN_FONTFREE_UPDATE.
9063 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9064 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9066 * bufferview_func.[Ch]: several new functions to facilliate
9067 transfer of data to and from the character dialog.
9069 2003-03-12 John Levon <levon@movementarian.org>
9074 * paragraph_funcs.C:
9075 * paragraph_pimpl.C:
9079 * text3.C: remove META_NEWLINE in favour of an inset
9082 * rowpainter.C: remove paintNewline (done by inset)
9084 2003-03-12 John Levon <levon@movementarian.org>
9086 * paragraph_pimpl.C: complain about bad getChar()s
9087 for a while at least
9089 2003-03-12 John Levon <levon@movementarian.org>
9092 * buffer.C: move paragraph read into a separate function,
9093 a little renaming to reflect that.
9096 * bufferparams.C: remove the author_ids map, not necessary now
9099 * factory.C: moved Buffer::readInset to here
9101 * paragraph_funcs.h:
9102 * paragraph_funcs.C: readParagraph free function moved from
9105 * tabular.C: name change
9107 2003-03-12 John Levon <levon@movementarian.org>
9110 * ParagraphParameters.C: move par params input to
9113 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9114 behave like a normal read from the stream wrt reading
9115 a line vs. a \\token
9117 2003-03-12 John Levon <levon@movementarian.org>
9120 * ParagraphParameters.h:
9121 * ParagraphParameters.C: move output code to a
9124 2003-03-12 John Levon <levon@movementarian.org>
9126 * BufferView.C (insertLyXFile):
9129 * tabular.C: use a parlist iterator for creating the
9132 2003-03-12 John Levon <levon@movementarian.org>
9134 * buffer.C: make current_change static local not
9137 2003-03-12 John Levon <levon@movementarian.org>
9139 * buffer.C: fix insertStringAsLines for change tracking
9141 2003-03-12 John Levon <levon@movementarian.org>
9148 * bufferparams.C: move author list into params. Rename some
9149 functions. Move the header reading into a separate token
9150 loop. Move the header token reading into BufferParams.
9152 2003-03-12 John Levon <levon@movementarian.org>
9154 * changes.C: put debug inside lyxerr.debugging() checks
9156 2003-03-11 André Pönitz <poenitz@gmx.net>
9158 * factory.C: make it aware of InsetHFill
9160 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9162 * buffer.C (latexParagraphs): move function from here...
9163 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9166 2003-03-10 Angus Leeming <leeming@lyx.org>
9168 * LyXAction.C (init): fix bug in poplating array with multiple entries
9169 with the same LFUN (spotted by JMarc).
9171 2003-03-10 John Levon <levon@movementarian.org>
9174 * text2.C: move getColumnNearX() near its
9177 2003-03-10 John Levon <levon@movementarian.org>
9179 * text.C: fix break before a minipage
9181 2003-03-10 John Levon <levon@movementarian.org>
9183 * text.C: fix the last commit
9185 2003-03-09 John Levon <levon@movementarian.org>
9189 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9190 bug 365 (don't break before insets unless needed). Don't
9191 return a value > last under any circumstances.
9193 2003-03-09 Angus Leeming <leeming@lyx.org>
9195 * BufferView_pimpl.C (trackChanges, dispatch): call
9196 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9198 2003-03-09 Angus Leeming <leeming@lyx.org>
9200 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9201 than Dialogs::showAboutlyx().
9203 2003-03-09 Angus Leeming <leeming@lyx.org>
9205 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9206 than Dialogs::showTabularCreate().
9208 2003-03-09 John Levon <levon@movementarian.org>
9212 * text2.C: 3rd arg to nextBreakPoint was always the same.
9215 2003-03-08 John Levon <levon@movementarian.org>
9222 * text2.C: Remove the "main" bit from the "main body"
9225 2003-03-08 John Levon <levon@movementarian.org>
9227 * text.C (leftMargin): The left margin of an empty
9228 manual label paragraph should not include the label width
9231 * text.C (prepareToPrint): don't attempt to measure hfills
9232 for empty manual label paragraphs - the answer should be 0
9234 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9236 * CutAndPaste.C: remove commented code and reindent.
9238 2003-03-08 John Levon <levon@movementarian.org>
9241 * lyxfunc.C: move reloadBuffer()
9244 * BufferView.C: to here
9246 * lyxvc.C: add comment
9249 * vc-backend.C: call bv->reload() to avoid
9250 getStatus() check on MENURELOAD
9252 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9254 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9255 to an old format .dep file.
9257 2003-03-07 Angus Leeming <leeming@lyx.org>
9259 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9260 when the LFUN_MOUSE_RELEASE should have been handled by
9261 inset->localDispatch.
9263 2003-03-07 Angus Leeming <leeming@lyx.org>
9265 * BufferView_pimpl.C (dispatch):
9266 * LyXAction.C (init):
9267 * ToolbarDefaults.C (init):
9269 * lyxfunc.C (getStatus):
9270 remove LFUN_INSET_GRAPHICS.
9272 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9274 2003-03-07 Angus Leeming <leeming@lyx.org>
9277 * LyXAction.C (init):
9278 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9280 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9283 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9285 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9286 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9288 2003-03-07 Angus Leeming <leeming@lyx.org>
9290 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9293 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9295 * ParagraphList.C (front): new function
9298 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9300 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9301 and top_row_offset_. removed var first_y.
9303 * text2.C (LyXText, removeRow):
9305 * BufferView_pimpl.C:
9306 use these methods instead of using first_y
9308 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9310 * text2.C (pasteSelection): adjust for checkPastePossible
9312 * CutAndPaste.C: remove Paragraph * buf and replace with
9313 ParagraphList paragraphs.
9314 (DeleteBuffer): delete
9315 (cutSelection): change the tc type to textclass_type
9316 (copySelection): change the tc type to textclass_type
9317 (copySelection): adjust for ParagraphList
9318 (pasteSelection): change the tc type to textclass_type
9319 (pasteSelection): adjust for Paragraphlist
9320 (nrOfParagraphs): simplify for ParagraphList
9321 (checkPastePossible): simplify for ParagraphList
9322 (checkPastePossible): remove unused arg
9324 * ParagraphList.C (insert): handle the case where there are no
9327 * CutAndPaste.h: make CutAndPaste a namespace.
9329 * text3.C (dispatch): adjust
9331 * text.C (breakParagraph): add a ParagraphList as arg
9333 * paragraph_funcs.C (breakParagraph): change to take a
9334 BufferParams and a ParagraphList as args.
9335 (breakParagraphConservative): ditto
9336 (mergeParagraph): ditto
9337 (TeXDeeper): add a ParagraphList arg
9338 (TeXEnvironment): ditto
9341 * buffer.C (readLyXformat2): adjust
9342 (insertStringAsLines): adjust
9343 (latexParagraphs): adjust
9345 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9346 (cutSelection): adjust
9347 (pasteSelection): adjust
9349 * BufferView_pimpl.C (insertInset): adjust
9351 2003-03-05 Angus Leeming <leeming@lyx.org>
9354 * LyXAction.C (init):
9355 * BufferView_pimpl.C (dispatch):
9356 * lyxfunc.C (getStatus):
9357 remove LFUN_CHILD_INSERT.
9359 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9361 2003-03-05 Angus Leeming <leeming@lyx.org>
9364 * LyXAction.C (init):
9365 * src/factory.C (createInset):
9366 * lyxfunc.C (getStatus):
9367 * text3.C (dispatch):
9368 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9370 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9372 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9374 * ParagraphList.C (insert): handle insert right before end()
9375 (erase): fix cases where it can be first or last paragraph.
9377 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9379 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9380 Paragraph::next and Paragraph::previous
9383 * text.C (breakParagraph): adjust
9385 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9386 BufferParams& as arg.
9387 (breakParagraph): use ParagraphList::insert
9388 (breakParagraphConservative): take a Buffer* instead of a
9389 BufferParams& as arg.
9390 (breakParagraphConservative): use ParagraphList::insert.
9392 * buffer.C (insertStringAsLines): un-const it
9393 (insertStringAsLines): adjust
9395 * ParagraphList.C (insert): new function
9397 * CutAndPaste.C (pasteSelection): adjust
9399 * text.C (backspace): adjust
9401 * tabular.C (SetMultiColumn): adjust
9403 * CutAndPaste.C (cutSelection): adjust
9404 (pasteSelection): adjust
9406 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9407 Buffer const * as arg
9409 * ParagraphList.C (erase): new function
9410 * paragraph_funcs.C (mergeParagraph): use it
9411 (mergeParagraph): make it take a Buffer* instead of a
9412 BufferParams* as arg
9414 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9416 (breakParagraphConservative): ditto
9418 * paragraph.h: remove the breakParagraph friend
9420 * paragraph.C (eraseIntern): new function
9421 (setChange): new function
9423 * paragraph_funcs.C (mergeParagraph): make it take a
9424 ParagraphList::iterator instead of a Paragraph *, adjust
9427 * paragraph.h: move an #endif so that the change tracking stuff
9428 also works in the NO_NEXT case.
9430 2003-03-04 Angus Leeming <leeming@lyx.org>
9433 * LyXAction.C: new LFUN_INSET_MODIFY.
9435 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9436 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9438 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9440 * several files: ws changes only
9442 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9443 (TeXEnvironment): ditto
9446 * buffer.C (makeLaTeXFile): adjust
9447 (latexParagraphs): make it take ParagraphList::iterator as args
9449 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9451 * buffer.C (latexParagraphs): adjust
9453 * paragraph.C (TeXOnePar): move function...
9454 (optArgInset): move function...
9455 (TeXEnvironment): move function...
9456 * paragraph_pimpl.C (TeXDeeper): move function...
9457 * paragraph_funcs.C: ...here
9459 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9461 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9463 * buffer.C (readInset): remove compability code for old Figure and
9466 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9468 * buffer.C: ws changes
9471 * BufferView_pimpl.C: ditto
9474 * bufferlist.h: ditto
9478 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9480 * converter.[Ch]: split into itself +
9483 * Makefile.am: += graph.[Ch] + format.[Ch]
9490 * lyxrc.C: added #include "format.h"
9492 2003-02-27 Angus Leeming <leeming@lyx.org>
9494 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9497 * factory.C (createInset): add "label" to the factory.
9499 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9500 string and do no more.
9502 2003-02-27 Angus Leeming <leeming@lyx.org>
9505 * LyXAction.C (init):
9506 * factory.C (createInset):
9507 * BufferView_pimpl.C (dispatch):
9508 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9510 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9512 * lyxfunc.C (dispatch):
9513 * text3.C (dispatch): pass name to params2string.
9515 2003-02-26 Angus Leeming <leeming@lyx.org>
9517 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9519 Rearrange the ~includes. Strip out the unnecessary ones.
9521 * factory.C (createInset): reformat.
9522 create new insets for the various LFUN_XYZ_APPLY lfuns.
9524 2003-02-26 John Levon <levon@movementarian.org>
9527 * lyxrow.C: add isParStart,isParEnd helpers
9529 * paragraph.h: make isInserted/DeletedText take refs
9531 * paragraph_funcs.h:
9532 * paragraph_funcs.C: remove #if 0'd code
9537 * text.C: use lyxrow helpers above.
9538 Move draw and paint routines to RowPainter.
9539 Make several methods use refs not pointers.
9540 Make backgroundColor() const.
9541 Add markChangeInDraw(), isInInset().
9542 Merge changeRegionCase into changeCase.
9543 Make workWidth() shouldn't-happen code into an Assert.
9546 * rowpainter.C: new class for painting a row.
9549 * vspace.C: make inPixels take a ref
9551 2003-02-26 Angus Leeming <leeming@lyx.org>
9553 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9556 2003-02-25 John Levon <levon@movementarian.org>
9558 * ispell.C: give the forked command a more accurate name
9560 2003-02-22 John Levon <levon@movementarian.org>
9563 * toc.C: make TocItem store an id not a Paragraph *
9566 2003-02-21 Angus Leeming <leeming@lyx.org>
9568 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9569 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9570 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9571 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9572 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9573 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9575 * BufferView_pimpl.C (dispatch):
9576 * LyXAction.C (init):
9577 * factory.C (createInset):
9578 * lyxfunc.C (getStatus, dispatch):
9579 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9581 2003-02-21 Angus Leeming <leeming@lyx.org>
9583 * BufferView_pimpl.C (MenuInsertLyXFile):
9584 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9585 * lyxfunc.C (menuNew, open, doImport):
9586 no longer pass a LyXView & to fileDlg.
9588 2003-02-21 Angus Leeming <leeming@lyx.org>
9590 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9591 * LyXAction.C: change, BIBKEY to BIBITEM.
9592 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9593 Change InsetBibKey to InsetBibitem.
9594 Change BIBKEY_CODE to BIBITEM_CODE.
9595 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9596 * factory.C: replace insetbib.h with insetbibitem.h.
9597 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9598 * paragraph.C: replace insetbib.h with insetbibitem.h.
9599 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9600 Change bibkey() to bibitem().
9601 * text.C: remove insetbib.h.
9602 * text2.C: replace insetbib.h with insetbibitem.h.
9603 change bibkey() to bibitem().
9604 * text3.C: remove insetbib.h.
9605 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9607 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9609 * lyxrc.C (output): enclose user email in quotes (in case there are
9612 2003-02-18 John Levon <levon@movementarian.org>
9614 * buffer.h: add std::
9616 2003-02-17 John Levon <levon@movementarian.org>
9622 * pspell.C: reworking. Especially in ispell, a large
9623 number of clean ups and bug fixes.
9625 * lyxfunc.C: fix revert to behave sensibly
9627 2003-02-17 André Pönitz <poenitz@gmx.net>
9630 * commandtags.h: new LFUN_INSERT_BIBKEY
9640 * paragraph_func.C: remove special bibkey handling
9642 2003-02-17 John Levon <levon@movementarian.org>
9644 * text.C (Delete): fix case where delete at the end of
9645 the very first paragraph would not merge the pars
9647 2003-02-17 John Levon <levon@movementarian.org>
9649 * lyxrow.C: fix lastPrintablePos()
9651 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9653 * bufferparams.C (writeLaTeX): add a std:here
9655 * buffer.C: and remove a using directive there
9657 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9659 * buffer.C (makeLaTeXFile): move the code that generates the
9662 * bufferparams.C (writeLaTeX): ... in this new method
9664 * LaTeXFeatures.C (getEncodingSet): make const
9665 (getLanguages): make const
9667 * MenuBackend.C (binding): returns the binding associated to this
9669 (add): sets the status of each item by calling getStatus. Adds
9671 (read): add support for OptSubMenu
9672 (expand): remove extra separator at the end of expanded menu
9674 2003-02-15 John Levon <levon@movementarian.org>
9677 * BufferView_pimpl.C:
9679 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9680 inset code that had no actual effect. Remove unneeded status
9683 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9685 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9688 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9690 * text.C (drawLengthMarker): also draw an arrow marker for
9691 symbolic lengths (medskip...)
9693 2003-02-14 John Levon <levon@movementarian.org>
9696 * tabular.C: better method names
9698 2003-02-14 John Levon <levon@movementarian.org>
9700 * BufferView_pimpl.C:
9705 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9706 it's a more accurate name. Remove some pointless uses.
9708 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9710 * text2.C (LyXText): change order of initilizers to shut off
9713 2003-02-14 John Levon <levon@movementarian.org>
9715 * buffer.C: use ParIterator for getParFromID()
9719 * paragraph_pimpl.h:
9720 * paragraph_pimpl.C: remove unused getParFromID()
9722 2003-02-14 John Levon <levon@movementarian.org>
9724 * buffer.C: remove some very old #if 0'd parse code
9726 2003-02-13 John Levon <levon@movementarian.org>
9730 * text2.C: move hfillExpansion(), numberOfSeparators(),
9731 rowLast(), rowLastPrintable(), numberofHfills(),
9732 numberOfLabelHfills() ...
9735 * lyxrow.C: ... to member functions here.
9740 * text.C: remove LyXText::beginningOfMainBody(), and call
9741 p->beginningOfMainBody() directly. Move the check for
9742 LABEL_MANUAL into the latter.
9749 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9755 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9756 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9758 2003-02-13 John Levon <levon@movementarian.org>
9760 * CutAndPaste.C: remove debug
9762 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9764 * paragraph.C (asString): remove two unused variables
9766 * lyxtextclass.C (readTitleType):
9768 (LyXTextClass): handle new members titletype_ and titlename_
9770 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9772 2003-02-09 John Levon <levon@movementarian.org>
9775 * buffer.C: replace hand-coded list with a map for the dep clean
9777 2003-02-08 John Levon <levon@movementarian.org>
9779 * LaTeX.C: consolidate code into showRunMessage() helper
9781 2003-02-08 John Levon <levon@movementarian.org>
9786 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9787 and pass the size in explicitly
9789 * BufferView_pimpl.h:
9790 * BufferView_pimpl.C:
9792 * BufferView.C: add getCurrentChange()
9794 * BufferView_pimpl.h:
9795 * BufferView_pimpl.C: handle change lfuns
9797 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9798 for changes. Mark pasted paragraphs as new.
9800 * support/lyxtime.h:
9801 * support/lyxtime.C:
9802 * DepTable.C: abstract time_t as lyx::time_type
9805 * LColor.C: add colours for new text, deleted text, changebars
9807 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9808 package use "usenames" option.
9812 * LyXAction.C: add change lfuns
9816 * author.C: author handling
9819 * buffer.C: add a per-buffer author list, with first entry as
9820 current author. Handle new .lyx tokens for change tracking. Output
9821 author list to .lyx file. Output dvipost stuff to .tex preamble.
9822 Bump lyx format to 222.
9825 * bufferlist.C: add setCurrentAuthor() to reset current author details
9829 * bufferparams.C: add param for tracking
9831 * bufferview_funcs.C: output change info in minibuffer
9835 * changes.C: add change-tracking structure
9838 * debug.C: add CHANGES debug flag
9841 * lyxfind.C: add code for finding the next change piece
9844 * lyxrc.C: add user_name and user_email
9847 * lyxrow.C: add a metric for the top of the text line
9850 * text.C: implement accept/rejectChange()
9853 * text.C: paint changebars. Paint new/deleted text in the chosen
9854 colours. Strike through deleted text.
9858 * paragraph_pimpl.h:
9859 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9860 in the current change to the insert functions. Rework erase to
9861 mark text as deleted, adding an eraseIntern() and a range-based
9862 erase(). Implement per-paragraph change lookup and
9865 * paragraph_funcs.C: Fixup paste for change tracking.
9867 * tabular.C: mark added row/columns as new.
9869 * text.C: fix rowLast() to never return -1. Don't allow
9870 spellchecking of deleted text. Track transpose changes. Don't
9871 allow paragraph break or merge where appropriate.
9873 * text2.C: leave cursor at end of selection after a cut.
9875 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9877 * text.C (getLengthMarkerHeight):
9878 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9879 visible on screen too.
9881 2003-02-07 John Levon <levon@movementarian.org>
9883 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9885 2003-02-05 Angus Leeming <leeming@lyx.org>
9887 * lyxserver.C (read_ready): revert my patch of 11 September last year
9888 as it sends PC cpu through the roof. Presumably this means that
9889 the lyxserver will no longer run on an Alpha...
9891 2003-01-30 Angus Leeming <leeming@lyx.org>
9893 * factory.C (createInset): create an InsetCommandParam of type "index"
9894 and use it to 'do the right thing'.
9896 * text2.C (getStringToIndex): ensure that cursor position is always
9897 reset to the reset_cursor position.
9899 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9901 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9904 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9908 * lyxfunc.C: Output messages with identical spelling, punctuation,
9911 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9913 * MenuBackend.C (expandFormats): List only viewable export formats
9916 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9919 * lyxfunc.C (getStatus): Make sure that formats other than
9920 "fax" can also be disabled
9922 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9924 * text3.C (dispatch): put the lfuns that insert insets in 3
9925 groups, and call doInsertInset with appropriate arguments.
9926 (doInsertInset): new function, that creates an inset and inserts
9927 it according to some boolean parameters.
9929 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9931 * buffer.C (readFile): remember to pass on 'par' when calling
9932 readFile recursively.
9934 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9936 * MenuBackend.C (expandFormats): add "..." to import formats.
9938 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9940 * paragraph.C (asString): Remove XForms RTL hacks.
9942 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9943 * buffer.C: fix typo
9945 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9947 * Makefile.am (LIBS): delete var
9948 (lyx_LDADD): add @LIBS@ here instead.
9950 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9952 * Clarify the meaning of "wheel mouse jump"
9954 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9956 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9959 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9961 * importer.C (Loaders): do not preallocate 3 elements in the
9962 vector, since one ends up with 6 elements otherwise
9964 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9966 * DepTable.C (write): write the file name as last element of the
9967 .dep file (because it may contain spaces)
9968 (read): read info in the right order
9970 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9972 * paragraph_pimpl.C (simpleTeXBlanks):
9973 (simpleTeXSpecialChars):
9974 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9976 * tabular.C (latex): add some missing case statements. Reindent.
9978 * MenuBackend.C (expandToc): remove unused variable.
9980 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9989 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9992 2003-01-05 John Levon <levon@movementarian.org>
9995 * BufferView.C: add getEncoding()
9998 * kbsequence.C: do not store last keypress
10001 * lyxfunc.C: store last keypress here instead. Pass encoding
10004 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10006 * lyx_main.C (init): remove annoying error message when following
10007 symbolic links (bug #780)
10009 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10011 * text.C (insertChar):
10012 * lyxrc.C (getDescription): remove extra spaces
10014 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10016 * lyxrc.C (getDescription): remove extra spaces
10018 2002-12-20 John Levon <levon@movementarian.org>
10020 * text3.C: hack fix for page up/down across tall rows
10022 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10024 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10027 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10029 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10030 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10031 thesaurus is not compiled in
10033 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10035 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10037 2002-12-16 Angus Leeming <leeming@lyx.org>
10040 * lyx_main.C (init): remove override_x_deadkeys stuff.
10042 2002-12-12 John Levon <levon@movementarian.org>
10044 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10045 insert. Only remove shift modifier under strict
10048 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10050 * MenuBackend.C (expandToc): fix crash.
10052 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10054 * MenuBackend.C (expandToc): gettext on float names.
10056 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10058 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10059 implement bool empty() [bug 490]
10061 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10063 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10065 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10067 * several files: ws changes
10069 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10071 * text2.C (setCounter): clean up a bit, use boost.format.
10072 (updateCounters): initialize par upon declaration.
10074 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10075 if the layout exists. We do not just store the layout any more.
10076 (SwitchLayoutsBetweenClasses): use boost.format
10078 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10080 * converter.C (convert): if from and to files are the same, use a
10081 temporary files as intermediary
10083 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10086 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10088 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10090 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10092 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10094 * tabular.C (asciiPrintCell): use string(size, char) instead of
10097 * sgml.C (openTag): fix order of arguments to string constructor
10100 * lyxfunc.C (dispatch): use boost.format
10102 * lots of files: change "c" -> 'c'
10104 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10106 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10108 2002-11-25 Angus Leeming <leeming@lyx.org>
10110 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10112 * lyx_main.C (init): compile fix.
10114 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10116 * lyx_cb.C (start): boost.formatify
10117 do not include <iostream>
10119 * lengthcommon.C: ws only
10121 * boost-inst.C,BoostFormat.h: add more explict instantations
10123 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10125 * lots of files: handle USE_BOOST_FORMAT
10127 2002-11-21 John Levon <levon@movementarian.org>
10129 * pspell.C: fix compile
10131 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10133 * lyxfunc.C (dispatch): use boost::format
10137 * lyxfont.C (stateText): use boost::format
10139 * lyx_main.C (LyX): use boost::format
10141 (queryUserLyXDir): ditto
10142 (readRcFile): ditto
10144 (typedef boost::function): use the recommened syntax.
10146 * importer.C (Import): use boost::format
10148 * debug.C (showLevel): use boost::format
10150 * converter.C (view): use boost::format
10155 * bufferview_funcs.C (currentState): use boost::format
10157 * bufferlist.C (emergencyWrite): use boost::format
10159 * buffer.C (readLyXformat2): use boost::format
10160 (parseSingleLyXformat2Token): ditto
10162 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10164 * LaTeX.C (run): use boost::format
10166 * Chktex.C (scanLogFile): use boost::format
10168 * BufferView_pimpl.C (savePosition): use boost::format
10169 (restorePosition): ditto
10170 (MenuInsertLyXFile): ditto
10172 * BoostFormat.h: help file for explicit instation.
10174 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10176 * tabular.C (latex): Support for block alignment in fixed width
10179 2002-11-17 John Levon <levon@movementarian.org>
10181 * BufferView_pimpl.C:
10183 * lyxfunc.C: split filedialog into open/save
10185 2002-11-08 Juergen Vigna <jug@sad.it>
10187 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10188 by my last patch (hopefully).
10190 2002-11-08 John Levon <levon@movementarian.org>
10199 * toc.C: ParConstIterator, and use it (from Lars)
10201 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10203 * lyxtextclass.[Ch]: revise and add doxygen comments
10205 2002-11-07 John Levon <levon@movementarian.org>
10207 * text.C: fix progress value for spellchecker
10209 * toc.C: fix navigate menu for insetwrap inside minipage
10211 * paragraph_funcs.C: added FIXME for suspect code
10213 2002-11-07 John Levon <levon@movementarian.org>
10215 * BufferView_pimpl.C: fix redrawing of insets
10218 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10220 * text2.C (updateCounters): fix bug 668
10222 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10224 * text3.C (dispatch): Do not make the buffer dirty when moving the
10227 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10229 * vc-backend.C: STRCONV
10230 (scanMaster): ditto
10232 * text2.C (setCounter): STRCONV
10234 * paragraph.C (asString): STRCONV
10236 * lyxlength.C (asString): STRCONV
10237 (asLatexString): ditto
10239 * lyxgluelength.C (asString): STRCONV
10240 (asLatexString): ditto
10242 * lyxfunc.C (dispatch): STRCONV
10245 * lyxfont.C (stateText): STRCONV
10247 * importer.C (Import): STRCONV
10249 * counters.C (labelItem): STRCONV
10250 (numberLabel): ditto
10251 (numberLabel): remove unused ostringstream o
10256 * bufferview_funcs.C (currentState): STRCONV
10258 * buffer.C (readFile): STRCONV
10259 (asciiParagraph): ditto
10260 (makeLaTeXFile): ditto
10262 * Spacing.C (writeEnvirBegin): STRCONV
10264 * LaTeXFeatures.C (getLanguages): STRCONV
10265 (getPackages): ditto
10267 (getBabelOptions): ditto
10268 (getTClassPreamble): ditto
10269 (getLyXSGMLEntities): ditto
10270 (getIncludedFiles): ditto
10274 (scanAuxFile): ditto
10277 * LString.h: add the STRCONV macros
10279 * BufferView_pimpl.C (savePosition): STRCONV
10280 (restorePosition): ditto
10281 (MenuInsertLyXFile): ditto
10283 * vc-backend.C (scanMaster): change from submatch[...] to
10286 * funcrequest.C: include config.h
10288 * factory.C: include config.h
10290 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10292 * box.C: include config.h
10294 * LaTeX.C (scanAuxFile): change from submatch[...] to
10298 2002-10-25 Angus Leeming <leeming@lyx.org>
10300 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10302 * ispell.[Ch] (setError): new method.
10303 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10304 Use setError() insetead of goto END.
10306 * lyx_cb.C (AutoSave): move out child process into new class
10309 2002-10-30 John Levon <levon@movementarian.org>
10311 * text3.C: make start appendix undoable
10313 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10315 * lyxlength.C (inPixels): Fix returned value.
10317 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10320 2002-10-24 Angus Leeming <leeming@lyx.org>
10322 * lyxgluelength.h: no need to forward declare BufferParams
10323 or BufferView, so don't.
10325 2002-10-21 John Levon <levon@movementarian.org>
10327 * BufferView.C: menuUndo ->undo, redo
10329 * BufferView.h: document, remove dead, make some methods private
10331 * paragraph_funcs.h:
10332 * paragraph_funcs.C:
10333 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10338 * sgml.C: move sgml open/close tag into sgml.C
10340 * bufferview_funcs.h: unused prototype
10343 * lyxfunc.C: remove unused
10346 * text.C: remove unused
10348 2002-10-21 John Levon <levon@movementarian.org>
10352 * BufferView_pimpl.h:
10353 * BufferView_pimpl.C: fix mouse wheel handling based on
10354 patch from Darren Freeman
10356 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10358 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10360 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10362 * lyxlength.C (inPixels): Fix hanfling of negative length.
10363 Fix LyXLength::MU case.
10365 2002-10-16 John Levon <levon@movementarian.org>
10367 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10369 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10371 * converter.C (view): add support for $$i (file name) and $$p
10372 (file path) for the viewer command. If $$i is not specified, then
10373 it is appended to the command (for compatibility with old syntax)
10375 2002-10-14 Juergen Vigna <jug@sad.it>
10377 * undo_funcs.C (textHandleUndo): alter the order in which the
10378 new undopar is added to the LyXText, as we have to set first
10379 the right prev/next and then add it as otherwise the rebuild of
10380 LyXText is not correct. Also reset the cursor to the right paragraph,
10381 with this IMO we could remove the hack in "redoParagraphs()".
10383 2002-10-09 Angus Leeming <leeming@lyx.org>
10385 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10386 to turn off an optimisation if a new inset is to be inserted.
10388 2002-10-11 André Pönitz <poenitz@gmx.net>
10390 * lyxtext.h: make some functions public to allow access
10391 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10393 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10395 * text3.C (dispatch): when changing layout, avoid an infinite loop
10398 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10400 * lyxrc.C (read): treat a viewer or converter command of "none" as
10403 * MenuBackend.C (expandFormats): for an update, also allow the
10404 formats that are not viewable
10406 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10407 script if it is newer than the lyxrc.defaults in user directory
10409 2002-10-07 André Pönitz <poenitz@gmx.net>
10411 * text.C: Vitaly Lipatov's small i18n fix
10413 2002-09-25 Angus Leeming <leeming@lyx.org>
10415 * ispell.h: doxygen fix.
10417 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10419 * buffer.h (readFile): Add a new argument to the method, to allow
10420 reading of old-format templates.
10422 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10424 * toc.C (getTocList): Get TOC from InsetWrap.
10426 2002-09-16 John Levon <levon@movementarian.org>
10428 * lyxfunc.C: check tabular for cut/copy too
10430 2002-09-12 John Levon <levon@movementarian.org>
10432 * LyXAction.C: tidy
10435 * factory.C: add header
10437 * paragraph_funcs.h:
10438 * paragraph_funcs.C: cleanup
10440 2002-09-11 John Levon <levon@movementarian.org>
10442 * PrinterParams.h: odd/even default to true
10444 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10446 * PrinterParams.h: update printer parameters for new xforms dialog
10448 2002-09-11 Angus Leeming <leeming@lyx.org>
10450 * lyxserver.C (read_ready): re-write to make it more transparent
10451 and to make it work in coherent fashion under Tru64 Unix.
10453 2002-09-11 André Pönitz <poenitz@gmx.net>
10457 * text3.C: implement LFUN_WORDSEL
10459 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10461 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10462 make floatlist_ a boost::shared_ptr<FloatList>
10464 * lyxtextclass.C: include FloatList.h
10465 (LyXTextClass): initialize floatlist_
10466 (TextClassTags): add TC_NOFLOAT
10467 (Read): match "nofloat" to TC_NOFLOAT and use it.
10468 (readFloat): modify call to floatlist_
10472 * FloatList.[Ch] (FloatList): remove commented out float
10474 (erase): new function
10476 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10478 * MenuBackend.C (expandToc): fix crash when there is no document
10481 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10483 * many files: Add insetwrap.
10485 2002-09-09 John Levon <levon@movementarian.org>
10487 * text2.C: remove confusing and awkward depth wraparound
10489 2002-09-09 John Levon <levon@movementarian.org>
10491 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10494 * buffer.C: remove getIncludeonlyList()
10497 * lyxfunc.C: remove headers
10499 2002-09-09 Juergen Vigna <jug@sad.it>
10501 * text.C (getColumnNearX): fix form Michael this is most
10502 probably a cut&paste bug.
10504 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10506 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10508 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10509 references, ws changes.
10511 * text2.C (init): update counters after init
10512 (insertParagraph): no need to set counter on idividual paragraphs.
10513 (setCounter): access the counters object in the textclass object
10514 on in the buffer object.
10515 (updateCounters): ditto
10517 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10518 shared_ptr<Counters> to avoid loading counters.h in all
10520 (LyXTextClass): initialize ctrs_
10521 (TextClassTags): add TC_COUNTER, and ...
10522 (Read): use it here.
10523 (CounterTags): new tags
10524 (readCounter): new function
10525 (counters): new funtion
10526 (defaultLayoutName): return a const reference
10528 * counters.C (Counters): remove contructor
10529 (newCounter): remove a couple of unneeded statements.
10530 (newCounter): simplify a bit.
10531 (numberLabel): some small formatting changes.
10533 * buffer.[Ch]: remove all traces of counters, move the Counters
10534 object to the LyXTextClass.
10536 2002-09-06 Alain Castera <castera@in2p3.fr>
10538 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10539 package to set the horizontal alignment on fixed width columns.
10542 * lyx_sty.h: added tabularnewline macro def.
10544 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10546 2002-09-06 John Levon <levon@movementarian.org>
10548 * LyXAction.C: tooltips for sub/superscript
10550 * MenuBackend.C: a bit more verbose
10552 * lyxfunc.C: tiny clean
10554 * undo_funcs.C: document undo_frozen
10556 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10558 * counters.C (Counters): add missing algorithm counter.
10560 * text2.C (setCounter): lookup the counter with layouts latexname
10561 instead of by section number.
10562 (setCounter): use a hackish way to lookup the correct enum
10564 a float name->type change
10565 reset enum couners with counter name directly instead of depth value.
10567 * counters.C (Counters): remove the push_backs, change to use the
10568 float type not the float name.
10569 (labelItem): remove unused string, float name->type change
10571 * counters.h: don't include vector, loose the enums and sects vectors
10573 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10575 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10576 (Read): add float->TC_FLOAT to textclassTags
10577 (Read): and handle it in the switch
10578 (readFloat): new function
10580 * FloatList.C (FloatList): comment out the hardcoded float
10583 * lyxlayout.h: ws change.
10585 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10587 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10589 2002-09-03 Angus Leeming <leeming@lyx.org>
10591 * BufferView_pimpl.h: qualified name is not allowed in member
10592 declaration: WorkArea & Pimpl::workarea() const;
10594 * factory.C: added using std::endl directive.
10596 * text3.C: added using std::find and std::vector directives.
10598 2002-08-29 André Pönitz <poenitz@gmx.net>
10601 * text2.C: remove unused member number_of_rows
10604 * BufferView2.C: remove file, move contents to...
10605 * BufferView.C: ... here
10607 * BufferView_pimpl.C:
10608 * factory.C: move more inset creation to factory
10610 * vspace.C: avoid direct usage of LyXText, ws changes
10613 don't provide direct access to WorkArea, use two simple
10614 acessors haveSelction() and workHeight() instead
10617 2002-08-29 John Levon <levon@movementarian.org>
10619 * BufferView_pimpl.C (dispatch): do not continue when
10622 2002-08-28 André Pönitz <poenitz@gmx.net>
10624 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10627 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10629 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10631 * buffer.C: increment LYX_FORMAT to 221
10633 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10634 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10636 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10638 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10640 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10642 * factory.C (createInset): use LyXTextClass::floats
10644 * MenuBackend.C (expandFloatListInsert):
10645 (expandFloatInsert):
10648 * text2.C (setCounter):
10650 * LaTeXFeatures.C (useFloat):
10651 (getFloatDefinitions):
10653 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10655 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10656 floatlist_, with accessor floats().
10658 * FloatList.h: remove global FloatList
10660 2002-08-26 André Pönitz <poenitz@gmx.net>
10662 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10666 * BufferView_pimpl.C:
10667 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10669 2002-08-25 John Levon <levon@movementarian.org>
10671 * LyXAction.C: fix margin note description
10673 2002-08-24 John Levon <levon@movementarian.org>
10677 * bufferview_funcs.C:
10679 * undo_funcs.C: cleanups
10681 * lyxfunc.C: disable CUT/COPY when no selection
10683 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10685 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10686 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10688 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10689 Add backward compatibility to "mono", "gray" and "no".
10691 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10693 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10694 (and file_format >= 200).
10696 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10698 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10700 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10702 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10704 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10706 * BufferView_pimpl.C:
10713 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10714 inset and code to make it work with the paragraph code. The inset
10715 can be anywhere in the paragraph, but will only do the expected
10716 thing in LaTeX if the layout file contains the parameter line
10718 (or more generally, a nonzero value) for that layout.
10720 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10722 * paragraph.h: remove the declaration of undefined counters class
10725 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10727 * text2.C (setCounter): fixed enumeration mis-count as reported by
10728 Dr. Richard Hawkins.
10730 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10732 * paragraph_funcs.h: remove some unneeded includes
10734 * text.C (backspace): pasteParagraph now in global scipe
10736 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10737 (pasteSelection): ditto
10739 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10740 * paragraph_funcs.C (pasteParagraph): ... here
10742 2002-08-20 André Pönitz <poenitz@gmx.net>
10744 * commandtags.h: new LFUNs for swapping/copying table row/colums
10747 * lyxfunc.C: support for new lfuns
10749 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10752 * buffer.[Ch]: remove NO_COMPABILITY stuff
10754 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10756 * boost.C (throw_exception): new file, with helper function for
10757 boost compiled without exceptions.
10762 * ParameterStruct.h:
10763 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10765 * bufferlist.C (emergencyWriteAll): use boost bind
10767 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10769 * text.C: include paragraph_funcs.h
10770 (breakParagraph): breakParagraph is now in global scope
10772 * paragraph_funcs.[Ch]: new files
10774 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10777 * buffer.C: include paragraph_funcs.h
10778 (insertStringAsLines): breakParagraph is now in global scope
10780 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10783 * CutAndPaste.C: include paragraph_funcs.h
10784 (cutSelection): breakParagraphConservative is now in global scope
10785 (pasteSelection): ditto
10787 * buffer.h: declare oprator== and operator!= for
10788 Buffer::inset_iterator
10790 * bufferlist.C (emergencyWrite): don't use fmt(...)
10792 * text3.C: add using std::endl
10794 * BufferView.C (moveCursorUpdate): remove default arg
10796 2002-08-20 André Pönitz <poenitz@gmx.net>
10798 * buffer.[Ch]: move inline functions to .C
10801 * BufferView_pimpl.C:
10803 * buffer.[Ch]: use improved inset_iterator
10806 * paragraph.[Ch]: write one paragraph at a time
10808 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10810 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10811 style if style is not specified.
10813 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10815 * text2.C (setCounter): when searching for right label for a
10816 caption, make sure to recurse to parent insets (so that a caption
10817 in a minipage in a figure float works) (bug #568)
10819 2002-08-20 André Pönitz <poenitz@gmx.net>
10821 * text3.C: new file for LyXText::dispatch() and helpers
10823 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10825 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10827 2002-08-19 André Pönitz <poenitz@gmx.net>
10830 * text.C: new LyXText::dispatch()
10832 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10834 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10836 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10838 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10841 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10843 * Makefile.am: use $(variables) instead of @substitutions@
10845 2002-08-15 André Pönitz <poenitz@gmx.net>
10848 * BufferView_pimpl.C: streamlining mathed <-> outer world
10852 * LyXAction.C: remove unused LFUN_MATH
10854 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10856 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10858 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10860 * paragraph.C (Paragraph): reformat a bit
10861 (cutIntoMinibuffer): use builtin InsetList function instad of
10865 * buffer.C: include boost/bind.hpp, add using std::for_each
10866 (writeFileAscii): use ParagraphList iterators
10867 (validate): use for_each for validate traversal of paragraphs
10868 (getBibkeyList): use ParagraphList iterators
10869 (resizeInsets): use for_each to resizeInsetsLyXText for all
10871 (getParFromID): use ParagraphList iterators
10873 * BufferView2.C (lockInset): use paragraph list and iterators
10875 2002-08-14 John Levon <levon@movementarian.org>
10877 * lyxserver.C: remove spurious xforms include
10879 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10881 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10883 2002-08-13 André Pönitz <poenitz@gmx.net>
10886 * lyxfunc.C: further cleaning
10888 2002-08-13 André Pönitz <poenitz@gmx.net>
10890 * funcrequest.h: new constructor
10892 * funcrequest.C: move stuff here from .h
10895 * BufferView_pimpl.C:
10898 * lyxfunc.C: subsequent changes
10900 * lyxfunc.h: new view() member function
10902 * lyxfunc.C: subsequent changes
10904 2002-08-13 Angus Leeming <leeming@lyx.org>
10907 * BufferView_pimpl.C:
10915 changes due to the changed LyXView interface that now returns references
10916 to member variables not pointers.
10918 2002-08-13 Angus Leeming <leeming@lyx.org>
10920 * WordLangTuple (word, lang_code): return references to strings,
10925 * lyxtext.h: forward-declare WordLangTuple.
10930 * text.C: #include "WordLangTuple.h".
10933 * text.C: (selectNextWordToSpellcheck): constify return type.
10935 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10941 * paragraph_pimpl.h:
10944 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10945 suggested by Angus.
10946 Made updateCounter always count from start of buffer, and removed
10947 second argument (par).
10948 Reverted floats number display to '#'. Perhaps I'll try again when the
10949 code base is sanitized a bit.
10951 2002-08-12 Angus Leeming <leeming@lyx.org>
10953 * buffer.[Ch] (getLabelList): constify.
10955 2002-08-07 André Pönitz <poenitz@gmx.net>
10957 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10959 * funcrequest.h: extension to keep mouse (x,y) position
10961 2002-08-12 Juergen Vigna <jug@sad.it>
10963 * BufferView2.C (insertErrors): forbid undo when inserting error
10966 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10968 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10970 * ParagraphList.[Ch]: new files
10972 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10974 * BufferView2.C (lockInset): ParagraphList changes
10977 * bufferlist.C: ditto
10981 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10983 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10984 unused class variable counter_,
10986 * paragraph.[Ch] (getFirstCounter): delete unused function
10988 * counters.C: include LAssert.h
10989 (reset): add a new function with no arg, change other version to
10990 not have def. arg and to not allow empty arg.
10992 * text2.C (setCounter): remove empty arg from call to Counters::reset
10994 2002-08-11 John Levon <levon@movementarian.org>
10996 * Makefile.am: add WordLangTuple.h
10998 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
11000 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11001 lyxfunc.C lyxlex_pimpl.C: ws changes only.
11003 * insets/insettext.C: InsetList changes
11005 * graphics/GraphicsSupport.C (operator()): InsetList changes
11007 * toc.C (getTocList): InsetList changes
11009 * paragraph_pimpl.[Ch]: InsetList changes
11011 * paragraph.[Ch]: InsetList changes
11013 * buffer.C (inset_iterator): InsetList changes
11014 (setParagraph): ditto
11015 * buffer.h (inset_iterator): ditto
11016 * iterators.C (operator++): ditto
11017 * iterators.h: ditto
11019 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11021 * InsetList.[Ch]: new files, most InsetList handling moved out of
11024 * BufferView2.C (removeAutoInsets): InsetList changes
11026 (ChangeInsets): ditto
11028 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11030 * paragraph_pimpl.h (empty): new function
11032 * paragraph.[Ch] (empty): new function
11034 * other files: use the new Paragraph::empty function
11036 2002-08-09 John Levon <levon@movementarian.org>
11038 * lyxtext.h: remove unused refresh_height
11040 2002-08-09 John Levon <levon@movementarian.org>
11047 * paragraph.C: move sgml char escaping out of paragraph
11050 * paragraph.C: remove id setter
11054 * paragraph_pimpl.C: remove dead tex_code_break_column
11056 * bufferview_funcs.C: small cleanup
11058 * lyxfunc.C: remove dead proto
11060 * lyxtext.h: make some stuff private. Remove some dead stuff.
11062 * lyxgluelength.C: make as[LyX]String() readable
11064 2002-08-08 John Levon <levon@movementarian.org>
11069 * ToolbarDefaults.C:
11072 * toc.C: lyxaction cleanup
11074 2002-08-08 John Levon <levon@movementarian.org>
11076 * BufferView2.C: small cleanup
11079 * lyxfind.C: move unnecessary header into the .C
11081 2002-08-08 John Levon <levon@movementarian.org>
11083 * funcrequest.h: just tedious nonsense
11086 * lyx_main.C: cleanups
11089 * vspace.C: remove dead header lyx_main.h
11091 2002-08-07 Angus Leeming <leeming@lyx.org>
11094 * paragraph_pimpl.h:
11095 Forward declare class Counters in paragraph.h by moving the ctrs member
11096 variable into Paragraph::Pimpl.
11097 (counters): new method, returning a reference to pimpl_->ctrs.
11099 * text2.C: ensuing changes.
11101 2002-08-07 John Levon <levon@movementarian.org>
11103 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11105 * BufferView_pimpl.C: announce X selection on double/triple
11108 * lyx_main.C: use correct bool in batch dispatch
11110 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11112 2002-08-07 André Pönitz <poenitz@gmx.net>
11114 * funcrequest.h: new class to wrap a kb_action and its argument
11117 * BufferView_pimpl[Ch]:
11121 * lyxrc.C: subsequent changes
11124 2002-08-07 John Levon <levon@movementarian.org>
11126 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11127 document options change.
11129 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11134 * makefile.am: move counters functionality over from
11135 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11137 2002-08-06 John Levon <levon@movementarian.org>
11139 * WordLangTuple.h: new file for word + language code tuple
11150 * BufferView2.C: use WordLangTuple
11153 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11155 2002-08-06 John Levon <levon@movementarian.org>
11157 * lyx_main.C: fix cmdline batch handling
11159 2002-08-06 André Pönitz <poenitz@gmx.net>
11161 * lyxrc.C: set default for show_banner to true
11163 2002-08-06 John Levon <levon@movementarian.org>
11165 * pspell.C: fix a crash, and allow new aspell to work
11167 2002-08-06 John Levon <levon@movementarian.org>
11170 * kbmap.C: small cleanup
11173 * vspace.C: add const
11175 2002-08-05 John Levon <levon@movementarian.org>
11177 * LyXAction.C: back to tabular-insert
11179 2002-08-04 John Levon <levon@movementarian.org>
11182 * BufferView.C: cosmetic change
11184 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11194 * BufferView2.C: purge all "Lyx" not "LyX" strings
11197 * lyxcursor.C: attempt to add some documentation
11202 * ToolbarDefaults.C:
11203 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11204 merge with LFUN_TABULAR_INSERT
11211 * pspell.C: split up i/pspell implementations into separate
11212 files, many cleanups
11214 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11216 * text2.C: some cleanup
11218 * lyxfunc.C: don't check for isp_command == "none" any more, it
11219 didn't make any sense
11221 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11226 * makefile.am: move counters functionality over
11227 from text2.C/paragraph.[Ch] to counters.[Ch], and
11229 2002-08-02 John Levon <levon@movementarian.org>
11231 * buffer.C: s/lyxconvert/lyx2lyx/
11233 2002-08-02 Angus Leeming <leeming@lyx.org>
11235 * lyxlex.C: revert John's change as it breaks reading of the user
11238 2002-08-02 Angus Leeming <leeming@lyx.org>
11240 * importer.C (Import):
11241 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11242 changes due to LyXView::view() now returning a boost::shared_ptr.
11244 2002-08-02 John Levon <levon@movementarian.org>
11246 * lyxlex.C: small cleanup
11248 2002-08-02 John Levon <levon@movementarian.org>
11250 * text2.C (status): small cleanup, no logic change
11252 2002-08-01 John Levon <levon@movementarian.org>
11255 * buffer.C (writeFile): don't output alerts, caller
11259 * lyx_cb.C: from above
11261 * lyxfunc.C: allow to open non-existent files
11263 2002-07-31 John Levon <levon@movementarian.org>
11265 * lyxserver.C: don't let incidental errors get
11268 2002-07-30 John Levon <levon@movementarian.org>
11270 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11272 2002-07-30 John Levon <levon@movementarian.org>
11275 * lyxserver.C: remove I/O callback too
11277 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11279 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11282 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11284 * many files: strip,frontStrip -> trim,ltrim,rtrim
11286 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11288 * PrinterParams.h: remove extern containsOnly, and include
11289 support/lstrings.h instead.
11291 * LaTeX.C (scanAuxFile): modify because of strip changes
11293 * buffer.C (makeLaTeXFile): ditto
11294 * bufferparams.C (writeFile): ditt
11295 * lyxfont.C (stateText): ditto
11296 * lyxserver.C (read_ready): ditto
11297 * vc-backend.C (scanMaster): ditto
11299 * BufferView_pimpl.h: ws changes
11301 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11303 2002-07-26 André Pönitz <poenitz@gmx.net>
11305 * kb_sequence.C: remove unnedred usings
11307 2002-07-26 Juergen Vigna <jug@sad.it>
11309 * lyxfind.C (LyXReplace): we have to check better if the returned
11310 text is not of theLockingInset()->getLockingInset().
11312 2002-07-25 Juergen Vigna <jug@sad.it>
11314 * lyxfind.C (LyXReplace): don't replace if we don't get the
11317 * undo_funcs.C (createUndo): remove debugging code.
11319 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11321 * buffer.C (parseSingleLyXformat2Token): Use default placement
11322 when reading old floats.
11324 * FloatList.C (FloatList): Change the default placement of figure
11325 and tables to "tbp".
11327 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11329 * MenuBackend.C: using std::max
11331 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11333 * MenuBackend.C (expandToc):
11334 (expandToc2): code moved from xforms menu frontend. It is now
11335 generic and TOCs are transparent to menu frontends.
11337 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11339 * toc.C (getTocList): protect against buf=0
11341 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11342 Menu as first parameter. Now, this calls itself recursively to
11343 expand a whole tree (this will be useful for TOC handling)
11344 (expandFloatInsert): remove 'wide' version of floats
11346 * MenuBackend.h (submenuname): returns the name of the submenu.
11347 (submenu): returns the submenu itself, provided it has been
11348 created by MenuBackend::expand
11350 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11352 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11353 insets which have noFontChange == true. (bug #172)
11355 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11357 * BufferView_pimpl.C: add connection objects and use them...
11360 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11362 * MenuBackend.C (expandLastfiles):
11365 (expandFloatListInsert):
11366 (expandFloatInsert):
11367 (expand): split expand in parts
11369 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11371 * lyx_gui.C: use lyx_gui::exit()
11373 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11375 * LyXAction.C: show the failing pseudo action
11377 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11379 * buffer.C (readFile): Run the lyxconvert script in order to read
11382 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11386 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11388 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11392 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11394 2002-07-22 Herbert Voss <voss@lyx.org>
11397 * lyxlength.[Ch]: add support for the vertical lengths
11399 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11401 * toc.[Ch]: std:: fixes
11403 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11405 * lyxrc.C: do not include lyx_main.h
11407 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11413 * BufferView2.C: include "lyxlex.h"
11416 * bufferparams.h: do not #include "lyxlex.h"
11418 * lyxtextclasslist.C (Add): remove method
11419 (classlist): renamed to classlist_
11421 * paragraph_pimpl.C:
11425 * bufferview_funcs.C:
11430 * toc.C (getTocList): use BufferParams::getLyXTextClass
11432 * toc.C (getTocList): use InsetFloat::addToToc
11434 * toc.[Ch]: new files, containing helper functions to handle table
11437 * lyxfunc.C (dispatch): no need to remove spaces around command
11439 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11440 first command of the sequence; it is not very clever, but I do not
11441 have a better idea, actually
11443 * LyXAction.C (LookupFunc): make sure to remove space at the
11444 beginning and end of the command
11446 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11448 * MenuBackend.C (getMenubar): new method: return the menubar of
11450 (read): treat differently reading of menu and menubar (in
11451 particular, the menubar has no name now)
11452 (Menu::menubar): remove
11454 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11457 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11459 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11460 a bibitem inset in a RTL paragraph.
11462 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11464 * paragraph_pimpl.C: constify
11466 * BufferView_pimpl.C:
11468 * lyxfunc.C: fix dispatch in a nicer way
11470 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11472 * lyxfunc.C (dispatch):
11473 * BufferView_pimpl.C:
11474 * BufferView_pimpl.h:
11476 * BufferView.h: rename Dispatch() to dispatch()
11478 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11480 * lyxlayout.C (Read): honor DependsOn tag
11482 * lyxlayout.[Ch] (depends_on): new method
11484 * version.C.in: update lyx_docversion
11486 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11488 * paragraph.C (validate): remove from here...
11489 * paragraph_pimpl.C (validate): ... and move here
11490 (isTextAt): make it const
11492 * buffer.C (getLists): ws cleanup
11494 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11496 * language.C (read): Use iso8859-1 encoding in latex_lang
11497 (this prevents LyX from crashing when using iso10646-1 encoding).
11499 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11501 * text2.C (toggleInset): if cursor is inside an inset, close the
11502 inset and leave cursor _after_ it
11504 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11506 * lyxfunc.C: move minibuffer completion handling out of here
11508 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11510 * BufferView_pimpl.C:
11511 * LaTeX.C: fix dispatch calls
11513 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11515 * text.C (drawChars): Fix Arabic text rendering.
11517 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11521 * lyxfunc.C: remove message-push/pop
11525 * lyxfunc.C: rationalise some code by removing verboseDispatch
11526 in favour of a bool argument to dispatch()
11528 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11530 * lyx_main.C (init): make sure to read symlinks as absolute paths
11532 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11535 * lyxfunc.C: no need for commandshortcut to be a member
11537 2002-07-15 André Pönitz <poenitz@gmx.net>
11539 * converter.C: add support for $$s (scripts from lib/scripts dir)
11540 * lyx_main.C: white space
11542 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11546 * lyxrc.C: remove second exit confirmation
11548 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11553 * BufferView_pimpl.h:
11554 * BufferView_pimpl.C:
11555 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11557 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11559 * MenuBackend.C (expand): add numeric shortcuts to document menu
11561 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11563 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11565 * lyxfont.C (setLyXFamily):
11572 * buffer.C (asciiParagraph): use ascii_lowercase
11574 2002-07-15 Mike Fabian <mfabian@suse.de>
11576 * lyxlex_pimpl.C (search_kw):
11577 * lyxlex.C (getLongString):
11578 * converter.h (operator<):
11579 * converter.C (operator<):
11580 * buffer.C (parseSingleLyXformat2Token):
11582 * ToolbarDefaults.C (read):
11583 * MenuBackend.C (checkShortcuts):
11585 * LColor.C (getFromGUIName):
11586 (getFromLyXName): use the compare_ascii_no_case instead of
11587 compare_no_case, because in turkish, 'i' is not the lowercase
11588 version of 'I', and thus turkish locale breaks parsing of tags.
11590 2002-07-16 Angus Leeming <leeming@lyx.org>
11592 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11593 now takes a Buffer const & argument.
11595 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11597 * BufferView.C (resize): check there's a buffer to resize
11599 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11601 * lyxfunc.C: remove dead code
11604 * lyxserver.C: use lyx_guii::set_read_callback
11606 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11608 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11609 an inset in a RTL paragraph.
11611 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11613 * lyxfunc.C: repaint after a font size update
11615 2002-07-15 André Pönitz <poenitz@gmx.net>
11617 * lyxlength.C: inBP should be able to return negative values
11619 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11621 * lyxfunc.C: use lyx_gui::update_fonts()
11623 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11625 * lyxfunc.C: use lyx_gui::update_color()
11627 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11633 * lyxrc.C: remove file->new asks for name option, and let
11634 buffer-new take an argument
11636 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11638 * BufferView_pimpl.C: remove unneeded extra repaint()
11640 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11642 * LyXAction.C: allow command-sequence with NoBuffer
11644 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11646 2002-07-10 Angus Leeming <leeming@lyx.org>
11648 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11650 2002-07-09 Angus Leeming <leeming@lyx.org>
11652 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11654 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11656 * lengthcommon.h: whitespace
11658 * lyxfunc.C: update scrollbar after goto paragraph
11660 * lyxtext.h: factor out page break drawing, and fix it so
11661 page break/added space paints as selected nicely
11663 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11665 * BufferView_pimpl.C: add FIXMEs, clean up a little
11667 2002-07-09 André Pönitz <poenitz@gmx.net>
11669 * lyxfont.[Ch]: support for wasy symbols
11671 2002-07-08 André Pönitz <poenitz@gmx.net>
11673 * BufferView_pimpl.C: apply John's patch for #93.
11675 2002-07-05 Angus Leeming <leeming@lyx.org>
11677 * BufferView_pimpl.C (buffer): generate previews if desired.
11679 * LColor.h: add "preview" to the color enum.
11681 * LColor.C (LColor): add a corresponding entry to the items array.
11683 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11686 2002-07-05 Angus Leeming <leeming@lyx.org>
11688 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11689 The body of the code is now in the method that is passed an ostream &
11690 rather than a file name.
11691 Pass an additional only_preamble parameter, useful for the forthcoming
11694 2002-07-03 André Pönitz <poenitz@gmx.net>
11696 * lyxfunc.C: simplify getStatus() a bit for math stuff
11698 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11700 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11702 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11704 * text.C (changeRegionCase): do not change case of all the
11705 document when region ends at paragraph end (bug #461)
11707 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11709 * paragraph.C (startTeXParParams):
11710 (endTeXParParams): add \protect when necessary
11712 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11714 * BufferView_pimpl.C (workAreaExpose): remove warning
11716 2002-06-27 Angus Leeming <leeming@lyx.org>
11718 * Makefile.am: add lyxlayout_ptr_fwd.h.
11720 2002-06-26 André Pönitz <poenitz@gmx.net>
11722 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11724 2002-06-25 Angus Leeming <leeming@lyx.org>
11726 * lyxfunc.C (dispatch): Comment out the call to
11727 grfx::GCache::changeDisplay. The method no longer exists now that the
11728 pixmap generation part of the graphics loader has been moved into
11731 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11733 * text2.C: layout as layout
11735 * text.C: layout as layout
11737 * tabular.C (OldFormatRead): layout as layout
11739 * paragraph_pimpl.C (TeXDeeper): layout as layout
11740 (realizeFont): layout as layout
11742 * paragraph.C (writeFile): layout as layout
11743 (validate): layout as layout
11744 (getFont): layout as layout
11745 (getLabelFont): layout as layout
11746 (getLayoutFont): layout as layout
11747 (breakParagraph): layout as layout
11748 (stripLeadingSpaces): layout as layout
11749 (getEndLabel): layout as layout
11750 (getMaxDepthAfter): layout as layout
11751 (applyLayout): layout as layout
11752 (TeXOnePar): layout as layout
11753 (simpleTeXOnePar): layout as layout
11754 (TeXEnvironment): layout as layout
11755 (layout): layout as layout
11756 (layout): layout as layout
11758 * lyxtextclass.C (compare_name): new functor to work with
11759 shared_ptr, layout as layout
11760 (Read): layout as layout
11761 (hasLayout): layout as layout
11762 (operator): layout as layout
11763 (delete_layout): layout as layout
11764 (defaultLayout): layout as layout
11766 * lyxlayout_ptr_fwd.h: new file
11768 * lyxlayout.C (Read): layout as layout
11770 * lyx_cb.C (MenuInsertLabel): layout as layout
11772 * bufferlist.C (newFile): layout as layout
11774 * buffer.C (readLyXformat2): layout as layout
11775 (parseSingleLyXformat2Token): layout as layout
11776 (insertStringAsLines): layout as layout
11777 (asciiParagraph): layout as layout
11778 (latexParagraphs): layout as layout
11779 (makeLinuxDocFile): layout as layout
11780 (simpleLinuxDocOnePar): layout as layout
11781 (makeDocBookFile): layout as layout
11782 (simpleDocBookOnePar): layout as layout
11783 (getLists): layout as layout
11785 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11787 * CutAndPaste.C (cutSelection): layout as layout
11788 (pasteSelection): layout as layout
11789 (SwitchLayoutsBetweenClasses): layout as layout
11791 * BufferView_pimpl.C (Dispatch): layout as layout
11792 (smartQuote): layout as layout
11794 * BufferView2.C (unlockInset): layout as layout
11796 2002-06-24 André Pönitz <poenitz@gmx.net>
11798 * lyxfunc.C: fix #487
11800 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11804 * lyxfunc.C: remove display_shortcuts, show_banner
11806 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11808 * Buffer_pimpl.C: oops, update on resize
11810 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11817 * BufferView.C: use repaint()
11819 * BufferView_pimpl.h:
11820 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11821 as it's a clearer description. Remove superfluous
11824 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11826 * text.C: fix bug 488. Not ideal, but getting
11827 getWord() to work properly for the insets that
11828 matter is more difficult ...
11830 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11832 * BufferView_pimpl.C:
11835 * lyxfunc.C: remove the six million index lyxfuncs to just
11836 one, and DTRT (bug 458)
11838 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11842 * BufferView_pimpl.h:
11843 * BufferView_pimpl.C: clean up resize() stuff,
11844 and unnecessary updateScreen()s
11846 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11850 * BufferView_pimpl.h:
11851 * BufferView_pimpl.C:
11854 * minibuffer.C: remove focus management of workarea,
11855 not needed. Use screen's greyOut()
11857 2002-06-17 Herbert Voss <voss@lyx.org>
11859 * converter.C: (convert) do not post a message, when converting
11860 fails, let the calling function decide what to do in this case
11862 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11864 * lyxfunc.C: tidy up a little
11866 2002-06-16 <alstrup@diku.dk>
11868 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11869 Got rid of FORMS_H_LOCATION include. Now we are
11872 2002-06-15 LyX Development team <lyx@rilke>
11874 * buffer.[Ch] (sgmlOpenTag):
11875 (sgmlCloseTag): Added support for avoiding pernicious mixed
11876 content. Return number of lines written.
11878 (makeLinuxDocFile):
11879 (makeDocBookFile): Fixed calls to sgml*Tag.
11880 Simple white space clean.
11882 (simpleDocBookOnePar): Simple white space clean.
11884 * tabular.[Ch] (docBook): Renamed to docbook and got another
11885 argument to related with the pernicious mixed content.
11887 (docbookRow): Fixed calls for docbook inset method.
11889 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11891 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11892 so it's X11 independent.
11896 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11898 2002-06-15 Lyx Development team <lyx@electronia>
11900 * intl.h: Renamed getTrans to getTransManager.
11902 2002-06-14 Angus Leeming <leeming@lyx.org>
11904 * Makefile.am: nuke forgotten stl_string_fwd.h.
11906 2002-06-12 Angus Leeming <leeming@lyx.org>
11908 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11910 2002-06-13 Angus Leeming <leeming@lyx.org>
11913 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11915 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11917 * kbmap.C (getiso): add support for cyrillic and greek
11919 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11923 * BufferView_pimpl.h:
11924 * BufferView_pimpl.C: move bogus scrolling logic
11927 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11930 * BufferView_pimpl.C: view->resize() change
11932 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11934 * BufferView_pimpl.C: topCursorVisible
11937 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11941 * lyx_gui.C: move to frontends/
11945 * lyx_main.C: changes from above
11947 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11954 * lyx_main.C: minor tidy
11956 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11958 * BufferView_pimpl.h:
11959 * BufferView_pimpl.C:
11961 * BufferView.C: make painter() const,
11964 * BufferView2.C: use screen() accessor
11967 * lyx_main.C: some minor cleanup
11969 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11971 * BufferView_pimpl.h:
11972 * BufferView_pimpl.C: remove enter/leaveView,
11975 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11980 * BufferView_pimpl.h:
11981 * BufferView_pimpl.C: only construct screen once,
11984 * lyxrc.C: remove pointless comment
11986 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11989 * BufferView.C: remove active() and belowMouse()
11991 * BufferView_pimpl.h:
11992 * BufferView_pimpl.C: use workarea() not workarea_,
11993 and make it use a scoped_ptr instead
11995 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11997 * lyx_gui.C: add debug message on BadWindow
11999 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
12001 * sp_spell.C: fdopen is not part of the C++ standard.
12003 * paragraph.C (InsetIterator): use >= instead of ==
12005 2002-06-07 Angus Leeming <leeming@lyx.org>
12007 Fixes needed to compile with Compaq cxx 6.5.
12008 * BufferView_pimpl.C:
12015 * lyxtextclasslist.C:
12020 all c-library variables have been moved into namespace std. Wrap
12021 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12026 Add a using std::abs declaration.
12028 * kbmap.h (modifier_pair):
12029 * paragraph.h (InsetTable, InsetList):
12030 * lyxfont.h (FontBits):
12031 type definition made public.
12033 * bufferlist.C (emergencyWriteAll): the compiler complains that
12034 there is more than one possible lyx::class_fun template to choose from.
12035 I re-named the void specialisation as lyx::void_class_fun.
12037 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12039 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12040 the compiler is is unable to find tostr in write_attribute.
12042 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12044 * buffer.C (sgmlError): hide #warning
12046 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12048 * xtl/*: get rid of xtl, which is not in use anyway
12050 * LyXAction.C (init):
12051 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12052 were unimplemented xtl experimentation
12054 2002-06-04 André Pönitz <poenitz@gmx.net>
12056 * lyxfunc.C: disable array operation on simple formulae
12058 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12060 * converter.C: constify a bit
12062 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12064 * lyx_gui.C: check xforms version correctly
12066 2002-04-30 Herbert Voss <voss@lyx.org>
12068 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12071 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12073 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12074 attempt to register it with a VCS)
12076 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12078 * lyx_main.C (init): honor variables LYX_DIR_13x and
12081 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12085 * lyx_main.C: fix a crash on bad command line,
12086 and give a useful exit status on error
12088 * lyxfunc.C (doImport): allow -i lyx to work
12090 2002-03-30 André Pönitz <poenitz@gmx.net>
12092 * lyxfunc.C: mathed font changes
12094 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12109 * trans_mgr.h: srcdocs, and some minor cleanups
12111 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12113 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12114 call getFont all the time)
12116 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12118 * switch from SigC signals to boost::signals
12120 2002-05-29 André Pönitz <poenitz@gmx.net>
12122 * paragraph_pimpl.C (getChar): don't call size() too often...
12124 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12126 * paragraph_pimpl.C (insertChar): do not try to update tables when
12127 appending (pos == size())
12129 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12130 in order to reduce drastically the number of comparisons needed to
12131 parse a large document
12133 2002-05-29 André Pönitz <poenitz@gmx.net>
12139 * textclasslist.[Ch]:
12140 * sp_ispell.h: whitespace change
12142 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12144 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12145 lyxaction directly now.
12147 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12151 * lyxvc.C: remove unused headers
12153 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12160 * undo_funcs.C: some cleanups. Use shared_ptr
12161 and a template for the undo stacks.
12163 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12165 * BufferView_pimpl.h:
12166 * BufferView_pimpl.C:
12173 * text2.C: use key_state/mouse_state
12175 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12177 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12180 * chset.C: change include order
12181 (loadFile): use boost regex and get rid of LRegex and LSubstring
12183 * Makefile.am (BOOST_LIBS): new variable
12184 (lyx_LDADD): use it
12186 * LaTeX.C: change include order.
12187 (scanAuxFile): use boost regex and get rid of LRegex and
12191 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12196 * FontInfo.C: moved to frontends/xforms/
12199 * FontLoader.C: moved into frontends for GUIIzation
12204 * lyxfunc.C: changes from above
12206 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12208 * LColor.C: remove spurious X include
12210 * BufferView_pimpl.C:
12215 * text2.C: move font metrics to frontends/
12217 2002-05-24 Juergen Vigna <jug@sad.it>
12219 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12220 setting the undo_cursor.
12222 * ParagraphParameters.h: include local includes first.
12224 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12226 * BufferView_pimpl.C:
12227 * BufferView_pimpl.h:
12231 * screen.C: move WorkArea into frontends/
12237 * BufferView2.C: move LyXScreen into frontends/
12241 * lyx_gui.C: move lyxlookup into frontends/xforms/
12243 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12246 * BufferView_pimpl.C:
12256 * bufferview_funcs.C:
12269 * vc-backend.C: move LyX/XFormsView into frontends/
12271 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12283 * text2.C: move Painter to frontends/
12285 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12287 * buffer.C: comment out some some code that depend upon lyx_format
12290 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12291 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12293 * buffer.h (NO_COMPABILITY): turn off compability
12295 * ColorHandler.C: include scoped_array.hpp
12297 * font.C: Use more specific smart_ptr header.
12300 * ShareContainer.h: ditto
12301 * lyx_main.h: ditto
12303 * FontInfo.h: ditto
12304 * BufferView_pimpl.h: ditto
12305 * ColorHandler.h: ditto
12307 * kbmap.C (defkey): change call to shared_ptr::reset
12309 2002-05-21 Juergen Vigna <jug@sad.it>
12311 * buffer.C (insertErtContents): fix to insert ert asis if it is
12312 non empty. Skip it completely if it contains only whitespaces.
12314 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12316 * BufferView_pimpl.C:
12317 * BufferView2.C: clear selection on paste (bug 393)
12319 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12321 * DepTable.C: include ctime
12323 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12325 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12327 2002-05-14 Juergen Vigna <jug@sad.it>
12329 * text.C (breakParagraph): fixed function to honor the keepempty
12330 layout in the right maner and also to permit the right breaking
12331 algorithm on empty or non empyt keepempty paragraphs.
12333 * paragraph.C (breakParagraph): we have to check also if the par
12334 is really empty (!size()) for isempty otherwise we do the wrong
12337 2002-05-10 Juergen Vigna <jug@sad.it>
12339 * buffer.[Ch] : The following are only changes to the ert
12340 compatibility read reading old LaTeX layout and font stuff and
12341 convert it to ERTInsets.
12343 * buffer.h: added isErtInset().
12345 * buffer.C (struct ErtComp): add a fromlayout bool to check
12346 if we're inside a LaTeX layout.
12347 (isErtInset): new helper function.
12348 (insertErtContents): look for other ert insets before this one
12349 and insert the contents there, so that we don't have subsequent
12350 ERT insets with nothing between them. This way we create only one
12351 inset with multiple paragraphs. Also check if we don't insert only
12352 spaces ' ' as they are ignored anyway afterwards in the .tex file
12353 so if we have only spaces we will ignore this latex part in the
12355 (parseSingleLyXformat2Token \\layout): better compatibility when
12356 reading layout-latex stuff.
12357 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12359 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12360 stuff after reading the inset only get the information back from
12363 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12365 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12367 * LaTeXFeatures.C (getBabelOptions): New method.
12369 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12371 * BufferView_pimpl.C (Dispatch): work around missing argument for
12374 2002-05-08 Juergen Vigna <jug@sad.it>
12376 * text.C (leftMargin): handle paragraph leftindent.
12378 * paragraph.C (writeFile): write the new \\leftindent tag.
12379 (validate): handle leftindent code.
12380 (TeXEnvironment): handle paragraphleftindent code again.
12382 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12384 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12385 for paragrap_extra indent code and new token \\leftindent.
12386 (latexParagraphs): handle the leftindent as environment.
12388 * ParameterStruct.h: added leftindent support.
12390 * ParagraphParameters.C (leftIndent): added support functions for
12391 the paragraph left indent.
12393 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12396 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12398 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12401 * text.C (computeBidiTables): No bidi in insetERT.
12403 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12406 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12408 * version.C.in: pre 5
12410 2002-05-02 José Matos <jamatos@fep.up.pt>
12411 * buffer.C (makeDocBookFile): white space changes, add newline to
12413 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12415 * tabular.C (docBook): fix typo.
12417 2002-05-03 Juergen Vigna <jug@sad.it>
12419 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12420 change in LyXText as we can not be sure it was not freed.
12421 (drawOneRow): remove unused code.
12423 * text.C (drawInset): redo the calculation of the need_break_row as
12424 it could have a row which was already freed.
12425 (draw): look at the return value of drawInset and return false if
12426 it also returned false.
12427 (paintRowText): look at the return value of draw and return false if
12428 it also returned false.
12430 * lyxtext.h: added bool return type to drawInset() and draw() so that
12431 if we have a change in the row so that the rowbreak has to be redone
12432 we abort drawing as it will be called again.
12434 2002-05-02 Juergen Vigna <jug@sad.it>
12436 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12437 a change in the maintext also if we're inside an inset.
12438 (Dispatch): set the cursor again after a break line and after the
12439 screen has been updated as it could be we're in a different row.
12441 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12442 to set the cursor behind the pargraph with > size().
12443 (setCursor): check also for the same paragraph when checking where
12444 to put the cursor if we have a NFR inset.
12446 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12447 parts of layout read further up as it still was in the wrong
12450 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12452 * screen.C (drawFromTo): change sine fullRebreak always return
12455 * buffer.C (parseSingleLyXformat2Token): reindent some
12457 * BufferView_pimpl.C (update): change since fullRebreak always
12459 (Dispatch): git rid of the last hardcoded "Standard"s.
12461 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12463 * text2.[Ch] (fullRebreak): make it return void now that we always
12466 2002-04-30 Juergen Vigna <jug@sad.it>
12468 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12469 ert compatibility check for "latex" layout.
12471 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12473 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12474 minipages: use col% instead of p%, and also use the current font.
12475 (makeLaTeXFile): Fix use babel condition.
12476 (parseSingleLyXformat2Token): Correct font when reading old floats.
12478 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12480 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12481 inserting list of floats.
12483 2002-04-25 Herbert Voss <voss@lyx.org>
12485 * MenuBackend.C (expand): don't add the graphics extensions to the
12488 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12490 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12491 non-existing layout, do not complain if it was the default layout
12492 of the original class (bug #342)
12494 2002-04-24 Juergen Vigna <jug@sad.it>
12496 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12497 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12499 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12501 * buffer.C (getBibkeyList): If using \bibliography, return the
12502 option field with the reference itself. Enables us to provide natbib
12503 support when using \bibliography.
12505 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12507 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12509 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12510 natbib is provided by the LaTeX class.
12512 2002-04-23 Juergen Vigna <jug@sad.it>
12514 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12517 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12519 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12521 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12523 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12524 ensuremath around textordmasculine, textordfeminine and
12527 2002-04-19 Juergen Vigna <jug@sad.it>
12529 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12530 reinitializing the buffer otherwise row-dimensions may be wrong.
12531 (update): reset also the selection cursors if they do exits otherwise
12532 their x/y positions may be wrong.
12534 * text2.C (cursorDown): don't enter the inset if we came from a row
12535 above and are one row over the inset.
12537 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12538 really leaving an inset.
12540 2002-04-18 Juergen Vigna <jug@sad.it>
12542 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12543 of the selected paragraph does not have the selected layout also if
12546 * text2.C (setLayout): fixed bug which did not change last selected
12549 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12550 changed the read and substituted \\end_float with \\end_inset!
12552 * BufferView_pimpl.C (cursorPrevious):
12553 (cursorNext): fixed to make it work with rows heigher than the work
12554 area without moving the cursor only the draw of the row.
12555 (workAreaMotionNotify): fix jumping over high rows.
12557 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12559 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12562 2002-04-16 Juergen Vigna <jug@sad.it>
12564 * text2.C (setCursor): set also the irow().
12565 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12567 (cursorDown): support for locking an inset if the x_fix value goes
12568 inside it. That way I can transverse insets too with cursor up/down.
12570 * lyxrow.h: added irow helper function same as other (i) functions.
12572 * BufferView_pimpl.C (cursorPrevious):
12573 (cursorNext): fixed for insets!
12575 2002-04-15 Juergen Vigna <jug@sad.it>
12577 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12578 position otherwise it is wrong in some cases.
12580 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12581 inside the inset before the call.
12583 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12585 * buffer.[Ch] (getBibkeyList): make it const.
12587 2002-04-12 Juergen Vigna <jug@sad.it>
12589 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12591 * text2.C (getCursorX): new helper function
12592 (setCursor): compute also ix_
12593 (setCursorFromCoordinates): set also ix.
12595 * lyxcursor.h: added ix_ and helper functions.
12597 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12599 * buffer.C (insertStringAsLines): dont break paragraph if the this
12600 paragraph is inside an inset which does not permit it!
12602 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12603 also with no chars on this paragraph.
12604 (paintRowText): only paint stuff if it's inside the workarea!
12606 * paragraph.C (breakParagraph): honor keepempty flag and break the
12607 paragraph always below not above.
12609 * BufferView2.C (unlockInset): update the paragraph layout on inset
12610 unlock as we changed paragraph in such a case.
12612 * lyxfind.C (LyXFind): clear the former selection if not found!
12614 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12615 again called in insertChar().
12617 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12618 an inset which uses the whole row!
12619 (rightMargin): ditto.
12620 (insertChar): force a rebreak if we inserted an inset!
12622 2002-03-28 Herbert Voss <voss@lyx.org>
12624 * lyxlength.[Ch]: add inBP() to get the right PS-point
12625 units (BigPoint). With inPixels we have rounding errors
12627 2002-04-11 Juergen Vigna <jug@sad.it>
12629 * text2.C (setCursorFromCoordinates): set iy to the right value.
12630 (setCursor): add check if row->previous exists!
12632 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12633 an old float_type as this was the case in the old code!
12635 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12637 * BufferView2.C (showLockedInsetCursor): use iy
12638 (fitLockedInsetCursor): ditto
12640 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12641 locked insets as there we have the right value now.
12643 * lyxcursor.C: added iy_ variable and iy functions to set to the
12644 baseline of cursor-y of the locked inset.
12646 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12647 (setCursor): fixed for insets which need a full row.
12649 * text.C (rowLastPrintable): don't ignore the last space when before
12650 an inset which needs a full row.
12651 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12652 as last character of a row when before a inset which needs a full row.
12654 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12656 * version.C.in: update date
12658 * text2.C (fullRebreak): try to always return true and see what
12661 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12663 * MenuBackend.C (expand): use Floating::listName
12665 * FloatList.C (FloatList): add listName argument to the built-in
12668 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12669 text associated with the float.
12671 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12673 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12675 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12677 * ShareContainer.h: add a couple of missing typenames.
12679 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12681 * lyxrc.C (getDescription): use _() correctly rather than N_().
12683 2002-03-28 Herbert Voss <voss@lyx.org>
12685 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12686 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12688 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12690 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12691 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12693 2002-03-29 Juergen Vigna <jug@sad.it>
12695 * lyxfunc.C (dispatch): add a missing fitCursor call.
12697 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12698 it was scrolled by a cursor move, so return the bool status.
12700 * BufferView.C (fitCursor): return the bool flag also to the outside
12701 world as this is needed.
12703 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12705 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12706 call the edit() as it is not needed (and wrong) IMO.
12707 (workAreaButtonPress): set the screen_first variable before evt.
12708 unlock the inset as this may change screen_first and then we have
12709 a wrong y position for the click!
12711 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12713 * MenuBackend.C (expand): another translation that I missed
12715 2002-03-28 Juergen Vigna <jug@sad.it>
12717 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12719 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12721 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12723 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12725 * MenuBackend.C (expand): fix export/view/update when there is no
12728 2002-03-27 Herbert Voss <voss@lyx.org>
12730 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12733 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12735 * bufferview_funcs.C (currentState): only show paragraph number
12736 for is DEVEL_VERSION is set.
12738 * lyxfunc.C (dispatch): put warning in INFO channel
12740 * MenuBackend.C (expand): translate the name of floats
12742 * FloatList.C (FloatList): mark the float names for translation
12744 * converter.C (convert): use LibScriptSearch
12746 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12748 * MenuBackend.C (defaults): fix default menu (we might as well get
12751 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12753 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12756 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12758 * lyxvc.C: reorder includes.
12760 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12762 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12765 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12767 * CutAndPaste.C: change layouts earlier on paste
12768 to avoid crashing when calling getFont()
12770 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12772 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12775 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12777 * WorkArea.C: remove 'Pending' debug message.
12779 * most files: ws cleanup
12781 * buffer.[Ch]: ws changes
12783 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12785 2002-03-21 Juergen Vigna <jug@sad.it>
12787 * tabular.C (SetMultiColumn): collapse also the contents of the
12788 cells and set the last border right. Added a Buffer const * param.
12790 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12792 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12795 2002-03-19 Juergen Vigna <jug@sad.it>
12797 * text2.C (clearSelection): reset also xsel_cache.
12799 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12800 where it needs to be called (John tells us to do so too :)
12801 (selectionLost): reset sel_cache.
12803 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12805 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12807 * text2.C (setCursorIntern): put debuging code in INSETS channel
12809 2002-03-19 André Pönitz <poenitz@gmx.net>
12811 * lyxfunc.C: tiny whitespace change
12813 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12815 * ToolbarDefaults.C (init):
12816 * LyXAction.C (init):
12818 * BufferView_pimpl.C (Dispatch):
12819 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12821 2002-03-19 Allan Rae <rae@lyx.org>
12823 * exporter.C (Export): removeAutoInsets before doing anything else.
12824 While I've just introduced a dependency on BufferView this really is
12825 the best place to clean the buffer otherwise you need to cleanup in
12826 a dozen places before calling export or cleanup in a dozen functions
12829 * converter.C (runLaTeX):
12830 (scanLog): Better handling of removeAutoInsets and screen updates.
12832 * lyxfunc.C (dispatch): small whitespace changes
12834 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12836 * WorkArea.C (C_WorkAreaEvent): return a value.
12837 (event_cb): return 1 if we handled the event, 0 otherwise.
12839 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12841 2002-03-18 Juergen Vigna <jug@sad.it>
12843 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12844 (GetAdditionalWidth): ditto.
12845 (RightLine): ditto.
12848 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12849 inset if we're there actually (probably not used right now but this
12850 is the direction to go for unifying code).
12851 (paste): disable code to clear the selection.
12853 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12854 inside an InsetText and move the check further up as it is in the
12857 * text2.C (pasteSelection): set a selection over the pasted text.
12859 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12861 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12862 and libgraphics to build on Cygwin.
12864 2002-03-15 Juergen Vigna <jug@sad.it>
12866 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12867 inserting an Inset into the paragraph. I know this is not the best
12868 fix but we already use current_view in CutAndPaste so we will remove
12869 all of it's using at the same time.
12871 * buffer.C (sgmlError): deactivated function till it is rewritten in
12872 the right mode, now it can create problems.
12874 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12875 before accessing it.
12877 2002-03-14 Juergen Vigna <jug@sad.it>
12879 * undo_funcs.C (textHandleUndo): do the right thing when updating
12880 the inset after the undo/redo.
12882 * text2.C (setCursor): just some testcode for #44 not ready yet.
12884 * undo_funcs.C (textHandleUndo): set the next() and previous()
12885 pointers of the paragraph to 0 before deleting otherwise we have
12886 problems with the Paragraph::[destructor].
12888 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12889 on a paragraph insertion.
12891 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12893 * buffer.C (asciiParagraph): use += operator for char append to
12896 * paragraph.C (getFontSettings): compare >= not just >
12897 (highestFontInRange): ditto
12900 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12902 * paragraph.C: change several algorithm to be more appripriate for
12903 the problem domain. This is lookip in FontList and in the InsetList.
12905 2002-03-13 André Pönitz <poenitz@gmx.net>
12908 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12910 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12915 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12917 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12919 * Painter.C (display): anon helper function, adjust code for this
12921 (pixmap): remove function.
12923 * Painter.h: remove private display variable.
12925 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12927 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12929 * WorkArea.[Ch]: remove figinset_canvas cruft.
12931 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12933 * lyxtextclass.C (operator): add one item cache optimization.
12935 * bufferlist.h: doxy changes
12937 * bufferlist.C: ws changes
12939 * DepTable.[Ch] (ext_exist): place const in the right spot.
12941 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12943 (workAreaExpose): call resizeInsets when the with BufferView changes.
12944 (Dispatch): adjust for protectedBlank removal
12945 (specialChar): call updateInset if the insert went ok.
12947 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12948 specialChar instead.
12950 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12952 * BufferView.h: doxy change
12954 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12956 * lyxtextclass.C (operator[]): remove non-const version
12957 (defaultLayout): remove non-const version
12959 2002-03-12 Juergen Vigna <jug@sad.it>
12961 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12962 did resize the LyXText too.
12964 * buffer.C (readLyXformat2): set layout information on newly allocated
12967 * tabular.C (OldFormatRead): set layout information on the paragraph.
12969 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
12971 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12973 2002-03-11 Juergen Vigna <jug@sad.it>
12975 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12977 (resizeCurrentBuffer): force also the insets to resize themselfes.
12978 (moveCursorUpdate): fixed up for InsetText.
12980 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12983 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12984 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12985 value of Dialogs::tooltipsEnabled().
12986 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12988 2002-03-08 Juergen Vigna <jug@sad.it>
12990 * BufferView_pimpl.C (updateInset): update inset inside inset also
12991 if it isn't inside theLockingInset().
12993 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12995 * buffer.C (asciiParagraph): redo some of the word and line length
12997 (getLists): look for Caption instead of caption.
12999 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13001 * buffer.C (Buffer): initialize niceFile to true
13003 (makeLinuxDocFile):
13004 (makeDocBookFile): make sure niceFile is true on exit
13006 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13008 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13010 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13012 * LyXSendto.C: remove.
13013 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13014 * lyx_gui.C: remove now-redundant comment.
13015 * ColorHandler.h: remove forward declaration of class WorkArea.
13016 * lyxfunc.C: remove #include "WorkArea.h".
13018 2002-03-07 Juergen Vigna <jug@sad.it>
13020 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13021 got moved away with the DEPM and also set the inset_owner always
13022 right which before could have been omitted.
13024 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13026 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13027 wanted layout is not found.
13029 2002-03-07 Juergen Vigna <jug@sad.it>
13031 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13033 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13035 * paragraph.C (breakParagraph): use default layout not layout of
13037 (Paragraph): clear ParagraphParameters.
13039 2002-03-06 Juergen Vigna <jug@sad.it>
13041 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13042 otherwise it would not be a valid lenght. Fixed a special case in
13043 the minipage compatibility read where we end the document with a
13046 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13047 was set as it could be 0 for InsetTexts first entry.
13049 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13051 * paragraph.C (writeFile): if layout is empty write out
13052 defaultLayoutName().
13054 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13055 file without named layout we set layout to defaultLayoutName().
13057 2002-03-06 Juergen Vigna <jug@sad.it>
13059 * CutAndPaste.C (copySelection): set layout for new paragraph.
13061 * text.C (prepareToPrint): leave ERT inset left aligned
13062 (leftMargin): don't indent paragraphs inside ERT insets
13064 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13066 * paragraph.C (breakParagraph): dont call clear do the work manually
13068 * paragraph.[Ch] (clear): remove function
13070 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13072 * paragraph.C (Paragraph): dont call clear, the work has already
13075 * lyxtextclass.C (operator): assert if n is empty
13077 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13078 work manually instead.
13080 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13082 * BufferView_pimpl.C: protect selectionLost against text == 0
13084 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13086 * text.C (breakParagraph): fix a setting layout to '0' problem.
13088 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13090 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13091 final location of file, for the included files, and graphics.
13093 2002-03-05 Juergen Vigna <jug@sad.it>
13095 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13097 2002-03-04 Juergen Vigna <jug@sad.it>
13099 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13101 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13102 last column of multicolumn cells.
13103 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13105 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13107 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13108 file if it doesn't go to a temporary file.
13110 * buffer.C (sgmlOpenTag):
13111 (sgmlCloseTag): remove extra newline insertion.
13113 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13115 * text.C (getRowNearY): comment out debug msg
13117 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13119 * text2.C: first -> first_y
13121 * text.C (getRowNearY): add some attemts at a possible
13122 optimization, not working.
13124 * tabular.[Ch]: add BufferParams to several function so that newly
13125 created paragraph can be initialized to he default layotu for the
13128 * tabular-old.C (ReadOld): add buf->params to call of Init
13130 * screen.C: rename text->first to text->first_y
13132 * paragraph.C (breakParagraph): always set layout in the broken
13135 * lyxtextclass.C (Read): remove lowercase
13138 (delete_layout): ditto
13140 * lyxtext.h: rename first -> first_y
13142 * lyxlayout.C (Read): remove lowercase
13145 (obsoleted_by): ditto
13147 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13149 * buffer.C (insertErtContents): add params are to InsetERT
13150 (parseSingleLyXformat2Token): add code to check if a paragraphs
13151 layout really exist.
13152 (parseSingleLyXformat2Token): add params to several inset
13154 (asciiParagraph): remove lowercase, do the layout comparisons with
13157 * BufferView_pimpl.C (cursorNext): first -> first_y
13158 (resizeCurrentBuffer): first -> first_y
13159 (updateScrollbar): first -> first_y
13160 (scrollCB): first -> first_y
13161 (workAreaMotionNotify): first -> first_y
13162 (workAreaButtonPress): first -> first_y
13163 (checkInsetHit): first -> first_y
13164 (cursorPrevious): first -> first_y
13165 (cursorNext): first -> first_y
13166 (Dispatch): add buffer_->params to severl inset contructors
13168 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13170 * lyxlayout.C (Read): remove some debug info that I forgot.
13172 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13173 clean up the code slightly.
13174 (makeLinuxDocFile): ditto
13175 (makeDocBookFile): ditto
13177 * text2.C: layout as string
13179 * text.C: layout as string
13181 * paragraph_pimpl.C: layout as string
13183 * paragraph.[Ch]: layout as string
13185 * lyxtextclasslist.[Ch]: layout as string
13187 * lyxtextclass.[Ch]: layout as string
13189 * lyxtext.h: layout as string
13191 * lyxlayout.[Ch]: layout as string
13193 * lyx_cb.C: layout as string
13195 * bufferview_funcs.C: layout as string
13197 * bufferparams.C: layout as string
13199 * buffer.C: layout as string
13201 * LyXView.[Ch]: layout as string
13203 * LaTeXFeatures.[Ch]: layout as string
13205 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13207 * BufferView_pimpl.C: change current_layout to string, remove
13212 (workAreaButtonRelease): layout as string
13214 * BufferView2.C (unlockInset): adjust
13216 * vspace.C (asLatexCommand): use an explict temp variable.
13218 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13220 * Makefile.am: use FRONTEND_*
13222 2002-03-01 Juergen Vigna <jug@sad.it>
13224 * tabular.C (SetWidthOfMulticolCell): changed to something better
13225 I hope but still work in progress.
13226 (recalculateMulticolumnsOfColumn): renamed function from
13227 recalculateMulticolCells as it is more appropriate now.
13228 (SetWidthOfCell): calculate multicols better.
13230 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13232 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13234 * lyxfunc.C (processKeySym): print sequence also if it is
13235 `deleted' (complete)
13237 * kbsequence.C (print): print sequence even if it is deleted
13238 (complete would be a better word, actually).
13240 * lyxfunc.C (dispatch): print complete options after a prefix key
13242 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13244 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13246 * text2.C (setCharFont): eliminate setCharFont code duplication.
13248 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13250 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13251 LFUN_TABULAR_FEATURE (bug #177)
13253 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13255 * Makefile.am: remove figure.h
13257 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13259 * Bufferview_pimpl.C:
13271 * text2.C: remove #include "lyx_gui_misc.h".
13273 * LaTeX.C: added #include <cstdio>
13275 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13277 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13278 that the paragraph following this one can have.
13280 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13282 * vspace.C (asLatexCommand): fix bogus gcc warning
13284 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13286 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13288 * text2.C (setLayout): get rid of redundant code
13290 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13292 * text2.C (incDepth): make sure depth cannot be increased beyond
13295 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13297 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13298 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13300 * PainterBase.h (image):
13301 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13302 a LyXImage const *.
13304 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13308 * BufferView_pimpl.C:
13309 * BufferView_pimpl.h:
13329 * sp_spell.C: remove fig inset, and the crap house of
13330 cards that follows it
13332 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13337 * os2_errortable.h:
13338 * nt_defines.h: move .h into support/
13340 * vms_defines.h: remove
13342 * WorkArea.C: add space in debug output
13346 * buffer.C: add WITH_WARNINGS
13350 * bufferlist.C: s/retrive/retrieve/, add docs
13359 * chset.C: add docs
13361 * lyxgui.C: add ID to X error handler
13363 * lyxtestclass.c: fix typo
13365 2002-02-26 Juergen Vigna <jug@sad.it>
13367 * tabular_funcs.C (write_attribute): changed so that some default
13368 attributes are not written at all.
13369 (getTokenValue): set default values before trying to read the
13370 value so we have the return value always set as default if we don't
13371 find the token we search for.
13373 * tabular.C (Write): write bools as bools not as strings!
13375 2002-02-22 Juergen Vigna <jug@sad.it>
13377 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13378 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13380 * text.C (leftMargin): don't add an indent for paragraphs inside
13381 tabular cells (fix #208).
13383 2002-02-21 José Matos <jamatos@fep.up.pt>
13385 * tabular.C (docBook): fixed support for long tables.
13387 2002-02-20 Juergen Vigna <jug@sad.it>
13389 * text2.C (getFont): get the drawing font of the Inset if this
13390 paragraph is inside an inset (only important for InsetERT for now).
13392 * buffer.C (insertErtContents): use new lanugage params in ERT
13395 * CutAndPaste.C: commenting out seemingly uneeded code.
13397 2002-02-19 Allan Rae <rae@lyx.org>
13399 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13400 Iterators might be simple to use but they also get invalidated.
13401 (removeAutoInsets): renamed saved cursor tracking variables and added
13402 some comments to clarify what everything does.
13404 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13411 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13412 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13415 * vc-backend.h: remove #include "support/syscall.h"
13419 * converter.C: rearrange #includes in Lars' approved fashion.
13421 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13422 forward declare class Timeout in the header file.
13424 * XFormsView.C: changes due to the above.
13426 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13427 similar to LyXView.
13429 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13430 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13432 2002-02-18 José Matos <jamatos@fep.up.pt>
13434 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13437 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13439 * a lot of small ws changes
13440 * add a lot of using std::XXX
13441 * use std construcs some places where approp.
13442 * use some exisint stuff from lyxfunctional where approp.
13443 * Make file changes to use partial linking (lets test this now...)
13445 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13449 remove #include "support/syscontr.h" as it's redundant. Always has been.
13457 change Systemcalls::System to Systemcalls::Wait and
13458 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13459 No change of functionality, just reflects the stripped down Systemcalls
13462 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13464 * debug.[Ch]: add a GRAPHICS type to the enum.
13466 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13468 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13470 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13473 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13475 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13476 match the changes below.
13478 * text2.C (toggleInset): if there is not editable inset at cursor
13479 position, try to see if cursor is _inside_ a collapsable inset
13482 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13484 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13485 document menu has a nice checkbox
13487 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13489 * lyxlength.C (asLatexString): change PW to output as percent of
13492 * lengthcommon.C: change '%' to 't%'
13494 * lyxfunc.C (dispatch): a few comments from Martin
13496 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13500 * BufferView_pimpl.h:
13501 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13504 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13506 * vspace.C (inPixels): fix compiler warning
13508 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13510 * lyxfunc.C (getStatus): fix status message for disabled commands.
13512 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13514 * BufferView_pimpl.C: fix crash on close buffer
13515 during selection (#227)
13517 2002-01-27 Herbert Voss <voss@lyx.org>
13519 * buffer.C: link old Figure to new graphic inset
13521 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13523 * FontLoader.C (getFontinfo): Change the latex font names in order
13524 to match the names of type1inst.
13526 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13528 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13530 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13531 (extchanged): ditto
13533 (remove_files_with_extension): ditto
13534 (remove_file): ditto
13537 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13538 document is smaller than the work area height. Do not initialize
13539 static variables to 0.
13541 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13543 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13545 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13546 LFUN_LAYOUT_PARAGRAPHS.
13548 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13549 tabular. It is possible to provide a possible cell, which will
13550 typically be the actcell from the corresponding insettabular
13552 * lyxfunc.C (getStatus): small cleanup; disable
13553 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13556 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13558 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13560 * paragraph.C (startTeXParParams):
13561 (endTeXParParams): new methods. The LaTeX code to
13562 start/end paragraph formatting
13563 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13564 empty (fixes bug #200)
13566 * vspace.C (inPixels): adapt to the change below
13567 (inPixels): [later] more cleanups (remove unused variables)
13569 * lyxlength.C (inPixels): change to use a width and a height as
13572 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13574 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13575 Replaced with \paperwidth
13577 * DepTable.C (insert): add std:: qualifier
13579 2002-01-18 Allan Rae <rae@lyx.org>
13581 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13584 * text.C (drawInset): Turned out I didn't know enough about how
13585 rebreaking worked. This fixes most of the redraw problems. I see
13586 an occasional cursor trail when a line is broken now and the cursor
13587 placement can seem out by a few pixels also after a rebreak.
13589 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13591 * buffer.C (parseSingleLyXformat2Token): update because minipage
13592 width is now a LyXLength
13594 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13596 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13599 2002-01-17 Juergen Vigna <jug@sad.it>
13601 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13603 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13604 is set correctly and the inset is updated correctly.
13606 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13608 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13609 the beginning of the loop.
13611 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13613 * lyxrc.C: improve help for use_scalable_fonts
13615 2002-01-17 Allan Rae <rae@lyx.org>
13617 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13619 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13621 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13622 make sure to set their inset_owner to the right value (bug #171)
13624 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13627 * DepTable.C: Implement mtime checking to reduce time spent doing
13630 2002-01-16 Juergen Vigna <jug@sad.it>
13632 * tabular.C (GetAdditionalHeight): one of error fixed.
13634 * lyxrc.C (output): small fix in writing use_pspell.
13636 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13638 * sp_base.h: #include LString.h
13640 2002-01-16 Allan Rae <rae@lyx.org>
13642 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13643 Can someone check this please?
13645 * text.C (drawInset): It was possible that p.row would be removed by
13646 breakAgainOneRow upsetting a few other settings. There may be another
13647 small tweak possible by setting need_break_row = 0 when p.row has been
13648 removed but I don't know enough about the logic here.
13650 2002-01-15 Allan Rae <rae@lyx.org>
13652 * text.C (insertChar): removed conditional truism.
13654 * BufferView2.C (removeAutoInsets): More tweaks.
13655 cur_par_prev could be a stray pointer. Check for trailing empty line
13656 in case last line was cur_par and only had an error inset on it.
13658 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13660 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13663 * vc-backend.C (most methods):
13664 * exporter.C (Export):
13665 * converter.C (convert):
13667 * LyXSendto.C (SendtoApplyCB):
13668 * lyxfunc.C (dispatch):
13672 * lyx_cb.C (AutoSave):
13674 * BufferView_pimpl.C (MenuInsertLyXFile):
13675 * buffer.C (runChktex): use Buffer::filePath().
13677 * buffer.h: rename filename to filename_; rename filepath to
13678 filepath_ and make it private
13679 (filePath): new method
13681 * buffer.C (writeFile): use fileName()
13684 * lyx_main.C (init): fix starting of LyX when the binary is a
13685 link from so,ewhere else.
13687 * minibuffer.C: include <cctype> for isprint
13689 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13691 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13692 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13693 name clash with InsetCollapsable's width function.
13695 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13697 * lastfiles.C: include <iterator>
13699 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13701 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13704 * buffer.C (makeLaTeXFile): ditto.
13705 Also make loop operation more transparent.
13707 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13709 * ToolbarDefaults.C: remove trailing comma closing namespace.
13711 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13713 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13716 * trans.C (Load): comment out unused variable, allowed.
13718 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13720 * minibuffer.[Ch] (append_char): new method to recieve input from the
13721 drop-down completion browser. If a key was pressed, then recieve this
13722 char and append it to the existing string.
13723 (peek_event): modify the positioning data passed to the completion
13724 browser so that it can be placed above the minibuffer rather than below.
13725 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13727 * LyXAction.C (init): alloe error-next for readonly documents.
13729 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13732 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13734 * bufferlist.C (readFile): create the buffer _after_ checking that
13737 * lyxfunc.C (verboseDispatch): fix handling of arguments
13739 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13741 * lyxrc.C: use string::erase() instead of initializing to "".
13744 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13746 * BufferView_pimpl.h:
13747 * BufferView_pimpl.C:
13750 * text2.C: tell X when we have made a selection for copying
13752 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13754 * BufferView_pimpl.C (MenuInsertLyXFile):
13755 * lyxfunc.C (menuNew):
13757 (doImport): add shortcuts to directory buttons
13759 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13762 * lyxfunc.C (setStatusMessage):
13763 (getStatusMessage): new methods
13764 (getStatus):use setStatusMessage instead of setErrorMessage
13765 (dispatch): when function is disabled, set error message here
13766 [instead of in getStatus previously]
13768 * BufferView_pimpl.C (workAreaButtonRelease): update
13769 toolbar/menubar here too.
13771 2002-01-13 Allan Rae <rae@lyx.org>
13773 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13774 Now seems indestructible. Remaining task is to audit all other
13775 code affected by deleteEmptyParagraphMechanism. One small quirk
13776 left is that an empty document with an error in the preamble can
13777 be made to report an error but no error box appears. I don't know
13779 (removeAutoInsets): Improved comments.
13781 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13784 * Thesaurus.C: update for Aiksaurus 0.14
13786 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13788 * text2.C (firstParagraph): removed member function, all uses
13789 replaces with ownerParagraph
13790 (redoParagraphs): here
13791 (updateInset): here
13792 (toggleAppendix): here
13793 * BufferView2.C (insertErrors): here
13794 (setCursorFromRow): here
13796 2002-01-13 Allan Rae <rae@lyx.org>
13798 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13799 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13800 There is still a way to segfault this although you may have to do this
13801 multiple times: Have an InsetERT with an unknown command in it.
13802 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13803 <down-arrow>, <Enter> again, View->DVI, BANG!
13805 * text2.C (setCursor):
13806 (deleteEmptyParagraphMechanism):
13807 * lyxtext.h (setCursor):
13808 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13809 Making use of the return value may help fix other bugs.
13811 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13813 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13815 * LyXView.C (updateMenubar): call MenuBar::update here
13816 (updateToolbar): but not here
13817 (showState): do not update toolbar/menubar
13819 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13820 should need to care about that.
13822 * lyxfunc.C (verboseDispatch): simplify a bit
13823 (getStatus): have a version which takes a pseudoaction, and
13824 another which requires a (kb_action,string).
13826 * LyXAction.C (retrieveActionArg): make it work also when action
13827 is not a pseudo-action.
13828 (getActionName): simplify a bit
13831 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13833 * lyxfunc.C (verboseDispatch): new families of methods with
13834 several ways to specify a command and a bool to indicate whether
13835 the command name and shortcut should be displayed in minibuffer
13836 (eventually, we could extend that to a finer bitmask like
13837 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13838 (dispatch): the pristine dispatch command which just, well,
13839 dispatchs! Note it still sets its result to minibuffer; I'm not
13842 * lyxfunc.h: remove setHintMessage
13844 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13846 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13848 * BufferView_pimpl.C (specialChar): delete new inset if we have
13849 not been able to insert it.
13851 * kbmap.C: revert to using int instead of kb_action, since all we
13852 are dealing with is pseudo-actions.
13854 * LyXAction.C (searchActionArg): change to return int instead of
13855 kb_action, since the result is a pseudoaction.
13857 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13859 * buffer.C (insertErtContents): Fix (partially) the font bug.
13861 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13863 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13864 as the other one is broken on my machine!
13866 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13869 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13871 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13873 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13874 reflect their actual use. Provide compatibility code for older lyxrc
13877 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13879 change names of popup font variables in line with the changes to lyxrc.C
13881 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13883 * buffer.C (asciiParagraph): avoid outputing a word twice after
13886 * lyxrc.C (getDescription): document that document_path and
13887 template_path can be empty.
13889 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13891 * LaTeXFeatures.C (getMacros):
13892 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13894 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13896 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13898 (getPackages): rename feature "floats" to "float". Use an array to
13899 iterate over 'simple' features (i.e. just a \usepackage). Add
13900 handling of "amsmath" (renamed from "amsstyle").
13902 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13904 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13907 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13909 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13910 FuncStaus::FuncStatus & FuncStaus::some_method().
13912 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13914 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13915 of the func_satus stuff. Edited and massaged in various ways by
13918 * lyxfunc.C (getStatus): use FuncStatus
13920 2002-01-08 Juergen Vigna <jug@sad.it>
13922 * text.C (nextBreakPoint): use function Inset::isChar().
13924 * paragraph.C (TeXOnePar): use function
13925 Inset::forceDefaultParagraphs.
13927 * buffer.C (latexParagraphs): use function
13928 Inset::forceDefaultParagraphs.
13930 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13932 * lyx_gui.C (init): set the style of the menu popups to
13933 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13935 2002-01-07 Juergen Vigna <jug@sad.it>
13937 * text.C (setHeightOfRow): small fix
13938 (prepareToPrint): don't look at alignment if we don't have the place
13941 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13943 * box.C: New file. Move the Box methods and functions out of box.h,
13944 following Lars' suggestion.
13946 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13948 * box.h: #include "support/LOstream.h", needed for inlined function.
13951 * lyxtextclasslist.C: added some using std declarations.
13953 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13955 * box.h: make signed dimensions to allow insets wider than
13956 the screen (bug #162)
13958 * BufferView_pimpl.C: add some insetHit debug
13960 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13962 * vc-backend.C: add FIXME
13964 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13966 * lyxfunc.C (getStatus): enable code for showing math font status
13969 2002-01-07 Juergen Vigna <jug@sad.it>
13971 * text.C (nextBreakPoint): removed debug output not needed anymore.
13973 2002-01-06 Juergen Vigna <jug@sad.it>
13975 * text.C (nextBreakPoint): fixed up this function we had this bug
13976 since ever but now hopefully we break row better.
13977 (insertChar): we have to check if an inset is the next char as it
13978 could now happen that a large inset is causing a break.
13980 2002-01-05 Juergen Vigna <jug@sad.it>
13982 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13983 if it doesn't like to be drawed.
13985 2002-01-04 Juergen Vigna <jug@sad.it>
13987 * BufferView2.C (lockInset): forgot to set a cursor.
13989 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13991 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13993 * FormMathsPanel.C:
13996 * form_maths_panel.C:
13997 * form_maths_panel.h:
13998 * form_maths_panel.fd: implemented sub- and super- buttons in math
14001 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14002 (or ^ space) to be used as in TeX (req'd by Andr�.
14004 * lyxfunc.C: Allow ^ and _ again to be used both as
14005 super/subscript (mathed) and as themselves (in text).
14007 2002-01-03 Allan Rae <rae@lyx.org>
14009 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14010 "LyX" or the filename of the current buffer if it has one. This is a
14011 modified form of John Levon's patch.
14013 * XFormsView.C (setWindowTitle): also set icon title.
14015 * LyXView.h (setWindowTitle): signature changed.
14016 * XFormsView.h (setWindowTitle): ditto.
14018 2002-01-02 Juergen Vigna <jug@sad.it>
14020 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14022 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14024 * screen.C (topCursorVisible): introduce a temp var for
14025 text->cursor.row(), handle the case where this row is null. (kindo
14028 * text2.C (setCursor): add a couple of asserts.
14030 * paragraph.h (inset_iterator): add -> operator
14032 * paragraph.[Ch] (autoDeleteInsets): remove member function
14034 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14035 cursor pos correctly and handle inset deletion by itself.
14036 (insertErrors): move iterator declaration out of for expression
14038 * lyxtextclass.C: add <algorithm>
14040 * Makefile.am: added the new files to sources, removed layout.C
14042 * layout.C: removed file
14044 * layout.h: remove LYX_DUMMY_LAYOUT
14046 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14050 * lyxtextclass.[Ch]:
14051 * lyxtextclasslist.[Ch]: new files
14053 * include order changes to a lot of files, also changes because of
14056 2001-12-27 Juergen Vigna <jug@sad.it>
14058 * buffer.C (asciiParagraph): more fixes.
14060 * tabular.C (ascii): make ascii export support export of only the
14061 data separated by a column-delimiter.
14062 (ascii): better support for ascii export.
14064 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14066 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14068 * tabular_funcs.C: use a "using std::getline" instead of the
14069 previous fix from Angus (necessary for cxx + lyxstring)
14071 2001-12-24 Juergen Vigna <jug@sad.it>
14073 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14075 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14076 problems. First check a minipage also if we have some ert-contents
14077 (not only on par->size(), second set the right depth of the paragraph
14078 on the relink to the root-paragraph-list!
14080 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14081 which then did not anymore update the main paragraphs on undo/redo!
14083 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14085 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14086 code. Support all font-changing funcs (even those which are not in
14087 menu currently). Support for reporting font settings in
14088 mathed (disabled until Andre provides a function on mathed's side).
14090 * func_status.h (toggle): small helper function to set toggle
14093 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14095 * tabular_funcs.C: getline -> std::getline
14097 2001-12-21 Juergen Vigna <jug@sad.it>
14099 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14100 accessed and could be 0 (I couldn't generate this but it seems
14103 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14105 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14106 * tabular_funcs.h: here and include iosfwd
14108 2001-12-20 Juergen Vigna <jug@sad.it>
14110 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14111 inside inset but undo_par was.
14113 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14115 * Thesaurus.C: always include <config.h> in sources.
14119 * box.h: do not include <config.h> in header files
14121 * text.C (paintLastRow): remove unused variable
14123 * text.C (transformChar):
14125 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14127 * Painter.C (text):
14128 * font.C (width): rewrite to use uppercase() instead of
14131 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14133 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14135 * lyxfind.C: clean up of find failure position change
14137 2001-12-20 Juergen Vigna <jug@sad.it>
14139 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14141 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14142 (TeXRow): added to LaTeX a single tabular row.
14143 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14144 (Latex): simplified and finally good LT-h/f support.
14145 (various_functions): just small adaptions for LT-h/f support.
14147 * tabular_funcs.[hC]: added and moved here all not classfunctions
14150 2001-12-19 Juergen Vigna <jug@sad.it>
14152 * tabular.[Ch]: better support for longtabular options (not finished
14155 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14157 * text.C (paintLastRow): use the label font instead of the font of
14158 the last character to compute the size of *_BOX. This makes more
14159 sense and avoids a crash with empty paragraphs.
14160 Use Painter::rectangle to draw EMPTY_BOX.
14162 2001-12-19 Juergen Vigna <jug@sad.it>
14164 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14165 the paragraphs if the replaced paragraph is not the first one!
14166 Tried to delete not used paragraphs but does not work yet so for
14167 now it's inside #ifdef's and by default off!
14169 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14171 * MenuBackend.C: include "lyx_main.h" instead of declaring
14172 lastfiles (actually was declared as LastFiles* instead of a
14175 2001-12-17 Juergen Vigna <jug@sad.it>
14177 * tabular.C (AppendColumn): applied John's fix
14179 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14183 * BufferView_pimpl.h:
14184 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14187 * box.h: new start of class for above
14189 * lyxfunc.C: ignore space-only minibuffer dispatches.
14190 Show the command name when it doesn't exist
14192 * minibuffer.C: don't add empty lines to the history
14194 * minibuffer.C: add a space on dropdown completion
14196 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14198 * text.C: fix line above/below drawing in insets
14200 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14202 * lyxlength.C (LyXLength): Initialize private variables.
14204 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14206 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14207 when inserting error insets.
14209 2001-12-13 Juergen Vigna <jug@sad.it>
14211 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14212 actually sometimes the before-paragraph.
14213 (setUndo): don't clear the redostack if we're not actually undoing!
14215 2001-12-06 Juergen Vigna <jug@sad.it>
14217 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14218 and fixed redoing of main paragraph, so we can use it now ;)
14220 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14222 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14224 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14227 2001-12-13 André Pönitz <poenitz@gmx.net>
14230 * undo_func.C: minor cleanup
14232 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14234 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14235 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14236 font in urw-fonts package which is marked as -urw-fontspecific and
14237 does not work (incidentally, changing the encoding in the
14238 fonts.dir of this package to -adobe-fontspecific fixes the
14241 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14242 is a crash when undoing first paragraph (Juergen, please take a
14243 look). THis does not mean the undo fix is wrong, just that it
14246 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14247 the (Paragraph*) version when needed instead of duplicating the
14250 * text.C (workWidth): use Inset::parOwner to find out where the
14251 inset has been inserted. This is a huge performance gain for large
14252 documents with lots of insets. If Inset::parOwner is not set, fall
14253 back on the brute force method
14255 * paragraph_pimpl.C (insertInset):
14256 * paragraph.C (Paragraph):
14257 (cutIntoMinibuffer): set parOwner of insets when
14258 inserting/removing them
14260 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14262 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14268 * mathed/formulabase.C:
14269 * mathed/math_cursor.[Ch]:
14270 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14273 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14275 * lyxlength.[Ch] (operator!=): new function
14277 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14279 * text.C (workWidth): use Inset::parOwner to find out where the
14280 inset has been inserted. This is a huge performance gain for large
14281 documents with lots of insets. If Inset::parOwner is not set, fall
14282 back on the brute force method
14284 * paragraph_pimpl.C (insertInset):
14285 * paragraph.C (Paragraph):
14286 (cutIntoMinibuffer): set parOwner of insets when
14287 inserting/removing them
14289 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14291 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14293 * tabular-old.C (getTokenValue):
14294 * tabular.C (getTokenValue):
14295 (write_attribute): new versions for LyXLength
14296 (everywhere): adjust the use of widths
14298 * tabular.h: change the type of widths from string to LyXLength
14300 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14302 * paragraph.C: fixed missing line number count when exporting
14303 Environments to LaTeX file
14305 * buffer.C: added informational message for checking line numbers.
14307 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14309 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14310 paragraph, do the 'double space' part, but not the 'empty
14313 * text.C (workWidth): small optimization
14314 (getLengthMarkerHeight): use minimal size for negative lengths.
14316 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14318 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14320 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14322 2001-12-11 André Pönitz <poenitz@gmx.net>
14325 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14327 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14329 * text2.C: keep selection on a setFont()
14331 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14333 * lyx_cb.C: another bv->text misuse, from insert label
14335 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14338 * kbsequence.C: re-instate nmodifier mask
14340 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14342 * lyx_main.h: make lyxGUI private.
14344 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14346 * lyxfind.C: place the cursor correctly on failed search
14348 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14350 * text.C (getLengthMarkerHeight): for small heights, the arrows
14351 are not always on top/bottom of the text
14352 (drawLengthMarker): smaller arrows; take the left margin in
14353 account; draw also vfills.
14355 (paintLastRow): remove special code for vfill and standard spaces,
14356 since everything is handled in drawLengthMarker now.
14358 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14360 * buffer.C (insertErtContents): try to handle font and language
14361 interaction a bit better.g
14363 * ColorHandler.C (updateColor): change the hash to cover the whole
14364 LColor enum, ws cleanup
14365 (getGCLinepars): ditto
14366 (getGCLinepars): only lookup in the linecache once.
14368 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14370 * iterators.C (operator++): Make the iterator more robust
14372 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14374 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14376 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14379 * text.C: better added space drawing
14381 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14384 * BufferView2.C: fix layout combo update on inset unlock
14386 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14388 * Makefile.am: don't compile unused files
14390 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14394 * LyXAction.C: remove old LFUN_LAYOUTNO
14396 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14398 * paragraph_pimpl.h:
14399 * paragraph_pimpl.C: isTextAt() doesn't need font param
14401 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14404 * lyxlex.C: little cleanup
14406 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14408 * BufferView_pimpl.C: fix insertAscii for insets
14410 2001-12-05 Juergen Vigna <jug@sad.it>
14412 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14413 set the right font on the "multi" paragraph paste!
14415 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14421 * lyxlength.C: remove out-commented code.
14423 * BufferView_pimpl:
14437 * vc-backend.C: change "while(" to "while ("
14439 * lyxlength.[Ch]: add zero function to check if length is zero or
14441 * lyxgluelength.C: use it
14443 2001-12-05 Allan Rae <rae@lyx.org>
14445 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14446 Works for 2.95.3, from what I understand of Garst's reports this should
14447 work for other g++ versions. We're screwed if the abs(int) definition
14448 changed between bugfix releases of gcc.
14450 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14452 * text.C: fix chapter label offset !
14454 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14457 * text.C: fix hfill at end of line, clean up
14459 2001-12-04 Juergen Vigna <jug@sad.it>
14461 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14462 that we force an update of the inset and it's owners if neccessary.
14464 2001-12-03 Juergen Vigna <jug@sad.it>
14466 * text.C (rowLast): simplified code
14468 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14470 * lyxfunc.C: fix show options on timeout
14472 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14474 * screen.C (topCursorVisible): scroll half a page when the cursor
14475 reached top of bottom of screen
14477 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14479 * minibuffer.C: deactivate on loss of focus
14481 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14483 * vspace.[Ch] (operator!=): add operator.
14485 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14487 * BufferView_pimpl.C: refuse to open an inset when
14488 there's a selection.
14490 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14492 * BufferView_pimpl.C: allow to click on RHS of full row insets
14494 2001-11-30 Juergen Vigna <jug@sad.it>
14496 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14497 insets for undo reasons.
14499 2001-11-28 André Pönitz <poenitz@gmx.net>
14501 * vspace.[Ch]: cosmetical changes
14503 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14513 * kbsequence.C: part re-write of old kb code
14516 * WorkArea.C: remove Lgb_bug_find_hack
14518 2001-11-30 José Matos <jamatos@fep.up.pt>
14520 * buffer.C (makeDocBookFile): add a comment to point a hack.
14521 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14522 Fixed a double write of labels.
14524 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14527 * LaTeX.h Fixed bug in LaTeX class where it would not
14528 re-run latex if no depfiles were changed, but the .dvi was removed.
14530 2001-11-28 André Pönitz <poenitz@gmx.net>
14532 * all the files from the change on 2001/11/26:
14533 use lyx::layout_type instead of LyXTextClass::size_type
14534 use lyx::textclass_type instead of LyXTextClassList::size_type
14536 2001-11-29 Juergen Vigna <jug@sad.it>
14538 * text.C: added support for paragraph::isFreeSpacing()
14540 * buffer.C: same as above
14542 * paragraph.h: inserted isFreeSpacing() function to enable
14543 FreeSpacing inside InsetERT.
14545 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14546 of the paragraph's in the cut/copy buffer to 0!
14548 * text2.C (removeRow): remove the assert as it can!
14550 * lyxtext.h: added helper function firstRow returning firstrow and
14551 made firstrow private again.
14553 * BufferView2.C (lockInset): don't relock if we're already locked!
14555 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14556 the only paragraph.
14557 (removeRow): added Assert::(firstrow)
14559 * debug.C: forgot to add INSETTEXT here.
14561 2001-11-28 Juergen Vigna <jug@sad.it>
14563 * sp_spell.C (initialize): changed error text to more general
14564 spellchecker command use (not only ispell!)
14566 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14568 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14570 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14572 * vspace.C: initialise lyxgluelength on failure
14574 2001-11-28 Allan Rae <rae@lyx.org>
14576 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14577 declaration & definition that looks like a function declaration.
14579 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14581 * BufferView2.C (copy):
14582 (copyEnvironment): do not clear the selection when doing a copy.
14584 * text.C (paintFirstRow): compilation fix
14586 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14588 * tabular.C (Latex): correct line count when writing latex.
14590 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14592 * paragraph_pimpl.h:
14593 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14596 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14600 * LColor.C: change vfillline->added_space
14602 * text.C: add markers and text for added space
14604 * vspace.C: fix comment
14606 2001-11-28 André Pönitz <poenitz@gmx.net>
14608 * paragraph.C: whitespace changes
14609 * all the other files from the change on 2001/11/26:
14610 change *::pos_type into lyx::pos_type
14612 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14614 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14615 language of the document when inserting error insets.
14617 2001-11-26 André Pönitz <poenitz@gmx.net>
14619 * BufferView_pimpl.[Ch]:
14627 * paragraph_pimpl.[Ch]:
14630 * text2.C: reduce header dependencies, introduce type for positions
14632 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14634 * <various>: change to use Alert.h
14636 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14638 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14639 when encountering an unknown token.
14640 (readLyXformat2): Show an error message if there were unknown tokens.
14642 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14645 * BufferView_pimpl.C:
14649 * text2.C: use par->isInset()
14651 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14653 * paragraph_pimpl.h:
14654 * paragraph_pimpl.C: cleanup
14656 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14658 * text2.C (removeRow):
14659 * text.C (setHeightOfRow): remove useless (and costly) call to
14662 2001-11-20 Allan Rae <rae@lyx.org>
14664 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14665 Now need Inset*::checkInsertChar() to return true for appropriate
14666 cases so that the characters in the minibuffer will actually be
14669 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14671 * text.C: change the order of the includes.
14672 (workWidth): initialize it at once.
14673 (workWidth): make maxw unsigned
14674 (setHeightOfRow): remove unused variable (inset)
14675 (selectSelectedWord): remove unused variable (inset)
14676 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14678 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14680 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14681 server is not running.
14683 (closeConnection): add debug info when server is disabled.
14685 * ColorHandler.C (getGCForeground): send debug message to GUI
14688 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14690 * kbmap.C (bind): modify because return conventions of
14691 kb_sequence::parse have changed.
14693 * kbsequence.C (parse): only ignore spaces and not any stupid
14694 control character. This avoids tests like s[i] <= ' ', which are
14695 guaranteed to fail with 8bit characters and signed chars.
14696 Change return code to string::npos when there have been no error
14697 (0 was a bad idea when error is at first character)
14699 2001-11-14 José Matos <jamatos@fep.up.pt>
14702 * buffer.C (simpleDocBookOnePar): removed unused argument.
14704 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14706 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14707 insets which are part of a word. Paragraph::isLetter takes care of
14708 that now. Use Paragraph::isInset to identify insets.
14709 (selectSelectedWord): do not test for hyphenation break.
14711 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14712 that protected spaces are considered as spaces.
14714 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14717 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14720 * lyxserver.C: fix it. and small cleanup.
14722 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14724 * BufferView_pimpl.C: use inline helpers
14727 * LaTeXFeatures.C: fix typos
14730 * Spacing.C: move spacing_string into class
14732 * ToolbarDefaults.C: move stuff into namespace anon
14734 * layout.h: update enum
14736 * lyxfunc.C: use better debug
14738 * minibuffer.h: fix typo
14742 * WorkArea.C: add and use Debug::WORKAREA
14746 * text2.C: code re-organisation, inline helpers
14748 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14750 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14751 std::vector.empty().
14753 2001-11-09 Allan Rae <rae@lyx.org>
14755 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14756 '\n's after tables. Tabular and ERT inset work now makes this no
14759 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14762 * minibuffer.C: fix crash, improve drop-down completion
14764 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14767 * lyxserver.C: invalidate fd's when doing endPipe()
14769 2001-11-08 José Matos <jamatos@fep.up.pt>
14771 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14772 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14775 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14777 2001-11-07 José Matos <jamatos@fep.up.pt>
14780 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14783 * buffer.C (sgmlOpenTag):
14784 * buffer.C (sgmlCloseTag): removed debug info.
14786 * buffer.h (sgmlOpenTag):
14787 * buffer.h (sgmlCloseTag): made public.
14789 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14791 * buffer.C (saveParamsAsDefaults):
14792 * lyx_cb.C (MenuLayoutSave): remove
14794 * LyXAction.C (init):
14796 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14798 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14800 * buffer.C (setPaperStuff): removed from here...
14802 * bufferparams.C (setPaperStuff): ... and moved there.
14804 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14808 * XFormsView.C: add support for drop-down completion
14810 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14812 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14815 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14817 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14820 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14822 * lyx_main.C: change ref to known bugs
14824 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14826 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14827 to work around older babel problems.
14829 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14831 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14833 2001-10-24 Juergen Vigna <jug@sad.it>
14835 * tabular-old.C (ReadOld): below variable changes reflected.
14837 * tabular.[Ch]: added ltType struct for longtable header/footer
14838 defines and changed all instances where they are used. Added
14839 future support for double top/bottom rows.
14841 2001-10-24 José Matos <jamatos@fep.up.pt>
14843 * buffer.h (docbookHandleCaption):
14844 * buffer.C (docbookHandleCaption): removed unused function.
14845 (makeDocBookFile): moved docbook supported version to v4.1.
14847 2001-10-24 José Matos <jamatos@fep.up.pt>
14850 * tabular.C (docbookRow): new function to export docbook code of a row.
14851 (DocBook): now honors the longtable flags.
14853 2001-10-23 José Matos <jamatos@fep.up.pt>
14856 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14857 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14859 * buffer.C (makeLinuxDocFile):
14860 (makeDocBookFile): reworked the preamble, more clean, and with
14861 support for lyx defined entities. Changed the document declaration
14862 to be more XML friendly.
14864 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14865 if we need to output XML that should be done with a filter.
14867 2001-10-22 Juergen Vigna <jug@sad.it>
14869 * sp_pspell.h (class PSpell): add alive function needed in the
14870 controller to see if the spellchecker could be started.
14872 2001-10-22 Juergen Vigna <jug@sad.it>
14874 * buffer.C (insertStringAsLines): modify the font for inserting
14875 chars in certain conditions by calling checkInsertChar(font).
14877 2001-10-19 Juergen Vigna <jug@sad.it>
14879 * text.C (workWidth): use getRow instead of wrong algorithm.
14880 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14882 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14887 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14889 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14891 * text.C (workWidth): do not search for the exact row when
14892 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14893 optimization for big documents.
14895 2001-10-18 Juergen Vigna <jug@sad.it>
14897 * text.C (workWidth): new function with added Inset * parameter.
14899 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14901 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14903 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14904 change return type of getColumnNearX.
14907 * text.C (changeRegionCase): use uppercase/lowercase instead of
14910 (rightMargin): simplify code by factoring out the uses of
14915 (appendParagraph): use Paragraph::size_type
14917 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14919 * vspace.C (asLatexString): add a missing break
14921 2001-10-15 Herbert Voss <voss@perce.de>
14923 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14925 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14927 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14930 2001-10-10 André Pönitz <poenitz@gmx.net>
14932 * lyxfunc.C: removed greek_kb_flag.
14934 2001-10-10 Herbert Voss <voss@perce.de>
14936 * lyx_main.C: delete global string help_lyxdir.
14938 2001-10-09 Herbert Voss <voss@perce.de>
14940 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14942 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14944 * lyx_main.C: added global string help_lyxdir.
14946 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14948 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14950 * lyxrc.C (set_font_norm_type): support iso8859-4
14952 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14954 * LaTeX.C (deplog): add another regex for MikTeX
14956 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14958 * lyxrc.C (set_font_norm_type): support iso8859-3
14960 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14962 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14964 * LaTeXFeatures.C: remove special case of french and index
14966 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14967 before \begin{document}). This solves several incompatibilities.
14969 2001-10-03 Garst Reese <reese@isn.net>
14971 * lyx_cb.C: change CheckTex error msg.
14973 2001-10-03 José Matos <jamatos@fep.up.pt>
14975 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14977 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14979 * .cvsignore: update
14981 * lyx_main.C (commandLineVersionInfo): use new style version info.
14983 * buffer.C (writeFile):
14985 (makeLinuxDocFile):
14986 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14988 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14990 * version.h: update to use stuff in version.C
14992 * version.C.in: new file. Contains version information determined
14993 at compile time. This is a merging of version.h and
14996 2001-10-03 Juergen Vigna <jug@sad.it>
14998 * BufferView_pimpl.C (update): don't change "dirty" status in
15001 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
15003 * WorkArea.C (c-tor): re-position version string slightly.
15005 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
15007 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15008 revert to previous code.
15010 WorkArea.[Ch]: (show, destroySplash): methods removed.
15012 WorkArea.C: rework code so that it's an amalgam of the codes before and
15013 after the splash screen was moved to WorkArea.
15015 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15018 * vspace.C (inPixels):
15021 * buffer.C (insertStringAsLines):
15022 (asciiParagraph): fix types to be large enough
15024 * lyxlex_pimpl.h: change member status from short to int
15026 * layout.h: fix type of endlabeltype
15029 * kbsequence.C (parse): change return type to string::size_type
15031 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15034 * Bullet.C (bulletSize):
15035 (bulletEntry): do not use short ints as parameters
15037 * BufferView2.C (insertLyXFile): change a char to an int.
15039 * WorkArea.C (WorkArea): remove unneeded floats in computation
15041 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15043 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15045 * paragraph.C (asString): Do not ignore newline/hfill chars when
15046 copying to the clipboard.
15048 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15050 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15051 after a multi-line inset.
15053 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15055 * paragraph.C (validate): Set NeedLyXFootnoteCode
15057 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15059 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15060 and decrease-error to decrease.
15062 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15064 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15065 it more readable (should be equivalent)
15067 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15069 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15071 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15073 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15074 of a cursor (row, etc.) after a character has been deleted
15075 (deleteEmptyParagraphMechanism): call the method above on _all_
15076 cursors held by the LyXText when a double space has been
15079 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15081 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15083 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15085 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15086 background. Use greyOut() and the new show() methods to toggle between
15087 the foreground and background. Add code to remove the splash after
15088 its initial showing.
15090 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15091 (create_forms): no longer call Dialogs::showSplash.
15093 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15095 * .cvsignore: add version_info.h
15097 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15099 * version_info.h.in: new file
15101 * Makefile.am: add version_info.h.in
15103 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15104 version_info.h instead of VERSION_INFO
15106 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15108 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15109 The ERT inset now returns string().
15111 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15113 * lyxtext.h, text.C (selectNextWord): renamed as
15114 selectNextWordToSpellcheck.
15116 * text.C (selectNextWordToSpellcheck): Modified to not select
15117 words inside an ERT inset.
15119 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15121 * lyx_cb.C (MenuLayoutSave): change a bit the question
15123 * sp_base.h: include <sys/types.h>
15125 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15127 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15129 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15131 * several files: fix typos in user-visible strings
15133 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15135 * text2.C (pasteSelection): do not set the selection, since it
15136 will be cleared later. Actually, the intent was to fix the way the
15137 selection was set, but I figured rmoving the code was just as good.
15139 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15141 * FontLoader.C (available): Check if font is available without
15144 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15146 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15148 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15150 * lyxrc.[Ch]: added display_graphics variable and associated code.
15152 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15154 * bufferparams.C (hasClassDefaults): new method. Returns true if
15155 the buffer parameters correspond to known class defaults
15157 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15159 * XFormsView.C (show): set minimum size to the main window.
15161 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15163 * text2.C (copySelection):
15165 * lyxfind.C (LyXReplace):
15166 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15167 LyXText::selectionAsString.
15169 * paragraph.C (asString): add "label" argument to the second form
15171 * text2.C (selectionAsString): add "label" argument and pass it to
15172 Paragraph::asString.
15174 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15176 * lyx_main.C (commandLineHelp): remove version information
15178 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15180 * lyx_main.C: add -version commandline option
15182 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15184 * paragraph.h: make the optional constructor arg required instead.
15185 some modifications to other files because of this.
15187 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15189 * lyxserver.C (C_LyXComm_callback): make it static
15191 * lyx_main.C (error_handler): make it static
15193 * lyx_gui.C (LyX_XErrHandler): make it static
15195 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15197 * WorkArea.C: make the extern "C" methods static.
15199 * Makefile.am (lyx_LDADD): simplify
15201 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15203 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15204 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15206 * LyXAction.C (init):
15207 * lyxfunc.C (dispatch): associated code removal.
15209 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15211 * lyxfont.h (isSymbolFont): shut off warning
15213 * text.C (setHeightOfRow):
15214 (getVisibleRow): fix crash with empty paragraphs which have a
15217 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15219 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15222 2001-09-04 José Matos <jamatos@fep.up.pt>
15225 * tabular.C (docbook): rename docBook method to docbook.
15227 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15229 * Makefile.am: add dependencies to main.o.
15231 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15233 * FontLoader.C (available): Return false if !lyxrc.use_gui
15235 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15237 * FontInfo.C (query):
15238 * converter.C (view):
15239 * importer.C (Import):
15240 * exporter.C (Export): Can not -> cannot.
15242 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15244 * BufferView_pimpl.C: allow to create index inset even if
15247 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15249 * buffer.C (getLists): replace boost::tie code with an explicit pair
15250 as boost::tie can break some compilers.
15252 * iterators.h: Added a std:: declaration to the return type of
15255 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15257 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15260 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15262 * iterators.[Ch]: New files. Provide paragraph iterators.
15264 * buffer.C (changeLanguage): Use paragraph iterators.
15265 (isMultiLingual): ditto
15267 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15269 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15271 * FontLoader.C: Support for cmr font.
15273 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15275 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15276 (available): New method.
15278 * FontInfo.C (getFontname): Use scalable fonts even when
15279 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15282 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15284 * converter.C (Formats::view): reverted! Incorrect fix.
15286 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15288 * converter.C (Formats::view): only output the -paper option
15289 if the dvi viewer is xdvi, thereby fixing bug #233429.
15291 2001-08-23 Herbert Voss <voss@perce>
15293 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15295 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15297 * Spacing.h (Spacing): Set space to Default on in the default
15300 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15302 * vc-backend.h (RCS::versionString): add RCS to version
15303 (CVS::versionString): add CVS to version
15305 * vc-backend.C (scanMaster): do not add CVS to version.
15306 (scanMaster): do not add RCS to version
15308 * lyxvc.C (versionString): new method
15310 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15312 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15314 * Spacing.C (set): initialize fval
15316 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15318 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15321 2001-08-16 Juergen Vigna <jug@sad.it>
15323 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15325 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15327 * BufferView_pimpl.C:
15330 * text2.C: setParagraph takes linespacing now
15332 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15334 * LyxAction.C: add internal LFUN_CITATION_INSERT
15336 * LyXView.C: actually apply fix
15338 * bufferlist.C: fix open non-existent file
15340 * lyxfind.C: fix indentation
15342 * lyxfunc.C: remove unneeded assert, fix typo
15344 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15346 * MenuBackend.C: use "Floatname List"
15348 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15350 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15351 when converting LaTeX layout to insetERT.
15352 Generate a non-collapsed float when reading old float
15354 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15356 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15359 2001-08-13 Juergen Vigna <jug@sad.it>
15361 * text.C (fill): return 0 instead of 20 as this seems to be the more
15364 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15366 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15369 2001-08-13 Juergen Vigna <jug@sad.it>
15371 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15373 (SearchBackward): comment out the unlocking of the inset_owner this
15374 should not be needed!
15376 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15378 * Many files: Remove inherit_language, and add latex_language
15380 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15381 collapsible insets.
15383 2001-08-10 Juergen Vigna <jug@sad.it>
15385 * text.C (prepareToPrint): fixed hfill-width in draw!
15387 * BufferView2.C (selectLastWord): save the selection cursor as this
15388 now is cleared in the function LyXText::clearSelection!
15390 2001-08-08 Juergen Vigna <jug@sad.it>
15392 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15393 BACKSPACE type functions.
15395 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15396 is only cutted from the document but not put in the cut-buffer, where
15397 still the old stuff should be.
15399 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15401 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15403 * tabular.C (SetWidthOfCell): fixed special case where the width
15405 (LeftLine): handle '|' in align_special.
15407 (LeftAlreadyDrawed): ditto
15408 (SetWidthOfCell): ditto
15410 2001-08-07 Juergen Vigna <jug@sad.it>
15412 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15414 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15416 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15417 * lyxlex.[hC]: ditto
15419 2001-08-06 Juergen Vigna <jug@sad.it>
15421 * text.C (getVisibleRow): fix up row clearing a bit.
15423 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15425 * minibuffer.C: make sure the X server sees the changes in the input.
15427 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15429 * paragraph.C (getFont): split into...
15430 (getLabelFont): this
15431 (getLayoutFont): and this
15432 * paragraph_pimpl.C (realizeFont): calling this
15434 * text2.C (getFont): split into...
15435 (getLayoutFont): this
15436 (getLabelFont): and this
15437 (realizeFont): all three calling this
15439 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15442 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15444 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15446 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15448 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15449 layouts from the Quote inset insertion.
15451 2001-08-03 Juergen Vigna <jug@sad.it>
15453 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15455 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15456 only if status not is already CHANGED_IN_DRAW (second level).
15458 * text.C (draw): don't set the need_break_row when inside an
15461 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15463 * buffer.C (parseSingleLyXformat2Token): handle more latex
15466 * bufferview_funcs.[hC]: change function names to
15467 begin with small char, adjust other files.
15469 2001-08-02 André Pönitz <poenitz@gmx.net>
15472 BufferView_pimpl.C: remove broken special code for math-greek
15474 2001-08-02 Juergen Vigna <jug@sad.it>
15476 * BufferView_pimpl.C (update): redone this function so that we
15477 update the text again if there was a CHANGE_IN_DRAW.
15479 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15480 (drawFromTo): added a new internal bool which is used by draw() and
15482 (general): some cursor drawing problems fixed.
15484 2001-08-01 Juergen Vigna <jug@sad.it>
15486 * lyxfind.C (LyXFind): fixed
15487 (SearchForward): ditto
15488 (SearchBackward): ditto
15490 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15491 spurius drawing of the cursor in the main area.
15493 * text2.C (status): small fix which could lead to a segfault!
15494 (clearSelection): remove unneeded BufferView param.
15496 2001-08-01 André Pönitz <poenitz@gmx.net>
15498 * lyxfunc.C: small change due to changed mathed interface
15500 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15502 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15504 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15506 * lyxfunc.c: fail gracefully if file doesn't exist
15511 * BufferView_pimpl.C: IsDirWriteable() proto changed
15513 * LyXView.C: fix updateWindowTitle() to store the last title
15515 2001-07-31 Juergen Vigna <jug@sad.it>
15517 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15518 the font (wrong since using of Paragraph::highestFontInRange).
15520 * paragraph.C (highestFontInRange): added a default_size parameter.
15522 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15523 (setHeightOfRow): reformat
15525 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15527 * converter.[hC] + affected files: move to (inital-char)lowercase
15530 * ParagraphParameters.C (ParagraphParameters): remove commented code
15532 * PainterBase.[Ch]: remove commented code
15534 * LaTeXFeatures.h: add "bool floats" for float.sty
15536 * LaTeXFeatures.C (LaTeXFeatures): init floats
15537 (require): handle float
15538 (getPackages): do it with floats
15540 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15542 * BufferView_pimpl.C (Dispatch): improve handling of
15543 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15545 * commandtags.h: #include lyxfont.h here temporarily to avoid
15548 * bufferlist.h: include LString.h here.
15550 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15552 * text2.C (getStringToIndex): new method.
15554 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15556 * *: Reduced header file dependencies all over.
15558 2001-07-30 Baruch Even <baruch@lyx.org>
15560 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15562 2001-07-29 Baruch Even <baruch@lyx.org>
15564 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15566 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15568 * ParameterStruct.h (endif): add a default constructor to make
15569 sure that all variables is initialized.
15571 * ParagraphParameters.C (ParagraphParameters): adjust
15573 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15575 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15576 index; also, check that there is something to index, and that it
15577 does not span over several paragraphs.
15578 (doubleClick): use WHOLE_WORD_STRICT for double click.
15580 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15582 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15585 2001-07-26 Baruch Even <baruch@lyx.org>
15587 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15588 an InsetFig figure, backwards compatible reading of old figure code.
15590 2001-07-27 Juergen Vigna <jug@sad.it>
15592 * text2.C: font.realize function adaption.
15594 * text.C (draw): add a warnings lyxerr text if needed.
15596 * layout.C: font.realize function adaption.
15598 * language.C: add inherit_language and implement it's handlings
15600 * bufferview_funcs.C (StyleReset): remove language parameter from
15601 font creation (should be language_inherit now).
15603 * bufferparams.C (writeFile): handle ignore_language.
15605 * paragraph.C (getFontSettings): the language has to be resolved
15606 otherwise we have problems in LyXFont!
15608 * lyxfont.C (lyxWriteChanges): added document_language parameter
15609 (update): removed unneeded language parameter
15611 * paragraph.C (validate): fixed wrong output of color-package when
15612 using interface colors for certain fonts in certain environments,
15613 which should not seen as that on the final output.
15615 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15617 * BufferView_pimpl.C:
15622 * LyXAction.C: add thesaurus support
15625 * lyxfind.C: add "once" parameter, for thesaurus, to not
15626 move to the next match
15628 2001-07-26 Juergen Vigna <jug@sad.it>
15630 * lyxfont.C (realize): honor ignore_language too!
15633 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15635 * text.C (draw): one place more for ignore_language to not draw
15638 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15640 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15642 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15644 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15645 the minipage conversion problem.
15647 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15649 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15652 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15654 * BufferView.h: don't forward declare WorkArea
15656 * BufferView.C: don't include WorkArea.h
15658 2001-07-25 André Pönitz <poenitz@gmx.net>
15662 * lyxfunc.C: new LFUN 'math-space'
15664 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15666 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15668 * text2.C (toggleInset): call open/close
15670 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15672 * lyxfunc.C (dispatch): add debug for the disabled case
15674 * font.C (buttonText): make similar to rectText
15676 * buffer.C (readInset): comment out parsing of insetlist and
15679 * PainterBase.C (rectText): small correction
15681 * BufferView_pimpl.C: comment out insettheorem and insetlist
15682 * LyXAction.C: ditto
15683 * commandtags.h: ditto
15685 2001-07-24 Juergen Vigna <jug@sad.it>
15687 * text.C (draw): honor the ignore_language.
15689 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15691 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15693 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15696 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15698 * lyxtext.h: remove unused (and unimplemented) methods
15700 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15702 * text.C (getVisibleRow): honor background color
15705 * Painter.h: remove default color argument for fillRectangle
15707 * text.C (backgroundColor): new method
15709 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15711 * text.C (getVisibleRow): adjust
15713 * font.[Ch] (rectText): new method, metrics
15714 (buttonText): new method, metrics
15716 * PainterBase.[hC]: make rectText and buttonText always draw and take
15719 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15721 * ToolbarDefaults.C (read):
15722 * MenuBackend.C (read): allow escaping in all strings
15724 * BufferView_pimpl.C (insertAndEditInset): new method.
15725 (Dispatch): use insertAndEditInset whenever appropriate.
15727 * BufferView_pimpl.C (insertNote): removed
15729 * BufferView_pimpl.C (smartQuote): new method, moved from
15730 BufferView; if an insetquote cannot be inserted, insert a '"'
15733 * BufferView2.C: remove insertCorrectQuote();
15735 * lyxfunc.C (getStatus): Add support for all remaingin
15736 inset-insert lfuns.
15738 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15740 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15741 command (necessary to pass " as parameter of self-insert.
15743 * text.C (selectWordWhenUnderCursor):
15744 (selectWord): add word_location parameter
15745 (selectWordWhenUnderCursor): same + remove special code for word
15747 (selectNextWord): use kind() to guess type of insetspecialchar,
15750 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15751 (insertErtContents): create ert insets as collapsed.
15752 (readInset): better compatibility code for Info inset.
15754 2001-07-20 Juergen Vigna <jug@sad.it>
15756 * lyxfunc.C (dispatch): use always LyXFind now!
15758 * text2.C (init): add a reinit flag so that the LyXText can be
15759 reinited instead of deleted and reallocated (used in InsetText).
15761 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15767 2001-07-18 Juergen Vigna <jug@sad.it>
15769 * text.C (selectNextWord): handle insets inside inset by calling
15770 always the bv->text functions so that we can go up the_locking_inset!
15772 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15773 in strange locations when inside an inset!
15775 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15776 handling to include insets.
15778 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15780 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15782 * LyXAction.C (init):
15784 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15785 LIGATURE_BREAK, since the name is so stupid.
15787 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15789 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15792 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15794 * sp_form.[Ch]: remove.
15796 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15798 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15801 * src/buffer.C (readInset): ditto.
15803 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15805 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15806 menuSeparator(), endOfSentenceDot(), ldots() and
15807 hyphenationPoint(), which are therefore removed.
15808 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15810 * LyXAction.C (init):
15811 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15813 * paragraph.C (getWord): removed.
15815 * BufferView_pimpl.C (Dispatch): use last word or selection for
15816 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15818 * lyx_main.C (queryUserLyXDir): do not ask before creating
15819 user_dir, except if it has been named explicitely.
15821 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15823 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15824 a document of zero size.
15826 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15828 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15829 approriately in the c-tor and in require().
15830 (getPackages): output the appropriate LaTeX for natbib support.
15832 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15833 variables "use_natbib" and "use_numerical_citations" when reading the
15835 (readInset): read the various natbib cite commands.
15836 (validate): white-space change.
15838 * bufferparams.[Ch]: new variables "bool use_natbib" and
15839 "bool use_numerical_citations".
15840 (writeFile): output them in the LyX file.
15842 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15844 * lyxfunc.C (getStatus): add support for all the inset insertion
15847 * text2.C (insertInset):
15848 * paragraph.C (insetAllowed):
15849 * BufferView_pimpl.C (insertInset): update to take in account the
15850 renaming of insertInsetAllowed
15852 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15854 * text2.C (getInset): new method. returns inset at cursor position.
15856 * BufferView_pimpl.C (Dispatch): changes because of this.
15858 * LyXAction.C (init): rename open-stuff to inset-toggle.
15860 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15862 * text2.C (toggleInset): renamed from openStuff; use
15865 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15867 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15869 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15871 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15873 * buffer.C (readLyXformat2): Add filename to the error dialog
15875 2001-07-18 Juergen Vigna <jug@sad.it>
15877 * tabular.C (GetCellNumber): put an assert here instead of the check!
15879 2001-07-17 Juergen Vigna <jug@sad.it>
15881 * BufferView_pimpl.C (toggleSelection): adapted too.
15883 * text.C (selectNextWord): adapted for use with insets.
15884 (selectSelectedWord): ditto
15886 2001-07-17 Juergen Vigna <jug@sad.it>
15888 * sp_spell.C (PSpell): fix initialitation order.
15890 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15892 * paragraph.C: spacing
15894 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15896 * sp_spell.C: repair language selection for pspell
15898 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15900 * lyxfunc.h: change more methods to begin with lower char.
15902 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15904 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15905 for unknown layouts.
15907 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15909 * buffer.C (readLyXformat2): Generate an error dialog if there are
15912 2001-07-16 Juergen Vigna <jug@sad.it>
15914 * sp_spell.C: always compile ISpell part.
15916 * lyxrc.C: added use_pspell entry and it's handling.
15918 2001-07-13 Juergen Vigna <jug@sad.it>
15920 * sp_spell.C: removed double includes.
15922 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15924 Consistent use of Lsstream.h:
15925 * Lsstream.h: added using std::stringstream for consistencies sake.
15927 * buffer.C: removed using std::stringstream
15929 * lyxfont.C (stateText):
15930 * paragraph.C (asString):
15931 * text.C (selectNextWord, selectSelectedWord):
15932 * text2.C (setCounter):
15933 * vspace.C (asString, asLatexString):
15934 std::ostringstream -> ostringstream.
15936 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15938 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15939 * commandtags.h: add LFUN_HELP_ABOUTLYX
15940 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15942 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15944 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15946 * lyx_gui_misc.C: remove spellchecker
15947 * lyxfunc.C: showSpellchecker
15949 * sp_ispell.h: added
15950 * sp_pspell.h: added
15951 * sp_spell.C: added
15952 * sp_form.[Ch]: removed
15953 * spellchecker.[Ch]: removed
15955 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15957 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15959 (simpleTeXSpecialChars): Simply print the input character without
15960 any special translation if pass_thru is set.
15962 * layout.h: Added bool pass_thru to layout class for being able to
15963 implement pass through of a paragraph for Literate Programming.
15965 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15966 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15967 * layout.C (Read): add "passthru" to list of layout tags and add
15968 code to set the pass_thru boolean when it is read.
15970 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15972 * trans_decl.h: remove allowed from KmodInfo
15974 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15975 remove allowed code
15978 * paragraph_pimpl.C (erase): use boost::prior
15980 * Painter.C (text): use data() instead of c_str() when length is
15982 * WorkArea.C (putClipboard): ditto
15983 * font.h (width): ditto
15985 * BufferView2.C: use it-> instead of (*it). for iterators
15987 * paragraph_pimpl.C: ditto
15988 * paragraph.C: ditto
15989 * minibuffer.C: ditto
15990 * language.C: ditto
15992 * encoding.C: ditto
15993 * counters.C: ditto
15994 * converter.C: ditto
15996 * Variables.C: ditto
15997 * TextCache.C: ditto
15998 * MenuBackend.C: ditto
15999 * LyXAction.C: ditto
16001 * FloatList.C: ditto
16002 * DepTable.C: ditto
16003 * ColorHandler.C (LyXColorHandler): ditto
16005 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16007 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16009 * text2.C (openStuff): reintroduce this method (which had been
16010 nuked in NEW_INSETS frenzy).
16012 * lyxfunc.C (Dispatch): when an action has not been handled, use
16013 its name in the error message, not its number.
16015 * paragraph.C (inInset): change method name to begin with lowercase.
16018 * text2.C: updates because of this.
16020 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16022 * ToolbarDefaults.C (add): add spaces in error message
16024 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16026 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16027 (readLyXformat2): rename return_par to first_par, use lyxlex's
16028 pushToken and remove the manual push handling.
16029 (parseSingleLyXformat2Token): add another ert comp. variable:
16030 in_tabular, rename return_par to first_par. handle newlines better
16032 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16034 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16036 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16038 * text2.C (getParFromID): removed
16040 * buffer.C (getParFromID): new method moved form lyxtext.
16041 * BufferView2.C (insertErrors): adjust
16042 (setCursorFromRow): adjust
16043 * BufferView_pimpl.C (restorePosition): adjust
16044 * lyxfunc.C (Dispatch): adjust
16045 * undo_funcs.C (textUndo): adjust
16047 (textHandleUndo): adjust
16048 (textHandleUndo): adjust
16050 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16052 * buffer.C: up' the LYX_FORMAT
16054 * lyxfont.h: turn NO_LATEX on as default
16056 * buffer.C (insertErtContents): new methods of tex style compability.
16057 (parseSingleLyXformat2Token): use it several places.
16058 * tabular.C (OldFormatRead): and here
16060 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16062 * text2.C: remove some commented code.
16065 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16066 * trans.C: changes because of the above.
16068 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16070 * text2.C (setCounter): Fix counters bug with bibliography layout.
16072 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16074 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16075 own member functions
16076 (simpleTeXSpecialChars): ditto
16078 2001-07-06 Juergen Vigna <jug@sad.it>
16080 * a lot of files: changed the access to LyXText::status and the
16081 call of undo-functions.
16083 * undo.[Ch]: added a inset_id to the undo informations.
16085 * undo_funcs.[Ch]: added and moved here all undo functions.
16087 * lyxtext.h: give the status enum a weight, made status_ a private
16088 variable and made accessor functions for it, removed the whole bunch
16089 of undo-functions as they are now in their own file, make some
16090 functions publically available. Added function ownerParagraph with
16093 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16094 made InInset() a const function, added getParFromID() function.
16096 * buffer.[Ch]: added const version for inset_iterator functions,
16097 added getInsetFromID() function.
16099 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16100 changed undo functions for new version.
16102 2001-07-05 Juergen Vigna <jug@sad.it>
16104 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16105 unknow mechanism does not call the proper constructor but only this
16106 one also if I request the other!?
16108 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16110 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16112 * text2.C (LyXText): use initialization lists.
16114 * lyxtext.h (Selection): initialize set_ and mark_
16115 (init): remove method
16117 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16119 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16121 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16123 * screen.[Ch]: change method names to begin with lowercase
16125 * BufferView_pimpl.C (updateScrollbar): simplify further and
16126 hopefully make it a bit faster.
16128 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16130 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16131 calling directly xforms functions.
16133 * Painter.C (Painter):
16134 * lyx_cb.C (MenuWrite):
16135 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16138 * lyx_gui.C: remove bogus guiruntime extern declaration.
16140 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16142 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16144 (redoDrawingOfParagraph): ditto
16145 (redoParagraphs): ditto
16146 (cutSelection): don't create a object for CutAndPaste use the
16147 static method directly
16148 (pasteSelection): ditto
16150 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16153 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16155 * modifications to some other files because of this.
16157 * Makefile.am (lyx_SOURCES): add XFormsView
16159 * XFormsView.[Ch]: new files
16161 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16162 the main window. Move the gui dependent stuff to XFormsView
16164 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16166 * tabular.C (GetCellInset): update cur_cell also in the row/col
16167 version of this function.
16169 * lyxfunc.C: no need to include figure_form.h here.
16175 * lyxvc.C: no need to include forms.h here.
16177 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16179 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16181 * lyxfunc.C (Dispatch):
16183 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16184 constructor argument.
16186 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16188 * paragraph.C (Paragraph): dont't clear, and just set layout.
16189 (makeSameLayout): use params's copy contructor.
16191 * ParagraphParameters.[Ch] (makeSame): delete method
16193 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16195 * Variables.[Ch]: fix indentation, rename set to isSet
16197 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16199 * lyxfunc.C (Dispatch): fix typo
16201 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16203 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16206 * bufferlist.C: include assert.h for emergencyWrite().
16208 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16210 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16211 give up at last (bug #425202) !
16213 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16219 * spellchecker.C: strip spellchecker options and bring up
16220 preferences tab instead
16222 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16224 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16225 the istringstream constructor
16227 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16229 * paragraph.C (getLayout): fix return value
16231 * paragraph.h: do not declare getLayout as inline.
16233 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16235 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16237 * lyxcursor.h (operator<): new func
16238 (operator>): new func
16239 (operator>=): new func
16240 (operator<=): new func
16242 * text.C (changeCase): use selection.start and selection.end
16243 (changeRegionCase): require from to be <= to. Require par to be a
16246 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16248 2001-06-27 Juergen Vigna <jug@sad.it>
16250 * text.C (cursorLeftOneWord): changed to return the cursor and added
16251 overlay with BufferView * parameter which calls this one.
16253 (selectWord): use new getWord function.
16254 (changeCase): renamed from changeWordCase as and extended to work
16255 also on selections.
16257 * lyxtext.h: added enum word_location
16259 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16260 changeCase as this operates now also on selections.
16262 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16264 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16266 * many files: send debug output to Debug::INFO instead of
16269 * converter.C (View):
16271 (Move): send debug output to Debug::FILES instead of console.
16273 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16275 * lyxfunc.C (getStatus): use func_status
16277 * func_status.h: new header, describing the results of
16278 LyXFunc::getStatus;
16280 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16283 2001-06-25 The LyX Project <jug@sad.it>
16285 * buffer.C (sgmlOpenTag):
16287 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16289 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16291 * text2.C: remove some dead code
16293 * tabular.C (GetCellInset): store the last cell checked (gotten)
16295 * tabular.h: add the helper for the speedup
16297 * lyxtext.h: remove some dead code
16299 2001-06-26 The LyX Project <Asger>
16301 * paragraph.C: Change export to LaTeX of alignment to
16302 \begin{center} and family for better roundtrip work with reLyX.
16304 * Tune the math drawing a bit.
16306 2001-06-25 The LyX Project <Asger>
16308 * LColor.C (LColor): New color for math background. New color
16311 2001-06-25 The LyX Project <jug@sad.it>
16313 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16315 * lyxfunc.C (Open):
16316 * bufferlist.C (newFile): do not restrict to files ending with
16319 * BufferView_pimpl.C (MenuInsertLyXFile):
16321 2001-06-24 The LyX Project <jug@sad.it>
16323 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16326 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16328 * lyxtext.h: rename most methods to begin with a small char.
16329 Lots of changes because of this.
16331 * paragraph.C (Paragraph): do not call fitToSize
16332 (erase): call Pimpl::erase
16333 (insertChar): call Pimpl::insertChar
16334 (insertInset): call Pipl::insertInset
16335 (breakParagraph): do not call fitToSize
16336 (breakParagraphConservative): do not call fitToSize
16337 (fitToSize): remove method
16339 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16341 2001-06-24 The LyX Project <Asger>
16343 * Fix Qt compilation^2
16345 2001-06-24 The LyX Project <jug@sad.it>
16347 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16348 depthHook(getDepth()-1).
16351 * ParagraphParameters.h:
16352 * ParameterStruct.h: change type of depth to unsigned int ==
16353 depth_type. Many adaptations to other files before of that.
16355 2001-06-24 The LyX Project <Asger>
16357 * Fix Qt compilation.
16359 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16361 * paragraph.h: renamed several methods to begin with small letter.
16362 several changes to many parts of the code because of this.
16364 2001-06-23 The LyX Project <jug@sad.it>
16366 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16367 rewritten to discard all double spaces when KeepEmpty is off
16368 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16369 to only handle newlines but not fiddle with spaces and friends.
16371 * lyxfunc.C (MenuNew): when doing 'new from template', use
16372 template_path as default directory
16374 2001-06-23 The LyX Project <Asger>
16376 * Clean-up of header file includes all over
16377 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16379 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16381 * paragraph.h: renamed from lyxparagraph.h
16383 2001-06-23 Asger <lyx@violet.home.sad.it>
16385 * Buffer.h: Removed Buffer::resize
16386 * BufferList.h: Removed BufferList::resize
16387 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16388 the document lazily when we change the width, or the font settings.
16390 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16392 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16394 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16396 * buffer.h: remove out of date comment
16398 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16401 * screen.C: fix "theoretical" GC leak
16403 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16405 * LaTeX.C (scanAuxFile):
16406 (deplog): remove trailing \r when reading stream (useful under
16409 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16411 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16412 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16413 and BufferView::theLockingInset(Inset*), so should use them and not
16414 access bv_->text->the_locking_inset directly.
16416 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16418 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16421 * tex-defs.h: remove old unused file
16423 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16425 * BufferView_pimpl.C: fix typo, remove minibuffer message
16426 when buffer has loaded
16428 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16430 * lyxfunc.C (Dispatch): use stringstream
16431 (MenuNew): use stringstream
16432 (Open): use stringstream
16434 * importer.C (Import): use stringstream
16436 * bufferview_funcs.C (CurrentState): use stringstream
16438 * LaTeX.C (run): use stringstream
16440 * BufferView_pimpl.C (savePosition): use stringstream
16441 (restorePosition): use stringstream
16442 (MenuInsertLyXFile): use stringstream
16444 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16457 * vspace.C: removed // -*- C++ -*- as first line.
16460 * version.h: added // -*- C++ -*- as first line.
16462 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16464 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16466 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16469 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16471 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16474 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16476 * gettext.C: include LString.h even when --disable-nls is on.
16478 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16480 * converter.h (Get): changed argument type from int to
16481 FormatList::size_type to avoid unnecessary conversion.
16483 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16486 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16488 * gettext.h: include LString.h even when --disable-nls is on.
16490 2001-06-07 Juergen Vigna <jug@sad.it>
16492 * text.C (BreakAgain): subst spaces with tabs.
16494 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16495 (resizeInsetsLyXText): set force on resizeLyXText.
16497 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16499 * gettext.h (gettext_init):
16500 (locale_init): use a real definition instead of a macro
16502 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16504 * Bufferview_pimpl.C:
16506 * LColor.C: further lcolor tidies
16508 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16510 * BufferView_pimpl.C (updateScrollbar): simplify.
16512 * BufferView2.C: don't include insets/insetinfo.h, change
16513 prototype for insertInset and call the Pimpl version. let
16514 updateInset call Pimpl version.
16516 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16517 gotoInset to BufferView::Pimpl
16519 2001-06-01 Juergen Vigna <jug@sad.it>
16521 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16522 inside a LockingInset (is the update needed at all?).
16524 2001-05-31 Juergen Vigna <jug@sad.it>
16526 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16527 here not the old one otherwise how should we compare it afterwards
16530 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16535 * FontInfo.C: bring C functions into global namespace when
16538 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16540 * LString.h: make sure config.h has been loaded before LString.h.
16542 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16543 (one for each char read by EatLine!).
16545 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16548 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16550 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16551 to the same as the par we break from
16553 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16555 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16557 * MenuBackend.C (expand): also create menu entries for wide
16558 versions of the floats.
16560 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16562 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16564 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16565 frontends/Makefile.am
16571 * tabular.C (getTokenValue): add std::
16573 * tabular-old.C (getTokenValue): add std::
16574 (getTokenValue): ditto
16575 (getTokenValue): ditto
16577 * screen.C (ToggleSelection): adjust
16579 * lyxtext.h: put selection cursors inside a Selection struct.
16581 * lyxfunc.C (moveCursorUpdate): adjust
16583 * lyxfont.C (latexWriteStartChanges): add std::
16585 * lyxfind.C: adjust
16587 * font.h: delete with(char const *, LyXFont const &)
16589 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16591 * FontInfo.C (getFontname): add std::
16593 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16594 (workAreaButtonPress): adjust
16595 (tripleClick): adjust
16597 (moveCursorUpdate): adjust
16600 * BufferView2.C (gotoInset): adjust
16602 2001-05-30 Juergen Vigna <jug@sad.it>
16604 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16605 to check pspell I add this as default as I now have new pspell
16606 libraries and they seem to use this.
16608 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16610 * text2.C (CutSelection): make the cursor valid before the call to
16613 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16615 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16616 relied on 0 terminated strings and other horrors. Bug found due to
16617 the new assert in lyxstring!
16619 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16622 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16624 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16627 * lyxfunc.C (processKeySym): change method of getting to the
16630 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16631 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16632 * BufferView_pimpl.[Ch]: here as private methods.
16634 2001-05-28 Juergen Vigna <jug@sad.it>
16636 * text.C (SetHeightOfRow): added the update() call again as it is
16637 needed to initialize inset dimensions!
16639 2001-05-16 Juergen Vigna <jug@sad.it>
16641 * text2.C (SetCharFont): Add new function with BufferView * and
16642 bool toggleall parameters for setting insets internal fonts.
16643 (SetFont): Freeze the undo as we may change fonts in Insets and
16644 all this change should be inside only one Undo!
16646 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16647 setting font's in insets as for them we have the SetFont function!
16649 2001-05-15 Juergen Vigna <jug@sad.it>
16651 * text2.C (ClearSelection): to be sure we REALLY don't have any
16654 * tabular.C (TeXCellPreamble): fixed the left border problem for
16657 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16659 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16662 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16664 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16665 LFUN_BREAKPARAGRAPH.
16667 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16668 help test to "internal only", similar for LFUN_INSERT_URL
16670 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16671 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16672 auto_region_delete and deadkeys.
16674 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16677 * LColor.C: remove some dead entries, tidy a little
16679 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16681 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16683 (Dispatch): implement LFUN_ESCAPE
16685 * commandtags.h: add LFUN_ESCAPE
16687 * LyXAction.C (init): add entry for LFUN_ESCAPE
16689 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16690 Remove commented code.
16691 (insertNote): moved here
16692 (open_new_inset): moved here
16694 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16697 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16699 * kbmap.C (findbinding): clean it up and make it work correctly.
16701 * lyx_main.C (init): do not pass argc and argv as parameters
16703 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16705 * buffer.C: fix path for OS/2 & Win32
16709 * lyx_main.C: Added os:: class.
16711 * os2_defines.h: update
16713 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16715 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16716 better by trying again with reduced state.
16718 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16720 * lyxrc.C (read): print error about invalid key sequence only when
16721 debugging (because not all latinX keysyms are known to some X
16724 * kbsequence.C (getiso): add a few std:: qualifiers
16725 (getiso): comment out extra return statement.
16727 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16729 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16731 (Dispatch): enhance the accent inset a bit. (not perfect)
16733 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16735 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16737 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16739 * bufferlist.C (emergencyWrite): fix assert() call
16741 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16743 * text.C (InsertChar): Added trivial patch to only send the "you
16744 can not do multiple spaces this way" message once during a
16747 2001-05-08 Baruch Even <baruch@lyx.org>
16749 * Makefile.am: Changed order of libraries to get LyX to link properly
16750 with the gnome frontend.
16752 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16754 * LaTeXFeatures.h: add a std:: qualifier
16756 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16758 * paragraph.C (String): use stringstream
16760 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16762 * paragraph.C (writeFile): remove footflag arg
16764 * buffer.C (makeLaTeXFile): use stringstream
16765 (latexParagraphs): remove footnot gurba
16767 * LaTeXFeatures.C (getPackages): use stringstream
16768 (getMacros): likewise
16769 (getTClassPreamble): likewise
16770 (getFloatDefinitions): new method
16772 * paragraph.C (writeFile): reindent
16775 * WorkArea.h: revert the xpos + etc changes.
16777 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16779 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16781 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16782 (pasteSelection): likewise
16783 * text2.C (CreateUndo): likewise
16785 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16787 * minibuffer.C (peek_event): temporarily reduce the functionality
16788 of the minibuffer (to allow args on lfuns)
16790 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16791 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16793 * buffer.C (readInset): add compability reading of old float
16794 lists, add reading of new style float list.
16795 (readInset): avoid reevaluation of inscmd.getCmdName()
16796 (getLists): reindent
16798 * MenuBackend.C (MenuItem): implement parsing of
16799 md_floatlistinsert and md_floatinsert.
16800 (expand::LastFiles): move initalizaton of iterators out of loop,
16801 avoid reevaluation.
16802 (expand::Documents): introduce typdedef vector<string> Strings,
16804 (expand::ExportFormats): introduce typedef vector<Format const *>
16805 Formats, and use it.
16806 (expand): implement FloatListInsert and FloatInsert.
16808 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16809 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16810 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16812 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16814 (Dispatch::LFUN_FLOAT_LIST): implement
16816 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16818 * LaTeX.C (run): Fix problem with --export code.
16820 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16822 * BufferView.[Ch] (workarea): removed.
16823 (getClipboard) new method; wrapper for workarea()->getClipboard()
16825 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16828 * WorkArea.h (width, height, xpos, ypos): These methods all
16829 returned the dimensions of the work_area sub-area of WorkArea,
16830 resulting in a position error if the WorkArea were resized. Now
16831 return the dimensions of the entire WorkArea.
16833 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16835 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16837 * LaTeX.C (deplog): correct the syntax of regex reg1
16839 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16841 * undo.C: remove !NEW_INSETS cruft
16843 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16845 * text2.C: remove !NEW_INSETS cruft
16847 * text.C: remove !NEW_INSETS cruft
16849 * tabular.C: remove !NEW_INSETS cruft
16851 * spellchecker.C: remove !NEW_INSETS cruft
16853 * lyxtext.h: remove !NEW_INSETS cruft
16855 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16857 * lyxfunc.C: remove !NEW_INSETS cruft
16859 * lyxfind.C: remove !NEW_INSETS cruft
16861 * lyx_cb.C: remove !NEW_INSETS cruft
16863 * figureForm.C: remove !NEW_INSETS cruft
16865 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16867 * buffer.[Ch]: remove !NEW_INSETS cruft
16869 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16871 * CutAndPaste.C: remove !NEW_INSETS cruft
16873 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16875 * BufferView2.C: remove !NEW_INSETS cruft
16877 * BufferView.h: remove !NEW_INSETS cruft
16879 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16881 * Lsstream.h: include LString.h before the sstream headers to
16882 fix problem with gcc 2.95.3 and lyxstring
16884 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16886 * lyx_main.C: add using directives when needed for C functions
16887 declared in std:: namespace.
16889 2001-04-27 Juergen Vigna <jug@sad.it>
16891 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16892 (SetHeightOfRow): comment out the update call should not be needed!
16894 2001-04-13 Juergen Vigna <jug@sad.it>
16896 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16897 (LyXTabular): tried to minimize operator= operations (and realized
16898 hopfully Lars wish).
16900 2001-04-27 Juergen Vigna <jug@sad.it>
16902 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16904 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16906 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16908 * buffer.C (readInset): hack to make listof algorithm work
16910 * BufferView_pimpl.C: hack to make listof algorithm work
16912 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16914 * LyXAction.C: removed all !NEW_INSETS cruft
16915 (init): moved lfun_item in method
16917 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16919 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16921 * BufferView2.C (theLockingInset): white space.
16923 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16925 * minibuffer.C: include <iostream>
16927 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16929 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16931 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16933 * text.[Ch] (TransposeChars): new method
16935 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16937 * call message directly through LyXView instead of through LyXFunc
16938 * BufferView2.C: adjust
16939 * BufferView_pimpl.C: adjust
16940 * FontLoader.C: adjust
16942 * bufferview_funcs.C: adjust
16943 * converter.C: adjust
16944 * figureForm.C: adjust
16945 * importer.C: adjust
16947 * lyx_gui_misc.C: adjust
16948 * lyxfunc.C: adjust
16951 + more files in subdirs
16953 * lyxparagraph.h (size): move up int file
16956 * adjust all uses of Assert to lyx::Assert.
16958 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16959 lyxfunctional in namespace lyx
16960 * layout.C (hasLayout): ditto
16963 (delete_layout): ditto
16964 (NumberOfClass): ditto
16965 * converter.C (GetFormat): ditto
16970 * bufferlist.C (getFileNames): ditto
16971 (emergencyWriteAll): ditto
16974 * MenuBackend.C (hasSubmenu): ditto
16977 * BufferView_pimpl.C (getInsetByCode): ditto
16979 2001-04-18 Juergen Vigna <jug@sad.it>
16981 * vspace.C (asLatexString): fixed the 100% problem.
16983 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16985 * lyxfunc.C (Dispatch):
16987 * minibuffer.h: add a few std:: qualifiers
16989 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16991 * minibuffer.[Ch]: reimplement so that commands is initiated and
16992 run from lyxfunc, simplified som handling, and made the completion
16993 and history code for complete. wip.
16995 * lyxfunc.C (processKeySym): call message
16996 (miniDispatch): new temporary method
16997 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16998 (LFUN_MESSAGE): implement
16999 (LFUN_MESSAGE_PUSH): implement
17000 (LFUN_MESSAGE_POP): implement
17001 (initMiniBuffer): the initial/defualt minibuffer message.
17003 * lyxfont.[Ch]: inline some more getters
17005 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17007 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17009 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17010 (AutoSave): use LFUN_MESSAGE
17011 (Reconfigure): ditto
17013 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17015 * figureForm.C: use LFUN_MESSAGE
17017 * converter.C (runLaTeX): use LFUN_MESSAGE
17019 * bufferview_funcs.C: use LFUN_MESSAGE
17021 (changeDepth): ditto
17023 * bufferparams.h: use boost::
17025 * bufferlist.h: inherit privately from noncopyable
17027 * bufferlist.C (loadLyXFile): remove some commented code.
17029 * buffer.C (runChktex): use LFUN_MESSAGE
17031 * ShareContainer.h: inherit privately from noncopyable
17033 * ParagraphParameters.[hC] (depth): inline it.
17035 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17037 (message): new method
17038 (messagePush): ditto
17039 (messagePop): ditto
17040 (show): init minibuffer
17041 (showState): direct call
17043 * LaTeX.[Ch]: inherit privately from noncopyable
17044 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17045 instead of WriteStatus.
17047 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17049 * BufferView_pimpl.C (buffer): don't init minibuffer
17050 (workAreaButtonPress): use LFUN_MESSAGE
17051 (workAreaButtonRelease): ditto
17052 (savePosition): ditto
17053 (restorePosition): ditto
17054 (MenuInsertLyXFile): ditto
17055 (workAreaExpose): don't init minibuffer
17056 (update): remove commented code, simplify
17058 * BufferView2.C (openStuff): use LFUN_MESSAGE
17059 (toggleFloat): ditto
17062 (copyEnvironment): ditto
17063 (pasteEnvironment): ditto
17068 (updateInset): remove some commented code
17070 * lastfiles.h: inherit privately from noncopyable
17073 * lyx_main.h: ditto
17075 * lyxlex_pimpl.h: ditto
17077 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17078 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17079 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17081 * LyXAction.h: inherit privately from noncopyable, add methods
17082 func_begin, func_end, returning iterators to the func map.
17084 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17085 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17086 (func_begin): new method
17087 (func_end): new method
17089 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17091 (copySelection): ditto
17092 (pasteSelection): ditto
17094 * BufferView.C: whitespace change
17095 * BufferView.h: inherit privately from noncopyable
17097 2001-04-16 Allan Rae <rae@lyx.org>
17099 * tabular-old.C (l_getline):
17100 * spellchecker.C (sc_check_word):
17101 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17102 an unrecognised preprocessor directive. So ensure they're wrapped.
17104 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17106 * src/exporter.C (Export): Give an error message when path to file
17109 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17111 * LaTeX.C (deplog): Always check that foundfile exists.
17113 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17116 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17118 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17120 * tabular.[Ch] (getLabelList): implement new method
17122 * minibuffer.h: comment ouf setTiimer
17124 * minibuffer.C (ExecutingCB): constify res
17125 (peek_event): constify s
17126 (Set): constify ntext
17127 (Init): constify nicename
17129 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17131 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17132 (savePosition): use two params to Minibuffer::Set
17133 (restorePosition): ditto
17135 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17137 * lyx_main.C: include language.h
17139 * Makefile.am (lyx_main.o): add language.h
17141 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17147 * CutAndPaste.C: include gettext.h
17149 * lyxfont.h: remove old hack with ON and OFF.
17152 * lyxfont.h: do not include language.h...
17157 * bufferview_funcs.C:
17163 * paragraph.C: ... but do it here instead
17165 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17167 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17169 * tabular.C: small reformat
17171 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17174 (BreakParagraph): ditto
17175 (SetOnlyLayout): ditto
17178 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17181 * lastfiles.C: removed most using decl, add std:: where needed
17183 * buffer.C: ws changes
17185 * MenuBackend.C (class compare_format): put into anon namespace
17186 (expand): constify label, names, action, action2
17189 * text.C (SingleWidth): constify font
17190 (IsBoundary): constify rtl2
17191 (GetVisibleRow): constify ww
17193 * LaTeX.C (deplog): constify logfile
17195 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17197 (workAreaExpose): constify widthChange, heightChange
17199 * lyxrow.C (par): moved
17202 * lyxrow.h: as inlines here
17204 * lyxfont.h (shape): moved from lyxfont.C
17205 (emph): moved from lyxfont.C
17207 * lyxfont.C (LyXFont): use initialization list for all
17209 (shape): move to lyxfont.h as inline
17210 (emph): move to lyxfont.h as inline
17213 2001-04-04 Juergen Vigna <jug@sad.it>
17215 * vspace.C: had to include stdio.h for use of sscanf
17217 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17220 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17221 independent of xforms.
17223 2001-04-02 Juergen Vigna <jug@sad.it>
17225 * spellchecker.C: fixed namespace placing!
17227 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17229 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17230 the LyXParagraph * is 0.
17232 2001-03-29 Juergen Vigna <jug@sad.it>
17234 * vspace.C: added support for %, c%, p%, l%.
17235 (stringFromUnit): added helper function.
17236 (asLatexString): changed to give right results for the %-values.
17238 * buffer.C: convert the widthp in a width%.
17240 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17242 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17245 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17246 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17248 * lyx_cb.[Ch]: see above.
17250 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17254 * lyx.[Ch]: replaced by figure_form.[Ch].
17258 * lyxfunc.C: changed headers associated with above changes.
17260 2001-03-27 Juergen Vigna <jug@sad.it>
17262 * BufferView_pimpl.C: set the temporary cursor right!
17264 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17266 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17268 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17270 * LString.h: removed "using std::getline"!
17272 * BufferView_pimpl.C (Dispatch): changes due to changes in
17273 InsetInclude::Params.
17275 * buffer.C (tag_name): removed redundant break statements as they were
17276 producing lots of warnings with my compiler.
17278 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17280 * LString.h: add "using std::getline" when using the real <string>.
17282 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17284 * buffer.C: removed bitset usage.
17285 PAR_TAG moved to an anonymous name space.
17286 (tag_name): new funtion, also in the anonymous namespace.
17287 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17288 (makeDocBookFile): clean code. Completed transition from string arrays
17290 (SimpleDocBookOnePar): code clean.
17292 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17294 * tabular.C: add some comments.
17296 2001-03-22 Juergen Vigna <jug@sad.it>
17298 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17299 compatibility read a bit and fixed bug with minipage in different
17302 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17304 * buffer.C (pop_tag): removed.
17305 (push_tag): removed.
17306 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17307 array replaced with vector. Added support for CDATA sections.
17308 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17310 (makeDocBookFile): XML conformant declaration of CDATA section,
17311 fixed bug related to <emphasis> in the first paragraph char.
17312 (sgmlOpenTag): exclude empty tags.
17313 (sgmlCloseTag): ditto.
17315 * buffer.h (pop_tag): removed.
17316 (push_tag): removed.
17318 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17320 * language.h (Languages): added size_type and size().
17322 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17324 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17325 response on compability reading of minipages. One probliem is that
17326 the old usage of minipages was flertydig
17328 * several files here and in subdirs: don't use static at file
17329 scope use anon namespaces instead.
17331 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17333 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17334 LaTeX output. This is necessary for Literate document
17337 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17339 * buffer.C: insert hfill when needed.
17341 * tabular.C (l_getline): use string::erase, small whitespace change.
17343 * BufferView_pimpl.C: try the anon namespace.
17344 * WorkArea.C: ditto
17346 2001-03-16 Juergen Vigna <jug@sad.it>
17348 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17349 otherwise it won't open options-dialogs.
17351 * buffer.C: honor pextraWidth(p) on converting minipages.
17353 * tabular.C (l_getline): changed the functions to strip trailing \r.
17355 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17357 * BufferView_pimpl.C:
17358 * minibuffer..C: added "using SigC::slot" declaration.
17360 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17362 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17368 * paragraph.C: ditto
17370 * lyxtext.h: NO_PEXTRA
17372 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17374 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17375 * ParameterStruct.h: ditto
17376 * ParagraphParameters.h: ditto
17377 * lyxparagraph.h: ditto
17379 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17381 * buffer.C: add compability for minipage alignment.
17382 (latexParagraphs): remove unwanted pextra check.
17384 * several files: remove CXX_WORKING_NAMESPACES
17386 * buffer.C (pop_tag): tie is in namespace boost
17388 * BufferView.h: noncopyable is in namespace boost
17390 * lyx_main.h: ditto
17393 * lastfiles.h: ditto
17394 * bufferlist.h: ditto
17395 * ShareContainer.h: ditto
17397 * LyXAction.h: ditto
17400 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17402 * Merging changes from BRANCH_MVC back into HEAD.
17404 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17406 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17408 * BufferView_pimpl.C: change from intl.C
17412 * Makefile.am: move combox.*
17418 * intl.C: remove dialog (covered by prefs)
17420 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17422 * lyxfunc.C (Dispatch): removed redundant break statement.
17424 2001-03-14 Juergen Vigna <jug@sad.it>
17426 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17428 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17430 * buffer.C: add hack to fix compability reading of minipages.
17432 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17434 * buffer.C (getLists): Cleanup.
17436 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17438 * lyxfont.C (update): don't honor toggleall on font size.
17440 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17444 * Makefile.am: moved to frontends/xforms/
17448 * BufferView_pimpl.C: changes for moved mathpanel
17450 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17452 * gettext.h: fix gettext_init() in --disable-nls
17454 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17456 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17458 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17461 * lyx.h: strip external form
17463 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17465 * BufferView_pimpl.C: add comment, destroySplash()
17467 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17469 * BufferView_pimpl.C:
17473 * lyxfunc.C: use re-worked insetinclude
17475 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17477 * buffer.C: add using std::stringstream.
17479 * lyx_cb.C: readd using std::ios.
17481 * buffer.C: add using std::map.
17483 * BufferView_pimpl.C: add using std::vector.
17485 * ShareContainer.h: add std:: to swap.
17487 * buffer.h: add some typedefs
17488 * buffer.C (getLists): use them
17489 (getLists): renamed from getTocList.
17490 add a counter for the different float types and use it in the
17492 (getLists): use the same counter for the NEW_INSETS and the "non"
17495 * lyx_cb.h: remove unused items, includes, using etc.
17497 * ShareContainer.h: remove some commented code, add more comments
17498 and "documentation".
17500 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17502 * buffer.C (getTocList): make the list also when NEW_INSETS is
17505 * buffer.h: remove TocType
17507 * buffer.C (getTocList): change to return a map<string,
17508 vector<TocItem> >, implement for dynamic number of list.
17510 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17511 * text2.C (PasteSelection): adjust
17512 * CutAndPaste.C (pasteSelection): adjust
17514 * FloatList.C (FloatList): update from the new_insets branch.
17515 * Floating.[Ch]: ditto
17516 * LaTeXFeatures.C: ditto
17518 * lyxlex_pimpl.C: ditto
17520 * paragraph.C (Last): remove when NEW_INSETS is defined.
17522 * other file: changes because of the above.
17524 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17526 * lyxparagraph.h: rename next to next_, previous to previous_,
17527 make them private for NEW_INSETS. Rename Next() to next(),
17528 Previous() to previous().
17530 * other files: changes because of the above.
17532 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17535 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17538 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17540 * main.C (main): pass lyx_localedir to gettext_init().
17542 * gettext.h: remove locale_init and gettext_init macros
17544 * gettext.C (locale_init): new function
17545 (gettext_init): new function
17547 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17550 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17552 * Moved credits to frontends:
17553 * credits.[Ch]: removed
17554 * credits_form.[Ch]: removed
17555 * lyx_gui_misc.C: remove credits stuff
17558 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17560 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17562 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17563 unneeded destructor.
17565 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17566 a standalone pointer again.
17568 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17570 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17576 * ToolbarDefaults.C:
17585 * BufferView_pimpl.C: use new file dialog in GUII
17588 * lyx_cb.C: remove LayoutsCB to Toolbar
17590 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17592 * ShareContainer.h (get): add std:: qualifier
17594 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17596 * ShareContainer.h: define a proper ShareContainer::value_type
17597 type (and use typename to please compaq cxx)
17599 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17601 * lyxparagraph.h: move serveral local vars to
17602 ParameterStruct/ParagraphParameters., use ShareContainer in
17603 FontTable., make vars in FontTable private and add getter and
17606 * paragraph.C: changes because of the above.
17608 * lyxfont.h: remove copy constructor and copy assignment. (the
17609 default ones is ok), move number inside FontBits. move inlines to
17612 * lyxfont.C: add number to initializaton of statics, move several
17613 inlines here. constify several local vars. some whitespace
17614 cleanup. Dont hide outerscope variables.
17616 * Spacing.h: add two new constructors to match the set methods.
17618 * ShareContainer.h: new file, will perhaps be moved to support
17620 * ParameterStruct.h: new file
17622 * ParagraphParameters.h: new file
17624 * ParagraphParameters.C: new file
17626 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17627 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17629 * BufferView_pimpl.C: ParagraphParameter changes.
17630 * buffer.C: Likewise.
17631 * bufferview_funcs.C: Likewise.
17632 * text.C: Likewise.
17633 * text2.C: Likewise.
17635 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17637 * lyxfind.C (LyXReplace): do not redefine default argument in
17639 (IsStringInText): ditto
17640 (SearchForward): ditto
17641 (SearchBackward): ditto
17643 2001-03-06 Juergen Vigna <jug@sad.it>
17645 * lyxfind.C (IsStringInText): put parentes around expressions.
17647 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17649 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17651 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17653 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17655 * stl_string_fwd.h: add comment
17657 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17660 * tabular.C: remove unused DocBook methods
17666 killed DO_USE_DEFAULT_LANGUAGE
17668 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17670 * lyx_gui.C: do not include language.h.
17672 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17673 arguments in function implementation.
17675 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17677 * BufferView_pimpl.C: add <ctime>
17679 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17681 * BufferView_pimpl.C: add using std::find_if
17683 2001-02-27 José Matos <jamatos@fep.up.pt>
17685 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17688 2001-02-11 José Matos <jamatos@fep.up.pt>
17690 * buffer.C (makeDocBookFile): command styles now have a parameter as
17691 "title" by default.
17693 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17695 * layout_forms.[Ch]: removed
17696 * lyx_cb.[Ch]: out character
17697 * lyx_gui.C: out character
17698 * lyx_gui_misc.C: out character
17699 * bufferview_funcs.C: : out character,
17700 added toggleall as parameter in ToggleAndShow
17702 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17704 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17706 * text2.C (SetCurrentFont): Disable number property at boundary.
17708 2001-02-26 Juergen Vigna <jug@sad.it>
17710 * lyxfunc.C (getStatus): added a string argument override function so
17711 that this is correctly called from LyXFunc::Dispatch if it contains a
17712 do_not_use_argument which is used!
17713 (Dispatch): added check for "custom" export and call appropriate func.
17715 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17717 * lyxrc.C: Add language_command_local, language_use_babel and
17718 language_global_options.
17720 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17722 * buffer.C (makeLaTeXFile): Use language_use_babel and
17723 language_global_options.
17725 2001-02-23 Juergen Vigna <jug@sad.it>
17727 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17728 which works with LyXText and putted it inside BufferView. Here now we
17729 only call for that part the BufferView::Dispatch() function.
17731 * BufferView.C (Dispatch): added.
17733 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17734 functions which needs to use a LyXText over from LyXFunc.
17735 (MenuInsertLyXFile): added
17736 (getInsetByCode): added
17737 (moveCursorUpdate): added
17738 (static TEXT): added
17740 2001-02-22 Juergen Vigna <jug@sad.it>
17742 * BufferView_pimpl.C (update): call a status update to see if LyXText
17745 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17747 * vc-backend.C (revert): implement for CVS
17748 (getLog): implement for CVS
17750 2001-02-20 Juergen Vigna <jug@sad.it>
17752 * text2.C (ClearSelection): added BufferView param for inset_owner call
17754 * lyxfunc.C (TEXT): added this function and use it instead of
17755 directly owner->view()-text of getLyXText().
17757 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17759 * src/layout_forms.C: out preamble
17760 * src/layout_forms.h: out preamble
17761 * src/lyx_cb.C: out preamble
17762 * src/lyx_cb.h: out preamble
17763 * src/lyx_gui.C: out preamble
17764 * src/lyx_gui_misc.C: out preamble
17765 * src/lyxfunc.C: connect with guii preamble
17767 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17769 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17771 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17773 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17774 whether to run bibtex.
17776 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17778 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17780 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17782 * Makefile.am (lyx_SOURCES): removed bibforms.h
17784 * vspace.h: doxygen
17786 * text.C (GetVisibleRow): make several local vars const
17788 * tabular.C: small cleanup.
17790 * lyxserver.C (callback): use compare instead of strncmp
17792 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17793 inlines to after class or to paragraph.C
17795 * lyxfont.h: remove friend operator!=
17797 * converter.h: move friend bool operator< to non friend and after
17800 * combox.h: small cleanup
17802 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17803 to inlines after class def.
17805 * buffer.C (pop_tag): use string operations instead of strcmp
17807 * bmtable.c: doxygen, small cleanup
17809 * LaTeX.h: remove friend operator==
17811 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17823 * BufferView_pimpl.C:
17824 * BufferView.[Ch]: remove cruft
17826 2001-02-14 Juergen Vigna <jug@sad.it>
17828 * lyxfunc.C: removed #if 0 unused code
17830 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17832 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17834 * text2.C (SetSelection): added a BufferView * parameter
17836 2001-02-13 Juergen Vigna <jug@sad.it>
17838 * lyxfunc.C (Dispatch): fixed protected blank problem.
17839 * BufferView2.C (protectedBlank): added LyxText * parameter.
17841 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17842 (AppendColumn): same as above for column_info.
17844 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17845 (moveCursorUpdate): use a LyXText param for support of InsetText.
17847 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17848 (tripleClick): ditto
17850 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17852 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17854 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17856 * text2.C (SetSelection): set correct update status if inset_owner
17857 (ToggleFree): ditto
17859 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17861 * tabular.C: remove some commented code.
17863 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17865 * BufferView_pimpl.C: call hideSplash()
17867 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17870 * bibforms.h: remove
17873 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17874 add LFUN_CHILD_CREATE
17876 * counters.h: fix tiny typo
17881 * lyx.C: move splash to frontends/xforms/
17883 * lyx_gui_misc.C: move Include and Bibform to frontends
17885 * lyxvc.h: clarify comment
17887 * vspace.C: tiny housekeeping
17889 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17891 * text.C (PrepareToPrint): RTL Fix.
17893 * paragraph.C (GetUChar): New method.
17894 (String): Use GetUChar.
17896 * buffer.C (asciiParagraph): Use GetUChar.
17898 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17900 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17902 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17905 * buffer.C: rename to getLogName(), handle
17906 build log / latex log nicely
17908 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17911 * MenuBackend.h: remove support for reference menuitem type.
17913 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17915 * BufferView_pimpl.C: housekeeping
17916 * BufferView_pimpl.h:
17921 * minibuffer.h: move Timeout GUI-I
17923 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17925 * lyxrc.C (read): Update converters data-structures.
17927 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17929 * LaTeX.h (operator!=): add operator != for Aux_Info
17931 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17933 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17935 * LaTeXLog.C: deleted, useful code moved to Buffer
17938 * buffer.C: new function getLatexLogName()
17944 * lyxfunc.C: use frontends for LaTeX and VC logs
17946 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17948 * LaTeX.h: yet another std:: that Allan forgot.
17950 * Variables.C (set): renamed from isset(), because this clashes
17951 with some HP-UX macros (grr).
17953 2001-02-06 Allan Rae <rae@lyx.org>
17955 * LaTeX.h: Another bug fix. Missing std:: this time.
17957 2001-02-04 Allan Rae <rae@lyx.org>
17959 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17960 floats problem. I've left it commented out because it's not quite
17961 correct. It should also test that the current object is a table or
17962 figure inset. But I haven't gotten around to figuring out how to do
17963 that. I *think* it'll be something like: "table" == inset.type()
17965 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17968 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17970 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17971 all the citation/databases/styles in the auxilary file.
17972 (run): Rerun latex if there was a babel language error.
17974 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17976 * text.C (Backspace): Preserve the font when changing newline char
17978 (BreakParagraph): If the cursor is before a space, delete the space.
17980 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17982 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17984 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17985 new argument (code).
17986 (ChangeCitationsIfUnique): New method.
17988 * paragraph.C (GetPositionOfInset): Handle bibkey.
17990 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17992 * BufferView_pimpl.h: change type of Position::par_pos to
17993 LyXParagraph::size_type.
17995 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17997 * BufferView_pimpl.C (savePosition, restorePosition): Write
17998 messages to minibuffer.
18000 2001-01-28 José Matos <jamatos@fep.up.pt>
18002 * buffer.C (makeDocBookFile): adds support for document language.
18003 A silly restriction on the name of LatexCommand types where removed.
18004 Added support for CDATA sections, allows to chars unescaped, used
18005 among others in code, to avoid escape < and >.
18007 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18009 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18010 saved positions instrad of a stack. Furthermore, a position is
18011 stored using paragraph id/paragraph position.
18013 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18014 Remove LFUN_REF_BACK.
18016 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18018 * converter.C (dvipdfm_options): New method.
18020 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18022 * vspace.C (isValidLength): Fix for empty input string.
18024 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18026 * LyXAction.C (init): change description of LFUN_FIGURE to
18029 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18031 * LaTeX.C: add using directive
18033 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18035 * MenuBackend.C (expand): Fix the sorting of the formats.
18037 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18039 * lyx_main.C: tiny error message fix
18041 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18043 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18044 calling fl_initialize(). This fixes the problem with ',' as
18045 decimal separator in text files.
18047 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18049 * trans.C (process): Fix the keymap bug.
18051 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18053 * LaTeX.C (scanAuxFiles): New method. Provides support for
18054 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18055 (scanLogFile) Scan for "run BibTeX" messages.
18057 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18058 OT1 font encoding. Also, load the aecompl package if the ae
18061 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18063 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18065 * texrow.C (increasePos): turn two error messages into debug
18068 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18070 * LaTeX.C (scanAux): Handle the \@input macro.
18071 (runBibTeX): Use scanAux().
18073 * language.C (latex_options_): New field.
18075 * LaTeXFeatures.C (getMacros): Add language macros.
18077 * buffer.C (makeLaTeXFile): Small fix.
18079 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18081 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18083 * text2.C: add a using directive.
18085 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18090 * lyxfunc.C: kill LyXBell.
18092 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18094 * text.C (IsBoundary): Remove the error message
18096 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18098 * lyxrc.C (setDefaults): Correct initialization value for
18101 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18103 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18106 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18107 and GotoNextNote().
18109 * src/LyXAction.C: Added reference-next.
18111 * text.C (InsertChar): Use contains instead of strchr.
18113 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18115 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18117 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18118 alignment commands (when needed).
18120 * text.C (InsertChar): Add ':' to number separator chars.