2 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
4 * text.C (cursorX): fix bug 1965: cursor movement at
5 line end broken in RtL.
6 (drawSelection): fix bug 1970: drawing of single-line
7 selection broken for RtL.
9 2005-07-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13 * dociterator.h (clear, push_back, pop_back): change from
16 * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
17 and changed to just return the value of the item depth; take a
18 ParIterator as argument; take the itemdepth at outer nesting level
19 in account if necessary; cleanup and comment the code.
20 (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
21 and changed to just return true if reset is needed; take a
22 ParIterator as argument; cleanup and comment the code.
23 (setCounter): adapt to above changes.
25 2005-07-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
27 * text3.C (dispatch): make debug message optional
29 2005-08-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
31 * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
34 2005-08-02 Martin Vermeer <martin.vermeer@hut.fi>
36 * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
38 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
40 * text.C (insertChar):
41 * text2.C (deleteEmptyParagraphMechanism): take care whether
42 a blank has been deleted (in change tracking mode) (bug 1254).
44 2005-07-20 John Levon <levon@movementarian.org>
46 * text2.C (insertStringAsLines): remove old dubious code,
49 2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
51 * MenuBackend.C (expandToc): use Floating::listName() as title of
54 2005-07-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
56 * toc.[Ch]: Do not use translatable strings (bug 1870).
58 2005-07-20 John Levon <levon@movementarian.org>
60 * tabular.C: fix 1748 - setting multicolumn adds
61 left line to the first cell
63 2005-07-19 Lars Gullik Bjønnes <larsbj@lyx.org>
66 * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
69 2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
71 * messages.C: supress some lyxerr messages
73 2005-07-18 Juergen Vigna <jug@lyx.org>
75 * text.C (drawSelection): honor boundary when asking for cursorX.
77 2005-07-17 José Matos <jamatos@fc.up.pt>
79 * tabular.C (recalculateMulticolumns): fix handling of one column
82 2005-07-17 Juergen Vigna <jug@lyx.org>
84 * text.C (Delete, backspace): fixed so that paragraph with the
85 same layout can be merged by Delete/Backspace.
87 2005-07-17 Michael Schmitt <michael.schmitt@teststep.org>
89 * text.C (readParToken): fix spelling.
91 2005-07-17 Martin Vermeer <martin.vermeer@hut.fi>
93 * text2.C: fix counter update for DEPM problem reported by
96 2005-07-17 Juergen Vigna <jug@lyx.org>
98 * BufferView_pimpl.C (setBuffer): save/restore the
99 cursor/selection when switching buffers
102 * buffer.C (saveCursor): add saveDocumentIterators to save the
103 cursor when switching buffer.
105 2005-07-17 Michael Schmitt <michqel.schmitt@teststep.org>
108 * buffer.C: clarify message
110 2005-07-17 Lars Gullik Bjønnes <larsbj@lyx.org>
112 * dociterator.C (DocIterator): fix initialization order
114 2005-07-17 Juergen Vigna <jug@lyx.org>
116 * text2.C (cursorHome):
117 * text.C (drawSelection, cursorX):
118 * dociterator.C (textRow): add boundary to getRow() call
120 * paragraph.C (getRow): implementation of below
122 * paragraph.h: add parameter boundary for getRow() function
124 2005-07-17 José Matos <jamatos@fc.up.pt>
128 * tex-strings.[Ch]: new file format, remove support for a4.sty,
129 a4wide.sty and a4widemargins.
131 2005-07-17 Juergen Vigna <jug@lyx.org>
133 * text2.C (cursorLeft): fix one of error
135 2005-07-17 Juergen Vigna <jug@lyx.org>
137 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
139 more fixes for boundary handling
141 * text3.C (dispatch): don't reset cursor if boundary has changed
144 2005-07-16 Juergen Vigna <jug@lyx.org>
146 * text2.C (getColumnNearX): hopefully got it right now,
147 check if we are on column 0 for special case.
149 2005-07-16 Juergen Vigna <jug@lyx.org>
151 * text2.C (getColumnNearX): handle special case Newline Inset
153 * text.C (singleWidth): Just remove bogus check
155 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
157 * funcrequest.C (split): avoid reading uninitialized char c
159 2005-07-16 José Matos <jamatos@fc.up.pt>
165 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
166 single papersize variable.
168 2005-07-16 Juergen Vigna <jug@lyx.org>
170 * text3.C (dispatch): honor boundary when checking if a cursor
171 movement has been done
173 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
174 (setCursor, setCursorIntern): fix cursor movement with boundary
176 2005-07-16 Juergen Vigna <jug@lyx.org>
178 * text.C (currentState): output the actual Boundary
180 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
182 * factory.C (createInset): fix bad logic for tabular creation
184 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
186 * lyx_main.C (init): change some reLyX reference to tex2lyx
188 2005-07-16 Juergen Vigna <jug@lyx.org>
190 * dociterator.C (DocIterator): initialize boundary
192 2005-07-16 Juergen Vigna <jug@lyx.org>
194 * text2.C (getColumnNearX): Consider rows without trailing blank.
196 2005-07-16 André Pönitz <poenitz@gmx.net>
198 * lyxfont.h: Change order of declarations to give the compiler
199 a better chance to inline things
201 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
202 questions on unsaved docs for better scritability
204 2005-07-16 André Pönitz <poenitz@gmx.net>
206 * paragraph.h (getChar): remove asserts as the same kind of security
207 can be achieved by using a suitable standard library implementation
208 and the function was in the critical path (25.9% in profiler)
210 2005-07-16 Juergen Vigna <jug@lyx.org>
212 * cursor.C (bruteFind2):
213 * bufferview_funcs.C (coordOffset):
214 * text.C (cursorX,cursorY): Handle cursor position after last char
215 in row before a inset which uses a whole row.
217 2005-07-15 José Matos <jamatos@lyx.org>
219 * output_plaintext.[Ch] (writeFileAscii): control reference title
221 (asciiParagraph): noparbreak was already deal and was incorrectly
224 2005-07-15 Juergen Vigna <jug@lyx.org>
226 * lyxfunc.C (dispatch): save and restore the cursor after a
229 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
231 * text.C (backspace): bug 806 for empty keepempty paragraphs we
232 change the layout to default before letting DEPM do its thing.
234 * paragraph_funcs.C (breakParagraph): dont reset the layout on
237 * text.C (setCursorFromCoordinates): add a debug statement
239 * text2.C (getColumnNearX): bug 1825 make sure that we don't
240 return a pos that is not on the row
242 * output_latex.C (TeXDeeper): get rid of potential dereferencing
243 of past the end iterator
245 2005-07-14 André Pönitz <poenitz@gmx.net>
247 * undo.C (recordUndoFullBuffer): implement undo for
250 2005-07-14 André Pönitz <poenitz@gmx.net>
252 * cursor.C (setSelection): open insets when selection is set there
253 to avoid crashs with cold coord cache
255 2005-07-14 André Pönitz <poenitz@gmx.net>
257 * trans_mgr.C (insert): move cursor to the right after inserting
260 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
262 * BufferView_pimpl.C (update): dampen some of the debug blabbering
263 * factory.C (readInset): ditto
264 * text.C, text2.C: ditto
266 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
268 * buffer.C: format incremented to 242. There is no file format per
269 se, but the "frenchb" language has been removed from lib/language
270 and has to be translated to "french" by lyx2lyx.
272 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
274 * cursor_slice.h, dociterator.h: add some documentation
275 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
277 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
279 * text.C (leftMargin): do not add identation to display() style
280 insets, because they are always centered (bug 1293).
282 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
284 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
285 formatted_time methods in support/lyxtime.
287 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
289 * toc.[Ch]: new method getGuiName, which is used by the frontends
290 to set the toc combo (fixes bug 1870). Make TOC string translatable.
292 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
294 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
295 StableDocIterator const &)
296 * undo.C (recordUndo): use the above instead of cell.size() comparison
297 (fixes bug 1808; instructed by Andr�.
299 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
302 * dociterator.h: Fix the assert when copying rows/cols in math
304 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
306 * BufferView_pimpl.C:
308 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
310 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
311 (findInset): new functions, refactored from goto Inset that return
312 the position of a certain inset without setting the buffer's cursor
314 (gotoInset): rewrite to call findInset and then set the cursor
317 2005-06-16 Angus Leeming <leeming@lyx.org>
319 * lyxrc.C (output, read): wrap all input and output of paths with
320 calls to os::internal_path and os::external_path, respectively.
321 (output): wrap bind_file inside quotes.
323 * format.C (view): enable the viewer to use the '$$s' placeholder.
325 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
327 * LColor.[Ch] (getFromLaTeXName): new
329 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
331 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
333 2005-06-14 Angus Leeming <leeming@lyx.org>
335 * lyx_main.C (init): ensure that the LyX binary dir is the first
336 element in the PATH on non-POSIX builds.
338 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
340 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
342 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
344 * rowpainter.C (paintInset, paintHebrewComposeChar)
345 (paintArabicComposeChar, paintChars): add a LyXFont argument.
346 (paintChars): use getFontSpan to reduce calls to getFont to a
347 minimum; use Paragraph::lookupChange instead of isXXXText.
348 (paintForeignMark): rename LyXFont argument.
349 (paintFromPos): pass a LyXFont object to the various paintXXX
352 * FontIterator.C (FontIterator, operator++): use
353 Paragraph::getFontSpan
355 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
356 version that returns the font span as a pair.
358 2005-06-09 Angus Leeming <leeming@lyx.org>
360 * converter.C (convert): Don't forget "outfile = real_outfile" as
361 the final step in a conversion where the input and output file names
362 are the same. Otherwise, future conversion steps won't work...
364 2005-06-09 Angus Leeming <leeming@lyx.org>
366 * lyxsocket.C: remove stub code as it isn't needed by
367 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
369 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
371 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
372 effectively disabled -x
374 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
376 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
377 when it actually makes sense.
379 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
381 * BufferView_pimpl.C: revert to showCursor in connection with
382 Lars's front-end stack
384 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
386 * text.C (redoParagraph): move cursor right after a bibitem
389 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
391 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
393 * buffer_funcs.C (bufferErrors): fix computation of the end of an
396 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
398 * BufferView.[Ch] (update):
399 * BufferView_pimpl.[Ch] (update, metrics):
400 * dimension.h (operator==):
401 * lyxfunc.C (dispatch):
402 * metricsinfo.h (ViewMetricsInfo):
403 * rowpainter.C (paintText):
405 * text.C (redoParagraph):
406 * text3.C (dispatch): Make LyX only repaint current paragraph in
407 case of character insert --> speedup. Also fix cursor draw
410 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
412 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
413 avoid a crash (bug 1891)
415 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
419 * text2.C (getStringToIndex): constify cur argument.
421 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
422 argument has been given
423 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
424 try to invoke LFUN_INSET_APPLY).
426 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
427 if no inset was created by doInsertInset
428 (doInsertInset): return true if an inset has been inserted.
430 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
432 * vspace.C (asGUIName): new method. A version of the space
433 suitable for showing on screen.
435 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
438 * lyxrc.C: rename "ASCII" to "Plain Text"
440 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
442 * buffer_funcs.C (expandLabel): take a Buffer as argument;
443 translate the labelstring.
444 (setCounter): translate labelstring as needed.
446 * output_docbook.C (makeCommand): fix expandLabel invokation
448 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
450 * BufferView.C: fix dialog title
452 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
454 * lyx_main.C (priv_exec): fix logic error with help from Angus
455 * lyx_main.C (parse_execute): set is_gui = false and remove now
456 obsolete comment about a segfault
458 2005-05-18 Angus Leeming <leeming@lyx.org>
460 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
462 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
464 * tabular.[hC]: added setCellInset to fix tabular paste.
466 2005-05-11 Lars Gullik Bjønnes <larsbj@gullik.net>
468 * buffer.C (save): check if destination is writable before trying
471 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
473 * BufferView_pimpl.C (update): fix processEvents -caused update
476 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
478 * buffer_funcs.C (setCounter): fix test for numbering of
481 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
482 depth correctly; use optional argument when it exists
484 * lyxtextclass.C: remove unused MaxCounterTags enum
485 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
486 (max_toclevel, min_toclevel): new methods.
488 * MenuBackend.C (expandToc2): fix case where depth is smaller than
489 the smallest depth in toc.
491 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
492 layouts that should not appear in a table of contents.
494 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
496 * cursor.h (undispatched, noUpdate): add comments from Andr�
497 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
501 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
503 2005-05-07 André Pönitz <poenitz@gmx.net>
505 * cursor.[Ch] (leaveInset): new function
507 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
509 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
511 2005-05-04 Angus Leeming <leeming@lyx.org>
513 * lyxfunc.C (getStatus): disable the spell checker dialog if
514 none of USE_[AIP]SPELL are defined.
516 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
518 * tabular.C (setWidthOfCell): remove obsolete comment
520 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
522 * paragraph.C (bibitem):
523 * buffer_funcs.C (setCounter):
524 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
526 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
528 * text3.C (getStatus): immediately return after setOnOff
530 * rowpainter.C: fix drawing of appendix start
532 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
534 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
535 SwitchBetweenClasses and remove the unused return value.
536 Handle character styles, too
538 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
540 * factory.C (createInset): handle undefined character styles
542 2005-05-02 Angus Leeming <leeming@lyx.org>
544 * buffer.C: protect the #include of utime.h with a preprocessor
547 2005-05-02 Angus Leeming <leeming@lyx.org>
549 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
550 function so that auto-saving works, albeit in a blocking manner.
552 * Makefile.am: make compilation of the client sub directory, of
553 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
554 on conditionals set at configure time.
556 * SpellBase.[Ch]: no longer an abstract base class. Instead,
557 it can be compiled in its own right but has no-op functionality.
559 * aspell.C, pspell.C: remove preprocessor guards. The files should
560 be compiled only if the necessary functionality exists.
562 * lyxserver.C, lyxsocket.C: disable on Windows.
564 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
566 * text.C (leftMargin): Fix the parindent use bug (1764)
569 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
571 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
574 2005-04-25 Angus Leeming <leeming@lyx.org>
582 include <config.h> in .C files, not .h ones.
584 protect headers inside preprocessor guards.
586 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
588 * FuncStatus.h (StatusCodes): document
590 2005-04-21 André Pönitz <poenitz@gmx.net>
592 * FuncStatus.h (enabled, onoff): document
594 2005-04-19 Angus Leeming <leeming@lyx.org>
596 * BufferView_pimpl.C (cursorToggle): no longer test whether
597 any child processes have been reaped before calling
598 handleCompletedProcesses().
600 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
602 * text3.C (dispatch): fix, finally fix, the language problem in
603 new lyxtexts, without disabling on-the-fly font changes (Helge's
606 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
608 * text3.C (dispatch): set cursor on double/triple click events
611 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
613 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
614 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
616 * rowpainter.C (paintFirst): simplify the code a little bit. In
617 particular, remove the test for secnumdepth.
618 * text.C (setHeightOfRow): only allocate space for chapter number
619 when updateCounters provided an actual label, instead of looking
620 at secnumdepth directly.
622 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
624 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
625 paragraphs when secnumdepth is large enough or, for environments,
626 when they are not the first in a sequence.
628 2005-04-17 Angus Leeming <leeming@lyx.org>
630 * buffer.C (makeLaTeXFile): replace code to manipulate a path
631 containing space and '~' characters with a call to latex_path().
633 2005-04-17 Angus Leeming <leeming@lyx.org>
635 * converter.C (convert): protect all args of convertDefault.sh
638 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
640 * text3.C (dispatch): change the layout to "Caption" after inserting
643 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
645 * text3.C (dispatch): fix language problem in newly created
646 textinsets (and main text) in non-english docs
648 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
650 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
651 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
652 * text3.C (getStatus): disable LFUN_INSET_MODIFY
654 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
659 * rowpainter.C (getFont): Fix metrics bug introduced by inset
662 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
664 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
665 output of \item arguments without trailing text.
667 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
669 * FontIterator.C (operator*): avoid a copy of the font.
671 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
673 * rowpainter.C (getFont): fix language bug from previous fix
675 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
677 * rowpainter.C (RowPainter, getFont): fix font inside inset
680 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
682 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
683 preventing inserted font, deco, delim insets jumping to start of
686 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
688 * lyxfunc.C (dispatch): translate message before sending it to the
691 2005-03-29 Angus Leeming <leeming@lyx.org>
693 * lyx_main.C (priv_exec): call os::internal_path on each file passed
694 to LyX on the command line.
696 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
698 * vc-backend.C: use QuoteName to protect file names wherever
701 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
704 * BranchList.h: fix bugs 1844,1845: document settings don't
707 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
709 * lyxrc.C (setDefaults, read, output, getDescription): add support
710 for tex_allows_spaces.
712 * exporter.C (Export): allows files in directory containing spaces
713 if tex_allows_spaces is true.
715 * buffer.C (makeLaTeXFile): if the document path contains spaces,
716 output it in double quotes.
718 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
720 * rowpainter.C: use default text height for drawing change tracker
723 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
725 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
727 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
729 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
730 directory is missing.
732 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
734 * text2.C: fixed the fix, extended to other case.
736 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
738 * text2.C: fix for cursor up/down stuck in math [bug 1792]
740 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
742 * text2.C (cursorUp): get rid of a crash
743 * text.C (x2pos): add an assert
745 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
747 * lyxfunc.C (getStatus): fix warning when assertions are disabled
751 * dociterator.C: include <boost/current_function.hpp>, which is
752 needed when assertions are disabled.
754 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
756 * text2.C: fix for stuck cursor when traversing two
757 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
759 2005-02-25 Andreas Vox <avox@arcor.de>
761 * output_docbook.C (makeParagraph): suppress trailing newline
762 after a run of paragraphs
764 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
766 * paragraph.C: fix for confused change tracker when pasting
767 text that begins with a lineseparator. [bug 1827]
768 (setChange(0, Change::INSERTED);)
770 * paragraph_funcs.C: fix for lost changes on triple-paste
771 in change tracking mode [bug 1827] (par.setChange()).
773 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
775 * text2.C (updateCounters, setCounter, expandLabel): move to
778 * buffer_funcs.C (updateCounters): turn into a free standing
779 function and add a buffer parameter. Remove dead code for tracking
781 (setCounter): change into a free-standing function which gets a
782 dociterator as argument. Use this iterator to fix captions in a
783 simple way. When no float is found above the caption, use the
784 labelstring of the caption layout as default.
786 * text.C (breakParagraph, backspace):
787 * text2.C (init, setLayout, changeDepth):
788 * text3.C (dispatch):
789 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
792 * dociterator.C (forwardPar): make it much faster by calling
793 forwardPos() only when really necessary.
795 * output_docbook.C (makeCommand): adapt to expandLabel move.
797 * cursor.C: remove unused variable
799 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
801 * paragraph_funcs.C: fix crash when pasting insets in change
802 tracking mode [bug 1277] (honour change type in moveItem).
804 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
806 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
808 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
810 * BufferView.C (setCursor): change to use a DocIterator.
811 (gotoLabel): use BufferView::setCursor (other part of bug 781).
812 (putSelectionAt): adapt to BufferView::setCursor change.
814 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
815 moved here from LyXText and rewritten to use proper cursor
816 methods. Fixes bug 1787, 616 and 835.
818 * BufferView_pimpl.C (restorePosition): set the cursor correctly
819 when inside an inset (part of bug 781).
820 (dispatch): adapt to change of BufferView::setCursor.
821 (getStatus, dispatch): handle LFUN_GOTOERROR,
822 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
824 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
825 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
826 * text3.C (gotoNextInset, gotoInset): removed.
828 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
830 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
832 2005-02-15 Angus Leeming <leeming@lyx.org>
834 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
835 can be used meaningfully in a comparison.
837 2005-02-13 André Pönitz <poenitz@gmx.net>
839 * bufferview_funcs.C (coordOffset): improve cursor drawing
841 2005-02-13 André Pönitz <poenitz@gmx.net>
843 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
844 * Cursor.C (dispatch): use fixIfBroken
845 * lyxfunc.C (getStatus): use fixIfBroken
847 2005-02-15 Angus Leeming <leeming@lyx.org>
849 * lyx_main.C (error_handler):
851 * lyxrc.C (setDefaults):
853 #include "environment.h".
855 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
857 2005-02-15 Angus Leeming <leeming@lyx.org>
859 * lyxserver.C (startPipe): squash MSVC warning "local variable
860 'fd' used without having been initialized".
862 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
864 * BufferView_pimpl.C: revert accidental commit.
866 2005-02-14 André Pönitz <poenitz@gmx.net>
868 * dociterator.[Ch]: new member forwardPosNoDescent(),
869 which doesn't enter nested insets.
870 * text2.C (setFont): use forwardPosNoDescent() instead
871 of ForwardPos() (fixes crash on font change).
873 2005-02-13 Angus Leeming <leeming@lyx.org>
875 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
876 only if lyxrc.path_prefix is not empty.
878 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
880 * bufferparams.C (readGraphicsDriver): prevent crash
882 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
884 * text2.C (setCounter): check for inInset() == 0
886 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
888 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
889 but use update() to get correct screen display; use convert
890 instead of istringstream.
891 (getStatus): handle LFUN_GOTO_PARAGRAPH
893 * lyxfunc.C (dispatch, getStatus): do not handle
894 LFUN_GOTO_PARAGRAPH here.
896 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
898 * text3.C (dispatch): size() -> depth()
900 * text2.C: remove some debug output
902 * paragraph.C: ws changes only
904 * lyxfunc.C (getStatus): size() -> depth()
906 * dociterator.h (clear, push_back, pop_back, internalData,
907 operator[], resize, empty): new functions
908 Make StableDocIterator and operator== be friends. Don't inherit
909 from std::vector use a privat class variable slices_ instead.
912 * dociterator.C: update because of not inheriting from std::vector
913 anymore. Call explictly to slices_ instead. Use depth() instead of
914 size() and top() instead of back()
916 * cursor.C: chagne size() -> depth and back() -> top(). Also
917 remove some direct operator[](i) calls in favour of foo[i]
918 (getFont): remove some dead code
920 * bufferview_funcs.C (coordOffset): size() -> depth()
922 * buffer.C: ws changes only
924 * CutAndPaste.C (eraseSelection): back() -> top()
926 * BufferView_pimpl.C (selectionRequested): back() -> top()
928 * BufferView.C (setCursor): size() -> depth()
930 2005-02-08 Lars Gullik Bjønnes <larsbj@gullik.net>
932 * text3.C (cursorPrevious): return true if depm changed something
934 (dispatch): rename sl to oldTopSlice, remove moving use the new
935 NoUpdate func attrib instead. Make sure that needsUpdate is set
936 for function that have NoUpdate, but where depm might have changed
939 * text2.C (cursorLeft): make us return true if depm changed
942 (cursorUpParagraph): ditto
943 (curosrDownParagraph): ditto
944 (cursorUp, cursorDown): ditto, make sure to read comments in code
945 (deleteEmptyParagraphMechanism): remove an assert, also return
946 true if just a single char was deleted.
948 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
949 cursor that we modify, to avoid modifying an active cursor before
950 we call setCursor. This allows depm to run. Also return true if
951 depm deleted something.
953 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
954 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
955 cursorDownParagraph, cursorPrevious and cursorNext, return true if
956 something was changed in the buffer because of them (ie. depm run)
958 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
959 debug messages. Make update by default be false. Make sure that
960 the result of update is retained throught several calls down to
963 * LyXAction.h: add a new func_attrib: NoUpdate
965 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
966 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
967 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
969 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
971 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
973 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
974 bv_->owner(), bv_->buffer() by direct references to the private
976 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
977 (getStatus): isSavedPosition() is in BufferView::Pimpl.
978 (fitCursor): center() is in BufferView::Pimpl.
979 (getStatus, trackChanges, dispatch): no need for a temporary buf
981 (fitCursor, workAreaDispatch): use workarea().workheight()
983 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
985 * CutAndPaste.C (pasteSelectionHelper): fix a crash
987 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
989 * buffer.C: format up to 241.
990 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
991 break if pasting into ERT
992 * lyxfunc.C (getStatus): suppress mathpanel and
993 LFUN_DIALOG_SHOW_NEW_INSET in ERT
995 2005-02-01 Angus Leeming <leeming@lyx.org>
997 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
999 2005-02-01 Angus Leeming <leeming@lyx.org>
1001 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1002 calling fs::is_directory().
1004 2005-01-31 Angus Leeming <leeming@lyx.org>
1006 * lyx_main.C (priv_exec): specify explicitly the relative location
1007 of the top level build directory when run in-place.
1009 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1011 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1012 LyXText containing the cursor, not the top-level one.
1014 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1016 (insertStringAsLines): rename par to pit; use temporary variable
1017 par to hold a Paragraph; do not store par.layout() in a variable,
1018 since the pointer may die when breaking paragraphs; pass pars to
1019 breakParagraph() instead of Buffer::paragraphs().
1021 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1023 * lyxlex_pimpl.h: #include <fstream>.
1025 * BufferView.[Ch] (getLyXText): add a const version.
1027 * BufferView_pimpl.C: add debug aids.
1032 * paragraph_funcs.h: add commentary explaining what the class does.
1035 * coordcache.[Ch]: add lots of commentary.
1036 (startUpdating, doneUpdating): debug aids.
1037 (arrays, insets, parPos, getParPos): accessors to private data.
1039 * cursor_slice.[Ch] (text): add a const version.
1040 * dociterator.[Ch] (text, innerText): add const versions.
1042 * lyxtext.h (breakParagraph): change the keep_layout arg to a
1045 * paragraph.C (getRow, pos2ros): add asserts.
1047 * paragraph.h: add commentary. Lots of.
1049 * paragraph.[Ch] (metrucs, draw): removed.
1052 * rowpainter.[Ch]: const-correct changes.
1054 * text.C: various obvious clean-ups. Removal of ancient cruft.
1057 2005-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1059 * vc-backend.C (find_file): rewrite to use boost.filesystem
1062 * main.C (main): set default name check for boost.filesystem to
1065 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1068 (actOnUpdatedPrefs): ditto
1070 * lyx_main.C (init): rewrite to use boost.filesystem
1071 (queryUserLyXDir): ditto
1073 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1074 (getContentsOfAsciiFile): ditto
1076 * lastfiles.C (readFile): rewrite to use boost.filesystem
1078 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1080 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1081 (loadLyXFile): ditto
1083 * buffer.C (Buffer): adjust for destroydir
1084 (getLogName): rewrite to use boost.filesystem
1085 (setFileName): ditto
1086 (save): use fs::copy_file (from fs_extras)
1088 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1090 * LaTeX.C (run): rewrite to use boost.filesystem
1091 (scanAuxFiles): ditto
1092 (handleFoundFile): ditto
1094 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1096 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1098 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1100 2005-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1102 * lyxlayout.[Ch]: change some vars from float to double
1104 * buffer.C (readFile): make a local var const
1106 * Several files: use convert<> instead of atoi,strToXXX and friends
1108 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1110 * LaTeXFeatures.[Ch]: Add a static list packages_ that
1111 holds the contents of packages.lst. New functions getAvailable
1112 and isAvailable to parse and check that list, resp.
1116 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1118 * bufferparams.[Ch]: new param output_changes.
1120 * Buffer.C: increase file format to 240.
1121 Use output_changes and isVailable.
1125 * paragraph_pimpl.C: Use output_changes and isVailable.
1127 2005-01-23 Angus Leeming <leeming@lyx.org>
1129 * output_latex.C: #include "insetbibitem.h", rather than
1130 forward declare function bibitemWidest.
1132 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1134 * lyx_main.C (init): make it compile on the Mac.
1136 2005-01-20 Angus Leeming <leeming@lyx.org>
1138 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1139 (setLyXMisc): (char string literal) != (char string literal) is
1140 performing a comparison on the addresses. Convert one operand
1141 explicitly to string to guarantee expected behaviour.
1144 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1147 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1149 * output_plaintext.C: remove unneeded #include gzstream.h.
1151 2005-01-20 Angus Leeming <leeming@lyx.org>
1153 * SpellBase.h: rename some of the elements of the Result enum.
1160 * pspell.C (check): ditto
1162 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1164 * buffer.C: add #include <fstream>.
1166 * lyx_main.C (init): Compile fix.
1168 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1170 2005-01-20 Angus Leeming <leeming@lyx.org>
1172 * mover.h: change commentary to reflect the changed meaning of
1173 the $$s placeholder.
1175 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1177 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1179 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1181 2005-01-20 Angus Leeming <leeming@lyx.org>
1183 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1184 printing diagnostic data by not dereferecing an iterator past the
1187 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1189 * buffer.C (readHeader): use "&&" rather than "and".
1191 * lyxserver.h (inPipeName, outPipeName): make these const.
1193 2005-01-19 Angus Leeming <leeming@lyx.org>
1195 * lyx_main.C (error_handler, init): protect SIGHUP with
1196 #ifdef SIGHUP guards.
1198 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1200 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1202 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1204 * text.C (setHeightOfRow): add a margin at the top and bottom of
1205 the document (bug 1761)
1207 2005-01-17 Angus Leeming <leeming@lyx.org>
1209 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1210 with "python ". Workaround for a brain-dead Windows.
1212 2005-01-16 Angus Leeming <leeming@lyx.org>
1214 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1215 for MacOSX and Windows to use prependEnvPath.
1216 Strip out the hard-coded block to add elements to the PATH for
1217 MacOSX and replace it with a call to prependEnvPath using the
1218 contents of LyXRC::path_prefix.
1219 (queryUserLyXDir): strip out the code to run reconfigure, instead
1220 returning a boolean indicating the necessity to do so.
1221 (reconfigureUserLyXDir): contains the code to reconfigure the
1222 user support directory. Is now called after the various LyXRC data
1223 files have been read.
1225 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1227 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1229 * converter.[Ch] (convert): take a new parameter try_default. Use
1230 a default converter (imagemagick) if try_default is true.
1232 2005-01-13 Angus Leeming <leeming@lyx.org>
1234 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1235 os::cygwin_path_fix.
1236 (write): output LyXRC::cygwin_path_fix as necessary.
1238 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1241 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1243 2005-01-12 Angus Leeming <leeming@lyx.org>
1245 * lyx_main.C (init): set the PATH variable to include the
1246 directory containing the LyX binary when running on Mac or Windows.
1248 2005-01-12 Angus Leeming <leeming@lyx.org>
1250 * lyx_main.C (init): remove cruft that purports to set the locale
1251 dir. It doesn't and is not needed anyway.
1253 2005-01-10 Angus Leeming <leeming@lyx.org>
1255 * Makefile.am: remove the lyx_main.C special casing.
1257 * BufferView_pimpl.C:
1263 * messages.C: use support/package.h to provide the paths to the
1264 various directories used by LyX.
1266 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1268 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1269 layout if pasting into an empty paragraph)
1271 2005-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1273 * tex-accent.C: add <string>
1275 2005-01-06 José Matos <jamatos@lyx.org>
1277 * ParagraphParameters.C (write): put every parameter in its own line.
1278 * paragraph.C (write): reduce number of consecutive empty lines exported.
1279 * buffer.C (LYX_FORMAT): increase file format to 239.
1281 2005-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1283 * everywhere: change support/tostr.h -> support/convert.h
1285 * tabular.C: make all write_attributes templates, tostr -> convert
1287 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1288 (emptyTag): and -> &&, and fix type for ret from getChar
1289 (getFirstWord): fix type for ret from getChar
1290 (onlyText): and -> &&
1291 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1294 * toc.C (goTo, action):
1295 * text3.C (dispatch):
1296 * text.C (currentState):
1297 * tex-accent.C (DoAccent):
1300 * lyxfunc.C (menuNew):
1301 * lyxfinc.C (replace):
1302 * counters.C (laberItem):
1303 * bufferview_funcs.C (font2string):
1304 * bufferparams.C (writeFile):
1305 * buffer.C (readFile):
1307 * MenuBackend.C: tostr -> convert
1309 * LaTeX.C (runMessage): fix format
1310 (scanAuxFiles): tostr -> convert
1312 * BufferView_pimpl.C (savePosition): fix format
1313 (restorePosition): ditto
1316 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1318 * Spacing.[Ch]: New method getValueAsString().
1322 * ParagraphParameters.C:
1325 * text3.C: store/read spacing value as string.
1327 * rowpainter.C: change float value (spacing_val) to double.
1329 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1330 broken custom document spacing).
1332 2005-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1334 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1335 namespace, also more use of temp references and const
1337 * cursor.[Ch] (getStatus): move to lyxfunc.C
1339 * bufferparams.C: reformat slightly
1341 * bufferview_funcs.C (font2string): constify arg
1347 * buffer_funcs.C: (many funcs): constify arg on function
1348 definitions, also make more local vars const, also add ASSERTS on
1351 * buffer.C (LYX_FORMAT): put const in correct place
1352 (many funcs): constify arg on function definitions, also make
1353 more local vars const
1355 * aspell_local.h: remove "struct" from typdef setup
1357 * aspell.C (check): make word_ok const
1358 (nextMiss): simplify slightly
1361 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1363 * lyxrc.[Ch]: store all float values as strings.
1364 use int (not float) for lyxrc.dpi.
1366 2005-01-04 Angus Leeming <leeming@lyx.org>
1368 * lyx_cb.C (Reconfigure):
1369 * lyx_main.C (queryUserLyXDir):
1370 to run the <system_lyxdir>/configure correctly on Windows, prefix
1371 the path to the script with "sh " when generating the string that
1372 is passed to system().
1374 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1376 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1378 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1380 * lyxlength.C (asLatexString): get rid of setprecision
1382 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1384 * text2.C (setLayout): remove unused variable endpit.
1385 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1387 * paragraph.C (onlyText): remove unused variable style.
1389 * cursor.C (bruteFind): remove unused variables beg and end.
1391 * Makefile.am (dist_noinset_DATA): not needed anymore
1393 * cheaders/*: remove.
1395 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1397 * text3.C: fix LFUN_MATH_MODE.
1399 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1401 * buffer_funcs.C (countWords): new function. Counts words between
1404 * BufferView_pimpl.C (getStatus, dispatch): handle
1407 * LyXAction.C (init):
1408 * lfuns.h: add LFUN_WORDS_COUNT.
1410 2004-12-19 Angus Leeming <leeming@lyx.org>
1412 * buffer.C (save): s/slashify_path/internal_path/.
1414 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1416 * lyxfind.C (findChange): do not search for end of pars, because
1417 the change tracker cannot handle this (fixes bug 1719).
1419 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1421 * paragraph.[Ch] (autoBreakRows): remove
1423 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1425 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1426 avoid using the paragraph one
1428 * text2.C (LyXText, insertStringAsLines): adjust
1430 2004-12-16 Angus Leeming <leeming@lyx.org>
1434 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1436 2004-12-14 Angus Leeming <leeming@lyx.org>
1438 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1440 * bufferlist.C (emergencyWrite):
1441 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1444 2004-12-14 Angus Leeming <leeming@lyx.org>
1446 * main.C: (main): no longer pass pointers to os::init.
1448 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1450 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1451 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1453 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1456 * text3.C: remove selection_possible global flag
1458 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1460 * text2.C (getSelectionSpan): remove
1461 (changeDepth, changeDepthAllowed): adjust
1463 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1465 * Makefile.am (BOOST_LIBS): use boost variables
1467 2004-12-03 José Matos <jamatos@lyx.org>
1469 * buffer.C: format up to 238.
1471 2004-12-03 José Matos <jamatos@lyx.org>
1473 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1475 2004-12-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1477 * cursor.C (goUpDown): remove call to idxUpDown2
1479 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1481 * tabular.[Ch]: use size_t-like types for cell, row and column
1484 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1486 * lyxfunc.C (getStatus): do not lose previous information when
1487 calling BufferView::getStatus; do not set a default "Command
1488 disabled" message at the beginning, but just before returning.
1490 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1492 * cursor.h (getStatus): add better comment from src/cursor.C
1494 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1496 * text3.C (getStatus): return false when the lfun is not handled
1498 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1500 * broken_headers.h: remove
1502 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1504 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1506 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1507 offset_ref accessors
1509 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1510 top_y_, merge fitcursor with update
1511 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1513 (metrics): introduce
1514 (workAreaDispatch): adapt to new coord scheme
1515 (redoCurrentBuffer): remove
1517 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1519 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1522 * coordcache.[Ch]: add paragraph cache and helpers
1524 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1527 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1528 (targetX, setTargetX): introduce
1530 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1531 baseline -> ascent, as the rest of lyx
1533 * lyxtext.h: remove redoParagraphs, updateParPositions,
1534 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1535 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1536 have ascent/descent (ascent is ascent of first par)
1538 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1541 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1543 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1545 * pariterator.C: fix infinite loop introduced in par->pit renaming
1547 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1548 in insets and LyXText, draw two off-screen paragraphs using
1549 NullPainter, and adapt to new coord scheme
1553 * text3.C: adapt lfun handlers to the new coord scheme, which
1554 means: there's only guaranteed coord information for onscreen pars
1555 plus one above and one below. This implies that one can do search
1556 from y coordinates in the range [-1,workHeight]
1558 2004-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1560 * rename a lot of InsetOld to InsetBase
1562 2004-11-25 Angus Leeming <leeming@lyx.org>
1564 * BufferView_pimpl.C:
1566 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1568 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1570 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1571 call BufferView::getStatus if LCursor::getStatus did nothing
1572 (setStatusMessage, getStatusMessage): removed.
1574 * FuncStatus.C (message): new methods. Used to provide an error
1575 message indicating why a command is disabled.
1576 (clear, |=, FuncStatus): update for message.
1578 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1580 * lyxfunc.C (dispatch): always call sendDispatchMessage
1582 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1585 * BufferView_pimpl.C:
1590 * cursor_slice.[Ch]:
1593 * paragraph_funcs.C:
1599 * undo.C: par->pit renaming
1601 2004-11-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1603 * tabular.C (cellstruct): use initialization, store a shared_ptr
1604 to insettext instead of the insettext directly, adjust to fit.
1605 (operator=): new function
1606 (swap): new function
1607 (rowstruct): use initialization
1608 (columnstruct): use initialization
1609 (ltType): use initialization
1612 * lyxlength.h (swap): new function
1614 * LColor.[Ch] (operator=): use the common semantics
1616 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1618 * lyxfind.C (findNextChange): update the bufferview after setting
1621 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1623 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1624 number of InsetOptArgs has already been inserted.
1626 * output_latex.C (latexOptArgInsets): new method. This outputs all
1627 the optarg insets, up to the limit defined in the layout file.
1628 (optArgInset): removed
1629 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1631 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1633 * paragraph.C (isLetter): remove special spellchecker-related
1634 code; return true also for digits
1635 (isWord, isKomma): remove
1637 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1638 * lyxfind.C (MatchString()): use isLetter instead of isWord
1640 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1642 * pariterator.h (operatir=): comment out un-implemented member
1645 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1648 2004-11-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1650 * lyxfont.h: include LColor.h to satisfy concept checks.
1652 2004-11-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1654 * pariterator.h: add typdefs for value_type, difference_type,
1655 pointer and reference to satisfy concept checks. Also add default
1656 constructor for same reason.
1658 * pariterator.C (operator++): add post-increment operator to
1659 satisfy concept checks.
1661 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1664 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1666 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1667 checks. Also rename base_type to BaseType to follow naming
1670 * FloatList.h: include Floating.h to satisfy concept checks.
1672 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1674 * lyxfunc.C (getStatus): when the origin of the request is menu or
1675 toolbar, and the LyXView does not have focus, do as if there was
1676 no buffer (bug 1720)
1678 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1679 FuncRequest to individual entries of LFUN_SEQUENCE
1681 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1683 * output_latex.C (TeXOnePar): override runparams.moving_arg
1684 according to the needprotect value of the current paragraph (bug
1687 * paragraph.C (simpleTeXOnePar): no need to override
1688 runparams.moving_args here
1690 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1692 * vspace.C: fix off-by-one-error, related to fix #1682
1694 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1696 * lengthcommon.C: a more general fix for bug 1682
1698 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1700 * text.C (backspace): fix crash
1702 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1704 * format.[Ch] (getFormatFromFile): new method
1705 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1707 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1709 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1711 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1713 * lyxfunc.C (dispatch): remove the verbose argument
1714 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1717 * kbmap.C (defkey): set the origin of func to KEYBOARD
1719 * MenuBackend.C (MenuItem):
1720 * ToolbarBackend.C (add): set the origin of func to UI
1722 * funcrequest.[Ch]: add origin member, which indicates which part
1723 of LyX requests an action
1725 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1727 * converter.C (move): don't lie in the error message
1728 * converter.h (isReachable, move): document
1730 2004-11-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1732 * buffer.C: remove unused using lyx::support::atoi
1733 * paragraph_funcs.C: ditto
1735 2004-11-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1737 * bufferlist.C (exists): use bind and equal_to instead of
1740 * lyxtextclasslist.C (NumberOfClass): ditto
1742 * cursor.C (insert): use for_each instead of explicit for loop
1744 * bufferlist.C (getFileNames): use std::transform and
1745 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1747 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1750 * buffer.C (changeLanguage): use for_each instead of explicit for
1752 (hasParWithID): implement using getParFromID
1754 * LaTeXFeatures.C: ws change only
1756 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1759 * BufferView_pimpl.C (trackChanges): use for_each instead of
1762 2004-11-04 André Pönitz <poenitz@gmx.net>
1765 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1767 * dociterator.C (asDocIterator): use hard assert again.
1769 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1771 * lyxlength.C (asLatexString): rewrite so that it does not use
1774 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1776 * text3.C (specialChar, dispatch): make sure cursor moves to the
1777 right after inserting an inset
1779 2004-11-02 José Matos <jamatos@lyx.org>
1781 * output_docbook.C (docbook):
1782 * paragraph.C (getID):
1783 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1784 garantee that the output is always legal.
1786 * tabular.C (docbook):
1787 * outputprams.[Ch]: remove mixed contents.
1789 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1791 * text2.C (setCounter): prevent endless loop
1793 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1795 * exporter.C (copyFile): use the mover instead of support::copy()
1796 * exporter.C (Export): pass format and latex name to copyFile()
1797 * exporter.h (addExternalFile): document
1798 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1800 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1802 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1804 2004-10-30 José Matos <jamatos@lyx.org>
1806 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1807 text and no inset or font change. This allows to use CDATA
1808 sections just for the whole paragraph.
1810 2004-10-30 José Matos <jamatos@lyx.org>
1812 * paragraph.C (getFirstWord): remove unused variable.
1814 2004-10-30 José Matos <jamatos@lyx.org>
1816 * paragraph.C (getFirstWord): the content should always be escaped
1818 (simpleDocBookOnePar):
1819 * output_docbook.C (makeEnvironment): replace reference to CDATA
1822 2004-10-30 José Matos <jamatos@lyx.org>
1824 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1826 2004-10-30 José Matos <jamatos@lyx.org>
1828 * output_docbook.C (makeParagraphs):
1829 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1830 standard paragraph has only a given type of content drop the wrapper.
1832 2004-10-29 José Matos <jamatos@lyx.org>
1834 * output_docbook.C (makeEnvironment):
1836 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1838 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1840 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1841 (cleanID): sanitize any id.
1843 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1845 * buffer.C, lyxlex_pimpl.C:
1846 * lyxlex_pimpl.C (setFile):
1847 s/getExtFromContents/getFormatFromContents/
1849 2004-10-28 José Matos <jamatos@lyx.org>
1851 * output_docbook.C (makeEnvironment): move id to broadest possible
1854 * sgml.C (openTag): apply substitution of <> for all attributes.
1856 2004-10-28 José Matos <jamatos@lyx.org>
1858 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1859 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1860 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1862 * sgml.[Ch]: new version for open and closeTag for paragraph and
1863 for strings. Now they handle the ids of paragraphs.
1865 2004-10-26 Angus Leeming <leeming@lyx.org>
1867 * Makefile.am: add mover.[Ch].
1869 * converter.C (convert, move): use the new Movers to move external
1870 files to the temp directory.
1872 * lyx_main.C (init): ensure that the global system_movers data
1875 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1878 * mover.[Ch]: new files, defining a Mover as a utility to move an
1879 external file between directories and, if necessary, manipulate this
1880 file using a helper script.
1882 2004-10-25 José Matos <jamatos@lyx.org>
1884 * output_docbook.C (makeCommand): merge two if's that tested the
1887 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1889 * sgml.C (escapeString): fix warning in a better way
1891 2004-10-25 José Matos <jamatos@lyx.org>
1893 * sgml.C (escapeString): import the require boosts header file for
1894 tie, and avoid a signed unsigned comparison.
1896 2004-10-25 José Matos <jamatos@lyx.org>
1898 * sgml.h: add #include <string>
1900 2004-10-25 José Matos <jamatos@lyx.org>
1902 * sgml.[Ch] (escapeString): new function to escape all the string.
1904 2004-10-24 José Matos <jamatos@lyx.org>
1906 * paragraph.[Ch] (getFirstWord): new function to get the first
1907 word. Useful for description.
1908 (simpleDocBookOnePar): remove depth argument, add another that
1909 says where to start the paragraph.
1911 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1912 use the new functions to fix cleanly the support for descriptions.
1914 2004-10-24 José Matos <jamatos@lyx.org>
1916 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1917 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1918 * output_linuxdoc.C (linuxdocParagraphs):
1919 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1920 add buffer as argument.
1922 2004-10-24 José Matos <jamatos@lyx.org>
1924 * output_docbook.C (makeEnvironment, searchEnvironment): place
1925 CDATA inside paragraphs and fix scope for listitems.
1927 2004-10-24 José Matos <jamatos@lyx.org>
1929 * output_docbook.C: remove using statement for stack.
1931 2004-10-23 José Matos <jamatos@lyx.org>
1933 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1934 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1935 docbook. The new scheme is recursive and makes use of iterators, the
1936 same as latex export works.
1937 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1938 directly with the paragraph contents. This code was moved up to
1939 output_docbook.C (docbookParagraphs).
1940 * sgml.C (openTag, closeTag): removed unneeded newlines.
1941 (closeEnvTags) removed.
1943 2004-10-23 André Pönitz <poenitz@gmx.net>
1945 * undo.C (textUndoOrRedo):
1946 * dociterator.C (asDocIterator): work around crash
1948 * cursor.C (getStatus): replace ASSERT by more verbose error message
1949 and manual correction of the problem. Should increase stability
1950 while providing more sensible information.
1952 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1954 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1956 * bufferlist.C (previous, next): new methods
1959 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1961 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1963 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1964 entities to preamble.
1966 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1968 * messages.C (Pimpl): strip off translation context information
1970 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1972 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1973 the cursor is correct (bug 1694)
1975 2004-10-13 José Matos <jamatos@lyx.org>
1977 * output_docbook.C (docbookParagraphs): fix closing tags in the
1978 end of the document.
1980 2004-10-09 José Matos <jamatos@lyx.org>
1982 * buffer.C: format up to 237.
1983 * bufferparams.C (write): use tostr to convert booleans to strings.
1985 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1987 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1989 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1991 * LaTeX.C: implement use of babel language in xindy.
1993 2004-10-05 José Matos <jamatos@lyx.org>
1995 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1996 Add new translators to help reading and writing the lyx file.
1998 2004-10-05 José Matos <jamatos@lyx.org>
2000 * ParagraphParameters.C (read):
2001 * text.C (readParToken): replace nexToken by more appropriate lex
2004 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
2006 * LaTeX.C (runMakeIndex):
2007 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2008 (usually 'makeindex') configurable.
2010 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2011 with a variable rather than with a number.
2013 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2015 * output_latex.C (TeXOnePar): make sure font setting is the first
2016 thing that gets output (and the last at the end). Should fix bug
2019 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2021 * pch.h: use proper signal include
2023 * LaTeX.h: Use preferred calling of Boost.Signal
2026 2004-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2028 * pch.h: dont include <boost/function/function0.hpp>
2030 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2032 * paragraph_pimpl.h: remove usage of ShareContainer
2034 * paragraph_pimpl.C: remove initialization of ShareContainer.
2036 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2040 * BufferView.C (putSelectionAt): change the semantics when
2041 backwards == true: now, this just swaps cursor and anchor wrt the
2044 * BufferView.h (putSelectionAt): add some documentation
2046 * lyxfind.C (findBackwards): rewrite using while(). In particular,
2047 make sure backwardChar is done at least once (to avoid getting
2049 (findNextChange): use putSelectionAt in the forward direction
2050 (operator()): use Paragraph::isWord
2052 2004-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2054 * Spacing.C (set): c_str fix
2056 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2058 * lyx_cb.C (Reconfigure): quote the name of configure script in
2059 case it contains spaces
2061 2004-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2065 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2066 (BOOST_LIBS): use top_buildir when looking for the file
2068 2004-08-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2070 * pch.h: do not use include boost/format.hpp, multiple symbols
2071 will result (gcc bug)
2074 2004-08-23 José Matos <jamatos@lyx.org>
2076 * bufferparams.C (readToken): fix reading of the author field.
2078 2004-08-20 José Matos <jamatos@lyx.org>
2080 * lyxrc.C: remove support/translator.h inclusion since it is not used.
2082 2004-08-20 José Matos <jamatos@lyx.org>
2084 * lyxlex.[Ch] (findToken): remove function.
2086 * ParagraphParameters.C (findToken):
2087 * bufferparams.C (findToken): replace call for previous function
2088 with local copy. This local function has one more argument, the
2089 read string argument.
2091 2004-08-16 José Matos <jamatos@lyx.org>
2093 * ParagraphParameters.C (write):
2094 * Spacing.C (writeFile):
2095 * bufferparams.C (writeLaTeX):
2096 * lyx_cb.C (Reconfigure):
2097 * paragraph.C (write):
2098 * tabular.C (write): remove unnecessary space at end of line.
2101 2004-08-16 José Matos <jamatos@lyx.org>
2103 * text.C (readParagraph): remove debug message.
2105 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2107 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2110 * output_plaintext.C (asciiParagraph): set depth correctly
2112 * outputparams.h: add member depth
2114 * paragraph_funcs.C (ownerPar): remove.
2116 * text2.C (setCounter): remove first_pit; comment out some
2117 non-working code that uses ownerPar
2119 * BufferView.C (getParentLanguage): remove. Not used anymore, and
2122 2004-08-16 José Matos <jamatos@lyx.org>
2124 * text.C (readParToken, readParagraph, read): report all unknown tokens.
2125 For the same level of importance use the same chanel to report problems.
2126 (read): add code to deal with \begin_body and \end_body.
2129 2004-08-15 José Matos <jamatos@lyx.org>
2131 * lyxlex.C (getString): fix comment, buffer::readBody is now
2132 buffer:readDocument.
2134 * tex-strings.C (string_papersize): Default -> default,
2135 Custom -> custom, for consistency with other options.
2137 2004-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2141 * Makefile.am: support pch
2143 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2145 * text.C (readParToken): remove the static LyXFont variable and
2146 pass it as a parameter instead. This fixes a nasty bug where an
2147 inset will be inserted with a bad font in some situations
2148 (readParagraph): adapt
2150 * text2.C (setCounter): reduce number of calls to pars_[pit]
2152 * text.C (singleWidth): add an assert, fix a test
2154 * rowpainter.C (paintText): reduce number of calls to singleWidth
2156 * paragraph.C (isHfill):
2157 (isNewline): ws only
2159 2004-08-14 André Pönitz <poenitz@gmx.net>
2164 * lyxtext.h (several functions): use a Paragraph & argument
2167 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2169 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2171 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2173 * text.C (singleWidth): remove useless test
2175 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2177 * tabular.h: remove bogus comments
2179 * tabular.C (getDescentOfRow):
2180 (isPartOfMultiColumn): add assertions
2182 * lyxlength.C (inPixels): remove #warning
2184 2004-08-14 André Pönitz <poenitz@gmx.net>
2186 * paragraph.h: inline getChar()
2188 * BufferView.h: remove unused declarations
2190 2004-08-14 José Matos <jamatos@lyx.org>
2192 * Buffer.[Ch] (readDocument): new name for old readBody.
2193 * Buffer.C: new file format, new keywords: \begin_document,
2194 \begin_header, \begin_body, \end_body.
2196 * bufferparams.C (readToken): replace all calls to lex.nextToken
2197 by lex.next(). Do the same to eatLine except where really needed.
2199 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2200 line when writing to the lyx file.
2202 * output_plaintext.C (asciiParagraph): fix Bibliography style
2205 * text.C (read): fix end of file handling.
2207 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2209 * MenuBackend.C (Menu::operator[]): new method to access
2210 individual menu items
2211 (Menu::hasFunc): new method. search for an item that corresponds
2213 (MenuBackend::specialMenu): new method
2214 (MenuBackend::expand): if a special menu has been set, skip
2215 entries whose func() appears in this menu
2217 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2219 * text3.C: use Debug::DEBUG a bit more
2221 * text.C (leftMargin): try to simplify a tiny bit change var x to
2222 l_margin. Dont output the wide margins always.
2223 (rightMargin): no margin in inner texts
2225 * rowpainter.h (nestMargin): new func
2226 (changebarMargin): new func
2227 (rightMargin): new func
2229 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2233 * factory.C (createInset): modify setDrawFrame
2235 * cursor.C: use Debug::DEBUG a bit more
2237 2004-08-14 André Pönitz <poenitz@gmx.net>
2240 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2241 cache for all insets in (at least partially) visible (top-level)
2244 * BufferView_pimpl.C: reset external coord cache before every update.
2245 This means the coord cache only contains valid entries.
2247 2004-08-14 Lars Gullik Bjønnes <larsbj@lyx.org>
2250 * BufferView_pimpl.C (getInsetByCode): move function out of class
2251 and change in to a template in anon namespace. Also fix to do what
2254 2004-08-13 Lars Gullik Bjønnes <larsbj@lyx.org>
2257 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2259 (breakParagraph): rename par to par_offset and use a local
2260 reference. Add code to keep the language over a rebreak.
2261 (breakParagraphConservative): rename par to par_offset, use a
2263 (mergeParagraph): ditto
2265 (isFirstInSequence): ditto
2266 (outerFont): rename pit to par_offset
2268 * paragraph.C: ws change
2269 * paragraph.h: ditto
2273 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2275 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2278 * paragraph.C (simpleTeXOnePar): when we have a \item with
2279 optional argument, enclose the argument with curly brackets (in
2280 case it contains a closing square bracket)
2284 * text3.C (checkInsetHit): constify
2286 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2288 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2289 documents (bug 1629)
2291 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2293 Fix toggling of collapsable insets with the mouse (bug 1558)
2295 * lyxfunc.C (dispatch): adapt to LCursor changes
2297 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2298 make sure that dispatch is not invoked twice
2300 * cursor.C (needsUpdate): new method
2301 (dispatch): return void
2302 (result): new method, to access the DispatchResult of the cursor.
2304 2004-08-13 José Matos <jamatos@lyx.org>
2306 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2308 2004-08-13 André Pönitz <poenitz@gmx.net>
2310 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2312 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2315 2004-08-12 André Pönitz <poenitz@gmx.net>
2317 * text3.C: take out the 'cursor right' form insertInset and only
2318 do it in those places when it is really needed. Fixes crash on
2321 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2323 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2325 * BufferView_pimpl.C (setBuffer): initialize the current font of
2326 the underlying LyXText
2328 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2330 * kbsequence.C (print): use UI native formatting for menu
2333 * text.C (insertChar): call Paragraph::insertChar with a font
2336 * paragraph.C (insertInset, insertChar): the version that takes a
2337 LyXFont argument is now a wrapper around the other one (the
2338 opposite used to be true).
2340 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2341 argument. Font setting is done in Paragraph now.
2343 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2345 * outputparams.h: add new members intitle and lang.
2347 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2348 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2350 2004-08-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2352 * text3.C (dispatch): remove special handling of button 4 and 5,
2353 it is now taken care of in the frontend code.
2355 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2357 * Spacing.h: add <string> (STLPort compile fix)
2359 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2361 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2363 2004-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
2365 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2368 * converter.C (showMessage): inherit from unary_function, make
2371 * buffer.C (writeFile): initialize retval
2373 * InsetList.h: rename private variable list to list_
2374 * InsetList.[Ch]: adjust accordingly.
2376 2004-07-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2378 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2379 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2380 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2381 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2382 * ParagraphParameters.C, LaTeXFeatures.C: replace
2383 "support/std_sstream.h" with <sstream>
2385 2004-07-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2387 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2388 * lyxsocket.C (LyXServerSocket): ditto
2389 (serverCallback): ditto
2391 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2393 * LaTeXFeatures.C: check release date when loading jurabib.
2395 2004-07-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2397 * lyxserver.C (startPipe): call register_socket_callback
2398 (endPipe): call unregister_socket_callback
2400 2004-07-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2402 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2403 (LyXServerSocket): register the callback
2404 (LyXServerSocket): unregister the callback
2405 (fd): delete function
2406 (serverCallback): improve error checking and setup the callbacks.
2407 (dataCallback): change arg to fd.
2408 (writeln): new func (copied fro the client socket) used for server
2410 (LyXDataSocket): simplify
2411 (~LyXDataSocket): close ann unregiser callback
2412 (server): delete function
2413 (fd): delete function
2414 (readln): small changes, improve some std::string usage
2415 (writeln): constify a bit
2417 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2419 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2422 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2424 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2425 after it has been populated
2427 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2429 * text2.C (insertInset): move cursor when inserting inset.
2431 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2433 * kbmap.C (findbindings): a couple of new methods. returns a
2434 container of kb_sequence objects. The real work is done by the
2435 private recursive version
2436 (printbindings): uses findbindings to print out a bracketed list
2437 of bindings (renamed from findbinding).
2439 * MenuBackend.C (binding): use kb_keymap::findbindings
2441 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2443 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2445 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2447 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2449 * paragraph.C (isWord): return true on insets that report
2452 * text.C (getWord): use Paragraph::isWord to decide what is in a
2453 word and what is not; fix bug 1609.
2455 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2457 * tex-strings.C: add "none" to string_paperpackages[], fixes
2458 off-by-one-error in the paperpackage selection.
2461 * tex-strings.[Ch]: char const * string[n]
2462 -> char const * const string[]
2464 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2466 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2467 command, return early.
2469 2004-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2471 * debug.h: add DEBUG to enum and fix size of ANY.
2473 * debug.C: add support for Debug::DEBUG
2474 (showTags): cast errorTags.level to unsigned int
2476 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2477 (redoCurrentBuffer): ditto
2478 (updateScrollbar): ditto
2479 * cursor.C (dispatch): ditto
2480 * text2.C (setLayout): ditto
2482 (updateCounters): ditto
2484 (deleteEmptyParagraphMechanism): ditto
2486 2004-06-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2488 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2489 annotations to cleanup the Makefile slightly.
2491 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2493 * lyxrc.C: do not set user_email to a default value but use empty
2494 instead. The entry used to be translated, which does not work
2495 since at the point where lyxrc is constructed there is no
2496 translation service available
2498 * messages.C (getLocaleDir): remove and use directly
2499 lyx_localedir() instead
2501 2004-06-02 Angus Leeming <leeming@lyx.org>
2503 Fix crash caused by dereferencing null pointer 'exportdata' in
2504 OutputParams by creating a new ExportData variable on the heap,
2505 storing it in a boost::shared_ptr.
2506 The crash was triggered when generating an Instant Preview
2507 of an external inset.
2509 * Makefile.am: add outputparams.C
2511 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2512 (c-tor): allocate memory to it.
2514 * exporter.C (c-tor): associated changes.
2516 2004-06-01 Angus Leeming <leeming@lyx.org>
2518 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2519 contains data before calling isInset(0). (Bug 1513.)
2521 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2523 * exporter.C (checkOverwrite): new method
2524 * exporter.C (copyFile): new method
2525 * exporter.C (Export): copy referenced files to the document dir
2526 * exporter.[Ch]: new class ExportedFile
2527 * exporter.[Ch]: new class ExportData. Contains currently the
2528 names of referenced external files
2529 * outputparams.h: add exportdata member.
2531 2004-05-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2533 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2536 2004-05-19 Angus Leeming <leeming@lyx.org>
2541 * lyxfunc.C: small changes due to the introduction of namespace
2542 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2544 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2546 * text3.C (dispatch): supress update when only moving the cursor
2547 * cursor.C (selHandle): remove commented code
2549 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2551 * paragraph.C (startTeXParParams): correct column count
2552 * CutAndPaste.C (pasteSelection): remove const_cast
2553 * output_docbook.C (docbookParagraphs): remove const_cast
2554 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2555 const_cast and return ParagraphList::const_iterator
2556 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2557 * output_plaintext.C (writeFileAscii): remove const_cast
2558 * paragraph.[Ch] (simpleTeXOnePar): make const
2559 * paragraph_funcs.C (outerPar): use const iterators
2560 * paragraph_pimpl.C (validate): use const iterators
2561 * text.C (setHeightOfRow): use const iterators
2563 2004-05-17 Angus Leeming <leeming@lyx.org>
2566 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2568 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2569 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2570 if the citation engine has changed.
2572 2004-05-14 José Matos <jamatos@lyx.org>
2574 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2575 if the textclass does not provide it. Have it different for sgml and
2577 support the language of document.
2578 * output_docbook.C (docbookParagraphs):
2579 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2580 first anchor as the id of the paragraph, remove special case code.
2581 * sgml.C (escapeChar): escape only < & >.
2583 2004-05-14 Angus Leeming <leeming@lyx.org>
2585 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2586 dependencies on src/frontends/controllers/biblio.h. Define a
2587 CiteEngine_enum wrapper class to enable the enum to be forward
2590 2004-05-12 Angus Leeming <leeming@lyx.org>
2592 * buffer.C: up LYX_FORMAT to 234.
2593 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2594 use_numerical_citations with a single biblio::CiteEngine cite_engine
2596 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2598 2004-05-13 José Matos <jamatos@lyx.org>
2601 * converter.C (Converter, readFlags): add xml member.
2602 * outputparams.h: add XML flavor.
2603 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2605 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2607 * lyxfunc.C (dispatch):
2608 (getStatus): fix handling of LFUN_SEQUENCE
2610 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2612 * debug.C (showLevel): do not forget the end-of-line marker
2614 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2616 * kbmap.C (read): do not stop parsing a bind file when an error
2619 2004-04-29 Angus Leeming <leeming@lyx.org>
2624 * text2.C: wrap a bunch of #warning statements
2625 inside #ifdef WITH_WARNINGS blocks.
2627 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2629 * buffer.C: increment format to 233.
2631 2004-04-28 Angus Leeming <leeming@lyx.org>
2633 * BufferView_pimpl.C:
2636 s/updateToolbar()/updateToolbars()/
2637 s/Toolbar.h/Toolbars.h/
2639 2004-04-28 Angus Leeming <leeming@lyx.org>
2641 * BufferView.[Ch] (c-tor):
2642 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2643 No longer passes these data to the WorkArea generator.
2645 2004-04-28 Angus Leeming <leeming@lyx.org>
2647 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2649 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2651 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2653 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2655 * output_latex.C (TeXEnvironment): make sure that there is a line
2656 break before \end{foo} for the last paragraph of a document
2657 (TeXOnePar): if the paragraph is at the end of the document (or
2658 inset) and the language has to be reset, then make sure that the
2659 line break is _before_ the language command, not after (fixes bug
2660 1225); also make sure that the language reset command is the first
2661 thing after the paragraph (to ensure proper nesting of
2662 environments and thus fix bug 1404)
2664 2004-04-21 John Levon <levon@movementarian.org>
2667 * ToolbarBackend.C: make "name" be a programmatic name
2668 and a gui_name field.
2670 * lyxfunc.C: display the minibuffer on M-x
2672 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2674 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2677 2004-04-19 Angus Leeming <leeming@lyx.org>
2679 * BufferView_pimpl.C (setBuffer): changed preview interface.
2681 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2684 2004-04-19 John Levon <levon@movementarian.org>
2686 * BufferView_pimpl.C:
2687 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2689 2004-04-05 Angus Leeming <leeming@lyx.org>
2691 * text.C (redoParagraphs): add call to updateCounters(), thereby
2692 fixing the missing "Figure #:" label from the caption of a
2695 2004-04-13 Angus Leeming <leeming@lyx.org>
2697 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2698 cursor is clicked out of an inset.
2700 2004-04-13 Angus Leeming <leeming@lyx.org>
2702 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2703 than an InsetOld one.
2705 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2707 * format.[Ch]: add editor to Format
2708 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2709 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2711 2004-04-08 André Pönitz <poenitz@gmx.net>
2713 * metricsinfo.h: remove PainterInfo::width member
2715 2004-04-08 Angus Leeming <leeming@lyx.org>
2717 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2718 "\providecommand" rather than "\newcommand", thereby preventing
2719 clashes with packages that define "\boldsymbol" themselves.
2722 2004-04-08 Angus Leeming <leeming@lyx.org>
2724 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2725 thereby squashing an unnecessary warning.
2727 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2729 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2732 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2734 * BufferView.C (setCursor): call redoParagraph (some insets could
2736 (putSelectionAt): remove the 'double update' trick
2738 * BufferView_pimpl.C (fitCursor): call refreshPar
2739 (workAreaDispatch): remove an uneeded update call
2740 (dispatch): remove some manual update calls
2742 * cursor.[Ch]: remove cached_y_, updatePos
2743 (selHandle): set noUpdate when appropriate
2745 * lyxfunc.C (dispatch): track if we need an update
2747 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2749 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2750 (paintSelection): cheap optimization, do not call cursorX when not
2752 (paintPars): change signature
2755 (paintTextInset): adjust
2759 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2761 * lengthcommon.C: compilation fix: remove explicit array size from
2762 unit_name[] and friends
2764 2004-04-05 Angus Leeming <leeming@lyx.org>
2766 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2768 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2769 present only for the preferences dialog.
2770 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2772 2004-04-05 Angus Leeming <leeming@lyx.org>
2774 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2775 to enable the frontends to export changes to lyxrc correctly.
2777 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2779 2004-04-07 André Pönitz <poenitz@gmx.net>
2781 * cursor.[Ch] (selClear, adjust): remove math
2783 * cursor_slice.C: more agressive assert
2786 * BufferView_pimpl.C: rework mouse event dispatch
2793 2004-04-05 André Pönitz <poenitz@gmx.net>
2795 * cursor.[Ch] (valign, halign...): remove unneeded functions
2797 2004-04-05 Angus Leeming <leeming@lyx.org>
2799 * lyxlength.[Ch] (unit_name et al.): const-correct.
2801 2004-04-05 Angus Leeming <leeming@lyx.org>
2803 * BufferView_pimpl.C:
2812 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2814 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2816 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2818 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2820 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2821 * BufferView_pimpl.[Ch] (getStatus)
2822 * BufferView.[Ch] (getStatus): add
2823 * lyxfunc.C (getStatus): move lfuns handled in
2824 BufferView::dispatch to te function above
2825 * Cursor.C (setSelection): set selection() = true
2827 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2829 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2831 2004-03-31 Angus Leeming <leeming@lyx.org>
2833 * lyxfunc.C (dispatch): Fall through to the generic
2834 Dialogs::show("preamble").
2836 2004-03-31 Angus Leeming <leeming@lyx.org>
2838 * lyxfunc.C (dispatch): Fall through to the generic
2839 Dialogs::show("spellchecker").
2841 2004-03-31 Angus Leeming <leeming@lyx.org>
2843 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2846 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2851 * insetiterator.[Ch]:
2856 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2858 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2860 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2861 insets where we are putting the cursor.
2863 2004-03-31 Angus Leeming <leeming@lyx.org>
2866 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2868 * lyxrc.[Ch] (read, write): overloaded member functions taking
2869 a std::[io]stream arguments.
2871 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2873 2004-03-31 Angus Leeming <leeming@lyx.org>
2875 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2876 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2878 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2879 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2881 2004-03-31 Angus Leeming <leeming@lyx.org>
2883 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2884 the LFUN_ALL_INSETS_TOGGLE code.
2886 2004-03-30 Angus Leeming <leeming@lyx.org>
2888 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2889 has died. Fall through to the generic Dialogs::show("document").
2891 2004-03-30 Angus Leeming <leeming@lyx.org>
2894 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2895 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2897 * lyxfunc.C (getStatus, dispatch): define the actions for these
2898 lfuns. Little more than a cut and pste job from ControlDocument.C
2900 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2902 2004-03-30 Angus Leeming <leeming@lyx.org>
2905 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2906 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2908 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2909 open/closed state of ollapsable insets. Usage:
2911 all-inset-toggle <state> <name>, where
2912 <state> == "open" || "closed" || "toggle" and
2913 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2915 * lyxtext.h, text2.C (toggleInset): removed.
2917 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2918 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2919 now passes LFUN_INSET_TOGGLE to the found inset.
2921 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2922 is now invoked as "all-insets-toggle toggle branch".
2924 2004-03-30 Angus Leeming <leeming@lyx.org>
2928 * pariterator.[Ch]: added/corrected header blurb.
2930 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2932 * dociterator.[Ch]: add an inset_ member
2933 (backwardPos): implemented
2934 (backwardPos, forwardPos): use inset_ when the stack is empty.
2935 (doc_iterator_begin, doc_iterator_end): implemented
2936 * pariterator.[Ch]: adjust, add begin, end
2937 * insetiterator.[Ch]: adjust, add begin, end
2941 * BufferView_pimpl.C:
2942 * CutAndPaste.C: adjust
2944 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2946 * buffer.C: increment file format to 232.
2947 * LaTeXFeatures.C: add bibtopic package.
2948 * bufferparams.[Ch]: param \use_bibtopic.
2950 * lyxrc.[Ch]: add lyxrc bibtex_command
2951 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2953 * buffer.C: increment file format to 231.
2955 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2957 * dociterator.C: implement forwardPar
2958 * iterators.[Ch]: remove, replaced by
2959 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2961 * BufferView_pimpl.C:
2964 * bufferview_funcs.C:
2970 * Makefile.am: adjust
2972 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2974 * CutAndPaste.C (pasteSelection): fix 2 crashes
2975 (eraseSelection): fix a crash
2976 * paragraph_funcs.C: remove a warning
2978 2004-03-28 Angus Leeming <leeming@lyx.org>
2981 * LyXAction.C (init): new LFUN_PRINT.
2983 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2985 2004-03-27 Angus Leeming <leeming@lyx.org>
2988 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2990 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2992 2004-03-27 Angus Leeming <leeming@lyx.org>
2994 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2995 insetlist always contains non-null pointers to insets.
2997 2004-03-26 Angus Leeming <leeming@lyx.org>
2999 * src/BufferView_pimpl.C:
3000 * src/CutAndPaste.C:
3003 * src/output_plaintext.C:
3004 * src/outputparams.h:
3005 * src/paragraph_funcs.C:
3009 * src/frontends/controllers/ControlErrorList.C:
3010 * src/frontends/gtk/FileDialogPrivate.C:
3011 * src/frontends/gtk/GPainter.C:
3012 * src/frontends/gtk/GToolbar.C:
3013 * src/frontends/qt2/QRef.C:
3014 * src/mathed/math_scriptinset.C: squash compiler warnings.
3016 2004-03-26 Angus Leeming <leeming@lyx.org>
3018 * ispell.C (LaunchIspell::start):
3019 * lyx_cb.C (AutoSaveBuffer::start):
3020 invoke run(DontWait) rather than runNonBlocking().
3022 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
3024 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3026 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3028 * kbsequence.C (print): adjust
3030 * kbmap.C (printKeySym): rename and change signature
3031 (printKey): use LyXKeySym::print()
3033 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
3035 * undo.C: add using std::advance to compile for stlport
3037 2004-03-24 Angus Leeming <leeming@lyx.org>
3039 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3040 it leads to a crash when no buffer is present.
3042 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3043 Martin Vermeer <martin.vermeer@hut.fi>
3045 * lyxfunc.C (dispatch):
3046 * bufferparams.C (readToken): use the new LColor::setColor
3048 * LColor.[Ch] (setColor): new version that takes two strings as
3049 argument and creates a new color entry if necessary
3051 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3053 * buffer.C (makeLaTeXFile): if the main latex file that is
3054 processed is usually a subdocument of some master, then pretend
3055 for a while that it is actually the master
3057 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3059 * buffer.C (getLabelList):
3060 (getBibkeyList): use getMasterBuffer()
3061 (getMasterBuffer): new method. Returns the main document in the
3062 case where one is using included documents.
3064 2004-03-25 André Pönitz <poenitz@gmx.net>
3068 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3070 * ParagraphList_fwd.h: change ParagraphList to a std::vector
3072 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3073 text*.C over here. Rename namespace CutAndPaste to lyx::cap
3075 * ParameterStruct.h: merge with ParagraphParameters
3077 * lyxtext.h: remove LyXText::parOffset() and getPar()
3079 * text3.C: Remove all 'manual' update calls. We do now one per user
3080 interaction which is completely sufficient.
3084 * BufferView_pimpl.C:
3085 * FontIterator.[Ch]:
3087 * ParagraphParameters.[Ch]:
3092 * cursor_slice.[Ch]:
3099 * output_docbook.[Ch]:
3100 * output_latex.[Ch]:
3101 * output_linuxdoc.[Ch]:
3102 * output_plaintext.[Ch]:
3104 * paragraph_funcs.[Ch]:
3105 * paragraph_pimpl.[Ch]:
3113 * frontends/controllers/ControlDocument.C:
3114 * frontends/controllers/ControlErrorList.C:
3115 * frontends/controllers/ControlSpellchecker.C:
3118 * insets/insetbase.h:
3119 * insets/insetbibitem.C:
3120 * insets/insetbox.C:
3121 * insets/insetbranch.C:
3122 * insets/insetcaption.C:
3123 * insets/insetcharstyle.C:
3124 * insets/insetcharstyle.h:
3125 * insets/insetcollapsable.C:
3126 * insets/insetcollapsable.h:
3127 * insets/insetert.C:
3128 * insets/insetfloat.C:
3129 * insets/insetfoot.C:
3130 * insets/insetmarginal.C:
3131 * insets/insetnote.C:
3132 * insets/insetoptarg.C:
3133 * insets/insettabular.C:
3134 * insets/insettext.C:
3135 * insets/insettext.h:
3136 * insets/insetwrap.C:
3137 * mathed/math_mboxinset.C:
3138 * mathed/math_nestinset.C:
3139 * mathed/math_scriptinset.C:
3140 * mathed/math_scriptinset.h:
3143 2004-03-24 Angus Leeming <leeming@lyx.org>
3145 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3146 deal with any child processes that have finished but are waiting to
3147 communicate this fact to the rest of LyX.
3149 2004-03-24 Angus Leeming <leeming@lyx.org>
3151 64-bit compile fixes.
3153 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3154 (c-tor): pass lyx::pos_types rather than ints.
3156 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3159 * text.C (Delete): compile fix.
3160 (getPar): ensure that function declaration is the same as that in
3163 2004-03-23 Angus Leeming <leeming@lyx.org>
3165 * ispell.C (LaunchIspell):
3166 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3167 a boost::shred_ptr rather than a std::auto_ptr.
3169 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3171 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3172 handle LFUN_FILE_INSERT_*
3174 * lyxrc.C (setDefaults, getDescription, output, read):
3175 * lyxrc.h: remove ps_command
3177 2004-03-22 Angus Leeming <leeming@lyx.org>
3179 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3180 Ensure that error_handler is processed once only and that all data
3181 is saved before attempting to output any warning messages.
3183 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3185 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3187 * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3189 2004-03-19 André Pönitz <poenitz@gmx.net>
3191 * cursor.[Ch] (reset): take main text inset as argument
3193 * BufferView: adjust
3194 * BufferView_pimpl.C: adjust
3196 * paragraph.[Ch]: fix completely broken operator=()
3198 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3200 * LColor.C (getFromLyXName): make sure that the color name is used
3203 2004-03-17 Angus Leeming <leeming@lyx.org>
3206 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3208 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3209 dialog and to kill a forked process.
3211 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3213 * text2.C (setCursorFromCoordinates): fix font problem
3215 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3217 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3218 bogus "rebuild cursor" code
3220 2004-03-11 André Pönitz <poenitz@gmx.net>
3222 * buffer.[Ch]: use InsetText instead of LyXText as container for
3225 * dociterator.[Ch]: drop the BufferView * member which is not needed
3226 anymore after the change to buffer.C
3228 * paragraph_funcs.C:
3232 * BufferView_pimpl.[Ch]:
3234 * cursor_slice.[Ch]: adjust
3236 * text3.C: fix bug in mathDispatch
3238 2004-03-08 André Pönitz <poenitz@gmx.net>
3240 * undo.[Ch]: use 'StableDocumentIterator' as base for
3243 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3246 * bufferparams.[Ch]: add jurabib support and param.
3248 * LaTeX.C: add FIXME/comment.
3250 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3252 * buffer.C: increment file format to 230.
3254 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3256 * cursor.C (dispatch): avoid infinite loops
3258 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3260 * rowpainter.C (paintSelection): fix x coordinates
3262 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3264 * text.C (rowBreakPoint): fix breaking before displayed insets
3266 2004-03-01 André Pönitz <poenitz@gmx.net>
3268 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3270 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3274 * BufferView_pimpl.C:
3282 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3288 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3289 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3291 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3293 * Bidi.[Ch] (computeTables): const correctness
3294 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3295 fill_hfill, fill_label_hfill and x from Row
3296 * lyxtext.h: prepareToPrint returns a RowMetrics
3297 * rowPainter.C: adjust
3298 * text.C (prepareToPrint): use width, not textWidth. adjust
3299 (redoParagraphInternal, cursorX): adjust
3300 * text2.C (getColumnNearX): adjust
3301 (init): put a default value to the top LyXText::width
3303 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3305 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3307 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3309 * lyxtext.h: add FontIterator class
3311 * text.C (FontIterator, operator*, operator->, operator++): add
3312 (rowBreakPoint, setRowWidth): adjust (fixing a
3315 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3317 * BufferView_pimpl.C (workAreaDispatch): allow also
3318 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3320 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3322 * text.C (rowBreakPoint): fix a bug showing with very large insets
3324 2004-02-25 André Pönitz <poenitz@gmx.net>
3327 * cursor.[Ch]: move some mathed specific code to mathed
3329 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3331 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3332 use_tempdir in preferences
3333 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3335 * lyx_main.C: ensure that tempdir is valid
3336 * lyxlex.h: correct typo
3337 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3338 * paragraph.[Ch] (isMultiLingual): make const
3339 * cursor.[Ch] (openable): make const
3341 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3343 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3345 2004-02-20 André Pönitz <poenitz@gmx.net>
3347 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3349 * cursor.[Ch]: prepare for localized getStatus()
3355 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3357 2004-02-20 André Pönitz <poenitz@gmx.net>
3359 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3361 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3363 * text2.C (setCursorFromCoordinates): switch to absolute coords
3365 (cursorDown): adjust
3366 * text3.C (dispatch): adjust
3368 2004-02-16 André Pönitz <poenitz@gmx.net>
3370 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3373 * cursor_slice.[Ch]: remove unneeded acessor function
3375 * lyxtext.h: rename rtl() to isRTL()
3383 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3385 * rowpainter.C (paintSelection): coord fix
3387 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3389 * Spacing.C: compile fix
3391 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3393 * cursor.C (dispatch): restore current_ before returning
3395 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3397 * text2.C (cursorUp, cursorDown): fix coords
3400 2004-02-12 André Pönitz <poenitz@gmx.net>
3405 * text3.C: add LCursor & parameter to most cursor movement functions
3406 remove usage of LyXText::cursorRow() and cursorPar()
3408 * cursor.[Ch]: add textRow() needed members
3411 * BufferView_pimpl.C:
3414 * BufferView_pimpl.C: adjust
3416 2004-02-11 André Pönitz <poenitz@gmx.net>
3420 * BufferView_pimpl.C: shift undo/redo handling
3422 * cursor.[Ch]: fix mathed crash
3425 * lyxtext.h: move selectionAsText to LCursor
3433 * rowpainter.C: fix excessive drawing
3435 2004-02-06 André Pönitz <poenitz@gmx.net>
3438 * BufferView_pimpl.[Ch]:
3439 * text3.C: move some text specific LFUN handling
3441 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3443 * text3.C (checkInsetHit): adjust coords
3444 * text2.C (getColumnNearX): adjust coords
3445 (edit): adjust coords
3446 * text.C (getRowNearY): add two asserts
3448 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3451 * format.C: add using std::distance to compile on gcc 2.95/stlport
3453 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3455 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3457 2004-02-04 André Pönitz <poenitz@gmx.net>
3459 * BufferView.[Ch] (insertInset):
3460 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3465 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3467 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3468 on the default clause of the switch
3469 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3470 wasn't catched by LCursor::dispatch
3472 2004-02-03 André Pönitz <poenitz@gmx.net>
3475 * cursor.[Ch]: some additional asserts
3477 * undo.[Ch]: remove LyXText dependency in interface
3481 * lyxtext.h (firstPar, lastPar): remove dead functions
3486 * paragraph.[Ch]: adjust
3488 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3490 * lyxfind.C (find): fix argument order in call to ::find
3492 2004-02-02 André Pönitz <poenitz@gmx.net>
3494 * cursor.[Ch]: remove direct access to anchor
3496 * text.C: remove findText() hack
3498 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3500 * iterators.[Ch] (lockPath): remove in favour of...
3501 * BufferView.[Ch] (setCursor): this addition
3502 * BufferView.C (putSelectionAt): adjust
3503 * undo.C (performUndoOrRedo): adjust
3504 * lyxfunc.C (dispatch): adjust
3506 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3508 * iterators.C (lockPath): add a missing slice
3509 * undo.C (performUndoOrRedo): remove redundant positioning code
3511 2004-02-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3513 * vc-backend.C (scanMaster): ";" -> ';'
3515 2004-01-31 Lars Gullik Bjønnes <larsbj@gullik.net>
3517 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3518 std::binary_function
3520 * lyxtextclass.C (compare_name): rename to...
3521 (LayoutNamesEqual): ...this
3523 * lyxlex_pimpl.C (compare_tags): inherit from
3524 std::binary_function, put back into anon namespace
3526 * lyxfind.C (MatchString): inherig from std::binary_function
3527 (findChange): use empty() istead of !size()
3529 * format.C (FormatNamesEqual): new functor
3536 * converter.C (compare_Converter): rename to...
3537 (ConverterEqual): ...this, and fixup a bit.
3538 (getConverter): use it, and make function const
3539 (getNumber): use it, and make function const
3543 * bufferlist.C: add using boost::bind
3545 * MenuBackend.C (MenuNamesEqual): new functor
3546 (hasMenu): use it, and make function const
3547 (hasSubmenu): use nested bind to get rid of compare_memfun.
3549 2004-01-30 André Pönitz <poenitz@gmx.net>
3551 * BufferView_pimpl.C:
3554 * cursor_slice.[Ch]:
3557 * paragraph_funcs.C:
3558 * paragraph_funcs.h:
3562 * text3.C: move some of the edit(x,y) handling to the insets
3563 some coordinate changes.
3565 2004-01-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3567 * text.C: add using statements for std::advance and std::distance
3569 * paragraph.C: add using statement for std::distance
3571 * lyxfind.C: add using statement for std::advance
3573 * cursor.C (region): remove std:: from swap
3574 (openable): use nucleus in stead of operator->
3576 * BufferView.C: add using statements for std::distance and std::swap
3578 2004-01-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3580 * iterators.C: Remove the pimple, move the needed structures to
3581 the header file. Create accessor for the positions stack.
3582 (asPosIterator): remove function
3584 * PosIterator.C (PosIterator): move constructors to top of file
3585 (PosIterator): reimplement the constructor taking a ParIterator in
3587 (setFrom): new function
3588 (operator!=): inline it
3590 2004-01-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3592 * lyxfind.C (replaceAll): use std::advance
3594 * iterators.h: inherit from std::iterator.
3596 * PosIterator.C (advance, distance): remove
3597 * PosIterator.h: interit from std::iterator.
3599 2004-01-26 André Pönitz <poenitz@gmx.net>
3602 * BufferView_pimpl.[Ch]:
3606 * bufferview_funcs.C:
3616 * output_linuxdoc.C:
3617 * output_plaintext.C:
3619 * paragraph_funcs.[Ch]:
3620 * paragraph_pimpl.[Ch]:
3626 * text3.C: more IU: dumps most of the rest of the mathcursor
3627 implementation into cursor.[Ch]; "globalize" a bit of it.
3629 2004-01-25 Angus Leeming <leeming@lyx.org>
3631 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3633 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3635 * LaTeXFeatures.h: add nice_ and nice() const
3636 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3638 2004-01-20 André Pönitz <poenitz@gmx.net>
3641 * BufferView_pimpl.C:
3643 * bufferview_funcs.C:
3645 * cursor_slice.[Ch]:
3656 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3657 LCursor and mathcursor parts to LCursor and InsetBase.
3659 2004-01-15 André Pönitz <poenitz@gmx.net>
3661 * cursor_slice.[Ch]: add a few covienience functions
3663 * funcrequest.[Ch]: remove BufferView * member
3665 * BufferView_pimpl.C:
3672 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3674 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3676 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3677 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3679 2004-01-13 André Pönitz <poenitz@gmx.net>
3682 * lyxtext.h: hide cursor and selection anchor behind accessor function
3685 * BufferView_pimpl.[Ch]:
3687 * bufferview_funcs.C:
3697 * cursor_slice.[Ch]: some integer type changes for inset unification
3699 * lyxcursor.[hC]: remove, it's CursorSlice now.
3702 * BufferView_pimpl.[Ch]:
3703 * bufferview_funcs.C:
3709 * textcursor.[Ch]: adjust
3711 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3713 * text2.C (undoSpan): add and use
3714 * text.C (breakParagraph): use undoSpan (fix bug 578)
3717 2004-01-08 Angus Leeming <leeming@lyx.org>
3719 * BufferView_pimpl.C (MenuInsertLyXFile):
3720 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3721 * lyxfunc.C (menuNew, open, doImport):
3722 FileFilterList change to the FileDialog open and save functions.
3724 2004-01-07 Lars Gullik Bjønnes <larsbj@gullik.net>
3726 * ShareContainer.h: make isEqual and isUnique adaptable
3728 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3730 2004-01-07 Angus Leeming <leeming@lyx.org>
3733 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3735 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3737 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3738 functions replacing find, replace and replaceAll.
3740 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3741 LFUN_WORDFIND(FORWARD|BACKWARD).
3743 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3745 * text.C (breakParagraph): remove an outdated #warning
3747 2004-01-07 André Pönitz <poenitz@gmx.net>
3749 * lyxfind.C: somewhat clearer logic
3751 * text.C: prevent crash in cursorX on unitialized row cache
3753 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3755 * lyxcursor.[Ch] (operator>): add
3756 * textcursor.C (selStart, selEnd): use std::min and std::max
3758 2004-01-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3760 * Chktex.C: include boost/format.hpp
3762 2004-01-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3764 * InsetList.C: replace functor MathcIt with adaptable functor
3766 (insetIterator): modify accordingly
3768 * BranchList.h: move the BranchNamesEqual functor here from...
3769 * BranchList.C: ... to here
3771 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3773 (add): replace a finding loop with std::find_if.
3775 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3777 * output_docbook.C: moving LatexParam functionality into
3780 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3782 * buffer.C: increment format to 229.
3784 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3787 * lyx_sty.[Ch]: remove minipageindent_def
3793 * text3.C: remove LFUN_INSET_MINIPAGE
3795 2003-12-28 Angus Leeming <leeming@lyx.org>
3797 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3799 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3801 * text2.C (setParagraph): fix off-by-one crash
3803 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3805 * output_docbook.C: header stuff for AGU
3807 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3809 * text2.C (redoCursor): remove
3812 * BufferView_pimpl.C: remove calls to redoCursor and
3813 setCursor(cursor.par(), cursor.pos()) all around
3815 2003-12-15 Angus Leeming <leeming@lyx.org>
3817 * buffer.C: up the format to 228.
3819 2003-12-15 André Pönitz <poenitz@gmx.net>
3821 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3826 * BufferView_pimpl.C:
3835 2003-12-15 Angus Leeming <leeming@lyx.org>
3837 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3838 than getFromGUIName to manipulate the color.
3840 2003-12-14 Angus Leeming <leeming@lyx.org>
3842 * BranchList.[Ch]: minimize the API.
3843 (Branch::getBranch, getColor): now return a 'const &'.
3844 (Branch::setSelected) now returns a bool set to true if the
3845 selection status changes.
3846 (BranchList::clear, size, getColor, setColor, setSelected,
3847 allBranches, allSelected, separator): removed.
3848 (BranchList::find): new functions, returning the Branch with
3850 (BranchList::add, remove): return a bool indicating that
3851 the operation was successful.
3853 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3854 new InsetBranch::isBranchSlected member function.
3856 * LColor.[Ch]: mimimize the API.
3857 (fill): renamed as addColor and made private.
3858 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3859 versions of these functions taking a string arg have been removed.
3861 * bufferparams.C (readToken):
3862 * lyxfunc.C (dispatch):
3863 * lyxrc.C (read): changes due to the altered BranchList and
3866 * factory.C (createInset, readInset): changes due to altered
3869 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3872 * lyxfunc.C: remove insetminipage. "minipage-insert"
3873 now produces a frameless minipage box inset.
3875 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3877 * textcursor.[Ch] (selStart,selEnd): add new methods
3878 remove selection::start, end, use LyXCursor::operator<
3879 * lyxcursor.[Ch] (operator<): add
3880 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3881 * BufferView.[Ch] (unsetXSel): add
3882 * text2.C (clearSelection): use unsetXSel,adjust
3885 * rowpainter.C: adjust
3886 * bufferview_funcs.C (put_selection_at): adjust
3888 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3890 * BufferView_pimpl.C: small coord. correction
3892 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3894 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3895 dragging over the splash screen.
3897 2003-12-11 Angus Leeming <leeming@lyx.org>
3899 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3900 as it is now handled in LyXText::dispatch.
3902 * text3.C (doInsertInset): remove a level of nesting.
3904 2003-12-11 Angus Leeming <leeming@lyx.org>
3906 * factory.C (createInset): changes due to the changed interface to
3907 InsetCommandMailer::string2params.
3909 2003-12-10 Angus Leeming <leeming@lyx.org>
3911 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3912 'dialog-show-new-inset <inset name>'
3914 2003-12-10 Angus Leeming <leeming@lyx.org>
3916 * buffer.C: up the format to 227.
3918 * factory.C: the box inset is now identified simply by 'Box'.
3920 2003-12-10 Angus Leeming <leeming@lyx.org>
3922 * buffer.C: up the format to 226.
3924 * factory.C: the note inset is now identified simply by 'Note'.
3926 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3928 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3929 when a pit is enough. Standarize a couple of loops.
3931 2003-12-05 Angus Leeming <leeming@lyx.org>
3933 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3934 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3935 data to the re-worked "log" dialog.
3937 2003-12-03 André Pönitz <poenitz@gmx.net>
3943 * paragraph_funcs.C:
3945 * text2.C: use Inset::getText instead of Inset::getParagraph
3947 2003-12-03 André Pönitz <poenitz@gmx.net>
3951 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3952 InsetText::read() as LyXText::read()
3954 2003-12-02 Angus Leeming <leeming@lyx.org>
3956 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3957 type. Add a comment in the implementation that the function uses
3958 the stream's bad() function rather than fail() as the std::streams
3961 2003-12-02 André Pönitz <poenitz@gmx.net>
3963 * lyxlex.[Ch]: make interface more similar to std::stream
3965 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3967 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3969 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3971 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3973 * vspace.[Ch]: remove VSpace::NONE
3975 2003-12-01 André Pönitz <poenitz@gmx.net>
3978 * lyxtext.h: move ParagraphList member to LyXText
3979 rename LyXText::ownerParagraphs to LyXText::paragraph
3982 * bufferview_funcs.C:
3992 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3994 * undo.C: fix cursor positioning
3996 2003-12-01 John Levon <levon@movementarian.org>
3998 * BufferView_pimpl.C: fix a crash on exit with
4001 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
4003 * BranchList.C: fix setSelected() method.
4005 2003-11-28 André Pönitz <poenitz@gmx.net>
4007 * ParagraphParameters.[Ch]:
4008 * ParameterStruct.h: remove space above/below from Paragraph to
4011 * BufferView_pimpl.C:
4017 * paragraph_funcs.C:
4023 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
4025 * factory.C: Syntax change for CharStyles
4027 2003-11-28 André Pönitz <poenitz@gmx.net>
4032 * buffer.[Ch]: move LyXText member
4034 2003-11-28 André Pönitz <poenitz@gmx.net>
4036 * BufferView.[Ch]: make LyXText * text a private member
4038 * BufferView_pimpl.C:
4049 * output_plaintext.C: cleanup
4051 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4054 * lyxtextclass.[Ch]: parametrize SGML document header
4056 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
4059 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4062 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
4064 * text2.C (setFont): rework using PosIterator (no more recursive)
4065 (setCharFont): no more needed
4066 (setLayout): no more selection cursors fiddling (done by redoCursor)
4067 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4068 destroy remaining ones)
4070 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
4072 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4074 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4077 * text3.C: adjust + re-allow multi par depth changes
4078 * textcursor.C: simplify a bit
4080 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
4086 * src/output_docbook.C:
4087 * src/output_latex.C:
4092 * src/text2.C: Introducing a number of tags parametrizing various
4093 XML formats that we may want to support
4095 2003-11-25 André Pönitz <poenitz@gmx.net>
4097 * InsetList.[Ch] (begein, end): inline as suggested by profiler
4099 * lyxtext.h (leftMargin/rightMargin): simplify interface
4106 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
4108 * lyxfunc.C (dispatch): propogate the bibtex databases from the
4109 master file to any child files. Fixes bug 546.
4111 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4113 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4115 2003-11-24 André Pönitz <poenitz@gmx.net>
4117 * rowpainter.C: simplification
4119 * text2.C (updateCounters): remove call to redoParagraph on
4120 changed labels as this is far too expensive.
4122 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
4124 * converter.C (convert): fix a crash: this function gets
4125 called with buffer == 0 from importer code.
4127 2003-11-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4129 * text3.C (cursorPrevious): make sure that we do not compare
4130 iterators form different containers.
4133 * rowpainter.C (paintSelection): make sure that we do not compare
4134 iterators from different containers.
4136 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4137 iterators from different ParagraphList containers.
4140 * text2.C (LyXText): change order of initialization slightly
4141 (operator=): new function. copy all variables except cache_par_
4142 (moveUp): make sure that we do not compare iterators from
4143 different ParagraphList constainers.
4146 * text.C (firstPar): new function
4147 (lastPar): new function
4148 (endPar): new function
4150 * lyxtext.h: move things around and group public functions, public
4151 variables, private functions, private variables
4153 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4155 * factory.C: change call to InsetERT constructor to avoid
4156 additional invocation of method status
4157 * text2.C (toggleInset): remove redundant update() call
4158 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4159 instead of a Bufferview pointer
4161 2003-11-21 André Pönitz <poenitz@gmx.net>
4163 * rowpainter.C: simplification
4165 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4167 * text3.C (dispatch): make possible to extend a word/row selection
4170 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4172 * lyxtext.h: x0_,y0_ -> xo_,yo_
4173 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4174 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4175 * rowpainter.C (paintRows): paint full paragraphs
4177 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4179 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4182 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4184 * lyxtext.h: add x0_, y0_
4185 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4186 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4188 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4190 * text2.C (setCursorIntern): move the x_target update here *
4191 * text3.C: change some bv() to true/false in calls to
4192 cursorUp/Down/Right/Left
4193 * cursor.C: use helper function.
4195 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4197 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4198 * paragraph_funcs.[Ch]: correct comment
4199 * rowpainter.C: do not paint selections away from bv->cursor()
4200 Fix a long standing selection painting bug.
4201 * text3.C: generalize mouse-selection code to LyXTexts other that
4203 * textcursor.C: do not use y coords if we can use par offsets
4205 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4207 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4208 cursor position after e.g. inset insert)
4210 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4212 * lyxfind.C (replace): adjust to locking removal + some
4215 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4217 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4220 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4223 * output_docbook.C: XML sanitation: new layout
4224 parameters InnerTag and CommandDepth
4226 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4228 * BufferView_pimpl.C:
4230 * text3.C: Fix the insertion and modification of button-style
4233 2003-11-13 André Pönitz <poenitz@gmx.net>
4235 * InsetList.[Ch]: remove deleteLyXText
4237 * paragraph.[Ch]: cache beginOfBody position
4242 * text3.C: remove superfluous update() calls
4246 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4248 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4249 * BufferView.C (fitLockedInsetCursor): remove
4250 * cursor.[Ch] (getDim): add
4251 * text.C (getRowNearY): add faster version
4252 * text3.C: remove some update calls
4254 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4266 * text3.C: The Character Style /XML short element patch.
4268 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4271 * factory.C: Small step to solving 'unable to insert some insets'
4274 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4276 * cursor.[Ch] (updatePos): new function for updating the y
4277 position of the tip inset
4278 * bufferview_funcs.C (put_selection_at):
4279 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4281 2003-11-11 André Pönitz <poenitz@gmx.net>
4283 * text.C: remove big comment on invalid Paragraph pointers as it is
4286 2003-11-11 André Pönitz <poenitz@gmx.net>
4288 * text_funcs.[Ch]: merge with ...
4296 * Makefile.am: remove text_funcs.[Ch]
4298 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4300 * cursor.C (getPos): return absolute cached y coord
4302 * BufferView_pimpl.C (fitCursor): new simplistic code
4303 (workAreaDispatch): add a fitCursor call
4305 2003-11-10 André Pönitz <poenitz@gmx.net>
4308 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4310 2003-11-10 André Pönitz <poenitz@gmx.net>
4312 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4313 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4314 indicate that the cursor needs to leave an inset
4316 * lyxtext.h: remove inset locking
4318 * cursor.[Ch]: re-implement functionality provided by inset locking
4321 * BufferView_pimpl.[Ch]:
4323 * bufferview_funcs.[Ch]:
4335 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4337 * PosIterator.[Ch]: replace the stack with a vector, add inset
4339 * iterators.[C]: adjust
4341 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4343 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4345 * paragraph_funcs.C (readParToken): put the correct id in the
4346 error item, not the id of the top paragraph
4348 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4350 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4351 * bufferview_funcs.C (put_selection_at): use the above
4353 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4355 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4357 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4359 * output_linuxdoc.h:
4360 * output_plaintext.h:
4362 * output_docbook.h: add #include statements
4364 2003-11-05 José Matos <jamatos@lyx.org>
4366 * output_docbook.[Ch]:
4367 * output_latex.[Ch]:
4368 * output_linuxdoc.[Ch]:
4369 * output_plaintext.[Ch]: New files for output formats.
4370 * output.[Ch]: New file for helper functions.
4373 * paragraph_funcs.[Ch]: output functions moved to new files.
4375 * outputparams.h: rename of latexrunparams.h
4383 * paragraph_funcs.[Ch]:
4384 * paragraph_pimpl.[Ch]:
4385 * tabular.[Ch]: rename ascii to plaintext
4386 and LatexRunParams to OutputParams.
4388 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4390 * iterators.[Ch] (text): require bv argument
4391 * undo.C (recordUndo):
4392 * lyxfunc.C (dispatch):
4393 * bufferview_funcs.C (put_selection_at): adjust
4395 2003-11-05 Jo� Luis M. Assirati <assirati@fma.if.usp.br>
4397 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4399 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4401 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4404 2003-11-04 André Pönitz <poenitz@gmx.net>
4406 * cursor.[Ch]: restructure
4409 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4411 * iterators.[Ch] (asCursor): remove
4413 * lfuns.h: remove LFUN_INSET_EDIT
4419 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4421 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4423 * lyxfind.[Ch]: complete overhaul
4424 * BufferView_pimpl.C:
4426 * paragraph.[Ch] (insert): add
4428 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4432 * text.C: remove dead spellcheck code
4434 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4436 * dispatchresult.h: add a val setter
4438 * cursor.C (dispatch): use a tempvar for data_[i]
4440 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4442 * PosIterator.[Ch]: compile fix
4444 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4446 * text.C (cursorPar): deactivate the cursor cache
4448 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4450 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4452 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4454 * text3.C (dispatch): adjust for new DisptchResult semantics.
4456 * lyxfunc.C (dispatch): handle update when return from
4457 Cursor::dispatch, adjust for new DispatchResult semantics.
4459 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4460 DispatchResult(true) mean to not update. Add class functions for
4461 setting dispatched and update, as well as reading.
4463 * cursor.C (dispatch): don't handle update here
4465 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4467 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4468 * trans_mgr.C: adjust
4470 * paragraph_funcs.C (readParToken): exception safety
4472 * lyxvc.h: store the vcs pointer in a scoped_ptr
4475 * lyxsocket.C (serverCallback): exception safety
4477 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4479 * ispell.C (clone): make it return a auto_ptr
4481 * factory.C (createInset): exception safety
4482 (readInset): exception safety
4484 * bufferlist.C (newBuffer): exception safety
4486 * Thesaurus.C (Thesaurus): use initialization for aik_
4488 * MenuBackend.C (expandToc): exception safety.
4490 2003-11-03 André Pönitz <poenitz@gmx.net>
4494 * bufferview_funcs.C: remove getInsetFromId()
4497 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4503 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4505 * PosIterator.C (distance, advance): new
4506 * bufferview_funcs.[Ch] (put_selection_at): new
4507 * iterators.[Ch] (lockPath): new
4509 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4511 * iterators.[Ch] (asPosIterator): added
4512 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4513 * PosIterator.[Ch]: added
4515 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4519 * cursor.C (dispatch):
4520 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4522 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4523 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4524 contructor, add a class function dispatched. Remove operator>=
4526 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4528 * debug.C: only use the default constructor for debugstream
4531 * main.C (main): include debug.h and setup the lyxerr streambuf
4534 2003-10-31 José Matos <jamatos@lyx.org>
4536 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4538 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4539 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4540 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4541 * paragraph_pimpl.C (simpleTeXSpecialC):
4542 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4543 add LatexRunParams argument.
4545 * exporter.C (Export): change call accordingly.
4547 * latexrunparams.h: add new member to take care of the other backends.
4548 2003-10-30 José Matos <jamatos@lyx.org>
4550 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4551 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4552 factorise code for paragraph output.
4554 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4557 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4559 * text3.C (dispatch):
4560 * lyxfunc.C (dispatch):
4561 * cursor.C (dispatch):
4562 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4564 * dispatchresult.h: make the dispatch_result_t ctor explicit
4566 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4569 * buffer.C: small refactoring of docbook stuff
4571 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4573 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4576 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4578 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4579 operator dispatch_result_t, and operators for == != and >=
4581 * cursor.C (dispatch): adjust for operator dispatch_result_t
4582 removal. comment out call to update
4584 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4586 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4594 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4597 * dispatchresult.h: new file, DispatchResult broken out of
4600 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4602 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4604 * text.C (rowBreakPoint): put a hack inside #if 0
4606 2003-10-28 André Pönitz <poenitz@gmx.net>
4610 * paragraph_funcs.C:
4613 * text2.C: general cleanup (lots of small stuff)
4615 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4617 * text2.C (cursorEnd): simple fix to the "end key goes to one
4618 before the end on last row" bug
4620 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4622 * text.C (backspace): fix the "zombie characters"
4624 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4626 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4628 2003-10-27 André Pönitz <poenitz@gmx.net>
4630 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4632 * factory.C: handle new InsetPagebreak, InsetLine
4634 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4635 and move handling into new InsetPagebreak, InsetLine
4637 * BufferView_pimpl.C:
4639 * ParagraphParameters.C:
4640 * ParameterStruct.h:
4645 * paragraph_funcs.C:
4646 * paragraph_pimpl.C:
4652 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4655 * lyxrow_funcs.[Ch]:
4661 * text3.C: remove lastPos uses in favour of Row::endpos
4663 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4665 * undo.C (performUndoOrRedo): fix two crashes by setting a
4666 cursor by hand and reordering some calls. Use bv->lockInset instead
4667 of inset->edit because the latter loses cursor information
4669 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4671 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4673 (rowBreakPoint): fix width. change point to point + 1.
4674 Add a missing check.
4676 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4679 * lyxfunc.C: fix (at least partly) the problems
4680 with the Nav menu and headers inside branch insets
4683 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4685 * paragraph.C (getChar): add strong asserts
4687 * lyxrow_funcs.C (lastPos): remove hideous hack
4689 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4690 (fill): adjust to that (avoid an infinite loop)
4692 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4694 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4696 2003-10-23 André Pönitz <poenitz@gmx.net>
4698 * RowList_fwd.h: change list<> to vector<> to gain speed
4699 after suggestion from Alfredo
4701 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4703 * lyxtext.h: move the bidi stuff from here...
4706 * Bidi.[Ch]: ... to here
4708 2003-10-23 André Pönitz <poenitz@gmx.net>
4711 * text.C (isLastRow, isFirstRow): new functions
4713 * paragraph.h: new width cache member
4715 * rowpainter.C: replace RowList::iterator with Row & where possible
4717 * lyxfunc.C: replace several view()->text with a single call
4719 * toc.C: fix 'unused' warning
4721 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4723 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4724 when woring with stream::pos_type
4725 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4727 2003-10-22 André Pönitz <poenitz@gmx.net>
4730 * text.C: use Row & instead of RowList::iterator
4732 * lyxrow.h: rename end() to endpos()
4738 2003-10-22 Angus Leeming <leeming@lyx.org>
4740 * buffer.[Ch] (fully_loaded): new member function, returning true
4741 only when the file has been loaded fully.
4742 Used to prevent the premature generation of previews and by the
4743 citation inset to prevent computation of the natbib-style label.
4745 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4746 templates are all set up.
4748 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4750 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4752 * text.C: fixed an "oops" in the "is a bit silly"
4755 2003-10-21 André Pönitz <poenitz@gmx.net>
4757 * FuncStatus.[Ch]: small stuff, whitespace
4759 * lyxfont.[Ch]: operator<<() for debug reasons
4763 * lyxtext.h: whitespace, spelling
4765 * paragraph.C: naming of variables
4768 * text2.C: small stuff
4771 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4773 * text.C: (1) finish off the inset display() work;
4774 (2) fix the "is a bit silly" bug (accessing char
4777 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4779 * text.C: re-introduce display() for insets, fixing the
4780 various bugs (stretch of line above, math inset
4783 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4785 * text.C (rightMargin): remove spurious semicolon
4787 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4790 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4792 * text3.C: fix one crash due to wrong cursor def
4794 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4796 * vc-backend.C (scanMaster): make the regex static
4798 * LaTeX.C (scanAuxFile): make the regexs static
4800 * text3.C (doInsertInset, dispatch, dispatch):
4801 * text2.C (cursorUp, cursorDown):
4802 * text.C (selectNextWordToSpellcheck):
4803 * BufferView_pimpl.C (dispatch):
4804 * lyxfunc.C (dispatch): localDispatch -> dispatch
4806 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4808 * lyxsocket.C: include <cerrno>
4810 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4812 * lyxfunc.C (dispatch): remove textcache stuff
4814 * bufferlist.C (release): remove textcache stuff
4817 * TextCache.C: delete file
4818 * TextCache.h: delete file
4820 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4822 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4823 delete of the bv_->text.
4824 (resizeCurrentBuffer): remove texcache stuff
4825 (workAreaResize): ditto
4827 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4829 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4832 2003-10-16 André Pönitz <poenitz@gmx.net>
4839 * text3.C: speed up by storing y positions per paragraph plus per-row
4840 offset instead of having a 'full' y position in the row.
4842 2003-10-15 André Pönitz <poenitz@gmx.net>
4846 * undo.[Ch]: make undo aware of inner insets
4848 2003-10-14 Angus Leeming <leeming@lyx.org>
4850 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4851 static member functions LyX::ref() and LyX::cref.
4852 (lastfiles): new accessor functions for the new lastfiles_ member var.
4853 (addLyXView, views_): add a new LyXView to the list of views_.
4854 (updateInset): loop over all LyXViews to call their own updateInset
4855 member function, returning a pointer to the Buffer owning the inset.
4857 * BufferView_pimpl.C (loadLyXFile):
4858 * MenuBackend.C (expandLastfiles):
4859 * bufferlist.C (MenuWrite, QuitLyX):
4860 lastfiles is no longer a global variable.
4861 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4863 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4864 static function. Access through LyX::cref().emergencyCleanup().
4866 2003-10-14 André Pönitz <poenitz@gmx.net>
4868 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4870 * undo.[Ch]: restoring part of 'undo in insets'
4873 * undo_funcs.[Ch]: merge with undo.[Ch]
4875 * tabular.C: small cleansing stuff
4877 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4879 * paragraph_funcs.C (readParToken): report unknown insets as error
4880 boxes. Use the outer paragraph as location (also for unknown
4883 * factory.C (readInset): do not abort on reading an unknown inset.
4884 Eat it and return 0.
4886 2003-10-13 Angus Leeming <leeming@lyx.org>
4888 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4890 * lyxrc.C: displayTranslator is now a function,
4891 declared in GraphicsTypes.h.
4893 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4895 * format.C: new placeholder $$a to pass the socket address.
4897 * bufferlist.[Ch]: new function getBufferFromTmp.
4899 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4900 files in the temporary dir.
4902 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4904 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4906 * Makefile.am: add lyxsocket.[Ch].
4908 * lyx_main.C (error_handler): handle SIGPIPE.
4910 2003-10-13 André Pönitz <poenitz@gmx.net>
4912 * BufferView_pimpl.C:
4917 * undo_funcs.[Ch]: use paroffset_type instead of
4918 ParagraphList::iterators to prevent multiple conversion
4919 (and get a more robust interface)
4921 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4923 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4925 * text3.C (dispatch): ditto
4927 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4929 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4930 move the onlyfile, use onlyfile instead of foundfile in a couple
4933 * DepTable.C (update): flush the error stream a bit more
4935 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4937 * lyxserver.C (callback): adjust
4939 * lyxfunc.C (getStatus): add a missing brace in commented code
4940 (ensureBufferClean): reindent
4941 (dispatch): delete version taking a string
4943 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4945 * LaTeX.C (deplog): move found file handlig from here...
4946 (handleFoundFile): .. to new function here.
4947 (deplog): make sure to discover several files mentioned on the
4950 2003-10-10 André Pönitz <poenitz@gmx.net>
4957 * text3.C: fix some of the tabular crashes
4959 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4961 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4963 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4965 2003-10-09 André Pönitz <poenitz@gmx.net>
4967 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4970 * BufferView_pimpl.C:
4971 * bufferview_funcs.C:
4982 * undo_funcs.C: adjust
4984 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4986 * text2.C (incrementItemDepth): new function, use a backtracking
4987 algorithm to discover the correct item depth.
4988 (resetEnumCounterIfNeeded): new function, use a backtracking
4989 algorithm to discover if counter reset is needed.
4990 (setCounter): use them. Simplify a bit. Add different labels for
4991 different item depths for itemize.
4993 * paragraph.C (Paragraph): remove initialization of enumdepth
4996 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4997 enumerate and itemize. Change the type of itemdepth to signed char.
4999 2003-10-08 André Pönitz <poenitz@gmx.net>
5001 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5006 * tabular.[Ch]: fix crash after 'row-insert'
5008 2003-10-08 Angus Leeming <leeming@lyx.org>
5010 Fix doxygen warnings.
5012 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5013 Remove CutAndPaste:: prefix from header file declaration.
5015 * LColor.h (fill): remove LColor:: prefix from declaration.
5017 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5018 use lyx::depth_type rather than Paragraph::depth_type so that
5019 header file and .C file match.
5021 * converter.h (intToFormat): remove Converters:: prefix from declaration.
5023 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5024 * aspell.C: \file aspell_local.C -> \file aspell.C
5025 * gettext.C: \file gettext.C -> \file src/gettext.C
5026 * gettext.h: \file gettext.h -> \file src/gettext.h
5027 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5028 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5029 * text.C: \file text.C -> \file src/text.C
5031 * toc.C: move comment so that doxygen is not confused.
5033 2003-10-07 Angus Leeming <leeming@lyx.org>
5035 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5037 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5040 * aspell_local.h: add forgotten std::string's.
5042 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5049 * text3.C: The Box patch. Fancybox support, minipage, parbox
5051 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
5057 * ParagraphParameters.h:
5067 * lyxtextclasslist.h:
5070 * paragraph_pimpl.C:
5071 * textcursor.h: add <string> and other small fixes to make Lars'
5072 std::string patch compile with STLport.
5074 2003-10-06 Angus Leeming <leeming@lyx.org>
5076 * LColor.h: Add missing #include <string>.
5078 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5080 * All most all file in all subdirs: Make <string> be the prefered
5081 way of getting to std::string, add using declarations.
5083 2003-10-06 André Pönitz <poenitz@gmx.net>
5085 * metricsinfo.C: initialize LyXFont before changing attribute.
5086 (fixes the 'math in \emph is upright' bug)
5088 2003-10-06 André Pönitz <poenitz@gmx.net>
5090 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5092 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
5095 * paragraph_pimpl.C: Small fixes to build using STLport
5097 2003-10-02 André Pönitz <poenitz@gmx.net>
5100 * text3.C: move handling of LFUN_DEPTH *; fix #1360
5102 2003-10-01 André Pönitz <poenitz@gmx.net>
5104 * factory.C: assert early
5106 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5108 * lyx_main.C: remove the global debug object
5110 * debug.h: adjust for new debugstream
5112 * debug.C: adjust for new debugstream and keep the global debug
5115 2003-09-22 Angus Leeming <leeming@lyx.org>
5117 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5118 of g++ which otherwise complain that the scoped_ptr destructor can't delete
5119 an incomplete class LyXFont.
5121 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
5123 * factory.C: bug fix in branches
5125 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5127 * lyxfunc.C (processKeySym): adjust
5129 (dispatch): change arg name from ev to func, adjust
5130 (sendDispatchMessage): ditto
5132 * lyx_main.C (defaultKeyBindings): adjust keybindings
5133 (deadKeyBindings): ditto
5135 * kbsequence.C (addkey): return a FuncRequest
5137 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5139 * kbmap.C (bind): take a FuncRequest as arg, adjust
5142 (defkey): change to take a FuncRequest as arg, adjust
5143 (findbinding): take a FuncRequest as arg, adjust.
5145 * funcrequest.h (operator=): added
5147 * funcrequest.C (FuncRequest): default kb_action changed from
5148 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5150 * buffer.C (dispatch): simplify
5151 (dispatch): adjust to take a FuncRequest as arg, adjust
5153 * boost.C (assertion_failed): change assertion message slightly
5155 * ToolbarBackend.C (read): simplify
5157 * MenuBackend.C (binding): adjust call to findbinding, add a
5158 message if no binding is found.
5160 (expandToc): correct by adding a empty FuncRequest
5162 * LyXAction.C: include <boost/assert.hpp>
5163 (isPseudoAction): delete function
5164 (LookupFunc): change name to...
5165 (lookupFunc): this. change return type to FuncRequest.
5166 (getActionName): take kb_action as arg, simplify
5167 (funcHasFlag): add an assert, simplify.
5169 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5171 * toc.C (action): return a FuncRequest, simplify
5173 * lyxfunc.C (processKeySym): adjust
5174 (getStatus): delete version that takes an int.
5176 (dispatch): delete version that takes action as int
5178 (sendDispatchMessage): simplify and adjust
5180 * funcrequest.C (getArg): take unsigned int as arg
5182 * ToolbarBackend.C (read): adjust
5183 (add): delete version that takes func as a string.
5184 (getIton): take a FuncRequest as arg
5186 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5189 * MenuBackend.C (MenuItem): add a new construct that only takes a
5190 Kind, simplify the constructor use for submenus.
5192 (expandLastfiles): adjust
5193 (expandDocuments): adjust
5194 (expandFormats): adjust
5195 (expandFloatListInsert): adjust
5196 (expandFloatInsert): adjust
5197 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5199 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5200 Remove class variables lyx_pseudo_map and lyx_arg_map
5202 * LyXAction.C (searchActionArg): delete function
5203 (getPseudoAction): delete function
5204 (retrieveActionArg): delete function
5205 (LookupFunc): make it return kb_action, simplify.
5206 (getActionName): simplify
5208 * factory.C (createInset): fix new bug
5210 2003-09-19 Angus Leeming <leeming@lyx.org>
5212 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5213 masterFilename_ parameter in the include inset.
5215 * factory.C (createInset): changes due to the changes to InsetInclude.
5217 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5219 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5221 2003-09-18 Angus Leeming <leeming@lyx.org>
5224 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5225 Inset::fillWithBibKeys.
5226 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5228 2003-09-18 Angus Leeming <leeming@lyx.org>
5230 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5232 (ctor): pass and store a 'Buffer const &'
5233 (buffer): new member function.
5235 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5236 '*this' to the LaTeXFeatures ctor.
5238 2003-09-18 Angus Leeming <leeming@lyx.org>
5244 * text.C: rename EnumLColor as LColor_color.
5246 2003-09-18 Angus Leeming <leeming@lyx.org>
5248 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5249 remove #include "insets/insetbase.h" from cursor.h.
5251 2003-09-18 Angus Leeming <leeming@lyx.org>
5253 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5254 InsetOld_code to remove #include "inset.h".
5256 * iterators.C: add #include "insets/inset.h"
5258 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5260 * BufferView.C: remove more locking stuff that apparently doesn't
5261 do anything sensible.
5263 2003-09-16 André Pönitz <poenitz@gmx.net>
5266 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5269 2003-09-16 Angus Leeming <leeming@lyx.org>
5271 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5273 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5276 * paragraph.h: remove #include "lyxfont.h". Forward declare
5279 2003-09-16 Angus Leeming <leeming@lyx.org>
5281 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5282 of support/textutils.h.
5283 (isWord): move the contents of support/textutils.h's IsWordChar here.
5289 * text2.C: add #include "paragraph.h".
5292 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5294 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5300 * LaTeX.C: use namespace alias for lyx::support::os
5302 2003-09-16 Angus Leeming <leeming@lyx.org>
5305 * bufferview_funcs.C:
5308 * paragraph_pimpl.C:
5310 * text.C: add #include "LColor.h".
5312 2003-09-16 Angus Leeming <leeming@lyx.org>
5314 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5315 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5317 Store the FontBits::color variable as an int rather than as an
5318 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5321 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5322 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5323 string calls together.
5325 * lyxrc.C: add #include "LColor.h".
5327 2003-09-15 Angus Leeming <leeming@lyx.org>
5329 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5332 2003-09-15 Angus Leeming <leeming@lyx.org>
5334 * LColor.h: add an EnumLColor wrapper for LColor::color.
5336 * lyxfont.[Ch] (color, setColor, realColor):
5337 * lyxtext.h, text.C (backgroundColor):
5338 pass EnumLColor args to/from the functions, rather than LColor::color
5342 * lyxtext.h: forward declare EnumLColor.
5344 * lyx_main.C: add #include "LColor.h".
5346 2003-09-15 Angus Leeming <leeming@lyx.org>
5348 * .cvsignore: add lyx-gtk.
5350 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5355 * ParagraphParameters.C
5359 * bufferview_funcs.C
5369 * vc-backend.C: remove usage of STRCONV
5371 2003-09-15 Angus Leeming <leeming@lyx.org>
5373 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5374 explicitly define the color passed to the painter.
5376 2003-09-15 Angus Leeming <leeming@lyx.org>
5378 * bufferparams.C (BufferParams): reorder member initializers to avoid
5381 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5383 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5384 * text.C (updateRowPositions): remove an unusual nop
5386 2003-09-12 André Pönitz <poenitz@gmx.net>
5388 * BufferView_pimpl.C:
5397 * Counters.[Ch]: finish the 'automatic counters' job
5399 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5401 * aspell.C: include <boost/assert.cpp> (compile fix)
5403 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5405 * boost.C (assertion_failed): use lyx::support::abort instead of
5408 2003-09-10 Angus Leeming <leeming@lyx.org>
5410 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5411 with their _fwd progeny.
5413 2003-09-09 Angus Leeming <leeming@lyx.org>
5415 134 files throughtout the source tree: replace 'using namespace abc;'
5416 directives with the appropriate 'using abc::xyz;' declarations.
5418 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5420 * boost.C (emergencyCleanup): moved here from LAssert.c
5421 (assertion_failed): new function, called by BOOST_ASSERT
5423 * several files: change Assert to BOOST_ASSERT
5425 2003-09-09 Angus Leeming <leeming@lyx.org>
5427 * buffer.[Ch]: Add an Impl class and move Buffer's member
5428 variables into it. As a result move several header files out of
5431 Add header files to lots of .C files all over the tree as a result.
5433 2003-09-09 Angus Leeming <leeming@lyx.org>
5435 * buffer.[Ch]: make Buffer's member variables private. Add
5438 Lots of changes all over the tree as a result.
5440 2003-09-08 Angus Leeming <leeming@lyx.org>
5442 * graph.C: #include <config.h>.
5444 2003-09-08 Angus Leeming <leeming@lyx.org>
5448 * BufferView_pimpl.C:
5477 * toc.C: remove redundant using directives.
5479 2003-09-07 Angus Leeming <leeming@lyx.org>
5481 * LaTeXFeatures.h: remove #include "support/types.h".
5482 * ToolbarBackend.h: remove #include <algorithm>.
5483 * changes.h: remove #include <ctime>.
5484 * debug.h: remove #include <iosfwd>.
5485 * graph.h: remove #include "support/std_string.h".
5486 * lyx_main.h: remove #include <csignal>.
5487 * lyxlex_pimpl.h: remove #include <fstream>.
5488 * sgml.h: remove #include <algorithm>, <utility>.
5489 * toc.h: remove #include "support/std_ostream.h".
5490 Add #include <iosfwd>.
5492 2003-09-07 Angus Leeming <leeming@lyx.org>
5494 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5496 * converter.h: forward declare LatexRunParams.
5497 * encoding.h: remove #include "lyxrc.h".
5498 * lyxtext.h: remove #include "LColor.h".
5499 * lyxtextclass.h: remove #include "support/types.h".
5500 * trans.h: remove #include "tex-accent.h".
5501 * trans_mgr.h: remove #include "tex-accent.h".
5502 * insets/inset.h: remove #include "support/types.h", <vector>.
5503 * insets/insetcollapsable.h: remove #include "LColor.h".
5504 * insets/insetinclude.h: remove #include "dimension.h".
5505 * insets/insetlatexaccent.h: remove #include "dimension.h".
5506 * insets/insetoptarg.h:: remove #include "insettext.h".
5507 * insets/insettext.h: remove #include "dimension.h",
5508 <boost/shared_ptr.hpp>
5510 * insets/renderers.h: add #include "dimension.h".
5511 * insets/updatableinset.h: add #include "support/types.h".
5513 * many .C files: Associated changes.
5515 2003-09-06 Angus Leeming <leeming@lyx.org>
5517 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5518 one, inside testInvariant.
5520 * PrinterParams.C: new file.
5521 * PrinterParams.[Ch]: move the function bodies out of line.
5523 2003-09-06 Angus Leeming <leeming@lyx.org>
5525 * ParagraphParameters.h: forward declare ParameterStruct rather than
5526 including its header file.
5527 (depth): moved out-of-line.
5529 2003-09-06 Angus Leeming <leeming@lyx.org>
5531 * BufferView_pimpl.h:
5534 * lyxfunc.h: forward declare LyXKeySym rather than
5535 #include "frontends/LyXKeySym.h".
5537 * BufferView_pimpl.C:
5540 * lyxfunc.C: associated changes.
5542 2003-09-06 Angus Leeming <leeming@lyx.org>
5544 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5545 As a result, can remove the #include "insets/inset.h" from BufferView.h
5547 2003-09-06 Angus Leeming <leeming@lyx.org>
5549 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5550 As a result, can remove the #include "insets/inset.h" from BufferView.h
5552 2003-09-06 Angus Leeming <leeming@lyx.org>
5558 * bufferview_funcs.C:
5559 * BufferView_pimpl.C:
5564 * ParagraphParameters.C:
5569 * frontends/controllers/ControlDocument.C:
5570 * insets/insetcaption.C: rearrange the #includes into some sort of
5573 * buffer.h: remove #includes ErrorList.h, undo.h
5575 2003-09-06 Angus Leeming <leeming@lyx.org>
5577 * support/types.h: add a 'depth_type' typedef, used to store the
5578 nesting depth of a paragraph.
5581 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5582 defining explicitly.
5585 * paragraph_funcs.h:
5586 * ParagraphParameters.h:
5587 * sgml.h: use lyx::depth_type rather than Paragraph or
5588 ParameterStruct's depth_type.
5591 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5594 * BufferView_pimpl.C:
5596 * ParagraphParameters.C:
5599 * bufferview_funcs.C:
5606 * frontends/LyXView.C:
5607 * frontends/controllers/ControlDocument.C:
5608 * frontends/controllers/ControlErrorList.C:
5609 * insets/insetbibitem.C:
5610 * insets/insetbranch.C:
5611 * insets/insetcaption.C:
5612 * insets/insetcollapsable.C:
5613 * insets/insetenv.C:
5614 * insets/insetert.C:
5615 * insets/insetfloat.C:
5616 * insets/insetfoot.C:
5617 * insets/insetfootlike.C:
5618 * insets/insetnewline.C:
5619 * insets/insetquotes.C:
5620 * insets/insettabular.C:
5621 * insets/insettext.C:
5622 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5624 * frontends/controllers/ControlChanges.C: #include "changes.h".
5626 2003-09-06 Angus Leeming <leeming@lyx.org>
5628 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5629 than #including paragraph.h.
5632 * RowList.h: deleted. Superfluous.
5642 * insets/insettext.h: use ParagraphList_fwd.h rather than
5645 * paragraph.h: don't forward declare ParagraphList.
5648 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5649 rather than ParagraphList.h. paragraph.h is still needed for the
5650 Paragraph::depth_type parameters.
5652 * textcursor.h: enable it to compile stand-alone in light of the
5655 * bufferview_funcs.C:
5667 * frontends/controllers/ControlParagraph.C:
5668 * frontends/controllers/ControlTabular.C:
5669 * insets/insetmarginal.C:
5670 * insets/insetminipage.C:
5671 * insets/insetnote.C:
5672 * insets/insetoptarg.C: add header files needed to compile again.
5674 2003-09-06 Angus Leeming <leeming@lyx.org>
5676 * RowList_fwd.h: new file, forward-declaring Row rather than
5677 #including lyxrow.h.
5682 * insets/insettext.h: use it instead of RowList.h
5684 * bufferview_funcs.C:
5691 * text3.C: #include "RowList.h".
5693 2003-09-05 Angus Leeming <leeming@lyx.org>
5695 * factory.C (createInset):
5696 * vspace.C (c-tor): replace sscanf call with an istringstream.
5697 * ispell.C: re-add missing HP/UX headers.
5698 * lyxserver.C: re-add missing os2 headers.
5700 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5709 * text3.C: re-add missing system headers, needed for 2.95.2.
5711 2003-09-05 Angus Leeming <leeming@lyx.org>
5713 Changes most place everywhere due to the removal of using directives
5714 from support/std_sstream.h.
5716 2003-09-05 Angus Leeming <leeming@lyx.org>
5718 Replace LString.h with support/std_string.h,
5719 Lsstream.h with support/std_sstream.h,
5720 support/LIstream.h with support/std_istream.h,
5721 support/LOstream.h with support/std_ostream.h.
5723 Changes resulting throughout the tree.
5725 2003-09-05 Angus Leeming <leeming@lyx.org>
5727 * sgml.h: ensure that the header file can be compiled stand-alone.
5728 * *.C: strip out redundant #includes. (320 in total.)
5730 2003-09-04 Angus Leeming <leeming@lyx.org>
5732 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5733 here (from getPackages).
5735 * debug.[Ch]: add a new EXTERNAL tag.
5737 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5739 * text2.C (cursorEnd): simplify
5741 (getColumnNearX): adjust
5743 * text.C (computeBidiTables): adjust
5746 * rowpainter.C (paintChars): adjust
5747 (paintSelection): adjust
5748 (paintChangeBar): adjust
5751 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5753 (numberOfSeparators): adjust
5755 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5761 * text3.C: Restricts the mouse click functionality
5762 of insets like bibtex, include, toc and floatlist to the visible
5763 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5764 up the dialogs. Cursor has to be in front of the inset (i.e.
5765 start of row) for this to function.
5767 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5769 * bufferview_funcs.C (currentState): output row information
5771 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5773 * bufferview_funcs.C (currentState): output paragraph position
5775 2003-09-04 Angus Leeming <leeming@lyx.org>
5777 * FloatList.h: move out #include "Floating.h".
5778 * LaTeX.h: move out #include "DepTable.h".
5779 * LyXAction.h: move out #include "funcrequest.h".
5780 * buffer.h: move out #include "author.h", "iterators.h".
5781 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5782 * lyx_main.h: move out #include "errorlist.h".
5783 * lyxfunc.h: move out #include "FuncStatus.h".
5784 * lyxtext: move out #include "lyxcursor.h".
5785 * paragraph_pimpl.h: move out #include "counters.h".
5787 2003-09-03 Angus Leeming <leeming@lyx.org>
5789 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5790 preamble_snippets list, enabling us to add snippets to the preamble
5791 only if the snippet was not there already.
5793 2003-09-04 Angus Leeming <leeming@lyx.org>
5795 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5797 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5799 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5802 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5804 * BranchList.C: point fix, earlier forgotten
5806 2003-09-02 Angus Leeming <leeming@lyx.org>
5808 * box.C (contains): renamed from 'contained' after a fantastic
5811 2003-09-02 John Levon <levon@movementarian.org>
5817 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5819 2003-09-02 John Levon <levon@movementarian.org>
5821 * text2.C: simplification of cursorEnd(), including partial
5824 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5826 * buffer.C (readFile): add a space
5828 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5830 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5832 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5834 * buffer.C (readFile): new function, take a filename and a
5835 ParagraphList::iterator
5837 (readFile): adjust, make it private. don't use setStream, make
5838 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5839 always contain the filename.
5841 * BufferView.C (insertLyXFile): simplify and make it work for
5844 2003-08-30 John Levon <levon@movementarian.org>
5846 * Makefile.am: fix dist (from Kayvan)
5848 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5850 * most files: change to use const Buffer refs
5852 2003-08-27 André Pönitz <poenitz@gmx.net>
5854 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5855 on top of ownerPar().
5857 2003-08-27 John Levon <levon@movementarian.org>
5859 * funcrequest.C: properly initialise POD members
5861 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5863 * lyxtext.h (top_y): move top_y from here
5868 * BufferView_pimpl.[Ch]: to here
5869 * frontends/screen.C:
5870 * insets/insettabular.C:
5871 * insets/insettext.C: adjust
5872 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5874 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5877 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5879 2003-08-26 André Pönitz <poenitz@gmx.net>
5881 * paragraph_func.[Ch] (outerPar): new function
5884 * paragraph_funcs.C:
5885 * paragraph_funcs.h:
5886 * paragraph_pimpl.C:
5887 * text2.C: remove Inset::par_owner
5889 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5894 * text2.C: eliminates the needFullRow/display() stuff
5895 altogether, putting the logic in metrics/draw in the insets.
5897 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5899 * text2.C (redoParagraphInternal, redoParagraphs):
5900 * text.C (redoParagraph): add a call to updateRowPositions at the
5901 end of each 'metrics-like' call. Remove all others.
5902 (getRow): remove the 'y-computing' version.
5903 (getRowNearY): do not compute nor return the real y. Solve the
5904 'y < 0' problem and simplify.
5906 2003-08-22 Angus Leeming <leeming@lyx.org>
5908 * *.[Ch]: clean-up of licence and author blurbs.
5909 Also move config.h out of a few .h files and into a few .C files.
5911 2003-08-22 André Pönitz <poenitz@gmx.net>
5913 * lyxrow.[Ch]: add x_ and *fill_ members
5918 * text2.C: adjust/remove prepareToPrint() calls
5920 2003-08-22 André Pönitz <poenitz@gmx.net>
5922 * lyxrow.[Ch]: add end_ member
5924 * lyxrow_funcs.C: use LyXRow::end_
5926 * lyxtext.h (singleWidth): add LyXFont parameter
5929 * text2.C: adjust LyXText::singleWidth() calls
5931 * text.C (redoParagraph): simplify row breaking logic
5934 2003-08-19 André Pönitz <poenitz@gmx.net>
5936 * funcrequest.C: initialize button_ member
5939 * rowpainter.[Ch]: interface consolidation
5941 2003-08-18 André Pönitz <poenitz@gmx.net>
5944 * BufferView_pimpl.C:
5946 * paragraph_funcs.C:
5948 * text3.C: remove LyXScreen::draw() and fitCursor calls
5950 * BranchList.h: remove spurious semicolons
5952 * MenuBackend.C: fix branchlist related crash
5954 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5962 * bufferparams.[Ch]:
5966 * text3.C: implements the 'branch inset'
5967 idea. This allows the output of various versions of a document
5968 from a single source version, selectively outputing or suppressing
5969 output of parts of the text.
5970 This implementation contains a 'branch list editor' in a separate
5971 tab of the document settings dialog. Branches are user definable
5972 and have a "display colour" to distinguish them on-screen.
5974 ColorHandler was somewhat cleaned up.
5975 (1) make possible a dynamically growing LColor list by allowing
5976 the graphic context cache to grow along (vector);
5977 (2) eliminate an IMHO unnecessary step in colour allocation.
5979 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5981 * BufferView_pimpl.C: compile fix
5983 2003-08-15 André Pönitz <poenitz@gmx.net>
5985 * rowpainter.C: remove extra metrics calls
5987 * lyxtext.h: merge the two constructors into a single one,
5988 pass reference to owner's par list
5990 * BufferView_pimpl.C:
5994 2003-08-15 André Pönitz <poenitz@gmx.net>
5996 * lyxrow_funcs.[Ch]:
5999 * paragraph_funcs.C:
6004 * text_funcs.C: split LyXText::rowlist_ into individual
6005 Paragraph::rows_ chunks
6008 * BufferView_pimpl.[Ch]:
6011 * text3.C: remove toggleSelection()
6013 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
6015 * bufferlist.C: beautify two alerts (shorter text of buttons)
6016 * buffer.C: Remove redundant ' ' from message
6018 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6019 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6020 rename VALIGN_CENTER to VALIGN_MIDDLE
6022 2003-08-11 André Pönitz <poenitz@gmx.net>
6024 * lyxtext.h (getPar):
6025 * text.C: new function
6027 2003-08-11 André Pönitz <poenitz@gmx.net>
6030 * tracer.[Ch]: remove unneeded files
6032 * InsetList.[Ch]: remove resizeInsetsLyXText()
6037 * text3.C: merge insertParagraphs() and appendParagraph()
6038 remove breakAgain(), update()
6040 * BufferView_pimpl.[Ch]:
6041 * bufferview_funcs.[Ch]:
6045 * tabular.C: adjust after text & InsetList changes.
6047 2003-08-08 André Pönitz <poenitz@gmx.net>
6049 * text.C (insertChar, backspace): replace rowlist fiddling
6050 with rebreak of full par
6053 * text.C (breakAgainOneRow, redoHeightOfParagraph,
6054 checkParagraph, updateInset): removed
6056 2003-08-07 André Pönitz <poenitz@gmx.net>
6059 * text3.C: merge some LFUN handlers, remove dead code
6061 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6063 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6065 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
6067 * text2.C (DEPM): fix part of bug 1255 and 1256
6069 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6071 * BufferView_pimpl.C (workAreaDispatch): change to use
6072 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6073 that are no mouse related.
6075 2003-08-05 André Pönitz <poenitz@gmx.net>
6078 * BufferView_pimpl.[Ch]:
6079 * bufferview_funcs.C:
6081 * text3.C: rip out "deep update"
6083 * textcursor.[Ch] (last_sel_cursor): remove unused member
6085 2003-08-04 André Pönitz <poenitz@gmx.net>
6088 * BufferView_pimpl.[Ch]:
6089 * ParagraphParameters.C:
6090 * bufferview_funcs.C:
6096 * text3.C: replace "complicated" BufferView::update(...) calls with
6099 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6101 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
6103 * Makefile.am (lyx_SOURCES): add paper.h
6105 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6107 * Makefile.am: move things around so that both lyx-qt and
6108 lyx-xforms can be built (according to --with-frontend). Then lyx
6109 is a symbolic link to lyx-[firstfrontend]
6111 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
6113 * Always use std::endl with lyxerr
6115 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
6117 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6119 2003-08-01 André Pönitz <poenitz@gmx.net>
6122 * BufferView_pimpl.[Ch]:
6124 * text3.C: merge BufferView::repaint() and BufferView::update()
6126 2003-08-01 José Matos <jamatos@lyx.org>
6128 * buffer.[Ch]: file_format is no longer a buffer data element.
6130 2003-08-01 André Pönitz <poenitz@gmx.net>
6135 * text2.C: make redoParagraph more independent of current cursor
6137 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6139 * text2.C: remove unneeded members
6141 2003-07-30 André Pönitz <poenitz@gmx.net>
6143 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6145 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6146 create a single function...
6148 * paragraph_funcs.C (moveItem): ... here.
6151 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6153 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6155 * LColor.[Ch]: Add comment and greyedout logical colors.
6157 2003-07-30 André Pönitz <poenitz@gmx.net>
6159 * tabular.C: don't use Assert too heavily. This crashes where it
6162 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6164 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6165 is disabled (bug 1232)
6167 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6169 * factory.C: limited 'arg' scope
6171 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6173 * factory.C: fixed Note submenu issues
6175 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6177 * factory.C: submenu for Note/Comment/Greyedout
6179 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6182 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6184 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6187 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6188 greyedout. Patch provided by Jürgen Spitzmüller.
6190 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6192 * kbmap.C (read): fix error message when reading bind files
6194 2003-07-29 Angus Leeming <leeming@lyx.org>
6196 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6197 certainly does not do what it purports to do. I am doing it, and
6198 us, a favour by killing it.
6200 2003-07-28 José Matos <jamatos@lyx.org>
6202 * buffer.C (readBody, do_writeFile):
6203 * paragraph.C(readParagraph): \end_document replaces \the_end.
6205 2003-07-29 André Pönitz <poenitz@gmx.net>
6208 * BufferView_pimpl.[Ch]:
6212 * textcursor.[Ch]: remove toggleToggle & Co
6214 2003-07-28 José Matos <jamatos@fep.up.pt>
6216 * buffer.C (readParagraph):
6217 * params_func (readParToken, readParagraph):
6218 * paragraph.C (write): \layout -> \begin_layout.
6220 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6222 * lyxlex_pimpl.C (setFile): clean up slightly.
6224 * bufferparams.h: add compressed var
6226 * buffer_funcs.C (readFile): adjust for LyXLex change
6227 (newFile): ditto + simplify
6229 * buffer.C (writeFile): handle writing of compressed files
6231 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6232 Check if the file is compressed and set a bufferparm if so.
6234 * Makefile.am (lyx_LDADD): remove explicit -lz
6236 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6238 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6239 makeDocBookFile): put the real LyX version in the first line of
6243 * version.C.in: remove lyx_docversion
6245 * tabular.C (write_attribute): add a template-based version to
6246 write enums properly
6248 2003-07-28 André Pönitz <poenitz@gmx.net>
6253 * text3.C: use doubles again for x-coordinates. They are needed.
6255 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6257 * messages.C (getLocaleDir): use lyx_localedir()
6259 * lyxlex_pimpl.C (setFile): compress stuff
6261 * buffer.C (writeFile): add some compression stuff
6262 (do_writeFile): new func, dont call expliti close... will this
6265 * Makefile.am (lyx_LDADD): add -lz
6267 2003-07-28 José Matos <jamatos@fep.up.pt>
6269 * buffer.C: increment file format.
6270 * paragraph_funcs (readParagraph, readParToken):
6271 * paragraph.C (readParagraph): add \end_layout.
6273 2003-07-27 Angus Leeming <leeming@lyx.org>
6275 * Makefile.am: remove special casing for configure-time setting of
6276 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6278 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6279 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6281 2003-07-26 André Pönitz <poenitz@gmx.net>
6283 * paragraph_func.[Ch]:
6284 * paragraph.C (realizeFont): inline it whereever it is used
6289 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6292 2003-07-26 André Pönitz <poenitz@gmx.net>
6296 * text2.C: get rid of LyXText::need_break_row
6298 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6300 * toc.[Ch]: put namespace toc inside namespace lyx
6302 * MenuBackend.C (expandToc2): adjust for lyx::toc
6305 * lyxfunc.C (dispatch): adjust for lyx::find
6307 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6308 lyx::find instead. Reorganize a bit.
6309 (LyXReplace): rename to replace
6310 (LyXFind): rename to find
6312 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6315 2003-07-26 André Pönitz <poenitz@gmx.net>
6317 * text.C (setHeightOfRow): restrict scope of temporary variable
6319 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6320 code (never has been used?)
6322 2003-07-27 Asger Alstrup <alstrup@local>
6324 * text.C (fill): Optimise algorithm to exploit that we can reuse
6325 the LyXFont for many characters.
6326 (setHeightOfRow): Same thing.
6327 (rowBreakPoint): Same thing.
6329 2003-07-26 Asger Alstrup <alstrup@local>
6331 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6333 * text.C (singleWidth): Spurious font copying in hot-spot
6334 singleWidth avoided. Reorder tests for arabic for efficiency.
6336 * text.C (fill): handle empty paragraphs better.
6338 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6341 * encoding.h: add includes
6343 * lyxrc.C: remove reading of bind files
6345 * lyx_main.C (init): setup bindings and menus only if we have a
6348 * kbmap.C (read): new method. Do the actual reading of bind
6351 * converter.C (dvipdfm_options):
6354 (output): adapt PAPER_* enums.
6356 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6358 * bufferparams.h: remove paper-related enums from there
6360 * paper.h: New file. A trivial header file to hold paper-related
6361 enums. It should later expand to contain many paper-related
6364 * lyxrc.C: declare extern displayTranslator
6366 2003-07-27 José Matos <jamatos@fep.up.pt>
6368 * tabular.[Ch] (linuxdoc): add support for tables and figures
6371 2003-07-27 José Matos <jamatos@fep.up.pt>
6373 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6374 consistency in both functions.
6375 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6377 2003-07-26 Asger Alstrup <alstrup@local>
6379 * rowpainter.C (paintRows): Change algorithm to work directly on
6380 the insets rather than asking every character in the document
6381 whether its an inset.
6383 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6385 * buffer.C (openFileWrite): factorize some code
6387 2003-07-26 Angus Leeming <leeming@lyx.org>
6390 * lyx_main.[Ch]: replace occurances of system_tempdir with
6393 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6395 * rename Inset to InsetOld
6397 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6399 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6400 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6401 which I think is a bit clearer. EDIT is gone, since it was
6402 premature optimisation, and broken for mathed anyway.
6403 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6404 with cursor positioning in insets as well (math insets still do not
6405 work, but that's a different story anyway.) It mysteriously
6406 crashes sometimes with undo in the first paragraph, but I'm fairly
6407 confident that this is a compiler bug.
6409 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6411 * paragraph.C (Paragraph): adjust for new clone return type
6413 (copyIntoMinibuffer): ditto
6415 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6417 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6418 by not having a special case, and always doing a full rebreak of
6419 the document after undo.
6421 2003-07-23 Angus Leeming <leeming@lyx.org>
6423 * factory.C (createInset): InsetExternal::setParams now takes a
6426 2003-07-23 Angus Leeming <leeming@lyx.org>
6428 * factory.C (createInset): changed interface to the external and
6429 graphics mailers' string2params functions.
6431 2003-07-23 Angus Leeming <leeming@lyx.org>
6433 * factory.C (createInset): pass a
6434 Buffer const * parameter to InsetExternalMailer's string2params.
6436 2003-07-22 John Levon <levon@movementarian.org>
6438 * Thesaurus.h: include the right aiksaurus header
6440 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6442 * MenuBackend.C (expand): check menu shortcuts unconditionally
6444 2003-07-21 Angus Leeming <leeming@lyx.org>
6446 * factory.C (createInset): pass a
6447 buffer_path parameter to InsetGraphicsMailer's string2params.
6449 2003-07-21 Angus Leeming <leeming@lyx.org>
6451 * BufferView_pimpl.C (buffer):
6454 * lyxfunc.C (dispatch):
6455 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6456 rather than the grfx shortcut.
6458 2003-07-21 André Pönitz <poenitz@gmx.net>
6460 * rowpainter.C: remove unused variables
6463 * tabular_funcs.h: move to tabular.C
6464 * Makefile.am: adjust
6466 * tabular.[Ch]: basic optical cleaning
6468 * author.h: pass references, not values
6470 2003-07-18 André Pönitz <poenitz@gmx.net>
6478 * text3.C: two-phase drawing for InsetText and InsetTabular
6479 some float -> int changes.
6481 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6483 * lyx_main.C: fix the fix
6485 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6487 * lyx_main.C: fix a crash in batch mode if no files specified
6490 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6492 * format.[Ch] (papersize): moved to BufferParams
6493 * converter.[Ch] (dvips_options): moved to BufferParams
6494 (dvipdfm_options): moved to anon namespace
6495 * bufferparams.[Ch]: added above functions.
6497 2003-07-17 André Pönitz <poenitz@gmx.net>
6501 * text2.C: don't call inset->update() anymore
6503 * metricsinfo.[Ch]: add convenience constructor
6505 2003-07-16 André Pönitz <poenitz@gmx.net>
6510 * text2.C: replace the LyXCursor::irow_ member with
6511 on-demand computation of the value
6513 2003-07-16 John Levon <levon@movementarian.org>
6515 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6517 2003-07-15 André Pönitz <poenitz@gmx.net>
6520 * text2.C: remove no more needed refresh_row
6522 2003-07-15 André Pönitz <poenitz@gmx.net>
6527 * text3.C: refresh_status tristate -> need_update bool
6529 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6531 * lyxtext.h (init): remove reinit argument (act as if always true)
6532 * text2.C: adjust to that
6534 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6536 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6537 * text3.C: use it to delete selections in some cases
6538 (bugs 441, 673, 702, 954).
6540 2003-07-14 André Pönitz <poenitz@gmx.net>
6542 * rowpainter.[Ch]: reduce interface
6544 2003-07-14 André Pönitz <poenitz@gmx.net>
6546 * BufferView_pimpl.C:
6547 * text2.C: adjust after removing unused BufferView * argument
6549 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6551 * text2.C (init): fix a crash fired on resize
6553 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6555 * buffer.[Ch]: added new closing signal
6556 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6557 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6558 BufferView::Pimpl via the closing the signal
6560 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6562 * buffer.[Ch]: take out all bv-related from buffer
6564 * BufferView_pimpl.[Ch]: connect to new signals
6565 * CutAndPaste.C: removed useless asserts
6566 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6569 * lyxfunc.C: moved view-related funciontality from vc here
6570 * paragraph.C: removed outdated comments
6573 2003-07-10 André Pönitz <poenitz@gmx.net>
6575 * BufferView_pimpl.C:
6579 * text2.C: remove InsetText::InnerCache, clean up consequences
6581 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6583 * ispell.C: fix two typos in error messages
6585 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6587 * Extend Note inset to other forms of annotation like Comment
6588 and Greyedout. Right button click gives dialog.
6590 Files modified or added (+):
6594 * ControlNote.[Ch] +
6596 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6597 frontends/controllers
6601 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6603 * aspell.C: add missing namespace lyx::support
6605 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6607 * BufferView.[Ch] (newFile): Add
6608 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6609 * LaTeX.[Ch] (message): added this signal and use it
6610 * buffer.[Ch] (busy, message): added these signals and use them
6611 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6615 * importer.C: use buffer signals instead of direct bv calling
6616 * lyx_cb.[Ch] (ShowMessage): removed
6619 * paragraph_funcs.C:
6620 * text2.C: use buffer signals
6622 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6624 * introduce namespace lyx::graphics
6626 2003-07-02 André Pönitz <poenitz@gmx.net>
6628 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6630 2003-07-01 André Pönitz <poenitz@gmx.net>
6637 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6638 text*.C to text_func.C
6640 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6642 * introduce namespace lyx::support
6644 2003-06-30 André Pönitz <poenitz@gmx.net>
6649 * text.C: re-enable --with-included-string
6651 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6653 * textcursor.C: add <config.h>
6655 * text.C (getWord): remove const from word_location arg
6657 * lyxvc.C (getLogFile): fix const type order
6659 * lyxtext.h: remove const from word_location arg, add arg name
6661 * lyxlayout.h: currect type on labeltype.
6663 * importer.C: correct \file
6665 * converter.C (intToFormat): use std:: on ret val, ws changes
6667 * bufferlist.h: correct \file
6669 * buffer.C (makeLinuxDocFile): fix const type order
6670 (makeDocBookFile): ditto
6671 (fillWithBibKeys): use std:: on stdlib args.
6673 * CutAndPaste.C: fix authors.
6674 (availableSelections): use std:: on return vector
6676 2003-06-27 André Pönitz <poenitz@gmx.net>
6678 * BufferView_pimpl.C:
6679 * bufferview_funcs.C:
6687 * text3.C: remove LyXCursor::row_ member
6690 * text.C: rename fullRebreak() to partialRebreak() and implement
6691 a fullRebreak() that really bereks fully
6693 * textcursor.h: new struct for cursor-related data
6695 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6697 * lyx_main.C (LyX): get full path of document loaded on the
6700 2003-06-26 André Pönitz <poenitz@gmx.net>
6702 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6703 remove unused/broken operator>,<,>=.
6705 * text.C: remove only use of broken operator<= in an Assert().
6707 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6709 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6710 moved errorlist_.clear to showErrorList
6712 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6714 * converter.C (scanLog, runLaTeX):
6715 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6716 move the bv->showErrorList call to the callers
6717 * lyxfunc.C: i.e. here...
6719 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6720 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6721 namespace, the second to...
6722 * buffer_funcs (BufferFormat, parseErrors): added
6723 * errorlist.C (ErrorList(TeXErrors const &)): removed
6725 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6727 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6729 2003-06-24 "Garst R. Reese" <reese@isn.net>
6733 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6735 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6737 * version.C.in: change docversion to 1.4
6739 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6741 * buffer.C: fix a bug just introduced
6743 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6745 * buffer.[Ch]: added the parseError signal and use it, removed
6747 * BufferView.[Ch] (addError): moved to ...
6748 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6749 to the Buffer::parseError signal to catch (guess what) parse errors
6750 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6752 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6754 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6755 ability to create a buffer and to return an existing one from
6756 the list. Moved these functions to...
6757 * buffer_funcs.[Ch]: added
6758 * BufferView.[Ch] (loadLyXFile): added
6759 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6760 job removed from bufferlist::loadLyXFile.
6761 * buffer.C (setReadOnly): make it work without view
6762 (i.e added an if (users))
6764 2003-06-19 Angus Leeming <leeming@lyx.org>
6767 * LyXAction.C (init):
6768 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6769 with LFUN_DIALOG_SHOW <name> <data>.
6771 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6773 * CutAndPaste.C (availableSelections): small compilation fix for
6774 ancient (gcc 2.9x) compilers
6776 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6778 * text3.C (cursorNext): add tmp var
6780 * text2.C (updateCounters): for function calling out of for clause
6781 (replaceSelectionWithString): ditto
6782 (insertStringAsParagraphs): ditto
6783 (getColumnNearX): add tmp var
6784 (setCursorFromCoordinates): add tmp var
6785 (cursorDownParagraph): add tmp var
6786 (deleteEmptyParagraphMechanism): add tmp var
6788 * text.C (insertChar): add tmp var
6790 * rowpainter.C (paintDepthBar): add tmp var
6792 * CutAndPaste.C (availableSelections): potentially check all
6793 paragraphs in a cut to fill the shown strings.
6795 2003-06-18 André Pönitz <poenitz@gmx.net>
6797 * kbmap.[Ch]: use vector<> instead of list<>
6799 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6801 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6802 pasteSelection with index
6804 * text2.C (pasteSelection): modify, call pasteSelection with index
6806 * paragraph.C (asString): reimplement version with no interval to
6807 call the one with interval.
6809 * lyxtext.h: add index arg to pasteSelection
6811 * MenuBackend.C (MenuItem): handle PasteRecent
6812 (Menu::read::Menutags): add md_pasterecent
6814 (expandPasteRecent): new function
6817 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6819 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6821 (availableSelections): new function
6823 2003-06-17 Angus Leeming <leeming@lyx.org>
6825 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6827 2003-06-17 Angus Leeming <leeming@lyx.org>
6830 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6832 * lyxfunc.C (dispatch): invoke it.
6834 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6836 * iterators.C (operator++, ParPosition): reintroduce some
6837 const_cast for the benefit of older compilers.
6839 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6841 * text3.C (dispatch): do not modify clipboard when doing
6842 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6843 LFUN_DELETE_SKIP on a selection selection
6845 2003-06-16 André Pönitz <poenitz@gmx.net>
6851 * tabular.[Ch]: IU of clone() and getLabelList();
6853 2003-06-13 André Pönitz <poenitz@gmx.net>
6855 * tabular.h: compactification
6857 2003-06-12 André Pönitz <poenitz@gmx.net>
6861 * tabular_funcs.h: some renaming plus whitespace
6863 2003-06-12 André Pönitz <poenitz@gmx.net>
6866 * BufferView_pimpl.C:
6872 * toc.C: Return a Paragraph & for ParIterator::operator*()
6874 2003-06-11 John Levon <levon@movementarian.org>
6878 * ToolbarBackend.C: add "Toolbars" section and
6881 2003-06-10 Angus Leeming <leeming@lyx.org>
6884 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6886 * lyxfunc.C (dispatch): invoke it.
6888 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6890 * main.C: protect <ios> with HAVE_IOS
6891 (main): protect sync_with_stdio with HAVE_IOS
6893 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6895 * text2.C (cutSelection): adjust
6896 (pasteSelection): adjust
6898 * messages.C: handle get of empty string
6900 * main.C (main): use sync_with_stdio(false)
6902 * lyxfunc.C (dispatch): adjust
6904 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6905 (WriteAs): remove unneeded BufferView arg.
6907 * bufferparams.h: use correct types on papersize, papersize2 and
6910 * bufferparams.C (readToken): adjust for type
6911 (writeLaTeX): add missing cases to switch.
6913 * bufferlist.C (quitWriteBuffer): adjust
6916 * buffer.C (asciiParagraph): remove some commented code.
6918 * CutAndPaste.C: remove current_view extern variable.
6919 (cutSelection): add BufferParams arg.
6920 (eraseSelection): add BufferParams arg.
6921 (pasteSelection): add Buffer const & arg
6923 2003-06-07 John Levon <levon@movementarian.org>
6926 * paragraph_funcs.C:
6927 * paragraph_pimpl.C:
6931 * paragraph.C: allow InsetERT to freely space lines,
6932 and some consolidation of code
6934 2003-06-06 José Matos <jamatos@fep.up.pt>
6936 * buffer.C (makeDocBookFile): fix bug #821
6938 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6940 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6942 2003-06-04 Angus Leeming <leeming@lyx.org>
6944 * buffer.C: bump format to 224.
6946 2003-06-05 André Pönitz <poenitz@gmx.net>
6948 * text2.C (redoParagraphs): remove two const_cast<>
6950 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6952 * ParagraphList.h: remove last remnants of NO_STD_LIST
6954 2003-06-03 Angus Leeming <leeming@lyx.org>
6956 * factory.C (createInset): small change to the way InsetExternal's params
6959 2003-06-04 André Pönitz <poenitz@gmx.net>
6961 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6963 * paragraph_pimpl.h:
6964 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6966 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6968 * undo_funcs.C: make some simple cases of undo work again
6970 2003-06-03 John Levon <levon@movementarian.org>
6972 * ispell.C: HPUX doesn't have sys/select.h
6975 2003-06-03 John Levon <levon@movementarian.org>
6977 * CutAndPaste.C: update tabular and include inset
6982 * paragraph.C: remove owningBuffer(), don't pass Buffer
6985 * factory.C: insetGraphicsParams changed
6987 2003-06-02 John Levon <levon@movementarian.org>
6993 * text3.C: remove insetparent
6995 2003-06-02 John Levon <levon@movementarian.org>
6998 * buffer.C: fix inset_iterator.end(), move out of line
7001 2003-06-01 John Levon <levon@movementarian.org>
7003 * text3.C: use a proper cut/paste when doing inset
7004 insert (from Jürgen Spitzmüller)
7006 2003-06-01 John Levon <levon@movementarian.org>
7008 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7010 2003-05-30 André Pönitz <poenitz@gmx.net>
7012 * rowpainter.C: unify second drawing phase
7014 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7016 * trans_mgr.C: remove one case of current_view
7018 * text2.C (cursorBottom): delete NO_STD_LIST stuff
7020 * paragraph_funcs.h: remove paragraph.h include
7022 * paragraph.h: delete NO_STD_LIST stuff
7024 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7026 * buffer.h: remove paragraph.h include
7028 * ParagraphList.C: delete file
7030 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7032 * toc.C (getTocList): adjust
7034 * paragraph_pimpl.C (validate): adjust
7036 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7038 * paragraph.C (Paragraph): adjust
7039 (getPositionOfInset): use const_iterator, adjust
7040 (bibitem): use const_iterator, adjust
7041 (setInsetOwner): adjust
7043 * iterators.C (operator++): adjust
7045 * InsetList.[Ch]: Replace selfmade iterator with standard
7046 vector::iterator also introduce const_iterator. Remove getPos,
7047 getInset and setInset from InsetTable. Adjust accordingly.
7049 * BufferView.C (lockInset): adjust
7050 (ChangeInsets): adjust
7052 * tabular.[Ch]: delete commented same_id functions
7054 2003-05-28 John Levon <levon@movementarian.org>
7056 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7058 2003-05-28 André Pönitz <poenitz@gmx.net>
7060 * metricsinfo.[Ch]: remove 'fullredraw' member
7062 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
7064 * lyxtextclass.C (operator): remove caching.
7066 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7070 * text2.C (cursorBottom): adjust
7071 (setCounter): use ParagraphList::find, adjust
7073 * text.C (workWidth): use ParagraphList::find, adjust
7075 * lyxcursor.C (LyXCursor): adjust
7077 * buffer.C (inset_iterator): adjust
7079 * ParagraphList.h: make iterator(value_type) private, make
7080 ParagraphList a friend of iterator.
7082 * ParagraphList.C (find): new function
7084 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7086 2003-05-27 André Pönitz <poenitz@gmx.net>
7088 * dimension.[Ch]: a -> asc, d -> des, w -> wid
7090 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7092 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7094 2003-05-26 John Levon <levon@movementarian.org>
7096 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7098 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7100 * remove same_id from function signatures, adjust.
7102 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7104 * undo_funcs.C (createUndo): use the id functions directly, adjust.
7106 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7108 * paragraph.C (Paragraph): get rid of same_ids parameter
7110 * ParagraphList.C (insert): adjust
7113 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7115 * paragraph_funcs.C (breakParagraph): adjust
7116 (breakParagraphConservative): adjust
7118 * buffer.C (readParagraph): adjust
7120 * ParagraphList.C (insert): take a reference instead of a pointer
7123 * paragraph.[Ch] (id): new function
7125 * bufferlist.C (newFile): adjust
7127 * ParagraphList.C (ParagraphList): adjust
7129 (push_back): take a reference instead of a pointer.
7131 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7133 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7136 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7137 set else use old code.
7139 * ParagraphList.C: remove all NO_NEXT code and only compile this
7140 code of NO_STD_LIST is set.
7142 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7144 * BufferView_pimpl.C:
7154 * graphics/GraphicsConverter.C:
7155 * graphics/PreviewLoader.C: header adjustment
7157 2003-05-23 Angus Leeming <leeming@lyx.org>
7159 * LaTeXFeatures.[Ch] (useBabel): new method.
7160 * bufferparams.C (writeLaTeX): use it.
7162 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7164 * ParagraphList.h (set): remove unused function.
7166 2003-05-23 André Pönitz <poenitz@gmx.net>
7169 * BufferView_pimpl.C:
7173 * undo_funcs.C: setUndo reworked
7175 * iterators.[Ch]: add access to topmost ParagraphList
7177 * lyxtext.[Ch] (workWidth): add a const
7179 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7181 * texrow.[Ch] (increasePos): remove function
7182 * exporter.C (export): removed unused var and outdated comment
7184 2003-05-23 Angus Leeming <leeming@lyx.org>
7186 * latexrunparams.h: rename fragile as moving_arg.
7187 * paragraph.C (simpleTeXOnePar): ditto.
7188 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7190 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7192 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7194 (textUndoOrRedo): comment out a currently unused var.
7196 * paragraph.h (NO_NEXT): enable NO_NEXT
7198 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7200 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7202 * exporter.C (Export): adjust for removeAutoInsets removal.
7204 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7206 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7208 * BufferView.[Ch] (removeAutoInsets): delete function
7210 2003-05-22 Angus Leeming <leeming@lyx.org>
7212 * latexrunparams.h: add a free_spacing variable.
7214 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7215 to pass moving_arg, as the data is stored in runparams.fragile.
7217 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7218 to Inset::latexOptional or to simpleTeXOnePar.
7220 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7221 free_spacing arg to Inset::latexOptional.
7223 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7226 2003-05-22 Angus Leeming <leeming@lyx.org>
7228 * latexrunparams.h: add fragile and use_babel variables.
7230 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7231 * buffer.C (makeLaTeXFile): store this returned value in
7232 runparams.use_babel, thus passing it to the inset::latex methods.
7234 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7235 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7237 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7238 longer has a fragile arg, as it is stored in runparams.fragile.
7240 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7241 moving_arg parameter as the data is stored in runparams.fragile.
7243 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7244 a fragile parameter as the data is stored in runparams.fragile.
7246 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7248 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7250 2003-05-22 Angus Leeming <leeming@lyx.org>
7252 * latexrunparams.h: add a 'bool nice' which defaults to false.
7254 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7255 now encapsulated within runparams.
7257 * bufferlist.C (updateIncludedTeXfiles):
7258 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7260 2003-05-22 Angus Leeming <leeming@lyx.org>
7262 * latexrunparams.h: new file containing struct LatexRunParams.
7263 * Makefile.am: add new file.
7265 * LaTeX.[Ch] (c-tor, run):
7266 * buffer.[Ch] (makeLaTeXFile):
7267 * bufferlist.[Ch] (updateIncludedTeXfiles):
7268 * converter.C (convert, scanLog):
7269 * converter.[Ch] (runLaTeX):
7270 * exporter.C (Export):
7271 * paragraph.[Ch] (simpleTeXOnePar):
7272 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7273 * paragraph_funcs.[Ch] (latexParagraphs):
7274 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7275 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7276 pass around a LatexRunParams parameter.
7278 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7280 * paragraph.[Ch]: remove unused constructor
7282 * ParagraphList.C (erase): new function, taking two iterators
7284 2003-05-22 André Pönitz <poenitz@gmx.net>
7286 * undo_funcs.C: remove duplicated code
7288 * iterator.[Ch]: operator=
7290 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7292 * tabular.C (SetMultiColumn): ws changes
7294 * rowpainter.C (paintFirst): get rid of a ->previous
7296 * lyx_cb.C (getPossibleLabel): parlist simplification
7298 * BufferView.C (ChangeInsets): simplify slightly.
7300 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7302 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7303 * lfuns.h: new LFUN_SPACE
7304 * lyxfunc.C: protected space has a new lfun
7305 * paragraph_funcs.C: read new space insets
7307 * factory.C: handle new space insets
7309 2003-05-22 André Pönitz <poenitz@gmx.net>
7312 * BufferView_pimpl.C:
7315 * undo_funcs.C: return a ParIterator from getParFromID.
7317 * iterators.[Ch]: add two const's
7319 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7321 * toc.C (getTocList): adjust
7323 * iterators.[Ch]: rework for parlist
7325 * buffer.C (par_iterator_begin): adjust
7326 (par_iterator_end): adjust
7328 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7330 * BufferView.C (removeAutoInsets): adjust
7331 (ChangeInsets): adjust
7333 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7335 * text.C (top_y): fix bug 1110
7337 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7339 * errorlist.[Ch]: added
7342 * BufferView_pimpl.C:
7343 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7346 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7348 * Makefile.am: ensure that lyx is relinked upon changes to the
7349 various "convenience" libs.
7351 2003-05-20 Angus Leeming <leeming@lyx.org>
7353 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7354 files are compiled in alphabetical order again.
7356 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7358 2003-05-19 Angus Leeming <leeming@lyx.org>
7360 * gettext.[Ch]: remove "char const * _(char const *)".
7362 2003-05-19 André Pönitz <poenitz@gmx.net>
7364 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7373 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7375 2003-05-19 André Pönitz <poenitz@gmx.net>
7379 * lyxtextclass.[Ch]:
7381 * paragraph_funcs.[Ch]:
7383 * text3.C: more insetenv work
7385 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7387 * ParagraphParameters.C (params2string): small bug fixed
7389 2003-05-16 André Pönitz <poenitz@gmx.net>
7392 * bufferview_funcs.C: patch from Kornel Benko to prevent
7393 crash when _(...) is called twice in a statement
7395 2003-05-16 André Pönitz <poenitz@gmx.net>
7402 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7404 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7406 * lyx_main.C (init): remove spurious static_cast
7408 2003-05-14 André Pönitz <poenitz@gmx.net>
7410 * BufferView.C: fix format string
7412 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7414 * BufferView.[Ch] (insertErrors): removed
7415 * BufferView.[Ch] (showErrorList): added
7416 * buffer.C (runChkTeX):
7417 * converter.C (scanLog): call showErrorList instead of inserterrors
7419 2003-05-13 André Pönitz <poenitz@gmx.net>
7421 * BufferView_pimpl.C:
7423 * bufferview_func.C:
7430 * tabular_funcs.h: tostr() from its own header
7432 * ParagraphParameters.C:
7437 * text3.C: STRCONV()
7439 2003-05-12 André Pönitz <poenitz@gmx.net>
7442 * BufferView_pimpl.C:
7446 * ParagraphParameters.C:
7450 * bufferview_funcs.C:
7463 * paragraph_funcs.C:
7467 * text3.C: boost::format -> bformat all over the place
7470 2003-05-09 André Pönitz <poenitz@gmx.net>
7472 * LColor.[Ch]: Pimpl the #include <map> away
7474 2003-05-09 John Levon <levon@movementarian.org>
7476 * bufferlist.C: never remove emergency saves
7478 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7480 * Makefile.am: better lib building
7482 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7484 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7486 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7487 (simpleTeXSpecialChars): adjust
7488 (simpleTeXSpecialChars): adjust
7489 * paragraph.C (simpleTeXOnePar): adjust
7490 * buffer.C (makeLaTeXFile): adjust
7492 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7494 * text2.C (changeDepth): parlist cleanup
7495 (getColumnNearX): ditto
7497 * rowpainter.C (getLabelFont): parlist cleanup
7499 * bufferlist.C (newFile): parlist cleanup
7501 * CutAndPaste.C (eraseSelection): parlist cleanup
7503 * BufferView_pimpl.C (trackChanges): parlist cleanup
7506 * BufferView.C (lockInset): parlist cleanup.
7507 (ChangeInsets): ditto
7509 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7511 * CutAndPaste.h: Update file header.
7513 * CutAndPaste.C: Update file header.
7514 Store the parts cut out of the Document in a limited_stack.
7515 (copySelection): adjust
7516 (pasteSelection): new function, takes the index in the limited stack.
7517 (nrOfParagraphs): adjust
7518 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7519 simplify error inset insertion.
7520 (checkPastePossible): adjust
7522 2003-05-06 John Levon <levon@movementarian.org>
7524 * text2.C: don't cast wrap inset to float
7526 2003-05-05 André Pönitz <poenitz@gmx.net>
7529 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7531 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7532 few naked Paragraph *.
7534 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7536 * bufferparams.C: Output warning if a document with missing
7537 TeX document class is loaded
7538 * exporter.C: Disable TeX exports if the document class is missing
7541 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7542 isTeXClassAvailable()
7544 2003-05-03 John Levon <levon@movementarian.org>
7547 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7548 explicit cursor show/hide
7550 * BufferView_pimpl.h:
7551 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7552 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7554 * lyxfunc.C: hide cursor before dispatching.
7559 * text3.C: remove explicit cursor hides
7561 2003-05-02 André Pönitz <poenitz@gmx.net>
7563 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7566 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7569 * text2.C: tiny whitespace
7571 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7573 * undo_funcs.C: almost only ws changes.
7575 * ParagraphList.C (splice): just return if pl is empty.
7577 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7579 * ParagraphList.C (splice): new function.
7581 * CutAndPaste.C (pasteSelection): use it
7583 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7585 * CutAndPaste.C (pasteSelection): remove the last next and
7586 previous from this file.
7588 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7590 * CutAndPaste.C (pasteSelection): more clean up, user proper
7591 ParagraphList functions for pasteing.
7593 * ParagraphList.C (insert): new function, three arg insert
7595 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7597 * ParagraphList.C (insert): new function, three arg insert
7599 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7602 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7604 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7606 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7608 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7610 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7612 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7613 (copySelection): clean up a bit.
7614 (pasteSelection): use make_pair
7616 * ParagraphList.C (ParagraphList): implement copy constructor
7617 (operator=): implement, base on copy constructor.
7620 * paragraph.C (erase): return a bool
7622 * paragraph_pimpl.C (erasePos): remove function, move contents...
7623 (erase): ... here. Return a bool.
7624 (erase): call erase instead of erasePos.
7626 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7628 * ParagraphList.h: define PitPosPair
7629 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7630 ParagraphList, fix a bug on pasting multiple pars
7631 * text2.C: change interface to C&P
7633 2003-04-30 André Pönitz <poenitz@gmx.net>
7635 * undo_func.C: revert part of yesterday's patch 2
7637 2003-04-30 John Levon <levon@movementarian.org>
7639 * LColor.C: s/tabular/table/
7641 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7643 * text3.C (dispatch): do not convert iterator -> pointer
7644 * undo_funcs.C (setCursorParUndo): ditto
7645 * text_funcs.C (transposeChars): ditto
7647 * text2.C (setLayout): ws changes only
7649 * text.C (breakParagraph): do not convert iterator -> pointer
7651 (acceptChange): ditto
7652 (rejectChange): ditto
7657 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7660 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7662 * text3.C (gotoInset): YABG (yet another bad getChar)
7664 2003-04-29 André Pönitz <poenitz@gmx.net>
7666 * paragraph.h: make operator= private unimplemented as long as
7669 * ParagraphList.C: whitespace
7672 * paragraph_pimpl.[Ch]:
7673 * paragraph_funcs.C:
7675 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7678 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7680 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7682 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7683 * paragraph.[Ch] (erase):
7684 * paragraph_pimpl.[Ch] (erase): change return type and value
7685 * text2.C (cutSelection): some rework
7687 2003-04-28 John Levon <levon@movementarian.org>
7689 * bufferlist.C: changes for unsaved changes dialog
7691 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7693 * bufferlist.C (newFile): set language (messages_) for new
7696 * buffer.C (readFile): ws changes only.
7698 2003-04-28 André Pönitz <poenitz@gmx.net>
7703 * BufferView_pimpl.C:
7704 * BufferView.C: getParFromID related ParagraphList::iterator changes
7706 2003-04-28 André Pönitz <poenitz@gmx.net>
7708 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7711 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7713 * messages.C: remove one more localedir class variable.
7715 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7717 * messages.C (getLocaleDir): singleton generation function
7719 (Messages): add a default constructor.
7721 * main.C (main): do not setup localedir here, do not call
7724 * gettext.C (_): use it.
7725 (gettext_init): delete funciton
7727 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7729 * gettext.C (getLyXMessages): new singleton generating function.
7731 * buffer.C (updateDocLang): adjust
7733 * Makefile.am (messages.o): add target
7734 (main.o): remove target
7736 2003-04-27 John Levon <levon@movementarian.org>
7741 * lyxvc.C: specify cancel button in Alert::prompt
7743 2003-04-26 John Levon <levon@movementarian.org>
7748 * LyXAction.C: add LFUN_INSET_SETTINGS
7750 * lyxfunc.C: don't enable tabular-feature when there's
7751 just any locking inset
7753 2003-04-26 John Levon <levon@movementarian.org>
7755 * bufferlist.C: re-add Cancel to buffer close question
7757 * lyxfunc.C: fix import UI a bit
7759 2003-04-25 John Levon <levon@movementarian.org>
7761 * gettext.C: remove the broken asserts for now
7763 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7765 * messages.C: make case where setlocale cannot comply work better.
7767 * buffer.C (updateDocLang): new function
7768 (changeLanguage): use it
7771 * text2.C (setCounter): use B_ a bit.
7773 * lyxlayout.C (Read): be sure to trim the label strings.
7775 * messages.C (Messages): fix typo in comment
7777 * buffer.C (readFile): set message_ after file is loaded.
7778 (makeDocBookFile): remove double return
7779 (changeLanguage): reset message_ upon language change.
7780 (B_): new func, use this to get translated buffer strings.
7782 * main.C: add myself and Jean Marc as authors.
7784 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7786 * messages.[hC]: pimplify Messages, and three different pimpls to be
7787 used in different circumstances.
7789 * gettext.[Ch]: change for use with new message code.
7791 2003-04-24 André Pönitz <poenitz@gmx.net>
7793 * factory.C: support for eqref
7795 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7797 * messages.[Ch]: add missing char
7799 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7801 * messages.[Ch]: New files
7803 2003-04-18 John Levon <levon@movementarian.org>
7807 * BufferView_pimpl.C:
7811 * text2.C: remove layout-copy/paste (bug 778)
7813 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7815 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7817 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7819 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7820 if they succeed. Act accordingly.
7822 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7824 * text2.C (setCharFont): adjust
7825 (setCounter): adjust
7826 (insertStringAsLines): adjust
7828 * text.C (leftMargin): adjust
7829 (setHeightOfRow): adjust
7831 * rowpainter.C (paintFirst): adjust
7834 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7836 (isFirstInSequence): ditto
7837 (getEndLabel): ditto
7840 * paragraph.C (getParLanguage): comment out some hard stuff.
7842 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7844 (simpleDocBookOnePar): ditto
7845 (makeDocBookFile): use ParagraphList::iterator
7847 * CutAndPaste.C (pasteSelection): adjust
7849 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7851 * text2.C (getFont): adjust
7852 (getLayoutFont): adjust
7853 (getLabelFont): adjust
7855 * paragraph_funcs.C (TeXOnePar): adjust
7857 * buffer.C (simpleLinuxDocOnePar): adjust
7858 (simpleDocBookOnePar): adjust
7860 * CutAndPaste.C (pasteSelection): adjust
7862 * BufferView.C (getEncoding): adjust
7864 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7866 2003-04-16 John Levon <levon@movementarian.org>
7868 * lyxfind.C: use parlist stuff for search/changes
7870 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7872 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7874 * text2.C (deleteEmptyParagraphMechanism): adjust
7876 * text2.[Ch] (ownerParagraph): delete func (both of them
7878 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7880 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7882 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7884 * ParagraphList.C: prepare for NO_NEXT
7886 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7888 * text2.C (getFont): adjust
7889 (getLayoutFont): adjust
7890 (getLabelFont): adjust
7892 * paragraph.C (getFont): adjust
7893 (getLabelFont): adjust
7894 (getLayoutFont): adjust
7896 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7898 2003-04-15 John Levon <levon@movementarian.org>
7902 * lyx_main.C: handle Include in .ui files
7904 2003-04-15 John Levon <levon@movementarian.org>
7906 * MenuBackend.C: make the doc files length shorter
7909 * ToolbarBackend.C: handle toolbar placement flags,
7912 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7914 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7917 * paragraph_funcs.C (TeXOnePar): adjust
7919 * paragraph.C (getLabelFont): add outerfont arg, adjust
7920 (getLayoutFont): ditto
7921 (simpleTeXOnePar): adjust
7923 * paragraph_pimpl.C (realizeFont): delete func
7925 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7927 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7928 row argument, constify cur argument.
7930 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7932 * text2.C (getFont): adjust
7933 (getLayoutFont): adjust
7934 (getLabelFont): adjust
7936 * paragraph_funcs.C (TeXOnePar): adjust
7937 (outerFont): new func...
7938 (realizeFont): ...moved out from here, changed this to facilitate
7941 * paragraph.C (getFont): take outerfont as arg, adjust
7942 (simpleTeXOnePar): add outerfont arg, adjust
7944 * buffer.C (simpleLinuxDocOnePar): adjust
7945 (simpleDocBookOnePar): adjust
7947 * CutAndPaste.C (pasteSelection): adjust
7949 * BufferView.C (getEncoding): adjust
7951 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7953 * text2.C (setCharFont): adjust
7954 (setCounter): adjust
7956 * text.C (leftMargin): adjust
7957 (setHeightOfRow): adjust
7959 * rowpainter.C (paintFirst): adjust
7962 * paragraph_pimpl.C (realizeFont): adjust
7964 * paragraph.C (isFirstInSequence): move from here...
7965 * paragraph_funcs.C (isFirstInSequence): ...to here
7967 * paragraph.C (outerHook): move from here...
7968 * paragraph_funcs.C (outerHook): ...to here
7970 * paragraph.C (depthHook): move from here...
7971 * paragraph_funcs.C (depthHook): ...to here
7973 * paragraph.C (getEndLabel): move from here...
7974 * paragraph_funcs.C (getEndLabel): ...to here
7976 * text2.C (realizeFont): move from here...
7977 * paragraph_funcs.C (realizeFont): ...to here
7979 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7981 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7983 2003-04-14 Angus Leeming <leeming@lyx.org>
7985 * LColor.[Ch]: scrap LColor mathcursor.
7987 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7989 * lyxlex.[Ch] (text): delete function
7990 * trans.C (Load): adjust
7991 * paragraph_funcs.C (readParToken): adjust
7993 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7995 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7996 vector<char> instead of a char[].
7998 * lyxlex_pimpl.C (getString): adjust
8000 (lex): use getString
8004 * lyxlex.C (text): use pimpl_->getString()
8008 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
8010 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8011 (makeFontEntriesLayoutSpecific): temp var for par.size()
8012 (setLayout): temp var for ownerParagraphs().end()
8013 (fullRebreak): temp var for rows().end()
8014 (selectionAsString): temp var for boost::next(startpit), realize
8015 that the while really is a regular for loop.
8016 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8017 setCursor in one place.
8018 (setParagraph): temp vr for ownerParagraphs().end()
8019 (updateCounters): make the while loop a for loop
8020 (cutSelection): temp var for ownerParagraphs().end()
8021 (updateInset): make the do {} while() a regular for loop
8022 (getCursorX): use temp vars
8023 (setCurrentFont): use temp vars
8024 (getColumnNearX): use temp vars
8026 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8028 * text.C (transformChar): use temp var for getChar
8029 (computeBidiTables): use temp var for row->par()
8030 (fill): move temp vars for row->par() and pit->layout() earlier in
8032 (labelFill): use temp var for row->par()
8033 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8034 asc and desc, realize that pit never changes and that firstpit is
8035 just a duplicate and not needed. Exchange rit->par() with pit in a
8037 (breakAgain): use a temp var for boost::next(rit)
8038 (breakAgainOneRow): ditto
8039 (breakParagraph): use a temp var for rows().begin()
8040 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8041 (cursorRightOneWord): use temp var for cursor.par() and
8042 cursor.pos(), remove usage of tmpcursor.
8043 (cursorLeftOneWord): use temp var for cursor.par() and
8044 cursor.pos() only set cur at end of function.
8046 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8048 * text.C, text2.C: exchange all usage of Paragraph::next with
8049 boost::next(ParagraphList::iterator)
8051 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8053 * text2.C (cursorTop): simplify implementation
8054 (cursorBottom): ditto
8055 (setParagraph): use ParagraphList::iterator
8056 (setCurrentFont): adjust
8057 (getColumnNearX): adjust
8058 (cursorRight): adjust
8059 (cursorLeft): remove usage of Paragraph::previous
8060 (cursorUpParagraph): ditto
8061 (deleteEmptyParagraphMechanism): slight cleanup
8063 * text.C (isBoundary): take a Paragraph const & instead of a
8065 (addressBreakPoint): ditto
8066 (leftMargin): remove usage of Paragraph::previous.
8067 (setHeightOfRow): ditto
8068 (cursorLeftOneWord): ditto
8069 (selectNextWordToSpellcheck): ditto
8072 (breakParagraph): remove one usage of Paragraph::next
8073 (redoParagraph): ditto
8074 (acceptChange): ditto
8075 (insertChar): adjust
8076 (rowBreakPoint): adjust
8078 * bufferview_funcs.C (toggleAndShow): adjust
8080 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
8082 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8083 methods to access it.
8085 * text.C: Added updateRowPositions to compute all row positions.
8086 Make top_y and getRowNearY() to use the cached y position
8088 2003-04-11 John Levon <levon@movementarian.org>
8090 * text.C (rowBreakPoint): reintroduce the labelEnd
8091 checks, code copied from the row fill stuff. Deep voodoo.
8093 * text.C (fill): add a comment and debugging for the
8096 2003-04-11 John Levon <levon@movementarian.org>
8098 * text.C: make sure fullrow insets get wrapped to the next line,
8099 even when they're in a manual label
8101 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
8103 * text2.C (insertParagraph): make it take ParagraphList::iterator
8105 (setLayout): make it return ParagraphList::iterator
8106 (redoParagraphs): ditto
8108 (checkParagraph): ditto
8110 * text.C (getRow): make getrow take ParagraphList::iterator as arg
8112 * text2.C: adjust several funcs.
8113 (realizeFont): take a ParagraphList::iterator as arg.
8114 (getLayoutFont): ditto
8115 (getLabelFont): ditto
8116 (setCharFont): ditto
8118 * text.C: adjust several funcs.
8120 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8122 * text.C (selectNextWordToSpellcheck): don't accidentally
8125 2003-04-10 John Levon <levon@movementarian.org>
8127 * ToolbarBackend.C (getIcon): special handling for
8130 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8132 * text2.C (cursorRight): a getChar assert fixed
8134 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8136 * text2.C (getFont): change to take a ParagraphList::iterator
8137 instead of Paragraph*
8138 Adjust several functions.
8140 * text.C (transformChar): change to take a ParagraphList::iterator
8141 instead of Paragraph*
8142 (singleWidth): ditto
8143 Adjust several functions.
8145 * rowpainter.C: adjust several functions
8146 * rowpainter.h:store a ParagraphList::iterator and not a
8150 2003-04-09 John Levon <levon@movementarian.org>
8155 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8156 and the "help" bits as well
8158 2003-04-09 John Levon <levon@movementarian.org>
8161 * ToolbarBackend.C: allow multiple toolbars
8163 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8165 * undo_funcs.C (setCursorParUndo): adjust
8167 * text_funcs.C (transposeChars): adjust
8169 * text3.C (gotoNextInset): adjust
8172 * text2.C (setLayout): adjust
8173 (changeDepth): adjust
8175 (redoParagraphs): adjust
8176 (selectionAsString): adjust
8177 (setParagraph): adjust
8178 (insertInset): adjust
8179 (cutSelection): adjust
8180 (copySelection): adjust
8181 (pasteSelection): adjust
8182 (insertStringAsLines): adjust
8183 (updateInset): adjust
8184 (setCursor): change to take a ParagraphList::iterator parameter
8185 (setCursorIntern): change to take a ParagraphList::iterator parameter
8186 (setCurrentFont): adjust
8187 (cursorLeft): adjust
8188 (cursorRight): adjust
8189 (deleteEmptyParagraphMechanism): adjust
8191 * text.C (breakParagraph): adjust
8192 (insertChar): adjust
8193 (acceptChange): adjust
8194 (rejectChange): adjust
8195 (selectNextWordToSpellcheck): adjust
8196 (changeCase): adjust
8200 * lyxfind.C (SearchForward): adjust
8201 (SearchBackward): adjust
8202 (nextChange): adjust
8204 * lyxcursor.C (par): adjust
8206 * lyxcursor.h: store a ParagraphList::iterator instead of a
8209 * lyx_cb.C (getPossibleLabel): adjust
8211 * bufferview_funcs.C (toggleAndShow): adjust
8213 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8216 * BufferView.C (removeAutoInsets): adjust
8217 (lockedInsetStoreUndo): adjust
8219 2003-04-09 John Levon <levon@movementarian.org>
8221 * ToolbarBackend.C: try icon without argument
8222 if with argument fails
8224 2003-04-08 John Levon <levon@movementarian.org>
8227 * ToolbarBackend.C: add getIcon(), handle tooltip,
8228 and change from "Icon" to "Item".
8230 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8232 * BufferView.C (lockInset): another bad getchar crunched
8234 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8236 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8239 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8241 * lyxfind.C (searchForward, searchBackwards): bug 782
8243 2003-04-07 John Levon <levon@movementarian.org>
8245 * paragraph.C: remove dead comment
8247 * text.C: remove troublesome depth-fiddling code
8248 in leftMargin() and rightMargin() (bug 1017)
8250 * text.C: fix breaking of rows in nested lists
8253 * text2.C (updateCounters): fix up depth values
8256 2003-04-07 John Levon <levon@movementarian.org>
8258 * BufferView_pimpl.C: clear message when doc finishes resizing,
8259 and after a mouse event
8261 * lyxfunc.C: clear message after exiting inset
8263 2003-04-07 John Levon <levon@movementarian.org>
8265 * bufferview_funcs.C: show math status not outside
8266 status in the statusbar
8268 2003-04-07 John Levon <levon@movementarian.org>
8270 * lyxfunc.C: note status changed after a depth change
8272 2003-04-04 Angus Leeming <leeming@lyx.org>
8274 * LaTeX.h: move AuxInfo operator==, != out of line.
8275 Remove LaTeX virtual destructor; nothing derives from it.
8276 Move operator()() out of public area and rename it startscript().
8277 Change protected for private.
8279 2003-04-04 Angus Leeming <leeming@lyx.org>
8282 * text2.C: remove unneeded #includes.
8284 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8286 * text2.C (dEPM): fix the heigth of the next row
8288 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8290 * text.C: squashed an invalid getChar requester + some ws changes
8292 2003-04-03 John Levon <levon@movementarian.org>
8294 * bufferview_funcs.h:
8295 * bufferview_funcs.C:
8298 * text2.C: make getStatus work for the env depth lfuns
8300 2003-04-03 John Levon <levon@movementarian.org>
8302 * bufferview_funcs.h:
8303 * bufferview_funcs.C:
8306 * text2.C: parlistize decDepth(), by merging it with incDepth()
8308 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8310 * lyxrow.h: store a ParagraphList::iterator instead of a
8311 Paragraph* and adjust other class functions to suit.
8313 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8316 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8318 * text2.C (setCursor): do not anchor to cursor row for the time being
8320 2003-04-02 John Levon <levon@movementarian.org>
8327 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8329 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8331 * paragraph.h: make ParagraphList and ParagraphList::iterator
8332 friends of Paragraph.
8334 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8336 * ParagraphList.C: Use the private next_ and previous_ from
8339 2003-04-01 John Levon <levon@movementarian.org>
8343 * Makefile.am: rename, remove defaults gunk
8346 * MenuBackend.C: remove defaults gunk
8349 * Languages.C: remove defaults gunk
8352 * lyx_main.C: error out if files couldn't be found.
8354 2003-04-02 John Levon <levon@movementarian.org>
8356 * text2.C: make incDepth() use parlist
8358 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8360 * undo_funcs.C (firstUndoParagraph): adjust
8362 * text3.C (gotoInset): adjust
8363 (dispatch): adjust, and rewrite loop.
8365 * text2.C (init): adjust, and rewrite loop.
8366 (redoParagraphs): adjust
8367 (updateInset): adjust, and rewrite loop.
8368 (deleteEmptyParagraphMechanism): adjust
8370 * tabular.C (LyXTabular): adjust
8371 (SetMultiColumn): adjust
8374 * lyxtext.[Ch] (ownerParagraph): delete function
8375 (ownerParagraphs): new function returns a ParagraphList.
8377 * BufferView.C (removeAutoInsets): adjust
8378 (insertErrors): adjust
8379 (setCursorFromRow): adjust
8381 2003-04-01 Angus Leeming <leeming@lyx.org>
8383 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8386 2003-04-02 John Levon <levon@movementarian.org>
8392 * text_funcs.C: make transposeChars a free function
8394 * lyxrow_funcs.C: remove wrong comment
8396 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8399 * rowpainter.C: adjust
8404 * lyxrow_funcs. [Ch]: new files
8406 * lyxrow.[Ch]: remove next and previous pointers
8407 (next,previous): remove accessor functions
8408 (isParEnd): move to lyxrow_funcs
8409 (lastPos): move to lyxrow_funcs
8410 (nextRowIsAllInset): move to lyxrow_funcs
8411 (lastPrintablePos): move to lyxrow_funcs
8412 (numberOfSeparators): move to lyxrow_funcs
8413 (numberOfHfills): move to lyxrow_funcs
8414 (numberOfLabelHfills): move to lyxrow_funcs
8415 (hfillExpansion): move to lyxrow_funcs
8419 * bufferview_funcs.C (toggleAndShow): adjust
8421 * RowList.h: Remove class RowList from file leave just a
8424 * RowList.C: delete file
8426 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8429 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8431 * text3.C (cursorPrevious): adjust
8432 (cursorNext): adjust
8435 * text2.C (redoHeightOfParagraph): adjust
8436 (redoDrawingOfParagraph): adjust
8439 * text.C (breakParagraph): adjust
8440 (insertChar): adjust
8443 * rowpainter.C (RowPainter): adjust
8444 (leftMargin): simplify and adjust
8445 (most rowpainter functions): adjust.
8447 * rowpainter.h: store the row as RowList::iterator not as Row*
8449 * lyxcursor.C (row): taka RowList::iterator as arg
8452 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8455 2003-04-01 Angus Leeming <leeming@lyx.org>
8457 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8458 stuff like bool Bool.
8460 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8462 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8465 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8467 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8470 * lyxtext.h (rows): drop one version and leve a const variant that
8471 returns a RowList::iterator.
8473 2003-03-31 Angus Leeming <leeming@lyx.org>
8475 * text.C (fill): ensure that the signature is the same as that in the
8478 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8480 * text2.C (redoParagraphs): adjust
8481 (updateCounters): adjust
8482 (checkParagraph): adjust
8483 (getColumnNearX): adjust and reformat a bit.
8485 * text.C (top_y): adjust
8487 (leftMargin): adjust
8488 (prepareToPrint): adjust
8490 (getRowNearY): adjust
8492 * lyxtext.h: make rowlist_ mutable.
8494 * RowList.h: add const_iterator
8495 * RowList.C: adjust for RowList::const_iterator.
8497 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8500 2003-03-31 John Levon <levon@movementarian.org>
8503 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8505 * lyx_main.C: set default fonts from using lyx_gui funcs
8507 * exporter.C: pdf_mode moved from lyxrc
8510 * lyxfunc.C: changes from above
8512 2003-03-31 John Levon <levon@movementarian.org>
8514 * lyx_main.C: fix to the last fix
8516 2003-03-31 John Levon <levon@movementarian.org>
8518 * bufferlist.C: "Load original" -> "Load Original"
8524 * format.C: more Alert cleanups
8526 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8528 * text2.C (removeParagraph): make it take a RowList::iterator as
8530 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8531 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8533 * text.C (anchor_row): make it take a RowList::iterator as arg,
8535 (computeBidiTables): make it take a const reference to Row instead
8536 of Row pointer, adjust.
8537 (leftMargin): make it take a RowList::iterator as arg, adjust.
8538 (rowBreakPoint): adjust
8539 (breakAgainOneRow): make it take a RowList::iterator as arg,
8541 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8543 * bufferview_funcs.C (toggleAndShow): adjust
8545 2003-03-30 John Levon <levon@movementarian.org>
8549 * boost-inst.C: moved to support
8551 * several files: changes as a result
8553 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8555 * text2.C (LyXText): adjust.
8557 (removeRow): make it take a RowList::iterator as arg, adjust.
8558 (fullRebreak): adjust
8559 (deleteEmptyParagraphMechanism): adjust
8560 (clearPaint): adjust
8563 * text.C (top_y): adjust
8564 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8565 (breakAgain): make it take a RowList::iterator as arg, adjust.
8566 (breakParagraph): adjust
8567 (insertChar): adjust
8570 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8571 need_break_row, and refresh_row.
8573 * text3.C (dispatch): adjust
8575 * text2.C (checkParagraph): adjust
8577 (setCursorFromCoordinates): adjust
8579 * text.C (top_y): adjust
8581 (getRow): make it return a RowList::iterator, adjust
8582 (getRowNearY): make it return a RowList::iterator, adjust
8584 * text2.C (init): adjust
8585 (insertRow): remove function
8586 (insertParagraph): adjust
8587 (redoParagraphs): adjust
8588 (fullRebreak): adjust
8589 (updateCounters): adjust
8591 * text.C (top_y): rewrite to use RowList iterators.
8593 (setHeightOfRow): rewrite to sue RowList iterators.
8594 (appendParagraph): adjust
8595 (breakAgain): adjust
8596 (breakAgainOneRow): adjust
8597 (breakParagraph): adjust
8599 (getRowNearY): adjust, and remove commented code.
8601 * lyxtext.h (firstRow): delete function
8602 (lastRow): delete function
8603 (rows): new function (const and non-const versions.)
8604 (insertRow): delete function
8606 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8608 2003-03-29 John Levon <levon@movementarian.org>
8610 * BufferView_pimpl.C: always update scrollbar top
8611 because pasting text when we're anchored could mean we
8612 miss an update altogether
8614 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8616 * text2.C (init): use rowlist_.end() and not 0.
8617 (insertRow): change to take a RowList::iterator as arg, adjust
8619 (insertParagraph): change to take a RowList::iterator as arg,
8621 (redoParagraphs): remove some debug msgs.
8623 * text.C (appendParagraph): change to take a RowList::iterator
8624 arg, adjust for this.
8625 (breakAgain): add an assert
8626 (breakAgainOneRow): ditto
8628 2003-03-29 John Levon <levon@movementarian.org>
8630 * text2.C: do not clear selection after inc/decDepth
8633 2003-03-29 John Levon <levon@movementarian.org>
8636 * buffer.C: fix broken strerrors according to Lars
8638 2003-03-29 John Levon <levon@movementarian.org>
8640 * converters.C: more Alert cleanups
8642 2003-03-29 John Levon <levon@movementarian.org>
8644 * bufferview_funcs.C: remove pointless Alert
8646 * buffer.C: fix confusing error message when
8647 a template is chmoded 000
8649 2003-03-29 John Levon <levon@movementarian.org>
8653 * BufferView_pimpl.C: Alert fixes
8657 * tabular-old.C: remove unused table compat reading
8659 2003-03-29 John Levon <levon@movementarian.org>
8664 * lyx_cb.C: more Alert cleanups
8666 * lyxfunc.C: don't allow chktex if not latex document
8668 2003-03-29 John Levon <levon@movementarian.org>
8672 * buffer.C: warnings pushed down from support/,
8675 2003-03-29 John Levon <levon@movementarian.org>
8677 * lyxfunc.C: safety check for C-r (revert)
8679 2003-03-29 John Levon <levon@movementarian.org>
8682 * bufferlist.C: several UI fixes using Alert::prompt.
8683 Fix the pointless looping quit code. Fix stupid revert
8688 * lyx_cb.C: use Alert::prompt
8690 * lyx_main.C: remove a silly question
8692 * lyxfunc.C: remove a couple of silly questions,
8695 2003-03-28 John Levon <levon@movementarian.org>
8697 * text2.C: fix bug 974 (End on empty par)
8699 2003-03-28 John Levon <levon@movementarian.org>
8701 * BufferView_pimpl.C:
8703 * lfuns.h: remove do-nothing math greek lfuns
8705 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8707 * lyxgluelength.h (isValidGlueLength): add default arg on
8708 parameter 2. Remove default arg from friend in class.
8710 * lyxlength.h (isValidLength): add default arg on parameter 2.
8711 Remove default arg from friend in class.
8713 * text2.C (LyXText): adjust, initialize refresh_row.
8717 (insertParagraph): adjst
8718 (redoParagraphs): adjust
8719 (fullRebreak): adjust
8720 (updateCounters): adjust
8721 (deleteEmptyParagraphMechanism): first attempt at fixing a
8724 * text.C (top_y): adjust
8725 (setHeightOfRow): adjust
8727 (getRowNearY): adjust
8729 * lyxtext.h: include RowList.h
8730 (~LyXText): not needed anymore, deleted.
8731 (firstRow): modify for RowList
8732 (lastRow): new function
8733 Delete firstrow and lastrow class variables, add a Rowlist
8734 rowlist_ class variable.
8736 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8739 * RowList.C (insert): fix case where it == begin().
8741 2003-03-26 Angus Leeming <leeming@lyx.org>
8743 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8744 the thesaurus dialog.
8746 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8748 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8750 * RowList.[Ch]: new files
8752 * ParagraphList.C (erase): handle the case where it == begin
8755 2003-03-25 John Levon <levon@movementarian.org>
8759 * aspell.C: add new aspell support
8762 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8765 2003-03-25 Angus Leeming <leeming@lyx.org>
8768 * LyXAction.C (init): new LFUN_INSET_INSERT.
8770 * BufferView_pimpl.C (dispatch): split out part of the
8771 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8773 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8776 2003-03-25 Angus Leeming <leeming@lyx.org>
8778 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8780 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8783 * text3.C: remove useless row->height(0)
8785 2003-03-25 John Levon <levon@movementarian.org>
8789 * text3.C: rename the refreshing stuff to better names
8791 2003-03-24 John Levon <levon@movementarian.org>
8793 * BufferView_pimpl.h:
8794 * BufferView_pimpl.C: update layout choice on a mouse
8797 2003-03-23 John Levon <levon@movementarian.org>
8799 * Makefile.am: fix commandtags.h reference
8801 2003-03-22 John Levon <levon@movementarian.org>
8803 * BufferView_pimpl.C:
8808 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8810 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8813 * text.C: take the rtl methods out of line
8815 2003-03-21 André Pönitz <poenitz@gmx.net>
8817 * metricsinfo.[Ch]: new files containing structures to be passed around
8818 during the two-phase-drawing...
8820 2003-03-21 André Pönitz <poenitz@gmx.net>
8822 * lyxtextclass.C: read 'environment' tag.
8824 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8826 * text2.C (removeRow): fix bug 964
8828 2003-03-20 John Levon <levon@movementarian.org>
8832 * text2.C: paint cleanups. Inset::update() dropped font
8835 2003-03-19 John Levon <levon@movementarian.org>
8837 * lyxfunc.C: only fitcursor/markDirty if available()
8839 2003-03-19 John Levon <levon@movementarian.org>
8841 * commandtags.h: rename to ...
8843 * lfuns.h: ... this, and renumber / cleanup
8845 2003-03-19 John Levon <levon@movementarian.org>
8847 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8848 fit the cursor after an lfun
8852 * BufferView_pimpl.h:
8853 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8855 * LyXAction.C: layout-character should have ReadOnly
8857 * ParagraphParameters.C:
8859 * bufferview_funcs.C:
8866 * undo_funcs.C: changes from above
8868 2003-03-18 John Levon <levon@movementarian.org>
8870 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8871 remove it from update()
8873 * lyxfunc.C: update layout choice after an lfun
8875 * text3.C: remove extra updateLayoutChoice()s
8877 2003-03-18 John Levon <levon@movementarian.org>
8879 * text.C: top_y change means full repaint, fix
8880 a drawing bug with cursor movement
8882 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8886 * text2.C: anchor row on setCursor
8888 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8890 * lyxtext.h: remove almost all mutable keywords
8893 * text3.C: remove const keywords accordingly
8895 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8897 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8899 (TeXEnvironment): ditto
8902 2003-03-17 John Levon <levon@movementarian.org>
8904 * text.C (rowBreakPoint): remove attempt to fix displayed
8905 math insets inside a manual label
8907 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8909 * lyxtext.h: remove BufferView* as first arg from almost all class
8911 * other files: adjust.
8913 2003-03-17 John Levon <levon@movementarian.org>
8917 * text2.C: more paint cleanups
8919 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8922 * rowpainter.C: remove "smart" background painting code
8924 2003-03-16 John Levon <levon@movementarian.org>
8929 * text3.C: add helper functions for setting refresh_row/y
8931 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8933 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8934 newline inset which *can* get inserted in the pass_thru layouts.
8935 This is primarily for literate documents.
8937 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8939 * buffer.C: increment LYX_FORMAT to 223
8941 2003-03-14 André Pönitz <poenitz@gmx.net>
8943 * textclass.h: prepare for environment handling, ws changes
8944 * lyxlayout.C: read latexheader and latexfooter tags
8946 2003-03-14 John Levon <levon@movementarian.org>
8948 * text2.C: rewrite ::status() a bit
8950 2003-03-13 John Levon <levon@movementarian.org>
8952 * lyxtext.h: add some docs
8954 2003-03-13 John Levon <levon@movementarian.org>
8959 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8961 2003-03-13 John Levon <levon@movementarian.org>
8963 * text3.C: fix appendix redrawing
8965 2003-03-13 John Levon <levon@movementarian.org>
8967 * text.C (setHeightOfRow):
8969 * rowpainter.C: make appendix mark have the text
8970 "Appendix" so the user knows what it is
8973 * LColor.C: s/appendixline/appendix/ from above
8975 2003-03-13 John Levon <levon@movementarian.org>
8977 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8979 * text.C: fix a getChar(pos) bug properly
8981 2003-03-13 Angus Leeming <leeming@lyx.org>
8984 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8985 Probably only temporary. Let's see how things pan out.
8987 * BufferView.C (unlockInset):
8988 * BufferView_pimpl.C (fitCursor):
8989 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8991 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8992 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8994 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8995 new functions that convert ParagraphParameters to and from a string.
8997 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8998 BufferView::Pimpl's dispatch.
8999 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9001 2003-03-13 André Pönitz <poenitz@gmx.net>
9005 * factory.C: make it aware of InsetEnv
9007 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
9009 * text2.C (setCursor): never ask for one past last
9010 (setCursor): add some debugging messages.
9012 * text.C (singleWidth): never ask for one past last
9013 (singleWidth): ditto
9015 (rightMargin): ditto
9016 (rowBreakPoint): ditto
9017 (setHeightOfRow): ditto
9018 (prepareToPrint): ditto
9020 * rowpainter.C (paintBackground): never ask for one past last
9021 (paintText): never ask for one past last
9023 * paragraph_pimpl.C (getChar): make the assert stricter, never
9024 allow the one past last pos to be taken
9026 * paragraph.C (getChar): ws changes only
9028 * lyxrow.C (nextRowIsAllInset): never ask for one past last
9029 (numberOfSeparators): ditto
9030 (numberOfHfills): ditto
9032 2003-03-12 John Levon <levon@movementarian.org>
9038 * paragraph_funcs.C: fix per-buffer authorlists
9040 2003-03-12 John Levon <levon@movementarian.org>
9042 * text.C: fix newline in right address
9044 2003-03-12 Angus Leeming <leeming@lyx.org>
9046 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9047 duplicate those in LyXFunc::dispatch.
9051 * ToolbarDefaults.C:
9052 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9053 Add LFUN_FONTFREE_UPDATE.
9055 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9056 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9058 * bufferview_func.[Ch]: several new functions to facilliate
9059 transfer of data to and from the character dialog.
9061 2003-03-12 John Levon <levon@movementarian.org>
9066 * paragraph_funcs.C:
9067 * paragraph_pimpl.C:
9071 * text3.C: remove META_NEWLINE in favour of an inset
9074 * rowpainter.C: remove paintNewline (done by inset)
9076 2003-03-12 John Levon <levon@movementarian.org>
9078 * paragraph_pimpl.C: complain about bad getChar()s
9079 for a while at least
9081 2003-03-12 John Levon <levon@movementarian.org>
9084 * buffer.C: move paragraph read into a separate function,
9085 a little renaming to reflect that.
9088 * bufferparams.C: remove the author_ids map, not necessary now
9091 * factory.C: moved Buffer::readInset to here
9093 * paragraph_funcs.h:
9094 * paragraph_funcs.C: readParagraph free function moved from
9097 * tabular.C: name change
9099 2003-03-12 John Levon <levon@movementarian.org>
9102 * ParagraphParameters.C: move par params input to
9105 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9106 behave like a normal read from the stream wrt reading
9107 a line vs. a \\token
9109 2003-03-12 John Levon <levon@movementarian.org>
9112 * ParagraphParameters.h:
9113 * ParagraphParameters.C: move output code to a
9116 2003-03-12 John Levon <levon@movementarian.org>
9118 * BufferView.C (insertLyXFile):
9121 * tabular.C: use a parlist iterator for creating the
9124 2003-03-12 John Levon <levon@movementarian.org>
9126 * buffer.C: make current_change static local not
9129 2003-03-12 John Levon <levon@movementarian.org>
9131 * buffer.C: fix insertStringAsLines for change tracking
9133 2003-03-12 John Levon <levon@movementarian.org>
9140 * bufferparams.C: move author list into params. Rename some
9141 functions. Move the header reading into a separate token
9142 loop. Move the header token reading into BufferParams.
9144 2003-03-12 John Levon <levon@movementarian.org>
9146 * changes.C: put debug inside lyxerr.debugging() checks
9148 2003-03-11 André Pönitz <poenitz@gmx.net>
9150 * factory.C: make it aware of InsetHFill
9152 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9154 * buffer.C (latexParagraphs): move function from here...
9155 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9158 2003-03-10 Angus Leeming <leeming@lyx.org>
9160 * LyXAction.C (init): fix bug in poplating array with multiple entries
9161 with the same LFUN (spotted by JMarc).
9163 2003-03-10 John Levon <levon@movementarian.org>
9166 * text2.C: move getColumnNearX() near its
9169 2003-03-10 John Levon <levon@movementarian.org>
9171 * text.C: fix break before a minipage
9173 2003-03-10 John Levon <levon@movementarian.org>
9175 * text.C: fix the last commit
9177 2003-03-09 John Levon <levon@movementarian.org>
9181 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9182 bug 365 (don't break before insets unless needed). Don't
9183 return a value > last under any circumstances.
9185 2003-03-09 Angus Leeming <leeming@lyx.org>
9187 * BufferView_pimpl.C (trackChanges, dispatch): call
9188 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9190 2003-03-09 Angus Leeming <leeming@lyx.org>
9192 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9193 than Dialogs::showAboutlyx().
9195 2003-03-09 Angus Leeming <leeming@lyx.org>
9197 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9198 than Dialogs::showTabularCreate().
9200 2003-03-09 John Levon <levon@movementarian.org>
9204 * text2.C: 3rd arg to nextBreakPoint was always the same.
9207 2003-03-08 John Levon <levon@movementarian.org>
9214 * text2.C: Remove the "main" bit from the "main body"
9217 2003-03-08 John Levon <levon@movementarian.org>
9219 * text.C (leftMargin): The left margin of an empty
9220 manual label paragraph should not include the label width
9223 * text.C (prepareToPrint): don't attempt to measure hfills
9224 for empty manual label paragraphs - the answer should be 0
9226 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9228 * CutAndPaste.C: remove commented code and reindent.
9230 2003-03-08 John Levon <levon@movementarian.org>
9233 * lyxfunc.C: move reloadBuffer()
9236 * BufferView.C: to here
9238 * lyxvc.C: add comment
9241 * vc-backend.C: call bv->reload() to avoid
9242 getStatus() check on MENURELOAD
9244 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9246 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9247 to an old format .dep file.
9249 2003-03-07 Angus Leeming <leeming@lyx.org>
9251 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9252 when the LFUN_MOUSE_RELEASE should have been handled by
9253 inset->localDispatch.
9255 2003-03-07 Angus Leeming <leeming@lyx.org>
9257 * BufferView_pimpl.C (dispatch):
9258 * LyXAction.C (init):
9259 * ToolbarDefaults.C (init):
9261 * lyxfunc.C (getStatus):
9262 remove LFUN_INSET_GRAPHICS.
9264 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9266 2003-03-07 Angus Leeming <leeming@lyx.org>
9269 * LyXAction.C (init):
9270 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9272 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9275 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9277 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9278 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9280 2003-03-07 Angus Leeming <leeming@lyx.org>
9282 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9285 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9287 * ParagraphList.C (front): new function
9290 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9292 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9293 and top_row_offset_. removed var first_y.
9295 * text2.C (LyXText, removeRow):
9297 * BufferView_pimpl.C:
9298 use these methods instead of using first_y
9300 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9302 * text2.C (pasteSelection): adjust for checkPastePossible
9304 * CutAndPaste.C: remove Paragraph * buf and replace with
9305 ParagraphList paragraphs.
9306 (DeleteBuffer): delete
9307 (cutSelection): change the tc type to textclass_type
9308 (copySelection): change the tc type to textclass_type
9309 (copySelection): adjust for ParagraphList
9310 (pasteSelection): change the tc type to textclass_type
9311 (pasteSelection): adjust for Paragraphlist
9312 (nrOfParagraphs): simplify for ParagraphList
9313 (checkPastePossible): simplify for ParagraphList
9314 (checkPastePossible): remove unused arg
9316 * ParagraphList.C (insert): handle the case where there are no
9319 * CutAndPaste.h: make CutAndPaste a namespace.
9321 * text3.C (dispatch): adjust
9323 * text.C (breakParagraph): add a ParagraphList as arg
9325 * paragraph_funcs.C (breakParagraph): change to take a
9326 BufferParams and a ParagraphList as args.
9327 (breakParagraphConservative): ditto
9328 (mergeParagraph): ditto
9329 (TeXDeeper): add a ParagraphList arg
9330 (TeXEnvironment): ditto
9333 * buffer.C (readLyXformat2): adjust
9334 (insertStringAsLines): adjust
9335 (latexParagraphs): adjust
9337 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9338 (cutSelection): adjust
9339 (pasteSelection): adjust
9341 * BufferView_pimpl.C (insertInset): adjust
9343 2003-03-05 Angus Leeming <leeming@lyx.org>
9346 * LyXAction.C (init):
9347 * BufferView_pimpl.C (dispatch):
9348 * lyxfunc.C (getStatus):
9349 remove LFUN_CHILD_INSERT.
9351 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9353 2003-03-05 Angus Leeming <leeming@lyx.org>
9356 * LyXAction.C (init):
9357 * src/factory.C (createInset):
9358 * lyxfunc.C (getStatus):
9359 * text3.C (dispatch):
9360 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9362 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9364 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9366 * ParagraphList.C (insert): handle insert right before end()
9367 (erase): fix cases where it can be first or last paragraph.
9369 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9371 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9372 Paragraph::next and Paragraph::previous
9375 * text.C (breakParagraph): adjust
9377 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9378 BufferParams& as arg.
9379 (breakParagraph): use ParagraphList::insert
9380 (breakParagraphConservative): take a Buffer* instead of a
9381 BufferParams& as arg.
9382 (breakParagraphConservative): use ParagraphList::insert.
9384 * buffer.C (insertStringAsLines): un-const it
9385 (insertStringAsLines): adjust
9387 * ParagraphList.C (insert): new function
9389 * CutAndPaste.C (pasteSelection): adjust
9391 * text.C (backspace): adjust
9393 * tabular.C (SetMultiColumn): adjust
9395 * CutAndPaste.C (cutSelection): adjust
9396 (pasteSelection): adjust
9398 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9399 Buffer const * as arg
9401 * ParagraphList.C (erase): new function
9402 * paragraph_funcs.C (mergeParagraph): use it
9403 (mergeParagraph): make it take a Buffer* instead of a
9404 BufferParams* as arg
9406 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9408 (breakParagraphConservative): ditto
9410 * paragraph.h: remove the breakParagraph friend
9412 * paragraph.C (eraseIntern): new function
9413 (setChange): new function
9415 * paragraph_funcs.C (mergeParagraph): make it take a
9416 ParagraphList::iterator instead of a Paragraph *, adjust
9419 * paragraph.h: move an #endif so that the change tracking stuff
9420 also works in the NO_NEXT case.
9422 2003-03-04 Angus Leeming <leeming@lyx.org>
9425 * LyXAction.C: new LFUN_INSET_MODIFY.
9427 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9428 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9430 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9432 * several files: ws changes only
9434 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9435 (TeXEnvironment): ditto
9438 * buffer.C (makeLaTeXFile): adjust
9439 (latexParagraphs): make it take ParagraphList::iterator as args
9441 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9443 * buffer.C (latexParagraphs): adjust
9445 * paragraph.C (TeXOnePar): move function...
9446 (optArgInset): move function...
9447 (TeXEnvironment): move function...
9448 * paragraph_pimpl.C (TeXDeeper): move function...
9449 * paragraph_funcs.C: ...here
9451 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9453 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9455 * buffer.C (readInset): remove compability code for old Figure and
9458 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9460 * buffer.C: ws changes
9463 * BufferView_pimpl.C: ditto
9466 * bufferlist.h: ditto
9470 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9472 * converter.[Ch]: split into itself +
9475 * Makefile.am: += graph.[Ch] + format.[Ch]
9482 * lyxrc.C: added #include "format.h"
9484 2003-02-27 Angus Leeming <leeming@lyx.org>
9486 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9489 * factory.C (createInset): add "label" to the factory.
9491 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9492 string and do no more.
9494 2003-02-27 Angus Leeming <leeming@lyx.org>
9497 * LyXAction.C (init):
9498 * factory.C (createInset):
9499 * BufferView_pimpl.C (dispatch):
9500 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9502 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9504 * lyxfunc.C (dispatch):
9505 * text3.C (dispatch): pass name to params2string.
9507 2003-02-26 Angus Leeming <leeming@lyx.org>
9509 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9511 Rearrange the ~includes. Strip out the unnecessary ones.
9513 * factory.C (createInset): reformat.
9514 create new insets for the various LFUN_XYZ_APPLY lfuns.
9516 2003-02-26 John Levon <levon@movementarian.org>
9519 * lyxrow.C: add isParStart,isParEnd helpers
9521 * paragraph.h: make isInserted/DeletedText take refs
9523 * paragraph_funcs.h:
9524 * paragraph_funcs.C: remove #if 0'd code
9529 * text.C: use lyxrow helpers above.
9530 Move draw and paint routines to RowPainter.
9531 Make several methods use refs not pointers.
9532 Make backgroundColor() const.
9533 Add markChangeInDraw(), isInInset().
9534 Merge changeRegionCase into changeCase.
9535 Make workWidth() shouldn't-happen code into an Assert.
9538 * rowpainter.C: new class for painting a row.
9541 * vspace.C: make inPixels take a ref
9543 2003-02-26 Angus Leeming <leeming@lyx.org>
9545 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9548 2003-02-25 John Levon <levon@movementarian.org>
9550 * ispell.C: give the forked command a more accurate name
9552 2003-02-22 John Levon <levon@movementarian.org>
9555 * toc.C: make TocItem store an id not a Paragraph *
9558 2003-02-21 Angus Leeming <leeming@lyx.org>
9560 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9561 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9562 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9563 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9564 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9565 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9567 * BufferView_pimpl.C (dispatch):
9568 * LyXAction.C (init):
9569 * factory.C (createInset):
9570 * lyxfunc.C (getStatus, dispatch):
9571 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9573 2003-02-21 Angus Leeming <leeming@lyx.org>
9575 * BufferView_pimpl.C (MenuInsertLyXFile):
9576 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9577 * lyxfunc.C (menuNew, open, doImport):
9578 no longer pass a LyXView & to fileDlg.
9580 2003-02-21 Angus Leeming <leeming@lyx.org>
9582 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9583 * LyXAction.C: change, BIBKEY to BIBITEM.
9584 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9585 Change InsetBibKey to InsetBibitem.
9586 Change BIBKEY_CODE to BIBITEM_CODE.
9587 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9588 * factory.C: replace insetbib.h with insetbibitem.h.
9589 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9590 * paragraph.C: replace insetbib.h with insetbibitem.h.
9591 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9592 Change bibkey() to bibitem().
9593 * text.C: remove insetbib.h.
9594 * text2.C: replace insetbib.h with insetbibitem.h.
9595 change bibkey() to bibitem().
9596 * text3.C: remove insetbib.h.
9597 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9599 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9601 * lyxrc.C (output): enclose user email in quotes (in case there are
9604 2003-02-18 John Levon <levon@movementarian.org>
9606 * buffer.h: add std::
9608 2003-02-17 John Levon <levon@movementarian.org>
9614 * pspell.C: reworking. Especially in ispell, a large
9615 number of clean ups and bug fixes.
9617 * lyxfunc.C: fix revert to behave sensibly
9619 2003-02-17 André Pönitz <poenitz@gmx.net>
9622 * commandtags.h: new LFUN_INSERT_BIBKEY
9632 * paragraph_func.C: remove special bibkey handling
9634 2003-02-17 John Levon <levon@movementarian.org>
9636 * text.C (Delete): fix case where delete at the end of
9637 the very first paragraph would not merge the pars
9639 2003-02-17 John Levon <levon@movementarian.org>
9641 * lyxrow.C: fix lastPrintablePos()
9643 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9645 * bufferparams.C (writeLaTeX): add a std:here
9647 * buffer.C: and remove a using directive there
9649 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9651 * buffer.C (makeLaTeXFile): move the code that generates the
9654 * bufferparams.C (writeLaTeX): ... in this new method
9656 * LaTeXFeatures.C (getEncodingSet): make const
9657 (getLanguages): make const
9659 * MenuBackend.C (binding): returns the binding associated to this
9661 (add): sets the status of each item by calling getStatus. Adds
9663 (read): add support for OptSubMenu
9664 (expand): remove extra separator at the end of expanded menu
9666 2003-02-15 John Levon <levon@movementarian.org>
9669 * BufferView_pimpl.C:
9671 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9672 inset code that had no actual effect. Remove unneeded status
9675 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9677 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9680 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9682 * text.C (drawLengthMarker): also draw an arrow marker for
9683 symbolic lengths (medskip...)
9685 2003-02-14 John Levon <levon@movementarian.org>
9688 * tabular.C: better method names
9690 2003-02-14 John Levon <levon@movementarian.org>
9692 * BufferView_pimpl.C:
9697 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9698 it's a more accurate name. Remove some pointless uses.
9700 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9702 * text2.C (LyXText): change order of initilizers to shut off
9705 2003-02-14 John Levon <levon@movementarian.org>
9707 * buffer.C: use ParIterator for getParFromID()
9711 * paragraph_pimpl.h:
9712 * paragraph_pimpl.C: remove unused getParFromID()
9714 2003-02-14 John Levon <levon@movementarian.org>
9716 * buffer.C: remove some very old #if 0'd parse code
9718 2003-02-13 John Levon <levon@movementarian.org>
9722 * text2.C: move hfillExpansion(), numberOfSeparators(),
9723 rowLast(), rowLastPrintable(), numberofHfills(),
9724 numberOfLabelHfills() ...
9727 * lyxrow.C: ... to member functions here.
9732 * text.C: remove LyXText::beginningOfMainBody(), and call
9733 p->beginningOfMainBody() directly. Move the check for
9734 LABEL_MANUAL into the latter.
9741 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9747 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9748 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9750 2003-02-13 John Levon <levon@movementarian.org>
9752 * CutAndPaste.C: remove debug
9754 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9756 * paragraph.C (asString): remove two unused variables
9758 * lyxtextclass.C (readTitleType):
9760 (LyXTextClass): handle new members titletype_ and titlename_
9762 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9764 2003-02-09 John Levon <levon@movementarian.org>
9767 * buffer.C: replace hand-coded list with a map for the dep clean
9769 2003-02-08 John Levon <levon@movementarian.org>
9771 * LaTeX.C: consolidate code into showRunMessage() helper
9773 2003-02-08 John Levon <levon@movementarian.org>
9778 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9779 and pass the size in explicitly
9781 * BufferView_pimpl.h:
9782 * BufferView_pimpl.C:
9784 * BufferView.C: add getCurrentChange()
9786 * BufferView_pimpl.h:
9787 * BufferView_pimpl.C: handle change lfuns
9789 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9790 for changes. Mark pasted paragraphs as new.
9792 * support/lyxtime.h:
9793 * support/lyxtime.C:
9794 * DepTable.C: abstract time_t as lyx::time_type
9797 * LColor.C: add colours for new text, deleted text, changebars
9799 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9800 package use "usenames" option.
9804 * LyXAction.C: add change lfuns
9808 * author.C: author handling
9811 * buffer.C: add a per-buffer author list, with first entry as
9812 current author. Handle new .lyx tokens for change tracking. Output
9813 author list to .lyx file. Output dvipost stuff to .tex preamble.
9814 Bump lyx format to 222.
9817 * bufferlist.C: add setCurrentAuthor() to reset current author details
9821 * bufferparams.C: add param for tracking
9823 * bufferview_funcs.C: output change info in minibuffer
9827 * changes.C: add change-tracking structure
9830 * debug.C: add CHANGES debug flag
9833 * lyxfind.C: add code for finding the next change piece
9836 * lyxrc.C: add user_name and user_email
9839 * lyxrow.C: add a metric for the top of the text line
9842 * text.C: implement accept/rejectChange()
9845 * text.C: paint changebars. Paint new/deleted text in the chosen
9846 colours. Strike through deleted text.
9850 * paragraph_pimpl.h:
9851 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9852 in the current change to the insert functions. Rework erase to
9853 mark text as deleted, adding an eraseIntern() and a range-based
9854 erase(). Implement per-paragraph change lookup and
9857 * paragraph_funcs.C: Fixup paste for change tracking.
9859 * tabular.C: mark added row/columns as new.
9861 * text.C: fix rowLast() to never return -1. Don't allow
9862 spellchecking of deleted text. Track transpose changes. Don't
9863 allow paragraph break or merge where appropriate.
9865 * text2.C: leave cursor at end of selection after a cut.
9867 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9869 * text.C (getLengthMarkerHeight):
9870 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9871 visible on screen too.
9873 2003-02-07 John Levon <levon@movementarian.org>
9875 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9877 2003-02-05 Angus Leeming <leeming@lyx.org>
9879 * lyxserver.C (read_ready): revert my patch of 11 September last year
9880 as it sends PC cpu through the roof. Presumably this means that
9881 the lyxserver will no longer run on an Alpha...
9883 2003-01-30 Angus Leeming <leeming@lyx.org>
9885 * factory.C (createInset): create an InsetCommandParam of type "index"
9886 and use it to 'do the right thing'.
9888 * text2.C (getStringToIndex): ensure that cursor position is always
9889 reset to the reset_cursor position.
9891 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9893 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9896 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9900 * lyxfunc.C: Output messages with identical spelling, punctuation,
9903 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9905 * MenuBackend.C (expandFormats): List only viewable export formats
9908 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9911 * lyxfunc.C (getStatus): Make sure that formats other than
9912 "fax" can also be disabled
9914 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9916 * text3.C (dispatch): put the lfuns that insert insets in 3
9917 groups, and call doInsertInset with appropriate arguments.
9918 (doInsertInset): new function, that creates an inset and inserts
9919 it according to some boolean parameters.
9921 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9923 * buffer.C (readFile): remember to pass on 'par' when calling
9924 readFile recursively.
9926 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9928 * MenuBackend.C (expandFormats): add "..." to import formats.
9930 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9932 * paragraph.C (asString): Remove XForms RTL hacks.
9934 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9935 * buffer.C: fix typo
9937 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9939 * Makefile.am (LIBS): delete var
9940 (lyx_LDADD): add @LIBS@ here instead.
9942 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9944 * Clarify the meaning of "wheel mouse jump"
9946 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9948 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9951 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9953 * importer.C (Loaders): do not preallocate 3 elements in the
9954 vector, since one ends up with 6 elements otherwise
9956 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9958 * DepTable.C (write): write the file name as last element of the
9959 .dep file (because it may contain spaces)
9960 (read): read info in the right order
9962 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9964 * paragraph_pimpl.C (simpleTeXBlanks):
9965 (simpleTeXSpecialChars):
9966 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9968 * tabular.C (latex): add some missing case statements. Reindent.
9970 * MenuBackend.C (expandToc): remove unused variable.
9972 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9981 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9984 2003-01-05 John Levon <levon@movementarian.org>
9987 * BufferView.C: add getEncoding()
9990 * kbsequence.C: do not store last keypress
9993 * lyxfunc.C: store last keypress here instead. Pass encoding
9996 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9998 * lyx_main.C (init): remove annoying error message when following
9999 symbolic links (bug #780)
10001 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10003 * text.C (insertChar):
10004 * lyxrc.C (getDescription): remove extra spaces
10006 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10008 * lyxrc.C (getDescription): remove extra spaces
10010 2002-12-20 John Levon <levon@movementarian.org>
10012 * text3.C: hack fix for page up/down across tall rows
10014 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10016 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10019 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10021 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10022 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10023 thesaurus is not compiled in
10025 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
10027 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
10029 2002-12-16 Angus Leeming <leeming@lyx.org>
10032 * lyx_main.C (init): remove override_x_deadkeys stuff.
10034 2002-12-12 John Levon <levon@movementarian.org>
10036 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10037 insert. Only remove shift modifier under strict
10040 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
10042 * MenuBackend.C (expandToc): fix crash.
10044 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
10046 * MenuBackend.C (expandToc): gettext on float names.
10048 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
10050 * lyxlength.[Ch]: set default unit to UNIT_NONE,
10051 implement bool empty() [bug 490]
10053 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
10055 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10057 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10059 * several files: ws changes
10061 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
10063 * text2.C (setCounter): clean up a bit, use boost.format.
10064 (updateCounters): initialize par upon declaration.
10066 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10067 if the layout exists. We do not just store the layout any more.
10068 (SwitchLayoutsBetweenClasses): use boost.format
10070 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10072 * converter.C (convert): if from and to files are the same, use a
10073 temporary files as intermediary
10075 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10078 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10080 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
10082 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10084 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
10086 * tabular.C (asciiPrintCell): use string(size, char) instead of
10089 * sgml.C (openTag): fix order of arguments to string constructor
10092 * lyxfunc.C (dispatch): use boost.format
10094 * lots of files: change "c" -> 'c'
10096 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
10098 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10100 2002-11-25 Angus Leeming <leeming@lyx.org>
10102 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10104 * lyx_main.C (init): compile fix.
10106 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
10108 * lyx_cb.C (start): boost.formatify
10109 do not include <iostream>
10111 * lengthcommon.C: ws only
10113 * boost-inst.C,BoostFormat.h: add more explict instantations
10115 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
10117 * lots of files: handle USE_BOOST_FORMAT
10119 2002-11-21 John Levon <levon@movementarian.org>
10121 * pspell.C: fix compile
10123 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10125 * lyxfunc.C (dispatch): use boost::format
10129 * lyxfont.C (stateText): use boost::format
10131 * lyx_main.C (LyX): use boost::format
10133 (queryUserLyXDir): ditto
10134 (readRcFile): ditto
10136 (typedef boost::function): use the recommened syntax.
10138 * importer.C (Import): use boost::format
10140 * debug.C (showLevel): use boost::format
10142 * converter.C (view): use boost::format
10147 * bufferview_funcs.C (currentState): use boost::format
10149 * bufferlist.C (emergencyWrite): use boost::format
10151 * buffer.C (readLyXformat2): use boost::format
10152 (parseSingleLyXformat2Token): ditto
10154 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10156 * LaTeX.C (run): use boost::format
10158 * Chktex.C (scanLogFile): use boost::format
10160 * BufferView_pimpl.C (savePosition): use boost::format
10161 (restorePosition): ditto
10162 (MenuInsertLyXFile): ditto
10164 * BoostFormat.h: help file for explicit instation.
10166 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10168 * tabular.C (latex): Support for block alignment in fixed width
10171 2002-11-17 John Levon <levon@movementarian.org>
10173 * BufferView_pimpl.C:
10175 * lyxfunc.C: split filedialog into open/save
10177 2002-11-08 Juergen Vigna <jug@sad.it>
10179 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10180 by my last patch (hopefully).
10182 2002-11-08 John Levon <levon@movementarian.org>
10191 * toc.C: ParConstIterator, and use it (from Lars)
10193 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10195 * lyxtextclass.[Ch]: revise and add doxygen comments
10197 2002-11-07 John Levon <levon@movementarian.org>
10199 * text.C: fix progress value for spellchecker
10201 * toc.C: fix navigate menu for insetwrap inside minipage
10203 * paragraph_funcs.C: added FIXME for suspect code
10205 2002-11-07 John Levon <levon@movementarian.org>
10207 * BufferView_pimpl.C: fix redrawing of insets
10210 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10212 * text2.C (updateCounters): fix bug 668
10214 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10216 * text3.C (dispatch): Do not make the buffer dirty when moving the
10219 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10221 * vc-backend.C: STRCONV
10222 (scanMaster): ditto
10224 * text2.C (setCounter): STRCONV
10226 * paragraph.C (asString): STRCONV
10228 * lyxlength.C (asString): STRCONV
10229 (asLatexString): ditto
10231 * lyxgluelength.C (asString): STRCONV
10232 (asLatexString): ditto
10234 * lyxfunc.C (dispatch): STRCONV
10237 * lyxfont.C (stateText): STRCONV
10239 * importer.C (Import): STRCONV
10241 * counters.C (labelItem): STRCONV
10242 (numberLabel): ditto
10243 (numberLabel): remove unused ostringstream o
10248 * bufferview_funcs.C (currentState): STRCONV
10250 * buffer.C (readFile): STRCONV
10251 (asciiParagraph): ditto
10252 (makeLaTeXFile): ditto
10254 * Spacing.C (writeEnvirBegin): STRCONV
10256 * LaTeXFeatures.C (getLanguages): STRCONV
10257 (getPackages): ditto
10259 (getBabelOptions): ditto
10260 (getTClassPreamble): ditto
10261 (getLyXSGMLEntities): ditto
10262 (getIncludedFiles): ditto
10266 (scanAuxFile): ditto
10269 * LString.h: add the STRCONV macros
10271 * BufferView_pimpl.C (savePosition): STRCONV
10272 (restorePosition): ditto
10273 (MenuInsertLyXFile): ditto
10275 * vc-backend.C (scanMaster): change from submatch[...] to
10278 * funcrequest.C: include config.h
10280 * factory.C: include config.h
10282 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10284 * box.C: include config.h
10286 * LaTeX.C (scanAuxFile): change from submatch[...] to
10290 2002-10-25 Angus Leeming <leeming@lyx.org>
10292 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10294 * ispell.[Ch] (setError): new method.
10295 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10296 Use setError() insetead of goto END.
10298 * lyx_cb.C (AutoSave): move out child process into new class
10301 2002-10-30 John Levon <levon@movementarian.org>
10303 * text3.C: make start appendix undoable
10305 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10307 * lyxlength.C (inPixels): Fix returned value.
10309 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10312 2002-10-24 Angus Leeming <leeming@lyx.org>
10314 * lyxgluelength.h: no need to forward declare BufferParams
10315 or BufferView, so don't.
10317 2002-10-21 John Levon <levon@movementarian.org>
10319 * BufferView.C: menuUndo ->undo, redo
10321 * BufferView.h: document, remove dead, make some methods private
10323 * paragraph_funcs.h:
10324 * paragraph_funcs.C:
10325 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10330 * sgml.C: move sgml open/close tag into sgml.C
10332 * bufferview_funcs.h: unused prototype
10335 * lyxfunc.C: remove unused
10338 * text.C: remove unused
10340 2002-10-21 John Levon <levon@movementarian.org>
10344 * BufferView_pimpl.h:
10345 * BufferView_pimpl.C: fix mouse wheel handling based on
10346 patch from Darren Freeman
10348 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10350 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10352 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10354 * lyxlength.C (inPixels): Fix hanfling of negative length.
10355 Fix LyXLength::MU case.
10357 2002-10-16 John Levon <levon@movementarian.org>
10359 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10361 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10363 * converter.C (view): add support for $$i (file name) and $$p
10364 (file path) for the viewer command. If $$i is not specified, then
10365 it is appended to the command (for compatibility with old syntax)
10367 2002-10-14 Juergen Vigna <jug@sad.it>
10369 * undo_funcs.C (textHandleUndo): alter the order in which the
10370 new undopar is added to the LyXText, as we have to set first
10371 the right prev/next and then add it as otherwise the rebuild of
10372 LyXText is not correct. Also reset the cursor to the right paragraph,
10373 with this IMO we could remove the hack in "redoParagraphs()".
10375 2002-10-09 Angus Leeming <leeming@lyx.org>
10377 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10378 to turn off an optimisation if a new inset is to be inserted.
10380 2002-10-11 André Pönitz <poenitz@gmx.net>
10382 * lyxtext.h: make some functions public to allow access
10383 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10385 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10387 * text3.C (dispatch): when changing layout, avoid an infinite loop
10390 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10392 * lyxrc.C (read): treat a viewer or converter command of "none" as
10395 * MenuBackend.C (expandFormats): for an update, also allow the
10396 formats that are not viewable
10398 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10399 script if it is newer than the lyxrc.defaults in user directory
10401 2002-10-07 André Pönitz <poenitz@gmx.net>
10403 * text.C: Vitaly Lipatov's small i18n fix
10405 2002-09-25 Angus Leeming <leeming@lyx.org>
10407 * ispell.h: doxygen fix.
10409 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10411 * buffer.h (readFile): Add a new argument to the method, to allow
10412 reading of old-format templates.
10414 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10416 * toc.C (getTocList): Get TOC from InsetWrap.
10418 2002-09-16 John Levon <levon@movementarian.org>
10420 * lyxfunc.C: check tabular for cut/copy too
10422 2002-09-12 John Levon <levon@movementarian.org>
10424 * LyXAction.C: tidy
10427 * factory.C: add header
10429 * paragraph_funcs.h:
10430 * paragraph_funcs.C: cleanup
10432 2002-09-11 John Levon <levon@movementarian.org>
10434 * PrinterParams.h: odd/even default to true
10436 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10438 * PrinterParams.h: update printer parameters for new xforms dialog
10440 2002-09-11 Angus Leeming <leeming@lyx.org>
10442 * lyxserver.C (read_ready): re-write to make it more transparent
10443 and to make it work in coherent fashion under Tru64 Unix.
10445 2002-09-11 André Pönitz <poenitz@gmx.net>
10449 * text3.C: implement LFUN_WORDSEL
10451 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10453 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10454 make floatlist_ a boost::shared_ptr<FloatList>
10456 * lyxtextclass.C: include FloatList.h
10457 (LyXTextClass): initialize floatlist_
10458 (TextClassTags): add TC_NOFLOAT
10459 (Read): match "nofloat" to TC_NOFLOAT and use it.
10460 (readFloat): modify call to floatlist_
10464 * FloatList.[Ch] (FloatList): remove commented out float
10466 (erase): new function
10468 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10470 * MenuBackend.C (expandToc): fix crash when there is no document
10473 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10475 * many files: Add insetwrap.
10477 2002-09-09 John Levon <levon@movementarian.org>
10479 * text2.C: remove confusing and awkward depth wraparound
10481 2002-09-09 John Levon <levon@movementarian.org>
10483 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10486 * buffer.C: remove getIncludeonlyList()
10489 * lyxfunc.C: remove headers
10491 2002-09-09 Juergen Vigna <jug@sad.it>
10493 * text.C (getColumnNearX): fix form Michael this is most
10494 probably a cut&paste bug.
10496 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10498 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10500 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10501 references, ws changes.
10503 * text2.C (init): update counters after init
10504 (insertParagraph): no need to set counter on idividual paragraphs.
10505 (setCounter): access the counters object in the textclass object
10506 on in the buffer object.
10507 (updateCounters): ditto
10509 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10510 shared_ptr<Counters> to avoid loading counters.h in all
10512 (LyXTextClass): initialize ctrs_
10513 (TextClassTags): add TC_COUNTER, and ...
10514 (Read): use it here.
10515 (CounterTags): new tags
10516 (readCounter): new function
10517 (counters): new funtion
10518 (defaultLayoutName): return a const reference
10520 * counters.C (Counters): remove contructor
10521 (newCounter): remove a couple of unneeded statements.
10522 (newCounter): simplify a bit.
10523 (numberLabel): some small formatting changes.
10525 * buffer.[Ch]: remove all traces of counters, move the Counters
10526 object to the LyXTextClass.
10528 2002-09-06 Alain Castera <castera@in2p3.fr>
10530 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10531 package to set the horizontal alignment on fixed width columns.
10534 * lyx_sty.h: added tabularnewline macro def.
10536 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10538 2002-09-06 John Levon <levon@movementarian.org>
10540 * LyXAction.C: tooltips for sub/superscript
10542 * MenuBackend.C: a bit more verbose
10544 * lyxfunc.C: tiny clean
10546 * undo_funcs.C: document undo_frozen
10548 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10550 * counters.C (Counters): add missing algorithm counter.
10552 * text2.C (setCounter): lookup the counter with layouts latexname
10553 instead of by section number.
10554 (setCounter): use a hackish way to lookup the correct enum
10556 a float name->type change
10557 reset enum couners with counter name directly instead of depth value.
10559 * counters.C (Counters): remove the push_backs, change to use the
10560 float type not the float name.
10561 (labelItem): remove unused string, float name->type change
10563 * counters.h: don't include vector, loose the enums and sects vectors
10565 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10567 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10568 (Read): add float->TC_FLOAT to textclassTags
10569 (Read): and handle it in the switch
10570 (readFloat): new function
10572 * FloatList.C (FloatList): comment out the hardcoded float
10575 * lyxlayout.h: ws change.
10577 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10579 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10581 2002-09-03 Angus Leeming <leeming@lyx.org>
10583 * BufferView_pimpl.h: qualified name is not allowed in member
10584 declaration: WorkArea & Pimpl::workarea() const;
10586 * factory.C: added using std::endl directive.
10588 * text3.C: added using std::find and std::vector directives.
10590 2002-08-29 André Pönitz <poenitz@gmx.net>
10593 * text2.C: remove unused member number_of_rows
10596 * BufferView2.C: remove file, move contents to...
10597 * BufferView.C: ... here
10599 * BufferView_pimpl.C:
10600 * factory.C: move more inset creation to factory
10602 * vspace.C: avoid direct usage of LyXText, ws changes
10605 don't provide direct access to WorkArea, use two simple
10606 acessors haveSelction() and workHeight() instead
10609 2002-08-29 John Levon <levon@movementarian.org>
10611 * BufferView_pimpl.C (dispatch): do not continue when
10614 2002-08-28 André Pönitz <poenitz@gmx.net>
10616 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10619 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10621 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10623 * buffer.C: increment LYX_FORMAT to 221
10625 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10626 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10628 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10630 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10632 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10634 * factory.C (createInset): use LyXTextClass::floats
10636 * MenuBackend.C (expandFloatListInsert):
10637 (expandFloatInsert):
10640 * text2.C (setCounter):
10642 * LaTeXFeatures.C (useFloat):
10643 (getFloatDefinitions):
10645 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10647 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10648 floatlist_, with accessor floats().
10650 * FloatList.h: remove global FloatList
10652 2002-08-26 André Pönitz <poenitz@gmx.net>
10654 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10658 * BufferView_pimpl.C:
10659 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10661 2002-08-25 John Levon <levon@movementarian.org>
10663 * LyXAction.C: fix margin note description
10665 2002-08-24 John Levon <levon@movementarian.org>
10669 * bufferview_funcs.C:
10671 * undo_funcs.C: cleanups
10673 * lyxfunc.C: disable CUT/COPY when no selection
10675 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10677 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10678 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10680 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10681 Add backward compatibility to "mono", "gray" and "no".
10683 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10685 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10686 (and file_format >= 200).
10688 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10690 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10692 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10694 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10696 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10698 * BufferView_pimpl.C:
10705 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10706 inset and code to make it work with the paragraph code. The inset
10707 can be anywhere in the paragraph, but will only do the expected
10708 thing in LaTeX if the layout file contains the parameter line
10710 (or more generally, a nonzero value) for that layout.
10712 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10714 * paragraph.h: remove the declaration of undefined counters class
10717 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10719 * text2.C (setCounter): fixed enumeration mis-count as reported by
10720 Dr. Richard Hawkins.
10722 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10724 * paragraph_funcs.h: remove some unneeded includes
10726 * text.C (backspace): pasteParagraph now in global scipe
10728 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10729 (pasteSelection): ditto
10731 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10732 * paragraph_funcs.C (pasteParagraph): ... here
10734 2002-08-20 André Pönitz <poenitz@gmx.net>
10736 * commandtags.h: new LFUNs for swapping/copying table row/colums
10739 * lyxfunc.C: support for new lfuns
10741 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10744 * buffer.[Ch]: remove NO_COMPABILITY stuff
10746 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10748 * boost.C (throw_exception): new file, with helper function for
10749 boost compiled without exceptions.
10754 * ParameterStruct.h:
10755 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10757 * bufferlist.C (emergencyWriteAll): use boost bind
10759 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10761 * text.C: include paragraph_funcs.h
10762 (breakParagraph): breakParagraph is now in global scope
10764 * paragraph_funcs.[Ch]: new files
10766 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10769 * buffer.C: include paragraph_funcs.h
10770 (insertStringAsLines): breakParagraph is now in global scope
10772 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10775 * CutAndPaste.C: include paragraph_funcs.h
10776 (cutSelection): breakParagraphConservative is now in global scope
10777 (pasteSelection): ditto
10779 * buffer.h: declare oprator== and operator!= for
10780 Buffer::inset_iterator
10782 * bufferlist.C (emergencyWrite): don't use fmt(...)
10784 * text3.C: add using std::endl
10786 * BufferView.C (moveCursorUpdate): remove default arg
10788 2002-08-20 André Pönitz <poenitz@gmx.net>
10790 * buffer.[Ch]: move inline functions to .C
10793 * BufferView_pimpl.C:
10795 * buffer.[Ch]: use improved inset_iterator
10798 * paragraph.[Ch]: write one paragraph at a time
10800 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10802 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10803 style if style is not specified.
10805 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10807 * text2.C (setCounter): when searching for right label for a
10808 caption, make sure to recurse to parent insets (so that a caption
10809 in a minipage in a figure float works) (bug #568)
10811 2002-08-20 André Pönitz <poenitz@gmx.net>
10813 * text3.C: new file for LyXText::dispatch() and helpers
10815 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10817 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10819 2002-08-19 André Pönitz <poenitz@gmx.net>
10822 * text.C: new LyXText::dispatch()
10824 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10826 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10828 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10830 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10833 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10835 * Makefile.am: use $(variables) instead of @substitutions@
10837 2002-08-15 André Pönitz <poenitz@gmx.net>
10840 * BufferView_pimpl.C: streamlining mathed <-> outer world
10844 * LyXAction.C: remove unused LFUN_MATH
10846 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10848 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10850 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10852 * paragraph.C (Paragraph): reformat a bit
10853 (cutIntoMinibuffer): use builtin InsetList function instad of
10857 * buffer.C: include boost/bind.hpp, add using std::for_each
10858 (writeFileAscii): use ParagraphList iterators
10859 (validate): use for_each for validate traversal of paragraphs
10860 (getBibkeyList): use ParagraphList iterators
10861 (resizeInsets): use for_each to resizeInsetsLyXText for all
10863 (getParFromID): use ParagraphList iterators
10865 * BufferView2.C (lockInset): use paragraph list and iterators
10867 2002-08-14 John Levon <levon@movementarian.org>
10869 * lyxserver.C: remove spurious xforms include
10871 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10873 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10875 2002-08-13 André Pönitz <poenitz@gmx.net>
10878 * lyxfunc.C: further cleaning
10880 2002-08-13 André Pönitz <poenitz@gmx.net>
10882 * funcrequest.h: new constructor
10884 * funcrequest.C: move stuff here from .h
10887 * BufferView_pimpl.C:
10890 * lyxfunc.C: subsequent changes
10892 * lyxfunc.h: new view() member function
10894 * lyxfunc.C: subsequent changes
10896 2002-08-13 Angus Leeming <leeming@lyx.org>
10899 * BufferView_pimpl.C:
10907 changes due to the changed LyXView interface that now returns references
10908 to member variables not pointers.
10910 2002-08-13 Angus Leeming <leeming@lyx.org>
10912 * WordLangTuple (word, lang_code): return references to strings,
10917 * lyxtext.h: forward-declare WordLangTuple.
10922 * text.C: #include "WordLangTuple.h".
10925 * text.C: (selectNextWordToSpellcheck): constify return type.
10927 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10933 * paragraph_pimpl.h:
10936 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10937 suggested by Angus.
10938 Made updateCounter always count from start of buffer, and removed
10939 second argument (par).
10940 Reverted floats number display to '#'. Perhaps I'll try again when the
10941 code base is sanitized a bit.
10943 2002-08-12 Angus Leeming <leeming@lyx.org>
10945 * buffer.[Ch] (getLabelList): constify.
10947 2002-08-07 André Pönitz <poenitz@gmx.net>
10949 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10951 * funcrequest.h: extension to keep mouse (x,y) position
10953 2002-08-12 Juergen Vigna <jug@sad.it>
10955 * BufferView2.C (insertErrors): forbid undo when inserting error
10958 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10960 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10962 * ParagraphList.[Ch]: new files
10964 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10966 * BufferView2.C (lockInset): ParagraphList changes
10969 * bufferlist.C: ditto
10973 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10975 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10976 unused class variable counter_,
10978 * paragraph.[Ch] (getFirstCounter): delete unused function
10980 * counters.C: include LAssert.h
10981 (reset): add a new function with no arg, change other version to
10982 not have def. arg and to not allow empty arg.
10984 * text2.C (setCounter): remove empty arg from call to Counters::reset
10986 2002-08-11 John Levon <levon@movementarian.org>
10988 * Makefile.am: add WordLangTuple.h
10990 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10992 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10993 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10995 * insets/insettext.C: InsetList changes
10997 * graphics/GraphicsSupport.C (operator()): InsetList changes
10999 * toc.C (getTocList): InsetList changes
11001 * paragraph_pimpl.[Ch]: InsetList changes
11003 * paragraph.[Ch]: InsetList changes
11005 * buffer.C (inset_iterator): InsetList changes
11006 (setParagraph): ditto
11007 * buffer.h (inset_iterator): ditto
11008 * iterators.C (operator++): ditto
11009 * iterators.h: ditto
11011 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11013 * InsetList.[Ch]: new files, most InsetList handling moved out of
11016 * BufferView2.C (removeAutoInsets): InsetList changes
11018 (ChangeInsets): ditto
11020 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
11022 * paragraph_pimpl.h (empty): new function
11024 * paragraph.[Ch] (empty): new function
11026 * other files: use the new Paragraph::empty function
11028 2002-08-09 John Levon <levon@movementarian.org>
11030 * lyxtext.h: remove unused refresh_height
11032 2002-08-09 John Levon <levon@movementarian.org>
11039 * paragraph.C: move sgml char escaping out of paragraph
11042 * paragraph.C: remove id setter
11046 * paragraph_pimpl.C: remove dead tex_code_break_column
11048 * bufferview_funcs.C: small cleanup
11050 * lyxfunc.C: remove dead proto
11052 * lyxtext.h: make some stuff private. Remove some dead stuff.
11054 * lyxgluelength.C: make as[LyX]String() readable
11056 2002-08-08 John Levon <levon@movementarian.org>
11061 * ToolbarDefaults.C:
11064 * toc.C: lyxaction cleanup
11066 2002-08-08 John Levon <levon@movementarian.org>
11068 * BufferView2.C: small cleanup
11071 * lyxfind.C: move unnecessary header into the .C
11073 2002-08-08 John Levon <levon@movementarian.org>
11075 * funcrequest.h: just tedious nonsense
11078 * lyx_main.C: cleanups
11081 * vspace.C: remove dead header lyx_main.h
11083 2002-08-07 Angus Leeming <leeming@lyx.org>
11086 * paragraph_pimpl.h:
11087 Forward declare class Counters in paragraph.h by moving the ctrs member
11088 variable into Paragraph::Pimpl.
11089 (counters): new method, returning a reference to pimpl_->ctrs.
11091 * text2.C: ensuing changes.
11093 2002-08-07 John Levon <levon@movementarian.org>
11095 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11097 * BufferView_pimpl.C: announce X selection on double/triple
11100 * lyx_main.C: use correct bool in batch dispatch
11102 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11104 2002-08-07 André Pönitz <poenitz@gmx.net>
11106 * funcrequest.h: new class to wrap a kb_action and its argument
11109 * BufferView_pimpl[Ch]:
11113 * lyxrc.C: subsequent changes
11116 2002-08-07 John Levon <levon@movementarian.org>
11118 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11119 document options change.
11121 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11126 * makefile.am: move counters functionality over from
11127 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11129 2002-08-06 John Levon <levon@movementarian.org>
11131 * WordLangTuple.h: new file for word + language code tuple
11142 * BufferView2.C: use WordLangTuple
11145 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11147 2002-08-06 John Levon <levon@movementarian.org>
11149 * lyx_main.C: fix cmdline batch handling
11151 2002-08-06 André Pönitz <poenitz@gmx.net>
11153 * lyxrc.C: set default for show_banner to true
11155 2002-08-06 John Levon <levon@movementarian.org>
11157 * pspell.C: fix a crash, and allow new aspell to work
11159 2002-08-06 John Levon <levon@movementarian.org>
11162 * kbmap.C: small cleanup
11165 * vspace.C: add const
11167 2002-08-05 John Levon <levon@movementarian.org>
11169 * LyXAction.C: back to tabular-insert
11171 2002-08-04 John Levon <levon@movementarian.org>
11174 * BufferView.C: cosmetic change
11176 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11186 * BufferView2.C: purge all "Lyx" not "LyX" strings
11189 * lyxcursor.C: attempt to add some documentation
11194 * ToolbarDefaults.C:
11195 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11196 merge with LFUN_TABULAR_INSERT
11203 * pspell.C: split up i/pspell implementations into separate
11204 files, many cleanups
11206 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11208 * text2.C: some cleanup
11210 * lyxfunc.C: don't check for isp_command == "none" any more, it
11211 didn't make any sense
11213 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11218 * makefile.am: move counters functionality over
11219 from text2.C/paragraph.[Ch] to counters.[Ch], and
11221 2002-08-02 John Levon <levon@movementarian.org>
11223 * buffer.C: s/lyxconvert/lyx2lyx/
11225 2002-08-02 Angus Leeming <leeming@lyx.org>
11227 * lyxlex.C: revert John's change as it breaks reading of the user
11230 2002-08-02 Angus Leeming <leeming@lyx.org>
11232 * importer.C (Import):
11233 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11234 changes due to LyXView::view() now returning a boost::shared_ptr.
11236 2002-08-02 John Levon <levon@movementarian.org>
11238 * lyxlex.C: small cleanup
11240 2002-08-02 John Levon <levon@movementarian.org>
11242 * text2.C (status): small cleanup, no logic change
11244 2002-08-01 John Levon <levon@movementarian.org>
11247 * buffer.C (writeFile): don't output alerts, caller
11251 * lyx_cb.C: from above
11253 * lyxfunc.C: allow to open non-existent files
11255 2002-07-31 John Levon <levon@movementarian.org>
11257 * lyxserver.C: don't let incidental errors get
11260 2002-07-30 John Levon <levon@movementarian.org>
11262 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11264 2002-07-30 John Levon <levon@movementarian.org>
11267 * lyxserver.C: remove I/O callback too
11269 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11271 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11274 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11276 * many files: strip,frontStrip -> trim,ltrim,rtrim
11278 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11280 * PrinterParams.h: remove extern containsOnly, and include
11281 support/lstrings.h instead.
11283 * LaTeX.C (scanAuxFile): modify because of strip changes
11285 * buffer.C (makeLaTeXFile): ditto
11286 * bufferparams.C (writeFile): ditt
11287 * lyxfont.C (stateText): ditto
11288 * lyxserver.C (read_ready): ditto
11289 * vc-backend.C (scanMaster): ditto
11291 * BufferView_pimpl.h: ws changes
11293 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11295 2002-07-26 André Pönitz <poenitz@gmx.net>
11297 * kb_sequence.C: remove unnedred usings
11299 2002-07-26 Juergen Vigna <jug@sad.it>
11301 * lyxfind.C (LyXReplace): we have to check better if the returned
11302 text is not of theLockingInset()->getLockingInset().
11304 2002-07-25 Juergen Vigna <jug@sad.it>
11306 * lyxfind.C (LyXReplace): don't replace if we don't get the
11309 * undo_funcs.C (createUndo): remove debugging code.
11311 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11313 * buffer.C (parseSingleLyXformat2Token): Use default placement
11314 when reading old floats.
11316 * FloatList.C (FloatList): Change the default placement of figure
11317 and tables to "tbp".
11319 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11321 * MenuBackend.C: using std::max
11323 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11325 * MenuBackend.C (expandToc):
11326 (expandToc2): code moved from xforms menu frontend. It is now
11327 generic and TOCs are transparent to menu frontends.
11329 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11331 * toc.C (getTocList): protect against buf=0
11333 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11334 Menu as first parameter. Now, this calls itself recursively to
11335 expand a whole tree (this will be useful for TOC handling)
11336 (expandFloatInsert): remove 'wide' version of floats
11338 * MenuBackend.h (submenuname): returns the name of the submenu.
11339 (submenu): returns the submenu itself, provided it has been
11340 created by MenuBackend::expand
11342 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11344 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11345 insets which have noFontChange == true. (bug #172)
11347 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11349 * BufferView_pimpl.C: add connection objects and use them...
11352 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11354 * MenuBackend.C (expandLastfiles):
11357 (expandFloatListInsert):
11358 (expandFloatInsert):
11359 (expand): split expand in parts
11361 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11363 * lyx_gui.C: use lyx_gui::exit()
11365 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11367 * LyXAction.C: show the failing pseudo action
11369 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11371 * buffer.C (readFile): Run the lyxconvert script in order to read
11374 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11378 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11380 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11384 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11386 2002-07-22 Herbert Voss <voss@lyx.org>
11389 * lyxlength.[Ch]: add support for the vertical lengths
11391 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11393 * toc.[Ch]: std:: fixes
11395 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11397 * lyxrc.C: do not include lyx_main.h
11399 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11405 * BufferView2.C: include "lyxlex.h"
11408 * bufferparams.h: do not #include "lyxlex.h"
11410 * lyxtextclasslist.C (Add): remove method
11411 (classlist): renamed to classlist_
11413 * paragraph_pimpl.C:
11417 * bufferview_funcs.C:
11422 * toc.C (getTocList): use BufferParams::getLyXTextClass
11424 * toc.C (getTocList): use InsetFloat::addToToc
11426 * toc.[Ch]: new files, containing helper functions to handle table
11429 * lyxfunc.C (dispatch): no need to remove spaces around command
11431 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11432 first command of the sequence; it is not very clever, but I do not
11433 have a better idea, actually
11435 * LyXAction.C (LookupFunc): make sure to remove space at the
11436 beginning and end of the command
11438 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11440 * MenuBackend.C (getMenubar): new method: return the menubar of
11442 (read): treat differently reading of menu and menubar (in
11443 particular, the menubar has no name now)
11444 (Menu::menubar): remove
11446 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11449 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11451 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11452 a bibitem inset in a RTL paragraph.
11454 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11456 * paragraph_pimpl.C: constify
11458 * BufferView_pimpl.C:
11460 * lyxfunc.C: fix dispatch in a nicer way
11462 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11464 * lyxfunc.C (dispatch):
11465 * BufferView_pimpl.C:
11466 * BufferView_pimpl.h:
11468 * BufferView.h: rename Dispatch() to dispatch()
11470 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11472 * lyxlayout.C (Read): honor DependsOn tag
11474 * lyxlayout.[Ch] (depends_on): new method
11476 * version.C.in: update lyx_docversion
11478 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11480 * paragraph.C (validate): remove from here...
11481 * paragraph_pimpl.C (validate): ... and move here
11482 (isTextAt): make it const
11484 * buffer.C (getLists): ws cleanup
11486 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11488 * language.C (read): Use iso8859-1 encoding in latex_lang
11489 (this prevents LyX from crashing when using iso10646-1 encoding).
11491 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11493 * text2.C (toggleInset): if cursor is inside an inset, close the
11494 inset and leave cursor _after_ it
11496 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11498 * lyxfunc.C: move minibuffer completion handling out of here
11500 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11502 * BufferView_pimpl.C:
11503 * LaTeX.C: fix dispatch calls
11505 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11507 * text.C (drawChars): Fix Arabic text rendering.
11509 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11513 * lyxfunc.C: remove message-push/pop
11517 * lyxfunc.C: rationalise some code by removing verboseDispatch
11518 in favour of a bool argument to dispatch()
11520 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11522 * lyx_main.C (init): make sure to read symlinks as absolute paths
11524 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11527 * lyxfunc.C: no need for commandshortcut to be a member
11529 2002-07-15 André Pönitz <poenitz@gmx.net>
11531 * converter.C: add support for $$s (scripts from lib/scripts dir)
11532 * lyx_main.C: white space
11534 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11538 * lyxrc.C: remove second exit confirmation
11540 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11545 * BufferView_pimpl.h:
11546 * BufferView_pimpl.C:
11547 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11549 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11551 * MenuBackend.C (expand): add numeric shortcuts to document menu
11553 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11555 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11557 * lyxfont.C (setLyXFamily):
11564 * buffer.C (asciiParagraph): use ascii_lowercase
11566 2002-07-15 Mike Fabian <mfabian@suse.de>
11568 * lyxlex_pimpl.C (search_kw):
11569 * lyxlex.C (getLongString):
11570 * converter.h (operator<):
11571 * converter.C (operator<):
11572 * buffer.C (parseSingleLyXformat2Token):
11574 * ToolbarDefaults.C (read):
11575 * MenuBackend.C (checkShortcuts):
11577 * LColor.C (getFromGUIName):
11578 (getFromLyXName): use the compare_ascii_no_case instead of
11579 compare_no_case, because in turkish, 'i' is not the lowercase
11580 version of 'I', and thus turkish locale breaks parsing of tags.
11582 2002-07-16 Angus Leeming <leeming@lyx.org>
11584 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11585 now takes a Buffer const & argument.
11587 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11589 * BufferView.C (resize): check there's a buffer to resize
11591 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11593 * lyxfunc.C: remove dead code
11596 * lyxserver.C: use lyx_guii::set_read_callback
11598 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11600 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11601 an inset in a RTL paragraph.
11603 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11605 * lyxfunc.C: repaint after a font size update
11607 2002-07-15 André Pönitz <poenitz@gmx.net>
11609 * lyxlength.C: inBP should be able to return negative values
11611 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11613 * lyxfunc.C: use lyx_gui::update_fonts()
11615 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11617 * lyxfunc.C: use lyx_gui::update_color()
11619 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11625 * lyxrc.C: remove file->new asks for name option, and let
11626 buffer-new take an argument
11628 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11630 * BufferView_pimpl.C: remove unneeded extra repaint()
11632 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11634 * LyXAction.C: allow command-sequence with NoBuffer
11636 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11638 2002-07-10 Angus Leeming <leeming@lyx.org>
11640 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11642 2002-07-09 Angus Leeming <leeming@lyx.org>
11644 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11646 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11648 * lengthcommon.h: whitespace
11650 * lyxfunc.C: update scrollbar after goto paragraph
11652 * lyxtext.h: factor out page break drawing, and fix it so
11653 page break/added space paints as selected nicely
11655 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11657 * BufferView_pimpl.C: add FIXMEs, clean up a little
11659 2002-07-09 André Pönitz <poenitz@gmx.net>
11661 * lyxfont.[Ch]: support for wasy symbols
11663 2002-07-08 André Pönitz <poenitz@gmx.net>
11665 * BufferView_pimpl.C: apply John's patch for #93.
11667 2002-07-05 Angus Leeming <leeming@lyx.org>
11669 * BufferView_pimpl.C (buffer): generate previews if desired.
11671 * LColor.h: add "preview" to the color enum.
11673 * LColor.C (LColor): add a corresponding entry to the items array.
11675 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11678 2002-07-05 Angus Leeming <leeming@lyx.org>
11680 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11681 The body of the code is now in the method that is passed an ostream &
11682 rather than a file name.
11683 Pass an additional only_preamble parameter, useful for the forthcoming
11686 2002-07-03 André Pönitz <poenitz@gmx.net>
11688 * lyxfunc.C: simplify getStatus() a bit for math stuff
11690 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11692 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11694 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11696 * text.C (changeRegionCase): do not change case of all the
11697 document when region ends at paragraph end (bug #461)
11699 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11701 * paragraph.C (startTeXParParams):
11702 (endTeXParParams): add \protect when necessary
11704 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11706 * BufferView_pimpl.C (workAreaExpose): remove warning
11708 2002-06-27 Angus Leeming <leeming@lyx.org>
11710 * Makefile.am: add lyxlayout_ptr_fwd.h.
11712 2002-06-26 André Pönitz <poenitz@gmx.net>
11714 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11716 2002-06-25 Angus Leeming <leeming@lyx.org>
11718 * lyxfunc.C (dispatch): Comment out the call to
11719 grfx::GCache::changeDisplay. The method no longer exists now that the
11720 pixmap generation part of the graphics loader has been moved into
11723 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11725 * text2.C: layout as layout
11727 * text.C: layout as layout
11729 * tabular.C (OldFormatRead): layout as layout
11731 * paragraph_pimpl.C (TeXDeeper): layout as layout
11732 (realizeFont): layout as layout
11734 * paragraph.C (writeFile): layout as layout
11735 (validate): layout as layout
11736 (getFont): layout as layout
11737 (getLabelFont): layout as layout
11738 (getLayoutFont): layout as layout
11739 (breakParagraph): layout as layout
11740 (stripLeadingSpaces): layout as layout
11741 (getEndLabel): layout as layout
11742 (getMaxDepthAfter): layout as layout
11743 (applyLayout): layout as layout
11744 (TeXOnePar): layout as layout
11745 (simpleTeXOnePar): layout as layout
11746 (TeXEnvironment): layout as layout
11747 (layout): layout as layout
11748 (layout): layout as layout
11750 * lyxtextclass.C (compare_name): new functor to work with
11751 shared_ptr, layout as layout
11752 (Read): layout as layout
11753 (hasLayout): layout as layout
11754 (operator): layout as layout
11755 (delete_layout): layout as layout
11756 (defaultLayout): layout as layout
11758 * lyxlayout_ptr_fwd.h: new file
11760 * lyxlayout.C (Read): layout as layout
11762 * lyx_cb.C (MenuInsertLabel): layout as layout
11764 * bufferlist.C (newFile): layout as layout
11766 * buffer.C (readLyXformat2): layout as layout
11767 (parseSingleLyXformat2Token): layout as layout
11768 (insertStringAsLines): layout as layout
11769 (asciiParagraph): layout as layout
11770 (latexParagraphs): layout as layout
11771 (makeLinuxDocFile): layout as layout
11772 (simpleLinuxDocOnePar): layout as layout
11773 (makeDocBookFile): layout as layout
11774 (simpleDocBookOnePar): layout as layout
11775 (getLists): layout as layout
11777 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11779 * CutAndPaste.C (cutSelection): layout as layout
11780 (pasteSelection): layout as layout
11781 (SwitchLayoutsBetweenClasses): layout as layout
11783 * BufferView_pimpl.C (Dispatch): layout as layout
11784 (smartQuote): layout as layout
11786 * BufferView2.C (unlockInset): layout as layout
11788 2002-06-24 André Pönitz <poenitz@gmx.net>
11790 * lyxfunc.C: fix #487
11792 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11796 * lyxfunc.C: remove display_shortcuts, show_banner
11798 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11800 * Buffer_pimpl.C: oops, update on resize
11802 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11809 * BufferView.C: use repaint()
11811 * BufferView_pimpl.h:
11812 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11813 as it's a clearer description. Remove superfluous
11816 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11818 * text.C: fix bug 488. Not ideal, but getting
11819 getWord() to work properly for the insets that
11820 matter is more difficult ...
11822 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11824 * BufferView_pimpl.C:
11827 * lyxfunc.C: remove the six million index lyxfuncs to just
11828 one, and DTRT (bug 458)
11830 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11834 * BufferView_pimpl.h:
11835 * BufferView_pimpl.C: clean up resize() stuff,
11836 and unnecessary updateScreen()s
11838 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11842 * BufferView_pimpl.h:
11843 * BufferView_pimpl.C:
11846 * minibuffer.C: remove focus management of workarea,
11847 not needed. Use screen's greyOut()
11849 2002-06-17 Herbert Voss <voss@lyx.org>
11851 * converter.C: (convert) do not post a message, when converting
11852 fails, let the calling function decide what to do in this case
11854 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11856 * lyxfunc.C: tidy up a little
11858 2002-06-16 <alstrup@diku.dk>
11860 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11861 Got rid of FORMS_H_LOCATION include. Now we are
11864 2002-06-15 LyX Development team <lyx@rilke>
11866 * buffer.[Ch] (sgmlOpenTag):
11867 (sgmlCloseTag): Added support for avoiding pernicious mixed
11868 content. Return number of lines written.
11870 (makeLinuxDocFile):
11871 (makeDocBookFile): Fixed calls to sgml*Tag.
11872 Simple white space clean.
11874 (simpleDocBookOnePar): Simple white space clean.
11876 * tabular.[Ch] (docBook): Renamed to docbook and got another
11877 argument to related with the pernicious mixed content.
11879 (docbookRow): Fixed calls for docbook inset method.
11881 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11883 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11884 so it's X11 independent.
11888 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11890 2002-06-15 Lyx Development team <lyx@electronia>
11892 * intl.h: Renamed getTrans to getTransManager.
11894 2002-06-14 Angus Leeming <leeming@lyx.org>
11896 * Makefile.am: nuke forgotten stl_string_fwd.h.
11898 2002-06-12 Angus Leeming <leeming@lyx.org>
11900 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11902 2002-06-13 Angus Leeming <leeming@lyx.org>
11905 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11907 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11909 * kbmap.C (getiso): add support for cyrillic and greek
11911 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11915 * BufferView_pimpl.h:
11916 * BufferView_pimpl.C: move bogus scrolling logic
11919 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11922 * BufferView_pimpl.C: view->resize() change
11924 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11926 * BufferView_pimpl.C: topCursorVisible
11929 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11933 * lyx_gui.C: move to frontends/
11937 * lyx_main.C: changes from above
11939 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11946 * lyx_main.C: minor tidy
11948 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11950 * BufferView_pimpl.h:
11951 * BufferView_pimpl.C:
11953 * BufferView.C: make painter() const,
11956 * BufferView2.C: use screen() accessor
11959 * lyx_main.C: some minor cleanup
11961 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11963 * BufferView_pimpl.h:
11964 * BufferView_pimpl.C: remove enter/leaveView,
11967 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11972 * BufferView_pimpl.h:
11973 * BufferView_pimpl.C: only construct screen once,
11976 * lyxrc.C: remove pointless comment
11978 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11981 * BufferView.C: remove active() and belowMouse()
11983 * BufferView_pimpl.h:
11984 * BufferView_pimpl.C: use workarea() not workarea_,
11985 and make it use a scoped_ptr instead
11987 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11989 * lyx_gui.C: add debug message on BadWindow
11991 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11993 * sp_spell.C: fdopen is not part of the C++ standard.
11995 * paragraph.C (InsetIterator): use >= instead of ==
11997 2002-06-07 Angus Leeming <leeming@lyx.org>
11999 Fixes needed to compile with Compaq cxx 6.5.
12000 * BufferView_pimpl.C:
12007 * lyxtextclasslist.C:
12012 all c-library variables have been moved into namespace std. Wrap
12013 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12018 Add a using std::abs declaration.
12020 * kbmap.h (modifier_pair):
12021 * paragraph.h (InsetTable, InsetList):
12022 * lyxfont.h (FontBits):
12023 type definition made public.
12025 * bufferlist.C (emergencyWriteAll): the compiler complains that
12026 there is more than one possible lyx::class_fun template to choose from.
12027 I re-named the void specialisation as lyx::void_class_fun.
12029 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12031 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12032 the compiler is is unable to find tostr in write_attribute.
12034 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12036 * buffer.C (sgmlError): hide #warning
12038 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12040 * xtl/*: get rid of xtl, which is not in use anyway
12042 * LyXAction.C (init):
12043 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12044 were unimplemented xtl experimentation
12046 2002-06-04 André Pönitz <poenitz@gmx.net>
12048 * lyxfunc.C: disable array operation on simple formulae
12050 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
12052 * converter.C: constify a bit
12054 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
12056 * lyx_gui.C: check xforms version correctly
12058 2002-04-30 Herbert Voss <voss@lyx.org>
12060 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12063 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
12065 * lyxvc.C: fix bug 416 (make sure buffer is saved before
12066 attempt to register it with a VCS)
12068 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12070 * lyx_main.C (init): honor variables LYX_DIR_13x and
12073 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12077 * lyx_main.C: fix a crash on bad command line,
12078 and give a useful exit status on error
12080 * lyxfunc.C (doImport): allow -i lyx to work
12082 2002-03-30 André Pönitz <poenitz@gmx.net>
12084 * lyxfunc.C: mathed font changes
12086 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
12101 * trans_mgr.h: srcdocs, and some minor cleanups
12103 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12105 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12106 call getFont all the time)
12108 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
12110 * switch from SigC signals to boost::signals
12112 2002-05-29 André Pönitz <poenitz@gmx.net>
12114 * paragraph_pimpl.C (getChar): don't call size() too often...
12116 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12118 * paragraph_pimpl.C (insertChar): do not try to update tables when
12119 appending (pos == size())
12121 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12122 in order to reduce drastically the number of comparisons needed to
12123 parse a large document
12125 2002-05-29 André Pönitz <poenitz@gmx.net>
12131 * textclasslist.[Ch]:
12132 * sp_ispell.h: whitespace change
12134 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12136 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12137 lyxaction directly now.
12139 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12143 * lyxvc.C: remove unused headers
12145 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12152 * undo_funcs.C: some cleanups. Use shared_ptr
12153 and a template for the undo stacks.
12155 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12157 * BufferView_pimpl.h:
12158 * BufferView_pimpl.C:
12165 * text2.C: use key_state/mouse_state
12167 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12169 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12172 * chset.C: change include order
12173 (loadFile): use boost regex and get rid of LRegex and LSubstring
12175 * Makefile.am (BOOST_LIBS): new variable
12176 (lyx_LDADD): use it
12178 * LaTeX.C: change include order.
12179 (scanAuxFile): use boost regex and get rid of LRegex and
12183 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12188 * FontInfo.C: moved to frontends/xforms/
12191 * FontLoader.C: moved into frontends for GUIIzation
12196 * lyxfunc.C: changes from above
12198 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12200 * LColor.C: remove spurious X include
12202 * BufferView_pimpl.C:
12207 * text2.C: move font metrics to frontends/
12209 2002-05-24 Juergen Vigna <jug@sad.it>
12211 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12212 setting the undo_cursor.
12214 * ParagraphParameters.h: include local includes first.
12216 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12218 * BufferView_pimpl.C:
12219 * BufferView_pimpl.h:
12223 * screen.C: move WorkArea into frontends/
12229 * BufferView2.C: move LyXScreen into frontends/
12233 * lyx_gui.C: move lyxlookup into frontends/xforms/
12235 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12238 * BufferView_pimpl.C:
12248 * bufferview_funcs.C:
12261 * vc-backend.C: move LyX/XFormsView into frontends/
12263 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12275 * text2.C: move Painter to frontends/
12277 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12279 * buffer.C: comment out some some code that depend upon lyx_format
12282 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12283 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12285 * buffer.h (NO_COMPABILITY): turn off compability
12287 * ColorHandler.C: include scoped_array.hpp
12289 * font.C: Use more specific smart_ptr header.
12292 * ShareContainer.h: ditto
12293 * lyx_main.h: ditto
12295 * FontInfo.h: ditto
12296 * BufferView_pimpl.h: ditto
12297 * ColorHandler.h: ditto
12299 * kbmap.C (defkey): change call to shared_ptr::reset
12301 2002-05-21 Juergen Vigna <jug@sad.it>
12303 * buffer.C (insertErtContents): fix to insert ert asis if it is
12304 non empty. Skip it completely if it contains only whitespaces.
12306 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12308 * BufferView_pimpl.C:
12309 * BufferView2.C: clear selection on paste (bug 393)
12311 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12313 * DepTable.C: include ctime
12315 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12317 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12319 2002-05-14 Juergen Vigna <jug@sad.it>
12321 * text.C (breakParagraph): fixed function to honor the keepempty
12322 layout in the right maner and also to permit the right breaking
12323 algorithm on empty or non empyt keepempty paragraphs.
12325 * paragraph.C (breakParagraph): we have to check also if the par
12326 is really empty (!size()) for isempty otherwise we do the wrong
12329 2002-05-10 Juergen Vigna <jug@sad.it>
12331 * buffer.[Ch] : The following are only changes to the ert
12332 compatibility read reading old LaTeX layout and font stuff and
12333 convert it to ERTInsets.
12335 * buffer.h: added isErtInset().
12337 * buffer.C (struct ErtComp): add a fromlayout bool to check
12338 if we're inside a LaTeX layout.
12339 (isErtInset): new helper function.
12340 (insertErtContents): look for other ert insets before this one
12341 and insert the contents there, so that we don't have subsequent
12342 ERT insets with nothing between them. This way we create only one
12343 inset with multiple paragraphs. Also check if we don't insert only
12344 spaces ' ' as they are ignored anyway afterwards in the .tex file
12345 so if we have only spaces we will ignore this latex part in the
12347 (parseSingleLyXformat2Token \\layout): better compatibility when
12348 reading layout-latex stuff.
12349 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12351 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12352 stuff after reading the inset only get the information back from
12355 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12357 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12359 * LaTeXFeatures.C (getBabelOptions): New method.
12361 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12363 * BufferView_pimpl.C (Dispatch): work around missing argument for
12366 2002-05-08 Juergen Vigna <jug@sad.it>
12368 * text.C (leftMargin): handle paragraph leftindent.
12370 * paragraph.C (writeFile): write the new \\leftindent tag.
12371 (validate): handle leftindent code.
12372 (TeXEnvironment): handle paragraphleftindent code again.
12374 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12376 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12377 for paragrap_extra indent code and new token \\leftindent.
12378 (latexParagraphs): handle the leftindent as environment.
12380 * ParameterStruct.h: added leftindent support.
12382 * ParagraphParameters.C (leftIndent): added support functions for
12383 the paragraph left indent.
12385 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12388 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12390 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12393 * text.C (computeBidiTables): No bidi in insetERT.
12395 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12398 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12400 * version.C.in: pre 5
12402 2002-05-02 José Matos <jamatos@fep.up.pt>
12403 * buffer.C (makeDocBookFile): white space changes, add newline to
12405 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12407 * tabular.C (docBook): fix typo.
12409 2002-05-03 Juergen Vigna <jug@sad.it>
12411 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12412 change in LyXText as we can not be sure it was not freed.
12413 (drawOneRow): remove unused code.
12415 * text.C (drawInset): redo the calculation of the need_break_row as
12416 it could have a row which was already freed.
12417 (draw): look at the return value of drawInset and return false if
12418 it also returned false.
12419 (paintRowText): look at the return value of draw and return false if
12420 it also returned false.
12422 * lyxtext.h: added bool return type to drawInset() and draw() so that
12423 if we have a change in the row so that the rowbreak has to be redone
12424 we abort drawing as it will be called again.
12426 2002-05-02 Juergen Vigna <jug@sad.it>
12428 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12429 a change in the maintext also if we're inside an inset.
12430 (Dispatch): set the cursor again after a break line and after the
12431 screen has been updated as it could be we're in a different row.
12433 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12434 to set the cursor behind the pargraph with > size().
12435 (setCursor): check also for the same paragraph when checking where
12436 to put the cursor if we have a NFR inset.
12438 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12439 parts of layout read further up as it still was in the wrong
12442 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12444 * screen.C (drawFromTo): change sine fullRebreak always return
12447 * buffer.C (parseSingleLyXformat2Token): reindent some
12449 * BufferView_pimpl.C (update): change since fullRebreak always
12451 (Dispatch): git rid of the last hardcoded "Standard"s.
12453 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12455 * text2.[Ch] (fullRebreak): make it return void now that we always
12458 2002-04-30 Juergen Vigna <jug@sad.it>
12460 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12461 ert compatibility check for "latex" layout.
12463 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12465 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12466 minipages: use col% instead of p%, and also use the current font.
12467 (makeLaTeXFile): Fix use babel condition.
12468 (parseSingleLyXformat2Token): Correct font when reading old floats.
12470 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12472 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12473 inserting list of floats.
12475 2002-04-25 Herbert Voss <voss@lyx.org>
12477 * MenuBackend.C (expand): don't add the graphics extensions to the
12480 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12482 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12483 non-existing layout, do not complain if it was the default layout
12484 of the original class (bug #342)
12486 2002-04-24 Juergen Vigna <jug@sad.it>
12488 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12489 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12491 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12493 * buffer.C (getBibkeyList): If using \bibliography, return the
12494 option field with the reference itself. Enables us to provide natbib
12495 support when using \bibliography.
12497 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12499 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12501 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12502 natbib is provided by the LaTeX class.
12504 2002-04-23 Juergen Vigna <jug@sad.it>
12506 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12509 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12511 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12513 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12515 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12516 ensuremath around textordmasculine, textordfeminine and
12519 2002-04-19 Juergen Vigna <jug@sad.it>
12521 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12522 reinitializing the buffer otherwise row-dimensions may be wrong.
12523 (update): reset also the selection cursors if they do exits otherwise
12524 their x/y positions may be wrong.
12526 * text2.C (cursorDown): don't enter the inset if we came from a row
12527 above and are one row over the inset.
12529 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12530 really leaving an inset.
12532 2002-04-18 Juergen Vigna <jug@sad.it>
12534 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12535 of the selected paragraph does not have the selected layout also if
12538 * text2.C (setLayout): fixed bug which did not change last selected
12541 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12542 changed the read and substituted \\end_float with \\end_inset!
12544 * BufferView_pimpl.C (cursorPrevious):
12545 (cursorNext): fixed to make it work with rows heigher than the work
12546 area without moving the cursor only the draw of the row.
12547 (workAreaMotionNotify): fix jumping over high rows.
12549 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12551 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12554 2002-04-16 Juergen Vigna <jug@sad.it>
12556 * text2.C (setCursor): set also the irow().
12557 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12559 (cursorDown): support for locking an inset if the x_fix value goes
12560 inside it. That way I can transverse insets too with cursor up/down.
12562 * lyxrow.h: added irow helper function same as other (i) functions.
12564 * BufferView_pimpl.C (cursorPrevious):
12565 (cursorNext): fixed for insets!
12567 2002-04-15 Juergen Vigna <jug@sad.it>
12569 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12570 position otherwise it is wrong in some cases.
12572 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12573 inside the inset before the call.
12575 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12577 * buffer.[Ch] (getBibkeyList): make it const.
12579 2002-04-12 Juergen Vigna <jug@sad.it>
12581 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12583 * text2.C (getCursorX): new helper function
12584 (setCursor): compute also ix_
12585 (setCursorFromCoordinates): set also ix.
12587 * lyxcursor.h: added ix_ and helper functions.
12589 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12591 * buffer.C (insertStringAsLines): dont break paragraph if the this
12592 paragraph is inside an inset which does not permit it!
12594 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12595 also with no chars on this paragraph.
12596 (paintRowText): only paint stuff if it's inside the workarea!
12598 * paragraph.C (breakParagraph): honor keepempty flag and break the
12599 paragraph always below not above.
12601 * BufferView2.C (unlockInset): update the paragraph layout on inset
12602 unlock as we changed paragraph in such a case.
12604 * lyxfind.C (LyXFind): clear the former selection if not found!
12606 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12607 again called in insertChar().
12609 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12610 an inset which uses the whole row!
12611 (rightMargin): ditto.
12612 (insertChar): force a rebreak if we inserted an inset!
12614 2002-03-28 Herbert Voss <voss@lyx.org>
12616 * lyxlength.[Ch]: add inBP() to get the right PS-point
12617 units (BigPoint). With inPixels we have rounding errors
12619 2002-04-11 Juergen Vigna <jug@sad.it>
12621 * text2.C (setCursorFromCoordinates): set iy to the right value.
12622 (setCursor): add check if row->previous exists!
12624 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12625 an old float_type as this was the case in the old code!
12627 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12629 * BufferView2.C (showLockedInsetCursor): use iy
12630 (fitLockedInsetCursor): ditto
12632 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12633 locked insets as there we have the right value now.
12635 * lyxcursor.C: added iy_ variable and iy functions to set to the
12636 baseline of cursor-y of the locked inset.
12638 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12639 (setCursor): fixed for insets which need a full row.
12641 * text.C (rowLastPrintable): don't ignore the last space when before
12642 an inset which needs a full row.
12643 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12644 as last character of a row when before a inset which needs a full row.
12646 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12648 * version.C.in: update date
12650 * text2.C (fullRebreak): try to always return true and see what
12653 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12655 * MenuBackend.C (expand): use Floating::listName
12657 * FloatList.C (FloatList): add listName argument to the built-in
12660 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12661 text associated with the float.
12663 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12665 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12667 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12669 * ShareContainer.h: add a couple of missing typenames.
12671 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12673 * lyxrc.C (getDescription): use _() correctly rather than N_().
12675 2002-03-28 Herbert Voss <voss@lyx.org>
12677 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12678 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12680 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12682 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12683 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12685 2002-03-29 Juergen Vigna <jug@sad.it>
12687 * lyxfunc.C (dispatch): add a missing fitCursor call.
12689 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12690 it was scrolled by a cursor move, so return the bool status.
12692 * BufferView.C (fitCursor): return the bool flag also to the outside
12693 world as this is needed.
12695 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12697 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12698 call the edit() as it is not needed (and wrong) IMO.
12699 (workAreaButtonPress): set the screen_first variable before evt.
12700 unlock the inset as this may change screen_first and then we have
12701 a wrong y position for the click!
12703 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12705 * MenuBackend.C (expand): another translation that I missed
12707 2002-03-28 Juergen Vigna <jug@sad.it>
12709 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12711 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12713 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12715 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12717 * MenuBackend.C (expand): fix export/view/update when there is no
12720 2002-03-27 Herbert Voss <voss@lyx.org>
12722 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12725 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12727 * bufferview_funcs.C (currentState): only show paragraph number
12728 for is DEVEL_VERSION is set.
12730 * lyxfunc.C (dispatch): put warning in INFO channel
12732 * MenuBackend.C (expand): translate the name of floats
12734 * FloatList.C (FloatList): mark the float names for translation
12736 * converter.C (convert): use LibScriptSearch
12738 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12740 * MenuBackend.C (defaults): fix default menu (we might as well get
12743 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12745 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12748 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12750 * lyxvc.C: reorder includes.
12752 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12754 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12757 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12759 * CutAndPaste.C: change layouts earlier on paste
12760 to avoid crashing when calling getFont()
12762 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12764 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12767 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12769 * WorkArea.C: remove 'Pending' debug message.
12771 * most files: ws cleanup
12773 * buffer.[Ch]: ws changes
12775 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12777 2002-03-21 Juergen Vigna <jug@sad.it>
12779 * tabular.C (SetMultiColumn): collapse also the contents of the
12780 cells and set the last border right. Added a Buffer const * param.
12782 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12784 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12787 2002-03-19 Juergen Vigna <jug@sad.it>
12789 * text2.C (clearSelection): reset also xsel_cache.
12791 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12792 where it needs to be called (John tells us to do so too :)
12793 (selectionLost): reset sel_cache.
12795 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12797 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12799 * text2.C (setCursorIntern): put debuging code in INSETS channel
12801 2002-03-19 André Pönitz <poenitz@gmx.net>
12803 * lyxfunc.C: tiny whitespace change
12805 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12807 * ToolbarDefaults.C (init):
12808 * LyXAction.C (init):
12810 * BufferView_pimpl.C (Dispatch):
12811 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12813 2002-03-19 Allan Rae <rae@lyx.org>
12815 * exporter.C (Export): removeAutoInsets before doing anything else.
12816 While I've just introduced a dependency on BufferView this really is
12817 the best place to clean the buffer otherwise you need to cleanup in
12818 a dozen places before calling export or cleanup in a dozen functions
12821 * converter.C (runLaTeX):
12822 (scanLog): Better handling of removeAutoInsets and screen updates.
12824 * lyxfunc.C (dispatch): small whitespace changes
12826 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12828 * WorkArea.C (C_WorkAreaEvent): return a value.
12829 (event_cb): return 1 if we handled the event, 0 otherwise.
12831 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12833 2002-03-18 Juergen Vigna <jug@sad.it>
12835 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12836 (GetAdditionalWidth): ditto.
12837 (RightLine): ditto.
12840 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12841 inset if we're there actually (probably not used right now but this
12842 is the direction to go for unifying code).
12843 (paste): disable code to clear the selection.
12845 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12846 inside an InsetText and move the check further up as it is in the
12849 * text2.C (pasteSelection): set a selection over the pasted text.
12851 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12853 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12854 and libgraphics to build on Cygwin.
12856 2002-03-15 Juergen Vigna <jug@sad.it>
12858 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12859 inserting an Inset into the paragraph. I know this is not the best
12860 fix but we already use current_view in CutAndPaste so we will remove
12861 all of it's using at the same time.
12863 * buffer.C (sgmlError): deactivated function till it is rewritten in
12864 the right mode, now it can create problems.
12866 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12867 before accessing it.
12869 2002-03-14 Juergen Vigna <jug@sad.it>
12871 * undo_funcs.C (textHandleUndo): do the right thing when updating
12872 the inset after the undo/redo.
12874 * text2.C (setCursor): just some testcode for #44 not ready yet.
12876 * undo_funcs.C (textHandleUndo): set the next() and previous()
12877 pointers of the paragraph to 0 before deleting otherwise we have
12878 problems with the Paragraph::[destructor].
12880 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12881 on a paragraph insertion.
12883 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12885 * buffer.C (asciiParagraph): use += operator for char append to
12888 * paragraph.C (getFontSettings): compare >= not just >
12889 (highestFontInRange): ditto
12892 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12894 * paragraph.C: change several algorithm to be more appripriate for
12895 the problem domain. This is lookip in FontList and in the InsetList.
12897 2002-03-13 André Pönitz <poenitz@gmx.net>
12900 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12902 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12907 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12909 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12911 * Painter.C (display): anon helper function, adjust code for this
12913 (pixmap): remove function.
12915 * Painter.h: remove private display variable.
12917 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12919 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12921 * WorkArea.[Ch]: remove figinset_canvas cruft.
12923 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12925 * lyxtextclass.C (operator): add one item cache optimization.
12927 * bufferlist.h: doxy changes
12929 * bufferlist.C: ws changes
12931 * DepTable.[Ch] (ext_exist): place const in the right spot.
12933 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12935 (workAreaExpose): call resizeInsets when the with BufferView changes.
12936 (Dispatch): adjust for protectedBlank removal
12937 (specialChar): call updateInset if the insert went ok.
12939 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12940 specialChar instead.
12942 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12944 * BufferView.h: doxy change
12946 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12948 * lyxtextclass.C (operator[]): remove non-const version
12949 (defaultLayout): remove non-const version
12951 2002-03-12 Juergen Vigna <jug@sad.it>
12953 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12954 did resize the LyXText too.
12956 * buffer.C (readLyXformat2): set layout information on newly allocated
12959 * tabular.C (OldFormatRead): set layout information on the paragraph.
12961 2002-03-12 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
12963 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12965 2002-03-11 Juergen Vigna <jug@sad.it>
12967 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12969 (resizeCurrentBuffer): force also the insets to resize themselfes.
12970 (moveCursorUpdate): fixed up for InsetText.
12972 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12975 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12976 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12977 value of Dialogs::tooltipsEnabled().
12978 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12980 2002-03-08 Juergen Vigna <jug@sad.it>
12982 * BufferView_pimpl.C (updateInset): update inset inside inset also
12983 if it isn't inside theLockingInset().
12985 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12987 * buffer.C (asciiParagraph): redo some of the word and line length
12989 (getLists): look for Caption instead of caption.
12991 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12993 * buffer.C (Buffer): initialize niceFile to true
12995 (makeLinuxDocFile):
12996 (makeDocBookFile): make sure niceFile is true on exit
12998 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13000 * buffer.C (makeLaTeXFile): escape ~ in \input@path
13002 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
13004 * LyXSendto.C: remove.
13005 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13006 * lyx_gui.C: remove now-redundant comment.
13007 * ColorHandler.h: remove forward declaration of class WorkArea.
13008 * lyxfunc.C: remove #include "WorkArea.h".
13010 2002-03-07 Juergen Vigna <jug@sad.it>
13012 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13013 got moved away with the DEPM and also set the inset_owner always
13014 right which before could have been omitted.
13016 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13018 * buffer.C (parseSingleLyXformat2Token): use default layout is the
13019 wanted layout is not found.
13021 2002-03-07 Juergen Vigna <jug@sad.it>
13023 * CutAndPaste.C (cutSelection): another layout settings forgotten.
13025 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
13027 * paragraph.C (breakParagraph): use default layout not layout of
13029 (Paragraph): clear ParagraphParameters.
13031 2002-03-06 Juergen Vigna <jug@sad.it>
13033 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13034 otherwise it would not be a valid lenght. Fixed a special case in
13035 the minipage compatibility read where we end the document with a
13038 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13039 was set as it could be 0 for InsetTexts first entry.
13041 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13043 * paragraph.C (writeFile): if layout is empty write out
13044 defaultLayoutName().
13046 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13047 file without named layout we set layout to defaultLayoutName().
13049 2002-03-06 Juergen Vigna <jug@sad.it>
13051 * CutAndPaste.C (copySelection): set layout for new paragraph.
13053 * text.C (prepareToPrint): leave ERT inset left aligned
13054 (leftMargin): don't indent paragraphs inside ERT insets
13056 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13058 * paragraph.C (breakParagraph): dont call clear do the work manually
13060 * paragraph.[Ch] (clear): remove function
13062 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13064 * paragraph.C (Paragraph): dont call clear, the work has already
13067 * lyxtextclass.C (operator): assert if n is empty
13069 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13070 work manually instead.
13072 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13074 * BufferView_pimpl.C: protect selectionLost against text == 0
13076 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13078 * text.C (breakParagraph): fix a setting layout to '0' problem.
13080 2002-03-05 Jos�Ab�io Oliveira Matos <jamatos@novalis.fc.up.pt>
13082 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13083 final location of file, for the included files, and graphics.
13085 2002-03-05 Juergen Vigna <jug@sad.it>
13087 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13089 2002-03-04 Juergen Vigna <jug@sad.it>
13091 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13093 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13094 last column of multicolumn cells.
13095 (SetWidthOfMulticolCell): recalculate NMC and real columns.
13097 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
13099 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13100 file if it doesn't go to a temporary file.
13102 * buffer.C (sgmlOpenTag):
13103 (sgmlCloseTag): remove extra newline insertion.
13105 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13107 * text.C (getRowNearY): comment out debug msg
13109 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13111 * text2.C: first -> first_y
13113 * text.C (getRowNearY): add some attemts at a possible
13114 optimization, not working.
13116 * tabular.[Ch]: add BufferParams to several function so that newly
13117 created paragraph can be initialized to he default layotu for the
13120 * tabular-old.C (ReadOld): add buf->params to call of Init
13122 * screen.C: rename text->first to text->first_y
13124 * paragraph.C (breakParagraph): always set layout in the broken
13127 * lyxtextclass.C (Read): remove lowercase
13130 (delete_layout): ditto
13132 * lyxtext.h: rename first -> first_y
13134 * lyxlayout.C (Read): remove lowercase
13137 (obsoleted_by): ditto
13139 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13141 * buffer.C (insertErtContents): add params are to InsetERT
13142 (parseSingleLyXformat2Token): add code to check if a paragraphs
13143 layout really exist.
13144 (parseSingleLyXformat2Token): add params to several inset
13146 (asciiParagraph): remove lowercase, do the layout comparisons with
13149 * BufferView_pimpl.C (cursorNext): first -> first_y
13150 (resizeCurrentBuffer): first -> first_y
13151 (updateScrollbar): first -> first_y
13152 (scrollCB): first -> first_y
13153 (workAreaMotionNotify): first -> first_y
13154 (workAreaButtonPress): first -> first_y
13155 (checkInsetHit): first -> first_y
13156 (cursorPrevious): first -> first_y
13157 (cursorNext): first -> first_y
13158 (Dispatch): add buffer_->params to severl inset contructors
13160 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13162 * lyxlayout.C (Read): remove some debug info that I forgot.
13164 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13165 clean up the code slightly.
13166 (makeLinuxDocFile): ditto
13167 (makeDocBookFile): ditto
13169 * text2.C: layout as string
13171 * text.C: layout as string
13173 * paragraph_pimpl.C: layout as string
13175 * paragraph.[Ch]: layout as string
13177 * lyxtextclasslist.[Ch]: layout as string
13179 * lyxtextclass.[Ch]: layout as string
13181 * lyxtext.h: layout as string
13183 * lyxlayout.[Ch]: layout as string
13185 * lyx_cb.C: layout as string
13187 * bufferview_funcs.C: layout as string
13189 * bufferparams.C: layout as string
13191 * buffer.C: layout as string
13193 * LyXView.[Ch]: layout as string
13195 * LaTeXFeatures.[Ch]: layout as string
13197 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13199 * BufferView_pimpl.C: change current_layout to string, remove
13204 (workAreaButtonRelease): layout as string
13206 * BufferView2.C (unlockInset): adjust
13208 * vspace.C (asLatexCommand): use an explict temp variable.
13210 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13212 * Makefile.am: use FRONTEND_*
13214 2002-03-01 Juergen Vigna <jug@sad.it>
13216 * tabular.C (SetWidthOfMulticolCell): changed to something better
13217 I hope but still work in progress.
13218 (recalculateMulticolumnsOfColumn): renamed function from
13219 recalculateMulticolCells as it is more appropriate now.
13220 (SetWidthOfCell): calculate multicols better.
13222 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13224 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13226 * lyxfunc.C (processKeySym): print sequence also if it is
13227 `deleted' (complete)
13229 * kbsequence.C (print): print sequence even if it is deleted
13230 (complete would be a better word, actually).
13232 * lyxfunc.C (dispatch): print complete options after a prefix key
13234 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13236 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13238 * text2.C (setCharFont): eliminate setCharFont code duplication.
13240 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13242 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13243 LFUN_TABULAR_FEATURE (bug #177)
13245 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13247 * Makefile.am: remove figure.h
13249 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13251 * Bufferview_pimpl.C:
13263 * text2.C: remove #include "lyx_gui_misc.h".
13265 * LaTeX.C: added #include <cstdio>
13267 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13269 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13270 that the paragraph following this one can have.
13272 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13274 * vspace.C (asLatexCommand): fix bogus gcc warning
13276 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13278 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13280 * text2.C (setLayout): get rid of redundant code
13282 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13284 * text2.C (incDepth): make sure depth cannot be increased beyond
13287 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13289 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13290 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13292 * PainterBase.h (image):
13293 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13294 a LyXImage const *.
13296 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13300 * BufferView_pimpl.C:
13301 * BufferView_pimpl.h:
13321 * sp_spell.C: remove fig inset, and the crap house of
13322 cards that follows it
13324 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13329 * os2_errortable.h:
13330 * nt_defines.h: move .h into support/
13332 * vms_defines.h: remove
13334 * WorkArea.C: add space in debug output
13338 * buffer.C: add WITH_WARNINGS
13342 * bufferlist.C: s/retrive/retrieve/, add docs
13351 * chset.C: add docs
13353 * lyxgui.C: add ID to X error handler
13355 * lyxtestclass.c: fix typo
13357 2002-02-26 Juergen Vigna <jug@sad.it>
13359 * tabular_funcs.C (write_attribute): changed so that some default
13360 attributes are not written at all.
13361 (getTokenValue): set default values before trying to read the
13362 value so we have the return value always set as default if we don't
13363 find the token we search for.
13365 * tabular.C (Write): write bools as bools not as strings!
13367 2002-02-22 Juergen Vigna <jug@sad.it>
13369 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13370 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13372 * text.C (leftMargin): don't add an indent for paragraphs inside
13373 tabular cells (fix #208).
13375 2002-02-21 José Matos <jamatos@fep.up.pt>
13377 * tabular.C (docBook): fixed support for long tables.
13379 2002-02-20 Juergen Vigna <jug@sad.it>
13381 * text2.C (getFont): get the drawing font of the Inset if this
13382 paragraph is inside an inset (only important for InsetERT for now).
13384 * buffer.C (insertErtContents): use new lanugage params in ERT
13387 * CutAndPaste.C: commenting out seemingly uneeded code.
13389 2002-02-19 Allan Rae <rae@lyx.org>
13391 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13392 Iterators might be simple to use but they also get invalidated.
13393 (removeAutoInsets): renamed saved cursor tracking variables and added
13394 some comments to clarify what everything does.
13396 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13403 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13404 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13407 * vc-backend.h: remove #include "support/syscall.h"
13411 * converter.C: rearrange #includes in Lars' approved fashion.
13413 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13414 forward declare class Timeout in the header file.
13416 * XFormsView.C: changes due to the above.
13418 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13419 similar to LyXView.
13421 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13422 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13424 2002-02-18 José Matos <jamatos@fep.up.pt>
13426 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13429 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13431 * a lot of small ws changes
13432 * add a lot of using std::XXX
13433 * use std construcs some places where approp.
13434 * use some exisint stuff from lyxfunctional where approp.
13435 * Make file changes to use partial linking (lets test this now...)
13437 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13441 remove #include "support/syscontr.h" as it's redundant. Always has been.
13449 change Systemcalls::System to Systemcalls::Wait and
13450 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13451 No change of functionality, just reflects the stripped down Systemcalls
13454 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13456 * debug.[Ch]: add a GRAPHICS type to the enum.
13458 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13460 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13462 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13465 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13467 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13468 match the changes below.
13470 * text2.C (toggleInset): if there is not editable inset at cursor
13471 position, try to see if cursor is _inside_ a collapsable inset
13474 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13476 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13477 document menu has a nice checkbox
13479 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13481 * lyxlength.C (asLatexString): change PW to output as percent of
13484 * lengthcommon.C: change '%' to 't%'
13486 * lyxfunc.C (dispatch): a few comments from Martin
13488 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13492 * BufferView_pimpl.h:
13493 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13496 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13498 * vspace.C (inPixels): fix compiler warning
13500 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13502 * lyxfunc.C (getStatus): fix status message for disabled commands.
13504 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13506 * BufferView_pimpl.C: fix crash on close buffer
13507 during selection (#227)
13509 2002-01-27 Herbert Voss <voss@lyx.org>
13511 * buffer.C: link old Figure to new graphic inset
13513 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13515 * FontLoader.C (getFontinfo): Change the latex font names in order
13516 to match the names of type1inst.
13518 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13520 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13522 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13523 (extchanged): ditto
13525 (remove_files_with_extension): ditto
13526 (remove_file): ditto
13529 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13530 document is smaller than the work area height. Do not initialize
13531 static variables to 0.
13533 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13535 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13537 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13538 LFUN_LAYOUT_PARAGRAPHS.
13540 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13541 tabular. It is possible to provide a possible cell, which will
13542 typically be the actcell from the corresponding insettabular
13544 * lyxfunc.C (getStatus): small cleanup; disable
13545 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13548 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13550 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13552 * paragraph.C (startTeXParParams):
13553 (endTeXParParams): new methods. The LaTeX code to
13554 start/end paragraph formatting
13555 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13556 empty (fixes bug #200)
13558 * vspace.C (inPixels): adapt to the change below
13559 (inPixels): [later] more cleanups (remove unused variables)
13561 * lyxlength.C (inPixels): change to use a width and a height as
13564 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13566 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13567 Replaced with \paperwidth
13569 * DepTable.C (insert): add std:: qualifier
13571 2002-01-18 Allan Rae <rae@lyx.org>
13573 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13576 * text.C (drawInset): Turned out I didn't know enough about how
13577 rebreaking worked. This fixes most of the redraw problems. I see
13578 an occasional cursor trail when a line is broken now and the cursor
13579 placement can seem out by a few pixels also after a rebreak.
13581 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13583 * buffer.C (parseSingleLyXformat2Token): update because minipage
13584 width is now a LyXLength
13586 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13588 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13591 2002-01-17 Juergen Vigna <jug@sad.it>
13593 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13595 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13596 is set correctly and the inset is updated correctly.
13598 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13600 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13601 the beginning of the loop.
13603 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13605 * lyxrc.C: improve help for use_scalable_fonts
13607 2002-01-17 Allan Rae <rae@lyx.org>
13609 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13611 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13613 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13614 make sure to set their inset_owner to the right value (bug #171)
13616 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13619 * DepTable.C: Implement mtime checking to reduce time spent doing
13622 2002-01-16 Juergen Vigna <jug@sad.it>
13624 * tabular.C (GetAdditionalHeight): one of error fixed.
13626 * lyxrc.C (output): small fix in writing use_pspell.
13628 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13630 * sp_base.h: #include LString.h
13632 2002-01-16 Allan Rae <rae@lyx.org>
13634 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13635 Can someone check this please?
13637 * text.C (drawInset): It was possible that p.row would be removed by
13638 breakAgainOneRow upsetting a few other settings. There may be another
13639 small tweak possible by setting need_break_row = 0 when p.row has been
13640 removed but I don't know enough about the logic here.
13642 2002-01-15 Allan Rae <rae@lyx.org>
13644 * text.C (insertChar): removed conditional truism.
13646 * BufferView2.C (removeAutoInsets): More tweaks.
13647 cur_par_prev could be a stray pointer. Check for trailing empty line
13648 in case last line was cur_par and only had an error inset on it.
13650 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13652 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13655 * vc-backend.C (most methods):
13656 * exporter.C (Export):
13657 * converter.C (convert):
13659 * LyXSendto.C (SendtoApplyCB):
13660 * lyxfunc.C (dispatch):
13664 * lyx_cb.C (AutoSave):
13666 * BufferView_pimpl.C (MenuInsertLyXFile):
13667 * buffer.C (runChktex): use Buffer::filePath().
13669 * buffer.h: rename filename to filename_; rename filepath to
13670 filepath_ and make it private
13671 (filePath): new method
13673 * buffer.C (writeFile): use fileName()
13676 * lyx_main.C (init): fix starting of LyX when the binary is a
13677 link from so,ewhere else.
13679 * minibuffer.C: include <cctype> for isprint
13681 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13683 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13684 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13685 name clash with InsetCollapsable's width function.
13687 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13689 * lastfiles.C: include <iterator>
13691 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13693 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13696 * buffer.C (makeLaTeXFile): ditto.
13697 Also make loop operation more transparent.
13699 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13701 * ToolbarDefaults.C: remove trailing comma closing namespace.
13703 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13705 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13708 * trans.C (Load): comment out unused variable, allowed.
13710 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13712 * minibuffer.[Ch] (append_char): new method to recieve input from the
13713 drop-down completion browser. If a key was pressed, then recieve this
13714 char and append it to the existing string.
13715 (peek_event): modify the positioning data passed to the completion
13716 browser so that it can be placed above the minibuffer rather than below.
13717 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13719 * LyXAction.C (init): alloe error-next for readonly documents.
13721 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13724 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13726 * bufferlist.C (readFile): create the buffer _after_ checking that
13729 * lyxfunc.C (verboseDispatch): fix handling of arguments
13731 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13733 * lyxrc.C: use string::erase() instead of initializing to "".
13736 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13738 * BufferView_pimpl.h:
13739 * BufferView_pimpl.C:
13742 * text2.C: tell X when we have made a selection for copying
13744 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13746 * BufferView_pimpl.C (MenuInsertLyXFile):
13747 * lyxfunc.C (menuNew):
13749 (doImport): add shortcuts to directory buttons
13751 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13754 * lyxfunc.C (setStatusMessage):
13755 (getStatusMessage): new methods
13756 (getStatus):use setStatusMessage instead of setErrorMessage
13757 (dispatch): when function is disabled, set error message here
13758 [instead of in getStatus previously]
13760 * BufferView_pimpl.C (workAreaButtonRelease): update
13761 toolbar/menubar here too.
13763 2002-01-13 Allan Rae <rae@lyx.org>
13765 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13766 Now seems indestructible. Remaining task is to audit all other
13767 code affected by deleteEmptyParagraphMechanism. One small quirk
13768 left is that an empty document with an error in the preamble can
13769 be made to report an error but no error box appears. I don't know
13771 (removeAutoInsets): Improved comments.
13773 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13776 * Thesaurus.C: update for Aiksaurus 0.14
13778 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13780 * text2.C (firstParagraph): removed member function, all uses
13781 replaces with ownerParagraph
13782 (redoParagraphs): here
13783 (updateInset): here
13784 (toggleAppendix): here
13785 * BufferView2.C (insertErrors): here
13786 (setCursorFromRow): here
13788 2002-01-13 Allan Rae <rae@lyx.org>
13790 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13791 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13792 There is still a way to segfault this although you may have to do this
13793 multiple times: Have an InsetERT with an unknown command in it.
13794 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13795 <down-arrow>, <Enter> again, View->DVI, BANG!
13797 * text2.C (setCursor):
13798 (deleteEmptyParagraphMechanism):
13799 * lyxtext.h (setCursor):
13800 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13801 Making use of the return value may help fix other bugs.
13803 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13805 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13807 * LyXView.C (updateMenubar): call MenuBar::update here
13808 (updateToolbar): but not here
13809 (showState): do not update toolbar/menubar
13811 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13812 should need to care about that.
13814 * lyxfunc.C (verboseDispatch): simplify a bit
13815 (getStatus): have a version which takes a pseudoaction, and
13816 another which requires a (kb_action,string).
13818 * LyXAction.C (retrieveActionArg): make it work also when action
13819 is not a pseudo-action.
13820 (getActionName): simplify a bit
13823 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13825 * lyxfunc.C (verboseDispatch): new families of methods with
13826 several ways to specify a command and a bool to indicate whether
13827 the command name and shortcut should be displayed in minibuffer
13828 (eventually, we could extend that to a finer bitmask like
13829 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13830 (dispatch): the pristine dispatch command which just, well,
13831 dispatchs! Note it still sets its result to minibuffer; I'm not
13834 * lyxfunc.h: remove setHintMessage
13836 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13838 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13840 * BufferView_pimpl.C (specialChar): delete new inset if we have
13841 not been able to insert it.
13843 * kbmap.C: revert to using int instead of kb_action, since all we
13844 are dealing with is pseudo-actions.
13846 * LyXAction.C (searchActionArg): change to return int instead of
13847 kb_action, since the result is a pseudoaction.
13849 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13851 * buffer.C (insertErtContents): Fix (partially) the font bug.
13853 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13855 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13856 as the other one is broken on my machine!
13858 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13861 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13863 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13865 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13866 reflect their actual use. Provide compatibility code for older lyxrc
13869 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13871 change names of popup font variables in line with the changes to lyxrc.C
13873 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13875 * buffer.C (asciiParagraph): avoid outputing a word twice after
13878 * lyxrc.C (getDescription): document that document_path and
13879 template_path can be empty.
13881 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13883 * LaTeXFeatures.C (getMacros):
13884 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13886 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13888 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13890 (getPackages): rename feature "floats" to "float". Use an array to
13891 iterate over 'simple' features (i.e. just a \usepackage). Add
13892 handling of "amsmath" (renamed from "amsstyle").
13894 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13896 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13899 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13901 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13902 FuncStaus::FuncStatus & FuncStaus::some_method().
13904 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13906 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13907 of the func_satus stuff. Edited and massaged in various ways by
13910 * lyxfunc.C (getStatus): use FuncStatus
13912 2002-01-08 Juergen Vigna <jug@sad.it>
13914 * text.C (nextBreakPoint): use function Inset::isChar().
13916 * paragraph.C (TeXOnePar): use function
13917 Inset::forceDefaultParagraphs.
13919 * buffer.C (latexParagraphs): use function
13920 Inset::forceDefaultParagraphs.
13922 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13924 * lyx_gui.C (init): set the style of the menu popups to
13925 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13927 2002-01-07 Juergen Vigna <jug@sad.it>
13929 * text.C (setHeightOfRow): small fix
13930 (prepareToPrint): don't look at alignment if we don't have the place
13933 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13935 * box.C: New file. Move the Box methods and functions out of box.h,
13936 following Lars' suggestion.
13938 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13940 * box.h: #include "support/LOstream.h", needed for inlined function.
13943 * lyxtextclasslist.C: added some using std declarations.
13945 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13947 * box.h: make signed dimensions to allow insets wider than
13948 the screen (bug #162)
13950 * BufferView_pimpl.C: add some insetHit debug
13952 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13954 * vc-backend.C: add FIXME
13956 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13958 * lyxfunc.C (getStatus): enable code for showing math font status
13961 2002-01-07 Juergen Vigna <jug@sad.it>
13963 * text.C (nextBreakPoint): removed debug output not needed anymore.
13965 2002-01-06 Juergen Vigna <jug@sad.it>
13967 * text.C (nextBreakPoint): fixed up this function we had this bug
13968 since ever but now hopefully we break row better.
13969 (insertChar): we have to check if an inset is the next char as it
13970 could now happen that a large inset is causing a break.
13972 2002-01-05 Juergen Vigna <jug@sad.it>
13974 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13975 if it doesn't like to be drawed.
13977 2002-01-04 Juergen Vigna <jug@sad.it>
13979 * BufferView2.C (lockInset): forgot to set a cursor.
13981 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13983 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13985 * FormMathsPanel.C:
13988 * form_maths_panel.C:
13989 * form_maths_panel.h:
13990 * form_maths_panel.fd: implemented sub- and super- buttons in math
13993 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13994 (or ^ space) to be used as in TeX (req'd by Andr�.
13996 * lyxfunc.C: Allow ^ and _ again to be used both as
13997 super/subscript (mathed) and as themselves (in text).
13999 2002-01-03 Allan Rae <rae@lyx.org>
14001 * LyXView.C (updateWindowTitle): Setup a short icon title of either
14002 "LyX" or the filename of the current buffer if it has one. This is a
14003 modified form of John Levon's patch.
14005 * XFormsView.C (setWindowTitle): also set icon title.
14007 * LyXView.h (setWindowTitle): signature changed.
14008 * XFormsView.h (setWindowTitle): ditto.
14010 2002-01-02 Juergen Vigna <jug@sad.it>
14012 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14014 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14016 * screen.C (topCursorVisible): introduce a temp var for
14017 text->cursor.row(), handle the case where this row is null. (kindo
14020 * text2.C (setCursor): add a couple of asserts.
14022 * paragraph.h (inset_iterator): add -> operator
14024 * paragraph.[Ch] (autoDeleteInsets): remove member function
14026 * BufferView2.C (removeAutoInsets): rewrite to handle the old
14027 cursor pos correctly and handle inset deletion by itself.
14028 (insertErrors): move iterator declaration out of for expression
14030 * lyxtextclass.C: add <algorithm>
14032 * Makefile.am: added the new files to sources, removed layout.C
14034 * layout.C: removed file
14036 * layout.h: remove LYX_DUMMY_LAYOUT
14038 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14042 * lyxtextclass.[Ch]:
14043 * lyxtextclasslist.[Ch]: new files
14045 * include order changes to a lot of files, also changes because of
14048 2001-12-27 Juergen Vigna <jug@sad.it>
14050 * buffer.C (asciiParagraph): more fixes.
14052 * tabular.C (ascii): make ascii export support export of only the
14053 data separated by a column-delimiter.
14054 (ascii): better support for ascii export.
14056 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14058 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14060 * tabular_funcs.C: use a "using std::getline" instead of the
14061 previous fix from Angus (necessary for cxx + lyxstring)
14063 2001-12-24 Juergen Vigna <jug@sad.it>
14065 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14067 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14068 problems. First check a minipage also if we have some ert-contents
14069 (not only on par->size(), second set the right depth of the paragraph
14070 on the relink to the root-paragraph-list!
14072 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14073 which then did not anymore update the main paragraphs on undo/redo!
14075 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14077 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14078 code. Support all font-changing funcs (even those which are not in
14079 menu currently). Support for reporting font settings in
14080 mathed (disabled until Andre provides a function on mathed's side).
14082 * func_status.h (toggle): small helper function to set toggle
14085 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
14087 * tabular_funcs.C: getline -> std::getline
14089 2001-12-21 Juergen Vigna <jug@sad.it>
14091 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14092 accessed and could be 0 (I couldn't generate this but it seems
14095 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
14097 * tabular_funcs.C: add LIstream.h, move write_attribute to..
14098 * tabular_funcs.h: here and include iosfwd
14100 2001-12-20 Juergen Vigna <jug@sad.it>
14102 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14103 inside inset but undo_par was.
14105 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14107 * Thesaurus.C: always include <config.h> in sources.
14111 * box.h: do not include <config.h> in header files
14113 * text.C (paintLastRow): remove unused variable
14115 * text.C (transformChar):
14117 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14119 * Painter.C (text):
14120 * font.C (width): rewrite to use uppercase() instead of
14123 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14125 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
14127 * lyxfind.C: clean up of find failure position change
14129 2001-12-20 Juergen Vigna <jug@sad.it>
14131 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14133 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14134 (TeXRow): added to LaTeX a single tabular row.
14135 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14136 (Latex): simplified and finally good LT-h/f support.
14137 (various_functions): just small adaptions for LT-h/f support.
14139 * tabular_funcs.[hC]: added and moved here all not classfunctions
14142 2001-12-19 Juergen Vigna <jug@sad.it>
14144 * tabular.[Ch]: better support for longtabular options (not finished
14147 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14149 * text.C (paintLastRow): use the label font instead of the font of
14150 the last character to compute the size of *_BOX. This makes more
14151 sense and avoids a crash with empty paragraphs.
14152 Use Painter::rectangle to draw EMPTY_BOX.
14154 2001-12-19 Juergen Vigna <jug@sad.it>
14156 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14157 the paragraphs if the replaced paragraph is not the first one!
14158 Tried to delete not used paragraphs but does not work yet so for
14159 now it's inside #ifdef's and by default off!
14161 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14163 * MenuBackend.C: include "lyx_main.h" instead of declaring
14164 lastfiles (actually was declared as LastFiles* instead of a
14167 2001-12-17 Juergen Vigna <jug@sad.it>
14169 * tabular.C (AppendColumn): applied John's fix
14171 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14175 * BufferView_pimpl.h:
14176 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14179 * box.h: new start of class for above
14181 * lyxfunc.C: ignore space-only minibuffer dispatches.
14182 Show the command name when it doesn't exist
14184 * minibuffer.C: don't add empty lines to the history
14186 * minibuffer.C: add a space on dropdown completion
14188 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14190 * text.C: fix line above/below drawing in insets
14192 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14194 * lyxlength.C (LyXLength): Initialize private variables.
14196 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14198 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14199 when inserting error insets.
14201 2001-12-13 Juergen Vigna <jug@sad.it>
14203 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14204 actually sometimes the before-paragraph.
14205 (setUndo): don't clear the redostack if we're not actually undoing!
14207 2001-12-06 Juergen Vigna <jug@sad.it>
14209 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14210 and fixed redoing of main paragraph, so we can use it now ;)
14212 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14214 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14216 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14219 2001-12-13 André Pönitz <poenitz@gmx.net>
14222 * undo_func.C: minor cleanup
14224 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14226 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14227 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14228 font in urw-fonts package which is marked as -urw-fontspecific and
14229 does not work (incidentally, changing the encoding in the
14230 fonts.dir of this package to -adobe-fontspecific fixes the
14233 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14234 is a crash when undoing first paragraph (Juergen, please take a
14235 look). THis does not mean the undo fix is wrong, just that it
14238 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14239 the (Paragraph*) version when needed instead of duplicating the
14242 * text.C (workWidth): use Inset::parOwner to find out where the
14243 inset has been inserted. This is a huge performance gain for large
14244 documents with lots of insets. If Inset::parOwner is not set, fall
14245 back on the brute force method
14247 * paragraph_pimpl.C (insertInset):
14248 * paragraph.C (Paragraph):
14249 (cutIntoMinibuffer): set parOwner of insets when
14250 inserting/removing them
14252 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14254 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14260 * mathed/formulabase.C:
14261 * mathed/math_cursor.[Ch]:
14262 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14265 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14267 * lyxlength.[Ch] (operator!=): new function
14269 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14271 * text.C (workWidth): use Inset::parOwner to find out where the
14272 inset has been inserted. This is a huge performance gain for large
14273 documents with lots of insets. If Inset::parOwner is not set, fall
14274 back on the brute force method
14276 * paragraph_pimpl.C (insertInset):
14277 * paragraph.C (Paragraph):
14278 (cutIntoMinibuffer): set parOwner of insets when
14279 inserting/removing them
14281 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14283 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14285 * tabular-old.C (getTokenValue):
14286 * tabular.C (getTokenValue):
14287 (write_attribute): new versions for LyXLength
14288 (everywhere): adjust the use of widths
14290 * tabular.h: change the type of widths from string to LyXLength
14292 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14294 * paragraph.C: fixed missing line number count when exporting
14295 Environments to LaTeX file
14297 * buffer.C: added informational message for checking line numbers.
14299 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14301 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14302 paragraph, do the 'double space' part, but not the 'empty
14305 * text.C (workWidth): small optimization
14306 (getLengthMarkerHeight): use minimal size for negative lengths.
14308 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14310 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14312 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14314 2001-12-11 André Pönitz <poenitz@gmx.net>
14317 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14319 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14321 * text2.C: keep selection on a setFont()
14323 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14325 * lyx_cb.C: another bv->text misuse, from insert label
14327 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14330 * kbsequence.C: re-instate nmodifier mask
14332 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14334 * lyx_main.h: make lyxGUI private.
14336 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14338 * lyxfind.C: place the cursor correctly on failed search
14340 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14342 * text.C (getLengthMarkerHeight): for small heights, the arrows
14343 are not always on top/bottom of the text
14344 (drawLengthMarker): smaller arrows; take the left margin in
14345 account; draw also vfills.
14347 (paintLastRow): remove special code for vfill and standard spaces,
14348 since everything is handled in drawLengthMarker now.
14350 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14352 * buffer.C (insertErtContents): try to handle font and language
14353 interaction a bit better.g
14355 * ColorHandler.C (updateColor): change the hash to cover the whole
14356 LColor enum, ws cleanup
14357 (getGCLinepars): ditto
14358 (getGCLinepars): only lookup in the linecache once.
14360 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14362 * iterators.C (operator++): Make the iterator more robust
14364 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14366 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14368 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14371 * text.C: better added space drawing
14373 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14376 * BufferView2.C: fix layout combo update on inset unlock
14378 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14380 * Makefile.am: don't compile unused files
14382 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14386 * LyXAction.C: remove old LFUN_LAYOUTNO
14388 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14390 * paragraph_pimpl.h:
14391 * paragraph_pimpl.C: isTextAt() doesn't need font param
14393 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14396 * lyxlex.C: little cleanup
14398 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14400 * BufferView_pimpl.C: fix insertAscii for insets
14402 2001-12-05 Juergen Vigna <jug@sad.it>
14404 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14405 set the right font on the "multi" paragraph paste!
14407 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14413 * lyxlength.C: remove out-commented code.
14415 * BufferView_pimpl:
14429 * vc-backend.C: change "while(" to "while ("
14431 * lyxlength.[Ch]: add zero function to check if length is zero or
14433 * lyxgluelength.C: use it
14435 2001-12-05 Allan Rae <rae@lyx.org>
14437 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14438 Works for 2.95.3, from what I understand of Garst's reports this should
14439 work for other g++ versions. We're screwed if the abs(int) definition
14440 changed between bugfix releases of gcc.
14442 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14444 * text.C: fix chapter label offset !
14446 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14449 * text.C: fix hfill at end of line, clean up
14451 2001-12-04 Juergen Vigna <jug@sad.it>
14453 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14454 that we force an update of the inset and it's owners if neccessary.
14456 2001-12-03 Juergen Vigna <jug@sad.it>
14458 * text.C (rowLast): simplified code
14460 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14462 * lyxfunc.C: fix show options on timeout
14464 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14466 * screen.C (topCursorVisible): scroll half a page when the cursor
14467 reached top of bottom of screen
14469 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14471 * minibuffer.C: deactivate on loss of focus
14473 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14475 * vspace.[Ch] (operator!=): add operator.
14477 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14479 * BufferView_pimpl.C: refuse to open an inset when
14480 there's a selection.
14482 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14484 * BufferView_pimpl.C: allow to click on RHS of full row insets
14486 2001-11-30 Juergen Vigna <jug@sad.it>
14488 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14489 insets for undo reasons.
14491 2001-11-28 André Pönitz <poenitz@gmx.net>
14493 * vspace.[Ch]: cosmetical changes
14495 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14505 * kbsequence.C: part re-write of old kb code
14508 * WorkArea.C: remove Lgb_bug_find_hack
14510 2001-11-30 José Matos <jamatos@fep.up.pt>
14512 * buffer.C (makeDocBookFile): add a comment to point a hack.
14513 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14514 Fixed a double write of labels.
14516 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14519 * LaTeX.h Fixed bug in LaTeX class where it would not
14520 re-run latex if no depfiles were changed, but the .dvi was removed.
14522 2001-11-28 André Pönitz <poenitz@gmx.net>
14524 * all the files from the change on 2001/11/26:
14525 use lyx::layout_type instead of LyXTextClass::size_type
14526 use lyx::textclass_type instead of LyXTextClassList::size_type
14528 2001-11-29 Juergen Vigna <jug@sad.it>
14530 * text.C: added support for paragraph::isFreeSpacing()
14532 * buffer.C: same as above
14534 * paragraph.h: inserted isFreeSpacing() function to enable
14535 FreeSpacing inside InsetERT.
14537 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14538 of the paragraph's in the cut/copy buffer to 0!
14540 * text2.C (removeRow): remove the assert as it can!
14542 * lyxtext.h: added helper function firstRow returning firstrow and
14543 made firstrow private again.
14545 * BufferView2.C (lockInset): don't relock if we're already locked!
14547 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14548 the only paragraph.
14549 (removeRow): added Assert::(firstrow)
14551 * debug.C: forgot to add INSETTEXT here.
14553 2001-11-28 Juergen Vigna <jug@sad.it>
14555 * sp_spell.C (initialize): changed error text to more general
14556 spellchecker command use (not only ispell!)
14558 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14560 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14562 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14564 * vspace.C: initialise lyxgluelength on failure
14566 2001-11-28 Allan Rae <rae@lyx.org>
14568 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14569 declaration & definition that looks like a function declaration.
14571 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14573 * BufferView2.C (copy):
14574 (copyEnvironment): do not clear the selection when doing a copy.
14576 * text.C (paintFirstRow): compilation fix
14578 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14580 * tabular.C (Latex): correct line count when writing latex.
14582 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14584 * paragraph_pimpl.h:
14585 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14588 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14592 * LColor.C: change vfillline->added_space
14594 * text.C: add markers and text for added space
14596 * vspace.C: fix comment
14598 2001-11-28 André Pönitz <poenitz@gmx.net>
14600 * paragraph.C: whitespace changes
14601 * all the other files from the change on 2001/11/26:
14602 change *::pos_type into lyx::pos_type
14604 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14606 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14607 language of the document when inserting error insets.
14609 2001-11-26 André Pönitz <poenitz@gmx.net>
14611 * BufferView_pimpl.[Ch]:
14619 * paragraph_pimpl.[Ch]:
14622 * text2.C: reduce header dependencies, introduce type for positions
14624 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14626 * <various>: change to use Alert.h
14628 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14630 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14631 when encountering an unknown token.
14632 (readLyXformat2): Show an error message if there were unknown tokens.
14634 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14637 * BufferView_pimpl.C:
14641 * text2.C: use par->isInset()
14643 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14645 * paragraph_pimpl.h:
14646 * paragraph_pimpl.C: cleanup
14648 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14650 * text2.C (removeRow):
14651 * text.C (setHeightOfRow): remove useless (and costly) call to
14654 2001-11-20 Allan Rae <rae@lyx.org>
14656 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14657 Now need Inset*::checkInsertChar() to return true for appropriate
14658 cases so that the characters in the minibuffer will actually be
14661 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14663 * text.C: change the order of the includes.
14664 (workWidth): initialize it at once.
14665 (workWidth): make maxw unsigned
14666 (setHeightOfRow): remove unused variable (inset)
14667 (selectSelectedWord): remove unused variable (inset)
14668 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14670 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14672 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14673 server is not running.
14675 (closeConnection): add debug info when server is disabled.
14677 * ColorHandler.C (getGCForeground): send debug message to GUI
14680 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14682 * kbmap.C (bind): modify because return conventions of
14683 kb_sequence::parse have changed.
14685 * kbsequence.C (parse): only ignore spaces and not any stupid
14686 control character. This avoids tests like s[i] <= ' ', which are
14687 guaranteed to fail with 8bit characters and signed chars.
14688 Change return code to string::npos when there have been no error
14689 (0 was a bad idea when error is at first character)
14691 2001-11-14 José Matos <jamatos@fep.up.pt>
14694 * buffer.C (simpleDocBookOnePar): removed unused argument.
14696 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14698 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14699 insets which are part of a word. Paragraph::isLetter takes care of
14700 that now. Use Paragraph::isInset to identify insets.
14701 (selectSelectedWord): do not test for hyphenation break.
14703 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14704 that protected spaces are considered as spaces.
14706 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14709 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14712 * lyxserver.C: fix it. and small cleanup.
14714 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14716 * BufferView_pimpl.C: use inline helpers
14719 * LaTeXFeatures.C: fix typos
14722 * Spacing.C: move spacing_string into class
14724 * ToolbarDefaults.C: move stuff into namespace anon
14726 * layout.h: update enum
14728 * lyxfunc.C: use better debug
14730 * minibuffer.h: fix typo
14734 * WorkArea.C: add and use Debug::WORKAREA
14738 * text2.C: code re-organisation, inline helpers
14740 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14742 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14743 std::vector.empty().
14745 2001-11-09 Allan Rae <rae@lyx.org>
14747 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14748 '\n's after tables. Tabular and ERT inset work now makes this no
14751 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14754 * minibuffer.C: fix crash, improve drop-down completion
14756 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14759 * lyxserver.C: invalidate fd's when doing endPipe()
14761 2001-11-08 José Matos <jamatos@fep.up.pt>
14763 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14764 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14767 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14769 2001-11-07 José Matos <jamatos@fep.up.pt>
14772 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14775 * buffer.C (sgmlOpenTag):
14776 * buffer.C (sgmlCloseTag): removed debug info.
14778 * buffer.h (sgmlOpenTag):
14779 * buffer.h (sgmlCloseTag): made public.
14781 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14783 * buffer.C (saveParamsAsDefaults):
14784 * lyx_cb.C (MenuLayoutSave): remove
14786 * LyXAction.C (init):
14788 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14790 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14792 * buffer.C (setPaperStuff): removed from here...
14794 * bufferparams.C (setPaperStuff): ... and moved there.
14796 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14800 * XFormsView.C: add support for drop-down completion
14802 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14804 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14807 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14809 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14812 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14814 * lyx_main.C: change ref to known bugs
14816 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14818 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14819 to work around older babel problems.
14821 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14823 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14825 2001-10-24 Juergen Vigna <jug@sad.it>
14827 * tabular-old.C (ReadOld): below variable changes reflected.
14829 * tabular.[Ch]: added ltType struct for longtable header/footer
14830 defines and changed all instances where they are used. Added
14831 future support for double top/bottom rows.
14833 2001-10-24 José Matos <jamatos@fep.up.pt>
14835 * buffer.h (docbookHandleCaption):
14836 * buffer.C (docbookHandleCaption): removed unused function.
14837 (makeDocBookFile): moved docbook supported version to v4.1.
14839 2001-10-24 José Matos <jamatos@fep.up.pt>
14842 * tabular.C (docbookRow): new function to export docbook code of a row.
14843 (DocBook): now honors the longtable flags.
14845 2001-10-23 José Matos <jamatos@fep.up.pt>
14848 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14849 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14851 * buffer.C (makeLinuxDocFile):
14852 (makeDocBookFile): reworked the preamble, more clean, and with
14853 support for lyx defined entities. Changed the document declaration
14854 to be more XML friendly.
14856 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14857 if we need to output XML that should be done with a filter.
14859 2001-10-22 Juergen Vigna <jug@sad.it>
14861 * sp_pspell.h (class PSpell): add alive function needed in the
14862 controller to see if the spellchecker could be started.
14864 2001-10-22 Juergen Vigna <jug@sad.it>
14866 * buffer.C (insertStringAsLines): modify the font for inserting
14867 chars in certain conditions by calling checkInsertChar(font).
14869 2001-10-19 Juergen Vigna <jug@sad.it>
14871 * text.C (workWidth): use getRow instead of wrong algorithm.
14872 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14874 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14879 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14881 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14883 * text.C (workWidth): do not search for the exact row when
14884 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14885 optimization for big documents.
14887 2001-10-18 Juergen Vigna <jug@sad.it>
14889 * text.C (workWidth): new function with added Inset * parameter.
14891 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14893 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14895 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14896 change return type of getColumnNearX.
14899 * text.C (changeRegionCase): use uppercase/lowercase instead of
14902 (rightMargin): simplify code by factoring out the uses of
14907 (appendParagraph): use Paragraph::size_type
14909 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14911 * vspace.C (asLatexString): add a missing break
14913 2001-10-15 Herbert Voss <voss@perce.de>
14915 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14917 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14919 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14922 2001-10-10 André Pönitz <poenitz@gmx.net>
14924 * lyxfunc.C: removed greek_kb_flag.
14926 2001-10-10 Herbert Voss <voss@perce.de>
14928 * lyx_main.C: delete global string help_lyxdir.
14930 2001-10-09 Herbert Voss <voss@perce.de>
14932 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14934 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14936 * lyx_main.C: added global string help_lyxdir.
14938 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14940 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14942 * lyxrc.C (set_font_norm_type): support iso8859-4
14944 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14946 * LaTeX.C (deplog): add another regex for MikTeX
14948 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14950 * lyxrc.C (set_font_norm_type): support iso8859-3
14952 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14954 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14956 * LaTeXFeatures.C: remove special case of french and index
14958 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14959 before \begin{document}). This solves several incompatibilities.
14961 2001-10-03 Garst Reese <reese@isn.net>
14963 * lyx_cb.C: change CheckTex error msg.
14965 2001-10-03 José Matos <jamatos@fep.up.pt>
14967 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14969 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14971 * .cvsignore: update
14973 * lyx_main.C (commandLineVersionInfo): use new style version info.
14975 * buffer.C (writeFile):
14977 (makeLinuxDocFile):
14978 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14980 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14982 * version.h: update to use stuff in version.C
14984 * version.C.in: new file. Contains version information determined
14985 at compile time. This is a merging of version.h and
14988 2001-10-03 Juergen Vigna <jug@sad.it>
14990 * BufferView_pimpl.C (update): don't change "dirty" status in
14993 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14995 * WorkArea.C (c-tor): re-position version string slightly.
14997 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14999 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15000 revert to previous code.
15002 WorkArea.[Ch]: (show, destroySplash): methods removed.
15004 WorkArea.C: rework code so that it's an amalgam of the codes before and
15005 after the splash screen was moved to WorkArea.
15007 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15010 * vspace.C (inPixels):
15013 * buffer.C (insertStringAsLines):
15014 (asciiParagraph): fix types to be large enough
15016 * lyxlex_pimpl.h: change member status from short to int
15018 * layout.h: fix type of endlabeltype
15021 * kbsequence.C (parse): change return type to string::size_type
15023 * LaTeX.C (updateBibtexDependencies): comment out unneeded
15026 * Bullet.C (bulletSize):
15027 (bulletEntry): do not use short ints as parameters
15029 * BufferView2.C (insertLyXFile): change a char to an int.
15031 * WorkArea.C (WorkArea): remove unneeded floats in computation
15033 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
15035 * buffer.C (asciiParagraph): Treat '\\' as other chars.
15037 * paragraph.C (asString): Do not ignore newline/hfill chars when
15038 copying to the clipboard.
15040 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
15042 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15043 after a multi-line inset.
15045 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
15047 * paragraph.C (validate): Set NeedLyXFootnoteCode
15049 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15051 * lyxfont.C (LyXSizeNames): changed increase-error to increase
15052 and decrease-error to decrease.
15054 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15056 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15057 it more readable (should be equivalent)
15059 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
15061 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15063 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15065 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15066 of a cursor (row, etc.) after a character has been deleted
15067 (deleteEmptyParagraphMechanism): call the method above on _all_
15068 cursors held by the LyXText when a double space has been
15071 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
15073 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15075 (resizeCurrentBuff): remove code to destroy the old splash dialog.
15077 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15078 background. Use greyOut() and the new show() methods to toggle between
15079 the foreground and background. Add code to remove the splash after
15080 its initial showing.
15082 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15083 (create_forms): no longer call Dialogs::showSplash.
15085 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15087 * .cvsignore: add version_info.h
15089 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15091 * version_info.h.in: new file
15093 * Makefile.am: add version_info.h.in
15095 * lyx_main.C (commandLineVersionInfo): use version_info defined in
15096 version_info.h instead of VERSION_INFO
15098 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
15100 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15101 The ERT inset now returns string().
15103 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
15105 * lyxtext.h, text.C (selectNextWord): renamed as
15106 selectNextWordToSpellcheck.
15108 * text.C (selectNextWordToSpellcheck): Modified to not select
15109 words inside an ERT inset.
15111 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15113 * lyx_cb.C (MenuLayoutSave): change a bit the question
15115 * sp_base.h: include <sys/types.h>
15117 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
15119 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15121 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
15123 * several files: fix typos in user-visible strings
15125 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15127 * text2.C (pasteSelection): do not set the selection, since it
15128 will be cleared later. Actually, the intent was to fix the way the
15129 selection was set, but I figured rmoving the code was just as good.
15131 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15133 * FontLoader.C (available): Check if font is available without
15136 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15138 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15140 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15142 * lyxrc.[Ch]: added display_graphics variable and associated code.
15144 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15146 * bufferparams.C (hasClassDefaults): new method. Returns true if
15147 the buffer parameters correspond to known class defaults
15149 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15151 * XFormsView.C (show): set minimum size to the main window.
15153 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15155 * text2.C (copySelection):
15157 * lyxfind.C (LyXReplace):
15158 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15159 LyXText::selectionAsString.
15161 * paragraph.C (asString): add "label" argument to the second form
15163 * text2.C (selectionAsString): add "label" argument and pass it to
15164 Paragraph::asString.
15166 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15168 * lyx_main.C (commandLineHelp): remove version information
15170 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15172 * lyx_main.C: add -version commandline option
15174 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15176 * paragraph.h: make the optional constructor arg required instead.
15177 some modifications to other files because of this.
15179 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15181 * lyxserver.C (C_LyXComm_callback): make it static
15183 * lyx_main.C (error_handler): make it static
15185 * lyx_gui.C (LyX_XErrHandler): make it static
15187 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15189 * WorkArea.C: make the extern "C" methods static.
15191 * Makefile.am (lyx_LDADD): simplify
15193 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15195 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15196 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15198 * LyXAction.C (init):
15199 * lyxfunc.C (dispatch): associated code removal.
15201 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15203 * lyxfont.h (isSymbolFont): shut off warning
15205 * text.C (setHeightOfRow):
15206 (getVisibleRow): fix crash with empty paragraphs which have a
15209 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15211 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15214 2001-09-04 José Matos <jamatos@fep.up.pt>
15217 * tabular.C (docbook): rename docBook method to docbook.
15219 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15221 * Makefile.am: add dependencies to main.o.
15223 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15225 * FontLoader.C (available): Return false if !lyxrc.use_gui
15227 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15229 * FontInfo.C (query):
15230 * converter.C (view):
15231 * importer.C (Import):
15232 * exporter.C (Export): Can not -> cannot.
15234 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15236 * BufferView_pimpl.C: allow to create index inset even if
15239 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15241 * buffer.C (getLists): replace boost::tie code with an explicit pair
15242 as boost::tie can break some compilers.
15244 * iterators.h: Added a std:: declaration to the return type of
15247 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15249 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15252 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15254 * iterators.[Ch]: New files. Provide paragraph iterators.
15256 * buffer.C (changeLanguage): Use paragraph iterators.
15257 (isMultiLingual): ditto
15259 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15261 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15263 * FontLoader.C: Support for cmr font.
15265 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15267 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15268 (available): New method.
15270 * FontInfo.C (getFontname): Use scalable fonts even when
15271 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15274 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15276 * converter.C (Formats::view): reverted! Incorrect fix.
15278 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15280 * converter.C (Formats::view): only output the -paper option
15281 if the dvi viewer is xdvi, thereby fixing bug #233429.
15283 2001-08-23 Herbert Voss <voss@perce>
15285 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15287 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15289 * Spacing.h (Spacing): Set space to Default on in the default
15292 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15294 * vc-backend.h (RCS::versionString): add RCS to version
15295 (CVS::versionString): add CVS to version
15297 * vc-backend.C (scanMaster): do not add CVS to version.
15298 (scanMaster): do not add RCS to version
15300 * lyxvc.C (versionString): new method
15302 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15304 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15306 * Spacing.C (set): initialize fval
15308 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15310 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15313 2001-08-16 Juergen Vigna <jug@sad.it>
15315 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15317 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15319 * BufferView_pimpl.C:
15322 * text2.C: setParagraph takes linespacing now
15324 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15326 * LyxAction.C: add internal LFUN_CITATION_INSERT
15328 * LyXView.C: actually apply fix
15330 * bufferlist.C: fix open non-existent file
15332 * lyxfind.C: fix indentation
15334 * lyxfunc.C: remove unneeded assert, fix typo
15336 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15338 * MenuBackend.C: use "Floatname List"
15340 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15342 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15343 when converting LaTeX layout to insetERT.
15344 Generate a non-collapsed float when reading old float
15346 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15348 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15351 2001-08-13 Juergen Vigna <jug@sad.it>
15353 * text.C (fill): return 0 instead of 20 as this seems to be the more
15356 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15358 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15361 2001-08-13 Juergen Vigna <jug@sad.it>
15363 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15365 (SearchBackward): comment out the unlocking of the inset_owner this
15366 should not be needed!
15368 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15370 * Many files: Remove inherit_language, and add latex_language
15372 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15373 collapsible insets.
15375 2001-08-10 Juergen Vigna <jug@sad.it>
15377 * text.C (prepareToPrint): fixed hfill-width in draw!
15379 * BufferView2.C (selectLastWord): save the selection cursor as this
15380 now is cleared in the function LyXText::clearSelection!
15382 2001-08-08 Juergen Vigna <jug@sad.it>
15384 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15385 BACKSPACE type functions.
15387 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15388 is only cutted from the document but not put in the cut-buffer, where
15389 still the old stuff should be.
15391 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15393 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15395 * tabular.C (SetWidthOfCell): fixed special case where the width
15397 (LeftLine): handle '|' in align_special.
15399 (LeftAlreadyDrawed): ditto
15400 (SetWidthOfCell): ditto
15402 2001-08-07 Juergen Vigna <jug@sad.it>
15404 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15406 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15408 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15409 * lyxlex.[hC]: ditto
15411 2001-08-06 Juergen Vigna <jug@sad.it>
15413 * text.C (getVisibleRow): fix up row clearing a bit.
15415 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15417 * minibuffer.C: make sure the X server sees the changes in the input.
15419 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15421 * paragraph.C (getFont): split into...
15422 (getLabelFont): this
15423 (getLayoutFont): and this
15424 * paragraph_pimpl.C (realizeFont): calling this
15426 * text2.C (getFont): split into...
15427 (getLayoutFont): this
15428 (getLabelFont): and this
15429 (realizeFont): all three calling this
15431 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15434 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15436 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15438 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15440 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15441 layouts from the Quote inset insertion.
15443 2001-08-03 Juergen Vigna <jug@sad.it>
15445 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15447 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15448 only if status not is already CHANGED_IN_DRAW (second level).
15450 * text.C (draw): don't set the need_break_row when inside an
15453 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15455 * buffer.C (parseSingleLyXformat2Token): handle more latex
15458 * bufferview_funcs.[hC]: change function names to
15459 begin with small char, adjust other files.
15461 2001-08-02 André Pönitz <poenitz@gmx.net>
15464 BufferView_pimpl.C: remove broken special code for math-greek
15466 2001-08-02 Juergen Vigna <jug@sad.it>
15468 * BufferView_pimpl.C (update): redone this function so that we
15469 update the text again if there was a CHANGE_IN_DRAW.
15471 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15472 (drawFromTo): added a new internal bool which is used by draw() and
15474 (general): some cursor drawing problems fixed.
15476 2001-08-01 Juergen Vigna <jug@sad.it>
15478 * lyxfind.C (LyXFind): fixed
15479 (SearchForward): ditto
15480 (SearchBackward): ditto
15482 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15483 spurius drawing of the cursor in the main area.
15485 * text2.C (status): small fix which could lead to a segfault!
15486 (clearSelection): remove unneeded BufferView param.
15488 2001-08-01 André Pönitz <poenitz@gmx.net>
15490 * lyxfunc.C: small change due to changed mathed interface
15492 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15494 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15496 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15498 * lyxfunc.c: fail gracefully if file doesn't exist
15503 * BufferView_pimpl.C: IsDirWriteable() proto changed
15505 * LyXView.C: fix updateWindowTitle() to store the last title
15507 2001-07-31 Juergen Vigna <jug@sad.it>
15509 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15510 the font (wrong since using of Paragraph::highestFontInRange).
15512 * paragraph.C (highestFontInRange): added a default_size parameter.
15514 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15515 (setHeightOfRow): reformat
15517 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15519 * converter.[hC] + affected files: move to (inital-char)lowercase
15522 * ParagraphParameters.C (ParagraphParameters): remove commented code
15524 * PainterBase.[Ch]: remove commented code
15526 * LaTeXFeatures.h: add "bool floats" for float.sty
15528 * LaTeXFeatures.C (LaTeXFeatures): init floats
15529 (require): handle float
15530 (getPackages): do it with floats
15532 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15534 * BufferView_pimpl.C (Dispatch): improve handling of
15535 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15537 * commandtags.h: #include lyxfont.h here temporarily to avoid
15540 * bufferlist.h: include LString.h here.
15542 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15544 * text2.C (getStringToIndex): new method.
15546 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15548 * *: Reduced header file dependencies all over.
15550 2001-07-30 Baruch Even <baruch@lyx.org>
15552 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15554 2001-07-29 Baruch Even <baruch@lyx.org>
15556 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15558 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15560 * ParameterStruct.h (endif): add a default constructor to make
15561 sure that all variables is initialized.
15563 * ParagraphParameters.C (ParagraphParameters): adjust
15565 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15567 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15568 index; also, check that there is something to index, and that it
15569 does not span over several paragraphs.
15570 (doubleClick): use WHOLE_WORD_STRICT for double click.
15572 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15574 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15577 2001-07-26 Baruch Even <baruch@lyx.org>
15579 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15580 an InsetFig figure, backwards compatible reading of old figure code.
15582 2001-07-27 Juergen Vigna <jug@sad.it>
15584 * text2.C: font.realize function adaption.
15586 * text.C (draw): add a warnings lyxerr text if needed.
15588 * layout.C: font.realize function adaption.
15590 * language.C: add inherit_language and implement it's handlings
15592 * bufferview_funcs.C (StyleReset): remove language parameter from
15593 font creation (should be language_inherit now).
15595 * bufferparams.C (writeFile): handle ignore_language.
15597 * paragraph.C (getFontSettings): the language has to be resolved
15598 otherwise we have problems in LyXFont!
15600 * lyxfont.C (lyxWriteChanges): added document_language parameter
15601 (update): removed unneeded language parameter
15603 * paragraph.C (validate): fixed wrong output of color-package when
15604 using interface colors for certain fonts in certain environments,
15605 which should not seen as that on the final output.
15607 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15609 * BufferView_pimpl.C:
15614 * LyXAction.C: add thesaurus support
15617 * lyxfind.C: add "once" parameter, for thesaurus, to not
15618 move to the next match
15620 2001-07-26 Juergen Vigna <jug@sad.it>
15622 * lyxfont.C (realize): honor ignore_language too!
15625 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15627 * text.C (draw): one place more for ignore_language to not draw
15630 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15632 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15634 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15636 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15637 the minipage conversion problem.
15639 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15641 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15644 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15646 * BufferView.h: don't forward declare WorkArea
15648 * BufferView.C: don't include WorkArea.h
15650 2001-07-25 André Pönitz <poenitz@gmx.net>
15654 * lyxfunc.C: new LFUN 'math-space'
15656 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15658 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15660 * text2.C (toggleInset): call open/close
15662 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15664 * lyxfunc.C (dispatch): add debug for the disabled case
15666 * font.C (buttonText): make similar to rectText
15668 * buffer.C (readInset): comment out parsing of insetlist and
15671 * PainterBase.C (rectText): small correction
15673 * BufferView_pimpl.C: comment out insettheorem and insetlist
15674 * LyXAction.C: ditto
15675 * commandtags.h: ditto
15677 2001-07-24 Juergen Vigna <jug@sad.it>
15679 * text.C (draw): honor the ignore_language.
15681 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15683 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15685 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15688 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15690 * lyxtext.h: remove unused (and unimplemented) methods
15692 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15694 * text.C (getVisibleRow): honor background color
15697 * Painter.h: remove default color argument for fillRectangle
15699 * text.C (backgroundColor): new method
15701 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15703 * text.C (getVisibleRow): adjust
15705 * font.[Ch] (rectText): new method, metrics
15706 (buttonText): new method, metrics
15708 * PainterBase.[hC]: make rectText and buttonText always draw and take
15711 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15713 * ToolbarDefaults.C (read):
15714 * MenuBackend.C (read): allow escaping in all strings
15716 * BufferView_pimpl.C (insertAndEditInset): new method.
15717 (Dispatch): use insertAndEditInset whenever appropriate.
15719 * BufferView_pimpl.C (insertNote): removed
15721 * BufferView_pimpl.C (smartQuote): new method, moved from
15722 BufferView; if an insetquote cannot be inserted, insert a '"'
15725 * BufferView2.C: remove insertCorrectQuote();
15727 * lyxfunc.C (getStatus): Add support for all remaingin
15728 inset-insert lfuns.
15730 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15732 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15733 command (necessary to pass " as parameter of self-insert.
15735 * text.C (selectWordWhenUnderCursor):
15736 (selectWord): add word_location parameter
15737 (selectWordWhenUnderCursor): same + remove special code for word
15739 (selectNextWord): use kind() to guess type of insetspecialchar,
15742 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15743 (insertErtContents): create ert insets as collapsed.
15744 (readInset): better compatibility code for Info inset.
15746 2001-07-20 Juergen Vigna <jug@sad.it>
15748 * lyxfunc.C (dispatch): use always LyXFind now!
15750 * text2.C (init): add a reinit flag so that the LyXText can be
15751 reinited instead of deleted and reallocated (used in InsetText).
15753 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15759 2001-07-18 Juergen Vigna <jug@sad.it>
15761 * text.C (selectNextWord): handle insets inside inset by calling
15762 always the bv->text functions so that we can go up the_locking_inset!
15764 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15765 in strange locations when inside an inset!
15767 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15768 handling to include insets.
15770 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15772 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15774 * LyXAction.C (init):
15776 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15777 LIGATURE_BREAK, since the name is so stupid.
15779 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15781 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15784 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15786 * sp_form.[Ch]: remove.
15788 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15790 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15793 * src/buffer.C (readInset): ditto.
15795 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15797 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15798 menuSeparator(), endOfSentenceDot(), ldots() and
15799 hyphenationPoint(), which are therefore removed.
15800 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15802 * LyXAction.C (init):
15803 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15805 * paragraph.C (getWord): removed.
15807 * BufferView_pimpl.C (Dispatch): use last word or selection for
15808 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15810 * lyx_main.C (queryUserLyXDir): do not ask before creating
15811 user_dir, except if it has been named explicitely.
15813 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15815 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15816 a document of zero size.
15818 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15820 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15821 approriately in the c-tor and in require().
15822 (getPackages): output the appropriate LaTeX for natbib support.
15824 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15825 variables "use_natbib" and "use_numerical_citations" when reading the
15827 (readInset): read the various natbib cite commands.
15828 (validate): white-space change.
15830 * bufferparams.[Ch]: new variables "bool use_natbib" and
15831 "bool use_numerical_citations".
15832 (writeFile): output them in the LyX file.
15834 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15836 * lyxfunc.C (getStatus): add support for all the inset insertion
15839 * text2.C (insertInset):
15840 * paragraph.C (insetAllowed):
15841 * BufferView_pimpl.C (insertInset): update to take in account the
15842 renaming of insertInsetAllowed
15844 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15846 * text2.C (getInset): new method. returns inset at cursor position.
15848 * BufferView_pimpl.C (Dispatch): changes because of this.
15850 * LyXAction.C (init): rename open-stuff to inset-toggle.
15852 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15854 * text2.C (toggleInset): renamed from openStuff; use
15857 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15859 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15861 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15863 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15865 * buffer.C (readLyXformat2): Add filename to the error dialog
15867 2001-07-18 Juergen Vigna <jug@sad.it>
15869 * tabular.C (GetCellNumber): put an assert here instead of the check!
15871 2001-07-17 Juergen Vigna <jug@sad.it>
15873 * BufferView_pimpl.C (toggleSelection): adapted too.
15875 * text.C (selectNextWord): adapted for use with insets.
15876 (selectSelectedWord): ditto
15878 2001-07-17 Juergen Vigna <jug@sad.it>
15880 * sp_spell.C (PSpell): fix initialitation order.
15882 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15884 * paragraph.C: spacing
15886 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15888 * sp_spell.C: repair language selection for pspell
15890 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15892 * lyxfunc.h: change more methods to begin with lower char.
15894 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15896 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15897 for unknown layouts.
15899 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15901 * buffer.C (readLyXformat2): Generate an error dialog if there are
15904 2001-07-16 Juergen Vigna <jug@sad.it>
15906 * sp_spell.C: always compile ISpell part.
15908 * lyxrc.C: added use_pspell entry and it's handling.
15910 2001-07-13 Juergen Vigna <jug@sad.it>
15912 * sp_spell.C: removed double includes.
15914 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15916 Consistent use of Lsstream.h:
15917 * Lsstream.h: added using std::stringstream for consistencies sake.
15919 * buffer.C: removed using std::stringstream
15921 * lyxfont.C (stateText):
15922 * paragraph.C (asString):
15923 * text.C (selectNextWord, selectSelectedWord):
15924 * text2.C (setCounter):
15925 * vspace.C (asString, asLatexString):
15926 std::ostringstream -> ostringstream.
15928 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15930 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15931 * commandtags.h: add LFUN_HELP_ABOUTLYX
15932 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15934 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15936 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15938 * lyx_gui_misc.C: remove spellchecker
15939 * lyxfunc.C: showSpellchecker
15941 * sp_ispell.h: added
15942 * sp_pspell.h: added
15943 * sp_spell.C: added
15944 * sp_form.[Ch]: removed
15945 * spellchecker.[Ch]: removed
15947 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15949 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15951 (simpleTeXSpecialChars): Simply print the input character without
15952 any special translation if pass_thru is set.
15954 * layout.h: Added bool pass_thru to layout class for being able to
15955 implement pass through of a paragraph for Literate Programming.
15957 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15958 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15959 * layout.C (Read): add "passthru" to list of layout tags and add
15960 code to set the pass_thru boolean when it is read.
15962 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15964 * trans_decl.h: remove allowed from KmodInfo
15966 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15967 remove allowed code
15970 * paragraph_pimpl.C (erase): use boost::prior
15972 * Painter.C (text): use data() instead of c_str() when length is
15974 * WorkArea.C (putClipboard): ditto
15975 * font.h (width): ditto
15977 * BufferView2.C: use it-> instead of (*it). for iterators
15979 * paragraph_pimpl.C: ditto
15980 * paragraph.C: ditto
15981 * minibuffer.C: ditto
15982 * language.C: ditto
15984 * encoding.C: ditto
15985 * counters.C: ditto
15986 * converter.C: ditto
15988 * Variables.C: ditto
15989 * TextCache.C: ditto
15990 * MenuBackend.C: ditto
15991 * LyXAction.C: ditto
15993 * FloatList.C: ditto
15994 * DepTable.C: ditto
15995 * ColorHandler.C (LyXColorHandler): ditto
15997 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15999 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16001 * text2.C (openStuff): reintroduce this method (which had been
16002 nuked in NEW_INSETS frenzy).
16004 * lyxfunc.C (Dispatch): when an action has not been handled, use
16005 its name in the error message, not its number.
16007 * paragraph.C (inInset): change method name to begin with lowercase.
16010 * text2.C: updates because of this.
16012 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16014 * ToolbarDefaults.C (add): add spaces in error message
16016 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16018 * buffer.C (readLyXformat2): initialize the ert comp. variables.
16019 (readLyXformat2): rename return_par to first_par, use lyxlex's
16020 pushToken and remove the manual push handling.
16021 (parseSingleLyXformat2Token): add another ert comp. variable:
16022 in_tabular, rename return_par to first_par. handle newlines better
16024 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16026 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16028 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16030 * text2.C (getParFromID): removed
16032 * buffer.C (getParFromID): new method moved form lyxtext.
16033 * BufferView2.C (insertErrors): adjust
16034 (setCursorFromRow): adjust
16035 * BufferView_pimpl.C (restorePosition): adjust
16036 * lyxfunc.C (Dispatch): adjust
16037 * undo_funcs.C (textUndo): adjust
16039 (textHandleUndo): adjust
16040 (textHandleUndo): adjust
16042 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16044 * buffer.C: up' the LYX_FORMAT
16046 * lyxfont.h: turn NO_LATEX on as default
16048 * buffer.C (insertErtContents): new methods of tex style compability.
16049 (parseSingleLyXformat2Token): use it several places.
16050 * tabular.C (OldFormatRead): and here
16052 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
16054 * text2.C: remove some commented code.
16057 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16058 * trans.C: changes because of the above.
16060 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
16062 * text2.C (setCounter): Fix counters bug with bibliography layout.
16064 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16066 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16067 own member functions
16068 (simpleTeXSpecialChars): ditto
16070 2001-07-06 Juergen Vigna <jug@sad.it>
16072 * a lot of files: changed the access to LyXText::status and the
16073 call of undo-functions.
16075 * undo.[Ch]: added a inset_id to the undo informations.
16077 * undo_funcs.[Ch]: added and moved here all undo functions.
16079 * lyxtext.h: give the status enum a weight, made status_ a private
16080 variable and made accessor functions for it, removed the whole bunch
16081 of undo-functions as they are now in their own file, make some
16082 functions publically available. Added function ownerParagraph with
16085 * paragraph.[Ch]: added "bool same_ids" to the constructor,
16086 made InInset() a const function, added getParFromID() function.
16088 * buffer.[Ch]: added const version for inset_iterator functions,
16089 added getInsetFromID() function.
16091 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16092 changed undo functions for new version.
16094 2001-07-05 Juergen Vigna <jug@sad.it>
16096 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16097 unknow mechanism does not call the proper constructor but only this
16098 one also if I request the other!?
16100 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16102 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16104 * text2.C (LyXText): use initialization lists.
16106 * lyxtext.h (Selection): initialize set_ and mark_
16107 (init): remove method
16109 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
16111 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16113 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16115 * screen.[Ch]: change method names to begin with lowercase
16117 * BufferView_pimpl.C (updateScrollbar): simplify further and
16118 hopefully make it a bit faster.
16120 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16122 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16123 calling directly xforms functions.
16125 * Painter.C (Painter):
16126 * lyx_cb.C (MenuWrite):
16127 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16130 * lyx_gui.C: remove bogus guiruntime extern declaration.
16132 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16134 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16136 (redoDrawingOfParagraph): ditto
16137 (redoParagraphs): ditto
16138 (cutSelection): don't create a object for CutAndPaste use the
16139 static method directly
16140 (pasteSelection): ditto
16142 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16145 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16147 * modifications to some other files because of this.
16149 * Makefile.am (lyx_SOURCES): add XFormsView
16151 * XFormsView.[Ch]: new files
16153 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16154 the main window. Move the gui dependent stuff to XFormsView
16156 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16158 * tabular.C (GetCellInset): update cur_cell also in the row/col
16159 version of this function.
16161 * lyxfunc.C: no need to include figure_form.h here.
16167 * lyxvc.C: no need to include forms.h here.
16169 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16171 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16173 * lyxfunc.C (Dispatch):
16175 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16176 constructor argument.
16178 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16180 * paragraph.C (Paragraph): dont't clear, and just set layout.
16181 (makeSameLayout): use params's copy contructor.
16183 * ParagraphParameters.[Ch] (makeSame): delete method
16185 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16187 * Variables.[Ch]: fix indentation, rename set to isSet
16189 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16191 * lyxfunc.C (Dispatch): fix typo
16193 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16195 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16198 * bufferlist.C: include assert.h for emergencyWrite().
16200 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16202 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16203 give up at last (bug #425202) !
16205 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16211 * spellchecker.C: strip spellchecker options and bring up
16212 preferences tab instead
16214 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16216 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16217 the istringstream constructor
16219 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16221 * paragraph.C (getLayout): fix return value
16223 * paragraph.h: do not declare getLayout as inline.
16225 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16227 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16229 * lyxcursor.h (operator<): new func
16230 (operator>): new func
16231 (operator>=): new func
16232 (operator<=): new func
16234 * text.C (changeCase): use selection.start and selection.end
16235 (changeRegionCase): require from to be <= to. Require par to be a
16238 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16240 2001-06-27 Juergen Vigna <jug@sad.it>
16242 * text.C (cursorLeftOneWord): changed to return the cursor and added
16243 overlay with BufferView * parameter which calls this one.
16245 (selectWord): use new getWord function.
16246 (changeCase): renamed from changeWordCase as and extended to work
16247 also on selections.
16249 * lyxtext.h: added enum word_location
16251 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16252 changeCase as this operates now also on selections.
16254 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16256 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16258 * many files: send debug output to Debug::INFO instead of
16261 * converter.C (View):
16263 (Move): send debug output to Debug::FILES instead of console.
16265 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16267 * lyxfunc.C (getStatus): use func_status
16269 * func_status.h: new header, describing the results of
16270 LyXFunc::getStatus;
16272 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16275 2001-06-25 The LyX Project <jug@sad.it>
16277 * buffer.C (sgmlOpenTag):
16279 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16281 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16283 * text2.C: remove some dead code
16285 * tabular.C (GetCellInset): store the last cell checked (gotten)
16287 * tabular.h: add the helper for the speedup
16289 * lyxtext.h: remove some dead code
16291 2001-06-26 The LyX Project <Asger>
16293 * paragraph.C: Change export to LaTeX of alignment to
16294 \begin{center} and family for better roundtrip work with reLyX.
16296 * Tune the math drawing a bit.
16298 2001-06-25 The LyX Project <Asger>
16300 * LColor.C (LColor): New color for math background. New color
16303 2001-06-25 The LyX Project <jug@sad.it>
16305 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16307 * lyxfunc.C (Open):
16308 * bufferlist.C (newFile): do not restrict to files ending with
16311 * BufferView_pimpl.C (MenuInsertLyXFile):
16313 2001-06-24 The LyX Project <jug@sad.it>
16315 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16318 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16320 * lyxtext.h: rename most methods to begin with a small char.
16321 Lots of changes because of this.
16323 * paragraph.C (Paragraph): do not call fitToSize
16324 (erase): call Pimpl::erase
16325 (insertChar): call Pimpl::insertChar
16326 (insertInset): call Pipl::insertInset
16327 (breakParagraph): do not call fitToSize
16328 (breakParagraphConservative): do not call fitToSize
16329 (fitToSize): remove method
16331 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16333 2001-06-24 The LyX Project <Asger>
16335 * Fix Qt compilation^2
16337 2001-06-24 The LyX Project <jug@sad.it>
16339 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16340 depthHook(getDepth()-1).
16343 * ParagraphParameters.h:
16344 * ParameterStruct.h: change type of depth to unsigned int ==
16345 depth_type. Many adaptations to other files before of that.
16347 2001-06-24 The LyX Project <Asger>
16349 * Fix Qt compilation.
16351 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16353 * paragraph.h: renamed several methods to begin with small letter.
16354 several changes to many parts of the code because of this.
16356 2001-06-23 The LyX Project <jug@sad.it>
16358 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16359 rewritten to discard all double spaces when KeepEmpty is off
16360 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16361 to only handle newlines but not fiddle with spaces and friends.
16363 * lyxfunc.C (MenuNew): when doing 'new from template', use
16364 template_path as default directory
16366 2001-06-23 The LyX Project <Asger>
16368 * Clean-up of header file includes all over
16369 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16371 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16373 * paragraph.h: renamed from lyxparagraph.h
16375 2001-06-23 Asger <lyx@violet.home.sad.it>
16377 * Buffer.h: Removed Buffer::resize
16378 * BufferList.h: Removed BufferList::resize
16379 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16380 the document lazily when we change the width, or the font settings.
16382 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16384 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16386 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16388 * buffer.h: remove out of date comment
16390 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16393 * screen.C: fix "theoretical" GC leak
16395 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16397 * LaTeX.C (scanAuxFile):
16398 (deplog): remove trailing \r when reading stream (useful under
16401 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16403 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16404 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16405 and BufferView::theLockingInset(Inset*), so should use them and not
16406 access bv_->text->the_locking_inset directly.
16408 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16410 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16413 * tex-defs.h: remove old unused file
16415 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16417 * BufferView_pimpl.C: fix typo, remove minibuffer message
16418 when buffer has loaded
16420 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16422 * lyxfunc.C (Dispatch): use stringstream
16423 (MenuNew): use stringstream
16424 (Open): use stringstream
16426 * importer.C (Import): use stringstream
16428 * bufferview_funcs.C (CurrentState): use stringstream
16430 * LaTeX.C (run): use stringstream
16432 * BufferView_pimpl.C (savePosition): use stringstream
16433 (restorePosition): use stringstream
16434 (MenuInsertLyXFile): use stringstream
16436 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16449 * vspace.C: removed // -*- C++ -*- as first line.
16452 * version.h: added // -*- C++ -*- as first line.
16454 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16456 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16458 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16461 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16463 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16466 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16468 * gettext.C: include LString.h even when --disable-nls is on.
16470 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16472 * converter.h (Get): changed argument type from int to
16473 FormatList::size_type to avoid unnecessary conversion.
16475 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16478 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16480 * gettext.h: include LString.h even when --disable-nls is on.
16482 2001-06-07 Juergen Vigna <jug@sad.it>
16484 * text.C (BreakAgain): subst spaces with tabs.
16486 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16487 (resizeInsetsLyXText): set force on resizeLyXText.
16489 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16491 * gettext.h (gettext_init):
16492 (locale_init): use a real definition instead of a macro
16494 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16496 * Bufferview_pimpl.C:
16498 * LColor.C: further lcolor tidies
16500 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16502 * BufferView_pimpl.C (updateScrollbar): simplify.
16504 * BufferView2.C: don't include insets/insetinfo.h, change
16505 prototype for insertInset and call the Pimpl version. let
16506 updateInset call Pimpl version.
16508 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16509 gotoInset to BufferView::Pimpl
16511 2001-06-01 Juergen Vigna <jug@sad.it>
16513 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16514 inside a LockingInset (is the update needed at all?).
16516 2001-05-31 Juergen Vigna <jug@sad.it>
16518 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16519 here not the old one otherwise how should we compare it afterwards
16522 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16527 * FontInfo.C: bring C functions into global namespace when
16530 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16532 * LString.h: make sure config.h has been loaded before LString.h.
16534 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16535 (one for each char read by EatLine!).
16537 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16540 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16542 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16543 to the same as the par we break from
16545 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16547 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16549 * MenuBackend.C (expand): also create menu entries for wide
16550 versions of the floats.
16552 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16554 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16556 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16557 frontends/Makefile.am
16563 * tabular.C (getTokenValue): add std::
16565 * tabular-old.C (getTokenValue): add std::
16566 (getTokenValue): ditto
16567 (getTokenValue): ditto
16569 * screen.C (ToggleSelection): adjust
16571 * lyxtext.h: put selection cursors inside a Selection struct.
16573 * lyxfunc.C (moveCursorUpdate): adjust
16575 * lyxfont.C (latexWriteStartChanges): add std::
16577 * lyxfind.C: adjust
16579 * font.h: delete with(char const *, LyXFont const &)
16581 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16583 * FontInfo.C (getFontname): add std::
16585 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16586 (workAreaButtonPress): adjust
16587 (tripleClick): adjust
16589 (moveCursorUpdate): adjust
16592 * BufferView2.C (gotoInset): adjust
16594 2001-05-30 Juergen Vigna <jug@sad.it>
16596 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16597 to check pspell I add this as default as I now have new pspell
16598 libraries and they seem to use this.
16600 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16602 * text2.C (CutSelection): make the cursor valid before the call to
16605 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16607 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16608 relied on 0 terminated strings and other horrors. Bug found due to
16609 the new assert in lyxstring!
16611 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16614 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16616 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16619 * lyxfunc.C (processKeySym): change method of getting to the
16622 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16623 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16624 * BufferView_pimpl.[Ch]: here as private methods.
16626 2001-05-28 Juergen Vigna <jug@sad.it>
16628 * text.C (SetHeightOfRow): added the update() call again as it is
16629 needed to initialize inset dimensions!
16631 2001-05-16 Juergen Vigna <jug@sad.it>
16633 * text2.C (SetCharFont): Add new function with BufferView * and
16634 bool toggleall parameters for setting insets internal fonts.
16635 (SetFont): Freeze the undo as we may change fonts in Insets and
16636 all this change should be inside only one Undo!
16638 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16639 setting font's in insets as for them we have the SetFont function!
16641 2001-05-15 Juergen Vigna <jug@sad.it>
16643 * text2.C (ClearSelection): to be sure we REALLY don't have any
16646 * tabular.C (TeXCellPreamble): fixed the left border problem for
16649 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16651 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16654 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16656 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16657 LFUN_BREAKPARAGRAPH.
16659 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16660 help test to "internal only", similar for LFUN_INSERT_URL
16662 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16663 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16664 auto_region_delete and deadkeys.
16666 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16669 * LColor.C: remove some dead entries, tidy a little
16671 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16673 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16675 (Dispatch): implement LFUN_ESCAPE
16677 * commandtags.h: add LFUN_ESCAPE
16679 * LyXAction.C (init): add entry for LFUN_ESCAPE
16681 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16682 Remove commented code.
16683 (insertNote): moved here
16684 (open_new_inset): moved here
16686 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16689 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16691 * kbmap.C (findbinding): clean it up and make it work correctly.
16693 * lyx_main.C (init): do not pass argc and argv as parameters
16695 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16697 * buffer.C: fix path for OS/2 & Win32
16701 * lyx_main.C: Added os:: class.
16703 * os2_defines.h: update
16705 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16707 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16708 better by trying again with reduced state.
16710 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16712 * lyxrc.C (read): print error about invalid key sequence only when
16713 debugging (because not all latinX keysyms are known to some X
16716 * kbsequence.C (getiso): add a few std:: qualifiers
16717 (getiso): comment out extra return statement.
16719 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16721 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16723 (Dispatch): enhance the accent inset a bit. (not perfect)
16725 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16727 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16729 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16731 * bufferlist.C (emergencyWrite): fix assert() call
16733 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16735 * text.C (InsertChar): Added trivial patch to only send the "you
16736 can not do multiple spaces this way" message once during a
16739 2001-05-08 Baruch Even <baruch@lyx.org>
16741 * Makefile.am: Changed order of libraries to get LyX to link properly
16742 with the gnome frontend.
16744 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16746 * LaTeXFeatures.h: add a std:: qualifier
16748 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16750 * paragraph.C (String): use stringstream
16752 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16754 * paragraph.C (writeFile): remove footflag arg
16756 * buffer.C (makeLaTeXFile): use stringstream
16757 (latexParagraphs): remove footnot gurba
16759 * LaTeXFeatures.C (getPackages): use stringstream
16760 (getMacros): likewise
16761 (getTClassPreamble): likewise
16762 (getFloatDefinitions): new method
16764 * paragraph.C (writeFile): reindent
16767 * WorkArea.h: revert the xpos + etc changes.
16769 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16771 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16773 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16774 (pasteSelection): likewise
16775 * text2.C (CreateUndo): likewise
16777 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16779 * minibuffer.C (peek_event): temporarily reduce the functionality
16780 of the minibuffer (to allow args on lfuns)
16782 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16783 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16785 * buffer.C (readInset): add compability reading of old float
16786 lists, add reading of new style float list.
16787 (readInset): avoid reevaluation of inscmd.getCmdName()
16788 (getLists): reindent
16790 * MenuBackend.C (MenuItem): implement parsing of
16791 md_floatlistinsert and md_floatinsert.
16792 (expand::LastFiles): move initalizaton of iterators out of loop,
16793 avoid reevaluation.
16794 (expand::Documents): introduce typdedef vector<string> Strings,
16796 (expand::ExportFormats): introduce typedef vector<Format const *>
16797 Formats, and use it.
16798 (expand): implement FloatListInsert and FloatInsert.
16800 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16801 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16802 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16804 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16806 (Dispatch::LFUN_FLOAT_LIST): implement
16808 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16810 * LaTeX.C (run): Fix problem with --export code.
16812 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16814 * BufferView.[Ch] (workarea): removed.
16815 (getClipboard) new method; wrapper for workarea()->getClipboard()
16817 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16820 * WorkArea.h (width, height, xpos, ypos): These methods all
16821 returned the dimensions of the work_area sub-area of WorkArea,
16822 resulting in a position error if the WorkArea were resized. Now
16823 return the dimensions of the entire WorkArea.
16825 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16827 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16829 * LaTeX.C (deplog): correct the syntax of regex reg1
16831 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16833 * undo.C: remove !NEW_INSETS cruft
16835 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16837 * text2.C: remove !NEW_INSETS cruft
16839 * text.C: remove !NEW_INSETS cruft
16841 * tabular.C: remove !NEW_INSETS cruft
16843 * spellchecker.C: remove !NEW_INSETS cruft
16845 * lyxtext.h: remove !NEW_INSETS cruft
16847 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16849 * lyxfunc.C: remove !NEW_INSETS cruft
16851 * lyxfind.C: remove !NEW_INSETS cruft
16853 * lyx_cb.C: remove !NEW_INSETS cruft
16855 * figureForm.C: remove !NEW_INSETS cruft
16857 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16859 * buffer.[Ch]: remove !NEW_INSETS cruft
16861 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16863 * CutAndPaste.C: remove !NEW_INSETS cruft
16865 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16867 * BufferView2.C: remove !NEW_INSETS cruft
16869 * BufferView.h: remove !NEW_INSETS cruft
16871 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16873 * Lsstream.h: include LString.h before the sstream headers to
16874 fix problem with gcc 2.95.3 and lyxstring
16876 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16878 * lyx_main.C: add using directives when needed for C functions
16879 declared in std:: namespace.
16881 2001-04-27 Juergen Vigna <jug@sad.it>
16883 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16884 (SetHeightOfRow): comment out the update call should not be needed!
16886 2001-04-13 Juergen Vigna <jug@sad.it>
16888 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16889 (LyXTabular): tried to minimize operator= operations (and realized
16890 hopfully Lars wish).
16892 2001-04-27 Juergen Vigna <jug@sad.it>
16894 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16896 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16898 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16900 * buffer.C (readInset): hack to make listof algorithm work
16902 * BufferView_pimpl.C: hack to make listof algorithm work
16904 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16906 * LyXAction.C: removed all !NEW_INSETS cruft
16907 (init): moved lfun_item in method
16909 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16911 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16913 * BufferView2.C (theLockingInset): white space.
16915 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16917 * minibuffer.C: include <iostream>
16919 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16921 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16923 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16925 * text.[Ch] (TransposeChars): new method
16927 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16929 * call message directly through LyXView instead of through LyXFunc
16930 * BufferView2.C: adjust
16931 * BufferView_pimpl.C: adjust
16932 * FontLoader.C: adjust
16934 * bufferview_funcs.C: adjust
16935 * converter.C: adjust
16936 * figureForm.C: adjust
16937 * importer.C: adjust
16939 * lyx_gui_misc.C: adjust
16940 * lyxfunc.C: adjust
16943 + more files in subdirs
16945 * lyxparagraph.h (size): move up int file
16948 * adjust all uses of Assert to lyx::Assert.
16950 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16951 lyxfunctional in namespace lyx
16952 * layout.C (hasLayout): ditto
16955 (delete_layout): ditto
16956 (NumberOfClass): ditto
16957 * converter.C (GetFormat): ditto
16962 * bufferlist.C (getFileNames): ditto
16963 (emergencyWriteAll): ditto
16966 * MenuBackend.C (hasSubmenu): ditto
16969 * BufferView_pimpl.C (getInsetByCode): ditto
16971 2001-04-18 Juergen Vigna <jug@sad.it>
16973 * vspace.C (asLatexString): fixed the 100% problem.
16975 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16977 * lyxfunc.C (Dispatch):
16979 * minibuffer.h: add a few std:: qualifiers
16981 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16983 * minibuffer.[Ch]: reimplement so that commands is initiated and
16984 run from lyxfunc, simplified som handling, and made the completion
16985 and history code for complete. wip.
16987 * lyxfunc.C (processKeySym): call message
16988 (miniDispatch): new temporary method
16989 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16990 (LFUN_MESSAGE): implement
16991 (LFUN_MESSAGE_PUSH): implement
16992 (LFUN_MESSAGE_POP): implement
16993 (initMiniBuffer): the initial/defualt minibuffer message.
16995 * lyxfont.[Ch]: inline some more getters
16997 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16999 * lyx_gui_misc.[Ch] (WriteStatus): remove method
17001 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17002 (AutoSave): use LFUN_MESSAGE
17003 (Reconfigure): ditto
17005 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17007 * figureForm.C: use LFUN_MESSAGE
17009 * converter.C (runLaTeX): use LFUN_MESSAGE
17011 * bufferview_funcs.C: use LFUN_MESSAGE
17013 (changeDepth): ditto
17015 * bufferparams.h: use boost::
17017 * bufferlist.h: inherit privately from noncopyable
17019 * bufferlist.C (loadLyXFile): remove some commented code.
17021 * buffer.C (runChktex): use LFUN_MESSAGE
17023 * ShareContainer.h: inherit privately from noncopyable
17025 * ParagraphParameters.[hC] (depth): inline it.
17027 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17029 (message): new method
17030 (messagePush): ditto
17031 (messagePop): ditto
17032 (show): init minibuffer
17033 (showState): direct call
17035 * LaTeX.[Ch]: inherit privately from noncopyable
17036 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17037 instead of WriteStatus.
17039 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17041 * BufferView_pimpl.C (buffer): don't init minibuffer
17042 (workAreaButtonPress): use LFUN_MESSAGE
17043 (workAreaButtonRelease): ditto
17044 (savePosition): ditto
17045 (restorePosition): ditto
17046 (MenuInsertLyXFile): ditto
17047 (workAreaExpose): don't init minibuffer
17048 (update): remove commented code, simplify
17050 * BufferView2.C (openStuff): use LFUN_MESSAGE
17051 (toggleFloat): ditto
17054 (copyEnvironment): ditto
17055 (pasteEnvironment): ditto
17060 (updateInset): remove some commented code
17062 * lastfiles.h: inherit privately from noncopyable
17065 * lyx_main.h: ditto
17067 * lyxlex_pimpl.h: ditto
17069 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17070 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17071 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17073 * LyXAction.h: inherit privately from noncopyable, add methods
17074 func_begin, func_end, returning iterators to the func map.
17076 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17077 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17078 (func_begin): new method
17079 (func_end): new method
17081 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17083 (copySelection): ditto
17084 (pasteSelection): ditto
17086 * BufferView.C: whitespace change
17087 * BufferView.h: inherit privately from noncopyable
17089 2001-04-16 Allan Rae <rae@lyx.org>
17091 * tabular-old.C (l_getline):
17092 * spellchecker.C (sc_check_word):
17093 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17094 an unrecognised preprocessor directive. So ensure they're wrapped.
17096 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
17098 * src/exporter.C (Export): Give an error message when path to file
17101 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
17103 * LaTeX.C (deplog): Always check that foundfile exists.
17105 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17108 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17110 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
17112 * tabular.[Ch] (getLabelList): implement new method
17114 * minibuffer.h: comment ouf setTiimer
17116 * minibuffer.C (ExecutingCB): constify res
17117 (peek_event): constify s
17118 (Set): constify ntext
17119 (Init): constify nicename
17121 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17123 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17124 (savePosition): use two params to Minibuffer::Set
17125 (restorePosition): ditto
17127 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17129 * lyx_main.C: include language.h
17131 * Makefile.am (lyx_main.o): add language.h
17133 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17139 * CutAndPaste.C: include gettext.h
17141 * lyxfont.h: remove old hack with ON and OFF.
17144 * lyxfont.h: do not include language.h...
17149 * bufferview_funcs.C:
17155 * paragraph.C: ... but do it here instead
17157 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17159 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17161 * tabular.C: small reformat
17163 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17166 (BreakParagraph): ditto
17167 (SetOnlyLayout): ditto
17170 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17173 * lastfiles.C: removed most using decl, add std:: where needed
17175 * buffer.C: ws changes
17177 * MenuBackend.C (class compare_format): put into anon namespace
17178 (expand): constify label, names, action, action2
17181 * text.C (SingleWidth): constify font
17182 (IsBoundary): constify rtl2
17183 (GetVisibleRow): constify ww
17185 * LaTeX.C (deplog): constify logfile
17187 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17189 (workAreaExpose): constify widthChange, heightChange
17191 * lyxrow.C (par): moved
17194 * lyxrow.h: as inlines here
17196 * lyxfont.h (shape): moved from lyxfont.C
17197 (emph): moved from lyxfont.C
17199 * lyxfont.C (LyXFont): use initialization list for all
17201 (shape): move to lyxfont.h as inline
17202 (emph): move to lyxfont.h as inline
17205 2001-04-04 Juergen Vigna <jug@sad.it>
17207 * vspace.C: had to include stdio.h for use of sscanf
17209 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17212 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17213 independent of xforms.
17215 2001-04-02 Juergen Vigna <jug@sad.it>
17217 * spellchecker.C: fixed namespace placing!
17219 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17221 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17222 the LyXParagraph * is 0.
17224 2001-03-29 Juergen Vigna <jug@sad.it>
17226 * vspace.C: added support for %, c%, p%, l%.
17227 (stringFromUnit): added helper function.
17228 (asLatexString): changed to give right results for the %-values.
17230 * buffer.C: convert the widthp in a width%.
17232 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17234 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17237 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17238 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17240 * lyx_cb.[Ch]: see above.
17242 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17246 * lyx.[Ch]: replaced by figure_form.[Ch].
17250 * lyxfunc.C: changed headers associated with above changes.
17252 2001-03-27 Juergen Vigna <jug@sad.it>
17254 * BufferView_pimpl.C: set the temporary cursor right!
17256 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17258 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17260 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17262 * LString.h: removed "using std::getline"!
17264 * BufferView_pimpl.C (Dispatch): changes due to changes in
17265 InsetInclude::Params.
17267 * buffer.C (tag_name): removed redundant break statements as they were
17268 producing lots of warnings with my compiler.
17270 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17272 * LString.h: add "using std::getline" when using the real <string>.
17274 2001-03-23 Jos�Ab�io Matos <jamatos@fep.up.pt>
17276 * buffer.C: removed bitset usage.
17277 PAR_TAG moved to an anonymous name space.
17278 (tag_name): new funtion, also in the anonymous namespace.
17279 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17280 (makeDocBookFile): clean code. Completed transition from string arrays
17282 (SimpleDocBookOnePar): code clean.
17284 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17286 * tabular.C: add some comments.
17288 2001-03-22 Juergen Vigna <jug@sad.it>
17290 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17291 compatibility read a bit and fixed bug with minipage in different
17294 2001-03-21 Jos�Ab�io Matos <jamatos@fep.up.pt>
17296 * buffer.C (pop_tag): removed.
17297 (push_tag): removed.
17298 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17299 array replaced with vector. Added support for CDATA sections.
17300 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17302 (makeDocBookFile): XML conformant declaration of CDATA section,
17303 fixed bug related to <emphasis> in the first paragraph char.
17304 (sgmlOpenTag): exclude empty tags.
17305 (sgmlCloseTag): ditto.
17307 * buffer.h (pop_tag): removed.
17308 (push_tag): removed.
17310 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17312 * language.h (Languages): added size_type and size().
17314 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17316 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17317 response on compability reading of minipages. One probliem is that
17318 the old usage of minipages was flertydig
17320 * several files here and in subdirs: don't use static at file
17321 scope use anon namespaces instead.
17323 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17325 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17326 LaTeX output. This is necessary for Literate document
17329 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17331 * buffer.C: insert hfill when needed.
17333 * tabular.C (l_getline): use string::erase, small whitespace change.
17335 * BufferView_pimpl.C: try the anon namespace.
17336 * WorkArea.C: ditto
17338 2001-03-16 Juergen Vigna <jug@sad.it>
17340 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17341 otherwise it won't open options-dialogs.
17343 * buffer.C: honor pextraWidth(p) on converting minipages.
17345 * tabular.C (l_getline): changed the functions to strip trailing \r.
17347 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17349 * BufferView_pimpl.C:
17350 * minibuffer..C: added "using SigC::slot" declaration.
17352 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17354 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17360 * paragraph.C: ditto
17362 * lyxtext.h: NO_PEXTRA
17364 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17366 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17367 * ParameterStruct.h: ditto
17368 * ParagraphParameters.h: ditto
17369 * lyxparagraph.h: ditto
17371 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17373 * buffer.C: add compability for minipage alignment.
17374 (latexParagraphs): remove unwanted pextra check.
17376 * several files: remove CXX_WORKING_NAMESPACES
17378 * buffer.C (pop_tag): tie is in namespace boost
17380 * BufferView.h: noncopyable is in namespace boost
17382 * lyx_main.h: ditto
17385 * lastfiles.h: ditto
17386 * bufferlist.h: ditto
17387 * ShareContainer.h: ditto
17389 * LyXAction.h: ditto
17392 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17394 * Merging changes from BRANCH_MVC back into HEAD.
17396 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17398 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17400 * BufferView_pimpl.C: change from intl.C
17404 * Makefile.am: move combox.*
17410 * intl.C: remove dialog (covered by prefs)
17412 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17414 * lyxfunc.C (Dispatch): removed redundant break statement.
17416 2001-03-14 Juergen Vigna <jug@sad.it>
17418 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17420 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17422 * buffer.C: add hack to fix compability reading of minipages.
17424 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17426 * buffer.C (getLists): Cleanup.
17428 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17430 * lyxfont.C (update): don't honor toggleall on font size.
17432 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17436 * Makefile.am: moved to frontends/xforms/
17440 * BufferView_pimpl.C: changes for moved mathpanel
17442 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17444 * gettext.h: fix gettext_init() in --disable-nls
17446 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17448 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17450 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17453 * lyx.h: strip external form
17455 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17457 * BufferView_pimpl.C: add comment, destroySplash()
17459 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17461 * BufferView_pimpl.C:
17465 * lyxfunc.C: use re-worked insetinclude
17467 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17469 * buffer.C: add using std::stringstream.
17471 * lyx_cb.C: readd using std::ios.
17473 * buffer.C: add using std::map.
17475 * BufferView_pimpl.C: add using std::vector.
17477 * ShareContainer.h: add std:: to swap.
17479 * buffer.h: add some typedefs
17480 * buffer.C (getLists): use them
17481 (getLists): renamed from getTocList.
17482 add a counter for the different float types and use it in the
17484 (getLists): use the same counter for the NEW_INSETS and the "non"
17487 * lyx_cb.h: remove unused items, includes, using etc.
17489 * ShareContainer.h: remove some commented code, add more comments
17490 and "documentation".
17492 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17494 * buffer.C (getTocList): make the list also when NEW_INSETS is
17497 * buffer.h: remove TocType
17499 * buffer.C (getTocList): change to return a map<string,
17500 vector<TocItem> >, implement for dynamic number of list.
17502 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17503 * text2.C (PasteSelection): adjust
17504 * CutAndPaste.C (pasteSelection): adjust
17506 * FloatList.C (FloatList): update from the new_insets branch.
17507 * Floating.[Ch]: ditto
17508 * LaTeXFeatures.C: ditto
17510 * lyxlex_pimpl.C: ditto
17512 * paragraph.C (Last): remove when NEW_INSETS is defined.
17514 * other file: changes because of the above.
17516 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17518 * lyxparagraph.h: rename next to next_, previous to previous_,
17519 make them private for NEW_INSETS. Rename Next() to next(),
17520 Previous() to previous().
17522 * other files: changes because of the above.
17524 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17527 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17530 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17532 * main.C (main): pass lyx_localedir to gettext_init().
17534 * gettext.h: remove locale_init and gettext_init macros
17536 * gettext.C (locale_init): new function
17537 (gettext_init): new function
17539 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17542 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17544 * Moved credits to frontends:
17545 * credits.[Ch]: removed
17546 * credits_form.[Ch]: removed
17547 * lyx_gui_misc.C: remove credits stuff
17550 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17552 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17554 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17555 unneeded destructor.
17557 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17558 a standalone pointer again.
17560 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17562 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17568 * ToolbarDefaults.C:
17577 * BufferView_pimpl.C: use new file dialog in GUII
17580 * lyx_cb.C: remove LayoutsCB to Toolbar
17582 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17584 * ShareContainer.h (get): add std:: qualifier
17586 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17588 * ShareContainer.h: define a proper ShareContainer::value_type
17589 type (and use typename to please compaq cxx)
17591 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17593 * lyxparagraph.h: move serveral local vars to
17594 ParameterStruct/ParagraphParameters., use ShareContainer in
17595 FontTable., make vars in FontTable private and add getter and
17598 * paragraph.C: changes because of the above.
17600 * lyxfont.h: remove copy constructor and copy assignment. (the
17601 default ones is ok), move number inside FontBits. move inlines to
17604 * lyxfont.C: add number to initializaton of statics, move several
17605 inlines here. constify several local vars. some whitespace
17606 cleanup. Dont hide outerscope variables.
17608 * Spacing.h: add two new constructors to match the set methods.
17610 * ShareContainer.h: new file, will perhaps be moved to support
17612 * ParameterStruct.h: new file
17614 * ParagraphParameters.h: new file
17616 * ParagraphParameters.C: new file
17618 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17619 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17621 * BufferView_pimpl.C: ParagraphParameter changes.
17622 * buffer.C: Likewise.
17623 * bufferview_funcs.C: Likewise.
17624 * text.C: Likewise.
17625 * text2.C: Likewise.
17627 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17629 * lyxfind.C (LyXReplace): do not redefine default argument in
17631 (IsStringInText): ditto
17632 (SearchForward): ditto
17633 (SearchBackward): ditto
17635 2001-03-06 Juergen Vigna <jug@sad.it>
17637 * lyxfind.C (IsStringInText): put parentes around expressions.
17639 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17641 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17643 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17645 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17647 * stl_string_fwd.h: add comment
17649 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17652 * tabular.C: remove unused DocBook methods
17658 killed DO_USE_DEFAULT_LANGUAGE
17660 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17662 * lyx_gui.C: do not include language.h.
17664 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17665 arguments in function implementation.
17667 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17669 * BufferView_pimpl.C: add <ctime>
17671 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17673 * BufferView_pimpl.C: add using std::find_if
17675 2001-02-27 José Matos <jamatos@fep.up.pt>
17677 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17680 2001-02-11 José Matos <jamatos@fep.up.pt>
17682 * buffer.C (makeDocBookFile): command styles now have a parameter as
17683 "title" by default.
17685 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17687 * layout_forms.[Ch]: removed
17688 * lyx_cb.[Ch]: out character
17689 * lyx_gui.C: out character
17690 * lyx_gui_misc.C: out character
17691 * bufferview_funcs.C: : out character,
17692 added toggleall as parameter in ToggleAndShow
17694 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17696 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17698 * text2.C (SetCurrentFont): Disable number property at boundary.
17700 2001-02-26 Juergen Vigna <jug@sad.it>
17702 * lyxfunc.C (getStatus): added a string argument override function so
17703 that this is correctly called from LyXFunc::Dispatch if it contains a
17704 do_not_use_argument which is used!
17705 (Dispatch): added check for "custom" export and call appropriate func.
17707 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17709 * lyxrc.C: Add language_command_local, language_use_babel and
17710 language_global_options.
17712 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17714 * buffer.C (makeLaTeXFile): Use language_use_babel and
17715 language_global_options.
17717 2001-02-23 Juergen Vigna <jug@sad.it>
17719 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17720 which works with LyXText and putted it inside BufferView. Here now we
17721 only call for that part the BufferView::Dispatch() function.
17723 * BufferView.C (Dispatch): added.
17725 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17726 functions which needs to use a LyXText over from LyXFunc.
17727 (MenuInsertLyXFile): added
17728 (getInsetByCode): added
17729 (moveCursorUpdate): added
17730 (static TEXT): added
17732 2001-02-22 Juergen Vigna <jug@sad.it>
17734 * BufferView_pimpl.C (update): call a status update to see if LyXText
17737 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17739 * vc-backend.C (revert): implement for CVS
17740 (getLog): implement for CVS
17742 2001-02-20 Juergen Vigna <jug@sad.it>
17744 * text2.C (ClearSelection): added BufferView param for inset_owner call
17746 * lyxfunc.C (TEXT): added this function and use it instead of
17747 directly owner->view()-text of getLyXText().
17749 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17751 * src/layout_forms.C: out preamble
17752 * src/layout_forms.h: out preamble
17753 * src/lyx_cb.C: out preamble
17754 * src/lyx_cb.h: out preamble
17755 * src/lyx_gui.C: out preamble
17756 * src/lyx_gui_misc.C: out preamble
17757 * src/lyxfunc.C: connect with guii preamble
17759 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17761 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17763 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17765 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17766 whether to run bibtex.
17768 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17770 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17772 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17774 * Makefile.am (lyx_SOURCES): removed bibforms.h
17776 * vspace.h: doxygen
17778 * text.C (GetVisibleRow): make several local vars const
17780 * tabular.C: small cleanup.
17782 * lyxserver.C (callback): use compare instead of strncmp
17784 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17785 inlines to after class or to paragraph.C
17787 * lyxfont.h: remove friend operator!=
17789 * converter.h: move friend bool operator< to non friend and after
17792 * combox.h: small cleanup
17794 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17795 to inlines after class def.
17797 * buffer.C (pop_tag): use string operations instead of strcmp
17799 * bmtable.c: doxygen, small cleanup
17801 * LaTeX.h: remove friend operator==
17803 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17815 * BufferView_pimpl.C:
17816 * BufferView.[Ch]: remove cruft
17818 2001-02-14 Juergen Vigna <jug@sad.it>
17820 * lyxfunc.C: removed #if 0 unused code
17822 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17824 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17826 * text2.C (SetSelection): added a BufferView * parameter
17828 2001-02-13 Juergen Vigna <jug@sad.it>
17830 * lyxfunc.C (Dispatch): fixed protected blank problem.
17831 * BufferView2.C (protectedBlank): added LyxText * parameter.
17833 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17834 (AppendColumn): same as above for column_info.
17836 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17837 (moveCursorUpdate): use a LyXText param for support of InsetText.
17839 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17840 (tripleClick): ditto
17842 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17844 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17846 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17848 * text2.C (SetSelection): set correct update status if inset_owner
17849 (ToggleFree): ditto
17851 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17853 * tabular.C: remove some commented code.
17855 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17857 * BufferView_pimpl.C: call hideSplash()
17859 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17862 * bibforms.h: remove
17865 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17866 add LFUN_CHILD_CREATE
17868 * counters.h: fix tiny typo
17873 * lyx.C: move splash to frontends/xforms/
17875 * lyx_gui_misc.C: move Include and Bibform to frontends
17877 * lyxvc.h: clarify comment
17879 * vspace.C: tiny housekeeping
17881 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17883 * text.C (PrepareToPrint): RTL Fix.
17885 * paragraph.C (GetUChar): New method.
17886 (String): Use GetUChar.
17888 * buffer.C (asciiParagraph): Use GetUChar.
17890 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17892 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17894 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17897 * buffer.C: rename to getLogName(), handle
17898 build log / latex log nicely
17900 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17903 * MenuBackend.h: remove support for reference menuitem type.
17905 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17907 * BufferView_pimpl.C: housekeeping
17908 * BufferView_pimpl.h:
17913 * minibuffer.h: move Timeout GUI-I
17915 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17917 * lyxrc.C (read): Update converters data-structures.
17919 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17921 * LaTeX.h (operator!=): add operator != for Aux_Info
17923 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17925 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17927 * LaTeXLog.C: deleted, useful code moved to Buffer
17930 * buffer.C: new function getLatexLogName()
17936 * lyxfunc.C: use frontends for LaTeX and VC logs
17938 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17940 * LaTeX.h: yet another std:: that Allan forgot.
17942 * Variables.C (set): renamed from isset(), because this clashes
17943 with some HP-UX macros (grr).
17945 2001-02-06 Allan Rae <rae@lyx.org>
17947 * LaTeX.h: Another bug fix. Missing std:: this time.
17949 2001-02-04 Allan Rae <rae@lyx.org>
17951 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17952 floats problem. I've left it commented out because it's not quite
17953 correct. It should also test that the current object is a table or
17954 figure inset. But I haven't gotten around to figuring out how to do
17955 that. I *think* it'll be something like: "table" == inset.type()
17957 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17960 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17962 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17963 all the citation/databases/styles in the auxilary file.
17964 (run): Rerun latex if there was a babel language error.
17966 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17968 * text.C (Backspace): Preserve the font when changing newline char
17970 (BreakParagraph): If the cursor is before a space, delete the space.
17972 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17974 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17976 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17977 new argument (code).
17978 (ChangeCitationsIfUnique): New method.
17980 * paragraph.C (GetPositionOfInset): Handle bibkey.
17982 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17984 * BufferView_pimpl.h: change type of Position::par_pos to
17985 LyXParagraph::size_type.
17987 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17989 * BufferView_pimpl.C (savePosition, restorePosition): Write
17990 messages to minibuffer.
17992 2001-01-28 José Matos <jamatos@fep.up.pt>
17994 * buffer.C (makeDocBookFile): adds support for document language.
17995 A silly restriction on the name of LatexCommand types where removed.
17996 Added support for CDATA sections, allows to chars unescaped, used
17997 among others in code, to avoid escape < and >.
17999 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18001 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18002 saved positions instrad of a stack. Furthermore, a position is
18003 stored using paragraph id/paragraph position.
18005 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18006 Remove LFUN_REF_BACK.
18008 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
18010 * converter.C (dvipdfm_options): New method.
18012 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
18014 * vspace.C (isValidLength): Fix for empty input string.
18016 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18018 * LyXAction.C (init): change description of LFUN_FIGURE to
18021 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18023 * LaTeX.C: add using directive
18025 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18027 * MenuBackend.C (expand): Fix the sorting of the formats.
18029 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
18031 * lyx_main.C: tiny error message fix
18033 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18035 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18036 calling fl_initialize(). This fixes the problem with ',' as
18037 decimal separator in text files.
18039 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
18041 * trans.C (process): Fix the keymap bug.
18043 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
18045 * LaTeX.C (scanAuxFiles): New method. Provides support for
18046 multiple bibliographies (when using the bibtopic/bibunits pacakges).
18047 (scanLogFile) Scan for "run BibTeX" messages.
18049 * buffer.C (makeLaTeXFile): Do not load the ae package when using
18050 OT1 font encoding. Also, load the aecompl package if the ae
18053 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18055 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18057 * texrow.C (increasePos): turn two error messages into debug
18060 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
18062 * LaTeX.C (scanAux): Handle the \@input macro.
18063 (runBibTeX): Use scanAux().
18065 * language.C (latex_options_): New field.
18067 * LaTeXFeatures.C (getMacros): Add language macros.
18069 * buffer.C (makeLaTeXFile): Small fix.
18071 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
18073 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18075 * text2.C: add a using directive.
18077 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
18082 * lyxfunc.C: kill LyXBell.
18084 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
18086 * text.C (IsBoundary): Remove the error message
18088 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18090 * lyxrc.C (setDefaults): Correct initialization value for
18093 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
18095 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18098 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18099 and GotoNextNote().
18101 * src/LyXAction.C: Added reference-next.
18103 * text.C (InsertChar): Use contains instead of strchr.
18105 * lyx_cb.C (MenuInsertLabel): Enable default value code.
18107 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
18109 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18110 alignment commands (when needed).
18112 * text.C (InsertChar): Add ':' to number separator chars.